@tsed/tailwind-formio 2.3.6 → 3.0.0-alpha.10
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 -2017
- 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 +32 -22
- package/readme.md +13 -129
- package/src/tailwind/colors.ts +20 -0
- package/src/tailwind/preset.ts +163 -0
- package/src/templates/stories/__fixtures__/WrapperForm.jsx +103 -0
- package/src/templates/stories/__fixtures__/form-firstname.fixture.json +256 -0
- package/src/templates/stories/__fixtures__/form.fixtures.js +1840 -0
- package/src/templates/stories/__fixtures__/useEditForm.jsx +82 -0
- package/src/templates/stories/breadcrumbs.stories.jsx +2 -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/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/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/badge.css +4 -4
- package/styles/choices.css +45 -10
- package/styles/form-edit.css +13 -21
- package/styles/form.css +7 -2
- package/styles/index.css +1 -0
- package/styles/modal.css +1 -0
- package/styles/react-select.css +105 -0
- package/styles/tables.css +20 -57
- 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 -2020
- 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/stories/builder.stories.jsx +0 -1917
- package/src/templates/stories/wizard.stories.jsx +0 -1917
- 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,58 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
|
|
5
|
-
if (ctx.mode.autocomplete) { ;
|
|
6
|
-
__p += '\n <div class="address-autocomplete-container">\n <input\n ref="' +
|
|
7
|
-
((__t = ( ctx.ref.searchInput )) == null ? '' : __t) +
|
|
8
|
-
'"\n ';
|
|
9
|
-
for (var attr in ctx.inputAttributes) { ;
|
|
10
|
-
__p += '\n ' +
|
|
11
|
-
((__t = (attr)) == null ? '' : __t) +
|
|
12
|
-
'="' +
|
|
13
|
-
((__t = (ctx.inputAttributes[attr])) == null ? '' : __t) +
|
|
14
|
-
'"\n ';
|
|
15
|
-
} ;
|
|
16
|
-
__p += '\n value="' +
|
|
17
|
-
((__t = ( ctx.displayValue )) == null ? '' : __t) +
|
|
18
|
-
'"\n autocomplete="off"\n aria-label="' +
|
|
19
|
-
((__t = (ctx.t('autocomplete'))) == null ? '' : __t) +
|
|
20
|
-
'"\n >\n ';
|
|
21
|
-
if (!ctx.component.disableClearIcon) { ;
|
|
22
|
-
__p += '\n <i\n class="address-autocomplete-remove-value-icon fa fa-times"\n tabindex="' +
|
|
23
|
-
((__t = ( ctx.inputAttributes.tabindex )) == null ? '' : __t) +
|
|
24
|
-
'"\n ref="' +
|
|
25
|
-
((__t = ( ctx.ref.removeValueIcon )) == null ? '' : __t) +
|
|
26
|
-
'"\n ></i>\n ';
|
|
27
|
-
} ;
|
|
28
|
-
__p += '\n </div>\n';
|
|
29
|
-
} ;
|
|
30
|
-
__p += '\n';
|
|
31
|
-
if (ctx.self.manualModeEnabled) { ;
|
|
32
|
-
__p += '\n <div class="form-check checkbox">\n <label class="form-check-label">\n <input\n ref="' +
|
|
33
|
-
((__t = ( ctx.ref.modeSwitcher )) == null ? '' : __t) +
|
|
34
|
-
'"\n type="checkbox"\n class="form-check-input"\n tabindex="' +
|
|
35
|
-
((__t = ( ctx.inputAttributes.tabindex )) == null ? '' : __t) +
|
|
36
|
-
'"\n ';
|
|
37
|
-
if (ctx.mode.manual) { ;
|
|
38
|
-
__p += 'checked=true';
|
|
39
|
-
} ;
|
|
40
|
-
__p += '\n ';
|
|
41
|
-
if (ctx.disabled) { ;
|
|
42
|
-
__p += 'disabled=true';
|
|
43
|
-
} ;
|
|
44
|
-
__p += '\n >\n <span>' +
|
|
45
|
-
((__t = ( ctx.component.switchToManualModeLabel )) == null ? '' : __t) +
|
|
46
|
-
'</span>\n </label>\n </div>\n';
|
|
47
|
-
} ;
|
|
48
|
-
__p += '\n';
|
|
49
|
-
if (ctx.self.manualMode) { ;
|
|
50
|
-
__p += '\n <div ref="' +
|
|
51
|
-
((__t = ( ctx.nestedKey )) == null ? '' : __t) +
|
|
52
|
-
'">\n ' +
|
|
53
|
-
((__t = ( ctx.children )) == null ? '' : __t) +
|
|
54
|
-
'\n </div>\n';
|
|
55
|
-
} ;
|
|
56
|
-
__p += '\n';
|
|
57
|
-
return __p
|
|
58
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div ref="value">';
|
|
5
|
-
if (ctx.displayValue) { ;
|
|
6
|
-
__p +=
|
|
7
|
-
((__t = (ctx.displayValue)) == null ? '' : __t);
|
|
8
|
-
} else { ;
|
|
9
|
-
__p += '-';
|
|
10
|
-
} ;
|
|
11
|
-
__p += '</div>\n';
|
|
12
|
-
return __p
|
|
13
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div\n ';
|
|
5
|
-
for (var attr in ctx.attrs) { ;
|
|
6
|
-
__p += '\n ' +
|
|
7
|
-
((__t = (attr)) == null ? '' : __t) +
|
|
8
|
-
'="' +
|
|
9
|
-
((__t = (ctx.attrs[attr])) == null ? '' : __t) +
|
|
10
|
-
'"\n ';
|
|
11
|
-
} ;
|
|
12
|
-
__p += '\n>\n ' +
|
|
13
|
-
((__t = (ctx.message)) == null ? '' : __t) +
|
|
14
|
-
'\n ';
|
|
15
|
-
if (ctx.options.vpat) { ;
|
|
16
|
-
__p += '\n <span class="sr-only" id="hotkey-i-' +
|
|
17
|
-
((__t = (ctx.form._id)) == null ? '' : __t) +
|
|
18
|
-
'">' +
|
|
19
|
-
((__t = (ctx.t('errorListHotkey'))) == null ? '' : __t) +
|
|
20
|
-
'</span>\n ';
|
|
21
|
-
} ;
|
|
22
|
-
__p += '\n</div>\n';
|
|
23
|
-
return __p
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '';
|
|
3
|
-
__p += '<div class="formio builder grid grid-cols-12 gap-4 formbuilder">\n <div class="col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents">\n ' +
|
|
4
|
-
((__t = (ctx.sidebar)) == null ? '' : __t) +
|
|
5
|
-
'\n </div>\n <div class="col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea" ref="form">\n ' +
|
|
6
|
-
((__t = (ctx.form)) == null ? '' : __t) +
|
|
7
|
-
'\n </div>\n</div>\n';
|
|
8
|
-
return __p
|
|
9
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div class="builder-component" ref="dragComponent">\n ';
|
|
5
|
-
if (!ctx.disableBuilderActions) { ;
|
|
6
|
-
__p += '\n <div class="component-btn-group" data-noattach="true">\n <button\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"\n ref="removeComponent"\n >\n <i class="' +
|
|
7
|
-
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
8
|
-
'"></i>\n </button>\n <button\n role="button"\n aria-label="Copy button. Click to copy component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"\n ref="copyComponent"\n >\n <i class="' +
|
|
9
|
-
((__t = (ctx.iconClass('copy'))) == null ? '' : __t) +
|
|
10
|
-
'"></i>\n </button>\n <button\n role="button"\n aria-label="Paste below button. Click to paste component below the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-paste"\n ref="pasteComponent"\n >\n <i class="' +
|
|
11
|
-
((__t = (ctx.iconClass('save'))) == null ? '' : __t) +
|
|
12
|
-
'"></i>\n </button>\n <button\n role="button"\n aria-label="Edit json button. Click to edit json of the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json"\n ref="editJson"\n >\n <i class="' +
|
|
13
|
-
((__t = (ctx.iconClass('wrench'))) == null ? '' : __t) +
|
|
14
|
-
'"></i>\n </button>\n <button\n role="button"\n aria-label="Move button"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="' +
|
|
15
|
-
((__t = (ctx.iconClass('move'))) == null ? '' : __t) +
|
|
16
|
-
'"></i>\n </button>\n <button\n role="button"\n aria-label="Edit button. Click to open component settings modal window"\n tabindex="-1"\n class="btn btn-xxs btn-secondary component-settings-button component-settings-button-edit"\n ref="editComponent"\n >\n <i class="' +
|
|
17
|
-
((__t = (ctx.iconClass('cog'))) == null ? '' : __t) +
|
|
18
|
-
'"></i>\n </button>\n </div>\n ';
|
|
19
|
-
} ;
|
|
20
|
-
__p += '\n ' +
|
|
21
|
-
((__t = (ctx.html)) == null ? '' : __t) +
|
|
22
|
-
'\n</div>\n';
|
|
23
|
-
return __p
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '';
|
|
3
|
-
__p += '<div class="builder-components drag-container formio-builder-' +
|
|
4
|
-
((__t = (ctx.type)) == null ? '' : __t) +
|
|
5
|
-
'" ref="' +
|
|
6
|
-
((__t = (ctx.key)) == null ? '' : __t) +
|
|
7
|
-
'-container">\n ' +
|
|
8
|
-
((__t = (ctx.html)) == null ? '' : __t) +
|
|
9
|
-
'\n</div>\n';
|
|
10
|
-
return __p
|
|
11
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div class="flex flex-col w-full h-full">\n <div>\n <div class="grid grid-cols-12 gap-4">\n <div class="col-span-6">\n <div class="text-md px-3 py-3">\n ' +
|
|
5
|
-
((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) +
|
|
6
|
-
'\n ' +
|
|
7
|
-
((__t = (ctx.t('Component'))) == null ? '' : __t) +
|
|
8
|
-
'\n </div>\n </div>\n ';
|
|
9
|
-
if (ctx.helplinks) { ;
|
|
10
|
-
__p += '\n <div class="col-span-6 flex justify-end items-center pr-15">\n <a class="reset-link inline-flex items-center text-secondary text-decoration-none hover:text-primary"\n href="' +
|
|
11
|
-
((__t = (ctx.t(ctx.helplinks + ctx.componentInfo.documentation))) == null ? '' : __t) +
|
|
12
|
-
'" target="_blank">\n <i class="' +
|
|
13
|
-
((__t = (ctx.iconClass('new-window'))) == null ? '' : __t) +
|
|
14
|
-
' mr-1"></i> ' +
|
|
15
|
-
((__t = (ctx.t('Help'))) == null ? '' : __t) +
|
|
16
|
-
'\n </a>\n </div>\n ';
|
|
17
|
-
} ;
|
|
18
|
-
__p += '\n </div>\n </div>\n <div class="overflow-auto flex-1 p-3 pt-0" style="max-height: calc(90vh - 95px)">\n <div class="grid grid-cols-12 gap-4">\n <div class="';
|
|
19
|
-
if (ctx.preview) { ;
|
|
20
|
-
__p += 'col-span-12 sm:col-span-6';
|
|
21
|
-
} else { ;
|
|
22
|
-
__p += 'col-span-12';
|
|
23
|
-
} ;
|
|
24
|
-
__p += '">\n <div ref="editForm">\n ' +
|
|
25
|
-
((__t = (ctx.editForm)) == null ? '' : __t) +
|
|
26
|
-
'\n </div>\n </div>\n ';
|
|
27
|
-
if (ctx.preview) { ;
|
|
28
|
-
__p += '\n <div class="col-span-12 sm:col-span-6">\n <div class="card panel preview-panel">\n <div class="card-header">\n <div class="text-sm">' +
|
|
29
|
-
((__t = (ctx.t('Preview'))) == null ? '' : __t) +
|
|
30
|
-
'</div>\n </div>\n <div class="card-body">\n <div class="component-preview" ref="preview">\n ' +
|
|
31
|
-
((__t = (ctx.preview)) == null ? '' : __t) +
|
|
32
|
-
'\n </div>\n </div>\n </div>\n ';
|
|
33
|
-
if (ctx.componentInfo.help) { ;
|
|
34
|
-
__p += '\n <div class="card card-body bg-light formio-settings-help">\n ' +
|
|
35
|
-
((__t = ( ctx.t(ctx.componentInfo.help) )) == null ? '' : __t) +
|
|
36
|
-
'\n </div>\n ';
|
|
37
|
-
} ;
|
|
38
|
-
__p += '\n </div>\n ';
|
|
39
|
-
} ;
|
|
40
|
-
__p += '\n </div>\n </div>\n <div class="bg-white p-2 flex justify-center">\n <button class="btn btn-primary mx-2" ref="saveButton">\n ' +
|
|
41
|
-
((__t = (ctx.t('Save'))) == null ? '' : __t) +
|
|
42
|
-
'\n </button>\n <button class="btn btn-dark mx-2" ref="cancelButton">\n ' +
|
|
43
|
-
((__t = (ctx.t('Cancel'))) == null ? '' : __t) +
|
|
44
|
-
'\n </button>\n <button class="btn btn-danger mx-2" ref="removeButton">\n <i class="' +
|
|
45
|
-
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
46
|
-
' sm:mr-2"></i>\n <span class="hidden sm:inline">' +
|
|
47
|
-
((__t = (ctx.t('Remove'))) == null ? '' : __t) +
|
|
48
|
-
'</span>\n </button>\n </div>\n</div>\n\n\n';
|
|
49
|
-
return __p
|
|
50
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '';
|
|
3
|
-
__p += '<div\n class="drag-and-drop-alert alert alert-info no-drag"\n style="text-align:center;"\n role="alert"\n data-noattach="true"\n data-position="' +
|
|
4
|
-
((__t = (ctx.position)) == null ? '' : __t) +
|
|
5
|
-
'"\n>\n ' +
|
|
6
|
-
((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) +
|
|
7
|
-
'\n</div>\n';
|
|
8
|
-
return __p
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div id="' +
|
|
5
|
-
((__t = (ctx.groupId)) == null ? '' : __t) +
|
|
6
|
-
'" class="accordion builder-sidebar' +
|
|
7
|
-
((__t = (ctx.scrollEnabled ? ' builder-sidebar_scroll' : '')) == null ? '' : __t) +
|
|
8
|
-
'" ref="sidebar">\n <input class="form-control builder-sidebar_search" type="search" ref="sidebar-search" placeholder="Search field(s)" />\n <div ref="sidebar-groups">\n ';
|
|
9
|
-
ctx.groups.forEach(function(group) { ;
|
|
10
|
-
__p += '\n ' +
|
|
11
|
-
((__t = ( group )) == null ? '' : __t) +
|
|
12
|
-
'\n ';
|
|
13
|
-
}) ;
|
|
14
|
-
__p += '\n </div>\n</div>\n';
|
|
15
|
-
return __p
|
|
16
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div class="card form-builder-panel" ref="group-panel-' +
|
|
5
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
6
|
-
'">\n <div class="card-header form-builder-group-header" id="heading-' +
|
|
7
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
8
|
-
'">\n <h5 class="mb-0 mt-0">\n <button\n class="btn btn-block builder-group-button"\n type="button"\n data-toggle="collapse"\n data-target="#group-' +
|
|
9
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
10
|
-
'"\n data-parent="#' +
|
|
11
|
-
((__t = (ctx.groupId)) == null ? '' : __t) +
|
|
12
|
-
'"\n aria-expanded="' +
|
|
13
|
-
((__t = (ctx.group.default)) == null ? '' : __t) +
|
|
14
|
-
'"\n aria-controls="group-' +
|
|
15
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
16
|
-
'"\n ref="sidebar-anchor"\n >\n ' +
|
|
17
|
-
((__t = (ctx.t(ctx.group.title))) == null ? '' : __t) +
|
|
18
|
-
'\n </button>\n </h5>\n </div>\n <div\n id="group-' +
|
|
19
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
20
|
-
'"\n class="collapse ' +
|
|
21
|
-
((__t = (ctx.group.default ? ' show' : '')) == null ? '' : __t) +
|
|
22
|
-
'"\n data-parent="#' +
|
|
23
|
-
((__t = (ctx.groupId)) == null ? '' : __t) +
|
|
24
|
-
'"\n data-default="' +
|
|
25
|
-
((__t = (ctx.group.default)) == null ? '' : __t) +
|
|
26
|
-
'"\n aria-labelledby="heading-' +
|
|
27
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
28
|
-
'"\n ref="sidebar-group"\n >\n <div id="group-container-' +
|
|
29
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
30
|
-
'" class="card-body no-drop p-2" ref="sidebar-container">\n ';
|
|
31
|
-
if (ctx.group.componentOrder.length || ctx.subgroups.length) { ;
|
|
32
|
-
__p += '\n ';
|
|
33
|
-
!ctx.group.componentOrder || ctx.group.componentOrder.forEach(function(componentKey) { ;
|
|
34
|
-
__p += '\n <span\n data-group="' +
|
|
35
|
-
((__t = (ctx.groupKey)) == null ? '' : __t) +
|
|
36
|
-
'"\n data-key="' +
|
|
37
|
-
((__t = (ctx.group.components[componentKey].key)) == null ? '' : __t) +
|
|
38
|
-
'"\n data-type="' +
|
|
39
|
-
((__t = (ctx.group.components[componentKey].schema.type)) == null ? '' : __t) +
|
|
40
|
-
'"\n class="btn btn-primary btn-sm btn-block formcomponent drag-copy"\n >\n ';
|
|
41
|
-
if (ctx.group.components[componentKey].icon) { ;
|
|
42
|
-
__p += '\n <i class="' +
|
|
43
|
-
((__t = (ctx.iconClass(ctx.group.components[componentKey].icon))) == null ? '' : __t) +
|
|
44
|
-
'" style="margin-right: 5px;"></i>\n ';
|
|
45
|
-
} ;
|
|
46
|
-
__p += '\n ' +
|
|
47
|
-
((__t = (ctx.t(ctx.group.components[componentKey].title, { _userInput: true }))) == null ? '' : __t) +
|
|
48
|
-
'\n </span>\n ';
|
|
49
|
-
}) ;
|
|
50
|
-
__p += '\n ' +
|
|
51
|
-
((__t = (ctx.subgroups.join(''))) == null ? '' : __t) +
|
|
52
|
-
'\n ';
|
|
53
|
-
} else { ;
|
|
54
|
-
__p += '\n <div>' +
|
|
55
|
-
((__t = (ctx.t('No Matches Found'))) == null ? '' : __t) +
|
|
56
|
-
'</div>\n ';
|
|
57
|
-
} ;
|
|
58
|
-
__p += '\n </div>\n </div>\n</div>\n';
|
|
59
|
-
return __p
|
|
60
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div class="formio builder grid grid-cols-12 gap-4 formbuilder">\n <div class="col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents">\n ' +
|
|
5
|
-
((__t = (ctx.sidebar)) == null ? '' : __t) +
|
|
6
|
-
'\n </div>\n <div class="col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea">\n <ol class="breadcrumb bg-gray-200">\n ';
|
|
7
|
-
ctx.pages.forEach(function(page, pageIndex) { ;
|
|
8
|
-
__p += '\n <li class="text-gray-500">\n <span title="' +
|
|
9
|
-
((__t = (page.title)) == null ? '' : __t) +
|
|
10
|
-
'" class="mr-2 badge ';
|
|
11
|
-
if (pageIndex === ctx.self.page) { ;
|
|
12
|
-
__p += 'bg-primary';
|
|
13
|
-
} else { ;
|
|
14
|
-
__p += 'bg-light';
|
|
15
|
-
} ;
|
|
16
|
-
__p += ' wizard-page-label" ref="gotoPage">' +
|
|
17
|
-
((__t = (page.title)) == null ? '' : __t) +
|
|
18
|
-
'</span>\n </li>\n ';
|
|
19
|
-
}) ;
|
|
20
|
-
__p += '\n <li class="text-gray-500 pl-2">\n <span title="' +
|
|
21
|
-
((__t = (ctx.t('Create Page'))) == null ? '' : __t) +
|
|
22
|
-
'" class="mr-2 badge bg-secondary wizard-page-label" ref="addPage">\n <i class="' +
|
|
23
|
-
((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
|
|
24
|
-
' mr-1"></i> ' +
|
|
25
|
-
((__t = (ctx.t('Page'))) == null ? '' : __t) +
|
|
26
|
-
'\n </span>\n </li>\n </ol>\n <div ref="form">\n ' +
|
|
27
|
-
((__t = (ctx.form)) == null ? '' : __t) +
|
|
28
|
-
'\n </div>\n </div>\n</div>\n';
|
|
29
|
-
return __p
|
|
30
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<' +
|
|
5
|
-
((__t = (ctx.input.type)) == null ? '' : __t) +
|
|
6
|
-
'\n ref="button"\n ';
|
|
7
|
-
for (var attr in ctx.input.attr) { ;
|
|
8
|
-
__p += '\n ' +
|
|
9
|
-
((__t = (attr)) == null ? '' : __t) +
|
|
10
|
-
'="' +
|
|
11
|
-
((__t = (ctx.input.attr[attr])) == null ? '' : __t) +
|
|
12
|
-
'"\n ';
|
|
13
|
-
} ;
|
|
14
|
-
__p += '\n ';
|
|
15
|
-
if (ctx.component.description) { ;
|
|
16
|
-
__p += '\n aria-describedby="d-' +
|
|
17
|
-
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
18
|
-
'-' +
|
|
19
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
20
|
-
'"\n ';
|
|
21
|
-
} ;
|
|
22
|
-
__p += '\n>\n';
|
|
23
|
-
if (ctx.component.leftIcon) { ;
|
|
24
|
-
__p += '<span class="' +
|
|
25
|
-
((__t = (ctx.component.leftIcon)) == null ? '' : __t) +
|
|
26
|
-
'"></span> ';
|
|
27
|
-
} ;
|
|
28
|
-
__p += '\n';
|
|
29
|
-
if (ctx.input.content) { ;
|
|
30
|
-
__p += '<span>' +
|
|
31
|
-
((__t = (ctx.input.content)) == null ? '' : __t) +
|
|
32
|
-
'</span> ';
|
|
33
|
-
} ;
|
|
34
|
-
__p += '\n';
|
|
35
|
-
if (ctx.component.tooltip) { ;
|
|
36
|
-
__p += '\n <i ref="tooltip" class="' +
|
|
37
|
-
((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
|
|
38
|
-
' text-muted" data-tooltip="' +
|
|
39
|
-
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
|
|
40
|
-
'"></i>\n';
|
|
41
|
-
} ;
|
|
42
|
-
__p += '\n';
|
|
43
|
-
if (ctx.component.rightIcon) { ;
|
|
44
|
-
__p += ' <span class="' +
|
|
45
|
-
((__t = (ctx.component.rightIcon)) == null ? '' : __t) +
|
|
46
|
-
'"></span>';
|
|
47
|
-
} ;
|
|
48
|
-
__p += '\n</' +
|
|
49
|
-
((__t = (ctx.input.type)) == null ? '' : __t) +
|
|
50
|
-
'>\n<div ref="buttonMessageContainer">\n <span class="help-block" ref="buttonMessage"></span>\n</div>\n';
|
|
51
|
-
return __p
|
|
52
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div class="form-check checkbox">\n <label class="' +
|
|
5
|
-
((__t = (ctx.input.labelClass)) == null ? '' : __t) +
|
|
6
|
-
' form-check-label">\n <' +
|
|
7
|
-
((__t = (ctx.input.type)) == null ? '' : __t) +
|
|
8
|
-
'\n ref="input"\n ';
|
|
9
|
-
for (var attr in ctx.input.attr) { ;
|
|
10
|
-
__p += '\n ' +
|
|
11
|
-
((__t = (attr)) == null ? '' : __t) +
|
|
12
|
-
'="' +
|
|
13
|
-
((__t = (ctx.input.attr[attr])) == null ? '' : __t) +
|
|
14
|
-
'"\n ';
|
|
15
|
-
} ;
|
|
16
|
-
__p += '\n ';
|
|
17
|
-
if (ctx.checked) { ;
|
|
18
|
-
__p += 'checked=true';
|
|
19
|
-
} ;
|
|
20
|
-
__p += '\n aria-required="' +
|
|
21
|
-
((__t = (ctx.component.validate.required)) == null ? '' : __t) +
|
|
22
|
-
'"\n ';
|
|
23
|
-
if (ctx.component.description) { ;
|
|
24
|
-
__p += '\n aria-describedby="d-' +
|
|
25
|
-
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
26
|
-
'-' +
|
|
27
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
28
|
-
'"\n ';
|
|
29
|
-
} ;
|
|
30
|
-
__p += '\n >\n ';
|
|
31
|
-
if (!ctx.self.labelIsHidden()) { ;
|
|
32
|
-
__p += '<span>' +
|
|
33
|
-
((__t = (ctx.input.label)) == null ? '' : __t) +
|
|
34
|
-
'</span>';
|
|
35
|
-
} ;
|
|
36
|
-
__p += '\n ';
|
|
37
|
-
if (ctx.component.tooltip) { ;
|
|
38
|
-
__p += '\n <i ref="tooltip" tabindex="0" class="' +
|
|
39
|
-
((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
|
|
40
|
-
' text-muted" data-tooltip="' +
|
|
41
|
-
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
|
|
42
|
-
'"></i>\n ';
|
|
43
|
-
} ;
|
|
44
|
-
__p += '\n ' +
|
|
45
|
-
((__t = (ctx.input.content)) == null ? '' : __t) +
|
|
46
|
-
'\n </' +
|
|
47
|
-
((__t = (ctx.input.type)) == null ? '' : __t) +
|
|
48
|
-
'>\n </label>\n</div>\n';
|
|
49
|
-
return __p
|
|
50
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<label class="' +
|
|
5
|
-
((__t = (ctx.input.labelClass)) == null ? '' : __t) +
|
|
6
|
-
'">\n ' +
|
|
7
|
-
((__t = (ctx.input.content)) == null ? '' : __t) +
|
|
8
|
-
'\n ';
|
|
9
|
-
if (!ctx.self.labelIsHidden()) { ;
|
|
10
|
-
__p += '<span>' +
|
|
11
|
-
((__t = (ctx.input.label)) == null ? '' : __t) +
|
|
12
|
-
'</span>';
|
|
13
|
-
} ;
|
|
14
|
-
__p += '\n</label>\n<div ref="value">';
|
|
15
|
-
if (ctx.checked) { ;
|
|
16
|
-
__p += 'True';
|
|
17
|
-
} else { ;
|
|
18
|
-
__p += 'False';
|
|
19
|
-
} ;
|
|
20
|
-
__p += '</div>\n';
|
|
21
|
-
return __p
|
|
22
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
|
|
5
|
-
ctx.component.columns.forEach(function(column, index) { ;
|
|
6
|
-
__p += '\n<div class="\n col-' +
|
|
7
|
-
((__t = (column.size)) == null ? '' : __t) +
|
|
8
|
-
'-' +
|
|
9
|
-
((__t = (column.currentWidth || column.width)) == null ? '' : __t) +
|
|
10
|
-
'\n col-' +
|
|
11
|
-
((__t = (column.size)) == null ? '' : __t) +
|
|
12
|
-
'-offset-' +
|
|
13
|
-
((__t = (column.offset)) == null ? '' : __t) +
|
|
14
|
-
'\n col-' +
|
|
15
|
-
((__t = (column.size)) == null ? '' : __t) +
|
|
16
|
-
'-push-' +
|
|
17
|
-
((__t = (column.push)) == null ? '' : __t) +
|
|
18
|
-
'\n col-' +
|
|
19
|
-
((__t = (column.size)) == null ? '' : __t) +
|
|
20
|
-
'-pull-' +
|
|
21
|
-
((__t = (column.pull)) == null ? '' : __t) +
|
|
22
|
-
'\n " ref="' +
|
|
23
|
-
((__t = (ctx.columnKey)) == null ? '' : __t) +
|
|
24
|
-
'">\n ' +
|
|
25
|
-
((__t = (ctx.columnComponents[index])) == null ? '' : __t) +
|
|
26
|
-
'\n</div>\n';
|
|
27
|
-
}) ;
|
|
28
|
-
__p += '\n';
|
|
29
|
-
return __p
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div id="' +
|
|
5
|
-
((__t = (ctx.id)) == null ? '' : __t) +
|
|
6
|
-
'" class="' +
|
|
7
|
-
((__t = (ctx.classes)) == null ? '' : __t) +
|
|
8
|
-
'"';
|
|
9
|
-
if (ctx.styles) { ;
|
|
10
|
-
__p += ' styles="' +
|
|
11
|
-
((__t = (ctx.styles)) == null ? '' : __t) +
|
|
12
|
-
'"';
|
|
13
|
-
} ;
|
|
14
|
-
__p += ' ref="component">\n ';
|
|
15
|
-
if (ctx.visible) { ;
|
|
16
|
-
__p += '\n ' +
|
|
17
|
-
((__t = (ctx.children)) == null ? '' : __t) +
|
|
18
|
-
'\n <div ref="messageContainer" class="formio-errors invalid-feedback"></div>\n ';
|
|
19
|
-
} ;
|
|
20
|
-
__p += '\n</div>\n';
|
|
21
|
-
return __p
|
|
22
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div class="formio-component-modal-wrapper formio-component-modal-wrapper-' +
|
|
5
|
-
((__t = ( ctx.component.type )) == null ? '' : __t) +
|
|
6
|
-
'" ref="componentModalWrapper">\n <div ref="openModalWrapper"></div>\n <div class="formio-dialog formio-dialog-theme-default component-rendering-hidden" ref="modalWrapper">\n <div class="formio-dialog-overlay" ref="modalOverlay"></div>\n <div class="formio-dialog-content" aria-labelledby="ml-' +
|
|
7
|
-
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
8
|
-
'-' +
|
|
9
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
10
|
-
'" ';
|
|
11
|
-
if (!ctx.self.isIE()) { ;
|
|
12
|
-
__p += ' role="dialog" ';
|
|
13
|
-
} ;
|
|
14
|
-
__p += ' ref="modalContents">\n <label class="sr-only" id="ml-' +
|
|
15
|
-
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
16
|
-
'-' +
|
|
17
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
18
|
-
'">' +
|
|
19
|
-
((__t = ( ctx.t(ctx.component.label) )) == null ? '' : __t) +
|
|
20
|
-
'' +
|
|
21
|
-
((__t = (ctx.self.isIE() ? ', dialog' : '')) == null ? '' : __t) +
|
|
22
|
-
'</label>\n ';
|
|
23
|
-
if (ctx.options.vpat) { ;
|
|
24
|
-
__p += '\n <button class="formio-dialog-close float-right" title="Close" aria-label="Close button. Click to get back to the form" ref="modalCloseButton"></button>\n ';
|
|
25
|
-
} else { ;
|
|
26
|
-
__p += '\n <button class="formio-dialog-close float-right btn btn-secondary btn-sm" aria-label="Close button. Click to get back to the form" ref="modalClose"></button>\n ';
|
|
27
|
-
} ;
|
|
28
|
-
__p += '\n <div ref="modalContents">\n ';
|
|
29
|
-
if (ctx.visible) { ;
|
|
30
|
-
__p += '\n ' +
|
|
31
|
-
((__t = (ctx.children)) == null ? '' : __t) +
|
|
32
|
-
'\n ';
|
|
33
|
-
} ;
|
|
34
|
-
__p += '\n <div class="formio-dialog-buttons">\n ';
|
|
35
|
-
if (ctx.options.vpat) { ;
|
|
36
|
-
__p += '\n <button class="btn btn-secondary formio-dialog-button" aria-label="Cancel button. Click to cancel the changes and get back to the form." ref="modalClose">' +
|
|
37
|
-
((__t = (ctx.t('Cancel'))) == null ? '' : __t) +
|
|
38
|
-
'</button>\n ';
|
|
39
|
-
} ;
|
|
40
|
-
__p += '\n <button class="btn btn-success formio-dialog-button" ref="modalSave" aria-label="Save button. Click to save the changes and get back to the form.">' +
|
|
41
|
-
((__t = (ctx.t('Save'))) == null ? '' : __t) +
|
|
42
|
-
'</button>\n </div>\n </div>\n </div>\n <span class="sr-only" ref="modalLiveRegion" aria-live="assertive"></span>\n </div>\n</div>\n';
|
|
43
|
-
return __p
|
|
44
|
-
}
|