@tsed/tailwind-formio 2.3.2 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/config.1e3fca3e.json +1 -0
- package/build/css/app.a4ea028b.css +3 -0
- package/build/js/app.5db1c92a.js +2 -0
- package/build/js/app.5db1c92a.js.map +1 -0
- package/build/js/chunk-vendors.6cab5322.js +8 -0
- package/build/js/chunk-vendors.6cab5322.js.map +1 -0
- package/build/tailwind.html +3 -0
- package/dist/ejs.d.js +2 -0
- package/dist/ejs.d.js.map +1 -0
- package/dist/index.d.ts +222 -222
- package/dist/index.js +6 -2018
- package/dist/index.js.map +1 -1
- package/dist/tailwind/colors.d.ts +328 -0
- package/dist/tailwind/colors.js +15 -0
- package/dist/tailwind/colors.js.map +1 -0
- package/dist/tailwind/preset.d.ts +158 -0
- package/dist/tailwind/preset.js +173 -0
- package/dist/tailwind/preset.js.map +1 -0
- package/dist/templates/index.d.ts +219 -219
- package/dist/templates/index.js +8 -0
- package/dist/templates/index.js.map +1 -0
- package/dist/templates/tailwind/address/index.d.ts +4 -5
- package/dist/templates/tailwind/address/index.js +55 -0
- package/dist/templates/tailwind/address/index.js.map +1 -0
- package/dist/templates/tailwind/alert/index.d.ts +4 -5
- package/dist/templates/tailwind/alert/index.js +22 -0
- package/dist/templates/tailwind/alert/index.js.map +1 -0
- package/dist/templates/tailwind/builder/index.d.ts +4 -5
- package/dist/templates/tailwind/builder/index.js +17 -0
- package/dist/templates/tailwind/builder/index.js.map +1 -0
- package/dist/templates/tailwind/builderComponent/index.d.ts +4 -5
- package/dist/templates/tailwind/builderComponent/index.js +70 -0
- package/dist/templates/tailwind/builderComponent/index.js.map +1 -0
- package/dist/templates/tailwind/builderComponents/index.d.ts +4 -5
- package/dist/templates/tailwind/builderComponents/index.js +12 -0
- package/dist/templates/tailwind/builderComponents/index.js.map +1 -0
- package/dist/templates/tailwind/builderEditForm/index.d.ts +4 -5
- package/dist/templates/tailwind/builderEditForm/index.js +73 -0
- package/dist/templates/tailwind/builderEditForm/index.js.map +1 -0
- package/dist/templates/tailwind/builderPlaceholder/index.d.ts +4 -5
- package/dist/templates/tailwind/builderPlaceholder/index.js +18 -0
- package/dist/templates/tailwind/builderPlaceholder/index.js.map +1 -0
- package/dist/templates/tailwind/builderSidebar/index.d.ts +4 -5
- package/dist/templates/tailwind/builderSidebar/index.js +19 -0
- package/dist/templates/tailwind/builderSidebar/index.js.map +1 -0
- package/dist/templates/tailwind/builderSidebarGroup/index.d.ts +4 -5
- package/dist/templates/tailwind/builderSidebarGroup/index.js +58 -0
- package/dist/templates/tailwind/builderSidebarGroup/index.js.map +1 -0
- package/dist/templates/tailwind/builderWizard/index.d.ts +4 -5
- package/dist/templates/tailwind/builderWizard/index.js +33 -0
- package/dist/templates/tailwind/builderWizard/index.js.map +1 -0
- package/dist/templates/tailwind/button/index.d.ts +5 -7
- package/dist/templates/tailwind/button/index.js +36 -0
- package/dist/templates/tailwind/button/index.js.map +1 -0
- package/dist/templates/tailwind/checkbox/index.d.ts +5 -7
- package/dist/templates/tailwind/checkbox/index.js +42 -0
- package/dist/templates/tailwind/checkbox/index.js.map +1 -0
- package/dist/templates/tailwind/columns/index.d.ts +4 -5
- package/dist/templates/tailwind/columns/index.js +21 -0
- package/dist/templates/tailwind/columns/index.js.map +1 -0
- package/dist/templates/tailwind/component/index.d.ts +4 -5
- package/dist/templates/tailwind/component/index.js +15 -0
- package/dist/templates/tailwind/component/index.js.map +1 -0
- package/dist/templates/tailwind/componentModal/index.d.ts +4 -5
- package/dist/templates/tailwind/componentModal/index.js +35 -0
- package/dist/templates/tailwind/componentModal/index.js.map +1 -0
- package/dist/templates/tailwind/components/index.d.ts +4 -5
- package/dist/templates/tailwind/components/index.js +10 -0
- package/dist/templates/tailwind/components/index.js.map +1 -0
- package/dist/templates/tailwind/container/index.d.ts +4 -5
- package/dist/templates/tailwind/container/index.js +12 -0
- package/dist/templates/tailwind/container/index.js.map +1 -0
- package/dist/templates/tailwind/cssClasses.d.ts +7 -7
- package/dist/templates/tailwind/cssClasses.js +10 -0
- package/dist/templates/tailwind/cssClasses.js.map +1 -0
- package/dist/templates/tailwind/datagrid/index.d.ts +5 -7
- package/dist/templates/tailwind/datagrid/index.js +132 -0
- package/dist/templates/tailwind/datagrid/index.js.map +1 -0
- package/dist/templates/tailwind/day/index.d.ts +4 -5
- package/dist/templates/tailwind/day/index.js +53 -0
- package/dist/templates/tailwind/day/index.js.map +1 -0
- package/dist/templates/tailwind/dialog/index.d.ts +4 -5
- package/dist/templates/tailwind/dialog/index.js +16 -0
- package/dist/templates/tailwind/dialog/index.js.map +1 -0
- package/dist/templates/tailwind/editgrid/index.d.ts +5 -7
- package/dist/templates/tailwind/editgrid/index.js +92 -0
- package/dist/templates/tailwind/editgrid/index.js.map +1 -0
- package/dist/templates/tailwind/editgridTable/index.d.ts +5 -7
- package/dist/templates/tailwind/editgridTable/index.js +121 -0
- package/dist/templates/tailwind/editgridTable/index.js.map +1 -0
- package/dist/templates/tailwind/errorsList/index.d.ts +4 -5
- package/dist/templates/tailwind/errorsList/index.js +30 -0
- package/dist/templates/tailwind/errorsList/index.js.map +1 -0
- package/dist/templates/tailwind/field/index.d.ts +5 -7
- package/dist/templates/tailwind/field/index.js +55 -0
- package/dist/templates/tailwind/field/index.js.map +1 -0
- package/dist/templates/tailwind/fieldset/index.d.ts +4 -5
- package/dist/templates/tailwind/fieldset/index.js +25 -0
- package/dist/templates/tailwind/fieldset/index.js.map +1 -0
- package/dist/templates/tailwind/file/index.d.ts +4 -5
- package/dist/templates/tailwind/file/index.js +158 -0
- package/dist/templates/tailwind/file/index.js.map +1 -0
- package/dist/templates/tailwind/html/index.d.ts +4 -5
- package/dist/templates/tailwind/html/index.js +16 -0
- package/dist/templates/tailwind/html/index.js.map +1 -0
- package/dist/templates/tailwind/icon/index.d.ts +4 -5
- package/dist/templates/tailwind/icon/index.js +10 -0
- package/dist/templates/tailwind/icon/index.js.map +1 -0
- package/dist/templates/tailwind/iconClass.d.ts +3 -3
- package/dist/templates/tailwind/iconClass.js +57 -0
- package/dist/templates/tailwind/iconClass.js.map +1 -0
- package/dist/templates/tailwind/index.d.ts +217 -217
- package/dist/templates/tailwind/index.js +145 -0
- package/dist/templates/tailwind/index.js.map +1 -0
- package/dist/templates/tailwind/input/index.d.ts +5 -7
- package/dist/templates/tailwind/input/index.js +78 -0
- package/dist/templates/tailwind/input/index.js.map +1 -0
- package/dist/templates/tailwind/label/index.d.ts +4 -5
- package/dist/templates/tailwind/label/index.js +23 -0
- package/dist/templates/tailwind/label/index.js.map +1 -0
- package/dist/templates/tailwind/loader/index.d.ts +4 -5
- package/dist/templates/tailwind/loader/index.js +14 -0
- package/dist/templates/tailwind/loader/index.js.map +1 -0
- package/dist/templates/tailwind/loading/index.d.ts +4 -5
- package/dist/templates/tailwind/loading/index.js +10 -0
- package/dist/templates/tailwind/loading/index.js.map +1 -0
- package/dist/templates/tailwind/map/index.d.ts +4 -5
- package/dist/templates/tailwind/map/index.js +10 -0
- package/dist/templates/tailwind/map/index.js.map +1 -0
- package/dist/templates/tailwind/message/index.d.ts +4 -5
- package/dist/templates/tailwind/message/index.js +10 -0
- package/dist/templates/tailwind/message/index.js.map +1 -0
- package/dist/templates/tailwind/modalPreview/index.d.ts +4 -5
- package/dist/templates/tailwind/modalPreview/index.js +24 -0
- package/dist/templates/tailwind/modalPreview/index.js.map +1 -0
- package/dist/templates/tailwind/modaldialog/index.d.ts +4 -5
- package/dist/templates/tailwind/modaldialog/index.js +22 -0
- package/dist/templates/tailwind/modaldialog/index.js.map +1 -0
- package/dist/templates/tailwind/modaledit/index.d.ts +4 -5
- package/dist/templates/tailwind/modaledit/index.js +19 -0
- package/dist/templates/tailwind/modaledit/index.js.map +1 -0
- package/dist/templates/tailwind/multiValueRow/index.d.ts +4 -5
- package/dist/templates/tailwind/multiValueRow/index.js +21 -0
- package/dist/templates/tailwind/multiValueRow/index.js.map +1 -0
- package/dist/templates/tailwind/multiValueTable/index.d.ts +4 -5
- package/dist/templates/tailwind/multiValueTable/index.js +21 -0
- package/dist/templates/tailwind/multiValueTable/index.js.map +1 -0
- package/dist/templates/tailwind/multipleMasksInput/index.d.ts +4 -5
- package/dist/templates/tailwind/multipleMasksInput/index.js +34 -0
- package/dist/templates/tailwind/multipleMasksInput/index.js.map +1 -0
- package/dist/templates/tailwind/panel/index.d.ts +4 -5
- package/dist/templates/tailwind/panel/index.js +39 -0
- package/dist/templates/tailwind/panel/index.js.map +1 -0
- package/dist/templates/tailwind/pdf/index.d.ts +4 -5
- package/dist/templates/tailwind/pdf/index.js +19 -0
- package/dist/templates/tailwind/pdf/index.js.map +1 -0
- package/dist/templates/tailwind/pdfBuilder/index.d.ts +4 -5
- package/dist/templates/tailwind/pdfBuilder/index.js +18 -0
- package/dist/templates/tailwind/pdfBuilder/index.js.map +1 -0
- package/dist/templates/tailwind/pdfBuilderUpload/index.d.ts +4 -5
- package/dist/templates/tailwind/pdfBuilderUpload/index.js +25 -0
- package/dist/templates/tailwind/pdfBuilderUpload/index.js.map +1 -0
- package/dist/templates/tailwind/radio/index.d.ts +5 -7
- package/dist/templates/tailwind/radio/index.js +66 -0
- package/dist/templates/tailwind/radio/index.js.map +1 -0
- package/dist/templates/tailwind/resourceAdd/index.d.ts +4 -5
- package/dist/templates/tailwind/resourceAdd/index.js +26 -0
- package/dist/templates/tailwind/resourceAdd/index.js.map +1 -0
- package/dist/templates/tailwind/select/index.d.ts +5 -7
- package/dist/templates/tailwind/select/index.js +40 -0
- package/dist/templates/tailwind/select/index.js.map +1 -0
- package/dist/templates/tailwind/selectOption/index.d.ts +5 -7
- package/dist/templates/tailwind/selectOption/index.js +25 -0
- package/dist/templates/tailwind/selectOption/index.js.map +1 -0
- package/dist/templates/tailwind/signature/index.d.ts +5 -7
- package/dist/templates/tailwind/signature/index.js +37 -0
- package/dist/templates/tailwind/signature/index.js.map +1 -0
- package/dist/templates/tailwind/survey/index.d.ts +5 -7
- package/dist/templates/tailwind/survey/index.js +71 -0
- package/dist/templates/tailwind/survey/index.js.map +1 -0
- package/dist/templates/tailwind/tab/index.d.ts +5 -7
- package/dist/templates/tailwind/tab/index.js +60 -0
- package/dist/templates/tailwind/tab/index.js.map +1 -0
- package/dist/templates/tailwind/table/index.d.ts +4 -5
- package/dist/templates/tailwind/table/index.js +41 -0
- package/dist/templates/tailwind/table/index.js.map +1 -0
- package/dist/templates/tailwind/tableComponents/index.d.ts +4 -5
- package/dist/templates/tailwind/tableComponents/index.js +16 -0
- package/dist/templates/tailwind/tableComponents/index.js.map +1 -0
- package/dist/templates/tailwind/tree/index.d.ts +4 -5
- package/dist/templates/tailwind/tree/index.js +29 -0
- package/dist/templates/tailwind/tree/index.js.map +1 -0
- package/dist/templates/tailwind/tree/partials/index.d.ts +9 -11
- package/dist/templates/tailwind/tree/partials/index.js +53 -0
- package/dist/templates/tailwind/tree/partials/index.js.map +1 -0
- package/dist/templates/tailwind/webform/index.d.ts +5 -7
- package/dist/templates/tailwind/webform/index.js +15 -0
- package/dist/templates/tailwind/webform/index.js.map +1 -0
- package/dist/templates/tailwind/well/index.d.ts +4 -5
- package/dist/templates/tailwind/well/index.js +14 -0
- package/dist/templates/tailwind/well/index.js.map +1 -0
- package/dist/templates/tailwind/wizard/index.d.ts +5 -7
- package/dist/templates/tailwind/wizard/index.js +44 -0
- package/dist/templates/tailwind/wizard/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeader/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeader/index.js +25 -0
- package/dist/templates/tailwind/wizardHeader/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeaderClassic/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeaderClassic/index.js +27 -0
- package/dist/templates/tailwind/wizardHeaderClassic/index.js.map +1 -0
- package/dist/templates/tailwind/wizardHeaderVertical/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardHeaderVertical/index.js +25 -0
- package/dist/templates/tailwind/wizardHeaderVertical/index.js.map +1 -0
- package/dist/templates/tailwind/wizardNav/index.d.ts +4 -5
- package/dist/templates/tailwind/wizardNav/index.js +39 -0
- package/dist/templates/tailwind/wizardNav/index.js.map +1 -0
- package/package.json +34 -17
- package/readme.md +9 -125
- package/src/tailwind/colors.ts +20 -0
- package/src/tailwind/preset.ts +163 -0
- package/src/templates/stories/alert.stories.jsx +1 -1
- package/src/templates/stories/badge.stories.jsx +1 -1
- package/src/templates/stories/breadcrumbs.stories.jsx +5 -1
- package/src/templates/stories/pagination.stories.jsx +6 -1
- package/src/templates/tailwind/address/index.ts +1 -1
- package/src/templates/tailwind/alert/index.ts +3 -0
- package/src/templates/tailwind/builder/index.ts +1 -1
- package/src/templates/tailwind/builderComponent/index.ts +1 -1
- package/src/templates/tailwind/builderComponents/index.ts +1 -1
- package/src/templates/tailwind/builderEditForm/form.ejs +4 -2
- package/src/templates/tailwind/builderEditForm/index.ts +1 -1
- package/src/templates/tailwind/builderPlaceholder/index.ts +1 -1
- package/src/templates/tailwind/builderSidebar/index.ts +1 -1
- package/src/templates/tailwind/builderSidebarGroup/form.ejs +1 -1
- package/src/templates/tailwind/builderSidebarGroup/index.ts +1 -1
- package/src/templates/tailwind/builderWizard/index.ts +1 -1
- package/src/templates/tailwind/button/button.stories.jsx +2 -2
- package/src/templates/tailwind/button/index.ts +2 -2
- package/src/templates/tailwind/checkbox/index.ts +2 -2
- package/src/templates/tailwind/columns/index.ts +1 -1
- package/src/templates/tailwind/component/index.ts +1 -1
- package/src/templates/tailwind/componentModal/index.ts +1 -1
- package/src/templates/tailwind/components/index.ts +1 -1
- package/src/templates/tailwind/container/index.ts +1 -1
- package/src/templates/tailwind/datagrid/index.ts +2 -2
- package/src/templates/tailwind/day/index.ts +1 -1
- package/src/templates/tailwind/dialog/index.ts +1 -1
- package/src/templates/tailwind/editgrid/index.ts +2 -2
- package/src/templates/tailwind/editgridTable/index.ts +2 -2
- package/src/templates/tailwind/errorsList/index.ts +1 -1
- package/src/templates/tailwind/field/index.ts +2 -2
- package/src/templates/tailwind/fieldset/index.ts +1 -1
- package/src/templates/tailwind/file/index.ts +1 -1
- package/src/templates/tailwind/html/index.ts +1 -1
- package/src/templates/tailwind/icon/index.ts +1 -1
- package/src/templates/tailwind/index.ts +0 -1
- package/src/templates/tailwind/input/index.ts +2 -2
- package/src/templates/tailwind/label/index.ts +1 -1
- package/src/templates/tailwind/loader/index.ts +1 -1
- package/src/templates/tailwind/loading/index.ts +1 -1
- package/src/templates/tailwind/map/index.ts +1 -1
- package/src/templates/tailwind/message/index.ts +1 -1
- package/src/templates/tailwind/modalPreview/index.ts +1 -1
- package/src/templates/tailwind/modaldialog/index.ts +1 -1
- package/src/templates/tailwind/modaledit/index.ts +1 -1
- package/src/templates/tailwind/multiValueRow/index.ts +1 -1
- package/src/templates/tailwind/multiValueTable/index.ts +1 -1
- package/src/templates/tailwind/multipleMasksInput/index.ts +1 -1
- package/src/templates/tailwind/panel/index.ts +1 -1
- package/src/templates/tailwind/pdf/index.ts +1 -1
- package/src/templates/tailwind/pdfBuilder/index.ts +1 -1
- package/src/templates/tailwind/pdfBuilderUpload/index.ts +1 -1
- package/src/templates/tailwind/radio/index.ts +2 -2
- package/src/templates/tailwind/resourceAdd/index.ts +1 -1
- package/src/templates/tailwind/select/index.ts +2 -2
- package/src/templates/tailwind/selectOption/index.ts +2 -2
- package/src/templates/tailwind/signature/index.ts +2 -2
- package/src/templates/tailwind/survey/index.ts +2 -2
- package/src/templates/tailwind/tab/index.ts +2 -2
- package/src/templates/tailwind/table/index.ts +1 -1
- package/src/templates/tailwind/tableComponents/index.ts +1 -1
- package/src/templates/tailwind/tree/index.ts +1 -1
- package/src/templates/tailwind/tree/partials/index.ts +2 -2
- package/src/templates/tailwind/webform/index.ts +2 -2
- package/src/templates/tailwind/well/index.ts +1 -1
- package/src/templates/tailwind/wizard/index.ts +2 -2
- package/src/templates/tailwind/wizardHeader/index.ts +1 -1
- package/src/templates/tailwind/wizardHeaderClassic/index.ts +1 -1
- package/src/templates/tailwind/wizardHeaderVertical/index.ts +1 -1
- package/src/templates/tailwind/wizardNav/index.ts +1 -1
- package/styles/modal.css +1 -0
- package/tsconfig.app.json +11 -0
- package/tsconfig.json +7 -5
- package/tsconfig.node.json +9 -4
- package/vite.config.mts +86 -0
- package/.eslintignore +0 -14
- package/.eslintrc.js +0 -7
- package/dist/index.modern.js +0 -2021
- package/dist/index.modern.js.map +0 -1
- package/dist/templates/stories/alert.stories.d.ts +0 -17
- package/dist/templates/stories/badge.stories.d.ts +0 -17
- package/dist/templates/stories/breadcrumbs.stories.d.ts +0 -37
- package/dist/templates/stories/builder.stories.d.ts +0 -3057
- package/dist/templates/stories/pagination.stories.d.ts +0 -17
- package/dist/templates/stories/progress.stories.d.ts +0 -22
- package/dist/templates/stories/wizard.stories.d.ts +0 -3057
- package/dist/templates/tailwind/address/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/address/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/alert/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderComponent/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderComponents/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderEditForm/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderPlaceholder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderSidebar/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderSidebarGroup/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/builderWizard/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/button/button.stories.d.ts +0 -22
- package/dist/templates/tailwind/button/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/button/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/checkbox/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/checkbox/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/columns/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/component/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/componentModal/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/components/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/container/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/datagrid/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/datagrid/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/day/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/dialog/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgrid/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgrid/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgridTable/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/editgridTable/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/errorsList/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/field/align.ejs.d.ts +0 -1
- package/dist/templates/tailwind/field/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/fieldset/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/file/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/html/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/icon/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/input/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/input/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/label/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/loader/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/loading/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/map/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/message/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modalPreview/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modaldialog/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/modaledit/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multiValueRow/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multiValueTable/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/multipleMasksInput/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/panel/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdf/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdfBuilder/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/pdfBuilderUpload/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/radio/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/radio/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/resourceAdd/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/select/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/select/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/selectOption/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/selectOption/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/signature/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/signature/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/survey/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/survey/html.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tab/flat.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tab/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/table/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tableComponents/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/partials/edit.ejs.d.ts +0 -1
- package/dist/templates/tailwind/tree/partials/view.ejs.d.ts +0 -1
- package/dist/templates/tailwind/webform/builder.ejs.d.ts +0 -1
- package/dist/templates/tailwind/webform/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/well/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizard/builder.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizard/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeader/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeaderClassic/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardHeaderVertical/form.ejs.d.ts +0 -1
- package/dist/templates/tailwind/wizardNav/form.ejs.d.ts +0 -1
- package/gulpfile.js +0 -25
- package/src/templates/tailwind/address/form.ejs.js +0 -58
- package/src/templates/tailwind/address/html.ejs.js +0 -13
- package/src/templates/tailwind/alert/form.ejs.js +0 -24
- package/src/templates/tailwind/alert/index.js +0 -3
- package/src/templates/tailwind/builder/form.ejs.js +0 -9
- package/src/templates/tailwind/builderComponent/form.ejs.js +0 -24
- package/src/templates/tailwind/builderComponents/form.ejs.js +0 -11
- package/src/templates/tailwind/builderEditForm/form.ejs.js +0 -50
- package/src/templates/tailwind/builderPlaceholder/form.ejs.js +0 -9
- package/src/templates/tailwind/builderSidebar/form.ejs.js +0 -16
- package/src/templates/tailwind/builderSidebarGroup/form.ejs.js +0 -60
- package/src/templates/tailwind/builderWizard/form.ejs.js +0 -30
- package/src/templates/tailwind/button/form.ejs.js +0 -52
- package/src/templates/tailwind/button/html.ejs.js +0 -5
- package/src/templates/tailwind/checkbox/form.ejs.js +0 -50
- package/src/templates/tailwind/checkbox/html.ejs.js +0 -22
- package/src/templates/tailwind/columns/form.ejs.js +0 -30
- package/src/templates/tailwind/component/form.ejs.js +0 -22
- package/src/templates/tailwind/componentModal/form.ejs.js +0 -44
- package/src/templates/tailwind/components/form.ejs.js +0 -7
- package/src/templates/tailwind/container/form.ejs.js +0 -9
- package/src/templates/tailwind/datagrid/form.ejs.js +0 -144
- package/src/templates/tailwind/datagrid/html.ejs.js +0 -46
- package/src/templates/tailwind/day/form.ejs.js +0 -98
- package/src/templates/tailwind/dialog/form.ejs.js +0 -5
- package/src/templates/tailwind/editgrid/form.ejs.js +0 -62
- package/src/templates/tailwind/editgrid/html.ejs.js +0 -52
- package/src/templates/tailwind/editgridTable/form.ejs.js +0 -66
- package/src/templates/tailwind/editgridTable/html.ejs.js +0 -56
- package/src/templates/tailwind/errorsList/form.ejs.js +0 -22
- package/src/templates/tailwind/field/align.ejs.js +0 -38
- package/src/templates/tailwind/field/form.ejs.js +0 -36
- package/src/templates/tailwind/fieldset/form.ejs.js +0 -30
- package/src/templates/tailwind/file/form.ejs.js +0 -224
- package/src/templates/tailwind/html/form.ejs.js +0 -25
- package/src/templates/tailwind/icon/form.ejs.js +0 -13
- package/src/templates/tailwind/input/form.ejs.js +0 -108
- package/src/templates/tailwind/input/html.ejs.js +0 -13
- package/src/templates/tailwind/label/form.ejs.js +0 -32
- package/src/templates/tailwind/loader/form.ejs.js +0 -5
- package/src/templates/tailwind/loading/form.ejs.js +0 -7
- package/src/templates/tailwind/map/form.ejs.js +0 -7
- package/src/templates/tailwind/message/form.ejs.js +0 -13
- package/src/templates/tailwind/modalPreview/form.ejs.js +0 -21
- package/src/templates/tailwind/modaldialog/form.ejs.js +0 -7
- package/src/templates/tailwind/modaledit/form.ejs.js +0 -9
- package/src/templates/tailwind/multiValueRow/form.ejs.js +0 -14
- package/src/templates/tailwind/multiValueTable/form.ejs.js +0 -16
- package/src/templates/tailwind/multipleMasksInput/form.ejs.js +0 -30
- package/src/templates/tailwind/panel/form.ejs.js +0 -58
- package/src/templates/tailwind/pdf/form.ejs.js +0 -13
- package/src/templates/tailwind/pdfBuilder/form.ejs.js +0 -9
- package/src/templates/tailwind/pdfBuilderUpload/form.ejs.js +0 -13
- package/src/templates/tailwind/radio/form.ejs.js +0 -84
- package/src/templates/tailwind/radio/html.ejs.js +0 -10
- package/src/templates/tailwind/resourceAdd/form.ejs.js +0 -11
- package/src/templates/tailwind/select/form.ejs.js +0 -46
- package/src/templates/tailwind/select/html.ejs.js +0 -13
- package/src/templates/tailwind/selectOption/form.ejs.js +0 -20
- package/src/templates/tailwind/selectOption/html.ejs.js +0 -11
- package/src/templates/tailwind/signature/form.ejs.js +0 -30
- package/src/templates/tailwind/signature/html.ejs.js +0 -5
- package/src/templates/tailwind/survey/form.ejs.js +0 -52
- package/src/templates/tailwind/survey/html.ejs.js +0 -22
- package/src/templates/tailwind/tab/flat.ejs.js +0 -16
- package/src/templates/tailwind/tab/form.ejs.js +0 -38
- package/src/templates/tailwind/table/form.ejs.js +0 -48
- package/src/templates/tailwind/tableComponents/form.ejs.js +0 -12
- package/src/templates/tailwind/tree/form.ejs.js +0 -32
- package/src/templates/tailwind/tree/partials/edit.ejs.js +0 -16
- package/src/templates/tailwind/tree/partials/view.ejs.js +0 -34
- package/src/templates/tailwind/webform/builder.ejs.js +0 -7
- package/src/templates/tailwind/webform/form.ejs.js +0 -9
- package/src/templates/tailwind/well/form.ejs.js +0 -9
- package/src/templates/tailwind/wizard/builder.ejs.js +0 -7
- package/src/templates/tailwind/wizard/form.ejs.js +0 -42
- package/src/templates/tailwind/wizardHeader/form.ejs.js +0 -32
- package/src/templates/tailwind/wizardHeaderClassic/form.ejs.js +0 -26
- package/src/templates/tailwind/wizardHeaderVertical/form.ejs.js +0 -28
- package/src/templates/tailwind/wizardNav/form.ejs.js +0 -64
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/table/form.ejs","../../../../src/templates/tailwind/table/index.ts"],"sourcesContent":["<table class=\"table\n {{ ctx.component.striped ? 'table-striped' : ''}}\n {{ ctx.component.bordered ? 'table-bordered' : ''}}\n {{ ctx.component.hover ? 'table-hover' : ''}}\n {{ ctx.component.condensed ? 'table-sm' : ''}}\n \">\n <caption class=\"sr-only\">{{ctx.t(ctx.component.label)}}</caption>\n {% if (ctx.component.header && ctx.component.header.length > 0) { %}\n <thead>\n <tr>\n {% ctx.component.header.forEach(function(header) { %}\n <th>{{ctx.t(header)}}</th>\n {% }) %}\n </tr>\n </thead>\n {% } %}\n <tbody>\n {% ctx.tableComponents.forEach(function(row, rowIndex) { %}\n <tr ref=\"row-{{ctx.id}}\">\n {% row.forEach(function(column, colIndex) { %}\n <td ref=\"{{ctx.tableKey}}-{{rowIndex}}\"{% if (ctx.cellClassName) { %} class=\"{{ctx.cellClassName}}\"{% } %}>{{column}}</td>\n {% }) %}\n </tr>\n {% }) %}\n </tbody>\n</table>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","header","row","rowIndex","column","colIndex","table"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,UACLD,IAAQD,EAAI,UAAU,UAAU,kBAAkB,OAAQ,OAAO,KAAKC,KACxE;AAAA,UACEA,IAAQD,EAAI,UAAU,WAAW,mBAAmB,OAAQ,OAAO,KAAKC,KAC1E;AAAA,UACEA,IAAQD,EAAI,UAAU,QAAQ,gBAAgB,OAAQ,OAAO,KAAKC,KACpE;AAAA,UACEA,IAAQD,EAAI,UAAU,YAAY,aAAa,OAAQ,OAAO,KAAKC,KACrE;AAAA;AAAA,iCACEA,IAAOD,EAAI,EAAEA,EAAI,UAAU,KAAK,MAAO,OAAO,KAAKC,KACrD;AAAA,KACKD,EAAI,UAAU,UAAUA,EAAI,UAAU,OAAO,SAAS,MAC3DE,KAAO;AAAA;AAAA;AAAA,SACNF,EAAI,UAAU,OAAO,QAAQ,SAASG,GAAQ;AAC/C,IAAAD,KAAO;AAAA,gBACLD,IAAOD,EAAI,EAAEG,CAAM,MAAO,OAAO,KAAKF,KACxC;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,MAEPA,KAAO;AAAA;AAAA,OACNF,EAAI,gBAAgB,QAAQ,SAASI,GAAKC,GAAU;AACrD,IAAAH,KAAO;AAAA,uBACLD,IAAOD,EAAI,OAAQ,OAAO,KAAKC,KACjC;AAAA,SACCG,EAAI,QAAQ,SAASE,GAAQC,GAAU;AACxC,MAAAL,KAAO;AAAA,qBACLD,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC,QACEA,IAAOI,MAAc,OAAO,KAAKJ,KACnC,KACKD,EAAI,kBACTE,KAAO,eACLD,IAAOD,EAAI,kBAAmB,OAAO,KAAKC,KAC5C,MAEAC,KAAO,QACLD,IAAOK,MAAY,OAAO,KAAKL,KACjC;AAAA;AAAA,IACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC7CA,MAAeM,IAAA,EAAE,MAAAT,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,16 @@
|
|
|
1
|
+
function l(o) {
|
|
2
|
+
var t, n = "";
|
|
3
|
+
return o.children.forEach(function(e) {
|
|
4
|
+
n += `
|
|
5
|
+
<td class="editgrid-table-column">
|
|
6
|
+
` + ((t = e) == null ? "" : t) + `
|
|
7
|
+
</td>
|
|
8
|
+
`;
|
|
9
|
+
}), n += `
|
|
10
|
+
`, n;
|
|
11
|
+
}
|
|
12
|
+
const r = { form: l };
|
|
13
|
+
export {
|
|
14
|
+
r as default
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tableComponents/form.ejs","../../../../src/templates/tailwind/tableComponents/index.ts"],"sourcesContent":["{% ctx.children.forEach(function(component) { %}\n <td class=\"editgrid-table-column\">\n {{ component }}\n </td>\n{% }) %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","component","tableComponents"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAAF,EAAI,SAAS,QAAQ,SAASG,GAAW;AAC1C,IAAAD,KAAO;AAAA;AAAA,UACLD,IAAQE,MAAgB,OAAO,KAAKF,KACtC;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA,GACAA;AACP;ACTA,MAAeE,IAAA,EAAE,MAAAL,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,29 @@
|
|
|
1
|
+
function o(e) {
|
|
2
|
+
var l, n = "";
|
|
3
|
+
return e.node.isRoot ? n += `
|
|
4
|
+
<div ref="root" class="list-group-item">
|
|
5
|
+
` : n += `
|
|
6
|
+
<li ref="node" class="list-group-item sm:col-span-12 tree__level tree__level_` + ((l = e.odd ? "odd" : "even") == null ? "" : l) + `">
|
|
7
|
+
`, n += `
|
|
8
|
+
`, e.content && (n += `
|
|
9
|
+
<div ref="content" class="tree__node-content">
|
|
10
|
+
` + ((l = e.content) == null ? "" : l) + `
|
|
11
|
+
</div>
|
|
12
|
+
`), n += `
|
|
13
|
+
`, e.childNodes && e.childNodes.length && (n += `
|
|
14
|
+
<ul ref="childNodes" class="tree__node-children list-group grid grid-cols-12 gap-4">
|
|
15
|
+
` + ((l = e.childNodes.join("")) == null ? "" : l) + `
|
|
16
|
+
</ul>
|
|
17
|
+
`), n += `
|
|
18
|
+
`, e.node.isRoot ? n += `
|
|
19
|
+
</div>
|
|
20
|
+
` : n += `
|
|
21
|
+
</li>
|
|
22
|
+
`, n += `
|
|
23
|
+
`, n;
|
|
24
|
+
}
|
|
25
|
+
const i = { form: o };
|
|
26
|
+
export {
|
|
27
|
+
i as default
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tree/form.ejs","../../../../src/templates/tailwind/tree/index.ts"],"sourcesContent":["{% if (ctx.node.isRoot) { %}\n <div ref=\"root\" class=\"list-group-item\">\n{% } else { %}\n <li ref=\"node\" class=\"list-group-item sm:col-span-12 tree__level tree__level_{{ ctx.odd ? 'odd' : 'even' }}\">\n{% } %}\n {% if (ctx.content) { %}\n <div ref=\"content\" class=\"tree__node-content\">\n {{ ctx.content }}\n </div>\n {% } %}\n {% if (ctx.childNodes && ctx.childNodes.length) { %}\n <ul ref=\"childNodes\" class=\"tree__node-children list-group grid grid-cols-12 gap-4\">\n {{ ctx.childNodes.join('') }}\n </ul>\n {% } %}\n{% if (ctx.node.isRoot) { %}\n </div>\n{% } else { %}\n </li>\n{% } %}\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","tree"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAIF,EAAI,KAAK,SACdE,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA,qFACLD,IAAQD,EAAI,MAAM,QAAQ,WAAa,OAAO,KAAKC,KACrD;AAAA,GAEAC,KAAO;AAAA,KACFF,EAAI,YACTE,KAAO;AAAA;AAAA,YACLD,IAAQD,EAAI,YAAc,OAAO,KAAKC,KACxC;AAAA;AAAA,MAEAC,KAAO;AAAA,KACFF,EAAI,cAAcA,EAAI,WAAW,WACtCE,KAAO;AAAA;AAAA,YACLD,IAAQD,EAAI,WAAW,KAAK,EAAE,MAAQ,OAAO,KAAKC,KACpD;AAAA;AAAA,MAEAC,KAAO;AAAA,GACFF,EAAI,KAAK,SACdE,KAAO;AAAA;AAAA,IAEPA,KAAO;AAAA;AAAA,GAEPA,KAAO;AAAA,GACAA;AACP;AC7BA,MAAeC,IAAA,EAAE,MAAAJ,EAAK;"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
treeView: {
|
|
3
|
+
form: string;
|
|
4
|
+
};
|
|
5
|
+
treeEdit: {
|
|
6
|
+
form: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
function l(e) {
|
|
2
|
+
var n, t = "";
|
|
3
|
+
return t += `<div class="node-edit">
|
|
4
|
+
<div ref="nodeEdit">` + ((n = e.children) == null ? "" : n) + `</div>
|
|
5
|
+
`, e.readOnly || (t += `
|
|
6
|
+
<div class="node-actions">
|
|
7
|
+
<button ref="saveNode" class="btn btn-primary saveNode">` + ((n = e.t("Save")) == null ? "" : n) + `</button>
|
|
8
|
+
<button ref="cancelNode" class="btn btn-danger cancelNode">` + ((n = e.t("Cancel")) == null ? "" : n) + `</button>
|
|
9
|
+
</div>
|
|
10
|
+
`), t += `
|
|
11
|
+
</div>
|
|
12
|
+
`, t;
|
|
13
|
+
}
|
|
14
|
+
function o(e) {
|
|
15
|
+
var n, t = "";
|
|
16
|
+
return t += `<div class="grid grid-cols-12 gap-4">
|
|
17
|
+
`, e.values.forEach(function(d) {
|
|
18
|
+
t += `
|
|
19
|
+
<div class="sm:col-span-2">
|
|
20
|
+
` + ((n = d) == null ? "" : n) + `
|
|
21
|
+
</div>
|
|
22
|
+
`;
|
|
23
|
+
}), t += `
|
|
24
|
+
<div class="sm:col-span-3">
|
|
25
|
+
<div class="btn-group pull-right">
|
|
26
|
+
`, e.node.hasChildren && (t += `
|
|
27
|
+
<button ref="toggleNode" class="btn btn-default btn-sm toggleNode">` + ((n = e.t(e.node.collapsed ? "Expand" : "Collapse")) == null ? "" : n) + `</button>
|
|
28
|
+
`), t += `
|
|
29
|
+
`, e.readOnly || (t += `
|
|
30
|
+
<button ref="addChild" class="btn btn-default btn-sm addChild">` + ((n = e.t("Add")) == null ? "" : n) + `</button>
|
|
31
|
+
<button ref="editNode" class="btn btn-default btn-sm editNode">` + ((n = e.t("Edit")) == null ? "" : n) + `</button>
|
|
32
|
+
<button ref="removeNode" class="btn btn-danger btn-sm removeNode">` + ((n = e.t("Delete")) == null ? "" : n) + `</button>
|
|
33
|
+
`, e.node.revertAvailable && (t += `
|
|
34
|
+
<button ref="revertNode" class="btn btn-danger btn-sm revertNode">` + ((n = e.t("Revert")) == null ? "" : n) + `</button>
|
|
35
|
+
`), t += `
|
|
36
|
+
`), t += `
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
`, t;
|
|
41
|
+
}
|
|
42
|
+
const a = {
|
|
43
|
+
treeView: {
|
|
44
|
+
form: o
|
|
45
|
+
},
|
|
46
|
+
treeEdit: {
|
|
47
|
+
form: l
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
a as default
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/templates/tailwind/tree/partials/edit.ejs","../../../../../src/templates/tailwind/tree/partials/view.ejs","../../../../../src/templates/tailwind/tree/partials/index.ts"],"sourcesContent":["<div class=\"node-edit\">\n <div ref=\"nodeEdit\">{{ ctx.children }}</div>\n {% if (!ctx.readOnly) { %}\n <div class=\"node-actions\">\n <button ref=\"saveNode\" class=\"btn btn-primary saveNode\">{{ ctx.t('Save') }}</button>\n <button ref=\"cancelNode\" class=\"btn btn-danger cancelNode\">{{ ctx.t('Cancel') }}</button>\n </div>\n {% } %}\n</div>\n","<div class=\"grid grid-cols-12 gap-4\">\n {% ctx.values.forEach(function(value) { %}\n <div class=\"sm:col-span-2\">\n {{ value }}\n </div>\n {% }) %}\n <div class=\"sm:col-span-3\">\n <div class=\"btn-group pull-right\">\n {% if (ctx.node.hasChildren) { %}\n <button ref=\"toggleNode\" class=\"btn btn-default btn-sm toggleNode\">{{ ctx.t(ctx.node.collapsed ? 'Expand' : 'Collapse') }}</button>\n {% } %}\n {% if (!ctx.readOnly) { %}\n <button ref=\"addChild\" class=\"btn btn-default btn-sm addChild\">{{ ctx.t('Add') }}</button>\n <button ref=\"editNode\" class=\"btn btn-default btn-sm editNode\">{{ ctx.t('Edit') }}</button>\n <button ref=\"removeNode\" class=\"btn btn-danger btn-sm removeNode\">{{ ctx.t('Delete') }}</button>\n {% if (ctx.node.revertAvailable) { %}\n <button ref=\"revertNode\" class=\"btn btn-danger btn-sm revertNode\">{{ ctx.t('Revert') }}</button>\n {% } %}\n {% } %}\n </div>\n </div>\n</div>\n","import edit from \"./edit.ejs\";\nimport view from \"./view.ejs\";\n\nexport default {\n treeView: {\n form: view\n },\n treeEdit: {\n form: edit\n }\n};\n"],"names":["edit","ctx","__t","__p","view","value","treePartials"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,4BACLD,IAAQD,EAAI,aAAe,OAAO,KAAKC,KACzC;AAAA,KACMD,EAAI,aACVE,KAAO;AAAA;AAAA,oEACLD,IAAQD,EAAI,EAAE,MAAM,MAAQ,OAAO,KAAKC,KAC1C;AAAA,uEACEA,IAAQD,EAAI,EAAE,QAAQ,MAAQ,OAAO,KAAKC,KAC5C;AAAA;AAAA,MAEAC,KAAO;AAAA;AAAA,GACAA;AACP;ACfe,SAAQC,EAACH,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA,KACNF,EAAI,OAAO,QAAQ,SAASI,GAAO;AACpC,IAAAF,KAAO;AAAA;AAAA,YACLD,IAAQG,MAAY,OAAO,KAAKH,KAClC;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,SACFF,EAAI,KAAK,gBACdE,KAAO;AAAA,iFACLD,IAAQD,EAAI,EAAEA,EAAI,KAAK,YAAY,WAAW,UAAU,MAAQ,OAAO,KAAKC,KAC9E;AAAA,UAEAC,KAAO;AAAA,SACDF,EAAI,aACVE,KAAO;AAAA,6EACLD,IAAQD,EAAI,EAAE,KAAK,MAAQ,OAAO,KAAKC,KACzC;AAAA,6EACEA,IAAQD,EAAI,EAAE,MAAM,MAAQ,OAAO,KAAKC,KAC1C;AAAA,gFACEA,IAAQD,EAAI,EAAE,QAAQ,MAAQ,OAAO,KAAKC,KAC5C;AAAA,WACKD,EAAI,KAAK,oBACdE,KAAO;AAAA,kFACLD,IAAQD,EAAI,EAAE,QAAQ,MAAQ,OAAO,KAAKC,KAC5C;AAAA,YAEAC,KAAO;AAAA,UAEPA,KAAO;AAAA;AAAA;AAAA;AAAA,GACAA;AACP;AC9BA,MAAeG,IAAA;AAAA,EACb,UAAU;AAAA,IACR,MAAMF;AAAA,EACR;AAAA,EACA,UAAU;AAAA,IACR,MAAMJ;AAAA,EAAA;AAEV;"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
builder: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function r(t) {
|
|
2
|
+
var e, n = "";
|
|
3
|
+
return n += '<div class="text-muted text-center p-2">' + ((e = t.t(t.component.title, { _userInput: !0 })) == null ? "" : e) + `</div>
|
|
4
|
+
`, n;
|
|
5
|
+
}
|
|
6
|
+
function l(t) {
|
|
7
|
+
var e, n = "";
|
|
8
|
+
return n += '<div class="' + ((e = t.classes) == null ? "" : e) + '" ref="webform" novalidate>' + ((e = t.children) == null ? "" : e) + `</div>
|
|
9
|
+
`, n;
|
|
10
|
+
}
|
|
11
|
+
const u = { form: l, builder: r };
|
|
12
|
+
export {
|
|
13
|
+
u as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/webform/builder.ejs","../../../../src/templates/tailwind/webform/form.ejs","../../../../src/templates/tailwind/webform/index.ts"],"sourcesContent":["<div class=\"text-muted text-center p-2\">{{ ctx.t(ctx.component.title, { _userInput: true }) }}</div>\n","<div class=\"{{ctx.classes}}\" ref=\"webform\" novalidate>{{ctx.children}}</div>\n","import builder from \"./builder.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { form, builder };\n"],"names":["builder","ctx","__t","__p","form","webform"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,+CACLD,IAAQD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC7E;AAAA,GACOC;AACP;ACNe,SAAQC,EAACH,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,mBACLD,IAAOD,EAAI,YAAa,OAAO,KAAKC,KACtC,kCACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA,GACOC;AACP;ACLA,MAAAE,IAAe,EAAE,MAAAD,GAAM,SAAAJ,EAAQ;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function e(n) {
|
|
2
|
+
var r, d = "";
|
|
3
|
+
return d += `<div class="border-1 border-solid border-gray-300 bg-gray-200 shadow-inner p-5 rounded">
|
|
4
|
+
<div ref="` + ((r = n.nestedKey) == null ? "" : r) + `">
|
|
5
|
+
` + ((r = n.children) == null ? "" : r) + `
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
`, d;
|
|
9
|
+
}
|
|
10
|
+
const l = { form: e };
|
|
11
|
+
export {
|
|
12
|
+
l as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/well/form.ejs","../../../../src/templates/tailwind/well/index.ts"],"sourcesContent":["<div class=\"border-1 border-solid border-gray-300 bg-gray-200 shadow-inner p-5 rounded\">\n <div ref=\"{{ctx.nestedKey}}\">\n {{ctx.children}}\n </div>\n</div>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","well"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO;AAAA,kBACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,UACEA,IAAOD,EAAI,aAAc,OAAO,KAAKC,KACvC;AAAA;AAAA;AAAA,GACOC;AACP;ACNA,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
|
+
builder: string;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
function l(i) {
|
|
2
|
+
var n, e = "";
|
|
3
|
+
return e += '<div class="text-muted text-center p-2">' + ((n = i.t(i.component.title, { _userInput: !0 })) == null ? "" : n) + `</div>
|
|
4
|
+
`, e;
|
|
5
|
+
}
|
|
6
|
+
function a(i) {
|
|
7
|
+
var n, e = "";
|
|
8
|
+
return e += '<div class="' + ((n = i.className) == null ? "" : n) + `">
|
|
9
|
+
<div style="position: relative;">
|
|
10
|
+
`, i.wizardHeaderType === "wizardHeaderVertical" ? (e += `
|
|
11
|
+
<div class="row">
|
|
12
|
+
`, i.wizardHeaderLocation !== "right" && (e += `
|
|
13
|
+
<div class="col-sm-2">
|
|
14
|
+
` + ((n = i.wizardHeader) == null ? "" : n) + `
|
|
15
|
+
</div>
|
|
16
|
+
`), e += `
|
|
17
|
+
<div class="wizard-page col-sm-10" ref="` + ((n = i.wizardKey) == null ? "" : n) + `">
|
|
18
|
+
` + ((n = i.components) == null ? "" : n) + `
|
|
19
|
+
</div>
|
|
20
|
+
`, i.wizardHeaderLocation === "right" && (e += `
|
|
21
|
+
<div class="col-sm-2">
|
|
22
|
+
` + ((n = i.wizardHeader) == null ? "" : n) + `
|
|
23
|
+
</div>
|
|
24
|
+
`), e += `
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-offset-2 col-sm-10 ` + ((n = i.wizardHeaderLocation === "right" ? "col-sm-offset-0 col-md-offset-0" : "") == null ? "" : n) + `">
|
|
27
|
+
` + ((n = i.wizardNav) == null ? "" : n) + `
|
|
28
|
+
</div>
|
|
29
|
+
`) : e += `
|
|
30
|
+
` + ((n = i.wizardHeader) == null ? "" : n) + `
|
|
31
|
+
<div class="wizard-page" ref="` + ((n = i.wizardKey) == null ? "" : n) + `">
|
|
32
|
+
` + ((n = i.components) == null ? "" : n) + `
|
|
33
|
+
</div>
|
|
34
|
+
` + ((n = i.wizardNav) == null ? "" : n) + `
|
|
35
|
+
`, e += `
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
`, e;
|
|
39
|
+
}
|
|
40
|
+
const d = { form: a, builder: l };
|
|
41
|
+
export {
|
|
42
|
+
d as default
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/wizard/builder.ejs","../../../../src/templates/tailwind/wizard/form.ejs","../../../../src/templates/tailwind/wizard/index.ts"],"sourcesContent":["<div class=\"text-muted text-center p-2\">{{ ctx.t(ctx.component.title, { _userInput: true }) }}</div>\n","<div class=\"{{ctx.className}}\">\n <div style=\"position: relative;\">\n {% if (ctx.wizardHeaderType === 'wizardHeaderVertical') { %}\n <div class=\"row\">\n {% if (ctx.wizardHeaderLocation !== 'right') { %}\n <div class=\"col-sm-2\">\n {{ ctx.wizardHeader }}\n </div>\n {% } %}\n <div class=\"wizard-page col-sm-10\" ref=\"{{ctx.wizardKey}}\">\n {{ctx.components}}\n </div>\n {% if (ctx.wizardHeaderLocation === 'right') { %}\n <div class=\"col-sm-2\">\n {{ ctx.wizardHeader }}\n </div>\n {% } %}\n </div>\n <div class=\"col-sm-offset-2 col-sm-10 {{ctx.wizardHeaderLocation === 'right' ? 'col-sm-offset-0 col-md-offset-0' : ''}}\">\n {{ ctx.wizardNav }}\n </div>\n {% } else { %}\n {{ ctx.wizardHeader }}\n <div class=\"wizard-page\" ref=\"{{ctx.wizardKey}}\">\n {{ctx.components}}\n </div>\n {{ ctx.wizardNav }}\n {% } %}\n </div>\n</div>\n","import builder from \"./builder.ejs\";\nimport form from \"./form.ejs\";\nexport default { form, builder };\n"],"names":["builder","ctx","__t","__p","form","wizard"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC7B,MAAIC,GAAKC,IAAM;AACf,SAAAA,KAAO,+CACLD,IAAQD,EAAI,EAAEA,EAAI,UAAU,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKC,KAC7E;AAAA,GACOC;AACP;ACNe,SAAQC,EAACH,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,mBACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA;AAAA,WACKD,EAAI,qBAAqB,0BAC9BE,KAAO;AAAA;AAAA,eACFF,EAAI,yBAAyB,YAClCE,KAAO;AAAA;AAAA,sBACLD,IAAQD,EAAI,iBAAmB,OAAO,KAAKC,KAC7C;AAAA;AAAA,gBAEAC,KAAO;AAAA,0DACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,sBACEA,IAAOD,EAAI,eAAgB,OAAO,KAAKC,KACzC;AAAA;AAAA,eACKD,EAAI,yBAAyB,YAClCE,KAAO;AAAA;AAAA,sBACLD,IAAQD,EAAI,iBAAmB,OAAO,KAAKC,KAC7C;AAAA;AAAA,gBAEAC,KAAO;AAAA;AAAA,oDACLD,IAAOD,EAAI,yBAAyB,UAAU,oCAAoC,OAAQ,OAAO,KAAKC,KACxG;AAAA,kBACEA,IAAQD,EAAI,cAAgB,OAAO,KAAKC,KAC1C;AAAA;AAAA,aAEAC,KAAO;AAAA,cACLD,IAAQD,EAAI,iBAAmB,OAAO,KAAKC,KAC7C;AAAA,4CACEA,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,kBACEA,IAAOD,EAAI,eAAgB,OAAO,KAAKC,KACzC;AAAA;AAAA,cACEA,IAAQD,EAAI,cAAgB,OAAO,KAAKC,KAC1C;AAAA,WAEAC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;ACvCA,MAAAE,IAAe,EAAE,MAAAD,GAAM,SAAAJ,EAAQ;"}
|
|
@@ -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 i(l) {
|
|
2
|
+
var n, a = "";
|
|
3
|
+
return a += '<nav aria-label="Wizard navigation" id="' + ((n = l.wizardKey) == null ? "" : n) + '-header" ref="' + ((n = l.wizardKey) == null ? "" : n) + `-header">
|
|
4
|
+
<ul class="pagination" role="tablist">
|
|
5
|
+
`, l.panels.forEach(function(e, t) {
|
|
6
|
+
a += `
|
|
7
|
+
<li class="page-item` + ((n = l.currentPage === t ? " active" : "") == null ? "" : n) + `" style="cursor: pointer;">
|
|
8
|
+
<button tabindex="0" data-index="` + ((n = t) == null ? "" : n) + '" role="tab" class="page-link" ref="' + ((n = l.wizardKey) == null ? "" : n) + `-link">
|
|
9
|
+
` + ((n = l.t(e.title, { _userInput: !0 })) == null ? "" : n) + `
|
|
10
|
+
`, e.tooltip && l.currentPage === t && (a += `
|
|
11
|
+
<i ref="` + ((n = l.wizardKey) == null ? "" : n) + '-tooltip" class="' + ((n = l.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = e.tooltip) == null ? "" : n) + `"></i>
|
|
12
|
+
`), a += `
|
|
13
|
+
</button>
|
|
14
|
+
</li>
|
|
15
|
+
`;
|
|
16
|
+
}), a += `
|
|
17
|
+
</ul>
|
|
18
|
+
</nav>
|
|
19
|
+
`, a;
|
|
20
|
+
}
|
|
21
|
+
const r = { form: i };
|
|
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/wizardHeader/form.ejs","../../../../src/templates/tailwind/wizardHeader/index.ts"],"sourcesContent":["<nav aria-label=\"Wizard navigation\" id=\"{{ ctx.wizardKey }}-header\" ref=\"{{ctx.wizardKey}}-header\">\n <ul class=\"pagination\" role=\"tablist\">\n {% ctx.panels.forEach(function(panel, index) { %}\n <li class=\"page-item{{ctx.currentPage === index ? ' active' : ''}}\" style=\"cursor: pointer;\">\n <button tabindex=\"0\" data-index=\"{{index}}\" role=\"tab\" class=\"page-link\" ref=\"{{ctx.wizardKey}}-link\">\n {{ctx.t(panel.title, { _userInput: true })}}\n {% if (panel.tooltip && ctx.currentPage === index) { %}\n <i ref=\"{{ctx.wizardKey}}-tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{panel.tooltip}}\"></i>\n {% } %}\n </button>\n </li>\n {% }) %}\n </ul>\n</nav>\n","import form from \"./form.ejs\";\nexport default { form };\n"],"names":["form","ctx","__t","__p","panel","index","wizardHeader"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,+CACLD,IAAQD,EAAI,cAAgB,OAAO,KAAKC,KAC1C,qBACEA,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA;AAAA,OACCD,EAAI,OAAO,QAAQ,SAASG,GAAOC,GAAO;AAC3C,IAAAF,KAAO;AAAA,8BACLD,IAAOD,EAAI,gBAAgBI,IAAQ,YAAY,OAAQ,OAAO,KAAKH,KACrE;AAAA,6CACEA,IAAOG,MAAW,OAAO,KAAKH,KAChC,2CACEA,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,cACEA,IAAOD,EAAI,EAAEG,EAAM,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KACnE;AAAA,WACKE,EAAM,WAAWH,EAAI,gBAAgBI,MAC1CF,KAAO;AAAA,sBACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,wBACEA,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOE,EAAM,YAAa,OAAO,KAAKF,KACxC;AAAA,YAEAC,KAAO;AAAA;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;AC9BA,MAAeG,IAAA,EAAE,MAAAN,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
function i(a) {
|
|
2
|
+
var n, l = "";
|
|
3
|
+
return l += '<nav aria-label="navigation" id="' + ((n = a.wizardKey) == null ? "" : n) + `-header">
|
|
4
|
+
<div class="classic-pagination row justify-content-center" style="border-bottom:0;">
|
|
5
|
+
`, a.panels.forEach(function(e, s) {
|
|
6
|
+
l += `
|
|
7
|
+
<div class="classic-pagination-page col-xs-12 col-sm-6 col-md-3
|
|
8
|
+
` + ((n = a.currentPage < s ? " disabled" : "") == null ? "" : n) + `
|
|
9
|
+
` + ((n = a.currentPage === s ? " active" : "") == null ? "" : n) + `
|
|
10
|
+
` + ((n = a.currentPage > s ? " complete" : "") == null ? "" : n) + `">
|
|
11
|
+
<div class="text-center classic-pagination-title">` + ((n = a.t(e.title, { _userInput: !0 })) == null ? "" : n) + `</div>
|
|
12
|
+
`, a.panels.length > 1 && (l += `
|
|
13
|
+
<div class="progress"><div class="progress-bar"></div></div>
|
|
14
|
+
`), l += `
|
|
15
|
+
<span ref="` + ((n = a.wizardKey) == null ? "" : n) + `-link" class="classic-pagination-dot"></span>
|
|
16
|
+
</div>
|
|
17
|
+
`;
|
|
18
|
+
}), l += `
|
|
19
|
+
</div>
|
|
20
|
+
</nav>
|
|
21
|
+
`, l;
|
|
22
|
+
}
|
|
23
|
+
const r = { form: i };
|
|
24
|
+
export {
|
|
25
|
+
r as default
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/wizardHeaderClassic/form.ejs","../../../../src/templates/tailwind/wizardHeaderClassic/index.ts"],"sourcesContent":["<nav aria-label=\"navigation\" id=\"{{ ctx.wizardKey }}-header\">\n <div class=\"classic-pagination row justify-content-center\" style=\"border-bottom:0;\">\n {% ctx.panels.forEach(function(panel, index) { %}\n <div class=\"classic-pagination-page col-xs-12 col-sm-6 col-md-3\n {{ctx.currentPage < index ? ' disabled' : ''}}\n {{ctx.currentPage === index ? ' active' : ''}}\n {{ctx.currentPage > index ? ' complete' : ''}}\">\n <div class=\"text-center classic-pagination-title\">{{ctx.t(panel.title, { _userInput: true })}}</div>\n {% if (ctx.panels.length > 1) { %}\n <div class=\"progress\"><div class=\"progress-bar\"></div></div>\n {% } %} \n <span ref=\"{{ctx.wizardKey}}-link\" class=\"classic-pagination-dot\"></span>\n </div>\n {% }) %}\n </div>\n</nav>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","panel","index","wizardHeaderClassic"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,wCACLD,IAAQD,EAAI,cAAgB,OAAO,KAAKC,KAC1C;AAAA;AAAA,OACCD,EAAI,OAAO,QAAQ,SAASG,GAAOC,GAAO;AAC3C,IAAAF,KAAO;AAAA;AAAA,gBACLD,IAAOD,EAAI,cAAcI,IAAQ,cAAc,OAAQ,OAAO,KAAKH,KACrE;AAAA,gBACEA,IAAOD,EAAI,gBAAgBI,IAAQ,YAAY,OAAQ,OAAO,KAAKH,KACrE;AAAA,gBACEA,IAAOD,EAAI,cAAcI,IAAQ,cAAc,OAAQ,OAAO,KAAKH,KACrE;AAAA,gEACEA,IAAOD,EAAI,EAAEG,EAAM,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KACnE;AAAA,WACKD,EAAI,OAAO,SAAS,MACzBE,KAAO;AAAA;AAAA,YAEPA,KAAO;AAAA,yBACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA;AAAA;AAAA,EACA,CAAE,GACFC,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;ACvBA,MAAeG,IAAA,EAAE,MAAAN,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function t(l) {
|
|
2
|
+
var n, a = "";
|
|
3
|
+
return a += '<nav aria-label="navigation" id="' + ((n = l.wizardKey) == null ? "" : n) + `-header">
|
|
4
|
+
<ul class="pagination flex-column">
|
|
5
|
+
`, l.panels.forEach(function(e, i) {
|
|
6
|
+
a += `
|
|
7
|
+
<li class="col-xs-12 page-item` + ((n = l.currentPage === i ? " active" : "") == null ? "" : n) + `" style="cursor: pointer;">
|
|
8
|
+
<span class="page-link" ref="` + ((n = l.wizardKey) == null ? "" : n) + `-link" style="margin-left: 0px;">
|
|
9
|
+
` + ((n = l.t(e.title, { _userInput: !0 })) == null ? "" : n) + `
|
|
10
|
+
`, e.tooltip && l.currentPage === i && (a += `
|
|
11
|
+
<i ref="` + ((n = l.wizardKey) == null ? "" : n) + '-tooltip" class="' + ((n = l.iconClass("question-sign")) == null ? "" : n) + ' text-muted" data-tooltip="' + ((n = e.tooltip) == null ? "" : n) + `"></i>
|
|
12
|
+
`), a += `
|
|
13
|
+
</span>
|
|
14
|
+
</li>
|
|
15
|
+
`;
|
|
16
|
+
}), a += `
|
|
17
|
+
</ul>
|
|
18
|
+
</nav>
|
|
19
|
+
`, a;
|
|
20
|
+
}
|
|
21
|
+
const r = { form: t };
|
|
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/wizardHeaderVertical/form.ejs","../../../../src/templates/tailwind/wizardHeaderVertical/index.ts"],"sourcesContent":["<nav aria-label=\"navigation\" id=\"{{ ctx.wizardKey }}-header\">\n <ul class=\"pagination flex-column\">\n {% ctx.panels.forEach(function(panel, index) { %}\n <li class=\"col-xs-12 page-item{{ctx.currentPage === index ? ' active' : ''}}\" style=\"cursor: pointer;\">\n <span class=\"page-link\" ref=\"{{ctx.wizardKey}}-link\" style=\"margin-left: 0px;\">\n {{ctx.t(panel.title, { _userInput: true })}}\n {% if (panel.tooltip && ctx.currentPage === index) { %}\n <i ref=\"{{ctx.wizardKey}}-tooltip\" class=\"{{ctx.iconClass('question-sign')}} text-muted\" data-tooltip=\"{{panel.tooltip}}\"></i>\n {% } %}\n </span>\n </li>\n {% }) %}\n </ul>\n</nav>\n","import form from \"./form.ejs\";\n\nexport default { form };\n"],"names":["form","ctx","__t","__p","panel","index","wizardHeaderVertical"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,wCACLD,IAAQD,EAAI,cAAgB,OAAO,KAAKC,KAC1C;AAAA;AAAA,OACCD,EAAI,OAAO,QAAQ,SAASG,GAAOC,GAAO;AAC3C,IAAAF,KAAO;AAAA,wCACLD,IAAOD,EAAI,gBAAgBI,IAAQ,YAAY,OAAQ,OAAO,KAAKH,KACrE;AAAA,yCACEA,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC;AAAA,cACEA,IAAOD,EAAI,EAAEG,EAAM,OAAO,EAAE,YAAY,GAAM,CAAA,MAAO,OAAO,KAAKF,KACnE;AAAA,WACKE,EAAM,WAAWH,EAAI,gBAAgBI,MAC1CF,KAAO;AAAA,sBACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,wBACEA,IAAOD,EAAI,UAAU,eAAe,MAAO,OAAO,KAAKC,KACzD,kCACEA,IAAOE,EAAM,YAAa,OAAO,KAAKF,KACxC;AAAA,YAEAC,KAAO;AAAA;AAAA;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA;AAAA,GACAA;AACP;ACzBA,MAAeG,IAAA,EAAE,MAAAN,EAAK;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
form: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
function t(l) {
|
|
2
|
+
var n, a = "";
|
|
3
|
+
return a += '<ul class="formio-wizard-nav-container list-inline" id="' + ((n = l.wizardKey) == null ? "" : n) + `-nav">
|
|
4
|
+
`, l.buttonOrder.forEach(function(i) {
|
|
5
|
+
a += `
|
|
6
|
+
`, i === "cancel" && l.buttons.cancel && (a += `
|
|
7
|
+
<li>
|
|
8
|
+
<button class="btn btn-secondary btn-wizard-nav-cancel" ref="` + ((n = l.wizardKey) == null ? "" : n) + '-cancel" aria-label="' + ((n = l.t("cancelButtonAriaLabel")) == null ? "" : n) + '">' + ((n = l.t("cancel")) == null ? "" : n) + `</button>
|
|
9
|
+
</li>
|
|
10
|
+
`), a += `
|
|
11
|
+
`, i === "previous" && l.buttons.previous && (a += `
|
|
12
|
+
<li>
|
|
13
|
+
<button class="btn btn-primary btn-wizard-nav-previous" ref="` + ((n = l.wizardKey) == null ? "" : n) + '-previous" aria-label="' + ((n = l.t("previousButtonAriaLabel")) == null ? "" : n) + '">' + ((n = l.t("previous")) == null ? "" : n) + `</button>
|
|
14
|
+
</li>
|
|
15
|
+
`), a += `
|
|
16
|
+
`, i === "next" && l.buttons.next && (a += `
|
|
17
|
+
<li>
|
|
18
|
+
<button class="btn btn-primary btn-wizard-nav-next" ref="` + ((n = l.wizardKey) == null ? "" : n) + '-next" aria-label="' + ((n = l.t("nextButtonAriaLabel")) == null ? "" : n) + '">' + ((n = l.t("next")) == null ? "" : n) + `</button>
|
|
19
|
+
</li>
|
|
20
|
+
`), a += `
|
|
21
|
+
`, i === "submit" && l.buttons.submit && (a += `
|
|
22
|
+
<li>
|
|
23
|
+
`, l.disableWizardSubmit ? a += `
|
|
24
|
+
<button disabled class="btn btn-primary btn-wizard-nav-submit" ref="` + ((n = l.wizardKey) == null ? "" : n) + '-submit" aria-label="' + ((n = l.t("submitButtonAriaLabel")) == null ? "" : n) + '">' + ((n = l.t("submit")) == null ? "" : n) + `</button>
|
|
25
|
+
` : a += `
|
|
26
|
+
<button class="btn btn-primary btn-wizard-nav-submit" ref="` + ((n = l.wizardKey) == null ? "" : n) + '-submit" aria-label="' + ((n = l.t("submitButtonAriaLabel")) == null ? "" : n) + '">' + ((n = l.t("submit")) == null ? "" : n) + `</button>
|
|
27
|
+
`, a += `
|
|
28
|
+
</li>
|
|
29
|
+
`), a += `
|
|
30
|
+
`;
|
|
31
|
+
}), a += `
|
|
32
|
+
</ul>
|
|
33
|
+
`, a;
|
|
34
|
+
}
|
|
35
|
+
const u = { form: t };
|
|
36
|
+
export {
|
|
37
|
+
u as default
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/wizardNav/form.ejs","../../../../src/templates/tailwind/wizardNav/index.ts"],"sourcesContent":["<ul class=\"formio-wizard-nav-container list-inline\" id=\"{{ ctx.wizardKey }}-nav\">\n {% ctx.buttonOrder.forEach(function(button) { %}\n {% if (button === 'cancel' && ctx.buttons.cancel) { %}\n <li>\n <button class=\"btn btn-secondary btn-wizard-nav-cancel\" ref=\"{{ctx.wizardKey}}-cancel\" aria-label=\"{{ctx.t('cancelButtonAriaLabel')}}\">{{ctx.t('cancel')}}</button>\n </li>\n {% } %}\n {% if (button === 'previous' && ctx.buttons.previous) { %}\n <li>\n <button class=\"btn btn-primary btn-wizard-nav-previous\" ref=\"{{ctx.wizardKey}}-previous\" aria-label=\"{{ctx.t('previousButtonAriaLabel')}}\">{{ctx.t('previous')}}</button>\n </li>\n {% } %}\n {% if (button === 'next' && ctx.buttons.next) { %}\n <li>\n <button class=\"btn btn-primary btn-wizard-nav-next\" ref=\"{{ctx.wizardKey}}-next\" aria-label=\"{{ctx.t('nextButtonAriaLabel')}}\">{{ctx.t('next')}}</button>\n </li>\n {% } %}\n {% if (button === 'submit' && ctx.buttons.submit) { %}\n <li>\n {% if (ctx.disableWizardSubmit){ %}\n <button disabled class=\"btn btn-primary btn-wizard-nav-submit\" ref=\"{{ctx.wizardKey}}-submit\" aria-label=\"{{ctx.t('submitButtonAriaLabel')}}\">{{ctx.t('submit')}}</button>\n {% } else { %}\n <button class=\"btn btn-primary btn-wizard-nav-submit\" ref=\"{{ctx.wizardKey}}-submit\" aria-label=\"{{ctx.t('submitButtonAriaLabel')}}\">{{ctx.t('submit')}}</button>\n {% } %}\n </li>\n {% } %}\n {% }) %}\n</ul>\n","import form from \"./form.ejs\";\nexport default { form };\n"],"names":["form","ctx","__t","__p","button","wizardNav"],"mappings":"AAAe,SAAQA,EAACC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO,+DACLD,IAAQD,EAAI,cAAgB,OAAO,KAAKC,KAC1C;AAAA,KACCD,EAAI,YAAY,QAAQ,SAASG,GAAQ;AAC1C,IAAAD,KAAO;AAAA,OACFC,MAAW,YAAYH,EAAI,QAAQ,WACxCE,KAAO;AAAA;AAAA,yEACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,4BACEA,IAAOD,EAAI,EAAE,uBAAuB,MAAO,OAAO,KAAKC,KACzD,SACEA,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA;AAAA,QAEAC,KAAO;AAAA,OACFC,MAAW,cAAcH,EAAI,QAAQ,aAC1CE,KAAO;AAAA;AAAA,yEACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,8BACEA,IAAOD,EAAI,EAAE,yBAAyB,MAAO,OAAO,KAAKC,KAC3D,SACEA,IAAOD,EAAI,EAAE,UAAU,MAAO,OAAO,KAAKC,KAC5C;AAAA;AAAA,QAEAC,KAAO;AAAA,OACFC,MAAW,UAAUH,EAAI,QAAQ,SACtCE,KAAO;AAAA;AAAA,qEACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,0BACEA,IAAOD,EAAI,EAAE,qBAAqB,MAAO,OAAO,KAAKC,KACvD,SACEA,IAAOD,EAAI,EAAE,MAAM,MAAO,OAAO,KAAKC,KACxC;AAAA;AAAA,QAEAC,KAAO;AAAA,OACFC,MAAW,YAAYH,EAAI,QAAQ,WACxCE,KAAO;AAAA;AAAA,SACFF,EAAI,sBACTE,KAAO;AAAA,gFACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,4BACEA,IAAOD,EAAI,EAAE,uBAAuB,MAAO,OAAO,KAAKC,KACzD,SACEA,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA,UAEAC,KAAO;AAAA,uEACLD,IAAOD,EAAI,cAAe,OAAO,KAAKC,KACxC,4BACEA,IAAOD,EAAI,EAAE,uBAAuB,MAAO,OAAO,KAAKC,KACzD,SACEA,IAAOD,EAAI,EAAE,QAAQ,MAAO,OAAO,KAAKC,KAC1C;AAAA,SAEAC,KAAO;AAAA;AAAA,QAEPA,KAAO;AAAA;AAAA,EACP,CAAE,GACFA,KAAO;AAAA;AAAA,GACAA;AACP;AC9DA,MAAeE,IAAA,EAAE,MAAAL,EAAK;"}
|
package/package.json
CHANGED
|
@@ -1,28 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/tailwind-formio",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha.2",
|
|
4
4
|
"description": "Tailwind templates for form.io forms.",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
|
-
"module": "dist/index.
|
|
7
|
+
"module": "dist/index.js",
|
|
7
8
|
"source": "src/index.ts",
|
|
8
|
-
"
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"tsed-source": "./src/index.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./styles/*": "./styles/*",
|
|
16
|
+
"./tailwind.preset": {
|
|
17
|
+
"types": "./dist/tailwind/preset.d.ts",
|
|
18
|
+
"default": "./dist/tailwind/preset.js"
|
|
19
|
+
},
|
|
20
|
+
"./tailwind.colors": {
|
|
21
|
+
"types": "./dist/tailwind/colors.d.ts",
|
|
22
|
+
"default": "./dist/tailwind/colors.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
9
25
|
"scripts": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"build:
|
|
15
|
-
"
|
|
26
|
+
"build": "vite build && yarn tailwind:build",
|
|
27
|
+
"watch": "vite build --watch",
|
|
28
|
+
"tailwind:build": "tailwindcss build -o build/tailwind.css && yarn tailwind:build:viewer",
|
|
29
|
+
"start:tailwind:viewer": "tailwind-config-viewer -o",
|
|
30
|
+
"tailwind:build:viewer": "tailwind-config-viewer export ./build && cp ./build/index.html ./build/tailwind.html && yarn clean:tailwind:viewer",
|
|
31
|
+
"clean:tailwind:viewer": "rimraf build/index.html build/favicon.ico"
|
|
16
32
|
},
|
|
17
33
|
"devDependencies": {
|
|
18
|
-
"@tsed/config": "2.3.2",
|
|
19
|
-
"@tsed/tailwind": "2.3.2",
|
|
20
34
|
"cross-env": "7.0.3",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
35
|
+
"rimraf": "3.0.2",
|
|
36
|
+
"tailwind-config-viewer": "2.0.4",
|
|
37
|
+
"tailwindcss": "3.4.17",
|
|
38
|
+
"vite": "5.4.11",
|
|
39
|
+
"vite-plugin-ejs": "1.7.0"
|
|
26
40
|
},
|
|
27
41
|
"browserslist": {
|
|
28
42
|
"production": [
|
|
@@ -43,5 +57,8 @@
|
|
|
43
57
|
"url": "https://github.com/TypedProject/tsed-formio/issues"
|
|
44
58
|
},
|
|
45
59
|
"homepage": "https://github.com/TypedProject/tsed-formio/tree/master/packages/tailwind-formio",
|
|
46
|
-
"author": "Romain Lenzotti"
|
|
60
|
+
"author": "Romain Lenzotti",
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"tag": "alpha"
|
|
63
|
+
}
|
|
47
64
|
}
|