@formio/vpat 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/vpat.js +1410 -0
- package/dist/vpat.min.js +1 -0
- package/lib/Webform.d.ts +2 -0
- package/lib/Webform.js +105 -0
- package/lib/WebformBuilder.d.ts +2 -0
- package/lib/WebformBuilder.js +145 -0
- package/lib/Wizard.d.ts +2 -0
- package/lib/Wizard.js +87 -0
- package/lib/builders/Builders.d.ts +4 -0
- package/lib/builders/Builders.js +9 -0
- package/lib/builders/index.d.ts +2 -0
- package/lib/builders/index.js +7 -0
- package/lib/components/address/Address.d.ts +5 -0
- package/lib/components/address/Address.js +10 -0
- package/lib/components/button/Button.d.ts +6 -0
- package/lib/components/button/Button.form.d.ts +1 -0
- package/lib/components/button/Button.form.js +25 -0
- package/lib/components/button/Button.js +12 -0
- package/lib/components/button/editForm/Button.edit.display.d.ts +5 -0
- package/lib/components/button/editForm/Button.edit.display.js +32 -0
- package/lib/components/checkbox/Checkbox.d.ts +17 -0
- package/lib/components/checkbox/Checkbox.form.d.ts +1 -0
- package/lib/components/checkbox/Checkbox.form.js +22 -0
- package/lib/components/checkbox/Checkbox.js +33 -0
- package/lib/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
- package/lib/components/checkbox/editForm/Checkbox.edit.data.js +12 -0
- package/lib/components/checkbox/editForm/Checkbox.edit.display.d.ts +5 -0
- package/lib/components/checkbox/editForm/Checkbox.edit.display.js +44 -0
- package/lib/components/columns/Columns.d.ts +6 -0
- package/lib/components/columns/Columns.form.d.ts +1 -0
- package/lib/components/columns/Columns.form.js +17 -0
- package/lib/components/columns/Columns.js +12 -0
- package/lib/components/columns/editForm/Columns.edit.display.d.ts +5 -0
- package/lib/components/columns/editForm/Columns.edit.display.js +16 -0
- package/lib/components/component/Component.d.ts +2 -0
- package/lib/components/component/Component.js +316 -0
- package/lib/components/componentmodal/ComponentModal.d.ts +2 -0
- package/lib/components/componentmodal/ComponentModal.js +217 -0
- package/lib/components/container/Container.d.ts +6 -0
- package/lib/components/container/Container.form.d.ts +1 -0
- package/lib/components/container/Container.form.js +22 -0
- package/lib/components/container/Container.js +12 -0
- package/lib/components/container/editForm/Container.edit.data.d.ts +5 -0
- package/lib/components/container/editForm/Container.edit.data.js +8 -0
- package/lib/components/container/editForm/Container.edit.display.d.ts +5 -0
- package/lib/components/container/editForm/Container.edit.display.js +12 -0
- package/lib/components/content/Content.d.ts +6 -0
- package/lib/components/content/Content.form.d.ts +1 -0
- package/lib/components/content/Content.form.js +8 -0
- package/lib/components/content/Content.js +12 -0
- package/lib/components/currency/Currency.d.ts +6 -0
- package/lib/components/currency/Currency.form.d.ts +1 -0
- package/lib/components/currency/Currency.form.js +26 -0
- package/lib/components/currency/Currency.js +12 -0
- package/lib/components/currency/editForm/Currency.edit.data.d.ts +17 -0
- package/lib/components/currency/editForm/Currency.edit.data.js +188 -0
- package/lib/components/currency/editForm/Currency.edit.display.d.ts +5 -0
- package/lib/components/currency/editForm/Currency.edit.display.js +8 -0
- package/lib/components/currency/editForm/Currency.edit.validation.d.ts +5 -0
- package/lib/components/currency/editForm/Currency.edit.validation.js +24 -0
- package/lib/components/datagrid/DataGrid.d.ts +5 -0
- package/lib/components/datagrid/DataGrid.js +10 -0
- package/lib/components/datamap/DataMap.d.ts +5 -0
- package/lib/components/datamap/DataMap.js +10 -0
- package/lib/components/datatable/DataTable.d.ts +3 -0
- package/lib/components/datatable/DataTable.js +8 -0
- package/lib/components/datetime/DateTime.d.ts +6 -0
- package/lib/components/datetime/DateTime.form.d.ts +1 -0
- package/lib/components/datetime/DateTime.form.js +27 -0
- package/lib/components/datetime/DateTime.js +12 -0
- package/lib/components/datetime/editForm/DateTime.edit.data.d.ts +5 -0
- package/lib/components/datetime/editForm/DateTime.edit.data.js +8 -0
- package/lib/components/datetime/editForm/DateTime.edit.display.d.ts +5 -0
- package/lib/components/datetime/editForm/DateTime.edit.display.js +32 -0
- package/lib/components/datetime/editForm/DateTime.edit.validation.d.ts +5 -0
- package/lib/components/datetime/editForm/DateTime.edit.validation.js +8 -0
- package/lib/components/day/Day.d.ts +13 -0
- package/lib/components/day/Day.form.d.ts +1 -0
- package/lib/components/day/Day.form.js +41 -0
- package/lib/components/day/Day.js +16 -0
- package/lib/components/day/editForm/Day.edit.data.d.ts +5 -0
- package/lib/components/day/editForm/Day.edit.data.js +16 -0
- package/lib/components/day/editForm/Day.edit.day.d.ts +40 -0
- package/lib/components/day/editForm/Day.edit.day.js +48 -0
- package/lib/components/day/editForm/Day.edit.display.d.ts +18 -0
- package/lib/components/day/editForm/Day.edit.display.js +36 -0
- package/lib/components/day/editForm/Day.edit.month.d.ts +40 -0
- package/lib/components/day/editForm/Day.edit.month.js +40 -0
- package/lib/components/day/editForm/Day.edit.validation.d.ts +29 -0
- package/lib/components/day/editForm/Day.edit.validation.js +58 -0
- package/lib/components/day/editForm/Day.edit.year.d.ts +10 -0
- package/lib/components/day/editForm/Day.edit.year.js +22 -0
- package/lib/components/dynamicwizard/DynamicWizard.d.ts +3 -0
- package/lib/components/dynamicwizard/DynamicWizard.js +8 -0
- package/lib/components/editgrid/EditGrid.d.ts +5 -0
- package/lib/components/editgrid/EditGrid.js +10 -0
- package/lib/components/email/Email.d.ts +6 -0
- package/lib/components/email/Email.form.d.ts +1 -0
- package/lib/components/email/Email.form.js +21 -0
- package/lib/components/email/Email.js +12 -0
- package/lib/components/email/editForm/Email.edit.display.d.ts +5 -0
- package/lib/components/email/editForm/Email.edit.display.js +8 -0
- package/lib/components/email/editForm/Email.edit.validation.d.ts +5 -0
- package/lib/components/email/editForm/Email.edit.validation.js +12 -0
- package/lib/components/fieldset/Fieldset.d.ts +6 -0
- package/lib/components/fieldset/Fieldset.form.d.ts +1 -0
- package/lib/components/fieldset/Fieldset.form.js +22 -0
- package/lib/components/fieldset/Fieldset.js +12 -0
- package/lib/components/file/File.d.ts +20 -0
- package/lib/components/file/File.form.d.ts +1 -0
- package/lib/components/file/File.form.js +17 -0
- package/lib/components/file/File.js +87 -0
- package/lib/components/file/editForm/File.edit.display.d.ts +5 -0
- package/lib/components/file/editForm/File.edit.display.js +24 -0
- package/lib/components/form/Form.d.ts +5 -0
- package/lib/components/form/Form.js +10 -0
- package/lib/components/hidden/Hidden.d.ts +6 -0
- package/lib/components/hidden/Hidden.form.d.ts +1 -0
- package/lib/components/hidden/Hidden.form.js +8 -0
- package/lib/components/hidden/Hidden.js +12 -0
- package/lib/components/html/HTML.d.ts +6 -0
- package/lib/components/html/HTML.form.d.ts +1 -0
- package/lib/components/html/HTML.form.js +8 -0
- package/lib/components/html/HTML.js +12 -0
- package/lib/components/index.d.ts +87 -0
- package/lib/components/index.js +95 -0
- package/lib/components/input/Input.d.ts +2 -0
- package/lib/components/input/Input.js +20 -0
- package/lib/components/nested/NestedComponent.d.ts +2 -0
- package/lib/components/nested/NestedComponent.js +18 -0
- package/lib/components/number/Number.d.ts +6 -0
- package/lib/components/number/Number.form.d.ts +1 -0
- package/lib/components/number/Number.form.js +26 -0
- package/lib/components/number/Number.js +12 -0
- package/lib/components/number/editForm/Number.edit.data.d.ts +18 -0
- package/lib/components/number/editForm/Number.edit.data.js +32 -0
- package/lib/components/number/editForm/Number.edit.display.d.ts +5 -0
- package/lib/components/number/editForm/Number.edit.display.js +12 -0
- package/lib/components/number/editForm/Number.edit.validation.d.ts +20 -0
- package/lib/components/number/editForm/Number.edit.validation.js +46 -0
- package/lib/components/panel/Panel.d.ts +6 -0
- package/lib/components/panel/Panel.form.d.ts +1 -0
- package/lib/components/panel/Panel.form.js +17 -0
- package/lib/components/panel/Panel.js +12 -0
- package/lib/components/panel/editForm/Panel.edit.display.d.ts +21 -0
- package/lib/components/panel/editForm/Panel.edit.display.js +29 -0
- package/lib/components/password/Password.d.ts +6 -0
- package/lib/components/password/Password.form.d.ts +1 -0
- package/lib/components/password/Password.form.js +26 -0
- package/lib/components/password/Password.js +12 -0
- package/lib/components/password/editForm/Password.edit.data.d.ts +18 -0
- package/lib/components/password/editForm/Password.edit.data.js +48 -0
- package/lib/components/password/editForm/Password.edit.display.d.ts +5 -0
- package/lib/components/password/editForm/Password.edit.display.js +8 -0
- package/lib/components/password/editForm/Password.edit.validation.d.ts +5 -0
- package/lib/components/password/editForm/Password.edit.validation.js +16 -0
- package/lib/components/phonenumber/PhoneNumber.d.ts +6 -0
- package/lib/components/phonenumber/PhoneNumber.form.d.ts +1 -0
- package/lib/components/phonenumber/PhoneNumber.form.js +21 -0
- package/lib/components/phonenumber/PhoneNumber.js +12 -0
- package/lib/components/phonenumber/editForm/PhoneNumber.edit.display.d.ts +5 -0
- package/lib/components/phonenumber/editForm/PhoneNumber.edit.display.js +8 -0
- package/lib/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
- package/lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js +28 -0
- package/lib/components/radio/Radio.d.ts +2 -0
- package/lib/components/radio/Radio.form.d.ts +1 -0
- package/lib/components/radio/Radio.form.js +22 -0
- package/lib/components/radio/Radio.js +45 -0
- package/lib/components/radio/editForm/Radio.edit.data.d.ts +13 -0
- package/lib/components/radio/editForm/Radio.edit.data.js +25 -0
- package/lib/components/radio/editForm/Radio.edit.display.d.ts +5 -0
- package/lib/components/radio/editForm/Radio.edit.display.js +32 -0
- package/lib/components/recaptcha/ReCaptcha.d.ts +5 -0
- package/lib/components/recaptcha/ReCaptcha.js +10 -0
- package/lib/components/select/Select.d.ts +17 -0
- package/lib/components/select/Select.form.d.ts +1 -0
- package/lib/components/select/Select.form.js +27 -0
- package/lib/components/select/Select.js +39 -0
- package/lib/components/select/editForm/Select.edit.data.d.ts +5 -0
- package/lib/components/select/editForm/Select.edit.data.js +16 -0
- package/lib/components/select/editForm/Select.edit.display.d.ts +5 -0
- package/lib/components/select/editForm/Select.edit.display.js +32 -0
- package/lib/components/select/editForm/Select.edit.validation.d.ts +5 -0
- package/lib/components/select/editForm/Select.edit.validation.js +8 -0
- package/lib/components/selectboxes/SelectBoxes.d.ts +6 -0
- package/lib/components/selectboxes/SelectBoxes.form.d.ts +1 -0
- package/lib/components/selectboxes/SelectBoxes.form.js +25 -0
- package/lib/components/selectboxes/SelectBoxes.js +12 -0
- package/lib/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
- package/lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js +36 -0
- package/lib/components/signature/Signature.d.ts +5 -0
- package/lib/components/signature/Signature.js +10 -0
- package/lib/components/sketchpad/Sketchpad.d.ts +3 -0
- package/lib/components/sketchpad/Sketchpad.js +8 -0
- package/lib/components/survey/Survey.d.ts +5 -0
- package/lib/components/survey/Survey.js +10 -0
- package/lib/components/table/Table.d.ts +6 -0
- package/lib/components/table/Table.form.d.ts +1 -0
- package/lib/components/table/Table.form.js +17 -0
- package/lib/components/table/Table.js +12 -0
- package/lib/components/table/editForm/Table.edit.display.d.ts +5 -0
- package/lib/components/table/editForm/Table.edit.display.js +24 -0
- package/lib/components/tabs/Tabs.d.ts +5 -0
- package/lib/components/tabs/Tabs.js +10 -0
- package/lib/components/tagpad/Tagpad.d.ts +3 -0
- package/lib/components/tagpad/Tagpad.js +8 -0
- package/lib/components/tags/Tags.d.ts +5 -0
- package/lib/components/tags/Tags.js +10 -0
- package/lib/components/textarea/TextArea.d.ts +6 -0
- package/lib/components/textarea/TextArea.form.d.ts +1 -0
- package/lib/components/textarea/TextArea.form.js +16 -0
- package/lib/components/textarea/TextArea.js +12 -0
- package/lib/components/textarea/editForm/TextArea.edit.display.d.ts +20 -0
- package/lib/components/textarea/editForm/TextArea.edit.display.js +20 -0
- package/lib/components/textfield/TextField.d.ts +7 -0
- package/lib/components/textfield/TextField.form.d.ts +1 -0
- package/lib/components/textfield/TextField.form.js +27 -0
- package/lib/components/textfield/TextField.js +16 -0
- package/lib/components/textfield/editForm/TextField.edit.data.d.ts +5 -0
- package/lib/components/textfield/editForm/TextField.edit.data.js +16 -0
- package/lib/components/textfield/editForm/TextField.edit.display.d.ts +5 -0
- package/lib/components/textfield/editForm/TextField.edit.display.js +52 -0
- package/lib/components/textfield/editForm/TextField.edit.validation.d.ts +5 -0
- package/lib/components/textfield/editForm/TextField.edit.validation.js +8 -0
- package/lib/components/time/Time.d.ts +10 -0
- package/lib/components/time/Time.form.d.ts +1 -0
- package/lib/components/time/Time.form.js +31 -0
- package/lib/components/time/Time.js +16 -0
- package/lib/components/time/editForm/Time.edit.data.d.ts +5 -0
- package/lib/components/time/editForm/Time.edit.data.js +16 -0
- package/lib/components/time/editForm/Time.edit.display.d.ts +5 -0
- package/lib/components/time/editForm/Time.edit.display.js +28 -0
- package/lib/components/tooltip/Tooltip.d.ts +35 -0
- package/lib/components/tooltip/Tooltip.js +259 -0
- package/lib/components/unknown/Unknown.d.ts +5 -0
- package/lib/components/unknown/Unknown.js +10 -0
- package/lib/components/url/Url.d.ts +6 -0
- package/lib/components/url/Url.form.d.ts +1 -0
- package/lib/components/url/Url.form.js +26 -0
- package/lib/components/url/Url.js +12 -0
- package/lib/components/url/editForm/Url.edit.data.d.ts +5 -0
- package/lib/components/url/editForm/Url.edit.data.js +8 -0
- package/lib/components/url/editForm/Url.edit.display.d.ts +5 -0
- package/lib/components/url/editForm/Url.edit.display.js +8 -0
- package/lib/components/url/editForm/Url.edit.validation.d.ts +5 -0
- package/lib/components/url/editForm/Url.edit.validation.js +12 -0
- package/lib/components/well/Well.d.ts +6 -0
- package/lib/components/well/Well.form.d.ts +1 -0
- package/lib/components/well/Well.form.js +18 -0
- package/lib/components/well/Well.js +12 -0
- package/lib/displays/index.d.ts +5 -0
- package/lib/displays/index.js +11 -0
- package/lib/index.d.ts +65 -0
- package/lib/index.js +21 -0
- package/lib/plugins/index.d.ts +2 -0
- package/lib/plugins/index.js +3 -0
- package/lib/providers/auth/index.d.ts +2 -0
- package/lib/providers/auth/index.js +3 -0
- package/lib/providers/index.d.ts +5 -0
- package/lib/providers/index.js +11 -0
- package/lib/providers/storage/index.d.ts +2 -0
- package/lib/providers/storage/index.js +3 -0
- package/lib/templates/index.d.ts +2 -0
- package/lib/templates/index.js +3 -0
- package/lib/util/index.d.ts +4 -0
- package/lib/util/index.js +23 -0
- package/lib/util/modalUtils.d.ts +3 -0
- package/lib/util/modalUtils.js +62 -0
- package/lib/widgets/CalendarWidget.d.ts +3 -0
- package/lib/widgets/CalendarWidget.js +116 -0
- package/lib/widgets/index.d.ts +4 -0
- package/lib/widgets/index.js +9 -0
- package/package.json +61 -0
package/dist/vpat.js
ADDED
|
@@ -0,0 +1,1410 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
3
|
+
* This devtool is neither made for production nor for readable output files.
|
|
4
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
5
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
6
|
+
* or disable the default devtool with "devtool: false".
|
|
7
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
|
+
*/
|
|
9
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
10
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
11
|
+
module.exports = factory(require("Formio"));
|
|
12
|
+
else if(typeof define === 'function' && define.amd)
|
|
13
|
+
define(["Formio"], factory);
|
|
14
|
+
else if(typeof exports === 'object')
|
|
15
|
+
exports["vpat"] = factory(require("Formio"));
|
|
16
|
+
else
|
|
17
|
+
root["vpat"] = factory(root["Formio"]);
|
|
18
|
+
})(self, (__WEBPACK_EXTERNAL_MODULE__formio_js__) => {
|
|
19
|
+
return /******/ (() => { // webpackBootstrap
|
|
20
|
+
/******/ "use strict";
|
|
21
|
+
/******/ var __webpack_modules__ = ({
|
|
22
|
+
|
|
23
|
+
/***/ "./lib/Webform.js":
|
|
24
|
+
/*!************************!*\
|
|
25
|
+
!*** ./lib/Webform.js ***!
|
|
26
|
+
\************************/
|
|
27
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
28
|
+
|
|
29
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Tooltip_1 = __importDefault(__webpack_require__(/*! ./components/tooltip/Tooltip */ \"./lib/components/tooltip/Tooltip.js\"));\nconst Webform = js_1.Displays.displays.webform;\nconst setAlert = Webform.prototype.setAlert;\nWebform.prototype.setAlert = function (type, message, classes) {\n const usaClasses = classes || this.transform('class', `formio-alert-${type}`);\n const tooltipTitle = this.t('errorListHotkey');\n const HOTKEY_ID = `hotkey-i-${this.form._id}`;\n const handleHotkeyID = (ariaName, element, isTooltipExists) => {\n isTooltipExists\n ? this.setDescribingAttribute(ariaName, element, [HOTKEY_ID])\n : this.clearDescribingAttribute(ariaName, element, [HOTKEY_ID]);\n };\n this.everyComponent((comp) => {\n if (comp && comp.refs) {\n const { input, selectContainer, radioGroup, openModal } = comp.refs;\n const { modalEdit } = comp.component;\n if (modalEdit && openModal) {\n handleHotkeyID('aria-describedby', openModal, !!type);\n }\n else if (radioGroup) {\n if (this.isIE() && comp.type === 'radio') {\n handleHotkeyID('aria-labelledby', radioGroup, !!type);\n }\n else {\n handleHotkeyID('aria-describedby', radioGroup, !!type);\n }\n }\n else if (input && input.length && !modalEdit) {\n input.forEach((element) => {\n if (comp.type === 'datetime') {\n handleHotkeyID('aria-describedby', element.nextSibling, !!type);\n }\n else if (comp.type === 'textarea') {\n handleHotkeyID('aria-labelledby', element, !!type);\n }\n else {\n handleHotkeyID('aria-describedby', element, !!type);\n }\n });\n }\n else if (selectContainer) {\n handleHotkeyID('aria-describedby', selectContainer, !!type);\n }\n }\n });\n if ((!type && this.submitted) || this.alert) {\n this.removeEventListener(window, 'keydown');\n }\n setAlert.call(this, type, message, { classes: usaClasses });\n if (!this.alert) {\n return;\n }\n this.loadRefs(this.alert, { errorTooltip: 'single' });\n const hotkeyListener = (e) => {\n const { keyCode, key, ctrlKey, altKey } = e;\n if ((key === 'x' || keyCode === 88) && ctrlKey && altKey) {\n if (this.refs.errorRef && this.refs.errorRef.length) {\n this.refs.errorRef[0].focus();\n }\n }\n };\n if (this.refs.errorRef && this.refs.errorRef.length) {\n this.addEventListener(window, 'keydown', hotkeyListener);\n }\n if (this.refs && this.refs.errorTooltip) {\n this.errorTooltip = new Tooltip_1.default(this.refs.errorTooltip, {\n position: 'right',\n title: tooltipTitle,\n });\n }\n};\nconst showErrors = Webform.prototype.showErrors;\nWebform.prototype.showErrors = function (error, triggerEvent, onChange, messageClass) {\n showErrors.call(this, error, triggerEvent, true, this.transform('class', 'sr-only'));\n const errorRefs = this.refs.errorRef;\n const hiddenMessageHandler = (id) => {\n this.hiddenMessageRemovalByID([id]);\n this.removeEventListener('blur', hiddenMessageHandler);\n };\n if (triggerEvent) {\n if (errorRefs && errorRefs.length) {\n const element = errorRefs[0];\n const id = 'errorListMsg';\n this.ready.then(() => {\n this.addHiddenMessageBeforeChild(element, element.firstChild, this.t('error'), { id });\n if (!onChange) {\n element.focus();\n }\n this.addEventListener(element, 'blur', hiddenMessageHandler.bind(this, id));\n });\n }\n }\n};\nconst setForm = Webform.prototype.setForm;\nWebform.prototype.setForm = function (form, flags) {\n this.options.vpat = true;\n return setForm.call(this, form, flags);\n};\nexports[\"default\"] = Webform;\n\n\n//# sourceURL=webpack://vpat/./lib/Webform.js?\n}");
|
|
30
|
+
|
|
31
|
+
/***/ }),
|
|
32
|
+
|
|
33
|
+
/***/ "./lib/WebformBuilder.js":
|
|
34
|
+
/*!*******************************!*\
|
|
35
|
+
!*** ./lib/WebformBuilder.js ***!
|
|
36
|
+
\*******************************/
|
|
37
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
38
|
+
|
|
39
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Tooltip_1 = __importDefault(__webpack_require__(/*! ./components/tooltip/Tooltip */ \"./lib/components/tooltip/Tooltip.js\"));\nconst WebformBuilder = js_1.Builders.builders.webform;\nconst TAB_KEY = 9;\nconst ENTER_KEY = 13;\nconst SPACE_KEY = 32;\nconst ARROW_UP = 38;\nconst ARROW_DOWN = 40;\nconst attachComponent = WebformBuilder.prototype.attachComponent;\nWebformBuilder.prototype.attachTooltip = (component, title) => {\n return new Tooltip_1.default(component, {\n position: 'top',\n title,\n });\n};\nWebformBuilder.prototype.attachComponent = function (element, component) {\n attachComponent.call(this, element, component);\n component.loadRefs(element, {\n buttonGroup: 'single',\n });\n const parent = this.getParentElement(element);\n if (component.refs.editComponent) {\n component.addEventListener(component.refs.editComponent, 'keydown', (event) => {\n if (event.keyCode === ENTER_KEY || event.keyCode === SPACE_KEY) {\n event.preventDefault();\n this.editComponent(component.schema, parent, false, false, component.component, { inDataGrid: component.isInDataGrid });\n }\n });\n }\n if (component.refs.copyComponent) {\n component.addEventListener(component.refs.copyComponent, 'keydown', (event) => {\n if (event.keyCode === ENTER_KEY || event.keyCode === SPACE_KEY) {\n event.preventDefault();\n this.copyComponent(component);\n }\n });\n }\n if (component.refs.pasteComponent) {\n component.addEventListener(component.refs.pasteComponent, 'keydown', (event) => {\n if (event.keyCode === ENTER_KEY || event.keyCode === SPACE_KEY) {\n event.preventDefault();\n this.pasteComponent(component);\n }\n });\n }\n if (component.refs.removeComponent) {\n component.addEventListener(component.refs.removeComponent, 'keydown', (event) => {\n if (event.keyCode === ENTER_KEY || event.keyCode === SPACE_KEY) {\n event.preventDefault();\n this.removeComponent(component.schema, parent, component.component);\n }\n });\n }\n this.on('saveComponent', (schema, originalComp, components, path, index) => {\n if (components && components[index] && components[index].element) {\n components[index].element.focus();\n }\n });\n if (component.refs.buttonGroup && !component.webform) {\n const actionButtons = [\n component.refs.editComponent,\n component.refs.moveComponent,\n component.refs.pasteComponent,\n component.refs.copyComponent,\n component.refs.removeComponent\n ];\n const isVisible = (element) => {\n return (element.offsetParent !== null);\n };\n let tabPosition = 0;\n const tabBetweenActions = (offset) => {\n if (tabPosition === 0 && offset === -1) {\n tabPosition = actionButtons.length - 1;\n actionButtons[tabPosition].focus();\n return;\n }\n if (tabPosition === actionButtons.length - 1 && offset === 1) {\n tabPosition = 0;\n actionButtons[tabPosition].focus();\n return;\n }\n tabPosition = tabPosition + offset;\n if (isVisible(actionButtons[tabPosition])) {\n actionButtons[tabPosition].focus();\n }\n else {\n tabPosition = tabPosition + offset;\n actionButtons[tabPosition].focus();\n }\n };\n const modifyEditButtonLabel = (shouldAddMessage) => {\n const editComponent = component.refs.editComponent;\n const buttonGroup = component.refs.buttonGroup;\n const editButtonLabel = editComponent ? editComponent.getAttribute('aria-label') : '';\n const buttonGroupLabel = buttonGroup ? buttonGroup.getAttribute('aria-label') : '';\n if (shouldAddMessage && buttonGroupLabel && editButtonLabel) {\n editComponent.setAttribute('aria-label', buttonGroupLabel + editButtonLabel);\n }\n else {\n editComponent.setAttribute('aria-label', editButtonLabel);\n }\n };\n component.addEventListener(component.refs.buttonGroup, 'keydown', (event) => {\n if (event.keyCode === ARROW_UP || event.keyCode === ARROW_DOWN) {\n event.preventDefault();\n const offset = event.keyCode === ARROW_DOWN ? 1 : -1;\n tabBetweenActions(offset);\n }\n if (event.keyCode === TAB_KEY && event.shiftKey) {\n event.preventDefault();\n element.focus();\n }\n });\n component.addEventListener(component.refs.buttonGroup, 'focus', () => {\n component.refs.editComponent.focus();\n tabPosition = 0;\n if (this.isIE()) {\n modifyEditButtonLabel(true);\n }\n });\n if (this.isIE()) {\n component.addEventListener(component.refs.editComponent, 'blur', () => {\n modifyEditButtonLabel(false);\n });\n }\n component.addEventListener(element, 'keydown', () => {\n setTimeout(() => {\n if (!element.contains(document.activeElement)) {\n component.refs.buttonGroup.style.removeProperty('display');\n }\n });\n });\n component.addEventListener(element, 'keyup', () => {\n if (element.contains(document.activeElement)) {\n component.refs.buttonGroup.style.display = 'flex';\n }\n });\n }\n};\nexports[\"default\"] = WebformBuilder;\n\n\n//# sourceURL=webpack://vpat/./lib/WebformBuilder.js?\n}");
|
|
40
|
+
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ "./lib/Wizard.js":
|
|
44
|
+
/*!***********************!*\
|
|
45
|
+
!*** ./lib/Wizard.js ***!
|
|
46
|
+
\***********************/
|
|
47
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
48
|
+
|
|
49
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Wizard = js_1.Displays.displays.wizard;\nconst attach = Wizard.prototype.attach;\nconst setPage = Wizard.prototype.setPage;\nconst cancel = Wizard.prototype.cancel;\nconst nextPage = Wizard.prototype.nextPage;\nWizard.prototype.getNavElement = function (page) {\n const progressBar = this.refs[`${this.wizardKey}-progressbar`];\n const headerButtons = this.refs[`${this.wizardKey}-link`];\n if (progressBar) {\n return progressBar;\n }\n return (typeof page === 'number' && headerButtons.length) ? headerButtons[page] : headerButtons;\n};\nWizard.prototype.setPage = function (num, ...rest) {\n const previousPage = this.page;\n return setPage.call(this, num, ...rest).then(() => {\n if (typeof num !== 'number') {\n return num;\n }\n if (previousPage !== num) {\n this.getNavElement(num).focus();\n }\n return num;\n });\n};\nWizard.prototype.nextPage = function () {\n return nextPage.call(this).then(() => {\n this.getNavElement(this.page).focus();\n });\n};\nWizard.prototype.cancel = function (noconfirm, ...rest) {\n return cancel.call(this, noconfirm, ...rest).then((num) => {\n const cancelButton = this.refs[`${this.wizardKey}-cancel`];\n cancelButton.removeAttribute('disabled');\n this.setLoading(cancelButton, false);\n if (num === 0) {\n this.getNavElement(num).focus();\n }\n else {\n cancelButton.focus();\n }\n });\n};\nWizard.prototype.attach = function (element) {\n this.loadRefs(element, {\n [`${this.wizardKey}-progressbar`]: 'single',\n });\n const superAttach = attach.call(this, element);\n const setTabIndex = (tabIndexValue) => {\n this.refs[`${this.wizardKey}-link`].forEach((link, index) => {\n if (index > this.page) {\n link.setAttribute('tabindex', tabIndexValue);\n }\n });\n };\n const navButtons = this.getNavElement();\n if (navButtons.length) {\n this.refs[`${this.wizardKey}-link`].forEach((wizardLink) => {\n this.addEventListener(wizardLink, 'keydown', (event) => {\n const focusedButton = +wizardLink.getAttribute('data-index');\n if (event.key === 'Tab') {\n if (this.page === focusedButton) {\n setTabIndex(-1);\n }\n }\n if (event.key === 'Tab' && event.shiftKey) {\n if (this.currentNextPage === focusedButton) {\n event.preventDefault();\n this.refs[`${this.wizardKey}-next`].focus();\n }\n }\n });\n });\n this.addEventListener(this.refs[`${this.wizardKey}-next`], 'keydown', (event) => {\n if (event.key === 'Tab' && !event.shiftKey) {\n event.preventDefault();\n setTabIndex(0);\n this.refs[`${this.wizardKey}-link`][this.currentNextPage].focus();\n }\n });\n }\n return superAttach;\n};\nexports[\"default\"] = Wizard;\n\n\n//# sourceURL=webpack://vpat/./lib/Wizard.js?\n}");
|
|
50
|
+
|
|
51
|
+
/***/ }),
|
|
52
|
+
|
|
53
|
+
/***/ "./lib/builders/Builders.js":
|
|
54
|
+
/*!**********************************!*\
|
|
55
|
+
!*** ./lib/builders/Builders.js ***!
|
|
56
|
+
\**********************************/
|
|
57
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
58
|
+
|
|
59
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst WebformBuilder_1 = __importDefault(__webpack_require__(/*! ../WebformBuilder */ \"./lib/WebformBuilder.js\"));\nexports[\"default\"] = {\n webform: WebformBuilder_1.default\n};\n\n\n//# sourceURL=webpack://vpat/./lib/builders/Builders.js?\n}");
|
|
60
|
+
|
|
61
|
+
/***/ }),
|
|
62
|
+
|
|
63
|
+
/***/ "./lib/builders/index.js":
|
|
64
|
+
/*!*******************************!*\
|
|
65
|
+
!*** ./lib/builders/index.js ***!
|
|
66
|
+
\*******************************/
|
|
67
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
68
|
+
|
|
69
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Builders_1 = __importDefault(__webpack_require__(/*! ./Builders */ \"./lib/builders/Builders.js\"));\nexports[\"default\"] = Builders_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/builders/index.js?\n}");
|
|
70
|
+
|
|
71
|
+
/***/ }),
|
|
72
|
+
|
|
73
|
+
/***/ "./lib/components/address/Address.js":
|
|
74
|
+
/*!*******************************************!*\
|
|
75
|
+
!*** ./lib/components/address/Address.js ***!
|
|
76
|
+
\*******************************************/
|
|
77
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
78
|
+
|
|
79
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Address = js_1.Components.components.address;\nclass AddressComponent extends Address {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = AddressComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/address/Address.js?\n}");
|
|
80
|
+
|
|
81
|
+
/***/ }),
|
|
82
|
+
|
|
83
|
+
/***/ "./lib/components/button/Button.form.js":
|
|
84
|
+
/*!**********************************************!*\
|
|
85
|
+
!*** ./lib/components/button/Button.form.js ***!
|
|
86
|
+
\**********************************************/
|
|
87
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
88
|
+
|
|
89
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.button.editForm;\nconst Button_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Button.edit.display */ \"./lib/components/button/editForm/Button.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Button_edit_display_1.default,\n },\n {\n key: 'data',\n ignore: true,\n },\n {\n key: 'validation',\n ignore: true,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/button/Button.form.js?\n}");
|
|
90
|
+
|
|
91
|
+
/***/ }),
|
|
92
|
+
|
|
93
|
+
/***/ "./lib/components/button/Button.js":
|
|
94
|
+
/*!*****************************************!*\
|
|
95
|
+
!*** ./lib/components/button/Button.js ***!
|
|
96
|
+
\*****************************************/
|
|
97
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
98
|
+
|
|
99
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Button_form_1 = __importDefault(__webpack_require__(/*! ./Button.form */ \"./lib/components/button/Button.form.js\"));\nconst Button = js_1.Components.components.button;\nclass ButtonComponent extends Button {\n}\nexports[\"default\"] = ButtonComponent;\nButtonComponent.editForm = Button_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/button/Button.js?\n}");
|
|
100
|
+
|
|
101
|
+
/***/ }),
|
|
102
|
+
|
|
103
|
+
/***/ "./lib/components/button/editForm/Button.edit.display.js":
|
|
104
|
+
/*!***************************************************************!*\
|
|
105
|
+
!*** ./lib/components/button/editForm/Button.edit.display.js ***!
|
|
106
|
+
\***************************************************************/
|
|
107
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
108
|
+
|
|
109
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'tooltip',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/button/editForm/Button.edit.display.js?\n}");
|
|
110
|
+
|
|
111
|
+
/***/ }),
|
|
112
|
+
|
|
113
|
+
/***/ "./lib/components/checkbox/Checkbox.form.js":
|
|
114
|
+
/*!**************************************************!*\
|
|
115
|
+
!*** ./lib/components/checkbox/Checkbox.form.js ***!
|
|
116
|
+
\**************************************************/
|
|
117
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
118
|
+
|
|
119
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.checkbox.editForm;\nconst Checkbox_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Checkbox.edit.data */ \"./lib/components/checkbox/editForm/Checkbox.edit.data.js\"));\nconst Checkbox_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Checkbox.edit.display */ \"./lib/components/checkbox/editForm/Checkbox.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Checkbox_edit_display_1.default,\n },\n {\n key: 'data',\n components: Checkbox_edit_data_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/checkbox/Checkbox.form.js?\n}");
|
|
120
|
+
|
|
121
|
+
/***/ }),
|
|
122
|
+
|
|
123
|
+
/***/ "./lib/components/checkbox/Checkbox.js":
|
|
124
|
+
/*!*********************************************!*\
|
|
125
|
+
!*** ./lib/components/checkbox/Checkbox.js ***!
|
|
126
|
+
\*********************************************/
|
|
127
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
128
|
+
|
|
129
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Checkbox_form_1 = __importDefault(__webpack_require__(/*! ./Checkbox.form */ \"./lib/components/checkbox/Checkbox.form.js\"));\nconst Checkbox = js_1.Components.components.checkbox;\nclass CheckboxComponent extends Checkbox {\n render(element) {\n this.noField = true;\n return super.render(element);\n }\n clearErrorClasses(elements) {\n const hiddentInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);\n if (hiddentInvalidEntryMessage) {\n this.refs.label.removeChild(hiddentInvalidEntryMessage);\n }\n // @ts-ignore\n super.clearErrorClasses(elements);\n }\n setErrorClasses(elements, dirty, hasErrors, hasMessages) {\n // @ts-ignore\n super.setErrorClasses(elements, dirty, hasErrors, hasMessages);\n elements.forEach((input) => input.removeAttribute('aria-invalid'));\n const hiddentInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);\n if (hasErrors && !hiddentInvalidEntryMessage) {\n this.addHiddenMessage(', invalid entry, ', this.refs.label);\n }\n }\n}\nexports[\"default\"] = CheckboxComponent;\nCheckboxComponent.editForm = Checkbox_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/checkbox/Checkbox.js?\n}");
|
|
130
|
+
|
|
131
|
+
/***/ }),
|
|
132
|
+
|
|
133
|
+
/***/ "./lib/components/checkbox/editForm/Checkbox.edit.data.js":
|
|
134
|
+
/*!****************************************************************!*\
|
|
135
|
+
!*** ./lib/components/checkbox/editForm/Checkbox.edit.data.js ***!
|
|
136
|
+
\****************************************************************/
|
|
137
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
138
|
+
|
|
139
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'clearOnHide',\n ignore: true,\n },\n {\n key: 'redrawOn',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/checkbox/editForm/Checkbox.edit.data.js?\n}");
|
|
140
|
+
|
|
141
|
+
/***/ }),
|
|
142
|
+
|
|
143
|
+
/***/ "./lib/components/checkbox/editForm/Checkbox.edit.display.js":
|
|
144
|
+
/*!*******************************************************************!*\
|
|
145
|
+
!*** ./lib/components/checkbox/editForm/Checkbox.edit.display.js ***!
|
|
146
|
+
\*******************************************************************/
|
|
147
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
148
|
+
|
|
149
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'labelWidth',\n ignore: true,\n },\n {\n key: 'labelMargin',\n ignore: true,\n },\n {\n key: 'shortcut',\n ignore: true,\n },\n {\n key: 'inputType',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/checkbox/editForm/Checkbox.edit.display.js?\n}");
|
|
150
|
+
|
|
151
|
+
/***/ }),
|
|
152
|
+
|
|
153
|
+
/***/ "./lib/components/columns/Columns.form.js":
|
|
154
|
+
/*!************************************************!*\
|
|
155
|
+
!*** ./lib/components/columns/Columns.form.js ***!
|
|
156
|
+
\************************************************/
|
|
157
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
158
|
+
|
|
159
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst columnsEditForm = js_1.Components.components.columns.editForm;\nconst Columns_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Columns.edit.display */ \"./lib/components/columns/editForm/Columns.edit.display.js\"));\nfunction default_1(...extend) {\n return columnsEditForm([\n {\n key: 'display',\n components: Columns_edit_display_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/columns/Columns.form.js?\n}");
|
|
160
|
+
|
|
161
|
+
/***/ }),
|
|
162
|
+
|
|
163
|
+
/***/ "./lib/components/columns/Columns.js":
|
|
164
|
+
/*!*******************************************!*\
|
|
165
|
+
!*** ./lib/components/columns/Columns.js ***!
|
|
166
|
+
\*******************************************/
|
|
167
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
168
|
+
|
|
169
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Columns_form_1 = __importDefault(__webpack_require__(/*! ./Columns.form */ \"./lib/components/columns/Columns.form.js\"));\nconst Columns = js_1.Components.components.columns;\nclass ColumnsComponent extends Columns {\n}\nexports[\"default\"] = ColumnsComponent;\nColumnsComponent.editForm = Columns_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/columns/Columns.js?\n}");
|
|
170
|
+
|
|
171
|
+
/***/ }),
|
|
172
|
+
|
|
173
|
+
/***/ "./lib/components/columns/editForm/Columns.edit.display.js":
|
|
174
|
+
/*!*****************************************************************!*\
|
|
175
|
+
!*** ./lib/components/columns/editForm/Columns.edit.display.js ***!
|
|
176
|
+
\*****************************************************************/
|
|
177
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
178
|
+
|
|
179
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideOnChildrenHidden',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/columns/editForm/Columns.edit.display.js?\n}");
|
|
180
|
+
|
|
181
|
+
/***/ }),
|
|
182
|
+
|
|
183
|
+
/***/ "./lib/components/component/Component.js":
|
|
184
|
+
/*!***********************************************!*\
|
|
185
|
+
!*** ./lib/components/component/Component.js ***!
|
|
186
|
+
\***********************************************/
|
|
187
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
188
|
+
|
|
189
|
+
eval("{\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst ComponentModal_1 = __importDefault(__webpack_require__(/*! ../componentmodal/ComponentModal */ \"./lib/components/componentmodal/ComponentModal.js\"));\nconst Tooltip_1 = __importDefault(__webpack_require__(/*! ../tooltip/Tooltip */ \"./lib/components/tooltip/Tooltip.js\"));\nconst ModalUtils = __importStar(__webpack_require__(/*! ../../util/modalUtils */ \"./lib/util/modalUtils.js\"));\nconst Component = js_1.Components.components.component;\nconst attach = Component.prototype.attach;\nComponent.prototype.isIE = () => {\n const userAgent = window.navigator.userAgent;\n const msie = userAgent.indexOf('MSIE ');\n if (msie > 0) {\n // IE 10 or older => return version number\n return parseInt(userAgent.substring(msie + 5, userAgent.indexOf('.', msie)), 10);\n }\n const trident = userAgent.indexOf('Trident/');\n if (trident > 0) {\n // IE 11 => return version number\n const rv = userAgent.indexOf('rv:');\n return parseInt(userAgent.substring(rv + 3, userAgent.indexOf('.', rv)), 10);\n }\n const edge = userAgent.indexOf('Edge/');\n if (edge > 0) {\n // IE 12 (aka Edge) => return version number\n return parseInt(userAgent.substring(edge + 5, userAgent.indexOf('.', edge)), 10);\n }\n // other browser\n return false;\n};\nComponent.prototype.isFirefox = () => {\n const userAgent = window.navigator.userAgent;\n const firefox = userAgent.indexOf('Firefox');\n const seamonkey = userAgent.indexOf('Seamonkey');\n if (firefox > 0 && seamonkey === -1) {\n // returns version number\n return parseInt(userAgent.substring(firefox + 8, userAgent.indexOf('.', firefox)), 10);\n }\n // other browser\n return false;\n};\nComponent.prototype.addMessages = function (messages) {\n if (!messages) {\n return;\n }\n // Standardize on array of objects for message.\n if (typeof messages === 'string') {\n messages = {\n messages,\n level: 'error',\n };\n }\n if (!Array.isArray(messages)) {\n messages = [messages];\n }\n const renderMessageContainer = (messageContainer) => {\n this.setContent(messageContainer, messages.map((message, index) => {\n const key = this.component.key + index;\n return this.renderTemplate('message', Object.assign(Object.assign({}, message), { key }));\n }).join(''));\n };\n if (this.refs.messageContainer) {\n renderMessageContainer(this.refs.messageContainer);\n if (this.refs.modalMessageContainer) {\n renderMessageContainer(this.refs.modalMessageContainer);\n }\n }\n};\nComponent.prototype.createComponentModal = function (element, modalShouldBeOpened, currentValue) {\n return new ComponentModal_1.default(this, element, modalShouldBeOpened, currentValue);\n};\nComponent.prototype.attach = function (element) {\n const superAttach = attach.call(this, element);\n this.loadRefs(element, {\n modalMessageContainer: 'single',\n messageContainer: 'single',\n tooltip: 'multiple',\n label: 'single',\n component: 'single',\n });\n return superAttach;\n};\nComponent.prototype.attachTooltips = function (toolTipsRefs) {\n const tooltip = toolTipsRefs && toolTipsRefs[0];\n if (tooltip) {\n const title = this.interpolate(tooltip.getAttribute('data-title') || tooltip.getAttribute('data-tooltip')).replace(/(?:\\r\\n|\\r|\\n)/g, '<br />');\n this.tooltips[0] = new Tooltip_1.default(tooltip, {\n position: 'right',\n title,\n });\n }\n};\nComponent.prototype.addHiddenMessage = function (message, parent) {\n if (parent) {\n const hiddenMessage = this.ce('span', { class: this.transform('class', 'sr-only'), id: `invalid-entry-${this.id}` });\n this.setContent(hiddenMessage, this.t(message, {}));\n parent.appendChild(hiddenMessage);\n }\n};\nComponent.prototype.addHiddenMessageBeforeChild = function (parent, child, message, params) {\n const hiddenMessage = this.ce('span', Object.assign({ class: this.transform('class', 'sr-only') }, params));\n this.setContent(hiddenMessage, this.t(message, {}));\n parent.insertBefore(hiddenMessage, child);\n};\nComponent.prototype.hiddenMessageRemovalByID = function (elemIDs) {\n elemIDs.forEach((elemID) => {\n const elem = document.getElementById(elemID);\n if (elem) {\n if (this.isIE()) {\n const parentElement = elem.parentElement;\n if (parentElement) {\n parentElement.removeChild(elem);\n }\n }\n else {\n elem.remove();\n }\n }\n });\n};\nComponent.prototype.clearErrorID = (attributeName, element) => {\n const descRefs = element && element.getAttribute(attributeName);\n // Removes an error message elem id\n if (descRefs) {\n const updatedDescRefs = descRefs.replace(/\\b(e-\\w*-\\w*)/g, '').trim();\n if (updatedDescRefs) {\n element.setAttribute(attributeName, updatedDescRefs);\n }\n else {\n element.removeAttribute(attributeName);\n }\n }\n};\nconst createModal = Component.prototype.createModal;\nComponent.prototype.createModal = function (element, attr, confirm) {\n const dialog = createModal.call(this, element, attr, confirm);\n const dialogClose = dialog.close;\n const focusableElements = ModalUtils.getFocusableElements(dialog.refs.dialogContents);\n const focusTrapHandler = ModalUtils.focusTrap.bind(this, focusableElements);\n ModalUtils.toggleHideBackgroundElements(dialog.refs.dialogContents, true);\n this.addEventListener(dialog.refs.dialogContents, 'keydown', focusTrapHandler);\n focusableElements[0].focus();\n dialog.close = () => {\n this.removeEventListener(dialog.refs.dialogContents, 'keydown', focusTrapHandler);\n ModalUtils.toggleHideBackgroundElements(dialog.refs.dialogContents, false);\n dialogClose();\n };\n return dialog;\n};\nComponent.prototype.addErrorID = function (attributeName, element) {\n if (element) {\n let descRefs = element.getAttribute(attributeName);\n if (!descRefs || descRefs.search(/\\b(e-\\w*-\\w*)/g) === -1) {\n this.errors.forEach((error, index) => {\n const errorID = `e-${this.id}-${this.component.key}${index}`;\n element.setAttribute(attributeName, `${descRefs || ''} ${errorID}`);\n descRefs = element.getAttribute(attributeName);\n });\n }\n }\n};\nComponent.prototype.setDescribingAttribute = (attributeName, element, values) => {\n let descRefs = element.getAttribute(attributeName) || '';\n values.forEach((value) => descRefs = descRefs.replace(value, '').trim());\n values.forEach((value) => descRefs += ` ${value}`);\n descRefs.trim();\n element.setAttribute(attributeName, descRefs);\n};\nComponent.prototype.clearDescribingAttribute = (attributeName, element, values) => {\n let descRefs = element.getAttribute(attributeName) || '';\n values.forEach((value) => descRefs = descRefs.replace(value, '').trim());\n element.setAttribute(attributeName, descRefs);\n};\nComponent.prototype.clearErrorClasses = function (elements) {\n var _a;\n this.removeClass(this.refs.label, this.transform('class', 'formio-label-error'));\n this.removeClass(this.element, this.transform('class', 'formio-form-error'));\n const fields = this.refs.input\n ? this.refs.input\n : elements instanceof Array\n ? elements\n : [elements];\n if (fields) {\n fields.forEach((element) => {\n if (element) {\n this.removeClass(element, this.transform('class', 'formio-input-error'));\n element.setAttribute('aria-invalid', false);\n if (element.type === 'textarea') {\n this.clearErrorID('aria-labelledby', element);\n return;\n }\n this.clearErrorID('aria-describedby', element);\n }\n });\n if (this.refs.input &&\n (this.component.type === 'datetime' || ((_a = this.component.widget) === null || _a === void 0 ? void 0 : _a.type) === 'calendar')) {\n const input = this.refs.input[0];\n if (input === null || input === void 0 ? void 0 : input.widget.calendar) {\n const element = input.nextSibling;\n this.removeClass(element, this.transform('class', 'formio-input-error'));\n element.removeAttribute('aria-invalid');\n this.clearErrorID('aria-describedby', element);\n }\n }\n if (this.component.modalEdit && this.refs.openModal) {\n if (this.refs.component) {\n this.removeClass(this.refs.component, this.transform('class', 'formio-form-error'));\n }\n const openModalButton = this.refs.openModal;\n this.clearErrorID('aria-describedby', openModalButton);\n openModalButton.removeAttribute('aria-invalid');\n }\n }\n};\nComponent.prototype.checkModal = () => {\n return;\n};\nComponent.prototype.setErrorClasses = function (elements, dirty, hasErrors, hasMessages) {\n this.clearErrorClasses(elements);\n this.setSuccessClasses(false);\n const handleInvalidFields = (element) => {\n this.addClass(element, this.transform('class', 'formio-input-error'));\n element.setAttribute('aria-invalid', 'true');\n if (element.type === 'textarea') {\n this.addErrorID('aria-labelledby', element);\n }\n else {\n this.addErrorID('aria-describedby', element);\n }\n };\n if (hasErrors) {\n this.addClass(this.refs.label, this.transform('class', 'formio-label-error'));\n this.addClass(this.element, this.transform('class', 'formio-form-error'));\n elements.forEach((input) => {\n var _a;\n if (input) {\n if (this.type === 'datetime' || ((_a = this.component.widget) === null || _a === void 0 ? void 0 : _a.type) === 'calendar') {\n handleInvalidFields(input.nextSibling);\n }\n else {\n handleInvalidFields(input);\n }\n }\n });\n if (this.component.modalEdit && this.refs.openModal) {\n if (!this.component.components && this.refs.component) {\n this.addClass(this.refs.component, this.transform('class', 'formio-form-error'));\n }\n const openModalButton = this.refs.openModal;\n this.addErrorID('aria-describedby', openModalButton);\n openModalButton.setAttribute('aria-invalid', 'true');\n }\n }\n};\nComponent.prototype.setComponentValidity = function (messages, dirty, silentCheck) {\n const hasErrors = !!messages.filter(message => message.level === 'error').length;\n if (messages.length && (!silentCheck || this.error) && (dirty || !this.pristine)) {\n this.setCustomValidity(messages, dirty);\n this.setSuccessClasses(false);\n }\n else if (!silentCheck) {\n this.setCustomValidity('');\n if ((dirty || !this.pristine) && !this.component.disabled) {\n this.setSuccessClasses(true);\n }\n }\n return !hasErrors;\n};\nComponent.prototype.setSuccessClasses = function (isSuccess) {\n var _a;\n const handleSuccessClass = (element, isSuccess) => {\n isSuccess\n ? this.addClass(element, this.transform('class', 'formio-input-success'))\n : this.removeClass(element, this.transform('class', 'formio-input-success'));\n };\n if (this.refs.input && this.refs.input[0]) {\n handleSuccessClass(this.refs.input[0], isSuccess);\n if (this.component.type === 'datetime' || ((_a = this.component.widget) === null || _a === void 0 ? void 0 : _a.type) === 'calendar') {\n handleSuccessClass(this.refs.input[0].nextSibling, isSuccess);\n }\n }\n if (this.refs.selectContainer) {\n handleSuccessClass(this.refs.selectContainer, isSuccess);\n }\n if (this.component.type === 'day') {\n handleSuccessClass(this.refs.day, isSuccess);\n handleSuccessClass(this.refs.month, isSuccess);\n handleSuccessClass(this.refs.year, isSuccess);\n }\n};\nexports[\"default\"] = Component;\n\n\n//# sourceURL=webpack://vpat/./lib/components/component/Component.js?\n}");
|
|
190
|
+
|
|
191
|
+
/***/ }),
|
|
192
|
+
|
|
193
|
+
/***/ "./lib/components/componentmodal/ComponentModal.js":
|
|
194
|
+
/*!*********************************************************!*\
|
|
195
|
+
!*** ./lib/components/componentmodal/ComponentModal.js ***!
|
|
196
|
+
\*********************************************************/
|
|
197
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
198
|
+
|
|
199
|
+
eval("{\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst ModalUtils = __importStar(__webpack_require__(/*! ../../util/modalUtils */ \"./lib/util/modalUtils.js\"));\nconst ComponentModal = js_1.Components.components.componentmodal;\nconst TAB_KEYCODE = 9;\nconst ESC_KEYCODE = 27;\nconst SCREENREADER_DELAY = 50;\nconst SCREENREADER_FOCUS_DELAY = 100;\nconst FOCUSABLE_SELECTOR = `button:not([disabled]), [href], [role=\"link\"], input:not([disabled]),\n select:not([disabled]), textarea:not([disabled]), [tabindex]:not([disabled]), iframe`;\nconst HEADER_SELECTOR = 'h1, h2, h3, h4, h5, h6';\nconst init = ComponentModal.prototype.init;\nComponentModal.prototype.init = function () {\n init.call(this);\n this.closeModalListener = (event) => {\n if (this.isValueChanged() && !this.component.disabled) {\n this.showDialog();\n }\n else {\n this.closeModalHandler(event);\n }\n };\n this.closeModalButtonListener = this.closeModalHandler.bind(this);\n};\nconst templateRefs = Object.getOwnPropertyDescriptor(ComponentModal.prototype, 'templateRefs');\nObject.defineProperty(ComponentModal.prototype, 'templateRefs', {\n get() {\n const refs = templateRefs.get.call(this);\n const newRefs = {\n modalCloseButton: 'single',\n modalPreviewLiveRegion: 'single',\n modalLiveRegion: 'single',\n modalLabelValue: 'single',\n };\n return Object.assign({}, refs, newRefs);\n }\n});\nconst setEventListeners = ComponentModal.prototype.setEventListeners;\nComponentModal.prototype.setEventListeners = function () {\n setEventListeners.call(this);\n this.component.addEventListener(this.refs.modalCloseButton, 'click', this.closeModalButtonListener);\n};\nconst removeEventListeners = ComponentModal.prototype.removeEventListeners;\nComponentModal.prototype.removeEventListeners = function () {\n removeEventListeners.call(this);\n this.component.removeEventListener(this.refs.modalCloseButton, 'click', this.closeModalButtonListener);\n};\nconst findElementLabel = (element) => {\n if (element) {\n const parent = element.parentNode.parentNode;\n if (parent) {\n return parent.querySelector('label');\n }\n }\n};\nComponentModal.prototype.filterFocusableElements = function (focusableElements) {\n return Array.prototype.filter.call(focusableElements, (element) => {\n return !(element.className.includes('flatpickr') ||\n element.className.includes('numInput') ||\n element.className.includes(this.component.transform('class', 'sr-only')));\n });\n};\nComponentModal.prototype.focusAndAddMessage = function (element, message, region) {\n const label = findElementLabel(element);\n const tagName = element.tagName;\n if (tagName === 'INPUT' || tagName === 'TEXTAREA' || tagName === 'SELECT') {\n if (label) {\n const hiddenMessage = document.createElement('span');\n hiddenMessage.classList.add(this.component.transform('class', 'sr-only'));\n hiddenMessage.id = `msg-${this.component.id}`;\n hiddenMessage.innerHTML = message;\n if (label.firstChild) {\n label.insertBefore(hiddenMessage, label.firstChild);\n }\n const removeHiddenMessageHandler = () => {\n this.removeHiddenMessage.call(this, element);\n this.component.removeEventListener(element, 'blur', removeHiddenMessageHandler);\n };\n this.component.addEventListener(element, 'blur', removeHiddenMessageHandler);\n }\n }\n else {\n if (region) {\n // Reset live region with delay so NVDA can pick up and announce new info\n region.innerHTML = '';\n setTimeout(() => {\n region.innerHTML = message;\n }, SCREENREADER_DELAY);\n }\n }\n // Delay focus to maintain proper announcement order\n setTimeout(() => {\n element.focus();\n }, SCREENREADER_FOCUS_DELAY);\n};\nComponentModal.prototype.removeHiddenMessage = function (element) {\n const label = findElementLabel(element);\n if (label) {\n const message = label.querySelector(`#msg-${this.component.id}`);\n if (message) {\n label.removeChild(message);\n }\n }\n};\nconst openModal = ComponentModal.prototype.openModal;\nComponentModal.prototype.openModal = function () {\n openModal.call(this);\n ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, true);\n const focusableElements = this.filterFocusableElements(this.refs.modalContents.querySelectorAll(FOCUSABLE_SELECTOR));\n this.modalFirstFocusableElement = focusableElements[0];\n this.focusAndAddMessage(this.modalFirstFocusableElement, 'Modal window has been opened.', this.refs.modalLiveRegion);\n this.focusTrapHandler = ModalUtils.focusTrap.bind(this, focusableElements);\n this.modalEscapeButtonHandler = this.closeModalHandler.bind(this);\n this.component.addEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);\n this.component.addEventListener(this.refs.modalContents, 'keydown', this.modalEscapeButtonHandler);\n};\nconst closeModal = ComponentModal.prototype.closeModal;\nComponentModal.prototype.closeModal = function () {\n ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, false);\n this.component.removeEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);\n this.focusAndAddMessage(this.refs.openModal, 'Modal window has been closed', this.refs.modalPreviewLiveRegion);\n closeModal.call(this);\n};\nconst saveModalValueHandler = ComponentModal.prototype.saveModalValueHandler;\nComponentModal.prototype.saveModalValueHandler = function (event) {\n saveModalValueHandler.call(this, event);\n};\nComponentModal.prototype.closeModalHandler = function (event) {\n if (event.type === 'click' || (event.type === 'keydown' && event.keyCode === ESC_KEYCODE)) {\n event.preventDefault();\n this.closeModal();\n if (!this.component.disabled) {\n this.component.setValue(this.currentValue, { resetValue: true });\n }\n }\n};\nComponentModal.prototype.showDialog = function () {\n var _a;\n this.lastFocusedModalElement = document.activeElement === document.body || document.activeElement === this.refs.modalOverlay\n ? ((_a = this.refs.modalCloseButton) !== null && _a !== void 0 ? _a : this.refs.modalClose)\n : document.activeElement;\n ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, false);\n this.component.removeEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);\n this.dialogElement = this.component.ce('div');\n const dialogContent = `\n <h3 ref=\"dialogHeader\" id=\"dl-${this.component.id}\">${this.component.t('Do you want to clear changes and get back to the form?')}</h3>\n <div class=\"formio-dialog-buttons float-right\">\n <button ref=\"dialogCancelButton\" class=\"${this.component.transform('class', 'formio-modal-cancel-button')}\" aria-label=\"Cancel button. Click to get back to the Modal Dialog window.\">${this.component.t('Cancel')}</button>\n <button ref=\"dialogYesButton\" class=\"${this.component.transform('class', 'formio-modal-confirm-button')}\" aria-label=\"Yes button. Click to get back to the form. Warning! All the entered values in the Modal Dialog window will not be saved.\">${this.component.t('Yes')}</button>\n </div>\n <span class=\"${this.component.transform('class', 'sr-only')}\" ref=\"dialogLiveRegion\" aria-live=\"assertive\"></span>\n `;\n this.dialogElement.innerHTML = dialogContent;\n this.dialogElement.refs = {};\n this.component.loadRefs.call(this.dialogElement, this.dialogElement, {\n dialogHeader: 'single',\n dialogCancelButton: 'single',\n dialogYesButton: 'single',\n dialogLiveRegion: 'single',\n });\n const escapeButtonHandler = (closeModal, event) => {\n if (event.keyCode === ESC_KEYCODE) {\n closeModal();\n }\n };\n this.dialog = this.component.createModal(this.dialogElement);\n this.dialog.refs.dialogClose.setAttribute('aria-label', 'Close button. Click to get back to the modal dialog window.');\n const oldClose = this.dialog.close;\n this.dialog.close = () => {\n oldClose.call(this);\n ModalUtils.toggleHideBackgroundElements(this.refs.modalContents, true);\n this.focusAndAddMessage(this.lastFocusedModalElement, 'Confirmation dialog window has been closed.', this.refs.modalLiveRegion);\n this.component.addEventListener(this.refs.modalContents, 'keydown', this.focusTrapHandler);\n this.component.removeEventListener(this.dialog.refs.dialogContents, 'keydown', this.dialogEscapeButtonHandler);\n };\n const focusableElements = [...this.dialog.refs.dialogContents.querySelectorAll(FOCUSABLE_SELECTOR)];\n this.dialogFocusTrapHandler = ModalUtils.focusTrap.bind(this, focusableElements);\n this.dialogEscapeButtonHandler = escapeButtonHandler.bind(this, this.dialog.close);\n this.component.addEventListener(this.dialog.refs.dialogContents, 'keydown', this.dialogEscapeButtonHandler);\n this.component.addEventListener(this.dialogElement.refs.dialogYesButton, 'click', this.saveDialogListener);\n this.component.addEventListener(this.dialogElement.refs.dialogCancelButton, 'click', this.closeDialogListener);\n this.focusAndAddMessage(focusableElements[0], 'Confirmation dialog has been opened', this.dialogElement.refs.dialogLiveRegion);\n};\nComponentModal.prototype.updateView = function () {\n let valueAsString = this.component.getValueAsString(this.currentValue);\n if (this.component.type === 'select') {\n valueAsString = this.currentValue ? this.component.getValueAsString(this.currentValue) : '';\n }\n const modalButtonValue = valueAsString || this.component.t('Click to set value');\n this.refs.openModal.innerHTML = modalButtonValue;\n this.refs.modalLabelValue.innerHTML = `. ${modalButtonValue}`;\n};\nexports[\"default\"] = ComponentModal;\n\n\n//# sourceURL=webpack://vpat/./lib/components/componentmodal/ComponentModal.js?\n}");
|
|
200
|
+
|
|
201
|
+
/***/ }),
|
|
202
|
+
|
|
203
|
+
/***/ "./lib/components/container/Container.form.js":
|
|
204
|
+
/*!****************************************************!*\
|
|
205
|
+
!*** ./lib/components/container/Container.form.js ***!
|
|
206
|
+
\****************************************************/
|
|
207
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
208
|
+
|
|
209
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.container.editForm;\nconst Container_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Container.edit.data */ \"./lib/components/container/editForm/Container.edit.data.js\"));\nconst Container_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Container.edit.display */ \"./lib/components/container/editForm/Container.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Container_edit_display_1.default,\n },\n {\n key: 'data',\n components: Container_edit_data_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/container/Container.form.js?\n}");
|
|
210
|
+
|
|
211
|
+
/***/ }),
|
|
212
|
+
|
|
213
|
+
/***/ "./lib/components/container/Container.js":
|
|
214
|
+
/*!***********************************************!*\
|
|
215
|
+
!*** ./lib/components/container/Container.js ***!
|
|
216
|
+
\***********************************************/
|
|
217
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
218
|
+
|
|
219
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Container_form_1 = __importDefault(__webpack_require__(/*! ./Container.form */ \"./lib/components/container/Container.form.js\"));\nconst Container = js_1.Components.components.container;\nclass ContainerComponent extends Container {\n}\nexports[\"default\"] = ContainerComponent;\nContainerComponent.editForm = Container_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/container/Container.js?\n}");
|
|
220
|
+
|
|
221
|
+
/***/ }),
|
|
222
|
+
|
|
223
|
+
/***/ "./lib/components/container/editForm/Container.edit.data.js":
|
|
224
|
+
/*!******************************************************************!*\
|
|
225
|
+
!*** ./lib/components/container/editForm/Container.edit.data.js ***!
|
|
226
|
+
\******************************************************************/
|
|
227
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
228
|
+
|
|
229
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'redrawOn',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/container/editForm/Container.edit.data.js?\n}");
|
|
230
|
+
|
|
231
|
+
/***/ }),
|
|
232
|
+
|
|
233
|
+
/***/ "./lib/components/container/editForm/Container.edit.display.js":
|
|
234
|
+
/*!*********************************************************************!*\
|
|
235
|
+
!*** ./lib/components/container/editForm/Container.edit.display.js ***!
|
|
236
|
+
\*********************************************************************/
|
|
237
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
238
|
+
|
|
239
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/container/editForm/Container.edit.display.js?\n}");
|
|
240
|
+
|
|
241
|
+
/***/ }),
|
|
242
|
+
|
|
243
|
+
/***/ "./lib/components/content/Content.form.js":
|
|
244
|
+
/*!************************************************!*\
|
|
245
|
+
!*** ./lib/components/content/Content.form.js ***!
|
|
246
|
+
\************************************************/
|
|
247
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
248
|
+
|
|
249
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.content.editForm;\nfunction default_1(...extend) {\n return baseEditForm(...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/content/Content.form.js?\n}");
|
|
250
|
+
|
|
251
|
+
/***/ }),
|
|
252
|
+
|
|
253
|
+
/***/ "./lib/components/content/Content.js":
|
|
254
|
+
/*!*******************************************!*\
|
|
255
|
+
!*** ./lib/components/content/Content.js ***!
|
|
256
|
+
\*******************************************/
|
|
257
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
258
|
+
|
|
259
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Content_form_1 = __importDefault(__webpack_require__(/*! ./Content.form */ \"./lib/components/content/Content.form.js\"));\nconst Content = js_1.Components.components.content;\nclass ContentComponent extends Content {\n}\nexports[\"default\"] = ContentComponent;\nContentComponent.editForm = Content_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/content/Content.js?\n}");
|
|
260
|
+
|
|
261
|
+
/***/ }),
|
|
262
|
+
|
|
263
|
+
/***/ "./lib/components/currency/Currency.form.js":
|
|
264
|
+
/*!**************************************************!*\
|
|
265
|
+
!*** ./lib/components/currency/Currency.form.js ***!
|
|
266
|
+
\**************************************************/
|
|
267
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
268
|
+
|
|
269
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ../textfield/TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst Currency_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Currency.edit.display */ \"./lib/components/currency/editForm/Currency.edit.display.js\"));\nconst Currency_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Currency.edit.data */ \"./lib/components/currency/editForm/Currency.edit.data.js\"));\nconst Currency_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/Currency.edit.validation */ \"./lib/components/currency/editForm/Currency.edit.validation.js\"));\nfunction default_1(...extend) {\n return (0, TextField_form_1.default)([\n {\n key: 'display',\n components: Currency_edit_display_1.default,\n },\n {\n key: 'data',\n components: Currency_edit_data_1.default,\n },\n {\n key: 'validation',\n components: Currency_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/currency/Currency.form.js?\n}");
|
|
270
|
+
|
|
271
|
+
/***/ }),
|
|
272
|
+
|
|
273
|
+
/***/ "./lib/components/currency/Currency.js":
|
|
274
|
+
/*!*********************************************!*\
|
|
275
|
+
!*** ./lib/components/currency/Currency.js ***!
|
|
276
|
+
\*********************************************/
|
|
277
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
278
|
+
|
|
279
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Currency_form_1 = __importDefault(__webpack_require__(/*! ./Currency.form */ \"./lib/components/currency/Currency.form.js\"));\nconst Currency = js_1.Components.components.currency;\nclass CurrencyComponent extends Currency {\n}\nexports[\"default\"] = CurrencyComponent;\nCurrencyComponent.editForm = Currency_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/currency/Currency.js?\n}");
|
|
280
|
+
|
|
281
|
+
/***/ }),
|
|
282
|
+
|
|
283
|
+
/***/ "./lib/components/currency/editForm/Currency.edit.data.js":
|
|
284
|
+
/*!****************************************************************!*\
|
|
285
|
+
!*** ./lib/components/currency/editForm/Currency.edit.data.js ***!
|
|
286
|
+
\****************************************************************/
|
|
287
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
288
|
+
|
|
289
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n type: 'select',\n input: true,\n weight: 50,\n key: 'currency',\n label: 'Currency',\n tooltip: 'The currency to use in currency formatting. Possible values are (ISO-4217) currency codes.',\n defaultValue: 'USD',\n dataSrc: 'values',\n data: {\n values: [\n { label: 'US Dollar (USD)', value: 'USD' },\n { label: 'Euro (EUR)', value: 'EUR' },\n { label: 'Pound Sterling (GBP)', value: 'GBP' },\n { label: 'Australian Dollar (AUD)', value: 'AUD' },\n { label: 'Afghani (AFN)', value: 'AFN' },\n { label: 'Lek (ALL)', value: 'ALL' },\n { label: 'Algerian Dinar (DZD)', value: 'DZD' },\n { label: 'Kwanza (AOA)', value: 'AOA' },\n { label: 'East Caribbean Dollar (XCD)', value: 'XCD' },\n { label: 'Argentine Peso (ARS)', value: 'ARS' },\n { label: 'Armenian Dram (AMD)', value: 'AMD' },\n { label: 'Aruban Florin (AWG)', value: 'AWG' },\n { label: 'Azerbaijan Manat (AZN)', value: 'AZN' },\n { label: 'Bahamian Dollar (BSD)', value: 'BSD' },\n { label: 'Bahraini Dinar (BHD)', value: 'BHD' },\n { label: 'Taka (BDT)', value: 'BDT' },\n { label: 'Barbados Dollar (BBD)', value: 'BBD' },\n { label: 'Belarusian Ruble (BYN)', value: 'BYN' },\n { label: 'Belize Dollar (BZD)', value: 'BZD' },\n { label: 'CFA Franc BCEAO (XOF)', value: 'XOF' },\n { label: 'Bermudian Dollar (BMD)', value: 'BMD' },\n { label: 'Indian Rupee (INR)', value: 'INR' },\n { label: 'Ngultrum (BTN)', value: 'BTN' },\n { label: 'Boliviano (BOB)', value: 'BOB' },\n { label: 'Mvdol (BOV)', value: 'BOV' },\n { label: 'Convertible Mark (BAM)', value: 'BAM' },\n { label: 'Pula (BWP)', value: 'BWP' },\n { label: 'Norwegian Krone (NOK)', value: 'NOK' },\n { label: 'Brazilian Real (BRL)', value: 'BRL' },\n { label: 'Brunei Dollar (BND)', value: 'BND' },\n { label: 'Bulgarian Lev (BGN)', value: 'BGN' },\n { label: 'Burundi Franc (BIF)', value: 'BIF' },\n { label: 'Cabo Verde Escudo (CVE)', value: 'CVE' },\n { label: 'Riel (KHR)', value: 'KHR' },\n { label: 'CFA Franc BEAC (XAF)', value: 'XAF' },\n { label: 'Canadian Dollar (CAD)', value: 'CAD' },\n { label: 'Cayman Islands Dollar (KYD)', value: 'KYD' },\n { label: 'Chilean Peso (CLP)', value: 'CLP' },\n { label: 'Unidad de Fomento (CLF)', value: 'CLF' },\n { label: 'Yuan Renminbi (CNY)', value: 'CNY' },\n { label: 'Colombian Peso (COP)', value: 'COP' },\n { label: 'Unidad de Valor Real (COU)', value: 'COU' },\n { label: 'Comorian Franc (KMF)', value: 'KMF' },\n { label: 'Congolese Franc (CDF)', value: 'CDF' },\n { label: 'New Zealand Dollar (NZD)', value: 'NZD' },\n { label: 'Costa Rican Colon (CRC)', value: 'CRC' },\n { label: 'Kuna (HRK)', value: 'HRK' },\n { label: 'Cuban Peso (CUP)', value: 'CUP' },\n { label: 'Peso Convertible (CUC)', value: 'CUC' },\n { label: 'Netherlands Antillean Guilder (ANG)', value: 'ANG' },\n { label: 'Czech Koruna (CZK)', value: 'CZK' },\n { label: 'Danish Krone (DKK)', value: 'DKK' },\n { label: 'Djibouti Franc (DJF)', value: 'DJF' },\n { label: 'Dominican Peso (DOP)', value: 'DOP' },\n { label: 'Egyptian Pound (EGP)', value: 'EGP' },\n { label: 'El Salvador Colon (SVC)', value: 'SVC' },\n { label: 'Nakfa (ERN)', value: 'ERN' },\n { label: 'Ethiopian Birr (ETB)', value: 'ETB' },\n { label: 'Falkland Islands Pound (FKP)', value: 'FKP' },\n { label: 'Fiji Dollar (FJD)', value: 'FJD' },\n { label: 'CFP Franc (XPF)', value: 'XPF' },\n { label: 'Dalasi (GMD)', value: 'GMD' },\n { label: 'Lari (GEL)', value: 'GEL' },\n { label: 'Ghana Cedi (GHS)', value: 'GHS' },\n { label: 'Gibraltar Pound (GIP)', value: 'GIP' },\n { label: 'Quetzal (GTQ)', value: 'GTQ' },\n { label: 'Guinean Franc (GNF)', value: 'GNF' },\n { label: 'Guyana Dollar (GYD)', value: 'GYD' },\n { label: 'Gourde (HTG)', value: 'HTG' },\n { label: 'Lempira (HNL)', value: 'HNL' },\n { label: 'Hong Kong Dollar (HKD)', value: 'HKD' },\n { label: 'Forint (HUF)', value: 'HUF' },\n { label: 'Iceland Krona (ISK)', value: 'ISK' },\n { label: 'Indian Rupee (INR)', value: 'INR' },\n { label: 'Rupiah (IDR)', value: 'IDR' },\n { label: 'SDR (Special Drawing Right) (XDR)', value: 'XDR' },\n { label: 'Iranian Rial (IRR)', value: 'IRR' },\n { label: 'Iraqi Dinar (IQD)', value: 'IQD' },\n { label: 'New Israeli Sheqel (ILS)', value: 'ILS' },\n { label: 'Jamaican Dollar (JMD)', value: 'JMD' },\n { label: 'Yen (JPY)', value: 'JPY' },\n { label: 'Jordanian Dinar (JOD)', value: 'JOD' },\n { label: 'Tenge (KZT)', value: 'KZT' },\n { label: 'Kenyan Shilling (KES)', value: 'KES' },\n { label: 'North Korean Won (KPW)', value: 'KPW' },\n { label: 'Won (KRW)', value: 'KRW' },\n { label: 'Kuwaiti Dinar (KWD)', value: 'KWD' },\n { label: 'Som (KGS)', value: 'KGS' },\n { label: 'Lao Kip (LAK)', value: 'LAK' },\n { label: 'Lebanese Pound (LBP)', value: 'LBP' },\n { label: 'Loti (LSL)', value: 'LSL' },\n { label: 'Rand (ZAR)', value: 'ZAR' },\n { label: 'Liberian Dollar (LRD)', value: 'LRD' },\n { label: 'Libyan Dinar (LYD)', value: 'LYD' },\n { label: 'Swiss Franc (CHF)', value: 'CHF' },\n { label: 'Pataca (MOP)', value: 'MOP' },\n { label: 'Denar (MKD)', value: 'MKD' },\n { label: 'Malagasy Ariary (MGA)', value: 'MGA' },\n { label: 'Malawi Kwacha (MWK)', value: 'MWK' },\n { label: 'Malaysian Ringgit (MYR)', value: 'MYR' },\n { label: 'Rufiyaa (MVR)', value: 'MVR' },\n { label: 'Ouguiya (MRU)', value: 'MRU' },\n { label: 'Mauritius Rupee (MUR)', value: 'MUR' },\n { label: 'ADB Unit of Account (XUA)', value: 'XUA' },\n { label: 'Mexican Peso (MXN)', value: 'MXN' },\n { label: 'Mexican Unidad de Inversion (UDI) (MXV)', value: 'MXV' },\n { label: 'Moldovan Leu (MDL)', value: 'MDL' },\n { label: 'Tugrik (MNT)', value: 'MNT' },\n { label: 'Moroccan Dirham (MAD)', value: 'MAD' },\n { label: 'Mozambique Metical (MZN)', value: 'MZN' },\n { label: 'Kyat (MMK)', value: 'MMK' },\n { label: 'Namibia Dollar (NAD)', value: 'NAD' },\n { label: 'Nepalese Rupee (NPR)', value: 'NPR' },\n { label: 'Cordoba Oro (NIO)', value: 'NIO' },\n { label: 'Naira (NGN)', value: 'NGN' },\n { label: 'Rial Omani (OMR)', value: 'OMR' },\n { label: 'Pakistan Rupee (PKR)', value: 'PKR' },\n { label: 'Balboa (PAB)', value: 'PAB' },\n { label: 'Kina (PGK)', value: 'PGK' },\n { label: 'Guarani (PYG)', value: 'PYG' },\n { label: 'Sol (PEN)', value: 'PEN' },\n { label: 'Philippine Peso (PHP)', value: 'PHP' },\n { label: 'Zloty (PLN)', value: 'PLN' },\n { label: 'Qatari Rial (QAR)', value: 'QAR' },\n { label: 'Romanian Leu (RON)', value: 'RON' },\n { label: 'Russian Ruble (RUB)', value: 'RUB' },\n { label: 'Rwanda Franc (RWF)', value: 'RWF' },\n { label: 'Saint Helena Pound (SHP)', value: 'SHP' },\n { label: 'Tala (WST)', value: 'WST' },\n { label: 'Dobra (STN)', value: 'STN' },\n { label: 'Saudi Riyal (SAR)', value: 'SAR' },\n { label: 'Serbian Dinar (RSD)', value: 'RSD' },\n { label: 'Seychelles Rupee (SCR)', value: 'SCR' },\n { label: 'Leone (SLL)', value: 'SLL' },\n { label: 'Singapore Dollar (SGD)', value: 'SGD' },\n { label: 'Sucre (XSU)', value: 'XSU' },\n { label: 'Solomon Islands Dollar (SBD)', value: 'SBD' },\n { label: 'Somali Shilling (SOS)', value: 'SOS' },\n { label: 'South Sudanese Pound (SSP)', value: 'SSP' },\n { label: 'Sri Lanka Rupee (LKR)', value: 'LKR' },\n { label: 'Sudanese Pound (SDG)', value: 'SDG' },\n { label: 'Surinam Dollar (SRD)', value: 'SRD' },\n { label: 'Lilangeni (SZL)', value: 'SZL' },\n { label: 'Swedish Krona (SEK)', value: 'SEK' },\n { label: 'WIR Euro (CHE)', value: 'CHE' },\n { label: 'WIR Franc (CHW)', value: 'CHW' },\n { label: 'Syrian Pound (SYP)', value: 'SYP' },\n { label: 'New Taiwan Dollar (TWD)', value: 'TWD' },\n { label: 'Somoni (TJS)', value: 'TJS' },\n { label: 'Tanzanian Shilling (TZS)', value: 'TZS' },\n { label: 'Baht (THB)', value: 'THB' },\n { label: 'Pa’anga (TOP)', value: 'TOP' },\n { label: 'Trinidad and Tobago Dollar (TTD)', value: 'TTD' },\n { label: 'Tunisian Dinar (TND)', value: 'TND' },\n { label: 'Turkish Lira (TRY)', value: 'TRY' },\n { label: 'Turkmenistan New Manat (TMT)', value: 'TMT' },\n { label: 'Uganda Shilling (UGX)', value: 'UGX' },\n { label: 'Hryvnia (UAH)', value: 'UAH' },\n { label: 'UAE Dirham (AED)', value: 'AED' },\n { label: 'US Dollar (Next day) (USN)', value: 'USN' },\n { label: 'Peso Uruguayo (UYU)', value: 'UYU' },\n { label: 'Uruguay Peso en Unidades Indexadas (UYI)', value: 'UYI' },\n { label: 'Unidad Previsional (UYW)', value: 'UYW' },\n { label: 'Uzbekistan Sum (UZS)', value: 'UZS' },\n { label: 'Vatu (VUV)', value: 'VUV' },\n { label: 'Bolívar Soberano (VES)', value: 'VES' },\n { label: 'Dong (VND)', value: 'VND' },\n { label: 'Yemeni Rial (YER)', value: 'YER' },\n { label: 'Zambian Kwacha (ZMW)', value: 'ZMW' },\n { label: 'Zimbabwe Dollar (ZWL),', value: 'ZWL' },\n ],\n },\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/currency/editForm/Currency.edit.data.js?\n}");
|
|
290
|
+
|
|
291
|
+
/***/ }),
|
|
292
|
+
|
|
293
|
+
/***/ "./lib/components/currency/editForm/Currency.edit.display.js":
|
|
294
|
+
/*!*******************************************************************!*\
|
|
295
|
+
!*** ./lib/components/currency/editForm/Currency.edit.display.js ***!
|
|
296
|
+
\*******************************************************************/
|
|
297
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
298
|
+
|
|
299
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'showCharCount',\n ignore: true\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/currency/editForm/Currency.edit.display.js?\n}");
|
|
300
|
+
|
|
301
|
+
/***/ }),
|
|
302
|
+
|
|
303
|
+
/***/ "./lib/components/currency/editForm/Currency.edit.validation.js":
|
|
304
|
+
/*!**********************************************************************!*\
|
|
305
|
+
!*** ./lib/components/currency/editForm/Currency.edit.validation.js ***!
|
|
306
|
+
\**********************************************************************/
|
|
307
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
308
|
+
|
|
309
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validate.minLength',\n ignore: true,\n },\n {\n key: 'validate.maxLength',\n ignore: true,\n },\n {\n key: 'validate.minWords',\n ignore: true,\n },\n {\n key: 'validate.maxWords',\n ignore: true,\n },\n {\n key: 'validate.pattern',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/currency/editForm/Currency.edit.validation.js?\n}");
|
|
310
|
+
|
|
311
|
+
/***/ }),
|
|
312
|
+
|
|
313
|
+
/***/ "./lib/components/datagrid/DataGrid.js":
|
|
314
|
+
/*!*********************************************!*\
|
|
315
|
+
!*** ./lib/components/datagrid/DataGrid.js ***!
|
|
316
|
+
\*********************************************/
|
|
317
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
318
|
+
|
|
319
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst DataGrid = js_1.Components.components.datagrid;\nclass DataGridComponent extends DataGrid {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = DataGridComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/datagrid/DataGrid.js?\n}");
|
|
320
|
+
|
|
321
|
+
/***/ }),
|
|
322
|
+
|
|
323
|
+
/***/ "./lib/components/datamap/DataMap.js":
|
|
324
|
+
/*!*******************************************!*\
|
|
325
|
+
!*** ./lib/components/datamap/DataMap.js ***!
|
|
326
|
+
\*******************************************/
|
|
327
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
328
|
+
|
|
329
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst DataMap = js_1.Components.components.datamap;\nclass DataMapComponent extends DataMap {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = DataMapComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/datamap/DataMap.js?\n}");
|
|
330
|
+
|
|
331
|
+
/***/ }),
|
|
332
|
+
|
|
333
|
+
/***/ "./lib/components/datatable/DataTable.js":
|
|
334
|
+
/*!***********************************************!*\
|
|
335
|
+
!*** ./lib/components/datatable/DataTable.js ***!
|
|
336
|
+
\***********************************************/
|
|
337
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
338
|
+
|
|
339
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass DataTable {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = DataTable;\n\n\n//# sourceURL=webpack://vpat/./lib/components/datatable/DataTable.js?\n}");
|
|
340
|
+
|
|
341
|
+
/***/ }),
|
|
342
|
+
|
|
343
|
+
/***/ "./lib/components/datetime/DateTime.form.js":
|
|
344
|
+
/*!**************************************************!*\
|
|
345
|
+
!*** ./lib/components/datetime/DateTime.form.js ***!
|
|
346
|
+
\**************************************************/
|
|
347
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
348
|
+
|
|
349
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.datetime.editForm;\nconst DateTime_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/DateTime.edit.display */ \"./lib/components/datetime/editForm/DateTime.edit.display.js\"));\nconst DateTime_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/DateTime.edit.data */ \"./lib/components/datetime/editForm/DateTime.edit.data.js\"));\nconst DateTime_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/DateTime.edit.validation */ \"./lib/components/datetime/editForm/DateTime.edit.validation.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: DateTime_edit_display_1.default,\n },\n {\n key: 'data',\n components: DateTime_edit_data_1.default,\n },\n {\n key: 'validation',\n components: DateTime_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/datetime/DateTime.form.js?\n}");
|
|
350
|
+
|
|
351
|
+
/***/ }),
|
|
352
|
+
|
|
353
|
+
/***/ "./lib/components/datetime/DateTime.js":
|
|
354
|
+
/*!*********************************************!*\
|
|
355
|
+
!*** ./lib/components/datetime/DateTime.js ***!
|
|
356
|
+
\*********************************************/
|
|
357
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
358
|
+
|
|
359
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst DateTime_form_1 = __importDefault(__webpack_require__(/*! ./DateTime.form */ \"./lib/components/datetime/DateTime.form.js\"));\nconst DateTime = js_1.Components.components.datetime;\nclass DateTimeComponent extends DateTime {\n}\nexports[\"default\"] = DateTimeComponent;\nDateTimeComponent.editForm = DateTime_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/datetime/DateTime.js?\n}");
|
|
360
|
+
|
|
361
|
+
/***/ }),
|
|
362
|
+
|
|
363
|
+
/***/ "./lib/components/datetime/editForm/DateTime.edit.data.js":
|
|
364
|
+
/*!****************************************************************!*\
|
|
365
|
+
!*** ./lib/components/datetime/editForm/DateTime.edit.data.js ***!
|
|
366
|
+
\****************************************************************/
|
|
367
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
368
|
+
|
|
369
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'multiple',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/datetime/editForm/DateTime.edit.data.js?\n}");
|
|
370
|
+
|
|
371
|
+
/***/ }),
|
|
372
|
+
|
|
373
|
+
/***/ "./lib/components/datetime/editForm/DateTime.edit.display.js":
|
|
374
|
+
/*!*******************************************************************!*\
|
|
375
|
+
!*** ./lib/components/datetime/editForm/DateTime.edit.display.js ***!
|
|
376
|
+
\*******************************************************************/
|
|
377
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
378
|
+
|
|
379
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'shortcutButtons',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/datetime/editForm/DateTime.edit.display.js?\n}");
|
|
380
|
+
|
|
381
|
+
/***/ }),
|
|
382
|
+
|
|
383
|
+
/***/ "./lib/components/datetime/editForm/DateTime.edit.validation.js":
|
|
384
|
+
/*!**********************************************************************!*\
|
|
385
|
+
!*** ./lib/components/datetime/editForm/DateTime.edit.validation.js ***!
|
|
386
|
+
\**********************************************************************/
|
|
387
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
388
|
+
|
|
389
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validateOn',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/datetime/editForm/DateTime.edit.validation.js?\n}");
|
|
390
|
+
|
|
391
|
+
/***/ }),
|
|
392
|
+
|
|
393
|
+
/***/ "./lib/components/day/Day.form.js":
|
|
394
|
+
/*!****************************************!*\
|
|
395
|
+
!*** ./lib/components/day/Day.form.js ***!
|
|
396
|
+
\****************************************/
|
|
397
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
398
|
+
|
|
399
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.component.editForm;\nconst Day_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Day.edit.data */ \"./lib/components/day/editForm/Day.edit.data.js\"));\nconst Day_edit_day_1 = __importDefault(__webpack_require__(/*! ./editForm/Day.edit.day */ \"./lib/components/day/editForm/Day.edit.day.js\"));\nconst Day_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Day.edit.display */ \"./lib/components/day/editForm/Day.edit.display.js\"));\nconst Day_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/Day.edit.validation */ \"./lib/components/day/editForm/Day.edit.validation.js\"));\nconst Day_edit_year_1 = __importDefault(__webpack_require__(/*! ./editForm/Day.edit.year */ \"./lib/components/day/editForm/Day.edit.year.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Day_edit_display_1.default,\n },\n {\n key: 'day',\n label: 'Day',\n weight: 3,\n components: Day_edit_day_1.default,\n },\n {\n key: 'year',\n label: 'Year',\n weight: 3,\n components: Day_edit_year_1.default,\n },\n {\n key: 'data',\n components: Day_edit_data_1.default,\n },\n {\n key: 'validation',\n components: Day_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/day/Day.form.js?\n}");
|
|
400
|
+
|
|
401
|
+
/***/ }),
|
|
402
|
+
|
|
403
|
+
/***/ "./lib/components/day/Day.js":
|
|
404
|
+
/*!***********************************!*\
|
|
405
|
+
!*** ./lib/components/day/Day.js ***!
|
|
406
|
+
\***********************************/
|
|
407
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
408
|
+
|
|
409
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Day_form_1 = __importDefault(__webpack_require__(/*! ./Day.form */ \"./lib/components/day/Day.form.js\"));\nconst Day = js_1.Components.components.day;\nclass DayComponent extends Day {\n clearErrorClasses(elements) {\n const { day, month, year } = this.refs;\n super.clearErrorClasses([day, month, year]);\n }\n}\nexports[\"default\"] = DayComponent;\nDayComponent.editForm = Day_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/day/Day.js?\n}");
|
|
410
|
+
|
|
411
|
+
/***/ }),
|
|
412
|
+
|
|
413
|
+
/***/ "./lib/components/day/editForm/Day.edit.data.js":
|
|
414
|
+
/*!******************************************************!*\
|
|
415
|
+
!*** ./lib/components/day/editForm/Day.edit.data.js ***!
|
|
416
|
+
\******************************************************/
|
|
417
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
418
|
+
|
|
419
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'multiple',\n ignore: true,\n },\n {\n key: 'redrawOn',\n ignore: true,\n },\n {\n key: 'clearOnHide',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/day/editForm/Day.edit.data.js?\n}");
|
|
420
|
+
|
|
421
|
+
/***/ }),
|
|
422
|
+
|
|
423
|
+
/***/ "./lib/components/day/editForm/Day.edit.day.js":
|
|
424
|
+
/*!*****************************************************!*\
|
|
425
|
+
!*** ./lib/components/day/editForm/Day.edit.day.js ***!
|
|
426
|
+
\*****************************************************/
|
|
427
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
428
|
+
|
|
429
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n wieght: 200,\n type: 'select',\n datasrc: 'values',\n key: 'fields.day.type',\n label: 'Type',\n data: {\n values: [\n {\n label: 'Number',\n value: 'number'\n },\n {\n label: 'Select',\n value: 'select'\n },\n ]\n }\n },\n {\n weight: 210,\n type: 'textfield',\n input: true,\n key: 'fields.day.placeholder',\n label: 'Placeholder',\n placeholder: 'Day Placeholder',\n tooltip: 'The placeholder text that will appear when Day field is empty.'\n },\n {\n weight: 215,\n type: 'checkbox',\n label: 'Hidden',\n tooltip: 'Hide the Day part of the component.',\n key: 'fields.day.hide',\n input: true\n },\n {\n weight: 214,\n type: 'checkbox',\n label: 'Day First',\n tooltip: 'Display the Day field before the Month field.',\n key: 'dayFirst',\n input: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/day/editForm/Day.edit.day.js?\n}");
|
|
430
|
+
|
|
431
|
+
/***/ }),
|
|
432
|
+
|
|
433
|
+
/***/ "./lib/components/day/editForm/Day.edit.display.js":
|
|
434
|
+
/*!*********************************************************!*\
|
|
435
|
+
!*** ./lib/components/day/editForm/Day.edit.display.js ***!
|
|
436
|
+
\*********************************************************/
|
|
437
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
438
|
+
|
|
439
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n weight: 213,\n type: 'checkbox',\n label: 'Use Locale Settings',\n tooltip: 'Use locale settings to display day.',\n key: 'useLocaleSettings',\n input: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/day/editForm/Day.edit.display.js?\n}");
|
|
440
|
+
|
|
441
|
+
/***/ }),
|
|
442
|
+
|
|
443
|
+
/***/ "./lib/components/day/editForm/Day.edit.validation.js":
|
|
444
|
+
/*!************************************************************!*\
|
|
445
|
+
!*** ./lib/components/day/editForm/Day.edit.validation.js ***!
|
|
446
|
+
\************************************************************/
|
|
447
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
448
|
+
|
|
449
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validateOn',\n ignore: true,\n },\n {\n key: 'validate.required',\n ignore: true,\n },\n {\n key: 'validate.unique',\n ignore: true,\n },\n {\n weight: 0,\n type: 'checkbox',\n label: 'Require Day',\n tooltip: 'A required field must be filled in before the form can be submitted.',\n key: 'fields.day.required',\n input: true,\n },\n {\n weight: 10,\n type: 'checkbox',\n label: 'Require Month',\n tooltip: 'A required field must be filled in before the form can be submitted.',\n key: 'fields.month.required',\n input: true,\n },\n {\n weight: 20,\n type: 'checkbox',\n label: 'Require Year',\n tooltip: 'A required field must be filled in before the form can be submitted.',\n key: 'fields.year.required',\n input: true,\n },\n {\n weight: 40,\n type: 'textfield',\n label: 'Minimum Day',\n placeholder: 'yyyy-MM-dd',\n tooltip: 'A minimum date that can be set. You can also use Moment.js functions. For example: \\n \\n moment().subtract(10, \\'days\\')',\n key: 'minDate',\n input: true,\n },\n {\n weight: 30,\n type: 'textfield',\n label: 'Maximum Day',\n placeholder: 'yyyy-MM-dd',\n tooltip: 'A maximum day that can be set. You can also use Moment.js functions. For example: \\n \\n moment().add(10, \\'days\\')',\n key: 'maxDate',\n input: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/day/editForm/Day.edit.validation.js?\n}");
|
|
450
|
+
|
|
451
|
+
/***/ }),
|
|
452
|
+
|
|
453
|
+
/***/ "./lib/components/day/editForm/Day.edit.year.js":
|
|
454
|
+
/*!******************************************************!*\
|
|
455
|
+
!*** ./lib/components/day/editForm/Day.edit.year.js ***!
|
|
456
|
+
\******************************************************/
|
|
457
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
458
|
+
|
|
459
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n weight: 203,\n type: 'number',\n input: true,\n key: 'fields.year.minYear',\n label: 'Minimum Year',\n placeholder: '1900',\n tooltip: 'The minimum year that can be entered.',\n },\n {\n weight: 204,\n type: 'number',\n input: true,\n key: 'fields.year.maxYear',\n label: 'Maximum Year',\n placeholder: '2030',\n tooltip: 'The maximum year that can be entered.',\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/day/editForm/Day.edit.year.js?\n}");
|
|
460
|
+
|
|
461
|
+
/***/ }),
|
|
462
|
+
|
|
463
|
+
/***/ "./lib/components/dynamicwizard/DynamicWizard.js":
|
|
464
|
+
/*!*******************************************************!*\
|
|
465
|
+
!*** ./lib/components/dynamicwizard/DynamicWizard.js ***!
|
|
466
|
+
\*******************************************************/
|
|
467
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
468
|
+
|
|
469
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass DynamicWizard {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = DynamicWizard;\n\n\n//# sourceURL=webpack://vpat/./lib/components/dynamicwizard/DynamicWizard.js?\n}");
|
|
470
|
+
|
|
471
|
+
/***/ }),
|
|
472
|
+
|
|
473
|
+
/***/ "./lib/components/editgrid/EditGrid.js":
|
|
474
|
+
/*!*********************************************!*\
|
|
475
|
+
!*** ./lib/components/editgrid/EditGrid.js ***!
|
|
476
|
+
\*********************************************/
|
|
477
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
478
|
+
|
|
479
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst EditGrid = js_1.Components.components.editgrid;\nclass EditGridComponent extends EditGrid {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = EditGridComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/editgrid/EditGrid.js?\n}");
|
|
480
|
+
|
|
481
|
+
/***/ }),
|
|
482
|
+
|
|
483
|
+
/***/ "./lib/components/email/Email.form.js":
|
|
484
|
+
/*!********************************************!*\
|
|
485
|
+
!*** ./lib/components/email/Email.form.js ***!
|
|
486
|
+
\********************************************/
|
|
487
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
488
|
+
|
|
489
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ../textfield/TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst Email_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/Email.edit.validation */ \"./lib/components/email/editForm/Email.edit.validation.js\"));\nconst Email_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Email.edit.display */ \"./lib/components/email/editForm/Email.edit.display.js\"));\nfunction default_1(...extend) {\n return (0, TextField_form_1.default)([\n {\n key: 'display',\n components: Email_edit_display_1.default,\n },\n {\n key: 'validation',\n components: Email_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/email/Email.form.js?\n}");
|
|
490
|
+
|
|
491
|
+
/***/ }),
|
|
492
|
+
|
|
493
|
+
/***/ "./lib/components/email/Email.js":
|
|
494
|
+
/*!***************************************!*\
|
|
495
|
+
!*** ./lib/components/email/Email.js ***!
|
|
496
|
+
\***************************************/
|
|
497
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
498
|
+
|
|
499
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Email_form_1 = __importDefault(__webpack_require__(/*! ./Email.form */ \"./lib/components/email/Email.form.js\"));\nconst Email = js_1.Components.components.email;\nclass EmailComponent extends Email {\n}\nexports[\"default\"] = EmailComponent;\nEmailComponent.editForm = Email_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/email/Email.js?\n}");
|
|
500
|
+
|
|
501
|
+
/***/ }),
|
|
502
|
+
|
|
503
|
+
/***/ "./lib/components/email/editForm/Email.edit.display.js":
|
|
504
|
+
/*!*************************************************************!*\
|
|
505
|
+
!*** ./lib/components/email/editForm/Email.edit.display.js ***!
|
|
506
|
+
\*************************************************************/
|
|
507
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
508
|
+
|
|
509
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'showCharCount',\n ignore: true\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/email/editForm/Email.edit.display.js?\n}");
|
|
510
|
+
|
|
511
|
+
/***/ }),
|
|
512
|
+
|
|
513
|
+
/***/ "./lib/components/email/editForm/Email.edit.validation.js":
|
|
514
|
+
/*!****************************************************************!*\
|
|
515
|
+
!*** ./lib/components/email/editForm/Email.edit.validation.js ***!
|
|
516
|
+
\****************************************************************/
|
|
517
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
518
|
+
|
|
519
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validate.minWords',\n ignore: true,\n },\n {\n key: 'validate.maxWords',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/email/editForm/Email.edit.validation.js?\n}");
|
|
520
|
+
|
|
521
|
+
/***/ }),
|
|
522
|
+
|
|
523
|
+
/***/ "./lib/components/fieldset/Fieldset.form.js":
|
|
524
|
+
/*!**************************************************!*\
|
|
525
|
+
!*** ./lib/components/fieldset/Fieldset.form.js ***!
|
|
526
|
+
\**************************************************/
|
|
527
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
528
|
+
|
|
529
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.fieldset.editForm;\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: [\n {\n key: 'placeholder',\n ignore: true\n },\n {\n key: 'tabindex',\n ignore: true\n },\n ],\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/fieldset/Fieldset.form.js?\n}");
|
|
530
|
+
|
|
531
|
+
/***/ }),
|
|
532
|
+
|
|
533
|
+
/***/ "./lib/components/fieldset/Fieldset.js":
|
|
534
|
+
/*!*********************************************!*\
|
|
535
|
+
!*** ./lib/components/fieldset/Fieldset.js ***!
|
|
536
|
+
\*********************************************/
|
|
537
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
538
|
+
|
|
539
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Fieldset_form_1 = __importDefault(__webpack_require__(/*! ./Fieldset.form */ \"./lib/components/fieldset/Fieldset.form.js\"));\nconst Fieldset = js_1.Components.components.fieldset;\nclass FieldsetComponent extends Fieldset {\n}\nexports[\"default\"] = FieldsetComponent;\nFieldsetComponent.editForm = Fieldset_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/fieldset/Fieldset.js?\n}");
|
|
540
|
+
|
|
541
|
+
/***/ }),
|
|
542
|
+
|
|
543
|
+
/***/ "./lib/components/file/File.form.js":
|
|
544
|
+
/*!******************************************!*\
|
|
545
|
+
!*** ./lib/components/file/File.form.js ***!
|
|
546
|
+
\******************************************/
|
|
547
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
548
|
+
|
|
549
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.file.editForm;\nconst File_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/File.edit.display */ \"./lib/components/file/editForm/File.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: File_edit_display_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/file/File.form.js?\n}");
|
|
550
|
+
|
|
551
|
+
/***/ }),
|
|
552
|
+
|
|
553
|
+
/***/ "./lib/components/file/File.js":
|
|
554
|
+
/*!*************************************!*\
|
|
555
|
+
!*** ./lib/components/file/File.js ***!
|
|
556
|
+
\*************************************/
|
|
557
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
558
|
+
|
|
559
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst File_form_1 = __importDefault(__webpack_require__(/*! ./File.form */ \"./lib/components/file/File.form.js\"));\nconst File = js_1.Components.components.file;\nclass FileComponent extends File {\n activateRemovalAt(element, message) {\n let focusedElem;\n if (element && element.length) {\n focusedElem = element[0];\n }\n else if (this.refs.fileBrowse) {\n focusedElem = this.refs.fileBrowse;\n }\n const params = { id: `removed-${this.id}-${this.component.key}` };\n this.addHiddenMessageBeforeChild(focusedElem, focusedElem.children[0], message, params);\n focusedElem.focus();\n }\n activateRemoveLink(event, index) {\n super.activateRemoveLink(event, index);\n this.activateRemovalAt(this.refs.fileLink, this.t('File was removed. '));\n }\n activateFileStatusRemoveLink(event, index) {\n super.activateFileStatusRemoveLink(event, index);\n this.activateRemovalAt(this.refs.fileToSyncRemove, this.t('Error message was removed. '));\n }\n attach(element) {\n const superAttach = super.attach(element);\n const hiddenMessagesIDs = [`uploaded-${this.id}-${this.component.key}`, `notuploaded-${this.id}-${this.component.key}`, `removed-${this.id}-${this.component.key}`];\n this.refs.fileLink.forEach((fileLink) => {\n this.addEventListener(fileLink, 'focusout', () => this.hiddenMessageRemovalByID(hiddenMessagesIDs));\n });\n this.refs.fileToSyncRemove.forEach((fileStatusRemove) => {\n this.addEventListener(fileStatusRemove, 'focusout', () => this.hiddenMessageRemovalByID(hiddenMessagesIDs));\n });\n this.addEventListener(this.refs.fileBrowse, 'focusout', () => this.hiddenMessageRemovalByID(hiddenMessagesIDs));\n if (this.refs.fileBrowse) {\n this.removeEventListener(this.refs.fileBrowse, 'click');\n this.addEventListener(this.refs.fileBrowse, 'click', (event) => {\n event.preventDefault();\n // Set focus on a hidden empty element to prevent unneeded content announcement\n const hiddenEmptyElem = document.getElementById(`invisible-${this.id}-${this.component.key}`);\n hiddenEmptyElem.textContent = ' ';\n hiddenEmptyElem.focus();\n this.browseFiles(this.browseOptions)\n .then((files) => {\n this.handleFilesToUpload(files);\n });\n });\n }\n return superAttach;\n }\n // Adds action message and handles focus\n onUploadDone(fileUpload) {\n let focusedElem = null;\n let message = '';\n const params = { id: '' };\n if (fileUpload.status !== 'error') {\n if (this.refs.fileLink && this.refs.fileLink.length) {\n focusedElem = this.refs.fileLink[this.refs.fileLink.length - 1];\n message = this.t('File was uploaded. ');\n params.id = `uploaded-${this.id}-${this.component.key}`;\n }\n }\n else {\n if (this.refs.fileToSyncRemove && this.refs.fileToSyncRemove.length) {\n focusedElem = this.refs.fileToSyncRemove[this.refs.fileToSyncRemove.length - 1];\n message = this.t(\"File wasn't uploaded. \");\n params.id = `notuploaded-${this.id}-${this.component.key}`;\n }\n }\n this.addHiddenMessageBeforeChild(focusedElem, focusedElem.children[0], message, params);\n focusedElem.focus();\n }\n handleFilesToUpload(files) {\n // Set focus on a hidden message to announce about start of file uploading\n const uploadingProcess = document.getElementById(`invisible-${this.id}-${this.component.key}`);\n uploadingProcess.textContent = this.t('Uploading is in process');\n uploadingProcess.focus();\n super.handleFilesToUpload(files, this.onUploadDone);\n }\n}\nexports[\"default\"] = FileComponent;\nFileComponent.editForm = File_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/file/File.js?\n}");
|
|
560
|
+
|
|
561
|
+
/***/ }),
|
|
562
|
+
|
|
563
|
+
/***/ "./lib/components/file/editForm/File.edit.display.js":
|
|
564
|
+
/*!***********************************************************!*\
|
|
565
|
+
!*** ./lib/components/file/editForm/File.edit.display.js ***!
|
|
566
|
+
\***********************************************************/
|
|
567
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
568
|
+
|
|
569
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/file/editForm/File.edit.display.js?\n}");
|
|
570
|
+
|
|
571
|
+
/***/ }),
|
|
572
|
+
|
|
573
|
+
/***/ "./lib/components/form/Form.js":
|
|
574
|
+
/*!*************************************!*\
|
|
575
|
+
!*** ./lib/components/form/Form.js ***!
|
|
576
|
+
\*************************************/
|
|
577
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
578
|
+
|
|
579
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Form = js_1.Components.components.form;\nclass FormComponent extends Form {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = FormComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/form/Form.js?\n}");
|
|
580
|
+
|
|
581
|
+
/***/ }),
|
|
582
|
+
|
|
583
|
+
/***/ "./lib/components/hidden/Hidden.form.js":
|
|
584
|
+
/*!**********************************************!*\
|
|
585
|
+
!*** ./lib/components/hidden/Hidden.form.js ***!
|
|
586
|
+
\**********************************************/
|
|
587
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
588
|
+
|
|
589
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.hidden.editForm;\nfunction default_1(...extend) {\n return baseEditForm(...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/hidden/Hidden.form.js?\n}");
|
|
590
|
+
|
|
591
|
+
/***/ }),
|
|
592
|
+
|
|
593
|
+
/***/ "./lib/components/hidden/Hidden.js":
|
|
594
|
+
/*!*****************************************!*\
|
|
595
|
+
!*** ./lib/components/hidden/Hidden.js ***!
|
|
596
|
+
\*****************************************/
|
|
597
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
598
|
+
|
|
599
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Hidden_form_1 = __importDefault(__webpack_require__(/*! ./Hidden.form */ \"./lib/components/hidden/Hidden.form.js\"));\nconst Hidden = js_1.Components.components.hidden;\nclass HiddenComponent extends Hidden {\n}\nexports[\"default\"] = HiddenComponent;\nHiddenComponent.editForm = Hidden_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/hidden/Hidden.js?\n}");
|
|
600
|
+
|
|
601
|
+
/***/ }),
|
|
602
|
+
|
|
603
|
+
/***/ "./lib/components/html/HTML.form.js":
|
|
604
|
+
/*!******************************************!*\
|
|
605
|
+
!*** ./lib/components/html/HTML.form.js ***!
|
|
606
|
+
\******************************************/
|
|
607
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
608
|
+
|
|
609
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.htmlelement.editForm;\nfunction default_1(...extend) {\n return baseEditForm(...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/html/HTML.form.js?\n}");
|
|
610
|
+
|
|
611
|
+
/***/ }),
|
|
612
|
+
|
|
613
|
+
/***/ "./lib/components/html/HTML.js":
|
|
614
|
+
/*!*************************************!*\
|
|
615
|
+
!*** ./lib/components/html/HTML.js ***!
|
|
616
|
+
\*************************************/
|
|
617
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
618
|
+
|
|
619
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst HTML_form_1 = __importDefault(__webpack_require__(/*! ./HTML.form */ \"./lib/components/html/HTML.form.js\"));\nconst HTML = js_1.Components.components.htmlelement;\nclass HTMLComponent extends HTML {\n}\nexports[\"default\"] = HTMLComponent;\nHTMLComponent.editForm = HTML_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/html/HTML.js?\n}");
|
|
620
|
+
|
|
621
|
+
/***/ }),
|
|
622
|
+
|
|
623
|
+
/***/ "./lib/components/index.js":
|
|
624
|
+
/*!*********************************!*\
|
|
625
|
+
!*** ./lib/components/index.js ***!
|
|
626
|
+
\*********************************/
|
|
627
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
628
|
+
|
|
629
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Address_1 = __importDefault(__webpack_require__(/*! ./address/Address */ \"./lib/components/address/Address.js\"));\nconst Button_1 = __importDefault(__webpack_require__(/*! ./button/Button */ \"./lib/components/button/Button.js\"));\nconst Checkbox_1 = __importDefault(__webpack_require__(/*! ./checkbox/Checkbox */ \"./lib/components/checkbox/Checkbox.js\"));\nconst Columns_1 = __importDefault(__webpack_require__(/*! ./columns/Columns */ \"./lib/components/columns/Columns.js\"));\nconst Component_1 = __importDefault(__webpack_require__(/*! ./component/Component */ \"./lib/components/component/Component.js\"));\nconst Container_1 = __importDefault(__webpack_require__(/*! ./container/Container */ \"./lib/components/container/Container.js\"));\nconst Content_1 = __importDefault(__webpack_require__(/*! ./content/Content */ \"./lib/components/content/Content.js\"));\nconst Currency_1 = __importDefault(__webpack_require__(/*! ./currency/Currency */ \"./lib/components/currency/Currency.js\"));\nconst DataGrid_1 = __importDefault(__webpack_require__(/*! ./datagrid/DataGrid */ \"./lib/components/datagrid/DataGrid.js\"));\nconst DataMap_1 = __importDefault(__webpack_require__(/*! ./datamap/DataMap */ \"./lib/components/datamap/DataMap.js\"));\nconst DataTable_1 = __importDefault(__webpack_require__(/*! ./datatable/DataTable */ \"./lib/components/datatable/DataTable.js\"));\nconst DateTime_1 = __importDefault(__webpack_require__(/*! ./datetime/DateTime */ \"./lib/components/datetime/DateTime.js\"));\nconst Day_1 = __importDefault(__webpack_require__(/*! ./day/Day */ \"./lib/components/day/Day.js\"));\nconst DynamicWizard_1 = __importDefault(__webpack_require__(/*! ./dynamicwizard/DynamicWizard */ \"./lib/components/dynamicwizard/DynamicWizard.js\"));\nconst EditGrid_1 = __importDefault(__webpack_require__(/*! ./editgrid/EditGrid */ \"./lib/components/editgrid/EditGrid.js\"));\nconst Email_1 = __importDefault(__webpack_require__(/*! ./email/Email */ \"./lib/components/email/Email.js\"));\nconst Fieldset_1 = __importDefault(__webpack_require__(/*! ./fieldset/Fieldset */ \"./lib/components/fieldset/Fieldset.js\"));\nconst File_1 = __importDefault(__webpack_require__(/*! ./file/File */ \"./lib/components/file/File.js\"));\nconst Form_1 = __importDefault(__webpack_require__(/*! ./form/Form */ \"./lib/components/form/Form.js\"));\nconst Hidden_1 = __importDefault(__webpack_require__(/*! ./hidden/Hidden */ \"./lib/components/hidden/Hidden.js\"));\nconst HTML_1 = __importDefault(__webpack_require__(/*! ./html/HTML */ \"./lib/components/html/HTML.js\"));\nconst Input_1 = __importDefault(__webpack_require__(/*! ./input/Input */ \"./lib/components/input/Input.js\"));\nconst NestedComponent_1 = __importDefault(__webpack_require__(/*! ./nested/NestedComponent */ \"./lib/components/nested/NestedComponent.js\"));\nconst Number_1 = __importDefault(__webpack_require__(/*! ./number/Number */ \"./lib/components/number/Number.js\"));\nconst Panel_1 = __importDefault(__webpack_require__(/*! ./panel/Panel */ \"./lib/components/panel/Panel.js\"));\nconst Password_1 = __importDefault(__webpack_require__(/*! ./password/Password */ \"./lib/components/password/Password.js\"));\nconst PhoneNumber_1 = __importDefault(__webpack_require__(/*! ./phonenumber/PhoneNumber */ \"./lib/components/phonenumber/PhoneNumber.js\"));\nconst Radio_1 = __importDefault(__webpack_require__(/*! ./radio/Radio */ \"./lib/components/radio/Radio.js\"));\nconst ReCaptcha_1 = __importDefault(__webpack_require__(/*! ./recaptcha/ReCaptcha */ \"./lib/components/recaptcha/ReCaptcha.js\"));\nconst Select_1 = __importDefault(__webpack_require__(/*! ./select/Select */ \"./lib/components/select/Select.js\"));\nconst SelectBoxes_1 = __importDefault(__webpack_require__(/*! ./selectboxes/SelectBoxes */ \"./lib/components/selectboxes/SelectBoxes.js\"));\nconst Signature_1 = __importDefault(__webpack_require__(/*! ./signature/Signature */ \"./lib/components/signature/Signature.js\"));\nconst Sketchpad_1 = __importDefault(__webpack_require__(/*! ./sketchpad/Sketchpad */ \"./lib/components/sketchpad/Sketchpad.js\"));\nconst Survey_1 = __importDefault(__webpack_require__(/*! ./survey/Survey */ \"./lib/components/survey/Survey.js\"));\nconst Table_1 = __importDefault(__webpack_require__(/*! ./table/Table */ \"./lib/components/table/Table.js\"));\nconst Tabs_1 = __importDefault(__webpack_require__(/*! ./tabs/Tabs */ \"./lib/components/tabs/Tabs.js\"));\nconst Tagpad_1 = __importDefault(__webpack_require__(/*! ./tagpad/Tagpad */ \"./lib/components/tagpad/Tagpad.js\"));\nconst Tags_1 = __importDefault(__webpack_require__(/*! ./tags/Tags */ \"./lib/components/tags/Tags.js\"));\nconst TextArea_1 = __importDefault(__webpack_require__(/*! ./textarea/TextArea */ \"./lib/components/textarea/TextArea.js\"));\nconst TextField_1 = __importDefault(__webpack_require__(/*! ./textfield/TextField */ \"./lib/components/textfield/TextField.js\"));\nconst Time_1 = __importDefault(__webpack_require__(/*! ./time/Time */ \"./lib/components/time/Time.js\"));\nconst Unknown_1 = __importDefault(__webpack_require__(/*! ./unknown/Unknown */ \"./lib/components/unknown/Unknown.js\"));\nconst Url_1 = __importDefault(__webpack_require__(/*! ./url/Url */ \"./lib/components/url/Url.js\"));\nconst Well_1 = __importDefault(__webpack_require__(/*! ./well/Well */ \"./lib/components/well/Well.js\"));\nexports[\"default\"] = {\n address: Address_1.default,\n component: Component_1.default,\n button: Button_1.default,\n checkbox: Checkbox_1.default,\n columns: Columns_1.default,\n container: Container_1.default,\n content: Content_1.default,\n currency: Currency_1.default,\n day: Day_1.default,\n dynamicWizard: DynamicWizard_1.default,\n datagrid: DataGrid_1.default,\n datamap: DataMap_1.default,\n datatable: DataTable_1.default,\n datetime: DateTime_1.default,\n editgrid: EditGrid_1.default,\n email: Email_1.default,\n fieldset: Fieldset_1.default,\n file: File_1.default,\n form: Form_1.default,\n hidden: Hidden_1.default,\n htmlelement: HTML_1.default,\n input: Input_1.default,\n nested: NestedComponent_1.default,\n number: Number_1.default,\n panel: Panel_1.default,\n password: Password_1.default,\n phoneNumber: PhoneNumber_1.default,\n radio: Radio_1.default,\n recaptcha: ReCaptcha_1.default,\n select: Select_1.default,\n selectboxes: SelectBoxes_1.default,\n signature: Signature_1.default,\n sketchpad: Sketchpad_1.default,\n survey: Survey_1.default,\n table: Table_1.default,\n tabs: Tabs_1.default,\n tagpad: Tagpad_1.default,\n tags: Tags_1.default,\n textarea: TextArea_1.default,\n textfield: TextField_1.default,\n time: Time_1.default,\n unknown: Unknown_1.default,\n url: Url_1.default,\n well: Well_1.default,\n};\n\n\n//# sourceURL=webpack://vpat/./lib/components/index.js?\n}");
|
|
630
|
+
|
|
631
|
+
/***/ }),
|
|
632
|
+
|
|
633
|
+
/***/ "./lib/components/input/Input.js":
|
|
634
|
+
/*!***************************************!*\
|
|
635
|
+
!*** ./lib/components/input/Input.js ***!
|
|
636
|
+
\***************************************/
|
|
637
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
638
|
+
|
|
639
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Input = js_1.Components.components.input;\nconst attachElement = Input.prototype.attachElement;\nInput.prototype.attachElement = function (element, index) {\n const superAttachElement = attachElement.call(this, element, index);\n if ((this.isFirefox() || this.isIE()) && this.refs.input && this.refs.input.length) {\n this.refs.input.forEach((input) => {\n this.addEventListener(input, 'focus', () => {\n this.refs.messageContainer.setAttribute('aria-live', 'polite');\n });\n this.addEventListener(input, 'focusout', () => {\n this.refs.messageContainer.removeAttribute('aria-live');\n });\n });\n }\n return superAttachElement;\n};\nexports[\"default\"] = Input;\n\n\n//# sourceURL=webpack://vpat/./lib/components/input/Input.js?\n}");
|
|
640
|
+
|
|
641
|
+
/***/ }),
|
|
642
|
+
|
|
643
|
+
/***/ "./lib/components/nested/NestedComponent.js":
|
|
644
|
+
/*!**************************************************!*\
|
|
645
|
+
!*** ./lib/components/nested/NestedComponent.js ***!
|
|
646
|
+
\**************************************************/
|
|
647
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
648
|
+
|
|
649
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst NestedComponent = js_1.Components.components.nested;\nconst collapse = NestedComponent.prototype.collapse;\nNestedComponent.prototype.collapse = function (value) {\n return collapse.call(this, value).then(() => {\n var _a;\n if (this.component.type === 'panel' && this.refs.header) {\n this.refs.header.children[0].setAttribute('aria-expanded', !this._collapsed);\n const panelButton = (_a = this.refs.header.querySelector('[role=\"button\"]')) !== null && _a !== void 0 ? _a : this.refs.header;\n if (panelButton) {\n panelButton.focus();\n }\n }\n });\n};\nexports[\"default\"] = NestedComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/nested/NestedComponent.js?\n}");
|
|
650
|
+
|
|
651
|
+
/***/ }),
|
|
652
|
+
|
|
653
|
+
/***/ "./lib/components/number/Number.form.js":
|
|
654
|
+
/*!**********************************************!*\
|
|
655
|
+
!*** ./lib/components/number/Number.form.js ***!
|
|
656
|
+
\**********************************************/
|
|
657
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
658
|
+
|
|
659
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ../textfield/TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst Number_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Number.edit.data */ \"./lib/components/number/editForm/Number.edit.data.js\"));\nconst Number_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Number.edit.display */ \"./lib/components/number/editForm/Number.edit.display.js\"));\nconst Number_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/Number.edit.validation */ \"./lib/components/number/editForm/Number.edit.validation.js\"));\nfunction default_1(...extend) {\n return (0, TextField_form_1.default)([\n {\n key: 'display',\n components: Number_edit_display_1.default,\n },\n {\n key: 'data',\n components: Number_edit_data_1.default,\n },\n {\n key: 'validation',\n components: Number_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/number/Number.form.js?\n}");
|
|
660
|
+
|
|
661
|
+
/***/ }),
|
|
662
|
+
|
|
663
|
+
/***/ "./lib/components/number/Number.js":
|
|
664
|
+
/*!*****************************************!*\
|
|
665
|
+
!*** ./lib/components/number/Number.js ***!
|
|
666
|
+
\*****************************************/
|
|
667
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
668
|
+
|
|
669
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Number_form_1 = __importDefault(__webpack_require__(/*! ./Number.form */ \"./lib/components/number/Number.form.js\"));\nconst NumberComp = js_1.Components.components.number;\nclass NumberComponent extends NumberComp {\n}\nexports[\"default\"] = NumberComponent;\nNumberComponent.editForm = Number_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/number/Number.js?\n}");
|
|
670
|
+
|
|
671
|
+
/***/ }),
|
|
672
|
+
|
|
673
|
+
/***/ "./lib/components/number/editForm/Number.edit.data.js":
|
|
674
|
+
/*!************************************************************!*\
|
|
675
|
+
!*** ./lib/components/number/editForm/Number.edit.data.js ***!
|
|
676
|
+
\************************************************************/
|
|
677
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
678
|
+
|
|
679
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'case',\n ignore: true,\n },\n {\n type: 'checkbox',\n input: true,\n weight: 70,\n key: 'delimiter',\n label: 'Use Thousands Separator',\n tooltip: 'Separate thousands by local delimiter.',\n },\n {\n type: 'number',\n input: true,\n weight: 80,\n key: 'decimalLimit',\n label: 'Decimal Places',\n tooltip: 'The maximum number of decimal places.',\n },\n {\n type: 'checkbox',\n input: true,\n weight: 90,\n key: 'requireDecimal',\n label: 'Require Decimal',\n tooltip: 'Always show decimals, even if trailing zeros.',\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/number/editForm/Number.edit.data.js?\n}");
|
|
680
|
+
|
|
681
|
+
/***/ }),
|
|
682
|
+
|
|
683
|
+
/***/ "./lib/components/number/editForm/Number.edit.display.js":
|
|
684
|
+
/*!***************************************************************!*\
|
|
685
|
+
!*** ./lib/components/number/editForm/Number.edit.display.js ***!
|
|
686
|
+
\***************************************************************/
|
|
687
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
688
|
+
|
|
689
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'spellcheck',\n ignore: true,\n },\n {\n key: 'showCharCount',\n ignore: true\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/number/editForm/Number.edit.display.js?\n}");
|
|
690
|
+
|
|
691
|
+
/***/ }),
|
|
692
|
+
|
|
693
|
+
/***/ "./lib/components/number/editForm/Number.edit.validation.js":
|
|
694
|
+
/*!******************************************************************!*\
|
|
695
|
+
!*** ./lib/components/number/editForm/Number.edit.validation.js ***!
|
|
696
|
+
\******************************************************************/
|
|
697
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
698
|
+
|
|
699
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'unique',\n ignore: true,\n },\n {\n key: 'validate.minLength',\n ignore: true,\n },\n {\n key: 'validate.maxLength',\n ignore: true,\n },\n {\n key: 'validate.minWords',\n ignore: true,\n },\n {\n key: 'validate.maxWords',\n ignore: true,\n },\n {\n key: 'validate.pattern',\n ignore: true,\n },\n {\n type: 'number',\n label: 'Minimum Value',\n key: 'validate.min',\n input: true,\n placeholder: 'Minimum Value',\n tooltip: 'The minimum value this field must have before the form can be submitted.',\n weight: 150,\n },\n {\n type: 'number',\n label: 'Maximum Value',\n key: 'validate.max',\n input: true,\n placeholder: 'Maximum Value',\n tooltip: 'The maximum value this field can have before the form can be submitted.',\n weight: 160,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/number/editForm/Number.edit.validation.js?\n}");
|
|
700
|
+
|
|
701
|
+
/***/ }),
|
|
702
|
+
|
|
703
|
+
/***/ "./lib/components/panel/Panel.form.js":
|
|
704
|
+
/*!********************************************!*\
|
|
705
|
+
!*** ./lib/components/panel/Panel.form.js ***!
|
|
706
|
+
\********************************************/
|
|
707
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
708
|
+
|
|
709
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.panel.editForm;\nconst Panel_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Panel.edit.display */ \"./lib/components/panel/editForm/Panel.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Panel_edit_display_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/panel/Panel.form.js?\n}");
|
|
710
|
+
|
|
711
|
+
/***/ }),
|
|
712
|
+
|
|
713
|
+
/***/ "./lib/components/panel/Panel.js":
|
|
714
|
+
/*!***************************************!*\
|
|
715
|
+
!*** ./lib/components/panel/Panel.js ***!
|
|
716
|
+
\***************************************/
|
|
717
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
718
|
+
|
|
719
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Panel_form_1 = __importDefault(__webpack_require__(/*! ./Panel.form */ \"./lib/components/panel/Panel.form.js\"));\nconst Panel = js_1.Components.components.panel;\nclass PanelComponent extends Panel {\n}\nexports[\"default\"] = PanelComponent;\nPanelComponent.editForm = Panel_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/panel/Panel.js?\n}");
|
|
720
|
+
|
|
721
|
+
/***/ }),
|
|
722
|
+
|
|
723
|
+
/***/ "./lib/components/panel/editForm/Panel.edit.display.js":
|
|
724
|
+
/*!*************************************************************!*\
|
|
725
|
+
!*** ./lib/components/panel/editForm/Panel.edit.display.js ***!
|
|
726
|
+
\*************************************************************/
|
|
727
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
728
|
+
|
|
729
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n weight: 20,\n type: 'textarea',\n input: true,\n key: 'tooltip',\n label: 'Tooltip',\n placeholder: 'To add a tooltip to this field, enter text here.',\n tooltip: 'Adds a tooltip to the side of this field.',\n customConditional(context) {\n const component = context.instance.options.editComponent;\n return !component.hasOwnProperty('buttonSettings');\n }\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/panel/editForm/Panel.edit.display.js?\n}");
|
|
730
|
+
|
|
731
|
+
/***/ }),
|
|
732
|
+
|
|
733
|
+
/***/ "./lib/components/password/Password.form.js":
|
|
734
|
+
/*!**************************************************!*\
|
|
735
|
+
!*** ./lib/components/password/Password.form.js ***!
|
|
736
|
+
\**************************************************/
|
|
737
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
738
|
+
|
|
739
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ../textfield/TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst Password_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Password.edit.data */ \"./lib/components/password/editForm/Password.edit.data.js\"));\nconst Password_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Password.edit.display */ \"./lib/components/password/editForm/Password.edit.display.js\"));\nconst Password_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/Password.edit.validation */ \"./lib/components/password/editForm/Password.edit.validation.js\"));\nfunction default_1(...extend) {\n return (0, TextField_form_1.default)([\n {\n key: 'display',\n components: Password_edit_display_1.default,\n },\n {\n key: 'data',\n components: Password_edit_data_1.default,\n },\n {\n key: 'validation',\n components: Password_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/password/Password.form.js?\n}");
|
|
740
|
+
|
|
741
|
+
/***/ }),
|
|
742
|
+
|
|
743
|
+
/***/ "./lib/components/password/Password.js":
|
|
744
|
+
/*!*********************************************!*\
|
|
745
|
+
!*** ./lib/components/password/Password.js ***!
|
|
746
|
+
\*********************************************/
|
|
747
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
748
|
+
|
|
749
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Password_form_1 = __importDefault(__webpack_require__(/*! ./Password.form */ \"./lib/components/password/Password.form.js\"));\nconst Password = js_1.Components.components.password;\nclass PasswordComponent extends Password {\n}\nexports[\"default\"] = PasswordComponent;\nPasswordComponent.editForm = Password_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/password/Password.js?\n}");
|
|
750
|
+
|
|
751
|
+
/***/ }),
|
|
752
|
+
|
|
753
|
+
/***/ "./lib/components/password/editForm/Password.edit.data.js":
|
|
754
|
+
/*!****************************************************************!*\
|
|
755
|
+
!*** ./lib/components/password/editForm/Password.edit.data.js ***!
|
|
756
|
+
\****************************************************************/
|
|
757
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
758
|
+
|
|
759
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'inputFormat',\n ignore: true,\n },\n {\n key: 'persistent',\n ignore: true,\n },\n {\n key: 'protected',\n ignore: true,\n },\n {\n key: 'dbIndex',\n ignore: true,\n },\n {\n key: 'encrypted',\n ignore: true,\n },\n {\n key: 'defaultValue',\n ignore: true,\n },\n {\n key: 'case',\n ignore: true,\n },\n {\n key: 'customDefaultValuePanel',\n ignore: true,\n },\n {\n key: 'calculateValuePanel',\n ignore: true,\n },\n {\n key: 'passwordInfo',\n weight: 0,\n type: 'htmlelement',\n tag: 'div',\n className: 'alert alert-info',\n content: 'Password fields are automatically encrypted using 1-way salted bcrypt hashes. These hashes are also protected and not returned in the API.',\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/password/editForm/Password.edit.data.js?\n}");
|
|
760
|
+
|
|
761
|
+
/***/ }),
|
|
762
|
+
|
|
763
|
+
/***/ "./lib/components/password/editForm/Password.edit.display.js":
|
|
764
|
+
/*!*******************************************************************!*\
|
|
765
|
+
!*** ./lib/components/password/editForm/Password.edit.display.js ***!
|
|
766
|
+
\*******************************************************************/
|
|
767
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
768
|
+
|
|
769
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'spellcheck',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/password/editForm/Password.edit.display.js?\n}");
|
|
770
|
+
|
|
771
|
+
/***/ }),
|
|
772
|
+
|
|
773
|
+
/***/ "./lib/components/password/editForm/Password.edit.validation.js":
|
|
774
|
+
/*!**********************************************************************!*\
|
|
775
|
+
!*** ./lib/components/password/editForm/Password.edit.validation.js ***!
|
|
776
|
+
\**********************************************************************/
|
|
777
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
778
|
+
|
|
779
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'unique',\n ignore: true,\n },\n {\n key: 'validate.minWords',\n ignore: true,\n },\n {\n key: 'validate.maxWords',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/password/editForm/Password.edit.validation.js?\n}");
|
|
780
|
+
|
|
781
|
+
/***/ }),
|
|
782
|
+
|
|
783
|
+
/***/ "./lib/components/phonenumber/PhoneNumber.form.js":
|
|
784
|
+
/*!********************************************************!*\
|
|
785
|
+
!*** ./lib/components/phonenumber/PhoneNumber.form.js ***!
|
|
786
|
+
\********************************************************/
|
|
787
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
788
|
+
|
|
789
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ../textfield/TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst PhoneNumber_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/PhoneNumber.edit.display */ \"./lib/components/phonenumber/editForm/PhoneNumber.edit.display.js\"));\nconst PhoneNumber_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/PhoneNumber.edit.validation */ \"./lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js\"));\nfunction default_1(...extend) {\n return (0, TextField_form_1.default)([\n {\n key: 'display',\n components: PhoneNumber_edit_display_1.default,\n },\n {\n key: 'validation',\n components: PhoneNumber_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/phonenumber/PhoneNumber.form.js?\n}");
|
|
790
|
+
|
|
791
|
+
/***/ }),
|
|
792
|
+
|
|
793
|
+
/***/ "./lib/components/phonenumber/PhoneNumber.js":
|
|
794
|
+
/*!***************************************************!*\
|
|
795
|
+
!*** ./lib/components/phonenumber/PhoneNumber.js ***!
|
|
796
|
+
\***************************************************/
|
|
797
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
798
|
+
|
|
799
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst PhoneNumber_form_1 = __importDefault(__webpack_require__(/*! ./PhoneNumber.form */ \"./lib/components/phonenumber/PhoneNumber.form.js\"));\nconst PhoneNumber = js_1.Components.components.phoneNumber;\nclass PhoneNumberComponent extends PhoneNumber {\n}\nexports[\"default\"] = PhoneNumberComponent;\nPhoneNumberComponent.editForm = PhoneNumber_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/phonenumber/PhoneNumber.js?\n}");
|
|
800
|
+
|
|
801
|
+
/***/ }),
|
|
802
|
+
|
|
803
|
+
/***/ "./lib/components/phonenumber/editForm/PhoneNumber.edit.display.js":
|
|
804
|
+
/*!*************************************************************************!*\
|
|
805
|
+
!*** ./lib/components/phonenumber/editForm/PhoneNumber.edit.display.js ***!
|
|
806
|
+
\*************************************************************************/
|
|
807
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
808
|
+
|
|
809
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'showCharCount',\n ignore: true\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/phonenumber/editForm/PhoneNumber.edit.display.js?\n}");
|
|
810
|
+
|
|
811
|
+
/***/ }),
|
|
812
|
+
|
|
813
|
+
/***/ "./lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js":
|
|
814
|
+
/*!****************************************************************************!*\
|
|
815
|
+
!*** ./lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js ***!
|
|
816
|
+
\****************************************************************************/
|
|
817
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
818
|
+
|
|
819
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validateOn',\n ignore: true,\n },\n {\n key: 'validate.minLength',\n ignore: true,\n },\n {\n key: 'validate.maxLength',\n ignore: true,\n },\n {\n key: 'validate.pattern',\n ignore: true,\n },\n {\n key: 'validate.minWords',\n ignore: true,\n },\n {\n key: 'validate.maxWords',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js?\n}");
|
|
820
|
+
|
|
821
|
+
/***/ }),
|
|
822
|
+
|
|
823
|
+
/***/ "./lib/components/radio/Radio.form.js":
|
|
824
|
+
/*!********************************************!*\
|
|
825
|
+
!*** ./lib/components/radio/Radio.form.js ***!
|
|
826
|
+
\********************************************/
|
|
827
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
828
|
+
|
|
829
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.radio.editForm;\nconst Radio_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Radio.edit.data */ \"./lib/components/radio/editForm/Radio.edit.data.js\"));\nconst Radio_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Radio.edit.display */ \"./lib/components/radio/editForm/Radio.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Radio_edit_display_1.default,\n },\n {\n key: 'data',\n components: Radio_edit_data_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/radio/Radio.form.js?\n}");
|
|
830
|
+
|
|
831
|
+
/***/ }),
|
|
832
|
+
|
|
833
|
+
/***/ "./lib/components/radio/Radio.js":
|
|
834
|
+
/*!***************************************!*\
|
|
835
|
+
!*** ./lib/components/radio/Radio.js ***!
|
|
836
|
+
\***************************************/
|
|
837
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
838
|
+
|
|
839
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Radio_form_1 = __importDefault(__webpack_require__(/*! ./Radio.form */ \"./lib/components/radio/Radio.form.js\"));\nconst Radio = js_1.Components.components.radio;\nRadio.editForm = Radio_form_1.default;\nconst attach = Radio.prototype.attach;\nRadio.prototype.attach = function (element) {\n const superResult = attach.call(this, element);\n this.loadRefs(element, {\n input: 'multiple',\n wrapper: 'multiple',\n radioGroup: 'single',\n messageContainer: 'single',\n label: 'single',\n });\n return superResult;\n};\nconst clearErrorClasses = Radio.prototype.clearErrorClasses;\nRadio.prototype.clearErrorClasses = function (elements) {\n clearErrorClasses.call(this, elements);\n const hiddenInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);\n if (hiddenInvalidEntryMessage) {\n this.refs.label.removeChild(hiddenInvalidEntryMessage);\n }\n this.clearErrorID('aria-labelledby', this.refs.radioGroup);\n};\nconst setErrorClasses = Radio.prototype.setErrorClasses;\nRadio.prototype.setErrorClasses = function (elements, dirty, hasErrors, hasMessage) {\n this.clearErrorClasses(elements);\n setErrorClasses.call(this, elements, dirty, hasErrors, hasMessage);\n if (hasErrors) {\n const hiddenInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);\n if (!hiddenInvalidEntryMessage) {\n this.addHiddenMessage(', invalid entry, ', this.refs.label);\n }\n if (this.refs.radioGroup) {\n this.addErrorID('aria-labelledby', this.refs.radioGroup);\n }\n }\n};\nexports[\"default\"] = Radio;\n\n\n//# sourceURL=webpack://vpat/./lib/components/radio/Radio.js?\n}");
|
|
840
|
+
|
|
841
|
+
/***/ }),
|
|
842
|
+
|
|
843
|
+
/***/ "./lib/components/radio/editForm/Radio.edit.data.js":
|
|
844
|
+
/*!**********************************************************!*\
|
|
845
|
+
!*** ./lib/components/radio/editForm/Radio.edit.data.js ***!
|
|
846
|
+
\**********************************************************/
|
|
847
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
848
|
+
|
|
849
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'multiple',\n ignore: true,\n },\n {\n key: 'clearOnHide',\n ignore: true,\n },\n {\n key: 'redrawOn',\n ignore: true,\n },\n {\n key: 'values',\n components: [\n {\n key: 'shortcut',\n ignore: true,\n },\n ],\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/radio/editForm/Radio.edit.data.js?\n}");
|
|
850
|
+
|
|
851
|
+
/***/ }),
|
|
852
|
+
|
|
853
|
+
/***/ "./lib/components/radio/editForm/Radio.edit.display.js":
|
|
854
|
+
/*!*************************************************************!*\
|
|
855
|
+
!*** ./lib/components/radio/editForm/Radio.edit.display.js ***!
|
|
856
|
+
\*************************************************************/
|
|
857
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
858
|
+
|
|
859
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'optionsLabelPosition',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/radio/editForm/Radio.edit.display.js?\n}");
|
|
860
|
+
|
|
861
|
+
/***/ }),
|
|
862
|
+
|
|
863
|
+
/***/ "./lib/components/recaptcha/ReCaptcha.js":
|
|
864
|
+
/*!***********************************************!*\
|
|
865
|
+
!*** ./lib/components/recaptcha/ReCaptcha.js ***!
|
|
866
|
+
\***********************************************/
|
|
867
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
868
|
+
|
|
869
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst ReCaptcha = js_1.Components.components.recaptcha;\nclass ReCaptchaComponent extends ReCaptcha {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = ReCaptchaComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/recaptcha/ReCaptcha.js?\n}");
|
|
870
|
+
|
|
871
|
+
/***/ }),
|
|
872
|
+
|
|
873
|
+
/***/ "./lib/components/select/Select.form.js":
|
|
874
|
+
/*!**********************************************!*\
|
|
875
|
+
!*** ./lib/components/select/Select.form.js ***!
|
|
876
|
+
\**********************************************/
|
|
877
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
878
|
+
|
|
879
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.select.editForm;\nconst Select_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Select.edit.data */ \"./lib/components/select/editForm/Select.edit.data.js\"));\nconst Select_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Select.edit.display */ \"./lib/components/select/editForm/Select.edit.display.js\"));\nconst Select_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/Select.edit.validation */ \"./lib/components/select/editForm/Select.edit.validation.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Select_edit_display_1.default,\n },\n {\n key: 'data',\n components: Select_edit_data_1.default,\n },\n {\n key: 'validation',\n components: Select_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/select/Select.form.js?\n}");
|
|
880
|
+
|
|
881
|
+
/***/ }),
|
|
882
|
+
|
|
883
|
+
/***/ "./lib/components/select/Select.js":
|
|
884
|
+
/*!*****************************************!*\
|
|
885
|
+
!*** ./lib/components/select/Select.js ***!
|
|
886
|
+
\*****************************************/
|
|
887
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
888
|
+
|
|
889
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Select_form_1 = __importDefault(__webpack_require__(/*! ./Select.form */ \"./lib/components/select/Select.form.js\"));\nconst Select = js_1.Components.components.select;\nclass SelectComponent extends Select {\n static schema(...extend) {\n return Select.schema({\n widget: 'html5',\n template: '',\n });\n }\n static get builderInfo() {\n return Object.assign(Object.assign({}, Select.builderInfo), { schema: SelectComponent.schema() });\n }\n get defaultSchema() {\n return SelectComponent.schema();\n }\n clearErrorClasses(elements) {\n const fields = elements || [this.refs.selectContainer];\n const hiddentInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);\n if (this.isIE() && hiddentInvalidEntryMessage) {\n this.refs.label.removeChild(hiddentInvalidEntryMessage);\n }\n super.clearErrorClasses(fields);\n }\n setErrorClasses(elements, dirty, hasErrors, hasMessages) {\n super.setErrorClasses(elements, dirty, hasErrors, hasMessages);\n const hiddentInvalidEntryMessage = document.getElementById(`invalid-entry-${this.id}`);\n if (hasErrors && this.isIE() && !hiddentInvalidEntryMessage) {\n this.addHiddenMessage(', invalid entry, ', this.refs.label);\n }\n }\n}\nexports[\"default\"] = SelectComponent;\nSelectComponent.editForm = Select_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/select/Select.js?\n}");
|
|
890
|
+
|
|
891
|
+
/***/ }),
|
|
892
|
+
|
|
893
|
+
/***/ "./lib/components/select/editForm/Select.edit.data.js":
|
|
894
|
+
/*!************************************************************!*\
|
|
895
|
+
!*** ./lib/components/select/editForm/Select.edit.data.js ***!
|
|
896
|
+
\************************************************************/
|
|
897
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
898
|
+
|
|
899
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'clearOnHide',\n ignore: true,\n },\n {\n key: 'multiple',\n ignore: true,\n },\n {\n key: 'customOptions',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/select/editForm/Select.edit.data.js?\n}");
|
|
900
|
+
|
|
901
|
+
/***/ }),
|
|
902
|
+
|
|
903
|
+
/***/ "./lib/components/select/editForm/Select.edit.display.js":
|
|
904
|
+
/*!***************************************************************!*\
|
|
905
|
+
!*** ./lib/components/select/editForm/Select.edit.display.js ***!
|
|
906
|
+
\***************************************************************/
|
|
907
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
908
|
+
|
|
909
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'widget',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/select/editForm/Select.edit.display.js?\n}");
|
|
910
|
+
|
|
911
|
+
/***/ }),
|
|
912
|
+
|
|
913
|
+
/***/ "./lib/components/select/editForm/Select.edit.validation.js":
|
|
914
|
+
/*!******************************************************************!*\
|
|
915
|
+
!*** ./lib/components/select/editForm/Select.edit.validation.js ***!
|
|
916
|
+
\******************************************************************/
|
|
917
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
918
|
+
|
|
919
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validateOn',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/select/editForm/Select.edit.validation.js?\n}");
|
|
920
|
+
|
|
921
|
+
/***/ }),
|
|
922
|
+
|
|
923
|
+
/***/ "./lib/components/selectboxes/SelectBoxes.form.js":
|
|
924
|
+
/*!********************************************************!*\
|
|
925
|
+
!*** ./lib/components/selectboxes/SelectBoxes.form.js ***!
|
|
926
|
+
\********************************************************/
|
|
927
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
928
|
+
|
|
929
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Radio_form_1 = __importDefault(__webpack_require__(/*! ../radio/Radio.form */ \"./lib/components/radio/Radio.form.js\"));\nconst SelectBoxes_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/SelectBoxes.edit.validation */ \"./lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js\"));\nfunction default_1(...extend) {\n return (0, Radio_form_1.default)([\n {\n key: 'data',\n components: [\n {\n key: 'dataType',\n ignore: true,\n },\n ]\n },\n {\n key: 'validation',\n components: SelectBoxes_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/selectboxes/SelectBoxes.form.js?\n}");
|
|
930
|
+
|
|
931
|
+
/***/ }),
|
|
932
|
+
|
|
933
|
+
/***/ "./lib/components/selectboxes/SelectBoxes.js":
|
|
934
|
+
/*!***************************************************!*\
|
|
935
|
+
!*** ./lib/components/selectboxes/SelectBoxes.js ***!
|
|
936
|
+
\***************************************************/
|
|
937
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
938
|
+
|
|
939
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst SelectBoxes_form_1 = __importDefault(__webpack_require__(/*! ./SelectBoxes.form */ \"./lib/components/selectboxes/SelectBoxes.form.js\"));\nconst SelectBoxes = js_1.Components.components.selectboxes;\nclass SelectBoxesComponent extends SelectBoxes {\n}\nexports[\"default\"] = SelectBoxesComponent;\nSelectBoxesComponent.editForm = SelectBoxes_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/selectboxes/SelectBoxes.js?\n}");
|
|
940
|
+
|
|
941
|
+
/***/ }),
|
|
942
|
+
|
|
943
|
+
/***/ "./lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js":
|
|
944
|
+
/*!****************************************************************************!*\
|
|
945
|
+
!*** ./lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js ***!
|
|
946
|
+
\****************************************************************************/
|
|
947
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
948
|
+
|
|
949
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n type: 'number',\n input: true,\n key: 'validate.minSelectedCount',\n label: 'Minimum checked number',\n tooltip: 'Minimum checkboxes required before form can be submitted.',\n weight: 250,\n },\n {\n type: 'number',\n input: true,\n key: 'validate.maxSelectedCount',\n label: 'Maximum checked number',\n tooltip: 'Maximum checkboxes possible before form can be submitted.',\n weight: 250,\n },\n {\n type: 'textfield',\n input: true,\n key: 'minSelectedCountMessage',\n label: 'Minimum checked error message',\n tooltip: 'Error message displayed if minimum number of items not checked.',\n weight: 250,\n },\n {\n type: 'textfield',\n input: true,\n key: 'maxSelectedCountMessage',\n label: 'Maximum checked error message',\n tooltip: 'Error message displayed if maximum number of items checked.',\n weight: 250,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js?\n}");
|
|
950
|
+
|
|
951
|
+
/***/ }),
|
|
952
|
+
|
|
953
|
+
/***/ "./lib/components/signature/Signature.js":
|
|
954
|
+
/*!***********************************************!*\
|
|
955
|
+
!*** ./lib/components/signature/Signature.js ***!
|
|
956
|
+
\***********************************************/
|
|
957
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
958
|
+
|
|
959
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Signature = js_1.Components.components.signature;\nclass SignatureComponent extends Signature {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = SignatureComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/signature/Signature.js?\n}");
|
|
960
|
+
|
|
961
|
+
/***/ }),
|
|
962
|
+
|
|
963
|
+
/***/ "./lib/components/sketchpad/Sketchpad.js":
|
|
964
|
+
/*!***********************************************!*\
|
|
965
|
+
!*** ./lib/components/sketchpad/Sketchpad.js ***!
|
|
966
|
+
\***********************************************/
|
|
967
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
968
|
+
|
|
969
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass Sketchpad {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = Sketchpad;\n\n\n//# sourceURL=webpack://vpat/./lib/components/sketchpad/Sketchpad.js?\n}");
|
|
970
|
+
|
|
971
|
+
/***/ }),
|
|
972
|
+
|
|
973
|
+
/***/ "./lib/components/survey/Survey.js":
|
|
974
|
+
/*!*****************************************!*\
|
|
975
|
+
!*** ./lib/components/survey/Survey.js ***!
|
|
976
|
+
\*****************************************/
|
|
977
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
978
|
+
|
|
979
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Survey = js_1.Components.components.survey;\nclass SurveyComponent extends Survey {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = SurveyComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/survey/Survey.js?\n}");
|
|
980
|
+
|
|
981
|
+
/***/ }),
|
|
982
|
+
|
|
983
|
+
/***/ "./lib/components/table/Table.form.js":
|
|
984
|
+
/*!********************************************!*\
|
|
985
|
+
!*** ./lib/components/table/Table.form.js ***!
|
|
986
|
+
\********************************************/
|
|
987
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
988
|
+
|
|
989
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.table.editForm;\nconst Table_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Table.edit.display */ \"./lib/components/table/editForm/Table.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: Table_edit_display_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/table/Table.form.js?\n}");
|
|
990
|
+
|
|
991
|
+
/***/ }),
|
|
992
|
+
|
|
993
|
+
/***/ "./lib/components/table/Table.js":
|
|
994
|
+
/*!***************************************!*\
|
|
995
|
+
!*** ./lib/components/table/Table.js ***!
|
|
996
|
+
\***************************************/
|
|
997
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
998
|
+
|
|
999
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Table_form_1 = __importDefault(__webpack_require__(/*! ./Table.form */ \"./lib/components/table/Table.form.js\"));\nconst Table = js_1.Components.components.table;\nclass TableComponent extends Table {\n}\nexports[\"default\"] = TableComponent;\nTableComponent.editForm = Table_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/table/Table.js?\n}");
|
|
1000
|
+
|
|
1001
|
+
/***/ }),
|
|
1002
|
+
|
|
1003
|
+
/***/ "./lib/components/table/editForm/Table.edit.display.js":
|
|
1004
|
+
/*!*************************************************************!*\
|
|
1005
|
+
!*** ./lib/components/table/editForm/Table.edit.display.js ***!
|
|
1006
|
+
\*************************************************************/
|
|
1007
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1008
|
+
|
|
1009
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'hideLabel',\n ignore: true\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'cellAlignment',\n ignore: true,\n },\n {\n key: 'hover',\n ignore: true,\n },\n {\n key: 'condensed',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/table/editForm/Table.edit.display.js?\n}");
|
|
1010
|
+
|
|
1011
|
+
/***/ }),
|
|
1012
|
+
|
|
1013
|
+
/***/ "./lib/components/tabs/Tabs.js":
|
|
1014
|
+
/*!*************************************!*\
|
|
1015
|
+
!*** ./lib/components/tabs/Tabs.js ***!
|
|
1016
|
+
\*************************************/
|
|
1017
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1018
|
+
|
|
1019
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Tabs = js_1.Components.components.tabs;\nclass TabsComponent extends Tabs {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = TabsComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/tabs/Tabs.js?\n}");
|
|
1020
|
+
|
|
1021
|
+
/***/ }),
|
|
1022
|
+
|
|
1023
|
+
/***/ "./lib/components/tagpad/Tagpad.js":
|
|
1024
|
+
/*!*****************************************!*\
|
|
1025
|
+
!*** ./lib/components/tagpad/Tagpad.js ***!
|
|
1026
|
+
\*****************************************/
|
|
1027
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1028
|
+
|
|
1029
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nclass Tagpad {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = Tagpad;\n\n\n//# sourceURL=webpack://vpat/./lib/components/tagpad/Tagpad.js?\n}");
|
|
1030
|
+
|
|
1031
|
+
/***/ }),
|
|
1032
|
+
|
|
1033
|
+
/***/ "./lib/components/tags/Tags.js":
|
|
1034
|
+
/*!*************************************!*\
|
|
1035
|
+
!*** ./lib/components/tags/Tags.js ***!
|
|
1036
|
+
\*************************************/
|
|
1037
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1038
|
+
|
|
1039
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Tags = js_1.Components.components.tags;\nclass TagsComponent extends Tags {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = TagsComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/tags/Tags.js?\n}");
|
|
1040
|
+
|
|
1041
|
+
/***/ }),
|
|
1042
|
+
|
|
1043
|
+
/***/ "./lib/components/textarea/TextArea.form.js":
|
|
1044
|
+
/*!**************************************************!*\
|
|
1045
|
+
!*** ./lib/components/textarea/TextArea.form.js ***!
|
|
1046
|
+
\**************************************************/
|
|
1047
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1048
|
+
|
|
1049
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ../textfield/TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst TextArea_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/TextArea.edit.display */ \"./lib/components/textarea/editForm/TextArea.edit.display.js\"));\nfunction default_1(...extend) {\n return (0, TextField_form_1.default)([\n {\n key: 'display',\n components: TextArea_edit_display_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/textarea/TextArea.form.js?\n}");
|
|
1050
|
+
|
|
1051
|
+
/***/ }),
|
|
1052
|
+
|
|
1053
|
+
/***/ "./lib/components/textarea/TextArea.js":
|
|
1054
|
+
/*!*********************************************!*\
|
|
1055
|
+
!*** ./lib/components/textarea/TextArea.js ***!
|
|
1056
|
+
\*********************************************/
|
|
1057
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1058
|
+
|
|
1059
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst TextArea_form_1 = __importDefault(__webpack_require__(/*! ./TextArea.form */ \"./lib/components/textarea/TextArea.form.js\"));\nconst TextArea = js_1.Components.components.textarea;\nclass TextAreaComponent extends TextArea {\n}\nexports[\"default\"] = TextAreaComponent;\nTextAreaComponent.editForm = TextArea_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/textarea/TextArea.js?\n}");
|
|
1060
|
+
|
|
1061
|
+
/***/ }),
|
|
1062
|
+
|
|
1063
|
+
/***/ "./lib/components/textarea/editForm/TextArea.edit.display.js":
|
|
1064
|
+
/*!*******************************************************************!*\
|
|
1065
|
+
!*** ./lib/components/textarea/editForm/TextArea.edit.display.js ***!
|
|
1066
|
+
\*******************************************************************/
|
|
1067
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1068
|
+
|
|
1069
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n type: 'number',\n input: true,\n key: 'rows',\n label: 'Rows',\n weight: 210,\n tooltip: 'This allows control over how many rows are visible in the text area.',\n placeholder: 'Enter the amount of rows',\n },\n {\n type: 'checkbox',\n input: true,\n key: 'showCharCount',\n defaultValue: false,\n label: 'Show Character count'\n }\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/textarea/editForm/TextArea.edit.display.js?\n}");
|
|
1070
|
+
|
|
1071
|
+
/***/ }),
|
|
1072
|
+
|
|
1073
|
+
/***/ "./lib/components/textfield/TextField.form.js":
|
|
1074
|
+
/*!****************************************************!*\
|
|
1075
|
+
!*** ./lib/components/textfield/TextField.form.js ***!
|
|
1076
|
+
\****************************************************/
|
|
1077
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1078
|
+
|
|
1079
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.textfield.editForm;\nconst TextField_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/TextField.edit.data */ \"./lib/components/textfield/editForm/TextField.edit.data.js\"));\nconst TextField_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/TextField.edit.display */ \"./lib/components/textfield/editForm/TextField.edit.display.js\"));\nconst TextField_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/TextField.edit.validation */ \"./lib/components/textfield/editForm/TextField.edit.validation.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: TextField_edit_display_1.default,\n },\n {\n key: 'data',\n components: TextField_edit_data_1.default,\n },\n {\n key: 'validation',\n components: TextField_edit_validation_1.default,\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/textfield/TextField.form.js?\n}");
|
|
1080
|
+
|
|
1081
|
+
/***/ }),
|
|
1082
|
+
|
|
1083
|
+
/***/ "./lib/components/textfield/TextField.js":
|
|
1084
|
+
/*!***********************************************!*\
|
|
1085
|
+
!*** ./lib/components/textfield/TextField.js ***!
|
|
1086
|
+
\***********************************************/
|
|
1087
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1088
|
+
|
|
1089
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Component_1 = __importDefault(__webpack_require__(/*! ../component/Component */ \"./lib/components/component/Component.js\"));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ./TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst TextField = js_1.Components.components.textfield;\nclass TextFieldComponent extends TextField {\n addInputError(message, dirty) {\n Component_1.default.prototype.addInputError.call(this, message, dirty);\n }\n}\nexports[\"default\"] = TextFieldComponent;\nTextFieldComponent.editForm = TextField_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/textfield/TextField.js?\n}");
|
|
1090
|
+
|
|
1091
|
+
/***/ }),
|
|
1092
|
+
|
|
1093
|
+
/***/ "./lib/components/textfield/editForm/TextField.edit.data.js":
|
|
1094
|
+
/*!******************************************************************!*\
|
|
1095
|
+
!*** ./lib/components/textfield/editForm/TextField.edit.data.js ***!
|
|
1096
|
+
\******************************************************************/
|
|
1097
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1098
|
+
|
|
1099
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'multiple',\n ignore: true,\n },\n {\n key: 'redrawOn',\n ignore: true,\n },\n {\n key: 'clearOnHide',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/textfield/editForm/TextField.edit.data.js?\n}");
|
|
1100
|
+
|
|
1101
|
+
/***/ }),
|
|
1102
|
+
|
|
1103
|
+
/***/ "./lib/components/textfield/editForm/TextField.edit.display.js":
|
|
1104
|
+
/*!*********************************************************************!*\
|
|
1105
|
+
!*** ./lib/components/textfield/editForm/TextField.edit.display.js ***!
|
|
1106
|
+
\*********************************************************************/
|
|
1107
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1108
|
+
|
|
1109
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n {\n key: 'widget.type',\n ignore: true,\n },\n {\n key: 'inputMask',\n ignore: true,\n },\n {\n key: 'inputMaskPlaceholderChar',\n ignore: true,\n },\n {\n key: 'allowMultipleMasks',\n ignore: true,\n },\n {\n key: 'mask',\n ignore: true,\n },\n {\n key: 'showWordCount',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/textfield/editForm/TextField.edit.display.js?\n}");
|
|
1110
|
+
|
|
1111
|
+
/***/ }),
|
|
1112
|
+
|
|
1113
|
+
/***/ "./lib/components/textfield/editForm/TextField.edit.validation.js":
|
|
1114
|
+
/*!************************************************************************!*\
|
|
1115
|
+
!*** ./lib/components/textfield/editForm/TextField.edit.validation.js ***!
|
|
1116
|
+
\************************************************************************/
|
|
1117
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1118
|
+
|
|
1119
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validateOn',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/textfield/editForm/TextField.edit.validation.js?\n}");
|
|
1120
|
+
|
|
1121
|
+
/***/ }),
|
|
1122
|
+
|
|
1123
|
+
/***/ "./lib/components/time/Time.form.js":
|
|
1124
|
+
/*!******************************************!*\
|
|
1125
|
+
!*** ./lib/components/time/Time.form.js ***!
|
|
1126
|
+
\******************************************/
|
|
1127
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1128
|
+
|
|
1129
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.time.editForm;\nconst Time_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Time.edit.data */ \"./lib/components/time/editForm/Time.edit.data.js\"));\nconst Time_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Time.edit.display */ \"./lib/components/time/editForm/Time.edit.display.js\"));\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'data',\n components: Time_edit_data_1.default,\n },\n {\n key: 'display',\n components: Time_edit_display_1.default,\n },\n {\n key: 'validation',\n components: [\n {\n key: 'validateOn',\n ignore: true,\n },\n ],\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/time/Time.form.js?\n}");
|
|
1130
|
+
|
|
1131
|
+
/***/ }),
|
|
1132
|
+
|
|
1133
|
+
/***/ "./lib/components/time/Time.js":
|
|
1134
|
+
/*!*************************************!*\
|
|
1135
|
+
!*** ./lib/components/time/Time.js ***!
|
|
1136
|
+
\*************************************/
|
|
1137
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1138
|
+
|
|
1139
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Time_form_1 = __importDefault(__webpack_require__(/*! ./Time.form */ \"./lib/components/time/Time.form.js\"));\nconst Time = js_1.Components.components.time;\nclass TimeComponent extends Time {\n setValueAt(index, value) {\n this.setRawValue(this.getValueAsString(value), index);\n this.refs.input[index].value = this.getRawValue(index);\n }\n}\nexports[\"default\"] = TimeComponent;\nTimeComponent.editForm = Time_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/time/Time.js?\n}");
|
|
1140
|
+
|
|
1141
|
+
/***/ }),
|
|
1142
|
+
|
|
1143
|
+
/***/ "./lib/components/time/editForm/Time.edit.data.js":
|
|
1144
|
+
/*!********************************************************!*\
|
|
1145
|
+
!*** ./lib/components/time/editForm/Time.edit.data.js ***!
|
|
1146
|
+
\********************************************************/
|
|
1147
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1148
|
+
|
|
1149
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'multiple',\n ignore: true,\n },\n {\n key: 'redrawOn',\n ignore: true,\n },\n {\n key: 'clearOnHide',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/time/editForm/Time.edit.data.js?\n}");
|
|
1150
|
+
|
|
1151
|
+
/***/ }),
|
|
1152
|
+
|
|
1153
|
+
/***/ "./lib/components/time/editForm/Time.edit.display.js":
|
|
1154
|
+
/*!***********************************************************!*\
|
|
1155
|
+
!*** ./lib/components/time/editForm/Time.edit.display.js ***!
|
|
1156
|
+
\***********************************************************/
|
|
1157
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1158
|
+
|
|
1159
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'labelPosition',\n ignore: true,\n },\n {\n key: 'placeholder',\n ignore: true,\n },\n {\n key: 'tabindex',\n ignore: true,\n },\n {\n key: 'hidden',\n ignore: true,\n },\n {\n key: 'hideLabel',\n ignore: true,\n },\n {\n key: 'autofocus',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/time/editForm/Time.edit.display.js?\n}");
|
|
1160
|
+
|
|
1161
|
+
/***/ }),
|
|
1162
|
+
|
|
1163
|
+
/***/ "./lib/components/tooltip/Tooltip.js":
|
|
1164
|
+
/*!*******************************************!*\
|
|
1165
|
+
!*** ./lib/components/tooltip/Tooltip.js ***!
|
|
1166
|
+
\*******************************************/
|
|
1167
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1168
|
+
|
|
1169
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TOOLTIP_WRAPPER_CLASS = 'formio-tooltip__wrapper';\nconst TOOLTIP_TRIGGER_CLASS = 'formio-tooltip__trigger';\nconst TOOLTIP_BODY_CLASS = 'formio-tooltip__body';\nconst SET_CLASS = 'formio-tooltip--is-set';\nconst ADJUST_WHITESPACE_CLASS = 'formio-tooltip__body--whitespace';\nconst MODAL_CLASS = 'formio-dialog-content';\nconst VERTICAL_SPACER = 5;\nconst SPACER = 2;\nconst ESC_KEYCODE = 27;\nclass Tooltip {\n constructor(triggerElement, config) {\n this.isResized = false;\n this.tooltipTrigger = triggerElement;\n this.config = config;\n if (this.config.title && !this.tooltipTrigger.classList.contains(TOOLTIP_TRIGGER_CLASS)) {\n this.init();\n }\n }\n init() {\n this.createTooltip();\n this.showTooltipListener = this.show.bind(this);\n this.hideTooltipListener = this.hideTooltipHandler.bind(this);\n this.addListeners(this.tooltipTrigger, 'mouseenter focus', this.showTooltipListener);\n this.addListeners(this.tooltipTrigger, 'mouseleave blur', this.hideTooltipListener);\n this.addListeners(document, 'keydown', this.hideTooltipListener);\n }\n dispose() {\n return this.destroy();\n }\n destroy() {\n if (this.tooltipContent) {\n this.removeListeners(this.tooltipTrigger, 'mouseenter focus', this.showTooltipListener);\n this.removeListeners(this.tooltipTrigger, 'mouseleave blur', this.hideTooltipListener);\n this.removeListeners(document, 'keydown', this.hideTooltipListener);\n }\n }\n addListeners(element, eventNames, listener) {\n const events = eventNames.split(' ');\n events.forEach((item) => {\n element.addEventListener(item, listener);\n });\n }\n removeListeners(element, eventNames, listener) {\n const events = eventNames.split(' ');\n events.forEach((item) => {\n element.removeEventListener(item, listener);\n });\n }\n getRandomId() {\n return Math.random().toString(36).substr(2, 10);\n }\n createTooltip() {\n const tooltipTriggerLabel = this.tooltipTrigger.getAttribute('aria-label');\n const tooltipLabelId = `tooltip_${this.getRandomId()}`;\n this.tooltipContent = this.config.title;\n this.wrapper = document.createElement('span');\n this.tooltipBody = document.createElement('span');\n this.position = this.config.position ? this.config.position : 'right';\n if (tooltipTriggerLabel) {\n this.tooltipTrigger.setAttribute('aria-label', `${tooltipTriggerLabel}. ${this.tooltipContent}`);\n }\n else {\n this.tooltipTrigger.setAttribute('aria-labelledby', tooltipLabelId);\n }\n this.tooltipTrigger.classList.add(TOOLTIP_TRIGGER_CLASS);\n this.tooltipTrigger.parentNode.insertBefore(this.wrapper, this.tooltipTrigger);\n this.wrapper.classList.add(TOOLTIP_WRAPPER_CLASS);\n this.wrapper.appendChild(this.tooltipTrigger);\n this.wrapper.appendChild(this.tooltipBody);\n this.tooltipBody.classList.add(TOOLTIP_BODY_CLASS);\n this.tooltipBody.setAttribute('id', tooltipLabelId);\n this.tooltipBody.setAttribute('role', 'tooltip');\n this.tooltipBody.setAttribute('aria-hidden', 'true');\n this.tooltipBody.innerHTML = this.tooltipContent;\n }\n getTooltipOffsetParent(element) {\n const offsetParent = element.offsetParent;\n return offsetParent ? offsetParent.offsetParent : null;\n }\n getRelativePosition(child, parent) {\n const childPosition = child.getBoundingClientRect();\n const parentPosition = parent.getBoundingClientRect();\n const relativeOffset = { top: 0, right: 0, left: 0, bottom: 0 };\n relativeOffset.top = childPosition.top - parentPosition.top;\n relativeOffset.right = childPosition.right - parentPosition.right;\n relativeOffset.left = childPosition.left - parentPosition.left;\n relativeOffset.bottom = childPosition.bottom - parentPosition.bottom;\n return relativeOffset;\n }\n isElementInViewport(element, isYAxis) {\n const docElement = document.documentElement;\n const rect = element.getBoundingClientRect();\n const offsetParent = this.getTooltipOffsetParent(element);\n const clientSize = isYAxis ? docElement.clientHeight : docElement.clientWidth;\n if (offsetParent && offsetParent.className === MODAL_CLASS) {\n const offsets = this.getRelativePosition(element, offsetParent);\n return isYAxis\n ? (offsets.top > 0 && offsets.bottom < 0)\n : (offsets.left > 0 && offsets.right < 0);\n }\n return isYAxis\n ? (rect.top >= 0 && rect.bottom <= clientSize)\n : (rect.left >= 0 && rect.right <= clientSize);\n }\n adjustHorizontalPosition(element) {\n const rect = element.getBoundingClientRect();\n const offsetParent = this.getTooltipOffsetParent(element);\n const clientWidth = document.documentElement.clientWidth;\n let offset = 0;\n if (offsetParent && offsetParent.className === MODAL_CLASS) {\n const offsets = this.getRelativePosition(element, offsetParent);\n if (offsets.left < 0) {\n return offsets.left - SPACER;\n }\n if (offsets.right > 0) {\n return -offsets.right + SPACER;\n }\n }\n if (rect.left < 0 && rect.right > clientWidth) {\n return offset;\n }\n if (rect.left < 0) {\n offset = rect.left - SPACER;\n }\n if (rect.right > clientWidth) {\n offset = rect.right - clientWidth + SPACER;\n }\n return offset;\n }\n positionTooltip() {\n this.tooltipBody.setAttribute('aria-hidden', 'false');\n this.tooltipBody.classList.add(SET_CLASS);\n const tooltipWidth = this.tooltipTrigger.offsetWidth;\n const tooltipHeight = this.tooltipTrigger.offsetHeight;\n const leftOffset = this.tooltipTrigger.offsetLeft;\n const adjustHorizontalCenter = tooltipWidth / 2 + leftOffset;\n const adjustToEdgeX = tooltipWidth + SPACER;\n const adjustToEdgeY = tooltipHeight + VERTICAL_SPACER + SPACER;\n const setPositionClass = (position) => {\n this.isResized = false;\n this.tooltipBody.classList.remove(`${TOOLTIP_BODY_CLASS}--top`);\n this.tooltipBody.classList.remove(`${TOOLTIP_BODY_CLASS}--bottom`);\n this.tooltipBody.classList.remove(`${TOOLTIP_BODY_CLASS}--right`);\n this.tooltipBody.classList.remove(`${TOOLTIP_BODY_CLASS}--left`);\n this.tooltipBody.classList.remove(`${TOOLTIP_BODY_CLASS}--whitespace`);\n this.tooltipBody.classList.add(`${TOOLTIP_BODY_CLASS}--${position}`);\n };\n const adjustTooltipBody = (element, updateMargins) => {\n if (!this.isElementInViewport(element, false)) {\n element.classList.add(ADJUST_WHITESPACE_CLASS);\n this.isResized = true;\n if (updateMargins) {\n updateMargins();\n }\n }\n };\n const positionTop = (element) => {\n setPositionClass('top');\n const setMargins = () => {\n const offset = this.isResized ? this.adjustHorizontalPosition(element) : 0;\n element.style.marginLeft = `${adjustHorizontalCenter - offset}px`;\n element.style.marginBottom = `${adjustToEdgeY}px`;\n element.style.bottom = '0';\n };\n setMargins();\n adjustTooltipBody(element, setMargins);\n };\n const positionBottom = (element) => {\n setPositionClass('bottom');\n const setMargins = () => {\n const offset = this.isResized ? this.adjustHorizontalPosition(element) : 0;\n element.style.marginLeft = `${adjustHorizontalCenter - offset}px`;\n element.style.marginTop = `${adjustToEdgeY}px`;\n element.style.bottom = '';\n };\n setMargins();\n adjustTooltipBody(element, setMargins);\n };\n const positionRight = (element) => {\n setPositionClass('right');\n const setMargins = () => {\n element.style.marginBottom = '0';\n element.style.marginLeft = `${adjustToEdgeX + leftOffset + SPACER}px`;\n element.style.bottom = `${(adjustToEdgeY - this.tooltipBody.offsetHeight) / 2}px`;\n };\n setMargins();\n adjustTooltipBody(element, setMargins);\n };\n const positionLeft = (element) => {\n setPositionClass('left');\n const setMargins = () => {\n element.style.marginBottom = '0';\n element.style.marginLeft = `${leftOffset - this.tooltipBody.offsetWidth - SPACER}px`;\n element.style.bottom = `${(adjustToEdgeY - this.tooltipBody.offsetHeight) / 2}px`;\n };\n setMargins();\n adjustTooltipBody(element, setMargins);\n };\n const changePositionAxis = (element) => {\n positionTop(element);\n if (!this.isElementInViewport(element, true)) {\n positionBottom(element);\n }\n };\n switch (this.position) {\n case 'top':\n positionTop(this.tooltipBody);\n if (!this.isElementInViewport(this.tooltipBody, true)) {\n positionBottom(this.tooltipBody);\n }\n break;\n case 'bottom':\n positionBottom(this.tooltipBody);\n if (!this.isElementInViewport(this.tooltipBody, true)) {\n positionTop(this.tooltipBody);\n }\n break;\n case 'right':\n positionRight(this.tooltipBody);\n if (!this.isElementInViewport(this.tooltipBody, false)) {\n positionLeft(this.tooltipBody);\n if (!this.isElementInViewport(this.tooltipBody, false)) {\n changePositionAxis(this.tooltipBody);\n }\n }\n if (!this.isElementInViewport(this.tooltipBody, true)) {\n changePositionAxis(this.tooltipBody);\n }\n break;\n case 'left':\n positionLeft(this.tooltipBody);\n if (!this.isElementInViewport(this.tooltipBody, false)) {\n positionRight(this.tooltipBody);\n if (!this.isElementInViewport(this.tooltipBody, false)) {\n changePositionAxis(this.tooltipBody);\n }\n }\n if (!this.isElementInViewport(this.tooltipBody, true)) {\n changePositionAxis(this.tooltipBody);\n }\n break;\n }\n }\n show() {\n this.positionTooltip();\n }\n hide() {\n this.tooltipBody.classList.remove(SET_CLASS);\n this.tooltipBody.setAttribute('aria-hidden', 'true');\n }\n hideTooltipHandler(event) {\n if (!(event.type === 'keydown' && event.keyCode !== ESC_KEYCODE)) {\n this.hide();\n }\n }\n}\nexports[\"default\"] = Tooltip;\n\n\n//# sourceURL=webpack://vpat/./lib/components/tooltip/Tooltip.js?\n}");
|
|
1170
|
+
|
|
1171
|
+
/***/ }),
|
|
1172
|
+
|
|
1173
|
+
/***/ "./lib/components/unknown/Unknown.js":
|
|
1174
|
+
/*!*******************************************!*\
|
|
1175
|
+
!*** ./lib/components/unknown/Unknown.js ***!
|
|
1176
|
+
\*******************************************/
|
|
1177
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1178
|
+
|
|
1179
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Unknown = js_1.Components.components.unknown;\nclass UnknownComponent extends Unknown {\n static get builderInfo() {\n return {};\n }\n}\nexports[\"default\"] = UnknownComponent;\n\n\n//# sourceURL=webpack://vpat/./lib/components/unknown/Unknown.js?\n}");
|
|
1180
|
+
|
|
1181
|
+
/***/ }),
|
|
1182
|
+
|
|
1183
|
+
/***/ "./lib/components/url/Url.form.js":
|
|
1184
|
+
/*!****************************************!*\
|
|
1185
|
+
!*** ./lib/components/url/Url.form.js ***!
|
|
1186
|
+
\****************************************/
|
|
1187
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1188
|
+
|
|
1189
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst TextField_form_1 = __importDefault(__webpack_require__(/*! ../textfield/TextField.form */ \"./lib/components/textfield/TextField.form.js\"));\nconst Url_edit_display_1 = __importDefault(__webpack_require__(/*! ./editForm/Url.edit.display */ \"./lib/components/url/editForm/Url.edit.display.js\"));\nconst Url_edit_data_1 = __importDefault(__webpack_require__(/*! ./editForm/Url.edit.data */ \"./lib/components/url/editForm/Url.edit.data.js\"));\nconst Url_edit_validation_1 = __importDefault(__webpack_require__(/*! ./editForm/Url.edit.validation */ \"./lib/components/url/editForm/Url.edit.validation.js\"));\nfunction default_1(...extend) {\n return (0, TextField_form_1.default)([\n {\n key: 'display',\n components: Url_edit_display_1.default\n },\n {\n key: 'data',\n components: Url_edit_data_1.default\n },\n {\n key: 'validation',\n components: Url_edit_validation_1.default\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/url/Url.form.js?\n}");
|
|
1190
|
+
|
|
1191
|
+
/***/ }),
|
|
1192
|
+
|
|
1193
|
+
/***/ "./lib/components/url/Url.js":
|
|
1194
|
+
/*!***********************************!*\
|
|
1195
|
+
!*** ./lib/components/url/Url.js ***!
|
|
1196
|
+
\***********************************/
|
|
1197
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1198
|
+
|
|
1199
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Url_form_1 = __importDefault(__webpack_require__(/*! ./Url.form */ \"./lib/components/url/Url.form.js\"));\nconst Url = js_1.Components.components.url;\nclass UrlComponent extends Url {\n}\nexports[\"default\"] = UrlComponent;\nUrlComponent.editForm = Url_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/url/Url.js?\n}");
|
|
1200
|
+
|
|
1201
|
+
/***/ }),
|
|
1202
|
+
|
|
1203
|
+
/***/ "./lib/components/url/editForm/Url.edit.data.js":
|
|
1204
|
+
/*!******************************************************!*\
|
|
1205
|
+
!*** ./lib/components/url/editForm/Url.edit.data.js ***!
|
|
1206
|
+
\******************************************************/
|
|
1207
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1208
|
+
|
|
1209
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'case',\n ignore: true\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/url/editForm/Url.edit.data.js?\n}");
|
|
1210
|
+
|
|
1211
|
+
/***/ }),
|
|
1212
|
+
|
|
1213
|
+
/***/ "./lib/components/url/editForm/Url.edit.display.js":
|
|
1214
|
+
/*!*********************************************************!*\
|
|
1215
|
+
!*** ./lib/components/url/editForm/Url.edit.display.js ***!
|
|
1216
|
+
\*********************************************************/
|
|
1217
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1218
|
+
|
|
1219
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'showCharCount',\n ignore: true\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/url/editForm/Url.edit.display.js?\n}");
|
|
1220
|
+
|
|
1221
|
+
/***/ }),
|
|
1222
|
+
|
|
1223
|
+
/***/ "./lib/components/url/editForm/Url.edit.validation.js":
|
|
1224
|
+
/*!************************************************************!*\
|
|
1225
|
+
!*** ./lib/components/url/editForm/Url.edit.validation.js ***!
|
|
1226
|
+
\************************************************************/
|
|
1227
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1228
|
+
|
|
1229
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = [\n {\n key: 'validate.minWords',\n ignore: true,\n },\n {\n key: 'validate.maxWords',\n ignore: true,\n },\n];\n\n\n//# sourceURL=webpack://vpat/./lib/components/url/editForm/Url.edit.validation.js?\n}");
|
|
1230
|
+
|
|
1231
|
+
/***/ }),
|
|
1232
|
+
|
|
1233
|
+
/***/ "./lib/components/well/Well.form.js":
|
|
1234
|
+
/*!******************************************!*\
|
|
1235
|
+
!*** ./lib/components/well/Well.form.js ***!
|
|
1236
|
+
\******************************************/
|
|
1237
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1238
|
+
|
|
1239
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst baseEditForm = js_1.Components.components.well.editForm;\nfunction default_1(...extend) {\n return baseEditForm([\n {\n key: 'display',\n components: [\n {\n key: 'hideLabel',\n ignore: true\n },\n ],\n },\n ], ...extend);\n}\nexports[\"default\"] = default_1;\n\n\n//# sourceURL=webpack://vpat/./lib/components/well/Well.form.js?\n}");
|
|
1240
|
+
|
|
1241
|
+
/***/ }),
|
|
1242
|
+
|
|
1243
|
+
/***/ "./lib/components/well/Well.js":
|
|
1244
|
+
/*!*************************************!*\
|
|
1245
|
+
!*** ./lib/components/well/Well.js ***!
|
|
1246
|
+
\*************************************/
|
|
1247
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1248
|
+
|
|
1249
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Well_form_1 = __importDefault(__webpack_require__(/*! ./Well.form */ \"./lib/components/well/Well.form.js\"));\nconst Well = js_1.Components.components.well;\nclass WellComponent extends Well {\n}\nexports[\"default\"] = WellComponent;\nWellComponent.editForm = Well_form_1.default;\n\n\n//# sourceURL=webpack://vpat/./lib/components/well/Well.js?\n}");
|
|
1250
|
+
|
|
1251
|
+
/***/ }),
|
|
1252
|
+
|
|
1253
|
+
/***/ "./lib/displays/index.js":
|
|
1254
|
+
/*!*******************************!*\
|
|
1255
|
+
!*** ./lib/displays/index.js ***!
|
|
1256
|
+
\*******************************/
|
|
1257
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1258
|
+
|
|
1259
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Webform_1 = __importDefault(__webpack_require__(/*! ../Webform */ \"./lib/Webform.js\"));\nconst Wizard_1 = __importDefault(__webpack_require__(/*! ../Wizard */ \"./lib/Wizard.js\"));\nexports[\"default\"] = {\n webform: Webform_1.default,\n wizard: Wizard_1.default,\n};\n\n\n//# sourceURL=webpack://vpat/./lib/displays/index.js?\n}");
|
|
1260
|
+
|
|
1261
|
+
/***/ }),
|
|
1262
|
+
|
|
1263
|
+
/***/ "./lib/index.js":
|
|
1264
|
+
/*!**********************!*\
|
|
1265
|
+
!*** ./lib/index.js ***!
|
|
1266
|
+
\**********************/
|
|
1267
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1268
|
+
|
|
1269
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst builders_1 = __importDefault(__webpack_require__(/*! ./builders */ \"./lib/builders/index.js\"));\nconst components_1 = __importDefault(__webpack_require__(/*! ./components */ \"./lib/components/index.js\"));\nconst displays_1 = __importDefault(__webpack_require__(/*! ./displays */ \"./lib/displays/index.js\"));\nconst plugins_1 = __importDefault(__webpack_require__(/*! ./plugins */ \"./lib/plugins/index.js\"));\nconst providers_1 = __importDefault(__webpack_require__(/*! ./providers */ \"./lib/providers/index.js\"));\nconst templates_1 = __importDefault(__webpack_require__(/*! ./templates */ \"./lib/templates/index.js\"));\nconst widgets_1 = __importDefault(__webpack_require__(/*! ./widgets */ \"./lib/widgets/index.js\"));\nexports[\"default\"] = {\n builders: builders_1.default,\n components: components_1.default,\n displays: displays_1.default,\n plugins: plugins_1.default,\n providers: providers_1.default,\n templates: templates_1.default,\n widgets: widgets_1.default,\n};\n\n\n//# sourceURL=webpack://vpat/./lib/index.js?\n}");
|
|
1270
|
+
|
|
1271
|
+
/***/ }),
|
|
1272
|
+
|
|
1273
|
+
/***/ "./lib/plugins/index.js":
|
|
1274
|
+
/*!******************************!*\
|
|
1275
|
+
!*** ./lib/plugins/index.js ***!
|
|
1276
|
+
\******************************/
|
|
1277
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1278
|
+
|
|
1279
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/plugins/index.js?\n}");
|
|
1280
|
+
|
|
1281
|
+
/***/ }),
|
|
1282
|
+
|
|
1283
|
+
/***/ "./lib/providers/auth/index.js":
|
|
1284
|
+
/*!*************************************!*\
|
|
1285
|
+
!*** ./lib/providers/auth/index.js ***!
|
|
1286
|
+
\*************************************/
|
|
1287
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1288
|
+
|
|
1289
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/providers/auth/index.js?\n}");
|
|
1290
|
+
|
|
1291
|
+
/***/ }),
|
|
1292
|
+
|
|
1293
|
+
/***/ "./lib/providers/index.js":
|
|
1294
|
+
/*!********************************!*\
|
|
1295
|
+
!*** ./lib/providers/index.js ***!
|
|
1296
|
+
\********************************/
|
|
1297
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1298
|
+
|
|
1299
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst auth_1 = __importDefault(__webpack_require__(/*! ./auth */ \"./lib/providers/auth/index.js\"));\nconst storage_1 = __importDefault(__webpack_require__(/*! ./storage */ \"./lib/providers/storage/index.js\"));\nexports[\"default\"] = {\n auth: auth_1.default,\n storage: storage_1.default,\n};\n\n\n//# sourceURL=webpack://vpat/./lib/providers/index.js?\n}");
|
|
1300
|
+
|
|
1301
|
+
/***/ }),
|
|
1302
|
+
|
|
1303
|
+
/***/ "./lib/providers/storage/index.js":
|
|
1304
|
+
/*!****************************************!*\
|
|
1305
|
+
!*** ./lib/providers/storage/index.js ***!
|
|
1306
|
+
\****************************************/
|
|
1307
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1308
|
+
|
|
1309
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/providers/storage/index.js?\n}");
|
|
1310
|
+
|
|
1311
|
+
/***/ }),
|
|
1312
|
+
|
|
1313
|
+
/***/ "./lib/templates/index.js":
|
|
1314
|
+
/*!********************************!*\
|
|
1315
|
+
!*** ./lib/templates/index.js ***!
|
|
1316
|
+
\********************************/
|
|
1317
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1318
|
+
|
|
1319
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/templates/index.js?\n}");
|
|
1320
|
+
|
|
1321
|
+
/***/ }),
|
|
1322
|
+
|
|
1323
|
+
/***/ "./lib/util/index.js":
|
|
1324
|
+
/*!***************************!*\
|
|
1325
|
+
!*** ./lib/util/index.js ***!
|
|
1326
|
+
\***************************/
|
|
1327
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1328
|
+
|
|
1329
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {\n override(classObj, extenders) {\n for (const key in extenders) {\n if (extenders.hasOwnProperty(key)) {\n const extender = extenders[key];\n if (typeof extender === 'function') {\n classObj.prototype[key] = extender;\n }\n else {\n const prop = Object.getOwnPropertyDescriptor(classObj.prototype, key);\n for (const attr in extender) {\n if (extender.hasOwnProperty(attr)) {\n prop[attr] = extender[attr](prop[attr]);\n }\n }\n Object.defineProperty(classObj.prototype, key, prop);\n }\n }\n }\n }\n};\n\n\n//# sourceURL=webpack://vpat/./lib/util/index.js?\n}");
|
|
1330
|
+
|
|
1331
|
+
/***/ }),
|
|
1332
|
+
|
|
1333
|
+
/***/ "./lib/util/modalUtils.js":
|
|
1334
|
+
/*!********************************!*\
|
|
1335
|
+
!*** ./lib/util/modalUtils.js ***!
|
|
1336
|
+
\********************************/
|
|
1337
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
1338
|
+
|
|
1339
|
+
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getFocusableElements = exports.focusTrap = exports.toggleHideBackgroundElements = void 0;\nconst FOCUSABLE_SELECTOR = `button:not([disabled]), [href], [role=\"link\"], input:not([disabled]),\n select:not([disabled]), textarea:not([disabled]), [tabindex]:not([disabled]), iframe`;\nconst HEADER_SELECTOR = 'h1, h2, h3, h4, h5, h6';\nconst TAB_KEYCODE = 9;\nconst toggleHideBackgroundElements = (element, flag) => {\n const documentFocusableElements = Array.prototype.slice.call(document.querySelectorAll(FOCUSABLE_SELECTOR));\n const modalFocusableElements = Array.prototype.slice.call(element.querySelectorAll(FOCUSABLE_SELECTOR));\n const elementsToHide = documentFocusableElements.filter(element => modalFocusableElements.indexOf(element) < 0);\n const documentHeaders = Array.prototype.slice.call(document.querySelectorAll(HEADER_SELECTOR));\n const modalHeaders = Array.prototype.slice.call(element.querySelectorAll(HEADER_SELECTOR));\n const headersToHide = documentHeaders.filter(element => modalHeaders.indexOf(element) < 0);\n elementsToHide.forEach(element => {\n const tabIndex = element.getAttribute('tabindex');\n if (flag) {\n if (tabIndex !== null) {\n element.dataset.tabindex = tabIndex;\n }\n element.tabIndex = -1;\n element.setAttribute('aria-hidden', true);\n }\n else {\n const dataTabIndex = element.dataset.tabindex;\n if (dataTabIndex !== undefined) {\n element.tabIndex = dataTabIndex;\n element.removeAttribute('data-tabindex');\n }\n else if (tabIndex === '-1') {\n element.removeAttribute('tabindex');\n }\n element.removeAttribute('aria-hidden');\n }\n });\n headersToHide.forEach(element => {\n if (flag) {\n element.setAttribute('aria-hidden', true);\n }\n else {\n element.removeAttribute('aria-hidden');\n }\n });\n};\nexports.toggleHideBackgroundElements = toggleHideBackgroundElements;\nconst focusTrap = (focusableElements, event) => {\n const firstFocusableElement = focusableElements[0];\n const lastFocusableElement = focusableElements[focusableElements.length - 1];\n if (event.keyCode === TAB_KEYCODE) {\n if (event.target === firstFocusableElement && event.shiftKey) {\n event.preventDefault();\n lastFocusableElement.focus();\n }\n if (event.target === lastFocusableElement && !event.shiftKey) {\n event.preventDefault();\n firstFocusableElement.focus();\n }\n }\n};\nexports.focusTrap = focusTrap;\nconst getFocusableElements = (container) => [...container.querySelectorAll(FOCUSABLE_SELECTOR)];\nexports.getFocusableElements = getFocusableElements;\n\n\n//# sourceURL=webpack://vpat/./lib/util/modalUtils.js?\n}");
|
|
1340
|
+
|
|
1341
|
+
/***/ }),
|
|
1342
|
+
|
|
1343
|
+
/***/ "./lib/widgets/CalendarWidget.js":
|
|
1344
|
+
/*!***************************************!*\
|
|
1345
|
+
!*** ./lib/widgets/CalendarWidget.js ***!
|
|
1346
|
+
\***************************************/
|
|
1347
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1348
|
+
|
|
1349
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst js_1 = __webpack_require__(/*! @formio/js */ \"@formio/js\");\nconst Calendar = js_1.Widgets.calendar;\nconst util_1 = __importDefault(__webpack_require__(/*! ../util */ \"./lib/util/index.js\"));\nconst transform = (type, value) => {\n return js_1.Templates.current.hasOwnProperty('transform') ? js_1.Templates.current.transform(type, value) : value;\n};\nutil_1.default.override(Calendar, {\n attach: {\n value: (_super) => {\n return function attach(input) {\n const widgetTitle = !this.settings.noCalendar\n ? this.settings.enableTime\n ? 'Date/Time widget'\n : 'Calendar widget'\n : 'Time widget';\n const handleLiveRegion = (element, text) => {\n if (element) {\n element.innerHTML = text;\n }\n };\n const liveRegion = document.getElementById(`${this.component.id}-liveRegion`);\n this.settings.altInputClass = '';\n this.settings.onDayCreate = (dObj, dStr, fp, dayElem) => {\n const label = dayElem.getAttribute('aria-label');\n const elementText = dayElem.innerHTML;\n dayElem.innerHTML = `<span aria-hidden=\"true\">${elementText}</span><span class=\"${transform('class', 'sr-only')}\">${label}</span>`;\n };\n const labelledbyIds = input.getAttribute('aria-labelledby');\n this.options.hooks = this.options.hooks || {};\n this.options.hooks.onCalendarOpen = () => {\n handleLiveRegion(liveRegion, '');\n setTimeout(() => {\n handleLiveRegion(liveRegion, `${widgetTitle} has been opened`);\n }, 50);\n };\n this.options.hooks.onCalendarClose = () => {\n handleLiveRegion(liveRegion, `${widgetTitle} has been closed`);\n };\n const superAttach = _super.call(this, input);\n return superAttach.then(() => {\n if (this._input && this.calendar.calendarContainer) {\n const calendar = this.calendar;\n calendar.calendarContainer.setAttribute('role', 'application');\n calendar.altInput.id = this._input.id;\n calendar.altInput.setAttribute('aria-labelledby', labelledbyIds);\n this._input.removeAttribute('id');\n this._input.removeAttribute('aria-labelledby');\n const isRequired = this._input.getAttribute('aria-required');\n if (isRequired) {\n calendar.altInput.setAttribute('aria-required', isRequired);\n }\n const monthToStr = (monthNumber, locale) => locale.months.longhand[monthNumber];\n const switchMonth = (e) => {\n const prevMonthNav = calendar.prevMonthNav;\n const nextMonthNav = calendar.nextMonthNav;\n const isPrevMonth = prevMonthNav.contains(e.target);\n const isNextMonth = nextMonthNav.contains(e.target);\n const changeMonth = (value) => {\n calendar.changeMonth.call(this, value);\n handleLiveRegion(liveRegion, `Switched to ${monthToStr(calendar.currentMonth, calendar.l10n)}, ${calendar.currentYear}`);\n };\n if (e.type === 'keydown') {\n if (e.keyCode === 32 || e.keyCode === 13) {\n if (isPrevMonth || isNextMonth) {\n e.preventDefault();\n changeMonth(isPrevMonth ? -1 : 1);\n }\n }\n }\n if (e.type === 'click') {\n if (isPrevMonth || isNextMonth) {\n e.preventDefault();\n handleLiveRegion(liveRegion, `Switched to ${monthToStr(calendar.currentMonth, calendar.l10n)}, ${calendar.currentYear}`);\n }\n }\n };\n const switchPeriod = (e) => {\n const periodContainer = calendar.amPM;\n const oppositePeriod = periodContainer.innerHTML === 'AM' ? 'PM' : 'AM';\n if (e.type === 'click' || e.keyCode === 38 || e.keyCode === 40) {\n periodContainer.setAttribute('aria-label', `${oppositePeriod}. Use arrow keys to switch period`);\n handleLiveRegion(liveRegion, `Switched to ${oppositePeriod}`);\n }\n };\n const monthNav = calendar.monthNav;\n this.addEventListener(monthNav, 'keydown', switchMonth);\n this.addEventListener(monthNav, 'click', switchMonth);\n this.addEventListener(calendar.amPM, 'keydown', switchPeriod);\n this.addEventListener(calendar.amPM, 'click', switchPeriod);\n const setTabindexAndLabel = (element, label) => {\n if (element) {\n element.setAttribute('tabindex', '0');\n element.setAttribute('aria-label', label);\n element.removeAttribute('title');\n }\n };\n setTabindexAndLabel(calendar.prevMonthNav, 'Previous month button. Click to select previous month');\n setTabindexAndLabel(calendar.nextMonthNav, 'Next month button. Click to select next month');\n setTabindexAndLabel(calendar.monthsDropdownContainer, 'Months dropdown');\n setTabindexAndLabel(calendar.currentYearElement, 'Year spin button');\n setTabindexAndLabel(calendar.daysContainer, 'Calendar grid. Use arrow keys to navigate dates.');\n if (this.settings.enableTime && calendar.amPM) {\n setTabindexAndLabel(calendar.amPM, `${calendar.amPM.innerHTML}. Use arrow keys to switch period`);\n }\n }\n });\n };\n }\n }\n});\nexports[\"default\"] = Calendar;\n\n\n//# sourceURL=webpack://vpat/./lib/widgets/CalendarWidget.js?\n}");
|
|
1350
|
+
|
|
1351
|
+
/***/ }),
|
|
1352
|
+
|
|
1353
|
+
/***/ "./lib/widgets/index.js":
|
|
1354
|
+
/*!******************************!*\
|
|
1355
|
+
!*** ./lib/widgets/index.js ***!
|
|
1356
|
+
\******************************/
|
|
1357
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
1358
|
+
|
|
1359
|
+
eval("{\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst CalendarWidget_1 = __importDefault(__webpack_require__(/*! ./CalendarWidget */ \"./lib/widgets/CalendarWidget.js\"));\nexports[\"default\"] = {\n calendar: CalendarWidget_1.default,\n};\n\n\n//# sourceURL=webpack://vpat/./lib/widgets/index.js?\n}");
|
|
1360
|
+
|
|
1361
|
+
/***/ }),
|
|
1362
|
+
|
|
1363
|
+
/***/ "@formio/js":
|
|
1364
|
+
/*!*************************!*\
|
|
1365
|
+
!*** external "Formio" ***!
|
|
1366
|
+
\*************************/
|
|
1367
|
+
/***/ ((module) => {
|
|
1368
|
+
|
|
1369
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__formio_js__;
|
|
1370
|
+
|
|
1371
|
+
/***/ })
|
|
1372
|
+
|
|
1373
|
+
/******/ });
|
|
1374
|
+
/************************************************************************/
|
|
1375
|
+
/******/ // The module cache
|
|
1376
|
+
/******/ var __webpack_module_cache__ = {};
|
|
1377
|
+
/******/
|
|
1378
|
+
/******/ // The require function
|
|
1379
|
+
/******/ function __webpack_require__(moduleId) {
|
|
1380
|
+
/******/ // Check if module is in cache
|
|
1381
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1382
|
+
/******/ if (cachedModule !== undefined) {
|
|
1383
|
+
/******/ return cachedModule.exports;
|
|
1384
|
+
/******/ }
|
|
1385
|
+
/******/ // Create a new module (and put it into the cache)
|
|
1386
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1387
|
+
/******/ // no module.id needed
|
|
1388
|
+
/******/ // no module.loaded needed
|
|
1389
|
+
/******/ exports: {}
|
|
1390
|
+
/******/ };
|
|
1391
|
+
/******/
|
|
1392
|
+
/******/ // Execute the module function
|
|
1393
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
1394
|
+
/******/
|
|
1395
|
+
/******/ // Return the exports of the module
|
|
1396
|
+
/******/ return module.exports;
|
|
1397
|
+
/******/ }
|
|
1398
|
+
/******/
|
|
1399
|
+
/************************************************************************/
|
|
1400
|
+
/******/
|
|
1401
|
+
/******/ // startup
|
|
1402
|
+
/******/ // Load entry module and return exports
|
|
1403
|
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
1404
|
+
/******/ var __webpack_exports__ = __webpack_require__("./lib/index.js");
|
|
1405
|
+
/******/ __webpack_exports__ = __webpack_exports__["default"];
|
|
1406
|
+
/******/
|
|
1407
|
+
/******/ return __webpack_exports__;
|
|
1408
|
+
/******/ })()
|
|
1409
|
+
;
|
|
1410
|
+
});
|