@jsonforms/core 3.0.0-beta.3 → 3.0.0-rc.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.
Files changed (93) hide show
  1. package/README.md +11 -0
  2. package/docs/assets/js/search.json +1 -1
  3. package/docs/enums/ruleeffect.html +4 -4
  4. package/docs/globals.html +371 -115
  5. package/docs/index.html +59 -4
  6. package/docs/interfaces/andcondition.html +2 -2
  7. package/docs/interfaces/arraycontrolprops.html +21 -21
  8. package/docs/interfaces/arraylayoutprops.html +21 -21
  9. package/docs/interfaces/categorization.html +24 -16
  10. package/docs/interfaces/category.html +24 -16
  11. package/docs/interfaces/cellprops.html +12 -12
  12. package/docs/interfaces/combinatorrendererprops.html +18 -18
  13. package/docs/interfaces/composablecondition.html +2 -2
  14. package/docs/interfaces/condition.html +1 -1
  15. package/docs/interfaces/controlelement.html +38 -15
  16. package/docs/interfaces/controlprops.html +16 -16
  17. package/docs/interfaces/controlstate.html +2 -2
  18. package/docs/interfaces/controlwithdetailprops.html +17 -17
  19. package/docs/interfaces/dispatchcellprops.html +10 -10
  20. package/docs/interfaces/dispatchcellstateprops.html +10 -10
  21. package/docs/interfaces/dispatchpropsofarraycontrol.html +4 -4
  22. package/docs/interfaces/dispatchpropsofcontrol.html +1 -1
  23. package/docs/interfaces/dispatchpropsofmultienumcontrol.html +2 -2
  24. package/docs/interfaces/enumcellprops.html +13 -13
  25. package/docs/interfaces/enumoption.html +2 -2
  26. package/docs/interfaces/grouplayout.html +24 -12
  27. package/docs/interfaces/horizontallayout.html +4 -4
  28. package/docs/interfaces/internationalizable.html +161 -0
  29. package/docs/interfaces/jsonformsprops.html +24 -9
  30. package/docs/interfaces/labelable.html +184 -0
  31. package/docs/interfaces/labeldescription.html +2 -2
  32. package/docs/interfaces/labeled.html +182 -0
  33. package/docs/interfaces/labelelement.html +22 -4
  34. package/docs/interfaces/labelprops.html +339 -0
  35. package/docs/interfaces/layout.html +4 -4
  36. package/docs/interfaces/layoutprops.html +25 -10
  37. package/docs/interfaces/leafcondition.html +9 -8
  38. package/docs/interfaces/orcondition.html +2 -2
  39. package/docs/interfaces/ownpropsofcell.html +9 -9
  40. package/docs/interfaces/ownpropsofcontrol.html +9 -9
  41. package/docs/interfaces/ownpropsofenum.html +1 -1
  42. package/docs/interfaces/ownpropsofenumcell.html +10 -10
  43. package/docs/interfaces/ownpropsofjsonformsrenderer.html +8 -8
  44. package/docs/interfaces/ownpropsoflabel.html +286 -0
  45. package/docs/interfaces/ownpropsoflayout.html +9 -9
  46. package/docs/interfaces/ownpropsofmasterlistitem.html +6 -6
  47. package/docs/interfaces/ownpropsofrenderer.html +11 -8
  48. package/docs/interfaces/rendererprops.html +9 -9
  49. package/docs/interfaces/rule.html +2 -2
  50. package/docs/interfaces/schemabasedcondition.html +9 -8
  51. package/docs/interfaces/scopable.html +3 -9
  52. package/docs/interfaces/scoped.html +183 -0
  53. package/docs/interfaces/statepropsofarraycontrol.html +17 -17
  54. package/docs/interfaces/statepropsofarraylayout.html +17 -17
  55. package/docs/interfaces/statepropsofcell.html +11 -11
  56. package/docs/interfaces/statepropsofcombinator.html +17 -17
  57. package/docs/interfaces/statepropsofcontrol.html +15 -15
  58. package/docs/interfaces/statepropsofcontrolwithdetail.html +16 -16
  59. package/docs/interfaces/statepropsofenumcell.html +12 -12
  60. package/docs/interfaces/statepropsofjsonformsrenderer.html +23 -9
  61. package/docs/interfaces/statepropsoflabel.html +343 -0
  62. package/docs/interfaces/statepropsoflayout.html +24 -10
  63. package/docs/interfaces/statepropsofmasteritem.html +7 -7
  64. package/docs/interfaces/statepropsofrenderer.html +12 -9
  65. package/docs/interfaces/statepropsofscopedrenderer.html +12 -12
  66. package/docs/interfaces/testercontext.html +184 -0
  67. package/docs/interfaces/uischemaelement.html +3 -3
  68. package/docs/interfaces/verticallayout.html +4 -4
  69. package/docs/interfaces/withclassname.html +1 -1
  70. package/lib/i18n/i18nUtil.d.ts +9 -4
  71. package/lib/jsonforms-core.cjs.js +103 -50
  72. package/lib/jsonforms-core.cjs.js.map +1 -1
  73. package/lib/jsonforms-core.esm.js +85 -50
  74. package/lib/jsonforms-core.esm.js.map +1 -1
  75. package/lib/models/uischema.d.ts +41 -24
  76. package/lib/reducers/i18n.d.ts +1 -1
  77. package/lib/testers/testers.d.ts +15 -6
  78. package/lib/util/renderer.d.ts +18 -1
  79. package/lib/util/runtime.d.ts +1 -2
  80. package/lib/util/util.d.ts +6 -6
  81. package/package.json +2 -2
  82. package/src/i18n/i18nUtil.ts +28 -8
  83. package/src/models/uischema.ts +60 -24
  84. package/src/reducers/i18n.ts +1 -1
  85. package/src/testers/testers.ts +43 -36
  86. package/src/util/path.ts +9 -5
  87. package/src/util/renderer.ts +52 -25
  88. package/src/util/runtime.ts +1 -1
  89. package/src/util/util.ts +8 -8
  90. package/stats.html +1 -1
  91. package/test/i18n/i18nUtil.test.ts +41 -1
  92. package/test/testers.test.ts +40 -23
  93. package/test/util/renderer.test.ts +106 -8
@@ -292,8 +292,13 @@ var RuleEffect;
292
292
  RuleEffect["ENABLE"] = "ENABLE";
293
293
  RuleEffect["DISABLE"] = "DISABLE";
294
294
  })(RuleEffect || (RuleEffect = {}));
295
+ const isInternationalized = (element) => typeof element === 'object' && element !== null && typeof element.i18n === 'string';
295
296
  const isGroup = (layout) => layout.type === 'Group';
296
297
  const isLayout = (uischema) => uischema.elements !== undefined;
298
+ const isScopable = (obj) => obj && typeof obj === 'object';
299
+ const isScoped = (obj) => isScopable(obj) && typeof obj.scope === 'string';
300
+ const isLabelable = (obj) => obj && typeof obj === 'object';
301
+ const isLabeled = (obj) => isLabelable(obj) && ['string', 'boolean'].includes(typeof obj.label);
297
302
 
298
303
  const move = (array, index, delta) => {
299
304
  const newIndex = index + delta;
@@ -635,7 +640,10 @@ const defaultDataReducer = (state = [], action) => {
635
640
  const extractDefaultData = (state) => state;
636
641
 
637
642
  const getI18nKeyPrefixBySchema = (schema, uischema) => {
638
- return uischema?.options?.i18n ?? schema?.i18n ?? undefined;
643
+ if (isInternationalized(uischema)) {
644
+ return uischema.i18n;
645
+ }
646
+ return schema?.i18n ?? undefined;
639
647
  };
640
648
  const transformPathToI18nPrefix = (path) => {
641
649
  return (path
@@ -680,6 +688,18 @@ const getCombinedErrorMessage = (errors, et, t, schema, uischema, path) => {
680
688
  }
681
689
  return formatErrorMessage(errors.map(error => et(error, t, uischema)));
682
690
  };
691
+ const deriveLabelForUISchemaElement = (uischema, t) => {
692
+ if (uischema.label === false) {
693
+ return undefined;
694
+ }
695
+ if ((uischema.label === undefined || uischema.label === null || uischema.label === true) && !isInternationalized(uischema)) {
696
+ return undefined;
697
+ }
698
+ const stringifiedLabel = typeof uischema.label === 'string' ? uischema.label : JSON.stringify(uischema.label);
699
+ const i18nKeyPrefix = getI18nKeyPrefixBySchema(undefined, uischema);
700
+ const i18nKey = typeof i18nKeyPrefix === 'string' ? `${i18nKeyPrefix}.label` : stringifiedLabel;
701
+ return t(i18nKey, stringifiedLabel, { uischema: uischema });
702
+ };
683
703
 
684
704
  const defaultJsonFormsI18nState = {
685
705
  locale: 'en',
@@ -753,7 +773,7 @@ const rendererReducer = (state = [], action) => {
753
773
 
754
774
  const NOT_APPLICABLE = -1;
755
775
  const isControl = (uischema) => !isEmpty(uischema) && uischema.scope !== undefined;
756
- const schemaMatches = (predicate) => (uischema, schema, rootSchema) => {
776
+ const schemaMatches = (predicate) => (uischema, schema, context) => {
757
777
  if (isEmpty(uischema) || !isControl(uischema)) {
758
778
  return false;
759
779
  }
@@ -766,32 +786,32 @@ const schemaMatches = (predicate) => (uischema, schema, rootSchema) => {
766
786
  }
767
787
  let currentDataSchema = schema;
768
788
  if (hasType(schema, 'object')) {
769
- currentDataSchema = resolveSchema(schema, schemaPath, rootSchema);
789
+ currentDataSchema = resolveSchema(schema, schemaPath, context?.rootSchema);
770
790
  }
771
791
  if (currentDataSchema === undefined) {
772
792
  return false;
773
793
  }
774
- return predicate(currentDataSchema, rootSchema);
794
+ return predicate(currentDataSchema, context?.rootSchema);
775
795
  };
776
- const schemaSubPathMatches = (subPath, predicate) => (uischema, schema, rootSchema) => {
796
+ const schemaSubPathMatches = (subPath, predicate) => (uischema, schema, context) => {
777
797
  if (isEmpty(uischema) || !isControl(uischema)) {
778
798
  return false;
779
799
  }
780
800
  const schemaPath = uischema.scope;
781
801
  let currentDataSchema = schema;
782
802
  if (hasType(schema, 'object')) {
783
- currentDataSchema = resolveSchema(schema, schemaPath, rootSchema);
803
+ currentDataSchema = resolveSchema(schema, schemaPath, context?.rootSchema);
784
804
  }
785
805
  currentDataSchema = get(currentDataSchema, subPath);
786
806
  if (currentDataSchema === undefined) {
787
807
  return false;
788
808
  }
789
- return predicate(currentDataSchema, rootSchema);
809
+ return predicate(currentDataSchema, context?.rootSchema);
790
810
  };
791
811
  const schemaTypeIs = (expectedType) => schemaMatches(schema => !isEmpty(schema) && hasType(schema, expectedType));
792
812
  const formatIs = (expectedFormat) => schemaMatches(schema => !isEmpty(schema) &&
793
813
  schema.format === expectedFormat &&
794
- schema.type === 'string');
814
+ hasType(schema, 'string'));
795
815
  const uiTypeIs = (expected) => (uischema) => !isEmpty(uischema) && uischema.type === expected;
796
816
  const optionIs = (optionName, optionValue) => (uischema) => {
797
817
  if (isEmpty(uischema)) {
@@ -813,16 +833,16 @@ const scopeEndIs = (expected) => (uischema) => {
813
833
  const schemaPath = uischema.scope;
814
834
  return !isEmpty(schemaPath) && last(schemaPath.split('/')) === expected;
815
835
  };
816
- const and = (...testers) => (uischema, schema, rootSchema) => testers.reduce((acc, tester) => acc && tester(uischema, schema, rootSchema), true);
817
- const or = (...testers) => (uischema, schema, rootSchema) => testers.reduce((acc, tester) => acc || tester(uischema, schema, rootSchema), false);
818
- const rankWith = (rank, tester) => (uischema, schema, rootSchema) => {
819
- if (tester(uischema, schema, rootSchema)) {
836
+ const and = (...testers) => (uischema, schema, context) => testers.reduce((acc, tester) => acc && tester(uischema, schema, context), true);
837
+ const or = (...testers) => (uischema, schema, context) => testers.reduce((acc, tester) => acc || tester(uischema, schema, context), false);
838
+ const rankWith = (rank, tester) => (uischema, schema, context) => {
839
+ if (tester(uischema, schema, context)) {
820
840
  return rank;
821
841
  }
822
842
  return NOT_APPLICABLE;
823
843
  };
824
- const withIncreasedRank = (by, rankedTester) => (uischema, schema, rootSchema) => {
825
- const rank = rankedTester(uischema, schema, rootSchema);
844
+ const withIncreasedRank = (by, rankedTester) => (uischema, schema, context) => {
845
+ const rank = rankedTester(uischema, schema, context);
826
846
  if (rank === NOT_APPLICABLE) {
827
847
  return NOT_APPLICABLE;
828
848
  }
@@ -870,16 +890,13 @@ const traverse = (any, pred, rootSchema) => {
870
890
  }
871
891
  return false;
872
892
  };
873
- const isObjectArrayWithNesting = (uischema, schema, rootSchema) => {
874
- if (!uiTypeIs('Control')(uischema, schema, rootSchema)) {
893
+ const isObjectArrayWithNesting = (uischema, schema, context) => {
894
+ if (!uiTypeIs('Control')(uischema, schema, context)) {
875
895
  return false;
876
896
  }
877
897
  const schemaPath = uischema.scope;
878
- const resolvedSchema = resolveSchema(schema, schemaPath, rootSchema ?? schema);
879
- const wantedNestingByType = {
880
- object: 2,
881
- array: 1
882
- };
898
+ const resolvedSchema = resolveSchema(schema, schemaPath, context?.rootSchema ?? schema);
899
+ let objectDepth = 0;
883
900
  if (resolvedSchema !== undefined && resolvedSchema.items !== undefined) {
884
901
  if (traverse(resolvedSchema.items, val => {
885
902
  if (val === schema) {
@@ -888,16 +905,17 @@ const isObjectArrayWithNesting = (uischema, schema, rootSchema) => {
888
905
  if (val.$ref !== undefined) {
889
906
  return false;
890
907
  }
891
- if (typeof val.type !== 'string') {
892
- return true;
908
+ if (hasType(val, 'object')) {
909
+ objectDepth++;
910
+ if (objectDepth === 2) {
911
+ return true;
912
+ }
893
913
  }
894
- const typeCount = wantedNestingByType[val.type];
895
- if (typeCount === undefined) {
896
- return false;
914
+ if (hasType(val, 'array')) {
915
+ return true;
897
916
  }
898
- wantedNestingByType[val.type] = typeCount - 1;
899
- return wantedNestingByType[val.type] === 0;
900
- }, rootSchema)) {
917
+ return false;
918
+ }, context?.rootSchema)) {
901
919
  return true;
902
920
  }
903
921
  if (uischema.options && uischema.options.detail) {
@@ -936,7 +954,7 @@ const hasCategory = (categorization) => {
936
954
  .reduce((prev, curr) => prev && curr, true);
937
955
  };
938
956
  const categorizationHasCategory = (uischema) => hasCategory(uischema);
939
- const not = (tester) => (uischema, schema, rootSchema) => !tester(uischema, schema, rootSchema);
957
+ const not = (tester) => (uischema, schema, context) => !tester(uischema, schema, context);
940
958
 
941
959
  var index$1 = /*#__PURE__*/Object.freeze({
942
960
  __proto__: null,
@@ -1087,11 +1105,14 @@ const toDataPath = (schemaPath) => {
1087
1105
  return toDataPathSegments(schemaPath).join('.');
1088
1106
  };
1089
1107
  const composeWithUi = (scopableUi, path) => {
1108
+ if (!isScoped(scopableUi)) {
1109
+ return path ?? '';
1110
+ }
1090
1111
  const segments = toDataPathSegments(scopableUi.scope);
1091
- if (isEmpty(segments) && path === undefined) {
1092
- return '';
1112
+ if (isEmpty(segments)) {
1113
+ return path ?? '';
1093
1114
  }
1094
- return isEmpty(segments) ? path : compose(path, segments.join('.'));
1115
+ return compose(path, segments.join('.'));
1095
1116
  };
1096
1117
  const encode = (segment) => segment?.replace(/~/g, '~0').replace(/\//g, '~1');
1097
1118
  const decode = (pointerSegment) => pointerSegment?.replace(/~1/g, '/').replace(/~0/, '~');
@@ -1325,10 +1346,10 @@ const Resolve = {
1325
1346
  schema: resolveSchema,
1326
1347
  data: resolveData
1327
1348
  };
1328
- const fromScopable = (scopable) => toDataPathSegments(scopable.scope).join('.');
1349
+ const fromScoped = (scopable) => toDataPathSegments(scopable.scope).join('.');
1329
1350
  const Paths = {
1330
1351
  compose: compose,
1331
- fromScopable
1352
+ fromScoped
1332
1353
  };
1333
1354
  const Runtime = {
1334
1355
  isEnabled(uischema, data, ajv) {
@@ -1644,6 +1665,8 @@ const mapStateToLayoutProps = (state, ownProps) => {
1644
1665
  const config = getConfig(state);
1645
1666
  const enabled = isInherentlyEnabled(state, ownProps, uischema, undefined,
1646
1667
  rootData, config);
1668
+ const t = getTranslator()(state);
1669
+ const label = isLabelable(uischema) ? deriveLabelForUISchemaElement(uischema, t) : undefined;
1647
1670
  return {
1648
1671
  ...layoutDefaultProps,
1649
1672
  renderers: ownProps.renderers || getRenderers(state),
@@ -1655,26 +1678,20 @@ const mapStateToLayoutProps = (state, ownProps) => {
1655
1678
  uischema: ownProps.uischema,
1656
1679
  schema: ownProps.schema,
1657
1680
  direction: ownProps.direction ?? getDirection(uischema),
1658
- config
1681
+ config,
1682
+ label
1659
1683
  };
1660
1684
  };
1661
1685
  const mapStateToJsonFormsRendererProps = (state, ownProps) => {
1662
- let uischema = ownProps.uischema;
1663
- if (uischema === undefined) {
1664
- if (ownProps.schema) {
1665
- uischema = findUISchema(state.jsonforms.uischemas, ownProps.schema, undefined, ownProps.path, undefined, undefined, state.jsonforms.core.schema);
1666
- }
1667
- else {
1668
- uischema = getUiSchema(state);
1669
- }
1670
- }
1671
1686
  return {
1672
- renderers: ownProps.renderers || get(state.jsonforms, 'renderers') || [],
1673
- cells: ownProps.cells || get(state.jsonforms, 'cells') || [],
1687
+ renderers: ownProps.renderers || get(state.jsonforms, 'renderers'),
1688
+ cells: ownProps.cells || get(state.jsonforms, 'cells'),
1674
1689
  schema: ownProps.schema || getSchema(state),
1675
1690
  rootSchema: getSchema(state),
1676
- uischema: uischema,
1677
- path: ownProps.path
1691
+ uischema: ownProps.uischema || getUiSchema(state),
1692
+ path: ownProps.path,
1693
+ enabled: ownProps.enabled,
1694
+ config: getConfig(state)
1678
1695
  };
1679
1696
  };
1680
1697
  const controlDefaultProps = {
@@ -1742,6 +1759,24 @@ const mapStateToArrayLayoutProps = (state, ownProps) => {
1742
1759
  minItems: schema.minItems
1743
1760
  };
1744
1761
  };
1762
+ const mapStateToLabelProps = (state, props) => {
1763
+ const { uischema } = props;
1764
+ const visible = props.visible === undefined || hasShowRule(uischema)
1765
+ ? isVisible(props.uischema, getData(state), props.path, getAjv(state))
1766
+ : props.visible;
1767
+ const text = uischema.text;
1768
+ const t = getTranslator()(state);
1769
+ const i18nKeyPrefix = getI18nKeyPrefixBySchema(undefined, uischema);
1770
+ const i18nKey = i18nKeyPrefix ? `${i18nKeyPrefix}.text` : text ?? '';
1771
+ const i18nText = t(i18nKey, text, { uischema });
1772
+ return {
1773
+ text: i18nText,
1774
+ visible,
1775
+ config: getConfig(state),
1776
+ renderers: props.renderers || getRenderers(state),
1777
+ cells: props.cells || getCells(state),
1778
+ };
1779
+ };
1745
1780
 
1746
1781
  const mapStateToCellProps = (state, ownProps) => {
1747
1782
  const { id, schema, path, uischema, renderers, cells } = ownProps;
@@ -2170,5 +2205,5 @@ const Helpers = {
2170
2205
  convertToValidClassName
2171
2206
  };
2172
2207
 
2173
- export { ADD_CELL, ADD_DEFAULT_DATA, ADD_RENDERER, ADD_UI_SCHEMA, index as Actions, Draft4, Generate, Helpers, INIT, NOT_APPLICABLE, Paths, REMOVE_CELL, REMOVE_DEFAULT_DATA, REMOVE_RENDERER, REMOVE_UI_SCHEMA, Resolve, RuleEffect, Runtime, SET_AJV, SET_CONFIG, SET_LOCALE, SET_SCHEMA, SET_TRANSLATOR, SET_UISCHEMA, SET_VALIDATION_MODE, index$1 as Test, UPDATE_CORE, UPDATE_DATA, UPDATE_ERRORS, UPDATE_I18N, VALIDATE, and, categorizationHasCategory, cellReducer, clearAllIds, compose, compose as composePaths, composeWithUi, computeLabel, configReducer, controlDefaultProps, convertToValidClassName, coreReducer, createAjv, createCleanLabel, createCombinatorRenderInfos, createControlElement, createDefaultValue, createId, createLabelDescriptionFrom, decode, defaultDataReducer, defaultErrorTranslator, defaultJsonFormsI18nState, defaultMapDispatchToControlProps, defaultMapStateToEnumCellProps, defaultTranslator, deriveTypes, encode, enumToEnumOptionMapper, errorAt, errorsAt, evalEnablement, evalVisibility, extractAjv, extractData, extractDefaultData, extractSchema, extractUiSchema, fetchErrorTranslator, fetchLocale, fetchTranslator, findAllRefs, findMatchingUISchema, findUISchema, formatErrorMessage, formatIs, generateDefaultUISchema, generateJsonSchema, getAjv, getCells, getCombinedErrorMessage, getConfig, getControlPath, getData, getDefaultData, getErrorAt, getErrorTranslator, getFirstPrimitiveProp, getI18nKey, getI18nKeyPrefix, getI18nKeyPrefixBySchema, getLocale, getRenderers, getSchema, getSubErrorsAt, getTranslator, getUISchemas, getUiSchema, hasCategory, hasEnableRule, hasShowRule, hasType, i18nReducer, init, isAllOfControl, isAnyOfControl, isArrayObjectControl, isBooleanControl, isCategorization, isCategory, isControl, isDateControl, isDateTimeControl, isDescriptionHidden, isEnabled, isEnumControl, isGroup, isInherentlyEnabled, isIntegerControl, isLayout, isMultiLineControl, isNumberControl, isNumberFormatControl, isObjectArray, isObjectArrayControl, isObjectArrayWithNesting, isObjectControl, isOneOfControl, isOneOfEnumControl, isPrimitiveArrayControl, isRangeControl, isStringControl, isTimeControl, isVisible, iterateSchema, jsonFormsReducerConfig, layoutDefaultProps, mapDispatchToArrayControlProps, mapDispatchToCellProps, mapDispatchToControlProps, mapDispatchToMultiEnumProps, mapStateToAllOfProps, mapStateToAnyOfProps, mapStateToArrayControlProps, mapStateToArrayLayoutProps, mapStateToCellProps, mapStateToCombinatorRendererProps, mapStateToControlProps, mapStateToControlWithDetailProps, mapStateToDispatchCellProps, mapStateToEnumControlProps, mapStateToJsonFormsRendererProps, mapStateToLayoutProps, mapStateToMasterListItemProps, mapStateToMultiEnumControlProps, mapStateToOneOfEnumCellProps, mapStateToOneOfEnumControlProps, mapStateToOneOfProps, moveDown, moveUp, not, oneOfToEnumOptionMapper, optionIs, or, rankWith, registerCell, registerDefaultData, registerRenderer, registerUISchema, removeId, rendererReducer, resolveData, resolveSchema, schemaMatches, schemaSubPathMatches, schemaTypeIs, scopeEndIs, scopeEndsWith, setAjv, setConfig, setLocale, setReadonly, setSchema, setTranslator, setUISchema, setValidationMode, showAsRequired, subErrorsAt, toDataPath, toDataPathSegments, transformPathToI18nPrefix, uiTypeIs, uischemaRegistryReducer, unregisterCell, unregisterDefaultData, unregisterRenderer, unregisterUISchema, unsetReadonly, update, updateCore, updateErrors, updateI18n, validate, withIncreasedRank };
2208
+ export { ADD_CELL, ADD_DEFAULT_DATA, ADD_RENDERER, ADD_UI_SCHEMA, index as Actions, Draft4, Generate, Helpers, INIT, NOT_APPLICABLE, Paths, REMOVE_CELL, REMOVE_DEFAULT_DATA, REMOVE_RENDERER, REMOVE_UI_SCHEMA, Resolve, RuleEffect, Runtime, SET_AJV, SET_CONFIG, SET_LOCALE, SET_SCHEMA, SET_TRANSLATOR, SET_UISCHEMA, SET_VALIDATION_MODE, index$1 as Test, UPDATE_CORE, UPDATE_DATA, UPDATE_ERRORS, UPDATE_I18N, VALIDATE, and, categorizationHasCategory, cellReducer, clearAllIds, compose, compose as composePaths, composeWithUi, computeLabel, configReducer, controlDefaultProps, convertToValidClassName, coreReducer, createAjv, createCleanLabel, createCombinatorRenderInfos, createControlElement, createDefaultValue, createId, createLabelDescriptionFrom, decode, defaultDataReducer, defaultErrorTranslator, defaultJsonFormsI18nState, defaultMapDispatchToControlProps, defaultMapStateToEnumCellProps, defaultTranslator, deriveLabelForUISchemaElement, deriveTypes, encode, enumToEnumOptionMapper, errorAt, errorsAt, evalEnablement, evalVisibility, extractAjv, extractData, extractDefaultData, extractSchema, extractUiSchema, fetchErrorTranslator, fetchLocale, fetchTranslator, findAllRefs, findMatchingUISchema, findUISchema, formatErrorMessage, formatIs, generateDefaultUISchema, generateJsonSchema, getAjv, getCells, getCombinedErrorMessage, getConfig, getControlPath, getData, getDefaultData, getErrorAt, getErrorTranslator, getFirstPrimitiveProp, getI18nKey, getI18nKeyPrefix, getI18nKeyPrefixBySchema, getLocale, getRenderers, getSchema, getSubErrorsAt, getTranslator, getUISchemas, getUiSchema, hasCategory, hasEnableRule, hasShowRule, hasType, i18nReducer, init, isAllOfControl, isAnyOfControl, isArrayObjectControl, isBooleanControl, isCategorization, isCategory, isControl, isDateControl, isDateTimeControl, isDescriptionHidden, isEnabled, isEnumControl, isGroup, isInherentlyEnabled, isIntegerControl, isInternationalized, isLabelable, isLabeled, isLayout, isMultiLineControl, isNumberControl, isNumberFormatControl, isObjectArray, isObjectArrayControl, isObjectArrayWithNesting, isObjectControl, isOneOfControl, isOneOfEnumControl, isPrimitiveArrayControl, isRangeControl, isScopable, isScoped, isStringControl, isTimeControl, isVisible, iterateSchema, jsonFormsReducerConfig, layoutDefaultProps, mapDispatchToArrayControlProps, mapDispatchToCellProps, mapDispatchToControlProps, mapDispatchToMultiEnumProps, mapStateToAllOfProps, mapStateToAnyOfProps, mapStateToArrayControlProps, mapStateToArrayLayoutProps, mapStateToCellProps, mapStateToCombinatorRendererProps, mapStateToControlProps, mapStateToControlWithDetailProps, mapStateToDispatchCellProps, mapStateToEnumControlProps, mapStateToJsonFormsRendererProps, mapStateToLabelProps, mapStateToLayoutProps, mapStateToMasterListItemProps, mapStateToMultiEnumControlProps, mapStateToOneOfEnumCellProps, mapStateToOneOfEnumControlProps, mapStateToOneOfProps, moveDown, moveUp, not, oneOfToEnumOptionMapper, optionIs, or, rankWith, registerCell, registerDefaultData, registerRenderer, registerUISchema, removeId, rendererReducer, resolveData, resolveSchema, schemaMatches, schemaSubPathMatches, schemaTypeIs, scopeEndIs, scopeEndsWith, setAjv, setConfig, setLocale, setReadonly, setSchema, setTranslator, setUISchema, setValidationMode, showAsRequired, subErrorsAt, toDataPath, toDataPathSegments, transformPathToI18nPrefix, uiTypeIs, uischemaRegistryReducer, unregisterCell, unregisterDefaultData, unregisterRenderer, unregisterUISchema, unsetReadonly, update, updateCore, updateErrors, updateI18n, validate, withIncreasedRank };
2174
2209
  //# sourceMappingURL=jsonforms-core.esm.js.map