@jsonforms/core 3.0.0-rc.0 → 3.0.0
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 +14 -14
- package/docs/interfaces/arraylayoutprops.html +2 -2
- package/docs/interfaces/categorization.html +18 -0
- package/docs/interfaces/category.html +18 -0
- package/docs/interfaces/grouplayout.html +18 -0
- package/docs/interfaces/internationalizable.html +9 -0
- package/docs/interfaces/labelprops.html +1 -1
- package/docs/interfaces/statepropsofarraylayout.html +2 -2
- package/docs/interfaces/statepropsoflabel.html +1 -1
- package/lib/jsonforms-core.cjs.js +13 -5
- package/lib/jsonforms-core.cjs.js.map +1 -1
- package/lib/jsonforms-core.esm.js +12 -4
- package/lib/jsonforms-core.esm.js.map +1 -1
- package/lib/models/uischema.d.ts +3 -3
- package/package.json +2 -2
- package/src/models/uischema.ts +5 -5
- package/src/testers/testers.ts +3 -0
- package/src/util/renderer.ts +9 -3
- package/stats.html +1 -1
- package/test/testers.test.ts +55 -0
package/lib/models/uischema.d.ts
CHANGED
|
@@ -157,7 +157,7 @@ export interface HorizontalLayout extends Layout {
|
|
|
157
157
|
* A group resembles a vertical layout, but additionally might have a label.
|
|
158
158
|
* This layout is useful when grouping different elements by a certain criteria.
|
|
159
159
|
*/
|
|
160
|
-
export interface GroupLayout extends Layout, Labelable {
|
|
160
|
+
export interface GroupLayout extends Layout, Labelable, Internationalizable {
|
|
161
161
|
type: 'Group';
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
@@ -193,7 +193,7 @@ export interface ControlElement extends UISchemaElement, Scoped, Labelable<strin
|
|
|
193
193
|
/**
|
|
194
194
|
* The category layout.
|
|
195
195
|
*/
|
|
196
|
-
export interface Category extends Layout, Labeled {
|
|
196
|
+
export interface Category extends Layout, Labeled, Internationalizable {
|
|
197
197
|
type: 'Category';
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
@@ -201,7 +201,7 @@ export interface Category extends Layout, Labeled {
|
|
|
201
201
|
* A child element may either be itself a Categorization or a Category, hence
|
|
202
202
|
* the categorization element can be used to represent recursive structures like trees.
|
|
203
203
|
*/
|
|
204
|
-
export interface Categorization extends UISchemaElement, Labeled {
|
|
204
|
+
export interface Categorization extends UISchemaElement, Labeled, Internationalizable {
|
|
205
205
|
type: 'Categorization';
|
|
206
206
|
/**
|
|
207
207
|
* The child elements of this categorization which are either of type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonforms/core",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Core module of JSON Forms",
|
|
5
5
|
"repository": "https://github.com/eclipsesource/jsonforms",
|
|
6
6
|
"bugs": "https://github.com/eclipsesource/jsonforms/issues",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"typedoc": "^0.19.2",
|
|
89
89
|
"typescript": "4.2.3"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "20e9e0fd72bb388611d7387e1f533d66b7839041"
|
|
92
92
|
}
|
package/src/models/uischema.ts
CHANGED
|
@@ -207,7 +207,7 @@ export interface HorizontalLayout extends Layout {
|
|
|
207
207
|
* A group resembles a vertical layout, but additionally might have a label.
|
|
208
208
|
* This layout is useful when grouping different elements by a certain criteria.
|
|
209
209
|
*/
|
|
210
|
-
export interface GroupLayout extends Layout, Labelable {
|
|
210
|
+
export interface GroupLayout extends Layout, Labelable, Internationalizable {
|
|
211
211
|
type: 'Group';
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -247,7 +247,7 @@ export interface ControlElement extends UISchemaElement, Scoped, Labelable<strin
|
|
|
247
247
|
/**
|
|
248
248
|
* The category layout.
|
|
249
249
|
*/
|
|
250
|
-
export interface Category extends Layout, Labeled {
|
|
250
|
+
export interface Category extends Layout, Labeled, Internationalizable {
|
|
251
251
|
type: 'Category';
|
|
252
252
|
}
|
|
253
253
|
|
|
@@ -256,7 +256,7 @@ export interface Category extends Layout, Labeled {
|
|
|
256
256
|
* A child element may either be itself a Categorization or a Category, hence
|
|
257
257
|
* the categorization element can be used to represent recursive structures like trees.
|
|
258
258
|
*/
|
|
259
|
-
export interface Categorization extends UISchemaElement, Labeled {
|
|
259
|
+
export interface Categorization extends UISchemaElement, Labeled, Internationalizable {
|
|
260
260
|
type: 'Categorization';
|
|
261
261
|
/**
|
|
262
262
|
* The child elements of this categorization which are either of type
|
|
@@ -275,13 +275,13 @@ export const isLayout = (uischema: UISchemaElement): uischema is Layout =>
|
|
|
275
275
|
(uischema as Layout).elements !== undefined;
|
|
276
276
|
|
|
277
277
|
export const isScopable = (obj: unknown): obj is Scopable =>
|
|
278
|
-
obj && typeof obj === 'object';
|
|
278
|
+
!!obj && typeof obj === 'object';
|
|
279
279
|
|
|
280
280
|
export const isScoped = (obj: unknown): obj is Scoped =>
|
|
281
281
|
isScopable(obj) && typeof obj.scope === 'string';
|
|
282
282
|
|
|
283
283
|
export const isLabelable = (obj: unknown): obj is Labelable =>
|
|
284
|
-
obj && typeof obj === 'object';
|
|
284
|
+
!!obj && typeof obj === 'object';
|
|
285
285
|
|
|
286
286
|
export const isLabeled = <T = never>(obj: unknown): obj is Labeled<T> =>
|
|
287
287
|
isLabelable(obj) && ['string', 'boolean'].includes(typeof obj.label);
|
package/src/testers/testers.ts
CHANGED
package/src/util/renderer.ts
CHANGED
|
@@ -928,9 +928,9 @@ export const mapStateToCombinatorRendererProps = (
|
|
|
928
928
|
ownProps: OwnPropsOfControl,
|
|
929
929
|
keyword: CombinatorKeyword
|
|
930
930
|
): StatePropsOfCombinator => {
|
|
931
|
-
const { data, schema, ...props } = mapStateToControlProps(
|
|
931
|
+
const { data, schema, rootSchema, ...props } = mapStateToControlProps(
|
|
932
932
|
state,
|
|
933
|
-
ownProps
|
|
933
|
+
ownProps,
|
|
934
934
|
);
|
|
935
935
|
|
|
936
936
|
const ajv = state.jsonforms.core.ajv;
|
|
@@ -954,7 +954,12 @@ export const mapStateToCombinatorRendererProps = (
|
|
|
954
954
|
// element
|
|
955
955
|
for (let i = 0; i < schema[keyword]?.length; i++) {
|
|
956
956
|
try {
|
|
957
|
-
|
|
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);
|
|
958
963
|
valFn(data);
|
|
959
964
|
if (dataIsValid(valFn.errors)) {
|
|
960
965
|
indexOfFittingSchema = i;
|
|
@@ -968,6 +973,7 @@ export const mapStateToCombinatorRendererProps = (
|
|
|
968
973
|
return {
|
|
969
974
|
data,
|
|
970
975
|
schema,
|
|
976
|
+
rootSchema,
|
|
971
977
|
...props,
|
|
972
978
|
indexOfFittingSchema,
|
|
973
979
|
uischemas: getUISchemas(state)
|
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":"79f9-1","name":"schema.ts"},{"uid":"79f9-59","name":"uischema.ts"},{"uid":"79f9-61","name":"Generate.ts"}]},{"name":"models","children":[{"uid":"79f9-3","name":"draft4.ts"},{"uid":"79f9-5","name":"uischema.ts"}]},{"name":"util","children":[{"uid":"79f9-7","name":"array.ts"},{"uid":"79f9-35","name":"path.ts"},{"uid":"79f9-37","name":"resolvers.ts"},{"uid":"79f9-39","name":"runtime.ts"},{"uid":"79f9-41","name":"util.ts"},{"uid":"79f9-43","name":"label.ts"},{"uid":"79f9-45","name":"renderer.ts"},{"uid":"79f9-47","name":"cell.ts"},{"uid":"79f9-49","name":"combinators.ts"},{"uid":"79f9-51","name":"ids.ts"},{"uid":"79f9-53","name":"schema.ts"},{"uid":"79f9-55","name":"uischema.ts"},{"uid":"79f9-57","name":"validator.ts"}]},{"name":"reducers","children":[{"uid":"79f9-9","name":"cells.ts"},{"uid":"79f9-13","name":"config.ts"},{"uid":"79f9-15","name":"core.ts"},{"uid":"79f9-17","name":"default-data.ts"},{"uid":"79f9-21","name":"i18n.ts"},{"uid":"79f9-23","name":"renderers.ts"},{"uid":"79f9-29","name":"uischemas.ts"},{"uid":"79f9-31","name":"reducers.ts"},{"uid":"79f9-33","name":"selectors.ts"}]},{"uid":"79f9-11","name":"configDefault.ts"},{"name":"i18n/i18nUtil.ts","uid":"79f9-19"},{"name":"testers","children":[{"uid":"79f9-25","name":"testers.ts"},{"uid":"79f9-27","name":"index.ts"}]},{"name":"actions","children":[{"uid":"79f9-63","name":"actions.ts"},{"uid":"79f9-65","name":"index.ts"}]},{"uid":"79f9-67","name":"Helpers.ts"},{"uid":"79f9-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"79f9-1":{"renderedLength":3843,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-0"},"79f9-3":{"renderedLength":4050,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-2"},"79f9-5":{"renderedLength":756,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-4"},"79f9-7":{"renderedLength":421,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-6"},"79f9-9":{"renderedLength":294,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-8"},"79f9-11":{"renderedLength":133,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-10"},"79f9-13":{"renderedLength":322,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-12"},"79f9-15":{"renderedLength":10156,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-14"},"79f9-17":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-16"},"79f9-19":{"renderedLength":2719,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-18"},"79f9-21":{"renderedLength":1754,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-20"},"79f9-23":{"renderedLength":370,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-22"},"79f9-25":{"renderedLength":8403,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-24"},"79f9-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-26"},"79f9-29":{"renderedLength":783,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-28"},"79f9-31":{"renderedLength":1846,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-30"},"79f9-33":{"renderedLength":573,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-32"},"79f9-35":{"renderedLength":1333,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-34"},"79f9-37":{"renderedLength":3040,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-36"},"79f9-39":{"renderedLength":3621,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-38"},"79f9-41":{"renderedLength":1498,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-40"},"79f9-43":{"renderedLength":1289,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-42"},"79f9-45":{"renderedLength":13910,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-44"},"79f9-47":{"renderedLength":2622,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-46"},"79f9-49":{"renderedLength":671,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-48"},"79f9-51":{"renderedLength":621,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-50"},"79f9-53":{"renderedLength":365,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-52"},"79f9-55":{"renderedLength":609,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-54"},"79f9-57":{"renderedLength":196,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-56"},"79f9-59":{"renderedLength":3310,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-58"},"79f9-61":{"renderedLength":137,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-60"},"79f9-63":{"renderedLength":3051,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-62"},"79f9-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-64"},"79f9-67":{"renderedLength":80,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-66"},"79f9-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"79f9-68"}},"nodeMetas":{"79f9-0":{"id":"/src/generators/schema.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-1"},"imported":[],"importedBy":[{"uid":"79f9-70"},{"uid":"79f9-60"}]},"79f9-2":{"id":"/src/models/draft4.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-3"},"imported":[],"importedBy":[{"uid":"79f9-71"}]},"79f9-4":{"id":"/src/models/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-5"},"imported":[],"importedBy":[{"uid":"79f9-71"}]},"79f9-6":{"id":"/src/util/array.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-7"},"imported":[],"importedBy":[{"uid":"79f9-73"},{"uid":"79f9-44"}]},"79f9-8":{"id":"/src/reducers/cells.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-9"},"imported":[{"uid":"79f9-64"}],"importedBy":[{"uid":"79f9-72"},{"uid":"79f9-30"}]},"79f9-10":{"id":"/src/configDefault.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-11"},"imported":[],"importedBy":[{"uid":"79f9-12"}]},"79f9-12":{"id":"/src/reducers/config.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-13"},"imported":[{"uid":"79f9-85"},{"uid":"79f9-64"},{"uid":"79f9-10"}],"importedBy":[{"uid":"79f9-72"},{"uid":"79f9-30"}]},"79f9-14":{"id":"/src/reducers/core.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-15"},"imported":[{"uid":"79f9-86"},{"uid":"79f9-87"},{"uid":"79f9-88"},{"uid":"79f9-89"},{"uid":"79f9-90"},{"uid":"79f9-91"},{"uid":"79f9-64"},{"uid":"79f9-73"}],"importedBy":[{"uid":"79f9-72"},{"uid":"79f9-30"},{"uid":"79f9-32"}]},"79f9-16":{"id":"/src/reducers/default-data.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-17"},"imported":[{"uid":"79f9-64"}],"importedBy":[{"uid":"79f9-72"},{"uid":"79f9-30"},{"uid":"79f9-32"}]},"79f9-18":{"id":"/src/i18n/i18nUtil.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-19"},"imported":[{"uid":"79f9-71"},{"uid":"79f9-72"},{"uid":"79f9-73"}],"importedBy":[{"uid":"79f9-75"}]},"79f9-20":{"id":"/src/reducers/i18n.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-21"},"imported":[{"uid":"79f9-75"},{"uid":"79f9-64"}],"importedBy":[{"uid":"79f9-72"},{"uid":"79f9-30"}]},"79f9-22":{"id":"/src/reducers/renderers.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-23"},"imported":[{"uid":"79f9-64"}],"importedBy":[{"uid":"79f9-72"},{"uid":"79f9-30"}]},"79f9-24":{"id":"/src/testers/testers.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-25"},"imported":[{"uid":"79f9-82"},{"uid":"79f9-88"},{"uid":"79f9-94"},{"uid":"79f9-95"},{"uid":"79f9-96"},{"uid":"79f9-97"},{"uid":"79f9-98"},{"uid":"79f9-99"},{"uid":"79f9-73"}],"importedBy":[{"uid":"79f9-26"}]},"79f9-26":{"id":"/src/testers/index.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-27"},"imported":[{"uid":"79f9-24"}],"importedBy":[{"uid":"79f9-68"},{"uid":"79f9-28"}]},"79f9-28":{"id":"/src/reducers/uischemas.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-29"},"imported":[{"uid":"79f9-92"},{"uid":"79f9-93"},{"uid":"79f9-64"},{"uid":"79f9-26"}],"importedBy":[{"uid":"79f9-72"},{"uid":"79f9-30"}]},"79f9-30":{"id":"/src/reducers/reducers.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-31"},"imported":[{"uid":"79f9-14"},{"uid":"79f9-16"},{"uid":"79f9-22"},{"uid":"79f9-28"},{"uid":"79f9-20"},{"uid":"79f9-70"},{"uid":"79f9-8"},{"uid":"79f9-12"},{"uid":"79f9-88"},{"uid":"79f9-72"}],"importedBy":[{"uid":"79f9-72"}]},"79f9-32":{"id":"/src/reducers/selectors.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-33"},"imported":[{"uid":"79f9-88"},{"uid":"79f9-14"},{"uid":"79f9-16"}],"importedBy":[{"uid":"79f9-72"}]},"79f9-34":{"id":"/src/util/path.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-35"},"imported":[{"uid":"79f9-82"},{"uid":"79f9-101"},{"uid":"79f9-71"}],"importedBy":[{"uid":"79f9-73"},{"uid":"79f9-42"},{"uid":"79f9-44"},{"uid":"79f9-36"},{"uid":"79f9-38"},{"uid":"79f9-40"}]},"79f9-36":{"id":"/src/util/resolvers.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-37"},"imported":[{"uid":"79f9-82"},{"uid":"79f9-88"},{"uid":"79f9-34"}],"importedBy":[{"uid":"79f9-73"},{"uid":"79f9-38"},{"uid":"79f9-40"}]},"79f9-38":{"id":"/src/util/runtime.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-39"},"imported":[{"uid":"79f9-103"},{"uid":"79f9-71"},{"uid":"79f9-36"},{"uid":"79f9-34"},{"uid":"79f9-72"}],"importedBy":[{"uid":"79f9-73"},{"uid":"79f9-46"},{"uid":"79f9-44"},{"uid":"79f9-40"}]},"79f9-40":{"id":"/src/util/util.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-41"},"imported":[{"uid":"79f9-82"},{"uid":"79f9-96"},{"uid":"79f9-99"},{"uid":"79f9-102"},{"uid":"79f9-36"},{"uid":"79f9-34"},{"uid":"79f9-38"}],"importedBy":[{"uid":"79f9-73"},{"uid":"79f9-46"},{"uid":"79f9-48"},{"uid":"79f9-44"}]},"79f9-42":{"id":"/src/util/label.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-43"},"imported":[{"uid":"79f9-83"},{"uid":"79f9-34"}],"importedBy":[{"uid":"79f9-73"},{"uid":"79f9-44"}]},"79f9-44":{"id":"/src/util/renderer.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-45"},"imported":[{"uid":"79f9-88"},{"uid":"79f9-71"},{"uid":"79f9-102"},{"uid":"79f9-72"},{"uid":"79f9-38"},{"uid":"79f9-42"},{"uid":"79f9-6"},{"uid":"79f9-40"},{"uid":"79f9-34"},{"uid":"79f9-64"},{"uid":"79f9-75"}],"importedBy":[{"uid":"79f9-73"},{"uid":"79f9-46"}]},"79f9-46":{"id":"/src/util/cell.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-47"},"imported":[{"uid":"79f9-82"},{"uid":"79f9-100"},{"uid":"79f9-72"},{"uid":"79f9-40"},{"uid":"79f9-38"},{"uid":"79f9-44"},{"uid":"79f9-75"}],"importedBy":[{"uid":"79f9-73"}]},"79f9-48":{"id":"/src/util/combinators.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-49"},"imported":[{"uid":"79f9-72"},{"uid":"79f9-40"}],"importedBy":[{"uid":"79f9-73"}]},"79f9-50":{"id":"/src/util/ids.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-51"},"imported":[],"importedBy":[{"uid":"79f9-73"}]},"79f9-52":{"id":"/src/util/schema.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-53"},"imported":[{"uid":"79f9-102"}],"importedBy":[{"uid":"79f9-73"}]},"79f9-54":{"id":"/src/util/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-55"},"imported":[{"uid":"79f9-82"},{"uid":"79f9-71"}],"importedBy":[{"uid":"79f9-73"}]},"79f9-56":{"id":"/src/util/validator.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-57"},"imported":[{"uid":"79f9-104"},{"uid":"79f9-105"}],"importedBy":[{"uid":"79f9-73"}]},"79f9-58":{"id":"/src/generators/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-59"},"imported":[{"uid":"79f9-82"},{"uid":"79f9-83"},{"uid":"79f9-84"},{"uid":"79f9-71"},{"uid":"79f9-73"}],"importedBy":[{"uid":"79f9-70"},{"uid":"79f9-60"}]},"79f9-60":{"id":"/src/generators/Generate.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-61"},"imported":[{"uid":"79f9-0"},{"uid":"79f9-58"}],"importedBy":[{"uid":"79f9-70"}]},"79f9-62":{"id":"/src/actions/actions.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-63"},"imported":[{"uid":"79f9-70"}],"importedBy":[{"uid":"79f9-64"}]},"79f9-64":{"id":"/src/actions/index.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-65"},"imported":[{"uid":"79f9-62"}],"importedBy":[{"uid":"79f9-68"},{"uid":"79f9-8"},{"uid":"79f9-12"},{"uid":"79f9-14"},{"uid":"79f9-16"},{"uid":"79f9-20"},{"uid":"79f9-22"},{"uid":"79f9-28"},{"uid":"79f9-44"}]},"79f9-66":{"id":"/src/Helpers.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-67"},"imported":[{"uid":"79f9-73"}],"importedBy":[{"uid":"79f9-68"}]},"79f9-68":{"id":"/src/index.ts","moduleParts":{"jsonforms-core.esm.js":"79f9-69"},"imported":[{"uid":"79f9-64"},{"uid":"79f9-70"},{"uid":"79f9-71"},{"uid":"79f9-72"},{"uid":"79f9-26"},{"uid":"79f9-73"},{"uid":"79f9-66"},{"uid":"79f9-74"},{"uid":"79f9-75"}],"importedBy":[],"isEntry":true},"79f9-70":{"id":"/src/generators/index.ts","moduleParts":{},"imported":[{"uid":"79f9-60"},{"uid":"79f9-0"},{"uid":"79f9-58"}],"importedBy":[{"uid":"79f9-68"},{"uid":"79f9-62"},{"uid":"79f9-30"}]},"79f9-71":{"id":"/src/models/index.ts","moduleParts":{},"imported":[{"uid":"79f9-2"},{"uid":"79f9-76"},{"uid":"79f9-77"},{"uid":"79f9-78"},{"uid":"79f9-4"}],"importedBy":[{"uid":"79f9-68"},{"uid":"79f9-58"},{"uid":"79f9-34"},{"uid":"79f9-44"},{"uid":"79f9-38"},{"uid":"79f9-54"},{"uid":"79f9-18"}]},"79f9-72":{"id":"/src/reducers/index.ts","moduleParts":{},"imported":[{"uid":"79f9-8"},{"uid":"79f9-12"},{"uid":"79f9-14"},{"uid":"79f9-16"},{"uid":"79f9-20"},{"uid":"79f9-30"},{"uid":"79f9-22"},{"uid":"79f9-32"},{"uid":"79f9-28"}],"importedBy":[{"uid":"79f9-68"},{"uid":"79f9-30"},{"uid":"79f9-46"},{"uid":"79f9-48"},{"uid":"79f9-44"},{"uid":"79f9-38"},{"uid":"79f9-18"}]},"79f9-73":{"id":"/src/util/index.ts","moduleParts":{},"imported":[{"uid":"79f9-6"},{"uid":"79f9-46"},{"uid":"79f9-48"},{"uid":"79f9-79"},{"uid":"79f9-50"},{"uid":"79f9-42"},{"uid":"79f9-34"},{"uid":"79f9-44"},{"uid":"79f9-36"},{"uid":"79f9-38"},{"uid":"79f9-52"},{"uid":"79f9-80"},{"uid":"79f9-54"},{"uid":"79f9-40"},{"uid":"79f9-56"}],"importedBy":[{"uid":"79f9-68"},{"uid":"79f9-66"},{"uid":"79f9-58"},{"uid":"79f9-14"},{"uid":"79f9-24"},{"uid":"79f9-18"}]},"79f9-74":{"id":"/src/store.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-68"}]},"79f9-75":{"id":"/src/i18n/index.ts","moduleParts":{},"imported":[{"uid":"79f9-81"},{"uid":"79f9-18"}],"importedBy":[{"uid":"79f9-68"},{"uid":"79f9-20"},{"uid":"79f9-46"},{"uid":"79f9-44"}]},"79f9-76":{"id":"/src/models/jsonSchema.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-71"}]},"79f9-77":{"id":"/src/models/jsonSchema4.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-71"}]},"79f9-78":{"id":"/src/models/jsonSchema7.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-71"}]},"79f9-79":{"id":"/src/util/Formatted.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-73"}]},"79f9-80":{"id":"/src/util/type.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-73"}]},"79f9-81":{"id":"/src/i18n/i18nTypes.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-75"}]},"79f9-82":{"id":"lodash/isEmpty","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-58"},{"uid":"79f9-24"},{"uid":"79f9-46"},{"uid":"79f9-34"},{"uid":"79f9-36"},{"uid":"79f9-54"},{"uid":"79f9-40"}],"isExternal":true},"79f9-83":{"id":"lodash/startCase","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-58"},{"uid":"79f9-42"}],"isExternal":true},"79f9-84":{"id":"lodash/keys","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-58"}],"isExternal":true},"79f9-85":{"id":"lodash/merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-12"}],"isExternal":true},"79f9-86":{"id":"lodash/cloneDeep","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-14"}],"isExternal":true},"79f9-87":{"id":"lodash/fp/set","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-14"}],"isExternal":true},"79f9-88":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-14"},{"uid":"79f9-30"},{"uid":"79f9-32"},{"uid":"79f9-24"},{"uid":"79f9-44"},{"uid":"79f9-36"}],"isExternal":true},"79f9-89":{"id":"lodash/filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-14"}],"isExternal":true},"79f9-90":{"id":"lodash/isEqual","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-14"}],"isExternal":true},"79f9-91":{"id":"lodash/isFunction","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-14"}],"isExternal":true},"79f9-92":{"id":"lodash/maxBy","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-28"}],"isExternal":true},"79f9-93":{"id":"lodash/remove","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-28"}],"isExternal":true},"79f9-94":{"id":"lodash/endsWith","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-24"}],"isExternal":true},"79f9-95":{"id":"lodash/last","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-24"}],"isExternal":true},"79f9-96":{"id":"lodash/isArray","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-24"},{"uid":"79f9-40"}],"isExternal":true},"79f9-97":{"id":"lodash/reduce","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-24"}],"isExternal":true},"79f9-98":{"id":"lodash/toPairs","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-24"}],"isExternal":true},"79f9-99":{"id":"lodash/includes","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-24"},{"uid":"79f9-40"}],"isExternal":true},"79f9-100":{"id":"lodash/union","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-46"}],"isExternal":true},"79f9-101":{"id":"lodash/range","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-34"}],"isExternal":true},"79f9-102":{"id":"lodash/find","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-44"},{"uid":"79f9-52"},{"uid":"79f9-40"}],"isExternal":true},"79f9-103":{"id":"lodash/has","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-38"}],"isExternal":true},"79f9-104":{"id":"ajv","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-56"}],"isExternal":true},"79f9-105":{"id":"ajv-formats","moduleParts":{},"imported":[],"importedBy":[{"uid":"79f9-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":"c327-1","name":"schema.ts"},{"uid":"c327-59","name":"uischema.ts"},{"uid":"c327-61","name":"Generate.ts"}]},{"name":"models","children":[{"uid":"c327-3","name":"draft4.ts"},{"uid":"c327-5","name":"uischema.ts"}]},{"name":"util","children":[{"uid":"c327-7","name":"array.ts"},{"uid":"c327-35","name":"path.ts"},{"uid":"c327-37","name":"resolvers.ts"},{"uid":"c327-39","name":"runtime.ts"},{"uid":"c327-41","name":"util.ts"},{"uid":"c327-43","name":"label.ts"},{"uid":"c327-45","name":"renderer.ts"},{"uid":"c327-47","name":"cell.ts"},{"uid":"c327-49","name":"combinators.ts"},{"uid":"c327-51","name":"ids.ts"},{"uid":"c327-53","name":"schema.ts"},{"uid":"c327-55","name":"uischema.ts"},{"uid":"c327-57","name":"validator.ts"}]},{"name":"reducers","children":[{"uid":"c327-9","name":"cells.ts"},{"uid":"c327-13","name":"config.ts"},{"uid":"c327-15","name":"core.ts"},{"uid":"c327-17","name":"default-data.ts"},{"uid":"c327-21","name":"i18n.ts"},{"uid":"c327-23","name":"renderers.ts"},{"uid":"c327-29","name":"uischemas.ts"},{"uid":"c327-31","name":"reducers.ts"},{"uid":"c327-33","name":"selectors.ts"}]},{"uid":"c327-11","name":"configDefault.ts"},{"name":"i18n/i18nUtil.ts","uid":"c327-19"},{"name":"testers","children":[{"uid":"c327-25","name":"testers.ts"},{"uid":"c327-27","name":"index.ts"}]},{"name":"actions","children":[{"uid":"c327-63","name":"actions.ts"},{"uid":"c327-65","name":"index.ts"}]},{"uid":"c327-67","name":"Helpers.ts"},{"uid":"c327-69","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"c327-1":{"renderedLength":3843,"gzipLength":0,"brotliLength":0,"mainUid":"c327-0"},"c327-3":{"renderedLength":4050,"gzipLength":0,"brotliLength":0,"mainUid":"c327-2"},"c327-5":{"renderedLength":760,"gzipLength":0,"brotliLength":0,"mainUid":"c327-4"},"c327-7":{"renderedLength":421,"gzipLength":0,"brotliLength":0,"mainUid":"c327-6"},"c327-9":{"renderedLength":294,"gzipLength":0,"brotliLength":0,"mainUid":"c327-8"},"c327-11":{"renderedLength":133,"gzipLength":0,"brotliLength":0,"mainUid":"c327-10"},"c327-13":{"renderedLength":322,"gzipLength":0,"brotliLength":0,"mainUid":"c327-12"},"c327-15":{"renderedLength":10156,"gzipLength":0,"brotliLength":0,"mainUid":"c327-14"},"c327-17":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"mainUid":"c327-16"},"c327-19":{"renderedLength":2719,"gzipLength":0,"brotliLength":0,"mainUid":"c327-18"},"c327-21":{"renderedLength":1754,"gzipLength":0,"brotliLength":0,"mainUid":"c327-20"},"c327-23":{"renderedLength":370,"gzipLength":0,"brotliLength":0,"mainUid":"c327-22"},"c327-25":{"renderedLength":8488,"gzipLength":0,"brotliLength":0,"mainUid":"c327-24"},"c327-27":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"c327-26"},"c327-29":{"renderedLength":783,"gzipLength":0,"brotliLength":0,"mainUid":"c327-28"},"c327-31":{"renderedLength":1846,"gzipLength":0,"brotliLength":0,"mainUid":"c327-30"},"c327-33":{"renderedLength":573,"gzipLength":0,"brotliLength":0,"mainUid":"c327-32"},"c327-35":{"renderedLength":1333,"gzipLength":0,"brotliLength":0,"mainUid":"c327-34"},"c327-37":{"renderedLength":3040,"gzipLength":0,"brotliLength":0,"mainUid":"c327-36"},"c327-39":{"renderedLength":3621,"gzipLength":0,"brotliLength":0,"mainUid":"c327-38"},"c327-41":{"renderedLength":1498,"gzipLength":0,"brotliLength":0,"mainUid":"c327-40"},"c327-43":{"renderedLength":1289,"gzipLength":0,"brotliLength":0,"mainUid":"c327-42"},"c327-45":{"renderedLength":14103,"gzipLength":0,"brotliLength":0,"mainUid":"c327-44"},"c327-47":{"renderedLength":2622,"gzipLength":0,"brotliLength":0,"mainUid":"c327-46"},"c327-49":{"renderedLength":671,"gzipLength":0,"brotliLength":0,"mainUid":"c327-48"},"c327-51":{"renderedLength":621,"gzipLength":0,"brotliLength":0,"mainUid":"c327-50"},"c327-53":{"renderedLength":365,"gzipLength":0,"brotliLength":0,"mainUid":"c327-52"},"c327-55":{"renderedLength":609,"gzipLength":0,"brotliLength":0,"mainUid":"c327-54"},"c327-57":{"renderedLength":196,"gzipLength":0,"brotliLength":0,"mainUid":"c327-56"},"c327-59":{"renderedLength":3310,"gzipLength":0,"brotliLength":0,"mainUid":"c327-58"},"c327-61":{"renderedLength":137,"gzipLength":0,"brotliLength":0,"mainUid":"c327-60"},"c327-63":{"renderedLength":3051,"gzipLength":0,"brotliLength":0,"mainUid":"c327-62"},"c327-65":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"c327-64"},"c327-67":{"renderedLength":80,"gzipLength":0,"brotliLength":0,"mainUid":"c327-66"},"c327-69":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"c327-68"}},"nodeMetas":{"c327-0":{"id":"/src/generators/schema.ts","moduleParts":{"jsonforms-core.esm.js":"c327-1"},"imported":[],"importedBy":[{"uid":"c327-70"},{"uid":"c327-60"}]},"c327-2":{"id":"/src/models/draft4.ts","moduleParts":{"jsonforms-core.esm.js":"c327-3"},"imported":[],"importedBy":[{"uid":"c327-71"}]},"c327-4":{"id":"/src/models/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"c327-5"},"imported":[],"importedBy":[{"uid":"c327-71"}]},"c327-6":{"id":"/src/util/array.ts","moduleParts":{"jsonforms-core.esm.js":"c327-7"},"imported":[],"importedBy":[{"uid":"c327-73"},{"uid":"c327-44"}]},"c327-8":{"id":"/src/reducers/cells.ts","moduleParts":{"jsonforms-core.esm.js":"c327-9"},"imported":[{"uid":"c327-64"}],"importedBy":[{"uid":"c327-72"},{"uid":"c327-30"}]},"c327-10":{"id":"/src/configDefault.ts","moduleParts":{"jsonforms-core.esm.js":"c327-11"},"imported":[],"importedBy":[{"uid":"c327-12"}]},"c327-12":{"id":"/src/reducers/config.ts","moduleParts":{"jsonforms-core.esm.js":"c327-13"},"imported":[{"uid":"c327-85"},{"uid":"c327-64"},{"uid":"c327-10"}],"importedBy":[{"uid":"c327-72"},{"uid":"c327-30"}]},"c327-14":{"id":"/src/reducers/core.ts","moduleParts":{"jsonforms-core.esm.js":"c327-15"},"imported":[{"uid":"c327-86"},{"uid":"c327-87"},{"uid":"c327-88"},{"uid":"c327-89"},{"uid":"c327-90"},{"uid":"c327-91"},{"uid":"c327-64"},{"uid":"c327-73"}],"importedBy":[{"uid":"c327-72"},{"uid":"c327-30"},{"uid":"c327-32"}]},"c327-16":{"id":"/src/reducers/default-data.ts","moduleParts":{"jsonforms-core.esm.js":"c327-17"},"imported":[{"uid":"c327-64"}],"importedBy":[{"uid":"c327-72"},{"uid":"c327-30"},{"uid":"c327-32"}]},"c327-18":{"id":"/src/i18n/i18nUtil.ts","moduleParts":{"jsonforms-core.esm.js":"c327-19"},"imported":[{"uid":"c327-71"},{"uid":"c327-72"},{"uid":"c327-73"}],"importedBy":[{"uid":"c327-75"}]},"c327-20":{"id":"/src/reducers/i18n.ts","moduleParts":{"jsonforms-core.esm.js":"c327-21"},"imported":[{"uid":"c327-75"},{"uid":"c327-64"}],"importedBy":[{"uid":"c327-72"},{"uid":"c327-30"}]},"c327-22":{"id":"/src/reducers/renderers.ts","moduleParts":{"jsonforms-core.esm.js":"c327-23"},"imported":[{"uid":"c327-64"}],"importedBy":[{"uid":"c327-72"},{"uid":"c327-30"}]},"c327-24":{"id":"/src/testers/testers.ts","moduleParts":{"jsonforms-core.esm.js":"c327-25"},"imported":[{"uid":"c327-82"},{"uid":"c327-88"},{"uid":"c327-94"},{"uid":"c327-95"},{"uid":"c327-96"},{"uid":"c327-97"},{"uid":"c327-98"},{"uid":"c327-99"},{"uid":"c327-73"}],"importedBy":[{"uid":"c327-26"}]},"c327-26":{"id":"/src/testers/index.ts","moduleParts":{"jsonforms-core.esm.js":"c327-27"},"imported":[{"uid":"c327-24"}],"importedBy":[{"uid":"c327-68"},{"uid":"c327-28"}]},"c327-28":{"id":"/src/reducers/uischemas.ts","moduleParts":{"jsonforms-core.esm.js":"c327-29"},"imported":[{"uid":"c327-92"},{"uid":"c327-93"},{"uid":"c327-64"},{"uid":"c327-26"}],"importedBy":[{"uid":"c327-72"},{"uid":"c327-30"}]},"c327-30":{"id":"/src/reducers/reducers.ts","moduleParts":{"jsonforms-core.esm.js":"c327-31"},"imported":[{"uid":"c327-14"},{"uid":"c327-16"},{"uid":"c327-22"},{"uid":"c327-28"},{"uid":"c327-20"},{"uid":"c327-70"},{"uid":"c327-8"},{"uid":"c327-12"},{"uid":"c327-88"},{"uid":"c327-72"}],"importedBy":[{"uid":"c327-72"}]},"c327-32":{"id":"/src/reducers/selectors.ts","moduleParts":{"jsonforms-core.esm.js":"c327-33"},"imported":[{"uid":"c327-88"},{"uid":"c327-14"},{"uid":"c327-16"}],"importedBy":[{"uid":"c327-72"}]},"c327-34":{"id":"/src/util/path.ts","moduleParts":{"jsonforms-core.esm.js":"c327-35"},"imported":[{"uid":"c327-82"},{"uid":"c327-101"},{"uid":"c327-71"}],"importedBy":[{"uid":"c327-73"},{"uid":"c327-42"},{"uid":"c327-44"},{"uid":"c327-36"},{"uid":"c327-38"},{"uid":"c327-40"}]},"c327-36":{"id":"/src/util/resolvers.ts","moduleParts":{"jsonforms-core.esm.js":"c327-37"},"imported":[{"uid":"c327-82"},{"uid":"c327-88"},{"uid":"c327-34"}],"importedBy":[{"uid":"c327-73"},{"uid":"c327-38"},{"uid":"c327-40"}]},"c327-38":{"id":"/src/util/runtime.ts","moduleParts":{"jsonforms-core.esm.js":"c327-39"},"imported":[{"uid":"c327-103"},{"uid":"c327-71"},{"uid":"c327-36"},{"uid":"c327-34"},{"uid":"c327-72"}],"importedBy":[{"uid":"c327-73"},{"uid":"c327-46"},{"uid":"c327-44"},{"uid":"c327-40"}]},"c327-40":{"id":"/src/util/util.ts","moduleParts":{"jsonforms-core.esm.js":"c327-41"},"imported":[{"uid":"c327-82"},{"uid":"c327-96"},{"uid":"c327-99"},{"uid":"c327-102"},{"uid":"c327-36"},{"uid":"c327-34"},{"uid":"c327-38"}],"importedBy":[{"uid":"c327-73"},{"uid":"c327-46"},{"uid":"c327-48"},{"uid":"c327-44"}]},"c327-42":{"id":"/src/util/label.ts","moduleParts":{"jsonforms-core.esm.js":"c327-43"},"imported":[{"uid":"c327-83"},{"uid":"c327-34"}],"importedBy":[{"uid":"c327-73"},{"uid":"c327-44"}]},"c327-44":{"id":"/src/util/renderer.ts","moduleParts":{"jsonforms-core.esm.js":"c327-45"},"imported":[{"uid":"c327-88"},{"uid":"c327-71"},{"uid":"c327-102"},{"uid":"c327-72"},{"uid":"c327-38"},{"uid":"c327-42"},{"uid":"c327-6"},{"uid":"c327-40"},{"uid":"c327-34"},{"uid":"c327-64"},{"uid":"c327-75"}],"importedBy":[{"uid":"c327-73"},{"uid":"c327-46"}]},"c327-46":{"id":"/src/util/cell.ts","moduleParts":{"jsonforms-core.esm.js":"c327-47"},"imported":[{"uid":"c327-82"},{"uid":"c327-100"},{"uid":"c327-72"},{"uid":"c327-40"},{"uid":"c327-38"},{"uid":"c327-44"},{"uid":"c327-75"}],"importedBy":[{"uid":"c327-73"}]},"c327-48":{"id":"/src/util/combinators.ts","moduleParts":{"jsonforms-core.esm.js":"c327-49"},"imported":[{"uid":"c327-72"},{"uid":"c327-40"}],"importedBy":[{"uid":"c327-73"}]},"c327-50":{"id":"/src/util/ids.ts","moduleParts":{"jsonforms-core.esm.js":"c327-51"},"imported":[],"importedBy":[{"uid":"c327-73"}]},"c327-52":{"id":"/src/util/schema.ts","moduleParts":{"jsonforms-core.esm.js":"c327-53"},"imported":[{"uid":"c327-102"}],"importedBy":[{"uid":"c327-73"}]},"c327-54":{"id":"/src/util/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"c327-55"},"imported":[{"uid":"c327-82"},{"uid":"c327-71"}],"importedBy":[{"uid":"c327-73"}]},"c327-56":{"id":"/src/util/validator.ts","moduleParts":{"jsonforms-core.esm.js":"c327-57"},"imported":[{"uid":"c327-104"},{"uid":"c327-105"}],"importedBy":[{"uid":"c327-73"}]},"c327-58":{"id":"/src/generators/uischema.ts","moduleParts":{"jsonforms-core.esm.js":"c327-59"},"imported":[{"uid":"c327-82"},{"uid":"c327-83"},{"uid":"c327-84"},{"uid":"c327-71"},{"uid":"c327-73"}],"importedBy":[{"uid":"c327-70"},{"uid":"c327-60"}]},"c327-60":{"id":"/src/generators/Generate.ts","moduleParts":{"jsonforms-core.esm.js":"c327-61"},"imported":[{"uid":"c327-0"},{"uid":"c327-58"}],"importedBy":[{"uid":"c327-70"}]},"c327-62":{"id":"/src/actions/actions.ts","moduleParts":{"jsonforms-core.esm.js":"c327-63"},"imported":[{"uid":"c327-70"}],"importedBy":[{"uid":"c327-64"}]},"c327-64":{"id":"/src/actions/index.ts","moduleParts":{"jsonforms-core.esm.js":"c327-65"},"imported":[{"uid":"c327-62"}],"importedBy":[{"uid":"c327-68"},{"uid":"c327-8"},{"uid":"c327-12"},{"uid":"c327-14"},{"uid":"c327-16"},{"uid":"c327-20"},{"uid":"c327-22"},{"uid":"c327-28"},{"uid":"c327-44"}]},"c327-66":{"id":"/src/Helpers.ts","moduleParts":{"jsonforms-core.esm.js":"c327-67"},"imported":[{"uid":"c327-73"}],"importedBy":[{"uid":"c327-68"}]},"c327-68":{"id":"/src/index.ts","moduleParts":{"jsonforms-core.esm.js":"c327-69"},"imported":[{"uid":"c327-64"},{"uid":"c327-70"},{"uid":"c327-71"},{"uid":"c327-72"},{"uid":"c327-26"},{"uid":"c327-73"},{"uid":"c327-66"},{"uid":"c327-74"},{"uid":"c327-75"}],"importedBy":[],"isEntry":true},"c327-70":{"id":"/src/generators/index.ts","moduleParts":{},"imported":[{"uid":"c327-60"},{"uid":"c327-0"},{"uid":"c327-58"}],"importedBy":[{"uid":"c327-68"},{"uid":"c327-62"},{"uid":"c327-30"}]},"c327-71":{"id":"/src/models/index.ts","moduleParts":{},"imported":[{"uid":"c327-2"},{"uid":"c327-76"},{"uid":"c327-77"},{"uid":"c327-78"},{"uid":"c327-4"}],"importedBy":[{"uid":"c327-68"},{"uid":"c327-58"},{"uid":"c327-34"},{"uid":"c327-44"},{"uid":"c327-38"},{"uid":"c327-54"},{"uid":"c327-18"}]},"c327-72":{"id":"/src/reducers/index.ts","moduleParts":{},"imported":[{"uid":"c327-8"},{"uid":"c327-12"},{"uid":"c327-14"},{"uid":"c327-16"},{"uid":"c327-20"},{"uid":"c327-30"},{"uid":"c327-22"},{"uid":"c327-32"},{"uid":"c327-28"}],"importedBy":[{"uid":"c327-68"},{"uid":"c327-30"},{"uid":"c327-46"},{"uid":"c327-48"},{"uid":"c327-44"},{"uid":"c327-38"},{"uid":"c327-18"}]},"c327-73":{"id":"/src/util/index.ts","moduleParts":{},"imported":[{"uid":"c327-6"},{"uid":"c327-46"},{"uid":"c327-48"},{"uid":"c327-79"},{"uid":"c327-50"},{"uid":"c327-42"},{"uid":"c327-34"},{"uid":"c327-44"},{"uid":"c327-36"},{"uid":"c327-38"},{"uid":"c327-52"},{"uid":"c327-80"},{"uid":"c327-54"},{"uid":"c327-40"},{"uid":"c327-56"}],"importedBy":[{"uid":"c327-68"},{"uid":"c327-66"},{"uid":"c327-58"},{"uid":"c327-14"},{"uid":"c327-24"},{"uid":"c327-18"}]},"c327-74":{"id":"/src/store.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-68"}]},"c327-75":{"id":"/src/i18n/index.ts","moduleParts":{},"imported":[{"uid":"c327-81"},{"uid":"c327-18"}],"importedBy":[{"uid":"c327-68"},{"uid":"c327-20"},{"uid":"c327-46"},{"uid":"c327-44"}]},"c327-76":{"id":"/src/models/jsonSchema.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-71"}]},"c327-77":{"id":"/src/models/jsonSchema4.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-71"}]},"c327-78":{"id":"/src/models/jsonSchema7.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-71"}]},"c327-79":{"id":"/src/util/Formatted.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-73"}]},"c327-80":{"id":"/src/util/type.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-73"}]},"c327-81":{"id":"/src/i18n/i18nTypes.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-75"}]},"c327-82":{"id":"lodash/isEmpty","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-58"},{"uid":"c327-24"},{"uid":"c327-46"},{"uid":"c327-34"},{"uid":"c327-36"},{"uid":"c327-54"},{"uid":"c327-40"}],"isExternal":true},"c327-83":{"id":"lodash/startCase","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-58"},{"uid":"c327-42"}],"isExternal":true},"c327-84":{"id":"lodash/keys","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-58"}],"isExternal":true},"c327-85":{"id":"lodash/merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-12"}],"isExternal":true},"c327-86":{"id":"lodash/cloneDeep","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-14"}],"isExternal":true},"c327-87":{"id":"lodash/fp/set","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-14"}],"isExternal":true},"c327-88":{"id":"lodash/get","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-14"},{"uid":"c327-30"},{"uid":"c327-32"},{"uid":"c327-24"},{"uid":"c327-44"},{"uid":"c327-36"}],"isExternal":true},"c327-89":{"id":"lodash/filter","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-14"}],"isExternal":true},"c327-90":{"id":"lodash/isEqual","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-14"}],"isExternal":true},"c327-91":{"id":"lodash/isFunction","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-14"}],"isExternal":true},"c327-92":{"id":"lodash/maxBy","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-28"}],"isExternal":true},"c327-93":{"id":"lodash/remove","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-28"}],"isExternal":true},"c327-94":{"id":"lodash/endsWith","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-24"}],"isExternal":true},"c327-95":{"id":"lodash/last","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-24"}],"isExternal":true},"c327-96":{"id":"lodash/isArray","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-24"},{"uid":"c327-40"}],"isExternal":true},"c327-97":{"id":"lodash/reduce","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-24"}],"isExternal":true},"c327-98":{"id":"lodash/toPairs","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-24"}],"isExternal":true},"c327-99":{"id":"lodash/includes","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-24"},{"uid":"c327-40"}],"isExternal":true},"c327-100":{"id":"lodash/union","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-46"}],"isExternal":true},"c327-101":{"id":"lodash/range","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-34"}],"isExternal":true},"c327-102":{"id":"lodash/find","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-44"},{"uid":"c327-52"},{"uid":"c327-40"}],"isExternal":true},"c327-103":{"id":"lodash/has","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-38"}],"isExternal":true},"c327-104":{"id":"ajv","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-56"}],"isExternal":true},"c327-105":{"id":"ajv-formats","moduleParts":{},"imported":[],"importedBy":[{"uid":"c327-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;
|
package/test/testers.test.ts
CHANGED
|
@@ -773,6 +773,58 @@ test('tester isObjectArrayWithNesting', t => {
|
|
|
773
773
|
}
|
|
774
774
|
};
|
|
775
775
|
|
|
776
|
+
const nestedSchemaWithAnyOf = {
|
|
777
|
+
type: "array",
|
|
778
|
+
items: {
|
|
779
|
+
anyOf: [
|
|
780
|
+
{
|
|
781
|
+
type: "object",
|
|
782
|
+
properties: {
|
|
783
|
+
value: {
|
|
784
|
+
type: "string"
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
required: ["value"]
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
type: "object",
|
|
791
|
+
properties: {
|
|
792
|
+
value: {
|
|
793
|
+
type: "number"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
required: ["value"]
|
|
797
|
+
}
|
|
798
|
+
]
|
|
799
|
+
}
|
|
800
|
+
};
|
|
801
|
+
|
|
802
|
+
const nestedSchemaWithOneOf = {
|
|
803
|
+
type: "array",
|
|
804
|
+
items: {
|
|
805
|
+
oneOf: [
|
|
806
|
+
{
|
|
807
|
+
type: "object",
|
|
808
|
+
properties: {
|
|
809
|
+
value: {
|
|
810
|
+
type: "string"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
required: ["value"]
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
type: "object",
|
|
817
|
+
properties: {
|
|
818
|
+
value: {
|
|
819
|
+
type: "number"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
required: ["value"]
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
}
|
|
826
|
+
};
|
|
827
|
+
|
|
776
828
|
const uischemaOptions: {
|
|
777
829
|
generate: ControlElement;
|
|
778
830
|
default: ControlElement;
|
|
@@ -822,6 +874,9 @@ test('tester isObjectArrayWithNesting', t => {
|
|
|
822
874
|
t.false(isObjectArrayWithNesting(uischemaOptions.default, schema, undefined));
|
|
823
875
|
t.true(isObjectArrayWithNesting(uischemaOptions.generate, schema, undefined));
|
|
824
876
|
t.true(isObjectArrayWithNesting(uischemaOptions.inline, schema, undefined));
|
|
877
|
+
|
|
878
|
+
t.true(isObjectArrayWithNesting(uischema, nestedSchemaWithAnyOf, undefined));
|
|
879
|
+
t.true(isObjectArrayWithNesting(uischema, nestedSchemaWithOneOf, undefined));
|
|
825
880
|
});
|
|
826
881
|
|
|
827
882
|
test('tester schemaSubPathMatches', t => {
|