@formio/js 5.0.0-dev.5750.5b1284a → 5.0.0-dev.5755.7a395f8
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/Changelog.md +9 -0
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.form.js +33 -13
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +2 -0
- package/dist/formio.full.js +35 -15
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +2 -0
- package/dist/formio.js +1 -1
- package/dist/formio.min.js +1 -1
- package/dist/formio.utils.js +24 -4
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +2 -0
- package/lib/cjs/CDN.js +1 -2
- package/lib/cjs/Form.js +2 -2
- package/lib/cjs/Wizard.js +1 -1
- package/lib/cjs/components/file/File.d.ts +1 -1
- package/lib/cjs/components/file/File.js +6 -1
- package/lib/cjs/components/form/editForm/Form.edit.form.js +1 -1
- package/lib/cjs/components/form/fixtures/index.d.ts +2 -1
- package/lib/cjs/components/form/fixtures/index.js +3 -1
- package/lib/cjs/components/form/fixtures/nestedWizardForm.d.ts +771 -0
- package/lib/cjs/components/form/fixtures/nestedWizardForm.js +765 -0
- package/lib/cjs/components/time/Time.form.js +2 -2
- package/lib/mjs/CDN.js +1 -2
- package/lib/mjs/Form.js +2 -2
- package/lib/mjs/Wizard.js +1 -1
- package/lib/mjs/components/file/File.d.ts +1 -1
- package/lib/mjs/components/file/File.js +6 -1
- package/lib/mjs/components/form/editForm/Form.edit.form.js +1 -1
- package/lib/mjs/components/form/fixtures/index.d.ts +2 -1
- package/lib/mjs/components/form/fixtures/index.js +2 -1
- package/lib/mjs/components/form/fixtures/nestedWizardForm.d.ts +771 -0
- package/lib/mjs/components/form/fixtures/nestedWizardForm.js +763 -0
- package/lib/mjs/components/time/Time.form.js +2 -2
- package/package.json +22 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Components from '../Components';
|
|
2
2
|
import TimeEditData from './editForm/Time.edit.data';
|
|
3
3
|
import TimeEditDisplay from './editForm/Time.edit.display';
|
|
4
4
|
/**
|
|
@@ -7,7 +7,7 @@ import TimeEditDisplay from './editForm/Time.edit.display';
|
|
|
7
7
|
* @returns {import('@formio/core').Component[]} - The edit form components.
|
|
8
8
|
*/
|
|
9
9
|
export default function (...extend) {
|
|
10
|
-
return baseEditForm([
|
|
10
|
+
return Components.baseEditForm([
|
|
11
11
|
{
|
|
12
12
|
key: 'data',
|
|
13
13
|
components: TimeEditData,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formio/js",
|
|
3
|
-
"version": "5.0.0-dev.
|
|
3
|
+
"version": "5.0.0-dev.5755.7a395f8",
|
|
4
4
|
"description": "JavaScript powered Forms with JSON Form Builder",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -56,9 +56,10 @@
|
|
|
56
56
|
"dopublish": "npm run build && npm run tag && npm publish",
|
|
57
57
|
"lint": "eslint ./src --fix",
|
|
58
58
|
"serve": "jekyll serve --config _config.yml,_config.dev.yml",
|
|
59
|
-
"test": "mocha
|
|
59
|
+
"test": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha src/**/*.unit.js",
|
|
60
60
|
"test:updateRenders": "npm run lib && TZ=UTC node --require jsdom-global/register test/updateRenders.js",
|
|
61
|
-
"test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run"
|
|
61
|
+
"test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run",
|
|
62
|
+
"show-coverage": "open coverage/lcov-report/index.html"
|
|
62
63
|
},
|
|
63
64
|
"repository": {
|
|
64
65
|
"type": "git",
|
|
@@ -89,11 +90,11 @@
|
|
|
89
90
|
"bootstrap": "^5.3.3",
|
|
90
91
|
"browser-cookies": "^1.2.0",
|
|
91
92
|
"browser-md5-file": "^1.1.1",
|
|
92
|
-
"compare-versions": "^6.
|
|
93
|
+
"compare-versions": "^6.1.1",
|
|
93
94
|
"core-js": "^3.37.1",
|
|
94
95
|
"dialog-polyfill": "^0.5.6",
|
|
95
96
|
"dom-autoscroller": "^2.3.4",
|
|
96
|
-
"dompurify": "^3.1.
|
|
97
|
+
"dompurify": "^3.1.6",
|
|
97
98
|
"downloadjs": "^1.4.7",
|
|
98
99
|
"dragula": "^3.7.3",
|
|
99
100
|
"eventemitter3": "^5.0.1",
|
|
@@ -102,7 +103,7 @@
|
|
|
102
103
|
"idb": "^7.1.1",
|
|
103
104
|
"inputmask": "^5.0.8",
|
|
104
105
|
"ismobilejs": "^1.1.1",
|
|
105
|
-
"json-logic-js": "^2.0.
|
|
106
|
+
"json-logic-js": "^2.0.5",
|
|
106
107
|
"jstimezonedetect": "^1.0.7",
|
|
107
108
|
"jwt-decode": "^3.1.2",
|
|
108
109
|
"lodash": "^4.17.21",
|
|
@@ -155,6 +156,7 @@
|
|
|
155
156
|
"mocha": "^10.3.0",
|
|
156
157
|
"mock-local-storage": "^1.1.24",
|
|
157
158
|
"natives": "^1.1.6",
|
|
159
|
+
"nyc": "^17.0.0",
|
|
158
160
|
"power-assert": "^1.6.1",
|
|
159
161
|
"pre-commit": "^1.2.2",
|
|
160
162
|
"pretty": "^2.0.0",
|
|
@@ -174,5 +176,19 @@
|
|
|
174
176
|
"webpack-cli": "^5.1.1",
|
|
175
177
|
"webpack-node-externals": "^3.0.0",
|
|
176
178
|
"webpack-stream": "^7.0.0"
|
|
179
|
+
},
|
|
180
|
+
"nyc": {
|
|
181
|
+
"check-coverage": true,
|
|
182
|
+
"statements": 15,
|
|
183
|
+
"branches": 18,
|
|
184
|
+
"functions": 14,
|
|
185
|
+
"lines": 15,
|
|
186
|
+
"include": [
|
|
187
|
+
"src/**/*.js"
|
|
188
|
+
],
|
|
189
|
+
"exclude": [
|
|
190
|
+
"src/**/fixtures"
|
|
191
|
+
],
|
|
192
|
+
"all": true
|
|
177
193
|
}
|
|
178
194
|
}
|