@formio/js 5.1.0-dev.6128.3d38003 → 5.1.0-dev.6137.1f04cf3
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/README.md +2 -0
- package/dist/formio.form.js +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +1 -1
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.utils.js +1 -1
- package/dist/formio.utils.min.js +1 -1
- package/lib/cjs/utils/index.d.ts +3 -0
- package/lib/cjs/utils/index.js +6 -1
- package/lib/mjs/utils/index.d.ts +3 -0
- package/lib/mjs/utils/index.js +3 -1
- package/package.json +3 -2
package/lib/cjs/utils/index.d.ts
CHANGED
@@ -4,6 +4,9 @@ export default FormioUtils;
|
|
4
4
|
declare const FormioUtils: {
|
5
5
|
Evaluator: import("./Evaluator").DefaultEvaluator;
|
6
6
|
interpolate: (rawTemplate: any, data: any, _options: any) => any;
|
7
|
+
ConditionOperators: {
|
8
|
+
[x: string]: typeof import("./conditionOperators/IsEqualTo").default | typeof import("./conditionOperators/DateGreaterThan").default;
|
9
|
+
};
|
7
10
|
flattenComponents: typeof import("@formio/core/lib/utils/formUtil").flattenComponents;
|
8
11
|
guid: typeof import("@formio/core/lib/utils/formUtil").guid;
|
9
12
|
uniqueName: typeof import("@formio/core/lib/utils/formUtil").uniqueName;
|
package/lib/cjs/utils/index.js
CHANGED
@@ -25,6 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
25
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
27
27
|
};
|
28
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
29
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
30
|
+
};
|
28
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
32
|
exports.registerEvaluator = exports.Evaluator = exports.Utils = void 0;
|
30
33
|
const utils = __importStar(require("./utils"));
|
@@ -32,8 +35,10 @@ const formUtils = __importStar(require("./formUtils"));
|
|
32
35
|
const Evaluator_1 = require("./Evaluator");
|
33
36
|
Object.defineProperty(exports, "Evaluator", { enumerable: true, get: function () { return Evaluator_1.Evaluator; } });
|
34
37
|
Object.defineProperty(exports, "registerEvaluator", { enumerable: true, get: function () { return Evaluator_1.registerEvaluator; } });
|
38
|
+
const conditionOperators_1 = __importDefault(require("./conditionOperators"));
|
35
39
|
const FormioUtils = Object.assign(Object.assign(Object.assign({}, utils), formUtils), { Evaluator: Evaluator_1.Evaluator,
|
36
|
-
interpolate: Evaluator_1.interpolate
|
40
|
+
interpolate: Evaluator_1.interpolate,
|
41
|
+
ConditionOperators: conditionOperators_1.default });
|
37
42
|
exports.Utils = FormioUtils;
|
38
43
|
if (typeof global === 'object') {
|
39
44
|
global.FormioUtils = FormioUtils;
|
package/lib/mjs/utils/index.d.ts
CHANGED
@@ -4,6 +4,9 @@ export default FormioUtils;
|
|
4
4
|
declare const FormioUtils: {
|
5
5
|
Evaluator: import("./Evaluator").DefaultEvaluator;
|
6
6
|
interpolate: (rawTemplate: any, data: any, _options: any) => any;
|
7
|
+
ConditionOperators: {
|
8
|
+
[x: string]: typeof import("./conditionOperators/IsEqualTo").default | typeof import("./conditionOperators/DateGreaterThan").default;
|
9
|
+
};
|
7
10
|
flattenComponents: typeof import("@formio/core/lib/utils/formUtil").flattenComponents;
|
8
11
|
guid: typeof import("@formio/core/lib/utils/formUtil").guid;
|
9
12
|
uniqueName: typeof import("@formio/core/lib/utils/formUtil").uniqueName;
|
package/lib/mjs/utils/index.js
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
import * as utils from './utils';
|
2
2
|
import * as formUtils from './formUtils';
|
3
3
|
import { Evaluator, registerEvaluator, interpolate } from './Evaluator';
|
4
|
+
import ConditionOperators from './conditionOperators';
|
4
5
|
const FormioUtils = {
|
5
6
|
...utils,
|
6
7
|
...formUtils,
|
7
8
|
Evaluator,
|
8
|
-
interpolate
|
9
|
+
interpolate,
|
10
|
+
ConditionOperators
|
9
11
|
};
|
10
12
|
if (typeof global === 'object') {
|
11
13
|
global.FormioUtils = FormioUtils;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@formio/js",
|
3
|
-
"version": "5.1.0-dev.
|
3
|
+
"version": "5.1.0-dev.6137.1f04cf3",
|
4
4
|
"description": "JavaScript powered Forms with JSON Form Builder",
|
5
5
|
"main": "lib/cjs/index.js",
|
6
6
|
"exports": {
|
@@ -176,7 +176,8 @@
|
|
176
176
|
"webpack-bundle-analyzer": "^4.10.2",
|
177
177
|
"webpack-cli": "^5.1.1",
|
178
178
|
"webpack-node-externals": "^3.0.0",
|
179
|
-
"webpack-stream": "^7.0.0"
|
179
|
+
"webpack-stream": "^7.0.0",
|
180
|
+
"zx": "^8.5.4"
|
180
181
|
},
|
181
182
|
"nyc": {
|
182
183
|
"check-coverage": true,
|