@opencitylabs/bootstrap-italia 0.2.0 → 0.2.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/dist/bootstrapItalia.js +1 -0
- package/lib/cjs/bootstrapItalia.d.ts +232 -0
- package/lib/cjs/bootstrapItalia.js +9 -0
- package/lib/cjs/templates/bootstrap3/builderSidebar/form.ejs.js +3 -1
- package/lib/cjs/templates/bootstrap4/builderComponent/form.ejs.js +14 -6
- package/lib/cjs/templates/bootstrap4/checkbox/form.ejs.js +19 -3
- package/lib/cjs/templates/bootstrap4/datagrid/form.ejs.js +2 -2
- package/lib/cjs/templates/bootstrap5/builderComponent/form.ejs.js +14 -6
- package/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js +3 -1
- package/lib/cjs/templates/bootstrap5/checkbox/form.ejs.js +20 -4
- package/lib/cjs/templates/bootstrap5/datagrid/form.ejs.js +2 -2
- package/lib/cjs/templates/bootstrapItalia/address/form.ejs.js +61 -0
- package/lib/cjs/templates/bootstrapItalia/address/html.ejs.js +16 -0
- package/lib/cjs/templates/bootstrapItalia/address/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/address/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/alert/form.ejs.js +31 -0
- package/lib/cjs/templates/bootstrapItalia/alert/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/alert/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builder/form.ejs.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/builder/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builder/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderComponent/form.ejs.js +35 -0
- package/lib/cjs/templates/bootstrapItalia/builderComponent/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderComponent/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderComponents/form.ejs.js +14 -0
- package/lib/cjs/templates/bootstrapItalia/builderComponents/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderComponents/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderEditForm/form.ejs.js +65 -0
- package/lib/cjs/templates/bootstrapItalia/builderEditForm/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderEditForm/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderPlaceholder/form.ejs.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/builderPlaceholder/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderPlaceholder/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderSidebar/form.ejs.js +21 -0
- package/lib/cjs/templates/bootstrapItalia/builderSidebar/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderSidebar/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderSidebarGroup/form.ejs.js +71 -0
- package/lib/cjs/templates/bootstrapItalia/builderSidebarGroup/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderSidebarGroup/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderWizard/form.ejs.js +33 -0
- package/lib/cjs/templates/bootstrapItalia/builderWizard/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/builderWizard/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/button/form.ejs.js +51 -0
- package/lib/cjs/templates/bootstrapItalia/button/html.ejs.js +8 -0
- package/lib/cjs/templates/bootstrapItalia/button/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/button/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/checkbox/form.ejs.js +65 -0
- package/lib/cjs/templates/bootstrapItalia/checkbox/html.ejs.js +25 -0
- package/lib/cjs/templates/bootstrapItalia/checkbox/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/checkbox/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/columns/form.ejs.js +25 -0
- package/lib/cjs/templates/bootstrapItalia/columns/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/columns/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/component/form.ejs.js +25 -0
- package/lib/cjs/templates/bootstrapItalia/component/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/component/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/componentModal/form.ejs.js +47 -0
- package/lib/cjs/templates/bootstrapItalia/componentModal/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/componentModal/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/components/form.ejs.js +10 -0
- package/lib/cjs/templates/bootstrapItalia/components/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/components/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/container/form.ejs.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/container/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/container/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/cssClasses.d.ts +17 -0
- package/lib/cjs/templates/bootstrapItalia/cssClasses.js +18 -0
- package/lib/cjs/templates/bootstrapItalia/datagrid/form.ejs.js +145 -0
- package/lib/cjs/templates/bootstrapItalia/datagrid/html.ejs.js +49 -0
- package/lib/cjs/templates/bootstrapItalia/datagrid/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/datagrid/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/day/form.ejs.js +101 -0
- package/lib/cjs/templates/bootstrapItalia/day/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/day/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/dialog/form.ejs.js +8 -0
- package/lib/cjs/templates/bootstrapItalia/dialog/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/dialog/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/editgrid/form.ejs.js +65 -0
- package/lib/cjs/templates/bootstrapItalia/editgrid/html.ejs.js +55 -0
- package/lib/cjs/templates/bootstrapItalia/editgrid/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/editgrid/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/editgridTable/form.ejs.js +69 -0
- package/lib/cjs/templates/bootstrapItalia/editgridTable/html.ejs.js +59 -0
- package/lib/cjs/templates/bootstrapItalia/editgridTable/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/editgridTable/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/errorsList/form.ejs.js +25 -0
- package/lib/cjs/templates/bootstrapItalia/errorsList/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/errorsList/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/field/align.ejs.js +41 -0
- package/lib/cjs/templates/bootstrapItalia/field/form.ejs.js +39 -0
- package/lib/cjs/templates/bootstrapItalia/field/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/field/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/fieldset/form.ejs.js +31 -0
- package/lib/cjs/templates/bootstrapItalia/fieldset/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/fieldset/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/file/form.ejs.js +345 -0
- package/lib/cjs/templates/bootstrapItalia/file/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/file/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/html/form.ejs.js +28 -0
- package/lib/cjs/templates/bootstrapItalia/html/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/html/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/icon/form.ejs.js +16 -0
- package/lib/cjs/templates/bootstrapItalia/icon/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/icon/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/iconClass.d.ts +2 -0
- package/lib/cjs/templates/bootstrapItalia/iconClass.js +137 -0
- package/lib/cjs/templates/bootstrapItalia/index.d.ts +227 -0
- package/lib/cjs/templates/bootstrapItalia/index.js +144 -0
- package/lib/cjs/templates/bootstrapItalia/input/form.ejs.js +129 -0
- package/lib/cjs/templates/bootstrapItalia/input/html.ejs.js +16 -0
- package/lib/cjs/templates/bootstrapItalia/input/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/input/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/label/form.ejs.js +41 -0
- package/lib/cjs/templates/bootstrapItalia/label/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/label/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/loader/form.ejs.js +8 -0
- package/lib/cjs/templates/bootstrapItalia/loader/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/loader/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/loading/form.ejs.js +8 -0
- package/lib/cjs/templates/bootstrapItalia/loading/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/loading/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/map/form.ejs.js +10 -0
- package/lib/cjs/templates/bootstrapItalia/map/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/map/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/message/form.ejs.js +16 -0
- package/lib/cjs/templates/bootstrapItalia/message/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/message/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/modalPreview/form.ejs.js +24 -0
- package/lib/cjs/templates/bootstrapItalia/modalPreview/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/modalPreview/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/modaldialog/form.ejs.js +10 -0
- package/lib/cjs/templates/bootstrapItalia/modaldialog/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/modaldialog/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/modaledit/form.ejs.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/modaledit/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/modaledit/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/multiValueRow/form.ejs.js +17 -0
- package/lib/cjs/templates/bootstrapItalia/multiValueRow/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/multiValueRow/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/multiValueTable/form.ejs.js +19 -0
- package/lib/cjs/templates/bootstrapItalia/multiValueTable/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/multiValueTable/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/multipleMasksInput/form.ejs.js +33 -0
- package/lib/cjs/templates/bootstrapItalia/multipleMasksInput/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/multipleMasksInput/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/panel/form.ejs.js +61 -0
- package/lib/cjs/templates/bootstrapItalia/panel/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/panel/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/pdf/form.ejs.js +16 -0
- package/lib/cjs/templates/bootstrapItalia/pdf/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/pdf/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/pdfBuilder/form.ejs.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/pdfBuilder/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/pdfBuilder/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/pdfBuilderUpload/form.ejs.js +16 -0
- package/lib/cjs/templates/bootstrapItalia/pdfBuilderUpload/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/pdfBuilderUpload/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/radio/form.ejs.js +97 -0
- package/lib/cjs/templates/bootstrapItalia/radio/html.ejs.js +13 -0
- package/lib/cjs/templates/bootstrapItalia/radio/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/radio/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/resourceAdd/form.ejs.js +14 -0
- package/lib/cjs/templates/bootstrapItalia/resourceAdd/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/resourceAdd/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/select/form.ejs.js +49 -0
- package/lib/cjs/templates/bootstrapItalia/select/html.ejs.js +16 -0
- package/lib/cjs/templates/bootstrapItalia/select/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/select/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/selectOption/form.ejs.js +23 -0
- package/lib/cjs/templates/bootstrapItalia/selectOption/html.ejs.js +14 -0
- package/lib/cjs/templates/bootstrapItalia/selectOption/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/selectOption/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/signature/form.ejs.js +33 -0
- package/lib/cjs/templates/bootstrapItalia/signature/html.ejs.js +8 -0
- package/lib/cjs/templates/bootstrapItalia/signature/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/signature/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/survey/form.ejs.js +55 -0
- package/lib/cjs/templates/bootstrapItalia/survey/html.ejs.js +25 -0
- package/lib/cjs/templates/bootstrapItalia/survey/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/survey/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/tab/flat.ejs.js +19 -0
- package/lib/cjs/templates/bootstrapItalia/tab/form.ejs.js +41 -0
- package/lib/cjs/templates/bootstrapItalia/tab/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/tab/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/table/form.ejs.js +51 -0
- package/lib/cjs/templates/bootstrapItalia/table/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/table/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/tableComponents/form.ejs.js +15 -0
- package/lib/cjs/templates/bootstrapItalia/tableComponents/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/tableComponents/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/tree/form.ejs.js +35 -0
- package/lib/cjs/templates/bootstrapItalia/tree/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/tree/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/tree/partials/edit.ejs.js +19 -0
- package/lib/cjs/templates/bootstrapItalia/tree/partials/index.d.ts +9 -0
- package/lib/cjs/templates/bootstrapItalia/tree/partials/index.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/tree/partials/view.ejs.js +37 -0
- package/lib/cjs/templates/bootstrapItalia/webform/builder.ejs.js +10 -0
- package/lib/cjs/templates/bootstrapItalia/webform/form.ejs.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/webform/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/webform/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/well/form.ejs.js +12 -0
- package/lib/cjs/templates/bootstrapItalia/well/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/well/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizard/builder.ejs.js +10 -0
- package/lib/cjs/templates/bootstrapItalia/wizard/form.ejs.js +45 -0
- package/lib/cjs/templates/bootstrapItalia/wizard/index.d.ts +5 -0
- package/lib/cjs/templates/bootstrapItalia/wizard/index.js +5 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeader/form.ejs.js +35 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeader/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeader/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeaderClassic/form.ejs.js +29 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeaderClassic/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeaderClassic/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeaderVertical/form.ejs.js +31 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeaderVertical/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizardHeaderVertical/index.js +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizardNav/form.ejs.js +67 -0
- package/lib/cjs/templates/bootstrapItalia/wizardNav/index.d.ts +4 -0
- package/lib/cjs/templates/bootstrapItalia/wizardNav/index.js +4 -0
- package/lib/css/styles.css +0 -0
- package/lib/mjs/bootstrapItalia.d.ts +232 -0
- package/lib/mjs/bootstrapItalia.js +7 -0
- package/lib/mjs/templates/bootstrap3/builderSidebar/form.ejs.js +3 -1
- package/lib/mjs/templates/bootstrap4/builderComponent/form.ejs.js +14 -6
- package/lib/mjs/templates/bootstrap4/checkbox/form.ejs.js +19 -3
- package/lib/mjs/templates/bootstrap4/datagrid/form.ejs.js +2 -2
- package/lib/mjs/templates/bootstrap5/builderComponent/form.ejs.js +14 -6
- package/lib/mjs/templates/bootstrap5/builderSidebar/form.ejs.js +3 -1
- package/lib/mjs/templates/bootstrap5/checkbox/form.ejs.js +20 -4
- package/lib/mjs/templates/bootstrap5/datagrid/form.ejs.js +2 -2
- package/lib/mjs/templates/bootstrapItalia/address/form.ejs.js +58 -0
- package/lib/mjs/templates/bootstrapItalia/address/html.ejs.js +13 -0
- package/lib/mjs/templates/bootstrapItalia/address/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/address/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/alert/form.ejs.js +28 -0
- package/lib/mjs/templates/bootstrapItalia/alert/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/alert/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builder/form.ejs.js +9 -0
- package/lib/mjs/templates/bootstrapItalia/builder/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builder/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builderComponent/form.ejs.js +32 -0
- package/lib/mjs/templates/bootstrapItalia/builderComponent/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builderComponent/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builderComponents/form.ejs.js +11 -0
- package/lib/mjs/templates/bootstrapItalia/builderComponents/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builderComponents/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builderEditForm/form.ejs.js +62 -0
- package/lib/mjs/templates/bootstrapItalia/builderEditForm/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builderEditForm/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builderPlaceholder/form.ejs.js +9 -0
- package/lib/mjs/templates/bootstrapItalia/builderPlaceholder/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builderPlaceholder/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builderSidebar/form.ejs.js +18 -0
- package/lib/mjs/templates/bootstrapItalia/builderSidebar/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builderSidebar/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builderSidebarGroup/form.ejs.js +68 -0
- package/lib/mjs/templates/bootstrapItalia/builderSidebarGroup/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builderSidebarGroup/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/builderWizard/form.ejs.js +30 -0
- package/lib/mjs/templates/bootstrapItalia/builderWizard/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/builderWizard/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/button/form.ejs.js +48 -0
- package/lib/mjs/templates/bootstrapItalia/button/html.ejs.js +5 -0
- package/lib/mjs/templates/bootstrapItalia/button/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/button/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/checkbox/form.ejs.js +62 -0
- package/lib/mjs/templates/bootstrapItalia/checkbox/html.ejs.js +22 -0
- package/lib/mjs/templates/bootstrapItalia/checkbox/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/checkbox/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/columns/form.ejs.js +22 -0
- package/lib/mjs/templates/bootstrapItalia/columns/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/columns/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/component/form.ejs.js +22 -0
- package/lib/mjs/templates/bootstrapItalia/component/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/component/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/componentModal/form.ejs.js +44 -0
- package/lib/mjs/templates/bootstrapItalia/componentModal/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/componentModal/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/components/form.ejs.js +7 -0
- package/lib/mjs/templates/bootstrapItalia/components/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/components/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/container/form.ejs.js +9 -0
- package/lib/mjs/templates/bootstrapItalia/container/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/container/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/cssClasses.d.ts +17 -0
- package/lib/mjs/templates/bootstrapItalia/cssClasses.js +16 -0
- package/lib/mjs/templates/bootstrapItalia/datagrid/form.ejs.js +142 -0
- package/lib/mjs/templates/bootstrapItalia/datagrid/html.ejs.js +46 -0
- package/lib/mjs/templates/bootstrapItalia/datagrid/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/datagrid/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/day/form.ejs.js +98 -0
- package/lib/mjs/templates/bootstrapItalia/day/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/day/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/dialog/form.ejs.js +5 -0
- package/lib/mjs/templates/bootstrapItalia/dialog/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/dialog/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/editgrid/form.ejs.js +62 -0
- package/lib/mjs/templates/bootstrapItalia/editgrid/html.ejs.js +52 -0
- package/lib/mjs/templates/bootstrapItalia/editgrid/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/editgrid/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/editgridTable/form.ejs.js +66 -0
- package/lib/mjs/templates/bootstrapItalia/editgridTable/html.ejs.js +56 -0
- package/lib/mjs/templates/bootstrapItalia/editgridTable/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/editgridTable/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/errorsList/form.ejs.js +22 -0
- package/lib/mjs/templates/bootstrapItalia/errorsList/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/errorsList/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/field/align.ejs.js +38 -0
- package/lib/mjs/templates/bootstrapItalia/field/form.ejs.js +36 -0
- package/lib/mjs/templates/bootstrapItalia/field/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/field/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/fieldset/form.ejs.js +28 -0
- package/lib/mjs/templates/bootstrapItalia/fieldset/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/fieldset/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/file/form.ejs.js +342 -0
- package/lib/mjs/templates/bootstrapItalia/file/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/file/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/html/form.ejs.js +25 -0
- package/lib/mjs/templates/bootstrapItalia/html/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/html/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/icon/form.ejs.js +13 -0
- package/lib/mjs/templates/bootstrapItalia/icon/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/icon/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/iconClass.d.ts +2 -0
- package/lib/mjs/templates/bootstrapItalia/iconClass.js +135 -0
- package/lib/mjs/templates/bootstrapItalia/index.d.ts +227 -0
- package/lib/mjs/templates/bootstrapItalia/index.js +148 -0
- package/lib/mjs/templates/bootstrapItalia/input/form.ejs.js +126 -0
- package/lib/mjs/templates/bootstrapItalia/input/html.ejs.js +13 -0
- package/lib/mjs/templates/bootstrapItalia/input/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/input/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/label/form.ejs.js +38 -0
- package/lib/mjs/templates/bootstrapItalia/label/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/label/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/loader/form.ejs.js +5 -0
- package/lib/mjs/templates/bootstrapItalia/loader/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/loader/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/loading/form.ejs.js +5 -0
- package/lib/mjs/templates/bootstrapItalia/loading/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/loading/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/map/form.ejs.js +7 -0
- package/lib/mjs/templates/bootstrapItalia/map/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/map/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/message/form.ejs.js +13 -0
- package/lib/mjs/templates/bootstrapItalia/message/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/message/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/modalPreview/form.ejs.js +21 -0
- package/lib/mjs/templates/bootstrapItalia/modalPreview/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/modalPreview/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/modaldialog/form.ejs.js +7 -0
- package/lib/mjs/templates/bootstrapItalia/modaldialog/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/modaldialog/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/modaledit/form.ejs.js +9 -0
- package/lib/mjs/templates/bootstrapItalia/modaledit/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/modaledit/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/multiValueRow/form.ejs.js +14 -0
- package/lib/mjs/templates/bootstrapItalia/multiValueRow/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/multiValueRow/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/multiValueTable/form.ejs.js +16 -0
- package/lib/mjs/templates/bootstrapItalia/multiValueTable/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/multiValueTable/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/multipleMasksInput/form.ejs.js +30 -0
- package/lib/mjs/templates/bootstrapItalia/multipleMasksInput/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/multipleMasksInput/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/panel/form.ejs.js +58 -0
- package/lib/mjs/templates/bootstrapItalia/panel/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/panel/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/pdf/form.ejs.js +13 -0
- package/lib/mjs/templates/bootstrapItalia/pdf/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/pdf/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/pdfBuilder/form.ejs.js +9 -0
- package/lib/mjs/templates/bootstrapItalia/pdfBuilder/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/pdfBuilder/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/pdfBuilderUpload/form.ejs.js +13 -0
- package/lib/mjs/templates/bootstrapItalia/pdfBuilderUpload/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/pdfBuilderUpload/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/radio/form.ejs.js +94 -0
- package/lib/mjs/templates/bootstrapItalia/radio/html.ejs.js +10 -0
- package/lib/mjs/templates/bootstrapItalia/radio/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/radio/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/resourceAdd/form.ejs.js +11 -0
- package/lib/mjs/templates/bootstrapItalia/resourceAdd/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/resourceAdd/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/select/form.ejs.js +46 -0
- package/lib/mjs/templates/bootstrapItalia/select/html.ejs.js +13 -0
- package/lib/mjs/templates/bootstrapItalia/select/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/select/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/selectOption/form.ejs.js +20 -0
- package/lib/mjs/templates/bootstrapItalia/selectOption/html.ejs.js +11 -0
- package/lib/mjs/templates/bootstrapItalia/selectOption/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/selectOption/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/signature/form.ejs.js +30 -0
- package/lib/mjs/templates/bootstrapItalia/signature/html.ejs.js +5 -0
- package/lib/mjs/templates/bootstrapItalia/signature/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/signature/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/survey/form.ejs.js +52 -0
- package/lib/mjs/templates/bootstrapItalia/survey/html.ejs.js +22 -0
- package/lib/mjs/templates/bootstrapItalia/survey/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/survey/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/tab/flat.ejs.js +16 -0
- package/lib/mjs/templates/bootstrapItalia/tab/form.ejs.js +38 -0
- package/lib/mjs/templates/bootstrapItalia/tab/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/tab/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/table/form.ejs.js +48 -0
- package/lib/mjs/templates/bootstrapItalia/table/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/table/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/tableComponents/form.ejs.js +12 -0
- package/lib/mjs/templates/bootstrapItalia/tableComponents/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/tableComponents/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/tree/form.ejs.js +32 -0
- package/lib/mjs/templates/bootstrapItalia/tree/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/tree/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/tree/partials/edit.ejs.js +16 -0
- package/lib/mjs/templates/bootstrapItalia/tree/partials/index.d.ts +9 -0
- package/lib/mjs/templates/bootstrapItalia/tree/partials/index.js +10 -0
- package/lib/mjs/templates/bootstrapItalia/tree/partials/view.ejs.js +34 -0
- package/lib/mjs/templates/bootstrapItalia/webform/builder.ejs.js +7 -0
- package/lib/mjs/templates/bootstrapItalia/webform/form.ejs.js +9 -0
- package/lib/mjs/templates/bootstrapItalia/webform/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/webform/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/well/form.ejs.js +9 -0
- package/lib/mjs/templates/bootstrapItalia/well/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/well/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/wizard/builder.ejs.js +7 -0
- package/lib/mjs/templates/bootstrapItalia/wizard/form.ejs.js +42 -0
- package/lib/mjs/templates/bootstrapItalia/wizard/index.d.ts +5 -0
- package/lib/mjs/templates/bootstrapItalia/wizard/index.js +3 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeader/form.ejs.js +32 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeader/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeader/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeaderClassic/form.ejs.js +26 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeaderClassic/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeaderClassic/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeaderVertical/form.ejs.js +28 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeaderVertical/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/wizardHeaderVertical/index.js +2 -0
- package/lib/mjs/templates/bootstrapItalia/wizardNav/form.ejs.js +64 -0
- package/lib/mjs/templates/bootstrapItalia/wizardNav/index.d.ts +4 -0
- package/lib/mjs/templates/bootstrapItalia/wizardNav/index.js +2 -0
- package/lib/sass/styles.scss +0 -0
- package/package.json +8 -4
- package/dist/bootstrap3.js +0 -1
- package/dist/bootstrap4.js +0 -1
- package/dist/bootstrap5.js +0 -1
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2
|
+
value: true
|
|
3
|
+
});
|
|
4
|
+
exports.default=function(ctx) {
|
|
5
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
6
|
+
function print() { __p += __j.call(arguments, '') }
|
|
7
|
+
|
|
8
|
+
if (ctx.options.vpat) { ;
|
|
9
|
+
__p += '\n <span tabindex="-1" class="visually-hidden" id="invisible-' +
|
|
10
|
+
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
11
|
+
'-' +
|
|
12
|
+
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
13
|
+
'"></span>\n';
|
|
14
|
+
} ;
|
|
15
|
+
__p += '\n';
|
|
16
|
+
if (!ctx.self.imageUpload) { console.log(ctx) ;
|
|
17
|
+
__p += '\n ';
|
|
18
|
+
if (ctx.options.vpat) { ;
|
|
19
|
+
__p += '\n <div>' +
|
|
20
|
+
((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) +
|
|
21
|
+
'</div>\n ';
|
|
22
|
+
} ;
|
|
23
|
+
__p += '\n <ul class="list-group list-group-striped">\n <li class="list-group-item list-group-header hidden-xs hidden-sm">\n <div class="row">\n <div class="col-md-' +
|
|
24
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
25
|
+
'"><strong>' +
|
|
26
|
+
((__t = (ctx.t('File Name'))) == null ? '' : __t) +
|
|
27
|
+
'</strong></div>\n <div class="col-md-' +
|
|
28
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
29
|
+
'"><strong>' +
|
|
30
|
+
((__t = (ctx.t('Size'))) == null ? '' : __t) +
|
|
31
|
+
'</strong></div>\n ';
|
|
32
|
+
if (ctx.self.hasTypes) { ;
|
|
33
|
+
__p += '\n <div class="col-md-' +
|
|
34
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
35
|
+
'"><strong>' +
|
|
36
|
+
((__t = (ctx.t('Type'))) == null ? '' : __t) +
|
|
37
|
+
'</strong></div>\n ';
|
|
38
|
+
} ;
|
|
39
|
+
__p += '\n <div class="col-md-' +
|
|
40
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
41
|
+
' justify-center">\n ';
|
|
42
|
+
if (ctx.showSyncButton) { ;
|
|
43
|
+
__p += '\n <button\n class="btn btn-primary btn-sm"\n ref="syncNow"\n ';
|
|
44
|
+
if (ctx.disabled || ctx.isSyncing) { ;
|
|
45
|
+
__p += 'disabled=true';
|
|
46
|
+
} ;
|
|
47
|
+
__p += '\n >' +
|
|
48
|
+
((__t = (ctx.isSyncing ? ctx.t('Syncing...') : ctx.t('Sync Now'))) == null ? '' : __t) +
|
|
49
|
+
'</button>\n ';
|
|
50
|
+
} ;
|
|
51
|
+
__p += '\n </div>\n </div>\n </li>\n ';
|
|
52
|
+
ctx.files.forEach(function(file) { ;
|
|
53
|
+
__p += '\n <li class="list-group-item">\n <div class="row">\n <div class="col-md-' +
|
|
54
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
55
|
+
'">\n ';
|
|
56
|
+
if (ctx.component.uploadOnly) { ;
|
|
57
|
+
__p += '\n ' +
|
|
58
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
59
|
+
'\n ';
|
|
60
|
+
} else { ;
|
|
61
|
+
__p += '\n <a href="' +
|
|
62
|
+
((__t = (file.url || '#')) == null ? '' : __t) +
|
|
63
|
+
'" target="_blank" ref="fileLink">\n <span class="visually-hidden">' +
|
|
64
|
+
((__t = (ctx.t('Press to open '))) == null ? '' : __t) +
|
|
65
|
+
'</span>' +
|
|
66
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
67
|
+
'\n </a>\n ';
|
|
68
|
+
} ;
|
|
69
|
+
__p += '\n </div>\n <div class="col-md-' +
|
|
70
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
71
|
+
'">' +
|
|
72
|
+
((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
|
|
73
|
+
'</div>\n ';
|
|
74
|
+
if (ctx.self.hasTypes && !ctx.disabled) { ;
|
|
75
|
+
__p += '\n <div class="col-md-' +
|
|
76
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
77
|
+
'">\n <select class="file-type" ref="fileType">\n ';
|
|
78
|
+
ctx.component.fileTypes.map(function(type) { ;
|
|
79
|
+
__p += '\n <option class="test" value="' +
|
|
80
|
+
((__t = ( type.value )) == null ? '' : __t) +
|
|
81
|
+
'" ';
|
|
82
|
+
if (type.label === file.fileType) { ;
|
|
83
|
+
__p += 'selected="selected"';
|
|
84
|
+
} ;
|
|
85
|
+
__p += '>' +
|
|
86
|
+
((__t = (ctx.t(type.label))) == null ? '' : __t) +
|
|
87
|
+
'</option>\n ';
|
|
88
|
+
}); ;
|
|
89
|
+
__p += '\n </select>\n </div>\n ';
|
|
90
|
+
} ;
|
|
91
|
+
__p += '\n ';
|
|
92
|
+
if (ctx.self.hasTypes && ctx.disabled) { ;
|
|
93
|
+
__p += '\n <div class="col-md-' +
|
|
94
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
95
|
+
'">' +
|
|
96
|
+
((__t = (file.fileType)) == null ? '' : __t) +
|
|
97
|
+
'</div>\n ';
|
|
98
|
+
} ;
|
|
99
|
+
__p += '\n ';
|
|
100
|
+
if (!ctx.disabled) { ;
|
|
101
|
+
__p += '\n <div class="col-md-' +
|
|
102
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
103
|
+
' justify-center"><i tabindex="0" class="' +
|
|
104
|
+
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
105
|
+
'" ref="removeLink"></i></div>\n ';
|
|
106
|
+
} ;
|
|
107
|
+
__p += '\n </div>\n </li>\n ';
|
|
108
|
+
}) ;
|
|
109
|
+
__p += '\n ';
|
|
110
|
+
ctx.filesToDelete.forEach(function(file) { ;
|
|
111
|
+
__p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
|
|
112
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
113
|
+
'">\n <div>' +
|
|
114
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
115
|
+
'</div>\n <div class="status text-' +
|
|
116
|
+
((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
|
|
117
|
+
'">' +
|
|
118
|
+
((__t = (ctx.t(file.message))) == null ? '' : __t) +
|
|
119
|
+
'</div>\n </div>\n <div class="col-md-' +
|
|
120
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
121
|
+
'">' +
|
|
122
|
+
((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
|
|
123
|
+
'</div>\n ';
|
|
124
|
+
if (ctx.self.hasTypes) { ;
|
|
125
|
+
__p += '\n <div class="col-md-' +
|
|
126
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
127
|
+
'">\n <select class="file-type" ref="fileType">\n ';
|
|
128
|
+
ctx.component.fileTypes.map(function(type) { ;
|
|
129
|
+
__p += '\n <option class="test" value="' +
|
|
130
|
+
((__t = ( type.value )) == null ? '' : __t) +
|
|
131
|
+
'" ';
|
|
132
|
+
if (type.label === file.fileType) { ;
|
|
133
|
+
__p += 'selected="selected"';
|
|
134
|
+
} ;
|
|
135
|
+
__p += '>' +
|
|
136
|
+
((__t = (ctx.t(type.label))) == null ? '' : __t) +
|
|
137
|
+
'</option>\n ';
|
|
138
|
+
}); ;
|
|
139
|
+
__p += '\n </select>\n </div>\n ';
|
|
140
|
+
} ;
|
|
141
|
+
__p += '\n ';
|
|
142
|
+
if (!ctx.isSyncing && file.status !== 'success') { ;
|
|
143
|
+
__p += '\n <div class="col-md-' +
|
|
144
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
145
|
+
' justify-center"><i tabindex="0" class="' +
|
|
146
|
+
((__t = (ctx.iconClass('arrow-counterclockwise'))) == null ? '' : __t) +
|
|
147
|
+
'" ref="restoreFile"></i></div>\n ';
|
|
148
|
+
} ;
|
|
149
|
+
__p += '\n </div>\n </li>\n ';
|
|
150
|
+
}) ;
|
|
151
|
+
__p += '\n ';
|
|
152
|
+
ctx.filesToUpload.forEach(function(file) { ;
|
|
153
|
+
__p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
|
|
154
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
155
|
+
'">\n <div>' +
|
|
156
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
157
|
+
'</div>\n ';
|
|
158
|
+
if (file.status === 'progress') { ;
|
|
159
|
+
__p += '\n <div class="status progress">\n <div id="' +
|
|
160
|
+
((__t = (file.id)) == null ? '' : __t) +
|
|
161
|
+
'" class="progress-bar" role="progressbar" aria-valuenow="' +
|
|
162
|
+
((__t = (file.progress)) == null ? '' : __t) +
|
|
163
|
+
'" aria-valuemin="0" aria-valuemax="100" style="width: ' +
|
|
164
|
+
((__t = (file.progress)) == null ? '' : __t) +
|
|
165
|
+
'%" ref="progress">\n <span class="visually-hidden">' +
|
|
166
|
+
((__t = (file.progress)) == null ? '' : __t) +
|
|
167
|
+
'% ' +
|
|
168
|
+
((__t = (ctx.t('Complete'))) == null ? '' : __t) +
|
|
169
|
+
'</span>\n </div>\n </div>\n ';
|
|
170
|
+
} else { ;
|
|
171
|
+
__p += '\n <div class="status text-' +
|
|
172
|
+
((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
|
|
173
|
+
'">' +
|
|
174
|
+
((__t = (ctx.t(file.message))) == null ? '' : __t) +
|
|
175
|
+
'</div>\n ';
|
|
176
|
+
} ;
|
|
177
|
+
__p += '\n </div>\n <div class="col-md-' +
|
|
178
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
179
|
+
'">' +
|
|
180
|
+
((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
|
|
181
|
+
'</div>\n ';
|
|
182
|
+
if (ctx.self.hasTypes) { ;
|
|
183
|
+
__p += '\n <div class="col-md-' +
|
|
184
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
185
|
+
'">\n <select class="file-type" ref="fileType">\n ';
|
|
186
|
+
ctx.component.fileTypes.map(function(type) { ;
|
|
187
|
+
__p += '\n <option class="test" value="' +
|
|
188
|
+
((__t = ( type.value )) == null ? '' : __t) +
|
|
189
|
+
'" ';
|
|
190
|
+
if (type.label === file.fileType) { ;
|
|
191
|
+
__p += 'selected="selected"';
|
|
192
|
+
} ;
|
|
193
|
+
__p += '>' +
|
|
194
|
+
((__t = (ctx.t(type.label))) == null ? '' : __t) +
|
|
195
|
+
'</option>\n ';
|
|
196
|
+
}); ;
|
|
197
|
+
__p += '\n </select>\n </div>\n ';
|
|
198
|
+
} ;
|
|
199
|
+
__p += '\n ';
|
|
200
|
+
if (file.status === 'progress') { ;
|
|
201
|
+
__p += '\n <div class="col-md-' +
|
|
202
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
203
|
+
' justify-center"><i id="abort-' +
|
|
204
|
+
((__t = (file.id)) == null ? '' : __t) +
|
|
205
|
+
'" tabindex="0" class="' +
|
|
206
|
+
((__t = (ctx.iconClass('ban'))) == null ? '' : __t) +
|
|
207
|
+
'"></i></div>\n ';
|
|
208
|
+
} else if (!ctx.isSyncing && file.status !== 'success') { ;
|
|
209
|
+
__p += '\n <div class="col-md-' +
|
|
210
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
211
|
+
' justify-center"><i tabindex="0" class="' +
|
|
212
|
+
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
213
|
+
'" ref="fileToSyncRemove"></i></div>\n ';
|
|
214
|
+
} ;
|
|
215
|
+
__p += '\n </div>\n </li>\n ';
|
|
216
|
+
}) ;
|
|
217
|
+
__p += '\n </ul>\n';
|
|
218
|
+
} else { ;
|
|
219
|
+
__p += '\n <div>\n ';
|
|
220
|
+
ctx.files.forEach(function(file) { ;
|
|
221
|
+
__p += '\n <div>\n <span>\n <img ref="fileImage" src="" alt="' +
|
|
222
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
223
|
+
'" style="width:' +
|
|
224
|
+
((__t = (ctx.component.imageSize)) == null ? '' : __t) +
|
|
225
|
+
'px">\n ';
|
|
226
|
+
if (!ctx.disabled) { ;
|
|
227
|
+
__p += '\n <i tabindex="0" class="' +
|
|
228
|
+
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
229
|
+
'" ref="removeLink"></i>\n ';
|
|
230
|
+
} ;
|
|
231
|
+
__p += '\n </span>\n </div>\n ';
|
|
232
|
+
}) ;
|
|
233
|
+
__p += '\n </div>\n';
|
|
234
|
+
} ;
|
|
235
|
+
__p += '\n';
|
|
236
|
+
if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ;
|
|
237
|
+
__p += '\n ';
|
|
238
|
+
if (ctx.self.useWebViewCamera) { ;
|
|
239
|
+
__p += '\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="' +
|
|
240
|
+
((__t = (ctx.iconClass('book'))) == null ? '' : __t) +
|
|
241
|
+
'"></i> ' +
|
|
242
|
+
((__t = (ctx.t('Gallery'))) == null ? '' : __t) +
|
|
243
|
+
'</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="' +
|
|
244
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
245
|
+
'"></i> ' +
|
|
246
|
+
((__t = (ctx.t('Camera'))) == null ? '' : __t) +
|
|
247
|
+
'</button>\n </div>\n ';
|
|
248
|
+
} else if (!ctx.self.cameraMode) { ;
|
|
249
|
+
__p += '\n <div class="fileSelector" ref="fileDrop" ' +
|
|
250
|
+
((__t = (ctx.fileDropHidden ?'hidden' : '')) == null ? '' : __t) +
|
|
251
|
+
'>\n ';
|
|
252
|
+
if (!ctx.self.isMobile.any) { ;
|
|
253
|
+
__p += '\n <i class="' +
|
|
254
|
+
((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +
|
|
255
|
+
'"></i> ' +
|
|
256
|
+
((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) +
|
|
257
|
+
'\n ';
|
|
258
|
+
} ;
|
|
259
|
+
__p += '\n ';
|
|
260
|
+
if (ctx.self.imageUpload && ctx.component.webcam) { ;
|
|
261
|
+
__p += '\n <a href="#" ref="toggleCameraMode"><i class="' +
|
|
262
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
263
|
+
'"></i>' +
|
|
264
|
+
((__t = (ctx.t('Use Camera'))) == null ? '' : __t) +
|
|
265
|
+
'</a>\n ' +
|
|
266
|
+
((__t = (ctx.t('or'))) == null ? '' : __t) +
|
|
267
|
+
'\n ';
|
|
268
|
+
} ;
|
|
269
|
+
__p += '\n <a href="#" ref="fileBrowse" class="browse">\n ';
|
|
270
|
+
if (ctx.self.isMobile.any && ctx.component.capture) { ;
|
|
271
|
+
__p += '\n ';
|
|
272
|
+
if (ctx.component.filePattern && ctx.component.filePattern.includes("video")) { ;
|
|
273
|
+
__p += '\n <i class="' +
|
|
274
|
+
((__t = (ctx.iconClass('video'))) == null ? '' : __t) +
|
|
275
|
+
'"></i>' +
|
|
276
|
+
((__t = (ctx.t('Capture Video'))) == null ? '' : __t) +
|
|
277
|
+
'\n ';
|
|
278
|
+
} else if (ctx.component.filePattern && ctx.component.filePattern.includes("audio")) { ;
|
|
279
|
+
__p += '\n <i class="' +
|
|
280
|
+
((__t = (ctx.iconClass('microphone'))) == null ? '' : __t) +
|
|
281
|
+
'"></i>' +
|
|
282
|
+
((__t = (ctx.t('Capture Audio'))) == null ? '' : __t) +
|
|
283
|
+
'\n ';
|
|
284
|
+
} else { ;
|
|
285
|
+
__p += '\n <i class="' +
|
|
286
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
287
|
+
'"></i>' +
|
|
288
|
+
((__t = (ctx.t('Capture Image'))) == null ? '' : __t) +
|
|
289
|
+
'\n ';
|
|
290
|
+
} ;
|
|
291
|
+
__p += '\n ';
|
|
292
|
+
} else { ;
|
|
293
|
+
__p += '\n <i class="' +
|
|
294
|
+
((__t = (ctx.iconClass('folder-open'))) == null ? '' : __t) +
|
|
295
|
+
'"></i>' +
|
|
296
|
+
((__t = (ctx.t('Browse Files'))) == null ? '' : __t) +
|
|
297
|
+
'\n ';
|
|
298
|
+
} ;
|
|
299
|
+
__p += '\n <span class="visually-hidden">\n ' +
|
|
300
|
+
((__t = (ctx.t('Browse to attach file for ' + ctx.component.label + '. ' +
|
|
301
|
+
(ctx.component.description ? ctx.component.description + '. ' : '') +
|
|
302
|
+
((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)))) == null ? '' : __t) +
|
|
303
|
+
'\n </span>\n </a>\n <div ref="fileProcessingLoader" class="loader-wrapper">\n <div class="loader text-center"></div>\n </div>\n </div>\n ';
|
|
304
|
+
} else { ;
|
|
305
|
+
__p += '\n <div class="video-container">\n <video class="video" autoplay="true" ref="videoPlayer" tabindex="-1"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="' +
|
|
306
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
307
|
+
'"></i> ' +
|
|
308
|
+
((__t = (ctx.t('Take Picture'))) == null ? '' : __t) +
|
|
309
|
+
'</button>\n <button class="btn btn-primary" ref="toggleCameraMode">' +
|
|
310
|
+
((__t = (ctx.t('Switch to file upload'))) == null ? '' : __t) +
|
|
311
|
+
'</button>\n ';
|
|
312
|
+
} ;
|
|
313
|
+
__p += '\n';
|
|
314
|
+
} ;
|
|
315
|
+
__p += '\n';
|
|
316
|
+
if (!ctx.component.storage || ctx.support.hasWarning) { ;
|
|
317
|
+
__p += '\n <div class="alert alert-warning">\n ';
|
|
318
|
+
if (!ctx.component.storage) { ;
|
|
319
|
+
__p += '\n <p>' +
|
|
320
|
+
((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) +
|
|
321
|
+
'</p>\n ';
|
|
322
|
+
} ;
|
|
323
|
+
__p += '\n ';
|
|
324
|
+
if (!ctx.support.filereader) { ;
|
|
325
|
+
__p += '\n <p>' +
|
|
326
|
+
((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) +
|
|
327
|
+
'</p>\n ';
|
|
328
|
+
} ;
|
|
329
|
+
__p += '\n ';
|
|
330
|
+
if (!ctx.support.formdata) { ;
|
|
331
|
+
__p += '\n <p>' +
|
|
332
|
+
((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) +
|
|
333
|
+
'</p>\n ';
|
|
334
|
+
} ;
|
|
335
|
+
__p += '\n ';
|
|
336
|
+
if (!ctx.support.progress) { ;
|
|
337
|
+
__p += '\n <p>' +
|
|
338
|
+
((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) +
|
|
339
|
+
'</p>\n ';
|
|
340
|
+
} ;
|
|
341
|
+
__p += '\n </div>\n';
|
|
342
|
+
} ;
|
|
343
|
+
__p += '\n';
|
|
344
|
+
return __p
|
|
345
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2
|
+
value: true
|
|
3
|
+
});
|
|
4
|
+
exports.default=function(ctx) {
|
|
5
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
6
|
+
function print() { __p += __j.call(arguments, '') }
|
|
7
|
+
__p += '<' +
|
|
8
|
+
((__t = (ctx.tag)) == null ? '' : __t) +
|
|
9
|
+
' class="formio-component-htmlelement ' +
|
|
10
|
+
((__t = ( ctx.component.className )) == null ? '' : __t) +
|
|
11
|
+
'" ref="html"\n ';
|
|
12
|
+
ctx.attrs.forEach(function(attr) { ;
|
|
13
|
+
__p += '\n ' +
|
|
14
|
+
((__t = (attr.attr)) == null ? '' : __t) +
|
|
15
|
+
'="' +
|
|
16
|
+
((__t = (attr.value)) == null ? '' : __t) +
|
|
17
|
+
'"\n ';
|
|
18
|
+
}) ;
|
|
19
|
+
__p += '\n>' +
|
|
20
|
+
((__t = (ctx.t(ctx.content))) == null ? '' : __t);
|
|
21
|
+
if (!ctx.singleTags || ctx.singleTags.indexOf(ctx.tag) === -1) { ;
|
|
22
|
+
__p += '</' +
|
|
23
|
+
((__t = (ctx.tag)) == null ? '' : __t) +
|
|
24
|
+
'>';
|
|
25
|
+
} ;
|
|
26
|
+
__p += '\n';
|
|
27
|
+
return __p
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", {
|
|
2
|
+
value: true
|
|
3
|
+
});
|
|
4
|
+
exports.default=function(ctx) {
|
|
5
|
+
var __t, __p = '';
|
|
6
|
+
__p += '<i ref="' +
|
|
7
|
+
((__t = (ctx.ref)) == null ? '' : __t) +
|
|
8
|
+
'" class="' +
|
|
9
|
+
((__t = (ctx.className)) == null ? '' : __t) +
|
|
10
|
+
'" style="' +
|
|
11
|
+
((__t = (ctx.styles)) == null ? '' : __t) +
|
|
12
|
+
'">' +
|
|
13
|
+
((__t = (ctx.content)) == null ? '' : __t) +
|
|
14
|
+
'</i>\n';
|
|
15
|
+
return __p
|
|
16
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = (iconset, name, spinning) => {
|
|
4
|
+
let biName = name;
|
|
5
|
+
switch (name) {
|
|
6
|
+
case 'cog':
|
|
7
|
+
biName = 'gear';
|
|
8
|
+
break;
|
|
9
|
+
case 'copy':
|
|
10
|
+
biName = 'back';
|
|
11
|
+
break;
|
|
12
|
+
case 'bars':
|
|
13
|
+
biName = 'list';
|
|
14
|
+
break;
|
|
15
|
+
case 'remove':
|
|
16
|
+
biName = 'trash';
|
|
17
|
+
break;
|
|
18
|
+
case 'font':
|
|
19
|
+
biName = 'type';
|
|
20
|
+
break;
|
|
21
|
+
case 'hashtag':
|
|
22
|
+
biName = 'hash';
|
|
23
|
+
break;
|
|
24
|
+
case 'th-list':
|
|
25
|
+
biName = 'menu-button-wide';
|
|
26
|
+
break;
|
|
27
|
+
case 'dot-circle-o':
|
|
28
|
+
biName = 'ui-radios';
|
|
29
|
+
break;
|
|
30
|
+
case 'plus-square-o':
|
|
31
|
+
biName = 'plus-square';
|
|
32
|
+
break;
|
|
33
|
+
case 'minus-square-o':
|
|
34
|
+
biName = 'dash-square';
|
|
35
|
+
break;
|
|
36
|
+
case 'plus-square':
|
|
37
|
+
biName = 'ui-checks';
|
|
38
|
+
break;
|
|
39
|
+
case 'phone-square':
|
|
40
|
+
biName = 'phone';
|
|
41
|
+
break;
|
|
42
|
+
case 'home':
|
|
43
|
+
biName = 'house';
|
|
44
|
+
break;
|
|
45
|
+
case 'clock-o':
|
|
46
|
+
biName = 'clock';
|
|
47
|
+
break;
|
|
48
|
+
case 'usd':
|
|
49
|
+
biName = 'currency-dollar';
|
|
50
|
+
break;
|
|
51
|
+
case 'html5':
|
|
52
|
+
biName = 'file-richtext';
|
|
53
|
+
break;
|
|
54
|
+
case 'pencil-square-o':
|
|
55
|
+
biName = 'pencil-square';
|
|
56
|
+
break;
|
|
57
|
+
case 'columns':
|
|
58
|
+
biName = 'layout-three-columns';
|
|
59
|
+
break;
|
|
60
|
+
case 'list-alt':
|
|
61
|
+
biName = 'window';
|
|
62
|
+
break;
|
|
63
|
+
case 'th-large':
|
|
64
|
+
biName = 'grid-fill';
|
|
65
|
+
break;
|
|
66
|
+
case 'folder-o':
|
|
67
|
+
biName = 'folder';
|
|
68
|
+
break;
|
|
69
|
+
case 'square-o':
|
|
70
|
+
biName = 'square';
|
|
71
|
+
break;
|
|
72
|
+
case 'user-secret':
|
|
73
|
+
biName = 'person-fill-slash';
|
|
74
|
+
break;
|
|
75
|
+
case 'folder-open':
|
|
76
|
+
biName = 'folder2-open';
|
|
77
|
+
break;
|
|
78
|
+
case 'th':
|
|
79
|
+
biName = 'grid-3x3-gap-fill';
|
|
80
|
+
break;
|
|
81
|
+
case 'tasks':
|
|
82
|
+
biName = 'view-stacked';
|
|
83
|
+
break;
|
|
84
|
+
case 'indent':
|
|
85
|
+
biName = 'text-indent-left';
|
|
86
|
+
break;
|
|
87
|
+
case 'refresh':
|
|
88
|
+
biName = 'arrow-repeat';
|
|
89
|
+
break;
|
|
90
|
+
case 'files-o':
|
|
91
|
+
biName = 'files';
|
|
92
|
+
break;
|
|
93
|
+
case 'wpforms':
|
|
94
|
+
biName = 'window-stack';
|
|
95
|
+
break;
|
|
96
|
+
case 'cube':
|
|
97
|
+
biName = 'box';
|
|
98
|
+
break;
|
|
99
|
+
case 'cubes':
|
|
100
|
+
biName = 'boxes';
|
|
101
|
+
break;
|
|
102
|
+
case 'check-square-o':
|
|
103
|
+
biName = 'check-square';
|
|
104
|
+
break;
|
|
105
|
+
case 'plus':
|
|
106
|
+
biName = 'plus-lg';
|
|
107
|
+
break;
|
|
108
|
+
case 'question-sign':
|
|
109
|
+
biName = 'question-circle';
|
|
110
|
+
break;
|
|
111
|
+
case 'remove-circle':
|
|
112
|
+
biName = 'x-circle';
|
|
113
|
+
break;
|
|
114
|
+
case 'new-window':
|
|
115
|
+
biName = 'window-plus';
|
|
116
|
+
break;
|
|
117
|
+
case 'move':
|
|
118
|
+
biName = 'arrows-move';
|
|
119
|
+
break;
|
|
120
|
+
case 'edit':
|
|
121
|
+
biName = 'pencil';
|
|
122
|
+
break;
|
|
123
|
+
case 'time':
|
|
124
|
+
biName = 'clock';
|
|
125
|
+
break;
|
|
126
|
+
case 'video':
|
|
127
|
+
biName = 'camera-video';
|
|
128
|
+
break;
|
|
129
|
+
case 'microphone':
|
|
130
|
+
biName = 'mic';
|
|
131
|
+
break;
|
|
132
|
+
case 'calendar':
|
|
133
|
+
biName = 'file-break';
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
return spinning ? 'spinner-border spinner-border-sm' : `fa fa-${name} bi bi-${biName}`;
|
|
137
|
+
};
|