@formio/js 5.5.1-api99.0 → 5.5.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/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 +902 -902
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +1191 -1191
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +820 -820
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.js +763 -763
- package/dist/formio.utils.min.js +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/components/form/Form.js +1 -10
- package/lib/cjs/package.json +1 -1
- package/lib/mjs/Embed.js +1 -1
- package/lib/mjs/Formio.js +1 -1
- package/lib/mjs/components/form/Form.js +1 -10
- package/lib/mjs/package.json +1 -1
- package/package.json +3 -3
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
/*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */
|
|
22
22
|
|
|
23
|
-
/*! formiojs v5.5.1
|
|
23
|
+
/*! formiojs v5.5.1 | https://unpkg.com/formiojs@5.5.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
|
@@ -500,7 +500,7 @@ Formio.formioReady = new Promise((ready, reject) => {
|
|
|
500
500
|
_a._formioReady = ready;
|
|
501
501
|
_a._formioReadyReject = reject;
|
|
502
502
|
});
|
|
503
|
-
Formio.version = '5.5.1
|
|
503
|
+
Formio.version = '5.5.1';
|
|
504
504
|
// Create a report.
|
|
505
505
|
Formio.Report = {
|
|
506
506
|
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.5.1
|
|
14
|
+
sdk_1.Formio.version = '5.5.1';
|
|
15
15
|
CDN_1.default.defaultCDN = sdk_1.Formio.version.includes('rc')
|
|
16
16
|
? 'https://cdn.test-form.io'
|
|
17
17
|
: 'https://cdn.form.io';
|
|
@@ -288,16 +288,7 @@ class FormComponent extends Component_1.default {
|
|
|
288
288
|
}, this.text(this.formObj.title)));
|
|
289
289
|
return;
|
|
290
290
|
}
|
|
291
|
-
|
|
292
|
-
// instead of re-rendering the component into itself (which duplicates the id).
|
|
293
|
-
let content;
|
|
294
|
-
if (this.component.modalEdit) {
|
|
295
|
-
content = this.render();
|
|
296
|
-
}
|
|
297
|
-
else {
|
|
298
|
-
content = this.subForm ? this.subForm.render() : this.renderTemplate('loading');
|
|
299
|
-
}
|
|
300
|
-
this.setContent(element, content);
|
|
291
|
+
this.setContent(element, this.render());
|
|
301
292
|
const postAttach = () => {
|
|
302
293
|
if (!this.builderMode && this.component.modalEdit) {
|
|
303
294
|
const modalShouldBeOpened = this.componentModal ? this.componentModal.isOpened : false;
|
package/lib/cjs/package.json
CHANGED
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.5.1
|
|
17
|
+
static version = '5.5.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.5.1
|
|
7
|
+
FormioCore.version = '5.5.1';
|
|
8
8
|
CDN.defaultCDN = FormioCore.version.includes('rc')
|
|
9
9
|
? 'https://cdn.test-form.io'
|
|
10
10
|
: 'https://cdn.form.io';
|
|
@@ -283,16 +283,7 @@ export default class FormComponent extends Component {
|
|
|
283
283
|
}, this.text(this.formObj.title)));
|
|
284
284
|
return;
|
|
285
285
|
}
|
|
286
|
-
|
|
287
|
-
// instead of re-rendering the component into itself (which duplicates the id).
|
|
288
|
-
let content;
|
|
289
|
-
if (this.component.modalEdit) {
|
|
290
|
-
content = this.render();
|
|
291
|
-
}
|
|
292
|
-
else {
|
|
293
|
-
content = this.subForm ? this.subForm.render() : this.renderTemplate('loading');
|
|
294
|
-
}
|
|
295
|
-
this.setContent(element, content);
|
|
286
|
+
this.setContent(element, this.render());
|
|
296
287
|
const postAttach = () => {
|
|
297
288
|
if (!this.builderMode && this.component.modalEdit) {
|
|
298
289
|
const modalShouldBeOpened = this.componentModal ? this.componentModal.isOpened : false;
|
package/lib/mjs/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formio/js",
|
|
3
|
-
"version": "5.5.1
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "JavaScript powered Forms with JSON Form Builder",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"tippy.js": "^6.3.7",
|
|
91
91
|
"uuid": "^9.0.0",
|
|
92
92
|
"vanilla-picker": "^2.12.3",
|
|
93
|
-
"@formio/bootstrap": "^4.0.4
|
|
94
|
-
"@formio/core": "^2.8.1
|
|
93
|
+
"@formio/bootstrap": "^4.0.4",
|
|
94
|
+
"@formio/core": "^2.8.1"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@types/node": "^22.15.19",
|