@formio/js 5.2.1-dev.6228.7172789 → 5.2.1-dev.6236.96bf618
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 +18 -0
- package/README.md +34 -1
- package/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +3 -3
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +4 -4
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +2 -2
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/Embed.js +1 -1
- package/lib/cjs/Formio.js +1 -1
- package/lib/cjs/WizardBuilder.js +4 -0
- package/lib/cjs/formio.form.js +1 -0
- package/lib/mjs/Embed.js +1 -1
- package/lib/mjs/Formio.js +1 -1
- package/lib/mjs/WizardBuilder.js +4 -0
- package/lib/mjs/formio.form.js +1 -0
- package/package.json +3 -3
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
|
22
22
|
|
23
|
-
/*! formiojs v5.2.1
|
23
|
+
/*! formiojs v5.2.1 | https://unpkg.com/formiojs@5.2.1/LICENSE.txt */
|
24
24
|
|
25
25
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
26
26
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
/*! @license DOMPurify 3.2.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.4/LICENSE */
|
22
22
|
|
23
|
-
/*! formiojs v5.2.1
|
23
|
+
/*! formiojs v5.2.1 | https://unpkg.com/formiojs@5.2.1/LICENSE.txt */
|
24
24
|
|
25
25
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
26
26
|
|
package/lib/cjs/Embed.js
CHANGED
@@ -418,7 +418,7 @@ Formio.formioReady = new Promise((ready, reject) => {
|
|
418
418
|
_a._formioReady = ready;
|
419
419
|
_a._formioReadyReject = reject;
|
420
420
|
});
|
421
|
-
Formio.version = '5.2.1
|
421
|
+
Formio.version = '5.2.1';
|
422
422
|
// Create a report.
|
423
423
|
Formio.Report = {
|
424
424
|
create: (element, submission, options = {}) => __awaiter(void 0, void 0, void 0, function* () {
|
package/lib/cjs/Formio.js
CHANGED
@@ -11,7 +11,7 @@ const CDN_1 = __importDefault(require("./CDN"));
|
|
11
11
|
const providers_1 = __importDefault(require("./providers"));
|
12
12
|
sdk_1.Formio.cdn = new CDN_1.default();
|
13
13
|
sdk_1.Formio.Providers = providers_1.default;
|
14
|
-
sdk_1.Formio.version = '5.2.1
|
14
|
+
sdk_1.Formio.version = '5.2.1';
|
15
15
|
CDN_1.default.defaultCDN = sdk_1.Formio.version.includes('rc') ? 'https://cdn.test-form.io' : 'https://cdn.form.io';
|
16
16
|
const isNil = (val) => val === null || val === undefined;
|
17
17
|
sdk_1.Formio.prototype.uploadFile = function (storage, file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, uploadStartCallback, abortCallback, multipartOptions) {
|
package/lib/cjs/WizardBuilder.js
CHANGED
@@ -183,6 +183,10 @@ class WizardBuilder extends WebformBuilder_1.default {
|
|
183
183
|
this.navigationDragula = null;
|
184
184
|
super.detach();
|
185
185
|
}
|
186
|
+
destroy(all = false) {
|
187
|
+
this.off('saveComponent');
|
188
|
+
super.destroy(all);
|
189
|
+
}
|
186
190
|
rebuild() {
|
187
191
|
var _a;
|
188
192
|
const page = this.currentPage;
|
package/lib/cjs/formio.form.js
CHANGED
@@ -48,6 +48,7 @@ Formio_1.Formio.Widgets = widgets_1.default;
|
|
48
48
|
Formio_1.Formio.Evaluator = utils_2.Evaluator;
|
49
49
|
Formio_1.Formio.AllComponents = components_1.default;
|
50
50
|
Formio_1.Formio.Licenses = licenses_1.default;
|
51
|
+
Formio_1.Formio.DefaultEvaluator = utils_2.DefaultEvaluator;
|
51
52
|
// This is strange, but is needed for "premium" components to import correctly.
|
52
53
|
Formio_1.Formio.Formio = Formio_1.Formio;
|
53
54
|
Formio_1.Formio.Components.setComponents(components_1.default);
|
package/lib/mjs/Embed.js
CHANGED
@@ -14,7 +14,7 @@ export class Formio {
|
|
14
14
|
Formio._formioReady = ready;
|
15
15
|
Formio._formioReadyReject = reject;
|
16
16
|
});
|
17
|
-
static version = '5.2.1
|
17
|
+
static version = '5.2.1';
|
18
18
|
static setLicense(license, norecurse = false) {
|
19
19
|
Formio.license = license;
|
20
20
|
if (!norecurse && Formio.FormioClass) {
|
package/lib/mjs/Formio.js
CHANGED
@@ -4,7 +4,7 @@ import CDN from './CDN';
|
|
4
4
|
import Providers from './providers';
|
5
5
|
FormioCore.cdn = new CDN();
|
6
6
|
FormioCore.Providers = Providers;
|
7
|
-
FormioCore.version = '5.2.1
|
7
|
+
FormioCore.version = '5.2.1';
|
8
8
|
CDN.defaultCDN = FormioCore.version.includes('rc') ? 'https://cdn.test-form.io' : 'https://cdn.form.io';
|
9
9
|
const isNil = (val) => val === null || val === undefined;
|
10
10
|
FormioCore.prototype.uploadFile = function (storage, file, fileName, dir, progressCallback, url, options, fileKey, groupPermissions, groupId, uploadStartCallback, abortCallback, multipartOptions) {
|
package/lib/mjs/WizardBuilder.js
CHANGED
@@ -178,6 +178,10 @@ export default class WizardBuilder extends WebformBuilder {
|
|
178
178
|
this.navigationDragula = null;
|
179
179
|
super.detach();
|
180
180
|
}
|
181
|
+
destroy(all = false) {
|
182
|
+
this.off('saveComponent');
|
183
|
+
super.destroy(all);
|
184
|
+
}
|
181
185
|
rebuild() {
|
182
186
|
const page = this.currentPage;
|
183
187
|
this.webform.setForm({
|
package/lib/mjs/formio.form.js
CHANGED
@@ -30,6 +30,7 @@ Formio.Widgets = Widgets;
|
|
30
30
|
Formio.Evaluator = Evaluator;
|
31
31
|
Formio.AllComponents = AllComponents;
|
32
32
|
Formio.Licenses = Licenses;
|
33
|
+
Formio.DefaultEvaluator = DefaultEvaluator;
|
33
34
|
// This is strange, but is needed for "premium" components to import correctly.
|
34
35
|
Formio.Formio = Formio;
|
35
36
|
Formio.Components.setComponents(AllComponents);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@formio/js",
|
3
|
-
"version": "5.2.1-dev.
|
3
|
+
"version": "5.2.1-dev.6236.96bf618",
|
4
4
|
"description": "JavaScript powered Forms with JSON Form Builder",
|
5
5
|
"main": "lib/cjs/index.js",
|
6
6
|
"exports": {
|
@@ -79,8 +79,8 @@
|
|
79
79
|
},
|
80
80
|
"homepage": "https://github.com/formio/formio.js#readme",
|
81
81
|
"dependencies": {
|
82
|
-
"@formio/bootstrap": "3.1.2
|
83
|
-
"@formio/core": "2.5.1
|
82
|
+
"@formio/bootstrap": "3.1.2",
|
83
|
+
"@formio/core": "2.5.1",
|
84
84
|
"@formio/text-mask-addons": "^3.8.0-formio.4",
|
85
85
|
"@formio/vanilla-text-mask": "^5.1.1-formio.1",
|
86
86
|
"abortcontroller-polyfill": "^1.7.5",
|