appointments.js
1 month ago
attendees.js
1 month ago
colorManipulation.js
1 month ago
customer.js
1 month ago
date.js
3 weeks ago
defaultCustomize.js
3 weeks ago
employee.js
5 days ago
events.js
1 month ago
formFieldsTemplates.js
1 month ago
formatting.js
1 month ago
helper.js
5 days ago
image.js
1 month ago
integrationApple.js
1 month ago
integrationGoogle.js
1 month ago
integrationOutlook.js
1 month ago
integrationStripe.js
1 month ago
integrationZoom.js
1 month ago
licence.js
1 month ago
liveAnnouncer.js
3 weeks ago
phone.js
3 weeks ago
pricing.js
1 month ago
recurring.js
5 days ago
responsive.js
1 month ago
scrollElements.js
1 month ago
settings.js
1 month ago
translationsElementPlus.js
1 month ago
utilHeaderHeight.js
1 month ago
formFieldsTemplates.js
30 lines
| 1 | // * Import from Vue |
| 2 | import { markRaw, reactive } from 'vue' |
| 3 | |
| 4 | // * Form Field templates |
| 5 | import AmInputFormField from '../../../views/common/FormFields/AmInputFormField.vue' |
| 6 | import AmPhoneFormField from '../../../views/common/FormFields/AmPhoneFormField.vue' |
| 7 | import AmSelectFormField from '../../../views/common/FormFields/AmSelectFormField.vue' |
| 8 | import AmRadioFormField from '../../../views/common/FormFields/AmRadioFormField.vue' |
| 9 | import AmCheckboxFormField from '../../../views/common/FormFields/AmCheckboxFormField.vue' |
| 10 | import AmAttachmentFormField from '../../../views/common/FormFields/AmAttachmentFormField.vue' |
| 11 | import AmDatePickerFormField from '../../../views/common/FormFields/AmDatePickerFormField.vue' |
| 12 | import AmContentFormField from '../../../views/common/FormFields/AmContentFormField.vue' |
| 13 | import AmAddressFormField from '../../../views/common/FormFields/AmAddressFormField.vue' |
| 14 | |
| 15 | // * Form Fields Object |
| 16 | let formFieldsTemplates = reactive({ |
| 17 | text: markRaw(AmInputFormField), |
| 18 | 'text-area': markRaw(AmInputFormField), |
| 19 | phone: markRaw(AmPhoneFormField), |
| 20 | select: markRaw(AmSelectFormField), |
| 21 | radio: markRaw(AmRadioFormField), |
| 22 | checkbox: markRaw(AmCheckboxFormField), |
| 23 | file: markRaw(AmAttachmentFormField), |
| 24 | datepicker: markRaw(AmDatePickerFormField), |
| 25 | content: markRaw(AmContentFormField), |
| 26 | address: markRaw(AmAddressFormField), |
| 27 | }) |
| 28 | |
| 29 | export { formFieldsTemplates } |
| 30 |