@formio/js 5.1.0-rc.23 → 5.1.0-rc.24
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/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +23 -45
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +23 -45
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +2 -2
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/Embed.js +1 -1
- package/lib/cjs/Formio.js +1 -1
- package/lib/mjs/Embed.js +1 -1
- package/lib/mjs/Formio.js +1 -1
- package/package.json +2 -2
package/dist/formio.form.js
CHANGED
@@ -6225,7 +6225,7 @@ eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6225
6225
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
6226
6226
|
|
6227
6227
|
"use strict";
|
6228
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst bootstrap5_1 = __webpack_require__(/*! ./templates/bootstrap5 */ \"./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/index.js\");\
|
6228
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst bootstrap5_1 = __webpack_require__(/*! ./templates/bootstrap5 */ \"./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/index.js\");\nexports[\"default\"] = {\n framework: 'bootstrap5',\n templates: {\n bootstrap5: bootstrap5_1.default\n },\n};\n\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/bootstrap5.js?");
|
6229
6229
|
|
6230
6230
|
/***/ }),
|
6231
6231
|
|
@@ -6235,7 +6235,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6235
6235
|
\*****************************************************************************************/
|
6236
6236
|
/***/ (function(__unused_webpack_module, exports) {
|
6237
6237
|
|
6238
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n\n if (ctx.mode.autocomplete) { ;\n__p += '\\n <div class=\"address-autocomplete-container\">\\n <input\\n ref=\"' +\n((__t = ( ctx.ref.searchInput )) == null ? '' : __t) +\n'\"\\n ';\n for (var attr in ctx.inputAttributes) { ;\n__p += '\\n ' +\n((__t = (attr)) == null ? '' : __t) +\n'=\"' +\n((__t = (ctx.inputAttributes[attr])) == null ? '' : __t) +\n'\"\\n ';\n } ;\n__p += '\\n value=\"' +\n((__t = ( ctx.displayValue )) == null ? '' : __t) +\n'\"\\n autocomplete=\"off\"\\n aria-label=\"' +\n((__t = (ctx.t('autocomplete'))) == null ? '' : __t) +\n'\"\\n >\\n ';\n if (!ctx.component.disableClearIcon) { ;\n__p += '\\n <i\\n class=\"address-autocomplete-remove-value-icon fa fa-times bi bi-x\"\\n tabindex=\"' +\n((__t = ( ctx.inputAttributes.tabindex )) == null ? '' : __t) +\n'\"\\n ref=\"' +\n((__t = ( ctx.ref.removeValueIcon )) == null ? '' : __t) +\n'\"\\n ></i>\\n ';\n } ;\n__p += '\\n </div>\\n';\n } ;\n__p += '\\n';\n if (ctx.self.manualModeEnabled) { ;\n__p += '\\n <div class=\"form-check checkbox\">\\n <label class=\"form-check-label\">\\n <input\\n ref=\"' +\n((__t = ( ctx.ref.modeSwitcher )) == null ? '' : __t) +\n'\"\\n type=\"checkbox\"\\n class=\"form-check-input\"\\n tabindex=\"' +\n((__t = ( ctx.inputAttributes.tabindex )) == null ? '' : __t) +\n'\"\\n ';\n if (ctx.mode.manual) { ;\n__p += 'checked=true';\n } ;\n__p += '\\n ';\n if (ctx.disabled) { ;\n__p += 'disabled=true';\n } ;\n__p += '\\n >\\n <span>' +\n((__t = ( ctx.
|
6238
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n\n if (ctx.mode.autocomplete) { ;\n__p += '\\n <div class=\"address-autocomplete-container\">\\n <input\\n ref=\"' +\n((__t = ( ctx.ref.searchInput )) == null ? '' : __t) +\n'\"\\n ';\n for (var attr in ctx.inputAttributes) { ;\n__p += '\\n ' +\n((__t = (attr)) == null ? '' : __t) +\n'=\"' +\n((__t = (ctx.inputAttributes[attr])) == null ? '' : __t) +\n'\"\\n ';\n } ;\n__p += '\\n value=\"' +\n((__t = ( ctx.displayValue )) == null ? '' : __t) +\n'\"\\n autocomplete=\"off\"\\n aria-label=\"' +\n((__t = (ctx.t('autocomplete'))) == null ? '' : __t) +\n'\"\\n >\\n ';\n if (!ctx.component.disableClearIcon) { ;\n__p += '\\n <i\\n class=\"address-autocomplete-remove-value-icon fa fa-times bi bi-x\"\\n tabindex=\"' +\n((__t = ( ctx.inputAttributes.tabindex )) == null ? '' : __t) +\n'\"\\n ref=\"' +\n((__t = ( ctx.ref.removeValueIcon )) == null ? '' : __t) +\n'\"\\n ></i>\\n ';\n } ;\n__p += '\\n </div>\\n';\n } ;\n__p += '\\n';\n if (ctx.self.manualModeEnabled) { ;\n__p += '\\n <div class=\"form-check checkbox\">\\n <label class=\"form-check-label\">\\n <input\\n ref=\"' +\n((__t = ( ctx.ref.modeSwitcher )) == null ? '' : __t) +\n'\"\\n type=\"checkbox\"\\n class=\"form-check-input\"\\n tabindex=\"' +\n((__t = ( ctx.inputAttributes.tabindex )) == null ? '' : __t) +\n'\"\\n ';\n if (ctx.mode.manual) { ;\n__p += 'checked=true';\n } ;\n__p += '\\n ';\n if (ctx.disabled) { ;\n__p += 'disabled=true';\n } ;\n__p += '\\n >\\n <span>' +\n((__t = ( ctx.component.switchToManualModeLabel )) == null ? '' : __t) +\n'</span>\\n </label>\\n </div>\\n';\n } ;\n__p += '\\n';\n if (ctx.self.manualMode) { ;\n__p += '\\n <div ref=\"' +\n((__t = ( ctx.nestedKey )) == null ? '' : __t) +\n'\">\\n ' +\n((__t = ( ctx.children )) == null ? '' : __t) +\n'\\n </div>\\n';\n } ;\n__p += '\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/address/form.ejs.js?");
|
6239
6239
|
|
6240
6240
|
/***/ }),
|
6241
6241
|
|
@@ -6350,7 +6350,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6350
6350
|
\*************************************************************************************************/
|
6351
6351
|
/***/ (function(__unused_webpack_module, exports) {
|
6352
6352
|
|
6353
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"row\">\\n <div class=\"col col-sm-6\">\\n <p class=\"lead\">' +\n((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) +\n' ' +\n((__t = (ctx.t('
|
6353
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"row\">\\n <div class=\"col col-sm-6\">\\n <p class=\"lead\">' +\n((__t = (ctx.t(ctx.componentInfo.title, { _userInput: true }))) == null ? '' : __t) +\n' ' +\n((__t = (ctx.t('Component'))) == null ? '' : __t) +\n'</p>\\n </div>\\n ';\n if (ctx.helplinks) { ;\n__p += '\\n <div class=\"col col-sm-6\">\\n <div class=\"float-end\" style=\"margin-right: 20px; margin-top: 10px\">\\n <a href=\"' +\n((__t = (ctx.t(ctx.helplinks + ctx.componentInfo.documentation))) == null ? '' : __t) +\n'\" target=\"_blank\" rel=\"noopener noreferrer\">\\n <i class=\"' +\n((__t = (ctx.iconClass('new-window'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('Help'))) == null ? '' : __t) +\n'\\n </a>\\n </div>\\n </div>\\n ';\n } ;\n__p += '\\n</div>\\n<div class=\"row\">\\n <div class=\"col component-edit-tabs ' +\n((__t = ( (ctx.preview && ctx.showPreview) ? 'col-sm-6' : 'col-sm-12' )) == null ? '' : __t) +\n'\">\\n <div ref=\"editForm\">\\n ' +\n((__t = (ctx.editForm)) == null ? '' : __t) +\n'\\n </div>\\n ';\n if (!ctx.showPreview) { ;\n__p += '\\n <div style=\"margin-top: 10px;\">\\n <button class=\"btn btn-success\" style=\"margin-right: 10px;\" ref=\"saveButton\">' +\n((__t = (ctx.t('Save'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-secondary\" style=\"margin-right: 10px;\" ref=\"cancelButton\">' +\n((__t = (ctx.t('Cancel'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-danger\" ref=\"removeButton\">' +\n((__t = (ctx.t('Remove'))) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.preview) { ;\n__p += '\\n <button class=\"btn btn-primary float-right\" ref=\"previewButton\">' +\n((__t = (ctx.t('Show preview'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n ';\n } ;\n__p += '\\n </div>\\n ';\n if (ctx.showPreview && ctx.preview) { ;\n__p += '\\n <div class=\"col col-sm-6\">\\n <div class=\"card panel preview-panel\">\\n <div class=\"card-header\">\\n <h4 class=\"card-title mb-0\">' +\n((__t = (ctx.t('Preview'))) == null ? '' : __t) +\n'</h4>\\n </div>\\n <div class=\"card-body\">\\n <div class=\"component-preview\" ref=\"preview\">\\n ' +\n((__t = (ctx.preview)) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n </div>\\n ';\n if (ctx.componentInfo.help) { ;\n__p += '\\n <div class=\"card card-body bg-light formio-settings-help\">\\n ' +\n((__t = ( ctx.t(ctx.componentInfo.help) )) == null ? '' : __t) +\n'\\n </div>\\n ';\n } ;\n__p += '\\n <div style=\"margin-top: 10px;\">\\n <button class=\"btn btn-success\" style=\"margin-right: 10px;\" ref=\"saveButton\">' +\n((__t = (ctx.t('Save'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-secondary\" style=\"margin-right: 10px;\" ref=\"cancelButton\">' +\n((__t = (ctx.t('Cancel'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-danger\" ref=\"removeButton\">' +\n((__t = (ctx.t('Remove'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-primary float-end\" ref=\"previewButton\">' +\n((__t = (ctx.t('Hide preview'))) == null ? '' : __t) +\n'</button>\\n </div>\\n </div>\\n ';\n } ;\n__p += '\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/builderEditForm/form.ejs.js?");
|
6354
6354
|
|
6355
6355
|
/***/ }),
|
6356
6356
|
|
@@ -6371,7 +6371,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6371
6371
|
\****************************************************************************************************/
|
6372
6372
|
/***/ (function(__unused_webpack_module, exports) {
|
6373
6373
|
|
6374
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<div\\n class=\"drag-and-drop-alert alert alert-info no-drag\"\\n style=\"text-align:center;\"\\n role=\"alert\"\\n data-noattach=\"true\"\\n data-position=\"' +\n((__t = (ctx.position)) == null ? '' : __t) +\n'\"\\n>\\n ' +\n((__t = (ctx.t('
|
6374
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<div\\n class=\"drag-and-drop-alert alert alert-info no-drag\"\\n style=\"text-align:center;\"\\n role=\"alert\"\\n data-noattach=\"true\"\\n data-position=\"' +\n((__t = (ctx.position)) == null ? '' : __t) +\n'\"\\n>\\n ' +\n((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) +\n'\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/builderPlaceholder/form.ejs.js?");
|
6375
6375
|
|
6376
6376
|
/***/ }),
|
6377
6377
|
|
@@ -6392,7 +6392,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6392
6392
|
\************************************************************************************************/
|
6393
6393
|
/***/ (function(__unused_webpack_module, exports) {
|
6394
6394
|
|
6395
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div id=\"' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\" class=\"accordion builder-sidebar' +\n((__t = (ctx.scrollEnabled ? ' builder-sidebar_scroll' : '')) == null ? '' : __t) +\n'\" ref=\"sidebar\" role=\"tablist\">\\n <input class=\"form-control builder-sidebar_search\" type=\"search\" ref=\"sidebar-search\" placeholder=\"' +\n((__t = (ctx.t('
|
6395
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div id=\"' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\" class=\"accordion builder-sidebar' +\n((__t = (ctx.scrollEnabled ? ' builder-sidebar_scroll' : '')) == null ? '' : __t) +\n'\" ref=\"sidebar\" role=\"tablist\">\\n <input class=\"form-control builder-sidebar_search\" type=\"search\" ref=\"sidebar-search\" placeholder=\"' +\n((__t = (ctx.t('Search field(s)'))) == null ? '' : __t) +\n'\" />\\n <div ref=\"sidebar-groups\">\\n ';\n ctx.groups.forEach(function(group) { ;\n__p += '\\n ' +\n((__t = ( group )) == null ? '' : __t) +\n'\\n ';\n }) ;\n__p += '\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/builderSidebar/form.ejs.js?");
|
6396
6396
|
|
6397
6397
|
/***/ }),
|
6398
6398
|
|
@@ -6413,7 +6413,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6413
6413
|
\*****************************************************************************************************/
|
6414
6414
|
/***/ (function(__unused_webpack_module, exports) {
|
6415
6415
|
|
6416
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"card form-builder-panel accordion-item\" ref=\"group-panel-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\">\\n <div class=\"card-header form-builder-group-header p-0\" id=\"heading-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\">\\n <h5 class=\"mb-0 mt-0 d-grid accordion-header\">\\n <button\\n class=\"btn builder-group-button\"\\n type=\"button\"\\n data-bs-toggle=\"collapse\"\\n data-bs-target=\"#group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n data-bs-parent=\"#' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\"\\n aria-expanded=\"' +\n((__t = (ctx.group.default)) == null ? '' : __t) +\n'\"\\n aria-controls=\"group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n ref=\"sidebar-anchor\"\\n >\\n ' +\n((__t = (ctx.t(ctx.group.title, { _userInput: true }))) == null ? '' : __t) +\n'\\n </button>\\n </h5>\\n </div>\\n <div\\n id=\"group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n class=\"accordion-collapse collapse ' +\n((__t = (ctx.group.default ? ' show' : '')) == null ? '' : __t) +\n'\"\\n data-bs-parent=\"#' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\"\\n data-default=\"' +\n((__t = (ctx.group.default)) == null ? '' : __t) +\n'\"\\n aria-labelledby=\"heading-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n ref=\"sidebar-group\"\\n >\\n <div id=\"group-container-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\" class=\"d-grid gap-1 no-drop p-2 w-100\" ref=\"sidebar-container\">\\n ';\n if (ctx.group.componentOrder.length || ctx.subgroups.length) { ;\n__p += '\\n ';\n !ctx.group.componentOrder || ctx.group.componentOrder.forEach(function(componentKey) { ;\n__p += '\\n <span\\n ref=\"sidebar-component\"\\n data-group=\"' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n data-key=\"' +\n((__t = (ctx.group.components[componentKey].key)) == null ? '' : __t) +\n'\"\\n data-type=\"' +\n((__t = (ctx.group.components[componentKey].schema.type)) == null ? '' : __t) +\n'\"\\n class=\"btn btn-outline-primary btn-sm formcomponent drag-copy m-0\"\\n tabindex=\"' +\n((__t = (ctx.keyboardActionsEnabled ? 0 : -1)) == null ? '' : __t) +\n'\"\\n >\\n ';\n if (ctx.group.components[componentKey].icon) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass(ctx.group.components[componentKey].icon))) == null ? '' : __t) +\n'\" style=\"margin-right: 5px;\"></i>\\n ';\n } ;\n__p += '\\n ' +\n((__t = (ctx.t(ctx.group.components[componentKey].title, { _userInput: true }))) == null ? '' : __t) +\n'\\n </span>\\n ';\n }) ;\n__p += '\\n ' +\n((__t = (ctx.subgroups.join(''))) == null ? '' : __t) +\n'\\n ';\n } else { ;\n__p += '\\n <div>' +\n((__t = (ctx.t('
|
6416
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"card form-builder-panel accordion-item\" ref=\"group-panel-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\">\\n <div class=\"card-header form-builder-group-header p-0\" id=\"heading-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\">\\n <h5 class=\"mb-0 mt-0 d-grid accordion-header\">\\n <button\\n class=\"btn builder-group-button\"\\n type=\"button\"\\n data-bs-toggle=\"collapse\"\\n data-bs-target=\"#group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n data-bs-parent=\"#' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\"\\n aria-expanded=\"' +\n((__t = (ctx.group.default)) == null ? '' : __t) +\n'\"\\n aria-controls=\"group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n ref=\"sidebar-anchor\"\\n >\\n ' +\n((__t = (ctx.t(ctx.group.title, { _userInput: true }))) == null ? '' : __t) +\n'\\n </button>\\n </h5>\\n </div>\\n <div\\n id=\"group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n class=\"accordion-collapse collapse ' +\n((__t = (ctx.group.default ? ' show' : '')) == null ? '' : __t) +\n'\"\\n data-bs-parent=\"#' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\"\\n data-default=\"' +\n((__t = (ctx.group.default)) == null ? '' : __t) +\n'\"\\n aria-labelledby=\"heading-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n ref=\"sidebar-group\"\\n >\\n <div id=\"group-container-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\" class=\"d-grid gap-1 no-drop p-2 w-100\" ref=\"sidebar-container\">\\n ';\n if (ctx.group.componentOrder.length || ctx.subgroups.length) { ;\n__p += '\\n ';\n !ctx.group.componentOrder || ctx.group.componentOrder.forEach(function(componentKey) { ;\n__p += '\\n <span\\n ref=\"sidebar-component\"\\n data-group=\"' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\n data-key=\"' +\n((__t = (ctx.group.components[componentKey].key)) == null ? '' : __t) +\n'\"\\n data-type=\"' +\n((__t = (ctx.group.components[componentKey].schema.type)) == null ? '' : __t) +\n'\"\\n class=\"btn btn-outline-primary btn-sm formcomponent drag-copy m-0\"\\n tabindex=\"' +\n((__t = (ctx.keyboardActionsEnabled ? 0 : -1)) == null ? '' : __t) +\n'\"\\n >\\n ';\n if (ctx.group.components[componentKey].icon) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass(ctx.group.components[componentKey].icon))) == null ? '' : __t) +\n'\" style=\"margin-right: 5px;\"></i>\\n ';\n } ;\n__p += '\\n ' +\n((__t = (ctx.t(ctx.group.components[componentKey].title, { _userInput: true }))) == null ? '' : __t) +\n'\\n </span>\\n ';\n }) ;\n__p += '\\n ' +\n((__t = (ctx.subgroups.join(''))) == null ? '' : __t) +\n'\\n ';\n } else { ;\n__p += '\\n <div>' +\n((__t = (ctx.t('No Matches Found'))) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__p += '\\n </div>\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/builderSidebarGroup/form.ejs.js?");
|
6417
6417
|
|
6418
6418
|
/***/ }),
|
6419
6419
|
|
@@ -6434,7 +6434,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6434
6434
|
\***********************************************************************************************/
|
6435
6435
|
/***/ (function(__unused_webpack_module, exports) {
|
6436
6436
|
|
6437
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"formio builder row formbuilder\">\\n <div class=\"col-xs-4 col-sm-3 col-md-2 formcomponents\">\\n ' +\n((__t = (ctx.sidebar)) == null ? '' : __t) +\n'\\n </div>\\n <div class=\"col-xs-8 col-sm-9 col-md-10 formarea\">\\n <ol class=\"breadcrumb wizard-pages\">\\n ';\n ctx.pages.forEach(function(page, pageIndex) { ;\n__p += '\\n <li>\\n <span title=\"' +\n((__t = (page.title)) == null ? '' : __t) +\n'\" class=\"me-2 badge ';\n if (pageIndex === ctx.self.page) { ;\n__p += 'bg-primary';\n } else { ;\n__p += 'bg-info';\n } ;\n__p += ' wizard-page-label\" ref=\"gotoPage\">' +\n((__t = (page.title)) == null ? '' : __t) +\n'</span>\\n </li>\\n ';\n }) ;\n__p += '\\n <li class=\"wizard-add-page\">\\n <span title=\"' +\n((__t = (ctx.t('
|
6437
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"formio builder row formbuilder\">\\n <div class=\"col-xs-4 col-sm-3 col-md-2 formcomponents\">\\n ' +\n((__t = (ctx.sidebar)) == null ? '' : __t) +\n'\\n </div>\\n <div class=\"col-xs-8 col-sm-9 col-md-10 formarea\">\\n <ol class=\"breadcrumb wizard-pages\">\\n ';\n ctx.pages.forEach(function(page, pageIndex) { ;\n__p += '\\n <li>\\n <span title=\"' +\n((__t = (page.title)) == null ? '' : __t) +\n'\" class=\"me-2 badge ';\n if (pageIndex === ctx.self.page) { ;\n__p += 'bg-primary';\n } else { ;\n__p += 'bg-info';\n } ;\n__p += ' wizard-page-label\" ref=\"gotoPage\">' +\n((__t = (page.title)) == null ? '' : __t) +\n'</span>\\n </li>\\n ';\n }) ;\n__p += '\\n <li class=\"wizard-add-page\">\\n <span title=\"' +\n((__t = (ctx.t('Create Page'))) == null ? '' : __t) +\n'\" class=\"me-2 badge bg-success wizard-page-label\" ref=\"addPage\">\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('Page'))) == null ? '' : __t) +\n'\\n </span>\\n </li>\\n </ol>\\n <div ref=\"form\">\\n ' +\n((__t = (ctx.form)) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/builderWizard/form.ejs.js?");
|
6438
6438
|
|
6439
6439
|
/***/ }),
|
6440
6440
|
|
@@ -6559,7 +6559,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6559
6559
|
\************************************************************************************************/
|
6560
6560
|
/***/ (function(__unused_webpack_module, exports) {
|
6561
6561
|
|
6562
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"formio-component-modal-wrapper formio-component-modal-wrapper-' +\n((__t = ( ctx.component.type )) == null ? '' : __t) +\n'\" ref=\"componentModalWrapper\">\\n <div ref=\"openModalWrapper\"></div>\\n <div class=\"formio-dialog formio-dialog-theme-default component-rendering-hidden\" ref=\"modalWrapper\">\\n <div class=\"formio-dialog-overlay\" ref=\"modalOverlay\"></div>\\n <div class=\"formio-dialog-content\" aria-labelledby=\"ml-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\" ';\n if (!ctx.self.isIE()) { ;\n__p += ' role=\"dialog\" ';\n } ;\n__p += ' ref=\"modalContents\">\\n <label class=\"visually-hidden\" id=\"ml-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\">' +\n((__t = ( ctx.t(ctx.component.label) )) == null ? '' : __t) +\n'' +\n((__t = (ctx.self.isIE() ? ', dialog' : '')) == null ? '' : __t) +\n'</label>\\n ';\n if (ctx.options.vpat) { ;\n__p += '\\n <button class=\"formio-dialog-close float-end\" title=\"Close\" aria-label=\"
|
6562
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"formio-component-modal-wrapper formio-component-modal-wrapper-' +\n((__t = ( ctx.component.type )) == null ? '' : __t) +\n'\" ref=\"componentModalWrapper\">\\n <div ref=\"openModalWrapper\"></div>\\n <div class=\"formio-dialog formio-dialog-theme-default component-rendering-hidden\" ref=\"modalWrapper\">\\n <div class=\"formio-dialog-overlay\" ref=\"modalOverlay\"></div>\\n <div class=\"formio-dialog-content\" aria-labelledby=\"ml-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\" ';\n if (!ctx.self.isIE()) { ;\n__p += ' role=\"dialog\" ';\n } ;\n__p += ' ref=\"modalContents\">\\n <label class=\"visually-hidden\" id=\"ml-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\">' +\n((__t = ( ctx.t(ctx.component.label) )) == null ? '' : __t) +\n'' +\n((__t = (ctx.self.isIE() ? ', dialog' : '')) == null ? '' : __t) +\n'</label>\\n ';\n if (ctx.options.vpat) { ;\n__p += '\\n <button class=\"formio-dialog-close float-end\" title=\"Close\" aria-label=\"Close button. Click to get back to the form\" ref=\"modalCloseButton\"></button>\\n ';\n } else { ;\n__p += '\\n <button class=\"formio-dialog-close float-end btn btn-secondary btn-sm\" aria-label=\"Close button. Click to get back to the form\" ref=\"modalClose\"></button>\\n ';\n } ;\n__p += '\\n <div ref=\"modalContent\">\\n ';\n if (ctx.visible) { ;\n__p += '\\n <div ref=\"componentContent\">' +\n((__t = (ctx.children)) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__p += '\\n <div class=\"formio-dialog-buttons\">\\n ';\n if (ctx.options.vpat) { ;\n__p += '\\n <button class=\"btn btn-secondary formio-dialog-button\" aria-label=\"Cancel button. Click to cancel the changes and get back to the form.\" ref=\"modalClose\">' +\n((__t = (ctx.t('Cancel'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n <button class=\"btn btn-success formio-dialog-button\" ref=\"modalSave\" aria-label=\"Save button. Click to save the changes and get back to the form.\">' +\n((__t = (ctx.t('Save'))) == null ? '' : __t) +\n'</button>\\n </div>\\n </div>\\n </div>\\n <span class=\"visually-hidden\" ref=\"modalLiveRegion\" aria-live=\"assertive\"></span>\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/componentModal/form.ejs.js?");
|
6563
6563
|
|
6564
6564
|
/***/ }),
|
6565
6565
|
|
@@ -6633,7 +6633,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
6633
6633
|
\******************************************************************************************/
|
6634
6634
|
/***/ (function(__unused_webpack_module, exports) {
|
6635
6635
|
|
6636
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<table class=\"table datagrid-table table-bordered\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \" ';\n if (ctx.component.layoutFixed || ctx.readOnly) { ;\n__p += 'style=\"table-layout: fixed;\"';\n } ;\n__p += '>\\n ';\n if (ctx.hasHeader) { ;\n__p += '\\n <thead>\\n <tr>\\n ';\n if (ctx.component.reorder) { ;\n__p += '<th></th>';\n } ;\n__p += '\\n ';\n ctx.columns.forEach(function(col) { ;\n__p += '\\n <th class=\"' +\n((__t = (col.validate && col.validate.required ? 'field-required' : '')) == null ? '' : __t) +\n'\">\\n ' +\n((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) +\n'\\n ';\n if (col.tooltip) { ;\n__p += ' <i ref=\"tooltip\" tabindex=\"0\" data-title=\"' +\n((__t = (col.tooltip)) == null ? '' : __t) +\n'\" class=\"' +\n((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +\n' text-muted\" data-tooltip=\"' +\n((__t = (col.tooltip)) == null ? '' : __t) +\n'\"></i>';\n } ;\n__p += '\\n </th>\\n ';\n }) ;\n__p += '\\n ';\n if (ctx.hasExtraColumn) { ;\n__p += '\\n <th>\\n <span class=\"visually-hidden\">' +\n((__t = ( ctx.t('
|
6636
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<table class=\"table datagrid-table table-bordered\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \" ';\n if (ctx.component.layoutFixed || ctx.readOnly) { ;\n__p += 'style=\"table-layout: fixed;\"';\n } ;\n__p += '>\\n ';\n if (ctx.hasHeader) { ;\n__p += '\\n <thead>\\n <tr>\\n ';\n if (ctx.component.reorder) { ;\n__p += '<th></th>';\n } ;\n__p += '\\n ';\n ctx.columns.forEach(function(col) { ;\n__p += '\\n <th class=\"' +\n((__t = (col.validate && col.validate.required ? 'field-required' : '')) == null ? '' : __t) +\n'\">\\n ' +\n((__t = ( col.hideLabel ? '' : ctx.t(col.label || col.title, { _userInput: true }) )) == null ? '' : __t) +\n'\\n ';\n if (col.tooltip) { ;\n__p += ' <i ref=\"tooltip\" tabindex=\"0\" data-title=\"' +\n((__t = (col.tooltip)) == null ? '' : __t) +\n'\" class=\"' +\n((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) +\n' text-muted\" data-tooltip=\"' +\n((__t = (col.tooltip)) == null ? '' : __t) +\n'\"></i>';\n } ;\n__p += '\\n </th>\\n ';\n }) ;\n__p += '\\n ';\n if (ctx.hasExtraColumn) { ;\n__p += '\\n <th>\\n <span class=\"visually-hidden\">' +\n((__t = ( ctx.t('Add/Remove') )) == null ? '' : __t) +\n'</span>\\n ';\n if (!ctx.builder && ctx.hasAddButton && ctx.hasTopSubmit) { ;\n__p += '\\n <button class=\"btn btn-primary formio-button-add-row\" ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'-addRow\" tabindex=\"' +\n((__t = (ctx.tabIndex)) == null ? '' : __t) +\n'\">\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +\n'\\n </button>\\n ';\n } ;\n__p += '\\n </th>\\n ';\n } ;\n__p += '\\n </tr>\\n </thead>\\n ';\n } ;\n__p += '\\n <tbody ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'-tbody\" data-key=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'\">\\n ';\n ctx.rows.forEach(function(row, index) { ;\n__p += '\\n ';\n if (ctx.hasGroups && ctx.groups[index]) { ;\n__p += '\\n <tr ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'-group-header\" class=\"datagrid-group-header' +\n((__t = (ctx.hasToggle ? ' clickable' : '')) == null ? '' : __t) +\n'\">\\n <td\\n ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'-group-label\"\\n colspan=\"' +\n((__t = (ctx.numColumns)) == null ? '' : __t) +\n'\"\\n class=\"datagrid-group-label\">' +\n((__t = (ctx.groups[index].label)) == null ? '' : __t) +\n'</td>\\n </tr>\\n ';\n } ;\n__p += '\\n <tr ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'-row\">\\n ';\n if (ctx.component.reorder) { ;\n__p += '\\n <td class=\"col-1\">\\n <button type=\"button\" class=\"formio-drag-button btn btn-default bi bi-list\" data-key=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'\"></button>\\n </td>\\n ';\n } ;\n__p += '\\n ';\n ctx.columns.forEach(function(col) { ;\n__p += '\\n <td ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'\" ';\n if (col.key && col.overlay && col.overlay.width) { ;\n__p += ' style=\"width: ' +\n((__t = (col.overlay.width + 'px')) == null ? '' : __t) +\n'\"';\n } ;\n__p += ' >\\n ' +\n((__t = (row[col.key])) == null ? '' : __t) +\n'\\n </td>\\n ';\n }) ;\n__p += '\\n ';\n if (ctx.hasExtraColumn) { ;\n__p += '\\n ';\n if (ctx.hasRemoveButtons) { ;\n__p += '\\n <td class=\"col-1\">\\n <button type=\"button\" class=\"btn btn-secondary formio-button-remove-row\" ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'-removeRow\" tabindex=\"' +\n((__t = (ctx.tabIndex)) == null ? '' : __t) +\n'\" aria-label=\"' +\n((__t = (ctx.t('remove'))) == null ? '' : __t) +\n'\">\\n <i class=\"' +\n((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) +\n'\"></i>\\n </button>\\n </td>\\n ';\n } ;\n__p += '\\n ';\n if (ctx.canAddColumn) { ;\n__p += '\\n <td ref=\"' +\n((__t = (ctx.key)) == null ? '' : __t) +\n'-container\" class=\"col-md-3\">\\n ' +\n((__t = (ctx.placeholder)) == null ? '' : __t) +\n'\\n </td>\\n ';\n } ;\n__p += '\\n ';\n } ;\n__p += '\\n </tr>\\n ';\n }) ;\n__p += '\\n </tbody>\\n ';\n if (!ctx.builder && ctx.hasAddButton && ctx.hasBottomSubmit) { ;\n__p += '\\n <tfoot>\\n <tr>\\n <td colspan=\"' +\n((__t = (ctx.component.layoutFixed ? ctx.numColumns : ctx.numColumns + 1)) == null ? '' : __t) +\n'\">\\n <button class=\"btn btn-primary formio-button-add-row\" ref=\"' +\n((__t = (ctx.datagridKey)) == null ? '' : __t) +\n'-addRow\" tabindex=\"' +\n((__t = (ctx.tabIndex)) == null ? '' : __t) +\n'\">\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +\n'\\n </button>\\n </td>\\n </tr>\\n </tfoot>\\n ';\n } ;\n__p += '\\n</table>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/datagrid/form.ejs.js?");
|
6637
6637
|
|
6638
6638
|
/***/ }),
|
6639
6639
|
|
@@ -6664,7 +6664,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6664
6664
|
\*************************************************************************************/
|
6665
6665
|
/***/ (function(__unused_webpack_module, exports) {
|
6666
6666
|
|
6667
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"row\" role=\"group\"\\n ';\n if (ctx.component.hideLabel) { ;\n__p += '\\n aria-label=\"' +\n((__t = (ctx.component.label)) == null ? '' : __t) +\n'\"\\n ';\n } else { ;\n__p += '\\n aria-labelledby=\"l-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"\\n ';\n } ;\n__p += '\\n ';\n if (ctx.component.description) { ;\n__p += '\\n aria-describedby=\"d-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"\\n ';\n } ;\n__p += '\\n >\\n ';\n if (ctx.dayFirst && ctx.showDay) { ;\n__p += '\\n <div class=\"col col-xs-3\">\\n ';\n if (!ctx.component.hideInputLabels) { ;\n__p += '\\n <label for=\"' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'-day\" class=\"';\n if(ctx.component.fields.day.required) { ;\n__p += 'field-required';\n } ;\n__p += '\">' +\n((__t = (ctx.t('
|
6667
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"row\" role=\"group\"\\n ';\n if (ctx.component.hideLabel) { ;\n__p += '\\n aria-label=\"' +\n((__t = (ctx.component.label)) == null ? '' : __t) +\n'\"\\n ';\n } else { ;\n__p += '\\n aria-labelledby=\"l-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"\\n ';\n } ;\n__p += '\\n ';\n if (ctx.component.description) { ;\n__p += '\\n aria-describedby=\"d-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"\\n ';\n } ;\n__p += '\\n >\\n ';\n if (ctx.dayFirst && ctx.showDay) { ;\n__p += '\\n <div class=\"col col-xs-3\">\\n ';\n if (!ctx.component.hideInputLabels) { ;\n__p += '\\n <label for=\"' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'-day\" class=\"';\n if(ctx.component.fields.day.required) { ;\n__p += 'field-required';\n } ;\n__p += '\">' +\n((__t = (ctx.t('Day'))) == null ? '' : __t) +\n'</label>\\n ';\n } ;\n__p += '\\n <div>' +\n((__t = (ctx.day)) == null ? '' : __t) +\n'</div>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (ctx.showMonth) { ;\n__p += '\\n <div class=\"col col-xs-4\">\\n ';\n if (!ctx.component.hideInputLabels) { ;\n__p += '\\n <label for=\"' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'-month\" class=\"';\n if(ctx.component.fields.month.required) { ;\n__p += 'field-required';\n } ;\n__p += '\">' +\n((__t = (ctx.t('Month'))) == null ? '' : __t) +\n'</label>\\n ';\n } ;\n__p += '\\n <div>' +\n((__t = (ctx.month)) == null ? '' : __t) +\n'</div>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.dayFirst && ctx.showDay) { ;\n__p += '\\n <div class=\"col col-xs-3\">\\n ';\n if (!ctx.component.hideInputLabels) { ;\n__p += '\\n <label for=\"' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'-day\" class=\"';\n if(ctx.component.fields.day.required) { ;\n__p += 'field-required';\n } ;\n__p += '\">' +\n((__t = (ctx.t('Day'))) == null ? '' : __t) +\n'</label>\\n ';\n } ;\n__p += '\\n <div>' +\n((__t = (ctx.day)) == null ? '' : __t) +\n'</div>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (ctx.showYear) { ;\n__p += '\\n <div class=\"col col-xs-5\">\\n ';\n if (!ctx.component.hideInputLabels) { ;\n__p += '\\n <label for=\"' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'-year\" class=\"';\n if(ctx.component.fields.year.required) { ;\n__p += 'field-required';\n } ;\n__p += '\">' +\n((__t = (ctx.t('Year'))) == null ? '' : __t) +\n'</label>\\n ';\n } ;\n__p += '\\n <div>' +\n((__t = (ctx.year)) == null ? '' : __t) +\n'</div>\\n </div>\\n ';\n } ;\n__p += '\\n</div>\\n<input name=\"ctx.data[day]\" type=\"hidden\" class=\"form-control\" lang=\"en\" value=\"\" ref=\"input\">\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/day/form.ejs.js?");
|
6668
6668
|
|
6669
6669
|
/***/ }),
|
6670
6670
|
|
@@ -6706,7 +6706,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6706
6706
|
\******************************************************************************************/
|
6707
6707
|
/***/ (function(__unused_webpack_module, exports) {
|
6708
6708
|
|
6709
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<ul class=\"editgrid-listgroup list-group\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <li class=\"list-group-item list-group-header\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <li class=\"list-group-item\" ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || '
|
6709
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<ul class=\"editgrid-listgroup list-group\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <li class=\"list-group-item list-group-header\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <li class=\"list-group-item\" ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.component.removeRow) { ;\n__p += '\\n <button class=\"btn btn-danger\" ref=\"' +\n((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n ';\n } ;\n__p += '\\n <div class=\"has-error\">\\n <div class=\"editgrid-row-error\">\\n ' +\n((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n ';\n if (ctx.footer) { ;\n__p += '\\n <li class=\"list-group-item list-group-footer\">\\n ' +\n((__t = (ctx.footer)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n</ul>\\n';\n if (!ctx.readOnly && ctx.hasAddButton) { ;\n__p += '\\n<button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.addRow)) == null ? '' : __t) +\n'\">\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +\n'\\n</button>\\n';\n } ;\n__p += '\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/editgrid/form.ejs.js?");
|
6710
6710
|
|
6711
6711
|
/***/ }),
|
6712
6712
|
|
@@ -6716,7 +6716,7 @@ eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nex
|
|
6716
6716
|
\******************************************************************************************/
|
6717
6717
|
/***/ (function(__unused_webpack_module, exports) {
|
6718
6718
|
|
6719
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<ul class=\"editgrid-listgroup list-group\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <li class=\"list-group-item list-group-header\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <li class=\"list-group-item\" ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || '
|
6719
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<ul class=\"editgrid-listgroup list-group\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <li class=\"list-group-item list-group-header\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <li class=\"list-group-item\" ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.component.removeRow) { ;\n__p += '\\n <button class=\"btn btn-danger\" ref=\"' +\n((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n ';\n } ;\n__p += '\\n <div class=\"has-error\">\\n <div class=\"editgrid-row-error help-block\">\\n ' +\n((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n ';\n if (ctx.footer) { ;\n__p += '\\n <li class=\"list-group-item list-group-footer\">\\n ' +\n((__t = (ctx.footer)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n</ul>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/editgrid/html.ejs.js?");
|
6720
6720
|
|
6721
6721
|
/***/ }),
|
6722
6722
|
|
@@ -6737,7 +6737,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6737
6737
|
\***********************************************************************************************/
|
6738
6738
|
/***/ (function(__unused_webpack_module, exports) {
|
6739
6739
|
|
6740
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"editgrid-table-container\">\\n <div class=\"table-responsive\">\\n <table class=\"table\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <thead class=\"editgrid-table-head\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </thead>\\n ';\n } ;\n__p += '\\n <tbody class=\"editgrid-table-body\">\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <tr ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <td class=\"editgrid-table-column\">\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || '
|
6740
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"editgrid-table-container\">\\n <div class=\"table-responsive\">\\n <table class=\"table\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <thead class=\"editgrid-table-head\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </thead>\\n ';\n } ;\n__p += '\\n <tbody class=\"editgrid-table-body\">\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <tr ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <td class=\"editgrid-table-column\">\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.component.removeRow) { ;\n__p += '\\n <button class=\"btn btn-danger\" ref=\"' +\n((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n </td>\\n ';\n } ;\n__p += '\\n ';\n if (ctx.errors[rowIndex]) { ;\n__p += '\\n <td class=\"editgrid-table-column\">\\n <div class=\"has-error\">\\n <div class=\"editgrid-row-error help-block\">\\n ' +\n((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n </td>\\n ';\n } ;\n__p += '\\n </tr>\\n ';\n }) ;\n__p += '\\n </tbody>\\n ';\n if (ctx.footer) { ;\n__p += '\\n <tfoot>\\n <tr>\\n ' +\n((__t = (ctx.footer)) == null ? '' : __t) +\n'\\n </tr>\\n <tfoot>\\n ';\n } ;\n__p += '\\n </table>\\n </div>\\n</div>\\n';\n if (!ctx.readOnly && ctx.hasAddButton) { ;\n__p += '\\n<button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.addRow)) == null ? '' : __t) +\n'\">\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i>\\n ' +\n((__t = (ctx.t(ctx.component.addAnother || 'Add Another', { _userInput: true }))) == null ? '' : __t) +\n'\\n</button>\\n';\n } ;\n__p += '\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/editgridTable/form.ejs.js?");
|
6741
6741
|
|
6742
6742
|
/***/ }),
|
6743
6743
|
|
@@ -6747,7 +6747,7 @@ eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nex
|
|
6747
6747
|
\***********************************************************************************************/
|
6748
6748
|
/***/ (function(__unused_webpack_module, exports) {
|
6749
6749
|
|
6750
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"editgrid-table-container\">\\n <div class=\"table-responsive\">\\n <table class=\"table\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <thead class=\"editgrid-table-head\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </thead>\\n ';\n } ;\n__p += '\\n <tbody class=\"editgrid-table-body\">\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <tr ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <td class=\"editgrid-table-column\">\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || '
|
6750
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"editgrid-table-container\">\\n <div class=\"table-responsive\">\\n <table class=\"table\\n ' +\n((__t = ( ctx.component.striped ? 'table-striped' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.bordered ? 'table-bordered' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.hover ? 'table-hover' : '')) == null ? '' : __t) +\n'\\n ' +\n((__t = ( ctx.component.condensed ? 'table-sm' : '')) == null ? '' : __t) +\n'\\n \">\\n ';\n if (ctx.header) { ;\n__p += '\\n <thead class=\"editgrid-table-head\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </thead>\\n ';\n } ;\n__p += '\\n <tbody class=\"editgrid-table-body\">\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <tr ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <td class=\"editgrid-table-column\">\\n <div class=\"editgrid-actions\">\\n <button class=\"btn btn-primary\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || 'Save', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.component.removeRow) { ;\n__p += '\\n <button class=\"btn btn-danger\" ref=\"' +\n((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.removeRow || 'Cancel', { _userInput: true }))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n </td>\\n ';\n } ;\n__p += '\\n ';\n if (ctx.errors[rowIndex]) { ;\n__p += '\\n <td class=\"editgrid-table-column\">\\n <div class=\"has-error\">\\n <div class=\"editgrid-row-error help-block\">\\n ' +\n((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n </td>\\n ';\n } ;\n__p += '\\n </tr>\\n ';\n }) ;\n__p += '\\n </tbody>\\n ';\n if (ctx.footer) { ;\n__p += '\\n <tfoot>\\n <tr>\\n ' +\n((__t = (ctx.footer)) == null ? '' : __t) +\n'\\n </tr>\\n <tfoot>\\n ';\n } ;\n__p += '\\n </table>\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/editgridTable/html.ejs.js?");
|
6751
6751
|
|
6752
6752
|
/***/ }),
|
6753
6753
|
|
@@ -6841,7 +6841,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6841
6841
|
\**************************************************************************************/
|
6842
6842
|
/***/ (function(__unused_webpack_module, exports) {
|
6843
6843
|
|
6844
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n\n if (ctx.options.vpat) { ;\n__p += '\\n <span tabindex=\"-1\" class=\"visually-hidden\" id=\"invisible-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"></span>\\n';\n } ;\n__p += '\\n';\n if (!ctx.self.imageUpload) { ;\n__p += '\\n ';\n if (ctx.options.vpat) { ;\n__p += '\\n <div>' +\n((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern)) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__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-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\"><strong>' +\n((__t = (ctx.t('fileName'))) == null ? '' : __t) +\n'</strong></div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\"><strong>' +\n((__t = (ctx.t('size'))) == null ? '' : __t) +\n'</strong></div>\\n ';\n if (ctx.self.hasTypes) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\"><strong>' +\n((__t = (ctx.t('type'))) == null ? '' : __t) +\n'</strong></div>\\n ';\n } ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\">\\n ';\n if (ctx.showSyncButton) { ;\n__p += '\\n <button\\n class=\"btn btn-primary btn-sm\"\\n ref=\"syncNow\"\\n ';\n if (ctx.disabled || ctx.isSyncing) { ;\n__p += 'disabled=true';\n } ;\n__p += '\\n >' +\n((__t = (ctx.isSyncing ? ctx.t('syncing') : ctx.t('syncNow'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n </div>\\n </li>\\n ';\n ctx.files.forEach(function(file) { ;\n__p += '\\n <li class=\"list-group-item\">\\n <div class=\"row\">\\n <div class=\"col-md-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\">\\n ';\n if (ctx.component.uploadOnly) { ;\n__p += '\\n ' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'\\n ';\n } else { ;\n__p += '\\n <a href=\"' +\n((__t = (file.url || '#')) == null ? '' : __t) +\n'\" target=\"_blank\" ref=\"fileLink\">\\n <span class=\"visually-hidden\">' +\n((__t = (ctx.t('pressToOpen') + ' ')) == null ? '' : __t) +\n'</span>' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'\\n </a>\\n ';\n } ;\n__p += '\\n </div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +\n'</div>\\n ';\n if (ctx.self.hasTypes && !ctx.disabled) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">\\n <select class=\"file-type\" ref=\"fileType\">\\n ';\n ctx.component.fileTypes.map(function(type) { ;\n__p += '\\n <option class=\"test\" value=\"' +\n((__t = ( type.value )) == null ? '' : __t) +\n'\" ';\n if (type.label === file.fileType) { ;\n__p += 'selected=\"selected\"';\n } ;\n__p += '>' +\n((__t = (ctx.t(type.label))) == null ? '' : __t) +\n'</option>\\n ';\n }); ;\n__p += '\\n </select>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (ctx.self.hasTypes && ctx.disabled) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">' +\n((__t = (file.fileType)) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.disabled) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +\n'\" ref=\"removeLink\"></i></div>\\n ';\n } ;\n__p += '\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n ';\n ctx.filesToDelete.forEach(function(file) { ;\n__p += '\\n <li class=\"list-group-item\">\\n <div class=\"row align-center\">\\n <div class=\"col-md-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\">\\n <div>' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'</div>\\n <div class=\"status text-' +\n((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(file.message))) == null ? '' : __t) +\n'</div>\\n </div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +\n'</div>\\n ';\n if (ctx.self.hasTypes) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">\\n <select class=\"file-type\" ref=\"fileType\">\\n ';\n ctx.component.fileTypes.map(function(type) { ;\n__p += '\\n <option class=\"test\" value=\"' +\n((__t = ( type.value )) == null ? '' : __t) +\n'\" ';\n if (type.label === file.fileType) { ;\n__p += 'selected=\"selected\"';\n } ;\n__p += '>' +\n((__t = (ctx.t(type.label))) == null ? '' : __t) +\n'</option>\\n ';\n }); ;\n__p += '\\n </select>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.isSyncing && file.status !== 'success') { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('arrow-counterclockwise'))) == null ? '' : __t) +\n'\" ref=\"restoreFile\"></i></div>\\n ';\n } ;\n__p += '\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n ';\n ctx.filesToUpload.forEach(function(file) { ;\n__p += '\\n <li class=\"list-group-item\">\\n <div class=\"row align-center\">\\n <div class=\"col-md-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\">\\n <div>' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'</div>\\n ';\n if (file.status === 'progress') { ;\n__p += '\\n <div class=\"status progress\">\\n <div id=\"' +\n((__t = (file.id)) == null ? '' : __t) +\n'\" class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"' +\n((__t = (file.progress)) == null ? '' : __t) +\n'\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: ' +\n((__t = (file.progress)) == null ? '' : __t) +\n'%\" ref=\"progress\">\\n <span class=\"visually-hidden\">' +\n((__t = (file.progress)) == null ? '' : __t) +\n'% ' +\n((__t = (ctx.t('completeStatus'))) == null ? '' : __t) +\n'</span>\\n </div>\\n </div>\\n ';\n } else { ;\n__p += '\\n <div class=\"status text-' +\n((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(file.message))) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__p += '\\n </div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +\n'</div>\\n ';\n if (ctx.self.hasTypes) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">\\n <select class=\"file-type\" ref=\"fileType\">\\n ';\n ctx.component.fileTypes.map(function(type) { ;\n__p += '\\n <option class=\"test\" value=\"' +\n((__t = ( type.value )) == null ? '' : __t) +\n'\" ';\n if (type.label === file.fileType) { ;\n__p += 'selected=\"selected\"';\n } ;\n__p += '>' +\n((__t = (ctx.t(type.label))) == null ? '' : __t) +\n'</option>\\n ';\n }); ;\n__p += '\\n </select>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (file.status === 'progress') { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i id=\"abort-' +\n((__t = (file.id)) == null ? '' : __t) +\n'\" tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('ban'))) == null ? '' : __t) +\n'\"></i></div>\\n ';\n } else if (!ctx.isSyncing && file.status !== 'success') { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +\n'\" ref=\"fileToSyncRemove\"></i></div>\\n ';\n } ;\n__p += '\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n </ul>\\n';\n } else { ;\n__p += '\\n <div>\\n ';\n ctx.files.forEach(function(file) { ;\n__p += '\\n <div>\\n <span>\\n <img ref=\"fileImage\" src=\"\" alt=\"' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'\" style=\"width:' +\n((__t = (ctx.component.imageSize)) == null ? '' : __t) +\n'px\">\\n ';\n if (!ctx.disabled) { ;\n__p += '\\n <i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +\n'\" ref=\"removeLink\" aria-label=\"' +\n((__t = (ctx.t('removeBtnPressToRemove') + ' ' + (file.originalName || file.name) + ' ' + ctx.t('file'))) == null ? '' : __t) +\n'\"></i>\\n ';\n } ;\n__p += '\\n </span>\\n </div>\\n ';\n }) ;\n__p += '\\n ';\n ctx.filesToUpload.forEach(function(file) { ;\n__p += '\\n ';\n if (file.status === 'progress') { ;\n__p += '\\n <div class=\"text-end\">' +\n((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +\n'</div>\\n <div class=\"status progress\">\\n <div id=\"' +\n((__t = (file.id)) == null ? '' : __t) +\n'\" class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"' +\n((__t = (file.progress)) == null ? '' : __t) +\n'\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: ' +\n((__t = (file.progress)) == null ? '' : __t) +\n'%\" ref=\"progress\">\\n <span class=\"visually-hidden\">' +\n((__t = (file.progress)) == null ? '' : __t) +\n'% ' +\n((__t = (ctx.t('completeStatus'))) == null ? '' : __t) +\n'</span>\\n </div>\\n </div>\\n ';\n } else { ;\n__p += '\\n <div class=\"status text-' +\n((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(file.message))) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__p += '\\n ';\n }) ;\n__p += '\\n </div>\\n';\n } ;\n__p += '\\n';\n if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ;\n__p += '\\n ';\n if (ctx.self.useWebViewCamera) { ;\n__p += '\\n <div class=\"fileSelector\">\\n <button class=\"btn btn-primary\" ref=\"galleryButton\"><i class=\"' +\n((__t = (ctx.iconClass('book'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('gallery'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-primary\" ref=\"cameraButton\"><i class=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('camera'))) == null ? '' : __t) +\n'</button>\\n </div>\\n ';\n } else if (!ctx.self.cameraMode) { ;\n__p += '\\n <div class=\"fileSelector\" ref=\"fileDrop\" ' +\n((__t = (ctx.fileDropHidden ?'hidden' : '')) == null ? '' : __t) +\n'>\\n ';\n if (!ctx.self.isMobile.any) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('dropFilesToAttach'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n ';\n if (ctx.self.imageUpload && ctx.component.webcam) { ;\n__p += '\\n <a href=\"#\" ref=\"toggleCameraMode\"><i class=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('useCamera'))) == null ? '' : __t) +\n'</a>\\n ' +\n((__t = (ctx.t('or'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">\\n ';\n if (ctx.self.isMobile.any && ctx.component.capture) { ;\n__p += '\\n ';\n if (ctx.component.filePattern && ctx.component.filePattern.includes(\"video\")) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('video'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('captureVideo'))) == null ? '' : __t) +\n'\\n ';\n } else if (ctx.component.filePattern && ctx.component.filePattern.includes(\"audio\")) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('microphone'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('captureAudio'))) == null ? '' : __t) +\n'\\n ';\n } else { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('captureImage'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n ';\n } else { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('folder-open'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('browseFiles'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n <span class=\"visually-hidden\">\\n ' +\n((__t = (ctx.t('browseToAttachFileFor') + ' ' + ctx.t(ctx.component.label, { _userInput: true }) + '. ' +\n (ctx.component.description ? ctx.t(ctx.component.description, { _userInput: true }) + '. ' : '') +\n ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? ctx.t('anyFileTypesAllowed') : ctx.t('allowedFileTypes') + ': ' + ctx.component.filePattern))) == null ? '' : __t) +\n'\\n </span>\\n </a>\\n <div ref=\"fileProcessingLoader\" class=\"loader-wrapper\">\\n <div class=\"loader text-center\"></div>\\n </div>\\n </div>\\n ';\n } else { ;\n__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=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('takePicture'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-primary\" ref=\"toggleCameraMode\">' +\n((__t = (ctx.t('switchToFileUpload'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n';\n } ;\n__p += '\\n';\n if (!ctx.component.storage || ctx.support.hasWarning) { ;\n__p += '\\n <div class=\"alert alert-warning\">\\n ';\n if (!ctx.component.storage) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t('noStorageSet'))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.support.filereader) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t('noFileApiSupport'))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.support.formdata) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t('noFormDataSupport'))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.support.progress) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t('noProgressSupport'))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n </div>\\n';\n } ;\n__p += '\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/file/form.ejs.js?");
|
6844
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n\n if (ctx.options.vpat) { ;\n__p += '\\n <span tabindex=\"-1\" class=\"visually-hidden\" id=\"invisible-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"></span>\\n';\n } ;\n__p += '\\n';\n if (!ctx.self.imageUpload) { ;\n__p += '\\n ';\n if (ctx.options.vpat) { ;\n__p += '\\n <div>' +\n((__t = ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__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-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\"><strong>' +\n((__t = (ctx.t('File Name'))) == null ? '' : __t) +\n'</strong></div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\"><strong>' +\n((__t = (ctx.t('Size'))) == null ? '' : __t) +\n'</strong></div>\\n ';\n if (ctx.self.hasTypes) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\"><strong>' +\n((__t = (ctx.t('Type'))) == null ? '' : __t) +\n'</strong></div>\\n ';\n } ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\">\\n ';\n if (ctx.showSyncButton) { ;\n__p += '\\n <button\\n class=\"btn btn-primary btn-sm\"\\n ref=\"syncNow\"\\n ';\n if (ctx.disabled || ctx.isSyncing) { ;\n__p += 'disabled=true';\n } ;\n__p += '\\n >' +\n((__t = (ctx.isSyncing ? ctx.t('Syncing...') : ctx.t('Sync Now'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n </div>\\n </li>\\n ';\n ctx.files.forEach(function(file) { ;\n__p += '\\n <li class=\"list-group-item\">\\n <div class=\"row\">\\n <div class=\"col-md-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\">\\n ';\n if (ctx.component.uploadOnly) { ;\n__p += '\\n ' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'\\n ';\n } else { ;\n__p += '\\n <a href=\"' +\n((__t = (file.url || '#')) == null ? '' : __t) +\n'\" target=\"_blank\" ref=\"fileLink\">\\n <span class=\"visually-hidden\">' +\n((__t = (ctx.t('Press to open '))) == null ? '' : __t) +\n'</span>' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'\\n </a>\\n ';\n } ;\n__p += '\\n </div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +\n'</div>\\n ';\n if (ctx.self.hasTypes && !ctx.disabled) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">\\n <select class=\"file-type\" ref=\"fileType\">\\n ';\n ctx.component.fileTypes.map(function(type) { ;\n__p += '\\n <option class=\"test\" value=\"' +\n((__t = ( type.value )) == null ? '' : __t) +\n'\" ';\n if (type.label === file.fileType) { ;\n__p += 'selected=\"selected\"';\n } ;\n__p += '>' +\n((__t = (ctx.t(type.label))) == null ? '' : __t) +\n'</option>\\n ';\n }); ;\n__p += '\\n </select>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (ctx.self.hasTypes && ctx.disabled) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">' +\n((__t = (file.fileType)) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.disabled) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +\n'\" ref=\"removeLink\"></i></div>\\n ';\n } ;\n__p += '\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n ';\n ctx.filesToDelete.forEach(function(file) { ;\n__p += '\\n <li class=\"list-group-item\">\\n <div class=\"row align-center\">\\n <div class=\"col-md-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\">\\n <div>' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'</div>\\n <div class=\"status text-' +\n((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(file.message))) == null ? '' : __t) +\n'</div>\\n </div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +\n'</div>\\n ';\n if (ctx.self.hasTypes) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">\\n <select class=\"file-type\" ref=\"fileType\">\\n ';\n ctx.component.fileTypes.map(function(type) { ;\n__p += '\\n <option class=\"test\" value=\"' +\n((__t = ( type.value )) == null ? '' : __t) +\n'\" ';\n if (type.label === file.fileType) { ;\n__p += 'selected=\"selected\"';\n } ;\n__p += '>' +\n((__t = (ctx.t(type.label))) == null ? '' : __t) +\n'</option>\\n ';\n }); ;\n__p += '\\n </select>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.isSyncing && file.status !== 'success') { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('arrow-counterclockwise'))) == null ? '' : __t) +\n'\" ref=\"restoreFile\"></i></div>\\n ';\n } ;\n__p += '\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n ';\n ctx.filesToUpload.forEach(function(file) { ;\n__p += '\\n <li class=\"list-group-item\">\\n <div class=\"row align-center\">\\n <div class=\"col-md-' +\n((__t = (ctx.columns.name)) == null ? '' : __t) +\n'\">\\n <div>' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'</div>\\n ';\n if (file.status === 'progress') { ;\n__p += '\\n <div class=\"status progress\">\\n <div id=\"' +\n((__t = (file.id)) == null ? '' : __t) +\n'\" class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"' +\n((__t = (file.progress)) == null ? '' : __t) +\n'\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: ' +\n((__t = (file.progress)) == null ? '' : __t) +\n'%\" ref=\"progress\">\\n <span class=\"visually-hidden\">' +\n((__t = (file.progress)) == null ? '' : __t) +\n'% ' +\n((__t = (ctx.t('Complete'))) == null ? '' : __t) +\n'</span>\\n </div>\\n </div>\\n ';\n } else { ;\n__p += '\\n <div class=\"status text-' +\n((__t = (file.status === 'error' ? 'danger': file.status)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(file.message))) == null ? '' : __t) +\n'</div>\\n ';\n } ;\n__p += '\\n </div>\\n <div class=\"col-md-' +\n((__t = (ctx.columns.size)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.fileSize(file.size))) == null ? '' : __t) +\n'</div>\\n ';\n if (ctx.self.hasTypes) { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.type)) == null ? '' : __t) +\n'\">\\n <select class=\"file-type\" ref=\"fileType\">\\n ';\n ctx.component.fileTypes.map(function(type) { ;\n__p += '\\n <option class=\"test\" value=\"' +\n((__t = ( type.value )) == null ? '' : __t) +\n'\" ';\n if (type.label === file.fileType) { ;\n__p += 'selected=\"selected\"';\n } ;\n__p += '>' +\n((__t = (ctx.t(type.label))) == null ? '' : __t) +\n'</option>\\n ';\n }); ;\n__p += '\\n </select>\\n </div>\\n ';\n } ;\n__p += '\\n ';\n if (file.status === 'progress') { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i id=\"abort-' +\n((__t = (file.id)) == null ? '' : __t) +\n'\" tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('ban'))) == null ? '' : __t) +\n'\"></i></div>\\n ';\n } else if (!ctx.isSyncing && file.status !== 'success') { ;\n__p += '\\n <div class=\"col-md-' +\n((__t = (ctx.columns.actions)) == null ? '' : __t) +\n' justify-center\"><i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +\n'\" ref=\"fileToSyncRemove\"></i></div>\\n ';\n } ;\n__p += '\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n </ul>\\n';\n } else { ;\n__p += '\\n <div>\\n ';\n ctx.files.forEach(function(file) { ;\n__p += '\\n <div>\\n <span>\\n <img ref=\"fileImage\" src=\"\" alt=\"' +\n((__t = (file.originalName || file.name)) == null ? '' : __t) +\n'\" style=\"width:' +\n((__t = (ctx.component.imageSize)) == null ? '' : __t) +\n'px\">\\n ';\n if (!ctx.disabled) { ;\n__p += '\\n <i tabindex=\"0\" class=\"' +\n((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +\n'\" ref=\"removeLink\"></i>\\n ';\n } ;\n__p += '\\n </span>\\n </div>\\n ';\n }) ;\n__p += '\\n </div>\\n';\n } ;\n__p += '\\n';\n if (!ctx.disabled && (ctx.component.multiple || !ctx.files.length)) { ;\n__p += '\\n ';\n if (ctx.self.useWebViewCamera) { ;\n__p += '\\n <div class=\"fileSelector\">\\n <button class=\"btn btn-primary\" ref=\"galleryButton\"><i class=\"' +\n((__t = (ctx.iconClass('book'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('Gallery'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-primary\" ref=\"cameraButton\"><i class=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('Camera'))) == null ? '' : __t) +\n'</button>\\n </div>\\n ';\n } else if (!ctx.self.cameraMode) { ;\n__p += '\\n <div class=\"fileSelector\" ref=\"fileDrop\" ' +\n((__t = (ctx.fileDropHidden ?'hidden' : '')) == null ? '' : __t) +\n'>\\n ';\n if (!ctx.self.isMobile.any) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('Drop files to attach,'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n ';\n if (ctx.self.imageUpload && ctx.component.webcam) { ;\n__p += '\\n <a href=\"#\" ref=\"toggleCameraMode\"><i class=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('Use Camera'))) == null ? '' : __t) +\n'</a>\\n ' +\n((__t = (ctx.t('or'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">\\n ';\n if (ctx.self.isMobile.any && ctx.component.capture) { ;\n__p += '\\n ';\n if (ctx.component.filePattern && ctx.component.filePattern.includes(\"video\")) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('video'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('Capture Video'))) == null ? '' : __t) +\n'\\n ';\n } else if (ctx.component.filePattern && ctx.component.filePattern.includes(\"audio\")) { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('microphone'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('Capture Audio'))) == null ? '' : __t) +\n'\\n ';\n } else { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('Capture Image'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n ';\n } else { ;\n__p += '\\n <i class=\"' +\n((__t = (ctx.iconClass('folder-open'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('Browse Files'))) == null ? '' : __t) +\n'\\n ';\n } ;\n__p += '\\n <span class=\"visually-hidden\">\\n ' +\n((__t = (ctx.t('Browse to attach file for ' + ctx.component.label + '. ' +\n (ctx.component.description ? ctx.component.description + '. ' : '') +\n ((!ctx.component.filePattern || ctx.component.filePattern === '*') ? 'Any file types are allowed' : ctx.t('Allowed file types: ') + ctx.component.filePattern)))) == null ? '' : __t) +\n'\\n </span>\\n </a>\\n <div ref=\"fileProcessingLoader\" class=\"loader-wrapper\">\\n <div class=\"loader text-center\"></div>\\n </div>\\n </div>\\n ';\n } else { ;\n__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=\"' +\n((__t = (ctx.iconClass('camera'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('Take Picture'))) == null ? '' : __t) +\n'</button>\\n <button class=\"btn btn-primary\" ref=\"toggleCameraMode\">' +\n((__t = (ctx.t('Switch to file upload'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n';\n } ;\n__p += '\\n';\n if (!ctx.component.storage || ctx.support.hasWarning) { ;\n__p += '\\n <div class=\"alert alert-warning\">\\n ';\n if (!ctx.component.storage) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t('No storage has been set for this field. File uploads are disabled until storage is set up.'))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.support.filereader) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t('File API & FileReader API not supported.'))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.support.formdata) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t(\"XHR2's FormData is not supported.\"))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.support.progress) { ;\n__p += '\\n <p>' +\n((__t = (ctx.t(\"XHR2's upload progress isn't supported.\"))) == null ? '' : __t) +\n'</p>\\n ';\n } ;\n__p += '\\n </div>\\n';\n } ;\n__p += '\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/file/form.ejs.js?");
|
6845
6845
|
|
6846
6846
|
/***/ }),
|
6847
6847
|
|
@@ -6999,7 +6999,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
6999
6999
|
\*****************************************************************************************/
|
7000
7000
|
/***/ (function(__unused_webpack_module, exports) {
|
7001
7001
|
|
7002
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p
|
7002
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += 'Loading...\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/loading/form.ejs.js?");
|
7003
7003
|
|
7004
7004
|
/***/ }),
|
7005
7005
|
|
@@ -7083,7 +7083,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
7083
7083
|
\*********************************************************************************************/
|
7084
7084
|
/***/ (function(__unused_webpack_module, exports) {
|
7085
7085
|
|
7086
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<div class=\"formio-dialog formio-dialog-theme-default formio-modaledit-dialog\">\\n <div ref=\"overlay\" class=\"formio-dialog-overlay\"></div>\\n <div ref=\"content\" class=\"formio-modaledit-content\">\\n <button\\n ref=\"close\"\\n type=\"button\"\\n role=\"button\"\\n class=\"btn btn-primary btn-xs formio-modaledit-close\">\\n ' +\n((__t = (ctx.t('
|
7086
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<div class=\"formio-dialog formio-dialog-theme-default formio-modaledit-dialog\">\\n <div ref=\"overlay\" class=\"formio-dialog-overlay\"></div>\\n <div ref=\"content\" class=\"formio-modaledit-content\">\\n <button\\n ref=\"close\"\\n type=\"button\"\\n role=\"button\"\\n class=\"btn btn-primary btn-xs formio-modaledit-close\">\\n ' +\n((__t = (ctx.t('Close'))) == null ? '' : __t) +\n'\\n </button>\\n <div ref=\"inner\" class=\"reset-margins\"></div>\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/modaldialog/form.ejs.js?");
|
7087
7087
|
|
7088
7088
|
/***/ }),
|
7089
7089
|
|
@@ -7251,7 +7251,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
7251
7251
|
\**************************************************************************************************/
|
7252
7252
|
/***/ (function(__unused_webpack_module, exports) {
|
7253
7253
|
|
7254
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<div class=\"pdf-upload formio-component-file\">\\n <h3 class=\"label\">' +\n((__t = (ctx.t('
|
7254
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<div class=\"pdf-upload formio-component-file\">\\n <h3 class=\"label\">' +\n((__t = (ctx.t('Upload a PDF File'))) == null ? '' : __t) +\n'</h3>\\n <input type=\"file\" style=\"opacity: 0; position: absolute;\" tabindex=\"-1\" accept=\".pdf\" ref=\"hiddenFileInputElement\">\\n <div class=\"fileSelector\" ref=\"fileDrop\">\\n <span ref=\"dragDropText\">\\n <i class=\"' +\n((__t = (ctx.iconClass('cloud-upload'))) == null ? '' : __t) +\n'\"></i>' +\n((__t = (ctx.t('Drop pdf to start, or'))) == null ? '' : __t) +\n' <a href=\"#\" ref=\"fileBrowse\" class=\"browse\">' +\n((__t = (ctx.t('browse'))) == null ? '' : __t) +\n'</a>\\n </span>\\n <div class=\"progress pdf-progress\" ref=\"uploadProgressWrapper\" style=\"display:none;\">\\n <div class=\"progress-bar\" ref=\"uploadProgress\" role=\"progressbar\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\"></div>\\n </div>\\n </div>\\n <div class=\"alert alert-danger\" ref=\"uploadError\">\\n\\n </div>\\n</div>\\n\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/pdfBuilderUpload/form.ejs.js?");
|
7255
7255
|
|
7256
7256
|
/***/ }),
|
7257
7257
|
|
@@ -7303,7 +7303,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
7303
7303
|
\*********************************************************************************************/
|
7304
7304
|
/***/ (function(__unused_webpack_module, exports) {
|
7305
7305
|
|
7306
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<table class=\"table table-bordered\">\\n <tbody>\\n <tr>\\n <td>\\n ' +\n((__t = (ctx.element)) == null ? '' : __t) +\n'\\n </td>\\n </tr>\\n <tr>\\n <td colspan=\"2\">\\n <button class=\"btn btn-primary formio-button-add-resource\" ref=\"addResource\">\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i>\\n ' +\n((__t = (ctx.t(ctx.component.addResourceLabel || '
|
7306
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '';\n__p += '<table class=\"table table-bordered\">\\n <tbody>\\n <tr>\\n <td>\\n ' +\n((__t = (ctx.element)) == null ? '' : __t) +\n'\\n </td>\\n </tr>\\n <tr>\\n <td colspan=\"2\">\\n <button class=\"btn btn-primary formio-button-add-resource\" ref=\"addResource\">\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i>\\n ' +\n((__t = (ctx.t(ctx.component.addResourceLabel || 'Add Resource', { _userInput: true }))) == null ? '' : __t) +\n'\\n </button>\\n </td>\\n </tr>\\n </tbody>\\n</table>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/resourceAdd/form.ejs.js?");
|
7307
7307
|
|
7308
7308
|
/***/ }),
|
7309
7309
|
|
@@ -7542,7 +7542,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
7542
7542
|
\***********************************************************************************************/
|
7543
7543
|
/***/ (function(__unused_webpack_module, exports) {
|
7544
7544
|
|
7545
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"node-edit\">\\n <div ref=\"nodeEdit\">' +\n((__t = ( ctx.children )) == null ? '' : __t) +\n'</div>\\n ';\n if (!ctx.readOnly) { ;\n__p += '\\n <div class=\"node-actions\">\\n <button ref=\"saveNode\" class=\"btn btn-primary saveNode\">' +\n((__t = ( ctx.t('
|
7545
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"node-edit\">\\n <div ref=\"nodeEdit\">' +\n((__t = ( ctx.children )) == null ? '' : __t) +\n'</div>\\n ';\n if (!ctx.readOnly) { ;\n__p += '\\n <div class=\"node-actions\">\\n <button ref=\"saveNode\" class=\"btn btn-primary saveNode\">' +\n((__t = ( ctx.t('Save') )) == null ? '' : __t) +\n'</button>\\n <button ref=\"cancelNode\" class=\"btn btn-danger cancelNode\">' +\n((__t = ( ctx.t('Cancel') )) == null ? '' : __t) +\n'</button>\\n </div>\\n ';\n } ;\n__p += '\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/tree/partials/edit.ejs.js?");
|
7546
7546
|
|
7547
7547
|
/***/ }),
|
7548
7548
|
|
@@ -7563,7 +7563,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\ncons
|
|
7563
7563
|
\***********************************************************************************************/
|
7564
7564
|
/***/ (function(__unused_webpack_module, exports) {
|
7565
7565
|
|
7566
|
-
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"row\">\\n ';\n ctx.values.forEach(function(value) { ;\n__p += '\\n <div class=\"col-sm-2\">\\n ' +\n((__t = ( value )) == null ? '' : __t) +\n'\\n </div>\\n ';\n }) ;\n__p += '\\n <div class=\"col-sm-3\">\\n <div class=\"btn-group pull-right\">\\n ';\n if (ctx.node.hasChildren) { ;\n__p += '\\n <button ref=\"toggleNode\" class=\"btn btn-default btn-sm toggleNode\">' +\n((__t = ( ctx.t(ctx.node.collapsed ? '
|
7566
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"]=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div class=\"row\">\\n ';\n ctx.values.forEach(function(value) { ;\n__p += '\\n <div class=\"col-sm-2\">\\n ' +\n((__t = ( value )) == null ? '' : __t) +\n'\\n </div>\\n ';\n }) ;\n__p += '\\n <div class=\"col-sm-3\">\\n <div class=\"btn-group pull-right\">\\n ';\n if (ctx.node.hasChildren) { ;\n__p += '\\n <button ref=\"toggleNode\" class=\"btn btn-default btn-sm toggleNode\">' +\n((__t = ( ctx.t(ctx.node.collapsed ? 'Expand' : 'Collapse') )) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n ';\n if (!ctx.readOnly) { ;\n__p += '\\n <button ref=\"addChild\" class=\"btn btn-default btn-sm addChild\">' +\n((__t = ( ctx.t('Add') )) == null ? '' : __t) +\n'</button>\\n <button ref=\"editNode\" class=\"btn btn-default btn-sm editNode\">' +\n((__t = ( ctx.t('Edit') )) == null ? '' : __t) +\n'</button>\\n <button ref=\"removeNode\" class=\"btn btn-danger btn-sm removeNode\">' +\n((__t = ( ctx.t('Delete') )) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.node.revertAvailable) { ;\n__p += '\\n <button ref=\"revertNode\" class=\"btn btn-danger btn-sm revertNode\">' +\n((__t = ( ctx.t('Revert') )) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n ';\n } ;\n__p += '\\n </div>\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/templates/bootstrap5/tree/partials/view.ejs.js?");
|
7567
7567
|
|
7568
7568
|
/***/ }),
|
7569
7569
|
|
@@ -7776,28 +7776,6 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
7776
7776
|
|
7777
7777
|
/***/ }),
|
7778
7778
|
|
7779
|
-
/***/ "./node_modules/@formio/bootstrap/lib/cjs/translations/en.js":
|
7780
|
-
/*!*******************************************************************!*\
|
7781
|
-
!*** ./node_modules/@formio/bootstrap/lib/cjs/translations/en.js ***!
|
7782
|
-
\*******************************************************************/
|
7783
|
-
/***/ (function(__unused_webpack_module, exports) {
|
7784
|
-
|
7785
|
-
"use strict";
|
7786
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {\n edit: 'Edit',\n remove: 'Remove',\n addAnother: 'Add Another',\n next: 'Next',\n previous: 'Previous',\n cancel: 'Cancel',\n loading: 'Loading',\n help: 'Help',\n component: 'Component',\n save: 'Save',\n preview: 'Preview',\n dragAndDropComponent: 'Drag and Drop a form component',\n searchFields: 'Search field(s)',\n noMatchesFound: 'No Matches Found',\n fileName: 'File Name',\n size: 'Size',\n type: 'Type',\n gallery: 'Gallery',\n camera: 'Camera',\n dropFilesToAttach: 'Drop files to attach,',\n useCamera: 'Use Camera',\n browse: 'browse',\n takePicture: 'Take Picture',\n switchToFileUpload: 'Switch to file upload',\n completeStatus: 'Complete',\n noStorageSet: 'No storage has been set for this field. File uploads are disabled until storage is set up.',\n noFileApiSupport: 'File API & FileReader API not supported.',\n noFormDataSupport: \"XHR2's FormData is not supported.\",\n noProgressSupport: \"XHR2's upload progress isn't supported.\",\n close: 'Close',\n addResource: 'Add Resource',\n autocomplete: 'autocomplete',\n showPreview: 'Show preview',\n hidePreview: 'Hide preview',\n createPage: 'Create Page',\n page: 'Page',\n closeBtnDescription: 'Close button. Click to get back to the form',\n cancelBtnDescription: 'Cancel button. Click to cancel the changes and get back to the form.',\n saveBtnDescription: 'Save button. Click to save the changes and get back to the form.',\n addOrRemove: 'Add/Remove',\n anyFileTypesAllowed: 'Any file types are allowed',\n allowedFileTypes: 'Allowed file types',\n syncing: 'Syncing...',\n syncNow: 'Sync Now',\n pressToOpen: 'Press to open',\n browseToAttachFileFor: 'Browse to attach file for',\n or: 'or',\n numericOnly: 'numeric only',\n uploadPdfFile: 'Upload a PDF File',\n dropToStart: 'Drop pdf to start, or',\n expand: 'Expand',\n collapse: 'Collapse',\n add: 'Add',\n delete: 'Delete',\n revert: 'Revert',\n removeBtnPressToRemove: 'Remove button. Press to remove',\n file: 'file',\n captureVideo: 'Capture Video',\n captureAudio: 'Capture Audio',\n captureImage: 'Capture Image',\n browseFiles: 'Browse Files',\n noComponentsSetInGrid: 'No components have been set up to display in the Data Table. \"Table View\" must be checked for components to render.',\n sortAscending: 'Sort Ascending',\n sortDescending: 'Sort Descending',\n filter: 'Filter',\n clear: 'Clear',\n showItemsWithValue: 'Show items with value that:',\n gridItemsPerPage: 'Items per page:',\n gridAllItems: 'All',\n recordsSelectedOnPage: 'records on this page are selected.',\n recordsSelectedInTable: 'records in the table are selected.',\n gridSelectAll: 'Select all',\n itemsInTable: 'items in the table.',\n clearSelection: 'Clear selection.',\n editGridRow: 'Edit row',\n deleteGridRow: 'Delete row',\n selected: 'selected',\n actions: 'Actions'\n};\n\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/translations/en.js?");
|
7787
|
-
|
7788
|
-
/***/ }),
|
7789
|
-
|
7790
|
-
/***/ "./node_modules/@formio/bootstrap/lib/cjs/translations/index.js":
|
7791
|
-
/*!**********************************************************************!*\
|
7792
|
-
!*** ./node_modules/@formio/bootstrap/lib/cjs/translations/index.js ***!
|
7793
|
-
\**********************************************************************/
|
7794
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
7795
|
-
|
7796
|
-
"use strict";
|
7797
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst en_1 = __webpack_require__(/*! ./en */ \"./node_modules/@formio/bootstrap/lib/cjs/translations/en.js\");\nexports[\"default\"] = {\n en: en_1.default,\n};\n\n\n//# sourceURL=webpack://Formio/./node_modules/@formio/bootstrap/lib/cjs/translations/index.js?");
|
7798
|
-
|
7799
|
-
/***/ }),
|
7800
|
-
|
7801
7779
|
/***/ "./node_modules/core-js/actual/object/from-entries.js":
|
7802
7780
|
/*!************************************************************!*\
|
7803
7781
|
!*** ./node_modules/core-js/actual/object/from-entries.js ***!
|
@@ -8938,7 +8916,7 @@ eval("\nvar parent = __webpack_require__(/*! ../../es/object/from-entries */ \".
|
|
8938
8916
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
8939
8917
|
|
8940
8918
|
"use strict";
|
8941
|
-
eval("\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar _a;\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.FormBuilder = exports.Form = exports.Formio = void 0;\nconst CDN_js_1 = __importDefault(__webpack_require__(/*! ./CDN.js */ \"./lib/cjs/CDN.js\"));\nclass Formio {\n static setLicense(license, norecurse = false) {\n _a.license = license;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setLicense(license);\n }\n }\n static setBaseUrl(url, norecurse = false) {\n _a.baseUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setBaseUrl(url);\n }\n }\n static setApiUrl(url, norecurse = false) {\n _a.baseUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setApiUrl(url);\n }\n }\n static setProjectUrl(url, norecurse = false) {\n _a.projectUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setProjectUrl(url);\n }\n }\n static setAppUrl(url, norecurse = false) {\n _a.projectUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setAppUrl(url);\n }\n }\n static setPathType(type, norecurse = false) {\n _a.pathType = type;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setPathType(type);\n }\n }\n static debug(...args) {\n if (_a.config.debug) {\n console.log(...args);\n }\n }\n static clearCache() {\n if (_a.FormioClass) {\n _a.FormioClass.clearCache();\n }\n }\n static global(prop, flag = '') {\n const globalValue = window[prop];\n if (flag && globalValue && !globalValue[flag]) {\n return null;\n }\n _a.debug(`Getting global ${prop}`, globalValue);\n return globalValue;\n }\n static use(module) {\n if (_a.FormioClass && _a.FormioClass.isRenderer) {\n _a.FormioClass.use(module);\n }\n else {\n _a.modules.push(module);\n }\n }\n static createElement(type, attrs, children) {\n const element = document.createElement(type);\n if (!attrs) {\n return element;\n }\n Object.keys(attrs).forEach(key => {\n element.setAttribute(key, attrs[key]);\n });\n (children || []).forEach(child => {\n element.appendChild(_a.createElement(child.tag, child.attrs, child.children));\n });\n return element;\n }\n static addScript(wrapper, src, name, flag = '') {\n return __awaiter(this, void 0, void 0, function* () {\n if (!src) {\n return Promise.resolve();\n }\n if (typeof src !== 'string' && src.length) {\n return Promise.all(src.map(ref => _a.addScript(wrapper, ref)));\n }\n if (name && _a.global(name, flag)) {\n _a.debug(`${name} already loaded.`);\n return Promise.resolve(_a.global(name));\n }\n _a.debug('Adding Script', src);\n try {\n wrapper.appendChild(_a.createElement('script', {\n src\n }));\n }\n catch (err) {\n _a.debug(err);\n return Promise.resolve();\n }\n if (!name) {\n return Promise.resolve();\n }\n return new Promise((resolve) => {\n _a.debug(`Waiting to load ${name}`);\n const wait = setInterval(() => {\n if (_a.global(name, flag)) {\n clearInterval(wait);\n _a.debug(`${name} loaded.`);\n resolve(_a.global(name));\n }\n }, 100);\n });\n });\n }\n static addStyles(wrapper, href) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!href) {\n return;\n }\n if (typeof href !== 'string' && href.length) {\n href.forEach(ref => _a.addStyles(wrapper, ref));\n return;\n }\n _a.debug('Adding Styles', href);\n wrapper.appendChild(_a.createElement('link', {\n rel: 'stylesheet',\n href\n }));\n });\n }\n static submitDone(instance, submission) {\n return __awaiter(this, void 0, void 0, function* () {\n _a.debug('Submision Complete', submission);\n if (_a.config.submitDone) {\n _a.config.submitDone(submission, instance);\n }\n const successMessage = (_a.config.success || '').toString();\n if (successMessage && successMessage.toLowerCase() !== 'false' && instance.element) {\n instance.element.innerHTML = `<div class=\"alert-success\" role=\"alert\">${successMessage}</div>`;\n }\n let returnUrl = _a.config.redirect;\n // Allow form based configuration for return url.\n if (!returnUrl &&\n (instance._form &&\n instance._form.settings &&\n (instance._form.settings.returnUrl ||\n instance._form.settings.redirect))) {\n _a.debug('Return url found in form configuration');\n returnUrl = instance._form.settings.returnUrl || instance._form.settings.redirect;\n }\n if (returnUrl) {\n const formSrc = instance.formio ? instance.formio.formUrl : '';\n const hasQuery = !!returnUrl.match(/\\?/);\n const isOrigin = returnUrl.indexOf(location.origin) === 0;\n returnUrl += hasQuery ? '&' : '?';\n returnUrl += `sub=${submission._id}`;\n if (!isOrigin && formSrc) {\n returnUrl += `&form=${encodeURIComponent(formSrc)}`;\n }\n _a.debug('Return URL', returnUrl);\n window.location.href = returnUrl;\n if (isOrigin) {\n window.location.reload();\n }\n }\n });\n }\n // Return the full script if the builder is being used.\n static formioScript(script, builder) {\n builder = builder || _a.config.includeBuilder;\n if (_a.fullAdded || builder) {\n _a.fullAdded = true;\n return script.replace('formio.form', 'formio.full');\n }\n return script;\n }\n static addLibrary(libWrapper, lib, name) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!lib) {\n return;\n }\n if (lib.dependencies) {\n for (let i = 0; i < lib.dependencies.length; i++) {\n const libName = lib.dependencies[i];\n yield _a.addLibrary(libWrapper, _a.config.libs[libName], libName);\n }\n }\n if (lib.css) {\n yield _a.addStyles((lib.global ? document.body : libWrapper), lib.css);\n }\n if (lib.js) {\n const module = yield _a.addScript((lib.global ? document.body : libWrapper), lib.js, lib.use ? name : false);\n if (lib.use) {\n _a.debug(`Using ${name}`);\n const options = lib.options || {};\n if (!options.license && _a.license) {\n options.license = _a.license;\n }\n _a.use((typeof lib.use === 'function' ? lib.use(module) : module), options);\n }\n }\n if (lib.globalStyle) {\n const style = _a.createElement('style');\n style.type = 'text/css';\n style.innerHTML = lib.globalStyle;\n document.body.appendChild(style);\n }\n });\n }\n static addLoader(wrapper) {\n return __awaiter(this, void 0, void 0, function* () {\n wrapper.appendChild(_a.createElement('div', {\n 'class': 'formio-loader'\n }, [{\n tag: 'div',\n attrs: {\n class: 'loader-wrapper'\n },\n children: [{\n tag: 'div',\n attrs: {\n class: 'loader text-center'\n }\n }]\n }]));\n });\n }\n // eslint-disable-next-line max-statements\n static init(element, options = {}, builder = false) {\n return __awaiter(this, void 0, void 0, function* () {\n _a.cdn = new CDN_js_1.default(_a.config.cdn, _a.config.cdnUrls || {});\n _a.config.libs = _a.config.libs || {\n uswds: {\n dependencies: ['fontawesome'],\n js: `${_a.cdn.uswds}/uswds.min.js`,\n css: `${_a.cdn.uswds}/uswds.min.css`,\n use: true\n },\n fontawesome: {\n // Due to an issue with font-face not loading in the shadowdom (https://issues.chromium.org/issues/41085401), we need\n // to do 2 things. 1.) Load the fonts from the global cdn, and 2.) add the font-face to the global styles on the page.\n css: `https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css`,\n globalStyle: `@font-face {\n font-family: 'FontAwesome';\n src: url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0');\n src: url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');\n font-weight: normal;\n font-style: normal;\n }`\n },\n bootstrap4: {\n dependencies: ['fontawesome'],\n css: `${_a.cdn.bootstrap4}/css/bootstrap.min.css`\n },\n bootstrap: {\n dependencies: ['bootstrap-icons'],\n css: `${_a.cdn.bootstrap}/css/bootstrap.min.css`\n },\n 'bootstrap-icons': {\n // Due to an issue with font-face not loading in the shadowdom (https://issues.chromium.org/issues/41085401), we need\n // to do 2 things. 1.) Load the fonts from the global cdn, and 2.) add the font-face to the global styles on the page.\n css: 'https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.min.css',\n globalStyle: `@font-face {\n font-display: block;\n font-family: \"bootstrap-icons\";\n src: url(\"https://cdn.jsdelivr.net/npm/bootstrap-icons/font/fonts/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6\") format(\"woff2\"),\n url(\"https://cdn.jsdelivr.net/npm/bootstrap-icons/font/fonts/bootstrap-icons.woff?dd67030699838ea613ee6dbda90effa6\") format(\"woff\");\n }`\n }\n };\n // Add all bootswatch templates.\n ['cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'litera', 'lumen', 'lux', 'materia', 'minty', 'pulse', 'sandstone', 'simplex', 'sketchy', 'slate', 'solar', 'spacelab', 'superhero', 'united', 'yeti'].forEach((template) => {\n _a.config.libs[template] = {\n dependencies: ['bootstrap-icons'],\n css: `${_a.cdn.bootswatch}/dist/${template}/bootstrap.min.css`\n };\n });\n const id = _a.config.id || `formio-${Math.random().toString(36).substring(7)}`;\n // Create a new wrapper and add the element inside of a new wrapper.\n let wrapper = _a.createElement('div', {\n 'id': `${id}-wrapper`\n });\n element.parentNode.insertBefore(wrapper, element);\n // If we include the libraries, then we will attempt to run this in shadow dom.\n const useShadowDom = _a.config.includeLibs && !_a.config.noshadow && (typeof wrapper.attachShadow === 'function');\n if (useShadowDom) {\n wrapper = wrapper.attachShadow({\n mode: 'open'\n });\n options.shadowRoot = wrapper;\n }\n element.parentNode.removeChild(element);\n wrapper.appendChild(element);\n // If this is inside of shadow dom, then we need to add the styles and scripts to the shadow dom.\n const libWrapper = useShadowDom ? wrapper : document.body;\n // Load the renderer styles.\n yield _a.addStyles(libWrapper, _a.config.embedCSS || `${_a.cdn.js}/formio.embed.css`);\n // Add a loader.\n _a.addLoader(wrapper);\n const formioSrc = _a.config.full ? 'formio.full' : 'formio.form';\n const renderer = _a.config.debug ? formioSrc : `${formioSrc}.min`;\n _a.FormioClass = yield _a.addScript(libWrapper, _a.formioScript(_a.config.script || `${_a.cdn.js}/${renderer}.js`, builder), 'Formio', builder ? 'isBuilder' : 'isRenderer');\n _a.FormioClass.cdn = _a.cdn;\n _a.FormioClass.setBaseUrl(options.baseUrl || _a.baseUrl || _a.config.base);\n _a.FormioClass.setProjectUrl(options.projectUrl || _a.projectUrl || _a.config.project);\n _a.FormioClass.language = _a.language;\n _a.setLicense(_a.license || _a.config.license || false);\n _a.modules.forEach((module) => {\n _a.FormioClass.use(module);\n });\n if (_a.icons) {\n _a.FormioClass.icons = _a.icons;\n }\n if (_a.pathType) {\n _a.FormioClass.setPathType(_a.pathType);\n }\n // Add libraries if they wish to include the libs.\n if (_a.config.template && _a.config.includeLibs) {\n yield _a.addLibrary(libWrapper, _a.config.libs[_a.config.template], _a.config.template);\n }\n if (!_a.config.libraries) {\n _a.config.libraries = _a.config.modules || {};\n }\n // Adding premium if it is provided via the config.\n if (_a.config.premium) {\n _a.config.libraries.premium = _a.config.premium;\n }\n // Allow adding dynamic modules.\n if (_a.config.libraries) {\n for (const name in _a.config.libraries) {\n const lib = _a.config.libraries[name];\n lib.use = lib.use || true;\n yield _a.addLibrary(libWrapper, lib, name);\n }\n }\n yield _a.addStyles(libWrapper, _a.formioScript(_a.config.style || `${_a.cdn.js}/${renderer}.css`, builder));\n if (_a.config.before) {\n yield _a.config.before(_a.FormioClass, element, _a.config);\n }\n _a.FormioClass.license = true;\n _a._formioReady(_a.FormioClass);\n return wrapper;\n });\n }\n // Called after an instance has been created.\n static afterCreate(instance, wrapper, readyEvent) {\n return __awaiter(this, void 0, void 0, function* () {\n const loader = wrapper.querySelector('.formio-loader');\n if (loader) {\n wrapper.removeChild(loader);\n }\n _a.FormioClass.events.emit(readyEvent, instance);\n if (_a.config.after) {\n _a.debug('Calling ready callback');\n _a.config.after(instance, _a.config);\n }\n return instance;\n });\n }\n // Create a new form.\n static createForm(element, form, options = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n if (_a.FormioClass) {\n return _a.FormioClass.createForm(element, form, Object.assign(Object.assign({}, options), { noLoader: true }));\n }\n const wrapper = yield _a.init(element, options);\n return _a.FormioClass.createForm(element, form, Object.assign(Object.assign({}, options), { noLoader: true })).then((instance) => {\n // Set the default submission data.\n if (_a.config.submission) {\n _a.debug('Setting submission', _a.config.submission);\n instance.submission = _a.config.submission;\n }\n // Call the after create method.\n _a.afterCreate(instance, wrapper, 'formEmbedded');\n return instance;\n });\n });\n }\n // Create a form builder.\n static builder(element, form, options = {}) {\n var _b;\n return __awaiter(this, void 0, void 0, function* () {\n if ((_b = _a.FormioClass) === null || _b === void 0 ? void 0 : _b.builder) {\n return _a.FormioClass.builder(element, form, options);\n }\n const wrapper = yield _a.init(element, options, true);\n return _a.FormioClass.builder(element, form, options).then((instance) => {\n _a.afterCreate(instance, wrapper, 'builderEmbedded');\n return instance;\n });\n });\n }\n}\nexports.Formio = Formio;\n_a = Formio;\nFormio.FormioClass = null;\nFormio.config = {};\nFormio.modules = [];\nFormio.icons = '';\nFormio.license = '';\nFormio.formioReady = new Promise((ready, reject) => {\n _a._formioReady = ready;\n _a._formioReadyReject = reject;\n});\nFormio.version = '5.1.0-rc.23';\n// Create a report.\nFormio.Report = {\n create: (element, submission, options = {}) => __awaiter(void 0, void 0, void 0, function* () {\n var _b;\n if ((_b = _a.FormioClass) === null || _b === void 0 ? void 0 : _b.Report) {\n return _a.FormioClass.Report.create(element, submission, options);\n }\n const wrapper = yield _a.init(element, options, true);\n return _a.FormioClass.Report.create(element, submission, options).then((instance) => {\n _a.afterCreate(instance, wrapper, 'reportEmbedded');\n return instance;\n });\n })\n};\nCDN_js_1.default.defaultCDN = Formio.version.includes('rc') ? 'https://cdn.test-form.io' : 'https://cdn.form.io';\nclass Form {\n constructor(element, form, options) {\n this.form = form;\n this.element = element;\n this.options = options || {};\n this.init();\n this.instance = {\n proxy: true,\n ready: this.ready,\n destroy: () => { }\n };\n }\n init() {\n if (this.instance && !this.instance.proxy) {\n this.instance.destroy();\n }\n this.element.innerHTML = '';\n this.ready = this.create().then((instance) => {\n this.instance = instance;\n this.form = instance.form;\n return instance;\n });\n }\n create() {\n return Formio.createForm(this.element, this.form, this.options);\n }\n setForm(form) {\n this.form = form;\n if (this.instance) {\n this.instance.setForm(form);\n }\n }\n setDisplay(display) {\n if (this.instance.proxy) {\n return this.ready;\n }\n this.form.display = display;\n this.instance.destroy();\n this.ready = this.create().then((instance) => {\n this.instance = instance;\n this.setForm(this.form);\n });\n return this.ready;\n }\n}\nexports.Form = Form;\nclass FormBuilder extends Form {\n create() {\n return Formio.builder(this.element, this.form, this.options);\n }\n}\nexports.FormBuilder = FormBuilder;\nFormio.Form = Form;\nFormio.FormBuilder = FormBuilder;\n\n\n//# sourceURL=webpack://Formio/./lib/cjs/Embed.js?");
|
8919
|
+
eval("\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar _a;\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.FormBuilder = exports.Form = exports.Formio = void 0;\nconst CDN_js_1 = __importDefault(__webpack_require__(/*! ./CDN.js */ \"./lib/cjs/CDN.js\"));\nclass Formio {\n static setLicense(license, norecurse = false) {\n _a.license = license;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setLicense(license);\n }\n }\n static setBaseUrl(url, norecurse = false) {\n _a.baseUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setBaseUrl(url);\n }\n }\n static setApiUrl(url, norecurse = false) {\n _a.baseUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setApiUrl(url);\n }\n }\n static setProjectUrl(url, norecurse = false) {\n _a.projectUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setProjectUrl(url);\n }\n }\n static setAppUrl(url, norecurse = false) {\n _a.projectUrl = url;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setAppUrl(url);\n }\n }\n static setPathType(type, norecurse = false) {\n _a.pathType = type;\n if (!norecurse && _a.FormioClass) {\n _a.FormioClass.setPathType(type);\n }\n }\n static debug(...args) {\n if (_a.config.debug) {\n console.log(...args);\n }\n }\n static clearCache() {\n if (_a.FormioClass) {\n _a.FormioClass.clearCache();\n }\n }\n static global(prop, flag = '') {\n const globalValue = window[prop];\n if (flag && globalValue && !globalValue[flag]) {\n return null;\n }\n _a.debug(`Getting global ${prop}`, globalValue);\n return globalValue;\n }\n static use(module) {\n if (_a.FormioClass && _a.FormioClass.isRenderer) {\n _a.FormioClass.use(module);\n }\n else {\n _a.modules.push(module);\n }\n }\n static createElement(type, attrs, children) {\n const element = document.createElement(type);\n if (!attrs) {\n return element;\n }\n Object.keys(attrs).forEach(key => {\n element.setAttribute(key, attrs[key]);\n });\n (children || []).forEach(child => {\n element.appendChild(_a.createElement(child.tag, child.attrs, child.children));\n });\n return element;\n }\n static addScript(wrapper, src, name, flag = '') {\n return __awaiter(this, void 0, void 0, function* () {\n if (!src) {\n return Promise.resolve();\n }\n if (typeof src !== 'string' && src.length) {\n return Promise.all(src.map(ref => _a.addScript(wrapper, ref)));\n }\n if (name && _a.global(name, flag)) {\n _a.debug(`${name} already loaded.`);\n return Promise.resolve(_a.global(name));\n }\n _a.debug('Adding Script', src);\n try {\n wrapper.appendChild(_a.createElement('script', {\n src\n }));\n }\n catch (err) {\n _a.debug(err);\n return Promise.resolve();\n }\n if (!name) {\n return Promise.resolve();\n }\n return new Promise((resolve) => {\n _a.debug(`Waiting to load ${name}`);\n const wait = setInterval(() => {\n if (_a.global(name, flag)) {\n clearInterval(wait);\n _a.debug(`${name} loaded.`);\n resolve(_a.global(name));\n }\n }, 100);\n });\n });\n }\n static addStyles(wrapper, href) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!href) {\n return;\n }\n if (typeof href !== 'string' && href.length) {\n href.forEach(ref => _a.addStyles(wrapper, ref));\n return;\n }\n _a.debug('Adding Styles', href);\n wrapper.appendChild(_a.createElement('link', {\n rel: 'stylesheet',\n href\n }));\n });\n }\n static submitDone(instance, submission) {\n return __awaiter(this, void 0, void 0, function* () {\n _a.debug('Submision Complete', submission);\n if (_a.config.submitDone) {\n _a.config.submitDone(submission, instance);\n }\n const successMessage = (_a.config.success || '').toString();\n if (successMessage && successMessage.toLowerCase() !== 'false' && instance.element) {\n instance.element.innerHTML = `<div class=\"alert-success\" role=\"alert\">${successMessage}</div>`;\n }\n let returnUrl = _a.config.redirect;\n // Allow form based configuration for return url.\n if (!returnUrl &&\n (instance._form &&\n instance._form.settings &&\n (instance._form.settings.returnUrl ||\n instance._form.settings.redirect))) {\n _a.debug('Return url found in form configuration');\n returnUrl = instance._form.settings.returnUrl || instance._form.settings.redirect;\n }\n if (returnUrl) {\n const formSrc = instance.formio ? instance.formio.formUrl : '';\n const hasQuery = !!returnUrl.match(/\\?/);\n const isOrigin = returnUrl.indexOf(location.origin) === 0;\n returnUrl += hasQuery ? '&' : '?';\n returnUrl += `sub=${submission._id}`;\n if (!isOrigin && formSrc) {\n returnUrl += `&form=${encodeURIComponent(formSrc)}`;\n }\n _a.debug('Return URL', returnUrl);\n window.location.href = returnUrl;\n if (isOrigin) {\n window.location.reload();\n }\n }\n });\n }\n // Return the full script if the builder is being used.\n static formioScript(script, builder) {\n builder = builder || _a.config.includeBuilder;\n if (_a.fullAdded || builder) {\n _a.fullAdded = true;\n return script.replace('formio.form', 'formio.full');\n }\n return script;\n }\n static addLibrary(libWrapper, lib, name) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!lib) {\n return;\n }\n if (lib.dependencies) {\n for (let i = 0; i < lib.dependencies.length; i++) {\n const libName = lib.dependencies[i];\n yield _a.addLibrary(libWrapper, _a.config.libs[libName], libName);\n }\n }\n if (lib.css) {\n yield _a.addStyles((lib.global ? document.body : libWrapper), lib.css);\n }\n if (lib.js) {\n const module = yield _a.addScript((lib.global ? document.body : libWrapper), lib.js, lib.use ? name : false);\n if (lib.use) {\n _a.debug(`Using ${name}`);\n const options = lib.options || {};\n if (!options.license && _a.license) {\n options.license = _a.license;\n }\n _a.use((typeof lib.use === 'function' ? lib.use(module) : module), options);\n }\n }\n if (lib.globalStyle) {\n const style = _a.createElement('style');\n style.type = 'text/css';\n style.innerHTML = lib.globalStyle;\n document.body.appendChild(style);\n }\n });\n }\n static addLoader(wrapper) {\n return __awaiter(this, void 0, void 0, function* () {\n wrapper.appendChild(_a.createElement('div', {\n 'class': 'formio-loader'\n }, [{\n tag: 'div',\n attrs: {\n class: 'loader-wrapper'\n },\n children: [{\n tag: 'div',\n attrs: {\n class: 'loader text-center'\n }\n }]\n }]));\n });\n }\n // eslint-disable-next-line max-statements\n static init(element, options = {}, builder = false) {\n return __awaiter(this, void 0, void 0, function* () {\n _a.cdn = new CDN_js_1.default(_a.config.cdn, _a.config.cdnUrls || {});\n _a.config.libs = _a.config.libs || {\n uswds: {\n dependencies: ['fontawesome'],\n js: `${_a.cdn.uswds}/uswds.min.js`,\n css: `${_a.cdn.uswds}/uswds.min.css`,\n use: true\n },\n fontawesome: {\n // Due to an issue with font-face not loading in the shadowdom (https://issues.chromium.org/issues/41085401), we need\n // to do 2 things. 1.) Load the fonts from the global cdn, and 2.) add the font-face to the global styles on the page.\n css: `https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css`,\n globalStyle: `@font-face {\n font-family: 'FontAwesome';\n src: url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.eot?v=4.7.0');\n src: url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');\n font-weight: normal;\n font-style: normal;\n }`\n },\n bootstrap4: {\n dependencies: ['fontawesome'],\n css: `${_a.cdn.bootstrap4}/css/bootstrap.min.css`\n },\n bootstrap: {\n dependencies: ['bootstrap-icons'],\n css: `${_a.cdn.bootstrap}/css/bootstrap.min.css`\n },\n 'bootstrap-icons': {\n // Due to an issue with font-face not loading in the shadowdom (https://issues.chromium.org/issues/41085401), we need\n // to do 2 things. 1.) Load the fonts from the global cdn, and 2.) add the font-face to the global styles on the page.\n css: 'https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.min.css',\n globalStyle: `@font-face {\n font-display: block;\n font-family: \"bootstrap-icons\";\n src: url(\"https://cdn.jsdelivr.net/npm/bootstrap-icons/font/fonts/bootstrap-icons.woff2?dd67030699838ea613ee6dbda90effa6\") format(\"woff2\"),\n url(\"https://cdn.jsdelivr.net/npm/bootstrap-icons/font/fonts/bootstrap-icons.woff?dd67030699838ea613ee6dbda90effa6\") format(\"woff\");\n }`\n }\n };\n // Add all bootswatch templates.\n ['cerulean', 'cosmo', 'cyborg', 'darkly', 'flatly', 'journal', 'litera', 'lumen', 'lux', 'materia', 'minty', 'pulse', 'sandstone', 'simplex', 'sketchy', 'slate', 'solar', 'spacelab', 'superhero', 'united', 'yeti'].forEach((template) => {\n _a.config.libs[template] = {\n dependencies: ['bootstrap-icons'],\n css: `${_a.cdn.bootswatch}/dist/${template}/bootstrap.min.css`\n };\n });\n const id = _a.config.id || `formio-${Math.random().toString(36).substring(7)}`;\n // Create a new wrapper and add the element inside of a new wrapper.\n let wrapper = _a.createElement('div', {\n 'id': `${id}-wrapper`\n });\n element.parentNode.insertBefore(wrapper, element);\n // If we include the libraries, then we will attempt to run this in shadow dom.\n const useShadowDom = _a.config.includeLibs && !_a.config.noshadow && (typeof wrapper.attachShadow === 'function');\n if (useShadowDom) {\n wrapper = wrapper.attachShadow({\n mode: 'open'\n });\n options.shadowRoot = wrapper;\n }\n element.parentNode.removeChild(element);\n wrapper.appendChild(element);\n // If this is inside of shadow dom, then we need to add the styles and scripts to the shadow dom.\n const libWrapper = useShadowDom ? wrapper : document.body;\n // Load the renderer styles.\n yield _a.addStyles(libWrapper, _a.config.embedCSS || `${_a.cdn.js}/formio.embed.css`);\n // Add a loader.\n _a.addLoader(wrapper);\n const formioSrc = _a.config.full ? 'formio.full' : 'formio.form';\n const renderer = _a.config.debug ? formioSrc : `${formioSrc}.min`;\n _a.FormioClass = yield _a.addScript(libWrapper, _a.formioScript(_a.config.script || `${_a.cdn.js}/${renderer}.js`, builder), 'Formio', builder ? 'isBuilder' : 'isRenderer');\n _a.FormioClass.cdn = _a.cdn;\n _a.FormioClass.setBaseUrl(options.baseUrl || _a.baseUrl || _a.config.base);\n _a.FormioClass.setProjectUrl(options.projectUrl || _a.projectUrl || _a.config.project);\n _a.FormioClass.language = _a.language;\n _a.setLicense(_a.license || _a.config.license || false);\n _a.modules.forEach((module) => {\n _a.FormioClass.use(module);\n });\n if (_a.icons) {\n _a.FormioClass.icons = _a.icons;\n }\n if (_a.pathType) {\n _a.FormioClass.setPathType(_a.pathType);\n }\n // Add libraries if they wish to include the libs.\n if (_a.config.template && _a.config.includeLibs) {\n yield _a.addLibrary(libWrapper, _a.config.libs[_a.config.template], _a.config.template);\n }\n if (!_a.config.libraries) {\n _a.config.libraries = _a.config.modules || {};\n }\n // Adding premium if it is provided via the config.\n if (_a.config.premium) {\n _a.config.libraries.premium = _a.config.premium;\n }\n // Allow adding dynamic modules.\n if (_a.config.libraries) {\n for (const name in _a.config.libraries) {\n const lib = _a.config.libraries[name];\n lib.use = lib.use || true;\n yield _a.addLibrary(libWrapper, lib, name);\n }\n }\n yield _a.addStyles(libWrapper, _a.formioScript(_a.config.style || `${_a.cdn.js}/${renderer}.css`, builder));\n if (_a.config.before) {\n yield _a.config.before(_a.FormioClass, element, _a.config);\n }\n _a.FormioClass.license = true;\n _a._formioReady(_a.FormioClass);\n return wrapper;\n });\n }\n // Called after an instance has been created.\n static afterCreate(instance, wrapper, readyEvent) {\n return __awaiter(this, void 0, void 0, function* () {\n const loader = wrapper.querySelector('.formio-loader');\n if (loader) {\n wrapper.removeChild(loader);\n }\n _a.FormioClass.events.emit(readyEvent, instance);\n if (_a.config.after) {\n _a.debug('Calling ready callback');\n _a.config.after(instance, _a.config);\n }\n return instance;\n });\n }\n // Create a new form.\n static createForm(element, form, options = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n if (_a.FormioClass) {\n return _a.FormioClass.createForm(element, form, Object.assign(Object.assign({}, options), { noLoader: true }));\n }\n const wrapper = yield _a.init(element, options);\n return _a.FormioClass.createForm(element, form, Object.assign(Object.assign({}, options), { noLoader: true })).then((instance) => {\n // Set the default submission data.\n if (_a.config.submission) {\n _a.debug('Setting submission', _a.config.submission);\n instance.submission = _a.config.submission;\n }\n // Call the after create method.\n _a.afterCreate(instance, wrapper, 'formEmbedded');\n return instance;\n });\n });\n }\n // Create a form builder.\n static builder(element, form, options = {}) {\n var _b;\n return __awaiter(this, void 0, void 0, function* () {\n if ((_b = _a.FormioClass) === null || _b === void 0 ? void 0 : _b.builder) {\n return _a.FormioClass.builder(element, form, options);\n }\n const wrapper = yield _a.init(element, options, true);\n return _a.FormioClass.builder(element, form, options).then((instance) => {\n _a.afterCreate(instance, wrapper, 'builderEmbedded');\n return instance;\n });\n });\n }\n}\nexports.Formio = Formio;\n_a = Formio;\nFormio.FormioClass = null;\nFormio.config = {};\nFormio.modules = [];\nFormio.icons = '';\nFormio.license = '';\nFormio.formioReady = new Promise((ready, reject) => {\n _a._formioReady = ready;\n _a._formioReadyReject = reject;\n});\nFormio.version = '5.1.0-rc.24';\n// Create a report.\nFormio.Report = {\n create: (element, submission, options = {}) => __awaiter(void 0, void 0, void 0, function* () {\n var _b;\n if ((_b = _a.FormioClass) === null || _b === void 0 ? void 0 : _b.Report) {\n return _a.FormioClass.Report.create(element, submission, options);\n }\n const wrapper = yield _a.init(element, options, true);\n return _a.FormioClass.Report.create(element, submission, options).then((instance) => {\n _a.afterCreate(instance, wrapper, 'reportEmbedded');\n return instance;\n });\n })\n};\nCDN_js_1.default.defaultCDN = Formio.version.includes('rc') ? 'https://cdn.test-form.io' : 'https://cdn.form.io';\nclass Form {\n constructor(element, form, options) {\n this.form = form;\n this.element = element;\n this.options = options || {};\n this.init();\n this.instance = {\n proxy: true,\n ready: this.ready,\n destroy: () => { }\n };\n }\n init() {\n if (this.instance && !this.instance.proxy) {\n this.instance.destroy();\n }\n this.element.innerHTML = '';\n this.ready = this.create().then((instance) => {\n this.instance = instance;\n this.form = instance.form;\n return instance;\n });\n }\n create() {\n return Formio.createForm(this.element, this.form, this.options);\n }\n setForm(form) {\n this.form = form;\n if (this.instance) {\n this.instance.setForm(form);\n }\n }\n setDisplay(display) {\n if (this.instance.proxy) {\n return this.ready;\n }\n this.form.display = display;\n this.instance.destroy();\n this.ready = this.create().then((instance) => {\n this.instance = instance;\n this.setForm(this.form);\n });\n return this.ready;\n }\n}\nexports.Form = Form;\nclass FormBuilder extends Form {\n create() {\n return Formio.builder(this.element, this.form, this.options);\n }\n}\nexports.FormBuilder = FormBuilder;\nFormio.Form = Form;\nFormio.FormBuilder = FormBuilder;\n\n\n//# sourceURL=webpack://Formio/./lib/cjs/Embed.js?");
|
8942
8920
|
|
8943
8921
|
/***/ }),
|
8944
8922
|
|
@@ -8949,7 +8927,7 @@ eval("\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _argument
|
|
8949
8927
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
8950
8928
|
|
8951
8929
|
"use strict";
|
8952
|
-
eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Formio = void 0;\nconst sdk_1 = __webpack_require__(/*! @formio/core/sdk */ \"./node_modules/@formio/core/lib/sdk/index.js\");\nObject.defineProperty(exports, \"Formio\", ({ enumerable: true, get: function () { return sdk_1.Formio; } }));\nconst Embed_1 = __webpack_require__(/*! ./Embed */ \"./lib/cjs/Embed.js\");\nconst CDN_1 = __importDefault(__webpack_require__(/*! ./CDN */ \"./lib/cjs/CDN.js\"));\nconst providers_1 = __importDefault(__webpack_require__(/*! ./providers */ \"./lib/cjs/providers/index.js\"));\nsdk_1.Formio.cdn = new CDN_1.default();\nsdk_1.Formio.Providers = providers_1.default;\nsdk_1.Formio.version = '5.1.0-rc.
|
8930
|
+
eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Formio = void 0;\nconst sdk_1 = __webpack_require__(/*! @formio/core/sdk */ \"./node_modules/@formio/core/lib/sdk/index.js\");\nObject.defineProperty(exports, \"Formio\", ({ enumerable: true, get: function () { return sdk_1.Formio; } }));\nconst Embed_1 = __webpack_require__(/*! ./Embed */ \"./lib/cjs/Embed.js\");\nconst CDN_1 = __importDefault(__webpack_require__(/*! ./CDN */ \"./lib/cjs/CDN.js\"));\nconst providers_1 = __importDefault(__webpack_require__(/*! ./providers */ \"./lib/cjs/providers/index.js\"));\nsdk_1.Formio.cdn = new CDN_1.default();\nsdk_1.Formio.Providers = providers_1.default;\nsdk_1.Formio.version = '5.1.0-rc.24';\nCDN_1.default.defaultCDN = sdk_1.Formio.version.includes('rc') ? 'https://cdn.test-form.io' : 'https://cdn.form.io';\nconst isNil = (val) => val === null || val === undefined;\nsdk_1.Formio.prototype.uploadFile = function (storage, file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, uploadStartCallback, abortCallback, multipartOptions) {\n const requestArgs = {\n provider: storage,\n method: 'upload',\n file: file,\n fileName: fileName,\n dir: dir\n };\n fileKey = fileKey || 'file';\n const request = sdk_1.Formio.pluginWait('preRequest', requestArgs)\n .then(() => {\n return sdk_1.Formio.pluginGet('fileRequest', requestArgs)\n .then((result) => {\n if (storage && isNil(result)) {\n const Provider = providers_1.default.getProvider('storage', storage);\n if (Provider) {\n const provider = new Provider(this);\n if (uploadStartCallback) {\n uploadStartCallback();\n }\n return provider.uploadFile(file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, abortCallback, multipartOptions);\n }\n else {\n throw ('Storage provider not found');\n }\n }\n return result || { url: '' };\n });\n });\n return sdk_1.Formio.pluginAlter('wrapFileRequestPromise', request, requestArgs);\n};\nsdk_1.Formio.prototype.downloadFile = function (file, options) {\n const requestArgs = {\n method: 'download',\n file: file\n };\n const request = sdk_1.Formio.pluginWait('preRequest', requestArgs)\n .then(() => {\n return sdk_1.Formio.pluginGet('fileRequest', requestArgs)\n .then((result) => {\n if (file.storage && isNil(result)) {\n const Provider = providers_1.default.getProvider('storage', file.storage);\n if (Provider) {\n const provider = new Provider(this);\n return provider.downloadFile(file, options);\n }\n else {\n throw ('Storage provider not found');\n }\n }\n return result || { url: '' };\n });\n });\n return sdk_1.Formio.pluginAlter('wrapFileRequestPromise', request, requestArgs);\n};\nsdk_1.Formio.prototype.deleteFile = function (file, options) {\n const requestArgs = {\n method: 'delete',\n file: file\n };\n const request = sdk_1.Formio.pluginWait('preRequest', requestArgs)\n .then(() => {\n return sdk_1.Formio.pluginGet('fileRequest', requestArgs)\n .then((result) => {\n if (file.storage && isNil(result)) {\n const Provider = providers_1.default.getProvider('storage', file.storage);\n if (Provider) {\n const provider = new Provider(this);\n return provider.deleteFile(file, options);\n }\n else {\n throw ('Storage provider not found');\n }\n }\n return result || { url: '' };\n });\n });\n return sdk_1.Formio.pluginAlter('wrapFileRequestPromise', request, requestArgs);\n};\n// Esnure we proxy the following methods to the FormioEmbed class.\n['setBaseUrl', 'setApiUrl', 'setAppUrl', 'setProjectUrl', 'setPathType', 'setLicense'].forEach((fn) => {\n const baseFn = sdk_1.Formio[fn];\n sdk_1.Formio[fn] = function (arg) {\n const retVal = Embed_1.Formio[fn](arg, true);\n return baseFn ? baseFn.call(this, arg) : retVal;\n };\n});\n// For reverse compatability.\nsdk_1.Formio.Promise = Promise;\nsdk_1.Formio.formioReady = Embed_1.Formio.formioReady;\nsdk_1.Formio.config = Embed_1.Formio.config;\nsdk_1.Formio.builder = Embed_1.Formio.builder;\nsdk_1.Formio.Report = Embed_1.Formio.Report;\nsdk_1.Formio.Form = Embed_1.Formio.Form;\nsdk_1.Formio.FormBuilder = Embed_1.Formio.FormBuilder;\nsdk_1.Formio.use = Embed_1.Formio.use;\nsdk_1.Formio.createForm = Embed_1.Formio.createForm;\nsdk_1.Formio.submitDone = Embed_1.Formio.submitDone;\nsdk_1.Formio.addLibrary = Embed_1.Formio.addLibrary;\nsdk_1.Formio.addLoader = Embed_1.Formio.addLoader;\nsdk_1.Formio.addToGlobal = (global) => {\n if (typeof global === 'object' && !global.Formio) {\n global.Formio = sdk_1.Formio;\n }\n};\nif (typeof __webpack_require__.g !== 'undefined') {\n sdk_1.Formio.addToGlobal(__webpack_require__.g);\n}\nif (typeof window !== 'undefined') {\n sdk_1.Formio.addToGlobal(window);\n}\nEmbed_1.Formio._formioReady(sdk_1.Formio);\n\n\n//# sourceURL=webpack://Formio/./lib/cjs/Formio.js?");
|
8953
8931
|
|
8954
8932
|
/***/ }),
|
8955
8933
|
|