UNPKG

formsflow-theming

Version:

US Web Design System templates for form.io

381 lines (280 loc) 185 kB
/* * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). * This devtool is neither made for production nor for readable output files. * It uses "eval()" calls to create a separate source file in the browser devtools. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) * or disable the default devtool with "devtool: false". * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("Formio")); else if(typeof define === 'function' && define.amd) define(["Formio"], factory); else if(typeof exports === 'object') exports["uswds"] = factory(require("Formio")); else root["uswds"] = factory(root["Formio"]); })(self, function(__WEBPACK_EXTERNAL_MODULE_formiojs__) { return /******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./lib/components/Checkbox/Checkbox.form.js": /*!**************************************************!*\ !*** ./lib/components/Checkbox/Checkbox.form.js ***! \**************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar baseEditForm = formiojs_1.Components.components.checkbox.editForm;\r\nfunction default_1() {\r\n var extend = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n extend[_i] = arguments[_i];\r\n }\r\n return baseEditForm.apply(void 0, __spreadArray([[\r\n {\r\n key: 'display',\r\n components: [\r\n {\r\n type: 'checkbox',\r\n input: true,\r\n weight: 1000,\r\n label: 'Tile view',\r\n tooltip: 'Tile view for this component',\r\n key: 'tileView',\r\n },\r\n ],\r\n },\r\n ]], extend, false));\r\n}\r\nexports.default = default_1;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/Checkbox/Checkbox.form.js?"); /***/ }), /***/ "./lib/components/Checkbox/Checkbox.js": /*!*********************************************!*\ !*** ./lib/components/Checkbox/Checkbox.js ***! \*********************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar Checkbox_form_1 = __webpack_require__(/*! ./Checkbox.form */ \"./lib/components/Checkbox/Checkbox.form.js\");\r\nvar CheckboxComponent = formiojs_1.Components.components.checkbox;\r\nvar USWDSCheckboxComponent = /** @class */ (function (_super) {\r\n __extends(USWDSCheckboxComponent, _super);\r\n function USWDSCheckboxComponent() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n USWDSCheckboxComponent.prototype.render = function (element) {\r\n this.noField = true;\r\n return _super.prototype.render.call(this, element);\r\n };\r\n USWDSCheckboxComponent.editForm = Checkbox_form_1.default;\r\n return USWDSCheckboxComponent;\r\n}(CheckboxComponent));\r\nexports.default = USWDSCheckboxComponent;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/Checkbox/Checkbox.js?"); /***/ }), /***/ "./lib/components/Radio/Radio.form.js": /*!********************************************!*\ !*** ./lib/components/Radio/Radio.form.js ***! \********************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar baseEditForm = formiojs_1.Components.components.radio.editForm;\r\nfunction default_1() {\r\n var extend = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n extend[_i] = arguments[_i];\r\n }\r\n return baseEditForm.apply(void 0, __spreadArray([[\r\n {\r\n key: 'display',\r\n components: [\r\n {\r\n type: 'checkbox',\r\n input: true,\r\n weight: 1000,\r\n label: 'Tile view',\r\n tooltip: 'Tile view for this component',\r\n key: 'tileView',\r\n },\r\n ],\r\n },\r\n ]], extend, false));\r\n}\r\nexports.default = default_1;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/Radio/Radio.form.js?"); /***/ }), /***/ "./lib/components/Radio/Radio.js": /*!***************************************!*\ !*** ./lib/components/Radio/Radio.js ***! \***************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar Radio_form_1 = __webpack_require__(/*! ./Radio.form */ \"./lib/components/Radio/Radio.form.js\");\r\nvar RadioComponent = formiojs_1.Components.components.radio;\r\nRadioComponent.editForm = Radio_form_1.default;\r\nvar render = RadioComponent.prototype.render;\r\nRadioComponent.prototype.render = function () {\r\n this.noField = true;\r\n return render.call(this);\r\n};\r\nexports.default = RadioComponent;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/Radio/Radio.js?"); /***/ }), /***/ "./lib/components/Select.js": /*!**********************************!*\ !*** ./lib/components/Select.js ***! \**********************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar SelectComponent = formiojs_1.Components.components.select;\r\nvar USWDSSelectComponent = /** @class */ (function (_super) {\r\n __extends(USWDSSelectComponent, _super);\r\n function USWDSSelectComponent() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n USWDSSelectComponent.prototype.choicesOptions = function () {\r\n var choicesOptions = _super.prototype.choicesOptions.call(this);\r\n choicesOptions.classNames.containerInner += ' formsflow-select maxw-full';\r\n return choicesOptions;\r\n };\r\n return USWDSSelectComponent;\r\n}(SelectComponent));\r\nexports.default = USWDSSelectComponent;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/Select.js?"); /***/ }), /***/ "./lib/components/button/Button.form.js": /*!**********************************************!*\ !*** ./lib/components/button/Button.form.js ***! \**********************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar baseEditForm = formiojs_1.Components.components.button.editForm;\r\nvar Button_edit_display_1 = __webpack_require__(/*! ./editForm/Button.edit.display */ \"./lib/components/button/editForm/Button.edit.display.js\");\r\nfunction default_1() {\r\n var extend = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n extend[_i] = arguments[_i];\r\n }\r\n return baseEditForm.apply(void 0, __spreadArray([[\r\n {\r\n key: 'display',\r\n components: Button_edit_display_1.default,\r\n },\r\n ]], extend, false));\r\n}\r\nexports.default = default_1;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/button/Button.form.js?"); /***/ }), /***/ "./lib/components/button/Button.js": /*!*****************************************!*\ !*** ./lib/components/button/Button.js ***! \*****************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar Button_form_1 = __webpack_require__(/*! ./Button.form */ \"./lib/components/button/Button.form.js\");\r\nvar ButtonComponent = formiojs_1.Components.components.button;\r\nvar FieldComponent = formiojs_1.Components.components.field;\r\nvar USWDSButtonComponent = /** @class */ (function (_super) {\r\n __extends(USWDSButtonComponent, _super);\r\n function USWDSButtonComponent() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n USWDSButtonComponent.prototype.getInputInfo = function () {\r\n var info = this.inputInfo;\r\n info.attr.class = 'formsflow-button';\r\n switch (this.component.theme) {\r\n case 'secondary':\r\n info.attr.class += ' formsflow-button--secondary';\r\n break;\r\n case 'info':\r\n case 'accent-cool':\r\n info.attr.class += ' formsflow-button--accent-cool';\r\n break;\r\n case 'success':\r\n info.attr.class += ' bg-green';\r\n break;\r\n case 'danger':\r\n info.attr.class += ' bg-secondary-vivid';\r\n break;\r\n case 'warning':\r\n info.attr.class += ' formsflow-button--accent-warm';\r\n break;\r\n case 'base':\r\n info.attr.class += ' formsflow-button--base';\r\n break;\r\n case 'outline':\r\n info.attr.class += ' formsflow-button--outline';\r\n break;\r\n }\r\n if (this.component.customClass) {\r\n info.attr.class += \" \".concat(this.component.customClass);\r\n }\r\n return info;\r\n };\r\n USWDSButtonComponent.prototype.render = function () {\r\n if (this.viewOnly || this.options.hideButtons) {\r\n this._visible = false;\r\n }\r\n return FieldComponent.prototype.render.call(this, this.renderTemplate('button', {\r\n component: this.component,\r\n input: this.getInputInfo(),\r\n }));\r\n };\r\n USWDSButtonComponent.editForm = Button_form_1.default;\r\n return USWDSButtonComponent;\r\n}(ButtonComponent));\r\nexports.default = USWDSButtonComponent;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/button/Button.js?"); /***/ }), /***/ "./lib/components/button/editForm/Button.edit.display.js": /*!***************************************************************!*\ !*** ./lib/components/button/editForm/Button.edit.display.js ***! \***************************************************************/ /***/ (function(__unused_webpack_module, exports) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.default = [\r\n {\r\n type: 'select',\r\n key: 'theme',\r\n overrideEditForm: true,\r\n label: 'Theme',\r\n input: true,\r\n tooltip: 'The color theme of this button.',\r\n dataSrc: 'values',\r\n weight: 140,\r\n data: {\r\n values: [\r\n { label: 'Default', value: 'primary' },\r\n { label: 'Secondary', value: 'secondary' },\r\n { label: 'Accent Cool', value: 'accent-cool' },\r\n { label: 'Base', value: 'base' },\r\n { label: 'Outline', value: 'outline' },\r\n ],\r\n },\r\n },\r\n];\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/button/editForm/Button.edit.display.js?"); /***/ }), /***/ "./lib/components/index.js": /*!*********************************!*\ !*** ./lib/components/index.js ***! \*********************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar Select_1 = __webpack_require__(/*! ./Select */ \"./lib/components/Select.js\");\r\nvar Radio_1 = __webpack_require__(/*! ./Radio/Radio */ \"./lib/components/Radio/Radio.js\");\r\nvar Button_1 = __webpack_require__(/*! ./button/Button */ \"./lib/components/button/Button.js\");\r\nvar Checkbox_1 = __webpack_require__(/*! ./Checkbox/Checkbox */ \"./lib/components/Checkbox/Checkbox.js\");\r\nvar SelectBoxes_1 = __webpack_require__(/*! ./selectboxes/SelectBoxes */ \"./lib/components/selectboxes/SelectBoxes.js\");\r\nexports.default = {\r\n select: Select_1.default,\r\n radio: Radio_1.default,\r\n button: Button_1.default,\r\n checkbox: Checkbox_1.default,\r\n selectboxes: SelectBoxes_1.default\r\n};\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/index.js?"); /***/ }), /***/ "./lib/components/selectboxes/SelectBoxes.form.js": /*!********************************************************!*\ !*** ./lib/components/selectboxes/SelectBoxes.form.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar baseEditForm = formiojs_1.Components.components.selectboxes.editForm;\r\nfunction default_1() {\r\n var extend = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n extend[_i] = arguments[_i];\r\n }\r\n return baseEditForm.apply(void 0, __spreadArray([[\r\n {\r\n key: 'display',\r\n components: [\r\n {\r\n type: 'checkbox',\r\n input: true,\r\n weight: 1000,\r\n label: 'Tile view',\r\n tooltip: 'Tile view for this component',\r\n key: 'tileView',\r\n },\r\n ],\r\n },\r\n ]], extend, false));\r\n}\r\nexports.default = default_1;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/selectboxes/SelectBoxes.form.js?"); /***/ }), /***/ "./lib/components/selectboxes/SelectBoxes.js": /*!***************************************************!*\ !*** ./lib/components/selectboxes/SelectBoxes.js ***! \***************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\r\nvar SelectBoxes_form_1 = __webpack_require__(/*! ./SelectBoxes.form */ \"./lib/components/selectboxes/SelectBoxes.form.js\");\r\nvar SelectBoxesComponent = formiojs_1.Components.components.selectboxes;\r\nvar USWDSSelectBoxesComponent = /** @class */ (function (_super) {\r\n __extends(USWDSSelectBoxesComponent, _super);\r\n function USWDSSelectBoxesComponent() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n USWDSSelectBoxesComponent.editForm = SelectBoxes_form_1.default;\r\n return USWDSSelectBoxesComponent;\r\n}(SelectBoxesComponent));\r\nexports.default = USWDSSelectBoxesComponent;\r\n\n\n//# sourceURL=webpack://uswds/./lib/components/selectboxes/SelectBoxes.js?"); /***/ }), /***/ "./lib/index.js": /*!**********************!*\ !*** ./lib/index.js ***! \**********************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./lib/templates/index.js\");\r\nvar components_1 = __webpack_require__(/*! ./components */ \"./lib/components/index.js\");\r\nexports.default = {\r\n framework: 'uswds',\r\n templates: templates_1.default,\r\n components: components_1.default,\r\n};\r\n\n\n//# sourceURL=webpack://uswds/./lib/index.js?"); /***/ }), /***/ "./lib/templates/index.js": /*!********************************!*\ !*** ./lib/templates/index.js ***! \********************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar uswds_1 = __webpack_require__(/*! ./uswds */ \"./lib/templates/uswds/index.js\");\r\nexports.default = {\r\n uswds: uswds_1.default,\r\n};\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/index.js?"); /***/ }), /***/ "./lib/templates/uswds/address/form.ejs.js": /*!*************************************************!*\ !*** ./lib/templates/uswds/address/form.ejs.js ***! \*************************************************/ /***/ (function(__unused_webpack_module, exports) { 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 += '\\r\\n <div class=\"address-autocomplete-container\">\\r\\n <input\\r\\n ref=\"' +\n((__t = ( ctx.ref.searchInput )) == null ? '' : __t) +\n'\"\\r\\n class=\"formsflow-input maxw-full\",\\r\\n ';\n for (var attr in ctx.inputAttributes) { ;\n__p += '\\r\\n ' +\n((__t = (attr)) == null ? '' : __t) +\n'=\"' +\n((__t = (ctx.inputAttributes[attr])) == null ? '' : __t) +\n'\"\\r\\n ';\n } ;\n__p += '\\r\\n value=\"' +\n((__t = ( ctx.displayValue )) == null ? '' : __t) +\n'\"\\r\\n autocomplete=\"off\"\\r\\n >\\r\\n ';\n if (!ctx.component.disableClearIcon) { ;\n__p += '\\r\\n <i\\r\\n class=\"address-autocomplete-remove-value-icon fa fa-times\"\\r\\n tabindex=\"' +\n((__t = ( ctx.inputAttributes.tabindex )) == null ? '' : __t) +\n'\"\\r\\n ref=\"' +\n((__t = ( ctx.ref.removeValueIcon )) == null ? '' : __t) +\n'\"\\r\\n ></i>\\r\\n ';\n } ;\n__p += '\\r\\n </div>\\r\\n';\n } ;\n__p += '\\r\\n';\n if (ctx.self.manualModeEnabled) { ;\n__p += '\\r\\n <div class=\"formsflow-checkbox\">\\r\\n <input\\r\\n id=\"cb-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"\\r\\n ref=\"' +\n((__t = ( ctx.ref.modeSwitcher )) == null ? '' : __t) +\n'\"\\r\\n type=\"checkbox\"\\r\\n class=\"formsflow-checkbox__input\"\\r\\n ';\n if (ctx.mode.manual) { ;\n__p += 'checked=true';\n } ;\n__p += '\\r\\n ';\n if (ctx.disabled) { ;\n__p += 'disabled=true';\n } ;\n__p += '\\r\\n ></input>\\r\\n <label\\r\\n class=\"formsflow-checkbox__label padding-left-0 text-indent-0\"\\r\\n for=\"cb-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\n((__t = (ctx.component.key)) == null ? '' : __t) +\n'\"\\r\\n >\\r\\n ' +\n((__t = ( ctx.component.switchToManualModeLabel )) == null ? '' : __t) +\n'\\r\\n </label>\\r\\n </div>\\r\\n';\n } ;\n__p += '\\r\\n';\n if (ctx.self.manualMode) { ;\n__p += '\\r\\n <div ref=\"' +\n((__t = ( ctx.nestedKey )) == null ? '' : __t) +\n'\">\\r\\n ' +\n((__t = ( ctx.children )) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n';\n } ;\n__p += '\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/address/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/address/index.js": /*!**********************************************!*\ !*** ./lib/templates/uswds/address/index.js ***! \**********************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/address/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/address/index.js?"); /***/ }), /***/ "./lib/templates/uswds/alert/form.ejs.js": /*!***********************************************!*\ !*** ./lib/templates/uswds/alert/form.ejs.js ***! \***********************************************/ /***/ (function(__unused_webpack_module, exports) { eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.default=function(ctx) {\nvar __t, __p = '';\n__p += '<div id=\"' +\n((__t = (ctx.attrs.id)) == null ? '' : __t) +\n'\" class=\"formsflow-alert formsflow-alert--' +\n((__t = (ctx.type === 'danger' ? 'error' : ctx.type)) == null ? '' : __t) +\n' formsflow-alert--no-icon\">\\r\\n ' +\n((__t = (ctx.message)) == null ? '' : __t) +\n'\\r\\n <span class=\"formsflow-sr-only\" id=\"hotkey-i-' +\n((__t = (ctx.form._id)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t('errorListHotkey'))) == null ? '' : __t) +\n'</span>\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/alert/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/alert/index.js": /*!********************************************!*\ !*** ./lib/templates/uswds/alert/index.js ***! \********************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/alert/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/alert/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builderComponent/form.ejs.js": /*!**********************************************************!*\ !*** ./lib/templates/uswds/builderComponent/form.ejs.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, exports) { 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 aria-label=\"' +\n((__t = (ctx.childComponent.label)) == null ? '' : __t) +\n' ' +\n((__t = (ctx.childComponent.type)) == null ? '' : __t) +\n' container\" class=\"builder-component\" ref=\"dragComponent\" tabindex=\"0\">\\r\\n ';\n if (!ctx.disableBuilderActions) { ;\n__p += '\\r\\n <div role=\"application\" tabindex=\"0\" aria-label=\"Action buttons. Use up and down arrows to navigate through action buttons\" class=\"component-btn-group\" id=\"buttons-' +\n((__t = (ctx.childComponent.id)) == null ? '' : __t) +\n'\" data-noattach=\"true\" ref=\"buttonGroup\">\\r\\n <div\\r\\n role=\"button\"\\r\\n aria-label=\"Remove button. Click to remove component from the form\"\\r\\n tabindex=\"-1\"\\r\\n class=\"formsflow-button formsflow-button--secondary component-settings-button component-settings-button-remove\"\\r\\n ref=\"removeComponent\"\\r\\n >\\r\\n <i class=\"' +\n((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +\n'\"></i>\\r\\n </div>\\r\\n <div\\r\\n role=\"button\"\\r\\n aria-label=\"Copy button. Click to copy component\"\\r\\n tabindex=\"-1\"\\r\\n class=\"formsflow-button formsflow-button--outline component-settings-button component-settings-button-copy\"\\r\\n ref=\"copyComponent\"\\r\\n >\\r\\n <i class=\"' +\n((__t = (ctx.iconClass('copy'))) == null ? '' : __t) +\n'\"></i>\\r\\n </div>\\r\\n <div\\r\\n role=\"button\"\\r\\n aria-label=\"Paste below button. Click to paste component below the current component\"\\r\\n tabindex=\"-1\"\\r\\n class=\"formsflow-button formsflow-button--outline component-settings-button component-settings-button-paste\"\\r\\n ref=\"pasteComponent\"\\r\\n >\\r\\n <i class=\"' +\n((__t = (ctx.iconClass('save'))) == null ? '' : __t) +\n'\"></i>\\r\\n </div>\\r\\n <div\\r\\n role=\"button\"\\r\\n aria-label=\"Move button\"\\r\\n tabindex=\"-1\"\\r\\n class=\"formsflow-button formsflow-button--outline component-settings-button component-settings-button-move\"\\r\\n ref=\"moveComponent\"\\r\\n >\\r\\n <i class=\"' +\n((__t = (ctx.iconClass('move'))) == null ? '' : __t) +\n'\"></i>\\r\\n </div>\\r\\n <div\\r\\n role=\"button\"\\r\\n aria-label=\"Edit button. Click to open component settings modal window\"\\r\\n tabindex=\"-1\"\\r\\n class=\"formsflow-button formsflow-button--accent-cool component-settings-button component-settings-button-edit\"\\r\\n ref=\"editComponent\"\\r\\n >\\r\\n <i class=\"' +\n((__t = (ctx.iconClass('cog'))) == null ? '' : __t) +\n'\"></i>\\r\\n </div>\\r\\n </div>\\r\\n ';\n } ;\n__p += '\\r\\n ' +\n((__t = (ctx.html)) == null ? '' : __t) +\n'\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderComponent/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builderComponent/index.js": /*!*******************************************************!*\ !*** ./lib/templates/uswds/builderComponent/index.js ***! \*******************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builderComponent/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderComponent/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builderComponents/form.ejs.js": /*!***********************************************************!*\ !*** ./lib/templates/uswds/builderComponents/form.ejs.js ***! \***********************************************************/ /***/ (function(__unused_webpack_module, exports) { eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.default=function(ctx) {\nvar __t, __p = '';\n__p += '<div class=\"builder-components drag-container formio-builder-' +\n((__t = (ctx.type)) == null ? '' : __t) +\n'\" ref=\"' +\n((__t = (ctx.key)) == null ? '' : __t) +\n'-container\">\\r\\n ' +\n((__t = (ctx.html)) == null ? '' : __t) +\n'\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderComponents/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builderComponents/index.js": /*!********************************************************!*\ !*** ./lib/templates/uswds/builderComponents/index.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builderComponents/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderComponents/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builderEditForm/form.ejs.js": /*!*********************************************************!*\ !*** ./lib/templates/uswds/builderEditForm/form.ejs.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, exports) { 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=\"grid-row grid-gap\">\\r\\n <div class=\"grid-col mobile:grid-col-6\">\\r\\n <p class=\"font-body-md\">' +\n((__t = (ctx.t(ctx.componentInfo.title))) == null ? '' : __t) +\n' ' +\n((__t = (ctx.t('Component'))) == null ? '' : __t) +\n'</p>\\r\\n </div>\\r\\n <div class=\"grid-col mobile:grid-col-6\">\\r\\n <div class=\"float-right\" style=\"margin-right: 20px; margin-top: 10px\">\\r\\n <a href=\"' +\n((__t = (ctx.t(ctx.componentInfo.documentation))) == null ? '' : __t) +\n'\" target=\"_blank\">\\r\\n <i class=\"' +\n((__t = (ctx.iconClass('new-window'))) == null ? '' : __t) +\n'\"> ' +\n((__t = (ctx.t('Help'))) == null ? '' : __t) +\n'</i>\\r\\n </a>\\r\\n </div>\\r\\n </div>\\r\\n</div>\\r\\n<div class=\"grid-row grid-gap\">\\r\\n <div class=\"grid-col ';\n if (ctx.preview) { ;\n__p += 'mobile:grid-col-6';\n } else { ;\n__p += 'mobile:grid-col-12';\n } ;\n__p += '\">\\r\\n <div ref=\"editForm\">\\r\\n ' +\n((__t = (ctx.editForm)) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n ';\n if (!ctx.preview) { ;\n__p += '\\r\\n <div style=\"margin-top: 10px;\">\\r\\n <button class=\"formsflow-button formsflow-button--accent-cool\" style=\"margin-right: 10px;\" ref=\"saveButton\">' +\n((__t = (ctx.t('Save'))) == null ? '' : __t) +\n'</button>\\r\\n <button class=\"formsflow-button formsflow-button--base\" style=\"margin-right: 10px;\" ref=\"cancelButton\">' +\n((__t = (ctx.t('Cancel'))) == null ? '' : __t) +\n'</button>\\r\\n <button class=\"formsflow-button formsflow-button--secondary\" ref=\"removeButton\">' +\n((__t = (ctx.t('Remove'))) == null ? '' : __t) +\n'</button>\\r\\n </div>\\r\\n ';\n } ;\n__p += '\\r\\n </div>\\r\\n ';\n if (ctx.preview) { ;\n__p += '\\r\\n <div class=\"grid-col mobile:grid-col-6\">\\r\\n <div class=\"formio-formsflow-card preview-panel\">\\r\\n <div class=\"formio-formsflow-card-header\">\\r\\n <h4 class=\"formio-formsflow-card-title margin-bottom-0\">' +\n((__t = (ctx.t('Preview'))) == null ? '' : __t) +\n'</h4>\\r\\n </div>\\r\\n <div class=\"formio-formsflow-card-body\">\\r\\n <div class=\"component-preview\" ref=\"preview\">\\r\\n ' +\n((__t = (ctx.preview)) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n </div>\\r\\n </div>\\r\\n ';\n if (ctx.componentInfo.help) { ;\n__p += '\\r\\n <div class=\"formio-formsflow-card formio-formsflow-card-body bg-base-lightest formio-settings-help\">\\r\\n ' +\n((__t = ( ctx.t(ctx.componentInfo.help) )) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n ';\n } ;\n__p += '\\r\\n <div style=\"margin-top: 10px;\">\\r\\n <button class=\"formsflow-button formsflow-button--accent-cool\" style=\"margin-right: 10px;\" ref=\"saveButton\">' +\n((__t = (ctx.t('Save'))) == null ? '' : __t) +\n'</button>\\r\\n <button class=\"formsflow-button formsflow-button--base\" style=\"margin-right: 10px;\" ref=\"cancelButton\">' +\n((__t = (ctx.t('Cancel'))) == null ? '' : __t) +\n'</button>\\r\\n <button class=\"formsflow-button formsflow-button--secondary\" ref=\"removeButton\">' +\n((__t = (ctx.t('Remove'))) == null ? '' : __t) +\n'</button>\\r\\n </div>\\r\\n </div>\\r\\n ';\n } ;\n__p += '\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderEditForm/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builderEditForm/index.js": /*!******************************************************!*\ !*** ./lib/templates/uswds/builderEditForm/index.js ***! \******************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builderEditForm/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderEditForm/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builderPlaceholder/form.ejs.js": /*!************************************************************!*\ !*** ./lib/templates/uswds/builderPlaceholder/form.ejs.js ***! \************************************************************/ /***/ (function(__unused_webpack_module, exports) { eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.default=function(ctx) {\nvar __t, __p = '';\n__p += '<div\\r\\n class=\"formsflow-alert formsflow-alert--info formsflow-alert--no-icon no-drag\"\\r\\n style=\"text-align:center;\"\\r\\n role=\"alert\"\\r\\n data-noattach=\"true\"\\r\\n data-position=\"' +\n((__t = (ctx.position)) == null ? '' : __t) +\n'\"\\r\\n>\\r\\n <div clas=\"formsflow-alert__body\">\\r\\n ' +\n((__t = (ctx.t('Drag and Drop a form component'))) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderPlaceholder/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builderPlaceholder/index.js": /*!*********************************************************!*\ !*** ./lib/templates/uswds/builderPlaceholder/index.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builderPlaceholder/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderPlaceholder/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builderSidebarGroup/form.ejs.js": /*!*************************************************************!*\ !*** ./lib/templates/uswds/builderSidebarGroup/form.ejs.js ***! \*************************************************************/ /***/ (function(__unused_webpack_module, exports) { 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=\"form-builder-panel\" ref=\"group-panel-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\">\\r\\n <div class=\"formsflow-accordion__heading form-builder-group-header\" id=\"heading-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\">\\r\\n <h5 class=\"mb-0 mt-0 form-builder-group-heading\">\\r\\n <button\\r\\n class=\"formsflow-accordion__button builder-group-button\"\\r\\n type=\"button\"\\r\\n data-toggle=\"collapse\"\\r\\n data-target=\"#group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\r\\n data-parent=\"#' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\"\\r\\n aria-expanded=\"' +\n((__t = (ctx.group.default)) == null ? '' : __t) +\n'\"\\r\\n aria-controls=\"group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\r\\n ref=\"sidebar-anchor\"\\r\\n >\\r\\n ' +\n((__t = (ctx.t(ctx.group.title))) == null ? '' : __t) +\n'\\r\\n </button>\\r\\n </h5>\\r\\n </div>\\r\\n <div\\r\\n id=\"group-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\r\\n class=\"collapse ' +\n((__t = (ctx.group.default ? ' show' : '')) == null ? '' : __t) +\n'\"\\r\\n data-parent=\"#' +\n((__t = (ctx.groupId)) == null ? '' : __t) +\n'\"\\r\\n data-default=\"' +\n((__t = (ctx.group.default)) == null ? '' : __t) +\n'\"\\r\\n aria-labelledby=\"heading-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\r\\n ref=\"sidebar-group\"\\r\\n >\\r\\n <div\\r\\n id=\"group-container-' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\r\\n class=\"formsflow-accordion__content display-flex flex-column flex-align-stretch no-drop padding-1\"\\r\\n ref=\"sidebar-container\"\\r\\n >\\r\\n ';\n !ctx.group.componentOrder || ctx.group.componentOrder.forEach(function(componentKey) { ;\n__p += '\\r\\n <span\\r\\n data-group=\"' +\n((__t = (ctx.groupKey)) == null ? '' : __t) +\n'\"\\r\\n data-key=\"' +\n((__t = (ctx.group.components[componentKey].key)) == null ? '' : __t) +\n'\"\\r\\n data-type=\"' +\n((__t = (ctx.group.components[componentKey].schema.type)) == null ? '' : __t) +\n'\"\\r\\n class=\"formsflow-button formsflow-button--default formcomponent drag-copy\"\\r\\n >\\r\\n ';\n if (ctx.group.components[componentKey].icon) { ;\n__p += '\\r\\n <i class=\"' +\n((__t = (ctx.iconClass(ctx.group.components[componentKey].icon))) == null ? '' : __t) +\n'\" style=\"margin-right: 5px;\"></i>\\r\\n ';\n } ;\n__p += '\\r\\n ' +\n((__t = (ctx.t(ctx.group.components[componentKey].title))) == null ? '' : __t) +\n'\\r\\n </span>\\r\\n ';\n }) ;\n__p += '\\r\\n ' +\n((__t = (ctx.subgroups.join(''))) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n </div>\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderSidebarGroup/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builderSidebarGroup/index.js": /*!**********************************************************!*\ !*** ./lib/templates/uswds/builderSidebarGroup/index.js ***! \**********************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builderSidebarGroup/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderSidebarGroup/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builderSidebar/form.ejs.js": /*!********************************************************!*\ !*** ./lib/templates/uswds/builderSidebar/form.ejs.js ***! \********************************************************/ /***/ (function(__unused_webpack_module, exports) { 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=\"formsflow-accordion formsflow-accordion--bordered builder-sidebar' +\n((__t = (ctx.scrollEnabled ? ' builder-sidebar_scroll' : '')) == null ? '' : __t) +\n'\" ref=\"sidebar\">\\r\\n ';\n ctx.groups.forEach(function(group) { ;\n__p += '\\r\\n ' +\n((__t = ( group )) == null ? '' : __t) +\n'\\r\\n ';\n }) ;\n__p += '\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderSidebar/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builderSidebar/index.js": /*!*****************************************************!*\ !*** ./lib/templates/uswds/builderSidebar/index.js ***! \*****************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builderSidebar/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderSidebar/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builderWizard/form.ejs.js": /*!*******************************************************!*\ !*** ./lib/templates/uswds/builderWizard/form.ejs.js ***! \*******************************************************/ /***/ (function(__unused_webpack_module, exports) { 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 grid-row grid-gap formbuilder\">\\r\\n <div class=\"grid-col-4 mobile:grid-col-3 tablet:grid-col-2 formcomponents\">\\r\\n ' +\n((__t = (ctx.sidebar)) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n <div class=\"grid-col-8 mobile:grid-col-9 tablet:grid-col-10 formarea\">\\r\\n <ol class=\"display-flex padding-105 bg-base-lightest formsflow-list--unstyled margin-bottom-2\">\\r\\n ';\n ctx.pages.forEach(function(page, pageIndex) { ;\n__p += '\\r\\n <li class=\"margin-right-1\">\\r\\n <span title=\"' +\n((__t = (page.title)) == null ? '' : __t) +\n'\" class=\"formsflow-tag ';\n if (pageIndex === ctx.self.page) { ;\n__p += 'bg-primary';\n } else { ;\n__p += 'bg-violet';\n } ;\n__p += ' wizard-page-label\" ref=\"gotoPage\">' +\n((__t = (page.title)) == null ? '' : __t) +\n'</span>\\r\\n </li>\\r\\n ';\n }) ;\n__p += '\\r\\n <li class=\"margin-right-1\">\\r\\n <span title=\"' +\n((__t = (ctx.t('Create Page'))) == null ? '' : __t) +\n'\" class=\"formsflow-tag bg-green wizard-page-label\" ref=\"addPage\">\\r\\n <i class=\"' +\n((__t = (ctx.iconClass('plus'))) == null ? '' : __t) +\n'\"></i> ' +\n((__t = (ctx.t('Page'))) == null ? '' : __t) +\n'\\r\\n </span>\\r\\n </li>\\r\\n </ol>\\r\\n <div ref=\"form\">\\r\\n ' +\n((__t = (ctx.form)) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n </div>\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderWizard/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builderWizard/index.js": /*!****************************************************!*\ !*** ./lib/templates/uswds/builderWizard/index.js ***! \****************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builderWizard/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builderWizard/index.js?"); /***/ }), /***/ "./lib/templates/uswds/builder/form.ejs.js": /*!*************************************************!*\ !*** ./lib/templates/uswds/builder/form.ejs.js ***! \*************************************************/ /***/ (function(__unused_webpack_module, exports) { eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.default=function(ctx) {\nvar __t, __p = '';\n__p += '<div class=\"formio builder grid-row grid-gap formbuilder\">\\r\\n <div class=\"grid-col-4 mobile-lg:grid-col-3 tablet:grid-col-2 formcomponents\">\\r\\n ' +\n((__t = (ctx.sidebar)) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n <div class=\"grid-col-8 mobile-lg:grid-col-9 tablet:grid-col-10 formarea\" ref=\"form\">\\r\\n ' +\n((__t = (ctx.form)) == null ? '' : __t) +\n'\\r\\n </div>\\r\\n</div>\\r\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builder/form.ejs.js?"); /***/ }), /***/ "./lib/templates/uswds/builder/index.js": /*!**********************************************!*\ !*** ./lib/templates/uswds/builder/index.js ***! \**********************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { "use strict"; eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/builder/form.ejs.js\");\r\nexports.default = { form: form_ejs_1.default };\r\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/builder/index.js?"); /***/ }), /***/ "./lib/templates/uswds/button/form.ejs.js": /*!************************************************!*\ !*** ./lib/templates/uswds/button/form.ejs.js ***! \************************************************/ /***/ (function(__unused_webpack_module, exports) { 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 += '<' +\n((__t = (ctx.input.type)) == null ? '' : __t) +\n'\\r\\n ref=\"button\"\\r\\n ';\n for (var attr in ctx.input.attr) { ;\n__p += '\\r\\n ' +\n((__t = (attr)) == null ? '' : __t) +\n'=\"' +\n((__t = (ctx.input.attr[attr])) == null ? '' : __t) +\n'\"\\r\\n ';\n } ;\n__p += '\\r\\n aria-labelledby=\"l-' +\n((__t = (ctx.instance.id)) == null ? '' : __t) +\n'-' +\