@vitavision/forms 0.6.5 → 0.8.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/README.md CHANGED
@@ -18,6 +18,19 @@ is folded under "Advanced" when its default already works; a schema that knows b
18
18
  its decisions with `"x-primary": true` (pydantic: `json_schema_extra={"x-primary": True}`),
19
19
  and `false` folds a field whatever its default.
20
20
 
21
+ `SchemaValueForm`, which edits a **whole JSON value** (a config, nested to any depth)
22
+ through its schema and hands back the whole next value — `value` / `defaultValue` /
23
+ `onValueChange`. It reads `$ref` into `$defs`, `anyOf: [T, null]` and `type: ["T", "null"]`,
24
+ serde enums (plain, externally tagged including newtype variants, internally tagged on `kind`),
25
+ tuples, string lists, and falls back to a JSON textarea for the rest. What the schema cannot
26
+ say goes in a `UiSchema` (`groups`, per-path `fields`, a `renderField` escape hatch). Pure
27
+ helpers for building your own: `defaultValueForSchema`, `resolveSchema`, `shapeOf`, `fieldAt` /
28
+ `fieldsAt`, `getAtPath` / `setAtPath`, `firstParagraph`.
29
+
30
+ ```tsx
31
+ <SchemaValueForm schema={schema} value={config} onValueChange={setConfig} ui={ui} columns={1} />
32
+ ```
33
+
21
34
  ## License
22
35
 
23
36
  Licensed under either of
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ReactNode, Ref } from "react";
1
2
  //#region src/api/schemaForm.d.ts
2
3
  /**
3
4
  * Turning a JSON Schema into a form, and a form back into options.
@@ -166,5 +167,462 @@ export declare function SchemaForm({ fields, values, onChange }: {
166
167
  onChange: (next: RawValues) => void;
167
168
  }): import("react").JSX.Element;
168
169
  //#endregion
169
- export type { ChoiceOption, FieldKind, FieldSpec, OptionsSchema, RawValues, SchemaNode };
170
+ //#region src/api/schemaNode.d.ts
171
+ /**
172
+ * The schema-normalisation both forms stand on: follow a `$ref`, look through the
173
+ * "or null" encodings, and name a field.
174
+ *
175
+ * `SchemaForm` (a flat "unset vs override" form) and `SchemaValueForm` (a full-value
176
+ * editor) differ in what they do with a schema, not in how they read one. Every shape that
177
+ * needs a decision — pydantic's `anyOf: [T, null]`, schemars' `type: ["T", "null"]`, a
178
+ * `$ref` with the field's own `default` and `description` written beside it — is decided
179
+ * here, once, so the two forms cannot drift into disagreeing about what a node *is*.
180
+ */
181
+ /**
182
+ * The subset of JSON Schema (draft 2020-12, as schemars and pydantic emit it) the forms
183
+ * read. Keywords the forms do not read are simply absent: a real schema carries `$schema`,
184
+ * `title` and `format` on the root and the form ignores what it does not know.
185
+ *
186
+ * A schema imported from a `.json` file is assignable as it is; a loosely typed one needs
187
+ * a cast (`as unknown as JsonSchema`).
188
+ */
189
+ interface JsonSchema {
190
+ /** A reference, normally into `$defs` (`#/$defs/Name`). */
191
+ $ref?: string | undefined;
192
+ /** Where a nested struct or an enum lands: schemars and pydantic never inline those. */
193
+ $defs?: Record<string, JsonSchema> | undefined;
194
+ /** The draft-07 spelling of `$defs`. */
195
+ definitions?: Record<string, JsonSchema> | undefined;
196
+ /** One type, or several (`["integer", "null"]` is a nullable integer). */
197
+ type?: string | string[] | undefined;
198
+ /** A human name. On a field it is a label; on a `$defs` entry it is a type name. */
199
+ title?: string | undefined;
200
+ /** Rustdoc or a docstring: Markdown, possibly several paragraphs. */
201
+ description?: string | undefined;
202
+ /** What applies when the field is absent. */
203
+ default?: unknown;
204
+ /** The one value allowed. */
205
+ const?: unknown;
206
+ /** The closed set of values allowed. */
207
+ enum?: unknown[] | undefined;
208
+ /** Rust integer and float widths: `uint`, `uint32`, `double`, … */
209
+ format?: string | undefined;
210
+ /** An object's fields, in schema order. */
211
+ properties?: Record<string, JsonSchema> | undefined;
212
+ /** The fields that must be present. */
213
+ required?: string[] | undefined;
214
+ /** `false` closes an object; a schema types a map's values. */
215
+ additionalProperties?: JsonSchema | boolean | undefined;
216
+ /** An array's element schema. */
217
+ items?: JsonSchema | boolean | undefined;
218
+ /** A tuple's per-position schemas. */
219
+ prefixItems?: JsonSchema[] | undefined;
220
+ /** The fewest elements. */
221
+ minItems?: number | undefined;
222
+ /** The most elements. */
223
+ maxItems?: number | undefined;
224
+ /** Exactly one of these (serde enums). */
225
+ oneOf?: JsonSchema[] | undefined;
226
+ /** At least one of these (`Option<T>` is `[T, null]`). */
227
+ anyOf?: JsonSchema[] | undefined;
228
+ /** All of these; the forms read only the one-entry form older schemars wrapped a `$ref` in. */
229
+ allOf?: JsonSchema[] | undefined;
230
+ /** Inclusive lower bound. */
231
+ minimum?: number | undefined;
232
+ /** Inclusive upper bound. */
233
+ maximum?: number | undefined;
234
+ /** Exclusive lower bound. */
235
+ exclusiveMinimum?: number | undefined;
236
+ /** Exclusive upper bound. */
237
+ exclusiveMaximum?: number | undefined;
238
+ /** The step a number moves in. */
239
+ multipleOf?: number | undefined;
240
+ /** The quantity's unit (`px`, `mm`): a vitavision extension, written by the Rust configs. */
241
+ "x-unit"?: string | undefined;
242
+ /** The schema's own answer to "does the caller have to think about this?" (`SchemaForm`). */
243
+ "x-primary"?: boolean | undefined;
244
+ }
245
+ /** A node after its `$ref` and its "or null" encoding have been looked through. */
246
+ interface ResolvedSchema<T extends JsonSchema = JsonSchema> {
247
+ /** The node that says what the value *is*: no `$ref`, and no null branch left to see. */
248
+ schema: T;
249
+ /** True when `null` was an accepted value of the node as written. */
250
+ nullable: boolean;
251
+ }
252
+ /**
253
+ * Follow a JSON Pointer `$ref` (`#`, `#/$defs/Name`, `#/definitions/Name`) from the root.
254
+ *
255
+ * @param ref - The `$ref` string. Only same-document references (`#…`) resolve.
256
+ * @param root - The document the pointer starts from.
257
+ * @returns The schema it points at, or `undefined` for an external reference, a path that
258
+ * does not exist, or a target that is not a schema object.
259
+ */
260
+ export declare function resolveRef(ref: string, root: JsonSchema): JsonSchema | undefined;
261
+ /**
262
+ * The node that says what a field *is*: `$ref` followed, `allOf: [X]` unwrapped and the
263
+ * "or null" encoding looked through, repeatedly, because each can hide the next (a `$ref`
264
+ * to an enum inside `anyOf: [{$ref}, null]`).
265
+ *
266
+ * @param node - A property or item schema as written.
267
+ * @param root - The document holding `$defs` (defaults to `node`, for a root schema).
268
+ * @returns The resolved node and whether `null` was among its accepted values. The field's
269
+ * own `default` and `description`, written beside a `$ref`, are kept.
270
+ */
271
+ export declare function resolveSchema<T extends JsonSchema>(node: T, root?: JsonSchema): ResolvedSchema<T>;
272
+ //#endregion
273
+ //#region src/api/uiSchema.d.ts
274
+ /** A titled set of fields, rendered together. */
275
+ interface UiGroup {
276
+ /** Stable id, used for keys and test hooks. */
277
+ id: string;
278
+ /** The heading. */
279
+ title: string;
280
+ /**
281
+ * The fields in the group, as dot paths from the form's root: `threshold`, `solver`,
282
+ * `solver.max_iters`. A path to an object brings its whole subtree; a path to a leaf
283
+ * brings only that leaf, and the object's other fields stay in the ungrouped remainder.
284
+ */
285
+ fields: string[];
286
+ /** Fold the group away behind a `Disclosure`. Otherwise it is a `Section`. */
287
+ collapsible?: boolean | undefined;
288
+ /** Whether a collapsible group starts open. Defaults to closed. */
289
+ defaultOpen?: boolean | undefined;
290
+ /** A line of explanation under the heading. */
291
+ hint?: ReactNode;
292
+ }
293
+ /** The widgets a field can be forced into with `FieldUi.widget`. */
294
+ type FieldWidget = "number" | "text" | "select" | "segmented" | "checkbox" | "switch" | "json" | "tuple-row" | "string-list";
295
+ /** Per-field presentation, looked up by the field's dot path. */
296
+ interface FieldUi {
297
+ /** The label, instead of the schema's `title` or the humanised key. */
298
+ label?: string | undefined;
299
+ /** Explanation shown in place of the schema's description. */
300
+ hint?: ReactNode;
301
+ /** Do not render the field. Its value is kept as it is. */
302
+ hidden?: boolean | undefined;
303
+ /**
304
+ * The control, instead of the one the schema's shape calls for. A widget that does not
305
+ * fit the field (`segmented` on a number) is ignored.
306
+ */
307
+ widget?: FieldWidget | undefined;
308
+ /** The unit written in the field, instead of the schema's `x-unit`. */
309
+ unit?: string | undefined;
310
+ /** Lower bound the control enforces, instead of the schema's `minimum`. */
311
+ min?: number | undefined;
312
+ /** Upper bound the control enforces, instead of the schema's `maximum`. */
313
+ max?: number | undefined;
314
+ /** Arrow-key step, instead of the schema's `multipleOf` (or 1 for an integer). */
315
+ step?: number | undefined;
316
+ /**
317
+ * Labels for an enum's values and a union's variants, by value or tag:
318
+ * `{ brown_conrady5: "Brown-Conrady" }`.
319
+ */
320
+ enumLabels?: Record<string, string> | undefined;
321
+ /** Columns the field takes in the grid. Containers and lists default to the full row. */
322
+ span?: 1 | 2 | undefined;
323
+ /**
324
+ * Where the description goes: `hint` (the default) is an `InfoHint` beside the label,
325
+ * `inline` is a line under the control, `none` drops it.
326
+ */
327
+ descriptionAs?: "hint" | "inline" | "none" | undefined;
328
+ /**
329
+ * Clearing a number input puts the default back (the default, `true`): the schema's
330
+ * non-null `default`, else the nearest legal value for a required field, else — for an
331
+ * optional field with no usable default — nothing, which removes the key (the schema
332
+ * default then applies). With `false` the field is left empty where it can be (an
333
+ * optional field loses its key) and keeps its value where it cannot (a required,
334
+ * non-nullable one). A required nullable field is set to `null`. An optional field is
335
+ * never set to `null` unless `clearTo` says so.
336
+ */
337
+ restoreDefaultOnClear?: boolean | undefined;
338
+ /**
339
+ * For a nullable field, what clearing writes. `"null"` writes `null` even when the key is
340
+ * optional — the way to let a user choose `None` for an `Option<T>` whose default is
341
+ * `Some(…)`, since for a serde `#[serde(default)]` field an absent key means the default
342
+ * and `null` means `None`. Left out, clearing an optional field removes the key and
343
+ * clearing a required nullable one writes `null` (see `restoreDefaultOnClear`). It has no
344
+ * effect on a field that is not nullable.
345
+ */
346
+ clearTo?: "null" | undefined;
347
+ }
348
+ /**
349
+ * App-supplied layout for a `SchemaValueForm`.
350
+ *
351
+ * Paths are dot paths from the root of the *value*: `solver.max_iters`, `sensor.kind`.
352
+ * An array element is its index (`cameras.0.id`), and `*` stands for any index
353
+ * (`cameras.*.id`). For a serde externally-tagged enum the tag is a path segment
354
+ * (`solver.robust_loss.Huber.scale`).
355
+ */
356
+ interface UiSchema {
357
+ /**
358
+ * Groups, in order. Fields in a group render under its heading; every visible field not
359
+ * claimed by a group renders after the groups, in schema order.
360
+ */
361
+ groups?: UiGroup[] | undefined;
362
+ /** Per-field presentation, by dot path. */
363
+ fields?: Record<string, FieldUi> | undefined;
364
+ }
365
+ /** What `renderField` is given for a field. */
366
+ interface RenderFieldContext {
367
+ /** The field's dot path from the root. */
368
+ path: string;
369
+ /** The field's schema with `$ref` and "or null" looked through. */
370
+ schema: JsonSchema;
371
+ /** The field's current value; `undefined` where the key is absent. */
372
+ value: unknown;
373
+ /** Replace the field's value (`undefined` removes the key). */
374
+ onChange: (next: unknown) => void;
375
+ /** Whether the whole form is disabled. */
376
+ disabled: boolean;
377
+ }
378
+ /**
379
+ * Take over a field. Return `undefined` to let the form's own control render, anything else
380
+ * to render in its place (and in its grid cell, with the field's span).
381
+ */
382
+ type RenderField = (context: RenderFieldContext) => ReactNode;
383
+ //#endregion
384
+ //#region src/components/SchemaValueForm.d.ts
385
+ /** Props of `SchemaValueForm`. */
386
+ interface SchemaValueFormProps {
387
+ /**
388
+ * The value's JSON Schema (draft 2020-12, as schemars emits it), `$defs` included. Not
389
+ * watched for change in the uncontrolled mode: give the form a `key` per schema.
390
+ */
391
+ schema: JsonSchema;
392
+ /** The value, for a controlled form. Complete: the form edits it, it does not complete it. */
393
+ value?: unknown;
394
+ /**
395
+ * The starting value, for an uncontrolled form. Without either, the form starts from
396
+ * `defaultValueForSchema(schema)`.
397
+ */
398
+ defaultValue?: unknown;
399
+ /**
400
+ * Called with the whole next value on each edit. The previous value is never mutated;
401
+ * untouched subtrees are shared with it, and keys the schema does not know are kept.
402
+ */
403
+ onValueChange?: ((next: unknown) => void) | undefined;
404
+ /** Layout the schema cannot carry: groups, labels, units, widgets. */
405
+ ui?: UiSchema | undefined;
406
+ /** `2` (the default) puts fields side by side from `sm:` up; `1` is one column, for a narrow rail. */
407
+ columns?: 1 | 2 | undefined;
408
+ /** Blocks every control. The value is still shown. */
409
+ disabled?: boolean | undefined;
410
+ /**
411
+ * Take over a field. Called for every field before the form's own control; return
412
+ * `undefined` to let the form render it. The result is placed in the field's grid cell
413
+ * as it is, so wrap it in a `Field` if it should look like its neighbours.
414
+ */
415
+ renderField?: RenderField | undefined;
416
+ /** Merged with the form's own classes through `cn`. */
417
+ className?: string | undefined;
418
+ /** The root element. */
419
+ ref?: Ref<HTMLDivElement> | undefined;
420
+ }
421
+ /**
422
+ * Edit a JSON value through its schema.
423
+ *
424
+ * Renders by the schema's shape: a number is a `NumberInput` (with its bounds, unit and an
425
+ * integer-only rule), a string an `Input`, a boolean a `Switch`, a closed set a
426
+ * `SegmentedControl` or a `Select`, a struct a nested fieldset, a serde enum a variant
427
+ * selector with the variant's fields (switching seeds them from the schema's defaults), a
428
+ * `null`-able block a switch that sets and unsets it, a list of strings an editable list, a
429
+ * fixed-length array a row of cells, and anything else a JSON textarea that keeps the last
430
+ * valid value while showing the parse error.
431
+ *
432
+ * The first paragraph of a field's description is its `InfoHint`. Round-trips: a value in,
433
+ * no edits, the same value out — the form never normalises on mount, and an edit changes
434
+ * only the leaf touched.
435
+ *
436
+ * The root is a `div` carrying `data-columns` and, while disabled, `data-disabled`. Wraps itself in a
437
+ * `TooltipProvider`, so it needs none above it.
438
+ */
439
+ export declare function SchemaValueForm({ schema, value, defaultValue, onValueChange, ui, columns, disabled, renderField, className, ref }: SchemaValueFormProps): import("react").JSX.Element;
440
+ //#endregion
441
+ //#region src/api/firstParagraph.d.ts
442
+ /**
443
+ * Descriptions are Markdown (Rustdoc comments, docstrings) and the form shows them as plain
444
+ * text in a hint. This is the conversion.
445
+ */
446
+ /**
447
+ * The first paragraph of a Markdown description as plain text, for a one-line hint.
448
+ *
449
+ * Strips emphasis, inline code, links (text kept, URL dropped), Rustdoc intra-doc links and
450
+ * backslash escapes, and joins the paragraph's lines with spaces. `snake_case` and a lone
451
+ * `*` are left alone. Later paragraphs — a Rustdoc `# Example` section, say — are dropped.
452
+ *
453
+ * @param description - A schema `description`, or nothing.
454
+ * @returns Plain text; `""` for no description.
455
+ */
456
+ export declare function firstParagraph(description: string | null | undefined): string;
457
+ //#endregion
458
+ //#region src/api/schemaValue.d.ts
459
+ /** A primitive an enum can hold. */
460
+ type EnumValue = string | number | boolean;
461
+ /** One value of a closed set. */
462
+ interface EnumOption {
463
+ /** The value as stored. */
464
+ value: EnumValue;
465
+ /** The label as shown: the variant's `title`, else the value. */
466
+ label: string;
467
+ /** The variant's own description (a `oneOf` entry's), if it has one. */
468
+ description?: string | undefined;
469
+ }
470
+ /** One field of an object: its key, its schema as written, and whether it must be present. */
471
+ interface FieldInfo {
472
+ /** The property key. */
473
+ key: string;
474
+ /** The property's schema as written (a `$ref` is not followed). */
475
+ schema: JsonSchema;
476
+ /** Whether the object's `required` lists the key. */
477
+ required: boolean;
478
+ }
479
+ /** A variant of an internally tagged enum. */
480
+ interface TaggedVariant {
481
+ /** The discriminator's value for this variant. */
482
+ tag: string;
483
+ /** The variant's `title`, else the tag. */
484
+ label: string;
485
+ /** The variant's description. */
486
+ description?: string | undefined;
487
+ /** The variant's object schema, resolved. */
488
+ schema: JsonSchema;
489
+ /** The variant's fields, without the discriminator. */
490
+ fields: FieldInfo[];
491
+ }
492
+ /** A variant of an externally tagged enum. */
493
+ interface ExternalVariant {
494
+ /** The variant name: the string for a unit variant, the sole key for one with data. */
495
+ tag: string;
496
+ /** The variant's `title`, else the tag. */
497
+ label: string;
498
+ /** The variant's description. */
499
+ description?: string | undefined;
500
+ /** What the variant carries (a struct's fields, or a newtype's one value); none for a unit variant. */
501
+ payload: JsonSchema | undefined;
502
+ }
503
+ /** What a schema node is, as far as a form is concerned. */
504
+ type SchemaShape =
505
+ /** A struct: its fields in schema order. */
506
+ {
507
+ kind: "object";
508
+ fields: FieldInfo[];
509
+ } | {
510
+ kind: "string";
511
+ } | {
512
+ kind: "integer";
513
+ } | {
514
+ kind: "number";
515
+ } | {
516
+ kind: "boolean";
517
+ } |
518
+ /** A closed set of primitives: `enum`, `const`, or `oneOf` of `{ const }`. */
519
+ {
520
+ kind: "enum";
521
+ options: EnumOption[];
522
+ } |
523
+ /** An enum whose variants are objects named by a shared `const` property. */
524
+ {
525
+ kind: "tagged";
526
+ discriminator: string;
527
+ variants: TaggedVariant[];
528
+ } |
529
+ /** A serde externally tagged enum. */
530
+ {
531
+ kind: "external";
532
+ variants: ExternalVariant[];
533
+ } |
534
+ /** An array of plain strings. */
535
+ {
536
+ kind: "string-list";
537
+ item: JsonSchema;
538
+ } |
539
+ /** A fixed-length array: `prefixItems`, or `minItems === maxItems` of numbers or objects. */
540
+ {
541
+ kind: "tuple";
542
+ items: JsonSchema[];
543
+ } |
544
+ /** Anything else: edited as JSON. */
545
+ {
546
+ kind: "json";
547
+ };
548
+ /**
549
+ * What a schema node is.
550
+ *
551
+ * Looks through `$ref` and the "or null" encodings first (see `resolveSchema`), then
552
+ * decides among the shapes of `SchemaShape`. A node it does not recognise is `json`, never
553
+ * an error: a caller can always express what the model accepts.
554
+ *
555
+ * @param node - A schema node as written.
556
+ * @param root - The document holding `$defs` (defaults to `node`).
557
+ * @returns The shape.
558
+ */
559
+ export declare function shapeOf(node: JsonSchema, root?: JsonSchema): SchemaShape;
560
+ /**
561
+ * A fresh value for a schema.
562
+ *
563
+ * Takes the `default` when there is one (a `default` written beside a `$ref` wins over the
564
+ * target's), `null` for a nullable node, and otherwise builds the value from the shape:
565
+ * an object gets its required fields and the fields that have a default, an enum its first
566
+ * value, a union its first variant, a number the nearest legal value to 0, a string `""`.
567
+ * The result is JSON, and for a schema this package can read, valid against it.
568
+ *
569
+ * @param schema - A schema node.
570
+ * @param root - The document holding `$defs` (defaults to `schema`).
571
+ * @returns The seed value.
572
+ */
573
+ export declare function defaultValueForSchema(schema: JsonSchema, root?: JsonSchema): unknown;
574
+ /**
575
+ * The field at a dot path.
576
+ *
577
+ * Walks the schema, not the value: a path through a union resolves in the variant the
578
+ * `value` is on if it has the field, else in whichever variant does, so a `UiSchema` path
579
+ * can name a field that is not showing right now.
580
+ *
581
+ * @param schema - The root schema.
582
+ * @param path - Dot path from the root (`solver.robust_loss.Huber.scale`); `""` is the root.
583
+ * @param root - The document holding `$defs` (defaults to `schema`).
584
+ * @param value - The current value, to choose between a union's variants.
585
+ * @returns The field (its schema as written, and whether it is required), or `undefined`
586
+ * where the path leaves the schema.
587
+ */
588
+ export declare function fieldAt(schema: JsonSchema, path: string, root?: JsonSchema, value?: unknown): FieldInfo | undefined;
589
+ /**
590
+ * The fields that are editable at a path, as the form would list them: an object's fields
591
+ * in schema order, the active variant's fields (without the discriminator) for an internally
592
+ * tagged union, the variant's payload for an externally tagged one, a tuple's positions.
593
+ *
594
+ * @param schema - The root schema.
595
+ * @param path - Dot path from the root; `""` for the root.
596
+ * @param root - The document holding `$defs` (defaults to `schema`).
597
+ * @param value - The current root value, to choose between a union's variants (the first
598
+ * variant when absent).
599
+ * @returns The fields; empty for a leaf or a path outside the schema.
600
+ */
601
+ export declare function fieldsAt(schema: JsonSchema, path: string, root?: JsonSchema, value?: unknown): FieldInfo[];
602
+ //#endregion
603
+ //#region src/api/valuePath.d.ts
604
+ /**
605
+ * Read the value at a path.
606
+ *
607
+ * @param value - The root value.
608
+ * @param path - Dot path; `""` is the root itself.
609
+ * @returns What is there, or `undefined` where any step of the path is missing.
610
+ */
611
+ export declare function getAtPath(value: unknown, path: string): unknown;
612
+ /**
613
+ * Write a value at a path, immutably.
614
+ *
615
+ * Every subtree off the path is shared with the input, the input is never touched, and
616
+ * setting what is already there returns the input itself. Containers that do not exist are
617
+ * created (an array before an index, an object before a key). Keys the path does not
618
+ * mention — including ones a schema does not know about — are kept.
619
+ *
620
+ * @param value - The root value.
621
+ * @param path - Dot path; `""` replaces the root.
622
+ * @param next - The new value. `undefined` removes the key (or array element) instead.
623
+ * @returns The new root.
624
+ */
625
+ export declare function setAtPath(value: unknown, path: string, next: unknown): unknown;
626
+ //#endregion
627
+ export type { ChoiceOption, EnumOption, EnumValue, ExternalVariant, FieldInfo, FieldKind, FieldSpec, FieldUi, FieldWidget, JsonSchema, OptionsSchema, RawValues, RenderField, RenderFieldContext, ResolvedSchema, SchemaNode, SchemaShape, SchemaValueFormProps, TaggedVariant, UiGroup, UiSchema };
170
628
  //# sourceMappingURL=index.d.ts.map