@opencitylabs/bootstrap-italia 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -1
- package/dist/bootstrap3.js +0 -1
- package/dist/bootstrap4.js +0 -1
- package/dist/bootstrap5.js +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export default function(ctx) {
|
|
2
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
+
function print() { __p += __j.call(arguments, '') }
|
|
4
|
+
__p += '<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n ' +
|
|
5
|
+
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
+
'\n ' +
|
|
7
|
+
((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
|
|
8
|
+
'\n ' +
|
|
9
|
+
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
10
|
+
'\n ' +
|
|
11
|
+
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
12
|
+
'\n ">\n ';
|
|
13
|
+
if (ctx.header) { ;
|
|
14
|
+
__p += '\n <thead class="editgrid-table-head">\n ' +
|
|
15
|
+
((__t = (ctx.header)) == null ? '' : __t) +
|
|
16
|
+
'\n </thead>\n ';
|
|
17
|
+
} ;
|
|
18
|
+
__p += '\n <tbody class="editgrid-table-body">\n ';
|
|
19
|
+
ctx.rows.forEach(function(row, rowIndex) { ;
|
|
20
|
+
__p += '\n <tr ref="' +
|
|
21
|
+
((__t = (ctx.ref.row)) == null ? '' : __t) +
|
|
22
|
+
'">\n ' +
|
|
23
|
+
((__t = (row)) == null ? '' : __t) +
|
|
24
|
+
'\n ';
|
|
25
|
+
if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
|
|
26
|
+
__p += '\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
|
|
27
|
+
((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
|
|
28
|
+
'">' +
|
|
29
|
+
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
|
|
30
|
+
'</button>\n ';
|
|
31
|
+
if (ctx.component.removeRow) { ;
|
|
32
|
+
__p += '\n <button class="btn btn-danger" ref="' +
|
|
33
|
+
((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
|
|
34
|
+
'">' +
|
|
35
|
+
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
|
|
36
|
+
'</button>\n ';
|
|
37
|
+
} ;
|
|
38
|
+
__p += '\n </div>\n </td>\n ';
|
|
39
|
+
} ;
|
|
40
|
+
__p += '\n ';
|
|
41
|
+
if (ctx.errors[rowIndex]) { ;
|
|
42
|
+
__p += '\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
|
|
43
|
+
((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
|
|
44
|
+
'\n </div>\n </div>\n </td>\n ';
|
|
45
|
+
} ;
|
|
46
|
+
__p += '\n </tr>\n ';
|
|
47
|
+
}) ;
|
|
48
|
+
__p += '\n </tbody>\n ';
|
|
49
|
+
if (ctx.footer) { ;
|
|
50
|
+
__p += '\n <tfoot>\n <tr>\n ' +
|
|
51
|
+
((__t = (ctx.footer)) == null ? '' : __t) +
|
|
52
|
+
'\n </tr>\n <tfoot>\n ';
|
|
53
|
+
} ;
|
|
54
|
+
__p += '\n </table>\n </div>\n</div>\n';
|
|
55
|
+
if (!ctx.readOnly && ctx.hasAddButton) { ;
|
|
56
|
+
__p += '\n<button class="btn btn-primary" ref="' +
|
|
57
|
+
((__t = (ctx.ref.addRow)) == null ? '' : __t) +
|
|
58
|
+
'">\n <i class="' +
|
|
59
|
+
((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +
|
|
60
|
+
'"></i>\n ' +
|
|
61
|
+
((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +
|
|
62
|
+
'\n</button>\n';
|
|
63
|
+
} ;
|
|
64
|
+
__p += '\n';
|
|
65
|
+
return __p
|
|
66
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export default function(ctx) {
|
|
2
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
+
function print() { __p += __j.call(arguments, '') }
|
|
4
|
+
__p += '<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n ' +
|
|
5
|
+
((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +
|
|
6
|
+
'\n ' +
|
|
7
|
+
((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +
|
|
8
|
+
'\n ' +
|
|
9
|
+
((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +
|
|
10
|
+
'\n ' +
|
|
11
|
+
((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +
|
|
12
|
+
'\n ">\n ';
|
|
13
|
+
if (ctx.header) { ;
|
|
14
|
+
__p += '\n <thead class="editgrid-table-head">\n ' +
|
|
15
|
+
((__t = (ctx.header)) == null ? '' : __t) +
|
|
16
|
+
'\n </thead>\n ';
|
|
17
|
+
} ;
|
|
18
|
+
__p += '\n <tbody class="editgrid-table-body">\n ';
|
|
19
|
+
ctx.rows.forEach(function(row, rowIndex) { ;
|
|
20
|
+
__p += '\n <tr ref="' +
|
|
21
|
+
((__t = (ctx.ref.row)) == null ? '' : __t) +
|
|
22
|
+
'">\n ' +
|
|
23
|
+
((__t = (row)) == null ? '' : __t) +
|
|
24
|
+
'\n ';
|
|
25
|
+
if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;
|
|
26
|
+
__p += '\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="' +
|
|
27
|
+
((__t = (ctx.ref.saveRow)) == null ? '' : __t) +
|
|
28
|
+
'">' +
|
|
29
|
+
((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +
|
|
30
|
+
'</button>\n ';
|
|
31
|
+
if (ctx.component.removeRow) { ;
|
|
32
|
+
__p += '\n <button class="btn btn-danger" ref="' +
|
|
33
|
+
((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +
|
|
34
|
+
'">' +
|
|
35
|
+
((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +
|
|
36
|
+
'</button>\n ';
|
|
37
|
+
} ;
|
|
38
|
+
__p += '\n </div>\n </td>\n ';
|
|
39
|
+
} ;
|
|
40
|
+
__p += '\n ';
|
|
41
|
+
if (ctx.errors[rowIndex]) { ;
|
|
42
|
+
__p += '\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n ' +
|
|
43
|
+
((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +
|
|
44
|
+
'\n </div>\n </div>\n </td>\n ';
|
|
45
|
+
} ;
|
|
46
|
+
__p += '\n </tr>\n ';
|
|
47
|
+
}) ;
|
|
48
|
+
__p += '\n </tbody>\n ';
|
|
49
|
+
if (ctx.footer) { ;
|
|
50
|
+
__p += '\n <tfoot>\n <tr>\n ' +
|
|
51
|
+
((__t = (ctx.footer)) == null ? '' : __t) +
|
|
52
|
+
'\n </tr>\n <tfoot>\n ';
|
|
53
|
+
} ;
|
|
54
|
+
__p += '\n </table>\n </div>\n</div>\n';
|
|
55
|
+
return __p
|
|
56
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default function(ctx) {
|
|
2
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
+
function print() { __p += __j.call(arguments, '') }
|
|
4
|
+
__p += '<p>' +
|
|
5
|
+
((__t = (ctx.t('error'))) == null ? '' : __t) +
|
|
6
|
+
'\n ';
|
|
7
|
+
if (ctx.options.vpat) { ;
|
|
8
|
+
__p += '\n <span ref="errorTooltip" class="' +
|
|
9
|
+
((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +
|
|
10
|
+
'" tabindex="0"></span>\n ';
|
|
11
|
+
} ;
|
|
12
|
+
__p += '\n</p>\n<ul>\n ';
|
|
13
|
+
ctx.errors.forEach(function(err) { ;
|
|
14
|
+
__p += '\n <li>\n <span\n data-component-key = "' +
|
|
15
|
+
((__t = (err.keyOrPath)) == null ? '' : __t) +
|
|
16
|
+
'"\n ref = "errorRef"\n tabIndex = "0"\n role="link"\n >\n ' +
|
|
17
|
+
((__t = (err.message)) == null ? '' : __t) +
|
|
18
|
+
'\n </span>\n </li>\n ';
|
|
19
|
+
}) ;
|
|
20
|
+
__p += '\n</ul>\n';
|
|
21
|
+
return __p
|
|
22
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export default function(ctx) {
|
|
2
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
+
function print() { __p += __j.call(arguments, '') }
|
|
4
|
+
__p += '<div class="field-wrapper flex-fill\n ' +
|
|
5
|
+
((__t = (ctx.isRightPosition ? 'field-wrapper--reverse' : '')) == null ? '' : __t) +
|
|
6
|
+
'">\n ';
|
|
7
|
+
if (!ctx.label.hidden) { ;
|
|
8
|
+
__p += '\n <div class="field-label\n ' +
|
|
9
|
+
((__t = (ctx.isRightAlign ? 'field-label--right' : '')) == null ? '' : __t) +
|
|
10
|
+
'"\n style="' +
|
|
11
|
+
((__t = (ctx.labelStyles)) == null ? '' : __t) +
|
|
12
|
+
'">\n ' +
|
|
13
|
+
((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
|
|
14
|
+
'\n </div>\n ';
|
|
15
|
+
} ;
|
|
16
|
+
__p += '\n\n ';
|
|
17
|
+
if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ;
|
|
18
|
+
__p += '\n <div class="field-label\n ' +
|
|
19
|
+
((__t = (ctx.isRightAlign ? 'field-label--right' : '')) == null ? '' : __t) +
|
|
20
|
+
'"\n style="' +
|
|
21
|
+
((__t = (ctx.labelStyles)) == null ? '' : __t) +
|
|
22
|
+
'">\n <label class="' +
|
|
23
|
+
((__t = (ctx.label.className)) == null ? '' : __t) +
|
|
24
|
+
'"></label>\n </div>\n ';
|
|
25
|
+
} ;
|
|
26
|
+
__p += '\n\n <div class="field-content" style="' +
|
|
27
|
+
((__t = (ctx.contentStyles)) == null ? '' : __t) +
|
|
28
|
+
'">\n ' +
|
|
29
|
+
((__t = (ctx.element)) == null ? '' : __t) +
|
|
30
|
+
'\n </div>\n</div>\n\n';
|
|
31
|
+
if (ctx.component.description) { ;
|
|
32
|
+
__p += '\n <div class="form-text text-muted">' +
|
|
33
|
+
((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
|
|
34
|
+
'</div>\n';
|
|
35
|
+
} ;
|
|
36
|
+
__p += '\n';
|
|
37
|
+
return __p
|
|
38
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export default function(ctx) {
|
|
2
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
+
function print() { __p += __j.call(arguments, '') }
|
|
4
|
+
|
|
5
|
+
if (!ctx.label.hidden && ctx.label.labelPosition !== 'bottom') { ;
|
|
6
|
+
__p += '\n ' +
|
|
7
|
+
((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
|
|
8
|
+
'\n';
|
|
9
|
+
} ;
|
|
10
|
+
__p += '\n\n';
|
|
11
|
+
if (ctx.label.hidden && ctx.label.className && ctx.component.validate.required) { ;
|
|
12
|
+
__p += '\n <label class="' +
|
|
13
|
+
((__t = (ctx.label.className)) == null ? '' : __t) +
|
|
14
|
+
'"></label>\n';
|
|
15
|
+
} ;
|
|
16
|
+
__p += '\n\n' +
|
|
17
|
+
((__t = (ctx.element)) == null ? '' : __t) +
|
|
18
|
+
'\n\n';
|
|
19
|
+
if (!ctx.label.hidden && ctx.label.labelPosition === 'bottom') { ;
|
|
20
|
+
__p += '\n ' +
|
|
21
|
+
((__t = ( ctx.labelMarkup )) == null ? '' : __t) +
|
|
22
|
+
'\n';
|
|
23
|
+
} ;
|
|
24
|
+
__p += '\n';
|
|
25
|
+
if (ctx.component.description) { ;
|
|
26
|
+
__p += '\n <div id="d-' +
|
|
27
|
+
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
28
|
+
'-' +
|
|
29
|
+
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
30
|
+
'" class="form-text text-muted">' +
|
|
31
|
+
((__t = (ctx.t(ctx.component.description, { _userInput: true }))) == null ? '' : __t) +
|
|
32
|
+
'</div>\n';
|
|
33
|
+
} ;
|
|
34
|
+
__p += '\n';
|
|
35
|
+
return __p
|
|
36
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default function(ctx) {
|
|
2
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
+
function print() { __p += __j.call(arguments, '') }
|
|
4
|
+
__p += '<fieldset class="it-page-section">\n <div class="cmp-card mb-40 mt-2">\n <div class="card has-bkg-grey shadow-sm p-big">\n ';
|
|
5
|
+
if (ctx.component.legend) { ;
|
|
6
|
+
__p += '\n <div ref="header" class="' +
|
|
7
|
+
((__t = (ctx.component.collapsible ? 'formio-clickable card-header border-0 p-0 mb-lg-30' : 'card-header border-0 p-0 mb-lg-30')) == null ? '' : __t) +
|
|
8
|
+
'">\n <div class="d-flex">\n <h2 class="title-xxlarge mb-1">\n ' +
|
|
9
|
+
((__t = (ctx.t(ctx.component.legend, { _userInput: true }))) == null ? '' : __t) +
|
|
10
|
+
'\n </h2>\n </div>\n ';
|
|
11
|
+
if (ctx.component.tooltip) { ;
|
|
12
|
+
__p += '\n <p class="subtitle-small mb-0">' +
|
|
13
|
+
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
|
|
14
|
+
'</p>\n ';
|
|
15
|
+
} ;
|
|
16
|
+
__p += '\n </div>\n ';
|
|
17
|
+
} ;
|
|
18
|
+
__p += '\n ';
|
|
19
|
+
if (!ctx.collapsed) { ;
|
|
20
|
+
__p += '\n <div class="card p-3 p-lg-4 fieldset-body" ref="' +
|
|
21
|
+
((__t = (ctx.nestedKey)) == null ? '' : __t) +
|
|
22
|
+
'">\n ' +
|
|
23
|
+
((__t = (ctx.children)) == null ? '' : __t) +
|
|
24
|
+
'\n </div>\n ';
|
|
25
|
+
} ;
|
|
26
|
+
__p += '\n </div>\n </div>\n</fieldset>\n';
|
|
27
|
+
return __p
|
|
28
|
+
}
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
export default function(ctx) {
|
|
2
|
+
var __t, __p = '', __j = Array.prototype.join;
|
|
3
|
+
function print() { __p += __j.call(arguments, '') }
|
|
4
|
+
|
|
5
|
+
if (ctx.options.vpat) { ;
|
|
6
|
+
__p += '\n <span tabindex="-1" class="visually-hidden" id="invisible-' +
|
|
7
|
+
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
8
|
+
'-' +
|
|
9
|
+
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
10
|
+
'"></span>\n';
|
|
11
|
+
} ;
|
|
12
|
+
__p += '\n';
|
|
13
|
+
if (!ctx.self.imageUpload) { console.log(ctx) ;
|
|
14
|
+
__p += '\n ';
|
|
15
|
+
if (ctx.options.vpat) { ;
|
|
16
|
+
__p += '\n <div>' +
|
|
17
|
+
((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) +
|
|
18
|
+
'</div>\n ';
|
|
19
|
+
} ;
|
|
20
|
+
__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-' +
|
|
21
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
22
|
+
'"><strong>' +
|
|
23
|
+
((__t = (ctx.t('File Name'))) == null ? '' : __t) +
|
|
24
|
+
'</strong></div>\n <div class="col-md-' +
|
|
25
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
26
|
+
'"><strong>' +
|
|
27
|
+
((__t = (ctx.t('Size'))) == null ? '' : __t) +
|
|
28
|
+
'</strong></div>\n ';
|
|
29
|
+
if (ctx.self.hasTypes) { ;
|
|
30
|
+
__p += '\n <div class="col-md-' +
|
|
31
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
32
|
+
'"><strong>' +
|
|
33
|
+
((__t = (ctx.t('Type'))) == null ? '' : __t) +
|
|
34
|
+
'</strong></div>\n ';
|
|
35
|
+
} ;
|
|
36
|
+
__p += '\n <div class="col-md-' +
|
|
37
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
38
|
+
' justify-center">\n ';
|
|
39
|
+
if (ctx.showSyncButton) { ;
|
|
40
|
+
__p += '\n <button\n class="btn btn-primary btn-sm"\n ref="syncNow"\n ';
|
|
41
|
+
if (ctx.disabled || ctx.isSyncing) { ;
|
|
42
|
+
__p += 'disabled=true';
|
|
43
|
+
} ;
|
|
44
|
+
__p += '\n >' +
|
|
45
|
+
((__t = (ctx.isSyncing ? ctx.t('Syncing...') : ctx.t('Sync Now'))) == null ? '' : __t) +
|
|
46
|
+
'</button>\n ';
|
|
47
|
+
} ;
|
|
48
|
+
__p += '\n </div>\n </div>\n </li>\n ';
|
|
49
|
+
ctx.files.forEach(function(file) { ;
|
|
50
|
+
__p += '\n <li class="list-group-item">\n <div class="row">\n <div class="col-md-' +
|
|
51
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
52
|
+
'">\n ';
|
|
53
|
+
if (ctx.component.uploadOnly) { ;
|
|
54
|
+
__p += '\n ' +
|
|
55
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
56
|
+
'\n ';
|
|
57
|
+
} else { ;
|
|
58
|
+
__p += '\n <a href="' +
|
|
59
|
+
((__t = (file.url || '#')) == null ? '' : __t) +
|
|
60
|
+
'" target="_blank" ref="fileLink">\n <span class="visually-hidden">' +
|
|
61
|
+
((__t = (ctx.t('Press to open '))) == null ? '' : __t) +
|
|
62
|
+
'</span>' +
|
|
63
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
64
|
+
'\n </a>\n ';
|
|
65
|
+
} ;
|
|
66
|
+
__p += '\n </div>\n <div class="col-md-' +
|
|
67
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
68
|
+
'">' +
|
|
69
|
+
((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
|
|
70
|
+
'</div>\n ';
|
|
71
|
+
if (ctx.self.hasTypes && !ctx.disabled) { ;
|
|
72
|
+
__p += '\n <div class="col-md-' +
|
|
73
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
74
|
+
'">\n <select class="file-type" ref="fileType">\n ';
|
|
75
|
+
ctx.component.fileTypes.map(function(type) { ;
|
|
76
|
+
__p += '\n <option class="test" value="' +
|
|
77
|
+
((__t = ( type.value )) == null ? '' : __t) +
|
|
78
|
+
'" ';
|
|
79
|
+
if (type.label === file.fileType) { ;
|
|
80
|
+
__p += 'selected="selected"';
|
|
81
|
+
} ;
|
|
82
|
+
__p += '>' +
|
|
83
|
+
((__t = (ctx.t(type.label))) == null ? '' : __t) +
|
|
84
|
+
'</option>\n ';
|
|
85
|
+
}); ;
|
|
86
|
+
__p += '\n </select>\n </div>\n ';
|
|
87
|
+
} ;
|
|
88
|
+
__p += '\n ';
|
|
89
|
+
if (ctx.self.hasTypes && ctx.disabled) { ;
|
|
90
|
+
__p += '\n <div class="col-md-' +
|
|
91
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
92
|
+
'">' +
|
|
93
|
+
((__t = (file.fileType)) == null ? '' : __t) +
|
|
94
|
+
'</div>\n ';
|
|
95
|
+
} ;
|
|
96
|
+
__p += '\n ';
|
|
97
|
+
if (!ctx.disabled) { ;
|
|
98
|
+
__p += '\n <div class="col-md-' +
|
|
99
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
100
|
+
' justify-center"><i tabindex="0" class="' +
|
|
101
|
+
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
102
|
+
'" ref="removeLink"></i></div>\n ';
|
|
103
|
+
} ;
|
|
104
|
+
__p += '\n </div>\n </li>\n ';
|
|
105
|
+
}) ;
|
|
106
|
+
__p += '\n ';
|
|
107
|
+
ctx.filesToDelete.forEach(function(file) { ;
|
|
108
|
+
__p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
|
|
109
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
110
|
+
'">\n <div>' +
|
|
111
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
112
|
+
'</div>\n <div class="status text-' +
|
|
113
|
+
((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
|
|
114
|
+
'">' +
|
|
115
|
+
((__t = (ctx.t(file.message))) == null ? '' : __t) +
|
|
116
|
+
'</div>\n </div>\n <div class="col-md-' +
|
|
117
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
118
|
+
'">' +
|
|
119
|
+
((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
|
|
120
|
+
'</div>\n ';
|
|
121
|
+
if (ctx.self.hasTypes) { ;
|
|
122
|
+
__p += '\n <div class="col-md-' +
|
|
123
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
124
|
+
'">\n <select class="file-type" ref="fileType">\n ';
|
|
125
|
+
ctx.component.fileTypes.map(function(type) { ;
|
|
126
|
+
__p += '\n <option class="test" value="' +
|
|
127
|
+
((__t = ( type.value )) == null ? '' : __t) +
|
|
128
|
+
'" ';
|
|
129
|
+
if (type.label === file.fileType) { ;
|
|
130
|
+
__p += 'selected="selected"';
|
|
131
|
+
} ;
|
|
132
|
+
__p += '>' +
|
|
133
|
+
((__t = (ctx.t(type.label))) == null ? '' : __t) +
|
|
134
|
+
'</option>\n ';
|
|
135
|
+
}); ;
|
|
136
|
+
__p += '\n </select>\n </div>\n ';
|
|
137
|
+
} ;
|
|
138
|
+
__p += '\n ';
|
|
139
|
+
if (!ctx.isSyncing && file.status !== 'success') { ;
|
|
140
|
+
__p += '\n <div class="col-md-' +
|
|
141
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
142
|
+
' justify-center"><i tabindex="0" class="' +
|
|
143
|
+
((__t = (ctx.iconClass('arrow-counterclockwise'))) == null ? '' : __t) +
|
|
144
|
+
'" ref="restoreFile"></i></div>\n ';
|
|
145
|
+
} ;
|
|
146
|
+
__p += '\n </div>\n </li>\n ';
|
|
147
|
+
}) ;
|
|
148
|
+
__p += '\n ';
|
|
149
|
+
ctx.filesToUpload.forEach(function(file) { ;
|
|
150
|
+
__p += '\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-' +
|
|
151
|
+
((__t = (ctx.columns.name)) == null ? '' : __t) +
|
|
152
|
+
'">\n <div>' +
|
|
153
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
154
|
+
'</div>\n ';
|
|
155
|
+
if (file.status === 'progress') { ;
|
|
156
|
+
__p += '\n <div class="status progress">\n <div id="' +
|
|
157
|
+
((__t = (file.id)) == null ? '' : __t) +
|
|
158
|
+
'" class="progress-bar" role="progressbar" aria-valuenow="' +
|
|
159
|
+
((__t = (file.progress)) == null ? '' : __t) +
|
|
160
|
+
'" aria-valuemin="0" aria-valuemax="100" style="width: ' +
|
|
161
|
+
((__t = (file.progress)) == null ? '' : __t) +
|
|
162
|
+
'%" ref="progress">\n <span class="visually-hidden">' +
|
|
163
|
+
((__t = (file.progress)) == null ? '' : __t) +
|
|
164
|
+
'% ' +
|
|
165
|
+
((__t = (ctx.t('Complete'))) == null ? '' : __t) +
|
|
166
|
+
'</span>\n </div>\n </div>\n ';
|
|
167
|
+
} else { ;
|
|
168
|
+
__p += '\n <div class="status text-' +
|
|
169
|
+
((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +
|
|
170
|
+
'">' +
|
|
171
|
+
((__t = (ctx.t(file.message))) == null ? '' : __t) +
|
|
172
|
+
'</div>\n ';
|
|
173
|
+
} ;
|
|
174
|
+
__p += '\n </div>\n <div class="col-md-' +
|
|
175
|
+
((__t = (ctx.columns.size)) == null ? '' : __t) +
|
|
176
|
+
'">' +
|
|
177
|
+
((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +
|
|
178
|
+
'</div>\n ';
|
|
179
|
+
if (ctx.self.hasTypes) { ;
|
|
180
|
+
__p += '\n <div class="col-md-' +
|
|
181
|
+
((__t = (ctx.columns.type)) == null ? '' : __t) +
|
|
182
|
+
'">\n <select class="file-type" ref="fileType">\n ';
|
|
183
|
+
ctx.component.fileTypes.map(function(type) { ;
|
|
184
|
+
__p += '\n <option class="test" value="' +
|
|
185
|
+
((__t = ( type.value )) == null ? '' : __t) +
|
|
186
|
+
'" ';
|
|
187
|
+
if (type.label === file.fileType) { ;
|
|
188
|
+
__p += 'selected="selected"';
|
|
189
|
+
} ;
|
|
190
|
+
__p += '>' +
|
|
191
|
+
((__t = (ctx.t(type.label))) == null ? '' : __t) +
|
|
192
|
+
'</option>\n ';
|
|
193
|
+
}); ;
|
|
194
|
+
__p += '\n </select>\n </div>\n ';
|
|
195
|
+
} ;
|
|
196
|
+
__p += '\n ';
|
|
197
|
+
if (file.status === 'progress') { ;
|
|
198
|
+
__p += '\n <div class="col-md-' +
|
|
199
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
200
|
+
' justify-center"><i id="abort-' +
|
|
201
|
+
((__t = (file.id)) == null ? '' : __t) +
|
|
202
|
+
'" tabindex="0" class="' +
|
|
203
|
+
((__t = (ctx.iconClass('ban'))) == null ? '' : __t) +
|
|
204
|
+
'"></i></div>\n ';
|
|
205
|
+
} else if (!ctx.isSyncing && file.status !== 'success') { ;
|
|
206
|
+
__p += '\n <div class="col-md-' +
|
|
207
|
+
((__t = (ctx.columns.actions)) == null ? '' : __t) +
|
|
208
|
+
' justify-center"><i tabindex="0" class="' +
|
|
209
|
+
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
210
|
+
'" ref="fileToSyncRemove"></i></div>\n ';
|
|
211
|
+
} ;
|
|
212
|
+
__p += '\n </div>\n </li>\n ';
|
|
213
|
+
}) ;
|
|
214
|
+
__p += '\n </ul>\n';
|
|
215
|
+
} else { ;
|
|
216
|
+
__p += '\n <div>\n ';
|
|
217
|
+
ctx.files.forEach(function(file) { ;
|
|
218
|
+
__p += '\n <div>\n <span>\n <img ref="fileImage" src="" alt="' +
|
|
219
|
+
((__t = (file.originalName || file.name)) == null ? '' : __t) +
|
|
220
|
+
'" style="width:' +
|
|
221
|
+
((__t = (ctx.component.imageSize)) == null ? '' : __t) +
|
|
222
|
+
'px">\n ';
|
|
223
|
+
if (!ctx.disabled) { ;
|
|
224
|
+
__p += '\n <i tabindex="0" class="' +
|
|
225
|
+
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
226
|
+
'" ref="removeLink"></i>\n ';
|
|
227
|
+
} ;
|
|
228
|
+
__p += '\n </span>\n </div>\n ';
|
|
229
|
+
}) ;
|
|
230
|
+
__p += '\n </div>\n';
|
|
231
|
+
} ;
|
|
232
|
+
__p += '\n';
|
|
233
|
+
if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ;
|
|
234
|
+
__p += '\n ';
|
|
235
|
+
if (ctx.self.useWebViewCamera) { ;
|
|
236
|
+
__p += '\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="' +
|
|
237
|
+
((__t = (ctx.iconClass('book'))) == null ? '' : __t) +
|
|
238
|
+
'"></i> ' +
|
|
239
|
+
((__t = (ctx.t('Gallery'))) == null ? '' : __t) +
|
|
240
|
+
'</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="' +
|
|
241
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
242
|
+
'"></i> ' +
|
|
243
|
+
((__t = (ctx.t('Camera'))) == null ? '' : __t) +
|
|
244
|
+
'</button>\n </div>\n ';
|
|
245
|
+
} else if (!ctx.self.cameraMode) { ;
|
|
246
|
+
__p += '\n <div class="fileSelector" ref="fileDrop" ' +
|
|
247
|
+
((__t = (ctx.fileDropHidden ?'hidden' : '')) == null ? '' : __t) +
|
|
248
|
+
'>\n ';
|
|
249
|
+
if (!ctx.self.isMobile.any) { ;
|
|
250
|
+
__p += '\n <i class="' +
|
|
251
|
+
((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +
|
|
252
|
+
'"></i> ' +
|
|
253
|
+
((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) +
|
|
254
|
+
'\n ';
|
|
255
|
+
} ;
|
|
256
|
+
__p += '\n ';
|
|
257
|
+
if (ctx.self.imageUpload && ctx.component.webcam) { ;
|
|
258
|
+
__p += '\n <a href="#" ref="toggleCameraMode"><i class="' +
|
|
259
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
260
|
+
'"></i>' +
|
|
261
|
+
((__t = (ctx.t('Use Camera'))) == null ? '' : __t) +
|
|
262
|
+
'</a>\n ' +
|
|
263
|
+
((__t = (ctx.t('or'))) == null ? '' : __t) +
|
|
264
|
+
'\n ';
|
|
265
|
+
} ;
|
|
266
|
+
__p += '\n <a href="#" ref="fileBrowse" class="browse">\n ';
|
|
267
|
+
if (ctx.self.isMobile.any && ctx.component.capture) { ;
|
|
268
|
+
__p += '\n ';
|
|
269
|
+
if (ctx.component.filePattern && ctx.component.filePattern.includes("video")) { ;
|
|
270
|
+
__p += '\n <i class="' +
|
|
271
|
+
((__t = (ctx.iconClass('video'))) == null ? '' : __t) +
|
|
272
|
+
'"></i>' +
|
|
273
|
+
((__t = (ctx.t('Capture Video'))) == null ? '' : __t) +
|
|
274
|
+
'\n ';
|
|
275
|
+
} else if (ctx.component.filePattern && ctx.component.filePattern.includes("audio")) { ;
|
|
276
|
+
__p += '\n <i class="' +
|
|
277
|
+
((__t = (ctx.iconClass('microphone'))) == null ? '' : __t) +
|
|
278
|
+
'"></i>' +
|
|
279
|
+
((__t = (ctx.t('Capture Audio'))) == null ? '' : __t) +
|
|
280
|
+
'\n ';
|
|
281
|
+
} else { ;
|
|
282
|
+
__p += '\n <i class="' +
|
|
283
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
284
|
+
'"></i>' +
|
|
285
|
+
((__t = (ctx.t('Capture Image'))) == null ? '' : __t) +
|
|
286
|
+
'\n ';
|
|
287
|
+
} ;
|
|
288
|
+
__p += '\n ';
|
|
289
|
+
} else { ;
|
|
290
|
+
__p += '\n <i class="' +
|
|
291
|
+
((__t = (ctx.iconClass('folder-open'))) == null ? '' : __t) +
|
|
292
|
+
'"></i>' +
|
|
293
|
+
((__t = (ctx.t('Browse Files'))) == null ? '' : __t) +
|
|
294
|
+
'\n ';
|
|
295
|
+
} ;
|
|
296
|
+
__p += '\n <span class="visually-hidden">\n ' +
|
|
297
|
+
((__t = (ctx.t('Browse to attach file for ' + ctx.component.label + '. ' +
|
|
298
|
+
(ctx.component.description ? ctx.component.description + '. ' : '') +
|
|
299
|
+
((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)))) == null ? '' : __t) +
|
|
300
|
+
'\n </span>\n </a>\n <div ref="fileProcessingLoader" class="loader-wrapper">\n <div class="loader text-center"></div>\n </div>\n </div>\n ';
|
|
301
|
+
} else { ;
|
|
302
|
+
__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="' +
|
|
303
|
+
((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +
|
|
304
|
+
'"></i> ' +
|
|
305
|
+
((__t = (ctx.t('Take Picture'))) == null ? '' : __t) +
|
|
306
|
+
'</button>\n <button class="btn btn-primary" ref="toggleCameraMode">' +
|
|
307
|
+
((__t = (ctx.t('Switch to file upload'))) == null ? '' : __t) +
|
|
308
|
+
'</button>\n ';
|
|
309
|
+
} ;
|
|
310
|
+
__p += '\n';
|
|
311
|
+
} ;
|
|
312
|
+
__p += '\n';
|
|
313
|
+
if (!ctx.component.storage || ctx.support.hasWarning) { ;
|
|
314
|
+
__p += '\n <div class="alert alert-warning">\n ';
|
|
315
|
+
if (!ctx.component.storage) { ;
|
|
316
|
+
__p += '\n <p>' +
|
|
317
|
+
((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) +
|
|
318
|
+
'</p>\n ';
|
|
319
|
+
} ;
|
|
320
|
+
__p += '\n ';
|
|
321
|
+
if (!ctx.support.filereader) { ;
|
|
322
|
+
__p += '\n <p>' +
|
|
323
|
+
((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) +
|
|
324
|
+
'</p>\n ';
|
|
325
|
+
} ;
|
|
326
|
+
__p += '\n ';
|
|
327
|
+
if (!ctx.support.formdata) { ;
|
|
328
|
+
__p += '\n <p>' +
|
|
329
|
+
((__t = (ctx.t("XHR2's FormData is not supported."))) == null ? '' : __t) +
|
|
330
|
+
'</p>\n ';
|
|
331
|
+
} ;
|
|
332
|
+
__p += '\n ';
|
|
333
|
+
if (!ctx.support.progress) { ;
|
|
334
|
+
__p += '\n <p>' +
|
|
335
|
+
((__t = (ctx.t("XHR2's upload progress isn't supported."))) == null ? '' : __t) +
|
|
336
|
+
'</p>\n ';
|
|
337
|
+
} ;
|
|
338
|
+
__p += '\n </div>\n';
|
|
339
|
+
} ;
|
|
340
|
+
__p += '\n';
|
|
341
|
+
return __p
|
|
342
|
+
}
|