@jsonforms/core 3.0.0-beta.0 → 3.0.0-beta.3
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/globals.html +318 -209
- package/docs/index.html +13 -4
- package/docs/interfaces/addcellrendereraction.html +3 -3
- package/docs/interfaces/addrendereraction.html +3 -3
- package/docs/interfaces/adduischemaaction.html +3 -3
- package/docs/interfaces/arraycontrolprops.html +21 -21
- package/docs/interfaces/arraylayoutprops.html +21 -21
- package/docs/interfaces/cellprops.html +12 -12
- package/docs/interfaces/combinatorrendererprops.html +143 -36
- package/docs/interfaces/controlprops.html +16 -16
- package/docs/interfaces/controlstate.html +2 -2
- package/docs/interfaces/controlwithdetailprops.html +17 -17
- package/docs/interfaces/dispatchcellprops.html +10 -10
- package/docs/interfaces/dispatchcellstateprops.html +10 -10
- package/docs/interfaces/dispatchpropsofarraycontrol.html +4 -4
- package/docs/interfaces/dispatchpropsofcontrol.html +1 -1
- package/docs/interfaces/dispatchpropsofmultienumcontrol.html +2 -2
- package/docs/interfaces/enumcellprops.html +13 -13
- package/docs/interfaces/enumoption.html +2 -2
- package/docs/interfaces/initactionoptions.html +14 -0
- package/docs/interfaces/jsonformscore.html +17 -3
- package/docs/interfaces/jsonformsprops.html +9 -9
- package/docs/interfaces/layoutprops.html +10 -10
- package/docs/interfaces/ownpropsofcell.html +9 -9
- package/docs/interfaces/ownpropsofcontrol.html +9 -12
- package/docs/interfaces/ownpropsofenum.html +1 -1
- package/docs/interfaces/ownpropsofenumcell.html +10 -10
- package/docs/interfaces/ownpropsofjsonformsrenderer.html +8 -8
- package/docs/interfaces/ownpropsoflayout.html +9 -9
- package/docs/interfaces/ownpropsofmasterlistitem.html +6 -6
- package/docs/interfaces/ownpropsofrenderer.html +8 -8
- package/docs/interfaces/registerdefaultdataaction.html +3 -3
- package/docs/interfaces/removecellrendereraction.html +3 -3
- package/docs/interfaces/removerendereraction.html +3 -3
- package/docs/interfaces/removeuischemaaction.html +2 -2
- package/docs/interfaces/rendererprops.html +9 -9
- package/docs/interfaces/setajvaction.html +2 -2
- package/docs/interfaces/setconfigaction.html +2 -2
- package/docs/interfaces/setlocaleaction.html +2 -2
- package/docs/interfaces/setschemaaction.html +2 -2
- package/docs/interfaces/settranslatoraction.html +3 -3
- package/docs/interfaces/setuischemaaction.html +2 -2
- package/docs/interfaces/setvalidationmodeaction.html +2 -2
- package/docs/interfaces/statepropsofarraycontrol.html +17 -17
- package/docs/interfaces/statepropsofarraylayout.html +17 -17
- package/docs/interfaces/statepropsofcell.html +11 -11
- package/docs/interfaces/statepropsofcombinator.html +147 -40
- package/docs/interfaces/statepropsofcontrol.html +18 -15
- package/docs/interfaces/statepropsofcontrolwithdetail.html +16 -16
- package/docs/interfaces/statepropsofenumcell.html +12 -12
- package/docs/interfaces/statepropsofjsonformsrenderer.html +9 -9
- package/docs/interfaces/statepropsoflayout.html +10 -10
- package/docs/interfaces/statepropsofmasteritem.html +7 -7
- package/docs/interfaces/statepropsofrenderer.html +9 -9
- package/docs/interfaces/statepropsofscopedrenderer.html +12 -12
- package/docs/interfaces/unregisterdefaultdataaction.html +2 -2
- package/docs/interfaces/updatei18naction.html +4 -4
- package/docs/interfaces/withclassname.html +1 -1
- package/lib/actions/actions.d.ts +1 -0
- package/lib/jsonforms-core.cjs.js +191 -176
- package/lib/jsonforms-core.cjs.js.map +1 -1
- package/lib/jsonforms-core.esm.js +174 -164
- package/lib/jsonforms-core.esm.js.map +1 -1
- package/lib/reducers/core.d.ts +1 -0
- package/lib/reducers/reducers.d.ts +2 -2
- package/lib/testers/testers.d.ts +8 -7
- package/lib/util/combinators.d.ts +0 -1
- package/lib/util/path.d.ts +10 -0
- package/lib/util/renderer.d.ts +2 -2
- package/lib/util/resolvers.d.ts +1 -1
- package/lib/util/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/actions/actions.ts +1 -0
- package/src/generators/uischema.ts +4 -4
- package/src/i18n/i18nUtil.ts +5 -5
- package/src/reducers/core.ts +30 -3
- package/src/reducers/reducers.ts +12 -4
- package/src/testers/testers.ts +60 -33
- package/src/util/combinators.ts +17 -32
- package/src/util/label.ts +2 -2
- package/src/util/path.ts +18 -6
- package/src/util/renderer.ts +20 -32
- package/src/util/resolvers.ts +57 -68
- package/src/util/util.ts +1 -1
- package/stats.html +1 -1
- package/test/generators/uischema.test.ts +18 -0
- package/test/reducers/core.test.ts +203 -1
- package/test/testers.test.ts +208 -120
- package/test/util/path.test.ts +37 -20
- package/test/util/resolvers.test.ts +99 -8
package/src/util/label.ts
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
import startCase from 'lodash/startCase';
|
|
27
27
|
|
|
28
28
|
import { ControlElement, JsonSchema, LabelDescription } from '../models';
|
|
29
|
+
import { decode } from './path';
|
|
29
30
|
|
|
30
31
|
const deriveLabel = (
|
|
31
32
|
controlElement: ControlElement,
|
|
@@ -36,8 +37,7 @@ const deriveLabel = (
|
|
|
36
37
|
}
|
|
37
38
|
if (typeof controlElement.scope === 'string') {
|
|
38
39
|
const ref = controlElement.scope;
|
|
39
|
-
const label = ref.substr(ref.lastIndexOf('/') + 1);
|
|
40
|
-
|
|
40
|
+
const label = decode(ref.substr(ref.lastIndexOf('/') + 1));
|
|
41
41
|
return startCase(label);
|
|
42
42
|
}
|
|
43
43
|
|
package/src/util/path.ts
CHANGED
|
@@ -57,14 +57,15 @@ export { compose as composePaths };
|
|
|
57
57
|
*/
|
|
58
58
|
export const toDataPathSegments = (schemaPath: string): string[] => {
|
|
59
59
|
const s = schemaPath
|
|
60
|
-
.replace(/anyOf\/[\d]\//g, '')
|
|
61
|
-
.replace(/
|
|
62
|
-
.replace(/oneOf\/[\d]\//g, '');
|
|
60
|
+
.replace(/(anyOf|allOf|oneOf)\/[\d]\//g, '')
|
|
61
|
+
.replace(/(then|else)\//g, '');
|
|
63
62
|
const segments = s.split('/');
|
|
64
63
|
|
|
65
|
-
const
|
|
64
|
+
const decodedSegments = segments.map(decode);
|
|
65
|
+
|
|
66
|
+
const startFromRoot = decodedSegments[0] === '#' || decodedSegments[0] === '';
|
|
66
67
|
const startIndex = startFromRoot ? 2 : 1;
|
|
67
|
-
return range(startIndex,
|
|
68
|
+
return range(startIndex, decodedSegments.length, 2).map(idx => decodedSegments[idx]);
|
|
68
69
|
};
|
|
69
70
|
|
|
70
71
|
/**
|
|
@@ -77,7 +78,7 @@ export const toDataPathSegments = (schemaPath: string): string[] => {
|
|
|
77
78
|
*/
|
|
78
79
|
export const toDataPath = (schemaPath: string): string => {
|
|
79
80
|
return toDataPathSegments(schemaPath).join('.');
|
|
80
|
-
};
|
|
81
|
+
};
|
|
81
82
|
|
|
82
83
|
export const composeWithUi = (scopableUi: Scopable, path: string): string => {
|
|
83
84
|
const segments = toDataPathSegments(scopableUi.scope);
|
|
@@ -88,3 +89,14 @@ export const composeWithUi = (scopableUi: Scopable, path: string): string => {
|
|
|
88
89
|
|
|
89
90
|
return isEmpty(segments) ? path : compose(path, segments.join('.'));
|
|
90
91
|
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Encodes the given segment to be used as part of a JSON Pointer
|
|
95
|
+
*
|
|
96
|
+
* JSON Pointer has special meaning for "/" and "~", therefore these must be encoded
|
|
97
|
+
*/
|
|
98
|
+
export const encode = (segment: string) => segment?.replace(/~/g, '~0').replace(/\//g, '~1');
|
|
99
|
+
/**
|
|
100
|
+
* Decodes a given JSON Pointer segment to its "normal" representation
|
|
101
|
+
*/
|
|
102
|
+
export const decode = (pointerSegment: string) => pointerSegment?.replace(/~1/g, '/').replace(/~0/, '~');
|
package/src/util/renderer.ts
CHANGED
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
import get from 'lodash/get';
|
|
27
27
|
import { ControlElement, JsonSchema, UISchemaElement } from '../models';
|
|
28
28
|
import find from 'lodash/find';
|
|
29
|
-
import
|
|
29
|
+
import {
|
|
30
|
+
getUISchemas,
|
|
30
31
|
JsonFormsCellRendererRegistryEntry,
|
|
31
32
|
JsonFormsRendererRegistryEntry,
|
|
32
33
|
} from '../reducers';
|
|
@@ -48,7 +49,7 @@ import {
|
|
|
48
49
|
import { RankedTester } from '../testers';
|
|
49
50
|
import { hasShowRule, isInherentlyEnabled, isVisible } from './runtime';
|
|
50
51
|
import { createLabelDescriptionFrom } from './label';
|
|
51
|
-
import { CombinatorKeyword
|
|
52
|
+
import { CombinatorKeyword } from './combinators';
|
|
52
53
|
import { moveDown, moveUp } from './array';
|
|
53
54
|
import { AnyAction, Dispatch } from './type';
|
|
54
55
|
import { Resolve } from './util';
|
|
@@ -65,6 +66,7 @@ const isRequired = (
|
|
|
65
66
|
): boolean => {
|
|
66
67
|
const pathSegments = schemaPath.split('/');
|
|
67
68
|
const lastSegment = pathSegments[pathSegments.length - 1];
|
|
69
|
+
// Skip "properties", "items" etc. to resolve the parent
|
|
68
70
|
const nextHigherSchemaSegments = pathSegments.slice(
|
|
69
71
|
0,
|
|
70
72
|
pathSegments.length - 2
|
|
@@ -463,8 +465,8 @@ export const mapStateToControlProps = (
|
|
|
463
465
|
const schema = resolvedSchema ?? rootSchema;
|
|
464
466
|
const t = getTranslator()(state);
|
|
465
467
|
const te = getErrorTranslator()(state);
|
|
466
|
-
const i18nLabel = t(getI18nKey(schema, uischema, path, 'label'), label);
|
|
467
|
-
const i18nDescription = t(getI18nKey(schema, uischema, path, 'description'), description);
|
|
468
|
+
const i18nLabel = t(getI18nKey(schema, uischema, path, 'label'), label, {schema, uischema, path, errors} );
|
|
469
|
+
const i18nDescription = t(getI18nKey(schema, uischema, path, 'description'), description, {schema, uischema, path, errors});
|
|
468
470
|
const i18nErrorMessage = getCombinedErrorMessage(errors, te, t, schema, uischema, path);
|
|
469
471
|
|
|
470
472
|
return {
|
|
@@ -865,7 +867,8 @@ export const mapStateToLayoutProps = (
|
|
|
865
867
|
data,
|
|
866
868
|
uischema: ownProps.uischema,
|
|
867
869
|
schema: ownProps.schema,
|
|
868
|
-
direction: ownProps.direction ?? getDirection(uischema)
|
|
870
|
+
direction: ownProps.direction ?? getDirection(uischema),
|
|
871
|
+
config
|
|
869
872
|
};
|
|
870
873
|
};
|
|
871
874
|
|
|
@@ -891,7 +894,10 @@ export const mapStateToJsonFormsRendererProps = (
|
|
|
891
894
|
state.jsonforms.uischemas,
|
|
892
895
|
ownProps.schema,
|
|
893
896
|
undefined,
|
|
894
|
-
ownProps.path
|
|
897
|
+
ownProps.path,
|
|
898
|
+
undefined,
|
|
899
|
+
undefined,
|
|
900
|
+
state.jsonforms.core.schema
|
|
895
901
|
);
|
|
896
902
|
} else {
|
|
897
903
|
uischema = getUiSchema(state);
|
|
@@ -913,7 +919,7 @@ export const controlDefaultProps = {
|
|
|
913
919
|
errors: [] as string[]
|
|
914
920
|
};
|
|
915
921
|
|
|
916
|
-
export interface StatePropsOfCombinator extends
|
|
922
|
+
export interface StatePropsOfCombinator extends StatePropsOfControl {
|
|
917
923
|
rootSchema: JsonSchema;
|
|
918
924
|
path: string;
|
|
919
925
|
id: string;
|
|
@@ -927,25 +933,12 @@ export const mapStateToCombinatorRendererProps = (
|
|
|
927
933
|
ownProps: OwnPropsOfControl,
|
|
928
934
|
keyword: CombinatorKeyword
|
|
929
935
|
): StatePropsOfCombinator => {
|
|
930
|
-
const {
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
const resolvedSchema = Resolve.schema(
|
|
934
|
-
ownProps.schema || rootSchema,
|
|
935
|
-
uischema.scope,
|
|
936
|
-
rootSchema
|
|
936
|
+
const { data, schema, ...props } = mapStateToControlProps(
|
|
937
|
+
state,
|
|
938
|
+
ownProps
|
|
937
939
|
);
|
|
938
|
-
const visible: boolean =
|
|
939
|
-
ownProps.visible === undefined || hasShowRule(uischema)
|
|
940
|
-
? isVisible(uischema, getData(state), ownProps.path, getAjv(state))
|
|
941
|
-
: ownProps.visible;
|
|
942
|
-
const id = ownProps.id;
|
|
943
|
-
|
|
944
|
-
const data = Resolve.data(getData(state), path);
|
|
945
940
|
|
|
946
941
|
const ajv = state.jsonforms.core.ajv;
|
|
947
|
-
const schema = resolvedSchema || rootSchema;
|
|
948
|
-
const _schema = resolveSubSchemas(schema, rootSchema, keyword);
|
|
949
942
|
const structuralKeywords = [
|
|
950
943
|
'required',
|
|
951
944
|
'additionalProperties',
|
|
@@ -964,9 +957,9 @@ export const mapStateToCombinatorRendererProps = (
|
|
|
964
957
|
// TODO instead of compiling the combinator subschemas we can compile the original schema
|
|
965
958
|
// without the combinator alternatives and then revalidate and check the errors for the
|
|
966
959
|
// element
|
|
967
|
-
for (let i = 0; i <
|
|
960
|
+
for (let i = 0; i < schema[keyword]?.length; i++) {
|
|
968
961
|
try {
|
|
969
|
-
const valFn = ajv.compile(
|
|
962
|
+
const valFn = ajv.compile(schema[keyword][i]);
|
|
970
963
|
valFn(data);
|
|
971
964
|
if (dataIsValid(valFn.errors)) {
|
|
972
965
|
indexOfFittingSchema = i;
|
|
@@ -979,14 +972,10 @@ export const mapStateToCombinatorRendererProps = (
|
|
|
979
972
|
|
|
980
973
|
return {
|
|
981
974
|
data,
|
|
982
|
-
path,
|
|
983
975
|
schema,
|
|
984
|
-
|
|
985
|
-
visible,
|
|
986
|
-
id,
|
|
976
|
+
...props,
|
|
987
977
|
indexOfFittingSchema,
|
|
988
|
-
uischemas: state
|
|
989
|
-
uischema
|
|
978
|
+
uischemas: getUISchemas(state)
|
|
990
979
|
};
|
|
991
980
|
};
|
|
992
981
|
|
|
@@ -1044,7 +1033,6 @@ export const mapStateToArrayLayoutProps = (
|
|
|
1044
1033
|
|
|
1045
1034
|
const resolvedSchema = Resolve.schema(schema, 'items', props.rootSchema);
|
|
1046
1035
|
|
|
1047
|
-
// TODO Does not consider a specialized '.custom' error message overriding all other error messages
|
|
1048
1036
|
// TODO Does not consider 'i18n' keys which are specified in the ui schemas of the sub errors
|
|
1049
1037
|
const childErrors = getCombinedErrorMessage(
|
|
1050
1038
|
getSubErrorsAt(path, resolvedSchema)(state),
|
package/src/util/resolvers.ts
CHANGED
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
|
|
26
26
|
import isEmpty from 'lodash/isEmpty';
|
|
27
27
|
import get from 'lodash/get';
|
|
28
|
-
import { JsonSchema } from '../models';
|
|
28
|
+
import { JsonSchema, JsonSchema7 } from '../models';
|
|
29
|
+
import { decode } from './path';
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
32
|
* Map for storing refs and the respective schemas they are pointing to.
|
|
@@ -110,80 +111,68 @@ const invalidSegment = (pathSegment: string) =>
|
|
|
110
111
|
export const resolveSchema = (
|
|
111
112
|
schema: JsonSchema,
|
|
112
113
|
schemaPath: string,
|
|
113
|
-
rootSchema
|
|
114
|
+
rootSchema: JsonSchema
|
|
115
|
+
): JsonSchema => {
|
|
116
|
+
const segments = schemaPath?.split('/').map(decode);
|
|
117
|
+
return resolveSchemaWithSegments(schema, segments, rootSchema);
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const resolveSchemaWithSegments = (
|
|
121
|
+
schema: JsonSchema,
|
|
122
|
+
pathSegments: string[],
|
|
123
|
+
rootSchema: JsonSchema
|
|
114
124
|
): JsonSchema => {
|
|
115
125
|
if (isEmpty(schema)) {
|
|
116
126
|
return undefined;
|
|
117
127
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
let pathSegment = validPathSegments[i];
|
|
122
|
-
resultSchema =
|
|
123
|
-
resultSchema === undefined || resultSchema.$ref === undefined
|
|
124
|
-
? resultSchema
|
|
125
|
-
: resolveSchema(schema, resultSchema.$ref);
|
|
126
|
-
if (invalidSegment(pathSegment)) {
|
|
127
|
-
// skip invalid segments
|
|
128
|
-
continue;
|
|
129
|
-
}
|
|
130
|
-
let curSchema = get(resultSchema, pathSegment);
|
|
131
|
-
if (!curSchema) {
|
|
132
|
-
// resolving was not successful, check whether the scope omitted an oneOf, allOf or anyOf and resolve anyway
|
|
133
|
-
const schemas = [].concat(
|
|
134
|
-
resultSchema?.oneOf ?? [],
|
|
135
|
-
resultSchema?.allOf ?? [],
|
|
136
|
-
resultSchema?.anyOf ?? []
|
|
137
|
-
);
|
|
138
|
-
for (let item of schemas) {
|
|
139
|
-
curSchema = resolveSchema(item, validPathSegments.slice(i).join('/'));
|
|
140
|
-
if (curSchema) {
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
if (curSchema) {
|
|
145
|
-
// already resolved rest of the path
|
|
146
|
-
resultSchema = curSchema;
|
|
147
|
-
break;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
resultSchema = curSchema;
|
|
128
|
+
|
|
129
|
+
if (schema.$ref) {
|
|
130
|
+
schema = resolveSchema(rootSchema, schema.$ref, rootSchema);
|
|
151
131
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
// schemas around
|
|
156
|
-
if (resultSchema !== undefined && resultSchema.$ref !== undefined) {
|
|
157
|
-
try {
|
|
158
|
-
return retrieveResolvableSchema(schema, resultSchema.$ref);
|
|
159
|
-
} catch (e) {
|
|
160
|
-
return retrieveResolvableSchema(rootSchema, resultSchema.$ref);
|
|
161
|
-
}
|
|
132
|
+
|
|
133
|
+
if (!pathSegments || pathSegments.length === 0) {
|
|
134
|
+
return schema;
|
|
162
135
|
}
|
|
163
136
|
|
|
164
|
-
|
|
165
|
-
};
|
|
137
|
+
const [segment, ...remainingSegments] = pathSegments;
|
|
166
138
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
*
|
|
170
|
-
* @param {JsonSchema} full the JSON schema to resolved the reference against
|
|
171
|
-
* @param {string} reference the reference to be resolved
|
|
172
|
-
* @returns {JsonSchema} the resolved sub-schema
|
|
173
|
-
*/
|
|
174
|
-
// disable rule because resolve is mutually recursive
|
|
175
|
-
// tslint:disable:only-arrow-functions
|
|
176
|
-
function retrieveResolvableSchema(
|
|
177
|
-
full: JsonSchema,
|
|
178
|
-
reference: string
|
|
179
|
-
): JsonSchema {
|
|
180
|
-
// tslint:enable:only-arrow-functions
|
|
181
|
-
const child = resolveSchema(full, reference);
|
|
182
|
-
const allRefs = findAllRefs(child);
|
|
183
|
-
const innerSelfReference = allRefs[reference];
|
|
184
|
-
if (innerSelfReference !== undefined) {
|
|
185
|
-
innerSelfReference.$ref = '#';
|
|
139
|
+
if (invalidSegment(segment)) {
|
|
140
|
+
return resolveSchemaWithSegments(schema, remainingSegments, rootSchema);
|
|
186
141
|
}
|
|
187
142
|
|
|
188
|
-
|
|
189
|
-
|
|
143
|
+
const singleSegmentResolveSchema = get(schema, segment);
|
|
144
|
+
|
|
145
|
+
const resolvedSchema = resolveSchemaWithSegments(singleSegmentResolveSchema, remainingSegments, rootSchema);
|
|
146
|
+
if (resolvedSchema) {
|
|
147
|
+
return resolvedSchema;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
if (segment === 'properties' || segment === 'items') {
|
|
151
|
+
// Let's try to resolve the path, assuming oneOf/allOf/anyOf/then/else was omitted.
|
|
152
|
+
// We only do this when traversing an object or array as we want to avoid
|
|
153
|
+
// following a property which is named oneOf, allOf, anyOf, then or else.
|
|
154
|
+
let alternativeResolveResult = undefined;
|
|
155
|
+
|
|
156
|
+
const subSchemas = [].concat(
|
|
157
|
+
schema.oneOf ?? [],
|
|
158
|
+
schema.allOf ?? [],
|
|
159
|
+
schema.anyOf ?? [],
|
|
160
|
+
(schema as JsonSchema7).then ?? [],
|
|
161
|
+
(schema as JsonSchema7).else ?? []
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
for (const subSchema of subSchemas) {
|
|
165
|
+
alternativeResolveResult = resolveSchemaWithSegments(
|
|
166
|
+
subSchema,
|
|
167
|
+
[segment, ...remainingSegments],
|
|
168
|
+
rootSchema
|
|
169
|
+
);
|
|
170
|
+
if (alternativeResolveResult) {
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
return alternativeResolveResult;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
return undefined;
|
|
178
|
+
}
|
package/src/util/util.ts
CHANGED
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":"801e-1","name":"schema.ts"},{"uid":"801e-59","name":"uischema.ts"},{"uid":"801e-61","name":"Generate.ts"}]},{"name":"models","children":[{"uid":"801e-3","name":"draft4.ts"},{"uid":"801e-5","name":"uischema.ts"}]},{"name":"util","children":[{"uid":"801e-7","name":"array.ts"},{"uid":"801e-35","name":"resolvers.ts"},{"uid":"801e-37","name":"path.ts"},{"uid":"801e-39","name":"runtime.ts"},{"uid":"801e-41","name":"util.ts"},{"uid":"801e-43","name":"label.ts"},{"uid":"801e-45","name":"combinators.ts"},{"uid":"801e-47","name":"renderer.ts"},{"uid":"801e-49","name":"cell.ts"},{"uid":"801e-51","name":"ids.ts"},{"uid":"801e-53","name":"schema.ts"},{"uid":"801e-55","name":"uischema.ts"},{"uid":"801e-57","name":"validator.ts"}]},{"name":"reducers","children":[{"uid":"801e-9","name":"cells.ts"},{"uid":"801e-13","name":"config.ts"},{"uid":"801e-15","name":"core.ts"},{"uid":"801e-17","name":"default-data.ts"},{"uid":"801e-21","name":"i18n.ts"},{"uid":"801e-23","name":"renderers.ts"},{"uid":"801e-29","name":"uischemas.ts"},{"uid":"801e-31","name":"reducers.ts"},{"uid":"801e-33","name":"selectors.ts"}]},{"uid":"801e-11","name":"configDefault.ts"},{"name":"i18n/i18nUtil.ts","uid":"801e-19"},{"name":"testers","children":[{"uid":"801e-25","name":"testers.ts"},{"uid":"801e-27","name":"index.ts"}]},{"name":"actions","children":[{"uid":"801e-63","name":"actions.ts"},{"uid":"801e-65","name":"index.ts"}]},{"uid":"801e-67","name":"Helpers.ts"},{"uid":"801e-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"801e-1":{"renderedLength":3843,"gzipLength":0,"brotliLength":0,"mainUid":"801e-0"},"801e-3":{"renderedLength":4050,"gzipLength":0,"brotliLength":0,"mainUid":"801e-2"},"801e-5":{"renderedLength":336,"gzipLength":0,"brotliLength":0,"mainUid":"801e-4"},"801e-7":{"renderedLength":421,"gzipLength":0,"brotliLength":0,"mainUid":"801e-6"},"801e-9":{"renderedLength":294,"gzipLength":0,"brotliLength":0,"mainUid":"801e-8"},"801e-11":{"renderedLength":133,"gzipLength":0,"brotliLength":0,"mainUid":"801e-10"},"801e-13":{"renderedLength":322,"gzipLength":0,"brotliLength":0,"mainUid":"801e-12"},"801e-15":{"renderedLength":9352,"gzipLength":0,"brotliLength":0,"mainUid":"801e-14"},"801e-17":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"mainUid":"801e-16"},"801e-19":{"renderedLength":1945,"gzipLength":0,"brotliLength":0,"mainUid":"801e-18"},"801e-21":{"renderedLength":1754,"gzipLength":0,"brotliLength":0,"mainUid":"801e-20"},"801e-23":{"renderedLength":370,"gzipLength":0,"brotliLength":0,"mainUid":"801e-22"},"801e-25":{"renderedLength":7550,"gzipLength":0,"brotliLength":0,"mainUid":"801e-24"},"801e-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"801e-26"},"801e-29":{"renderedLength":783,"gzipLength":0,"brotliLength":0,"mainUid":"801e-28"},"801e-31":{"renderedLength":1678,"gzipLength":0,"brotliLength":0,"mainUid":"801e-30"},"801e-33":{"renderedLength":573,"gzipLength":0,"brotliLength":0,"mainUid":"801e-32"},"801e-35":{"renderedLength":3307,"gzipLength":0,"brotliLength":0,"mainUid":"801e-34"},"801e-37":{"renderedLength":1085,"gzipLength":0,"brotliLength":0,"mainUid":"801e-36"},"801e-39":{"renderedLength":3621,"gzipLength":0,"brotliLength":0,"mainUid":"801e-38"},"801e-41":{"renderedLength":1502,"gzipLength":0,"brotliLength":0,"mainUid":"801e-40"},"801e-43":{"renderedLength":1281,"gzipLength":0,"brotliLength":0,"mainUid":"801e-42"},"801e-45":{"renderedLength":887,"gzipLength":0,"brotliLength":0,"mainUid":"801e-44"},"801e-47":{"renderedLength":13748,"gzipLength":0,"brotliLength":0,"mainUid":"801e-46"},"801e-49":{"renderedLength":2622,"gzipLength":0,"brotliLength":0,"mainUid":"801e-48"},"801e-51":{"renderedLength":621,"gzipLength":0,"brotliLength":0,"mainUid":"801e-50"},"801e-53":{"renderedLength":365,"gzipLength":0,"brotliLength":0,"mainUid":"801e-52"},"801e-55":{"renderedLength":609,"gzipLength":0,"brotliLength":0,"mainUid":"801e-54"},"801e-57":{"renderedLength":196,"gzipLength":0,"brotliLength":0,"mainUid":"801e-56"},"801e-59":{"renderedLength":3278,"gzipLength":0,"brotliLength":0,"mainUid":"801e-58"},"801e-61":{"renderedLength":137,"gzipLength":0,"brotliLength":0,"mainUid":"801e-60"},"801e-63":{"renderedLength":3051,"gzipLength":0,"brotliLength":0,"mainUid":"801e-62"},"801e-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"801e-64"},"801e-67":{"renderedLength":80,"gzipLength":0,"brotliLength":0,"mainUid":"801e-66"},"801e-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"801e-68"}},"nodeMetas":{"801e-0":{"id":"/src/generators/schema.ts","moduleParts":{"jsonforms-core.esm.js":"801e-1"},"imported":[],"importedBy":[{"uid":"801e-70"},{"uid":"801e-60"}]},"801e-2":{"id":"/src/models/draft4.ts","moduleParts":{"jsonforms-core.esm.js":"801e-3"},"imported":[],"importedBy":[{"uid":"801e-71"}]},"801e-4":{"id":"/src/models/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"801e-5"},"imported":[],"importedBy":[{"uid":"801e-71"}]},"801e-6":{"id":"/src/util/array.ts","moduleParts":{"jsonforms-core.esm.js":"801e-7"},"imported":[],"importedBy":[{"uid":"801e-73"},{"uid":"801e-46"}]},"801e-8":{"id":"/src/reducers/cells.ts","moduleParts":{"jsonforms-core.esm.js":"801e-9"},"imported":[{"uid":"801e-64"}],"importedBy":[{"uid":"801e-72"},{"uid":"801e-30"}]},"801e-10":{"id":"/src/configDefault.ts","moduleParts":{"jsonforms-core.esm.js":"801e-11"},"imported":[],"importedBy":[{"uid":"801e-12"}]},"801e-12":{"id":"/src/reducers/config.ts","moduleParts":{"jsonforms-core.esm.js":"801e-13"},"imported":[{"uid":"801e-85"},{"uid":"801e-64"},{"uid":"801e-10"}],"importedBy":[{"uid":"801e-72"},{"uid":"801e-30"}]},"801e-14":{"id":"/src/reducers/core.ts","moduleParts":{"jsonforms-core.esm.js":"801e-15"},"imported":[{"uid":"801e-86"},{"uid":"801e-87"},{"uid":"801e-88"},{"uid":"801e-89"},{"uid":"801e-90"},{"uid":"801e-91"},{"uid":"801e-64"},{"uid":"801e-73"}],"importedBy":[{"uid":"801e-72"},{"uid":"801e-30"},{"uid":"801e-32"}]},"801e-16":{"id":"/src/reducers/default-data.ts","moduleParts":{"jsonforms-core.esm.js":"801e-17"},"imported":[{"uid":"801e-64"}],"importedBy":[{"uid":"801e-72"},{"uid":"801e-30"},{"uid":"801e-32"}]},"801e-18":{"id":"/src/i18n/i18nUtil.ts","moduleParts":{"jsonforms-core.esm.js":"801e-19"},"imported":[{"uid":"801e-72"},{"uid":"801e-73"}],"importedBy":[{"uid":"801e-75"}]},"801e-20":{"id":"/src/reducers/i18n.ts","moduleParts":{"jsonforms-core.esm.js":"801e-21"},"imported":[{"uid":"801e-75"},{"uid":"801e-64"}],"importedBy":[{"uid":"801e-72"},{"uid":"801e-30"}]},"801e-22":{"id":"/src/reducers/renderers.ts","moduleParts":{"jsonforms-core.esm.js":"801e-23"},"imported":[{"uid":"801e-64"}],"importedBy":[{"uid":"801e-72"},{"uid":"801e-30"}]},"801e-24":{"id":"/src/testers/testers.ts","moduleParts":{"jsonforms-core.esm.js":"801e-25"},"imported":[{"uid":"801e-82"},{"uid":"801e-88"},{"uid":"801e-94"},{"uid":"801e-95"},{"uid":"801e-96"},{"uid":"801e-97"},{"uid":"801e-98"},{"uid":"801e-99"},{"uid":"801e-73"}],"importedBy":[{"uid":"801e-26"}]},"801e-26":{"id":"/src/testers/index.ts","moduleParts":{"jsonforms-core.esm.js":"801e-27"},"imported":[{"uid":"801e-24"}],"importedBy":[{"uid":"801e-68"},{"uid":"801e-28"}]},"801e-28":{"id":"/src/reducers/uischemas.ts","moduleParts":{"jsonforms-core.esm.js":"801e-29"},"imported":[{"uid":"801e-92"},{"uid":"801e-93"},{"uid":"801e-64"},{"uid":"801e-26"}],"importedBy":[{"uid":"801e-72"},{"uid":"801e-30"}]},"801e-30":{"id":"/src/reducers/reducers.ts","moduleParts":{"jsonforms-core.esm.js":"801e-31"},"imported":[{"uid":"801e-14"},{"uid":"801e-16"},{"uid":"801e-22"},{"uid":"801e-28"},{"uid":"801e-20"},{"uid":"801e-70"},{"uid":"801e-8"},{"uid":"801e-12"},{"uid":"801e-88"},{"uid":"801e-72"}],"importedBy":[{"uid":"801e-72"}]},"801e-32":{"id":"/src/reducers/selectors.ts","moduleParts":{"jsonforms-core.esm.js":"801e-33"},"imported":[{"uid":"801e-88"},{"uid":"801e-14"},{"uid":"801e-16"}],"importedBy":[{"uid":"801e-72"}]},"801e-34":{"id":"/src/util/resolvers.ts","moduleParts":{"jsonforms-core.esm.js":"801e-35"},"imported":[{"uid":"801e-82"},{"uid":"801e-88"}],"importedBy":[{"uid":"801e-73"},{"uid":"801e-44"},{"uid":"801e-38"},{"uid":"801e-40"}]},"801e-36":{"id":"/src/util/path.ts","moduleParts":{"jsonforms-core.esm.js":"801e-37"},"imported":[{"uid":"801e-82"},{"uid":"801e-101"}],"importedBy":[{"uid":"801e-73"},{"uid":"801e-46"},{"uid":"801e-38"},{"uid":"801e-40"}]},"801e-38":{"id":"/src/util/runtime.ts","moduleParts":{"jsonforms-core.esm.js":"801e-39"},"imported":[{"uid":"801e-103"},{"uid":"801e-71"},{"uid":"801e-34"},{"uid":"801e-36"},{"uid":"801e-72"}],"importedBy":[{"uid":"801e-73"},{"uid":"801e-48"},{"uid":"801e-46"},{"uid":"801e-40"}]},"801e-40":{"id":"/src/util/util.ts","moduleParts":{"jsonforms-core.esm.js":"801e-41"},"imported":[{"uid":"801e-82"},{"uid":"801e-96"},{"uid":"801e-99"},{"uid":"801e-102"},{"uid":"801e-34"},{"uid":"801e-36"},{"uid":"801e-38"}],"importedBy":[{"uid":"801e-73"},{"uid":"801e-48"},{"uid":"801e-46"}]},"801e-42":{"id":"/src/util/label.ts","moduleParts":{"jsonforms-core.esm.js":"801e-43"},"imported":[{"uid":"801e-83"}],"importedBy":[{"uid":"801e-73"},{"uid":"801e-46"}]},"801e-44":{"id":"/src/util/combinators.ts","moduleParts":{"jsonforms-core.esm.js":"801e-45"},"imported":[{"uid":"801e-34"},{"uid":"801e-72"}],"importedBy":[{"uid":"801e-73"},{"uid":"801e-46"}]},"801e-46":{"id":"/src/util/renderer.ts","moduleParts":{"jsonforms-core.esm.js":"801e-47"},"imported":[{"uid":"801e-88"},{"uid":"801e-102"},{"uid":"801e-72"},{"uid":"801e-38"},{"uid":"801e-42"},{"uid":"801e-44"},{"uid":"801e-6"},{"uid":"801e-40"},{"uid":"801e-36"},{"uid":"801e-64"},{"uid":"801e-75"}],"importedBy":[{"uid":"801e-73"},{"uid":"801e-48"}]},"801e-48":{"id":"/src/util/cell.ts","moduleParts":{"jsonforms-core.esm.js":"801e-49"},"imported":[{"uid":"801e-82"},{"uid":"801e-100"},{"uid":"801e-72"},{"uid":"801e-40"},{"uid":"801e-38"},{"uid":"801e-46"},{"uid":"801e-75"}],"importedBy":[{"uid":"801e-73"}]},"801e-50":{"id":"/src/util/ids.ts","moduleParts":{"jsonforms-core.esm.js":"801e-51"},"imported":[],"importedBy":[{"uid":"801e-73"}]},"801e-52":{"id":"/src/util/schema.ts","moduleParts":{"jsonforms-core.esm.js":"801e-53"},"imported":[{"uid":"801e-102"}],"importedBy":[{"uid":"801e-73"}]},"801e-54":{"id":"/src/util/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"801e-55"},"imported":[{"uid":"801e-82"},{"uid":"801e-71"}],"importedBy":[{"uid":"801e-73"}]},"801e-56":{"id":"/src/util/validator.ts","moduleParts":{"jsonforms-core.esm.js":"801e-57"},"imported":[{"uid":"801e-104"},{"uid":"801e-105"}],"importedBy":[{"uid":"801e-73"}]},"801e-58":{"id":"/src/generators/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"801e-59"},"imported":[{"uid":"801e-82"},{"uid":"801e-83"},{"uid":"801e-84"},{"uid":"801e-71"},{"uid":"801e-73"}],"importedBy":[{"uid":"801e-70"},{"uid":"801e-60"}]},"801e-60":{"id":"/src/generators/Generate.ts","moduleParts":{"jsonforms-core.esm.js":"801e-61"},"imported":[{"uid":"801e-0"},{"uid":"801e-58"}],"importedBy":[{"uid":"801e-70"}]},"801e-62":{"id":"/src/actions/actions.ts","moduleParts":{"jsonforms-core.esm.js":"801e-63"},"imported":[{"uid":"801e-70"}],"importedBy":[{"uid":"801e-64"}]},"801e-64":{"id":"/src/actions/index.ts","moduleParts":{"jsonforms-core.esm.js":"801e-65"},"imported":[{"uid":"801e-62"}],"importedBy":[{"uid":"801e-68"},{"uid":"801e-8"},{"uid":"801e-12"},{"uid":"801e-14"},{"uid":"801e-16"},{"uid":"801e-20"},{"uid":"801e-22"},{"uid":"801e-28"},{"uid":"801e-46"}]},"801e-66":{"id":"/src/Helpers.ts","moduleParts":{"jsonforms-core.esm.js":"801e-67"},"imported":[{"uid":"801e-73"}],"importedBy":[{"uid":"801e-68"}]},"801e-68":{"id":"/src/index.ts","moduleParts":{"jsonforms-core.esm.js":"801e-69"},"imported":[{"uid":"801e-64"},{"uid":"801e-70"},{"uid":"801e-71"},{"uid":"801e-72"},{"uid":"801e-26"},{"uid":"801e-73"},{"uid":"801e-66"},{"uid":"801e-74"},{"uid":"801e-75"}],"importedBy":[],"isEntry":true},"801e-70":{"id":"/src/generators/index.ts","moduleParts":{},"imported":[{"uid":"801e-60"},{"uid":"801e-0"},{"uid":"801e-58"}],"importedBy":[{"uid":"801e-68"},{"uid":"801e-62"},{"uid":"801e-30"}]},"801e-71":{"id":"/src/models/index.ts","moduleParts":{},"imported":[{"uid":"801e-2"},{"uid":"801e-76"},{"uid":"801e-77"},{"uid":"801e-78"},{"uid":"801e-4"}],"importedBy":[{"uid":"801e-68"},{"uid":"801e-58"},{"uid":"801e-38"},{"uid":"801e-54"}]},"801e-72":{"id":"/src/reducers/index.ts","moduleParts":{},"imported":[{"uid":"801e-8"},{"uid":"801e-12"},{"uid":"801e-14"},{"uid":"801e-16"},{"uid":"801e-20"},{"uid":"801e-30"},{"uid":"801e-22"},{"uid":"801e-32"},{"uid":"801e-28"}],"importedBy":[{"uid":"801e-68"},{"uid":"801e-30"},{"uid":"801e-48"},{"uid":"801e-44"},{"uid":"801e-46"},{"uid":"801e-38"},{"uid":"801e-18"}]},"801e-73":{"id":"/src/util/index.ts","moduleParts":{},"imported":[{"uid":"801e-6"},{"uid":"801e-48"},{"uid":"801e-44"},{"uid":"801e-79"},{"uid":"801e-50"},{"uid":"801e-42"},{"uid":"801e-36"},{"uid":"801e-46"},{"uid":"801e-34"},{"uid":"801e-38"},{"uid":"801e-52"},{"uid":"801e-80"},{"uid":"801e-54"},{"uid":"801e-40"},{"uid":"801e-56"}],"importedBy":[{"uid":"801e-68"},{"uid":"801e-66"},{"uid":"801e-58"},{"uid":"801e-14"},{"uid":"801e-24"},{"uid":"801e-18"}]},"801e-74":{"id":"/src/store.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-68"}]},"801e-75":{"id":"/src/i18n/index.ts","moduleParts":{},"imported":[{"uid":"801e-81"},{"uid":"801e-18"}],"importedBy":[{"uid":"801e-68"},{"uid":"801e-20"},{"uid":"801e-48"},{"uid":"801e-46"}]},"801e-76":{"id":"/src/models/jsonSchema.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-71"}]},"801e-77":{"id":"/src/models/jsonSchema4.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-71"}]},"801e-78":{"id":"/src/models/jsonSchema7.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-71"}]},"801e-79":{"id":"/src/util/Formatted.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-73"}]},"801e-80":{"id":"/src/util/type.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-73"}]},"801e-81":{"id":"/src/i18n/i18nTypes.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-75"}]},"801e-82":{"id":"lodash/isEmpty","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-58"},{"uid":"801e-24"},{"uid":"801e-48"},{"uid":"801e-36"},{"uid":"801e-34"},{"uid":"801e-54"},{"uid":"801e-40"}],"isExternal":true},"801e-83":{"id":"lodash/startCase","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-58"},{"uid":"801e-42"}],"isExternal":true},"801e-84":{"id":"lodash/keys","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-58"}],"isExternal":true},"801e-85":{"id":"lodash/merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-12"}],"isExternal":true},"801e-86":{"id":"lodash/cloneDeep","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-14"}],"isExternal":true},"801e-87":{"id":"lodash/fp/set","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-14"}],"isExternal":true},"801e-88":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-14"},{"uid":"801e-30"},{"uid":"801e-32"},{"uid":"801e-24"},{"uid":"801e-46"},{"uid":"801e-34"}],"isExternal":true},"801e-89":{"id":"lodash/filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-14"}],"isExternal":true},"801e-90":{"id":"lodash/isEqual","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-14"}],"isExternal":true},"801e-91":{"id":"lodash/isFunction","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-14"}],"isExternal":true},"801e-92":{"id":"lodash/maxBy","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-28"}],"isExternal":true},"801e-93":{"id":"lodash/remove","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-28"}],"isExternal":true},"801e-94":{"id":"lodash/endsWith","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-24"}],"isExternal":true},"801e-95":{"id":"lodash/last","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-24"}],"isExternal":true},"801e-96":{"id":"lodash/isArray","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-24"},{"uid":"801e-40"}],"isExternal":true},"801e-97":{"id":"lodash/reduce","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-24"}],"isExternal":true},"801e-98":{"id":"lodash/toPairs","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-24"}],"isExternal":true},"801e-99":{"id":"lodash/includes","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-24"},{"uid":"801e-40"}],"isExternal":true},"801e-100":{"id":"lodash/union","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-48"}],"isExternal":true},"801e-101":{"id":"lodash/range","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-36"}],"isExternal":true},"801e-102":{"id":"lodash/find","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-46"},{"uid":"801e-52"},{"uid":"801e-40"}],"isExternal":true},"801e-103":{"id":"lodash/has","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-38"}],"isExternal":true},"801e-104":{"id":"ajv","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-56"}],"isExternal":true},"801e-105":{"id":"ajv-formats","moduleParts":{},"imported":[],"importedBy":[{"uid":"801e-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":"40e6-1","name":"schema.ts"},{"uid":"40e6-59","name":"uischema.ts"},{"uid":"40e6-61","name":"Generate.ts"}]},{"name":"models","children":[{"uid":"40e6-3","name":"draft4.ts"},{"uid":"40e6-5","name":"uischema.ts"}]},{"name":"util","children":[{"uid":"40e6-7","name":"array.ts"},{"uid":"40e6-35","name":"path.ts"},{"uid":"40e6-37","name":"resolvers.ts"},{"uid":"40e6-39","name":"runtime.ts"},{"uid":"40e6-41","name":"util.ts"},{"uid":"40e6-43","name":"label.ts"},{"uid":"40e6-45","name":"renderer.ts"},{"uid":"40e6-47","name":"cell.ts"},{"uid":"40e6-49","name":"combinators.ts"},{"uid":"40e6-51","name":"ids.ts"},{"uid":"40e6-53","name":"schema.ts"},{"uid":"40e6-55","name":"uischema.ts"},{"uid":"40e6-57","name":"validator.ts"}]},{"name":"reducers","children":[{"uid":"40e6-9","name":"cells.ts"},{"uid":"40e6-13","name":"config.ts"},{"uid":"40e6-15","name":"core.ts"},{"uid":"40e6-17","name":"default-data.ts"},{"uid":"40e6-21","name":"i18n.ts"},{"uid":"40e6-23","name":"renderers.ts"},{"uid":"40e6-29","name":"uischemas.ts"},{"uid":"40e6-31","name":"reducers.ts"},{"uid":"40e6-33","name":"selectors.ts"}]},{"uid":"40e6-11","name":"configDefault.ts"},{"name":"i18n/i18nUtil.ts","uid":"40e6-19"},{"name":"testers","children":[{"uid":"40e6-25","name":"testers.ts"},{"uid":"40e6-27","name":"index.ts"}]},{"name":"actions","children":[{"uid":"40e6-63","name":"actions.ts"},{"uid":"40e6-65","name":"index.ts"}]},{"uid":"40e6-67","name":"Helpers.ts"},{"uid":"40e6-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"40e6-1":{"renderedLength":3843,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-0"},"40e6-3":{"renderedLength":4050,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-2"},"40e6-5":{"renderedLength":336,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-4"},"40e6-7":{"renderedLength":421,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-6"},"40e6-9":{"renderedLength":294,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-8"},"40e6-11":{"renderedLength":133,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-10"},"40e6-13":{"renderedLength":322,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-12"},"40e6-15":{"renderedLength":10156,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-14"},"40e6-17":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-16"},"40e6-19":{"renderedLength":2025,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-18"},"40e6-21":{"renderedLength":1754,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-20"},"40e6-23":{"renderedLength":370,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-22"},"40e6-25":{"renderedLength":8507,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-24"},"40e6-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-26"},"40e6-29":{"renderedLength":783,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-28"},"40e6-31":{"renderedLength":1846,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-30"},"40e6-33":{"renderedLength":573,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-32"},"40e6-35":{"renderedLength":1308,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-34"},"40e6-37":{"renderedLength":3040,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-36"},"40e6-39":{"renderedLength":3621,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-38"},"40e6-41":{"renderedLength":1502,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-40"},"40e6-43":{"renderedLength":1289,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-42"},"40e6-45":{"renderedLength":13284,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-44"},"40e6-47":{"renderedLength":2622,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-46"},"40e6-49":{"renderedLength":671,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-48"},"40e6-51":{"renderedLength":621,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-50"},"40e6-53":{"renderedLength":365,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-52"},"40e6-55":{"renderedLength":609,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-54"},"40e6-57":{"renderedLength":196,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-56"},"40e6-59":{"renderedLength":3310,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-58"},"40e6-61":{"renderedLength":137,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-60"},"40e6-63":{"renderedLength":3051,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-62"},"40e6-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-64"},"40e6-67":{"renderedLength":80,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-66"},"40e6-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"40e6-68"}},"nodeMetas":{"40e6-0":{"id":"/src/generators/schema.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-1"},"imported":[],"importedBy":[{"uid":"40e6-70"},{"uid":"40e6-60"}]},"40e6-2":{"id":"/src/models/draft4.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-3"},"imported":[],"importedBy":[{"uid":"40e6-71"}]},"40e6-4":{"id":"/src/models/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-5"},"imported":[],"importedBy":[{"uid":"40e6-71"}]},"40e6-6":{"id":"/src/util/array.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-7"},"imported":[],"importedBy":[{"uid":"40e6-73"},{"uid":"40e6-44"}]},"40e6-8":{"id":"/src/reducers/cells.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-9"},"imported":[{"uid":"40e6-64"}],"importedBy":[{"uid":"40e6-72"},{"uid":"40e6-30"}]},"40e6-10":{"id":"/src/configDefault.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-11"},"imported":[],"importedBy":[{"uid":"40e6-12"}]},"40e6-12":{"id":"/src/reducers/config.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-13"},"imported":[{"uid":"40e6-85"},{"uid":"40e6-64"},{"uid":"40e6-10"}],"importedBy":[{"uid":"40e6-72"},{"uid":"40e6-30"}]},"40e6-14":{"id":"/src/reducers/core.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-15"},"imported":[{"uid":"40e6-86"},{"uid":"40e6-87"},{"uid":"40e6-88"},{"uid":"40e6-89"},{"uid":"40e6-90"},{"uid":"40e6-91"},{"uid":"40e6-64"},{"uid":"40e6-73"}],"importedBy":[{"uid":"40e6-72"},{"uid":"40e6-30"},{"uid":"40e6-32"}]},"40e6-16":{"id":"/src/reducers/default-data.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-17"},"imported":[{"uid":"40e6-64"}],"importedBy":[{"uid":"40e6-72"},{"uid":"40e6-30"},{"uid":"40e6-32"}]},"40e6-18":{"id":"/src/i18n/i18nUtil.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-19"},"imported":[{"uid":"40e6-72"},{"uid":"40e6-73"}],"importedBy":[{"uid":"40e6-75"}]},"40e6-20":{"id":"/src/reducers/i18n.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-21"},"imported":[{"uid":"40e6-75"},{"uid":"40e6-64"}],"importedBy":[{"uid":"40e6-72"},{"uid":"40e6-30"}]},"40e6-22":{"id":"/src/reducers/renderers.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-23"},"imported":[{"uid":"40e6-64"}],"importedBy":[{"uid":"40e6-72"},{"uid":"40e6-30"}]},"40e6-24":{"id":"/src/testers/testers.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-25"},"imported":[{"uid":"40e6-82"},{"uid":"40e6-88"},{"uid":"40e6-94"},{"uid":"40e6-95"},{"uid":"40e6-96"},{"uid":"40e6-97"},{"uid":"40e6-98"},{"uid":"40e6-99"},{"uid":"40e6-73"}],"importedBy":[{"uid":"40e6-26"}]},"40e6-26":{"id":"/src/testers/index.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-27"},"imported":[{"uid":"40e6-24"}],"importedBy":[{"uid":"40e6-68"},{"uid":"40e6-28"}]},"40e6-28":{"id":"/src/reducers/uischemas.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-29"},"imported":[{"uid":"40e6-92"},{"uid":"40e6-93"},{"uid":"40e6-64"},{"uid":"40e6-26"}],"importedBy":[{"uid":"40e6-72"},{"uid":"40e6-30"}]},"40e6-30":{"id":"/src/reducers/reducers.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-31"},"imported":[{"uid":"40e6-14"},{"uid":"40e6-16"},{"uid":"40e6-22"},{"uid":"40e6-28"},{"uid":"40e6-20"},{"uid":"40e6-70"},{"uid":"40e6-8"},{"uid":"40e6-12"},{"uid":"40e6-88"},{"uid":"40e6-72"}],"importedBy":[{"uid":"40e6-72"}]},"40e6-32":{"id":"/src/reducers/selectors.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-33"},"imported":[{"uid":"40e6-88"},{"uid":"40e6-14"},{"uid":"40e6-16"}],"importedBy":[{"uid":"40e6-72"}]},"40e6-34":{"id":"/src/util/path.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-35"},"imported":[{"uid":"40e6-82"},{"uid":"40e6-101"}],"importedBy":[{"uid":"40e6-73"},{"uid":"40e6-42"},{"uid":"40e6-44"},{"uid":"40e6-36"},{"uid":"40e6-38"},{"uid":"40e6-40"}]},"40e6-36":{"id":"/src/util/resolvers.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-37"},"imported":[{"uid":"40e6-82"},{"uid":"40e6-88"},{"uid":"40e6-34"}],"importedBy":[{"uid":"40e6-73"},{"uid":"40e6-38"},{"uid":"40e6-40"}]},"40e6-38":{"id":"/src/util/runtime.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-39"},"imported":[{"uid":"40e6-103"},{"uid":"40e6-71"},{"uid":"40e6-36"},{"uid":"40e6-34"},{"uid":"40e6-72"}],"importedBy":[{"uid":"40e6-73"},{"uid":"40e6-46"},{"uid":"40e6-44"},{"uid":"40e6-40"}]},"40e6-40":{"id":"/src/util/util.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-41"},"imported":[{"uid":"40e6-82"},{"uid":"40e6-96"},{"uid":"40e6-99"},{"uid":"40e6-102"},{"uid":"40e6-36"},{"uid":"40e6-34"},{"uid":"40e6-38"}],"importedBy":[{"uid":"40e6-73"},{"uid":"40e6-46"},{"uid":"40e6-48"},{"uid":"40e6-44"}]},"40e6-42":{"id":"/src/util/label.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-43"},"imported":[{"uid":"40e6-83"},{"uid":"40e6-34"}],"importedBy":[{"uid":"40e6-73"},{"uid":"40e6-44"}]},"40e6-44":{"id":"/src/util/renderer.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-45"},"imported":[{"uid":"40e6-88"},{"uid":"40e6-102"},{"uid":"40e6-72"},{"uid":"40e6-38"},{"uid":"40e6-42"},{"uid":"40e6-6"},{"uid":"40e6-40"},{"uid":"40e6-34"},{"uid":"40e6-64"},{"uid":"40e6-75"}],"importedBy":[{"uid":"40e6-73"},{"uid":"40e6-46"}]},"40e6-46":{"id":"/src/util/cell.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-47"},"imported":[{"uid":"40e6-82"},{"uid":"40e6-100"},{"uid":"40e6-72"},{"uid":"40e6-40"},{"uid":"40e6-38"},{"uid":"40e6-44"},{"uid":"40e6-75"}],"importedBy":[{"uid":"40e6-73"}]},"40e6-48":{"id":"/src/util/combinators.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-49"},"imported":[{"uid":"40e6-72"},{"uid":"40e6-40"}],"importedBy":[{"uid":"40e6-73"}]},"40e6-50":{"id":"/src/util/ids.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-51"},"imported":[],"importedBy":[{"uid":"40e6-73"}]},"40e6-52":{"id":"/src/util/schema.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-53"},"imported":[{"uid":"40e6-102"}],"importedBy":[{"uid":"40e6-73"}]},"40e6-54":{"id":"/src/util/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-55"},"imported":[{"uid":"40e6-82"},{"uid":"40e6-71"}],"importedBy":[{"uid":"40e6-73"}]},"40e6-56":{"id":"/src/util/validator.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-57"},"imported":[{"uid":"40e6-104"},{"uid":"40e6-105"}],"importedBy":[{"uid":"40e6-73"}]},"40e6-58":{"id":"/src/generators/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-59"},"imported":[{"uid":"40e6-82"},{"uid":"40e6-83"},{"uid":"40e6-84"},{"uid":"40e6-71"},{"uid":"40e6-73"}],"importedBy":[{"uid":"40e6-70"},{"uid":"40e6-60"}]},"40e6-60":{"id":"/src/generators/Generate.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-61"},"imported":[{"uid":"40e6-0"},{"uid":"40e6-58"}],"importedBy":[{"uid":"40e6-70"}]},"40e6-62":{"id":"/src/actions/actions.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-63"},"imported":[{"uid":"40e6-70"}],"importedBy":[{"uid":"40e6-64"}]},"40e6-64":{"id":"/src/actions/index.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-65"},"imported":[{"uid":"40e6-62"}],"importedBy":[{"uid":"40e6-68"},{"uid":"40e6-8"},{"uid":"40e6-12"},{"uid":"40e6-14"},{"uid":"40e6-16"},{"uid":"40e6-20"},{"uid":"40e6-22"},{"uid":"40e6-28"},{"uid":"40e6-44"}]},"40e6-66":{"id":"/src/Helpers.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-67"},"imported":[{"uid":"40e6-73"}],"importedBy":[{"uid":"40e6-68"}]},"40e6-68":{"id":"/src/index.ts","moduleParts":{"jsonforms-core.esm.js":"40e6-69"},"imported":[{"uid":"40e6-64"},{"uid":"40e6-70"},{"uid":"40e6-71"},{"uid":"40e6-72"},{"uid":"40e6-26"},{"uid":"40e6-73"},{"uid":"40e6-66"},{"uid":"40e6-74"},{"uid":"40e6-75"}],"importedBy":[],"isEntry":true},"40e6-70":{"id":"/src/generators/index.ts","moduleParts":{},"imported":[{"uid":"40e6-60"},{"uid":"40e6-0"},{"uid":"40e6-58"}],"importedBy":[{"uid":"40e6-68"},{"uid":"40e6-62"},{"uid":"40e6-30"}]},"40e6-71":{"id":"/src/models/index.ts","moduleParts":{},"imported":[{"uid":"40e6-2"},{"uid":"40e6-76"},{"uid":"40e6-77"},{"uid":"40e6-78"},{"uid":"40e6-4"}],"importedBy":[{"uid":"40e6-68"},{"uid":"40e6-58"},{"uid":"40e6-38"},{"uid":"40e6-54"}]},"40e6-72":{"id":"/src/reducers/index.ts","moduleParts":{},"imported":[{"uid":"40e6-8"},{"uid":"40e6-12"},{"uid":"40e6-14"},{"uid":"40e6-16"},{"uid":"40e6-20"},{"uid":"40e6-30"},{"uid":"40e6-22"},{"uid":"40e6-32"},{"uid":"40e6-28"}],"importedBy":[{"uid":"40e6-68"},{"uid":"40e6-30"},{"uid":"40e6-46"},{"uid":"40e6-48"},{"uid":"40e6-44"},{"uid":"40e6-38"},{"uid":"40e6-18"}]},"40e6-73":{"id":"/src/util/index.ts","moduleParts":{},"imported":[{"uid":"40e6-6"},{"uid":"40e6-46"},{"uid":"40e6-48"},{"uid":"40e6-79"},{"uid":"40e6-50"},{"uid":"40e6-42"},{"uid":"40e6-34"},{"uid":"40e6-44"},{"uid":"40e6-36"},{"uid":"40e6-38"},{"uid":"40e6-52"},{"uid":"40e6-80"},{"uid":"40e6-54"},{"uid":"40e6-40"},{"uid":"40e6-56"}],"importedBy":[{"uid":"40e6-68"},{"uid":"40e6-66"},{"uid":"40e6-58"},{"uid":"40e6-14"},{"uid":"40e6-24"},{"uid":"40e6-18"}]},"40e6-74":{"id":"/src/store.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-68"}]},"40e6-75":{"id":"/src/i18n/index.ts","moduleParts":{},"imported":[{"uid":"40e6-81"},{"uid":"40e6-18"}],"importedBy":[{"uid":"40e6-68"},{"uid":"40e6-20"},{"uid":"40e6-46"},{"uid":"40e6-44"}]},"40e6-76":{"id":"/src/models/jsonSchema.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-71"}]},"40e6-77":{"id":"/src/models/jsonSchema4.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-71"}]},"40e6-78":{"id":"/src/models/jsonSchema7.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-71"}]},"40e6-79":{"id":"/src/util/Formatted.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-73"}]},"40e6-80":{"id":"/src/util/type.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-73"}]},"40e6-81":{"id":"/src/i18n/i18nTypes.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-75"}]},"40e6-82":{"id":"lodash/isEmpty","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-58"},{"uid":"40e6-24"},{"uid":"40e6-46"},{"uid":"40e6-34"},{"uid":"40e6-36"},{"uid":"40e6-54"},{"uid":"40e6-40"}],"isExternal":true},"40e6-83":{"id":"lodash/startCase","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-58"},{"uid":"40e6-42"}],"isExternal":true},"40e6-84":{"id":"lodash/keys","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-58"}],"isExternal":true},"40e6-85":{"id":"lodash/merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-12"}],"isExternal":true},"40e6-86":{"id":"lodash/cloneDeep","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-14"}],"isExternal":true},"40e6-87":{"id":"lodash/fp/set","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-14"}],"isExternal":true},"40e6-88":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-14"},{"uid":"40e6-30"},{"uid":"40e6-32"},{"uid":"40e6-24"},{"uid":"40e6-44"},{"uid":"40e6-36"}],"isExternal":true},"40e6-89":{"id":"lodash/filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-14"}],"isExternal":true},"40e6-90":{"id":"lodash/isEqual","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-14"}],"isExternal":true},"40e6-91":{"id":"lodash/isFunction","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-14"}],"isExternal":true},"40e6-92":{"id":"lodash/maxBy","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-28"}],"isExternal":true},"40e6-93":{"id":"lodash/remove","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-28"}],"isExternal":true},"40e6-94":{"id":"lodash/endsWith","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-24"}],"isExternal":true},"40e6-95":{"id":"lodash/last","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-24"}],"isExternal":true},"40e6-96":{"id":"lodash/isArray","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-24"},{"uid":"40e6-40"}],"isExternal":true},"40e6-97":{"id":"lodash/reduce","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-24"}],"isExternal":true},"40e6-98":{"id":"lodash/toPairs","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-24"}],"isExternal":true},"40e6-99":{"id":"lodash/includes","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-24"},{"uid":"40e6-40"}],"isExternal":true},"40e6-100":{"id":"lodash/union","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-46"}],"isExternal":true},"40e6-101":{"id":"lodash/range","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-34"}],"isExternal":true},"40e6-102":{"id":"lodash/find","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-44"},{"uid":"40e6-52"},{"uid":"40e6-40"}],"isExternal":true},"40e6-103":{"id":"lodash/has","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-38"}],"isExternal":true},"40e6-104":{"id":"ajv","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-56"}],"isExternal":true},"40e6-105":{"id":"ajv-formats","moduleParts":{},"imported":[],"importedBy":[{"uid":"40e6-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;
|
|
@@ -556,3 +556,21 @@ test('generate control for nested oneOf', t => {
|
|
|
556
556
|
};
|
|
557
557
|
t.deepEqual(generateDefaultUISchema(schema), uischema);
|
|
558
558
|
});
|
|
559
|
+
|
|
560
|
+
test('encode "/" in generated ui schema', t => {
|
|
561
|
+
const schema: JsonSchema = {
|
|
562
|
+
properties: {
|
|
563
|
+
'some / initial / value': {
|
|
564
|
+
type : 'integer'
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
};
|
|
568
|
+
const uischema: Layout = {
|
|
569
|
+
type: 'VerticalLayout',
|
|
570
|
+
elements: [{
|
|
571
|
+
type: 'Control',
|
|
572
|
+
scope: '#/properties/some ~1 initial ~1 value'
|
|
573
|
+
}] as ControlElement[]
|
|
574
|
+
};
|
|
575
|
+
t.deepEqual(generateDefaultUISchema(schema), uischema);
|
|
576
|
+
});
|