From 63934f563680356bc5bbc1e402dc7a3dacfbf145 Mon Sep 17 00:00:00 2001 From: LukasBoll Date: Thu, 6 Jul 2023 18:10:22 +0200 Subject: [PATCH] change path to JSON pointer --- .../src/other/master-detail/master.ts | 7 ++- .../test/master-detail.spec.ts | 6 +- packages/core/src/i18n/i18nUtil.ts | 6 +- packages/core/src/reducers/core.ts | 27 +++++---- packages/core/src/reducers/i18n.ts | 23 +++++++- packages/core/src/util/path.ts | 32 ++++++---- packages/core/src/util/resolvers.ts | 2 +- packages/core/src/util/util.ts | 5 +- packages/core/test/i18n/i18nUtil.test.ts | 20 +++---- packages/core/test/reducers/core.test.ts | 58 +++++++++---------- packages/core/test/util/cell.test.ts | 12 ++-- packages/core/test/util/path.test.ts | 55 ++++++++++-------- packages/core/test/util/renderer.test.ts | 15 ++--- packages/core/test/util/resolvers.test.ts | 2 +- packages/examples/src/examples/object.ts | 9 ++- .../complex/MaterialArrayControlRenderer.tsx | 2 +- .../src/complex/MaterialTableControl.tsx | 2 +- .../renderers/MaterialBooleanCell.test.tsx | 33 ++++++----- .../MaterialBooleanToggleCell.test.tsx | 28 ++++----- .../test/renderers/MaterialDateCell.test.tsx | 26 ++++----- .../test/renderers/MaterialEnumCell.test.tsx | 2 +- .../renderers/MaterialEnumControl.test.tsx | 2 +- .../renderers/MaterialIntegerCell.test.tsx | 28 ++++----- .../renderers/MaterialNumberCell.test.tsx | 28 ++++----- .../renderers/MaterialOneOfEnumCell.test.tsx | 2 +- .../test/renderers/MaterialTextCell.test.tsx | 44 +++++++------- .../test/renderers/MaterialTimeCell.test.tsx | 22 +++---- packages/react/test/JsonFormsContext.test.tsx | 4 +- .../src/complex/TableArrayControl.tsx | 4 +- .../test/renderers/BooleanCell.test.tsx | 28 ++++----- .../test/renderers/DateCell.test.tsx | 26 ++++----- .../test/renderers/DateTimeCell.test.tsx | 28 ++++----- .../test/renderers/EnumCell.test.tsx | 22 +++---- .../test/renderers/IntegerCell.test.tsx | 28 ++++----- .../test/renderers/NumberCell.test.tsx | 28 ++++----- .../test/renderers/SliderCell.test.tsx | 28 ++++----- .../test/renderers/TextAreaCell.test.tsx | 44 +++++++++----- .../test/renderers/TextCell.test.tsx | 46 +++++++-------- .../test/renderers/TimeCell.test.tsx | 28 ++++----- 39 files changed, 439 insertions(+), 373 deletions(-) diff --git a/packages/angular-material/src/other/master-detail/master.ts b/packages/angular-material/src/other/master-detail/master.ts index 8b8f58b3d..dc8bb8d03 100644 --- a/packages/angular-material/src/other/master-detail/master.ts +++ b/packages/angular-material/src/other/master-detail/master.ts @@ -87,7 +87,7 @@ export const removeSchemaKeywords = (path: string) => {