@formio/js 5.0.0-rc.62 → 5.0.0-rc.64
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 +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 +3 -3
- 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.js +1 -1
- package/dist/formio.utils.min.js +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/Formio.js +1 -0
- package/lib/cjs/utils/utils.js +0 -4
- package/lib/mjs/Formio.js +1 -0
- package/lib/mjs/utils/utils.js +0 -4
- package/package.json +1 -2
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
/*! @license DOMPurify 3.1.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.5/LICENSE */
|
22
22
|
|
23
|
-
/*! formiojs v5.0.0-rc.
|
23
|
+
/*! formiojs v5.0.0-rc.64 | https://unpkg.com/formiojs@5.0.0-rc.64/LICENSE.txt */
|
24
24
|
|
25
25
|
/**
|
26
26
|
* @license
|
package/lib/cjs/Formio.js
CHANGED
package/lib/cjs/utils/utils.js
CHANGED
@@ -34,7 +34,6 @@ exports.firstNonNil = exports.unfold = exports.bootstrapVersion = exports.unique
|
|
34
34
|
exports.isSelectResourceWithObjectValue = exports.getItemTemplateKeys = exports.interpolateErrors = exports.getComponentSavedTypes = exports.componentValueTypes = exports._ = exports.getFocusableElements = exports.isInsideScopingComponent = exports.isPromise = exports.getDataParentComponent = exports.getComponentPath = exports.getComponentPathWithoutIndicies = exports.getBrowserInfo = exports.getIEBrowserVersion = exports.round = exports.getStringFromComponentPath = exports.isChildOf = exports.getArrayFromComponentPath = exports.isInputComponent = exports.interpolate = exports.Evaluator = exports.fastCloneDeep = exports.sanitize = exports.translateHTMLTemplate = exports.getContextButtons = exports.getContextComponents = exports.observeOverload = exports.withSwitch = void 0;
|
35
35
|
const lodash_1 = __importDefault(require("lodash"));
|
36
36
|
exports._ = lodash_1.default;
|
37
|
-
const fetch_ponyfill_1 = __importDefault(require("fetch-ponyfill"));
|
38
37
|
const json_logic_js_1 = __importDefault(require("json-logic-js"));
|
39
38
|
exports.jsonLogic = json_logic_js_1.default;
|
40
39
|
const moment_timezone_1 = __importDefault(require("moment-timezone/moment-timezone"));
|
@@ -48,9 +47,6 @@ const conditionOperators_1 = __importDefault(require("./conditionOperators"));
|
|
48
47
|
exports.ConditionOperators = conditionOperators_1.default;
|
49
48
|
const interpolate = Evaluator_1.Evaluator.interpolate;
|
50
49
|
exports.interpolate = interpolate;
|
51
|
-
const { fetch } = (0, fetch_ponyfill_1.default)({
|
52
|
-
Promise: Promise
|
53
|
-
});
|
54
50
|
__exportStar(require("./formUtils"), exports);
|
55
51
|
// Configure JsonLogic
|
56
52
|
operators_1.lodashOperators.forEach((name) => json_logic_js_1.default.add_operation(`_${name}`, lodash_1.default[name]));
|
package/lib/mjs/Formio.js
CHANGED
package/lib/mjs/utils/utils.js
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
/* global jQuery */
|
2
2
|
import _ from 'lodash';
|
3
|
-
import fetchPonyfill from 'fetch-ponyfill';
|
4
3
|
import jsonLogic from 'json-logic-js';
|
5
4
|
import moment from 'moment-timezone/moment-timezone';
|
6
5
|
import jtz from 'jstimezonedetect';
|
@@ -10,9 +9,6 @@ import { getValue } from './formUtils';
|
|
10
9
|
import { Evaluator } from './Evaluator';
|
11
10
|
import ConditionOperators from './conditionOperators';
|
12
11
|
const interpolate = Evaluator.interpolate;
|
13
|
-
const { fetch } = fetchPonyfill({
|
14
|
-
Promise: Promise
|
15
|
-
});
|
16
12
|
export * from './formUtils';
|
17
13
|
// Configure JsonLogic
|
18
14
|
lodashOperators.forEach((name) => jsonLogic.add_operation(`_${name}`, _[name]));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@formio/js",
|
3
|
-
"version": "5.0.0-rc.
|
3
|
+
"version": "5.0.0-rc.64",
|
4
4
|
"description": "JavaScript powered Forms with JSON Form Builder",
|
5
5
|
"main": "lib/cjs/index.js",
|
6
6
|
"exports": {
|
@@ -99,7 +99,6 @@
|
|
99
99
|
"eventemitter3": "^5.0.1",
|
100
100
|
"fast-deep-equal": "^3.1.3",
|
101
101
|
"fast-json-patch": "^3.1.1",
|
102
|
-
"fetch-ponyfill": "^7.1.0",
|
103
102
|
"idb": "^7.1.1",
|
104
103
|
"inputmask": "^5.0.8",
|
105
104
|
"ismobilejs": "^1.1.1",
|