@jsonforms/core 3.0.0-beta.4 → 3.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/docs/assets/js/search.json +1 -1
  2. package/docs/enums/ruleeffect.html +4 -4
  3. package/docs/globals.html +335 -110
  4. package/docs/index.html +43 -4
  5. package/docs/interfaces/andcondition.html +2 -2
  6. package/docs/interfaces/arraycontrolprops.html +21 -21
  7. package/docs/interfaces/arraylayoutprops.html +21 -21
  8. package/docs/interfaces/categorization.html +24 -16
  9. package/docs/interfaces/category.html +24 -16
  10. package/docs/interfaces/cellprops.html +12 -12
  11. package/docs/interfaces/combinatorrendererprops.html +18 -18
  12. package/docs/interfaces/composablecondition.html +2 -2
  13. package/docs/interfaces/condition.html +1 -1
  14. package/docs/interfaces/controlelement.html +21 -16
  15. package/docs/interfaces/controlprops.html +16 -16
  16. package/docs/interfaces/controlstate.html +2 -2
  17. package/docs/interfaces/controlwithdetailprops.html +17 -17
  18. package/docs/interfaces/dispatchcellprops.html +10 -10
  19. package/docs/interfaces/dispatchcellstateprops.html +10 -10
  20. package/docs/interfaces/dispatchpropsofarraycontrol.html +4 -4
  21. package/docs/interfaces/dispatchpropsofcontrol.html +1 -1
  22. package/docs/interfaces/dispatchpropsofmultienumcontrol.html +2 -2
  23. package/docs/interfaces/enumcellprops.html +13 -13
  24. package/docs/interfaces/enumoption.html +2 -2
  25. package/docs/interfaces/grouplayout.html +24 -12
  26. package/docs/interfaces/horizontallayout.html +4 -4
  27. package/docs/interfaces/internationalizable.html +4 -10
  28. package/docs/interfaces/jsonformsprops.html +24 -9
  29. package/docs/interfaces/labelable.html +184 -0
  30. package/docs/interfaces/labeldescription.html +2 -2
  31. package/docs/interfaces/labeled.html +182 -0
  32. package/docs/interfaces/labelelement.html +22 -4
  33. package/docs/interfaces/labelprops.html +339 -0
  34. package/docs/interfaces/layout.html +4 -4
  35. package/docs/interfaces/layoutprops.html +25 -10
  36. package/docs/interfaces/leafcondition.html +9 -8
  37. package/docs/interfaces/orcondition.html +2 -2
  38. package/docs/interfaces/ownpropsofcell.html +9 -9
  39. package/docs/interfaces/ownpropsofcontrol.html +9 -9
  40. package/docs/interfaces/ownpropsofenum.html +1 -1
  41. package/docs/interfaces/ownpropsofenumcell.html +10 -10
  42. package/docs/interfaces/ownpropsofjsonformsrenderer.html +8 -8
  43. package/docs/interfaces/ownpropsoflabel.html +286 -0
  44. package/docs/interfaces/ownpropsoflayout.html +9 -9
  45. package/docs/interfaces/ownpropsofmasterlistitem.html +6 -6
  46. package/docs/interfaces/ownpropsofrenderer.html +11 -8
  47. package/docs/interfaces/rendererprops.html +9 -9
  48. package/docs/interfaces/rule.html +2 -2
  49. package/docs/interfaces/schemabasedcondition.html +9 -8
  50. package/docs/interfaces/scopable.html +3 -9
  51. package/docs/interfaces/scoped.html +183 -0
  52. package/docs/interfaces/statepropsofarraycontrol.html +17 -17
  53. package/docs/interfaces/statepropsofarraylayout.html +17 -17
  54. package/docs/interfaces/statepropsofcell.html +11 -11
  55. package/docs/interfaces/statepropsofcombinator.html +17 -17
  56. package/docs/interfaces/statepropsofcontrol.html +15 -15
  57. package/docs/interfaces/statepropsofcontrolwithdetail.html +16 -16
  58. package/docs/interfaces/statepropsofenumcell.html +12 -12
  59. package/docs/interfaces/statepropsofjsonformsrenderer.html +23 -9
  60. package/docs/interfaces/statepropsoflabel.html +343 -0
  61. package/docs/interfaces/statepropsoflayout.html +24 -10
  62. package/docs/interfaces/statepropsofmasteritem.html +7 -7
  63. package/docs/interfaces/statepropsofrenderer.html +12 -9
  64. package/docs/interfaces/statepropsofscopedrenderer.html +12 -12
  65. package/docs/interfaces/testercontext.html +184 -0
  66. package/docs/interfaces/uischemaelement.html +3 -3
  67. package/docs/interfaces/verticallayout.html +4 -4
  68. package/docs/interfaces/withclassname.html +1 -1
  69. package/lib/i18n/i18nUtil.d.ts +9 -4
  70. package/lib/jsonforms-core.cjs.js +103 -49
  71. package/lib/jsonforms-core.cjs.js.map +1 -1
  72. package/lib/jsonforms-core.esm.js +89 -52
  73. package/lib/jsonforms-core.esm.js.map +1 -1
  74. package/lib/models/uischema.d.ts +35 -27
  75. package/lib/reducers/i18n.d.ts +1 -1
  76. package/lib/testers/testers.d.ts +15 -6
  77. package/lib/util/renderer.d.ts +18 -1
  78. package/lib/util/runtime.d.ts +1 -2
  79. package/lib/util/util.d.ts +6 -6
  80. package/package.json +2 -2
  81. package/src/i18n/i18nUtil.ts +24 -7
  82. package/src/models/uischema.ts +50 -27
  83. package/src/reducers/i18n.ts +1 -1
  84. package/src/testers/testers.ts +44 -34
  85. package/src/util/path.ts +9 -5
  86. package/src/util/renderer.ts +61 -28
  87. package/src/util/runtime.ts +1 -1
  88. package/src/util/util.ts +8 -8
  89. package/stats.html +1 -1
  90. package/test/testers.test.ts +95 -23
  91. package/test/util/renderer.test.ts +105 -7
@@ -49,7 +49,7 @@ export const NOT_APPLICABLE = -1;
49
49
  * A tester is a function that receives an UI schema and a JSON schema and returns a boolean.
50
50
  * The rootSchema is handed over as context. Can be used to resolve references.
51
51
  */
52
- export type Tester = (uischema: UISchemaElement, schema: JsonSchema, rootSchema: JsonSchema) => boolean;
52
+ export type Tester = (uischema: UISchemaElement, schema: JsonSchema, context: TesterContext) => boolean;
53
53
 
54
54
  /**
55
55
  * A ranked tester associates a tester with a number.
@@ -57,9 +57,19 @@ export type Tester = (uischema: UISchemaElement, schema: JsonSchema, rootSchema:
57
57
  export type RankedTester = (
58
58
  uischema: UISchemaElement,
59
59
  schema: JsonSchema,
60
- rootSchema: JsonSchema
60
+ context: TesterContext
61
61
  ) => number;
62
62
 
63
+ /**
64
+ * Additional context given to a tester in addition to UISchema and JsonSchema.
65
+ */
66
+ export interface TesterContext {
67
+ /** The root JsonSchema of the form. Can be used to resolve references. */
68
+ rootSchema: JsonSchema;
69
+ /** The form wide configuration object given to JsonForms. */
70
+ config: any;
71
+ }
72
+
63
73
  export const isControl = (uischema: any): uischema is ControlElement =>
64
74
  !isEmpty(uischema) && uischema.scope !== undefined;
65
75
 
@@ -75,7 +85,7 @@ export const isControl = (uischema: any): uischema is ControlElement =>
75
85
  */
76
86
  export const schemaMatches = (
77
87
  predicate: (schema: JsonSchema, rootSchema: JsonSchema) => boolean
78
- ): Tester => (uischema: UISchemaElement, schema: JsonSchema, rootSchema: JsonSchema): boolean => {
88
+ ): Tester => (uischema: UISchemaElement, schema: JsonSchema, context: TesterContext): boolean => {
79
89
  if (isEmpty(uischema) || !isControl(uischema)) {
80
90
  return false;
81
91
  }
@@ -88,26 +98,26 @@ export const schemaMatches = (
88
98
  }
89
99
  let currentDataSchema = schema;
90
100
  if (hasType(schema, 'object')) {
91
- currentDataSchema = resolveSchema(schema, schemaPath, rootSchema);
101
+ currentDataSchema = resolveSchema(schema, schemaPath, context?.rootSchema);
92
102
  }
93
103
  if (currentDataSchema === undefined) {
94
104
  return false;
95
105
  }
96
106
 
97
- return predicate(currentDataSchema, rootSchema);
107
+ return predicate(currentDataSchema, context?.rootSchema);
98
108
  };
99
109
 
100
110
  export const schemaSubPathMatches = (
101
111
  subPath: string,
102
112
  predicate: (schema: JsonSchema, rootSchema: JsonSchema) => boolean
103
- ): Tester => (uischema: UISchemaElement, schema: JsonSchema, rootSchema: JsonSchema): boolean => {
113
+ ): Tester => (uischema: UISchemaElement, schema: JsonSchema, context: TesterContext): boolean => {
104
114
  if (isEmpty(uischema) || !isControl(uischema)) {
105
115
  return false;
106
116
  }
107
117
  const schemaPath = uischema.scope;
108
118
  let currentDataSchema: JsonSchema = schema;
109
119
  if (hasType(schema, 'object')) {
110
- currentDataSchema = resolveSchema(schema, schemaPath, rootSchema);
120
+ currentDataSchema = resolveSchema(schema, schemaPath, context?.rootSchema);
111
121
  }
112
122
  currentDataSchema = get(currentDataSchema, subPath);
113
123
 
@@ -115,7 +125,7 @@ export const schemaSubPathMatches = (
115
125
  return false;
116
126
  }
117
127
 
118
- return predicate(currentDataSchema, rootSchema);
128
+ return predicate(currentDataSchema, context?.rootSchema);
119
129
  };
120
130
 
121
131
  /**
@@ -218,8 +228,8 @@ export const scopeEndIs = (expected: string): Tester => (
218
228
  export const and = (...testers: Tester[]): Tester => (
219
229
  uischema: UISchemaElement,
220
230
  schema: JsonSchema,
221
- rootSchema: JsonSchema
222
- ) => testers.reduce((acc, tester) => acc && tester(uischema, schema, rootSchema), true);
231
+ context: TesterContext
232
+ ) => testers.reduce((acc, tester) => acc && tester(uischema, schema, context), true);
223
233
 
224
234
  /**
225
235
  * A tester that allow composing other testers by || them.
@@ -229,8 +239,8 @@ export const and = (...testers: Tester[]): Tester => (
229
239
  export const or = (...testers: Tester[]): Tester => (
230
240
  uischema: UISchemaElement,
231
241
  schema: JsonSchema,
232
- rootSchema: JsonSchema
233
- ) => testers.reduce((acc, tester) => acc || tester(uischema, schema, rootSchema), false);
242
+ context: TesterContext
243
+ ) => testers.reduce((acc, tester) => acc || tester(uischema, schema, context), false);
234
244
  /**
235
245
  * Create a ranked tester that will associate a number with a given tester, if the
236
246
  * latter returns true.
@@ -241,9 +251,9 @@ export const or = (...testers: Tester[]): Tester => (
241
251
  export const rankWith = (rank: number, tester: Tester) => (
242
252
  uischema: UISchemaElement,
243
253
  schema: JsonSchema,
244
- rootSchema: JsonSchema
254
+ context: TesterContext
245
255
  ): number => {
246
- if (tester(uischema, schema, rootSchema)) {
256
+ if (tester(uischema, schema, context)) {
247
257
  return rank;
248
258
  }
249
259
 
@@ -253,9 +263,9 @@ export const rankWith = (rank: number, tester: Tester) => (
253
263
  export const withIncreasedRank = (by: number, rankedTester: RankedTester) => (
254
264
  uischema: UISchemaElement,
255
265
  schema: JsonSchema,
256
- rootSchema: JsonSchema
266
+ context: TesterContext
257
267
  ): number => {
258
- const rank = rankedTester(uischema, schema, rootSchema);
268
+ const rank = rankedTester(uischema, schema, context);
259
269
  if (rank === NOT_APPLICABLE) {
260
270
  return NOT_APPLICABLE;
261
271
  }
@@ -438,17 +448,14 @@ const traverse = (
438
448
  export const isObjectArrayWithNesting = (
439
449
  uischema: UISchemaElement,
440
450
  schema: JsonSchema,
441
- rootSchema: JsonSchema
451
+ context: TesterContext
442
452
  ): boolean => {
443
- if (!uiTypeIs('Control')(uischema, schema, rootSchema)) {
453
+ if (!uiTypeIs('Control')(uischema, schema, context)) {
444
454
  return false;
445
455
  }
446
456
  const schemaPath = (uischema as ControlElement).scope;
447
- const resolvedSchema = resolveSchema(schema, schemaPath, rootSchema ?? schema);
448
- const wantedNestingByType: { [key: string]: number } = {
449
- object: 2,
450
- array: 1
451
- };
457
+ const resolvedSchema = resolveSchema(schema, schemaPath, context?.rootSchema ?? schema);
458
+ let objectDepth = 0;
452
459
  if (resolvedSchema !== undefined && resolvedSchema.items !== undefined) {
453
460
  // check if nested arrays
454
461
  if (
@@ -459,17 +466,20 @@ export const isObjectArrayWithNesting = (
459
466
  if (val.$ref !== undefined) {
460
467
  return false;
461
468
  }
462
- // we don't support multiple types
463
- if (typeof val.type !== 'string') {
469
+ if (val.anyOf || val.oneOf) {
464
470
  return true;
465
471
  }
466
- const typeCount = wantedNestingByType[val.type];
467
- if (typeCount === undefined) {
468
- return false;
472
+ if (hasType(val, 'object')) {
473
+ objectDepth++;
474
+ if (objectDepth === 2) {
475
+ return true;
476
+ }
469
477
  }
470
- wantedNestingByType[val.type] = typeCount - 1;
471
- return wantedNestingByType[val.type] === 0;
472
- }, rootSchema)
478
+ if (hasType(val, 'array')) {
479
+ return true;
480
+ }
481
+ return false;
482
+ }, context?.rootSchema)
473
483
  ) {
474
484
  return true;
475
485
  }
@@ -535,7 +545,7 @@ export const isRangeControl = and(
535
545
 
536
546
  /**
537
547
  * Tests whether the given UI schema is of type Control, if the schema
538
- * is of type string and has option format
548
+ * is of type integer and has option format
539
549
  * @type {Tester}
540
550
  */
541
551
  export const isNumberFormatControl = and(
@@ -569,6 +579,6 @@ export const categorizationHasCategory = (uischema: UISchemaElement) =>
569
579
  export const not = (tester: Tester): Tester => (
570
580
  uischema: UISchemaElement,
571
581
  schema: JsonSchema,
572
- rootSchema: JsonSchema
582
+ context: TesterContext
573
583
 
574
- ) => !tester(uischema, schema, rootSchema);
584
+ ) => !tester(uischema, schema, context);
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) && path === undefined) {
87
- return '';
90
+ if (isEmpty(segments)) {
91
+ return path ?? '';
88
92
  }
89
93
 
90
- return isEmpty(segments) ? path : compose(path, segments.join('.'));
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/, '~');
@@ -24,7 +24,7 @@
24
24
  */
25
25
 
26
26
  import get from 'lodash/get';
27
- import { ControlElement, JsonSchema, UISchemaElement } from '../models';
27
+ import { ControlElement, isLabelable, JsonSchema, LabelElement, UISchemaElement } from '../models';
28
28
  import find from 'lodash/find';
29
29
  import {
30
30
  getUISchemas,
@@ -32,7 +32,6 @@ import {
32
32
  JsonFormsRendererRegistryEntry,
33
33
  } from '../reducers';
34
34
  import {
35
- findUISchema,
36
35
  getAjv,
37
36
  getCells,
38
37
  getConfig,
@@ -57,7 +56,7 @@ import { composePaths, composeWithUi } from './path';
57
56
  import { CoreActions, update } from '../actions';
58
57
  import { ErrorObject } from 'ajv';
59
58
  import { JsonFormsState } from '../store';
60
- import { getCombinedErrorMessage, getI18nKey, getI18nKeyPrefix, Translator } from '../i18n';
59
+ import { deriveLabelForUISchemaElement, getCombinedErrorMessage, getI18nKey, getI18nKeyPrefix, getI18nKeyPrefixBySchema, Translator } from '../i18n';
61
60
 
62
61
  const isRequired = (
63
62
  schema: JsonSchema,
@@ -255,6 +254,10 @@ export interface OwnPropsOfControl extends OwnPropsOfRenderer {
255
254
  uischema?: ControlElement;
256
255
  }
257
256
 
257
+ export interface OwnPropsOfLabel extends OwnPropsOfRenderer {
258
+ uischema?: LabelElement;
259
+ }
260
+
258
261
  export interface OwnPropsOfEnum {
259
262
  options?: EnumOption[];
260
263
  }
@@ -398,6 +401,7 @@ export interface StatePropsOfLayout extends StatePropsOfRenderer {
398
401
  * Direction for the layout to flow
399
402
  */
400
403
  direction: 'row' | 'column';
404
+ label?: string;
401
405
  }
402
406
 
403
407
  export interface LayoutProps extends StatePropsOfLayout {}
@@ -857,6 +861,10 @@ export const mapStateToLayoutProps = (
857
861
  config
858
862
  );
859
863
 
864
+ // some layouts have labels which might need to be translated
865
+ const t = getTranslator()(state);
866
+ const label = isLabelable(uischema) ? deriveLabelForUISchemaElement(uischema, t) : undefined;
867
+
860
868
  return {
861
869
  ...layoutDefaultProps,
862
870
  renderers: ownProps.renderers || getRenderers(state),
@@ -868,7 +876,8 @@ export const mapStateToLayoutProps = (
868
876
  uischema: ownProps.uischema,
869
877
  schema: ownProps.schema,
870
878
  direction: ownProps.direction ?? getDirection(uischema),
871
- config
879
+ config,
880
+ label
872
881
  };
873
882
  };
874
883
 
@@ -879,6 +888,7 @@ export interface OwnPropsOfJsonFormsRenderer extends OwnPropsOfRenderer {}
879
888
  export interface StatePropsOfJsonFormsRenderer
880
889
  extends OwnPropsOfJsonFormsRenderer {
881
890
  rootSchema: JsonSchema;
891
+ config: any;
882
892
  }
883
893
 
884
894
  export interface JsonFormsProps extends StatePropsOfJsonFormsRenderer {}
@@ -887,30 +897,15 @@ export const mapStateToJsonFormsRendererProps = (
887
897
  state: JsonFormsState,
888
898
  ownProps: OwnPropsOfJsonFormsRenderer
889
899
  ): StatePropsOfJsonFormsRenderer => {
890
- let uischema = ownProps.uischema;
891
- if (uischema === undefined) {
892
- if (ownProps.schema) {
893
- uischema = findUISchema(
894
- state.jsonforms.uischemas,
895
- ownProps.schema,
896
- undefined,
897
- ownProps.path,
898
- undefined,
899
- undefined,
900
- state.jsonforms.core.schema
901
- );
902
- } else {
903
- uischema = getUiSchema(state);
904
- }
905
- }
906
-
907
900
  return {
908
- renderers: ownProps.renderers || get(state.jsonforms, 'renderers') || [],
909
- cells: ownProps.cells || get(state.jsonforms, 'cells') || [],
901
+ renderers: ownProps.renderers || get(state.jsonforms, 'renderers'),
902
+ cells: ownProps.cells || get(state.jsonforms, 'cells'),
910
903
  schema: ownProps.schema || getSchema(state),
911
904
  rootSchema: getSchema(state),
912
- uischema: uischema,
913
- path: ownProps.path
905
+ uischema: ownProps.uischema || getUiSchema(state),
906
+ path: ownProps.path,
907
+ enabled: ownProps.enabled,
908
+ config: getConfig(state)
914
909
  };
915
910
  };
916
911
 
@@ -933,9 +928,9 @@ export const mapStateToCombinatorRendererProps = (
933
928
  ownProps: OwnPropsOfControl,
934
929
  keyword: CombinatorKeyword
935
930
  ): StatePropsOfCombinator => {
936
- const { data, schema, ...props } = mapStateToControlProps(
931
+ const { data, schema, rootSchema, ...props } = mapStateToControlProps(
937
932
  state,
938
- ownProps
933
+ ownProps,
939
934
  );
940
935
 
941
936
  const ajv = state.jsonforms.core.ajv;
@@ -959,7 +954,12 @@ export const mapStateToCombinatorRendererProps = (
959
954
  // element
960
955
  for (let i = 0; i < schema[keyword]?.length; i++) {
961
956
  try {
962
- const valFn = ajv.compile(schema[keyword][i]);
957
+ let _schema = schema[keyword][i];
958
+ if(_schema.$ref){
959
+ _schema = Resolve.schema( rootSchema, _schema.$ref, rootSchema
960
+ );
961
+ }
962
+ const valFn = ajv.compile(_schema);
963
963
  valFn(data);
964
964
  if (dataIsValid(valFn.errors)) {
965
965
  indexOfFittingSchema = i;
@@ -973,6 +973,7 @@ export const mapStateToCombinatorRendererProps = (
973
973
  return {
974
974
  data,
975
975
  schema,
976
+ rootSchema,
976
977
  ...props,
977
978
  indexOfFittingSchema,
978
979
  uischemas: getUISchemas(state)
@@ -1064,3 +1065,35 @@ export const mapStateToArrayLayoutProps = (
1064
1065
  export interface ArrayLayoutProps
1065
1066
  extends StatePropsOfArrayLayout,
1066
1067
  DispatchPropsOfArrayControl {}
1068
+
1069
+ export interface StatePropsOfLabel extends StatePropsOfRenderer {
1070
+ text?: string;
1071
+ }
1072
+ export interface LabelProps extends StatePropsOfLabel{
1073
+ }
1074
+
1075
+ export const mapStateToLabelProps = (
1076
+ state: JsonFormsState,
1077
+ props: OwnPropsOfLabel
1078
+ ) => {
1079
+ const { uischema } = props;
1080
+
1081
+ const visible: boolean =
1082
+ props.visible === undefined || hasShowRule(uischema)
1083
+ ? isVisible(props.uischema, getData(state), props.path, getAjv(state))
1084
+ : props.visible;
1085
+
1086
+ const text = uischema.text;
1087
+ const t = getTranslator()(state);
1088
+ const i18nKeyPrefix = getI18nKeyPrefixBySchema(undefined, uischema);
1089
+ const i18nKey = i18nKeyPrefix ? `${i18nKeyPrefix}.text` : text ?? '';
1090
+ const i18nText = t(i18nKey, text, { uischema });
1091
+
1092
+ return {
1093
+ text: i18nText,
1094
+ visible,
1095
+ config: getConfig(state),
1096
+ renderers: props.renderers || getRenderers(state),
1097
+ cells: props.cells || getCells(state),
1098
+ }
1099
+ }
@@ -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, Scopable, UISchemaElement } from '..';
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 fromScopable = (scopable: Scopable) =>
111
+ const fromScoped = (scopable: Scoped): string =>
112
112
  toDataPathSegments(scopable.scope).join('.');
113
113
 
114
114
  export const Paths = {
115
115
  compose: composePaths,
116
- fromScopable
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":"2f5b-1","name":"schema.ts"},{"uid":"2f5b-59","name":"uischema.ts"},{"uid":"2f5b-61","name":"Generate.ts"}]},{"name":"models","children":[{"uid":"2f5b-3","name":"draft4.ts"},{"uid":"2f5b-5","name":"uischema.ts"}]},{"name":"util","children":[{"uid":"2f5b-7","name":"array.ts"},{"uid":"2f5b-35","name":"path.ts"},{"uid":"2f5b-37","name":"resolvers.ts"},{"uid":"2f5b-39","name":"runtime.ts"},{"uid":"2f5b-41","name":"util.ts"},{"uid":"2f5b-43","name":"label.ts"},{"uid":"2f5b-45","name":"renderer.ts"},{"uid":"2f5b-47","name":"cell.ts"},{"uid":"2f5b-49","name":"combinators.ts"},{"uid":"2f5b-51","name":"ids.ts"},{"uid":"2f5b-53","name":"schema.ts"},{"uid":"2f5b-55","name":"uischema.ts"},{"uid":"2f5b-57","name":"validator.ts"}]},{"name":"reducers","children":[{"uid":"2f5b-9","name":"cells.ts"},{"uid":"2f5b-13","name":"config.ts"},{"uid":"2f5b-15","name":"core.ts"},{"uid":"2f5b-17","name":"default-data.ts"},{"uid":"2f5b-21","name":"i18n.ts"},{"uid":"2f5b-23","name":"renderers.ts"},{"uid":"2f5b-29","name":"uischemas.ts"},{"uid":"2f5b-31","name":"reducers.ts"},{"uid":"2f5b-33","name":"selectors.ts"}]},{"uid":"2f5b-11","name":"configDefault.ts"},{"name":"i18n/i18nUtil.ts","uid":"2f5b-19"},{"name":"testers","children":[{"uid":"2f5b-25","name":"testers.ts"},{"uid":"2f5b-27","name":"index.ts"}]},{"name":"actions","children":[{"uid":"2f5b-63","name":"actions.ts"},{"uid":"2f5b-65","name":"index.ts"}]},{"uid":"2f5b-67","name":"Helpers.ts"},{"uid":"2f5b-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"2f5b-1":{"renderedLength":3843,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-0"},"2f5b-3":{"renderedLength":4050,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-2"},"2f5b-5":{"renderedLength":756,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-4"},"2f5b-7":{"renderedLength":421,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-6"},"2f5b-9":{"renderedLength":294,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-8"},"2f5b-11":{"renderedLength":133,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-10"},"2f5b-13":{"renderedLength":322,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-12"},"2f5b-15":{"renderedLength":10156,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-14"},"2f5b-17":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-16"},"2f5b-19":{"renderedLength":2719,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-18"},"2f5b-21":{"renderedLength":1754,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-20"},"2f5b-23":{"renderedLength":370,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-22"},"2f5b-25":{"renderedLength":8488,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-24"},"2f5b-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-26"},"2f5b-29":{"renderedLength":783,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-28"},"2f5b-31":{"renderedLength":1846,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-30"},"2f5b-33":{"renderedLength":573,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-32"},"2f5b-35":{"renderedLength":1333,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-34"},"2f5b-37":{"renderedLength":3040,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-36"},"2f5b-39":{"renderedLength":3621,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-38"},"2f5b-41":{"renderedLength":1498,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-40"},"2f5b-43":{"renderedLength":1289,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-42"},"2f5b-45":{"renderedLength":14103,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-44"},"2f5b-47":{"renderedLength":2622,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-46"},"2f5b-49":{"renderedLength":671,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-48"},"2f5b-51":{"renderedLength":621,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-50"},"2f5b-53":{"renderedLength":365,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-52"},"2f5b-55":{"renderedLength":609,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-54"},"2f5b-57":{"renderedLength":196,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-56"},"2f5b-59":{"renderedLength":3310,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-58"},"2f5b-61":{"renderedLength":137,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-60"},"2f5b-63":{"renderedLength":3051,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-62"},"2f5b-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-64"},"2f5b-67":{"renderedLength":80,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-66"},"2f5b-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"2f5b-68"}},"nodeMetas":{"2f5b-0":{"id":"/src/generators/schema.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-1"},"imported":[],"importedBy":[{"uid":"2f5b-70"},{"uid":"2f5b-60"}]},"2f5b-2":{"id":"/src/models/draft4.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-3"},"imported":[],"importedBy":[{"uid":"2f5b-71"}]},"2f5b-4":{"id":"/src/models/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-5"},"imported":[],"importedBy":[{"uid":"2f5b-71"}]},"2f5b-6":{"id":"/src/util/array.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-7"},"imported":[],"importedBy":[{"uid":"2f5b-73"},{"uid":"2f5b-44"}]},"2f5b-8":{"id":"/src/reducers/cells.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-9"},"imported":[{"uid":"2f5b-64"}],"importedBy":[{"uid":"2f5b-72"},{"uid":"2f5b-30"}]},"2f5b-10":{"id":"/src/configDefault.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-11"},"imported":[],"importedBy":[{"uid":"2f5b-12"}]},"2f5b-12":{"id":"/src/reducers/config.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-13"},"imported":[{"uid":"2f5b-85"},{"uid":"2f5b-64"},{"uid":"2f5b-10"}],"importedBy":[{"uid":"2f5b-72"},{"uid":"2f5b-30"}]},"2f5b-14":{"id":"/src/reducers/core.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-15"},"imported":[{"uid":"2f5b-86"},{"uid":"2f5b-87"},{"uid":"2f5b-88"},{"uid":"2f5b-89"},{"uid":"2f5b-90"},{"uid":"2f5b-91"},{"uid":"2f5b-64"},{"uid":"2f5b-73"}],"importedBy":[{"uid":"2f5b-72"},{"uid":"2f5b-30"},{"uid":"2f5b-32"}]},"2f5b-16":{"id":"/src/reducers/default-data.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-17"},"imported":[{"uid":"2f5b-64"}],"importedBy":[{"uid":"2f5b-72"},{"uid":"2f5b-30"},{"uid":"2f5b-32"}]},"2f5b-18":{"id":"/src/i18n/i18nUtil.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-19"},"imported":[{"uid":"2f5b-71"},{"uid":"2f5b-72"},{"uid":"2f5b-73"}],"importedBy":[{"uid":"2f5b-75"}]},"2f5b-20":{"id":"/src/reducers/i18n.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-21"},"imported":[{"uid":"2f5b-75"},{"uid":"2f5b-64"}],"importedBy":[{"uid":"2f5b-72"},{"uid":"2f5b-30"}]},"2f5b-22":{"id":"/src/reducers/renderers.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-23"},"imported":[{"uid":"2f5b-64"}],"importedBy":[{"uid":"2f5b-72"},{"uid":"2f5b-30"}]},"2f5b-24":{"id":"/src/testers/testers.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-25"},"imported":[{"uid":"2f5b-82"},{"uid":"2f5b-88"},{"uid":"2f5b-94"},{"uid":"2f5b-95"},{"uid":"2f5b-96"},{"uid":"2f5b-97"},{"uid":"2f5b-98"},{"uid":"2f5b-99"},{"uid":"2f5b-73"}],"importedBy":[{"uid":"2f5b-26"}]},"2f5b-26":{"id":"/src/testers/index.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-27"},"imported":[{"uid":"2f5b-24"}],"importedBy":[{"uid":"2f5b-68"},{"uid":"2f5b-28"}]},"2f5b-28":{"id":"/src/reducers/uischemas.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-29"},"imported":[{"uid":"2f5b-92"},{"uid":"2f5b-93"},{"uid":"2f5b-64"},{"uid":"2f5b-26"}],"importedBy":[{"uid":"2f5b-72"},{"uid":"2f5b-30"}]},"2f5b-30":{"id":"/src/reducers/reducers.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-31"},"imported":[{"uid":"2f5b-14"},{"uid":"2f5b-16"},{"uid":"2f5b-22"},{"uid":"2f5b-28"},{"uid":"2f5b-20"},{"uid":"2f5b-70"},{"uid":"2f5b-8"},{"uid":"2f5b-12"},{"uid":"2f5b-88"},{"uid":"2f5b-72"}],"importedBy":[{"uid":"2f5b-72"}]},"2f5b-32":{"id":"/src/reducers/selectors.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-33"},"imported":[{"uid":"2f5b-88"},{"uid":"2f5b-14"},{"uid":"2f5b-16"}],"importedBy":[{"uid":"2f5b-72"}]},"2f5b-34":{"id":"/src/util/path.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-35"},"imported":[{"uid":"2f5b-82"},{"uid":"2f5b-101"},{"uid":"2f5b-71"}],"importedBy":[{"uid":"2f5b-73"},{"uid":"2f5b-42"},{"uid":"2f5b-44"},{"uid":"2f5b-36"},{"uid":"2f5b-38"},{"uid":"2f5b-40"}]},"2f5b-36":{"id":"/src/util/resolvers.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-37"},"imported":[{"uid":"2f5b-82"},{"uid":"2f5b-88"},{"uid":"2f5b-34"}],"importedBy":[{"uid":"2f5b-73"},{"uid":"2f5b-38"},{"uid":"2f5b-40"}]},"2f5b-38":{"id":"/src/util/runtime.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-39"},"imported":[{"uid":"2f5b-103"},{"uid":"2f5b-71"},{"uid":"2f5b-36"},{"uid":"2f5b-34"},{"uid":"2f5b-72"}],"importedBy":[{"uid":"2f5b-73"},{"uid":"2f5b-46"},{"uid":"2f5b-44"},{"uid":"2f5b-40"}]},"2f5b-40":{"id":"/src/util/util.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-41"},"imported":[{"uid":"2f5b-82"},{"uid":"2f5b-96"},{"uid":"2f5b-99"},{"uid":"2f5b-102"},{"uid":"2f5b-36"},{"uid":"2f5b-34"},{"uid":"2f5b-38"}],"importedBy":[{"uid":"2f5b-73"},{"uid":"2f5b-46"},{"uid":"2f5b-48"},{"uid":"2f5b-44"}]},"2f5b-42":{"id":"/src/util/label.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-43"},"imported":[{"uid":"2f5b-83"},{"uid":"2f5b-34"}],"importedBy":[{"uid":"2f5b-73"},{"uid":"2f5b-44"}]},"2f5b-44":{"id":"/src/util/renderer.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-45"},"imported":[{"uid":"2f5b-88"},{"uid":"2f5b-71"},{"uid":"2f5b-102"},{"uid":"2f5b-72"},{"uid":"2f5b-38"},{"uid":"2f5b-42"},{"uid":"2f5b-6"},{"uid":"2f5b-40"},{"uid":"2f5b-34"},{"uid":"2f5b-64"},{"uid":"2f5b-75"}],"importedBy":[{"uid":"2f5b-73"},{"uid":"2f5b-46"}]},"2f5b-46":{"id":"/src/util/cell.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-47"},"imported":[{"uid":"2f5b-82"},{"uid":"2f5b-100"},{"uid":"2f5b-72"},{"uid":"2f5b-40"},{"uid":"2f5b-38"},{"uid":"2f5b-44"},{"uid":"2f5b-75"}],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-48":{"id":"/src/util/combinators.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-49"},"imported":[{"uid":"2f5b-72"},{"uid":"2f5b-40"}],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-50":{"id":"/src/util/ids.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-51"},"imported":[],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-52":{"id":"/src/util/schema.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-53"},"imported":[{"uid":"2f5b-102"}],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-54":{"id":"/src/util/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-55"},"imported":[{"uid":"2f5b-82"},{"uid":"2f5b-71"}],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-56":{"id":"/src/util/validator.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-57"},"imported":[{"uid":"2f5b-104"},{"uid":"2f5b-105"}],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-58":{"id":"/src/generators/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-59"},"imported":[{"uid":"2f5b-82"},{"uid":"2f5b-83"},{"uid":"2f5b-84"},{"uid":"2f5b-71"},{"uid":"2f5b-73"}],"importedBy":[{"uid":"2f5b-70"},{"uid":"2f5b-60"}]},"2f5b-60":{"id":"/src/generators/Generate.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-61"},"imported":[{"uid":"2f5b-0"},{"uid":"2f5b-58"}],"importedBy":[{"uid":"2f5b-70"}]},"2f5b-62":{"id":"/src/actions/actions.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-63"},"imported":[{"uid":"2f5b-70"}],"importedBy":[{"uid":"2f5b-64"}]},"2f5b-64":{"id":"/src/actions/index.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-65"},"imported":[{"uid":"2f5b-62"}],"importedBy":[{"uid":"2f5b-68"},{"uid":"2f5b-8"},{"uid":"2f5b-12"},{"uid":"2f5b-14"},{"uid":"2f5b-16"},{"uid":"2f5b-20"},{"uid":"2f5b-22"},{"uid":"2f5b-28"},{"uid":"2f5b-44"}]},"2f5b-66":{"id":"/src/Helpers.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-67"},"imported":[{"uid":"2f5b-73"}],"importedBy":[{"uid":"2f5b-68"}]},"2f5b-68":{"id":"/src/index.ts","moduleParts":{"jsonforms-core.esm.js":"2f5b-69"},"imported":[{"uid":"2f5b-64"},{"uid":"2f5b-70"},{"uid":"2f5b-71"},{"uid":"2f5b-72"},{"uid":"2f5b-26"},{"uid":"2f5b-73"},{"uid":"2f5b-66"},{"uid":"2f5b-74"},{"uid":"2f5b-75"}],"importedBy":[],"isEntry":true},"2f5b-70":{"id":"/src/generators/index.ts","moduleParts":{},"imported":[{"uid":"2f5b-60"},{"uid":"2f5b-0"},{"uid":"2f5b-58"}],"importedBy":[{"uid":"2f5b-68"},{"uid":"2f5b-62"},{"uid":"2f5b-30"}]},"2f5b-71":{"id":"/src/models/index.ts","moduleParts":{},"imported":[{"uid":"2f5b-2"},{"uid":"2f5b-76"},{"uid":"2f5b-77"},{"uid":"2f5b-78"},{"uid":"2f5b-4"}],"importedBy":[{"uid":"2f5b-68"},{"uid":"2f5b-58"},{"uid":"2f5b-34"},{"uid":"2f5b-44"},{"uid":"2f5b-38"},{"uid":"2f5b-54"},{"uid":"2f5b-18"}]},"2f5b-72":{"id":"/src/reducers/index.ts","moduleParts":{},"imported":[{"uid":"2f5b-8"},{"uid":"2f5b-12"},{"uid":"2f5b-14"},{"uid":"2f5b-16"},{"uid":"2f5b-20"},{"uid":"2f5b-30"},{"uid":"2f5b-22"},{"uid":"2f5b-32"},{"uid":"2f5b-28"}],"importedBy":[{"uid":"2f5b-68"},{"uid":"2f5b-30"},{"uid":"2f5b-46"},{"uid":"2f5b-48"},{"uid":"2f5b-44"},{"uid":"2f5b-38"},{"uid":"2f5b-18"}]},"2f5b-73":{"id":"/src/util/index.ts","moduleParts":{},"imported":[{"uid":"2f5b-6"},{"uid":"2f5b-46"},{"uid":"2f5b-48"},{"uid":"2f5b-79"},{"uid":"2f5b-50"},{"uid":"2f5b-42"},{"uid":"2f5b-34"},{"uid":"2f5b-44"},{"uid":"2f5b-36"},{"uid":"2f5b-38"},{"uid":"2f5b-52"},{"uid":"2f5b-80"},{"uid":"2f5b-54"},{"uid":"2f5b-40"},{"uid":"2f5b-56"}],"importedBy":[{"uid":"2f5b-68"},{"uid":"2f5b-66"},{"uid":"2f5b-58"},{"uid":"2f5b-14"},{"uid":"2f5b-24"},{"uid":"2f5b-18"}]},"2f5b-74":{"id":"/src/store.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-68"}]},"2f5b-75":{"id":"/src/i18n/index.ts","moduleParts":{},"imported":[{"uid":"2f5b-81"},{"uid":"2f5b-18"}],"importedBy":[{"uid":"2f5b-68"},{"uid":"2f5b-20"},{"uid":"2f5b-46"},{"uid":"2f5b-44"}]},"2f5b-76":{"id":"/src/models/jsonSchema.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-71"}]},"2f5b-77":{"id":"/src/models/jsonSchema4.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-71"}]},"2f5b-78":{"id":"/src/models/jsonSchema7.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-71"}]},"2f5b-79":{"id":"/src/util/Formatted.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-80":{"id":"/src/util/type.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-73"}]},"2f5b-81":{"id":"/src/i18n/i18nTypes.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-75"}]},"2f5b-82":{"id":"lodash/isEmpty","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-58"},{"uid":"2f5b-24"},{"uid":"2f5b-46"},{"uid":"2f5b-34"},{"uid":"2f5b-36"},{"uid":"2f5b-54"},{"uid":"2f5b-40"}],"isExternal":true},"2f5b-83":{"id":"lodash/startCase","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-58"},{"uid":"2f5b-42"}],"isExternal":true},"2f5b-84":{"id":"lodash/keys","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-58"}],"isExternal":true},"2f5b-85":{"id":"lodash/merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-12"}],"isExternal":true},"2f5b-86":{"id":"lodash/cloneDeep","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-14"}],"isExternal":true},"2f5b-87":{"id":"lodash/fp/set","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-14"}],"isExternal":true},"2f5b-88":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-14"},{"uid":"2f5b-30"},{"uid":"2f5b-32"},{"uid":"2f5b-24"},{"uid":"2f5b-44"},{"uid":"2f5b-36"}],"isExternal":true},"2f5b-89":{"id":"lodash/filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-14"}],"isExternal":true},"2f5b-90":{"id":"lodash/isEqual","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-14"}],"isExternal":true},"2f5b-91":{"id":"lodash/isFunction","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-14"}],"isExternal":true},"2f5b-92":{"id":"lodash/maxBy","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-28"}],"isExternal":true},"2f5b-93":{"id":"lodash/remove","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-28"}],"isExternal":true},"2f5b-94":{"id":"lodash/endsWith","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-24"}],"isExternal":true},"2f5b-95":{"id":"lodash/last","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-24"}],"isExternal":true},"2f5b-96":{"id":"lodash/isArray","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-24"},{"uid":"2f5b-40"}],"isExternal":true},"2f5b-97":{"id":"lodash/reduce","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-24"}],"isExternal":true},"2f5b-98":{"id":"lodash/toPairs","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-24"}],"isExternal":true},"2f5b-99":{"id":"lodash/includes","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-24"},{"uid":"2f5b-40"}],"isExternal":true},"2f5b-100":{"id":"lodash/union","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-46"}],"isExternal":true},"2f5b-101":{"id":"lodash/range","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-34"}],"isExternal":true},"2f5b-102":{"id":"lodash/find","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-44"},{"uid":"2f5b-52"},{"uid":"2f5b-40"}],"isExternal":true},"2f5b-103":{"id":"lodash/has","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-38"}],"isExternal":true},"2f5b-104":{"id":"ajv","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-56"}],"isExternal":true},"2f5b-105":{"id":"ajv-formats","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f5b-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;