@jsonforms/core 3.0.0-beta.4 → 3.0.0-beta.5
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/docs/assets/js/search.json +1 -1
- package/docs/enums/ruleeffect.html +4 -4
- package/docs/globals.html +149 -29
- package/docs/index.html +25 -4
- package/docs/interfaces/andcondition.html +2 -2
- package/docs/interfaces/categorization.html +24 -16
- package/docs/interfaces/category.html +24 -16
- package/docs/interfaces/composablecondition.html +2 -2
- package/docs/interfaces/condition.html +1 -1
- package/docs/interfaces/controlelement.html +21 -16
- package/docs/interfaces/grouplayout.html +24 -12
- package/docs/interfaces/horizontallayout.html +4 -4
- package/docs/interfaces/internationalizable.html +1 -10
- package/docs/interfaces/labeldescription.html +2 -2
- package/docs/interfaces/labeled.html +182 -0
- package/docs/interfaces/labelelement.html +4 -4
- package/docs/interfaces/lableable.html +184 -0
- package/docs/interfaces/layout.html +4 -4
- package/docs/interfaces/leafcondition.html +9 -8
- package/docs/interfaces/orcondition.html +2 -2
- package/docs/interfaces/rule.html +2 -2
- package/docs/interfaces/schemabasedcondition.html +9 -8
- package/docs/interfaces/scopable.html +3 -9
- package/docs/interfaces/scoped.html +183 -0
- package/docs/interfaces/uischemaelement.html +3 -3
- package/docs/interfaces/verticallayout.html +4 -4
- package/lib/jsonforms-core.cjs.js +33 -16
- package/lib/jsonforms-core.cjs.js.map +1 -1
- package/lib/jsonforms-core.esm.js +23 -20
- package/lib/jsonforms-core.esm.js.map +1 -1
- package/lib/models/uischema.d.ts +34 -26
- package/lib/util/runtime.d.ts +1 -2
- package/lib/util/util.d.ts +6 -6
- package/package.json +2 -2
- package/src/models/uischema.ts +49 -26
- package/src/testers/testers.ts +9 -12
- package/src/util/path.ts +9 -5
- package/src/util/runtime.ts +1 -1
- package/src/util/util.ts +8 -8
- package/stats.html +1 -1
package/lib/models/uischema.d.ts
CHANGED
|
@@ -1,19 +1,39 @@
|
|
|
1
1
|
import { JsonSchema } from './jsonSchema';
|
|
2
2
|
/**
|
|
3
3
|
* Interface for describing an UI schema element that is referencing
|
|
4
|
-
* a subschema. The value of the scope
|
|
4
|
+
* a subschema. The value of the scope may be a JSON Pointer.
|
|
5
5
|
*/
|
|
6
6
|
export interface Scopable {
|
|
7
|
+
/**
|
|
8
|
+
* The scope that determines to which part this element should be bound to.
|
|
9
|
+
*/
|
|
10
|
+
scope?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Interface for describing an UI schema element that is referencing
|
|
14
|
+
* a subschema. The value of the scope must be a JSON Pointer.
|
|
15
|
+
*/
|
|
16
|
+
export interface Scoped extends Scopable {
|
|
7
17
|
/**
|
|
8
18
|
* The scope that determines to which part this element should be bound to.
|
|
9
19
|
*/
|
|
10
20
|
scope: string;
|
|
11
21
|
}
|
|
12
22
|
/**
|
|
13
|
-
* Interface for describing an UI schema element that
|
|
14
|
-
* If defined, this key is suffixed to derive applicable message keys for the UI schema element.
|
|
15
|
-
* For example, such suffixes are `.label` or `.description` to derive the corresponding message keys for a control element.
|
|
23
|
+
* Interface for describing an UI schema element that may be labeled.
|
|
16
24
|
*/
|
|
25
|
+
export interface Lableable<T = string> {
|
|
26
|
+
/**
|
|
27
|
+
* Label for UI schema element.
|
|
28
|
+
*/
|
|
29
|
+
label?: string | T;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Interface for describing an UI schema element that is labeled.
|
|
33
|
+
*/
|
|
34
|
+
export interface Labeled<T = string> extends Lableable<T> {
|
|
35
|
+
label: string | T;
|
|
36
|
+
}
|
|
17
37
|
export interface Internationalizable {
|
|
18
38
|
i18n?: string;
|
|
19
39
|
}
|
|
@@ -64,14 +84,14 @@ export interface Condition {
|
|
|
64
84
|
/**
|
|
65
85
|
* A leaf condition.
|
|
66
86
|
*/
|
|
67
|
-
export interface LeafCondition extends Condition,
|
|
87
|
+
export interface LeafCondition extends Condition, Scoped {
|
|
68
88
|
type: 'LEAF';
|
|
69
89
|
/**
|
|
70
90
|
* The expected value when evaluating the condition
|
|
71
91
|
*/
|
|
72
92
|
expectedValue: any;
|
|
73
93
|
}
|
|
74
|
-
export interface SchemaBasedCondition extends Condition,
|
|
94
|
+
export interface SchemaBasedCondition extends Condition, Scoped {
|
|
75
95
|
schema: JsonSchema;
|
|
76
96
|
}
|
|
77
97
|
/**
|
|
@@ -137,12 +157,8 @@ export interface HorizontalLayout extends Layout {
|
|
|
137
157
|
* A group resembles a vertical layout, but additionally might have a label.
|
|
138
158
|
* This layout is useful when grouping different elements by a certain criteria.
|
|
139
159
|
*/
|
|
140
|
-
export interface GroupLayout extends Layout {
|
|
160
|
+
export interface GroupLayout extends Layout, Lableable {
|
|
141
161
|
type: 'Group';
|
|
142
|
-
/**
|
|
143
|
-
* The label of this group layout.
|
|
144
|
-
*/
|
|
145
|
-
label?: string;
|
|
146
162
|
}
|
|
147
163
|
/**
|
|
148
164
|
* Represents an object that can be used to configure a label.
|
|
@@ -171,34 +187,22 @@ export interface LabelElement extends UISchemaElement {
|
|
|
171
187
|
* A control element. The scope property of the control determines
|
|
172
188
|
* to which part of the schema the control should be bound.
|
|
173
189
|
*/
|
|
174
|
-
export interface ControlElement extends UISchemaElement,
|
|
190
|
+
export interface ControlElement extends UISchemaElement, Scoped, Lableable<string | boolean | LabelDescription>, Internationalizable {
|
|
175
191
|
type: 'Control';
|
|
176
|
-
/**
|
|
177
|
-
* An optional label that will be associated with the control
|
|
178
|
-
*/
|
|
179
|
-
label?: string | boolean | LabelDescription;
|
|
180
192
|
}
|
|
181
193
|
/**
|
|
182
194
|
* The category layout.
|
|
183
195
|
*/
|
|
184
|
-
export interface Category extends Layout {
|
|
196
|
+
export interface Category extends Layout, Labeled {
|
|
185
197
|
type: 'Category';
|
|
186
|
-
/**
|
|
187
|
-
* The label associated with this category layout.
|
|
188
|
-
*/
|
|
189
|
-
label: string;
|
|
190
198
|
}
|
|
191
199
|
/**
|
|
192
200
|
* The categorization element, which may have children elements.
|
|
193
201
|
* A child element may either be itself a Categorization or a Category, hence
|
|
194
202
|
* the categorization element can be used to represent recursive structures like trees.
|
|
195
203
|
*/
|
|
196
|
-
export interface Categorization extends UISchemaElement {
|
|
204
|
+
export interface Categorization extends UISchemaElement, Labeled {
|
|
197
205
|
type: 'Categorization';
|
|
198
|
-
/**
|
|
199
|
-
* The label of this categorization.
|
|
200
|
-
*/
|
|
201
|
-
label: string;
|
|
202
206
|
/**
|
|
203
207
|
* The child elements of this categorization which are either of type
|
|
204
208
|
* {@link Category} or {@link Categorization}.
|
|
@@ -208,3 +212,7 @@ export interface Categorization extends UISchemaElement {
|
|
|
208
212
|
export declare const isInternationalized: (element: unknown) => element is Required<Internationalizable>;
|
|
209
213
|
export declare const isGroup: (layout: Layout) => layout is GroupLayout;
|
|
210
214
|
export declare const isLayout: (uischema: UISchemaElement) => uischema is Layout;
|
|
215
|
+
export declare const isScopable: (obj: unknown) => obj is Scopable;
|
|
216
|
+
export declare const isScoped: (obj: unknown) => obj is Scoped;
|
|
217
|
+
export declare const isLabelable: (obj: unknown) => obj is Lableable<string>;
|
|
218
|
+
export declare const isLabeled: (obj: unknown) => obj is Labeled<string>;
|
package/lib/util/runtime.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { UISchemaElement } from '../models';
|
|
1
|
+
import { JsonSchema, UISchemaElement } from '../models';
|
|
2
2
|
import Ajv from 'ajv';
|
|
3
3
|
import { JsonFormsState } from '../store';
|
|
4
|
-
import { JsonSchema } from '../models/jsonSchema';
|
|
5
4
|
export declare const evalVisibility: (uischema: UISchemaElement, data: any, path: string, ajv: Ajv) => boolean;
|
|
6
5
|
export declare const evalEnablement: (uischema: UISchemaElement, data: any, path: string, ajv: Ajv) => boolean;
|
|
7
6
|
export declare const hasShowRule: (uischema: UISchemaElement) => boolean;
|
package/lib/util/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JsonSchema,
|
|
1
|
+
import { JsonSchema, Scoped, UISchemaElement } from '..';
|
|
2
2
|
import Ajv from 'ajv';
|
|
3
3
|
/**
|
|
4
4
|
* Escape the given string such that it can be used as a class name,
|
|
@@ -11,19 +11,19 @@ export declare const convertToValidClassName: (s: string) => string;
|
|
|
11
11
|
export declare const formatErrorMessage: (errors: string[]) => string;
|
|
12
12
|
export declare const hasType: (jsonSchema: JsonSchema, expected: string) => boolean;
|
|
13
13
|
/**
|
|
14
|
-
* Derives the type of the jsonSchema element
|
|
15
|
-
*/
|
|
14
|
+
* Derives the type of the jsonSchema element
|
|
15
|
+
*/
|
|
16
16
|
export declare const deriveTypes: (jsonSchema: JsonSchema) => string[];
|
|
17
17
|
/**
|
|
18
|
-
* Convenience wrapper around resolveData and resolveSchema.
|
|
19
|
-
*/
|
|
18
|
+
* Convenience wrapper around resolveData and resolveSchema.
|
|
19
|
+
*/
|
|
20
20
|
export declare const Resolve: {
|
|
21
21
|
schema(schema: JsonSchema, schemaPath: string, rootSchema: JsonSchema): JsonSchema;
|
|
22
22
|
data(data: any, path: string): any;
|
|
23
23
|
};
|
|
24
24
|
export declare const Paths: {
|
|
25
25
|
compose: (path1: string, path2: string) => string;
|
|
26
|
-
|
|
26
|
+
fromScoped: (scopable: Scoped) => string;
|
|
27
27
|
};
|
|
28
28
|
export declare const Runtime: {
|
|
29
29
|
isEnabled(uischema: UISchemaElement, data: any, ajv: Ajv): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonforms/core",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.5",
|
|
4
4
|
"description": "Core module of JSON Forms",
|
|
5
5
|
"repository": "https://github.com/eclipsesource/jsonforms",
|
|
6
6
|
"bugs": "https://github.com/eclipsesource/jsonforms/issues",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"typedoc": "^0.19.2",
|
|
89
89
|
"typescript": "4.2.3"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "b66023cf081e56baa3194ac3d6658e23fd267bf9"
|
|
92
92
|
}
|
package/src/models/uischema.ts
CHANGED
|
@@ -27,9 +27,20 @@ import { JsonSchema } from './jsonSchema';
|
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Interface for describing an UI schema element that is referencing
|
|
30
|
-
* a subschema. The value of the scope
|
|
30
|
+
* a subschema. The value of the scope may be a JSON Pointer.
|
|
31
31
|
*/
|
|
32
32
|
export interface Scopable {
|
|
33
|
+
/**
|
|
34
|
+
* The scope that determines to which part this element should be bound to.
|
|
35
|
+
*/
|
|
36
|
+
scope?: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Interface for describing an UI schema element that is referencing
|
|
41
|
+
* a subschema. The value of the scope must be a JSON Pointer.
|
|
42
|
+
*/
|
|
43
|
+
export interface Scoped extends Scopable {
|
|
33
44
|
/**
|
|
34
45
|
* The scope that determines to which part this element should be bound to.
|
|
35
46
|
*/
|
|
@@ -37,6 +48,23 @@ export interface Scopable {
|
|
|
37
48
|
}
|
|
38
49
|
|
|
39
50
|
/**
|
|
51
|
+
* Interface for describing an UI schema element that may be labeled.
|
|
52
|
+
*/
|
|
53
|
+
export interface Lableable<T = string> {
|
|
54
|
+
/**
|
|
55
|
+
* Label for UI schema element.
|
|
56
|
+
*/
|
|
57
|
+
label?: string|T;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Interface for describing an UI schema element that is labeled.
|
|
62
|
+
*/
|
|
63
|
+
export interface Labeled<T = string> extends Lableable<T> {
|
|
64
|
+
label: string | T;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/*
|
|
40
68
|
* Interface for describing an UI schema element that can provide an internationalization base key.
|
|
41
69
|
* If defined, this key is suffixed to derive applicable message keys for the UI schema element.
|
|
42
70
|
* For example, such suffixes are `.label` or `.description` to derive the corresponding message keys for a control element.
|
|
@@ -96,7 +124,7 @@ export interface Condition {
|
|
|
96
124
|
/**
|
|
97
125
|
* A leaf condition.
|
|
98
126
|
*/
|
|
99
|
-
export interface LeafCondition extends Condition,
|
|
127
|
+
export interface LeafCondition extends Condition, Scoped {
|
|
100
128
|
type: 'LEAF';
|
|
101
129
|
|
|
102
130
|
/**
|
|
@@ -105,7 +133,7 @@ export interface LeafCondition extends Condition, Scopable {
|
|
|
105
133
|
expectedValue: any;
|
|
106
134
|
}
|
|
107
135
|
|
|
108
|
-
export interface SchemaBasedCondition extends Condition,
|
|
136
|
+
export interface SchemaBasedCondition extends Condition, Scoped {
|
|
109
137
|
schema: JsonSchema;
|
|
110
138
|
}
|
|
111
139
|
|
|
@@ -179,12 +207,8 @@ export interface HorizontalLayout extends Layout {
|
|
|
179
207
|
* A group resembles a vertical layout, but additionally might have a label.
|
|
180
208
|
* This layout is useful when grouping different elements by a certain criteria.
|
|
181
209
|
*/
|
|
182
|
-
export interface GroupLayout extends Layout {
|
|
210
|
+
export interface GroupLayout extends Layout, Lableable {
|
|
183
211
|
type: 'Group';
|
|
184
|
-
/**
|
|
185
|
-
* The label of this group layout.
|
|
186
|
-
*/
|
|
187
|
-
label?: string;
|
|
188
212
|
}
|
|
189
213
|
|
|
190
214
|
/**
|
|
@@ -216,23 +240,15 @@ export interface LabelElement extends UISchemaElement {
|
|
|
216
240
|
* A control element. The scope property of the control determines
|
|
217
241
|
* to which part of the schema the control should be bound.
|
|
218
242
|
*/
|
|
219
|
-
export interface ControlElement extends UISchemaElement,
|
|
243
|
+
export interface ControlElement extends UISchemaElement, Scoped, Lableable<string | boolean | LabelDescription>, Internationalizable {
|
|
220
244
|
type: 'Control';
|
|
221
|
-
/**
|
|
222
|
-
* An optional label that will be associated with the control
|
|
223
|
-
*/
|
|
224
|
-
label?: string | boolean | LabelDescription;
|
|
225
245
|
}
|
|
226
246
|
|
|
227
247
|
/**
|
|
228
248
|
* The category layout.
|
|
229
249
|
*/
|
|
230
|
-
export interface Category extends Layout {
|
|
250
|
+
export interface Category extends Layout, Labeled {
|
|
231
251
|
type: 'Category';
|
|
232
|
-
/**
|
|
233
|
-
* The label associated with this category layout.
|
|
234
|
-
*/
|
|
235
|
-
label: string;
|
|
236
252
|
}
|
|
237
253
|
|
|
238
254
|
/**
|
|
@@ -240,12 +256,8 @@ export interface Category extends Layout {
|
|
|
240
256
|
* A child element may either be itself a Categorization or a Category, hence
|
|
241
257
|
* the categorization element can be used to represent recursive structures like trees.
|
|
242
258
|
*/
|
|
243
|
-
export interface Categorization extends UISchemaElement {
|
|
259
|
+
export interface Categorization extends UISchemaElement, Labeled {
|
|
244
260
|
type: 'Categorization';
|
|
245
|
-
/**
|
|
246
|
-
* The label of this categorization.
|
|
247
|
-
*/
|
|
248
|
-
label: string;
|
|
249
261
|
/**
|
|
250
262
|
* The child elements of this categorization which are either of type
|
|
251
263
|
* {@link Category} or {@link Categorization}.
|
|
@@ -253,12 +265,23 @@ export interface Categorization extends UISchemaElement {
|
|
|
253
265
|
elements: (Category | Categorization)[];
|
|
254
266
|
}
|
|
255
267
|
|
|
256
|
-
export const isInternationalized = (element: unknown): element is Required<Internationalizable> =>
|
|
257
|
-
|
|
258
|
-
}
|
|
268
|
+
export const isInternationalized = (element: unknown): element is Required<Internationalizable> =>
|
|
269
|
+
typeof element === 'object' && element !== null && typeof (element as Internationalizable).i18n === 'string';
|
|
259
270
|
|
|
260
271
|
export const isGroup = (layout: Layout): layout is GroupLayout =>
|
|
261
272
|
layout.type === 'Group';
|
|
262
273
|
|
|
263
274
|
export const isLayout = (uischema: UISchemaElement): uischema is Layout =>
|
|
264
275
|
(uischema as Layout).elements !== undefined;
|
|
276
|
+
|
|
277
|
+
export const isScopable = (obj: unknown): obj is Scopable =>
|
|
278
|
+
obj && typeof obj === 'object';
|
|
279
|
+
|
|
280
|
+
export const isScoped = (obj: unknown): obj is Scoped =>
|
|
281
|
+
isScopable(obj) && typeof obj.scope === 'string';
|
|
282
|
+
|
|
283
|
+
export const isLabelable = (obj: unknown): obj is Lableable =>
|
|
284
|
+
obj && typeof obj === 'object';
|
|
285
|
+
|
|
286
|
+
export const isLabeled = (obj: unknown): obj is Labeled =>
|
|
287
|
+
isLabelable(obj) && ['string', 'object'].includes(typeof obj.label);
|
package/src/testers/testers.ts
CHANGED
|
@@ -445,10 +445,7 @@ export const isObjectArrayWithNesting = (
|
|
|
445
445
|
}
|
|
446
446
|
const schemaPath = (uischema as ControlElement).scope;
|
|
447
447
|
const resolvedSchema = resolveSchema(schema, schemaPath, rootSchema ?? schema);
|
|
448
|
-
|
|
449
|
-
object: 2,
|
|
450
|
-
array: 1
|
|
451
|
-
};
|
|
448
|
+
let objectDepth = 0;
|
|
452
449
|
if (resolvedSchema !== undefined && resolvedSchema.items !== undefined) {
|
|
453
450
|
// check if nested arrays
|
|
454
451
|
if (
|
|
@@ -459,16 +456,16 @@ export const isObjectArrayWithNesting = (
|
|
|
459
456
|
if (val.$ref !== undefined) {
|
|
460
457
|
return false;
|
|
461
458
|
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
459
|
+
if (hasType(val, 'object')) {
|
|
460
|
+
objectDepth++;
|
|
461
|
+
if (objectDepth === 2) {
|
|
462
|
+
return true;
|
|
463
|
+
}
|
|
465
464
|
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
return false;
|
|
465
|
+
if (hasType(val, 'array')) {
|
|
466
|
+
return true;
|
|
469
467
|
}
|
|
470
|
-
|
|
471
|
-
return wantedNestingByType[val.type] === 0;
|
|
468
|
+
return false;
|
|
472
469
|
}, rootSchema)
|
|
473
470
|
) {
|
|
474
471
|
return true;
|
package/src/util/path.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
import isEmpty from 'lodash/isEmpty';
|
|
27
27
|
import range from 'lodash/range';
|
|
28
|
-
import { Scopable } from '../models';
|
|
28
|
+
import { isScoped, Scopable } from '../models';
|
|
29
29
|
|
|
30
30
|
export const compose = (path1: string, path2: string) => {
|
|
31
31
|
let p1 = path1;
|
|
@@ -81,13 +81,17 @@ export const toDataPath = (schemaPath: string): string => {
|
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
export const composeWithUi = (scopableUi: Scopable, path: string): string => {
|
|
84
|
+
if (!isScoped(scopableUi)) {
|
|
85
|
+
return path ?? '';
|
|
86
|
+
}
|
|
87
|
+
|
|
84
88
|
const segments = toDataPathSegments(scopableUi.scope);
|
|
85
89
|
|
|
86
|
-
if (isEmpty(segments)
|
|
87
|
-
return '';
|
|
90
|
+
if (isEmpty(segments)) {
|
|
91
|
+
return path ?? '';
|
|
88
92
|
}
|
|
89
93
|
|
|
90
|
-
return
|
|
94
|
+
return compose(path, segments.join('.'));
|
|
91
95
|
};
|
|
92
96
|
|
|
93
97
|
/**
|
|
@@ -99,4 +103,4 @@ export const encode = (segment: string) => segment?.replace(/~/g, '~0').replace(
|
|
|
99
103
|
/**
|
|
100
104
|
* Decodes a given JSON Pointer segment to its "normal" representation
|
|
101
105
|
*/
|
|
102
|
-
export const decode = (pointerSegment: string) => pointerSegment?.replace(/~1/g, '/').replace(/~0/, '~');
|
|
106
|
+
export const decode = (pointerSegment: string) => pointerSegment?.replace(/~1/g, '/').replace(/~0/, '~');
|
package/src/util/runtime.ts
CHANGED
|
@@ -27,6 +27,7 @@ import has from 'lodash/has';
|
|
|
27
27
|
import {
|
|
28
28
|
AndCondition,
|
|
29
29
|
Condition,
|
|
30
|
+
JsonSchema,
|
|
30
31
|
LeafCondition,
|
|
31
32
|
OrCondition,
|
|
32
33
|
RuleEffect,
|
|
@@ -39,7 +40,6 @@ import { composeWithUi } from './path';
|
|
|
39
40
|
import Ajv from 'ajv';
|
|
40
41
|
import { getAjv } from '../reducers';
|
|
41
42
|
import { JsonFormsState } from '../store';
|
|
42
|
-
import { JsonSchema } from '../models/jsonSchema';
|
|
43
43
|
|
|
44
44
|
const isOrCondition = (condition: Condition): condition is OrCondition =>
|
|
45
45
|
condition.type === 'OR';
|
package/src/util/util.ts
CHANGED
|
@@ -27,7 +27,7 @@ import isEmpty from 'lodash/isEmpty';
|
|
|
27
27
|
import isArray from 'lodash/isArray';
|
|
28
28
|
import includes from 'lodash/includes';
|
|
29
29
|
import find from 'lodash/find';
|
|
30
|
-
import { JsonSchema,
|
|
30
|
+
import { JsonSchema, Scoped, UISchemaElement } from '..';
|
|
31
31
|
import { resolveData, resolveSchema } from './resolvers';
|
|
32
32
|
import { composePaths, toDataPathSegments } from './path';
|
|
33
33
|
import { isEnabled, isVisible } from './runtime';
|
|
@@ -56,8 +56,8 @@ export const hasType = (jsonSchema: JsonSchema, expected: string): boolean => {
|
|
|
56
56
|
};
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Derives the type of the jsonSchema element
|
|
60
|
-
*/
|
|
59
|
+
* Derives the type of the jsonSchema element
|
|
60
|
+
*/
|
|
61
61
|
export const deriveTypes = (jsonSchema: JsonSchema): string[] => {
|
|
62
62
|
if (isEmpty(jsonSchema)) {
|
|
63
63
|
return [];
|
|
@@ -93,8 +93,8 @@ export const deriveTypes = (jsonSchema: JsonSchema): string[] => {
|
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
* Convenience wrapper around resolveData and resolveSchema.
|
|
97
|
-
*/
|
|
96
|
+
* Convenience wrapper around resolveData and resolveSchema.
|
|
97
|
+
*/
|
|
98
98
|
export const Resolve: {
|
|
99
99
|
schema(
|
|
100
100
|
schema: JsonSchema,
|
|
@@ -108,18 +108,18 @@ export const Resolve: {
|
|
|
108
108
|
};
|
|
109
109
|
|
|
110
110
|
// Paths --
|
|
111
|
-
const
|
|
111
|
+
const fromScoped = (scopable: Scoped): string =>
|
|
112
112
|
toDataPathSegments(scopable.scope).join('.');
|
|
113
113
|
|
|
114
114
|
export const Paths = {
|
|
115
115
|
compose: composePaths,
|
|
116
|
-
|
|
116
|
+
fromScoped
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
// Runtime --
|
|
120
120
|
export const Runtime = {
|
|
121
121
|
isEnabled(uischema: UISchemaElement, data: any, ajv: Ajv): boolean {
|
|
122
|
-
return isEnabled(uischema, data,undefined, ajv);
|
|
122
|
+
return isEnabled(uischema, data, undefined, ajv);
|
|
123
123
|
},
|
|
124
124
|
isVisible(uischema: UISchemaElement, data: any, ajv: Ajv): boolean {
|
|
125
125
|
return isVisible(uischema, data, undefined, ajv);
|
package/stats.html
CHANGED
|
@@ -3259,7 +3259,7 @@ var drawChart = (function (exports) {
|
|
|
3259
3259
|
</script>
|
|
3260
3260
|
<script>
|
|
3261
3261
|
/*<!--*/
|
|
3262
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"jsonforms-core.esm.js","children":[{"name":"src","children":[{"name":"generators","children":[{"uid":"7b5e-1","name":"schema.ts"},{"uid":"7b5e-59","name":"uischema.ts"},{"uid":"7b5e-61","name":"Generate.ts"}]},{"name":"models","children":[{"uid":"7b5e-3","name":"draft4.ts"},{"uid":"7b5e-5","name":"uischema.ts"}]},{"name":"util","children":[{"uid":"7b5e-7","name":"array.ts"},{"uid":"7b5e-35","name":"path.ts"},{"uid":"7b5e-37","name":"resolvers.ts"},{"uid":"7b5e-39","name":"runtime.ts"},{"uid":"7b5e-41","name":"util.ts"},{"uid":"7b5e-43","name":"label.ts"},{"uid":"7b5e-45","name":"renderer.ts"},{"uid":"7b5e-47","name":"cell.ts"},{"uid":"7b5e-49","name":"combinators.ts"},{"uid":"7b5e-51","name":"ids.ts"},{"uid":"7b5e-53","name":"schema.ts"},{"uid":"7b5e-55","name":"uischema.ts"},{"uid":"7b5e-57","name":"validator.ts"}]},{"name":"reducers","children":[{"uid":"7b5e-9","name":"cells.ts"},{"uid":"7b5e-13","name":"config.ts"},{"uid":"7b5e-15","name":"core.ts"},{"uid":"7b5e-17","name":"default-data.ts"},{"uid":"7b5e-21","name":"i18n.ts"},{"uid":"7b5e-23","name":"renderers.ts"},{"uid":"7b5e-29","name":"uischemas.ts"},{"uid":"7b5e-31","name":"reducers.ts"},{"uid":"7b5e-33","name":"selectors.ts"}]},{"uid":"7b5e-11","name":"configDefault.ts"},{"name":"i18n/i18nUtil.ts","uid":"7b5e-19"},{"name":"testers","children":[{"uid":"7b5e-25","name":"testers.ts"},{"uid":"7b5e-27","name":"index.ts"}]},{"name":"actions","children":[{"uid":"7b5e-63","name":"actions.ts"},{"uid":"7b5e-65","name":"index.ts"}]},{"uid":"7b5e-67","name":"Helpers.ts"},{"uid":"7b5e-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"7b5e-1":{"renderedLength":3843,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-0"},"7b5e-3":{"renderedLength":4050,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-2"},"7b5e-5":{"renderedLength":478,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-4"},"7b5e-7":{"renderedLength":421,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-6"},"7b5e-9":{"renderedLength":294,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-8"},"7b5e-11":{"renderedLength":133,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-10"},"7b5e-13":{"renderedLength":322,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-12"},"7b5e-15":{"renderedLength":10156,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-14"},"7b5e-17":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-16"},"7b5e-19":{"renderedLength":2075,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-18"},"7b5e-21":{"renderedLength":1754,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-20"},"7b5e-23":{"renderedLength":370,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-22"},"7b5e-25":{"renderedLength":8508,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-24"},"7b5e-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-26"},"7b5e-29":{"renderedLength":783,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-28"},"7b5e-31":{"renderedLength":1846,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-30"},"7b5e-33":{"renderedLength":573,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-32"},"7b5e-35":{"renderedLength":1308,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-34"},"7b5e-37":{"renderedLength":3040,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-36"},"7b5e-39":{"renderedLength":3621,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-38"},"7b5e-41":{"renderedLength":1502,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-40"},"7b5e-43":{"renderedLength":1289,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-42"},"7b5e-45":{"renderedLength":13284,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-44"},"7b5e-47":{"renderedLength":2622,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-46"},"7b5e-49":{"renderedLength":671,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-48"},"7b5e-51":{"renderedLength":621,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-50"},"7b5e-53":{"renderedLength":365,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-52"},"7b5e-55":{"renderedLength":609,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-54"},"7b5e-57":{"renderedLength":196,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-56"},"7b5e-59":{"renderedLength":3310,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-58"},"7b5e-61":{"renderedLength":137,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-60"},"7b5e-63":{"renderedLength":3051,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-62"},"7b5e-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-64"},"7b5e-67":{"renderedLength":80,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-66"},"7b5e-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"7b5e-68"}},"nodeMetas":{"7b5e-0":{"id":"/src/generators/schema.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-1"},"imported":[],"importedBy":[{"uid":"7b5e-70"},{"uid":"7b5e-60"}]},"7b5e-2":{"id":"/src/models/draft4.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-3"},"imported":[],"importedBy":[{"uid":"7b5e-71"}]},"7b5e-4":{"id":"/src/models/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-5"},"imported":[],"importedBy":[{"uid":"7b5e-71"}]},"7b5e-6":{"id":"/src/util/array.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-7"},"imported":[],"importedBy":[{"uid":"7b5e-73"},{"uid":"7b5e-44"}]},"7b5e-8":{"id":"/src/reducers/cells.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-9"},"imported":[{"uid":"7b5e-64"}],"importedBy":[{"uid":"7b5e-72"},{"uid":"7b5e-30"}]},"7b5e-10":{"id":"/src/configDefault.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-11"},"imported":[],"importedBy":[{"uid":"7b5e-12"}]},"7b5e-12":{"id":"/src/reducers/config.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-13"},"imported":[{"uid":"7b5e-85"},{"uid":"7b5e-64"},{"uid":"7b5e-10"}],"importedBy":[{"uid":"7b5e-72"},{"uid":"7b5e-30"}]},"7b5e-14":{"id":"/src/reducers/core.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-15"},"imported":[{"uid":"7b5e-86"},{"uid":"7b5e-87"},{"uid":"7b5e-88"},{"uid":"7b5e-89"},{"uid":"7b5e-90"},{"uid":"7b5e-91"},{"uid":"7b5e-64"},{"uid":"7b5e-73"}],"importedBy":[{"uid":"7b5e-72"},{"uid":"7b5e-30"},{"uid":"7b5e-32"}]},"7b5e-16":{"id":"/src/reducers/default-data.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-17"},"imported":[{"uid":"7b5e-64"}],"importedBy":[{"uid":"7b5e-72"},{"uid":"7b5e-30"},{"uid":"7b5e-32"}]},"7b5e-18":{"id":"/src/i18n/i18nUtil.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-19"},"imported":[{"uid":"7b5e-71"},{"uid":"7b5e-72"},{"uid":"7b5e-73"}],"importedBy":[{"uid":"7b5e-75"}]},"7b5e-20":{"id":"/src/reducers/i18n.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-21"},"imported":[{"uid":"7b5e-75"},{"uid":"7b5e-64"}],"importedBy":[{"uid":"7b5e-72"},{"uid":"7b5e-30"}]},"7b5e-22":{"id":"/src/reducers/renderers.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-23"},"imported":[{"uid":"7b5e-64"}],"importedBy":[{"uid":"7b5e-72"},{"uid":"7b5e-30"}]},"7b5e-24":{"id":"/src/testers/testers.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-25"},"imported":[{"uid":"7b5e-82"},{"uid":"7b5e-88"},{"uid":"7b5e-94"},{"uid":"7b5e-95"},{"uid":"7b5e-96"},{"uid":"7b5e-97"},{"uid":"7b5e-98"},{"uid":"7b5e-99"},{"uid":"7b5e-73"}],"importedBy":[{"uid":"7b5e-26"}]},"7b5e-26":{"id":"/src/testers/index.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-27"},"imported":[{"uid":"7b5e-24"}],"importedBy":[{"uid":"7b5e-68"},{"uid":"7b5e-28"}]},"7b5e-28":{"id":"/src/reducers/uischemas.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-29"},"imported":[{"uid":"7b5e-92"},{"uid":"7b5e-93"},{"uid":"7b5e-64"},{"uid":"7b5e-26"}],"importedBy":[{"uid":"7b5e-72"},{"uid":"7b5e-30"}]},"7b5e-30":{"id":"/src/reducers/reducers.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-31"},"imported":[{"uid":"7b5e-14"},{"uid":"7b5e-16"},{"uid":"7b5e-22"},{"uid":"7b5e-28"},{"uid":"7b5e-20"},{"uid":"7b5e-70"},{"uid":"7b5e-8"},{"uid":"7b5e-12"},{"uid":"7b5e-88"},{"uid":"7b5e-72"}],"importedBy":[{"uid":"7b5e-72"}]},"7b5e-32":{"id":"/src/reducers/selectors.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-33"},"imported":[{"uid":"7b5e-88"},{"uid":"7b5e-14"},{"uid":"7b5e-16"}],"importedBy":[{"uid":"7b5e-72"}]},"7b5e-34":{"id":"/src/util/path.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-35"},"imported":[{"uid":"7b5e-82"},{"uid":"7b5e-101"}],"importedBy":[{"uid":"7b5e-73"},{"uid":"7b5e-42"},{"uid":"7b5e-44"},{"uid":"7b5e-36"},{"uid":"7b5e-38"},{"uid":"7b5e-40"}]},"7b5e-36":{"id":"/src/util/resolvers.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-37"},"imported":[{"uid":"7b5e-82"},{"uid":"7b5e-88"},{"uid":"7b5e-34"}],"importedBy":[{"uid":"7b5e-73"},{"uid":"7b5e-38"},{"uid":"7b5e-40"}]},"7b5e-38":{"id":"/src/util/runtime.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-39"},"imported":[{"uid":"7b5e-103"},{"uid":"7b5e-71"},{"uid":"7b5e-36"},{"uid":"7b5e-34"},{"uid":"7b5e-72"}],"importedBy":[{"uid":"7b5e-73"},{"uid":"7b5e-46"},{"uid":"7b5e-44"},{"uid":"7b5e-40"}]},"7b5e-40":{"id":"/src/util/util.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-41"},"imported":[{"uid":"7b5e-82"},{"uid":"7b5e-96"},{"uid":"7b5e-99"},{"uid":"7b5e-102"},{"uid":"7b5e-36"},{"uid":"7b5e-34"},{"uid":"7b5e-38"}],"importedBy":[{"uid":"7b5e-73"},{"uid":"7b5e-46"},{"uid":"7b5e-48"},{"uid":"7b5e-44"}]},"7b5e-42":{"id":"/src/util/label.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-43"},"imported":[{"uid":"7b5e-83"},{"uid":"7b5e-34"}],"importedBy":[{"uid":"7b5e-73"},{"uid":"7b5e-44"}]},"7b5e-44":{"id":"/src/util/renderer.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-45"},"imported":[{"uid":"7b5e-88"},{"uid":"7b5e-102"},{"uid":"7b5e-72"},{"uid":"7b5e-38"},{"uid":"7b5e-42"},{"uid":"7b5e-6"},{"uid":"7b5e-40"},{"uid":"7b5e-34"},{"uid":"7b5e-64"},{"uid":"7b5e-75"}],"importedBy":[{"uid":"7b5e-73"},{"uid":"7b5e-46"}]},"7b5e-46":{"id":"/src/util/cell.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-47"},"imported":[{"uid":"7b5e-82"},{"uid":"7b5e-100"},{"uid":"7b5e-72"},{"uid":"7b5e-40"},{"uid":"7b5e-38"},{"uid":"7b5e-44"},{"uid":"7b5e-75"}],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-48":{"id":"/src/util/combinators.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-49"},"imported":[{"uid":"7b5e-72"},{"uid":"7b5e-40"}],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-50":{"id":"/src/util/ids.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-51"},"imported":[],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-52":{"id":"/src/util/schema.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-53"},"imported":[{"uid":"7b5e-102"}],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-54":{"id":"/src/util/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-55"},"imported":[{"uid":"7b5e-82"},{"uid":"7b5e-71"}],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-56":{"id":"/src/util/validator.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-57"},"imported":[{"uid":"7b5e-104"},{"uid":"7b5e-105"}],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-58":{"id":"/src/generators/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-59"},"imported":[{"uid":"7b5e-82"},{"uid":"7b5e-83"},{"uid":"7b5e-84"},{"uid":"7b5e-71"},{"uid":"7b5e-73"}],"importedBy":[{"uid":"7b5e-70"},{"uid":"7b5e-60"}]},"7b5e-60":{"id":"/src/generators/Generate.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-61"},"imported":[{"uid":"7b5e-0"},{"uid":"7b5e-58"}],"importedBy":[{"uid":"7b5e-70"}]},"7b5e-62":{"id":"/src/actions/actions.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-63"},"imported":[{"uid":"7b5e-70"}],"importedBy":[{"uid":"7b5e-64"}]},"7b5e-64":{"id":"/src/actions/index.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-65"},"imported":[{"uid":"7b5e-62"}],"importedBy":[{"uid":"7b5e-68"},{"uid":"7b5e-8"},{"uid":"7b5e-12"},{"uid":"7b5e-14"},{"uid":"7b5e-16"},{"uid":"7b5e-20"},{"uid":"7b5e-22"},{"uid":"7b5e-28"},{"uid":"7b5e-44"}]},"7b5e-66":{"id":"/src/Helpers.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-67"},"imported":[{"uid":"7b5e-73"}],"importedBy":[{"uid":"7b5e-68"}]},"7b5e-68":{"id":"/src/index.ts","moduleParts":{"jsonforms-core.esm.js":"7b5e-69"},"imported":[{"uid":"7b5e-64"},{"uid":"7b5e-70"},{"uid":"7b5e-71"},{"uid":"7b5e-72"},{"uid":"7b5e-26"},{"uid":"7b5e-73"},{"uid":"7b5e-66"},{"uid":"7b5e-74"},{"uid":"7b5e-75"}],"importedBy":[],"isEntry":true},"7b5e-70":{"id":"/src/generators/index.ts","moduleParts":{},"imported":[{"uid":"7b5e-60"},{"uid":"7b5e-0"},{"uid":"7b5e-58"}],"importedBy":[{"uid":"7b5e-68"},{"uid":"7b5e-62"},{"uid":"7b5e-30"}]},"7b5e-71":{"id":"/src/models/index.ts","moduleParts":{},"imported":[{"uid":"7b5e-2"},{"uid":"7b5e-76"},{"uid":"7b5e-77"},{"uid":"7b5e-78"},{"uid":"7b5e-4"}],"importedBy":[{"uid":"7b5e-68"},{"uid":"7b5e-58"},{"uid":"7b5e-38"},{"uid":"7b5e-54"},{"uid":"7b5e-18"}]},"7b5e-72":{"id":"/src/reducers/index.ts","moduleParts":{},"imported":[{"uid":"7b5e-8"},{"uid":"7b5e-12"},{"uid":"7b5e-14"},{"uid":"7b5e-16"},{"uid":"7b5e-20"},{"uid":"7b5e-30"},{"uid":"7b5e-22"},{"uid":"7b5e-32"},{"uid":"7b5e-28"}],"importedBy":[{"uid":"7b5e-68"},{"uid":"7b5e-30"},{"uid":"7b5e-46"},{"uid":"7b5e-48"},{"uid":"7b5e-44"},{"uid":"7b5e-38"},{"uid":"7b5e-18"}]},"7b5e-73":{"id":"/src/util/index.ts","moduleParts":{},"imported":[{"uid":"7b5e-6"},{"uid":"7b5e-46"},{"uid":"7b5e-48"},{"uid":"7b5e-79"},{"uid":"7b5e-50"},{"uid":"7b5e-42"},{"uid":"7b5e-34"},{"uid":"7b5e-44"},{"uid":"7b5e-36"},{"uid":"7b5e-38"},{"uid":"7b5e-52"},{"uid":"7b5e-80"},{"uid":"7b5e-54"},{"uid":"7b5e-40"},{"uid":"7b5e-56"}],"importedBy":[{"uid":"7b5e-68"},{"uid":"7b5e-66"},{"uid":"7b5e-58"},{"uid":"7b5e-14"},{"uid":"7b5e-24"},{"uid":"7b5e-18"}]},"7b5e-74":{"id":"/src/store.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-68"}]},"7b5e-75":{"id":"/src/i18n/index.ts","moduleParts":{},"imported":[{"uid":"7b5e-81"},{"uid":"7b5e-18"}],"importedBy":[{"uid":"7b5e-68"},{"uid":"7b5e-20"},{"uid":"7b5e-46"},{"uid":"7b5e-44"}]},"7b5e-76":{"id":"/src/models/jsonSchema.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-71"}]},"7b5e-77":{"id":"/src/models/jsonSchema4.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-71"}]},"7b5e-78":{"id":"/src/models/jsonSchema7.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-71"}]},"7b5e-79":{"id":"/src/util/Formatted.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-80":{"id":"/src/util/type.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-73"}]},"7b5e-81":{"id":"/src/i18n/i18nTypes.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-75"}]},"7b5e-82":{"id":"lodash/isEmpty","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-58"},{"uid":"7b5e-24"},{"uid":"7b5e-46"},{"uid":"7b5e-34"},{"uid":"7b5e-36"},{"uid":"7b5e-54"},{"uid":"7b5e-40"}],"isExternal":true},"7b5e-83":{"id":"lodash/startCase","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-58"},{"uid":"7b5e-42"}],"isExternal":true},"7b5e-84":{"id":"lodash/keys","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-58"}],"isExternal":true},"7b5e-85":{"id":"lodash/merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-12"}],"isExternal":true},"7b5e-86":{"id":"lodash/cloneDeep","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-14"}],"isExternal":true},"7b5e-87":{"id":"lodash/fp/set","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-14"}],"isExternal":true},"7b5e-88":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-14"},{"uid":"7b5e-30"},{"uid":"7b5e-32"},{"uid":"7b5e-24"},{"uid":"7b5e-44"},{"uid":"7b5e-36"}],"isExternal":true},"7b5e-89":{"id":"lodash/filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-14"}],"isExternal":true},"7b5e-90":{"id":"lodash/isEqual","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-14"}],"isExternal":true},"7b5e-91":{"id":"lodash/isFunction","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-14"}],"isExternal":true},"7b5e-92":{"id":"lodash/maxBy","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-28"}],"isExternal":true},"7b5e-93":{"id":"lodash/remove","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-28"}],"isExternal":true},"7b5e-94":{"id":"lodash/endsWith","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-24"}],"isExternal":true},"7b5e-95":{"id":"lodash/last","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-24"}],"isExternal":true},"7b5e-96":{"id":"lodash/isArray","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-24"},{"uid":"7b5e-40"}],"isExternal":true},"7b5e-97":{"id":"lodash/reduce","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-24"}],"isExternal":true},"7b5e-98":{"id":"lodash/toPairs","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-24"}],"isExternal":true},"7b5e-99":{"id":"lodash/includes","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-24"},{"uid":"7b5e-40"}],"isExternal":true},"7b5e-100":{"id":"lodash/union","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-46"}],"isExternal":true},"7b5e-101":{"id":"lodash/range","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-34"}],"isExternal":true},"7b5e-102":{"id":"lodash/find","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-44"},{"uid":"7b5e-52"},{"uid":"7b5e-40"}],"isExternal":true},"7b5e-103":{"id":"lodash/has","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-38"}],"isExternal":true},"7b5e-104":{"id":"ajv","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-56"}],"isExternal":true},"7b5e-105":{"id":"ajv-formats","moduleParts":{},"imported":[],"importedBy":[{"uid":"7b5e-56"}],"isExternal":true}},"env":{"rollup":"2.61.1"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
3262
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"jsonforms-core.esm.js","children":[{"name":"src","children":[{"name":"generators","children":[{"uid":"3a16-1","name":"schema.ts"},{"uid":"3a16-59","name":"uischema.ts"},{"uid":"3a16-61","name":"Generate.ts"}]},{"name":"models","children":[{"uid":"3a16-3","name":"draft4.ts"},{"uid":"3a16-5","name":"uischema.ts"}]},{"name":"util","children":[{"uid":"3a16-7","name":"array.ts"},{"uid":"3a16-35","name":"path.ts"},{"uid":"3a16-37","name":"resolvers.ts"},{"uid":"3a16-39","name":"runtime.ts"},{"uid":"3a16-41","name":"util.ts"},{"uid":"3a16-43","name":"label.ts"},{"uid":"3a16-45","name":"renderer.ts"},{"uid":"3a16-47","name":"cell.ts"},{"uid":"3a16-49","name":"combinators.ts"},{"uid":"3a16-51","name":"ids.ts"},{"uid":"3a16-53","name":"schema.ts"},{"uid":"3a16-55","name":"uischema.ts"},{"uid":"3a16-57","name":"validator.ts"}]},{"name":"reducers","children":[{"uid":"3a16-9","name":"cells.ts"},{"uid":"3a16-13","name":"config.ts"},{"uid":"3a16-15","name":"core.ts"},{"uid":"3a16-17","name":"default-data.ts"},{"uid":"3a16-21","name":"i18n.ts"},{"uid":"3a16-23","name":"renderers.ts"},{"uid":"3a16-29","name":"uischemas.ts"},{"uid":"3a16-31","name":"reducers.ts"},{"uid":"3a16-33","name":"selectors.ts"}]},{"uid":"3a16-11","name":"configDefault.ts"},{"name":"i18n/i18nUtil.ts","uid":"3a16-19"},{"name":"testers","children":[{"uid":"3a16-25","name":"testers.ts"},{"uid":"3a16-27","name":"index.ts"}]},{"name":"actions","children":[{"uid":"3a16-63","name":"actions.ts"},{"uid":"3a16-65","name":"index.ts"}]},{"uid":"3a16-67","name":"Helpers.ts"},{"uid":"3a16-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"3a16-1":{"renderedLength":3843,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-0"},"3a16-3":{"renderedLength":4050,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-2"},"3a16-5":{"renderedLength":755,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-4"},"3a16-7":{"renderedLength":421,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-6"},"3a16-9":{"renderedLength":294,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-8"},"3a16-11":{"renderedLength":133,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-10"},"3a16-13":{"renderedLength":322,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-12"},"3a16-15":{"renderedLength":10156,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-14"},"3a16-17":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-16"},"3a16-19":{"renderedLength":2075,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-18"},"3a16-21":{"renderedLength":1754,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-20"},"3a16-23":{"renderedLength":370,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-22"},"3a16-25":{"renderedLength":8391,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-24"},"3a16-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-26"},"3a16-29":{"renderedLength":783,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-28"},"3a16-31":{"renderedLength":1846,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-30"},"3a16-33":{"renderedLength":573,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-32"},"3a16-35":{"renderedLength":1333,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-34"},"3a16-37":{"renderedLength":3040,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-36"},"3a16-39":{"renderedLength":3621,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-38"},"3a16-41":{"renderedLength":1498,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-40"},"3a16-43":{"renderedLength":1289,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-42"},"3a16-45":{"renderedLength":13284,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-44"},"3a16-47":{"renderedLength":2622,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-46"},"3a16-49":{"renderedLength":671,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-48"},"3a16-51":{"renderedLength":621,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-50"},"3a16-53":{"renderedLength":365,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-52"},"3a16-55":{"renderedLength":609,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-54"},"3a16-57":{"renderedLength":196,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-56"},"3a16-59":{"renderedLength":3310,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-58"},"3a16-61":{"renderedLength":137,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-60"},"3a16-63":{"renderedLength":3051,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-62"},"3a16-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-64"},"3a16-67":{"renderedLength":80,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-66"},"3a16-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"3a16-68"}},"nodeMetas":{"3a16-0":{"id":"/src/generators/schema.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-1"},"imported":[],"importedBy":[{"uid":"3a16-70"},{"uid":"3a16-60"}]},"3a16-2":{"id":"/src/models/draft4.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-3"},"imported":[],"importedBy":[{"uid":"3a16-71"}]},"3a16-4":{"id":"/src/models/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-5"},"imported":[],"importedBy":[{"uid":"3a16-71"}]},"3a16-6":{"id":"/src/util/array.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-7"},"imported":[],"importedBy":[{"uid":"3a16-73"},{"uid":"3a16-44"}]},"3a16-8":{"id":"/src/reducers/cells.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-9"},"imported":[{"uid":"3a16-64"}],"importedBy":[{"uid":"3a16-72"},{"uid":"3a16-30"}]},"3a16-10":{"id":"/src/configDefault.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-11"},"imported":[],"importedBy":[{"uid":"3a16-12"}]},"3a16-12":{"id":"/src/reducers/config.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-13"},"imported":[{"uid":"3a16-85"},{"uid":"3a16-64"},{"uid":"3a16-10"}],"importedBy":[{"uid":"3a16-72"},{"uid":"3a16-30"}]},"3a16-14":{"id":"/src/reducers/core.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-15"},"imported":[{"uid":"3a16-86"},{"uid":"3a16-87"},{"uid":"3a16-88"},{"uid":"3a16-89"},{"uid":"3a16-90"},{"uid":"3a16-91"},{"uid":"3a16-64"},{"uid":"3a16-73"}],"importedBy":[{"uid":"3a16-72"},{"uid":"3a16-30"},{"uid":"3a16-32"}]},"3a16-16":{"id":"/src/reducers/default-data.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-17"},"imported":[{"uid":"3a16-64"}],"importedBy":[{"uid":"3a16-72"},{"uid":"3a16-30"},{"uid":"3a16-32"}]},"3a16-18":{"id":"/src/i18n/i18nUtil.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-19"},"imported":[{"uid":"3a16-71"},{"uid":"3a16-72"},{"uid":"3a16-73"}],"importedBy":[{"uid":"3a16-75"}]},"3a16-20":{"id":"/src/reducers/i18n.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-21"},"imported":[{"uid":"3a16-75"},{"uid":"3a16-64"}],"importedBy":[{"uid":"3a16-72"},{"uid":"3a16-30"}]},"3a16-22":{"id":"/src/reducers/renderers.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-23"},"imported":[{"uid":"3a16-64"}],"importedBy":[{"uid":"3a16-72"},{"uid":"3a16-30"}]},"3a16-24":{"id":"/src/testers/testers.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-25"},"imported":[{"uid":"3a16-82"},{"uid":"3a16-88"},{"uid":"3a16-94"},{"uid":"3a16-95"},{"uid":"3a16-96"},{"uid":"3a16-97"},{"uid":"3a16-98"},{"uid":"3a16-99"},{"uid":"3a16-73"}],"importedBy":[{"uid":"3a16-26"}]},"3a16-26":{"id":"/src/testers/index.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-27"},"imported":[{"uid":"3a16-24"}],"importedBy":[{"uid":"3a16-68"},{"uid":"3a16-28"}]},"3a16-28":{"id":"/src/reducers/uischemas.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-29"},"imported":[{"uid":"3a16-92"},{"uid":"3a16-93"},{"uid":"3a16-64"},{"uid":"3a16-26"}],"importedBy":[{"uid":"3a16-72"},{"uid":"3a16-30"}]},"3a16-30":{"id":"/src/reducers/reducers.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-31"},"imported":[{"uid":"3a16-14"},{"uid":"3a16-16"},{"uid":"3a16-22"},{"uid":"3a16-28"},{"uid":"3a16-20"},{"uid":"3a16-70"},{"uid":"3a16-8"},{"uid":"3a16-12"},{"uid":"3a16-88"},{"uid":"3a16-72"}],"importedBy":[{"uid":"3a16-72"}]},"3a16-32":{"id":"/src/reducers/selectors.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-33"},"imported":[{"uid":"3a16-88"},{"uid":"3a16-14"},{"uid":"3a16-16"}],"importedBy":[{"uid":"3a16-72"}]},"3a16-34":{"id":"/src/util/path.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-35"},"imported":[{"uid":"3a16-82"},{"uid":"3a16-101"},{"uid":"3a16-71"}],"importedBy":[{"uid":"3a16-73"},{"uid":"3a16-42"},{"uid":"3a16-44"},{"uid":"3a16-36"},{"uid":"3a16-38"},{"uid":"3a16-40"}]},"3a16-36":{"id":"/src/util/resolvers.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-37"},"imported":[{"uid":"3a16-82"},{"uid":"3a16-88"},{"uid":"3a16-34"}],"importedBy":[{"uid":"3a16-73"},{"uid":"3a16-38"},{"uid":"3a16-40"}]},"3a16-38":{"id":"/src/util/runtime.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-39"},"imported":[{"uid":"3a16-103"},{"uid":"3a16-71"},{"uid":"3a16-36"},{"uid":"3a16-34"},{"uid":"3a16-72"}],"importedBy":[{"uid":"3a16-73"},{"uid":"3a16-46"},{"uid":"3a16-44"},{"uid":"3a16-40"}]},"3a16-40":{"id":"/src/util/util.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-41"},"imported":[{"uid":"3a16-82"},{"uid":"3a16-96"},{"uid":"3a16-99"},{"uid":"3a16-102"},{"uid":"3a16-36"},{"uid":"3a16-34"},{"uid":"3a16-38"}],"importedBy":[{"uid":"3a16-73"},{"uid":"3a16-46"},{"uid":"3a16-48"},{"uid":"3a16-44"}]},"3a16-42":{"id":"/src/util/label.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-43"},"imported":[{"uid":"3a16-83"},{"uid":"3a16-34"}],"importedBy":[{"uid":"3a16-73"},{"uid":"3a16-44"}]},"3a16-44":{"id":"/src/util/renderer.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-45"},"imported":[{"uid":"3a16-88"},{"uid":"3a16-102"},{"uid":"3a16-72"},{"uid":"3a16-38"},{"uid":"3a16-42"},{"uid":"3a16-6"},{"uid":"3a16-40"},{"uid":"3a16-34"},{"uid":"3a16-64"},{"uid":"3a16-75"}],"importedBy":[{"uid":"3a16-73"},{"uid":"3a16-46"}]},"3a16-46":{"id":"/src/util/cell.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-47"},"imported":[{"uid":"3a16-82"},{"uid":"3a16-100"},{"uid":"3a16-72"},{"uid":"3a16-40"},{"uid":"3a16-38"},{"uid":"3a16-44"},{"uid":"3a16-75"}],"importedBy":[{"uid":"3a16-73"}]},"3a16-48":{"id":"/src/util/combinators.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-49"},"imported":[{"uid":"3a16-72"},{"uid":"3a16-40"}],"importedBy":[{"uid":"3a16-73"}]},"3a16-50":{"id":"/src/util/ids.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-51"},"imported":[],"importedBy":[{"uid":"3a16-73"}]},"3a16-52":{"id":"/src/util/schema.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-53"},"imported":[{"uid":"3a16-102"}],"importedBy":[{"uid":"3a16-73"}]},"3a16-54":{"id":"/src/util/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-55"},"imported":[{"uid":"3a16-82"},{"uid":"3a16-71"}],"importedBy":[{"uid":"3a16-73"}]},"3a16-56":{"id":"/src/util/validator.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-57"},"imported":[{"uid":"3a16-104"},{"uid":"3a16-105"}],"importedBy":[{"uid":"3a16-73"}]},"3a16-58":{"id":"/src/generators/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-59"},"imported":[{"uid":"3a16-82"},{"uid":"3a16-83"},{"uid":"3a16-84"},{"uid":"3a16-71"},{"uid":"3a16-73"}],"importedBy":[{"uid":"3a16-70"},{"uid":"3a16-60"}]},"3a16-60":{"id":"/src/generators/Generate.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-61"},"imported":[{"uid":"3a16-0"},{"uid":"3a16-58"}],"importedBy":[{"uid":"3a16-70"}]},"3a16-62":{"id":"/src/actions/actions.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-63"},"imported":[{"uid":"3a16-70"}],"importedBy":[{"uid":"3a16-64"}]},"3a16-64":{"id":"/src/actions/index.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-65"},"imported":[{"uid":"3a16-62"}],"importedBy":[{"uid":"3a16-68"},{"uid":"3a16-8"},{"uid":"3a16-12"},{"uid":"3a16-14"},{"uid":"3a16-16"},{"uid":"3a16-20"},{"uid":"3a16-22"},{"uid":"3a16-28"},{"uid":"3a16-44"}]},"3a16-66":{"id":"/src/Helpers.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-67"},"imported":[{"uid":"3a16-73"}],"importedBy":[{"uid":"3a16-68"}]},"3a16-68":{"id":"/src/index.ts","moduleParts":{"jsonforms-core.esm.js":"3a16-69"},"imported":[{"uid":"3a16-64"},{"uid":"3a16-70"},{"uid":"3a16-71"},{"uid":"3a16-72"},{"uid":"3a16-26"},{"uid":"3a16-73"},{"uid":"3a16-66"},{"uid":"3a16-74"},{"uid":"3a16-75"}],"importedBy":[],"isEntry":true},"3a16-70":{"id":"/src/generators/index.ts","moduleParts":{},"imported":[{"uid":"3a16-60"},{"uid":"3a16-0"},{"uid":"3a16-58"}],"importedBy":[{"uid":"3a16-68"},{"uid":"3a16-62"},{"uid":"3a16-30"}]},"3a16-71":{"id":"/src/models/index.ts","moduleParts":{},"imported":[{"uid":"3a16-2"},{"uid":"3a16-76"},{"uid":"3a16-77"},{"uid":"3a16-78"},{"uid":"3a16-4"}],"importedBy":[{"uid":"3a16-68"},{"uid":"3a16-58"},{"uid":"3a16-34"},{"uid":"3a16-38"},{"uid":"3a16-54"},{"uid":"3a16-18"}]},"3a16-72":{"id":"/src/reducers/index.ts","moduleParts":{},"imported":[{"uid":"3a16-8"},{"uid":"3a16-12"},{"uid":"3a16-14"},{"uid":"3a16-16"},{"uid":"3a16-20"},{"uid":"3a16-30"},{"uid":"3a16-22"},{"uid":"3a16-32"},{"uid":"3a16-28"}],"importedBy":[{"uid":"3a16-68"},{"uid":"3a16-30"},{"uid":"3a16-46"},{"uid":"3a16-48"},{"uid":"3a16-44"},{"uid":"3a16-38"},{"uid":"3a16-18"}]},"3a16-73":{"id":"/src/util/index.ts","moduleParts":{},"imported":[{"uid":"3a16-6"},{"uid":"3a16-46"},{"uid":"3a16-48"},{"uid":"3a16-79"},{"uid":"3a16-50"},{"uid":"3a16-42"},{"uid":"3a16-34"},{"uid":"3a16-44"},{"uid":"3a16-36"},{"uid":"3a16-38"},{"uid":"3a16-52"},{"uid":"3a16-80"},{"uid":"3a16-54"},{"uid":"3a16-40"},{"uid":"3a16-56"}],"importedBy":[{"uid":"3a16-68"},{"uid":"3a16-66"},{"uid":"3a16-58"},{"uid":"3a16-14"},{"uid":"3a16-24"},{"uid":"3a16-18"}]},"3a16-74":{"id":"/src/store.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-68"}]},"3a16-75":{"id":"/src/i18n/index.ts","moduleParts":{},"imported":[{"uid":"3a16-81"},{"uid":"3a16-18"}],"importedBy":[{"uid":"3a16-68"},{"uid":"3a16-20"},{"uid":"3a16-46"},{"uid":"3a16-44"}]},"3a16-76":{"id":"/src/models/jsonSchema.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-71"}]},"3a16-77":{"id":"/src/models/jsonSchema4.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-71"}]},"3a16-78":{"id":"/src/models/jsonSchema7.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-71"}]},"3a16-79":{"id":"/src/util/Formatted.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-73"}]},"3a16-80":{"id":"/src/util/type.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-73"}]},"3a16-81":{"id":"/src/i18n/i18nTypes.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-75"}]},"3a16-82":{"id":"lodash/isEmpty","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-58"},{"uid":"3a16-24"},{"uid":"3a16-46"},{"uid":"3a16-34"},{"uid":"3a16-36"},{"uid":"3a16-54"},{"uid":"3a16-40"}],"isExternal":true},"3a16-83":{"id":"lodash/startCase","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-58"},{"uid":"3a16-42"}],"isExternal":true},"3a16-84":{"id":"lodash/keys","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-58"}],"isExternal":true},"3a16-85":{"id":"lodash/merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-12"}],"isExternal":true},"3a16-86":{"id":"lodash/cloneDeep","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-14"}],"isExternal":true},"3a16-87":{"id":"lodash/fp/set","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-14"}],"isExternal":true},"3a16-88":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-14"},{"uid":"3a16-30"},{"uid":"3a16-32"},{"uid":"3a16-24"},{"uid":"3a16-44"},{"uid":"3a16-36"}],"isExternal":true},"3a16-89":{"id":"lodash/filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-14"}],"isExternal":true},"3a16-90":{"id":"lodash/isEqual","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-14"}],"isExternal":true},"3a16-91":{"id":"lodash/isFunction","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-14"}],"isExternal":true},"3a16-92":{"id":"lodash/maxBy","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-28"}],"isExternal":true},"3a16-93":{"id":"lodash/remove","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-28"}],"isExternal":true},"3a16-94":{"id":"lodash/endsWith","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-24"}],"isExternal":true},"3a16-95":{"id":"lodash/last","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-24"}],"isExternal":true},"3a16-96":{"id":"lodash/isArray","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-24"},{"uid":"3a16-40"}],"isExternal":true},"3a16-97":{"id":"lodash/reduce","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-24"}],"isExternal":true},"3a16-98":{"id":"lodash/toPairs","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-24"}],"isExternal":true},"3a16-99":{"id":"lodash/includes","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-24"},{"uid":"3a16-40"}],"isExternal":true},"3a16-100":{"id":"lodash/union","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-46"}],"isExternal":true},"3a16-101":{"id":"lodash/range","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-34"}],"isExternal":true},"3a16-102":{"id":"lodash/find","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-44"},{"uid":"3a16-52"},{"uid":"3a16-40"}],"isExternal":true},"3a16-103":{"id":"lodash/has","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-38"}],"isExternal":true},"3a16-104":{"id":"ajv","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-56"}],"isExternal":true},"3a16-105":{"id":"ajv-formats","moduleParts":{},"imported":[],"importedBy":[{"uid":"3a16-56"}],"isExternal":true}},"env":{"rollup":"2.61.1"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
3263
3263
|
|
|
3264
3264
|
const run = () => {
|
|
3265
3265
|
const width = window.innerWidth;
|