@tsed/tailwind-formio 2.3.2 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/config.1e3fca3e.json +1 -0
- package/build/css/app.a4ea028b.css +3 -0
- package/build/js/app.5db1c92a.js +2 -0
- package/build/js/app.5db1c92a.js.map +1 -0
- package/build/js/chunk-vendors.6cab5322.js +8 -0
- package/build/js/chunk-vendors.6cab5322.js.map +1 -0
- package/build/tailwind.html +3 -0
- package/dist/ejs.d.js +2 -0
- package/dist/ejs.d.js.map +1 -0
- package/dist/index.d.ts +222 -222
- package/dist/index.js +6 -2018
- package/dist/index.js.map +1 -1
- package/dist/tailwind/colors.d.ts +328 -0
- package/dist/tailwind/colors.js +15 -0
- package/dist/tailwind/colors.js.map +1 -0
- package/dist/tailwind/preset.d.ts +158 -0
- package/dist/tailwind/preset.js +173 -0
- package/dist/tailwind/preset.js.map +1 -0
- package/dist/templates/index.d.ts +219 -219
- package/dist/templates/index.js +8 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/templates/tailwind/address/index.d.ts +4 -5
- package/dist/templates/tailwind/address/index.js +55 -0
- package/dist/templates/tailwind/address/index.js.map +1 -0
- package/dist/templates/tailwind/alert/index.d.ts +4 -5
- package/dist/templates/tailwind/alert/index.js +22 -0
- package/dist/templates/tailwind/alert/index.js.map +1 -0
- package/dist/templates/tailwind/builder/index.d.ts +4 -5
- package/dist/templates/tailwind/builder/index.js +17 -0
- package/dist/templates/tailwind/builder/index.js.map +1 -0
- package/dist/templates/tailwind/builderComponent/index.d.ts +4 -5
- package/dist/templates/tailwind/builderComponent/index.js +70 -0
- package/dist/templates/tailwind/builderComponent/index.js.map +1 -0
- package/dist/templates/tailwind/builderComponents/index.d.ts +4 -5
- package/dist/templates/tailwind/builderComponents/index.js +12 -0
- package/dist/templates/tailwind/builderComponents/index.js.map +1 -0
- package/dist/templates/tailwind/builderEditForm/index.d.ts +4 -5
- package/dist/templates/tailwind/builderEditForm/index.js +73 -0
- package/dist/templates/tailwind/builderEditForm/index.js.map +1 -0
- package/dist/templates/tailwind/builderPlaceholder/index.d.ts +4 -5
- package/dist/templates/tailwind/builderPlaceholder/index.js +18 -0
- package/dist/templates/tailwind/builderPlaceholder/index.js.map +1 -0
- package/dist/templates/tailwind/builderSidebar/index.d.ts +4 -5
- package/dist/templates/tailwind/builderSidebar/index.js +19 -0
- package/dist/templates/tailwind/builderSidebar/index.js.map +1 -0
- package/dist/templates/tailwind/builderSidebarGroup/index.d.ts +4 -5
- package/dist/templates/tailwind/builderSidebarGroup/index.js +58 -0
- package/dist/templates/tailwind/builderSidebarGroup/index.js.map +1 -0
- package/dist/templates/tailwind/builderWizard/index.d.ts +4 -5
- package/dist/templates/tailwind/builderWizard/index.js +33 -0
- package/dist/templates/tailwind/builderWizard/index.js.map +1 -0
- package/dist/templates/tailwind/button/index.d.ts +5 -7
- package/dist/templates/tailwind/button/index.js +36 -0
- package/dist/templates/tailwind/button/index.js.map +1 -0
- package/dist/templates/tailwind/checkbox/index.d.ts +5 -7
- package/dist/templates/tailwind/checkbox/index.js +42 -0
- package/dist/templates/tailwind/checkbox/index.js.map +1 -0
- package/dist/templates/tailwind/columns/index.d.ts +4 -5
- package/dist/templates/tailwind/columns/index.js +21 -0
- package/dist/templates/tailwind/columns/index.js.map +1 -0
- package/dist/templates/tailwind/component/index.d.ts +4 -5
- package/dist/templates/tailwind/component/index.js +15 -0
- package/dist/templates/tailwind/component/index.js.map +1 -0
- package/dist/templates/tailwind/componentModal/index.d.ts +4 -5
- package/dist/templates/tailwind/componentModal/index.js +35 -0
- package/dist/templates/tailwind/componentModal/index.js.map +1 -0
- package/dist/templates/tailwind/components/index.d.ts +4 -5
- package/dist/templates/tailwind/components/index.js +10 -0
- package/dist/templates/tailwind/components/index.js.map +1 -0
- package/dist/templates/tailwind/container/index.d.ts +4 -5
- package/dist/templates/tailwind/container/index.js +12 -0
- package/dist/templates/tailwind/container/index.js.map +1 -0
- package/dist/templates/tailwind/cssClasses.d.ts +7 -7
- package/dist/templates/tailwind/cssClasses.js +10 -0
- package/dist/templates/tailwind/cssClasses.js.map +1 -0
- package/dist/templates/tailwind/datagrid/index.d.ts +5 -7
- package/dist/templates/tailwind/datagrid/index.js +132 -0
- package/dist/templates/tailwind/datagrid/index.js.map +1 -0
- package/dist/templates/tailwind/day/index.d.ts +4 -5
- package/dist/templates/tailwind/day/index.js +53 -0
- package/dist/templates/tailwind/day/index.js.map +1 -0
- package/dist/templates/tailwind/dialog/index.d.ts +4 -5
- package/dist/templates/tailwind/dialog/index.js +16 -0
- package/dist/templates/tailwind/dialog/index.js.map +1 -0
- package/dist/templates/tailwind/editgrid/index.d.ts +5 -7
- package/dist/templates/tailwind/editgrid/index.js +92 -0
- package/dist/templates/tailwind/editgrid/index.js.map +1 -0
- package/dist/templates/tailwind/editgridTable/index.d.ts +5 -7
- package/dist/templates/tailwind/editgridTable/index.js +121 -0
- package/dist/templates/tailwind/editgridTable/index.js.map +1 -0
- package/dist/templates/tailwind/errorsList/index.d.ts +4 -5
- package/dist/templates/tailwind/errorsList/index.js +30 -0
- package/dist/templates/tailwind/errorsList/index.js.map +1 -0
- package/dist/templates/tailwind/field/index.d.ts +5 -7
- package/dist/templates/tailwind/field/index.js +55 -0
- package/dist/templates/tailwind/field/index.js.map +1 -0
- package/dist/templates/tailwind/fieldset/index.d.ts +4 -5
- package/dist/templates/tailwind/fieldset/index.js +25 -0
- package/dist/templates/tailwind/fieldset/index.js.map +1 -0
- package/dist/templates/tailwind/file/index.d.ts +4 -5
- package/dist/templates/tailwind/file/index.js +158 -0
- package/dist/templates/tailwind/file/index.js.map +1 -0
- package/dist/templates/tailwind/html/index.d.ts +4 -5
- package/dist/templates/tailwind/html/index.js +16 -0
- package/dist/templates/tailwind/html/index.js.map +1 -0
- package/dist/templates/tailwind/icon/index.d.ts +4 -5
- package/dist/templates/tailwind/icon/index.js +10 -0
- package/dist/templates/tailwind/icon/index.js.map +1 -0
- package/dist/templates/tailwind/iconClass.d.ts +3 -3
- package/dist/templates/tailwind/iconClass.js +57 -0
- package/dist/templates/tailwind/iconClass.js.map +1 -0
- package/dist/templates/tailwind/index.d.ts +217 -217
- package/dist/templates/tailwind/index.js +145 -0
- package/dist/templates/tailwind/index.js.map +1 -0
- package/dist/templates/tailwind/input/index.d.ts +5 -7
- package/dist/templates/tailwind/input/index.js +78 -0
- package/dist/templates/tailwind/input/index.js.map +1 -0
- package/dist/templates/tailwind/label/index.d.ts +4 -5
- package/dist/templates/tailwind/label/index.js +23 -0
- package/dist/templates/tailwind/label/index.js.map +1 -0
- package/dist/templates/tailwind/loader/index.d.ts +4 -5
- package/dist/templates/tailwind/loader/index.js +14 -0
- package/dist/templates/tailwind/loader/index.js.map +1 -0
- package/dist/templates/tailwind/loading/index.d.ts +4 -5
- package/dist/templates/tailwind/loading/index.js +10 -0
- package/dist/templates/tailwind/loading/index.js.map +1 -0
- package/dist/templates/tailwind/map/index.d.ts +4 -5
- package/dist/templates/tailwind/map/index.js +10 -0
- package/dist/templates/tailwind/map/index.js.map +1 -0
- package/dist/templates/tailwind/message/index.d.ts +4 -5
- package/dist/templates/tailwind/message/index.js +10 -0
- package/dist/templates/tailwind/message/index.js.map +1 -0
- package/dist/templates/tailwind/modalPreview/index.d.ts +4 -5
- package/dist/templates/tailwind/modalPreview/index.js +24 -0
- package/dist/templates/tailwind/modalPreview/index.js.map +1 -0
- package/dist/templates/tailwind/modaldialog/index.d.ts +4 -5
- package/dist/templates/tailwind/modaldialog/index.js +22 -0
- package/dist/templates/tailwind/modaldialog/index.js.map +1 -0
- package/dist/templates/tailwind/modaledit/index.d.ts +4 -5
- package/dist/templates/tailwind/modaledit/index.js +19 -0
- package/dist/templates/tailwind/modaledit/index.js.map +1 -0
- package/dist/templates/tailwind/multiValueRow/index.d.ts +4 -5
- package/dist/templates/tailwind/multiValueRow/index.js +21 -0
- package/dist/templates/tailwind/multiValueRow/index.js.map +1 -0
- package/dist/templates/tailwind/multiValueTable/index.d.ts +4 -5
- package/dist/templates/tailwind/multiValueTable/index.js +21 -0
- package/dist/templates/tailwind/multiValueTable/index.js.map +1 -0
- package/dist/templates/tailwind/multipleMasksInput/index.d.ts +4 -5
- package/dist/templates/tailwind/multipleMasksInput/index.js +34 -0
- package/dist/templates/tailwind/multipleMasksInput/index.js.map +1 -0
- package/dist/templates/tailwind/panel/index.d.ts +4 -5
- package/dist/templates/tailwind/panel/index.js +39 -0
- package/dist/templates/tailwind/panel/index.js.map +1 -0
- package/dist/templates/tailwind/pdf/index.d.ts +4 -5
- package/dist/templates/tailwind/pdf/index.js +19 -0
- package/dist/templates/tailwind/pdf/index.js.map +1 -0
- package/dist/templates/tailwind/pdfBuilder/index.d.ts +4 -5
- package/dist/templates/tailwind/pdfBuilder/index.js +18 -0
- package/dist/templates/tailwind/pdfBuilder/index.js.map +1 -0
- package/dist/templates/tailwind/pdfBuilderUpload/index.d.ts +4 -5
- package/dist/templates/tailwind/pdfBuilderUpload/index.js +25 -0
- package/dist/templates/tailwind/pdfBuilderUpload/index.js.map +1 -0
- package/dist/templates/tailwind/radio/index.d.ts +5 -7
- package/dist/templates/tailwind/radio/index.js +66 -0
- package/dist/templates/tailwind/radio/index.js.map +1 -0
- package/dist/templates/tailwind/resourceAdd/index.d.ts +4 -5
- package/dist/templates/tailwind/resourceAdd/index.js +26 -0
- package/dist/templates/tailwind/resourceAdd/index.js.map +1 -0
- package/dist/templates/tailwind/select/index.d.ts +5 -7
- package/dist/templates/tailwind/select/index.js +40 -0
- package/dist/templates/tailwind/select/index.js.map +1 -0
- package/dist/templates/tailwind/selectOption/index.d.ts +5 -7
- package/dist/templates/tailwind/selectOption/index.js +25 -0
- package/dist/templates/tailwind/selectOption/index.js.map +1 -0
- package/dist/templates/tailwind/signature/index.d.ts +5 -7
- package/dist/templates/tailwind/signature/index.js +37 -0
- package/dist/templates/tailwind/signature/index.js.map +1 -0
- package/dist/templates/tailwind/survey/index.d.ts +5 -7
- package/dist/templates/tailwind/survey/index.js +71 -0
- package/dist/templates/tailwind/survey/index.js.map +1 -0
- package/dist/templates/tailwind/tab/index.d.ts +5 -7
- package/dist/templates/tailwind/tab/index.js +60 -0
- package/dist/templates/tailwind/tab/index.js.map +1 -0
- package/dist/templates/tailwind/table/index.d.ts +4 -5
- package/dist/templates/tailwind/table/index.js +41 -0
- package/dist/templates/tailwind/table/index.js.map +1 -0
- package/dist/templates/tailwind/tableComponents/index.d.ts +4 -5
- package/dist/templates/tailwind/tableComponents/index.js +16 -0
- package/dist/templates/tailwind/tableComponents/index.js.map +1 -0
- package/dist/templates/tailwind/tree/index.d.ts +4 -5
- package/dist/templates/tailwind/tree/index.js +29 -0
- package/dist/templates/tailwind/tree/index.js.map +1 -0
- package/dist/templates/tailwind/tree/partials/index.d.ts +9 -11
- package/dist/templates/tailwind/tree/partials/index.js +53 -0
- package/dist/templates/tailwind/tree/partials/index.js.map +1 -0
- package/dist/templates/tailwind/webform/index.d.ts +5 -7
- package/dist/templates/tailwind/webform/index.js +15 -0
- package/dist/templates/tailwind/webform/index.js.map +1 -0
- package/dist/templates/tailwind/well/index.d.ts +4 -5
- package/dist/templates/tailwind/well/index.js +14 -0
- package/dist/templates/tailwind/well/index.js.map +1 -0
- package/dist/templates/tailwind/wizard/index.d.ts +5 -7
- package/dist/templates/tailwind/wizard/index.js +44 -0
- package/dist/templates/tailwind/wizard/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeader/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeader/index.js +25 -0
- package/dist/templates/tailwind/wizardHeader/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeaderClassic/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeaderClassic/index.js +27 -0
- package/dist/templates/tailwind/wizardHeaderClassic/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeaderVertical/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeaderVertical/index.js +25 -0
- package/dist/templates/tailwind/wizardHeaderVertical/index.js.map +1 -0
- package/dist/templates/tailwind/wizardNav/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardNav/index.js +39 -0
- package/dist/templates/tailwind/wizardNav/index.js.map +1 -0
- package/package.json +34 -17
- package/readme.md +9 -125
- package/src/tailwind/colors.ts +20 -0
- package/src/tailwind/preset.ts +163 -0
- package/src/templates/stories/alert.stories.jsx +1 -1
- package/src/templates/stories/badge.stories.jsx +1 -1
- package/src/templates/stories/breadcrumbs.stories.jsx +5 -1
- package/src/templates/stories/pagination.stories.jsx +6 -1
- package/src/templates/tailwind/address/index.ts +1 -1
- package/src/templates/tailwind/alert/index.ts +3 -0
- package/src/templates/tailwind/builder/index.ts +1 -1
- package/src/templates/tailwind/builderComponent/index.ts +1 -1
- package/src/templates/tailwind/builderComponents/index.ts +1 -1
- package/src/templates/tailwind/builderEditForm/form.ejs +4 -2
- package/src/templates/tailwind/builderEditForm/index.ts +1 -1
- package/src/templates/tailwind/builderPlaceholder/index.ts +1 -1
- package/src/templates/tailwind/builderSidebar/index.ts +1 -1
- package/src/templates/tailwind/builderSidebarGroup/form.ejs +1 -1
- package/src/templates/tailwind/builderSidebarGroup/index.ts +1 -1
- package/src/templates/tailwind/builderWizard/index.ts +1 -1
- package/src/templates/tailwind/button/button.stories.jsx +2 -2
- package/src/templates/tailwind/button/index.ts +2 -2
- package/src/templates/tailwind/checkbox/index.ts +2 -2
- package/src/templates/tailwind/columns/index.ts +1 -1
- package/src/templates/tailwind/component/index.ts +1 -1
- package/src/templates/tailwind/componentModal/index.ts +1 -1
- package/src/templates/tailwind/components/index.ts +1 -1
- package/src/templates/tailwind/container/index.ts +1 -1
- package/src/templates/tailwind/datagrid/index.ts +2 -2
- package/src/templates/tailwind/day/index.ts +1 -1
- package/src/templates/tailwind/dialog/index.ts +1 -1
- package/src/templates/tailwind/editgrid/index.ts +2 -2
- package/src/templates/tailwind/editgridTable/index.ts +2 -2
- package/src/templates/tailwind/errorsList/index.ts +1 -1
- package/src/templates/tailwind/field/index.ts +2 -2
- package/src/templates/tailwind/fieldset/index.ts +1 -1
- package/src/templates/tailwind/file/index.ts +1 -1
- package/src/templates/tailwind/html/index.ts +1 -1
- package/src/templates/tailwind/icon/index.ts +1 -1
- package/src/templates/tailwind/index.ts +0 -1
- package/src/templates/tailwind/input/index.ts +2 -2
- package/src/templates/tailwind/label/index.ts +1 -1
- package/src/templates/tailwind/loader/index.ts +1 -1
- package/src/templates/tailwind/loading/index.ts +1 -1
- package/src/templates/tailwind/map/index.ts +1 -1
- package/src/templates/tailwind/message/index.ts +1 -1
- package/src/templates/tailwind/modalPreview/index.ts +1 -1
- package/src/templates/tailwind/modaldialog/index.ts +1 -1
- package/src/templates/tailwind/modaledit/index.ts +1 -1
- package/src/templates/tailwind/multiValueRow/index.ts +1 -1
- package/src/templates/tailwind/multiValueTable/index.ts +1 -1
- package/src/templates/tailwind/multipleMasksInput/index.ts +1 -1
- package/src/templates/tailwind/panel/index.ts +1 -1
- package/src/templates/tailwind/pdf/index.ts +1 -1
- package/src/templates/tailwind/pdfBuilder/index.ts +1 -1
- package/src/templates/tailwind/pdfBuilderUpload/index.ts +1 -1
- package/src/templates/tailwind/radio/index.ts +2 -2
- package/src/templates/tailwind/resourceAdd/index.ts +1 -1
- package/src/templates/tailwind/select/index.ts +2 -2
- package/src/templates/tailwind/selectOption/index.ts +2 -2
- package/src/templates/tailwind/signature/index.ts +2 -2
- package/src/templates/tailwind/survey/index.ts +2 -2
- package/src/templates/tailwind/tab/index.ts +2 -2
- package/src/templates/tailwind/table/index.ts +1 -1
- package/src/templates/tailwind/tableComponents/index.ts +1 -1
- package/src/templates/tailwind/tree/index.ts +1 -1
- package/src/templates/tailwind/tree/partials/index.ts +2 -2
- package/src/templates/tailwind/webform/index.ts +2 -2
- package/src/templates/tailwind/well/index.ts +1 -1
- package/src/templates/tailwind/wizard/index.ts +2 -2
- package/src/templates/tailwind/wizardHeader/index.ts +1 -1
- package/src/templates/tailwind/wizardHeaderClassic/index.ts +1 -1
- package/src/templates/tailwind/wizardHeaderVertical/index.ts +1 -1
- package/src/templates/tailwind/wizardNav/index.ts +1 -1
- package/styles/modal.css +1 -0
- package/tsconfig.app.json +11 -0
- package/tsconfig.json +5 -6
- package/vite.config.mts +85 -0
- package/.eslintignore +0 -14
- package/.eslintrc.js +0 -7
- package/dist/index.modern.js +0 -2021
- package/dist/index.modern.js.map +0 -1
- package/dist/templates/stories/alert.stories.d.ts +0 -17
- package/dist/templates/stories/badge.stories.d.ts +0 -17
- package/dist/templates/stories/breadcrumbs.stories.d.ts +0 -37
- package/dist/templates/stories/builder.stories.d.ts +0 -3057
- package/dist/templates/stories/pagination.stories.d.ts +0 -17
- package/dist/templates/stories/progress.stories.d.ts +0 -22
- package/dist/templates/stories/wizard.stories.d.ts +0 -3057
- package/dist/templates/tailwind/address/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/address/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/alert/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderComponent/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderComponents/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderEditForm/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderPlaceholder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderSidebar/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderSidebarGroup/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderWizard/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/button/button.stories.d.ts +0 -22
- package/dist/templates/tailwind/button/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/button/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/checkbox/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/checkbox/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/columns/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/component/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/componentModal/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/components/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/container/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/datagrid/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/datagrid/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/day/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/dialog/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgrid/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgrid/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgridTable/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgridTable/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/errorsList/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/field/align.ejs.d.ts +0 -1
- package/dist/templates/tailwind/field/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/fieldset/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/file/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/html/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/icon/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/input/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/input/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/label/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/loader/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/loading/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/map/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/message/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modalPreview/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modaldialog/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modaledit/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multiValueRow/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multiValueTable/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multipleMasksInput/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/panel/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdf/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdfBuilder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdfBuilderUpload/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/radio/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/radio/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/resourceAdd/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/select/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/select/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/selectOption/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/selectOption/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/signature/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/signature/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/survey/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/survey/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tab/flat.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tab/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/table/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tableComponents/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/partials/edit.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/partials/view.ejs.d.ts +0 -1
- package/dist/templates/tailwind/webform/builder.ejs.d.ts +0 -1
- package/dist/templates/tailwind/webform/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/well/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizard/builder.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizard/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeader/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeaderClassic/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeaderVertical/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardNav/form.ejs.d.ts +0 -1
- package/gulpfile.js +0 -25
- package/src/templates/tailwind/address/form.ejs.js +0 -58
- package/src/templates/tailwind/address/html.ejs.js +0 -13
- package/src/templates/tailwind/alert/form.ejs.js +0 -24
- package/src/templates/tailwind/alert/index.js +0 -3
- package/src/templates/tailwind/builder/form.ejs.js +0 -9
- package/src/templates/tailwind/builderComponent/form.ejs.js +0 -24
- package/src/templates/tailwind/builderComponents/form.ejs.js +0 -11
- package/src/templates/tailwind/builderEditForm/form.ejs.js +0 -50
- package/src/templates/tailwind/builderPlaceholder/form.ejs.js +0 -9
- package/src/templates/tailwind/builderSidebar/form.ejs.js +0 -16
- package/src/templates/tailwind/builderSidebarGroup/form.ejs.js +0 -60
- package/src/templates/tailwind/builderWizard/form.ejs.js +0 -30
- package/src/templates/tailwind/button/form.ejs.js +0 -52
- package/src/templates/tailwind/button/html.ejs.js +0 -5
- package/src/templates/tailwind/checkbox/form.ejs.js +0 -50
- package/src/templates/tailwind/checkbox/html.ejs.js +0 -22
- package/src/templates/tailwind/columns/form.ejs.js +0 -30
- package/src/templates/tailwind/component/form.ejs.js +0 -22
- package/src/templates/tailwind/componentModal/form.ejs.js +0 -44
- package/src/templates/tailwind/components/form.ejs.js +0 -7
- package/src/templates/tailwind/container/form.ejs.js +0 -9
- package/src/templates/tailwind/datagrid/form.ejs.js +0 -144
- package/src/templates/tailwind/datagrid/html.ejs.js +0 -46
- package/src/templates/tailwind/day/form.ejs.js +0 -98
- package/src/templates/tailwind/dialog/form.ejs.js +0 -5
- package/src/templates/tailwind/editgrid/form.ejs.js +0 -62
- package/src/templates/tailwind/editgrid/html.ejs.js +0 -52
- package/src/templates/tailwind/editgridTable/form.ejs.js +0 -66
- package/src/templates/tailwind/editgridTable/html.ejs.js +0 -56
- package/src/templates/tailwind/errorsList/form.ejs.js +0 -22
- package/src/templates/tailwind/field/align.ejs.js +0 -38
- package/src/templates/tailwind/field/form.ejs.js +0 -36
- package/src/templates/tailwind/fieldset/form.ejs.js +0 -30
- package/src/templates/tailwind/file/form.ejs.js +0 -224
- package/src/templates/tailwind/html/form.ejs.js +0 -25
- package/src/templates/tailwind/icon/form.ejs.js +0 -13
- package/src/templates/tailwind/input/form.ejs.js +0 -108
- package/src/templates/tailwind/input/html.ejs.js +0 -13
- package/src/templates/tailwind/label/form.ejs.js +0 -32
- package/src/templates/tailwind/loader/form.ejs.js +0 -5
- package/src/templates/tailwind/loading/form.ejs.js +0 -7
- package/src/templates/tailwind/map/form.ejs.js +0 -7
- package/src/templates/tailwind/message/form.ejs.js +0 -13
- package/src/templates/tailwind/modalPreview/form.ejs.js +0 -21
- package/src/templates/tailwind/modaldialog/form.ejs.js +0 -7
- package/src/templates/tailwind/modaledit/form.ejs.js +0 -9
- package/src/templates/tailwind/multiValueRow/form.ejs.js +0 -14
- package/src/templates/tailwind/multiValueTable/form.ejs.js +0 -16
- package/src/templates/tailwind/multipleMasksInput/form.ejs.js +0 -30
- package/src/templates/tailwind/panel/form.ejs.js +0 -58
- package/src/templates/tailwind/pdf/form.ejs.js +0 -13
- package/src/templates/tailwind/pdfBuilder/form.ejs.js +0 -9
- package/src/templates/tailwind/pdfBuilderUpload/form.ejs.js +0 -13
- package/src/templates/tailwind/radio/form.ejs.js +0 -84
- package/src/templates/tailwind/radio/html.ejs.js +0 -10
- package/src/templates/tailwind/resourceAdd/form.ejs.js +0 -11
- package/src/templates/tailwind/select/form.ejs.js +0 -46
- package/src/templates/tailwind/select/html.ejs.js +0 -13
- package/src/templates/tailwind/selectOption/form.ejs.js +0 -20
- package/src/templates/tailwind/selectOption/html.ejs.js +0 -11
- package/src/templates/tailwind/signature/form.ejs.js +0 -30
- package/src/templates/tailwind/signature/html.ejs.js +0 -5
- package/src/templates/tailwind/survey/form.ejs.js +0 -52
- package/src/templates/tailwind/survey/html.ejs.js +0 -22
- package/src/templates/tailwind/tab/flat.ejs.js +0 -16
- package/src/templates/tailwind/tab/form.ejs.js +0 -38
- package/src/templates/tailwind/table/form.ejs.js +0 -48
- package/src/templates/tailwind/tableComponents/form.ejs.js +0 -12
- package/src/templates/tailwind/tree/form.ejs.js +0 -32
- package/src/templates/tailwind/tree/partials/edit.ejs.js +0 -16
- package/src/templates/tailwind/tree/partials/view.ejs.js +0 -34
- package/src/templates/tailwind/webform/builder.ejs.js +0 -7
- package/src/templates/tailwind/webform/form.ejs.js +0 -9
- package/src/templates/tailwind/well/form.ejs.js +0 -9
- package/src/templates/tailwind/wizard/builder.ejs.js +0 -7
- package/src/templates/tailwind/wizard/form.ejs.js +0 -42
- package/src/templates/tailwind/wizardHeader/form.ejs.js +0 -32
- package/src/templates/tailwind/wizardHeaderClassic/form.ejs.js +0 -26
- package/src/templates/tailwind/wizardHeaderVertical/form.ejs.js +0 -28
- package/src/templates/tailwind/wizardNav/form.ejs.js +0 -64
- package/tsconfig.node.json +0 -8
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
function r(n) {
|
|
2
|
+
var o, s = "";
|
|
3
|
+
return s += `<div class="formio builder grid grid-cols-12 gap-4 formbuilder">
|
|
4
|
+
<div class="col-span-12 xs:col-span-4 sm:col-span-3 md:col-span-2 formcomponents">
|
|
5
|
+
` + ((o = n.sidebar) == null ? "" : o) + `
|
|
6
|
+
</div>
|
|
7
|
+
<div class="col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea" ref="form">
|
|
8
|
+
<div class="formio-drop-zone" ref="iframeDropzone"></div>
|
|
9
|
+
` + ((o = n.form) == null ? "" : o) + `
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
`, s;
|
|
13
|
+
}
|
|
14
|
+
const l = { form: r };
|
|
15
|
+
export {
|
|
16
|
+
l as default
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdfBuilder/form.ejs","../../../../src/templates/tailwind/pdfBuilder/index.ts"],"sourcesContent":["<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 {{ctx.sidebar}}\n </div>\n <div class=\"col-span-12 xs:col-span-8 sm:col-span-9 md:col-span-10 formarea\" ref=\"form\">\n\t <div class=\"formio-drop-zone\" ref=\"iframeDropzone\"></div>\n {{ctx.form}}\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdfBuilder"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA;AAAA,UACEA,IAAOD,EAAI,SAAU,OAAO,KAAKC,KACnC;AAAA;AAAA;AAAA,GACOC;AACP;ACNA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function l(r) {
|
|
2
|
+
var e, a = "";
|
|
3
|
+
return a += `<div class="pdf-upload formio-component-file">
|
|
4
|
+
<h3 class="label">` + ((e = r.t("Upload a PDF File")) == null ? "" : e) + `</h3>
|
|
5
|
+
<input type="file" style="opacity: 0; position: absolute;" tabindex="-1" accept=".pdf" ref="hiddenFileInputElement">
|
|
6
|
+
<div class="fileSelector" ref="fileDrop">
|
|
7
|
+
<span ref="dragDropText">
|
|
8
|
+
<i class="` + ((e = r.iconClass("cloud-upload")) == null ? "" : e) + '"></i>' + ((e = r.t("Drop pdf to start, or")) == null ? "" : e) + ' <a href="#" ref="fileBrowse" class="browse">' + ((e = r.t("browse")) == null ? "" : e) + `</a>
|
|
9
|
+
</span>
|
|
10
|
+
<div class="progress pdf-progress" ref="uploadProgressWrapper" style="display:none;">
|
|
11
|
+
<div class="progress-bar" ref="uploadProgress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="alert alert-danger" ref="uploadError">
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
`, a;
|
|
20
|
+
}
|
|
21
|
+
const s = { form: l };
|
|
22
|
+
export {
|
|
23
|
+
s as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/pdfBuilderUpload/form.ejs","../../../../src/templates/tailwind/pdfBuilderUpload/index.ts"],"sourcesContent":["<div class=\"pdf-upload formio-component-file\">\n <h3 class=\"label\">{{ctx.t('Upload a PDF File')}}</h3>\n <input type=\"file\" style=\"opacity: 0; position: absolute;\" tabindex=\"-1\" accept=\".pdf\" ref=\"hiddenFileInputElement\">\n <div class=\"fileSelector\" ref=\"fileDrop\">\n <span ref=\"dragDropText\">\n <i class=\"{{ctx.iconClass('cloud-upload')}}\"></i>{{ctx.t('Drop pdf to start, or')}} <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">{{ctx.t('browse')}}</a>\n </span>\n <div class=\"progress pdf-progress\" ref=\"uploadProgressWrapper\" style=\"display:none;\">\n <div class=\"progress-bar\" ref=\"uploadProgress\" role=\"progressbar\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\n </div>\n </div>\n <div class=\"alert alert-danger\" ref=\"uploadError\">\n\n </div>\n</div>\n\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","pdfBuilderUpload"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA,0BACLD,IAAOD,EAAI,EAAE,mBAAmB,MAAO,OAAO,KAAKC,KACrD;AAAA;AAAA;AAAA;AAAA,sBACEA,IAAOD,EAAI,UAAU,cAAc,MAAO,OAAO,KAAKC,KACxD,aACEA,IAAOD,EAAI,EAAE,uBAAuB,MAAO,OAAO,KAAKC,KACzD,oDACEA,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACVA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
html: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
function u(l) {
|
|
2
|
+
var n, o = "";
|
|
3
|
+
return o += `<div
|
|
4
|
+
class="form-radio radio"
|
|
5
|
+
ref="radioGroup"
|
|
6
|
+
role="` + ((n = l.component.type === "selectboxes" ? "group" : "radiogroup") == null ? "" : n) + `"
|
|
7
|
+
aria-required="` + ((n = l.input.component.validate.required) == null ? "" : n) + `"
|
|
8
|
+
aria-labelledby="l-` + ((n = l.instance.id) == null ? "" : n) + "-" + ((n = l.component.key) == null ? "" : n) + `"
|
|
9
|
+
`, l.component.description && (o += `
|
|
10
|
+
aria-describedby="d-` + ((n = l.instance.id) == null ? "" : n) + "-" + ((n = l.component.key) == null ? "" : n) + `"
|
|
11
|
+
`), o += `
|
|
12
|
+
>
|
|
13
|
+
`, l.values.forEach(function(e) {
|
|
14
|
+
o += `
|
|
15
|
+
<div class="` + ((n = l.input.attr.type) == null ? "" : n) + " " + ((n = l.component.optionsLabelPosition && l.component.optionsLabelPosition !== "right" ? "pl-0" : "") == null ? "" : n) + " form-check" + ((n = l.inline ? "-inline" : "") == null ? "" : n) + `" ref="wrapper">
|
|
16
|
+
<label class="form-check-label label-position-` + ((n = l.component.optionsLabelPosition) == null ? "" : n) + '" for="' + ((n = l.instance.root && l.instance.root.id) == null ? "" : n) + "-" + ((n = l.id) == null ? "" : n) + "-" + ((n = l.row) == null ? "" : n) + "-" + ((n = e.value) == null ? "" : n) + `">
|
|
17
|
+
`, (l.component.optionsLabelPosition === "left" || l.component.optionsLabelPosition === "top") && (o += `
|
|
18
|
+
<span>` + ((n = l.t(e.label, { _userInput: !0 })) == null ? "" : n) + `</span>
|
|
19
|
+
`), o += `
|
|
20
|
+
<` + ((n = l.input.type) == null ? "" : n) + `
|
|
21
|
+
ref="input"
|
|
22
|
+
`;
|
|
23
|
+
for (var a in l.input.attr)
|
|
24
|
+
o += `
|
|
25
|
+
` + ((n = a) == null ? "" : n) + '="' + ((n = l.input.attr[a]) == null ? "" : n) + `"
|
|
26
|
+
`;
|
|
27
|
+
o += `
|
|
28
|
+
value="` + ((n = e.value) == null ? "" : n) + `"
|
|
29
|
+
`, l.value && (l.value === e.value || typeof l.value == "object" && l.value.hasOwnProperty(e.value) && l.value[e.value]) && (o += `
|
|
30
|
+
checked=true
|
|
31
|
+
`), o += `
|
|
32
|
+
`, e.disabled && (o += `
|
|
33
|
+
disabled=true
|
|
34
|
+
`), o += `
|
|
35
|
+
id="` + ((n = l.instance.root && l.instance.root.id) == null ? "" : n) + "-" + ((n = l.id) == null ? "" : n) + "-" + ((n = l.row) == null ? "" : n) + "-" + ((n = e.value) == null ? "" : n) + `"
|
|
36
|
+
role="` + ((n = l.component.type === "selectboxes" ? "checkbox" : "radio") == null ? "" : n) + `"
|
|
37
|
+
>
|
|
38
|
+
`, (!l.component.optionsLabelPosition || l.component.optionsLabelPosition === "right" || l.component.optionsLabelPosition === "bottom") && (o += `
|
|
39
|
+
<span>` + ((n = l.t(e.label, { _userInput: !0 })) == null ? "" : n) + `</span>
|
|
40
|
+
`), o += `
|
|
41
|
+
</label>
|
|
42
|
+
</div>
|
|
43
|
+
`;
|
|
44
|
+
}), o += `
|
|
45
|
+
</div>
|
|
46
|
+
`, o;
|
|
47
|
+
}
|
|
48
|
+
function i(l) {
|
|
49
|
+
var n, o = "";
|
|
50
|
+
o += `<div ref="value">
|
|
51
|
+
`;
|
|
52
|
+
var e = l.values.filter(function(a) {
|
|
53
|
+
return l.value === a.value || typeof l.value == "object" && l.value.hasOwnProperty(a.value) && l.value[a.value];
|
|
54
|
+
}).map(function(a) {
|
|
55
|
+
return l.t(a.label, { _userInput: !0 });
|
|
56
|
+
}).join(", ");
|
|
57
|
+
return o += `
|
|
58
|
+
` + ((n = e) == null ? "" : n) + `
|
|
59
|
+
</div>
|
|
60
|
+
`, o;
|
|
61
|
+
}
|
|
62
|
+
const r = { form: u, html: i };
|
|
63
|
+
export {
|
|
64
|
+
r as default
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/radio/form.ejs","../../../../src/templates/tailwind/radio/html.ejs","../../../../src/templates/tailwind/radio/index.ts"],"sourcesContent":["<div\n class=\"form-radio radio\"\n ref=\"radioGroup\"\n role=\"{{ctx.component.type === 'selectboxes' ? 'group' : 'radiogroup'}}\"\n aria-required=\"{{ctx.input.component.validate.required}}\"\n aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n>\n {% ctx.values.forEach(function(item) { %}\n <div class=\"{{ctx.input.attr.type}} {{ ctx.component.optionsLabelPosition && ctx.component.optionsLabelPosition !== 'right' ? 'pl-0' : ''}} form-check{{ctx.inline ? '-inline' : ''}}\" ref=\"wrapper\">\n <label class=\"form-check-label label-position-{{ ctx.component.optionsLabelPosition }}\" for=\"{{ctx.instance.root && ctx.instance.root.id}}-{{ctx.id}}-{{ctx.row}}-{{item.value}}\">\n {% if (ctx.component.optionsLabelPosition === 'left' || ctx.component.optionsLabelPosition === 'top') { %}\n <span>{{ctx.t(item.label, { _userInput: true })}}</span>\n {% } %}\n <{{ctx.input.type}}\n ref=\"input\"\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n value=\"{{item.value}}\"\n {% if (ctx.value && (ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value]))) { %}\n checked=true\n {% } %}\n {% if (item.disabled) { %}\n disabled=true\n {% } %}\n id=\"{{ctx.instance.root && ctx.instance.root.id}}-{{ctx.id}}-{{ctx.row}}-{{item.value}}\"\n role=\"{{ctx.component.type === 'selectboxes' ? 'checkbox' : 'radio'}}\"\n >\n {% if (!ctx.component.optionsLabelPosition || ctx.component.optionsLabelPosition === 'right' || ctx.component.optionsLabelPosition === 'bottom') { %}\n <span>{{ctx.t(item.label, { _userInput: true })}}</span>\n {% } %}\n </label>\n </div>\n {% }) %}\n</div>\n","<div ref=\"value\">\n {% var filtered = ctx.values.filter(function(item) {return ctx.value === item.value || (typeof ctx.value === 'object' && ctx.value.hasOwnProperty(item.value) && ctx.value[item.value])}).map(function(item) { return ctx.t(item.label, { _userInput: true })}).join(', ') %}\n {{ filtered }}\n</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","item","attr","html","filtered","radio"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA;AAAA,cACLD,IAAOD,EAAI,UAAU,SAAS,gBAAgB,UAAU,iBAAkB,OAAO,KAAKC,KACxF;AAAA,uBACEA,IAAOD,EAAI,MAAM,UAAU,SAAS,aAAc,OAAO,KAAKC,KAChE;AAAA,2BACEA,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,KACKD,EAAI,UAAU,gBACnBE,KAAO;AAAA,8BACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,MAEAC,KAAO;AAAA;AAAA,KACNF,EAAI,OAAO,QAAQ,SAASG,GAAM;AACnC,IAAAD,KAAO;AAAA,oBACLD,IAAOD,EAAI,MAAM,KAAK,SAAU,OAAO,KAAKC,KAC9C,QACEA,IAAQD,EAAI,UAAU,wBAAwBA,EAAI,UAAU,yBAAyB,UAAU,SAAS,OAAQ,OAAO,KAAKC,KAC9H,kBACEA,IAAOD,EAAI,SAAS,YAAY,OAAQ,OAAO,KAAKC,KACtD;AAAA,wDACEA,IAAQD,EAAI,UAAU,yBAA2B,OAAO,KAAKC,KAC/D,cACEA,IAAOD,EAAI,SAAS,QAAQA,EAAI,SAAS,KAAK,OAAQ,OAAO,KAAKC,KACpE,QACEA,IAAOD,EAAI,OAAQ,OAAO,KAAKC,KACjC,QACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,QACEA,IAAOE,EAAK,UAAW,OAAO,KAAKF,KACrC;AAAA,UACKD,EAAI,UAAU,yBAAyB,UAAUA,EAAI,UAAU,yBAAyB,WAC7FE,KAAO;AAAA,kBACLD,IAAOD,EAAI,EAAEG,EAAK,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KAClE;AAAA,UAEAC,KAAO;AAAA,aACLD,IAAOD,EAAI,MAAM,SAAU,OAAO,KAAKC,KACzC;AAAA;AAAA;AACC,aAASG,KAAQJ,EAAI,MAAM;AAC5B,MAAAE,KAAO;AAAA,cACLD,IAAOG,MAAU,OAAO,KAAKH,KAC/B,SACEA,IAAOD,EAAI,MAAM,KAAKI,CAAI,MAAO,OAAO,KAAKH,KAC/C;AAAA;AAEA,IAAAC,KAAO;AAAA,qBACLD,IAAOE,EAAK,UAAW,OAAO,KAAKF,KACrC;AAAA,WACKD,EAAI,UAAUA,EAAI,UAAUG,EAAK,SAAU,OAAOH,EAAI,SAAU,YAAYA,EAAI,MAAM,eAAeG,EAAK,KAAK,KAAKH,EAAI,MAAMG,EAAK,KAAK,OAC7ID,KAAO;AAAA;AAAA,YAEPA,KAAO;AAAA,WACFC,EAAK,aACVD,KAAO;AAAA;AAAA,YAEPA,KAAO;AAAA,kBACLD,IAAOD,EAAI,SAAS,QAAQA,EAAI,SAAS,KAAK,OAAQ,OAAO,KAAKC,KACpE,QACEA,IAAOD,EAAI,OAAQ,OAAO,KAAKC,KACjC,QACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,QACEA,IAAOE,EAAK,UAAW,OAAO,KAAKF,KACrC;AAAA,oBACEA,IAAOD,EAAI,UAAU,SAAS,gBAAgB,aAAa,YAAa,OAAO,KAAKC,KACtF;AAAA;AAAA,UACK,CAACD,EAAI,UAAU,wBAAwBA,EAAI,UAAU,yBAAyB,WAAWA,EAAI,UAAU,yBAAyB,cACrIE,KAAO;AAAA,kBACLD,IAAOD,EAAI,EAAEG,EAAK,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KAClE;AAAA,UAEAC,KAAO;AAAA;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA,GACAA;AACP;ACnFe,SAAQG,EAACL,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO;AAAA;AACN,MAAII,IAAWN,EAAI,OAAO,OAAO,SAASG,GAAM;AAAC,WAAOH,EAAI,UAAUG,EAAK,SAAU,OAAOH,EAAI,SAAU,YAAYA,EAAI,MAAM,eAAeG,EAAK,KAAK,KAAKH,EAAI,MAAMG,EAAK,KAAK;AAAA,EAAE,CAAC,EAAE,IAAI,SAASA,GAAM;AAAE,WAAOH,EAAI,EAAEG,EAAK,OAAO,EAAE,YAAY,GAAI,CAAE;AAAA,EAAC,CAAC,EAAE,KAAK,IAAI;AACvQ,SAAAD,KAAO;AAAA,QACLD,IAAQK,MAAe,OAAO,KAAKL,KACrC;AAAA;AAAA,GACOC;AACP;ACNA,MAAAK,IAAe,EAAE,MAAAR,GAAM,MAAAM,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
function r(t) {
|
|
2
|
+
var n, e = "";
|
|
3
|
+
return e += `<table class="table table-bordered">
|
|
4
|
+
<tbody>
|
|
5
|
+
<tr>
|
|
6
|
+
<td>
|
|
7
|
+
` + ((n = t.element) == null ? "" : n) + `
|
|
8
|
+
</td>
|
|
9
|
+
</tr>
|
|
10
|
+
<tr>
|
|
11
|
+
<td colspan="2">
|
|
12
|
+
<button class="btn btn-primary formio-button-add-resource" ref="addResource">
|
|
13
|
+
<i class="` + ((n = t.iconClass("plus")) == null ? "" : n) + ` mr-1"></i>
|
|
14
|
+
` + ((n = t.t(t.component.addResourceLabel || "Add Resource", { _userInput: !0 })) == null ? "" : n) + `
|
|
15
|
+
</button>
|
|
16
|
+
</td>
|
|
17
|
+
</tr>
|
|
18
|
+
</tbody>
|
|
19
|
+
</table>
|
|
20
|
+
`, e;
|
|
21
|
+
}
|
|
22
|
+
const o = { form: r };
|
|
23
|
+
export {
|
|
24
|
+
o as default
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/resourceAdd/form.ejs","../../../../src/templates/tailwind/resourceAdd/index.ts"],"sourcesContent":["<table class=\"table table-bordered\">\n <tbody>\n <tr>\n <td>\n {{ctx.element}}\n </td>\n </tr>\n <tr>\n <td colspan=\"2\">\n <button class=\"btn btn-primary formio-button-add-resource\" ref=\"addResource\">\n <i class=\"{{ctx.iconClass('plus')}} mr-1\"></i>\n {{ctx.t(ctx.component.addResourceLabel || 'Add Resource', { _userInput: true })}}\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","resourceAdd"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA;AAAA;AAAA;AAAA,cACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BACEA,IAAOD,EAAI,UAAU,MAAM,MAAO,OAAO,KAAKC,KAChD;AAAA,gBACEA,IAAOD,EAAI,EAAEA,EAAI,UAAU,oBAAoB,gBAAgB,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KACxG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GACOC;AACP;ACRA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
html: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
function i(e) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
l += `<select
|
|
4
|
+
ref="` + ((n = e.input.ref ? e.input.ref : "selectContainer") == null ? "" : n) + `"
|
|
5
|
+
` + ((n = e.input.multiple ? "multiple" : "") == null ? "" : n) + `
|
|
6
|
+
`;
|
|
7
|
+
for (var t in e.input.attr)
|
|
8
|
+
l += `
|
|
9
|
+
` + ((n = t) == null ? "" : n) + '="' + ((n = e.input.attr[t]) == null ? "" : n) + `"
|
|
10
|
+
`;
|
|
11
|
+
return l += `
|
|
12
|
+
`, e.input.attr.id || (l += `
|
|
13
|
+
id="` + ((n = e.instance.id) == null ? "" : n) + "-" + ((n = e.component.key) == null ? "" : n) + `"
|
|
14
|
+
`), l += `
|
|
15
|
+
`, e.component.description && (l += `
|
|
16
|
+
aria-describedby="d-` + ((n = e.instance.id) == null ? "" : n) + "-" + ((n = e.component.key) == null ? "" : n) + `"
|
|
17
|
+
`), l += `
|
|
18
|
+
aria-required="` + ((n = e.input.ref === "selectContainer" || !e.input.ref ? e.input.component.validate.required : e.component.fields[e.input.ref].required) == null ? "" : n) + `"
|
|
19
|
+
>` + ((n = e.selectOptions) == null ? "" : n) + `</select>
|
|
20
|
+
<input type="text"
|
|
21
|
+
class="formio-select-autocomplete-input"
|
|
22
|
+
ref="autocompleteInput"
|
|
23
|
+
`, e.input.attr.autocomplete && (l += `
|
|
24
|
+
autocomplete="` + ((n = e.input.attr.autocomplete) == null ? "" : n) + `"
|
|
25
|
+
`), l += `
|
|
26
|
+
tabindex="-1"
|
|
27
|
+
aria-label="` + ((n = e.t("autocomplete")) == null ? "" : n) + `"
|
|
28
|
+
/>
|
|
29
|
+
`, l;
|
|
30
|
+
}
|
|
31
|
+
function u(e) {
|
|
32
|
+
var n, l = "";
|
|
33
|
+
return l += '<div ref="value">', e.value ? l += (n = e.self.itemValueForHTMLMode(e.value)) == null ? "" : n : l += "-", l += `</div>
|
|
34
|
+
`, l;
|
|
35
|
+
}
|
|
36
|
+
const r = { form: i, html: u };
|
|
37
|
+
export {
|
|
38
|
+
r as default
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/select/form.ejs","../../../../src/templates/tailwind/select/html.ejs","../../../../src/templates/tailwind/select/index.ts"],"sourcesContent":["<select\n ref=\"{{ctx.input.ref ? ctx.input.ref : 'selectContainer'}}\"\n {{ ctx.input.multiple ? 'multiple' : '' }}\n {% for (var attr in ctx.input.attr) { %}\n {{attr}}=\"{{ctx.input.attr[attr]}}\"\n {% } %}\n {% if (!ctx.input.attr.id) { %}\n id=\"{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n {% if (ctx.component.description) { %}\n aria-describedby=\"d-{{ctx.instance.id}}-{{ctx.component.key}}\"\n {% } %}\n aria-required=\"{{ctx.input.ref === 'selectContainer' || !ctx.input.ref ? ctx.input.component.validate.required : ctx.component.fields[ctx.input.ref].required}}\"\n>{{ctx.selectOptions}}</select>\n<input type=\"text\"\n class=\"formio-select-autocomplete-input\"\n ref=\"autocompleteInput\"\n {% if (ctx.input.attr.autocomplete) { %}\n autocomplete=\"{{ctx.input.attr.autocomplete}}\"\n {% } %}\n tabindex=\"-1\"\n aria-label=\"{{ctx.t('autocomplete')}}\"\n/>\n","<div ref=\"value\">{% if (ctx.value) { %}{{ ctx.self.itemValueForHTMLMode(ctx.value) }}{% } else { %}-{% } %}</div>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","select"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO;AAAA,aACLD,IAAOD,EAAI,MAAM,MAAMA,EAAI,MAAM,MAAM,sBAAuB,OAAO,KAAKC,KAC5E;AAAA,QACEA,IAAQD,EAAI,MAAM,WAAW,aAAa,OAAS,OAAO,KAAKC,KACjE;AAAA;AACC,WAASE,KAAQH,EAAI,MAAM;AAC5B,IAAAE,KAAO;AAAA,QACLD,IAAOE,MAAU,OAAO,KAAKF,KAC/B,SACEA,IAAOD,EAAI,MAAM,KAAKG,CAAI,MAAO,OAAO,KAAKF,KAC/C;AAAA;AAEA,SAAAC,KAAO;AAAA,KACDF,EAAI,MAAM,KAAK,OACrBE,KAAO;AAAA,YACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,MAEAC,KAAO;AAAA,KACFF,EAAI,UAAU,gBACnBE,KAAO;AAAA,4BACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA,MAEAC,KAAO;AAAA,uBACLD,IAAOD,EAAI,MAAM,QAAQ,qBAAqB,CAACA,EAAI,MAAM,MAAMA,EAAI,MAAM,UAAU,SAAS,WAAWA,EAAI,UAAU,OAAOA,EAAI,MAAM,GAAG,EAAE,aAAc,OAAO,KAAKC,KACvK;AAAA,OACEA,IAAOD,EAAI,kBAAmB,OAAO,KAAKC,KAC5C;AAAA;AAAA;AAAA;AAAA,UACKD,EAAI,MAAM,KAAK,iBACpBE,KAAO;AAAA,2BACLD,IAAOD,EAAI,MAAM,KAAK,iBAAkB,OAAO,KAAKC,KACtD;AAAA,WAEAC,KAAO;AAAA;AAAA,yBACLD,IAAOD,EAAI,EAAE,cAAc,MAAO,OAAO,KAAKC,KAChD;AAAA;AAAA,GACOC;AACP;AC7Ce,SAAQE,EAACJ,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,qBACFF,EAAI,QACTE,MACED,IAAQD,EAAI,KAAK,qBAAqBA,EAAI,KAAK,MAAQ,OAAO,KAAKC,IAErEC,KAAO,KAEPA,KAAO;AAAA,GACAA;AACP;ACTA,MAAAG,IAAe,EAAE,MAAAN,GAAM,MAAAK,EAAK;"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
html: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function u(e) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
l += "<option " + ((n = e.selected ? 'selected="selected"' : "") == null ? "" : n) + `
|
|
4
|
+
value='` + ((n = e.useId ? e.id : e.option.value) == null ? "" : n) + `'
|
|
5
|
+
`;
|
|
6
|
+
for (var t in e.attrs)
|
|
7
|
+
l += `
|
|
8
|
+
` + ((n = t) == null ? "" : n) + '="' + ((n = e.attrs[t]) == null ? "" : n) + `"
|
|
9
|
+
`;
|
|
10
|
+
return l += `
|
|
11
|
+
>
|
|
12
|
+
` + ((n = e.t(e.option.label, { _userInput: !0 })) == null ? "" : n) + `
|
|
13
|
+
</option>
|
|
14
|
+
`, l;
|
|
15
|
+
}
|
|
16
|
+
function o(e) {
|
|
17
|
+
var n, l = "";
|
|
18
|
+
return e.selected && (l += (n = e.t(e.option.label, { _userInput: !0 })) == null ? "" : n), l += `
|
|
19
|
+
`, l;
|
|
20
|
+
}
|
|
21
|
+
const r = { form: u, html: o };
|
|
22
|
+
export {
|
|
23
|
+
r as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/selectOption/form.ejs","../../../../src/templates/tailwind/selectOption/html.ejs","../../../../src/templates/tailwind/selectOption/index.ts"],"sourcesContent":["<option {{ ctx.selected ? 'selected=\"selected\"' : '' }}\n value='{{ctx.useId ? ctx.id : ctx.option.value}}'\n {% for (var attr in ctx.attrs) { %}\n {{attr}}=\"{{ctx.attrs[attr]}}\"\n {% } %}\n >\n {{ctx.t(ctx.option.label, { _userInput: true })}}\n</option>\n","{% if (ctx.selected) { %}{{ctx.t(ctx.option.label, { _userInput: true })}}{% } %}\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","attr","html","selectOption"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,EAAAA,KAAO,eACLD,IAAQD,EAAI,WAAW,wBAAwB,OAAS,OAAO,KAAKC,KACtE;AAAA,eACEA,IAAOD,EAAI,QAAQA,EAAI,KAAKA,EAAI,OAAO,UAAW,OAAO,KAAKC,KAChE;AAAA;AACC,WAASE,KAAQH,EAAI;AACtB,IAAAE,KAAO;AAAA,QACLD,IAAOE,MAAU,OAAO,KAAKF,KAC/B,SACEA,IAAOD,EAAI,MAAMG,CAAI,MAAO,OAAO,KAAKF,KAC1C;AAAA;AAEA,SAAAC,KAAO;AAAA;AAAA,QACLD,IAAOD,EAAI,EAAEA,EAAI,OAAO,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KACxE;AAAA;AAAA,GACOC;AACP;ACnBe,SAAQE,EAACJ,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAIF,EAAI,aACTE,MACED,IAAOD,EAAI,EAAEA,EAAI,OAAO,OAAO,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,IAExEC,KAAO;AAAA,GACAA;AACP;ACPA,MAAAG,IAAe,EAAE,MAAAN,GAAM,MAAAK,EAAK;"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
html: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
function a(e) {
|
|
2
|
+
var n, t = "";
|
|
3
|
+
return t += ((n = e.element) == null ? "" : n) + `
|
|
4
|
+
<div
|
|
5
|
+
class="signature-pad-body"
|
|
6
|
+
style="width: ` + ((n = e.component.width) == null ? "" : n) + ";height: " + ((n = e.component.height) == null ? "" : n) + `;padding:0;margin:0;"
|
|
7
|
+
tabindex="` + ((n = e.component.tabindex || 0) == null ? "" : n) + `"
|
|
8
|
+
ref="padBody"
|
|
9
|
+
>
|
|
10
|
+
<button class="btn btn-sm btn-light signature-pad-refresh" ref="refresh">
|
|
11
|
+
<i class="` + ((n = e.iconClass("refresh")) == null ? "" : n) + `"></i>
|
|
12
|
+
</button>
|
|
13
|
+
<canvas class="signature-pad-canvas" style="display: none;" height="` + ((n = e.component.height) == null ? "" : n) + `" ref="canvas"></canvas>
|
|
14
|
+
`, e.required && (t += `
|
|
15
|
+
<span class="form-control-feedback field-required-inline text-danger">
|
|
16
|
+
<i class="` + ((n = e.iconClass("asterisk")) == null ? "" : n) + `"></i>
|
|
17
|
+
</span>
|
|
18
|
+
`), t += `
|
|
19
|
+
<img style="width: 100%;display: inherit;" ref="signatureImage">
|
|
20
|
+
</div>
|
|
21
|
+
`, e.component.footer && (t += `
|
|
22
|
+
<div class="signature-pad-footer">
|
|
23
|
+
` + ((n = e.t(e.component.footer, { _userInput: !0 })) == null ? "" : n) + `
|
|
24
|
+
</div>
|
|
25
|
+
`), t += `
|
|
26
|
+
`, t;
|
|
27
|
+
}
|
|
28
|
+
function i(e) {
|
|
29
|
+
var n = "";
|
|
30
|
+
return n += `<img style="width: 100%;" ref="signatureImage">
|
|
31
|
+
`, n;
|
|
32
|
+
}
|
|
33
|
+
const s = { form: a, html: i };
|
|
34
|
+
export {
|
|
35
|
+
s as default
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/signature/form.ejs","../../../../src/templates/tailwind/signature/html.ejs","../../../../src/templates/tailwind/signature/index.ts"],"sourcesContent":["{{ctx.element}}\n<div\n class=\"signature-pad-body\"\n style=\"width: {{ctx.component.width}};height: {{ctx.component.height}};padding:0;margin:0;\"\n tabindex=\"{{ctx.component.tabindex || 0}}\"\n ref=\"padBody\"\n>\n <button class=\"btn btn-sm btn-light signature-pad-refresh\" ref=\"refresh\">\n <i class=\"{{ctx.iconClass('refresh')}}\"></i>\n </button>\n <canvas class=\"signature-pad-canvas\" style=\"display: none;\" height=\"{{ctx.component.height}}\" ref=\"canvas\"></canvas>\n {% if (ctx.required) { %}\n <span class=\"form-control-feedback field-required-inline text-danger\">\n <i class=\"{{ctx.iconClass('asterisk')}}\"></i>\n </span>\n {% } %}\n <img style=\"width: 100%;display: inherit;\" ref=\"signatureImage\">\n</div>\n{% if (ctx.component.footer) { %}\n <div class=\"signature-pad-footer\">\n {{ctx.t(ctx.component.footer, { _userInput: true })}}\n </div>\n{% } %}\n","<img style=\"width: 100%;\" ref=\"signatureImage\">\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","html","signature"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,OACED,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC;AAAA;AAAA;AAAA,sBACEA,IAAOD,EAAI,UAAU,UAAW,OAAO,KAAKC,KAC9C,gBACEA,IAAOD,EAAI,UAAU,WAAY,OAAO,KAAKC,KAC/C;AAAA,kBACEA,IAAOD,EAAI,UAAU,YAAY,MAAO,OAAO,KAAKC,KACtD;AAAA;AAAA;AAAA;AAAA,oBACEA,IAAOD,EAAI,UAAU,SAAS,MAAO,OAAO,KAAKC,KACnD;AAAA;AAAA,4EACEA,IAAOD,EAAI,UAAU,WAAY,OAAO,KAAKC,KAC/C;AAAA,KACKD,EAAI,aACTE,KAAO;AAAA;AAAA,oBACLD,IAAOD,EAAI,UAAU,UAAU,MAAO,OAAO,KAAKC,KACpD;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA;AAAA,GACFF,EAAI,UAAU,WACnBE,KAAO;AAAA;AAAA,UACLD,IAAOD,EAAI,EAAEA,EAAI,UAAU,QAAQ,EAAE,YAAY,GAAI,CAAE,MAAO,OAAO,KAAKC,KAC5E;AAAA;AAAA,IAEAC,KAAO;AAAA,GACAA;AACP;AC7Be,SAAQC,EAACH,GAAK;AAC1B,MAAME,IAAM;AACf,SAAAA,KAAO;AAAA,GACAA;AACP;ACDA,MAAAE,IAAe,EAAE,MAAAL,GAAM,MAAAI,EAAK;"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
html: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
function o(t) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
return l += '<table class="table table-striped table-bordered" aria-labelledby="l-' + ((n = t.instance.id) == null ? "" : n) + "-" + ((n = t.component.key) == null ? "" : n) + `">
|
|
4
|
+
<thead>
|
|
5
|
+
<tr>
|
|
6
|
+
<th></th>
|
|
7
|
+
`, t.component.values.forEach(function(e) {
|
|
8
|
+
l += `
|
|
9
|
+
<th style="text-align: center;">
|
|
10
|
+
` + ((n = t.t(e.label, { _userInput: !0 })) == null ? "" : n) + `
|
|
11
|
+
`, e.tooltip && (l += `
|
|
12
|
+
<i ref="tooltip" class="` + ((n = t.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = e.tooltip) == null ? "" : n) + `"></i>
|
|
13
|
+
`), l += `
|
|
14
|
+
</th>
|
|
15
|
+
`;
|
|
16
|
+
}), l += `
|
|
17
|
+
</tr>
|
|
18
|
+
</thead>
|
|
19
|
+
<tbody>
|
|
20
|
+
`, t.component.questions.forEach(function(e) {
|
|
21
|
+
l += `
|
|
22
|
+
<tr>
|
|
23
|
+
<td>
|
|
24
|
+
` + ((n = t.t(e.label)) == null ? "" : n) + `
|
|
25
|
+
`, e.tooltip && (l += `
|
|
26
|
+
<i ref="tooltip" class="` + ((n = t.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = e.tooltip) == null ? "" : n) + `"></i>
|
|
27
|
+
`), l += `
|
|
28
|
+
</td>
|
|
29
|
+
`, t.component.values.forEach(function(a) {
|
|
30
|
+
l += `
|
|
31
|
+
<td style="text-align: center;">
|
|
32
|
+
<input type="radio" name="` + ((n = t.self.getInputName(e)) == null ? "" : n) + '" value="' + ((n = a.value) == null ? "" : n) + '" id="' + ((n = t.key) == null ? "" : n) + "-" + ((n = e.value) == null ? "" : n) + "-" + ((n = a.value) == null ? "" : n) + `" ref="input">
|
|
33
|
+
</td>
|
|
34
|
+
`;
|
|
35
|
+
}), l += `
|
|
36
|
+
</tr>
|
|
37
|
+
`;
|
|
38
|
+
}), l += `
|
|
39
|
+
</tbody>
|
|
40
|
+
</table>
|
|
41
|
+
`, l;
|
|
42
|
+
}
|
|
43
|
+
function u(t) {
|
|
44
|
+
var n, l = "";
|
|
45
|
+
return l += `<table class="table table-striped table-bordered">
|
|
46
|
+
<tbody>
|
|
47
|
+
`, t.component.questions.forEach(function(e) {
|
|
48
|
+
l += `
|
|
49
|
+
<tr>
|
|
50
|
+
<th>` + ((n = t.t(e.label)) == null ? "" : n) + `</th>
|
|
51
|
+
<td>
|
|
52
|
+
`, t.component.values.forEach(function(a) {
|
|
53
|
+
l += `
|
|
54
|
+
`, t.value && t.value.hasOwnProperty(e.value) && t.value[e.value] === a.value && (l += `
|
|
55
|
+
` + ((n = t.t(a.label)) == null ? "" : n) + `
|
|
56
|
+
`), l += `
|
|
57
|
+
`;
|
|
58
|
+
}), l += `
|
|
59
|
+
</td>
|
|
60
|
+
</tr>
|
|
61
|
+
`;
|
|
62
|
+
}), l += `
|
|
63
|
+
</tbody>
|
|
64
|
+
</table>
|
|
65
|
+
`, l;
|
|
66
|
+
}
|
|
67
|
+
const r = { form: o, html: u };
|
|
68
|
+
export {
|
|
69
|
+
r as default
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/survey/form.ejs","../../../../src/templates/tailwind/survey/html.ejs","../../../../src/templates/tailwind/survey/index.ts"],"sourcesContent":["<table class=\"table table-striped table-bordered\" aria-labelledby=\"l-{{ctx.instance.id}}-{{ctx.component.key}}\">\n <thead>\n <tr>\n <th></th>\n {% ctx.component.values.forEach(function(value) { %}\n <th style=\"text-align: center;\">\n {{ctx.t(value.label, { _userInput: true })}}\n {% if (value.tooltip) { %}\n <i ref=\"tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{value.tooltip}}\"></i>\n {% } %}\n </th>\n {% }) %}\n </tr>\n </thead>\n <tbody>\n {% ctx.component.questions.forEach(function(question) { %}\n <tr>\n <td>\n {{ctx.t(question.label)}}\n {% if (question.tooltip) { %}\n <i ref=\"tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{question.tooltip}}\"></i>\n {% } %}\n </td>\n {% ctx.component.values.forEach(function(value) { %}\n <td style=\"text-align: center;\">\n <input type=\"radio\" name=\"{{ ctx.self.getInputName(question) }}\" value=\"{{value.value}}\" id=\"{{ctx.key}}-{{question.value}}-{{value.value}}\" ref=\"input\">\n </td>\n {% }) %}\n </tr>\n {% }) %}\n </tbody>\n</table>\n","<table class=\"table table-striped table-bordered\">\n <tbody>\n {% ctx.component.questions.forEach(function(question) { %}\n <tr>\n <th>{{ctx.t(question.label)}}</th>\n <td>\n {% ctx.component.values.forEach(function(item) { %}\n {% if (ctx.value && ctx.value.hasOwnProperty(question.value) && ctx.value[question.value] === item.value) { %}\n {{ctx.t(item.label)}}\n {% } %}\n {% }) %}\n </td>\n </tr>\n {% }) %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\nimport html from \"./html.ejs\";\n\nexport default { form, html };\n"],"names":["form","ctx","__t","__p","value","question","html","item","survey"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,4EACLD,IAAOD,EAAI,SAAS,OAAQ,OAAO,KAAKC,KAC1C,QACEA,IAAOD,EAAI,UAAU,QAAS,OAAO,KAAKC,KAC5C;AAAA;AAAA;AAAA;AAAA,SACCD,EAAI,UAAU,OAAO,QAAQ,SAASG,GAAO;AAC9C,IAAAD,KAAO;AAAA;AAAA,cACLD,IAAOD,EAAI,EAAEG,EAAM,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KACnE;AAAA,WACKE,EAAM,YACXD,KAAO;AAAA,wCACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOE,EAAM,YAAa,OAAO,KAAKF,KACxC;AAAA,YAEAC,KAAO;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA;AAAA,OACNF,EAAI,UAAU,UAAU,QAAQ,SAASI,GAAU;AACpD,IAAAF,KAAO;AAAA;AAAA;AAAA,cACLD,IAAOD,EAAI,EAAEI,EAAS,KAAK,MAAO,OAAO,KAAKH,KAChD;AAAA,WACKG,EAAS,YACdF,KAAO;AAAA,wCACLD,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOG,EAAS,YAAa,OAAO,KAAKH,KAC3C;AAAA,YAEAC,KAAO;AAAA;AAAA,SACNF,EAAI,UAAU,OAAO,QAAQ,SAASG,GAAO;AAC9C,MAAAD,KAAO;AAAA;AAAA,wCACLD,IAAQD,EAAI,KAAK,aAAaI,CAAQ,MAAQ,OAAO,KAAKH,KAC5D,gBACEA,IAAOE,EAAM,UAAW,OAAO,KAAKF,KACtC,aACEA,IAAOD,EAAI,QAAS,OAAO,KAAKC,KAClC,QACEA,IAAOG,EAAS,UAAW,OAAO,KAAKH,KACzC,QACEA,IAAOE,EAAM,UAAW,OAAO,KAAKF,KACtC;AAAA;AAAA;AAAA,IACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;ACnDe,SAAQG,EAACL,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,OACNF,EAAI,UAAU,UAAU,QAAQ,SAASI,GAAU;AACpD,IAAAF,KAAO;AAAA;AAAA,gBACLD,IAAOD,EAAI,EAAEI,EAAS,KAAK,MAAO,OAAO,KAAKH,KAChD;AAAA;AAAA,SACCD,EAAI,UAAU,OAAO,QAAQ,SAASM,GAAM;AAC7C,MAAAJ,KAAO;AAAA,WACFF,EAAI,SAASA,EAAI,MAAM,eAAeI,EAAS,KAAK,KAAKJ,EAAI,MAAMI,EAAS,KAAK,MAAME,EAAK,UACjGJ,KAAO;AAAA,gBACLD,IAAOD,EAAI,EAAEM,EAAK,KAAK,MAAO,OAAO,KAAKL,KAC5C;AAAA,YAEAC,KAAO;AAAA;AAAA,IACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AClBA,MAAAK,IAAe,EAAE,MAAAR,GAAM,MAAAM,EAAK;"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
flat: string;
|
|
3
|
+
form: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
function t(a) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
return a.component.components.forEach(function(r, e) {
|
|
4
|
+
l += `
|
|
5
|
+
<div class="mb-2 card border">
|
|
6
|
+
<div class="card-header bg-default">
|
|
7
|
+
<h4 class="mb-0 card-title">` + ((n = a.t(r.label, { _userInput: !0 })) == null ? "" : n) + `</h4>
|
|
8
|
+
</div>
|
|
9
|
+
<div
|
|
10
|
+
class="card-body"
|
|
11
|
+
ref="` + ((n = a.tabKey) == null ? "" : n) + `"
|
|
12
|
+
>
|
|
13
|
+
` + ((n = a.tabComponents[e]) == null ? "" : n) + `
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
`;
|
|
17
|
+
}), l += `
|
|
18
|
+
`, l;
|
|
19
|
+
}
|
|
20
|
+
function o(a) {
|
|
21
|
+
var n, l = "";
|
|
22
|
+
return l += `<div class="card card-tabs { ctx.component.verticalLayout ? ' card-vertical' : ''}}">
|
|
23
|
+
<div class="card-header card-header-tabs">
|
|
24
|
+
<ul class="nav nav-tabs ` + ((n = a.component.verticalLayout ? " nav-tabs-vertical" : "") == null ? "" : n) + `" role="tablist">
|
|
25
|
+
`, a.component.components.forEach(function(r, e) {
|
|
26
|
+
l += `
|
|
27
|
+
<li class="nav-item ` + ((n = a.currentTab === e ? " active" : "") == null ? "" : n) + '" role="tab" ref="' + ((n = a.tabLikey) == null ? "" : n) + `">
|
|
28
|
+
<a
|
|
29
|
+
class="nav-link` + ((n = a.currentTab === e ? " active" : "") == null ? "" : n) + ((n = a.component.verticalLayout ? " nav-link-vertical" : "") == null ? "" : n) + `"
|
|
30
|
+
href="#` + ((n = r.key) == null ? "" : n) + `"
|
|
31
|
+
ref="` + ((n = a.tabLinkKey) == null ? "" : n) + `"
|
|
32
|
+
>
|
|
33
|
+
` + ((n = a.t(r.label, { _userInput: !0 })) == null ? "" : n) + `
|
|
34
|
+
</a>
|
|
35
|
+
<div class="nav-border"></div>
|
|
36
|
+
</li>
|
|
37
|
+
`;
|
|
38
|
+
}), l += `
|
|
39
|
+
</ul>
|
|
40
|
+
</div>
|
|
41
|
+
`, a.component.components.forEach(function(r, e) {
|
|
42
|
+
l += `
|
|
43
|
+
<div
|
|
44
|
+
role="tabpanel"
|
|
45
|
+
class="card-body tab-pane` + ((n = a.currentTab === e ? " active" : "") == null ? "" : n) + `"
|
|
46
|
+
style="display: ` + ((n = a.currentTab === e ? "block" : "none") == null ? "" : n) + `"
|
|
47
|
+
ref="` + ((n = a.tabKey) == null ? "" : n) + `"
|
|
48
|
+
>
|
|
49
|
+
` + ((n = a.tabComponents[e]) == null ? "" : n) + `
|
|
50
|
+
</div>
|
|
51
|
+
`;
|
|
52
|
+
}), l += `
|
|
53
|
+
</div>
|
|
54
|
+
`, l;
|
|
55
|
+
}
|
|
56
|
+
const c = { flat: t, form: o };
|
|
57
|
+
export {
|
|
58
|
+
c as default
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tab/flat.ejs","../../../../src/templates/tailwind/tab/form.ejs","../../../../src/templates/tailwind/tab/index.ts"],"sourcesContent":["{% ctx.component.components.forEach(function(tab, index) { %}\n <div class=\"mb-2 card border\">\n <div class=\"card-header bg-default\">\n <h4 class=\"mb-0 card-title\">{{ ctx.t(tab.label, { _userInput: true }) }}</h4>\n </div>\n <div\n class=\"card-body\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ ctx.tabComponents[index] }}\n </div>\n </div>\n{% }) %}\n","<div class=\"card card-tabs { ctx.component.verticalLayout ? ' card-vertical' : ''}}\">\n <div class=\"card-header card-header-tabs\">\n <ul class=\"nav nav-tabs {{ ctx.component.verticalLayout ? ' nav-tabs-vertical' : ''}}\" role=\"tablist\">\n {% ctx.component.components.forEach(function(tab, index) { %}\n <li class=\"nav-item {{ ctx.currentTab === index ? ' active' : ''}}\" role=\"tab\" ref=\"{{ctx.tabLikey}}\">\n <a\n class=\"nav-link{{ ctx.currentTab === index ? ' active' : ''}}{{ ctx.component.verticalLayout ? ' nav-link-vertical' : ''}}\"\n href=\"#{{tab.key}}\"\n ref=\"{{ctx.tabLinkKey}}\"\n >\n {{ctx.t(tab.label, { _userInput: true })}}\n </a>\n <div class=\"nav-border\"></div>\n </li>\n {% }) %}\n </ul>\n </div>\n {% ctx.component.components.forEach(function(tab, index) { %}\n <div\n role=\"tabpanel\"\n class=\"card-body tab-pane{{ ctx.currentTab === index ? ' active' : ''}}\"\n style=\"display: {{ctx.currentTab === index ? 'block' : 'none'}}\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ctx.tabComponents[index]}}\n </div>\n {% }) %}\n</div>\n","import flat from \"./flat.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { flat, form };\n"],"names":["flat","ctx","__t","__p","tab","index","form"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAAF,EAAI,UAAU,WAAW,QAAQ,SAASG,GAAKC,GAAO;AACvD,IAAAF,KAAO;AAAA;AAAA;AAAA,wCACLD,IAAQD,EAAI,EAAEG,EAAI,OAAO,EAAE,YAAY,GAAM,CAAA,MAAQ,OAAO,KAAKF,KACnE;AAAA;AAAA;AAAA;AAAA,iBACEA,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA,YACEA,IAAQD,EAAI,cAAcI,CAAK,MAAQ,OAAO,KAAKH,KACrD;AAAA;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA,GACAA;AACP;ACfe,SAAQG,EAACL,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,kCACLD,IAAQD,EAAI,UAAU,iBAAiB,uBAAuB,OAAQ,OAAO,KAAKC,KACpF;AAAA,SACCD,EAAI,UAAU,WAAW,QAAQ,SAASG,GAAKC,GAAO;AACvD,IAAAF,KAAO;AAAA,gCACLD,IAAQD,EAAI,eAAeI,IAAQ,YAAY,OAAQ,OAAO,KAAKH,KACrE,yBACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA,qCACEA,IAAQD,EAAI,eAAeI,IAAQ,YAAY,OAAQ,OAAO,KAAKH,OAEnEA,IAAQD,EAAI,UAAU,iBAAiB,uBAAuB,OAAQ,OAAO,KAAKC,KACpF;AAAA,6BACEA,IAAOE,EAAI,QAAS,OAAO,KAAKF,KAClC;AAAA,2BACEA,IAAOD,EAAI,eAAgB,OAAO,KAAKC,KACzC;AAAA;AAAA,gBACEA,IAAOD,EAAI,EAAEG,EAAI,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KACjE;AAAA;AAAA;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,KACNF,EAAI,UAAU,WAAW,QAAQ,SAASG,GAAKC,GAAO;AACvD,IAAAF,KAAO;AAAA;AAAA;AAAA,mCACLD,IAAQD,EAAI,eAAeI,IAAQ,YAAY,OAAQ,OAAO,KAAKH,KACrE;AAAA,0BACEA,IAAOD,EAAI,eAAeI,IAAQ,UAAU,WAAY,OAAO,KAAKH,KACtE;AAAA,eACEA,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA,UACEA,IAAOD,EAAI,cAAcI,CAAK,MAAO,OAAO,KAAKH,KACnD;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA,GACAA;AACP;AClCA,MAAAC,IAAe,EAAE,MAAAJ,GAAM,MAAAM,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
function r(e) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
return l += `<table class="table
|
|
4
|
+
` + ((n = e.component.striped ? "table-striped" : "") == null ? "" : n) + `
|
|
5
|
+
` + ((n = e.component.bordered ? "table-bordered" : "") == null ? "" : n) + `
|
|
6
|
+
` + ((n = e.component.hover ? "table-hover" : "") == null ? "" : n) + `
|
|
7
|
+
` + ((n = e.component.condensed ? "table-sm" : "") == null ? "" : n) + `
|
|
8
|
+
">
|
|
9
|
+
<caption class="sr-only">` + ((n = e.t(e.component.label)) == null ? "" : n) + `</caption>
|
|
10
|
+
`, e.component.header && e.component.header.length > 0 && (l += `
|
|
11
|
+
<thead>
|
|
12
|
+
<tr>
|
|
13
|
+
`, e.component.header.forEach(function(o) {
|
|
14
|
+
l += `
|
|
15
|
+
<th>` + ((n = e.t(o)) == null ? "" : n) + `</th>
|
|
16
|
+
`;
|
|
17
|
+
}), l += `
|
|
18
|
+
</tr>
|
|
19
|
+
</thead>
|
|
20
|
+
`), l += `
|
|
21
|
+
<tbody>
|
|
22
|
+
`, e.tableComponents.forEach(function(o, t) {
|
|
23
|
+
l += `
|
|
24
|
+
<tr ref="row-` + ((n = e.id) == null ? "" : n) + `">
|
|
25
|
+
`, o.forEach(function(a, d) {
|
|
26
|
+
l += `
|
|
27
|
+
<td ref="` + ((n = e.tableKey) == null ? "" : n) + "-" + ((n = t) == null ? "" : n) + '"', e.cellClassName && (l += ' class="' + ((n = e.cellClassName) == null ? "" : n) + '"'), l += ">" + ((n = a) == null ? "" : n) + `</td>
|
|
28
|
+
`;
|
|
29
|
+
}), l += `
|
|
30
|
+
</tr>
|
|
31
|
+
`;
|
|
32
|
+
}), l += `
|
|
33
|
+
</tbody>
|
|
34
|
+
</table>
|
|
35
|
+
`, l;
|
|
36
|
+
}
|
|
37
|
+
const s = { form: r };
|
|
38
|
+
export {
|
|
39
|
+
s as default
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=index.js.map
|