@jsonforms/core 3.0.0-beta.2 → 3.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/docs/assets/js/search.json +1 -1
- package/docs/enums/ruleeffect.html +4 -4
- package/docs/globals.html +307 -89
- package/docs/index.html +47 -4
- package/docs/interfaces/addcellrendereraction.html +3 -3
- package/docs/interfaces/addrendereraction.html +3 -3
- package/docs/interfaces/adduischemaaction.html +3 -3
- package/docs/interfaces/andcondition.html +2 -2
- package/docs/interfaces/arraylayoutprops.html +2 -2
- package/docs/interfaces/categorization.html +24 -16
- package/docs/interfaces/category.html +24 -16
- package/docs/interfaces/combinatorrendererprops.html +6 -6
- package/docs/interfaces/composablecondition.html +2 -2
- package/docs/interfaces/condition.html +1 -1
- package/docs/interfaces/controlelement.html +38 -15
- package/docs/interfaces/grouplayout.html +24 -12
- package/docs/interfaces/horizontallayout.html +4 -4
- package/docs/interfaces/initactionoptions.html +14 -0
- package/docs/interfaces/internationalizable.html +158 -0
- package/docs/interfaces/jsonformscore.html +17 -3
- package/docs/interfaces/labeldescription.html +2 -2
- package/docs/interfaces/labeled.html +182 -0
- package/docs/interfaces/labelelement.html +4 -4
- package/docs/interfaces/lableable.html +184 -0
- package/docs/interfaces/layout.html +4 -4
- package/docs/interfaces/leafcondition.html +9 -8
- package/docs/interfaces/orcondition.html +2 -2
- package/docs/interfaces/registerdefaultdataaction.html +3 -3
- package/docs/interfaces/removecellrendereraction.html +3 -3
- package/docs/interfaces/removerendereraction.html +3 -3
- package/docs/interfaces/removeuischemaaction.html +2 -2
- package/docs/interfaces/rule.html +2 -2
- package/docs/interfaces/schemabasedcondition.html +9 -8
- package/docs/interfaces/scopable.html +3 -9
- package/docs/interfaces/scoped.html +183 -0
- package/docs/interfaces/setajvaction.html +2 -2
- package/docs/interfaces/setconfigaction.html +2 -2
- package/docs/interfaces/setlocaleaction.html +2 -2
- package/docs/interfaces/setschemaaction.html +2 -2
- package/docs/interfaces/settranslatoraction.html +3 -3
- package/docs/interfaces/setuischemaaction.html +2 -2
- package/docs/interfaces/setvalidationmodeaction.html +2 -2
- package/docs/interfaces/statepropsofarraylayout.html +2 -2
- package/docs/interfaces/statepropsofcombinator.html +6 -6
- package/docs/interfaces/uischemaelement.html +3 -3
- package/docs/interfaces/unregisterdefaultdataaction.html +2 -2
- package/docs/interfaces/updatei18naction.html +4 -4
- package/docs/interfaces/verticallayout.html +4 -4
- package/lib/actions/actions.d.ts +1 -0
- package/lib/jsonforms-core.cjs.js +74 -31
- package/lib/jsonforms-core.cjs.js.map +1 -1
- package/lib/jsonforms-core.esm.js +60 -29
- package/lib/jsonforms-core.esm.js.map +1 -1
- package/lib/models/uischema.d.ts +40 -23
- package/lib/reducers/core.d.ts +1 -0
- package/lib/util/runtime.d.ts +1 -2
- package/lib/util/util.d.ts +6 -6
- package/package.json +2 -2
- package/src/actions/actions.ts +1 -0
- package/src/i18n/i18nUtil.ts +10 -7
- package/src/models/uischema.ts +59 -23
- package/src/reducers/core.ts +30 -3
- package/src/testers/testers.ts +10 -13
- package/src/util/path.ts +9 -5
- package/src/util/renderer.ts +6 -3
- package/src/util/runtime.ts +1 -1
- package/src/util/util.ts +8 -8
- package/stats.html +1 -1
- package/test/i18n/i18nUtil.test.ts +41 -1
- package/test/reducers/core.test.ts +203 -1
- package/test/util/renderer.test.ts +1 -1
|
@@ -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', 'object'].includes(typeof obj.label);
|
|
297
302
|
|
|
298
303
|
const move = (array, index, delta) => {
|
|
299
304
|
const newIndex = index + delta;
|
|
@@ -356,6 +361,7 @@ const initState = {
|
|
|
356
361
|
validator: undefined,
|
|
357
362
|
ajv: undefined,
|
|
358
363
|
validationMode: 'ValidateAndShow',
|
|
364
|
+
additionalErrors: []
|
|
359
365
|
};
|
|
360
366
|
const reuseAjvForSchema = (ajv, schema) => {
|
|
361
367
|
if (schema.hasOwnProperty('id') || schema.hasOwnProperty('$id')) {
|
|
@@ -399,6 +405,18 @@ const hasValidationModeOption = (option) => {
|
|
|
399
405
|
}
|
|
400
406
|
return false;
|
|
401
407
|
};
|
|
408
|
+
const hasAdditionalErrorsOption = (option) => {
|
|
409
|
+
if (option) {
|
|
410
|
+
return option.additionalErrors !== undefined;
|
|
411
|
+
}
|
|
412
|
+
return false;
|
|
413
|
+
};
|
|
414
|
+
const getAdditionalErrors = (state, action) => {
|
|
415
|
+
if (action && hasAdditionalErrorsOption(action.options)) {
|
|
416
|
+
return action.options.additionalErrors;
|
|
417
|
+
}
|
|
418
|
+
return state.additionalErrors;
|
|
419
|
+
};
|
|
402
420
|
const coreReducer = (state = initState, action) => {
|
|
403
421
|
switch (action.type) {
|
|
404
422
|
case INIT: {
|
|
@@ -406,11 +424,13 @@ const coreReducer = (state = initState, action) => {
|
|
|
406
424
|
const validationMode = getValidationMode(state, action);
|
|
407
425
|
const v = validationMode === 'NoValidation' ? undefined : thisAjv.compile(action.schema);
|
|
408
426
|
const e = validate(v, action.data);
|
|
427
|
+
const additionalErrors = getAdditionalErrors(state, action);
|
|
409
428
|
return {
|
|
410
429
|
...state,
|
|
411
430
|
data: action.data,
|
|
412
431
|
schema: action.schema,
|
|
413
432
|
uischema: action.uischema,
|
|
433
|
+
additionalErrors,
|
|
414
434
|
errors: e,
|
|
415
435
|
validator: v,
|
|
416
436
|
ajv: thisAjv,
|
|
@@ -434,13 +454,15 @@ const coreReducer = (state = initState, action) => {
|
|
|
434
454
|
else if (state.data !== action.data) {
|
|
435
455
|
errors = validate(validator, action.data);
|
|
436
456
|
}
|
|
457
|
+
const additionalErrors = getAdditionalErrors(state, action);
|
|
437
458
|
const stateChanged = state.data !== action.data ||
|
|
438
459
|
state.schema !== action.schema ||
|
|
439
460
|
state.uischema !== action.uischema ||
|
|
440
461
|
state.ajv !== thisAjv ||
|
|
441
462
|
state.errors !== errors ||
|
|
442
463
|
state.validator !== validator ||
|
|
443
|
-
state.validationMode !== validationMode
|
|
464
|
+
state.validationMode !== validationMode ||
|
|
465
|
+
state.additionalErrors !== additionalErrors;
|
|
444
466
|
return stateChanged
|
|
445
467
|
? {
|
|
446
468
|
...state,
|
|
@@ -451,6 +473,7 @@ const coreReducer = (state = initState, action) => {
|
|
|
451
473
|
errors: isEqual(errors, state.errors) ? state.errors : errors,
|
|
452
474
|
validator: validator,
|
|
453
475
|
validationMode: validationMode,
|
|
476
|
+
additionalErrors
|
|
454
477
|
}
|
|
455
478
|
: state;
|
|
456
479
|
}
|
|
@@ -594,7 +617,11 @@ const isObjectSchema$1 = (schema) => {
|
|
|
594
617
|
return schema?.type === 'object' || !!schema?.properties;
|
|
595
618
|
};
|
|
596
619
|
const filteredErrorKeywords = ['additionalProperties', 'allOf', 'anyOf', 'oneOf'];
|
|
597
|
-
const getErrorsAt = (instancePath, schema, matchPath) => (state) =>
|
|
620
|
+
const getErrorsAt = (instancePath, schema, matchPath) => (state) => {
|
|
621
|
+
const errors = state.errors ?? [];
|
|
622
|
+
const additionalErrors = state.additionalErrors ?? [];
|
|
623
|
+
return errorsAt(instancePath, schema, matchPath)(state.validationMode === 'ValidateAndHide' ? additionalErrors : [...errors, ...additionalErrors]);
|
|
624
|
+
};
|
|
598
625
|
const errorAt = (instancePath, schema) => getErrorsAt(instancePath, schema, path => path === instancePath);
|
|
599
626
|
const subErrorsAt = (instancePath, schema) => getErrorsAt(instancePath, schema, path => path.startsWith(instancePath));
|
|
600
627
|
|
|
@@ -613,7 +640,10 @@ const defaultDataReducer = (state = [], action) => {
|
|
|
613
640
|
const extractDefaultData = (state) => state;
|
|
614
641
|
|
|
615
642
|
const getI18nKeyPrefixBySchema = (schema, uischema) => {
|
|
616
|
-
|
|
643
|
+
if (isInternationalized(uischema)) {
|
|
644
|
+
return uischema.i18n;
|
|
645
|
+
}
|
|
646
|
+
return schema?.i18n ?? undefined;
|
|
617
647
|
};
|
|
618
648
|
const transformPathToI18nPrefix = (path) => {
|
|
619
649
|
return (path
|
|
@@ -631,27 +661,27 @@ const getI18nKey = (schema, uischema, path, key) => {
|
|
|
631
661
|
const defaultTranslator = (_id, defaultMessage) => defaultMessage;
|
|
632
662
|
const defaultErrorTranslator = (error, t, uischema) => {
|
|
633
663
|
const i18nKey = getI18nKey(error.parentSchema, uischema, getControlPath(error), `error.${error.keyword}`);
|
|
634
|
-
const specializedKeywordMessage = t(i18nKey, undefined);
|
|
664
|
+
const specializedKeywordMessage = t(i18nKey, undefined, { error });
|
|
635
665
|
if (specializedKeywordMessage !== undefined) {
|
|
636
666
|
return specializedKeywordMessage;
|
|
637
667
|
}
|
|
638
|
-
const genericKeywordMessage = t(`error.${error.keyword}`, undefined);
|
|
668
|
+
const genericKeywordMessage = t(`error.${error.keyword}`, undefined, { error });
|
|
639
669
|
if (genericKeywordMessage !== undefined) {
|
|
640
670
|
return genericKeywordMessage;
|
|
641
671
|
}
|
|
642
|
-
const messageCustomization = t(error.message, undefined);
|
|
672
|
+
const messageCustomization = t(error.message, undefined, { error });
|
|
643
673
|
if (messageCustomization !== undefined) {
|
|
644
674
|
return messageCustomization;
|
|
645
675
|
}
|
|
646
676
|
if (error.keyword === 'required' && error.message?.startsWith('must have required property')) {
|
|
647
|
-
return t('is a required property', 'is a required property');
|
|
677
|
+
return t('is a required property', 'is a required property', { error });
|
|
648
678
|
}
|
|
649
679
|
return error.message;
|
|
650
680
|
};
|
|
651
681
|
const getCombinedErrorMessage = (errors, et, t, schema, uischema, path) => {
|
|
652
682
|
if (errors.length > 0 && t) {
|
|
653
683
|
const customErrorKey = getI18nKey(schema, uischema, path, 'error.custom');
|
|
654
|
-
const specializedErrorMessage = t(customErrorKey, undefined);
|
|
684
|
+
const specializedErrorMessage = t(customErrorKey, undefined, { schema, uischema, path, errors });
|
|
655
685
|
if (specializedErrorMessage !== undefined) {
|
|
656
686
|
return specializedErrorMessage;
|
|
657
687
|
}
|
|
@@ -769,7 +799,7 @@ const schemaSubPathMatches = (subPath, predicate) => (uischema, schema, rootSche
|
|
|
769
799
|
const schemaTypeIs = (expectedType) => schemaMatches(schema => !isEmpty(schema) && hasType(schema, expectedType));
|
|
770
800
|
const formatIs = (expectedFormat) => schemaMatches(schema => !isEmpty(schema) &&
|
|
771
801
|
schema.format === expectedFormat &&
|
|
772
|
-
schema
|
|
802
|
+
hasType(schema, 'string'));
|
|
773
803
|
const uiTypeIs = (expected) => (uischema) => !isEmpty(uischema) && uischema.type === expected;
|
|
774
804
|
const optionIs = (optionName, optionValue) => (uischema) => {
|
|
775
805
|
if (isEmpty(uischema)) {
|
|
@@ -854,10 +884,7 @@ const isObjectArrayWithNesting = (uischema, schema, rootSchema) => {
|
|
|
854
884
|
}
|
|
855
885
|
const schemaPath = uischema.scope;
|
|
856
886
|
const resolvedSchema = resolveSchema(schema, schemaPath, rootSchema ?? schema);
|
|
857
|
-
|
|
858
|
-
object: 2,
|
|
859
|
-
array: 1
|
|
860
|
-
};
|
|
887
|
+
let objectDepth = 0;
|
|
861
888
|
if (resolvedSchema !== undefined && resolvedSchema.items !== undefined) {
|
|
862
889
|
if (traverse(resolvedSchema.items, val => {
|
|
863
890
|
if (val === schema) {
|
|
@@ -866,15 +893,16 @@ const isObjectArrayWithNesting = (uischema, schema, rootSchema) => {
|
|
|
866
893
|
if (val.$ref !== undefined) {
|
|
867
894
|
return false;
|
|
868
895
|
}
|
|
869
|
-
if (
|
|
870
|
-
|
|
896
|
+
if (hasType(val, 'object')) {
|
|
897
|
+
objectDepth++;
|
|
898
|
+
if (objectDepth === 2) {
|
|
899
|
+
return true;
|
|
900
|
+
}
|
|
871
901
|
}
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
return false;
|
|
902
|
+
if (hasType(val, 'array')) {
|
|
903
|
+
return true;
|
|
875
904
|
}
|
|
876
|
-
|
|
877
|
-
return wantedNestingByType[val.type] === 0;
|
|
905
|
+
return false;
|
|
878
906
|
}, rootSchema)) {
|
|
879
907
|
return true;
|
|
880
908
|
}
|
|
@@ -1065,11 +1093,14 @@ const toDataPath = (schemaPath) => {
|
|
|
1065
1093
|
return toDataPathSegments(schemaPath).join('.');
|
|
1066
1094
|
};
|
|
1067
1095
|
const composeWithUi = (scopableUi, path) => {
|
|
1096
|
+
if (!isScoped(scopableUi)) {
|
|
1097
|
+
return path ?? '';
|
|
1098
|
+
}
|
|
1068
1099
|
const segments = toDataPathSegments(scopableUi.scope);
|
|
1069
|
-
if (isEmpty(segments)
|
|
1070
|
-
return '';
|
|
1100
|
+
if (isEmpty(segments)) {
|
|
1101
|
+
return path ?? '';
|
|
1071
1102
|
}
|
|
1072
|
-
return
|
|
1103
|
+
return compose(path, segments.join('.'));
|
|
1073
1104
|
};
|
|
1074
1105
|
const encode = (segment) => segment?.replace(/~/g, '~0').replace(/\//g, '~1');
|
|
1075
1106
|
const decode = (pointerSegment) => pointerSegment?.replace(/~1/g, '/').replace(/~0/, '~');
|
|
@@ -1303,10 +1334,10 @@ const Resolve = {
|
|
|
1303
1334
|
schema: resolveSchema,
|
|
1304
1335
|
data: resolveData
|
|
1305
1336
|
};
|
|
1306
|
-
const
|
|
1337
|
+
const fromScoped = (scopable) => toDataPathSegments(scopable.scope).join('.');
|
|
1307
1338
|
const Paths = {
|
|
1308
1339
|
compose: compose,
|
|
1309
|
-
|
|
1340
|
+
fromScoped
|
|
1310
1341
|
};
|
|
1311
1342
|
const Runtime = {
|
|
1312
1343
|
isEnabled(uischema, data, ajv) {
|
|
@@ -1450,8 +1481,8 @@ const mapStateToControlProps = (state, ownProps) => {
|
|
|
1450
1481
|
const schema = resolvedSchema ?? rootSchema;
|
|
1451
1482
|
const t = getTranslator()(state);
|
|
1452
1483
|
const te = getErrorTranslator()(state);
|
|
1453
|
-
const i18nLabel = t(getI18nKey(schema, uischema, path, 'label'), label);
|
|
1454
|
-
const i18nDescription = t(getI18nKey(schema, uischema, path, 'description'), description);
|
|
1484
|
+
const i18nLabel = t(getI18nKey(schema, uischema, path, 'label'), label, { schema, uischema, path, errors });
|
|
1485
|
+
const i18nDescription = t(getI18nKey(schema, uischema, path, 'description'), description, { schema, uischema, path, errors });
|
|
1455
1486
|
const i18nErrorMessage = getCombinedErrorMessage(errors, te, t, schema, uischema, path);
|
|
1456
1487
|
return {
|
|
1457
1488
|
data,
|
|
@@ -1640,7 +1671,7 @@ const mapStateToJsonFormsRendererProps = (state, ownProps) => {
|
|
|
1640
1671
|
let uischema = ownProps.uischema;
|
|
1641
1672
|
if (uischema === undefined) {
|
|
1642
1673
|
if (ownProps.schema) {
|
|
1643
|
-
uischema = findUISchema(state.jsonforms.uischemas, ownProps.schema, undefined, ownProps.path);
|
|
1674
|
+
uischema = findUISchema(state.jsonforms.uischemas, ownProps.schema, undefined, ownProps.path, undefined, undefined, state.jsonforms.core.schema);
|
|
1644
1675
|
}
|
|
1645
1676
|
else {
|
|
1646
1677
|
uischema = getUiSchema(state);
|
|
@@ -2148,5 +2179,5 @@ const Helpers = {
|
|
|
2148
2179
|
convertToValidClassName
|
|
2149
2180
|
};
|
|
2150
2181
|
|
|
2151
|
-
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 };
|
|
2182
|
+
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, 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, 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 };
|
|
2152
2183
|
//# sourceMappingURL=jsonforms-core.esm.js.map
|