@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,144 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<table class="table datagrid-table table-bordered\n ' +
|
|
5
|
-
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
-
'\n ' +
|
|
7
|
-
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
8
|
-
'\n ' +
|
|
9
|
-
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
10
|
-
'\n " ';
|
|
11
|
-
if (ctx.component.layoutFixed) { ;
|
|
12
|
-
__p += 'style="table-layout: fixed;"';
|
|
13
|
-
} ;
|
|
14
|
-
__p += '>\n ';
|
|
15
|
-
if (ctx.hasHeader) { ;
|
|
16
|
-
__p += '\n <thead>\n <tr>\n ';
|
|
17
|
-
if (ctx.component.reorder) { ;
|
|
18
|
-
__p += '<th></th>';
|
|
19
|
-
} ;
|
|
20
|
-
__p += '\n ';
|
|
21
|
-
ctx.columns.forEach(function(col) { ;
|
|
22
|
-
__p += '\n <th class="' +
|
|
23
|
-
((__t = (col.validate && col.validate.required ? 'field-required' : '')) == null ? '' : __t) +
|
|
24
|
-
'">\n ' +
|
|
25
|
-
((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) +
|
|
26
|
-
'\n ';
|
|
27
|
-
if (col.tooltip) { ;
|
|
28
|
-
__p += ' <i ref="tooltip" tabindex="0" data-title="' +
|
|
29
|
-
((__t = (col.tooltip)) == null ? '' : __t) +
|
|
30
|
-
'" class="' +
|
|
31
|
-
((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
|
|
32
|
-
' text-muted" data-tooltip="' +
|
|
33
|
-
((__t = (col.tooltip)) == null ? '' : __t) +
|
|
34
|
-
'"></i>';
|
|
35
|
-
} ;
|
|
36
|
-
__p += '\n </th>\n ';
|
|
37
|
-
}) ;
|
|
38
|
-
__p += '\n ';
|
|
39
|
-
if (ctx.hasExtraColumn) { ;
|
|
40
|
-
__p += '\n <th>\n <span class="sr-only">' +
|
|
41
|
-
((__t = ( ctx.t('Add/Remove') )) == null ? '' : __t) +
|
|
42
|
-
'</span>\n ';
|
|
43
|
-
if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ;
|
|
44
|
-
__p += '\n <button class="btn btn-primary formio-button-add-row" ref="' +
|
|
45
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
46
|
-
'-addRow" tabindex="' +
|
|
47
|
-
((__t = (ctx.tabIndex)) == null ? '' : __t) +
|
|
48
|
-
'">\n <i class="' +
|
|
49
|
-
((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
|
|
50
|
-
'"></i>' +
|
|
51
|
-
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
|
|
52
|
-
'\n </button>\n ';
|
|
53
|
-
} ;
|
|
54
|
-
__p += '\n </th>\n ';
|
|
55
|
-
} ;
|
|
56
|
-
__p += '\n </tr>\n </thead>\n ';
|
|
57
|
-
} ;
|
|
58
|
-
__p += '\n <tbody ref="' +
|
|
59
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
60
|
-
'-tbody" data-key="' +
|
|
61
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
62
|
-
'">\n ';
|
|
63
|
-
ctx.rows.forEach(function(row, index) { ;
|
|
64
|
-
__p += '\n ';
|
|
65
|
-
if (ctx.hasGroups && ctx.groups[index]) { ;
|
|
66
|
-
__p += '\n <tr ref="' +
|
|
67
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
68
|
-
'-group-header" class="datagrid-group-header' +
|
|
69
|
-
((__t = (ctx.hasToggle ? ' clickable' : '')) == null ? '' : __t) +
|
|
70
|
-
'">\n <td\n ref="' +
|
|
71
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
72
|
-
'-group-label"\n colspan="' +
|
|
73
|
-
((__t = (ctx.numColumns)) == null ? '' : __t) +
|
|
74
|
-
'"\n class="datagrid-group-label">' +
|
|
75
|
-
((__t = (ctx.groups[index].label)) == null ? '' : __t) +
|
|
76
|
-
'</td>\n </tr>\n ';
|
|
77
|
-
} ;
|
|
78
|
-
__p += '\n <tr ref="' +
|
|
79
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
80
|
-
'-row">\n ';
|
|
81
|
-
if (ctx.component.reorder) { ;
|
|
82
|
-
__p += '\n <td class="align-middle">\n <button type="button" class="formio-drag-button btn btn-sm btn-light ' +
|
|
83
|
-
((__t = (ctx.iconClass('bars'))) == null ? '' : __t) +
|
|
84
|
-
'" data-key="' +
|
|
85
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
86
|
-
'"></button>\n </td>\n ';
|
|
87
|
-
} ;
|
|
88
|
-
__p += '\n ';
|
|
89
|
-
ctx.columns.forEach(function(col) { ;
|
|
90
|
-
__p += '\n <td ref="' +
|
|
91
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
92
|
-
'" ';
|
|
93
|
-
if (col.key && col.overlay && col.overlay.width) { ;
|
|
94
|
-
__p += ' style="width: ' +
|
|
95
|
-
((__t = (col.overlay.width + 'px')) == null ? '' : __t) +
|
|
96
|
-
'"';
|
|
97
|
-
} ;
|
|
98
|
-
__p += ' >\n ' +
|
|
99
|
-
((__t = (row[col.key])) == null ? '' : __t) +
|
|
100
|
-
'\n </td>\n ';
|
|
101
|
-
}) ;
|
|
102
|
-
__p += '\n ';
|
|
103
|
-
if (ctx.hasExtraColumn) { ;
|
|
104
|
-
__p += '\n ';
|
|
105
|
-
if (ctx.hasRemoveButtons) { ;
|
|
106
|
-
__p += '\n <td class="align-middle">\n <button type="button" class="btn btn-light btn-sm formio-button-remove-row" ref="' +
|
|
107
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
108
|
-
'-removeRow" tabindex="' +
|
|
109
|
-
((__t = (ctx.tabIndex)) == null ? '' : __t) +
|
|
110
|
-
'" aria-label="' +
|
|
111
|
-
((__t = (ctx.t('remove'))) == null ? '' : __t) +
|
|
112
|
-
'">\n <i class="' +
|
|
113
|
-
((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) +
|
|
114
|
-
'"></i>\n </button>\n </td>\n ';
|
|
115
|
-
} ;
|
|
116
|
-
__p += '\n ';
|
|
117
|
-
if (ctx.canAddColumn) { ;
|
|
118
|
-
__p += '\n <td ref="' +
|
|
119
|
-
((__t = (ctx.key)) == null ? '' : __t) +
|
|
120
|
-
'-container">\n ' +
|
|
121
|
-
((__t = (ctx.placeholder)) == null ? '' : __t) +
|
|
122
|
-
'\n </td>\n ';
|
|
123
|
-
} ;
|
|
124
|
-
__p += '\n ';
|
|
125
|
-
} ;
|
|
126
|
-
__p += '\n </tr>\n ';
|
|
127
|
-
}) ;
|
|
128
|
-
__p += '\n </tbody>\n ';
|
|
129
|
-
if (!ctx.builder && ctx.hasAddButton && ctx.hasBottomSubmit) { ;
|
|
130
|
-
__p += '\n <tfoot>\n <tr>\n <td colspan="' +
|
|
131
|
-
((__t = (ctx.component.layoutFixed ? ctx.numColumns : ctx.numColumns + 1)) == null ? '' : __t) +
|
|
132
|
-
'">\n <button class="btn btn-primary formio-button-add-row" ref="' +
|
|
133
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
134
|
-
'-addRow" tabindex="' +
|
|
135
|
-
((__t = (ctx.tabIndex)) == null ? '' : __t) +
|
|
136
|
-
'">\n <i class="' +
|
|
137
|
-
((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
|
|
138
|
-
' mr-1"></i> ' +
|
|
139
|
-
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
|
|
140
|
-
'\n </button>\n </td>\n </tr>\n </tfoot>\n ';
|
|
141
|
-
} ;
|
|
142
|
-
__p += '\n</table>\n';
|
|
143
|
-
return __p
|
|
144
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<table class="table datagrid-table table-bordered\n ' +
|
|
5
|
-
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
-
'\n ' +
|
|
7
|
-
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
8
|
-
'\n ' +
|
|
9
|
-
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
10
|
-
'\n ">\n ';
|
|
11
|
-
if (ctx.hasHeader) { ;
|
|
12
|
-
__p += '\n <thead>\n <tr>\n ';
|
|
13
|
-
ctx.columns.forEach(function(col) { ;
|
|
14
|
-
__p += '\n <th class="' +
|
|
15
|
-
((__t = (col.validate && col.validate.required ? 'field-required' : '')) == null ? '' : __t) +
|
|
16
|
-
'">\n ' +
|
|
17
|
-
((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) +
|
|
18
|
-
'\n ';
|
|
19
|
-
if (col.tooltip) { ;
|
|
20
|
-
__p += ' <i ref="tooltip" tabindex="0" data-title="' +
|
|
21
|
-
((__t = (col.tooltip)) == null ? '' : __t) +
|
|
22
|
-
'" class="' +
|
|
23
|
-
((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
|
|
24
|
-
' text-muted" data-tooltip="' +
|
|
25
|
-
((__t = (col.tooltip)) == null ? '' : __t) +
|
|
26
|
-
'"></i>';
|
|
27
|
-
} ;
|
|
28
|
-
__p += '\n </th>\n ';
|
|
29
|
-
}) ;
|
|
30
|
-
__p += '\n </tr>\n </thead>\n ';
|
|
31
|
-
} ;
|
|
32
|
-
__p += '\n <tbody>\n ';
|
|
33
|
-
ctx.rows.forEach(function(row) { ;
|
|
34
|
-
__p += '\n <tr>\n ';
|
|
35
|
-
ctx.columns.forEach(function(col) { ;
|
|
36
|
-
__p += '\n <td ref="' +
|
|
37
|
-
((__t = (ctx.datagridKey)) == null ? '' : __t) +
|
|
38
|
-
'">\n ' +
|
|
39
|
-
((__t = (row[col.key])) == null ? '' : __t) +
|
|
40
|
-
'\n </td>\n ';
|
|
41
|
-
}) ;
|
|
42
|
-
__p += '\n </tr>\n ';
|
|
43
|
-
}) ;
|
|
44
|
-
__p += '\n </tbody>\n</table>\n';
|
|
45
|
-
return __p
|
|
46
|
-
}
|
|
@@ -1,98 +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="grid grid-cols-12 gap-4"\n ';
|
|
5
|
-
if (ctx.component.hideLabel) { ;
|
|
6
|
-
__p += '\n aria-label="' +
|
|
7
|
-
((__t = (ctx.component.label)) == null ? '' : __t) +
|
|
8
|
-
'"\n ';
|
|
9
|
-
} else { ;
|
|
10
|
-
__p += '\n aria-labelledby="l-' +
|
|
11
|
-
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
12
|
-
'-' +
|
|
13
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
14
|
-
'"\n ';
|
|
15
|
-
} ;
|
|
16
|
-
__p += '\n ';
|
|
17
|
-
if (ctx.component.description) { ;
|
|
18
|
-
__p += '\n aria-describedby="d-' +
|
|
19
|
-
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
20
|
-
'-' +
|
|
21
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
22
|
-
'"\n ';
|
|
23
|
-
} ;
|
|
24
|
-
__p += '\n >\n ';
|
|
25
|
-
if (ctx.dayFirst && ctx.showDay) { ;
|
|
26
|
-
__p += '\n <div class="col-span-3">\n ';
|
|
27
|
-
if (!ctx.component.hideInputLabels) { ;
|
|
28
|
-
__p += '\n <label for="' +
|
|
29
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
30
|
-
'-day" class="';
|
|
31
|
-
if(ctx.component.fields.day.required) { ;
|
|
32
|
-
__p += 'field-required';
|
|
33
|
-
} ;
|
|
34
|
-
__p += '">' +
|
|
35
|
-
((__t = (ctx.t('Day'))) == null ? '' : __t) +
|
|
36
|
-
'</label>\n ';
|
|
37
|
-
} ;
|
|
38
|
-
__p += '\n <div>' +
|
|
39
|
-
((__t = (ctx.day)) == null ? '' : __t) +
|
|
40
|
-
'</div>\n </div>\n ';
|
|
41
|
-
} ;
|
|
42
|
-
__p += '\n ';
|
|
43
|
-
if (ctx.showMonth) { ;
|
|
44
|
-
__p += '\n <div class="col-span-4">\n ';
|
|
45
|
-
if (!ctx.component.hideInputLabels) { ;
|
|
46
|
-
__p += '\n <label for="' +
|
|
47
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
48
|
-
'-month" class="';
|
|
49
|
-
if(ctx.component.fields.month.required) { ;
|
|
50
|
-
__p += 'field-required';
|
|
51
|
-
} ;
|
|
52
|
-
__p += '">' +
|
|
53
|
-
((__t = (ctx.t('Month'))) == null ? '' : __t) +
|
|
54
|
-
'</label>\n ';
|
|
55
|
-
} ;
|
|
56
|
-
__p += '\n <div>' +
|
|
57
|
-
((__t = (ctx.month)) == null ? '' : __t) +
|
|
58
|
-
'</div>\n </div>\n ';
|
|
59
|
-
} ;
|
|
60
|
-
__p += '\n ';
|
|
61
|
-
if (!ctx.dayFirst && ctx.showDay) { ;
|
|
62
|
-
__p += '\n <div class="col-span-3">\n ';
|
|
63
|
-
if (!ctx.component.hideInputLabels) { ;
|
|
64
|
-
__p += '\n <label for="' +
|
|
65
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
66
|
-
'-day" class="';
|
|
67
|
-
if(ctx.component.fields.day.required) { ;
|
|
68
|
-
__p += 'field-required';
|
|
69
|
-
} ;
|
|
70
|
-
__p += '">' +
|
|
71
|
-
((__t = (ctx.t('Day'))) == null ? '' : __t) +
|
|
72
|
-
'</label>\n ';
|
|
73
|
-
} ;
|
|
74
|
-
__p += '\n <div>' +
|
|
75
|
-
((__t = (ctx.day)) == null ? '' : __t) +
|
|
76
|
-
'</div>\n </div>\n ';
|
|
77
|
-
} ;
|
|
78
|
-
__p += '\n ';
|
|
79
|
-
if (ctx.showYear) { ;
|
|
80
|
-
__p += '\n <div class="col-span-5">\n ';
|
|
81
|
-
if (!ctx.component.hideInputLabels) { ;
|
|
82
|
-
__p += '\n <label for="' +
|
|
83
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
84
|
-
'-year" class="';
|
|
85
|
-
if(ctx.component.fields.year.required) { ;
|
|
86
|
-
__p += 'field-required';
|
|
87
|
-
} ;
|
|
88
|
-
__p += '">' +
|
|
89
|
-
((__t = (ctx.t('Year'))) == null ? '' : __t) +
|
|
90
|
-
'</label>\n ';
|
|
91
|
-
} ;
|
|
92
|
-
__p += '\n <div>' +
|
|
93
|
-
((__t = (ctx.year)) == null ? '' : __t) +
|
|
94
|
-
'</div>\n </div>\n ';
|
|
95
|
-
} ;
|
|
96
|
-
__p += '\n</div>\n<input name="ctx.data[day]" type="hidden" class="form-control" lang="en" value="" ref="input">\n';
|
|
97
|
-
return __p
|
|
98
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '';
|
|
3
|
-
__p += '<div class="formio-dialog formio-dialog-theme-default component-settings">\n <div class="formio-dialog-overlay" ref="dialogOverlay"></div>\n <div class="formio-dialog-content" ref="dialogContents" role="dialog">\n <div ref="dialogContents"></div>\n <button class="formio-dialog-close float-right btn btn-secondary btn-sm" aria-label="Close modal window." ref="dialogClose"></button>\n </div>\n</div>\n';
|
|
4
|
-
return __p
|
|
5
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export default function(ctx) {
|
|
2
|
-
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
-
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<ul class="editgrid-listgroup list-group\n ' +
|
|
5
|
-
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
-
'\n ' +
|
|
7
|
-
((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
|
|
8
|
-
'\n ' +
|
|
9
|
-
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
10
|
-
'\n ' +
|
|
11
|
-
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
12
|
-
'\n ">\n ';
|
|
13
|
-
if (ctx.header) { ;
|
|
14
|
-
__p += '\n <li class="list-group-item list-group-header">\n ' +
|
|
15
|
-
((__t = (ctx.header)) == null ? '' : __t) +
|
|
16
|
-
'\n </li>\n ';
|
|
17
|
-
} ;
|
|
18
|
-
__p += '\n ';
|
|
19
|
-
ctx.rows.forEach(function(row, rowIndex) { ;
|
|
20
|
-
__p += '\n <li class="list-group-item" ref="' +
|
|
21
|
-
((__t = (ctx.ref.row)) == null ? '' : __t) +
|
|
22
|
-
'">\n ' +
|
|
23
|
-
((__t = (row)) == null ? '' : __t) +
|
|
24
|
-
'\n ';
|
|
25
|
-
if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
|
|
26
|
-
__p += '\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
|
|
27
|
-
((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
|
|
28
|
-
'">' +
|
|
29
|
-
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
|
|
30
|
-
'</button>\n ';
|
|
31
|
-
if (ctx.component.removeRow) { ;
|
|
32
|
-
__p += '\n <button class="btn btn-danger" ref="' +
|
|
33
|
-
((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
|
|
34
|
-
'">' +
|
|
35
|
-
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
|
|
36
|
-
'</button>\n ';
|
|
37
|
-
} ;
|
|
38
|
-
__p += '\n </div>\n ';
|
|
39
|
-
} ;
|
|
40
|
-
__p += '\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
|
|
41
|
-
((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
|
|
42
|
-
'\n </div>\n </div>\n </li>\n ';
|
|
43
|
-
}) ;
|
|
44
|
-
__p += '\n ';
|
|
45
|
-
if (ctx.footer) { ;
|
|
46
|
-
__p += '\n <li class="list-group-item list-group-footer">\n ' +
|
|
47
|
-
((__t = (ctx.footer)) == null ? '' : __t) +
|
|
48
|
-
'\n </li>\n ';
|
|
49
|
-
} ;
|
|
50
|
-
__p += '\n</ul>\n';
|
|
51
|
-
if (!ctx.readOnly && ctx.hasAddButton) { ;
|
|
52
|
-
__p += '\n<button class="btn btn-primary" ref="' +
|
|
53
|
-
((__t = (ctx.ref.addRow)) == null ? '' : __t) +
|
|
54
|
-
'">\n <i class="' +
|
|
55
|
-
((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
|
|
56
|
-
'"></i> ' +
|
|
57
|
-
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
|
|
58
|
-
'\n</button>\n';
|
|
59
|
-
} ;
|
|
60
|
-
__p += '\n';
|
|
61
|
-
return __p
|
|
62
|
-
}
|
|
@@ -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 += '<ul class="editgrid-listgroup list-group\n ' +
|
|
5
|
-
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
-
'\n ' +
|
|
7
|
-
((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
|
|
8
|
-
'\n ' +
|
|
9
|
-
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
10
|
-
'\n ' +
|
|
11
|
-
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
12
|
-
'\n ">\n ';
|
|
13
|
-
if (ctx.header) { ;
|
|
14
|
-
__p += '\n <li class="list-group-item list-group-header">\n ' +
|
|
15
|
-
((__t = (ctx.header)) == null ? '' : __t) +
|
|
16
|
-
'\n </li>\n ';
|
|
17
|
-
} ;
|
|
18
|
-
__p += '\n ';
|
|
19
|
-
ctx.rows.forEach(function(row, rowIndex) { ;
|
|
20
|
-
__p += '\n <li class="list-group-item" ref="' +
|
|
21
|
-
((__t = (ctx.ref.row)) == null ? '' : __t) +
|
|
22
|
-
'">\n ' +
|
|
23
|
-
((__t = (row)) == null ? '' : __t) +
|
|
24
|
-
'\n ';
|
|
25
|
-
if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
|
|
26
|
-
__p += '\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
|
|
27
|
-
((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
|
|
28
|
-
'">' +
|
|
29
|
-
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
|
|
30
|
-
'</button>\n ';
|
|
31
|
-
if (ctx.component.removeRow) { ;
|
|
32
|
-
__p += '\n <button class="btn btn-danger" ref="' +
|
|
33
|
-
((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
|
|
34
|
-
'">' +
|
|
35
|
-
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
|
|
36
|
-
'</button>\n ';
|
|
37
|
-
} ;
|
|
38
|
-
__p += '\n </div>\n ';
|
|
39
|
-
} ;
|
|
40
|
-
__p += '\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
|
|
41
|
-
((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
|
|
42
|
-
'\n </div>\n </div>\n </li>\n ';
|
|
43
|
-
}) ;
|
|
44
|
-
__p += '\n ';
|
|
45
|
-
if (ctx.footer) { ;
|
|
46
|
-
__p += '\n <li class="list-group-item list-group-footer">\n ' +
|
|
47
|
-
((__t = (ctx.footer)) == null ? '' : __t) +
|
|
48
|
-
'\n </li>\n ';
|
|
49
|
-
} ;
|
|
50
|
-
__p += '\n</ul>\n';
|
|
51
|
-
return __p
|
|
52
|
-
}
|
|
@@ -1,66 +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="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n ' +
|
|
5
|
-
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
-
'\n ' +
|
|
7
|
-
((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
|
|
8
|
-
'\n ' +
|
|
9
|
-
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
10
|
-
'\n ' +
|
|
11
|
-
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
12
|
-
'\n ">\n ';
|
|
13
|
-
if (ctx.header) { ;
|
|
14
|
-
__p += '\n <thead class="editgrid-table-head">\n ' +
|
|
15
|
-
((__t = (ctx.header)) == null ? '' : __t) +
|
|
16
|
-
'\n </thead>\n ';
|
|
17
|
-
} ;
|
|
18
|
-
__p += '\n <tbody class="editgrid-table-body">\n ';
|
|
19
|
-
ctx.rows.forEach(function(row, rowIndex) { ;
|
|
20
|
-
__p += '\n <tr ref="' +
|
|
21
|
-
((__t = (ctx.ref.row)) == null ? '' : __t) +
|
|
22
|
-
'">\n ' +
|
|
23
|
-
((__t = (row)) == null ? '' : __t) +
|
|
24
|
-
'\n ';
|
|
25
|
-
if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
|
|
26
|
-
__p += '\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
|
|
27
|
-
((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
|
|
28
|
-
'">' +
|
|
29
|
-
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
|
|
30
|
-
'</button>\n ';
|
|
31
|
-
if (ctx.component.removeRow) { ;
|
|
32
|
-
__p += '\n <button class="btn btn-danger" ref="' +
|
|
33
|
-
((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
|
|
34
|
-
'">' +
|
|
35
|
-
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
|
|
36
|
-
'</button>\n ';
|
|
37
|
-
} ;
|
|
38
|
-
__p += '\n </div>\n </td>\n ';
|
|
39
|
-
} ;
|
|
40
|
-
__p += '\n ';
|
|
41
|
-
if (ctx.errors[rowIndex]) { ;
|
|
42
|
-
__p += '\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
|
|
43
|
-
((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
|
|
44
|
-
'\n </div>\n </div>\n </td>\n ';
|
|
45
|
-
} ;
|
|
46
|
-
__p += '\n </tr>\n ';
|
|
47
|
-
}) ;
|
|
48
|
-
__p += '\n </tbody>\n ';
|
|
49
|
-
if (ctx.footer) { ;
|
|
50
|
-
__p += '\n <tfoot>\n <tr>\n ' +
|
|
51
|
-
((__t = (ctx.footer)) == null ? '' : __t) +
|
|
52
|
-
'\n </tr>\n <tfoot>\n ';
|
|
53
|
-
} ;
|
|
54
|
-
__p += '\n </table>\n </div>\n</div>\n';
|
|
55
|
-
if (!ctx.readOnly && ctx.hasAddButton) { ;
|
|
56
|
-
__p += '\n<button class="btn btn-primary" ref="' +
|
|
57
|
-
((__t = (ctx.ref.addRow)) == null ? '' : __t) +
|
|
58
|
-
'">\n <i class="' +
|
|
59
|
-
((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
|
|
60
|
-
'"></i>\n ' +
|
|
61
|
-
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
|
|
62
|
-
'\n</button>\n';
|
|
63
|
-
} ;
|
|
64
|
-
__p += '\n';
|
|
65
|
-
return __p
|
|
66
|
-
}
|
|
@@ -1,56 +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="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n ' +
|
|
5
|
-
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
-
'\n ' +
|
|
7
|
-
((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
|
|
8
|
-
'\n ' +
|
|
9
|
-
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
10
|
-
'\n ' +
|
|
11
|
-
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
12
|
-
'\n ">\n ';
|
|
13
|
-
if (ctx.header) { ;
|
|
14
|
-
__p += '\n <thead class="editgrid-table-head">\n ' +
|
|
15
|
-
((__t = (ctx.header)) == null ? '' : __t) +
|
|
16
|
-
'\n </thead>\n ';
|
|
17
|
-
} ;
|
|
18
|
-
__p += '\n <tbody class="editgrid-table-body">\n ';
|
|
19
|
-
ctx.rows.forEach(function(row, rowIndex) { ;
|
|
20
|
-
__p += '\n <tr ref="' +
|
|
21
|
-
((__t = (ctx.ref.row)) == null ? '' : __t) +
|
|
22
|
-
'">\n ' +
|
|
23
|
-
((__t = (row)) == null ? '' : __t) +
|
|
24
|
-
'\n ';
|
|
25
|
-
if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
|
|
26
|
-
__p += '\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
|
|
27
|
-
((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
|
|
28
|
-
'">' +
|
|
29
|
-
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
|
|
30
|
-
'</button>\n ';
|
|
31
|
-
if (ctx.component.removeRow) { ;
|
|
32
|
-
__p += '\n <button class="btn btn-danger" ref="' +
|
|
33
|
-
((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
|
|
34
|
-
'">' +
|
|
35
|
-
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
|
|
36
|
-
'</button>\n ';
|
|
37
|
-
} ;
|
|
38
|
-
__p += '\n </div>\n </td>\n ';
|
|
39
|
-
} ;
|
|
40
|
-
__p += '\n ';
|
|
41
|
-
if (ctx.errors[rowIndex]) { ;
|
|
42
|
-
__p += '\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
|
|
43
|
-
((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
|
|
44
|
-
'\n </div>\n </div>\n </td>\n ';
|
|
45
|
-
} ;
|
|
46
|
-
__p += '\n </tr>\n ';
|
|
47
|
-
}) ;
|
|
48
|
-
__p += '\n </tbody>\n ';
|
|
49
|
-
if (ctx.footer) { ;
|
|
50
|
-
__p += '\n <tfoot>\n <tr>\n ' +
|
|
51
|
-
((__t = (ctx.footer)) == null ? '' : __t) +
|
|
52
|
-
'\n </tr>\n <tfoot>\n ';
|
|
53
|
-
} ;
|
|
54
|
-
__p += '\n </table>\n </div>\n</div>\n';
|
|
55
|
-
return __p
|
|
56
|
-
}
|
|
@@ -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 += '<p>' +
|
|
5
|
-
((__t = (ctx.t('error'))) == null ? '' : __t) +
|
|
6
|
-
'\n ';
|
|
7
|
-
if (ctx.options.vpat) { ;
|
|
8
|
-
__p += '\n <span ref="errorTooltip" class="' +
|
|
9
|
-
((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
|
|
10
|
-
'" tabindex="0"></span>\n ';
|
|
11
|
-
} ;
|
|
12
|
-
__p += '\n</p>\n<ul>\n ';
|
|
13
|
-
ctx.errors.forEach(function(err) { ;
|
|
14
|
-
__p += '\n <li>\n <span\n data-component-key = "' +
|
|
15
|
-
((__t = (err.keyOrPath)) == null ? '' : __t) +
|
|
16
|
-
'"\n ref = "errorRef"\n tabIndex = "0"\n role="link"\n >\n ' +
|
|
17
|
-
((__t = (err.message)) == null ? '' : __t) +
|
|
18
|
-
'\n </span>\n </li>\n ';
|
|
19
|
-
}) ;
|
|
20
|
-
__p += '\n</ul>\n';
|
|
21
|
-
return __p
|
|
22
|
-
}
|
|
@@ -1,38 +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="field-wrapper\n ' +
|
|
5
|
-
((__t = (ctx.isRightPosition ? 'field-wrapper--reverse' : '')) == null ? '' : __t) +
|
|
6
|
-
'">\n ';
|
|
7
|
-
if (!ctx.label.hidden) { ;
|
|
8
|
-
__p += '\n <div class="field-label\n ' +
|
|
9
|
-
((__t = (ctx.isRightAlign ? 'field-label--right' : '')) == null ? '' : __t) +
|
|
10
|
-
'"\n style="' +
|
|
11
|
-
((__t = (ctx.labelStyles)) == null ? '' : __t) +
|
|
12
|
-
'">\n ' +
|
|
13
|
-
((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
|
|
14
|
-
'\n </div>\n ';
|
|
15
|
-
} ;
|
|
16
|
-
__p += '\n\n ';
|
|
17
|
-
if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ;
|
|
18
|
-
__p += '\n <div class="field-label\n ' +
|
|
19
|
-
((__t = (ctx.isRightAlign ? 'field-label--right' : '')) == null ? '' : __t) +
|
|
20
|
-
'"\n style="' +
|
|
21
|
-
((__t = (ctx.labelStyles)) == null ? '' : __t) +
|
|
22
|
-
'">\n <label class="' +
|
|
23
|
-
((__t = (ctx.label.className)) == null ? '' : __t) +
|
|
24
|
-
'"></label>\n </div>\n ';
|
|
25
|
-
} ;
|
|
26
|
-
__p += '\n\n <div class="field-content" style="' +
|
|
27
|
-
((__t = (ctx.contentStyles)) == null ? '' : __t) +
|
|
28
|
-
'">\n ' +
|
|
29
|
-
((__t = (ctx.element)) == null ? '' : __t) +
|
|
30
|
-
'\n </div>\n</div>\n\n';
|
|
31
|
-
if (ctx.component.description) { ;
|
|
32
|
-
__p += '\n <div class="form-text text-muted">' +
|
|
33
|
-
((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
|
|
34
|
-
'</div>\n';
|
|
35
|
-
} ;
|
|
36
|
-
__p += '\n';
|
|
37
|
-
return __p
|
|
38
|
-
}
|
|
@@ -1,36 +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.label.hidden && ctx.label.labelPosition !== 'bottom') { ;
|
|
6
|
-
__p += '\n ' +
|
|
7
|
-
((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
|
|
8
|
-
'\n';
|
|
9
|
-
} ;
|
|
10
|
-
__p += '\n\n';
|
|
11
|
-
if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ;
|
|
12
|
-
__p += '\n <label class="' +
|
|
13
|
-
((__t = (ctx.label.className)) == null ? '' : __t) +
|
|
14
|
-
'"></label>\n';
|
|
15
|
-
} ;
|
|
16
|
-
__p += '\n\n' +
|
|
17
|
-
((__t = (ctx.element)) == null ? '' : __t) +
|
|
18
|
-
'\n\n';
|
|
19
|
-
if (!ctx.label.hidden && ctx.label.labelPosition === 'bottom') { ;
|
|
20
|
-
__p += '\n ' +
|
|
21
|
-
((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
|
|
22
|
-
'\n';
|
|
23
|
-
} ;
|
|
24
|
-
__p += '\n';
|
|
25
|
-
if (ctx.component.description) { ;
|
|
26
|
-
__p += '\n <div id="d-' +
|
|
27
|
-
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
28
|
-
'-' +
|
|
29
|
-
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
30
|
-
'" class="form-text text-muted">' +
|
|
31
|
-
((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
|
|
32
|
-
'</div>\n';
|
|
33
|
-
} ;
|
|
34
|
-
__p += '\n';
|
|
35
|
-
return __p
|
|
36
|
-
}
|
|
@@ -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 += '<fieldset>\n ';
|
|
5
|
-
if (ctx.component.legend) { ;
|
|
6
|
-
__p += '\n <legend ref="header" class="' +
|
|
7
|
-
((__t = (ctx.component.collapsible ? 'formio-clickable' : '')) == null ? '' : __t) +
|
|
8
|
-
'">\n ' +
|
|
9
|
-
((__t = (ctx.t(ctx.component.legend, { _userInput: true }))) == null ? '' : __t) +
|
|
10
|
-
'\n ';
|
|
11
|
-
if (ctx.component.tooltip) { ;
|
|
12
|
-
__p += '\n <i ref="tooltip" tabindex="0" class="' +
|
|
13
|
-
((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
|
|
14
|
-
' text-muted" data-tooltip="' +
|
|
15
|
-
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
|
|
16
|
-
'"></i>\n ';
|
|
17
|
-
} ;
|
|
18
|
-
__p += '\n </legend>\n ';
|
|
19
|
-
} ;
|
|
20
|
-
__p += '\n ';
|
|
21
|
-
if (!ctx.collapsed) { ;
|
|
22
|
-
__p += '\n <div class="fieldset-body" ref="' +
|
|
23
|
-
((__t = (ctx.nestedKey)) == null ? '' : __t) +
|
|
24
|
-
'">\n ' +
|
|
25
|
-
((__t = (ctx.children)) == null ? '' : __t) +
|
|
26
|
-
'\n </div>\n ';
|
|
27
|
-
} ;
|
|
28
|
-
__p += '\n</fieldset>\n\n';
|
|
29
|
-
return __p
|
|
30
|
-
}
|