@gravitee/graphene-core 3.51.0 → 3.52.0-fix-found-460-validation-scope.d4ca502

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 (63) hide show
  1. package/USAGE_GUIDE.md +15 -1
  2. package/dist/composed/AppLayout/AppLayout.d.ts +6 -0
  3. package/dist/composed/AppLayout/AppLayout.d.ts.map +1 -1
  4. package/dist/composed/AppSidebar/AppSidebar.d.ts +9 -1
  5. package/dist/composed/AppSidebar/AppSidebar.d.ts.map +1 -1
  6. package/dist/composed/AppSidebar/ContextSidebar.d.ts +6 -1
  7. package/dist/composed/AppSidebar/ContextSidebar.d.ts.map +1 -1
  8. package/dist/composed/AppSidebar/ContextToggleButton.d.ts +4 -1
  9. package/dist/composed/AppSidebar/ContextToggleButton.d.ts.map +1 -1
  10. package/dist/composed/AppSidebar/SidebarNavigation.d.ts +6 -1
  11. package/dist/composed/AppSidebar/SidebarNavigation.d.ts.map +1 -1
  12. package/dist/composed/AppSidebar/SidebarUpgradeFooter.d.ts +3 -1
  13. package/dist/composed/AppSidebar/SidebarUpgradeFooter.d.ts.map +1 -1
  14. package/dist/composed/AppSidebar/types.d.ts +4 -0
  15. package/dist/composed/AppSidebar/types.d.ts.map +1 -1
  16. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts +21 -1
  17. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
  18. package/dist/composed/JsonSchemaForm/SchemaField.d.ts.map +1 -1
  19. package/dist/composed/JsonSchemaForm/conditional/concretizePath.d.ts +1 -1
  20. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts +39 -0
  21. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts.map +1 -0
  22. package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
  23. package/dist/composed/JsonSchemaForm/form-bindings/applyVisibleDefaults.d.ts +49 -0
  24. package/dist/composed/JsonSchemaForm/form-bindings/applyVisibleDefaults.d.ts.map +1 -0
  25. package/dist/composed/JsonSchemaForm/form-bindings/extractDefaults.d.ts.map +1 -1
  26. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts +38 -0
  27. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts.map +1 -0
  28. package/dist/composed/JsonSchemaForm/form-bindings/indexSchemaRoot.d.ts +6 -0
  29. package/dist/composed/JsonSchemaForm/form-bindings/indexSchemaRoot.d.ts.map +1 -0
  30. package/dist/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.d.ts.map +1 -1
  31. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts +5 -3
  32. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts.map +1 -1
  33. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts +11 -5
  34. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts.map +1 -1
  35. package/dist/composed/JsonSchemaForm/index.d.ts +3 -0
  36. package/dist/composed/JsonSchemaForm/index.d.ts.map +1 -1
  37. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts +7 -3
  38. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts.map +1 -1
  39. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts +2 -0
  40. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts.map +1 -1
  41. package/dist/composed/JsonSchemaForm/schema/buildIndex.d.ts.map +1 -1
  42. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts +21 -0
  43. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts.map +1 -0
  44. package/dist/composed/JsonSchemaForm/schema/types.d.ts +6 -5
  45. package/dist/composed/JsonSchemaForm/schema/types.d.ts.map +1 -1
  46. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts +73 -0
  47. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts.map +1 -0
  48. package/dist/composed/JsonSchemaForm/utils/fieldKind.d.ts +18 -0
  49. package/dist/composed/JsonSchemaForm/utils/fieldKind.d.ts.map +1 -0
  50. package/dist/composed/JsonSchemaForm/utils/pickActiveVariant.d.ts +9 -4
  51. package/dist/composed/JsonSchemaForm/utils/pickActiveVariant.d.ts.map +1 -1
  52. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts +1 -2
  53. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts.map +1 -1
  54. package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts +1 -0
  55. package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts.map +1 -1
  56. package/dist/composed/SidebarMode/SidebarModeContext.d.ts +1 -0
  57. package/dist/composed/SidebarMode/SidebarModeContext.d.ts.map +1 -1
  58. package/dist/composed/SidebarMode/SidebarModeControl.d.ts +6 -1
  59. package/dist/composed/SidebarMode/SidebarModeControl.d.ts.map +1 -1
  60. package/dist/composed/ThemeProvider/ThemeProvider.d.ts +1 -0
  61. package/dist/composed/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  62. package/dist/index.js +1612 -537
  63. package/package.json +2 -1
@@ -0,0 +1,21 @@
1
+ import { JsonSchema } from '../models/json-schema.types';
2
+ /**
3
+ * The paths at which `<JsonSchemaForm>` shows an error message, for `values`: the fields it mounts
4
+ * whose component renders the error of its own path (inputs, selects, switches, code editors,
5
+ * arrays). An error anywhere else blocks the form with nothing on screen:
6
+ * - an object path (`ObjectField` and `OneOfField` render no error), a `oneOf` / `anyOf`
7
+ * aggregate, a root error;
8
+ * - a field the form has no renderer for (`SchemaField` omits it), a `null` field, a deprecated
9
+ * field;
10
+ * - the discriminator of the active variant, which `OneOfField` binds without an input;
11
+ * - a value inside a multi-select, a headers array or a code editor, which only show the error of
12
+ * their own path;
13
+ * - a field the form hides (`viewObject`).
14
+ *
15
+ * The active variant is the one that fits the data best, as in the resolver: a host that has the
16
+ * form's own picks passes them in `variantPicks`. `context` is the form's `context` prop. A schema
17
+ * the form cannot index returns an empty set. Internal: `hiddenFormErrors` reads it.
18
+ */
19
+ declare function displayedErrorPaths(schema: JsonSchema, values: Readonly<Record<string, unknown>>, context?: Readonly<Record<string, unknown>>, variantPicks?: ReadonlyMap<string, number>): ReadonlySet<string>;
20
+ export { displayedErrorPaths };
21
+ //# sourceMappingURL=displayedErrorPaths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"displayedErrorPaths.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/schema/displayedErrorPaths.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAK9D;;;;;;;;;;;;;;;;GAgBG;AACH,iBAAS,mBAAmB,CAC1B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACzC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAC3C,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GACzC,WAAW,CAAC,MAAM,CAAC,CAKrB;AAsCD,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -94,11 +94,12 @@ interface SchemaIndex {
94
94
  * `variants[i].properties.get(key)` instead — two variants can declare the same key with
95
95
  * different schemas, so there is no unambiguous static answer for the global map. */
96
96
  readonly nodeByPath: ReadonlyMap<string, SchemaNode>;
97
- /** Per-instance `basePath → active-variant-index` Map. Written by `OneOfField` when the
98
- * user picks a variant. Read by the same `OneOfField` for its `selectedIndex` init. The
99
- * resolver builds its own SchemaIndex (so its `variantIndices` is independent) and falls
100
- * back to data-shape ranking in `pickActiveVariantIndex` — for Gravitee plugin schemas
101
- * with `const` / `pattern` discriminators, this is equivalent. */
97
+ /** Per-instance `object path → active-variant-index` Map, the path relative to the form's
98
+ * `name`. Written by `OneOfField` when the user picks a variant, read by the same `OneOfField`
99
+ * for its `selectedIndex` init. `<JsonSchemaForm variantPicks>` replaces it with the host's
100
+ * Map, which the host also gives the resolver and `hiddenFormErrors`: the data alone cannot
101
+ * tell variants apart that share their discriminators (metrics-reporter's "JKS with path" and
102
+ * "JKS with content") or have none. */
102
103
  readonly variantIndices: Map<string, number>;
103
104
  }
104
105
  export type { DepBranch, ResolvedCondition, SchemaIndex, SchemaNode, SchemaVariant };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/schema/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;;;;;;;;;;;;;GAcG;AACH,UAAU,UAAU;IAClB,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,8FAA8F;IAC9F,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,kEAAkE;IAClE,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,+CAA+C;IAC/C,QAAQ,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACtD,8DAA8D;IAC9D,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAC5B,oDAAoD;IACpD,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,aAAa,EAAE,CAAC;IAC7C;iFAC6E;IAC7E,QAAQ,CAAC,SAAS,CAAC,EAAE,iBAAiB,CAAC;IACvC;;qGAEiG;IACjG,QAAQ,CAAC,SAAS,CAAC,EAAE,iBAAiB,CAAC;IACvC;;iDAE6C;IAC7C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;CACpD;AAED,UAAU,aAAa;IACrB;;mEAE+D;IAC/D,QAAQ,CAAC,MAAM,EAAE,SAAS;QAAE,QAAQ,CAAC,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E,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC;;mBAEe;IACf,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACtD;AAED;;;;;;;;;GASG;AACH,UAAU,iBAAiB;IACzB,QAAQ,CAAC,GAAG,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpD;AAED,UAAU,WAAW;IACnB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B;;0FAEsF;IACtF,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACrD;;;;;4CAKwC;IACxC,QAAQ,CAAC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC9C;AAED,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,73 @@
1
+ import { SchemaNode } from './types';
2
+ /** What a walk over the form values needs besides the object it is looking at. */
3
+ interface WalkEnv {
4
+ /** The full form values: condition paths are absolute. */
5
+ readonly root: unknown;
6
+ /** The form's `context` prop, read by `context.X` conditions. */
7
+ readonly context?: Readonly<Record<string, unknown>>;
8
+ /**
9
+ * The variants the user picked, by object path (what `OneOfField` writes in
10
+ * `SchemaIndex.variantIndices`). A pick the data contradicts is ignored. Without it the active
11
+ * variant is the one that fits the data best.
12
+ */
13
+ readonly variantPicks?: ReadonlyMap<string, number>;
14
+ }
15
+ /** A field the form mounts for an object. */
16
+ interface VisibleField {
17
+ readonly key: string;
18
+ readonly node: SchemaNode;
19
+ /** The field's path in the form values, with the live array indices. */
20
+ readonly path: string;
21
+ }
22
+ /** The fields `<JsonSchemaForm>` mounts for one object value, and the ones it leaves out. */
23
+ interface ObjectView {
24
+ /**
25
+ * The fields the form mounts, in render order: the object's own properties, the active variant's,
26
+ * then the properties of each active `dependencies` branch, less the ones whose `displayIf` does
27
+ * not match. A key declared twice (by the object and by a branch, say) appears twice. The active
28
+ * variant's discriminators are in here too, although the form binds them without an input: they
29
+ * are the keys of `consts`.
30
+ */
31
+ readonly visible: readonly VisibleField[];
32
+ /**
33
+ * The keys declared at this object that the form does not mount: a `displayIf` that does not
34
+ * match, or a key only inactive `dependencies` branches declare. The form unregisters the latter
35
+ * (`useDependencyBranchSync`) and spares a key an active branch declares too: mcp-acl's `LITERAL`
36
+ * and `EXPRESSION` branches both declare `patternValue`.
37
+ */
38
+ readonly hiddenKeys: readonly string[];
39
+ /** The keys of `hiddenKeys` a `displayIf` that does not match hides. */
40
+ readonly hiddenByDisplayIf: readonly string[];
41
+ /**
42
+ * The keys only inactive variants declare (their properties and their `dependencies` branches).
43
+ * The form does not mount them either, but they are kept apart from `hiddenKeys`: a value under
44
+ * such a key may be what makes another variant the active one on the next walk.
45
+ */
46
+ readonly inactiveVariantKeys: readonly string[];
47
+ /** The discriminators of the active variant, which the form writes in the values. */
48
+ readonly consts: readonly {
49
+ readonly key: string;
50
+ readonly value: unknown;
51
+ }[];
52
+ /** The index of the active variant in `node.variants`, when the node has variants. */
53
+ readonly activeVariantIndex?: number;
54
+ }
55
+ /**
56
+ * Which fields does `<JsonSchemaForm>` mount for `object`, the value at `path`? One answer for
57
+ * everything that walks values without rendering the form.
58
+ *
59
+ * In this order: the object's own properties; the active `oneOf` / `anyOf` variant
60
+ * (`pickActiveVariantIndex`) with its `dependencies` branches; every `dependencies` branch whose
61
+ * `showIf` matches; then `displayIf`. It looks at this object only: the caller goes down the
62
+ * visible fields, and through array items, itself.
63
+ */
64
+ declare function viewObject(node: SchemaNode, object: Readonly<Record<string, unknown>>, path: string, env: WalkEnv): ObjectView;
65
+ /**
66
+ * Does one of the declarations of `key` at this object (its own, a variant's, a `dependencies`
67
+ * branch's) deprecate it? The form mounts nothing for a deprecated property, and unregisters
68
+ * nothing either: its stored value stays, hidden or not.
69
+ */
70
+ declare function isDeprecatedKey(node: SchemaNode, key: string): boolean;
71
+ export { isDeprecatedKey, viewObject };
72
+ export type { ObjectView, VisibleField, WalkEnv };
73
+ //# sourceMappingURL=visibleFields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visibleFields.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/schema/visibleFields.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAgC,UAAU,EAAE,MAAM,SAAS,CAAC;AAExE,kFAAkF;AAClF,UAAU,OAAO;IACf,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,iEAAiE;IACjE,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACrD;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrD;AAED,6CAA6C;AAC7C,UAAU,YAAY;IACpB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,wEAAwE;IACxE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,6FAA6F;AAC7F,UAAU,UAAU;IAClB;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,CAAC;IAC1C;;;;;OAKG;IACH,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,wEAAwE;IACxE,QAAQ,CAAC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,qFAAqF;IACrF,QAAQ,CAAC,MAAM,EAAE,SAAS;QAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IAC9E,sFAAsF;IACtF,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACtC;AAID;;;;;;;;GAQG;AACH,iBAAS,UAAU,CACjB,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACzC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,OAAO,GACX,UAAU,CA0CZ;AA+CD;;;;GAIG;AACH,iBAAS,eAAe,CAAC,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAY/D;AAMD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC;AACvC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { JsonSchema } from '../models/json-schema.types';
2
+ /** The renderer `<SchemaField>` mounts for a schema node, named after its field component. */
3
+ type FieldKind = 'const' | 'enum' | 'multiSelect' | 'headersArray' | 'codeEditor' | 'null' | 'boolean' | 'number' | 'resourceType' | 'string' | 'object' | 'array';
4
+ /**
5
+ * Which renderer does a schema node get? `undefined` when the form has none for it. The one answer
6
+ * for `<SchemaField>` and for the helpers that walk values without rendering the form.
7
+ *
8
+ * A `const` with no `type` and no `enum` comes first: `ConstField`, which has no input and fills
9
+ * the const where the value is missing. **Shape-based** detection comes next (enum, oneOf-with-const, multi-select array, headers-array,
10
+ * code editor) because the same `type` (string / array) can drive different widgets depending on
11
+ * the schema's structure. **Type-based** detection then catches everything else: the primitives,
12
+ * objects and generic arrays. A structural `oneOf` / `anyOf` (variant block with `properties`) is
13
+ * an object: `ObjectField` inlines the `OneOfField` below its own property fields.
14
+ */
15
+ declare function fieldKindOf(schema: JsonSchema): FieldKind | undefined;
16
+ export { fieldKindOf };
17
+ export type { FieldKind };
18
+ //# sourceMappingURL=fieldKind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldKind.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/fieldKind.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAW9D,8FAA8F;AAC9F,KAAK,SAAS,GACV,OAAO,GACP,MAAM,GACN,aAAa,GACb,cAAc,GACd,YAAY,GACZ,MAAM,GACN,SAAS,GACT,QAAQ,GACR,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,OAAO,CAAC;AAEZ;;;;;;;;;;GAUG;AACH,iBAAS,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,CAmB9D;AASD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -4,13 +4,18 @@ import { JsonSchema } from '../models/json-schema.types';
4
4
  *
5
5
  * The shared `variantIndices` Map holds explicit user picks (written by the renderer when the
6
6
  * user changes variant). If its entry is still consistent with the data, we return it.
7
- * Otherwise we rank variants by data-shape fit (Formly / RJSF style: `const` equality required,
8
- * then `required` presence, then property-presence count) and return the best match — falling
9
- * back to index 0 when no variant scores positively.
7
+ * Otherwise we rank variants by data-shape fit (Formly / RJSF style: `const` and one-value `enum`
8
+ * equality required, then `required` presence, then property-presence count) and return the best
9
+ * match — falling back to index 0 when no variant scores positively.
10
10
  *
11
11
  * Caller supplies `getValue(key)` — `control._getWatch` for the renderer, raw `data[key]` for
12
12
  * the resolver — so this stays render-engine agnostic.
13
13
  */
14
14
  declare function pickActiveVariantIndex(variants: readonly JsonSchema[], basePath: string, variantIndices: ReadonlyMap<string, number> | undefined, getValue: (key: string) => unknown): number;
15
- export { pickActiveVariantIndex };
15
+ /**
16
+ * Do the discriminators of `variant` match the data: its `const` and one-value `enum` properties
17
+ * (kafka SASL, transform-avro-protobuf), and its `pattern` properties?
18
+ */
19
+ declare function variantAcceptsData(variant: JsonSchema, getValue: (key: string) => unknown): boolean;
20
+ export { pickActiveVariantIndex, variantAcceptsData };
16
21
  //# sourceMappingURL=pickActiveVariant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pickActiveVariant.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/pickActiveVariant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D;;;;;;;;;;;GAWG;AACH,iBAAS,sBAAsB,CAC7B,QAAQ,EAAE,SAAS,UAAU,EAAE,EAC/B,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EACvD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GACjC,MAAM,CAQR;AAgDD,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"pickActiveVariant.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/pickActiveVariant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D;;;;;;;;;;;GAWG;AACH,iBAAS,sBAAsB,CAC7B,QAAQ,EAAE,SAAS,UAAU,EAAE,EAC/B,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EACvD,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GACjC,MAAM,CAQR;AAMD;;;GAGG;AACH,iBAAS,kBAAkB,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,OAAO,CAU5F;AAiCD,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -4,8 +4,7 @@
4
4
  * root value itself.
5
5
  *
6
6
  * Shared by the conditional gates (`evalCondition`, reading `$eqContext` from the external
7
- * `context`) and the resolver (`resolveAt`'s `showIfMatches`, reading a discriminator value from
8
- * the form data).
7
+ * `context`) and the value walkers (`viewObject`, reading a watched value from the form data).
9
8
  */
10
9
  declare function readPath(source: unknown, path: string): unknown;
11
10
  export { readPath };
@@ -1 +1 @@
1
- {"version":3,"file":"readPath.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/readPath.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,iBAAS,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAQxD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"readPath.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/readPath.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,iBAAS,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAQxD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -30,6 +30,7 @@ interface LayoutSlotsContextValue {
30
30
  readonly resetSlots: (keys: ReadonlyArray<keyof LayoutSlots>) => void;
31
31
  }
32
32
  declare const DEFAULT_SLOTS: LayoutSlots;
33
+ /** Renders no element: no test id. */
33
34
  declare function LayoutSlotsProvider({ children }: {
34
35
  readonly children: ReactNode;
35
36
  }): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutSlotsContext.d.ts","sourceRoot":"","sources":["../../../src/composed/LayoutSlots/LayoutSlotsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAA8C,MAAM,OAAO,CAAC;AAClG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAEtF,UAAU,WAAW;IACnB,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC;IAC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AsC;AACtC,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAwB1E;AAED,iBAAS,cAAc,IAAI,uBAAuB,CAMjD;AAED,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,cAAc,EAAE,CAAC;AAC9D,YAAY,EAAE,WAAW,EAAE,uBAAuB,EAAE,CAAC"}
@@ -9,6 +9,7 @@ interface SidebarModeProviderProps {
9
9
  readonly children: ReactNode;
10
10
  readonly defaultMode?: SidebarMode;
11
11
  }
12
+ /** Renders no element: no test id. */
12
13
  declare function SidebarModeProvider({ children, defaultMode }: SidebarModeProviderProps): import("react").JSX.Element;
13
14
  export { SidebarModeProvider, useSidebarMode };
14
15
  export type { SidebarMode, SidebarModeContextValue, SidebarModeProviderProps };
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarModeContext.d.ts","sourceRoot":"","sources":["../../../src/composed/SidebarMode/SidebarModeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAA8C,MAAM,OAAO,CAAC;AAElG,KAAK,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,cAAc,CAAC;AAI7D,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CAC/C;AAID,iBAAS,cAAc,IAAI,uBAAuB,CAMjD;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;CACpC;AAqBD,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,WAA4B,EAAE,EAAE,wBAAwB,+BAWhG;AAED,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,CAAC"}
1
+ {"version":3,"file":"SidebarModeContext.d.ts","sourceRoot":"","sources":["../../../src/composed/SidebarMode/SidebarModeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,SAAS,EAA8C,MAAM,OAAO,CAAC;AAElG,KAAK,WAAW,GAAG,UAAU,GAAG,WAAW,GAAG,cAAc,CAAC;AAI7D,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CAC/C;AAID,iBAAS,cAAc,IAAI,uBAAuB,CAMjD;AAED,UAAU,wBAAwB;IAChC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC;CACpC;AAqBD,sCAAsC;AACtC,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,WAA4B,EAAE,EAAE,wBAAwB,+BAWhG;AAED,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1,7 +1,12 @@
1
1
  interface SidebarModeControlProps {
2
+ /**
3
+ * Lands on the trigger `<button>`. Popover content: `${id}-content`, each mode: `${id}-option-<mode>`
4
+ * (`expanded`, `collapsed`, `hover-expand`).
5
+ */
6
+ readonly 'data-testid'?: string;
2
7
  readonly className?: string;
3
8
  }
4
- declare function SidebarModeControl({ className }: SidebarModeControlProps): import("react").JSX.Element;
9
+ declare function SidebarModeControl({ className, 'data-testid': testId }: SidebarModeControlProps): import("react").JSX.Element;
5
10
  declare namespace SidebarModeControl {
6
11
  var displayName: string;
7
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarModeControl.d.ts","sourceRoot":"","sources":["../../../src/composed/SidebarMode/SidebarModeControl.tsx"],"names":[],"mappings":"AAgBA,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,EAAE,uBAAuB,+BAmDjE;kBAnDQ,kBAAkB;;;AAuD3B,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
1
+ {"version":3,"file":"SidebarModeControl.d.ts","sourceRoot":"","sources":["../../../src/composed/SidebarMode/SidebarModeControl.tsx"],"names":[],"mappings":"AAiBA,UAAU,uBAAuB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,uBAAuB,+BAyDxF;kBAzDQ,kBAAkB;;;AA6D3B,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
@@ -11,6 +11,7 @@ interface ThemeProviderProps {
11
11
  readonly children: ReactNode;
12
12
  readonly defaultMode?: ThemeMode;
13
13
  }
14
+ /** Renders no element: no test id. */
14
15
  declare function ThemeProvider({ children, defaultMode }: ThemeProviderProps): import("react").JSX.Element;
15
16
  declare function useTheme(): ThemeContextValue;
16
17
  export { THEME_MODE_STORAGE_KEY, ThemeProvider, useTheme };
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../src/composed/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAC7C,KAAK,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;AAItC,QAAA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