@yahoo/uds-create-config 4.35.3 → 4.36.1
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/dist/configs/CanvasConfig.d.ts +68 -5167
- package/dist/configs/CanvasConfig.js +0 -76
- package/dist/configs/documentation.d.ts +11 -251
- package/dist/configs/documentation.js +0 -1
- package/dist/configs/react-native-system.d.ts +39 -4239
- package/dist/configs/react-native-system.js +0 -11
- package/dist/configs/system.d.ts +44 -4209
- package/dist/configs/system.js +0 -9
- package/dist/entities/documentation/Documentation.d.ts +5 -18
- package/dist/entities/documentation/Documentation.js +0 -1
- package/dist/entities/native/NativeModifier.d.ts +6 -3
- package/dist/entities/native/NativeSettings.d.ts +6 -3
- package/dist/entities/native/NativeSettings.js +0 -1
- package/dist/entities/native/NativeStyleProperty.d.ts +1 -20
- package/dist/entities/native/NativeToken.d.ts +2 -6
- package/dist/entities/system/CanvasRole.d.ts +6 -7
- package/dist/entities/system/Component.d.ts +86 -1588
- package/dist/entities/system/Component.js +0 -9
- package/dist/entities/system/Composite.d.ts +8 -6
- package/dist/entities/system/Composite.js +0 -1
- package/dist/entities/system/Device.d.ts +6 -3
- package/dist/entities/system/Device.js +0 -6
- package/dist/entities/system/File.d.ts +43 -8
- package/dist/entities/system/File.js +0 -51
- package/dist/entities/system/Font.d.ts +10 -11
- package/dist/entities/system/Font.js +0 -21
- package/dist/entities/system/GlobalStyle.d.ts +6 -3
- package/dist/entities/system/Guidance.d.ts +6 -3
- package/dist/entities/system/GuidanceStyle.d.ts +6 -3
- package/dist/entities/system/Icon.d.ts +8 -8
- package/dist/entities/system/Icon.js +0 -16
- package/dist/entities/system/LinkedSystem.d.ts +5 -155
- package/dist/entities/system/Modifier.d.ts +8 -8
- package/dist/entities/system/Motion.d.ts +6 -3
- package/dist/entities/system/Operation.d.ts +5 -2
- package/dist/entities/system/Package.d.ts +24 -4
- package/dist/entities/system/Package.js +0 -46
- package/dist/entities/system/Settings.d.ts +18 -7
- package/dist/entities/system/Settings.js +0 -6
- package/dist/entities/system/StyleProperty.d.ts +14 -27
- package/dist/entities/system/StyleProperty.js +0 -6
- package/dist/entities/system/Token.d.ts +12 -9
- package/dist/entities/system/Tool.d.ts +7 -90
- package/dist/entities/system/composed-values.d.ts +1 -1
- package/dist/entities/system/copy-plan.d.ts +2 -2
- package/dist/entities/system/copy-plan.js +31 -8
- package/dist/entities/system/defineComponent.d.ts +1 -1
- package/dist/entities/system/icon-metadata.d.ts +2 -6
- package/dist/entities/system/link-plan.d.ts +2 -0
- package/dist/entities/system/link-plan.js +1 -0
- package/dist/entities/system/style-bag.d.ts +27 -1
- package/dist/entities/system/style-bag.js +0 -10
- package/dist/framework/Config.d.ts +18 -2
- package/dist/framework/Config.js +70 -15
- package/dist/framework/class-names.js +1 -0
- package/dist/framework/defineConfig.d.ts +2 -2
- package/dist/framework/defineEntity.d.ts +27 -7
- package/dist/framework/named.d.ts +9 -0
- package/dist/framework/plan.d.ts +3 -0
- package/dist/framework/plan.js +4 -1
- package/dist/framework/utils/group.d.ts +15 -5
- package/dist/index.d.ts +46 -45
- package/dist/migrations/2.0.0/v1-artifact.d.ts +38 -2109
- package/dist/renderer/wrappers/html-aliases.js +1 -0
- package/dist/spec/cell.d.ts +1 -1
- package/dist/spec/preview-content.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { Ref } from "../../framework/utils/ref-grammar.js";
|
|
2
2
|
import { ExtendedRef, Ref as Ref$1 } from "../../framework/utils/refs.js";
|
|
3
|
+
import { CreateInput } from "../../framework/utils/field-schema.js";
|
|
3
4
|
import { SubEntityClass } from "../../framework/defineSubEntity.js";
|
|
4
5
|
import { ComputedInput } from "../../framework/registry.js";
|
|
5
6
|
import { ComponentContractOf, PathOf } from "../../framework/registered.js";
|
|
6
7
|
import { EntityClass } from "../../framework/defineEntity.js";
|
|
8
|
+
import { Named } from "../../framework/named.js";
|
|
7
9
|
import { Config } from "../../framework/Config.js";
|
|
8
|
-
import {
|
|
10
|
+
import { PackageClass } from "./Package.js";
|
|
11
|
+
import { StyleClass } from "./style-bag.js";
|
|
12
|
+
import { TokenClass } from "./Token.js";
|
|
9
13
|
import { StoredPreviewCondition } from "../../framework/preview-store.js";
|
|
14
|
+
import { RepeatSpec } from "../../framework/render-spec.js";
|
|
15
|
+
import { AsInput, DefaultsOf, LayerMap, PhantomCallProps, PhantomReadProps, PropMap, RenderArgs, StyleRuleInput } from "./defineComponent.js";
|
|
10
16
|
import { listSlots, namedSlots, slotHostedBy, slotOf } from "../../spec/slot.js";
|
|
11
|
-
import { ComposedValue } from "./composed-values.js";
|
|
12
|
-
import { StyleValue } from "./style-bag.js";
|
|
13
|
-
import { OverrideCondition, TokenRefPath, TokenReference } from "./Token.js";
|
|
14
|
-
import { instanceAt } from "../../spec/instance.js";
|
|
15
|
-
import { AsInput, LayerMap, PhantomCallProps, PhantomReadProps, PropMap, RenderArgs, StyleRuleInput } from "./defineComponent.js";
|
|
16
17
|
import { cellAt } from "../../spec/cell.js";
|
|
18
|
+
import { instanceAt } from "../../spec/instance.js";
|
|
17
19
|
import { z } from "zod";
|
|
18
20
|
|
|
19
21
|
//#region src/entities/system/Component.d.ts
|
|
@@ -32,8 +34,14 @@ declare function layerRef(layerKey: string): Ref$1;
|
|
|
32
34
|
* every rule conditioned on the old name silently stops applying.
|
|
33
35
|
*/
|
|
34
36
|
declare function valueRef(prop: string, value: string): Ref$1;
|
|
37
|
+
declare const LayerDefinition: SubEntityClass<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodType<Ref, unknown, z.core.$ZodTypeInternals<Ref, unknown>>>, PackageClass]>>;
|
|
38
|
+
interface LayerClass extends Named<typeof LayerDefinition> {}
|
|
35
39
|
/** The prop names one entry exposes — `null` when the config can't say (an unresolved element). */
|
|
36
40
|
declare function forwardedNames(config: Config, element: unknown, entry: unknown): string[] | null;
|
|
41
|
+
declare const ForwardDefinition: SubEntityClass<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
42
|
+
__ref: z.ZodString;
|
|
43
|
+
}, z.core.$strip>>]>>;
|
|
44
|
+
interface ForwardClass extends Named<typeof ForwardDefinition> {}
|
|
37
45
|
/**
|
|
38
46
|
* One value a variant prop offers — the keyed collection under its `value`.
|
|
39
47
|
*
|
|
@@ -51,9 +59,15 @@ declare const variantValueFields: z.ZodObject<{
|
|
|
51
59
|
type VariantValueBody = z.infer<typeof variantValueFields>;
|
|
52
60
|
/** A variant prop's own values — name → body, in the order they were declared. */
|
|
53
61
|
type VariantValues = Record<string, VariantValueBody>;
|
|
62
|
+
declare const VariantValueDefinition: SubEntityClass<z.ZodObject<{
|
|
63
|
+
label: z.ZodOptional<z.ZodString>;
|
|
64
|
+
description: z.ZodOptional<z.ZodString>;
|
|
65
|
+
deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
}, z.core.$strict>>;
|
|
67
|
+
interface VariantValueClass extends Named<typeof VariantValueDefinition> {}
|
|
54
68
|
/** The forms code may fill a slot with beside its own value — the members of {@link SlotCodeForm}. */
|
|
55
69
|
declare const SLOT_CODE_FORMS: readonly ["node", "element", "render"];
|
|
56
|
-
declare const
|
|
70
|
+
declare const propShapeDefinition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
57
71
|
type: z.ZodLiteral<"slot">;
|
|
58
72
|
text: z.ZodOptional<z.ZodBoolean>;
|
|
59
73
|
accepts: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -85,11 +99,7 @@ declare const propShape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
85
99
|
__ref: z.ZodString;
|
|
86
100
|
}, z.core.$strip>>, z.ZodObject<{
|
|
87
101
|
__ref: z.ZodString;
|
|
88
|
-
}, z.core.$strip>,
|
|
89
|
-
label: z.ZodOptional<z.ZodString>;
|
|
90
|
-
description: z.ZodOptional<z.ZodString>;
|
|
91
|
-
deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
-
}, z.core.$strict>>]>;
|
|
102
|
+
}, z.core.$strip>, VariantValueClass]>;
|
|
93
103
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
94
104
|
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
95
105
|
__ref: z.ZodString;
|
|
@@ -214,8 +224,12 @@ declare const propShape: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
214
224
|
__ref: z.ZodString;
|
|
215
225
|
}, z.core.$strip>]>>]>>>;
|
|
216
226
|
}, z.core.$strict>], "type">;
|
|
227
|
+
interface PropShapeSchema extends Named<typeof propShapeDefinition> {}
|
|
228
|
+
declare const propShape: PropShapeSchema;
|
|
217
229
|
/** Nullable because `null` is the omit tombstone: a component that `inherits` its element's props
|
|
218
230
|
* drops one by declaring it `null`, rather than needing a second "don't expose" mechanism. */
|
|
231
|
+
declare const PropDefinition: SubEntityClass<z.ZodNullable<PropShapeSchema>>;
|
|
232
|
+
interface PropClass extends Named<typeof PropDefinition> {}
|
|
219
233
|
/** One prop as stored — the discriminated declaration, or `null` (the omit tombstone). */
|
|
220
234
|
type ComponentPropBody = z.infer<typeof propShape> | null;
|
|
221
235
|
/** One prop as accepted — what may be written, before the schema's coercions. The two differ by
|
|
@@ -247,7 +261,31 @@ interface ComponentStyleBody {
|
|
|
247
261
|
* exposes), which no single static type can state — so the bag stays open here. */
|
|
248
262
|
layers?: Record<string, Record<string, unknown> | undefined>;
|
|
249
263
|
}
|
|
250
|
-
declare const
|
|
264
|
+
declare const StyleRuleDefinition: SubEntityClass<z.ZodType<ComponentStyleBody, unknown, z.core.$ZodTypeInternals<ComponentStyleBody, unknown>>>;
|
|
265
|
+
interface StyleRuleClass extends Named<typeof StyleRuleDefinition> {}
|
|
266
|
+
/**
|
|
267
|
+
* The props a cell previews with, keyed by the condition they hold under the way a style rule is:
|
|
268
|
+
* `*` for every cell, a condition on the component's own props for some. `when` names those props,
|
|
269
|
+
* so a prop rename moves it and a value rename moves the ref it stores; `props` is keyed by prop
|
|
270
|
+
* too, which `Prop.keyedByNameIn` and `VariantValue.namedValuesIn` reach through `preview/*\/props`.
|
|
271
|
+
* Deleting a prop or a value drops the entries conditioned on it.
|
|
272
|
+
*/
|
|
273
|
+
declare const PreviewDefinition: SubEntityClass<z.ZodType<StoredPreviewCondition, unknown, z.core.$ZodTypeInternals<StoredPreviewCondition, unknown>>>;
|
|
274
|
+
interface PreviewClass extends Named<typeof PreviewDefinition> {}
|
|
275
|
+
/**
|
|
276
|
+
* One node of an inserted subtree, in the shape the anatomy already stores.
|
|
277
|
+
*
|
|
278
|
+
* An insert takes a whole subtree because inserting one is a single user action: "restore this slot's
|
|
279
|
+
* default" puts back a stack holding a text, and splitting that into one row per node would make one
|
|
280
|
+
* gesture several rows in the changes panel and several things to undo. It is the same reason the op
|
|
281
|
+
* already writes the layer and the node together.
|
|
282
|
+
*
|
|
283
|
+
* Flat, keyed, with `children` as an edge list of keys — because that is what anatomy is, and what a
|
|
284
|
+
* json-render spec is. A nested form would need converting at both ends: the caller holds a flat spec
|
|
285
|
+
* subtree, and the store keeps a flat edge list. Every descendant gets its own layer, for the reason
|
|
286
|
+
* the root does: a thing a person added is added in order to be styled, and `styles` keys on layers.
|
|
287
|
+
*/
|
|
288
|
+
declare const visibilityDefinition: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
251
289
|
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
252
290
|
eq: z.ZodOptional<z.ZodUnknown>;
|
|
253
291
|
neq: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -532,6 +570,8 @@ declare const visibility: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.
|
|
|
532
570
|
}[], Record<string, string | number | boolean | {
|
|
533
571
|
__ref: string;
|
|
534
572
|
}>>>]>;
|
|
573
|
+
interface ElementVisibilitySchema extends Named<typeof visibilityDefinition> {}
|
|
574
|
+
declare const visibility: ElementVisibilitySchema;
|
|
535
575
|
/** A stored `visible` condition — json-render's grammar as the entity narrows it, with a flat
|
|
536
576
|
* `{ prop: value }` already compiled to its `$state` form and every `$state` a JSON pointer. */
|
|
537
577
|
type ElementVisibility = z.infer<typeof visibility>;
|
|
@@ -564,200 +604,22 @@ interface ComponentElementBody {
|
|
|
564
604
|
};
|
|
565
605
|
}[]>;
|
|
566
606
|
}
|
|
607
|
+
declare const AnatomyNodeDefinition: SubEntityClass<z.ZodType<ComponentElementBody, unknown, z.core.$ZodTypeInternals<ComponentElementBody, unknown>>>;
|
|
608
|
+
interface AnatomyNodeClass extends Named<typeof AnatomyNodeDefinition> {}
|
|
567
609
|
declare const componentFields: z.ZodObject<{
|
|
568
|
-
layers:
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
props: z.ZodOptional<SubEntityClass<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
573
|
-
type: z.ZodLiteral<"slot">;
|
|
574
|
-
text: z.ZodOptional<z.ZodBoolean>;
|
|
575
|
-
accepts: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
576
|
-
__ref: z.ZodString;
|
|
577
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
578
|
-
__ref: z.ZodString;
|
|
579
|
-
}, z.core.$strip>>]>>;
|
|
580
|
-
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
581
|
-
__ref: z.ZodString;
|
|
582
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
583
|
-
__ref: z.ZodString;
|
|
584
|
-
}, z.core.$strip>>]>>;
|
|
585
|
-
code: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
586
|
-
node: "node";
|
|
587
|
-
element: "element";
|
|
588
|
-
render: "render";
|
|
589
|
-
}>>>;
|
|
590
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
591
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
592
|
-
__ref: z.ZodString;
|
|
593
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
594
|
-
__ref: z.ZodString;
|
|
595
|
-
}, z.core.$strip>]>>]>>>;
|
|
596
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
597
|
-
type: z.ZodLiteral<"variant">;
|
|
598
|
-
value: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
599
|
-
[k: string]: {};
|
|
600
|
-
}, string[]>>, z.ZodArray<z.ZodObject<{
|
|
601
|
-
__ref: z.ZodString;
|
|
602
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
603
|
-
__ref: z.ZodString;
|
|
604
|
-
}, z.core.$strip>, SubEntityClass<z.ZodObject<{
|
|
605
|
-
label: z.ZodOptional<z.ZodString>;
|
|
606
|
-
description: z.ZodOptional<z.ZodString>;
|
|
607
|
-
deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
608
|
-
}, z.core.$strict>>]>;
|
|
609
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
610
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
611
|
-
__ref: z.ZodString;
|
|
612
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
613
|
-
__ref: z.ZodString;
|
|
614
|
-
}, z.core.$strip>]>>]>>>;
|
|
615
|
-
}, z.core.$strict>, z.ZodPipe<z.ZodObject<{
|
|
616
|
-
type: z.ZodLiteral<"forward">;
|
|
617
|
-
target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
618
|
-
__ref: z.ZodString;
|
|
619
|
-
}, z.core.$strip>]>;
|
|
620
|
-
into: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
621
|
-
__ref: z.ZodString;
|
|
622
|
-
}, z.core.$strip>]>>;
|
|
623
|
-
accepts: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
624
|
-
__ref: z.ZodString;
|
|
625
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
626
|
-
__ref: z.ZodString;
|
|
627
|
-
}, z.core.$strip>>]>>;
|
|
628
|
-
text: z.ZodOptional<z.ZodBoolean>;
|
|
629
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
630
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
631
|
-
__ref: z.ZodString;
|
|
632
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
633
|
-
__ref: z.ZodString;
|
|
634
|
-
}, z.core.$strip>]>>]>>>;
|
|
635
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
636
|
-
type: "forward";
|
|
637
|
-
target: string | {
|
|
638
|
-
__ref: string;
|
|
639
|
-
};
|
|
640
|
-
into?: string | {
|
|
641
|
-
__ref: string;
|
|
642
|
-
} | undefined;
|
|
643
|
-
accepts?: {
|
|
644
|
-
__ref: string;
|
|
645
|
-
} | {
|
|
646
|
-
__ref: string;
|
|
647
|
-
}[] | undefined;
|
|
648
|
-
text?: boolean | undefined;
|
|
649
|
-
required?: boolean | undefined;
|
|
650
|
-
when?: Record<string, string | number | boolean | {
|
|
651
|
-
__ref: string;
|
|
652
|
-
} | (string | number | boolean | {
|
|
653
|
-
__ref: string;
|
|
654
|
-
})[]> | undefined;
|
|
655
|
-
}, {
|
|
656
|
-
type: "forward";
|
|
657
|
-
target: string | {
|
|
658
|
-
__ref: string;
|
|
659
|
-
};
|
|
660
|
-
into?: string | {
|
|
661
|
-
__ref: string;
|
|
662
|
-
} | undefined;
|
|
663
|
-
accepts?: {
|
|
664
|
-
__ref: string;
|
|
665
|
-
} | {
|
|
666
|
-
__ref: string;
|
|
667
|
-
}[] | undefined;
|
|
668
|
-
text?: boolean | undefined;
|
|
669
|
-
required?: boolean | undefined;
|
|
670
|
-
when?: Record<string, string | number | boolean | {
|
|
671
|
-
__ref: string;
|
|
672
|
-
} | (string | number | boolean | {
|
|
673
|
-
__ref: string;
|
|
674
|
-
})[]> | undefined;
|
|
675
|
-
}>>, z.ZodObject<{
|
|
676
|
-
type: z.ZodLiteral<"styleProperty">;
|
|
677
|
-
value: z.ZodObject<{
|
|
678
|
-
__ref: z.ZodString;
|
|
679
|
-
}, z.core.$strip>;
|
|
680
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
681
|
-
__ref: z.ZodString;
|
|
682
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
683
|
-
__ref: z.ZodString;
|
|
684
|
-
}, z.core.$strip>]>>]>>>;
|
|
685
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
686
|
-
type: z.ZodLiteral<"composite">;
|
|
687
|
-
value: z.ZodObject<{
|
|
688
|
-
__ref: z.ZodString;
|
|
689
|
-
}, z.core.$strip>;
|
|
690
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
691
|
-
__ref: z.ZodString;
|
|
692
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
693
|
-
__ref: z.ZodString;
|
|
694
|
-
}, z.core.$strip>]>>]>>>;
|
|
695
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
696
|
-
type: z.ZodLiteral<"motion">;
|
|
697
|
-
value: z.ZodDefault<z.ZodObject<{
|
|
698
|
-
__ref: z.ZodString;
|
|
699
|
-
}, z.core.$strip>>;
|
|
700
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
701
|
-
__ref: z.ZodString;
|
|
702
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
703
|
-
__ref: z.ZodString;
|
|
704
|
-
}, z.core.$strip>]>>]>>>;
|
|
705
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
706
|
-
type: z.ZodLiteral<"string">;
|
|
707
|
-
value: z.ZodOptional<z.ZodString>;
|
|
708
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
709
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
710
|
-
__ref: z.ZodString;
|
|
711
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
712
|
-
__ref: z.ZodString;
|
|
713
|
-
}, z.core.$strip>]>>]>>>;
|
|
714
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
715
|
-
type: z.ZodLiteral<"number">;
|
|
716
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
717
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
719
|
-
__ref: z.ZodString;
|
|
720
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
721
|
-
__ref: z.ZodString;
|
|
722
|
-
}, z.core.$strip>]>>]>>>;
|
|
723
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
724
|
-
type: z.ZodLiteral<"boolean">;
|
|
725
|
-
value: z.ZodOptional<z.ZodBoolean>;
|
|
726
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
727
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
728
|
-
__ref: z.ZodString;
|
|
729
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
730
|
-
__ref: z.ZodString;
|
|
731
|
-
}, z.core.$strip>]>>]>>>;
|
|
732
|
-
}, z.core.$strict>], "type">>>>;
|
|
733
|
-
forwards: z.ZodOptional<SubEntityClass<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
734
|
-
__ref: z.ZodString;
|
|
735
|
-
}, z.core.$strip>>]>>>;
|
|
736
|
-
styles: z.ZodOptional<SubEntityClass<z.ZodType<ComponentStyleBody, unknown, z.core.$ZodTypeInternals<ComponentStyleBody, unknown>>>>;
|
|
610
|
+
layers: LayerClass;
|
|
611
|
+
props: z.ZodOptional<PropClass>;
|
|
612
|
+
forwards: z.ZodOptional<ForwardClass>;
|
|
613
|
+
styles: z.ZodOptional<StyleRuleClass>;
|
|
737
614
|
renderProps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
738
|
-
anatomy: z.ZodOptional<
|
|
739
|
-
defaultProps: z.ZodOptional<
|
|
740
|
-
preview: z.ZodOptional<
|
|
615
|
+
anatomy: z.ZodOptional<AnatomyNodeClass>;
|
|
616
|
+
defaultProps: z.ZodOptional<StyleClass>;
|
|
617
|
+
preview: z.ZodOptional<PreviewClass>;
|
|
741
618
|
file: z.ZodOptional<z.ZodObject<{
|
|
742
619
|
__ref: z.ZodString;
|
|
743
620
|
}, z.core.$strip>>;
|
|
744
621
|
export: z.ZodOptional<z.ZodString>;
|
|
745
|
-
tokenRefs: z.ZodOptional<z.ZodArray<
|
|
746
|
-
value: z.ZodType<string | number | Ref | ComposedValue, unknown, z.core.$ZodTypeInternals<string | number | Ref | ComposedValue, unknown>>;
|
|
747
|
-
type: z.ZodOptional<z.ZodString>;
|
|
748
|
-
overrides: z.ZodOptional<SubEntityClass<z.ZodObject<{
|
|
749
|
-
on: z.ZodType<OverrideCondition, unknown, z.core.$ZodTypeInternals<OverrideCondition, unknown>>;
|
|
750
|
-
value: z.ZodType<string | number | Ref | ComposedValue, unknown, z.core.$ZodTypeInternals<string | number | Ref | ComposedValue, unknown>>;
|
|
751
|
-
}, z.core.$strip>>>;
|
|
752
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
753
|
-
cssPrefix: z.ZodOptional<z.ZodString>;
|
|
754
|
-
}, z.core.$strip>, "token", {
|
|
755
|
-
readonly create: {
|
|
756
|
-
readonly description: `Create a token at \`<group>/<name>\` \u2014 \`data.value\` is the CSS value. The first path segment is its group, and a style property takes a whole group as one ref (\`${string}\`), so put the tokens one prop should offer in one group rather than listing values on the prop.`;
|
|
757
|
-
};
|
|
758
|
-
}, Record<never, never>, false, Record<never, never>, Record<never, never>>, "ref"> & {
|
|
759
|
-
readonly ref: <const Path extends TokenRefPath>(path: Path) => TokenReference<Path>;
|
|
760
|
-
}>>;
|
|
622
|
+
tokenRefs: z.ZodOptional<z.ZodArray<TokenClass>>;
|
|
761
623
|
}, z.core.$strict>;
|
|
762
624
|
/**
|
|
763
625
|
* A component's stored body — every field, typed off the schema above.
|
|
@@ -779,479 +641,27 @@ type ComponentBody = z.infer<typeof componentFields>;
|
|
|
779
641
|
*/
|
|
780
642
|
declare function blankComponentBody(): ComponentBody;
|
|
781
643
|
declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
782
|
-
layers:
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
props: z.ZodOptional<SubEntityClass<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
787
|
-
type: z.ZodLiteral<"slot">;
|
|
788
|
-
text: z.ZodOptional<z.ZodBoolean>;
|
|
789
|
-
accepts: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
790
|
-
__ref: z.ZodString;
|
|
791
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
792
|
-
__ref: z.ZodString;
|
|
793
|
-
}, z.core.$strip>>]>>;
|
|
794
|
-
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
795
|
-
__ref: z.ZodString;
|
|
796
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
797
|
-
__ref: z.ZodString;
|
|
798
|
-
}, z.core.$strip>>]>>;
|
|
799
|
-
code: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
800
|
-
node: "node";
|
|
801
|
-
element: "element";
|
|
802
|
-
render: "render";
|
|
803
|
-
}>>>;
|
|
804
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
805
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
806
|
-
__ref: z.ZodString;
|
|
807
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
808
|
-
__ref: z.ZodString;
|
|
809
|
-
}, z.core.$strip>]>>]>>>;
|
|
810
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
811
|
-
type: z.ZodLiteral<"variant">;
|
|
812
|
-
value: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
813
|
-
[k: string]: {};
|
|
814
|
-
}, string[]>>, z.ZodArray<z.ZodObject<{
|
|
815
|
-
__ref: z.ZodString;
|
|
816
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
817
|
-
__ref: z.ZodString;
|
|
818
|
-
}, z.core.$strip>, SubEntityClass<z.ZodObject<{
|
|
819
|
-
label: z.ZodOptional<z.ZodString>;
|
|
820
|
-
description: z.ZodOptional<z.ZodString>;
|
|
821
|
-
deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
822
|
-
}, z.core.$strict>>]>;
|
|
823
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
824
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
825
|
-
__ref: z.ZodString;
|
|
826
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
827
|
-
__ref: z.ZodString;
|
|
828
|
-
}, z.core.$strip>]>>]>>>;
|
|
829
|
-
}, z.core.$strict>, z.ZodPipe<z.ZodObject<{
|
|
830
|
-
type: z.ZodLiteral<"forward">;
|
|
831
|
-
target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
832
|
-
__ref: z.ZodString;
|
|
833
|
-
}, z.core.$strip>]>;
|
|
834
|
-
into: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
835
|
-
__ref: z.ZodString;
|
|
836
|
-
}, z.core.$strip>]>>;
|
|
837
|
-
accepts: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
838
|
-
__ref: z.ZodString;
|
|
839
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
840
|
-
__ref: z.ZodString;
|
|
841
|
-
}, z.core.$strip>>]>>;
|
|
842
|
-
text: z.ZodOptional<z.ZodBoolean>;
|
|
843
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
844
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
845
|
-
__ref: z.ZodString;
|
|
846
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
847
|
-
__ref: z.ZodString;
|
|
848
|
-
}, z.core.$strip>]>>]>>>;
|
|
849
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
850
|
-
type: "forward";
|
|
851
|
-
target: string | {
|
|
852
|
-
__ref: string;
|
|
853
|
-
};
|
|
854
|
-
into?: string | {
|
|
855
|
-
__ref: string;
|
|
856
|
-
} | undefined;
|
|
857
|
-
accepts?: {
|
|
858
|
-
__ref: string;
|
|
859
|
-
} | {
|
|
860
|
-
__ref: string;
|
|
861
|
-
}[] | undefined;
|
|
862
|
-
text?: boolean | undefined;
|
|
863
|
-
required?: boolean | undefined;
|
|
864
|
-
when?: Record<string, string | number | boolean | {
|
|
865
|
-
__ref: string;
|
|
866
|
-
} | (string | number | boolean | {
|
|
867
|
-
__ref: string;
|
|
868
|
-
})[]> | undefined;
|
|
869
|
-
}, {
|
|
870
|
-
type: "forward";
|
|
871
|
-
target: string | {
|
|
872
|
-
__ref: string;
|
|
873
|
-
};
|
|
874
|
-
into?: string | {
|
|
875
|
-
__ref: string;
|
|
876
|
-
} | undefined;
|
|
877
|
-
accepts?: {
|
|
878
|
-
__ref: string;
|
|
879
|
-
} | {
|
|
880
|
-
__ref: string;
|
|
881
|
-
}[] | undefined;
|
|
882
|
-
text?: boolean | undefined;
|
|
883
|
-
required?: boolean | undefined;
|
|
884
|
-
when?: Record<string, string | number | boolean | {
|
|
885
|
-
__ref: string;
|
|
886
|
-
} | (string | number | boolean | {
|
|
887
|
-
__ref: string;
|
|
888
|
-
})[]> | undefined;
|
|
889
|
-
}>>, z.ZodObject<{
|
|
890
|
-
type: z.ZodLiteral<"styleProperty">;
|
|
891
|
-
value: z.ZodObject<{
|
|
892
|
-
__ref: z.ZodString;
|
|
893
|
-
}, z.core.$strip>;
|
|
894
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
895
|
-
__ref: z.ZodString;
|
|
896
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
897
|
-
__ref: z.ZodString;
|
|
898
|
-
}, z.core.$strip>]>>]>>>;
|
|
899
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
900
|
-
type: z.ZodLiteral<"composite">;
|
|
901
|
-
value: z.ZodObject<{
|
|
902
|
-
__ref: z.ZodString;
|
|
903
|
-
}, z.core.$strip>;
|
|
904
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
905
|
-
__ref: z.ZodString;
|
|
906
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
907
|
-
__ref: z.ZodString;
|
|
908
|
-
}, z.core.$strip>]>>]>>>;
|
|
909
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
910
|
-
type: z.ZodLiteral<"motion">;
|
|
911
|
-
value: z.ZodDefault<z.ZodObject<{
|
|
912
|
-
__ref: z.ZodString;
|
|
913
|
-
}, z.core.$strip>>;
|
|
914
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
915
|
-
__ref: z.ZodString;
|
|
916
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
917
|
-
__ref: z.ZodString;
|
|
918
|
-
}, z.core.$strip>]>>]>>>;
|
|
919
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
920
|
-
type: z.ZodLiteral<"string">;
|
|
921
|
-
value: z.ZodOptional<z.ZodString>;
|
|
922
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
923
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
924
|
-
__ref: z.ZodString;
|
|
925
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
926
|
-
__ref: z.ZodString;
|
|
927
|
-
}, z.core.$strip>]>>]>>>;
|
|
928
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
929
|
-
type: z.ZodLiteral<"number">;
|
|
930
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
931
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
932
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
933
|
-
__ref: z.ZodString;
|
|
934
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
935
|
-
__ref: z.ZodString;
|
|
936
|
-
}, z.core.$strip>]>>]>>>;
|
|
937
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
938
|
-
type: z.ZodLiteral<"boolean">;
|
|
939
|
-
value: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
942
|
-
__ref: z.ZodString;
|
|
943
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
944
|
-
__ref: z.ZodString;
|
|
945
|
-
}, z.core.$strip>]>>]>>>;
|
|
946
|
-
}, z.core.$strict>], "type">>>>;
|
|
947
|
-
forwards: z.ZodOptional<SubEntityClass<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
948
|
-
__ref: z.ZodString;
|
|
949
|
-
}, z.core.$strip>>]>>>;
|
|
950
|
-
styles: z.ZodOptional<SubEntityClass<z.ZodType<ComponentStyleBody, unknown, z.core.$ZodTypeInternals<ComponentStyleBody, unknown>>>>;
|
|
644
|
+
layers: LayerClass;
|
|
645
|
+
props: z.ZodOptional<PropClass>;
|
|
646
|
+
forwards: z.ZodOptional<ForwardClass>;
|
|
647
|
+
styles: z.ZodOptional<StyleRuleClass>;
|
|
951
648
|
renderProps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
952
|
-
anatomy: z.ZodOptional<
|
|
953
|
-
defaultProps: z.ZodOptional<
|
|
954
|
-
preview: z.ZodOptional<
|
|
649
|
+
anatomy: z.ZodOptional<AnatomyNodeClass>;
|
|
650
|
+
defaultProps: z.ZodOptional<StyleClass>;
|
|
651
|
+
preview: z.ZodOptional<PreviewClass>;
|
|
955
652
|
file: z.ZodOptional<z.ZodObject<{
|
|
956
653
|
__ref: z.ZodString;
|
|
957
654
|
}, z.core.$strip>>;
|
|
958
655
|
export: z.ZodOptional<z.ZodString>;
|
|
959
|
-
tokenRefs: z.ZodOptional<z.ZodArray<
|
|
960
|
-
value: z.ZodType<string | number | Ref | ComposedValue, unknown, z.core.$ZodTypeInternals<string | number | Ref | ComposedValue, unknown>>;
|
|
961
|
-
type: z.ZodOptional<z.ZodString>;
|
|
962
|
-
overrides: z.ZodOptional<SubEntityClass<z.ZodObject<{
|
|
963
|
-
on: z.ZodType<OverrideCondition, unknown, z.core.$ZodTypeInternals<OverrideCondition, unknown>>;
|
|
964
|
-
value: z.ZodType<string | number | Ref | ComposedValue, unknown, z.core.$ZodTypeInternals<string | number | Ref | ComposedValue, unknown>>;
|
|
965
|
-
}, z.core.$strip>>>;
|
|
966
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
967
|
-
cssPrefix: z.ZodOptional<z.ZodString>;
|
|
968
|
-
}, z.core.$strip>, "token", {
|
|
969
|
-
readonly create: {
|
|
970
|
-
readonly description: `Create a token at \`<group>/<name>\` \u2014 \`data.value\` is the CSS value. The first path segment is its group, and a style property takes a whole group as one ref (\`${string}\`), so put the tokens one prop should offer in one group rather than listing values on the prop.`;
|
|
971
|
-
};
|
|
972
|
-
}, Record<never, never>, false, Record<never, never>, Record<never, never>>, "ref"> & {
|
|
973
|
-
readonly ref: <const Path extends TokenRefPath>(path: Path) => TokenReference<Path>;
|
|
974
|
-
}>>;
|
|
656
|
+
tokenRefs: z.ZodOptional<z.ZodArray<TokenClass>>;
|
|
975
657
|
}, z.core.$strict>, z.ZodObject<{
|
|
976
658
|
icon: z.ZodOptional<z.ZodString>;
|
|
977
659
|
}, z.core.$strip>, "component", {
|
|
978
|
-
readonly create: {
|
|
979
|
-
readonly data: z.ZodObject<{
|
|
980
|
-
layers: SubEntityClass<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodType<Ref, unknown, z.core.$ZodTypeInternals<Ref, unknown>>>, EntityClass<z.ZodObject<{
|
|
981
|
-
version: z.ZodOptional<z.ZodString>;
|
|
982
|
-
exports: z.ZodOptional<SubEntityClass<z.ZodObject<{}, z.core.$strict>>>;
|
|
983
|
-
}, z.core.$strict>, z.ZodObject<Record<never, never>, z.core.$strip>, "package", Record<never, never>, Record<never, never>, false, Record<never, never>, Record<never, never>>]>>;
|
|
984
|
-
props: z.ZodOptional<SubEntityClass<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
985
|
-
type: z.ZodLiteral<"slot">;
|
|
986
|
-
text: z.ZodOptional<z.ZodBoolean>;
|
|
987
|
-
accepts: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
988
|
-
__ref: z.ZodString;
|
|
989
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
990
|
-
__ref: z.ZodString;
|
|
991
|
-
}, z.core.$strip>>]>>;
|
|
992
|
-
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
993
|
-
__ref: z.ZodString;
|
|
994
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
995
|
-
__ref: z.ZodString;
|
|
996
|
-
}, z.core.$strip>>]>>;
|
|
997
|
-
code: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
998
|
-
node: "node";
|
|
999
|
-
element: "element";
|
|
1000
|
-
render: "render";
|
|
1001
|
-
}>>>;
|
|
1002
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1003
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1004
|
-
__ref: z.ZodString;
|
|
1005
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1006
|
-
__ref: z.ZodString;
|
|
1007
|
-
}, z.core.$strip>]>>]>>>;
|
|
1008
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1009
|
-
type: z.ZodLiteral<"variant">;
|
|
1010
|
-
value: z.ZodUnion<readonly [z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<{
|
|
1011
|
-
[k: string]: {};
|
|
1012
|
-
}, string[]>>, z.ZodArray<z.ZodObject<{
|
|
1013
|
-
__ref: z.ZodString;
|
|
1014
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
1015
|
-
__ref: z.ZodString;
|
|
1016
|
-
}, z.core.$strip>, SubEntityClass<z.ZodObject<{
|
|
1017
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1018
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1019
|
-
deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
1020
|
-
}, z.core.$strict>>]>;
|
|
1021
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1022
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1023
|
-
__ref: z.ZodString;
|
|
1024
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1025
|
-
__ref: z.ZodString;
|
|
1026
|
-
}, z.core.$strip>]>>]>>>;
|
|
1027
|
-
}, z.core.$strict>, z.ZodPipe<z.ZodObject<{
|
|
1028
|
-
type: z.ZodLiteral<"forward">;
|
|
1029
|
-
target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1030
|
-
__ref: z.ZodString;
|
|
1031
|
-
}, z.core.$strip>]>;
|
|
1032
|
-
into: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1033
|
-
__ref: z.ZodString;
|
|
1034
|
-
}, z.core.$strip>]>>;
|
|
1035
|
-
accepts: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1036
|
-
__ref: z.ZodString;
|
|
1037
|
-
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1038
|
-
__ref: z.ZodString;
|
|
1039
|
-
}, z.core.$strip>>]>>;
|
|
1040
|
-
text: z.ZodOptional<z.ZodBoolean>;
|
|
1041
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1042
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1043
|
-
__ref: z.ZodString;
|
|
1044
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1045
|
-
__ref: z.ZodString;
|
|
1046
|
-
}, z.core.$strip>]>>]>>>;
|
|
1047
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1048
|
-
type: "forward";
|
|
1049
|
-
target: string | {
|
|
1050
|
-
__ref: string;
|
|
1051
|
-
};
|
|
1052
|
-
into?: string | {
|
|
1053
|
-
__ref: string;
|
|
1054
|
-
} | undefined;
|
|
1055
|
-
accepts?: {
|
|
1056
|
-
__ref: string;
|
|
1057
|
-
} | {
|
|
1058
|
-
__ref: string;
|
|
1059
|
-
}[] | undefined;
|
|
1060
|
-
text?: boolean | undefined;
|
|
1061
|
-
required?: boolean | undefined;
|
|
1062
|
-
when?: Record<string, string | number | boolean | {
|
|
1063
|
-
__ref: string;
|
|
1064
|
-
} | (string | number | boolean | {
|
|
1065
|
-
__ref: string;
|
|
1066
|
-
})[]> | undefined;
|
|
1067
|
-
}, {
|
|
1068
|
-
type: "forward";
|
|
1069
|
-
target: string | {
|
|
1070
|
-
__ref: string;
|
|
1071
|
-
};
|
|
1072
|
-
into?: string | {
|
|
1073
|
-
__ref: string;
|
|
1074
|
-
} | undefined;
|
|
1075
|
-
accepts?: {
|
|
1076
|
-
__ref: string;
|
|
1077
|
-
} | {
|
|
1078
|
-
__ref: string;
|
|
1079
|
-
}[] | undefined;
|
|
1080
|
-
text?: boolean | undefined;
|
|
1081
|
-
required?: boolean | undefined;
|
|
1082
|
-
when?: Record<string, string | number | boolean | {
|
|
1083
|
-
__ref: string;
|
|
1084
|
-
} | (string | number | boolean | {
|
|
1085
|
-
__ref: string;
|
|
1086
|
-
})[]> | undefined;
|
|
1087
|
-
}>>, z.ZodObject<{
|
|
1088
|
-
type: z.ZodLiteral<"styleProperty">;
|
|
1089
|
-
value: z.ZodObject<{
|
|
1090
|
-
__ref: z.ZodString;
|
|
1091
|
-
}, z.core.$strip>;
|
|
1092
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1093
|
-
__ref: z.ZodString;
|
|
1094
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1095
|
-
__ref: z.ZodString;
|
|
1096
|
-
}, z.core.$strip>]>>]>>>;
|
|
1097
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1098
|
-
type: z.ZodLiteral<"composite">;
|
|
1099
|
-
value: z.ZodObject<{
|
|
1100
|
-
__ref: z.ZodString;
|
|
1101
|
-
}, z.core.$strip>;
|
|
1102
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1103
|
-
__ref: z.ZodString;
|
|
1104
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1105
|
-
__ref: z.ZodString;
|
|
1106
|
-
}, z.core.$strip>]>>]>>>;
|
|
1107
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1108
|
-
type: z.ZodLiteral<"motion">;
|
|
1109
|
-
value: z.ZodDefault<z.ZodObject<{
|
|
1110
|
-
__ref: z.ZodString;
|
|
1111
|
-
}, z.core.$strip>>;
|
|
1112
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1113
|
-
__ref: z.ZodString;
|
|
1114
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1115
|
-
__ref: z.ZodString;
|
|
1116
|
-
}, z.core.$strip>]>>]>>>;
|
|
1117
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1118
|
-
type: z.ZodLiteral<"string">;
|
|
1119
|
-
value: z.ZodOptional<z.ZodString>;
|
|
1120
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1121
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1122
|
-
__ref: z.ZodString;
|
|
1123
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1124
|
-
__ref: z.ZodString;
|
|
1125
|
-
}, z.core.$strip>]>>]>>>;
|
|
1126
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1127
|
-
type: z.ZodLiteral<"number">;
|
|
1128
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
1129
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1130
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1131
|
-
__ref: z.ZodString;
|
|
1132
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1133
|
-
__ref: z.ZodString;
|
|
1134
|
-
}, z.core.$strip>]>>]>>>;
|
|
1135
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1136
|
-
type: z.ZodLiteral<"boolean">;
|
|
1137
|
-
value: z.ZodOptional<z.ZodBoolean>;
|
|
1138
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1139
|
-
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1140
|
-
__ref: z.ZodString;
|
|
1141
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1142
|
-
__ref: z.ZodString;
|
|
1143
|
-
}, z.core.$strip>]>>]>>>;
|
|
1144
|
-
}, z.core.$strict>], "type">>>>;
|
|
1145
|
-
forwards: z.ZodOptional<SubEntityClass<z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodArray<z.ZodObject<{
|
|
1146
|
-
__ref: z.ZodString;
|
|
1147
|
-
}, z.core.$strip>>]>>>;
|
|
1148
|
-
styles: z.ZodOptional<SubEntityClass<z.ZodType<ComponentStyleBody, unknown, z.core.$ZodTypeInternals<ComponentStyleBody, unknown>>>>;
|
|
1149
|
-
renderProps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1150
|
-
anatomy: z.ZodOptional<SubEntityClass<z.ZodType<ComponentElementBody, unknown, z.core.$ZodTypeInternals<ComponentElementBody, unknown>>>>;
|
|
1151
|
-
defaultProps: z.ZodOptional<SubEntityClass<z.ZodType<StyleValue, unknown, z.core.$ZodTypeInternals<StyleValue, unknown>>>>;
|
|
1152
|
-
preview: z.ZodOptional<SubEntityClass<z.ZodType<StoredPreviewCondition, unknown, z.core.$ZodTypeInternals<StoredPreviewCondition, unknown>>>>;
|
|
1153
|
-
file: z.ZodOptional<z.ZodObject<{
|
|
1154
|
-
__ref: z.ZodString;
|
|
1155
|
-
}, z.core.$strip>>;
|
|
1156
|
-
export: z.ZodOptional<z.ZodString>;
|
|
1157
|
-
tokenRefs: z.ZodOptional<z.ZodArray<Omit<EntityClass<z.ZodObject<{
|
|
1158
|
-
value: z.ZodType<string | number | Ref | ComposedValue, unknown, z.core.$ZodTypeInternals<string | number | Ref | ComposedValue, unknown>>;
|
|
1159
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1160
|
-
overrides: z.ZodOptional<SubEntityClass<z.ZodObject<{
|
|
1161
|
-
on: z.ZodType<OverrideCondition, unknown, z.core.$ZodTypeInternals<OverrideCondition, unknown>>;
|
|
1162
|
-
value: z.ZodType<string | number | Ref | ComposedValue, unknown, z.core.$ZodTypeInternals<string | number | Ref | ComposedValue, unknown>>;
|
|
1163
|
-
}, z.core.$strip>>>;
|
|
1164
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1165
|
-
cssPrefix: z.ZodOptional<z.ZodString>;
|
|
1166
|
-
}, z.core.$strip>, "token", {
|
|
1167
|
-
readonly create: {
|
|
1168
|
-
readonly description: `Create a token at \`<group>/<name>\` \u2014 \`data.value\` is the CSS value. The first path segment is its group, and a style property takes a whole group as one ref (\`${string}\`), so put the tokens one prop should offer in one group rather than listing values on the prop.`;
|
|
1169
|
-
};
|
|
1170
|
-
}, Record<never, never>, false, Record<never, never>, Record<never, never>>, "ref"> & {
|
|
1171
|
-
readonly ref: <const Path extends TokenRefPath>(path: Path) => TokenReference<Path>;
|
|
1172
|
-
}>>;
|
|
1173
|
-
}, z.core.$strict>;
|
|
1174
|
-
readonly description: "Create a component at a new qualified `path`. For a component with nothing in it yet, one to design on the canvas before it has props or variants, use `create-blank` with only a `path` instead of authoring a minimal body here. When its complete body is known, include all layers, anatomy, props, defaults, and styles in this one operation. `data.layers` maps each stable layer name to the element it renders and must include `root` — a tag for a primitive (`{ \"layers\": { \"root\": \"div\" } }`), and for anything built on top, a ref to a primitive (`{ \"root\": { \"__ref\": \"component:Box\" }, \"label\": { \"__ref\": \"component:Text\" } }`), which is what lets the layer take that primitive's style props. A primitive exposes style props as `{ \"type\": \"styleProperty\", \"value\": { \"__ref\": \"style-property:bg\" } }` and declares `children: { \"type\": \"slot\", \"text\": true }` when it holds content — without the slot, nothing nested inside it renders. A composed component exposes a layer's props at its own top level through `forwards`, keyed by layer: `{ \"forwards\": { \"root\": \"*\" } }` passes every prop the root's element takes (so `<Button width=\"full\">` reaches the root's `width`), and a list of member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`, each naming the component that declares the prop) passes only those. A prop a layer already exposes is forwarded, never redeclared in `props`; a `props` entry of `{ \"type\": \"forward\" }` is the reverse route, one of this component's props into a layer's. `anatomy` is the tree the build would read off a render: each node renders a layer (`{ \"__ref\": \"layer:<name>\" }`), an intrinsic tag, or `Slot` (`{ \"element\": \"Slot\", \"props\": { \"name\": \"children\" } }`, where a slot prop's content lands — but a declared slot fills `root` by default, so a primitive still declares its `children` slot prop yet needs no `Slot` node or `children` entry for it, and a `Slot` node is only for landing that content in a nested layer); `children` lists sibling node keys from the `root` node, never a prop name; `text` is a fixed string; `visible` is a condition on a prop (`{ \"$state\": \"<prop>\" }`, or with `eq`); content shown in a nested layer is a route, `children: { \"type\": \"forward\", \"target\": \"label/children\" }`. `$state` appears only in `visible` and in an `element` a prop chooses, never as a prop value. A glyph is a node of its own, `{ \"element\": { \"__ref\": \"icon:<library>/<Name>\" } }`, listed in the `children` of the layer node that holds it, never a prop value. Text a prop supplies to a text layer is never a node either: declare the prop `{ \"type\": \"forward\", \"target\": \"<layer>/children\" }` and the layer shows it; a `Slot` node goes only under a layer that takes nodes. A style rule is `\"styles\": { \"*\": { \"when\": null, \"layers\": { \"root\": { \"bg\": \"surface\" } } } }`, keyed by a name, with each layer's bag under `layers`. A composed component carries its own styles: give it an unconditional (`\"*\"`) rule that lays out and surfaces it through the system's style properties — spacing, alignment and gap on the container, a background and color where it has one — rather than leaning on the bare primitives, which paint flat. Style a layer only with the style props the primitive it renders exposes, set to the values those props accept: `component/get` on the primitive lists both, so read it and choose from that rather than reaching for a CSS name or value the system has no style property for. Set `preview` (`{ \"*\": { \"when\": null, \"props\": { \"children\": \"Example\" } } }`) or `defaultProps` so the component previews with content; a root that takes children renders empty otherwise. A style rule's layer bag is keyed by style-prop name (`fontWeight`, `color`), never by CSS property name, and each value is one of that prop's values.";
|
|
1175
|
-
readonly example: ({
|
|
1176
|
-
config
|
|
1177
|
-
}: {
|
|
1178
|
-
config: Config;
|
|
1179
|
-
kind: string;
|
|
1180
|
-
path: string;
|
|
1181
|
-
}) => {
|
|
1182
|
-
path: string;
|
|
1183
|
-
data: Record<string, unknown>;
|
|
1184
|
-
};
|
|
1185
|
-
};
|
|
1186
|
-
/**
|
|
1187
|
-
* A component with nothing in it yet, as Studio's "+" makes one. Its own op because `create`
|
|
1188
|
-
* teaches the full grammar, and a model asked for a blank component authors a `children` slot and
|
|
1189
|
-
* preview content from it, at which point the component is no longer blank. Decomposes into the one
|
|
1190
|
-
* `create` patch the rail writes, so the changes list and undo read both gestures alike.
|
|
1191
|
-
*/
|
|
1192
660
|
readonly 'create-blank': {
|
|
1193
661
|
readonly input: z.ZodObject<{
|
|
1194
662
|
path: z.ZodType<string, string | undefined, z.core.$ZodTypeInternals<string, string | undefined>>;
|
|
1195
663
|
}, z.core.$strip>;
|
|
1196
|
-
readonly readOnly: false;
|
|
1197
|
-
readonly label: "Create blank";
|
|
1198
|
-
readonly description: "Create an empty component at a new qualified `path`, to design on the canvas first: one `div` root layer and the node that renders it, with no props, no variants, no slot, no styles and no preview content. This is exactly what Studio's \"+\" creates. Takes only `path`. Use it for \"a new component\", \"a blank component\" or \"start a component from nothing\"; `create` is for a component whose body is already known.";
|
|
1199
|
-
readonly scope: "item";
|
|
1200
|
-
readonly creates: true;
|
|
1201
|
-
readonly title: (entity: string) => string;
|
|
1202
|
-
readonly example: ({
|
|
1203
|
-
config
|
|
1204
|
-
}: {
|
|
1205
|
-
config: Config;
|
|
1206
|
-
kind: string;
|
|
1207
|
-
path: string;
|
|
1208
|
-
}) => {
|
|
1209
|
-
path: string;
|
|
1210
|
-
};
|
|
1211
|
-
readonly handler: (input: Record<string, unknown>, config: Config) => Config;
|
|
1212
|
-
};
|
|
1213
|
-
readonly 'sub-create/anatomy': {
|
|
1214
|
-
readonly description: "Add one anatomy node (`key` + `data`) to a component. In a batch, create child nodes before a parent whose `children` or `slots` names them; each referenced node must already exist when this operation runs.";
|
|
1215
|
-
};
|
|
1216
|
-
readonly 'sub-create/props': {
|
|
1217
|
-
readonly description: "Declare a prop this component owns (`key` + `data`): a `variant`, a `slot`, a `styleProperty` or `composite` on a primitive, a `forward` routing this prop into a layer's (`{ \"type\": \"forward\", \"target\": \"<layer>/<prop>\" }`), or `null` to drop a forwarded prop from the surface. A prop one of its layers already exposes — `width` on a root that renders `Box` — is not declared here; `sub-create/forwards` exposes it at the top level.";
|
|
1218
|
-
};
|
|
1219
|
-
readonly 'sub-create/forwards': {
|
|
1220
|
-
readonly description: "Expose a layer's props at this component's top level. `key` is one of the component's own layer names; `data` is `\"*\"` for every prop that layer's element takes, or a list of component prop member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`) for a selection, each naming the component that declares the prop — `Button` forwarding `width` from a `Pressable` root names `Box`, where `Pressable` takes it from. This is how `<Button width=\"full\">` reaches the root's `width` with no `width` entry in `props`; a prop the layer already exposes is forwarded, never redeclared. Two entries may not offer the same prop, and removing one forwarded prop is a `null` tombstone under `props`.";
|
|
1221
|
-
readonly example: ({
|
|
1222
|
-
config
|
|
1223
|
-
}: {
|
|
1224
|
-
config: Config;
|
|
1225
|
-
kind: string;
|
|
1226
|
-
path: string;
|
|
1227
|
-
}) => {
|
|
1228
|
-
path: string;
|
|
1229
|
-
key: string;
|
|
1230
|
-
data: "*";
|
|
1231
|
-
} | undefined;
|
|
1232
|
-
};
|
|
1233
|
-
readonly 'sub-upsert/forwards': {
|
|
1234
|
-
readonly description: "Set what one layer forwards, added when absent and replaced whole when present. Expose a layer's props at this component's top level. `key` is one of the component's own layer names; `data` is `\"*\"` for every prop that layer's element takes, or a list of component prop member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`) for a selection, each naming the component that declares the prop — `Button` forwarding `width` from a `Pressable` root names `Box`, where `Pressable` takes it from. This is how `<Button width=\"full\">` reaches the root's `width` with no `width` entry in `props`; a prop the layer already exposes is forwarded, never redeclared. Two entries may not offer the same prop, and removing one forwarded prop is a `null` tombstone under `props`.";
|
|
1235
|
-
};
|
|
1236
|
-
readonly 'sub-update/forwards': {
|
|
1237
|
-
readonly description: "Replace what one layer forwards: the member is `'*'` or a list, so `data` is the whole new value. Expose a layer's props at this component's top level. `key` is one of the component's own layer names; `data` is `\"*\"` for every prop that layer's element takes, or a list of component prop member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`) for a selection, each naming the component that declares the prop — `Button` forwarding `width` from a `Pressable` root names `Box`, where `Pressable` takes it from. This is how `<Button width=\"full\">` reaches the root's `width` with no `width` entry in `props`; a prop the layer already exposes is forwarded, never redeclared. Two entries may not offer the same prop, and removing one forwarded prop is a `null` tombstone under `props`.";
|
|
1238
664
|
};
|
|
1239
|
-
/**
|
|
1240
|
-
* Add an element to a composition — a layer and the node that targets it, together.
|
|
1241
|
-
*
|
|
1242
|
-
* Two writes, one op, because either alone is broken: a node whose element is a component ref
|
|
1243
|
-
* directly can never be styled (`styles` keys on layer names, and it has none), and a layer no
|
|
1244
|
-
* node places renders nowhere. Making it one op is also what keeps the parent's `children` from
|
|
1245
|
-
* being left dangling between two patches.
|
|
1246
|
-
*
|
|
1247
|
-
* That the new element gets a layer is the whole difference between a read component and an
|
|
1248
|
-
* authored one. A render's inline glyph stays unnamed because the source never named it; a thing
|
|
1249
|
-
* a person adds is added in order to be styled.
|
|
1250
|
-
*
|
|
1251
|
-
* The layer name is what makes this survive a second platform: native replaces `layers` (a `div`
|
|
1252
|
-
* becomes a `View`) and inherits the styles and the structure, because both address the name
|
|
1253
|
-
* rather than the element.
|
|
1254
|
-
*/
|
|
1255
665
|
readonly 'element-insert': {
|
|
1256
666
|
readonly input: z.ZodObject<{
|
|
1257
667
|
path: z.ZodType<string, string | undefined, z.core.$ZodTypeInternals<string, string | undefined>>;
|
|
@@ -1264,291 +674,7 @@ declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
|
1264
674
|
index: z.ZodOptional<z.ZodNumber>;
|
|
1265
675
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1266
676
|
slotProp: z.ZodOptional<z.ZodString>;
|
|
1267
|
-
visible: z.ZodOptional<
|
|
1268
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1269
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1270
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1271
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1272
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1273
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1274
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1275
|
-
$state: z.ZodString;
|
|
1276
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1277
|
-
$state: string;
|
|
1278
|
-
not?: true | undefined;
|
|
1279
|
-
eq?: unknown;
|
|
1280
|
-
neq?: unknown;
|
|
1281
|
-
gt?: number | undefined;
|
|
1282
|
-
gte?: number | undefined;
|
|
1283
|
-
lt?: number | undefined;
|
|
1284
|
-
lte?: number | undefined;
|
|
1285
|
-
}, {
|
|
1286
|
-
$state: string;
|
|
1287
|
-
not?: true | undefined;
|
|
1288
|
-
eq?: unknown;
|
|
1289
|
-
neq?: unknown;
|
|
1290
|
-
gt?: number | undefined;
|
|
1291
|
-
gte?: number | undefined;
|
|
1292
|
-
lt?: number | undefined;
|
|
1293
|
-
lte?: number | undefined;
|
|
1294
|
-
}>>, z.ZodObject<{
|
|
1295
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1296
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1297
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1298
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1299
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1300
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1301
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1302
|
-
$item: z.ZodString;
|
|
1303
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1304
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1305
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1306
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1307
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1308
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1309
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1310
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
-
$index: z.ZodLiteral<true>;
|
|
1312
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
1313
|
-
$or: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1314
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1315
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1316
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1317
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1318
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1319
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1320
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1321
|
-
$state: z.ZodString;
|
|
1322
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1323
|
-
$state: string;
|
|
1324
|
-
not?: true | undefined;
|
|
1325
|
-
eq?: unknown;
|
|
1326
|
-
neq?: unknown;
|
|
1327
|
-
gt?: number | undefined;
|
|
1328
|
-
gte?: number | undefined;
|
|
1329
|
-
lt?: number | undefined;
|
|
1330
|
-
lte?: number | undefined;
|
|
1331
|
-
}, {
|
|
1332
|
-
$state: string;
|
|
1333
|
-
not?: true | undefined;
|
|
1334
|
-
eq?: unknown;
|
|
1335
|
-
neq?: unknown;
|
|
1336
|
-
gt?: number | undefined;
|
|
1337
|
-
gte?: number | undefined;
|
|
1338
|
-
lt?: number | undefined;
|
|
1339
|
-
lte?: number | undefined;
|
|
1340
|
-
}>>, z.ZodObject<{
|
|
1341
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1342
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1343
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1344
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1345
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1346
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1347
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1348
|
-
$item: z.ZodString;
|
|
1349
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1350
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1351
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1352
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1353
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1355
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1356
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1357
|
-
$index: z.ZodLiteral<true>;
|
|
1358
|
-
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1359
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1360
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1361
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1362
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1363
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1364
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1365
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1366
|
-
$state: z.ZodString;
|
|
1367
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1368
|
-
$state: string;
|
|
1369
|
-
not?: true | undefined;
|
|
1370
|
-
eq?: unknown;
|
|
1371
|
-
neq?: unknown;
|
|
1372
|
-
gt?: number | undefined;
|
|
1373
|
-
gte?: number | undefined;
|
|
1374
|
-
lt?: number | undefined;
|
|
1375
|
-
lte?: number | undefined;
|
|
1376
|
-
}, {
|
|
1377
|
-
$state: string;
|
|
1378
|
-
not?: true | undefined;
|
|
1379
|
-
eq?: unknown;
|
|
1380
|
-
neq?: unknown;
|
|
1381
|
-
gt?: number | undefined;
|
|
1382
|
-
gte?: number | undefined;
|
|
1383
|
-
lt?: number | undefined;
|
|
1384
|
-
lte?: number | undefined;
|
|
1385
|
-
}>>, z.ZodObject<{
|
|
1386
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1387
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1388
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1389
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1392
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1393
|
-
$item: z.ZodString;
|
|
1394
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1395
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1396
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1397
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1398
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1399
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1400
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1401
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1402
|
-
$index: z.ZodLiteral<true>;
|
|
1403
|
-
}, z.core.$strict>]>>]>>;
|
|
1404
|
-
}, z.core.$strict>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1405
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1406
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1407
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1408
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1409
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1410
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1411
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1412
|
-
$state: z.ZodString;
|
|
1413
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1414
|
-
$state: string;
|
|
1415
|
-
not?: true | undefined;
|
|
1416
|
-
eq?: unknown;
|
|
1417
|
-
neq?: unknown;
|
|
1418
|
-
gt?: number | undefined;
|
|
1419
|
-
gte?: number | undefined;
|
|
1420
|
-
lt?: number | undefined;
|
|
1421
|
-
lte?: number | undefined;
|
|
1422
|
-
}, {
|
|
1423
|
-
$state: string;
|
|
1424
|
-
not?: true | undefined;
|
|
1425
|
-
eq?: unknown;
|
|
1426
|
-
neq?: unknown;
|
|
1427
|
-
gt?: number | undefined;
|
|
1428
|
-
gte?: number | undefined;
|
|
1429
|
-
lt?: number | undefined;
|
|
1430
|
-
lte?: number | undefined;
|
|
1431
|
-
}>>, z.ZodObject<{
|
|
1432
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1433
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1434
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1435
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1436
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1437
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1438
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1439
|
-
$item: z.ZodString;
|
|
1440
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1441
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1442
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1443
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1444
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1445
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1446
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1447
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1448
|
-
$index: z.ZodLiteral<true>;
|
|
1449
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
1450
|
-
$or: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1451
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1452
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1453
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1454
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1455
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1456
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1457
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1458
|
-
$state: z.ZodString;
|
|
1459
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1460
|
-
$state: string;
|
|
1461
|
-
not?: true | undefined;
|
|
1462
|
-
eq?: unknown;
|
|
1463
|
-
neq?: unknown;
|
|
1464
|
-
gt?: number | undefined;
|
|
1465
|
-
gte?: number | undefined;
|
|
1466
|
-
lt?: number | undefined;
|
|
1467
|
-
lte?: number | undefined;
|
|
1468
|
-
}, {
|
|
1469
|
-
$state: string;
|
|
1470
|
-
not?: true | undefined;
|
|
1471
|
-
eq?: unknown;
|
|
1472
|
-
neq?: unknown;
|
|
1473
|
-
gt?: number | undefined;
|
|
1474
|
-
gte?: number | undefined;
|
|
1475
|
-
lt?: number | undefined;
|
|
1476
|
-
lte?: number | undefined;
|
|
1477
|
-
}>>, z.ZodObject<{
|
|
1478
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1479
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1480
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1481
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1482
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1483
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1484
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1485
|
-
$item: z.ZodString;
|
|
1486
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1487
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1488
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1489
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1490
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1491
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1492
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1493
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1494
|
-
$index: z.ZodLiteral<true>;
|
|
1495
|
-
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1496
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1497
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1498
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1499
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1500
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1501
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1502
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1503
|
-
$state: z.ZodString;
|
|
1504
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1505
|
-
$state: string;
|
|
1506
|
-
not?: true | undefined;
|
|
1507
|
-
eq?: unknown;
|
|
1508
|
-
neq?: unknown;
|
|
1509
|
-
gt?: number | undefined;
|
|
1510
|
-
gte?: number | undefined;
|
|
1511
|
-
lt?: number | undefined;
|
|
1512
|
-
lte?: number | undefined;
|
|
1513
|
-
}, {
|
|
1514
|
-
$state: string;
|
|
1515
|
-
not?: true | undefined;
|
|
1516
|
-
eq?: unknown;
|
|
1517
|
-
neq?: unknown;
|
|
1518
|
-
gt?: number | undefined;
|
|
1519
|
-
gte?: number | undefined;
|
|
1520
|
-
lt?: number | undefined;
|
|
1521
|
-
lte?: number | undefined;
|
|
1522
|
-
}>>, z.ZodObject<{
|
|
1523
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1524
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1525
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1526
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1527
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1528
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1529
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1530
|
-
$item: z.ZodString;
|
|
1531
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1532
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1533
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1534
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1535
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1536
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1537
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1538
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1539
|
-
$index: z.ZodLiteral<true>;
|
|
1540
|
-
}, z.core.$strict>]>>]>>;
|
|
1541
|
-
}, z.core.$strict>]>>, z.ZodLiteral<false>, z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1542
|
-
__ref: z.ZodString;
|
|
1543
|
-
}, z.core.$strip>]>>, z.ZodTransform<{
|
|
1544
|
-
$state: string;
|
|
1545
|
-
eq?: unknown;
|
|
1546
|
-
} | {
|
|
1547
|
-
$state: string;
|
|
1548
|
-
eq?: unknown;
|
|
1549
|
-
}[], Record<string, string | number | boolean | {
|
|
1550
|
-
__ref: string;
|
|
1551
|
-
}>>>]>>;
|
|
677
|
+
visible: z.ZodOptional<ElementVisibilitySchema>;
|
|
1552
678
|
text: z.ZodOptional<z.ZodString>;
|
|
1553
679
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1554
680
|
slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
@@ -1559,291 +685,7 @@ declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
|
1559
685
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1560
686
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1561
687
|
slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1562
|
-
visible: z.ZodOptional<
|
|
1563
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1564
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1565
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1566
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1567
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1568
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1569
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1570
|
-
$state: z.ZodString;
|
|
1571
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1572
|
-
$state: string;
|
|
1573
|
-
not?: true | undefined;
|
|
1574
|
-
eq?: unknown;
|
|
1575
|
-
neq?: unknown;
|
|
1576
|
-
gt?: number | undefined;
|
|
1577
|
-
gte?: number | undefined;
|
|
1578
|
-
lt?: number | undefined;
|
|
1579
|
-
lte?: number | undefined;
|
|
1580
|
-
}, {
|
|
1581
|
-
$state: string;
|
|
1582
|
-
not?: true | undefined;
|
|
1583
|
-
eq?: unknown;
|
|
1584
|
-
neq?: unknown;
|
|
1585
|
-
gt?: number | undefined;
|
|
1586
|
-
gte?: number | undefined;
|
|
1587
|
-
lt?: number | undefined;
|
|
1588
|
-
lte?: number | undefined;
|
|
1589
|
-
}>>, z.ZodObject<{
|
|
1590
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1591
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1592
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1593
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1594
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1595
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1596
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1597
|
-
$item: z.ZodString;
|
|
1598
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1599
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1600
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1601
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1602
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1603
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1604
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1605
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1606
|
-
$index: z.ZodLiteral<true>;
|
|
1607
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
1608
|
-
$or: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1609
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1610
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1611
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1612
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1613
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1614
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1616
|
-
$state: z.ZodString;
|
|
1617
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1618
|
-
$state: string;
|
|
1619
|
-
not?: true | undefined;
|
|
1620
|
-
eq?: unknown;
|
|
1621
|
-
neq?: unknown;
|
|
1622
|
-
gt?: number | undefined;
|
|
1623
|
-
gte?: number | undefined;
|
|
1624
|
-
lt?: number | undefined;
|
|
1625
|
-
lte?: number | undefined;
|
|
1626
|
-
}, {
|
|
1627
|
-
$state: string;
|
|
1628
|
-
not?: true | undefined;
|
|
1629
|
-
eq?: unknown;
|
|
1630
|
-
neq?: unknown;
|
|
1631
|
-
gt?: number | undefined;
|
|
1632
|
-
gte?: number | undefined;
|
|
1633
|
-
lt?: number | undefined;
|
|
1634
|
-
lte?: number | undefined;
|
|
1635
|
-
}>>, z.ZodObject<{
|
|
1636
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1637
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1638
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1639
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1640
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1641
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1642
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1643
|
-
$item: z.ZodString;
|
|
1644
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1645
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1646
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1647
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1648
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1649
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1650
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1651
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1652
|
-
$index: z.ZodLiteral<true>;
|
|
1653
|
-
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1654
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1655
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1656
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1657
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1658
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1659
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1660
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1661
|
-
$state: z.ZodString;
|
|
1662
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1663
|
-
$state: string;
|
|
1664
|
-
not?: true | undefined;
|
|
1665
|
-
eq?: unknown;
|
|
1666
|
-
neq?: unknown;
|
|
1667
|
-
gt?: number | undefined;
|
|
1668
|
-
gte?: number | undefined;
|
|
1669
|
-
lt?: number | undefined;
|
|
1670
|
-
lte?: number | undefined;
|
|
1671
|
-
}, {
|
|
1672
|
-
$state: string;
|
|
1673
|
-
not?: true | undefined;
|
|
1674
|
-
eq?: unknown;
|
|
1675
|
-
neq?: unknown;
|
|
1676
|
-
gt?: number | undefined;
|
|
1677
|
-
gte?: number | undefined;
|
|
1678
|
-
lt?: number | undefined;
|
|
1679
|
-
lte?: number | undefined;
|
|
1680
|
-
}>>, z.ZodObject<{
|
|
1681
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1682
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1683
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1684
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1685
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1686
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1687
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1688
|
-
$item: z.ZodString;
|
|
1689
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1690
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1691
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1692
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1693
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1694
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1695
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1696
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1697
|
-
$index: z.ZodLiteral<true>;
|
|
1698
|
-
}, z.core.$strict>]>>]>>;
|
|
1699
|
-
}, z.core.$strict>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1700
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1701
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1702
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1703
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1704
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1705
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1706
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1707
|
-
$state: z.ZodString;
|
|
1708
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1709
|
-
$state: string;
|
|
1710
|
-
not?: true | undefined;
|
|
1711
|
-
eq?: unknown;
|
|
1712
|
-
neq?: unknown;
|
|
1713
|
-
gt?: number | undefined;
|
|
1714
|
-
gte?: number | undefined;
|
|
1715
|
-
lt?: number | undefined;
|
|
1716
|
-
lte?: number | undefined;
|
|
1717
|
-
}, {
|
|
1718
|
-
$state: string;
|
|
1719
|
-
not?: true | undefined;
|
|
1720
|
-
eq?: unknown;
|
|
1721
|
-
neq?: unknown;
|
|
1722
|
-
gt?: number | undefined;
|
|
1723
|
-
gte?: number | undefined;
|
|
1724
|
-
lt?: number | undefined;
|
|
1725
|
-
lte?: number | undefined;
|
|
1726
|
-
}>>, z.ZodObject<{
|
|
1727
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1728
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1729
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1730
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1731
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1732
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1733
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1734
|
-
$item: z.ZodString;
|
|
1735
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1736
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1737
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1738
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1739
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1740
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1741
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1742
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1743
|
-
$index: z.ZodLiteral<true>;
|
|
1744
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
1745
|
-
$or: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1746
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1747
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1748
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1749
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1750
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1751
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1752
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1753
|
-
$state: z.ZodString;
|
|
1754
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1755
|
-
$state: string;
|
|
1756
|
-
not?: true | undefined;
|
|
1757
|
-
eq?: unknown;
|
|
1758
|
-
neq?: unknown;
|
|
1759
|
-
gt?: number | undefined;
|
|
1760
|
-
gte?: number | undefined;
|
|
1761
|
-
lt?: number | undefined;
|
|
1762
|
-
lte?: number | undefined;
|
|
1763
|
-
}, {
|
|
1764
|
-
$state: string;
|
|
1765
|
-
not?: true | undefined;
|
|
1766
|
-
eq?: unknown;
|
|
1767
|
-
neq?: unknown;
|
|
1768
|
-
gt?: number | undefined;
|
|
1769
|
-
gte?: number | undefined;
|
|
1770
|
-
lt?: number | undefined;
|
|
1771
|
-
lte?: number | undefined;
|
|
1772
|
-
}>>, z.ZodObject<{
|
|
1773
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1774
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1775
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1776
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1777
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1778
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1779
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1780
|
-
$item: z.ZodString;
|
|
1781
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1782
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1783
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1784
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1785
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1786
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1787
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1788
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1789
|
-
$index: z.ZodLiteral<true>;
|
|
1790
|
-
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1791
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1792
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1793
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1794
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1795
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1796
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1797
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1798
|
-
$state: z.ZodString;
|
|
1799
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1800
|
-
$state: string;
|
|
1801
|
-
not?: true | undefined;
|
|
1802
|
-
eq?: unknown;
|
|
1803
|
-
neq?: unknown;
|
|
1804
|
-
gt?: number | undefined;
|
|
1805
|
-
gte?: number | undefined;
|
|
1806
|
-
lt?: number | undefined;
|
|
1807
|
-
lte?: number | undefined;
|
|
1808
|
-
}, {
|
|
1809
|
-
$state: string;
|
|
1810
|
-
not?: true | undefined;
|
|
1811
|
-
eq?: unknown;
|
|
1812
|
-
neq?: unknown;
|
|
1813
|
-
gt?: number | undefined;
|
|
1814
|
-
gte?: number | undefined;
|
|
1815
|
-
lt?: number | undefined;
|
|
1816
|
-
lte?: number | undefined;
|
|
1817
|
-
}>>, z.ZodObject<{
|
|
1818
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1819
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1820
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1821
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1822
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1823
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1824
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1825
|
-
$item: z.ZodString;
|
|
1826
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1827
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1828
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1829
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1830
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1833
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1834
|
-
$index: z.ZodLiteral<true>;
|
|
1835
|
-
}, z.core.$strict>]>>]>>;
|
|
1836
|
-
}, z.core.$strict>]>>, z.ZodLiteral<false>, z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
1837
|
-
__ref: z.ZodString;
|
|
1838
|
-
}, z.core.$strip>]>>, z.ZodTransform<{
|
|
1839
|
-
$state: string;
|
|
1840
|
-
eq?: unknown;
|
|
1841
|
-
} | {
|
|
1842
|
-
$state: string;
|
|
1843
|
-
eq?: unknown;
|
|
1844
|
-
}[], Record<string, string | number | boolean | {
|
|
1845
|
-
__ref: string;
|
|
1846
|
-
}>>>]>>;
|
|
688
|
+
visible: z.ZodOptional<ElementVisibilitySchema>;
|
|
1847
689
|
text: z.ZodOptional<z.ZodString>;
|
|
1848
690
|
}, z.core.$strict>>>;
|
|
1849
691
|
subtree: z.ZodOptional<z.ZodObject<{
|
|
@@ -1855,317 +697,13 @@ declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
|
1855
697
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1856
698
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1857
699
|
slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1858
|
-
visible: z.ZodOptional<
|
|
1859
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1860
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1861
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1862
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1863
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1864
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1865
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1866
|
-
$state: z.ZodString;
|
|
1867
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1868
|
-
$state: string;
|
|
1869
|
-
not?: true | undefined;
|
|
1870
|
-
eq?: unknown;
|
|
1871
|
-
neq?: unknown;
|
|
1872
|
-
gt?: number | undefined;
|
|
1873
|
-
gte?: number | undefined;
|
|
1874
|
-
lt?: number | undefined;
|
|
1875
|
-
lte?: number | undefined;
|
|
1876
|
-
}, {
|
|
1877
|
-
$state: string;
|
|
1878
|
-
not?: true | undefined;
|
|
1879
|
-
eq?: unknown;
|
|
1880
|
-
neq?: unknown;
|
|
1881
|
-
gt?: number | undefined;
|
|
1882
|
-
gte?: number | undefined;
|
|
1883
|
-
lt?: number | undefined;
|
|
1884
|
-
lte?: number | undefined;
|
|
1885
|
-
}>>, z.ZodObject<{
|
|
1886
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1887
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1888
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1889
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1890
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1891
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1892
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1893
|
-
$item: z.ZodString;
|
|
1894
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1895
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1896
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1897
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1898
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1899
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1900
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1901
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1902
|
-
$index: z.ZodLiteral<true>;
|
|
1903
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
1904
|
-
$or: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1905
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1906
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1907
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1908
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1909
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1910
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1911
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1912
|
-
$state: z.ZodString;
|
|
1913
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1914
|
-
$state: string;
|
|
1915
|
-
not?: true | undefined;
|
|
1916
|
-
eq?: unknown;
|
|
1917
|
-
neq?: unknown;
|
|
1918
|
-
gt?: number | undefined;
|
|
1919
|
-
gte?: number | undefined;
|
|
1920
|
-
lt?: number | undefined;
|
|
1921
|
-
lte?: number | undefined;
|
|
1922
|
-
}, {
|
|
1923
|
-
$state: string;
|
|
1924
|
-
not?: true | undefined;
|
|
1925
|
-
eq?: unknown;
|
|
1926
|
-
neq?: unknown;
|
|
1927
|
-
gt?: number | undefined;
|
|
1928
|
-
gte?: number | undefined;
|
|
1929
|
-
lt?: number | undefined;
|
|
1930
|
-
lte?: number | undefined;
|
|
1931
|
-
}>>, z.ZodObject<{
|
|
1932
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1933
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1934
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1935
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1936
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1937
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1938
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1939
|
-
$item: z.ZodString;
|
|
1940
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1941
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1942
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1943
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1944
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1945
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1946
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1947
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1948
|
-
$index: z.ZodLiteral<true>;
|
|
1949
|
-
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1950
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1951
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1952
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1953
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1954
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1955
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1956
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1957
|
-
$state: z.ZodString;
|
|
1958
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
1959
|
-
$state: string;
|
|
1960
|
-
not?: true | undefined;
|
|
1961
|
-
eq?: unknown;
|
|
1962
|
-
neq?: unknown;
|
|
1963
|
-
gt?: number | undefined;
|
|
1964
|
-
gte?: number | undefined;
|
|
1965
|
-
lt?: number | undefined;
|
|
1966
|
-
lte?: number | undefined;
|
|
1967
|
-
}, {
|
|
1968
|
-
$state: string;
|
|
1969
|
-
not?: true | undefined;
|
|
1970
|
-
eq?: unknown;
|
|
1971
|
-
neq?: unknown;
|
|
1972
|
-
gt?: number | undefined;
|
|
1973
|
-
gte?: number | undefined;
|
|
1974
|
-
lt?: number | undefined;
|
|
1975
|
-
lte?: number | undefined;
|
|
1976
|
-
}>>, z.ZodObject<{
|
|
1977
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1978
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1979
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1980
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1981
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1982
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1983
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1984
|
-
$item: z.ZodString;
|
|
1985
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1986
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1987
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1988
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1989
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
1990
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
1991
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
1992
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
1993
|
-
$index: z.ZodLiteral<true>;
|
|
1994
|
-
}, z.core.$strict>]>>]>>;
|
|
1995
|
-
}, z.core.$strict>, z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
1996
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1997
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
1998
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
1999
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2000
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2001
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2002
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2003
|
-
$state: z.ZodString;
|
|
2004
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
2005
|
-
$state: string;
|
|
2006
|
-
not?: true | undefined;
|
|
2007
|
-
eq?: unknown;
|
|
2008
|
-
neq?: unknown;
|
|
2009
|
-
gt?: number | undefined;
|
|
2010
|
-
gte?: number | undefined;
|
|
2011
|
-
lt?: number | undefined;
|
|
2012
|
-
lte?: number | undefined;
|
|
2013
|
-
}, {
|
|
2014
|
-
$state: string;
|
|
2015
|
-
not?: true | undefined;
|
|
2016
|
-
eq?: unknown;
|
|
2017
|
-
neq?: unknown;
|
|
2018
|
-
gt?: number | undefined;
|
|
2019
|
-
gte?: number | undefined;
|
|
2020
|
-
lt?: number | undefined;
|
|
2021
|
-
lte?: number | undefined;
|
|
2022
|
-
}>>, z.ZodObject<{
|
|
2023
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2024
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2025
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2026
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2027
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2028
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2029
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2030
|
-
$item: z.ZodString;
|
|
2031
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2032
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2033
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2034
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2035
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2036
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2037
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2038
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2039
|
-
$index: z.ZodLiteral<true>;
|
|
2040
|
-
}, z.core.$strict>]>, z.ZodObject<{
|
|
2041
|
-
$or: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
2042
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2043
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2044
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2045
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2046
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2047
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2048
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2049
|
-
$state: z.ZodString;
|
|
2050
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
2051
|
-
$state: string;
|
|
2052
|
-
not?: true | undefined;
|
|
2053
|
-
eq?: unknown;
|
|
2054
|
-
neq?: unknown;
|
|
2055
|
-
gt?: number | undefined;
|
|
2056
|
-
gte?: number | undefined;
|
|
2057
|
-
lt?: number | undefined;
|
|
2058
|
-
lte?: number | undefined;
|
|
2059
|
-
}, {
|
|
2060
|
-
$state: string;
|
|
2061
|
-
not?: true | undefined;
|
|
2062
|
-
eq?: unknown;
|
|
2063
|
-
neq?: unknown;
|
|
2064
|
-
gt?: number | undefined;
|
|
2065
|
-
gte?: number | undefined;
|
|
2066
|
-
lt?: number | undefined;
|
|
2067
|
-
lte?: number | undefined;
|
|
2068
|
-
}>>, z.ZodObject<{
|
|
2069
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2070
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2071
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2072
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2073
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2074
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2075
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2076
|
-
$item: z.ZodString;
|
|
2077
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2078
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2079
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2080
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2081
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2082
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2083
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2084
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2085
|
-
$index: z.ZodLiteral<true>;
|
|
2086
|
-
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
2087
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2088
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2089
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2090
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2091
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2092
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2093
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2094
|
-
$state: z.ZodString;
|
|
2095
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
2096
|
-
$state: string;
|
|
2097
|
-
not?: true | undefined;
|
|
2098
|
-
eq?: unknown;
|
|
2099
|
-
neq?: unknown;
|
|
2100
|
-
gt?: number | undefined;
|
|
2101
|
-
gte?: number | undefined;
|
|
2102
|
-
lt?: number | undefined;
|
|
2103
|
-
lte?: number | undefined;
|
|
2104
|
-
}, {
|
|
2105
|
-
$state: string;
|
|
2106
|
-
not?: true | undefined;
|
|
2107
|
-
eq?: unknown;
|
|
2108
|
-
neq?: unknown;
|
|
2109
|
-
gt?: number | undefined;
|
|
2110
|
-
gte?: number | undefined;
|
|
2111
|
-
lt?: number | undefined;
|
|
2112
|
-
lte?: number | undefined;
|
|
2113
|
-
}>>, z.ZodObject<{
|
|
2114
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2115
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2116
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2117
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2118
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2119
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2120
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2121
|
-
$item: z.ZodString;
|
|
2122
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2123
|
-
not: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2124
|
-
eq: z.ZodOptional<z.ZodUnknown>;
|
|
2125
|
-
neq: z.ZodOptional<z.ZodUnknown>;
|
|
2126
|
-
gt: z.ZodOptional<z.ZodNumber>;
|
|
2127
|
-
gte: z.ZodOptional<z.ZodNumber>;
|
|
2128
|
-
lt: z.ZodOptional<z.ZodNumber>;
|
|
2129
|
-
lte: z.ZodOptional<z.ZodNumber>;
|
|
2130
|
-
$index: z.ZodLiteral<true>;
|
|
2131
|
-
}, z.core.$strict>]>>]>>;
|
|
2132
|
-
}, z.core.$strict>]>>, z.ZodLiteral<false>, z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
2133
|
-
__ref: z.ZodString;
|
|
2134
|
-
}, z.core.$strip>]>>, z.ZodTransform<{
|
|
2135
|
-
$state: string;
|
|
2136
|
-
eq?: unknown;
|
|
2137
|
-
} | {
|
|
2138
|
-
$state: string;
|
|
2139
|
-
eq?: unknown;
|
|
2140
|
-
}[], Record<string, string | number | boolean | {
|
|
2141
|
-
__ref: string;
|
|
2142
|
-
}>>>]>>;
|
|
700
|
+
visible: z.ZodOptional<ElementVisibilitySchema>;
|
|
2143
701
|
text: z.ZodOptional<z.ZodString>;
|
|
2144
702
|
}, z.core.$strict>>;
|
|
2145
703
|
}, z.core.$strip>>;
|
|
2146
704
|
}, z.core.$strip>>;
|
|
2147
705
|
}, z.core.$strip>;
|
|
2148
|
-
readonly readOnly: false;
|
|
2149
|
-
readonly label: "Add element";
|
|
2150
|
-
readonly description: "Add an element to a component: creates the LAYER it is styled through and the anatomy node that places it, under `parent`.";
|
|
2151
|
-
readonly scope: "item";
|
|
2152
|
-
readonly creates: true;
|
|
2153
|
-
readonly title: (entity: string) => string;
|
|
2154
|
-
readonly handler: (input: Record<string, unknown>, config: Config) => Config;
|
|
2155
706
|
};
|
|
2156
|
-
/**
|
|
2157
|
-
* Remove an element from a composition — the node, its layer, and everything that named it.
|
|
2158
|
-
*
|
|
2159
|
-
* A custom op for the same reason `element-insert` is: it writes more than one thing and either
|
|
2160
|
-
* half alone is broken. `sub-delete/layers` drops the layer and leaves the anatomy node holding
|
|
2161
|
-
* a dangling `layer:<key>` ref, its parent's `children` still naming it, and every style rule
|
|
2162
|
-
* still carrying a bag for a layer that no longer exists. `sub-delete/anatomy` leaves the parent
|
|
2163
|
-
* edge — a value the stored `children` enum would now refuse on the next write to that node.
|
|
2164
|
-
*
|
|
2165
|
-
* The rule bags come out through the layer's own `sub-delete`, which `Layer.keyedByNameIn`
|
|
2166
|
-
* cascades into every rule without re-validating what the rule's other layers hold. That
|
|
2167
|
-
* cascade never removes a rule, so a rule left styling nothing is removed here.
|
|
2168
|
-
*/
|
|
2169
707
|
readonly 'element-delete': {
|
|
2170
708
|
readonly input: z.ZodObject<{
|
|
2171
709
|
path: z.ZodType<string, string | undefined, z.core.$ZodTypeInternals<string, string | undefined>>;
|
|
@@ -2174,27 +712,7 @@ declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
|
2174
712
|
subtree: z.ZodDefault<z.ZodBoolean>;
|
|
2175
713
|
}, z.core.$strip>>;
|
|
2176
714
|
}, z.core.$strip>;
|
|
2177
|
-
readonly readOnly: false;
|
|
2178
|
-
readonly label: "Remove element";
|
|
2179
|
-
readonly description: "Remove an element from a component: its anatomy node, the layer it is styled through, its subtree, every parent edge naming it, and its entry in every style rule.";
|
|
2180
|
-
readonly scope: "item";
|
|
2181
|
-
readonly approval: "destructive";
|
|
2182
|
-
readonly title: (entity: string) => string;
|
|
2183
|
-
readonly handler: (input: Record<string, unknown>, config: Config) => Config;
|
|
2184
715
|
};
|
|
2185
|
-
/**
|
|
2186
|
-
* Move a node to a different parent, or to a different place under the same one.
|
|
2187
|
-
*
|
|
2188
|
-
* Sibling order lives in a parent's `children`, so a move is two updates — one per parent — and
|
|
2189
|
-
* both have to land or the node is in neither list or in both.
|
|
2190
|
-
*
|
|
2191
|
-
* A node can also be held by a slot rather than a child edge (`slots: { icon: [key] }`),
|
|
2192
|
-
* and a move treats both as the home being left: every child edge naming the key is detached,
|
|
2193
|
-
* and every stale slot entry naming it is cleared, whichever new home the move names. With
|
|
2194
|
-
* `slotProp` the new home is the parent's slot instead of its `children` — the same statement
|
|
2195
|
-
* `element-insert` makes about a new node, made about one that already exists, so the moved
|
|
2196
|
-
* element keeps its key, props, styles and subtree.
|
|
2197
|
-
*/
|
|
2198
716
|
readonly 'element-move': {
|
|
2199
717
|
readonly input: z.ZodObject<{
|
|
2200
718
|
path: z.ZodType<string, string | undefined, z.core.$ZodTypeInternals<string, string | undefined>>;
|
|
@@ -2205,13 +723,6 @@ declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
|
2205
723
|
slotProp: z.ZodOptional<z.ZodString>;
|
|
2206
724
|
}, z.core.$strip>>;
|
|
2207
725
|
}, z.core.$strip>;
|
|
2208
|
-
readonly readOnly: false;
|
|
2209
|
-
readonly label: "Move element";
|
|
2210
|
-
readonly description: "Move a component's anatomy node under a different parent, to a different position under the same one, or — with `slotProp` — into a parent's slot.";
|
|
2211
|
-
readonly scope: "item";
|
|
2212
|
-
readonly approval: "reference-change";
|
|
2213
|
-
readonly title: (entity: string) => string;
|
|
2214
|
-
readonly handler: (input: Record<string, unknown>, config: Config) => Config;
|
|
2215
726
|
};
|
|
2216
727
|
readonly validate: {
|
|
2217
728
|
readonly input: z.ZodObject<{
|
|
@@ -2220,25 +731,6 @@ declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
|
2220
731
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2221
732
|
}, z.core.$strip>;
|
|
2222
733
|
}, z.core.$strip>;
|
|
2223
|
-
readonly readOnly: true;
|
|
2224
|
-
readonly label: "Validate props";
|
|
2225
|
-
readonly description: "Check a bag of prop VALUES against a component — rejects unknown props and out-of-domain values.";
|
|
2226
|
-
readonly scope: "item";
|
|
2227
|
-
readonly title: (entity: string) => string;
|
|
2228
|
-
readonly example: ({
|
|
2229
|
-
config,
|
|
2230
|
-
path
|
|
2231
|
-
}: {
|
|
2232
|
-
config: Config;
|
|
2233
|
-
kind: string;
|
|
2234
|
-
path: string;
|
|
2235
|
-
}) => {
|
|
2236
|
-
path: string;
|
|
2237
|
-
data: {
|
|
2238
|
-
props: Record<string, unknown>;
|
|
2239
|
-
};
|
|
2240
|
-
};
|
|
2241
|
-
readonly handler: (input: Record<string, unknown>, config: Config) => string[];
|
|
2242
734
|
};
|
|
2243
735
|
}, {
|
|
2244
736
|
/**
|
|
@@ -2254,7 +746,7 @@ declare const ComponentEntity: EntityClass<z.ZodObject<{
|
|
|
2254
746
|
member
|
|
2255
747
|
}: ComputedInput) => string[];
|
|
2256
748
|
}, false, Record<never, never>, Record<never, never>>;
|
|
2257
|
-
type ComponentRefDelta =
|
|
749
|
+
type ComponentRefDelta = Partial<CreateInput<typeof componentFields>>;
|
|
2258
750
|
type ExactComponentDelta<Delta> = Delta & { [Key in Exclude<keyof Delta, keyof ComponentRefDelta>]: never };
|
|
2259
751
|
type ContractLayers<Contract> = Contract extends {
|
|
2260
752
|
layers: infer Layers;
|
|
@@ -2304,7 +796,12 @@ type ExtendedComponentRef<Contract = ComponentContractOf<string>, Delta extends
|
|
|
2304
796
|
};
|
|
2305
797
|
type ComponentReference<Contract = ComponentContractOf<string>, Path extends string = string> = Ref$1 & {
|
|
2306
798
|
/** The path as a literal, the way every entity's `ref` types its marker. */readonly __ref: `component:${Path}`;
|
|
2307
|
-
extend<const Delta extends ComponentRefDelta>(delta: ExactComponentDelta<Delta>): ExtendedComponentRef<Contract, Delta>;
|
|
799
|
+
extend<const Delta extends ComponentRefDelta>(delta: ExactComponentDelta<Delta> & ExtensionDefaults<Contract, Delta>): ExtendedComponentRef<Contract, Delta>;
|
|
800
|
+
};
|
|
801
|
+
/** An extension's `defaultProps`, checked against the props it ends up with the way
|
|
802
|
+
* `defineComponent` checks its own: a declared prop takes its values, and any other key stays open. */
|
|
803
|
+
type ExtensionDefaults<Contract, Delta> = {
|
|
804
|
+
readonly defaultProps?: DefaultsOf<ResolvedProps<Contract, Delta>>;
|
|
2308
805
|
};
|
|
2309
806
|
/**
|
|
2310
807
|
* Component keeps the generic entity surface, plus the questions only a component answers: its
|
|
@@ -2312,14 +809,15 @@ type ComponentReference<Contract = ComponentContractOf<string>, Path extends str
|
|
|
2312
809
|
* what a design file put in a placed instance's slots (`Instance`, in `spec/instance`).
|
|
2313
810
|
* Only its ref authoring result knows about the source-only `.render()` step.
|
|
2314
811
|
*/
|
|
2315
|
-
declare const Component:
|
|
2316
|
-
|
|
812
|
+
declare const Component: ComponentClass;
|
|
813
|
+
interface ComponentClass extends Omit<typeof ComponentEntity, 'ref'> {
|
|
814
|
+
ref<const Path extends PathOf<'component'>>(path: Path): ComponentReference<ComponentContractOf<Path>, Path>;
|
|
2317
815
|
slots: typeof listSlots;
|
|
2318
816
|
slot: typeof slotOf;
|
|
2319
817
|
slotHostedBy: typeof slotHostedBy;
|
|
2320
818
|
namedSlots: typeof namedSlots;
|
|
2321
819
|
cell: typeof cellAt;
|
|
2322
820
|
instance: typeof instanceAt;
|
|
2323
|
-
}
|
|
821
|
+
}
|
|
2324
822
|
//#endregion
|
|
2325
|
-
export { AuthoredPropBody, Component, ComponentBody, ComponentElementBody, ComponentPropBody, ComponentReference, ComponentStyleBody, ElementVisibility, ElementVisibilityInput, ExtendedComponentRef, ProjectedVisibility, SLOT_CODE_FORMS, VariantValueBody, VariantValues, blankComponentBody, canonicalWhen, forwardedNames, layerRef, ownValues, ownsItsValues, valueRef };
|
|
823
|
+
export { AuthoredPropBody, Component, ComponentBody, ComponentClass, ComponentElementBody, ComponentPropBody, ComponentReference, ComponentStyleBody, ElementVisibility, ElementVisibilityInput, ElementVisibilitySchema, ExtendedComponentRef, ProjectedVisibility, PropShapeSchema, SLOT_CODE_FORMS, VariantValueBody, VariantValues, blankComponentBody, canonicalWhen, forwardedNames, layerRef, ownValues, ownsItsValues, valueRef };
|