@formio/js 5.0.0-dev.5910.f7a730e → 5.0.0-dev.5911.81fbc1f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/formio.form.js +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +3 -3
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/WebformBuilder.js +4 -17
- package/lib/cjs/components/hidden/Hidden.d.ts +1 -0
- package/lib/cjs/components/hidden/Hidden.js +1 -1
- package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1 -1
- package/lib/cjs/components/select/editForm/Select.edit.data.js +0 -1
- package/lib/mjs/WebformBuilder.js +4 -17
- package/lib/mjs/components/hidden/Hidden.d.ts +1 -0
- package/lib/mjs/components/hidden/Hidden.js +1 -1
- package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1 -1
- package/lib/mjs/components/select/editForm/Select.edit.data.js +0 -1
- package/package.json +1 -1
package/dist/formio.form.js
CHANGED
|
@@ -5215,7 +5215,7 @@ eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5215
5215
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
5216
5216
|
|
|
5217
5217
|
"use strict";
|
|
5218
|
-
eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Input_1 = __importDefault(__webpack_require__(/*! ../_classes/input/Input */ \"./lib/cjs/components/_classes/input/Input.js\"));\nclass HiddenComponent extends Input_1.default {\n static schema(...extend) {\n return Input_1.default.schema({\n type: 'hidden',\n tableView: false,\n inputType: 'hidden'\n }, ...extend);\n }\n static get builderInfo() {\n return {\n title: 'Hidden',\n group: 'data',\n icon: 'user-secret',\n weight: 0,\n documentation: '/userguide/form-building/data-components#hidden',\n showPreview: false,\n schema: HiddenComponent.schema()\n };\n }\n get defaultSchema() {\n return HiddenComponent.schema();\n }\n get inputInfo() {\n const info = super.elementInfo();\n info.type = 'input';\n info.attr.type = 'hidden';\n info.changeEvent = 'change';\n return info;\n }\n get skipInEmail() {\n return true;\n }\n /**\n * Check if a component is eligible for multiple validation\n * @returns {boolean} - If the component is eligible for multiple validation.\n */\n validateMultiple() {\n // Since \"arrays\" are able to be stored in hidden components, we need to turn off multiple validation.\n return false;\n }\n labelIsHidden() {\n return true;\n }\n get emptyValue() {\n return
|
|
5218
|
+
eval("\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst Input_1 = __importDefault(__webpack_require__(/*! ../_classes/input/Input */ \"./lib/cjs/components/_classes/input/Input.js\"));\nclass HiddenComponent extends Input_1.default {\n static schema(...extend) {\n return Input_1.default.schema({\n type: 'hidden',\n tableView: false,\n inputType: 'hidden'\n }, ...extend);\n }\n static get builderInfo() {\n return {\n title: 'Hidden',\n group: 'data',\n icon: 'user-secret',\n weight: 0,\n documentation: '/userguide/form-building/data-components#hidden',\n showPreview: false,\n schema: HiddenComponent.schema()\n };\n }\n get defaultSchema() {\n return HiddenComponent.schema();\n }\n get inputInfo() {\n const info = super.elementInfo();\n info.type = 'input';\n info.attr.type = 'hidden';\n info.changeEvent = 'change';\n return info;\n }\n get skipInEmail() {\n return true;\n }\n /**\n * Check if a component is eligible for multiple validation\n * @returns {boolean} - If the component is eligible for multiple validation.\n */\n validateMultiple() {\n // Since \"arrays\" are able to be stored in hidden components, we need to turn off multiple validation.\n return false;\n }\n labelIsHidden() {\n return true;\n }\n get emptyValue() {\n return '';\n }\n setValue(value, flags = {}) {\n return this.updateValue(value, flags);\n }\n getValue() {\n return this.dataValue;\n }\n}\nexports[\"default\"] = HiddenComponent;\n\n\n//# sourceURL=webpack://Formio/./lib/cjs/components/hidden/Hidden.js?");
|
|
5219
5219
|
|
|
5220
5220
|
/***/ }),
|
|
5221
5221
|
|