@tsed/tailwind-formio 2.3.2 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/config.1e3fca3e.json +1 -0
- package/build/css/app.a4ea028b.css +3 -0
- package/build/js/app.5db1c92a.js +2 -0
- package/build/js/app.5db1c92a.js.map +1 -0
- package/build/js/chunk-vendors.6cab5322.js +8 -0
- package/build/js/chunk-vendors.6cab5322.js.map +1 -0
- package/build/tailwind.html +3 -0
- package/dist/ejs.d.js +2 -0
- package/dist/ejs.d.js.map +1 -0
- package/dist/index.d.ts +222 -222
- package/dist/index.js +6 -2018
- package/dist/index.js.map +1 -1
- package/dist/tailwind/colors.d.ts +328 -0
- package/dist/tailwind/colors.js +15 -0
- package/dist/tailwind/colors.js.map +1 -0
- package/dist/tailwind/preset.d.ts +158 -0
- package/dist/tailwind/preset.js +173 -0
- package/dist/tailwind/preset.js.map +1 -0
- package/dist/templates/index.d.ts +219 -219
- package/dist/templates/index.js +8 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/templates/tailwind/address/index.d.ts +4 -5
- package/dist/templates/tailwind/address/index.js +55 -0
- package/dist/templates/tailwind/address/index.js.map +1 -0
- package/dist/templates/tailwind/alert/index.d.ts +4 -5
- package/dist/templates/tailwind/alert/index.js +22 -0
- package/dist/templates/tailwind/alert/index.js.map +1 -0
- package/dist/templates/tailwind/builder/index.d.ts +4 -5
- package/dist/templates/tailwind/builder/index.js +17 -0
- package/dist/templates/tailwind/builder/index.js.map +1 -0
- package/dist/templates/tailwind/builderComponent/index.d.ts +4 -5
- package/dist/templates/tailwind/builderComponent/index.js +70 -0
- package/dist/templates/tailwind/builderComponent/index.js.map +1 -0
- package/dist/templates/tailwind/builderComponents/index.d.ts +4 -5
- package/dist/templates/tailwind/builderComponents/index.js +12 -0
- package/dist/templates/tailwind/builderComponents/index.js.map +1 -0
- package/dist/templates/tailwind/builderEditForm/index.d.ts +4 -5
- package/dist/templates/tailwind/builderEditForm/index.js +73 -0
- package/dist/templates/tailwind/builderEditForm/index.js.map +1 -0
- package/dist/templates/tailwind/builderPlaceholder/index.d.ts +4 -5
- package/dist/templates/tailwind/builderPlaceholder/index.js +18 -0
- package/dist/templates/tailwind/builderPlaceholder/index.js.map +1 -0
- package/dist/templates/tailwind/builderSidebar/index.d.ts +4 -5
- package/dist/templates/tailwind/builderSidebar/index.js +19 -0
- package/dist/templates/tailwind/builderSidebar/index.js.map +1 -0
- package/dist/templates/tailwind/builderSidebarGroup/index.d.ts +4 -5
- package/dist/templates/tailwind/builderSidebarGroup/index.js +58 -0
- package/dist/templates/tailwind/builderSidebarGroup/index.js.map +1 -0
- package/dist/templates/tailwind/builderWizard/index.d.ts +4 -5
- package/dist/templates/tailwind/builderWizard/index.js +33 -0
- package/dist/templates/tailwind/builderWizard/index.js.map +1 -0
- package/dist/templates/tailwind/button/index.d.ts +5 -7
- package/dist/templates/tailwind/button/index.js +36 -0
- package/dist/templates/tailwind/button/index.js.map +1 -0
- package/dist/templates/tailwind/checkbox/index.d.ts +5 -7
- package/dist/templates/tailwind/checkbox/index.js +42 -0
- package/dist/templates/tailwind/checkbox/index.js.map +1 -0
- package/dist/templates/tailwind/columns/index.d.ts +4 -5
- package/dist/templates/tailwind/columns/index.js +21 -0
- package/dist/templates/tailwind/columns/index.js.map +1 -0
- package/dist/templates/tailwind/component/index.d.ts +4 -5
- package/dist/templates/tailwind/component/index.js +15 -0
- package/dist/templates/tailwind/component/index.js.map +1 -0
- package/dist/templates/tailwind/componentModal/index.d.ts +4 -5
- package/dist/templates/tailwind/componentModal/index.js +35 -0
- package/dist/templates/tailwind/componentModal/index.js.map +1 -0
- package/dist/templates/tailwind/components/index.d.ts +4 -5
- package/dist/templates/tailwind/components/index.js +10 -0
- package/dist/templates/tailwind/components/index.js.map +1 -0
- package/dist/templates/tailwind/container/index.d.ts +4 -5
- package/dist/templates/tailwind/container/index.js +12 -0
- package/dist/templates/tailwind/container/index.js.map +1 -0
- package/dist/templates/tailwind/cssClasses.d.ts +7 -7
- package/dist/templates/tailwind/cssClasses.js +10 -0
- package/dist/templates/tailwind/cssClasses.js.map +1 -0
- package/dist/templates/tailwind/datagrid/index.d.ts +5 -7
- package/dist/templates/tailwind/datagrid/index.js +132 -0
- package/dist/templates/tailwind/datagrid/index.js.map +1 -0
- package/dist/templates/tailwind/day/index.d.ts +4 -5
- package/dist/templates/tailwind/day/index.js +53 -0
- package/dist/templates/tailwind/day/index.js.map +1 -0
- package/dist/templates/tailwind/dialog/index.d.ts +4 -5
- package/dist/templates/tailwind/dialog/index.js +16 -0
- package/dist/templates/tailwind/dialog/index.js.map +1 -0
- package/dist/templates/tailwind/editgrid/index.d.ts +5 -7
- package/dist/templates/tailwind/editgrid/index.js +92 -0
- package/dist/templates/tailwind/editgrid/index.js.map +1 -0
- package/dist/templates/tailwind/editgridTable/index.d.ts +5 -7
- package/dist/templates/tailwind/editgridTable/index.js +121 -0
- package/dist/templates/tailwind/editgridTable/index.js.map +1 -0
- package/dist/templates/tailwind/errorsList/index.d.ts +4 -5
- package/dist/templates/tailwind/errorsList/index.js +30 -0
- package/dist/templates/tailwind/errorsList/index.js.map +1 -0
- package/dist/templates/tailwind/field/index.d.ts +5 -7
- package/dist/templates/tailwind/field/index.js +55 -0
- package/dist/templates/tailwind/field/index.js.map +1 -0
- package/dist/templates/tailwind/fieldset/index.d.ts +4 -5
- package/dist/templates/tailwind/fieldset/index.js +25 -0
- package/dist/templates/tailwind/fieldset/index.js.map +1 -0
- package/dist/templates/tailwind/file/index.d.ts +4 -5
- package/dist/templates/tailwind/file/index.js +158 -0
- package/dist/templates/tailwind/file/index.js.map +1 -0
- package/dist/templates/tailwind/html/index.d.ts +4 -5
- package/dist/templates/tailwind/html/index.js +16 -0
- package/dist/templates/tailwind/html/index.js.map +1 -0
- package/dist/templates/tailwind/icon/index.d.ts +4 -5
- package/dist/templates/tailwind/icon/index.js +10 -0
- package/dist/templates/tailwind/icon/index.js.map +1 -0
- package/dist/templates/tailwind/iconClass.d.ts +3 -3
- package/dist/templates/tailwind/iconClass.js +57 -0
- package/dist/templates/tailwind/iconClass.js.map +1 -0
- package/dist/templates/tailwind/index.d.ts +217 -217
- package/dist/templates/tailwind/index.js +145 -0
- package/dist/templates/tailwind/index.js.map +1 -0
- package/dist/templates/tailwind/input/index.d.ts +5 -7
- package/dist/templates/tailwind/input/index.js +78 -0
- package/dist/templates/tailwind/input/index.js.map +1 -0
- package/dist/templates/tailwind/label/index.d.ts +4 -5
- package/dist/templates/tailwind/label/index.js +23 -0
- package/dist/templates/tailwind/label/index.js.map +1 -0
- package/dist/templates/tailwind/loader/index.d.ts +4 -5
- package/dist/templates/tailwind/loader/index.js +14 -0
- package/dist/templates/tailwind/loader/index.js.map +1 -0
- package/dist/templates/tailwind/loading/index.d.ts +4 -5
- package/dist/templates/tailwind/loading/index.js +10 -0
- package/dist/templates/tailwind/loading/index.js.map +1 -0
- package/dist/templates/tailwind/map/index.d.ts +4 -5
- package/dist/templates/tailwind/map/index.js +10 -0
- package/dist/templates/tailwind/map/index.js.map +1 -0
- package/dist/templates/tailwind/message/index.d.ts +4 -5
- package/dist/templates/tailwind/message/index.js +10 -0
- package/dist/templates/tailwind/message/index.js.map +1 -0
- package/dist/templates/tailwind/modalPreview/index.d.ts +4 -5
- package/dist/templates/tailwind/modalPreview/index.js +24 -0
- package/dist/templates/tailwind/modalPreview/index.js.map +1 -0
- package/dist/templates/tailwind/modaldialog/index.d.ts +4 -5
- package/dist/templates/tailwind/modaldialog/index.js +22 -0
- package/dist/templates/tailwind/modaldialog/index.js.map +1 -0
- package/dist/templates/tailwind/modaledit/index.d.ts +4 -5
- package/dist/templates/tailwind/modaledit/index.js +19 -0
- package/dist/templates/tailwind/modaledit/index.js.map +1 -0
- package/dist/templates/tailwind/multiValueRow/index.d.ts +4 -5
- package/dist/templates/tailwind/multiValueRow/index.js +21 -0
- package/dist/templates/tailwind/multiValueRow/index.js.map +1 -0
- package/dist/templates/tailwind/multiValueTable/index.d.ts +4 -5
- package/dist/templates/tailwind/multiValueTable/index.js +21 -0
- package/dist/templates/tailwind/multiValueTable/index.js.map +1 -0
- package/dist/templates/tailwind/multipleMasksInput/index.d.ts +4 -5
- package/dist/templates/tailwind/multipleMasksInput/index.js +34 -0
- package/dist/templates/tailwind/multipleMasksInput/index.js.map +1 -0
- package/dist/templates/tailwind/panel/index.d.ts +4 -5
- package/dist/templates/tailwind/panel/index.js +39 -0
- package/dist/templates/tailwind/panel/index.js.map +1 -0
- package/dist/templates/tailwind/pdf/index.d.ts +4 -5
- package/dist/templates/tailwind/pdf/index.js +19 -0
- package/dist/templates/tailwind/pdf/index.js.map +1 -0
- package/dist/templates/tailwind/pdfBuilder/index.d.ts +4 -5
- package/dist/templates/tailwind/pdfBuilder/index.js +18 -0
- package/dist/templates/tailwind/pdfBuilder/index.js.map +1 -0
- package/dist/templates/tailwind/pdfBuilderUpload/index.d.ts +4 -5
- package/dist/templates/tailwind/pdfBuilderUpload/index.js +25 -0
- package/dist/templates/tailwind/pdfBuilderUpload/index.js.map +1 -0
- package/dist/templates/tailwind/radio/index.d.ts +5 -7
- package/dist/templates/tailwind/radio/index.js +66 -0
- package/dist/templates/tailwind/radio/index.js.map +1 -0
- package/dist/templates/tailwind/resourceAdd/index.d.ts +4 -5
- package/dist/templates/tailwind/resourceAdd/index.js +26 -0
- package/dist/templates/tailwind/resourceAdd/index.js.map +1 -0
- package/dist/templates/tailwind/select/index.d.ts +5 -7
- package/dist/templates/tailwind/select/index.js +40 -0
- package/dist/templates/tailwind/select/index.js.map +1 -0
- package/dist/templates/tailwind/selectOption/index.d.ts +5 -7
- package/dist/templates/tailwind/selectOption/index.js +25 -0
- package/dist/templates/tailwind/selectOption/index.js.map +1 -0
- package/dist/templates/tailwind/signature/index.d.ts +5 -7
- package/dist/templates/tailwind/signature/index.js +37 -0
- package/dist/templates/tailwind/signature/index.js.map +1 -0
- package/dist/templates/tailwind/survey/index.d.ts +5 -7
- package/dist/templates/tailwind/survey/index.js +71 -0
- package/dist/templates/tailwind/survey/index.js.map +1 -0
- package/dist/templates/tailwind/tab/index.d.ts +5 -7
- package/dist/templates/tailwind/tab/index.js +60 -0
- package/dist/templates/tailwind/tab/index.js.map +1 -0
- package/dist/templates/tailwind/table/index.d.ts +4 -5
- package/dist/templates/tailwind/table/index.js +41 -0
- package/dist/templates/tailwind/table/index.js.map +1 -0
- package/dist/templates/tailwind/tableComponents/index.d.ts +4 -5
- package/dist/templates/tailwind/tableComponents/index.js +16 -0
- package/dist/templates/tailwind/tableComponents/index.js.map +1 -0
- package/dist/templates/tailwind/tree/index.d.ts +4 -5
- package/dist/templates/tailwind/tree/index.js +29 -0
- package/dist/templates/tailwind/tree/index.js.map +1 -0
- package/dist/templates/tailwind/tree/partials/index.d.ts +9 -11
- package/dist/templates/tailwind/tree/partials/index.js +53 -0
- package/dist/templates/tailwind/tree/partials/index.js.map +1 -0
- package/dist/templates/tailwind/webform/index.d.ts +5 -7
- package/dist/templates/tailwind/webform/index.js +15 -0
- package/dist/templates/tailwind/webform/index.js.map +1 -0
- package/dist/templates/tailwind/well/index.d.ts +4 -5
- package/dist/templates/tailwind/well/index.js +14 -0
- package/dist/templates/tailwind/well/index.js.map +1 -0
- package/dist/templates/tailwind/wizard/index.d.ts +5 -7
- package/dist/templates/tailwind/wizard/index.js +44 -0
- package/dist/templates/tailwind/wizard/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeader/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeader/index.js +25 -0
- package/dist/templates/tailwind/wizardHeader/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeaderClassic/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeaderClassic/index.js +27 -0
- package/dist/templates/tailwind/wizardHeaderClassic/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeaderVertical/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeaderVertical/index.js +25 -0
- package/dist/templates/tailwind/wizardHeaderVertical/index.js.map +1 -0
- package/dist/templates/tailwind/wizardNav/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardNav/index.js +39 -0
- package/dist/templates/tailwind/wizardNav/index.js.map +1 -0
- package/package.json +34 -17
- package/readme.md +9 -125
- package/src/tailwind/colors.ts +20 -0
- package/src/tailwind/preset.ts +163 -0
- package/src/templates/stories/alert.stories.jsx +1 -1
- package/src/templates/stories/badge.stories.jsx +1 -1
- package/src/templates/stories/breadcrumbs.stories.jsx +5 -1
- package/src/templates/stories/pagination.stories.jsx +6 -1
- package/src/templates/tailwind/address/index.ts +1 -1
- package/src/templates/tailwind/alert/index.ts +3 -0
- package/src/templates/tailwind/builder/index.ts +1 -1
- package/src/templates/tailwind/builderComponent/index.ts +1 -1
- package/src/templates/tailwind/builderComponents/index.ts +1 -1
- package/src/templates/tailwind/builderEditForm/form.ejs +4 -2
- package/src/templates/tailwind/builderEditForm/index.ts +1 -1
- package/src/templates/tailwind/builderPlaceholder/index.ts +1 -1
- package/src/templates/tailwind/builderSidebar/index.ts +1 -1
- package/src/templates/tailwind/builderSidebarGroup/form.ejs +1 -1
- package/src/templates/tailwind/builderSidebarGroup/index.ts +1 -1
- package/src/templates/tailwind/builderWizard/index.ts +1 -1
- package/src/templates/tailwind/button/button.stories.jsx +2 -2
- package/src/templates/tailwind/button/index.ts +2 -2
- package/src/templates/tailwind/checkbox/index.ts +2 -2
- package/src/templates/tailwind/columns/index.ts +1 -1
- package/src/templates/tailwind/component/index.ts +1 -1
- package/src/templates/tailwind/componentModal/index.ts +1 -1
- package/src/templates/tailwind/components/index.ts +1 -1
- package/src/templates/tailwind/container/index.ts +1 -1
- package/src/templates/tailwind/datagrid/index.ts +2 -2
- package/src/templates/tailwind/day/index.ts +1 -1
- package/src/templates/tailwind/dialog/index.ts +1 -1
- package/src/templates/tailwind/editgrid/index.ts +2 -2
- package/src/templates/tailwind/editgridTable/index.ts +2 -2
- package/src/templates/tailwind/errorsList/index.ts +1 -1
- package/src/templates/tailwind/field/index.ts +2 -2
- package/src/templates/tailwind/fieldset/index.ts +1 -1
- package/src/templates/tailwind/file/index.ts +1 -1
- package/src/templates/tailwind/html/index.ts +1 -1
- package/src/templates/tailwind/icon/index.ts +1 -1
- package/src/templates/tailwind/index.ts +0 -1
- package/src/templates/tailwind/input/index.ts +2 -2
- package/src/templates/tailwind/label/index.ts +1 -1
- package/src/templates/tailwind/loader/index.ts +1 -1
- package/src/templates/tailwind/loading/index.ts +1 -1
- package/src/templates/tailwind/map/index.ts +1 -1
- package/src/templates/tailwind/message/index.ts +1 -1
- package/src/templates/tailwind/modalPreview/index.ts +1 -1
- package/src/templates/tailwind/modaldialog/index.ts +1 -1
- package/src/templates/tailwind/modaledit/index.ts +1 -1
- package/src/templates/tailwind/multiValueRow/index.ts +1 -1
- package/src/templates/tailwind/multiValueTable/index.ts +1 -1
- package/src/templates/tailwind/multipleMasksInput/index.ts +1 -1
- package/src/templates/tailwind/panel/index.ts +1 -1
- package/src/templates/tailwind/pdf/index.ts +1 -1
- package/src/templates/tailwind/pdfBuilder/index.ts +1 -1
- package/src/templates/tailwind/pdfBuilderUpload/index.ts +1 -1
- package/src/templates/tailwind/radio/index.ts +2 -2
- package/src/templates/tailwind/resourceAdd/index.ts +1 -1
- package/src/templates/tailwind/select/index.ts +2 -2
- package/src/templates/tailwind/selectOption/index.ts +2 -2
- package/src/templates/tailwind/signature/index.ts +2 -2
- package/src/templates/tailwind/survey/index.ts +2 -2
- package/src/templates/tailwind/tab/index.ts +2 -2
- package/src/templates/tailwind/table/index.ts +1 -1
- package/src/templates/tailwind/tableComponents/index.ts +1 -1
- package/src/templates/tailwind/tree/index.ts +1 -1
- package/src/templates/tailwind/tree/partials/index.ts +2 -2
- package/src/templates/tailwind/webform/index.ts +2 -2
- package/src/templates/tailwind/well/index.ts +1 -1
- package/src/templates/tailwind/wizard/index.ts +2 -2
- package/src/templates/tailwind/wizardHeader/index.ts +1 -1
- package/src/templates/tailwind/wizardHeaderClassic/index.ts +1 -1
- package/src/templates/tailwind/wizardHeaderVertical/index.ts +1 -1
- package/src/templates/tailwind/wizardNav/index.ts +1 -1
- package/styles/modal.css +1 -0
- package/tsconfig.app.json +11 -0
- package/tsconfig.json +7 -5
- package/tsconfig.node.json +9 -4
- package/vite.config.mts +86 -0
- package/.eslintignore +0 -14
- package/.eslintrc.js +0 -7
- package/dist/index.modern.js +0 -2021
- package/dist/index.modern.js.map +0 -1
- package/dist/templates/stories/alert.stories.d.ts +0 -17
- package/dist/templates/stories/badge.stories.d.ts +0 -17
- package/dist/templates/stories/breadcrumbs.stories.d.ts +0 -37
- package/dist/templates/stories/builder.stories.d.ts +0 -3057
- package/dist/templates/stories/pagination.stories.d.ts +0 -17
- package/dist/templates/stories/progress.stories.d.ts +0 -22
- package/dist/templates/stories/wizard.stories.d.ts +0 -3057
- package/dist/templates/tailwind/address/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/address/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/alert/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderComponent/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderComponents/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderEditForm/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderPlaceholder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderSidebar/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderSidebarGroup/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderWizard/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/button/button.stories.d.ts +0 -22
- package/dist/templates/tailwind/button/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/button/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/checkbox/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/checkbox/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/columns/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/component/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/componentModal/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/components/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/container/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/datagrid/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/datagrid/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/day/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/dialog/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgrid/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgrid/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgridTable/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgridTable/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/errorsList/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/field/align.ejs.d.ts +0 -1
- package/dist/templates/tailwind/field/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/fieldset/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/file/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/html/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/icon/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/input/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/input/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/label/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/loader/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/loading/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/map/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/message/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modalPreview/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modaldialog/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modaledit/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multiValueRow/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multiValueTable/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multipleMasksInput/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/panel/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdf/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdfBuilder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdfBuilderUpload/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/radio/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/radio/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/resourceAdd/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/select/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/select/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/selectOption/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/selectOption/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/signature/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/signature/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/survey/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/survey/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tab/flat.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tab/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/table/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tableComponents/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/partials/edit.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/partials/view.ejs.d.ts +0 -1
- package/dist/templates/tailwind/webform/builder.ejs.d.ts +0 -1
- package/dist/templates/tailwind/webform/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/well/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizard/builder.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizard/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeader/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeaderClassic/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeaderVertical/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardNav/form.ejs.d.ts +0 -1
- package/gulpfile.js +0 -25
- package/src/templates/tailwind/address/form.ejs.js +0 -58
- package/src/templates/tailwind/address/html.ejs.js +0 -13
- package/src/templates/tailwind/alert/form.ejs.js +0 -24
- package/src/templates/tailwind/alert/index.js +0 -3
- package/src/templates/tailwind/builder/form.ejs.js +0 -9
- package/src/templates/tailwind/builderComponent/form.ejs.js +0 -24
- package/src/templates/tailwind/builderComponents/form.ejs.js +0 -11
- package/src/templates/tailwind/builderEditForm/form.ejs.js +0 -50
- package/src/templates/tailwind/builderPlaceholder/form.ejs.js +0 -9
- package/src/templates/tailwind/builderSidebar/form.ejs.js +0 -16
- package/src/templates/tailwind/builderSidebarGroup/form.ejs.js +0 -60
- package/src/templates/tailwind/builderWizard/form.ejs.js +0 -30
- package/src/templates/tailwind/button/form.ejs.js +0 -52
- package/src/templates/tailwind/button/html.ejs.js +0 -5
- package/src/templates/tailwind/checkbox/form.ejs.js +0 -50
- package/src/templates/tailwind/checkbox/html.ejs.js +0 -22
- package/src/templates/tailwind/columns/form.ejs.js +0 -30
- package/src/templates/tailwind/component/form.ejs.js +0 -22
- package/src/templates/tailwind/componentModal/form.ejs.js +0 -44
- package/src/templates/tailwind/components/form.ejs.js +0 -7
- package/src/templates/tailwind/container/form.ejs.js +0 -9
- package/src/templates/tailwind/datagrid/form.ejs.js +0 -144
- package/src/templates/tailwind/datagrid/html.ejs.js +0 -46
- package/src/templates/tailwind/day/form.ejs.js +0 -98
- package/src/templates/tailwind/dialog/form.ejs.js +0 -5
- package/src/templates/tailwind/editgrid/form.ejs.js +0 -62
- package/src/templates/tailwind/editgrid/html.ejs.js +0 -52
- package/src/templates/tailwind/editgridTable/form.ejs.js +0 -66
- package/src/templates/tailwind/editgridTable/html.ejs.js +0 -56
- package/src/templates/tailwind/errorsList/form.ejs.js +0 -22
- package/src/templates/tailwind/field/align.ejs.js +0 -38
- package/src/templates/tailwind/field/form.ejs.js +0 -36
- package/src/templates/tailwind/fieldset/form.ejs.js +0 -30
- package/src/templates/tailwind/file/form.ejs.js +0 -224
- package/src/templates/tailwind/html/form.ejs.js +0 -25
- package/src/templates/tailwind/icon/form.ejs.js +0 -13
- package/src/templates/tailwind/input/form.ejs.js +0 -108
- package/src/templates/tailwind/input/html.ejs.js +0 -13
- package/src/templates/tailwind/label/form.ejs.js +0 -32
- package/src/templates/tailwind/loader/form.ejs.js +0 -5
- package/src/templates/tailwind/loading/form.ejs.js +0 -7
- package/src/templates/tailwind/map/form.ejs.js +0 -7
- package/src/templates/tailwind/message/form.ejs.js +0 -13
- package/src/templates/tailwind/modalPreview/form.ejs.js +0 -21
- package/src/templates/tailwind/modaldialog/form.ejs.js +0 -7
- package/src/templates/tailwind/modaledit/form.ejs.js +0 -9
- package/src/templates/tailwind/multiValueRow/form.ejs.js +0 -14
- package/src/templates/tailwind/multiValueTable/form.ejs.js +0 -16
- package/src/templates/tailwind/multipleMasksInput/form.ejs.js +0 -30
- package/src/templates/tailwind/panel/form.ejs.js +0 -58
- package/src/templates/tailwind/pdf/form.ejs.js +0 -13
- package/src/templates/tailwind/pdfBuilder/form.ejs.js +0 -9
- package/src/templates/tailwind/pdfBuilderUpload/form.ejs.js +0 -13
- package/src/templates/tailwind/radio/form.ejs.js +0 -84
- package/src/templates/tailwind/radio/html.ejs.js +0 -10
- package/src/templates/tailwind/resourceAdd/form.ejs.js +0 -11
- package/src/templates/tailwind/select/form.ejs.js +0 -46
- package/src/templates/tailwind/select/html.ejs.js +0 -13
- package/src/templates/tailwind/selectOption/form.ejs.js +0 -20
- package/src/templates/tailwind/selectOption/html.ejs.js +0 -11
- package/src/templates/tailwind/signature/form.ejs.js +0 -30
- package/src/templates/tailwind/signature/html.ejs.js +0 -5
- package/src/templates/tailwind/survey/form.ejs.js +0 -52
- package/src/templates/tailwind/survey/html.ejs.js +0 -22
- package/src/templates/tailwind/tab/flat.ejs.js +0 -16
- package/src/templates/tailwind/tab/form.ejs.js +0 -38
- package/src/templates/tailwind/table/form.ejs.js +0 -48
- package/src/templates/tailwind/tableComponents/form.ejs.js +0 -12
- package/src/templates/tailwind/tree/form.ejs.js +0 -32
- package/src/templates/tailwind/tree/partials/edit.ejs.js +0 -16
- package/src/templates/tailwind/tree/partials/view.ejs.js +0 -34
- package/src/templates/tailwind/webform/builder.ejs.js +0 -7
- package/src/templates/tailwind/webform/form.ejs.js +0 -9
- package/src/templates/tailwind/well/form.ejs.js +0 -9
- package/src/templates/tailwind/wizard/builder.ejs.js +0 -7
- package/src/templates/tailwind/wizard/form.ejs.js +0 -42
- package/src/templates/tailwind/wizardHeader/form.ejs.js +0 -32
- package/src/templates/tailwind/wizardHeaderClassic/form.ejs.js +0 -26
- package/src/templates/tailwind/wizardHeaderVertical/form.ejs.js +0 -28
- package/src/templates/tailwind/wizardNav/form.ejs.js +0 -64
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
html: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
function p(n) {
|
|
2
|
+
var e, i = "";
|
|
3
|
+
if ((n.prefix || n.suffix) && (i += `
|
|
4
|
+
<div class="input-group">
|
|
5
|
+
`), i += `
|
|
6
|
+
`, n.prefix && (i += `
|
|
7
|
+
<div class="input-group-prepend" ref="prefix">
|
|
8
|
+
<span class="input-group-text">
|
|
9
|
+
`, n.prefix instanceof HTMLElement ? i += `
|
|
10
|
+
` + ((e = n.t(n.prefix.outerHTML, { _userInput: !0 })) == null ? "" : e) + `
|
|
11
|
+
` : i += `
|
|
12
|
+
` + ((e = n.t(n.prefix, { _userInput: !0 })) == null ? "" : e) + `
|
|
13
|
+
`, i += `
|
|
14
|
+
</span>
|
|
15
|
+
</div>
|
|
16
|
+
`), i += `
|
|
17
|
+
`, !n.component.editor && !n.component.wysiwyg) {
|
|
18
|
+
i += `
|
|
19
|
+
<` + ((e = n.input.type) == null ? "" : e) + `
|
|
20
|
+
ref="` + ((e = n.input.ref ? n.input.ref : "input") == null ? "" : e) + `"
|
|
21
|
+
`;
|
|
22
|
+
for (var u in n.input.attr)
|
|
23
|
+
i += `
|
|
24
|
+
` + ((e = u) == null ? "" : e) + '="' + ((e = n.input.attr[u]) == null ? "" : e) + `"
|
|
25
|
+
`;
|
|
26
|
+
i += `
|
|
27
|
+
id="` + ((e = n.instance.id) == null ? "" : e) + "-" + ((e = n.component.key) == null ? "" : e) + `"
|
|
28
|
+
aria-labelledby="l-` + ((e = n.instance.id) == null ? "" : e) + "-" + ((e = n.component.key) == null ? "" : e) + " ", n.component.description && (i += "d-" + ((e = n.instance.id) == null ? "" : e) + "-" + ((e = n.component.key) == null ? "" : e)), i += `"
|
|
29
|
+
aria-required="` + ((e = n.input.ref === "input" || !n.input.ref ? n.component.validate.required : n.component.fields && n.component.fields[n.input.ref] && n.component.fields[n.input.ref].required || !1) == null ? "" : e) + `"
|
|
30
|
+
>` + ((e = n.input.content) == null ? "" : e) + "</" + ((e = n.input.type) == null ? "" : e) + `>
|
|
31
|
+
`, n.hasValueMaskInput && (i += `
|
|
32
|
+
<input ref="valueMaskInput" />
|
|
33
|
+
`), i += `
|
|
34
|
+
`;
|
|
35
|
+
}
|
|
36
|
+
return i += `
|
|
37
|
+
`, (n.component.editor || n.component.wysiwyg) && (i += `
|
|
38
|
+
<div ref="input"></div>
|
|
39
|
+
`), i += `
|
|
40
|
+
`, n.component.type === "datetime" && (i += `
|
|
41
|
+
<span aria-live="assertive" id="` + ((e = n.instance.id) == null ? "" : e) + `-liveRegion" class="sr-only" ref="liveRegion"></span>
|
|
42
|
+
`), i += `
|
|
43
|
+
`, n.suffix && (i += `
|
|
44
|
+
<div class="input-group-append" ref="suffix">
|
|
45
|
+
<span class="input-group-text">
|
|
46
|
+
`, n.suffix instanceof HTMLElement ? i += `
|
|
47
|
+
` + ((e = n.t(n.suffix.outerHTML, { _userInput: !0 })) == null ? "" : e) + `
|
|
48
|
+
` : i += `
|
|
49
|
+
` + ((e = n.t(n.suffix, { _userInput: !0 })) == null ? "" : e) + `
|
|
50
|
+
`, i += `
|
|
51
|
+
</span>
|
|
52
|
+
</div>
|
|
53
|
+
`), i += `
|
|
54
|
+
`, (n.prefix || n.suffix) && (i += `
|
|
55
|
+
</div>
|
|
56
|
+
`), i += `
|
|
57
|
+
`, (n.component.showCharCount || n.component.showWordCount) && (i += `
|
|
58
|
+
<div class="form-text ` + ((e = n.component.description ? "pull-right" : "text-right") == null ? "" : e) + `">
|
|
59
|
+
`, n.component.showCharCount && (i += `
|
|
60
|
+
<span class="text-muted" ref="charcount" aria-live="polite"></span>
|
|
61
|
+
`), i += `
|
|
62
|
+
`, n.component.showWordCount && (i += `
|
|
63
|
+
<span class="text-muted" ref="wordcount" aria-live="polite"></span>
|
|
64
|
+
`), i += `
|
|
65
|
+
</div>
|
|
66
|
+
`), i += `
|
|
67
|
+
`, i;
|
|
68
|
+
}
|
|
69
|
+
function l(n) {
|
|
70
|
+
var e, i = "";
|
|
71
|
+
return i += '<div ref="value">', n.value ? i += (e = n.value) == null ? "" : e : i += "-", i += `</div>
|
|
72
|
+
`, i;
|
|
73
|
+
}
|
|
74
|
+
const o = { form: p, html: l };
|
|
75
|
+
export {
|
|
76
|
+
o as default
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/input/form.ejs","../../../../src/templates/tailwind/input/html.ejs","../../../../src/templates/tailwind/input/index.ts"],"sourcesContent":["{% if (ctx.prefix || ctx.suffix) { %}\n<div class=\"input-group\">\n {% } %}\n {% if (ctx.prefix) { %}\n <div class=\"input-group-prepend\" ref=\"prefix\">\n <span class=\"input-group-text\">\n {% if(ctx.prefix instanceof HTMLElement){ %}\n {{ ctx.t(ctx.prefix.outerHTML, { _userInput: true }) }}\n {% } else{ %}\n {{ ctx.t(ctx.prefix, { _userInput: true }) }}\n {% } %}\n </span>\n </div>\n {% } %}\n {% if (!ctx.component.editor && !ctx.component.wysiwyg) { %}\n <{{ctx.input.type}}\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'input'}}\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n id=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}} {% if (ctx.component.description) { %}d-{{ctx.instance.id}}-{{ctx.component.key}}{% } %}\"\n aria-required=\"{{ctx.input.ref === 'input' || !ctx.input.ref ? ctx.component.validate.required :\n ctx.component.fields && ctx.component.fields[ctx.input.ref] && ctx.component.fields[ctx.input.ref].required || false}}\"\n >{{ctx.input.content}}</{{ctx.input.type}}>\n {% if (ctx.hasValueMaskInput) { %}\n <input ref=\"valueMaskInput\" />\n {% } %}\n{% } %}\n{% if (ctx.component.editor || ctx.component.wysiwyg) { %}\n <div ref=\"input\"></div>\n{% } %}\n{% if (ctx.component.type === 'datetime') { %}\n<span aria-live=\"assertive\" id=\"{{ctx.instance.id}}-liveRegion\" class=\"sr-only\" ref=\"liveRegion\"></span>\n{% } %}\n{% if (ctx.suffix) { %}\n <div class=\"input-group-append\" ref=\"suffix\">\n <span class=\"input-group-text\">\n {% if(ctx.suffix instanceof HTMLElement){ %}\n {{ ctx.t(ctx.suffix.outerHTML, { _userInput: true }) }}\n {% } else{ %}\n {{ ctx.t(ctx.suffix, { _userInput: true }) }}\n {% } %}\n </span>\n </div>\n{% } %}\n{% if (ctx.prefix || ctx.suffix) { %}\n </div>\n{% } %}\n{% if (ctx.component.showCharCount || ctx.component.showWordCount) { %}\n<div class=\"form-text {{ctx.component.description ? 'pull-right' : 'text-right'}}\">\n {% if (ctx.component.showCharCount) { %}\n <span class=\"text-muted\" ref=\"charcount\" aria-live=\"polite\"></span>\n {% } %}\n {% if (ctx.component.showWordCount) { %}\n <span class=\"text-muted\" ref=\"wordcount\" aria-live=\"polite\"></span>\n {% } %}\n</div>\n{% } %}\n","<div ref=\"value\">{% if (ctx.value) { %}{{ctx.value}}{% } else { %}-{% } %}</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","input"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAqBd,OAlBIF,EAAI,UAAUA,EAAI,YACvBE,KAAO;AAAA;AAAA,MAEPA,KAAO;AAAA,KACFF,EAAI,WACTE,KAAO;AAAA;AAAA;AAAA,SACHF,EAAI,kBAAkB,cAC1BE,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,OAAO,WAAW,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC9E;AAAA,UAEAC,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,QAAQ,EAAE,YAAY,GAAM,CAAA,MAAQ,OAAO,KAAKC,KACpE;AAAA,SAEAC,KAAO;AAAA;AAAA;AAAA,MAEPA,KAAO;AAAA,KACF,CAACF,EAAI,UAAU,UAAU,CAACA,EAAI,UAAU,SAAS;AACtD,IAAAE,KAAO;AAAA,WACLD,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA,iBACEA,IAAOD,EAAI,MAAM,MAAMA,EAAI,MAAM,MAAM,YAAa,OAAO,KAAKC,KAClE;AAAA;AACC,aAASE,KAAQH,EAAI,MAAM;AAC5B,MAAAE,KAAO;AAAA,cACLD,IAAOE,MAAU,OAAO,KAAKF,KAC/B,SACEA,IAAOD,EAAI,MAAM,KAAKG,CAAI,MAAO,OAAO,KAAKF,KAC/C;AAAA;AAEA,IAAAC,KAAO;AAAA,gBACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,+BACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C,KACKD,EAAI,UAAU,gBACnBE,KAAO,SACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAE5CC,KAAO;AAAA,2BACLD,IAAOD,EAAI,MAAM,QAAQ,WAAW,CAACA,EAAI,MAAM,MAAMA,EAAI,UAAU,SAAS,WACtEA,EAAI,UAAU,UAAUA,EAAI,UAAU,OAAOA,EAAI,MAAM,GAAG,KAAKA,EAAI,UAAU,OAAOA,EAAI,MAAM,GAAG,EAAE,YAAY,OAAW,OAAO,KAAKC,KAC9I;AAAA,WACEA,IAAOD,EAAI,MAAM,YAAa,OAAO,KAAKC,KAC5C,SACEA,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA,OACKD,EAAI,sBACTE,KAAO;AAAA;AAAA,QAEPA,KAAO;AAAA;AAAA,EAEP;AAAA,SAAAA,KAAO;AAAA,IACFF,EAAI,UAAU,UAAUA,EAAI,UAAU,aAC3CE,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,GACFF,EAAI,UAAU,SAAS,eAC5BE,KAAO;AAAA,sCACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C;AAAA,IAEAC,KAAO;AAAA,GACFF,EAAI,WACTE,KAAO;AAAA;AAAA;AAAA,SACHF,EAAI,kBAAkB,cAC1BE,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,OAAO,WAAW,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC9E;AAAA,UAEAC,KAAO;AAAA,cACLD,IAAQD,EAAI,EAAEA,EAAI,QAAQ,EAAE,YAAY,GAAM,CAAA,MAAQ,OAAO,KAAKC,KACpE;AAAA,SAEAC,KAAO;AAAA;AAAA;AAAA,IAEPA,KAAO;AAAA,IACFF,EAAI,UAAUA,EAAI,YACvBE,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,IACFF,EAAI,UAAU,iBAAiBA,EAAI,UAAU,mBAClDE,KAAO;AAAA,4BACLD,IAAOD,EAAI,UAAU,cAAc,eAAe,iBAAkB,OAAO,KAAKC,KAClF;AAAA,KACKD,EAAI,UAAU,kBACnBE,KAAO;AAAA;AAAA,MAEPA,KAAO;AAAA,KACFF,EAAI,UAAU,kBACnBE,KAAO;AAAA;AAAA,MAEPA,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,GACAA;AACP;AC3Ge,SAAQE,EAACJ,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,qBACFF,EAAI,QACTE,MACED,IAAOD,EAAI,UAAW,OAAO,KAAKC,IAEpCC,KAAO,KAEPA,KAAO;AAAA,GACAA;AACP;ACTA,MAAAG,IAAe,EAAE,MAAAN,GAAM,MAAAK,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function o(l) {
|
|
2
|
+
var n, e = "";
|
|
3
|
+
return e += `<label
|
|
4
|
+
ref="label"
|
|
5
|
+
class="col-form-label ` + ((n = l.label.className) == null ? "" : n) + `"
|
|
6
|
+
for="` + ((n = l.instance.id) == null ? "" : n) + "-" + ((n = l.component.key) == null ? "" : n) + `"
|
|
7
|
+
id="l-` + ((n = l.instance.id) == null ? "" : n) + "-" + ((n = l.component.key) == null ? "" : n) + `"
|
|
8
|
+
>
|
|
9
|
+
` + ((n = l.t(l.component.label, { _userInput: !0 })) == null ? "" : n) + `
|
|
10
|
+
`, (l.component.type === "number" || l.component.type === "phoneNumber" || l.component.type === "currency") && (e += `
|
|
11
|
+
<span class='sr-only'>, ` + ((n = l.t("numeric only")) == null ? "" : n) + `,</span>
|
|
12
|
+
`), e += `
|
|
13
|
+
`, l.component.tooltip && (e += `
|
|
14
|
+
<i ref="tooltip" tabindex="0" class="` + ((n = l.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = l.component.tooltip) == null ? "" : n) + `"></i>
|
|
15
|
+
`), e += `
|
|
16
|
+
</label>
|
|
17
|
+
`, e;
|
|
18
|
+
}
|
|
19
|
+
const t = { form: o };
|
|
20
|
+
export {
|
|
21
|
+
t as default
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/label/form.ejs","../../../../src/templates/tailwind/label/index.ts"],"sourcesContent":["<label\n ref=\"label\"\n class=\"col-form-label {{ctx.label.className}}\"\n for=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n id=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\"\n>\n {{ ctx.t(ctx.component.label, { _userInput: true }) }}\n {% if (ctx.component.type === 'number' || ctx.component.type === 'phoneNumber' || ctx.component.type === 'currency') { %}\n <span class='sr-only'>, {{ctx.t('numeric only')}},</span>\n {% } %}\n {% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" tabindex=\"0\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n {% } %}\n</label>\n","import form from \"./form.ejs\";\nexport default { form };\n"],"names":["form","ctx","__t","__p","label"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,8BACLD,IAAOD,EAAI,MAAM,cAAe,OAAO,KAAKC,KAC9C;AAAA,aACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,cACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA,QACEA,IAAQD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC7E;AAAA,MACKD,EAAI,UAAU,SAAS,YAAYA,EAAI,UAAU,SAAS,iBAAiBA,EAAI,UAAU,SAAS,gBACvGE,KAAO;AAAA,kCACLD,IAAOD,EAAI,EAAE,cAAc,MAAO,OAAO,KAAKC,KAChD;AAAA,MAEAC,KAAO;AAAA,KACFF,EAAI,UAAU,YACnBE,KAAO;AAAA,+CACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOD,EAAI,UAAU,YAAa,OAAO,KAAKC,KAChD;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;AC9BA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function a(d) {
|
|
2
|
+
var r = "";
|
|
3
|
+
return r += `<div class="formio-loader">
|
|
4
|
+
<div class="loader-wrapper">
|
|
5
|
+
<div class="loader text-center"></div>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
`, r;
|
|
9
|
+
}
|
|
10
|
+
const e = { form: a };
|
|
11
|
+
export {
|
|
12
|
+
e as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/loader/form.ejs","../../../../src/templates/tailwind/loader/index.ts"],"sourcesContent":["<div class=\"formio-loader\">\n <div class=\"loader-wrapper\">\n <div class=\"loader text-center\"></div>\n </div> \n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__p","loader"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAAMC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA,GACAA;AACP;ACFA,MAAeC,IAAA,EAAE,MAAAH,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/loading/form.ejs","../../../../src/templates/tailwind/loading/index.ts"],"sourcesContent":["{{ctx.t('Loading')}}...\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","loading"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,OACED,IAAOD,EAAI,EAAE,SAAS,MAAO,OAAO,KAAKC,KAC3C;AAAA,GACOC;AACP;ACJA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function a(n) {
|
|
2
|
+
var t, e = "";
|
|
3
|
+
return e += '<div id="' + ((t = n.mapId) == null ? "" : t) + `" style="min-height: 300px; height: calc(100vh - 600px);" ref="gmapElement"></div>
|
|
4
|
+
`, e;
|
|
5
|
+
}
|
|
6
|
+
const i = { form: a };
|
|
7
|
+
export {
|
|
8
|
+
i as default
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/map/form.ejs","../../../../src/templates/tailwind/map/index.ts"],"sourcesContent":["<div id=\"{{ctx.mapId}}\" style=\"min-height: 300px; height: calc(100vh - 600px);\" ref=\"gmapElement\"></div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","map"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,gBACLD,IAAOD,EAAI,UAAW,OAAO,KAAKC,KACpC;AAAA,GACOC;AACP;ACJA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function r(l) {
|
|
2
|
+
var e, n = "";
|
|
3
|
+
return n += '<div id="e-' + ((e = l.instance.id) == null ? "" : e) + "-" + ((e = l.key) == null ? "" : e) + '" class="form-text ' + ((e = l.level || "error") == null ? "" : e) + '">' + ((e = l.message) == null ? "" : e) + `</div>
|
|
4
|
+
`, n;
|
|
5
|
+
}
|
|
6
|
+
const s = { form: r };
|
|
7
|
+
export {
|
|
8
|
+
s as default
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/message/form.ejs","../../../../src/templates/tailwind/message/index.ts"],"sourcesContent":["<div id=\"e-{{ctx.instance.id}}-{{ctx.key}}\" class=\"form-text {{ctx.level || 'error'}}\">{{ctx.message}}</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","message"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,kBACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,0BACEA,IAAOD,EAAI,SAAS,YAAa,OAAO,KAAKC,KAC/C,SACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA,GACOC;AACP;ACVA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
function a(e) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
return l += '<label id="l-' + ((n = e.component.key) == null ? "" : n) + '" class="control-label ' + ((n = e.label.className) == null ? "" : n) + `">
|
|
4
|
+
` + ((n = e.t(e.component.label, { _userInput: !0 })) == null ? "" : n) + '<span ref="modalLabelValue" class="sr-only">. ' + ((n = e.component.type === "signature" ? e.self.getValueAsString(e.previewText) : e.previewText) == null ? "" : n) + `</span>
|
|
5
|
+
</label><br>
|
|
6
|
+
<span class="sr-only" ref="modalPreviewLiveRegion" aria-live="assertive"></span>
|
|
7
|
+
<button
|
|
8
|
+
lang="en"
|
|
9
|
+
class="btn btn-light btn-md open-modal-button form-control ` + ((n = e.openModalBtnClasses || "") == null ? "" : n) + `"
|
|
10
|
+
ref="openModal"
|
|
11
|
+
aria-labelledby="l-` + ((n = e.component.key) == null ? "" : n) + `"
|
|
12
|
+
>
|
|
13
|
+
` + ((n = e.previewText) == null ? "" : n) + `
|
|
14
|
+
</button>
|
|
15
|
+
<div class="formio-errors invalid-feedback">
|
|
16
|
+
` + ((n = e.messages) == null ? "" : n) + `
|
|
17
|
+
</div>
|
|
18
|
+
`, l;
|
|
19
|
+
}
|
|
20
|
+
const o = { form: a };
|
|
21
|
+
export {
|
|
22
|
+
o as default
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modalPreview/form.ejs","../../../../src/templates/tailwind/modalPreview/index.ts"],"sourcesContent":["<label id=\"l-{{ctx.component.key}}\" class=\"control-label {{ ctx.label.className }}\">\n {{ ctx.t(ctx.component.label, { _userInput: true }) }}<span ref=\"modalLabelValue\" class=\"sr-only\">. {{ ctx.component.type === 'signature' ? ctx.self.getValueAsString(ctx.previewText) : ctx.previewText }}</span>\n</label><br>\n<span class=\"sr-only\" ref=\"modalPreviewLiveRegion\" aria-live=\"assertive\"></span>\n<button\n lang=\"en\"\n class=\"btn btn-light btn-md open-modal-button form-control {{ctx.openModalBtnClasses || ''}}\"\n ref=\"openModal\"\n aria-labelledby=\"l-{{ctx.component.key}}\"\n>\n {{ ctx.previewText }}\n</button>\n<div class=\"formio-errors invalid-feedback\">\n {{ ctx.messages }}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modalPreview"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,oBACLD,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C,8BACEA,IAAQD,EAAI,MAAM,cAAgB,OAAO,KAAKC,KAChD;AAAA,QACEA,IAAQD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC7E,qDACEA,IAAQD,EAAI,UAAU,SAAS,cAAcA,EAAI,KAAK,iBAAiBA,EAAI,WAAW,IAAIA,EAAI,gBAAkB,OAAO,KAAKC,KAC9H;AAAA;AAAA;AAAA;AAAA;AAAA,mEACEA,IAAOD,EAAI,uBAAuB,OAAQ,OAAO,KAAKC,KACxD;AAAA;AAAA,2BACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA,QACEA,IAAQD,EAAI,gBAAkB,OAAO,KAAKC,KAC5C;AAAA;AAAA;AAAA,QACEA,IAAQD,EAAI,aAAe,OAAO,KAAKC,KACzC;AAAA;AAAA,GACOC;AACP;AClBA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function i(t) {
|
|
2
|
+
var o, n = "";
|
|
3
|
+
return n += `<div class="formio-dialog formio-dialog-theme-default formio-modaledit-dialog">
|
|
4
|
+
<div ref="overlay" class="formio-dialog-overlay"></div>
|
|
5
|
+
<div ref="content" class="formio-modaledit-content">
|
|
6
|
+
<button
|
|
7
|
+
ref="close"
|
|
8
|
+
type="button"
|
|
9
|
+
role="button"
|
|
10
|
+
class="btn btn-primary btn-xs formio-modaledit-close">
|
|
11
|
+
` + ((o = t.t("Close")) == null ? "" : o) + `
|
|
12
|
+
</button>
|
|
13
|
+
<div ref="inner" class="reset-margins"></div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
`, n;
|
|
17
|
+
}
|
|
18
|
+
const e = { form: i };
|
|
19
|
+
export {
|
|
20
|
+
e as default
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modaldialog/form.ejs","../../../../src/templates/tailwind/modaldialog/index.ts"],"sourcesContent":["<div class=\"formio-dialog formio-dialog-theme-default formio-modaledit-dialog\">\n <div ref=\"overlay\" class=\"formio-dialog-overlay\"></div>\n <div ref=\"content\" class=\"formio-modaledit-content\">\n <button\n ref=\"close\"\n type=\"button\"\n role=\"button\"\n class=\"btn btn-primary btn-xs formio-modaledit-close\">\n {{ctx.t('Close')}}\n </button>\n <div ref=\"inner\" class=\"reset-margins\"></div>\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modaldialog"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YACLD,IAAOD,EAAI,EAAE,OAAO,MAAO,OAAO,KAAKC,KACzC;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACJA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function e(t) {
|
|
2
|
+
var n, i = "";
|
|
3
|
+
return i += `<div ref="container" class="formio-modaledit-view-container">
|
|
4
|
+
<button
|
|
5
|
+
ref="edit"
|
|
6
|
+
type="button"
|
|
7
|
+
role="button"
|
|
8
|
+
class="btn btn-xxs btn-warning formio-modaledit-edit">
|
|
9
|
+
<i class="` + ((n = t.iconClass("edit")) == null ? "" : n) + `"></i>
|
|
10
|
+
</button>
|
|
11
|
+
<div ref="input" class="modaledit-view-inner reset-margins">` + ((n = t.content) == null ? "" : n) + `</div>
|
|
12
|
+
</div>
|
|
13
|
+
`, i;
|
|
14
|
+
}
|
|
15
|
+
const o = { form: e };
|
|
16
|
+
export {
|
|
17
|
+
o as default
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/modaledit/form.ejs","../../../../src/templates/tailwind/modaledit/index.ts"],"sourcesContent":["<div ref=\"container\" class=\"formio-modaledit-view-container\">\n <button\n ref=\"edit\"\n type=\"button\"\n role=\"button\"\n class=\"btn btn-xxs btn-warning formio-modaledit-edit\">\n <i class=\"{{ctx.iconClass('edit')}}\"></i>\n </button>\n <div ref=\"input\" class=\"modaledit-view-inner reset-margins\">{{ctx.content}}</div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","modaledit"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBACLD,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA;AAAA,oEACEA,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA,GACOC;AACP;ACNA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function o(e) {
|
|
2
|
+
var n, t = "";
|
|
3
|
+
return t += `<tr ref="row">
|
|
4
|
+
<td>
|
|
5
|
+
` + ((n = e.element) == null ? "" : n) + `
|
|
6
|
+
</td>
|
|
7
|
+
`, e.disabled || (t += `
|
|
8
|
+
<td>
|
|
9
|
+
<button type="button" class="btn btn-secondary" ref="removeRow">
|
|
10
|
+
<i class="` + ((n = e.iconClass("remove-circle")) == null ? "" : n) + `"></i>
|
|
11
|
+
</button>
|
|
12
|
+
</td>
|
|
13
|
+
`), t += `
|
|
14
|
+
</tr>
|
|
15
|
+
`, t;
|
|
16
|
+
}
|
|
17
|
+
const r = { form: o };
|
|
18
|
+
export {
|
|
19
|
+
r as default
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multiValueRow/form.ejs","../../../../src/templates/tailwind/multiValueRow/index.ts"],"sourcesContent":["<tr ref=\"row\">\n <td>\n {{ctx.element}}\n </td>\n {% if (!ctx.disabled) { %}\n <td>\n <button type=\"button\" class=\"btn btn-secondary\" ref=\"removeRow\">\n <i class=\"{{ctx.iconClass('remove-circle')}}\"></i>\n </button>\n </td>\n {% } %}\n</tr>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","multiValueRow"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA,KACMD,EAAI,aACVE,KAAO;AAAA;AAAA;AAAA,sBACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD;AAAA;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;ACXA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function a(t) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
return l += `<table class="table table-bordered">
|
|
4
|
+
<tbody>
|
|
5
|
+
` + ((n = t.rows) == null ? "" : n) + `
|
|
6
|
+
`, t.disabled || (l += `
|
|
7
|
+
<tr>
|
|
8
|
+
<td colspan="2">
|
|
9
|
+
<button class="btn btn-primary formio-button-add-another" ref="addButton"><i class="` + ((n = t.iconClass("plus")) == null ? "" : n) + '"></i> ' + ((n = t.t(t.addAnother, { _userInput: !0 })) == null ? "" : n) + `</button>
|
|
10
|
+
</td>
|
|
11
|
+
</tr>
|
|
12
|
+
`), l += `
|
|
13
|
+
</tbody>
|
|
14
|
+
</table>
|
|
15
|
+
`, l;
|
|
16
|
+
}
|
|
17
|
+
const o = { form: a };
|
|
18
|
+
export {
|
|
19
|
+
o as default
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multiValueTable/form.ejs","../../../../src/templates/tailwind/multiValueTable/index.ts"],"sourcesContent":["<table class=\"table table-bordered\">\n <tbody>\n {{ctx.rows}}\n {% if (!ctx.disabled) { %}\n <tr>\n <td colspan=\"2\">\n <button class=\"btn btn-primary formio-button-add-another\" ref=\"addButton\"><i class=\"{{ctx.iconClass('plus')}}\"></i> {{ctx.t(ctx.addAnother, { _userInput: true })}}</button>\n </td>\n </tr>\n {% } %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","multiValueTable"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,QACLD,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA,KACMD,EAAI,aACVE,KAAO;AAAA;AAAA;AAAA,gGACLD,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD,cACEA,IAAOD,EAAI,EAAEA,EAAI,YAAY,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKC,KACtE;AAAA;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;ACbA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
function u(e) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
l += `<div
|
|
4
|
+
class="input-group formio-multiple-mask-container"
|
|
5
|
+
ref="` + ((n = e.input.ref ? e.input.ref : "input") == null ? "" : n) + `"
|
|
6
|
+
>
|
|
7
|
+
<select
|
|
8
|
+
class="form-control formio-multiple-mask-select"
|
|
9
|
+
id="` + ((n = e.key) == null ? "" : n) + `-mask"
|
|
10
|
+
ref="select"
|
|
11
|
+
`, e.input.attr.disabled && (l += "disabled"), l += `>
|
|
12
|
+
`, e.selectOptions.forEach(function(i) {
|
|
13
|
+
l += `
|
|
14
|
+
<option value="` + ((n = i.value) == null ? "" : n) + '">' + ((n = i.label) == null ? "" : n) + `</option>
|
|
15
|
+
`;
|
|
16
|
+
}), l += `
|
|
17
|
+
</select>
|
|
18
|
+
<input
|
|
19
|
+
ref="mask"
|
|
20
|
+
`;
|
|
21
|
+
for (var t in e.input.attr)
|
|
22
|
+
l += `
|
|
23
|
+
` + ((n = t) == null ? "" : n) + '="' + ((n = e.input.attr[t]) == null ? "" : n) + `"
|
|
24
|
+
`;
|
|
25
|
+
return l += `
|
|
26
|
+
>
|
|
27
|
+
</div>
|
|
28
|
+
`, l;
|
|
29
|
+
}
|
|
30
|
+
const r = { form: u };
|
|
31
|
+
export {
|
|
32
|
+
r as default
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/multipleMasksInput/form.ejs","../../../../src/templates/tailwind/multipleMasksInput/index.ts"],"sourcesContent":["<div\n class=\"input-group formio-multiple-mask-container\"\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'input'}}\"\n>\n <select\n class=\"form-control formio-multiple-mask-select\"\n id=\"{{ctx.key}}-mask\"\n ref=\"select\"\n {% if (ctx.input.attr.disabled) { %}disabled{% } %}>\n {% ctx.selectOptions.forEach(function(option) { %}\n <option value=\"{{option.value}}\">{{option.label}}</option>\n {% }); %}\n </select>\n <input\n ref=\"mask\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n >\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","option","attr","multipleMasksInput"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO;AAAA;AAAA,aACLD,IAAOD,EAAI,MAAM,MAAMA,EAAI,MAAM,MAAM,YAAa,OAAO,KAAKC,KAClE;AAAA;AAAA;AAAA;AAAA,cACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC;AAAA;AAAA,OACKD,EAAI,MAAM,KAAK,aACpBE,KAAO,aAEPA,KAAO;AAAA,OACNF,EAAI,cAAc,QAAQ,SAASG,GAAQ;AAC5C,IAAAD,KAAO;AAAA,yBACLD,IAAOE,EAAO,UAAW,OAAO,KAAKF,KACvC,SACEA,IAAOE,EAAO,UAAW,OAAO,KAAKF,KACvC;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA;AAAA;AACN,WAASE,KAAQJ,EAAI,MAAM;AAC5B,IAAAE,KAAO;AAAA,UACLD,IAAOG,MAAU,OAAO,KAAKH,KAC/B,SACEA,IAAOD,EAAI,MAAM,KAAKI,CAAI,MAAO,OAAO,KAAKH,KAC/C;AAAA;AAEA,SAAAC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC3BA,MAAeG,IAAA,EAAE,MAAAN,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
function o(n) {
|
|
2
|
+
var e, l = "";
|
|
3
|
+
return l += `<div class="mb-2 card border">
|
|
4
|
+
`, (!n.component.hideLabel || n.builder || n.component.collapsible || n.component.tooltip) && (l += `
|
|
5
|
+
<div class="card-header ` + ((e = n.transform("class", "bg-" + n.component.theme)) == null ? "" : e) + `"
|
|
6
|
+
`, n.component.collapsible && (l += `
|
|
7
|
+
tabindex="0"
|
|
8
|
+
`), l += `
|
|
9
|
+
role="button"
|
|
10
|
+
aria-expanded="` + ((e = n.component.collapsible ? !n.collapsed : !0) == null ? "" : e) + `"
|
|
11
|
+
aria-controls="` + ((e = n.instance.id) == null ? "" : e) + "-" + ((e = n.component.key) == null ? "" : e) + `"
|
|
12
|
+
ref="header"
|
|
13
|
+
>
|
|
14
|
+
<span class="mb-0 card-title `, n.component.theme && n.component.theme !== "default" && (l += "text-light"), l += `">
|
|
15
|
+
`, n.component.collapsible && (l += `
|
|
16
|
+
<i class="formio-collapse-icon ` + ((e = n.iconClass(n.collapsed ? "plus-square-o" : "minus-square-o")) == null ? "" : e) + ` text-muted" data-title="Collapse Panel"></i>
|
|
17
|
+
`), l += `
|
|
18
|
+
`, (!n.component.hideLabel || n.builder) && (l += `
|
|
19
|
+
` + ((e = n.t(n.component.title, { _userInput: !0 })) == null ? "" : e) + `
|
|
20
|
+
`), l += `
|
|
21
|
+
`, n.component.tooltip && (l += `
|
|
22
|
+
<i ref="tooltip" tabindex="0" class="` + ((e = n.iconClass("question-sign")) == null ? "" : e) + ' text-muted" data-tooltip="' + ((e = n.component.tooltip) == null ? "" : e) + `"></i>
|
|
23
|
+
`), l += `
|
|
24
|
+
</span>
|
|
25
|
+
</div>
|
|
26
|
+
`), l += `
|
|
27
|
+
`, (!n.collapsed || n.builder) && (l += `
|
|
28
|
+
<div class="card-body" ref="` + ((e = n.nestedKey) == null ? "" : e) + '" id="' + ((e = n.instance.id) == null ? "" : e) + "-" + ((e = n.component.key) == null ? "" : e) + `">
|
|
29
|
+
` + ((e = n.children) == null ? "" : e) + `
|
|
30
|
+
</div>
|
|
31
|
+
`), l += `
|
|
32
|
+
</div>
|
|
33
|
+
`, l;
|
|
34
|
+
}
|
|
35
|
+
const i = { form: o };
|
|
36
|
+
export {
|
|
37
|
+
i as default
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/panel/form.ejs","../../../../src/templates/tailwind/panel/index.ts"],"sourcesContent":["<div class=\"mb-2 card border\">\n {% if (!ctx.component.hideLabel || ctx.builder || ctx.component.collapsible || ctx.component.tooltip) { %}\n <div class=\"card-header {{ctx.transform('class', 'bg-' + ctx.component.theme)}}\"\n {% if (ctx.component.collapsible) { %}\n tabindex=\"0\"\n {% } %}\n role=\"button\"\n aria-expanded=\"{{ctx.component.collapsible ? !ctx.collapsed : true}}\"\n aria-controls=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n ref=\"header\"\n >\n <span class=\"mb-0 card-title {% if (ctx.component.theme && ctx.component.theme !== 'default') { %}text-light{% } %}\">\n {% if (ctx.component.collapsible) { %}\n <i class=\"formio-collapse-icon {{ctx.iconClass(ctx.collapsed ? 'plus-square-o' : 'minus-square-o')}} text-muted\" data-title=\"Collapse Panel\"></i>\n {% } %}\n {% if (!ctx.component.hideLabel || ctx.builder) { %}\n {{ctx.t(ctx.component.title, { _userInput: true })}}\n {% } %}\n {% if (ctx.component.tooltip) { %}\n <i ref=\"tooltip\" tabindex=\"0\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{ctx.component.tooltip}}\"></i>\n {% } %}\n </span>\n </div>\n {% } %}\n {% if (!ctx.collapsed || ctx.builder) { %}\n <div class=\"card-body\" ref=\"{{ctx.nestedKey}}\" id=\"{{ctx.instance.id}}-{{ctx.component.key}}\">\n {{ctx.children}}\n </div>\n {% } %}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","panel"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,MACF,CAACF,EAAI,UAAU,aAAaA,EAAI,WAAWA,EAAI,UAAU,eAAeA,EAAI,UAAU,aAC3FE,KAAO;AAAA,gCACLD,IAAOD,EAAI,UAAU,SAAS,QAAQA,EAAI,UAAU,KAAK,MAAO,OAAO,KAAKC,KAC9E;AAAA,OACKD,EAAI,UAAU,gBACnBE,KAAO;AAAA;AAAA,QAEPA,KAAO;AAAA;AAAA,yBACLD,IAAOD,EAAI,UAAU,cAAc,CAACA,EAAI,YAAY,OAAU,OAAO,KAAKC,KAC5E;AAAA,yBACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA;AAAA,oCACKD,EAAI,UAAU,SAASA,EAAI,UAAU,UAAU,cACpDE,KAAO,eAEPA,KAAO;AAAA,SACFF,EAAI,UAAU,gBACnBE,KAAO;AAAA,6CACLD,IAAOD,EAAI,UAAUA,EAAI,YAAY,kBAAkB,gBAAgB,MAAO,OAAO,KAAKC,KAC5F;AAAA,UAEAC,KAAO;AAAA,UACF,CAACF,EAAI,UAAU,aAAaA,EAAI,aACrCE,KAAO;AAAA,YACLD,IAAOD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KAC3E;AAAA,UAEAC,KAAO;AAAA,SACFF,EAAI,UAAU,YACnBE,KAAO;AAAA,mDACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOD,EAAI,UAAU,YAAa,OAAO,KAAKC,KAChD;AAAA,UAEAC,KAAO;AAAA;AAAA;AAAA,MAEPA,KAAO;AAAA,MACF,CAACF,EAAI,aAAaA,EAAI,aAC3BE,KAAO;AAAA,oCACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,aACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,UACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;ACvDA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function a(n) {
|
|
2
|
+
var t, o = "";
|
|
3
|
+
return o += '<div class="' + ((t = n.classes) == null ? "" : t) + `" ref="webform">
|
|
4
|
+
<button data-noattach="true" ref="zoomIn" style="position:absolute;right:10px;top:10px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">
|
|
5
|
+
<i class="` + ((t = n.iconClass("zoom-in")) == null ? "" : t) + `"></i>
|
|
6
|
+
</button>
|
|
7
|
+
<button data-noattach="true" ref="zoomOut" style="position:absolute;right:10px;top:60px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">
|
|
8
|
+
<i class="` + ((t = n.iconClass("zoom-out")) == null ? "" : t) + `"></i>
|
|
9
|
+
</button>
|
|
10
|
+
<div data-noattach="true" ref="iframeContainer"></div>
|
|
11
|
+
` + ((t = n.submitButton) == null ? "" : t) + `
|
|
12
|
+
</div>
|
|
13
|
+
`, o;
|
|
14
|
+
}
|
|
15
|
+
const s = { form: a };
|
|
16
|
+
export {
|
|
17
|
+
s as default
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdf/form.ejs","../../../../src/templates/tailwind/pdf/index.ts"],"sourcesContent":["<div class=\"{{ctx.classes}}\" ref=\"webform\">\n\t<button data-noattach=\"true\" ref=\"zoomIn\" style=\"position:absolute;right:10px;top:10px;cursor:pointer;\" class=\"btn btn-default btn-secondary no-disable\">\n\t\t<i class=\"{{ ctx.iconClass('zoom-in') }}\"></i>\n\t</button>\n\t<button data-noattach=\"true\" ref=\"zoomOut\" style=\"position:absolute;right:10px;top:60px;cursor:pointer;\" class=\"btn btn-default btn-secondary no-disable\">\n\t\t<i class=\"{{ ctx.iconClass('zoom-out') }}\"></i>\n\t</button>\n <div data-noattach=\"true\" ref=\"iframeContainer\"></div>\n {{ ctx.submitButton }}\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdf"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,mBACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA,kBACEA,IAAQD,EAAI,UAAU,SAAS,MAAQ,OAAO,KAAKC,KACrD;AAAA;AAAA;AAAA,kBACEA,IAAQD,EAAI,UAAU,UAAU,MAAQ,OAAO,KAAKC,KACtD;AAAA;AAAA;AAAA,QACEA,IAAQD,EAAI,iBAAmB,OAAO,KAAKC,KAC7C;AAAA;AAAA,GACOC;AACP;ACVA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|