@formio/vpat 2.7.0 → 2.7.1-api98.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/LICENSE +135 -0
- package/dist/vpat.js +411 -405
- package/dist/vpat.min.js +1 -1
- package/package.json +3 -3
package/dist/vpat.js
CHANGED
|
@@ -20,1355 +20,1355 @@ return /******/ (() => { // webpackBootstrap
|
|
|
20
20
|
/******/ "use strict";
|
|
21
21
|
/******/ var __webpack_modules__ = ({
|
|
22
22
|
|
|
23
|
-
/***/ "./lib/Webform.js"
|
|
23
|
+
/***/ "./lib/Webform.js"
|
|
24
24
|
/*!************************!*\
|
|
25
25
|
!*** ./lib/Webform.js ***!
|
|
26
26
|
\************************/
|
|
27
|
-
|
|
27
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
28
28
|
|
|
29
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
30
|
|
|
31
|
-
/***/ }
|
|
31
|
+
/***/ },
|
|
32
32
|
|
|
33
|
-
/***/ "./lib/WebformBuilder.js"
|
|
33
|
+
/***/ "./lib/WebformBuilder.js"
|
|
34
34
|
/*!*******************************!*\
|
|
35
35
|
!*** ./lib/WebformBuilder.js ***!
|
|
36
36
|
\*******************************/
|
|
37
|
-
|
|
37
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
38
38
|
|
|
39
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
40
|
|
|
41
|
-
/***/ }
|
|
41
|
+
/***/ },
|
|
42
42
|
|
|
43
|
-
/***/ "./lib/Wizard.js"
|
|
43
|
+
/***/ "./lib/Wizard.js"
|
|
44
44
|
/*!***********************!*\
|
|
45
45
|
!*** ./lib/Wizard.js ***!
|
|
46
46
|
\***********************/
|
|
47
|
-
|
|
47
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
48
48
|
|
|
49
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
50
|
|
|
51
|
-
/***/ }
|
|
51
|
+
/***/ },
|
|
52
52
|
|
|
53
|
-
/***/ "./lib/builders/Builders.js"
|
|
53
|
+
/***/ "./lib/builders/Builders.js"
|
|
54
54
|
/*!**********************************!*\
|
|
55
55
|
!*** ./lib/builders/Builders.js ***!
|
|
56
56
|
\**********************************/
|
|
57
|
-
|
|
57
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
58
58
|
|
|
59
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
60
|
|
|
61
|
-
/***/ }
|
|
61
|
+
/***/ },
|
|
62
62
|
|
|
63
|
-
/***/ "./lib/builders/index.js"
|
|
63
|
+
/***/ "./lib/builders/index.js"
|
|
64
64
|
/*!*******************************!*\
|
|
65
65
|
!*** ./lib/builders/index.js ***!
|
|
66
66
|
\*******************************/
|
|
67
|
-
|
|
67
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
68
68
|
|
|
69
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
70
|
|
|
71
|
-
/***/ }
|
|
71
|
+
/***/ },
|
|
72
72
|
|
|
73
|
-
/***/ "./lib/components/address/Address.js"
|
|
73
|
+
/***/ "./lib/components/address/Address.js"
|
|
74
74
|
/*!*******************************************!*\
|
|
75
75
|
!*** ./lib/components/address/Address.js ***!
|
|
76
76
|
\*******************************************/
|
|
77
|
-
|
|
77
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
78
78
|
|
|
79
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
80
|
|
|
81
|
-
/***/ }
|
|
81
|
+
/***/ },
|
|
82
82
|
|
|
83
|
-
/***/ "./lib/components/button/Button.form.js"
|
|
83
|
+
/***/ "./lib/components/button/Button.form.js"
|
|
84
84
|
/*!**********************************************!*\
|
|
85
85
|
!*** ./lib/components/button/Button.form.js ***!
|
|
86
86
|
\**********************************************/
|
|
87
|
-
|
|
87
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
88
88
|
|
|
89
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
90
|
|
|
91
|
-
/***/ }
|
|
91
|
+
/***/ },
|
|
92
92
|
|
|
93
|
-
/***/ "./lib/components/button/Button.js"
|
|
93
|
+
/***/ "./lib/components/button/Button.js"
|
|
94
94
|
/*!*****************************************!*\
|
|
95
95
|
!*** ./lib/components/button/Button.js ***!
|
|
96
96
|
\*****************************************/
|
|
97
|
-
|
|
97
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
98
98
|
|
|
99
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
100
|
|
|
101
|
-
/***/ }
|
|
101
|
+
/***/ },
|
|
102
102
|
|
|
103
|
-
/***/ "./lib/components/button/editForm/Button.edit.display.js"
|
|
103
|
+
/***/ "./lib/components/button/editForm/Button.edit.display.js"
|
|
104
104
|
/*!***************************************************************!*\
|
|
105
105
|
!*** ./lib/components/button/editForm/Button.edit.display.js ***!
|
|
106
106
|
\***************************************************************/
|
|
107
|
-
|
|
107
|
+
(__unused_webpack_module, exports) {
|
|
108
108
|
|
|
109
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
110
|
|
|
111
|
-
/***/ }
|
|
111
|
+
/***/ },
|
|
112
112
|
|
|
113
|
-
/***/ "./lib/components/checkbox/Checkbox.form.js"
|
|
113
|
+
/***/ "./lib/components/checkbox/Checkbox.form.js"
|
|
114
114
|
/*!**************************************************!*\
|
|
115
115
|
!*** ./lib/components/checkbox/Checkbox.form.js ***!
|
|
116
116
|
\**************************************************/
|
|
117
|
-
|
|
117
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
118
118
|
|
|
119
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
120
|
|
|
121
|
-
/***/ }
|
|
121
|
+
/***/ },
|
|
122
122
|
|
|
123
|
-
/***/ "./lib/components/checkbox/Checkbox.js"
|
|
123
|
+
/***/ "./lib/components/checkbox/Checkbox.js"
|
|
124
124
|
/*!*********************************************!*\
|
|
125
125
|
!*** ./lib/components/checkbox/Checkbox.js ***!
|
|
126
126
|
\*********************************************/
|
|
127
|
-
|
|
127
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
128
128
|
|
|
129
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
130
|
|
|
131
|
-
/***/ }
|
|
131
|
+
/***/ },
|
|
132
132
|
|
|
133
|
-
/***/ "./lib/components/checkbox/editForm/Checkbox.edit.data.js"
|
|
133
|
+
/***/ "./lib/components/checkbox/editForm/Checkbox.edit.data.js"
|
|
134
134
|
/*!****************************************************************!*\
|
|
135
135
|
!*** ./lib/components/checkbox/editForm/Checkbox.edit.data.js ***!
|
|
136
136
|
\****************************************************************/
|
|
137
|
-
|
|
137
|
+
(__unused_webpack_module, exports) {
|
|
138
138
|
|
|
139
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
140
|
|
|
141
|
-
/***/ }
|
|
141
|
+
/***/ },
|
|
142
142
|
|
|
143
|
-
/***/ "./lib/components/checkbox/editForm/Checkbox.edit.display.js"
|
|
143
|
+
/***/ "./lib/components/checkbox/editForm/Checkbox.edit.display.js"
|
|
144
144
|
/*!*******************************************************************!*\
|
|
145
145
|
!*** ./lib/components/checkbox/editForm/Checkbox.edit.display.js ***!
|
|
146
146
|
\*******************************************************************/
|
|
147
|
-
|
|
147
|
+
(__unused_webpack_module, exports) {
|
|
148
148
|
|
|
149
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
150
|
|
|
151
|
-
/***/ }
|
|
151
|
+
/***/ },
|
|
152
152
|
|
|
153
|
-
/***/ "./lib/components/columns/Columns.form.js"
|
|
153
|
+
/***/ "./lib/components/columns/Columns.form.js"
|
|
154
154
|
/*!************************************************!*\
|
|
155
155
|
!*** ./lib/components/columns/Columns.form.js ***!
|
|
156
156
|
\************************************************/
|
|
157
|
-
|
|
157
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
158
158
|
|
|
159
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
160
|
|
|
161
|
-
/***/ }
|
|
161
|
+
/***/ },
|
|
162
162
|
|
|
163
|
-
/***/ "./lib/components/columns/Columns.js"
|
|
163
|
+
/***/ "./lib/components/columns/Columns.js"
|
|
164
164
|
/*!*******************************************!*\
|
|
165
165
|
!*** ./lib/components/columns/Columns.js ***!
|
|
166
166
|
\*******************************************/
|
|
167
|
-
|
|
167
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
168
168
|
|
|
169
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
170
|
|
|
171
|
-
/***/ }
|
|
171
|
+
/***/ },
|
|
172
172
|
|
|
173
|
-
/***/ "./lib/components/columns/editForm/Columns.edit.display.js"
|
|
173
|
+
/***/ "./lib/components/columns/editForm/Columns.edit.display.js"
|
|
174
174
|
/*!*****************************************************************!*\
|
|
175
175
|
!*** ./lib/components/columns/editForm/Columns.edit.display.js ***!
|
|
176
176
|
\*****************************************************************/
|
|
177
|
-
|
|
177
|
+
(__unused_webpack_module, exports) {
|
|
178
178
|
|
|
179
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
180
|
|
|
181
|
-
/***/ }
|
|
181
|
+
/***/ },
|
|
182
182
|
|
|
183
|
-
/***/ "./lib/components/component/Component.js"
|
|
183
|
+
/***/ "./lib/components/component/Component.js"
|
|
184
184
|
/*!***********************************************!*\
|
|
185
185
|
!*** ./lib/components/component/Component.js ***!
|
|
186
186
|
\***********************************************/
|
|
187
|
-
|
|
187
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
188
188
|
|
|
189
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
190
|
|
|
191
|
-
/***/ }
|
|
191
|
+
/***/ },
|
|
192
192
|
|
|
193
|
-
/***/ "./lib/components/componentmodal/ComponentModal.js"
|
|
193
|
+
/***/ "./lib/components/componentmodal/ComponentModal.js"
|
|
194
194
|
/*!*********************************************************!*\
|
|
195
195
|
!*** ./lib/components/componentmodal/ComponentModal.js ***!
|
|
196
196
|
\*********************************************************/
|
|
197
|
-
|
|
197
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
198
198
|
|
|
199
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
200
|
|
|
201
|
-
/***/ }
|
|
201
|
+
/***/ },
|
|
202
202
|
|
|
203
|
-
/***/ "./lib/components/container/Container.form.js"
|
|
203
|
+
/***/ "./lib/components/container/Container.form.js"
|
|
204
204
|
/*!****************************************************!*\
|
|
205
205
|
!*** ./lib/components/container/Container.form.js ***!
|
|
206
206
|
\****************************************************/
|
|
207
|
-
|
|
207
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
208
208
|
|
|
209
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
210
|
|
|
211
|
-
/***/ }
|
|
211
|
+
/***/ },
|
|
212
212
|
|
|
213
|
-
/***/ "./lib/components/container/Container.js"
|
|
213
|
+
/***/ "./lib/components/container/Container.js"
|
|
214
214
|
/*!***********************************************!*\
|
|
215
215
|
!*** ./lib/components/container/Container.js ***!
|
|
216
216
|
\***********************************************/
|
|
217
|
-
|
|
217
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
218
218
|
|
|
219
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
220
|
|
|
221
|
-
/***/ }
|
|
221
|
+
/***/ },
|
|
222
222
|
|
|
223
|
-
/***/ "./lib/components/container/editForm/Container.edit.data.js"
|
|
223
|
+
/***/ "./lib/components/container/editForm/Container.edit.data.js"
|
|
224
224
|
/*!******************************************************************!*\
|
|
225
225
|
!*** ./lib/components/container/editForm/Container.edit.data.js ***!
|
|
226
226
|
\******************************************************************/
|
|
227
|
-
|
|
227
|
+
(__unused_webpack_module, exports) {
|
|
228
228
|
|
|
229
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
230
|
|
|
231
|
-
/***/ }
|
|
231
|
+
/***/ },
|
|
232
232
|
|
|
233
|
-
/***/ "./lib/components/container/editForm/Container.edit.display.js"
|
|
233
|
+
/***/ "./lib/components/container/editForm/Container.edit.display.js"
|
|
234
234
|
/*!*********************************************************************!*\
|
|
235
235
|
!*** ./lib/components/container/editForm/Container.edit.display.js ***!
|
|
236
236
|
\*********************************************************************/
|
|
237
|
-
|
|
237
|
+
(__unused_webpack_module, exports) {
|
|
238
238
|
|
|
239
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
240
|
|
|
241
|
-
/***/ }
|
|
241
|
+
/***/ },
|
|
242
242
|
|
|
243
|
-
/***/ "./lib/components/content/Content.form.js"
|
|
243
|
+
/***/ "./lib/components/content/Content.form.js"
|
|
244
244
|
/*!************************************************!*\
|
|
245
245
|
!*** ./lib/components/content/Content.form.js ***!
|
|
246
246
|
\************************************************/
|
|
247
|
-
|
|
247
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
248
248
|
|
|
249
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
250
|
|
|
251
|
-
/***/ }
|
|
251
|
+
/***/ },
|
|
252
252
|
|
|
253
|
-
/***/ "./lib/components/content/Content.js"
|
|
253
|
+
/***/ "./lib/components/content/Content.js"
|
|
254
254
|
/*!*******************************************!*\
|
|
255
255
|
!*** ./lib/components/content/Content.js ***!
|
|
256
256
|
\*******************************************/
|
|
257
|
-
|
|
257
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
258
258
|
|
|
259
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
260
|
|
|
261
|
-
/***/ }
|
|
261
|
+
/***/ },
|
|
262
262
|
|
|
263
|
-
/***/ "./lib/components/currency/Currency.form.js"
|
|
263
|
+
/***/ "./lib/components/currency/Currency.form.js"
|
|
264
264
|
/*!**************************************************!*\
|
|
265
265
|
!*** ./lib/components/currency/Currency.form.js ***!
|
|
266
266
|
\**************************************************/
|
|
267
|
-
|
|
267
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
268
268
|
|
|
269
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
270
|
|
|
271
|
-
/***/ }
|
|
271
|
+
/***/ },
|
|
272
272
|
|
|
273
|
-
/***/ "./lib/components/currency/Currency.js"
|
|
273
|
+
/***/ "./lib/components/currency/Currency.js"
|
|
274
274
|
/*!*********************************************!*\
|
|
275
275
|
!*** ./lib/components/currency/Currency.js ***!
|
|
276
276
|
\*********************************************/
|
|
277
|
-
|
|
277
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
278
278
|
|
|
279
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
280
|
|
|
281
|
-
/***/ }
|
|
281
|
+
/***/ },
|
|
282
282
|
|
|
283
|
-
/***/ "./lib/components/currency/editForm/Currency.edit.data.js"
|
|
283
|
+
/***/ "./lib/components/currency/editForm/Currency.edit.data.js"
|
|
284
284
|
/*!****************************************************************!*\
|
|
285
285
|
!*** ./lib/components/currency/editForm/Currency.edit.data.js ***!
|
|
286
286
|
\****************************************************************/
|
|
287
|
-
|
|
287
|
+
(__unused_webpack_module, exports) {
|
|
288
288
|
|
|
289
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
290
|
|
|
291
|
-
/***/ }
|
|
291
|
+
/***/ },
|
|
292
292
|
|
|
293
|
-
/***/ "./lib/components/currency/editForm/Currency.edit.display.js"
|
|
293
|
+
/***/ "./lib/components/currency/editForm/Currency.edit.display.js"
|
|
294
294
|
/*!*******************************************************************!*\
|
|
295
295
|
!*** ./lib/components/currency/editForm/Currency.edit.display.js ***!
|
|
296
296
|
\*******************************************************************/
|
|
297
|
-
|
|
297
|
+
(__unused_webpack_module, exports) {
|
|
298
298
|
|
|
299
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
300
|
|
|
301
|
-
/***/ }
|
|
301
|
+
/***/ },
|
|
302
302
|
|
|
303
|
-
/***/ "./lib/components/currency/editForm/Currency.edit.validation.js"
|
|
303
|
+
/***/ "./lib/components/currency/editForm/Currency.edit.validation.js"
|
|
304
304
|
/*!**********************************************************************!*\
|
|
305
305
|
!*** ./lib/components/currency/editForm/Currency.edit.validation.js ***!
|
|
306
306
|
\**********************************************************************/
|
|
307
|
-
|
|
307
|
+
(__unused_webpack_module, exports) {
|
|
308
308
|
|
|
309
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
310
|
|
|
311
|
-
/***/ }
|
|
311
|
+
/***/ },
|
|
312
312
|
|
|
313
|
-
/***/ "./lib/components/datagrid/DataGrid.js"
|
|
313
|
+
/***/ "./lib/components/datagrid/DataGrid.js"
|
|
314
314
|
/*!*********************************************!*\
|
|
315
315
|
!*** ./lib/components/datagrid/DataGrid.js ***!
|
|
316
316
|
\*********************************************/
|
|
317
|
-
|
|
317
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
318
318
|
|
|
319
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
320
|
|
|
321
|
-
/***/ }
|
|
321
|
+
/***/ },
|
|
322
322
|
|
|
323
|
-
/***/ "./lib/components/datamap/DataMap.js"
|
|
323
|
+
/***/ "./lib/components/datamap/DataMap.js"
|
|
324
324
|
/*!*******************************************!*\
|
|
325
325
|
!*** ./lib/components/datamap/DataMap.js ***!
|
|
326
326
|
\*******************************************/
|
|
327
|
-
|
|
327
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
328
328
|
|
|
329
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
330
|
|
|
331
|
-
/***/ }
|
|
331
|
+
/***/ },
|
|
332
332
|
|
|
333
|
-
/***/ "./lib/components/datatable/DataTable.js"
|
|
333
|
+
/***/ "./lib/components/datatable/DataTable.js"
|
|
334
334
|
/*!***********************************************!*\
|
|
335
335
|
!*** ./lib/components/datatable/DataTable.js ***!
|
|
336
336
|
\***********************************************/
|
|
337
|
-
|
|
337
|
+
(__unused_webpack_module, exports) {
|
|
338
338
|
|
|
339
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
340
|
|
|
341
|
-
/***/ }
|
|
341
|
+
/***/ },
|
|
342
342
|
|
|
343
|
-
/***/ "./lib/components/datetime/DateTime.form.js"
|
|
343
|
+
/***/ "./lib/components/datetime/DateTime.form.js"
|
|
344
344
|
/*!**************************************************!*\
|
|
345
345
|
!*** ./lib/components/datetime/DateTime.form.js ***!
|
|
346
346
|
\**************************************************/
|
|
347
|
-
|
|
347
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
348
348
|
|
|
349
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
350
|
|
|
351
|
-
/***/ }
|
|
351
|
+
/***/ },
|
|
352
352
|
|
|
353
|
-
/***/ "./lib/components/datetime/DateTime.js"
|
|
353
|
+
/***/ "./lib/components/datetime/DateTime.js"
|
|
354
354
|
/*!*********************************************!*\
|
|
355
355
|
!*** ./lib/components/datetime/DateTime.js ***!
|
|
356
356
|
\*********************************************/
|
|
357
|
-
|
|
357
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
358
358
|
|
|
359
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
360
|
|
|
361
|
-
/***/ }
|
|
361
|
+
/***/ },
|
|
362
362
|
|
|
363
|
-
/***/ "./lib/components/datetime/editForm/DateTime.edit.data.js"
|
|
363
|
+
/***/ "./lib/components/datetime/editForm/DateTime.edit.data.js"
|
|
364
364
|
/*!****************************************************************!*\
|
|
365
365
|
!*** ./lib/components/datetime/editForm/DateTime.edit.data.js ***!
|
|
366
366
|
\****************************************************************/
|
|
367
|
-
|
|
367
|
+
(__unused_webpack_module, exports) {
|
|
368
368
|
|
|
369
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
370
|
|
|
371
|
-
/***/ }
|
|
371
|
+
/***/ },
|
|
372
372
|
|
|
373
|
-
/***/ "./lib/components/datetime/editForm/DateTime.edit.display.js"
|
|
373
|
+
/***/ "./lib/components/datetime/editForm/DateTime.edit.display.js"
|
|
374
374
|
/*!*******************************************************************!*\
|
|
375
375
|
!*** ./lib/components/datetime/editForm/DateTime.edit.display.js ***!
|
|
376
376
|
\*******************************************************************/
|
|
377
|
-
|
|
377
|
+
(__unused_webpack_module, exports) {
|
|
378
378
|
|
|
379
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
380
|
|
|
381
|
-
/***/ }
|
|
381
|
+
/***/ },
|
|
382
382
|
|
|
383
|
-
/***/ "./lib/components/datetime/editForm/DateTime.edit.validation.js"
|
|
383
|
+
/***/ "./lib/components/datetime/editForm/DateTime.edit.validation.js"
|
|
384
384
|
/*!**********************************************************************!*\
|
|
385
385
|
!*** ./lib/components/datetime/editForm/DateTime.edit.validation.js ***!
|
|
386
386
|
\**********************************************************************/
|
|
387
|
-
|
|
387
|
+
(__unused_webpack_module, exports) {
|
|
388
388
|
|
|
389
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
390
|
|
|
391
|
-
/***/ }
|
|
391
|
+
/***/ },
|
|
392
392
|
|
|
393
|
-
/***/ "./lib/components/day/Day.form.js"
|
|
393
|
+
/***/ "./lib/components/day/Day.form.js"
|
|
394
394
|
/*!****************************************!*\
|
|
395
395
|
!*** ./lib/components/day/Day.form.js ***!
|
|
396
396
|
\****************************************/
|
|
397
|
-
|
|
397
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
398
398
|
|
|
399
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
400
|
|
|
401
|
-
/***/ }
|
|
401
|
+
/***/ },
|
|
402
402
|
|
|
403
|
-
/***/ "./lib/components/day/Day.js"
|
|
403
|
+
/***/ "./lib/components/day/Day.js"
|
|
404
404
|
/*!***********************************!*\
|
|
405
405
|
!*** ./lib/components/day/Day.js ***!
|
|
406
406
|
\***********************************/
|
|
407
|
-
|
|
407
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
408
408
|
|
|
409
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
410
|
|
|
411
|
-
/***/ }
|
|
411
|
+
/***/ },
|
|
412
412
|
|
|
413
|
-
/***/ "./lib/components/day/editForm/Day.edit.data.js"
|
|
413
|
+
/***/ "./lib/components/day/editForm/Day.edit.data.js"
|
|
414
414
|
/*!******************************************************!*\
|
|
415
415
|
!*** ./lib/components/day/editForm/Day.edit.data.js ***!
|
|
416
416
|
\******************************************************/
|
|
417
|
-
|
|
417
|
+
(__unused_webpack_module, exports) {
|
|
418
418
|
|
|
419
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
420
|
|
|
421
|
-
/***/ }
|
|
421
|
+
/***/ },
|
|
422
422
|
|
|
423
|
-
/***/ "./lib/components/day/editForm/Day.edit.day.js"
|
|
423
|
+
/***/ "./lib/components/day/editForm/Day.edit.day.js"
|
|
424
424
|
/*!*****************************************************!*\
|
|
425
425
|
!*** ./lib/components/day/editForm/Day.edit.day.js ***!
|
|
426
426
|
\*****************************************************/
|
|
427
|
-
|
|
427
|
+
(__unused_webpack_module, exports) {
|
|
428
428
|
|
|
429
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
430
|
|
|
431
|
-
/***/ }
|
|
431
|
+
/***/ },
|
|
432
432
|
|
|
433
|
-
/***/ "./lib/components/day/editForm/Day.edit.display.js"
|
|
433
|
+
/***/ "./lib/components/day/editForm/Day.edit.display.js"
|
|
434
434
|
/*!*********************************************************!*\
|
|
435
435
|
!*** ./lib/components/day/editForm/Day.edit.display.js ***!
|
|
436
436
|
\*********************************************************/
|
|
437
|
-
|
|
437
|
+
(__unused_webpack_module, exports) {
|
|
438
438
|
|
|
439
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
440
|
|
|
441
|
-
/***/ }
|
|
441
|
+
/***/ },
|
|
442
442
|
|
|
443
|
-
/***/ "./lib/components/day/editForm/Day.edit.validation.js"
|
|
443
|
+
/***/ "./lib/components/day/editForm/Day.edit.validation.js"
|
|
444
444
|
/*!************************************************************!*\
|
|
445
445
|
!*** ./lib/components/day/editForm/Day.edit.validation.js ***!
|
|
446
446
|
\************************************************************/
|
|
447
|
-
|
|
447
|
+
(__unused_webpack_module, exports) {
|
|
448
448
|
|
|
449
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
450
|
|
|
451
|
-
/***/ }
|
|
451
|
+
/***/ },
|
|
452
452
|
|
|
453
|
-
/***/ "./lib/components/day/editForm/Day.edit.year.js"
|
|
453
|
+
/***/ "./lib/components/day/editForm/Day.edit.year.js"
|
|
454
454
|
/*!******************************************************!*\
|
|
455
455
|
!*** ./lib/components/day/editForm/Day.edit.year.js ***!
|
|
456
456
|
\******************************************************/
|
|
457
|
-
|
|
457
|
+
(__unused_webpack_module, exports) {
|
|
458
458
|
|
|
459
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
460
|
|
|
461
|
-
/***/ }
|
|
461
|
+
/***/ },
|
|
462
462
|
|
|
463
|
-
/***/ "./lib/components/dynamicwizard/DynamicWizard.js"
|
|
463
|
+
/***/ "./lib/components/dynamicwizard/DynamicWizard.js"
|
|
464
464
|
/*!*******************************************************!*\
|
|
465
465
|
!*** ./lib/components/dynamicwizard/DynamicWizard.js ***!
|
|
466
466
|
\*******************************************************/
|
|
467
|
-
|
|
467
|
+
(__unused_webpack_module, exports) {
|
|
468
468
|
|
|
469
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
470
|
|
|
471
|
-
/***/ }
|
|
471
|
+
/***/ },
|
|
472
472
|
|
|
473
|
-
/***/ "./lib/components/editgrid/EditGrid.js"
|
|
473
|
+
/***/ "./lib/components/editgrid/EditGrid.js"
|
|
474
474
|
/*!*********************************************!*\
|
|
475
475
|
!*** ./lib/components/editgrid/EditGrid.js ***!
|
|
476
476
|
\*********************************************/
|
|
477
|
-
|
|
477
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
478
478
|
|
|
479
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
480
|
|
|
481
|
-
/***/ }
|
|
481
|
+
/***/ },
|
|
482
482
|
|
|
483
|
-
/***/ "./lib/components/email/Email.form.js"
|
|
483
|
+
/***/ "./lib/components/email/Email.form.js"
|
|
484
484
|
/*!********************************************!*\
|
|
485
485
|
!*** ./lib/components/email/Email.form.js ***!
|
|
486
486
|
\********************************************/
|
|
487
|
-
|
|
487
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
488
488
|
|
|
489
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
490
|
|
|
491
|
-
/***/ }
|
|
491
|
+
/***/ },
|
|
492
492
|
|
|
493
|
-
/***/ "./lib/components/email/Email.js"
|
|
493
|
+
/***/ "./lib/components/email/Email.js"
|
|
494
494
|
/*!***************************************!*\
|
|
495
495
|
!*** ./lib/components/email/Email.js ***!
|
|
496
496
|
\***************************************/
|
|
497
|
-
|
|
497
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
498
498
|
|
|
499
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
500
|
|
|
501
|
-
/***/ }
|
|
501
|
+
/***/ },
|
|
502
502
|
|
|
503
|
-
/***/ "./lib/components/email/editForm/Email.edit.display.js"
|
|
503
|
+
/***/ "./lib/components/email/editForm/Email.edit.display.js"
|
|
504
504
|
/*!*************************************************************!*\
|
|
505
505
|
!*** ./lib/components/email/editForm/Email.edit.display.js ***!
|
|
506
506
|
\*************************************************************/
|
|
507
|
-
|
|
507
|
+
(__unused_webpack_module, exports) {
|
|
508
508
|
|
|
509
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
510
|
|
|
511
|
-
/***/ }
|
|
511
|
+
/***/ },
|
|
512
512
|
|
|
513
|
-
/***/ "./lib/components/email/editForm/Email.edit.validation.js"
|
|
513
|
+
/***/ "./lib/components/email/editForm/Email.edit.validation.js"
|
|
514
514
|
/*!****************************************************************!*\
|
|
515
515
|
!*** ./lib/components/email/editForm/Email.edit.validation.js ***!
|
|
516
516
|
\****************************************************************/
|
|
517
|
-
|
|
517
|
+
(__unused_webpack_module, exports) {
|
|
518
518
|
|
|
519
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
520
|
|
|
521
|
-
/***/ }
|
|
521
|
+
/***/ },
|
|
522
522
|
|
|
523
|
-
/***/ "./lib/components/fieldset/Fieldset.form.js"
|
|
523
|
+
/***/ "./lib/components/fieldset/Fieldset.form.js"
|
|
524
524
|
/*!**************************************************!*\
|
|
525
525
|
!*** ./lib/components/fieldset/Fieldset.form.js ***!
|
|
526
526
|
\**************************************************/
|
|
527
|
-
|
|
527
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
528
528
|
|
|
529
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
530
|
|
|
531
|
-
/***/ }
|
|
531
|
+
/***/ },
|
|
532
532
|
|
|
533
|
-
/***/ "./lib/components/fieldset/Fieldset.js"
|
|
533
|
+
/***/ "./lib/components/fieldset/Fieldset.js"
|
|
534
534
|
/*!*********************************************!*\
|
|
535
535
|
!*** ./lib/components/fieldset/Fieldset.js ***!
|
|
536
536
|
\*********************************************/
|
|
537
|
-
|
|
537
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
538
538
|
|
|
539
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
540
|
|
|
541
|
-
/***/ }
|
|
541
|
+
/***/ },
|
|
542
542
|
|
|
543
|
-
/***/ "./lib/components/file/File.form.js"
|
|
543
|
+
/***/ "./lib/components/file/File.form.js"
|
|
544
544
|
/*!******************************************!*\
|
|
545
545
|
!*** ./lib/components/file/File.form.js ***!
|
|
546
546
|
\******************************************/
|
|
547
|
-
|
|
547
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
548
548
|
|
|
549
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
550
|
|
|
551
|
-
/***/ }
|
|
551
|
+
/***/ },
|
|
552
552
|
|
|
553
|
-
/***/ "./lib/components/file/File.js"
|
|
553
|
+
/***/ "./lib/components/file/File.js"
|
|
554
554
|
/*!*************************************!*\
|
|
555
555
|
!*** ./lib/components/file/File.js ***!
|
|
556
556
|
\*************************************/
|
|
557
|
-
|
|
557
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
558
558
|
|
|
559
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
560
|
|
|
561
|
-
/***/ }
|
|
561
|
+
/***/ },
|
|
562
562
|
|
|
563
|
-
/***/ "./lib/components/file/editForm/File.edit.display.js"
|
|
563
|
+
/***/ "./lib/components/file/editForm/File.edit.display.js"
|
|
564
564
|
/*!***********************************************************!*\
|
|
565
565
|
!*** ./lib/components/file/editForm/File.edit.display.js ***!
|
|
566
566
|
\***********************************************************/
|
|
567
|
-
|
|
567
|
+
(__unused_webpack_module, exports) {
|
|
568
568
|
|
|
569
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
570
|
|
|
571
|
-
/***/ }
|
|
571
|
+
/***/ },
|
|
572
572
|
|
|
573
|
-
/***/ "./lib/components/form/Form.js"
|
|
573
|
+
/***/ "./lib/components/form/Form.js"
|
|
574
574
|
/*!*************************************!*\
|
|
575
575
|
!*** ./lib/components/form/Form.js ***!
|
|
576
576
|
\*************************************/
|
|
577
|
-
|
|
577
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
578
578
|
|
|
579
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
580
|
|
|
581
|
-
/***/ }
|
|
581
|
+
/***/ },
|
|
582
582
|
|
|
583
|
-
/***/ "./lib/components/hidden/Hidden.form.js"
|
|
583
|
+
/***/ "./lib/components/hidden/Hidden.form.js"
|
|
584
584
|
/*!**********************************************!*\
|
|
585
585
|
!*** ./lib/components/hidden/Hidden.form.js ***!
|
|
586
586
|
\**********************************************/
|
|
587
|
-
|
|
587
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
588
588
|
|
|
589
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
590
|
|
|
591
|
-
/***/ }
|
|
591
|
+
/***/ },
|
|
592
592
|
|
|
593
|
-
/***/ "./lib/components/hidden/Hidden.js"
|
|
593
|
+
/***/ "./lib/components/hidden/Hidden.js"
|
|
594
594
|
/*!*****************************************!*\
|
|
595
595
|
!*** ./lib/components/hidden/Hidden.js ***!
|
|
596
596
|
\*****************************************/
|
|
597
|
-
|
|
597
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
598
598
|
|
|
599
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
600
|
|
|
601
|
-
/***/ }
|
|
601
|
+
/***/ },
|
|
602
602
|
|
|
603
|
-
/***/ "./lib/components/html/HTML.form.js"
|
|
603
|
+
/***/ "./lib/components/html/HTML.form.js"
|
|
604
604
|
/*!******************************************!*\
|
|
605
605
|
!*** ./lib/components/html/HTML.form.js ***!
|
|
606
606
|
\******************************************/
|
|
607
|
-
|
|
607
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
608
608
|
|
|
609
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
610
|
|
|
611
|
-
/***/ }
|
|
611
|
+
/***/ },
|
|
612
612
|
|
|
613
|
-
/***/ "./lib/components/html/HTML.js"
|
|
613
|
+
/***/ "./lib/components/html/HTML.js"
|
|
614
614
|
/*!*************************************!*\
|
|
615
615
|
!*** ./lib/components/html/HTML.js ***!
|
|
616
616
|
\*************************************/
|
|
617
|
-
|
|
617
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
618
618
|
|
|
619
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
620
|
|
|
621
|
-
/***/ }
|
|
621
|
+
/***/ },
|
|
622
622
|
|
|
623
|
-
/***/ "./lib/components/index.js"
|
|
623
|
+
/***/ "./lib/components/index.js"
|
|
624
624
|
/*!*********************************!*\
|
|
625
625
|
!*** ./lib/components/index.js ***!
|
|
626
626
|
\*********************************/
|
|
627
|
-
|
|
627
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
628
628
|
|
|
629
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
630
|
|
|
631
|
-
/***/ }
|
|
631
|
+
/***/ },
|
|
632
632
|
|
|
633
|
-
/***/ "./lib/components/input/Input.js"
|
|
633
|
+
/***/ "./lib/components/input/Input.js"
|
|
634
634
|
/*!***************************************!*\
|
|
635
635
|
!*** ./lib/components/input/Input.js ***!
|
|
636
636
|
\***************************************/
|
|
637
|
-
|
|
637
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
638
638
|
|
|
639
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
640
|
|
|
641
|
-
/***/ }
|
|
641
|
+
/***/ },
|
|
642
642
|
|
|
643
|
-
/***/ "./lib/components/nested/NestedComponent.js"
|
|
643
|
+
/***/ "./lib/components/nested/NestedComponent.js"
|
|
644
644
|
/*!**************************************************!*\
|
|
645
645
|
!*** ./lib/components/nested/NestedComponent.js ***!
|
|
646
646
|
\**************************************************/
|
|
647
|
-
|
|
647
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
648
648
|
|
|
649
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
650
|
|
|
651
|
-
/***/ }
|
|
651
|
+
/***/ },
|
|
652
652
|
|
|
653
|
-
/***/ "./lib/components/number/Number.form.js"
|
|
653
|
+
/***/ "./lib/components/number/Number.form.js"
|
|
654
654
|
/*!**********************************************!*\
|
|
655
655
|
!*** ./lib/components/number/Number.form.js ***!
|
|
656
656
|
\**********************************************/
|
|
657
|
-
|
|
657
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
658
658
|
|
|
659
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
660
|
|
|
661
|
-
/***/ }
|
|
661
|
+
/***/ },
|
|
662
662
|
|
|
663
|
-
/***/ "./lib/components/number/Number.js"
|
|
663
|
+
/***/ "./lib/components/number/Number.js"
|
|
664
664
|
/*!*****************************************!*\
|
|
665
665
|
!*** ./lib/components/number/Number.js ***!
|
|
666
666
|
\*****************************************/
|
|
667
|
-
|
|
667
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
668
668
|
|
|
669
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
670
|
|
|
671
|
-
/***/ }
|
|
671
|
+
/***/ },
|
|
672
672
|
|
|
673
|
-
/***/ "./lib/components/number/editForm/Number.edit.data.js"
|
|
673
|
+
/***/ "./lib/components/number/editForm/Number.edit.data.js"
|
|
674
674
|
/*!************************************************************!*\
|
|
675
675
|
!*** ./lib/components/number/editForm/Number.edit.data.js ***!
|
|
676
676
|
\************************************************************/
|
|
677
|
-
|
|
677
|
+
(__unused_webpack_module, exports) {
|
|
678
678
|
|
|
679
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
680
|
|
|
681
|
-
/***/ }
|
|
681
|
+
/***/ },
|
|
682
682
|
|
|
683
|
-
/***/ "./lib/components/number/editForm/Number.edit.display.js"
|
|
683
|
+
/***/ "./lib/components/number/editForm/Number.edit.display.js"
|
|
684
684
|
/*!***************************************************************!*\
|
|
685
685
|
!*** ./lib/components/number/editForm/Number.edit.display.js ***!
|
|
686
686
|
\***************************************************************/
|
|
687
|
-
|
|
687
|
+
(__unused_webpack_module, exports) {
|
|
688
688
|
|
|
689
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
690
|
|
|
691
|
-
/***/ }
|
|
691
|
+
/***/ },
|
|
692
692
|
|
|
693
|
-
/***/ "./lib/components/number/editForm/Number.edit.validation.js"
|
|
693
|
+
/***/ "./lib/components/number/editForm/Number.edit.validation.js"
|
|
694
694
|
/*!******************************************************************!*\
|
|
695
695
|
!*** ./lib/components/number/editForm/Number.edit.validation.js ***!
|
|
696
696
|
\******************************************************************/
|
|
697
|
-
|
|
697
|
+
(__unused_webpack_module, exports) {
|
|
698
698
|
|
|
699
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
700
|
|
|
701
|
-
/***/ }
|
|
701
|
+
/***/ },
|
|
702
702
|
|
|
703
|
-
/***/ "./lib/components/panel/Panel.form.js"
|
|
703
|
+
/***/ "./lib/components/panel/Panel.form.js"
|
|
704
704
|
/*!********************************************!*\
|
|
705
705
|
!*** ./lib/components/panel/Panel.form.js ***!
|
|
706
706
|
\********************************************/
|
|
707
|
-
|
|
707
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
708
708
|
|
|
709
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
710
|
|
|
711
|
-
/***/ }
|
|
711
|
+
/***/ },
|
|
712
712
|
|
|
713
|
-
/***/ "./lib/components/panel/Panel.js"
|
|
713
|
+
/***/ "./lib/components/panel/Panel.js"
|
|
714
714
|
/*!***************************************!*\
|
|
715
715
|
!*** ./lib/components/panel/Panel.js ***!
|
|
716
716
|
\***************************************/
|
|
717
|
-
|
|
717
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
718
718
|
|
|
719
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
720
|
|
|
721
|
-
/***/ }
|
|
721
|
+
/***/ },
|
|
722
722
|
|
|
723
|
-
/***/ "./lib/components/panel/editForm/Panel.edit.display.js"
|
|
723
|
+
/***/ "./lib/components/panel/editForm/Panel.edit.display.js"
|
|
724
724
|
/*!*************************************************************!*\
|
|
725
725
|
!*** ./lib/components/panel/editForm/Panel.edit.display.js ***!
|
|
726
726
|
\*************************************************************/
|
|
727
|
-
|
|
727
|
+
(__unused_webpack_module, exports) {
|
|
728
728
|
|
|
729
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
730
|
|
|
731
|
-
/***/ }
|
|
731
|
+
/***/ },
|
|
732
732
|
|
|
733
|
-
/***/ "./lib/components/password/Password.form.js"
|
|
733
|
+
/***/ "./lib/components/password/Password.form.js"
|
|
734
734
|
/*!**************************************************!*\
|
|
735
735
|
!*** ./lib/components/password/Password.form.js ***!
|
|
736
736
|
\**************************************************/
|
|
737
|
-
|
|
737
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
738
738
|
|
|
739
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
740
|
|
|
741
|
-
/***/ }
|
|
741
|
+
/***/ },
|
|
742
742
|
|
|
743
|
-
/***/ "./lib/components/password/Password.js"
|
|
743
|
+
/***/ "./lib/components/password/Password.js"
|
|
744
744
|
/*!*********************************************!*\
|
|
745
745
|
!*** ./lib/components/password/Password.js ***!
|
|
746
746
|
\*********************************************/
|
|
747
|
-
|
|
747
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
748
748
|
|
|
749
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
750
|
|
|
751
|
-
/***/ }
|
|
751
|
+
/***/ },
|
|
752
752
|
|
|
753
|
-
/***/ "./lib/components/password/editForm/Password.edit.data.js"
|
|
753
|
+
/***/ "./lib/components/password/editForm/Password.edit.data.js"
|
|
754
754
|
/*!****************************************************************!*\
|
|
755
755
|
!*** ./lib/components/password/editForm/Password.edit.data.js ***!
|
|
756
756
|
\****************************************************************/
|
|
757
|
-
|
|
757
|
+
(__unused_webpack_module, exports) {
|
|
758
758
|
|
|
759
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
760
|
|
|
761
|
-
/***/ }
|
|
761
|
+
/***/ },
|
|
762
762
|
|
|
763
|
-
/***/ "./lib/components/password/editForm/Password.edit.display.js"
|
|
763
|
+
/***/ "./lib/components/password/editForm/Password.edit.display.js"
|
|
764
764
|
/*!*******************************************************************!*\
|
|
765
765
|
!*** ./lib/components/password/editForm/Password.edit.display.js ***!
|
|
766
766
|
\*******************************************************************/
|
|
767
|
-
|
|
767
|
+
(__unused_webpack_module, exports) {
|
|
768
768
|
|
|
769
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
770
|
|
|
771
|
-
/***/ }
|
|
771
|
+
/***/ },
|
|
772
772
|
|
|
773
|
-
/***/ "./lib/components/password/editForm/Password.edit.validation.js"
|
|
773
|
+
/***/ "./lib/components/password/editForm/Password.edit.validation.js"
|
|
774
774
|
/*!**********************************************************************!*\
|
|
775
775
|
!*** ./lib/components/password/editForm/Password.edit.validation.js ***!
|
|
776
776
|
\**********************************************************************/
|
|
777
|
-
|
|
777
|
+
(__unused_webpack_module, exports) {
|
|
778
778
|
|
|
779
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
780
|
|
|
781
|
-
/***/ }
|
|
781
|
+
/***/ },
|
|
782
782
|
|
|
783
|
-
/***/ "./lib/components/phonenumber/PhoneNumber.form.js"
|
|
783
|
+
/***/ "./lib/components/phonenumber/PhoneNumber.form.js"
|
|
784
784
|
/*!********************************************************!*\
|
|
785
785
|
!*** ./lib/components/phonenumber/PhoneNumber.form.js ***!
|
|
786
786
|
\********************************************************/
|
|
787
|
-
|
|
787
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
788
788
|
|
|
789
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
790
|
|
|
791
|
-
/***/ }
|
|
791
|
+
/***/ },
|
|
792
792
|
|
|
793
|
-
/***/ "./lib/components/phonenumber/PhoneNumber.js"
|
|
793
|
+
/***/ "./lib/components/phonenumber/PhoneNumber.js"
|
|
794
794
|
/*!***************************************************!*\
|
|
795
795
|
!*** ./lib/components/phonenumber/PhoneNumber.js ***!
|
|
796
796
|
\***************************************************/
|
|
797
|
-
|
|
797
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
798
798
|
|
|
799
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
800
|
|
|
801
|
-
/***/ }
|
|
801
|
+
/***/ },
|
|
802
802
|
|
|
803
|
-
/***/ "./lib/components/phonenumber/editForm/PhoneNumber.edit.display.js"
|
|
803
|
+
/***/ "./lib/components/phonenumber/editForm/PhoneNumber.edit.display.js"
|
|
804
804
|
/*!*************************************************************************!*\
|
|
805
805
|
!*** ./lib/components/phonenumber/editForm/PhoneNumber.edit.display.js ***!
|
|
806
806
|
\*************************************************************************/
|
|
807
|
-
|
|
807
|
+
(__unused_webpack_module, exports) {
|
|
808
808
|
|
|
809
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
810
|
|
|
811
|
-
/***/ }
|
|
811
|
+
/***/ },
|
|
812
812
|
|
|
813
|
-
/***/ "./lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js"
|
|
813
|
+
/***/ "./lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js"
|
|
814
814
|
/*!****************************************************************************!*\
|
|
815
815
|
!*** ./lib/components/phonenumber/editForm/PhoneNumber.edit.validation.js ***!
|
|
816
816
|
\****************************************************************************/
|
|
817
|
-
|
|
817
|
+
(__unused_webpack_module, exports) {
|
|
818
818
|
|
|
819
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
820
|
|
|
821
|
-
/***/ }
|
|
821
|
+
/***/ },
|
|
822
822
|
|
|
823
|
-
/***/ "./lib/components/radio/Radio.form.js"
|
|
823
|
+
/***/ "./lib/components/radio/Radio.form.js"
|
|
824
824
|
/*!********************************************!*\
|
|
825
825
|
!*** ./lib/components/radio/Radio.form.js ***!
|
|
826
826
|
\********************************************/
|
|
827
|
-
|
|
827
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
828
828
|
|
|
829
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
830
|
|
|
831
|
-
/***/ }
|
|
831
|
+
/***/ },
|
|
832
832
|
|
|
833
|
-
/***/ "./lib/components/radio/Radio.js"
|
|
833
|
+
/***/ "./lib/components/radio/Radio.js"
|
|
834
834
|
/*!***************************************!*\
|
|
835
835
|
!*** ./lib/components/radio/Radio.js ***!
|
|
836
836
|
\***************************************/
|
|
837
|
-
|
|
837
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
838
838
|
|
|
839
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
840
|
|
|
841
|
-
/***/ }
|
|
841
|
+
/***/ },
|
|
842
842
|
|
|
843
|
-
/***/ "./lib/components/radio/editForm/Radio.edit.data.js"
|
|
843
|
+
/***/ "./lib/components/radio/editForm/Radio.edit.data.js"
|
|
844
844
|
/*!**********************************************************!*\
|
|
845
845
|
!*** ./lib/components/radio/editForm/Radio.edit.data.js ***!
|
|
846
846
|
\**********************************************************/
|
|
847
|
-
|
|
847
|
+
(__unused_webpack_module, exports) {
|
|
848
848
|
|
|
849
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
850
|
|
|
851
|
-
/***/ }
|
|
851
|
+
/***/ },
|
|
852
852
|
|
|
853
|
-
/***/ "./lib/components/radio/editForm/Radio.edit.display.js"
|
|
853
|
+
/***/ "./lib/components/radio/editForm/Radio.edit.display.js"
|
|
854
854
|
/*!*************************************************************!*\
|
|
855
855
|
!*** ./lib/components/radio/editForm/Radio.edit.display.js ***!
|
|
856
856
|
\*************************************************************/
|
|
857
|
-
|
|
857
|
+
(__unused_webpack_module, exports) {
|
|
858
858
|
|
|
859
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
860
|
|
|
861
|
-
/***/ }
|
|
861
|
+
/***/ },
|
|
862
862
|
|
|
863
|
-
/***/ "./lib/components/recaptcha/ReCaptcha.js"
|
|
863
|
+
/***/ "./lib/components/recaptcha/ReCaptcha.js"
|
|
864
864
|
/*!***********************************************!*\
|
|
865
865
|
!*** ./lib/components/recaptcha/ReCaptcha.js ***!
|
|
866
866
|
\***********************************************/
|
|
867
|
-
|
|
867
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
868
868
|
|
|
869
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
870
|
|
|
871
|
-
/***/ }
|
|
871
|
+
/***/ },
|
|
872
872
|
|
|
873
|
-
/***/ "./lib/components/select/Select.form.js"
|
|
873
|
+
/***/ "./lib/components/select/Select.form.js"
|
|
874
874
|
/*!**********************************************!*\
|
|
875
875
|
!*** ./lib/components/select/Select.form.js ***!
|
|
876
876
|
\**********************************************/
|
|
877
|
-
|
|
877
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
878
878
|
|
|
879
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
880
|
|
|
881
|
-
/***/ }
|
|
881
|
+
/***/ },
|
|
882
882
|
|
|
883
|
-
/***/ "./lib/components/select/Select.js"
|
|
883
|
+
/***/ "./lib/components/select/Select.js"
|
|
884
884
|
/*!*****************************************!*\
|
|
885
885
|
!*** ./lib/components/select/Select.js ***!
|
|
886
886
|
\*****************************************/
|
|
887
|
-
|
|
887
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
888
888
|
|
|
889
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
890
|
|
|
891
|
-
/***/ }
|
|
891
|
+
/***/ },
|
|
892
892
|
|
|
893
|
-
/***/ "./lib/components/select/editForm/Select.edit.data.js"
|
|
893
|
+
/***/ "./lib/components/select/editForm/Select.edit.data.js"
|
|
894
894
|
/*!************************************************************!*\
|
|
895
895
|
!*** ./lib/components/select/editForm/Select.edit.data.js ***!
|
|
896
896
|
\************************************************************/
|
|
897
|
-
|
|
897
|
+
(__unused_webpack_module, exports) {
|
|
898
898
|
|
|
899
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
900
|
|
|
901
|
-
/***/ }
|
|
901
|
+
/***/ },
|
|
902
902
|
|
|
903
|
-
/***/ "./lib/components/select/editForm/Select.edit.display.js"
|
|
903
|
+
/***/ "./lib/components/select/editForm/Select.edit.display.js"
|
|
904
904
|
/*!***************************************************************!*\
|
|
905
905
|
!*** ./lib/components/select/editForm/Select.edit.display.js ***!
|
|
906
906
|
\***************************************************************/
|
|
907
|
-
|
|
907
|
+
(__unused_webpack_module, exports) {
|
|
908
908
|
|
|
909
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
910
|
|
|
911
|
-
/***/ }
|
|
911
|
+
/***/ },
|
|
912
912
|
|
|
913
|
-
/***/ "./lib/components/select/editForm/Select.edit.validation.js"
|
|
913
|
+
/***/ "./lib/components/select/editForm/Select.edit.validation.js"
|
|
914
914
|
/*!******************************************************************!*\
|
|
915
915
|
!*** ./lib/components/select/editForm/Select.edit.validation.js ***!
|
|
916
916
|
\******************************************************************/
|
|
917
|
-
|
|
917
|
+
(__unused_webpack_module, exports) {
|
|
918
918
|
|
|
919
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
920
|
|
|
921
|
-
/***/ }
|
|
921
|
+
/***/ },
|
|
922
922
|
|
|
923
|
-
/***/ "./lib/components/selectboxes/SelectBoxes.form.js"
|
|
923
|
+
/***/ "./lib/components/selectboxes/SelectBoxes.form.js"
|
|
924
924
|
/*!********************************************************!*\
|
|
925
925
|
!*** ./lib/components/selectboxes/SelectBoxes.form.js ***!
|
|
926
926
|
\********************************************************/
|
|
927
|
-
|
|
927
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
928
928
|
|
|
929
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
930
|
|
|
931
|
-
/***/ }
|
|
931
|
+
/***/ },
|
|
932
932
|
|
|
933
|
-
/***/ "./lib/components/selectboxes/SelectBoxes.js"
|
|
933
|
+
/***/ "./lib/components/selectboxes/SelectBoxes.js"
|
|
934
934
|
/*!***************************************************!*\
|
|
935
935
|
!*** ./lib/components/selectboxes/SelectBoxes.js ***!
|
|
936
936
|
\***************************************************/
|
|
937
|
-
|
|
937
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
938
938
|
|
|
939
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
940
|
|
|
941
|
-
/***/ }
|
|
941
|
+
/***/ },
|
|
942
942
|
|
|
943
|
-
/***/ "./lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js"
|
|
943
|
+
/***/ "./lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js"
|
|
944
944
|
/*!****************************************************************************!*\
|
|
945
945
|
!*** ./lib/components/selectboxes/editForm/SelectBoxes.edit.validation.js ***!
|
|
946
946
|
\****************************************************************************/
|
|
947
|
-
|
|
947
|
+
(__unused_webpack_module, exports) {
|
|
948
948
|
|
|
949
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
950
|
|
|
951
|
-
/***/ }
|
|
951
|
+
/***/ },
|
|
952
952
|
|
|
953
|
-
/***/ "./lib/components/signature/Signature.js"
|
|
953
|
+
/***/ "./lib/components/signature/Signature.js"
|
|
954
954
|
/*!***********************************************!*\
|
|
955
955
|
!*** ./lib/components/signature/Signature.js ***!
|
|
956
956
|
\***********************************************/
|
|
957
|
-
|
|
957
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
958
958
|
|
|
959
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
960
|
|
|
961
|
-
/***/ }
|
|
961
|
+
/***/ },
|
|
962
962
|
|
|
963
|
-
/***/ "./lib/components/sketchpad/Sketchpad.js"
|
|
963
|
+
/***/ "./lib/components/sketchpad/Sketchpad.js"
|
|
964
964
|
/*!***********************************************!*\
|
|
965
965
|
!*** ./lib/components/sketchpad/Sketchpad.js ***!
|
|
966
966
|
\***********************************************/
|
|
967
|
-
|
|
967
|
+
(__unused_webpack_module, exports) {
|
|
968
968
|
|
|
969
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
970
|
|
|
971
|
-
/***/ }
|
|
971
|
+
/***/ },
|
|
972
972
|
|
|
973
|
-
/***/ "./lib/components/survey/Survey.js"
|
|
973
|
+
/***/ "./lib/components/survey/Survey.js"
|
|
974
974
|
/*!*****************************************!*\
|
|
975
975
|
!*** ./lib/components/survey/Survey.js ***!
|
|
976
976
|
\*****************************************/
|
|
977
|
-
|
|
977
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
978
978
|
|
|
979
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
980
|
|
|
981
|
-
/***/ }
|
|
981
|
+
/***/ },
|
|
982
982
|
|
|
983
|
-
/***/ "./lib/components/table/Table.form.js"
|
|
983
|
+
/***/ "./lib/components/table/Table.form.js"
|
|
984
984
|
/*!********************************************!*\
|
|
985
985
|
!*** ./lib/components/table/Table.form.js ***!
|
|
986
986
|
\********************************************/
|
|
987
|
-
|
|
987
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
988
988
|
|
|
989
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
990
|
|
|
991
|
-
/***/ }
|
|
991
|
+
/***/ },
|
|
992
992
|
|
|
993
|
-
/***/ "./lib/components/table/Table.js"
|
|
993
|
+
/***/ "./lib/components/table/Table.js"
|
|
994
994
|
/*!***************************************!*\
|
|
995
995
|
!*** ./lib/components/table/Table.js ***!
|
|
996
996
|
\***************************************/
|
|
997
|
-
|
|
997
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
998
998
|
|
|
999
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
1000
|
|
|
1001
|
-
/***/ }
|
|
1001
|
+
/***/ },
|
|
1002
1002
|
|
|
1003
|
-
/***/ "./lib/components/table/editForm/Table.edit.display.js"
|
|
1003
|
+
/***/ "./lib/components/table/editForm/Table.edit.display.js"
|
|
1004
1004
|
/*!*************************************************************!*\
|
|
1005
1005
|
!*** ./lib/components/table/editForm/Table.edit.display.js ***!
|
|
1006
1006
|
\*************************************************************/
|
|
1007
|
-
|
|
1007
|
+
(__unused_webpack_module, exports) {
|
|
1008
1008
|
|
|
1009
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
1010
|
|
|
1011
|
-
/***/ }
|
|
1011
|
+
/***/ },
|
|
1012
1012
|
|
|
1013
|
-
/***/ "./lib/components/tabs/Tabs.js"
|
|
1013
|
+
/***/ "./lib/components/tabs/Tabs.js"
|
|
1014
1014
|
/*!*************************************!*\
|
|
1015
1015
|
!*** ./lib/components/tabs/Tabs.js ***!
|
|
1016
1016
|
\*************************************/
|
|
1017
|
-
|
|
1017
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1018
1018
|
|
|
1019
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
1020
|
|
|
1021
|
-
/***/ }
|
|
1021
|
+
/***/ },
|
|
1022
1022
|
|
|
1023
|
-
/***/ "./lib/components/tagpad/Tagpad.js"
|
|
1023
|
+
/***/ "./lib/components/tagpad/Tagpad.js"
|
|
1024
1024
|
/*!*****************************************!*\
|
|
1025
1025
|
!*** ./lib/components/tagpad/Tagpad.js ***!
|
|
1026
1026
|
\*****************************************/
|
|
1027
|
-
|
|
1027
|
+
(__unused_webpack_module, exports) {
|
|
1028
1028
|
|
|
1029
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
1030
|
|
|
1031
|
-
/***/ }
|
|
1031
|
+
/***/ },
|
|
1032
1032
|
|
|
1033
|
-
/***/ "./lib/components/tags/Tags.js"
|
|
1033
|
+
/***/ "./lib/components/tags/Tags.js"
|
|
1034
1034
|
/*!*************************************!*\
|
|
1035
1035
|
!*** ./lib/components/tags/Tags.js ***!
|
|
1036
1036
|
\*************************************/
|
|
1037
|
-
|
|
1037
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1038
1038
|
|
|
1039
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
1040
|
|
|
1041
|
-
/***/ }
|
|
1041
|
+
/***/ },
|
|
1042
1042
|
|
|
1043
|
-
/***/ "./lib/components/textarea/TextArea.form.js"
|
|
1043
|
+
/***/ "./lib/components/textarea/TextArea.form.js"
|
|
1044
1044
|
/*!**************************************************!*\
|
|
1045
1045
|
!*** ./lib/components/textarea/TextArea.form.js ***!
|
|
1046
1046
|
\**************************************************/
|
|
1047
|
-
|
|
1047
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1048
1048
|
|
|
1049
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
1050
|
|
|
1051
|
-
/***/ }
|
|
1051
|
+
/***/ },
|
|
1052
1052
|
|
|
1053
|
-
/***/ "./lib/components/textarea/TextArea.js"
|
|
1053
|
+
/***/ "./lib/components/textarea/TextArea.js"
|
|
1054
1054
|
/*!*********************************************!*\
|
|
1055
1055
|
!*** ./lib/components/textarea/TextArea.js ***!
|
|
1056
1056
|
\*********************************************/
|
|
1057
|
-
|
|
1057
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1058
1058
|
|
|
1059
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
1060
|
|
|
1061
|
-
/***/ }
|
|
1061
|
+
/***/ },
|
|
1062
1062
|
|
|
1063
|
-
/***/ "./lib/components/textarea/editForm/TextArea.edit.display.js"
|
|
1063
|
+
/***/ "./lib/components/textarea/editForm/TextArea.edit.display.js"
|
|
1064
1064
|
/*!*******************************************************************!*\
|
|
1065
1065
|
!*** ./lib/components/textarea/editForm/TextArea.edit.display.js ***!
|
|
1066
1066
|
\*******************************************************************/
|
|
1067
|
-
|
|
1067
|
+
(__unused_webpack_module, exports) {
|
|
1068
1068
|
|
|
1069
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
1070
|
|
|
1071
|
-
/***/ }
|
|
1071
|
+
/***/ },
|
|
1072
1072
|
|
|
1073
|
-
/***/ "./lib/components/textfield/TextField.form.js"
|
|
1073
|
+
/***/ "./lib/components/textfield/TextField.form.js"
|
|
1074
1074
|
/*!****************************************************!*\
|
|
1075
1075
|
!*** ./lib/components/textfield/TextField.form.js ***!
|
|
1076
1076
|
\****************************************************/
|
|
1077
|
-
|
|
1077
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1078
1078
|
|
|
1079
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
1080
|
|
|
1081
|
-
/***/ }
|
|
1081
|
+
/***/ },
|
|
1082
1082
|
|
|
1083
|
-
/***/ "./lib/components/textfield/TextField.js"
|
|
1083
|
+
/***/ "./lib/components/textfield/TextField.js"
|
|
1084
1084
|
/*!***********************************************!*\
|
|
1085
1085
|
!*** ./lib/components/textfield/TextField.js ***!
|
|
1086
1086
|
\***********************************************/
|
|
1087
|
-
|
|
1087
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1088
1088
|
|
|
1089
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
1090
|
|
|
1091
|
-
/***/ }
|
|
1091
|
+
/***/ },
|
|
1092
1092
|
|
|
1093
|
-
/***/ "./lib/components/textfield/editForm/TextField.edit.data.js"
|
|
1093
|
+
/***/ "./lib/components/textfield/editForm/TextField.edit.data.js"
|
|
1094
1094
|
/*!******************************************************************!*\
|
|
1095
1095
|
!*** ./lib/components/textfield/editForm/TextField.edit.data.js ***!
|
|
1096
1096
|
\******************************************************************/
|
|
1097
|
-
|
|
1097
|
+
(__unused_webpack_module, exports) {
|
|
1098
1098
|
|
|
1099
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
1100
|
|
|
1101
|
-
/***/ }
|
|
1101
|
+
/***/ },
|
|
1102
1102
|
|
|
1103
|
-
/***/ "./lib/components/textfield/editForm/TextField.edit.display.js"
|
|
1103
|
+
/***/ "./lib/components/textfield/editForm/TextField.edit.display.js"
|
|
1104
1104
|
/*!*********************************************************************!*\
|
|
1105
1105
|
!*** ./lib/components/textfield/editForm/TextField.edit.display.js ***!
|
|
1106
1106
|
\*********************************************************************/
|
|
1107
|
-
|
|
1107
|
+
(__unused_webpack_module, exports) {
|
|
1108
1108
|
|
|
1109
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
1110
|
|
|
1111
|
-
/***/ }
|
|
1111
|
+
/***/ },
|
|
1112
1112
|
|
|
1113
|
-
/***/ "./lib/components/textfield/editForm/TextField.edit.validation.js"
|
|
1113
|
+
/***/ "./lib/components/textfield/editForm/TextField.edit.validation.js"
|
|
1114
1114
|
/*!************************************************************************!*\
|
|
1115
1115
|
!*** ./lib/components/textfield/editForm/TextField.edit.validation.js ***!
|
|
1116
1116
|
\************************************************************************/
|
|
1117
|
-
|
|
1117
|
+
(__unused_webpack_module, exports) {
|
|
1118
1118
|
|
|
1119
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
1120
|
|
|
1121
|
-
/***/ }
|
|
1121
|
+
/***/ },
|
|
1122
1122
|
|
|
1123
|
-
/***/ "./lib/components/time/Time.form.js"
|
|
1123
|
+
/***/ "./lib/components/time/Time.form.js"
|
|
1124
1124
|
/*!******************************************!*\
|
|
1125
1125
|
!*** ./lib/components/time/Time.form.js ***!
|
|
1126
1126
|
\******************************************/
|
|
1127
|
-
|
|
1127
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1128
1128
|
|
|
1129
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
1130
|
|
|
1131
|
-
/***/ }
|
|
1131
|
+
/***/ },
|
|
1132
1132
|
|
|
1133
|
-
/***/ "./lib/components/time/Time.js"
|
|
1133
|
+
/***/ "./lib/components/time/Time.js"
|
|
1134
1134
|
/*!*************************************!*\
|
|
1135
1135
|
!*** ./lib/components/time/Time.js ***!
|
|
1136
1136
|
\*************************************/
|
|
1137
|
-
|
|
1137
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1138
1138
|
|
|
1139
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
1140
|
|
|
1141
|
-
/***/ }
|
|
1141
|
+
/***/ },
|
|
1142
1142
|
|
|
1143
|
-
/***/ "./lib/components/time/editForm/Time.edit.data.js"
|
|
1143
|
+
/***/ "./lib/components/time/editForm/Time.edit.data.js"
|
|
1144
1144
|
/*!********************************************************!*\
|
|
1145
1145
|
!*** ./lib/components/time/editForm/Time.edit.data.js ***!
|
|
1146
1146
|
\********************************************************/
|
|
1147
|
-
|
|
1147
|
+
(__unused_webpack_module, exports) {
|
|
1148
1148
|
|
|
1149
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
1150
|
|
|
1151
|
-
/***/ }
|
|
1151
|
+
/***/ },
|
|
1152
1152
|
|
|
1153
|
-
/***/ "./lib/components/time/editForm/Time.edit.display.js"
|
|
1153
|
+
/***/ "./lib/components/time/editForm/Time.edit.display.js"
|
|
1154
1154
|
/*!***********************************************************!*\
|
|
1155
1155
|
!*** ./lib/components/time/editForm/Time.edit.display.js ***!
|
|
1156
1156
|
\***********************************************************/
|
|
1157
|
-
|
|
1157
|
+
(__unused_webpack_module, exports) {
|
|
1158
1158
|
|
|
1159
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
1160
|
|
|
1161
|
-
/***/ }
|
|
1161
|
+
/***/ },
|
|
1162
1162
|
|
|
1163
|
-
/***/ "./lib/components/tooltip/Tooltip.js"
|
|
1163
|
+
/***/ "./lib/components/tooltip/Tooltip.js"
|
|
1164
1164
|
/*!*******************************************!*\
|
|
1165
1165
|
!*** ./lib/components/tooltip/Tooltip.js ***!
|
|
1166
1166
|
\*******************************************/
|
|
1167
|
-
|
|
1167
|
+
(__unused_webpack_module, exports) {
|
|
1168
1168
|
|
|
1169
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
1170
|
|
|
1171
|
-
/***/ }
|
|
1171
|
+
/***/ },
|
|
1172
1172
|
|
|
1173
|
-
/***/ "./lib/components/unknown/Unknown.js"
|
|
1173
|
+
/***/ "./lib/components/unknown/Unknown.js"
|
|
1174
1174
|
/*!*******************************************!*\
|
|
1175
1175
|
!*** ./lib/components/unknown/Unknown.js ***!
|
|
1176
1176
|
\*******************************************/
|
|
1177
|
-
|
|
1177
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1178
1178
|
|
|
1179
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
1180
|
|
|
1181
|
-
/***/ }
|
|
1181
|
+
/***/ },
|
|
1182
1182
|
|
|
1183
|
-
/***/ "./lib/components/url/Url.form.js"
|
|
1183
|
+
/***/ "./lib/components/url/Url.form.js"
|
|
1184
1184
|
/*!****************************************!*\
|
|
1185
1185
|
!*** ./lib/components/url/Url.form.js ***!
|
|
1186
1186
|
\****************************************/
|
|
1187
|
-
|
|
1187
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1188
1188
|
|
|
1189
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
1190
|
|
|
1191
|
-
/***/ }
|
|
1191
|
+
/***/ },
|
|
1192
1192
|
|
|
1193
|
-
/***/ "./lib/components/url/Url.js"
|
|
1193
|
+
/***/ "./lib/components/url/Url.js"
|
|
1194
1194
|
/*!***********************************!*\
|
|
1195
1195
|
!*** ./lib/components/url/Url.js ***!
|
|
1196
1196
|
\***********************************/
|
|
1197
|
-
|
|
1197
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1198
1198
|
|
|
1199
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
1200
|
|
|
1201
|
-
/***/ }
|
|
1201
|
+
/***/ },
|
|
1202
1202
|
|
|
1203
|
-
/***/ "./lib/components/url/editForm/Url.edit.data.js"
|
|
1203
|
+
/***/ "./lib/components/url/editForm/Url.edit.data.js"
|
|
1204
1204
|
/*!******************************************************!*\
|
|
1205
1205
|
!*** ./lib/components/url/editForm/Url.edit.data.js ***!
|
|
1206
1206
|
\******************************************************/
|
|
1207
|
-
|
|
1207
|
+
(__unused_webpack_module, exports) {
|
|
1208
1208
|
|
|
1209
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
1210
|
|
|
1211
|
-
/***/ }
|
|
1211
|
+
/***/ },
|
|
1212
1212
|
|
|
1213
|
-
/***/ "./lib/components/url/editForm/Url.edit.display.js"
|
|
1213
|
+
/***/ "./lib/components/url/editForm/Url.edit.display.js"
|
|
1214
1214
|
/*!*********************************************************!*\
|
|
1215
1215
|
!*** ./lib/components/url/editForm/Url.edit.display.js ***!
|
|
1216
1216
|
\*********************************************************/
|
|
1217
|
-
|
|
1217
|
+
(__unused_webpack_module, exports) {
|
|
1218
1218
|
|
|
1219
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
1220
|
|
|
1221
|
-
/***/ }
|
|
1221
|
+
/***/ },
|
|
1222
1222
|
|
|
1223
|
-
/***/ "./lib/components/url/editForm/Url.edit.validation.js"
|
|
1223
|
+
/***/ "./lib/components/url/editForm/Url.edit.validation.js"
|
|
1224
1224
|
/*!************************************************************!*\
|
|
1225
1225
|
!*** ./lib/components/url/editForm/Url.edit.validation.js ***!
|
|
1226
1226
|
\************************************************************/
|
|
1227
|
-
|
|
1227
|
+
(__unused_webpack_module, exports) {
|
|
1228
1228
|
|
|
1229
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
1230
|
|
|
1231
|
-
/***/ }
|
|
1231
|
+
/***/ },
|
|
1232
1232
|
|
|
1233
|
-
/***/ "./lib/components/well/Well.form.js"
|
|
1233
|
+
/***/ "./lib/components/well/Well.form.js"
|
|
1234
1234
|
/*!******************************************!*\
|
|
1235
1235
|
!*** ./lib/components/well/Well.form.js ***!
|
|
1236
1236
|
\******************************************/
|
|
1237
|
-
|
|
1237
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1238
1238
|
|
|
1239
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
1240
|
|
|
1241
|
-
/***/ }
|
|
1241
|
+
/***/ },
|
|
1242
1242
|
|
|
1243
|
-
/***/ "./lib/components/well/Well.js"
|
|
1243
|
+
/***/ "./lib/components/well/Well.js"
|
|
1244
1244
|
/*!*************************************!*\
|
|
1245
1245
|
!*** ./lib/components/well/Well.js ***!
|
|
1246
1246
|
\*************************************/
|
|
1247
|
-
|
|
1247
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1248
1248
|
|
|
1249
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
1250
|
|
|
1251
|
-
/***/ }
|
|
1251
|
+
/***/ },
|
|
1252
1252
|
|
|
1253
|
-
/***/ "./lib/displays/index.js"
|
|
1253
|
+
/***/ "./lib/displays/index.js"
|
|
1254
1254
|
/*!*******************************!*\
|
|
1255
1255
|
!*** ./lib/displays/index.js ***!
|
|
1256
1256
|
\*******************************/
|
|
1257
|
-
|
|
1257
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1258
1258
|
|
|
1259
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
1260
|
|
|
1261
|
-
/***/ }
|
|
1261
|
+
/***/ },
|
|
1262
1262
|
|
|
1263
|
-
/***/ "./lib/index.js"
|
|
1263
|
+
/***/ "./lib/index.js"
|
|
1264
1264
|
/*!**********************!*\
|
|
1265
1265
|
!*** ./lib/index.js ***!
|
|
1266
1266
|
\**********************/
|
|
1267
|
-
|
|
1267
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1268
1268
|
|
|
1269
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
1270
|
|
|
1271
|
-
/***/ }
|
|
1271
|
+
/***/ },
|
|
1272
1272
|
|
|
1273
|
-
/***/ "./lib/plugins/index.js"
|
|
1273
|
+
/***/ "./lib/plugins/index.js"
|
|
1274
1274
|
/*!******************************!*\
|
|
1275
1275
|
!*** ./lib/plugins/index.js ***!
|
|
1276
1276
|
\******************************/
|
|
1277
|
-
|
|
1277
|
+
(__unused_webpack_module, exports) {
|
|
1278
1278
|
|
|
1279
1279
|
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/plugins/index.js?\n}");
|
|
1280
1280
|
|
|
1281
|
-
/***/ }
|
|
1281
|
+
/***/ },
|
|
1282
1282
|
|
|
1283
|
-
/***/ "./lib/providers/auth/index.js"
|
|
1283
|
+
/***/ "./lib/providers/auth/index.js"
|
|
1284
1284
|
/*!*************************************!*\
|
|
1285
1285
|
!*** ./lib/providers/auth/index.js ***!
|
|
1286
1286
|
\*************************************/
|
|
1287
|
-
|
|
1287
|
+
(__unused_webpack_module, exports) {
|
|
1288
1288
|
|
|
1289
1289
|
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/providers/auth/index.js?\n}");
|
|
1290
1290
|
|
|
1291
|
-
/***/ }
|
|
1291
|
+
/***/ },
|
|
1292
1292
|
|
|
1293
|
-
/***/ "./lib/providers/index.js"
|
|
1293
|
+
/***/ "./lib/providers/index.js"
|
|
1294
1294
|
/*!********************************!*\
|
|
1295
1295
|
!*** ./lib/providers/index.js ***!
|
|
1296
1296
|
\********************************/
|
|
1297
|
-
|
|
1297
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1298
1298
|
|
|
1299
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
1300
|
|
|
1301
|
-
/***/ }
|
|
1301
|
+
/***/ },
|
|
1302
1302
|
|
|
1303
|
-
/***/ "./lib/providers/storage/index.js"
|
|
1303
|
+
/***/ "./lib/providers/storage/index.js"
|
|
1304
1304
|
/*!****************************************!*\
|
|
1305
1305
|
!*** ./lib/providers/storage/index.js ***!
|
|
1306
1306
|
\****************************************/
|
|
1307
|
-
|
|
1307
|
+
(__unused_webpack_module, exports) {
|
|
1308
1308
|
|
|
1309
1309
|
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/providers/storage/index.js?\n}");
|
|
1310
1310
|
|
|
1311
|
-
/***/ }
|
|
1311
|
+
/***/ },
|
|
1312
1312
|
|
|
1313
|
-
/***/ "./lib/templates/index.js"
|
|
1313
|
+
/***/ "./lib/templates/index.js"
|
|
1314
1314
|
/*!********************************!*\
|
|
1315
1315
|
!*** ./lib/templates/index.js ***!
|
|
1316
1316
|
\********************************/
|
|
1317
|
-
|
|
1317
|
+
(__unused_webpack_module, exports) {
|
|
1318
1318
|
|
|
1319
1319
|
eval("{\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports[\"default\"] = {};\n\n\n//# sourceURL=webpack://vpat/./lib/templates/index.js?\n}");
|
|
1320
1320
|
|
|
1321
|
-
/***/ }
|
|
1321
|
+
/***/ },
|
|
1322
1322
|
|
|
1323
|
-
/***/ "./lib/util/index.js"
|
|
1323
|
+
/***/ "./lib/util/index.js"
|
|
1324
1324
|
/*!***************************!*\
|
|
1325
1325
|
!*** ./lib/util/index.js ***!
|
|
1326
1326
|
\***************************/
|
|
1327
|
-
|
|
1327
|
+
(__unused_webpack_module, exports) {
|
|
1328
1328
|
|
|
1329
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
1330
|
|
|
1331
|
-
/***/ }
|
|
1331
|
+
/***/ },
|
|
1332
1332
|
|
|
1333
|
-
/***/ "./lib/util/modalUtils.js"
|
|
1333
|
+
/***/ "./lib/util/modalUtils.js"
|
|
1334
1334
|
/*!********************************!*\
|
|
1335
1335
|
!*** ./lib/util/modalUtils.js ***!
|
|
1336
1336
|
\********************************/
|
|
1337
|
-
|
|
1337
|
+
(__unused_webpack_module, exports) {
|
|
1338
1338
|
|
|
1339
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
1340
|
|
|
1341
|
-
/***/ }
|
|
1341
|
+
/***/ },
|
|
1342
1342
|
|
|
1343
|
-
/***/ "./lib/widgets/CalendarWidget.js"
|
|
1343
|
+
/***/ "./lib/widgets/CalendarWidget.js"
|
|
1344
1344
|
/*!***************************************!*\
|
|
1345
1345
|
!*** ./lib/widgets/CalendarWidget.js ***!
|
|
1346
1346
|
\***************************************/
|
|
1347
|
-
|
|
1347
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1348
1348
|
|
|
1349
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
1350
|
|
|
1351
|
-
/***/ }
|
|
1351
|
+
/***/ },
|
|
1352
1352
|
|
|
1353
|
-
/***/ "./lib/widgets/index.js"
|
|
1353
|
+
/***/ "./lib/widgets/index.js"
|
|
1354
1354
|
/*!******************************!*\
|
|
1355
1355
|
!*** ./lib/widgets/index.js ***!
|
|
1356
1356
|
\******************************/
|
|
1357
|
-
|
|
1357
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
1358
1358
|
|
|
1359
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
1360
|
|
|
1361
|
-
/***/ }
|
|
1361
|
+
/***/ },
|
|
1362
1362
|
|
|
1363
|
-
/***/ "@formio/js"
|
|
1363
|
+
/***/ "@formio/js"
|
|
1364
1364
|
/*!*************************!*\
|
|
1365
1365
|
!*** external "Formio" ***!
|
|
1366
1366
|
\*************************/
|
|
1367
|
-
|
|
1367
|
+
(module) {
|
|
1368
1368
|
|
|
1369
1369
|
module.exports = __WEBPACK_EXTERNAL_MODULE__formio_js__;
|
|
1370
1370
|
|
|
1371
|
-
/***/ }
|
|
1371
|
+
/***/ }
|
|
1372
1372
|
|
|
1373
1373
|
/******/ });
|
|
1374
1374
|
/************************************************************************/
|
|
@@ -1382,6 +1382,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__formio_js__;
|
|
|
1382
1382
|
/******/ if (cachedModule !== undefined) {
|
|
1383
1383
|
/******/ return cachedModule.exports;
|
|
1384
1384
|
/******/ }
|
|
1385
|
+
/******/ // Check if module exists (development only)
|
|
1386
|
+
/******/ if (__webpack_modules__[moduleId] === undefined) {
|
|
1387
|
+
/******/ var e = new Error("Cannot find module '" + moduleId + "'");
|
|
1388
|
+
/******/ e.code = 'MODULE_NOT_FOUND';
|
|
1389
|
+
/******/ throw e;
|
|
1390
|
+
/******/ }
|
|
1385
1391
|
/******/ // Create a new module (and put it into the cache)
|
|
1386
1392
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
1387
1393
|
/******/ // no module.id needed
|