agentic-zi-ui-schema 0.1.0 → 0.1.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/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export declare const UI_LIMITS: {
17
17
  export declare const UI_ALLOWED_TAGS: readonly ["repeat", "a", "article", "aside", "blockquote", "br", "button", "code", "div", "em", "figcaption", "figure", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "header", "hr", "img", "input", "label", "li", "main", "nav", "ol", "option", "p", "path", "pre", "section", "select", "small", "span", "strong", "svg", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "tr", "ul"];
18
18
  export declare const UI_ALLOWED_PROPS: readonly ["alt", "aria-label", "aria-controls", "aria-current", "aria-describedby", "aria-disabled", "aria-expanded", "aria-hidden", "aria-invalid", "aria-labelledby", "aria-live", "aria-pressed", "aria-required", "aria-selected", "aria-checked", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "aria-busy", "checked", "clipRule", "cols", "cx", "cy", "d", "decoding", "disabled", "fill", "fillRule", "height", "htmlFor", "href", "loading", "max", "maxLength", "min", "minLength", "name", "opacity", "placeholder", "preserveAspectRatio", "rel", "role", "r", "rows", "src", "stroke", "strokeLinecap", "strokeLinejoin", "strokeWidth", "step", "target", "title", "type", "value", "viewBox", "width", "x", "y"];
19
19
  export declare const UI_ALLOWED_EVENTS: readonly ["onClick", "onChange", "onSubmit", "onMouseEnter", "onMouseLeave", "onMouseOver", "onMouseOut", "onMouseDown", "onMouseUp", "onMouseMove", "onFocus", "onBlur"];
20
- export declare const UiActionTypeSchema: z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE"]>;
20
+ export declare const UiActionTypeSchema: z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE", "PATCH_STATE_PATH", "ARRAY_APPEND", "ARRAY_REMOVE"]>;
21
21
  export type UiActionType = z.infer<typeof UiActionTypeSchema>;
22
22
  export declare const UiActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
23
23
  type: z.ZodLiteral<"FLOW_EVENT">;
@@ -79,10 +79,49 @@ export declare const UiActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
79
79
  key: string;
80
80
  value?: unknown;
81
81
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
82
+ }>, z.ZodObject<{
83
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
84
+ keyPath: z.ZodString;
85
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
86
+ value: z.ZodOptional<z.ZodUnknown>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ type: "PATCH_STATE_PATH";
89
+ keyPath: string;
90
+ value?: unknown;
91
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
92
+ }, {
93
+ type: "PATCH_STATE_PATH";
94
+ keyPath: string;
95
+ value?: unknown;
96
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
97
+ }>, z.ZodObject<{
98
+ type: z.ZodLiteral<"ARRAY_APPEND">;
99
+ keyPath: z.ZodString;
100
+ value: z.ZodUnknown;
101
+ }, "strip", z.ZodTypeAny, {
102
+ type: "ARRAY_APPEND";
103
+ keyPath: string;
104
+ value?: unknown;
105
+ }, {
106
+ type: "ARRAY_APPEND";
107
+ keyPath: string;
108
+ value?: unknown;
109
+ }>, z.ZodObject<{
110
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
111
+ keyPath: z.ZodString;
112
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ type: "ARRAY_REMOVE";
115
+ keyPath: string;
116
+ index: string | number;
117
+ }, {
118
+ type: "ARRAY_REMOVE";
119
+ keyPath: string;
120
+ index: string | number;
82
121
  }>]>;
83
122
  export type UiAction = z.infer<typeof UiActionSchema>;
84
123
  export declare const UiEventMapSchema: z.ZodObject<{
85
- onClick: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
124
+ onClick: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
86
125
  type: z.ZodLiteral<"FLOW_EVENT">;
87
126
  name: z.ZodString;
88
127
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -142,8 +181,46 @@ export declare const UiEventMapSchema: z.ZodObject<{
142
181
  key: string;
143
182
  value?: unknown;
144
183
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
145
- }>]>>;
146
- onChange: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
184
+ }>, z.ZodObject<{
185
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
186
+ keyPath: z.ZodString;
187
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
188
+ value: z.ZodOptional<z.ZodUnknown>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ type: "PATCH_STATE_PATH";
191
+ keyPath: string;
192
+ value?: unknown;
193
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
194
+ }, {
195
+ type: "PATCH_STATE_PATH";
196
+ keyPath: string;
197
+ value?: unknown;
198
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
199
+ }>, z.ZodObject<{
200
+ type: z.ZodLiteral<"ARRAY_APPEND">;
201
+ keyPath: z.ZodString;
202
+ value: z.ZodUnknown;
203
+ }, "strip", z.ZodTypeAny, {
204
+ type: "ARRAY_APPEND";
205
+ keyPath: string;
206
+ value?: unknown;
207
+ }, {
208
+ type: "ARRAY_APPEND";
209
+ keyPath: string;
210
+ value?: unknown;
211
+ }>, z.ZodObject<{
212
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
213
+ keyPath: z.ZodString;
214
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ type: "ARRAY_REMOVE";
217
+ keyPath: string;
218
+ index: string | number;
219
+ }, {
220
+ type: "ARRAY_REMOVE";
221
+ keyPath: string;
222
+ index: string | number;
223
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
147
224
  type: z.ZodLiteral<"FLOW_EVENT">;
148
225
  name: z.ZodString;
149
226
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -203,8 +280,47 @@ export declare const UiEventMapSchema: z.ZodObject<{
203
280
  key: string;
204
281
  value?: unknown;
205
282
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
206
- }>]>>;
207
- onSubmit: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
283
+ }>, z.ZodObject<{
284
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
285
+ keyPath: z.ZodString;
286
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
287
+ value: z.ZodOptional<z.ZodUnknown>;
288
+ }, "strip", z.ZodTypeAny, {
289
+ type: "PATCH_STATE_PATH";
290
+ keyPath: string;
291
+ value?: unknown;
292
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
293
+ }, {
294
+ type: "PATCH_STATE_PATH";
295
+ keyPath: string;
296
+ value?: unknown;
297
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
298
+ }>, z.ZodObject<{
299
+ type: z.ZodLiteral<"ARRAY_APPEND">;
300
+ keyPath: z.ZodString;
301
+ value: z.ZodUnknown;
302
+ }, "strip", z.ZodTypeAny, {
303
+ type: "ARRAY_APPEND";
304
+ keyPath: string;
305
+ value?: unknown;
306
+ }, {
307
+ type: "ARRAY_APPEND";
308
+ keyPath: string;
309
+ value?: unknown;
310
+ }>, z.ZodObject<{
311
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
312
+ keyPath: z.ZodString;
313
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
314
+ }, "strip", z.ZodTypeAny, {
315
+ type: "ARRAY_REMOVE";
316
+ keyPath: string;
317
+ index: string | number;
318
+ }, {
319
+ type: "ARRAY_REMOVE";
320
+ keyPath: string;
321
+ index: string | number;
322
+ }>]>, "many">]>>;
323
+ onChange: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
208
324
  type: z.ZodLiteral<"FLOW_EVENT">;
209
325
  name: z.ZodString;
210
326
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -264,8 +380,46 @@ export declare const UiEventMapSchema: z.ZodObject<{
264
380
  key: string;
265
381
  value?: unknown;
266
382
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
267
- }>]>>;
268
- onMouseEnter: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
383
+ }>, z.ZodObject<{
384
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
385
+ keyPath: z.ZodString;
386
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
387
+ value: z.ZodOptional<z.ZodUnknown>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ type: "PATCH_STATE_PATH";
390
+ keyPath: string;
391
+ value?: unknown;
392
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
393
+ }, {
394
+ type: "PATCH_STATE_PATH";
395
+ keyPath: string;
396
+ value?: unknown;
397
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
398
+ }>, z.ZodObject<{
399
+ type: z.ZodLiteral<"ARRAY_APPEND">;
400
+ keyPath: z.ZodString;
401
+ value: z.ZodUnknown;
402
+ }, "strip", z.ZodTypeAny, {
403
+ type: "ARRAY_APPEND";
404
+ keyPath: string;
405
+ value?: unknown;
406
+ }, {
407
+ type: "ARRAY_APPEND";
408
+ keyPath: string;
409
+ value?: unknown;
410
+ }>, z.ZodObject<{
411
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
412
+ keyPath: z.ZodString;
413
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
414
+ }, "strip", z.ZodTypeAny, {
415
+ type: "ARRAY_REMOVE";
416
+ keyPath: string;
417
+ index: string | number;
418
+ }, {
419
+ type: "ARRAY_REMOVE";
420
+ keyPath: string;
421
+ index: string | number;
422
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
269
423
  type: z.ZodLiteral<"FLOW_EVENT">;
270
424
  name: z.ZodString;
271
425
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -325,8 +479,47 @@ export declare const UiEventMapSchema: z.ZodObject<{
325
479
  key: string;
326
480
  value?: unknown;
327
481
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
328
- }>]>>;
329
- onMouseLeave: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
482
+ }>, z.ZodObject<{
483
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
484
+ keyPath: z.ZodString;
485
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
486
+ value: z.ZodOptional<z.ZodUnknown>;
487
+ }, "strip", z.ZodTypeAny, {
488
+ type: "PATCH_STATE_PATH";
489
+ keyPath: string;
490
+ value?: unknown;
491
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
492
+ }, {
493
+ type: "PATCH_STATE_PATH";
494
+ keyPath: string;
495
+ value?: unknown;
496
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
497
+ }>, z.ZodObject<{
498
+ type: z.ZodLiteral<"ARRAY_APPEND">;
499
+ keyPath: z.ZodString;
500
+ value: z.ZodUnknown;
501
+ }, "strip", z.ZodTypeAny, {
502
+ type: "ARRAY_APPEND";
503
+ keyPath: string;
504
+ value?: unknown;
505
+ }, {
506
+ type: "ARRAY_APPEND";
507
+ keyPath: string;
508
+ value?: unknown;
509
+ }>, z.ZodObject<{
510
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
511
+ keyPath: z.ZodString;
512
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ type: "ARRAY_REMOVE";
515
+ keyPath: string;
516
+ index: string | number;
517
+ }, {
518
+ type: "ARRAY_REMOVE";
519
+ keyPath: string;
520
+ index: string | number;
521
+ }>]>, "many">]>>;
522
+ onSubmit: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
330
523
  type: z.ZodLiteral<"FLOW_EVENT">;
331
524
  name: z.ZodString;
332
525
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -386,8 +579,46 @@ export declare const UiEventMapSchema: z.ZodObject<{
386
579
  key: string;
387
580
  value?: unknown;
388
581
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
389
- }>]>>;
390
- onMouseOver: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
582
+ }>, z.ZodObject<{
583
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
584
+ keyPath: z.ZodString;
585
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
586
+ value: z.ZodOptional<z.ZodUnknown>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ type: "PATCH_STATE_PATH";
589
+ keyPath: string;
590
+ value?: unknown;
591
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
592
+ }, {
593
+ type: "PATCH_STATE_PATH";
594
+ keyPath: string;
595
+ value?: unknown;
596
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
597
+ }>, z.ZodObject<{
598
+ type: z.ZodLiteral<"ARRAY_APPEND">;
599
+ keyPath: z.ZodString;
600
+ value: z.ZodUnknown;
601
+ }, "strip", z.ZodTypeAny, {
602
+ type: "ARRAY_APPEND";
603
+ keyPath: string;
604
+ value?: unknown;
605
+ }, {
606
+ type: "ARRAY_APPEND";
607
+ keyPath: string;
608
+ value?: unknown;
609
+ }>, z.ZodObject<{
610
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
611
+ keyPath: z.ZodString;
612
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
613
+ }, "strip", z.ZodTypeAny, {
614
+ type: "ARRAY_REMOVE";
615
+ keyPath: string;
616
+ index: string | number;
617
+ }, {
618
+ type: "ARRAY_REMOVE";
619
+ keyPath: string;
620
+ index: string | number;
621
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
391
622
  type: z.ZodLiteral<"FLOW_EVENT">;
392
623
  name: z.ZodString;
393
624
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -447,8 +678,47 @@ export declare const UiEventMapSchema: z.ZodObject<{
447
678
  key: string;
448
679
  value?: unknown;
449
680
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
450
- }>]>>;
451
- onMouseOut: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
681
+ }>, z.ZodObject<{
682
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
683
+ keyPath: z.ZodString;
684
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
685
+ value: z.ZodOptional<z.ZodUnknown>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ type: "PATCH_STATE_PATH";
688
+ keyPath: string;
689
+ value?: unknown;
690
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
691
+ }, {
692
+ type: "PATCH_STATE_PATH";
693
+ keyPath: string;
694
+ value?: unknown;
695
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
696
+ }>, z.ZodObject<{
697
+ type: z.ZodLiteral<"ARRAY_APPEND">;
698
+ keyPath: z.ZodString;
699
+ value: z.ZodUnknown;
700
+ }, "strip", z.ZodTypeAny, {
701
+ type: "ARRAY_APPEND";
702
+ keyPath: string;
703
+ value?: unknown;
704
+ }, {
705
+ type: "ARRAY_APPEND";
706
+ keyPath: string;
707
+ value?: unknown;
708
+ }>, z.ZodObject<{
709
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
710
+ keyPath: z.ZodString;
711
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ type: "ARRAY_REMOVE";
714
+ keyPath: string;
715
+ index: string | number;
716
+ }, {
717
+ type: "ARRAY_REMOVE";
718
+ keyPath: string;
719
+ index: string | number;
720
+ }>]>, "many">]>>;
721
+ onMouseEnter: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
452
722
  type: z.ZodLiteral<"FLOW_EVENT">;
453
723
  name: z.ZodString;
454
724
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -508,8 +778,46 @@ export declare const UiEventMapSchema: z.ZodObject<{
508
778
  key: string;
509
779
  value?: unknown;
510
780
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
511
- }>]>>;
512
- onMouseDown: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
781
+ }>, z.ZodObject<{
782
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
783
+ keyPath: z.ZodString;
784
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
785
+ value: z.ZodOptional<z.ZodUnknown>;
786
+ }, "strip", z.ZodTypeAny, {
787
+ type: "PATCH_STATE_PATH";
788
+ keyPath: string;
789
+ value?: unknown;
790
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
791
+ }, {
792
+ type: "PATCH_STATE_PATH";
793
+ keyPath: string;
794
+ value?: unknown;
795
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
796
+ }>, z.ZodObject<{
797
+ type: z.ZodLiteral<"ARRAY_APPEND">;
798
+ keyPath: z.ZodString;
799
+ value: z.ZodUnknown;
800
+ }, "strip", z.ZodTypeAny, {
801
+ type: "ARRAY_APPEND";
802
+ keyPath: string;
803
+ value?: unknown;
804
+ }, {
805
+ type: "ARRAY_APPEND";
806
+ keyPath: string;
807
+ value?: unknown;
808
+ }>, z.ZodObject<{
809
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
810
+ keyPath: z.ZodString;
811
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
812
+ }, "strip", z.ZodTypeAny, {
813
+ type: "ARRAY_REMOVE";
814
+ keyPath: string;
815
+ index: string | number;
816
+ }, {
817
+ type: "ARRAY_REMOVE";
818
+ keyPath: string;
819
+ index: string | number;
820
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
513
821
  type: z.ZodLiteral<"FLOW_EVENT">;
514
822
  name: z.ZodString;
515
823
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -569,8 +877,47 @@ export declare const UiEventMapSchema: z.ZodObject<{
569
877
  key: string;
570
878
  value?: unknown;
571
879
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
572
- }>]>>;
573
- onMouseUp: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
880
+ }>, z.ZodObject<{
881
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
882
+ keyPath: z.ZodString;
883
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
884
+ value: z.ZodOptional<z.ZodUnknown>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ type: "PATCH_STATE_PATH";
887
+ keyPath: string;
888
+ value?: unknown;
889
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
890
+ }, {
891
+ type: "PATCH_STATE_PATH";
892
+ keyPath: string;
893
+ value?: unknown;
894
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
895
+ }>, z.ZodObject<{
896
+ type: z.ZodLiteral<"ARRAY_APPEND">;
897
+ keyPath: z.ZodString;
898
+ value: z.ZodUnknown;
899
+ }, "strip", z.ZodTypeAny, {
900
+ type: "ARRAY_APPEND";
901
+ keyPath: string;
902
+ value?: unknown;
903
+ }, {
904
+ type: "ARRAY_APPEND";
905
+ keyPath: string;
906
+ value?: unknown;
907
+ }>, z.ZodObject<{
908
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
909
+ keyPath: z.ZodString;
910
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
911
+ }, "strip", z.ZodTypeAny, {
912
+ type: "ARRAY_REMOVE";
913
+ keyPath: string;
914
+ index: string | number;
915
+ }, {
916
+ type: "ARRAY_REMOVE";
917
+ keyPath: string;
918
+ index: string | number;
919
+ }>]>, "many">]>>;
920
+ onMouseLeave: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
574
921
  type: z.ZodLiteral<"FLOW_EVENT">;
575
922
  name: z.ZodString;
576
923
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -630,8 +977,46 @@ export declare const UiEventMapSchema: z.ZodObject<{
630
977
  key: string;
631
978
  value?: unknown;
632
979
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
633
- }>]>>;
634
- onMouseMove: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
980
+ }>, z.ZodObject<{
981
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
982
+ keyPath: z.ZodString;
983
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
984
+ value: z.ZodOptional<z.ZodUnknown>;
985
+ }, "strip", z.ZodTypeAny, {
986
+ type: "PATCH_STATE_PATH";
987
+ keyPath: string;
988
+ value?: unknown;
989
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
990
+ }, {
991
+ type: "PATCH_STATE_PATH";
992
+ keyPath: string;
993
+ value?: unknown;
994
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
995
+ }>, z.ZodObject<{
996
+ type: z.ZodLiteral<"ARRAY_APPEND">;
997
+ keyPath: z.ZodString;
998
+ value: z.ZodUnknown;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ type: "ARRAY_APPEND";
1001
+ keyPath: string;
1002
+ value?: unknown;
1003
+ }, {
1004
+ type: "ARRAY_APPEND";
1005
+ keyPath: string;
1006
+ value?: unknown;
1007
+ }>, z.ZodObject<{
1008
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1009
+ keyPath: z.ZodString;
1010
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1011
+ }, "strip", z.ZodTypeAny, {
1012
+ type: "ARRAY_REMOVE";
1013
+ keyPath: string;
1014
+ index: string | number;
1015
+ }, {
1016
+ type: "ARRAY_REMOVE";
1017
+ keyPath: string;
1018
+ index: string | number;
1019
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
635
1020
  type: z.ZodLiteral<"FLOW_EVENT">;
636
1021
  name: z.ZodString;
637
1022
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -691,8 +1076,47 @@ export declare const UiEventMapSchema: z.ZodObject<{
691
1076
  key: string;
692
1077
  value?: unknown;
693
1078
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
694
- }>]>>;
695
- onFocus: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1079
+ }>, z.ZodObject<{
1080
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1081
+ keyPath: z.ZodString;
1082
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1083
+ value: z.ZodOptional<z.ZodUnknown>;
1084
+ }, "strip", z.ZodTypeAny, {
1085
+ type: "PATCH_STATE_PATH";
1086
+ keyPath: string;
1087
+ value?: unknown;
1088
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1089
+ }, {
1090
+ type: "PATCH_STATE_PATH";
1091
+ keyPath: string;
1092
+ value?: unknown;
1093
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1094
+ }>, z.ZodObject<{
1095
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1096
+ keyPath: z.ZodString;
1097
+ value: z.ZodUnknown;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ type: "ARRAY_APPEND";
1100
+ keyPath: string;
1101
+ value?: unknown;
1102
+ }, {
1103
+ type: "ARRAY_APPEND";
1104
+ keyPath: string;
1105
+ value?: unknown;
1106
+ }>, z.ZodObject<{
1107
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1108
+ keyPath: z.ZodString;
1109
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1110
+ }, "strip", z.ZodTypeAny, {
1111
+ type: "ARRAY_REMOVE";
1112
+ keyPath: string;
1113
+ index: string | number;
1114
+ }, {
1115
+ type: "ARRAY_REMOVE";
1116
+ keyPath: string;
1117
+ index: string | number;
1118
+ }>]>, "many">]>>;
1119
+ onMouseOver: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
696
1120
  type: z.ZodLiteral<"FLOW_EVENT">;
697
1121
  name: z.ZodString;
698
1122
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -752,8 +1176,46 @@ export declare const UiEventMapSchema: z.ZodObject<{
752
1176
  key: string;
753
1177
  value?: unknown;
754
1178
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
755
- }>]>>;
756
- onBlur: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1179
+ }>, z.ZodObject<{
1180
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1181
+ keyPath: z.ZodString;
1182
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1183
+ value: z.ZodOptional<z.ZodUnknown>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ type: "PATCH_STATE_PATH";
1186
+ keyPath: string;
1187
+ value?: unknown;
1188
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1189
+ }, {
1190
+ type: "PATCH_STATE_PATH";
1191
+ keyPath: string;
1192
+ value?: unknown;
1193
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1194
+ }>, z.ZodObject<{
1195
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1196
+ keyPath: z.ZodString;
1197
+ value: z.ZodUnknown;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ type: "ARRAY_APPEND";
1200
+ keyPath: string;
1201
+ value?: unknown;
1202
+ }, {
1203
+ type: "ARRAY_APPEND";
1204
+ keyPath: string;
1205
+ value?: unknown;
1206
+ }>, z.ZodObject<{
1207
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1208
+ keyPath: z.ZodString;
1209
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ type: "ARRAY_REMOVE";
1212
+ keyPath: string;
1213
+ index: string | number;
1214
+ }, {
1215
+ type: "ARRAY_REMOVE";
1216
+ keyPath: string;
1217
+ index: string | number;
1218
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
757
1219
  type: z.ZodLiteral<"FLOW_EVENT">;
758
1220
  name: z.ZodString;
759
1221
  payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -813,30 +1275,2012 @@ export declare const UiEventMapSchema: z.ZodObject<{
813
1275
  key: string;
814
1276
  value?: unknown;
815
1277
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
816
- }>]>>;
817
- }, "strict", z.ZodTypeAny, {
818
- onClick?: {
1278
+ }>, z.ZodObject<{
1279
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1280
+ keyPath: z.ZodString;
1281
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1282
+ value: z.ZodOptional<z.ZodUnknown>;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ type: "PATCH_STATE_PATH";
1285
+ keyPath: string;
1286
+ value?: unknown;
1287
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1288
+ }, {
1289
+ type: "PATCH_STATE_PATH";
1290
+ keyPath: string;
1291
+ value?: unknown;
1292
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1293
+ }>, z.ZodObject<{
1294
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1295
+ keyPath: z.ZodString;
1296
+ value: z.ZodUnknown;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ type: "ARRAY_APPEND";
1299
+ keyPath: string;
1300
+ value?: unknown;
1301
+ }, {
1302
+ type: "ARRAY_APPEND";
1303
+ keyPath: string;
1304
+ value?: unknown;
1305
+ }>, z.ZodObject<{
1306
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1307
+ keyPath: z.ZodString;
1308
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1309
+ }, "strip", z.ZodTypeAny, {
1310
+ type: "ARRAY_REMOVE";
1311
+ keyPath: string;
1312
+ index: string | number;
1313
+ }, {
1314
+ type: "ARRAY_REMOVE";
1315
+ keyPath: string;
1316
+ index: string | number;
1317
+ }>]>, "many">]>>;
1318
+ onMouseOut: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1319
+ type: z.ZodLiteral<"FLOW_EVENT">;
1320
+ name: z.ZodString;
1321
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1322
+ }, "strip", z.ZodTypeAny, {
819
1323
  name: string;
820
1324
  type: "FLOW_EVENT";
821
1325
  payload?: Record<string, unknown> | undefined;
822
- } | {
1326
+ }, {
1327
+ name: string;
1328
+ type: "FLOW_EVENT";
1329
+ payload?: Record<string, unknown> | undefined;
1330
+ }>, z.ZodObject<{
1331
+ type: z.ZodLiteral<"OPEN_URL">;
1332
+ url: z.ZodString;
1333
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
1334
+ }, "strip", z.ZodTypeAny, {
823
1335
  type: "OPEN_URL";
824
1336
  url: string;
825
1337
  target?: "_blank" | "_self" | undefined;
826
- } | {
1338
+ }, {
1339
+ type: "OPEN_URL";
1340
+ url: string;
1341
+ target?: "_blank" | "_self" | undefined;
1342
+ }>, z.ZodObject<{
1343
+ type: z.ZodLiteral<"COPY">;
1344
+ text: z.ZodString;
1345
+ }, "strip", z.ZodTypeAny, {
827
1346
  type: "COPY";
828
1347
  text: string;
829
- } | {
1348
+ }, {
1349
+ type: "COPY";
1350
+ text: string;
1351
+ }>, z.ZodObject<{
1352
+ type: z.ZodLiteral<"TOAST">;
1353
+ message: z.ZodString;
1354
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
1355
+ }, "strip", z.ZodTypeAny, {
830
1356
  type: "TOAST";
831
1357
  message: string;
832
1358
  level?: "info" | "success" | "warning" | "error" | undefined;
833
- } | {
1359
+ }, {
1360
+ type: "TOAST";
1361
+ message: string;
1362
+ level?: "info" | "success" | "warning" | "error" | undefined;
1363
+ }>, z.ZodObject<{
1364
+ type: z.ZodLiteral<"PATCH_STATE">;
1365
+ key: z.ZodString;
1366
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1367
+ value: z.ZodOptional<z.ZodUnknown>;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ type: "PATCH_STATE";
1370
+ key: string;
1371
+ value?: unknown;
1372
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1373
+ }, {
1374
+ type: "PATCH_STATE";
1375
+ key: string;
1376
+ value?: unknown;
1377
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1378
+ }>, z.ZodObject<{
1379
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1380
+ keyPath: z.ZodString;
1381
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1382
+ value: z.ZodOptional<z.ZodUnknown>;
1383
+ }, "strip", z.ZodTypeAny, {
1384
+ type: "PATCH_STATE_PATH";
1385
+ keyPath: string;
1386
+ value?: unknown;
1387
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1388
+ }, {
1389
+ type: "PATCH_STATE_PATH";
1390
+ keyPath: string;
1391
+ value?: unknown;
1392
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1393
+ }>, z.ZodObject<{
1394
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1395
+ keyPath: z.ZodString;
1396
+ value: z.ZodUnknown;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ type: "ARRAY_APPEND";
1399
+ keyPath: string;
1400
+ value?: unknown;
1401
+ }, {
1402
+ type: "ARRAY_APPEND";
1403
+ keyPath: string;
1404
+ value?: unknown;
1405
+ }>, z.ZodObject<{
1406
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1407
+ keyPath: z.ZodString;
1408
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1409
+ }, "strip", z.ZodTypeAny, {
1410
+ type: "ARRAY_REMOVE";
1411
+ keyPath: string;
1412
+ index: string | number;
1413
+ }, {
1414
+ type: "ARRAY_REMOVE";
1415
+ keyPath: string;
1416
+ index: string | number;
1417
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1418
+ type: z.ZodLiteral<"FLOW_EVENT">;
1419
+ name: z.ZodString;
1420
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ name: string;
1423
+ type: "FLOW_EVENT";
1424
+ payload?: Record<string, unknown> | undefined;
1425
+ }, {
1426
+ name: string;
1427
+ type: "FLOW_EVENT";
1428
+ payload?: Record<string, unknown> | undefined;
1429
+ }>, z.ZodObject<{
1430
+ type: z.ZodLiteral<"OPEN_URL">;
1431
+ url: z.ZodString;
1432
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
1433
+ }, "strip", z.ZodTypeAny, {
1434
+ type: "OPEN_URL";
1435
+ url: string;
1436
+ target?: "_blank" | "_self" | undefined;
1437
+ }, {
1438
+ type: "OPEN_URL";
1439
+ url: string;
1440
+ target?: "_blank" | "_self" | undefined;
1441
+ }>, z.ZodObject<{
1442
+ type: z.ZodLiteral<"COPY">;
1443
+ text: z.ZodString;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ type: "COPY";
1446
+ text: string;
1447
+ }, {
1448
+ type: "COPY";
1449
+ text: string;
1450
+ }>, z.ZodObject<{
1451
+ type: z.ZodLiteral<"TOAST">;
1452
+ message: z.ZodString;
1453
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
1454
+ }, "strip", z.ZodTypeAny, {
1455
+ type: "TOAST";
1456
+ message: string;
1457
+ level?: "info" | "success" | "warning" | "error" | undefined;
1458
+ }, {
1459
+ type: "TOAST";
1460
+ message: string;
1461
+ level?: "info" | "success" | "warning" | "error" | undefined;
1462
+ }>, z.ZodObject<{
1463
+ type: z.ZodLiteral<"PATCH_STATE">;
1464
+ key: z.ZodString;
1465
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1466
+ value: z.ZodOptional<z.ZodUnknown>;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ type: "PATCH_STATE";
1469
+ key: string;
1470
+ value?: unknown;
1471
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1472
+ }, {
1473
+ type: "PATCH_STATE";
1474
+ key: string;
1475
+ value?: unknown;
1476
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1477
+ }>, z.ZodObject<{
1478
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1479
+ keyPath: z.ZodString;
1480
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1481
+ value: z.ZodOptional<z.ZodUnknown>;
1482
+ }, "strip", z.ZodTypeAny, {
1483
+ type: "PATCH_STATE_PATH";
1484
+ keyPath: string;
1485
+ value?: unknown;
1486
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1487
+ }, {
1488
+ type: "PATCH_STATE_PATH";
1489
+ keyPath: string;
1490
+ value?: unknown;
1491
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1492
+ }>, z.ZodObject<{
1493
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1494
+ keyPath: z.ZodString;
1495
+ value: z.ZodUnknown;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ type: "ARRAY_APPEND";
1498
+ keyPath: string;
1499
+ value?: unknown;
1500
+ }, {
1501
+ type: "ARRAY_APPEND";
1502
+ keyPath: string;
1503
+ value?: unknown;
1504
+ }>, z.ZodObject<{
1505
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1506
+ keyPath: z.ZodString;
1507
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1508
+ }, "strip", z.ZodTypeAny, {
1509
+ type: "ARRAY_REMOVE";
1510
+ keyPath: string;
1511
+ index: string | number;
1512
+ }, {
1513
+ type: "ARRAY_REMOVE";
1514
+ keyPath: string;
1515
+ index: string | number;
1516
+ }>]>, "many">]>>;
1517
+ onMouseDown: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1518
+ type: z.ZodLiteral<"FLOW_EVENT">;
1519
+ name: z.ZodString;
1520
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ name: string;
1523
+ type: "FLOW_EVENT";
1524
+ payload?: Record<string, unknown> | undefined;
1525
+ }, {
1526
+ name: string;
1527
+ type: "FLOW_EVENT";
1528
+ payload?: Record<string, unknown> | undefined;
1529
+ }>, z.ZodObject<{
1530
+ type: z.ZodLiteral<"OPEN_URL">;
1531
+ url: z.ZodString;
1532
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
1533
+ }, "strip", z.ZodTypeAny, {
1534
+ type: "OPEN_URL";
1535
+ url: string;
1536
+ target?: "_blank" | "_self" | undefined;
1537
+ }, {
1538
+ type: "OPEN_URL";
1539
+ url: string;
1540
+ target?: "_blank" | "_self" | undefined;
1541
+ }>, z.ZodObject<{
1542
+ type: z.ZodLiteral<"COPY">;
1543
+ text: z.ZodString;
1544
+ }, "strip", z.ZodTypeAny, {
1545
+ type: "COPY";
1546
+ text: string;
1547
+ }, {
1548
+ type: "COPY";
1549
+ text: string;
1550
+ }>, z.ZodObject<{
1551
+ type: z.ZodLiteral<"TOAST">;
1552
+ message: z.ZodString;
1553
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ type: "TOAST";
1556
+ message: string;
1557
+ level?: "info" | "success" | "warning" | "error" | undefined;
1558
+ }, {
1559
+ type: "TOAST";
1560
+ message: string;
1561
+ level?: "info" | "success" | "warning" | "error" | undefined;
1562
+ }>, z.ZodObject<{
1563
+ type: z.ZodLiteral<"PATCH_STATE">;
1564
+ key: z.ZodString;
1565
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1566
+ value: z.ZodOptional<z.ZodUnknown>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ type: "PATCH_STATE";
1569
+ key: string;
1570
+ value?: unknown;
1571
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1572
+ }, {
1573
+ type: "PATCH_STATE";
1574
+ key: string;
1575
+ value?: unknown;
1576
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1577
+ }>, z.ZodObject<{
1578
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1579
+ keyPath: z.ZodString;
1580
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1581
+ value: z.ZodOptional<z.ZodUnknown>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ type: "PATCH_STATE_PATH";
1584
+ keyPath: string;
1585
+ value?: unknown;
1586
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1587
+ }, {
1588
+ type: "PATCH_STATE_PATH";
1589
+ keyPath: string;
1590
+ value?: unknown;
1591
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1592
+ }>, z.ZodObject<{
1593
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1594
+ keyPath: z.ZodString;
1595
+ value: z.ZodUnknown;
1596
+ }, "strip", z.ZodTypeAny, {
1597
+ type: "ARRAY_APPEND";
1598
+ keyPath: string;
1599
+ value?: unknown;
1600
+ }, {
1601
+ type: "ARRAY_APPEND";
1602
+ keyPath: string;
1603
+ value?: unknown;
1604
+ }>, z.ZodObject<{
1605
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1606
+ keyPath: z.ZodString;
1607
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ type: "ARRAY_REMOVE";
1610
+ keyPath: string;
1611
+ index: string | number;
1612
+ }, {
1613
+ type: "ARRAY_REMOVE";
1614
+ keyPath: string;
1615
+ index: string | number;
1616
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1617
+ type: z.ZodLiteral<"FLOW_EVENT">;
1618
+ name: z.ZodString;
1619
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1620
+ }, "strip", z.ZodTypeAny, {
1621
+ name: string;
1622
+ type: "FLOW_EVENT";
1623
+ payload?: Record<string, unknown> | undefined;
1624
+ }, {
1625
+ name: string;
1626
+ type: "FLOW_EVENT";
1627
+ payload?: Record<string, unknown> | undefined;
1628
+ }>, z.ZodObject<{
1629
+ type: z.ZodLiteral<"OPEN_URL">;
1630
+ url: z.ZodString;
1631
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ type: "OPEN_URL";
1634
+ url: string;
1635
+ target?: "_blank" | "_self" | undefined;
1636
+ }, {
1637
+ type: "OPEN_URL";
1638
+ url: string;
1639
+ target?: "_blank" | "_self" | undefined;
1640
+ }>, z.ZodObject<{
1641
+ type: z.ZodLiteral<"COPY">;
1642
+ text: z.ZodString;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ type: "COPY";
1645
+ text: string;
1646
+ }, {
1647
+ type: "COPY";
1648
+ text: string;
1649
+ }>, z.ZodObject<{
1650
+ type: z.ZodLiteral<"TOAST">;
1651
+ message: z.ZodString;
1652
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
1653
+ }, "strip", z.ZodTypeAny, {
1654
+ type: "TOAST";
1655
+ message: string;
1656
+ level?: "info" | "success" | "warning" | "error" | undefined;
1657
+ }, {
1658
+ type: "TOAST";
1659
+ message: string;
1660
+ level?: "info" | "success" | "warning" | "error" | undefined;
1661
+ }>, z.ZodObject<{
1662
+ type: z.ZodLiteral<"PATCH_STATE">;
1663
+ key: z.ZodString;
1664
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1665
+ value: z.ZodOptional<z.ZodUnknown>;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ type: "PATCH_STATE";
1668
+ key: string;
1669
+ value?: unknown;
1670
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1671
+ }, {
1672
+ type: "PATCH_STATE";
1673
+ key: string;
1674
+ value?: unknown;
1675
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1676
+ }>, z.ZodObject<{
1677
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1678
+ keyPath: z.ZodString;
1679
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1680
+ value: z.ZodOptional<z.ZodUnknown>;
1681
+ }, "strip", z.ZodTypeAny, {
1682
+ type: "PATCH_STATE_PATH";
1683
+ keyPath: string;
1684
+ value?: unknown;
1685
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1686
+ }, {
1687
+ type: "PATCH_STATE_PATH";
1688
+ keyPath: string;
1689
+ value?: unknown;
1690
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1691
+ }>, z.ZodObject<{
1692
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1693
+ keyPath: z.ZodString;
1694
+ value: z.ZodUnknown;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ type: "ARRAY_APPEND";
1697
+ keyPath: string;
1698
+ value?: unknown;
1699
+ }, {
1700
+ type: "ARRAY_APPEND";
1701
+ keyPath: string;
1702
+ value?: unknown;
1703
+ }>, z.ZodObject<{
1704
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1705
+ keyPath: z.ZodString;
1706
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1707
+ }, "strip", z.ZodTypeAny, {
1708
+ type: "ARRAY_REMOVE";
1709
+ keyPath: string;
1710
+ index: string | number;
1711
+ }, {
1712
+ type: "ARRAY_REMOVE";
1713
+ keyPath: string;
1714
+ index: string | number;
1715
+ }>]>, "many">]>>;
1716
+ onMouseUp: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1717
+ type: z.ZodLiteral<"FLOW_EVENT">;
1718
+ name: z.ZodString;
1719
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ name: string;
1722
+ type: "FLOW_EVENT";
1723
+ payload?: Record<string, unknown> | undefined;
1724
+ }, {
1725
+ name: string;
1726
+ type: "FLOW_EVENT";
1727
+ payload?: Record<string, unknown> | undefined;
1728
+ }>, z.ZodObject<{
1729
+ type: z.ZodLiteral<"OPEN_URL">;
1730
+ url: z.ZodString;
1731
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
1732
+ }, "strip", z.ZodTypeAny, {
1733
+ type: "OPEN_URL";
1734
+ url: string;
1735
+ target?: "_blank" | "_self" | undefined;
1736
+ }, {
1737
+ type: "OPEN_URL";
1738
+ url: string;
1739
+ target?: "_blank" | "_self" | undefined;
1740
+ }>, z.ZodObject<{
1741
+ type: z.ZodLiteral<"COPY">;
1742
+ text: z.ZodString;
1743
+ }, "strip", z.ZodTypeAny, {
1744
+ type: "COPY";
1745
+ text: string;
1746
+ }, {
1747
+ type: "COPY";
1748
+ text: string;
1749
+ }>, z.ZodObject<{
1750
+ type: z.ZodLiteral<"TOAST">;
1751
+ message: z.ZodString;
1752
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
1753
+ }, "strip", z.ZodTypeAny, {
1754
+ type: "TOAST";
1755
+ message: string;
1756
+ level?: "info" | "success" | "warning" | "error" | undefined;
1757
+ }, {
1758
+ type: "TOAST";
1759
+ message: string;
1760
+ level?: "info" | "success" | "warning" | "error" | undefined;
1761
+ }>, z.ZodObject<{
1762
+ type: z.ZodLiteral<"PATCH_STATE">;
1763
+ key: z.ZodString;
1764
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1765
+ value: z.ZodOptional<z.ZodUnknown>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ type: "PATCH_STATE";
1768
+ key: string;
1769
+ value?: unknown;
1770
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1771
+ }, {
1772
+ type: "PATCH_STATE";
1773
+ key: string;
1774
+ value?: unknown;
1775
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1776
+ }>, z.ZodObject<{
1777
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1778
+ keyPath: z.ZodString;
1779
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1780
+ value: z.ZodOptional<z.ZodUnknown>;
1781
+ }, "strip", z.ZodTypeAny, {
1782
+ type: "PATCH_STATE_PATH";
1783
+ keyPath: string;
1784
+ value?: unknown;
1785
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1786
+ }, {
1787
+ type: "PATCH_STATE_PATH";
1788
+ keyPath: string;
1789
+ value?: unknown;
1790
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1791
+ }>, z.ZodObject<{
1792
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1793
+ keyPath: z.ZodString;
1794
+ value: z.ZodUnknown;
1795
+ }, "strip", z.ZodTypeAny, {
1796
+ type: "ARRAY_APPEND";
1797
+ keyPath: string;
1798
+ value?: unknown;
1799
+ }, {
1800
+ type: "ARRAY_APPEND";
1801
+ keyPath: string;
1802
+ value?: unknown;
1803
+ }>, z.ZodObject<{
1804
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1805
+ keyPath: z.ZodString;
1806
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1807
+ }, "strip", z.ZodTypeAny, {
1808
+ type: "ARRAY_REMOVE";
1809
+ keyPath: string;
1810
+ index: string | number;
1811
+ }, {
1812
+ type: "ARRAY_REMOVE";
1813
+ keyPath: string;
1814
+ index: string | number;
1815
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1816
+ type: z.ZodLiteral<"FLOW_EVENT">;
1817
+ name: z.ZodString;
1818
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1819
+ }, "strip", z.ZodTypeAny, {
1820
+ name: string;
1821
+ type: "FLOW_EVENT";
1822
+ payload?: Record<string, unknown> | undefined;
1823
+ }, {
1824
+ name: string;
1825
+ type: "FLOW_EVENT";
1826
+ payload?: Record<string, unknown> | undefined;
1827
+ }>, z.ZodObject<{
1828
+ type: z.ZodLiteral<"OPEN_URL">;
1829
+ url: z.ZodString;
1830
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ type: "OPEN_URL";
1833
+ url: string;
1834
+ target?: "_blank" | "_self" | undefined;
1835
+ }, {
1836
+ type: "OPEN_URL";
1837
+ url: string;
1838
+ target?: "_blank" | "_self" | undefined;
1839
+ }>, z.ZodObject<{
1840
+ type: z.ZodLiteral<"COPY">;
1841
+ text: z.ZodString;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ type: "COPY";
1844
+ text: string;
1845
+ }, {
1846
+ type: "COPY";
1847
+ text: string;
1848
+ }>, z.ZodObject<{
1849
+ type: z.ZodLiteral<"TOAST">;
1850
+ message: z.ZodString;
1851
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ type: "TOAST";
1854
+ message: string;
1855
+ level?: "info" | "success" | "warning" | "error" | undefined;
1856
+ }, {
1857
+ type: "TOAST";
1858
+ message: string;
1859
+ level?: "info" | "success" | "warning" | "error" | undefined;
1860
+ }>, z.ZodObject<{
1861
+ type: z.ZodLiteral<"PATCH_STATE">;
1862
+ key: z.ZodString;
1863
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1864
+ value: z.ZodOptional<z.ZodUnknown>;
1865
+ }, "strip", z.ZodTypeAny, {
1866
+ type: "PATCH_STATE";
1867
+ key: string;
1868
+ value?: unknown;
1869
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1870
+ }, {
1871
+ type: "PATCH_STATE";
1872
+ key: string;
1873
+ value?: unknown;
1874
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1875
+ }>, z.ZodObject<{
1876
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1877
+ keyPath: z.ZodString;
1878
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1879
+ value: z.ZodOptional<z.ZodUnknown>;
1880
+ }, "strip", z.ZodTypeAny, {
1881
+ type: "PATCH_STATE_PATH";
1882
+ keyPath: string;
1883
+ value?: unknown;
1884
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1885
+ }, {
1886
+ type: "PATCH_STATE_PATH";
1887
+ keyPath: string;
1888
+ value?: unknown;
1889
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1890
+ }>, z.ZodObject<{
1891
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1892
+ keyPath: z.ZodString;
1893
+ value: z.ZodUnknown;
1894
+ }, "strip", z.ZodTypeAny, {
1895
+ type: "ARRAY_APPEND";
1896
+ keyPath: string;
1897
+ value?: unknown;
1898
+ }, {
1899
+ type: "ARRAY_APPEND";
1900
+ keyPath: string;
1901
+ value?: unknown;
1902
+ }>, z.ZodObject<{
1903
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
1904
+ keyPath: z.ZodString;
1905
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1906
+ }, "strip", z.ZodTypeAny, {
1907
+ type: "ARRAY_REMOVE";
1908
+ keyPath: string;
1909
+ index: string | number;
1910
+ }, {
1911
+ type: "ARRAY_REMOVE";
1912
+ keyPath: string;
1913
+ index: string | number;
1914
+ }>]>, "many">]>>;
1915
+ onMouseMove: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1916
+ type: z.ZodLiteral<"FLOW_EVENT">;
1917
+ name: z.ZodString;
1918
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1919
+ }, "strip", z.ZodTypeAny, {
1920
+ name: string;
1921
+ type: "FLOW_EVENT";
1922
+ payload?: Record<string, unknown> | undefined;
1923
+ }, {
1924
+ name: string;
1925
+ type: "FLOW_EVENT";
1926
+ payload?: Record<string, unknown> | undefined;
1927
+ }>, z.ZodObject<{
1928
+ type: z.ZodLiteral<"OPEN_URL">;
1929
+ url: z.ZodString;
1930
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
1931
+ }, "strip", z.ZodTypeAny, {
1932
+ type: "OPEN_URL";
1933
+ url: string;
1934
+ target?: "_blank" | "_self" | undefined;
1935
+ }, {
1936
+ type: "OPEN_URL";
1937
+ url: string;
1938
+ target?: "_blank" | "_self" | undefined;
1939
+ }>, z.ZodObject<{
1940
+ type: z.ZodLiteral<"COPY">;
1941
+ text: z.ZodString;
1942
+ }, "strip", z.ZodTypeAny, {
1943
+ type: "COPY";
1944
+ text: string;
1945
+ }, {
1946
+ type: "COPY";
1947
+ text: string;
1948
+ }>, z.ZodObject<{
1949
+ type: z.ZodLiteral<"TOAST">;
1950
+ message: z.ZodString;
1951
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
1952
+ }, "strip", z.ZodTypeAny, {
1953
+ type: "TOAST";
1954
+ message: string;
1955
+ level?: "info" | "success" | "warning" | "error" | undefined;
1956
+ }, {
1957
+ type: "TOAST";
1958
+ message: string;
1959
+ level?: "info" | "success" | "warning" | "error" | undefined;
1960
+ }>, z.ZodObject<{
1961
+ type: z.ZodLiteral<"PATCH_STATE">;
1962
+ key: z.ZodString;
1963
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1964
+ value: z.ZodOptional<z.ZodUnknown>;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ type: "PATCH_STATE";
1967
+ key: string;
1968
+ value?: unknown;
1969
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1970
+ }, {
1971
+ type: "PATCH_STATE";
1972
+ key: string;
1973
+ value?: unknown;
1974
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1975
+ }>, z.ZodObject<{
1976
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
1977
+ keyPath: z.ZodString;
1978
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
1979
+ value: z.ZodOptional<z.ZodUnknown>;
1980
+ }, "strip", z.ZodTypeAny, {
1981
+ type: "PATCH_STATE_PATH";
1982
+ keyPath: string;
1983
+ value?: unknown;
1984
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1985
+ }, {
1986
+ type: "PATCH_STATE_PATH";
1987
+ keyPath: string;
1988
+ value?: unknown;
1989
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1990
+ }>, z.ZodObject<{
1991
+ type: z.ZodLiteral<"ARRAY_APPEND">;
1992
+ keyPath: z.ZodString;
1993
+ value: z.ZodUnknown;
1994
+ }, "strip", z.ZodTypeAny, {
1995
+ type: "ARRAY_APPEND";
1996
+ keyPath: string;
1997
+ value?: unknown;
1998
+ }, {
1999
+ type: "ARRAY_APPEND";
2000
+ keyPath: string;
2001
+ value?: unknown;
2002
+ }>, z.ZodObject<{
2003
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
2004
+ keyPath: z.ZodString;
2005
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2006
+ }, "strip", z.ZodTypeAny, {
2007
+ type: "ARRAY_REMOVE";
2008
+ keyPath: string;
2009
+ index: string | number;
2010
+ }, {
2011
+ type: "ARRAY_REMOVE";
2012
+ keyPath: string;
2013
+ index: string | number;
2014
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2015
+ type: z.ZodLiteral<"FLOW_EVENT">;
2016
+ name: z.ZodString;
2017
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2018
+ }, "strip", z.ZodTypeAny, {
2019
+ name: string;
2020
+ type: "FLOW_EVENT";
2021
+ payload?: Record<string, unknown> | undefined;
2022
+ }, {
2023
+ name: string;
2024
+ type: "FLOW_EVENT";
2025
+ payload?: Record<string, unknown> | undefined;
2026
+ }>, z.ZodObject<{
2027
+ type: z.ZodLiteral<"OPEN_URL">;
2028
+ url: z.ZodString;
2029
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
2030
+ }, "strip", z.ZodTypeAny, {
2031
+ type: "OPEN_URL";
2032
+ url: string;
2033
+ target?: "_blank" | "_self" | undefined;
2034
+ }, {
2035
+ type: "OPEN_URL";
2036
+ url: string;
2037
+ target?: "_blank" | "_self" | undefined;
2038
+ }>, z.ZodObject<{
2039
+ type: z.ZodLiteral<"COPY">;
2040
+ text: z.ZodString;
2041
+ }, "strip", z.ZodTypeAny, {
2042
+ type: "COPY";
2043
+ text: string;
2044
+ }, {
2045
+ type: "COPY";
2046
+ text: string;
2047
+ }>, z.ZodObject<{
2048
+ type: z.ZodLiteral<"TOAST">;
2049
+ message: z.ZodString;
2050
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ type: "TOAST";
2053
+ message: string;
2054
+ level?: "info" | "success" | "warning" | "error" | undefined;
2055
+ }, {
2056
+ type: "TOAST";
2057
+ message: string;
2058
+ level?: "info" | "success" | "warning" | "error" | undefined;
2059
+ }>, z.ZodObject<{
2060
+ type: z.ZodLiteral<"PATCH_STATE">;
2061
+ key: z.ZodString;
2062
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2063
+ value: z.ZodOptional<z.ZodUnknown>;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ type: "PATCH_STATE";
2066
+ key: string;
2067
+ value?: unknown;
2068
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2069
+ }, {
2070
+ type: "PATCH_STATE";
2071
+ key: string;
2072
+ value?: unknown;
2073
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2074
+ }>, z.ZodObject<{
2075
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
2076
+ keyPath: z.ZodString;
2077
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2078
+ value: z.ZodOptional<z.ZodUnknown>;
2079
+ }, "strip", z.ZodTypeAny, {
2080
+ type: "PATCH_STATE_PATH";
2081
+ keyPath: string;
2082
+ value?: unknown;
2083
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2084
+ }, {
2085
+ type: "PATCH_STATE_PATH";
2086
+ keyPath: string;
2087
+ value?: unknown;
2088
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2089
+ }>, z.ZodObject<{
2090
+ type: z.ZodLiteral<"ARRAY_APPEND">;
2091
+ keyPath: z.ZodString;
2092
+ value: z.ZodUnknown;
2093
+ }, "strip", z.ZodTypeAny, {
2094
+ type: "ARRAY_APPEND";
2095
+ keyPath: string;
2096
+ value?: unknown;
2097
+ }, {
2098
+ type: "ARRAY_APPEND";
2099
+ keyPath: string;
2100
+ value?: unknown;
2101
+ }>, z.ZodObject<{
2102
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
2103
+ keyPath: z.ZodString;
2104
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ type: "ARRAY_REMOVE";
2107
+ keyPath: string;
2108
+ index: string | number;
2109
+ }, {
2110
+ type: "ARRAY_REMOVE";
2111
+ keyPath: string;
2112
+ index: string | number;
2113
+ }>]>, "many">]>>;
2114
+ onFocus: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2115
+ type: z.ZodLiteral<"FLOW_EVENT">;
2116
+ name: z.ZodString;
2117
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2118
+ }, "strip", z.ZodTypeAny, {
2119
+ name: string;
2120
+ type: "FLOW_EVENT";
2121
+ payload?: Record<string, unknown> | undefined;
2122
+ }, {
2123
+ name: string;
2124
+ type: "FLOW_EVENT";
2125
+ payload?: Record<string, unknown> | undefined;
2126
+ }>, z.ZodObject<{
2127
+ type: z.ZodLiteral<"OPEN_URL">;
2128
+ url: z.ZodString;
2129
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
2130
+ }, "strip", z.ZodTypeAny, {
2131
+ type: "OPEN_URL";
2132
+ url: string;
2133
+ target?: "_blank" | "_self" | undefined;
2134
+ }, {
2135
+ type: "OPEN_URL";
2136
+ url: string;
2137
+ target?: "_blank" | "_self" | undefined;
2138
+ }>, z.ZodObject<{
2139
+ type: z.ZodLiteral<"COPY">;
2140
+ text: z.ZodString;
2141
+ }, "strip", z.ZodTypeAny, {
2142
+ type: "COPY";
2143
+ text: string;
2144
+ }, {
2145
+ type: "COPY";
2146
+ text: string;
2147
+ }>, z.ZodObject<{
2148
+ type: z.ZodLiteral<"TOAST">;
2149
+ message: z.ZodString;
2150
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
2151
+ }, "strip", z.ZodTypeAny, {
2152
+ type: "TOAST";
2153
+ message: string;
2154
+ level?: "info" | "success" | "warning" | "error" | undefined;
2155
+ }, {
2156
+ type: "TOAST";
2157
+ message: string;
2158
+ level?: "info" | "success" | "warning" | "error" | undefined;
2159
+ }>, z.ZodObject<{
2160
+ type: z.ZodLiteral<"PATCH_STATE">;
2161
+ key: z.ZodString;
2162
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2163
+ value: z.ZodOptional<z.ZodUnknown>;
2164
+ }, "strip", z.ZodTypeAny, {
2165
+ type: "PATCH_STATE";
2166
+ key: string;
2167
+ value?: unknown;
2168
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2169
+ }, {
2170
+ type: "PATCH_STATE";
2171
+ key: string;
2172
+ value?: unknown;
2173
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2174
+ }>, z.ZodObject<{
2175
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
2176
+ keyPath: z.ZodString;
2177
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2178
+ value: z.ZodOptional<z.ZodUnknown>;
2179
+ }, "strip", z.ZodTypeAny, {
2180
+ type: "PATCH_STATE_PATH";
2181
+ keyPath: string;
2182
+ value?: unknown;
2183
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2184
+ }, {
2185
+ type: "PATCH_STATE_PATH";
2186
+ keyPath: string;
2187
+ value?: unknown;
2188
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2189
+ }>, z.ZodObject<{
2190
+ type: z.ZodLiteral<"ARRAY_APPEND">;
2191
+ keyPath: z.ZodString;
2192
+ value: z.ZodUnknown;
2193
+ }, "strip", z.ZodTypeAny, {
2194
+ type: "ARRAY_APPEND";
2195
+ keyPath: string;
2196
+ value?: unknown;
2197
+ }, {
2198
+ type: "ARRAY_APPEND";
2199
+ keyPath: string;
2200
+ value?: unknown;
2201
+ }>, z.ZodObject<{
2202
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
2203
+ keyPath: z.ZodString;
2204
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2205
+ }, "strip", z.ZodTypeAny, {
2206
+ type: "ARRAY_REMOVE";
2207
+ keyPath: string;
2208
+ index: string | number;
2209
+ }, {
2210
+ type: "ARRAY_REMOVE";
2211
+ keyPath: string;
2212
+ index: string | number;
2213
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2214
+ type: z.ZodLiteral<"FLOW_EVENT">;
2215
+ name: z.ZodString;
2216
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2217
+ }, "strip", z.ZodTypeAny, {
2218
+ name: string;
2219
+ type: "FLOW_EVENT";
2220
+ payload?: Record<string, unknown> | undefined;
2221
+ }, {
2222
+ name: string;
2223
+ type: "FLOW_EVENT";
2224
+ payload?: Record<string, unknown> | undefined;
2225
+ }>, z.ZodObject<{
2226
+ type: z.ZodLiteral<"OPEN_URL">;
2227
+ url: z.ZodString;
2228
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
2229
+ }, "strip", z.ZodTypeAny, {
2230
+ type: "OPEN_URL";
2231
+ url: string;
2232
+ target?: "_blank" | "_self" | undefined;
2233
+ }, {
2234
+ type: "OPEN_URL";
2235
+ url: string;
2236
+ target?: "_blank" | "_self" | undefined;
2237
+ }>, z.ZodObject<{
2238
+ type: z.ZodLiteral<"COPY">;
2239
+ text: z.ZodString;
2240
+ }, "strip", z.ZodTypeAny, {
2241
+ type: "COPY";
2242
+ text: string;
2243
+ }, {
2244
+ type: "COPY";
2245
+ text: string;
2246
+ }>, z.ZodObject<{
2247
+ type: z.ZodLiteral<"TOAST">;
2248
+ message: z.ZodString;
2249
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
2250
+ }, "strip", z.ZodTypeAny, {
2251
+ type: "TOAST";
2252
+ message: string;
2253
+ level?: "info" | "success" | "warning" | "error" | undefined;
2254
+ }, {
2255
+ type: "TOAST";
2256
+ message: string;
2257
+ level?: "info" | "success" | "warning" | "error" | undefined;
2258
+ }>, z.ZodObject<{
2259
+ type: z.ZodLiteral<"PATCH_STATE">;
2260
+ key: z.ZodString;
2261
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2262
+ value: z.ZodOptional<z.ZodUnknown>;
2263
+ }, "strip", z.ZodTypeAny, {
2264
+ type: "PATCH_STATE";
2265
+ key: string;
2266
+ value?: unknown;
2267
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2268
+ }, {
2269
+ type: "PATCH_STATE";
2270
+ key: string;
2271
+ value?: unknown;
2272
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2273
+ }>, z.ZodObject<{
2274
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
2275
+ keyPath: z.ZodString;
2276
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2277
+ value: z.ZodOptional<z.ZodUnknown>;
2278
+ }, "strip", z.ZodTypeAny, {
2279
+ type: "PATCH_STATE_PATH";
2280
+ keyPath: string;
2281
+ value?: unknown;
2282
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2283
+ }, {
2284
+ type: "PATCH_STATE_PATH";
2285
+ keyPath: string;
2286
+ value?: unknown;
2287
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2288
+ }>, z.ZodObject<{
2289
+ type: z.ZodLiteral<"ARRAY_APPEND">;
2290
+ keyPath: z.ZodString;
2291
+ value: z.ZodUnknown;
2292
+ }, "strip", z.ZodTypeAny, {
2293
+ type: "ARRAY_APPEND";
2294
+ keyPath: string;
2295
+ value?: unknown;
2296
+ }, {
2297
+ type: "ARRAY_APPEND";
2298
+ keyPath: string;
2299
+ value?: unknown;
2300
+ }>, z.ZodObject<{
2301
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
2302
+ keyPath: z.ZodString;
2303
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2304
+ }, "strip", z.ZodTypeAny, {
2305
+ type: "ARRAY_REMOVE";
2306
+ keyPath: string;
2307
+ index: string | number;
2308
+ }, {
2309
+ type: "ARRAY_REMOVE";
2310
+ keyPath: string;
2311
+ index: string | number;
2312
+ }>]>, "many">]>>;
2313
+ onBlur: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2314
+ type: z.ZodLiteral<"FLOW_EVENT">;
2315
+ name: z.ZodString;
2316
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2317
+ }, "strip", z.ZodTypeAny, {
2318
+ name: string;
2319
+ type: "FLOW_EVENT";
2320
+ payload?: Record<string, unknown> | undefined;
2321
+ }, {
2322
+ name: string;
2323
+ type: "FLOW_EVENT";
2324
+ payload?: Record<string, unknown> | undefined;
2325
+ }>, z.ZodObject<{
2326
+ type: z.ZodLiteral<"OPEN_URL">;
2327
+ url: z.ZodString;
2328
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
2329
+ }, "strip", z.ZodTypeAny, {
2330
+ type: "OPEN_URL";
2331
+ url: string;
2332
+ target?: "_blank" | "_self" | undefined;
2333
+ }, {
2334
+ type: "OPEN_URL";
2335
+ url: string;
2336
+ target?: "_blank" | "_self" | undefined;
2337
+ }>, z.ZodObject<{
2338
+ type: z.ZodLiteral<"COPY">;
2339
+ text: z.ZodString;
2340
+ }, "strip", z.ZodTypeAny, {
2341
+ type: "COPY";
2342
+ text: string;
2343
+ }, {
2344
+ type: "COPY";
2345
+ text: string;
2346
+ }>, z.ZodObject<{
2347
+ type: z.ZodLiteral<"TOAST">;
2348
+ message: z.ZodString;
2349
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
2350
+ }, "strip", z.ZodTypeAny, {
2351
+ type: "TOAST";
2352
+ message: string;
2353
+ level?: "info" | "success" | "warning" | "error" | undefined;
2354
+ }, {
2355
+ type: "TOAST";
2356
+ message: string;
2357
+ level?: "info" | "success" | "warning" | "error" | undefined;
2358
+ }>, z.ZodObject<{
2359
+ type: z.ZodLiteral<"PATCH_STATE">;
2360
+ key: z.ZodString;
2361
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2362
+ value: z.ZodOptional<z.ZodUnknown>;
2363
+ }, "strip", z.ZodTypeAny, {
2364
+ type: "PATCH_STATE";
2365
+ key: string;
2366
+ value?: unknown;
2367
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2368
+ }, {
2369
+ type: "PATCH_STATE";
2370
+ key: string;
2371
+ value?: unknown;
2372
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2373
+ }>, z.ZodObject<{
2374
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
2375
+ keyPath: z.ZodString;
2376
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2377
+ value: z.ZodOptional<z.ZodUnknown>;
2378
+ }, "strip", z.ZodTypeAny, {
2379
+ type: "PATCH_STATE_PATH";
2380
+ keyPath: string;
2381
+ value?: unknown;
2382
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2383
+ }, {
2384
+ type: "PATCH_STATE_PATH";
2385
+ keyPath: string;
2386
+ value?: unknown;
2387
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2388
+ }>, z.ZodObject<{
2389
+ type: z.ZodLiteral<"ARRAY_APPEND">;
2390
+ keyPath: z.ZodString;
2391
+ value: z.ZodUnknown;
2392
+ }, "strip", z.ZodTypeAny, {
2393
+ type: "ARRAY_APPEND";
2394
+ keyPath: string;
2395
+ value?: unknown;
2396
+ }, {
2397
+ type: "ARRAY_APPEND";
2398
+ keyPath: string;
2399
+ value?: unknown;
2400
+ }>, z.ZodObject<{
2401
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
2402
+ keyPath: z.ZodString;
2403
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2404
+ }, "strip", z.ZodTypeAny, {
2405
+ type: "ARRAY_REMOVE";
2406
+ keyPath: string;
2407
+ index: string | number;
2408
+ }, {
2409
+ type: "ARRAY_REMOVE";
2410
+ keyPath: string;
2411
+ index: string | number;
2412
+ }>]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2413
+ type: z.ZodLiteral<"FLOW_EVENT">;
2414
+ name: z.ZodString;
2415
+ payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2416
+ }, "strip", z.ZodTypeAny, {
2417
+ name: string;
2418
+ type: "FLOW_EVENT";
2419
+ payload?: Record<string, unknown> | undefined;
2420
+ }, {
2421
+ name: string;
2422
+ type: "FLOW_EVENT";
2423
+ payload?: Record<string, unknown> | undefined;
2424
+ }>, z.ZodObject<{
2425
+ type: z.ZodLiteral<"OPEN_URL">;
2426
+ url: z.ZodString;
2427
+ target: z.ZodOptional<z.ZodEnum<["_blank", "_self"]>>;
2428
+ }, "strip", z.ZodTypeAny, {
2429
+ type: "OPEN_URL";
2430
+ url: string;
2431
+ target?: "_blank" | "_self" | undefined;
2432
+ }, {
2433
+ type: "OPEN_URL";
2434
+ url: string;
2435
+ target?: "_blank" | "_self" | undefined;
2436
+ }>, z.ZodObject<{
2437
+ type: z.ZodLiteral<"COPY">;
2438
+ text: z.ZodString;
2439
+ }, "strip", z.ZodTypeAny, {
2440
+ type: "COPY";
2441
+ text: string;
2442
+ }, {
2443
+ type: "COPY";
2444
+ text: string;
2445
+ }>, z.ZodObject<{
2446
+ type: z.ZodLiteral<"TOAST">;
2447
+ message: z.ZodString;
2448
+ level: z.ZodOptional<z.ZodEnum<["info", "success", "warning", "error"]>>;
2449
+ }, "strip", z.ZodTypeAny, {
2450
+ type: "TOAST";
2451
+ message: string;
2452
+ level?: "info" | "success" | "warning" | "error" | undefined;
2453
+ }, {
2454
+ type: "TOAST";
2455
+ message: string;
2456
+ level?: "info" | "success" | "warning" | "error" | undefined;
2457
+ }>, z.ZodObject<{
2458
+ type: z.ZodLiteral<"PATCH_STATE">;
2459
+ key: z.ZodString;
2460
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2461
+ value: z.ZodOptional<z.ZodUnknown>;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ type: "PATCH_STATE";
2464
+ key: string;
2465
+ value?: unknown;
2466
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2467
+ }, {
2468
+ type: "PATCH_STATE";
2469
+ key: string;
2470
+ value?: unknown;
2471
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2472
+ }>, z.ZodObject<{
2473
+ type: z.ZodLiteral<"PATCH_STATE_PATH">;
2474
+ keyPath: z.ZodString;
2475
+ valueFrom: z.ZodOptional<z.ZodEnum<["event.target.value", "event.target.checked"]>>;
2476
+ value: z.ZodOptional<z.ZodUnknown>;
2477
+ }, "strip", z.ZodTypeAny, {
2478
+ type: "PATCH_STATE_PATH";
2479
+ keyPath: string;
2480
+ value?: unknown;
2481
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2482
+ }, {
2483
+ type: "PATCH_STATE_PATH";
2484
+ keyPath: string;
2485
+ value?: unknown;
2486
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2487
+ }>, z.ZodObject<{
2488
+ type: z.ZodLiteral<"ARRAY_APPEND">;
2489
+ keyPath: z.ZodString;
2490
+ value: z.ZodUnknown;
2491
+ }, "strip", z.ZodTypeAny, {
2492
+ type: "ARRAY_APPEND";
2493
+ keyPath: string;
2494
+ value?: unknown;
2495
+ }, {
2496
+ type: "ARRAY_APPEND";
2497
+ keyPath: string;
2498
+ value?: unknown;
2499
+ }>, z.ZodObject<{
2500
+ type: z.ZodLiteral<"ARRAY_REMOVE">;
2501
+ keyPath: z.ZodString;
2502
+ index: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2503
+ }, "strip", z.ZodTypeAny, {
2504
+ type: "ARRAY_REMOVE";
2505
+ keyPath: string;
2506
+ index: string | number;
2507
+ }, {
2508
+ type: "ARRAY_REMOVE";
2509
+ keyPath: string;
2510
+ index: string | number;
2511
+ }>]>, "many">]>>;
2512
+ }, "strict", z.ZodTypeAny, {
2513
+ onClick?: {
2514
+ name: string;
2515
+ type: "FLOW_EVENT";
2516
+ payload?: Record<string, unknown> | undefined;
2517
+ } | {
2518
+ type: "OPEN_URL";
2519
+ url: string;
2520
+ target?: "_blank" | "_self" | undefined;
2521
+ } | {
2522
+ type: "COPY";
2523
+ text: string;
2524
+ } | {
2525
+ type: "TOAST";
2526
+ message: string;
2527
+ level?: "info" | "success" | "warning" | "error" | undefined;
2528
+ } | {
2529
+ type: "PATCH_STATE";
2530
+ key: string;
2531
+ value?: unknown;
2532
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2533
+ } | {
2534
+ type: "PATCH_STATE_PATH";
2535
+ keyPath: string;
2536
+ value?: unknown;
2537
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2538
+ } | {
2539
+ type: "ARRAY_APPEND";
2540
+ keyPath: string;
2541
+ value?: unknown;
2542
+ } | {
2543
+ type: "ARRAY_REMOVE";
2544
+ keyPath: string;
2545
+ index: string | number;
2546
+ } | ({
2547
+ name: string;
2548
+ type: "FLOW_EVENT";
2549
+ payload?: Record<string, unknown> | undefined;
2550
+ } | {
2551
+ type: "OPEN_URL";
2552
+ url: string;
2553
+ target?: "_blank" | "_self" | undefined;
2554
+ } | {
2555
+ type: "COPY";
2556
+ text: string;
2557
+ } | {
2558
+ type: "TOAST";
2559
+ message: string;
2560
+ level?: "info" | "success" | "warning" | "error" | undefined;
2561
+ } | {
2562
+ type: "PATCH_STATE";
2563
+ key: string;
2564
+ value?: unknown;
2565
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2566
+ } | {
2567
+ type: "PATCH_STATE_PATH";
2568
+ keyPath: string;
2569
+ value?: unknown;
2570
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2571
+ } | {
2572
+ type: "ARRAY_APPEND";
2573
+ keyPath: string;
2574
+ value?: unknown;
2575
+ } | {
2576
+ type: "ARRAY_REMOVE";
2577
+ keyPath: string;
2578
+ index: string | number;
2579
+ })[] | undefined;
2580
+ onChange?: {
2581
+ name: string;
2582
+ type: "FLOW_EVENT";
2583
+ payload?: Record<string, unknown> | undefined;
2584
+ } | {
2585
+ type: "OPEN_URL";
2586
+ url: string;
2587
+ target?: "_blank" | "_self" | undefined;
2588
+ } | {
2589
+ type: "COPY";
2590
+ text: string;
2591
+ } | {
2592
+ type: "TOAST";
2593
+ message: string;
2594
+ level?: "info" | "success" | "warning" | "error" | undefined;
2595
+ } | {
2596
+ type: "PATCH_STATE";
2597
+ key: string;
2598
+ value?: unknown;
2599
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2600
+ } | {
2601
+ type: "PATCH_STATE_PATH";
2602
+ keyPath: string;
2603
+ value?: unknown;
2604
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2605
+ } | {
2606
+ type: "ARRAY_APPEND";
2607
+ keyPath: string;
2608
+ value?: unknown;
2609
+ } | {
2610
+ type: "ARRAY_REMOVE";
2611
+ keyPath: string;
2612
+ index: string | number;
2613
+ } | ({
2614
+ name: string;
2615
+ type: "FLOW_EVENT";
2616
+ payload?: Record<string, unknown> | undefined;
2617
+ } | {
2618
+ type: "OPEN_URL";
2619
+ url: string;
2620
+ target?: "_blank" | "_self" | undefined;
2621
+ } | {
2622
+ type: "COPY";
2623
+ text: string;
2624
+ } | {
2625
+ type: "TOAST";
2626
+ message: string;
2627
+ level?: "info" | "success" | "warning" | "error" | undefined;
2628
+ } | {
2629
+ type: "PATCH_STATE";
2630
+ key: string;
2631
+ value?: unknown;
2632
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2633
+ } | {
2634
+ type: "PATCH_STATE_PATH";
2635
+ keyPath: string;
2636
+ value?: unknown;
2637
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2638
+ } | {
2639
+ type: "ARRAY_APPEND";
2640
+ keyPath: string;
2641
+ value?: unknown;
2642
+ } | {
2643
+ type: "ARRAY_REMOVE";
2644
+ keyPath: string;
2645
+ index: string | number;
2646
+ })[] | undefined;
2647
+ onSubmit?: {
2648
+ name: string;
2649
+ type: "FLOW_EVENT";
2650
+ payload?: Record<string, unknown> | undefined;
2651
+ } | {
2652
+ type: "OPEN_URL";
2653
+ url: string;
2654
+ target?: "_blank" | "_self" | undefined;
2655
+ } | {
2656
+ type: "COPY";
2657
+ text: string;
2658
+ } | {
2659
+ type: "TOAST";
2660
+ message: string;
2661
+ level?: "info" | "success" | "warning" | "error" | undefined;
2662
+ } | {
2663
+ type: "PATCH_STATE";
2664
+ key: string;
2665
+ value?: unknown;
2666
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2667
+ } | {
2668
+ type: "PATCH_STATE_PATH";
2669
+ keyPath: string;
2670
+ value?: unknown;
2671
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2672
+ } | {
2673
+ type: "ARRAY_APPEND";
2674
+ keyPath: string;
2675
+ value?: unknown;
2676
+ } | {
2677
+ type: "ARRAY_REMOVE";
2678
+ keyPath: string;
2679
+ index: string | number;
2680
+ } | ({
2681
+ name: string;
2682
+ type: "FLOW_EVENT";
2683
+ payload?: Record<string, unknown> | undefined;
2684
+ } | {
2685
+ type: "OPEN_URL";
2686
+ url: string;
2687
+ target?: "_blank" | "_self" | undefined;
2688
+ } | {
2689
+ type: "COPY";
2690
+ text: string;
2691
+ } | {
2692
+ type: "TOAST";
2693
+ message: string;
2694
+ level?: "info" | "success" | "warning" | "error" | undefined;
2695
+ } | {
2696
+ type: "PATCH_STATE";
2697
+ key: string;
2698
+ value?: unknown;
2699
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2700
+ } | {
2701
+ type: "PATCH_STATE_PATH";
2702
+ keyPath: string;
2703
+ value?: unknown;
2704
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2705
+ } | {
2706
+ type: "ARRAY_APPEND";
2707
+ keyPath: string;
2708
+ value?: unknown;
2709
+ } | {
2710
+ type: "ARRAY_REMOVE";
2711
+ keyPath: string;
2712
+ index: string | number;
2713
+ })[] | undefined;
2714
+ onMouseEnter?: {
2715
+ name: string;
2716
+ type: "FLOW_EVENT";
2717
+ payload?: Record<string, unknown> | undefined;
2718
+ } | {
2719
+ type: "OPEN_URL";
2720
+ url: string;
2721
+ target?: "_blank" | "_self" | undefined;
2722
+ } | {
2723
+ type: "COPY";
2724
+ text: string;
2725
+ } | {
2726
+ type: "TOAST";
2727
+ message: string;
2728
+ level?: "info" | "success" | "warning" | "error" | undefined;
2729
+ } | {
2730
+ type: "PATCH_STATE";
2731
+ key: string;
2732
+ value?: unknown;
2733
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2734
+ } | {
2735
+ type: "PATCH_STATE_PATH";
2736
+ keyPath: string;
2737
+ value?: unknown;
2738
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2739
+ } | {
2740
+ type: "ARRAY_APPEND";
2741
+ keyPath: string;
2742
+ value?: unknown;
2743
+ } | {
2744
+ type: "ARRAY_REMOVE";
2745
+ keyPath: string;
2746
+ index: string | number;
2747
+ } | ({
2748
+ name: string;
2749
+ type: "FLOW_EVENT";
2750
+ payload?: Record<string, unknown> | undefined;
2751
+ } | {
2752
+ type: "OPEN_URL";
2753
+ url: string;
2754
+ target?: "_blank" | "_self" | undefined;
2755
+ } | {
2756
+ type: "COPY";
2757
+ text: string;
2758
+ } | {
2759
+ type: "TOAST";
2760
+ message: string;
2761
+ level?: "info" | "success" | "warning" | "error" | undefined;
2762
+ } | {
2763
+ type: "PATCH_STATE";
2764
+ key: string;
2765
+ value?: unknown;
2766
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2767
+ } | {
2768
+ type: "PATCH_STATE_PATH";
2769
+ keyPath: string;
2770
+ value?: unknown;
2771
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2772
+ } | {
2773
+ type: "ARRAY_APPEND";
2774
+ keyPath: string;
2775
+ value?: unknown;
2776
+ } | {
2777
+ type: "ARRAY_REMOVE";
2778
+ keyPath: string;
2779
+ index: string | number;
2780
+ })[] | undefined;
2781
+ onMouseLeave?: {
2782
+ name: string;
2783
+ type: "FLOW_EVENT";
2784
+ payload?: Record<string, unknown> | undefined;
2785
+ } | {
2786
+ type: "OPEN_URL";
2787
+ url: string;
2788
+ target?: "_blank" | "_self" | undefined;
2789
+ } | {
2790
+ type: "COPY";
2791
+ text: string;
2792
+ } | {
2793
+ type: "TOAST";
2794
+ message: string;
2795
+ level?: "info" | "success" | "warning" | "error" | undefined;
2796
+ } | {
2797
+ type: "PATCH_STATE";
2798
+ key: string;
2799
+ value?: unknown;
2800
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2801
+ } | {
2802
+ type: "PATCH_STATE_PATH";
2803
+ keyPath: string;
2804
+ value?: unknown;
2805
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2806
+ } | {
2807
+ type: "ARRAY_APPEND";
2808
+ keyPath: string;
2809
+ value?: unknown;
2810
+ } | {
2811
+ type: "ARRAY_REMOVE";
2812
+ keyPath: string;
2813
+ index: string | number;
2814
+ } | ({
2815
+ name: string;
2816
+ type: "FLOW_EVENT";
2817
+ payload?: Record<string, unknown> | undefined;
2818
+ } | {
2819
+ type: "OPEN_URL";
2820
+ url: string;
2821
+ target?: "_blank" | "_self" | undefined;
2822
+ } | {
2823
+ type: "COPY";
2824
+ text: string;
2825
+ } | {
2826
+ type: "TOAST";
2827
+ message: string;
2828
+ level?: "info" | "success" | "warning" | "error" | undefined;
2829
+ } | {
2830
+ type: "PATCH_STATE";
2831
+ key: string;
2832
+ value?: unknown;
2833
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2834
+ } | {
2835
+ type: "PATCH_STATE_PATH";
2836
+ keyPath: string;
2837
+ value?: unknown;
2838
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2839
+ } | {
2840
+ type: "ARRAY_APPEND";
2841
+ keyPath: string;
2842
+ value?: unknown;
2843
+ } | {
2844
+ type: "ARRAY_REMOVE";
2845
+ keyPath: string;
2846
+ index: string | number;
2847
+ })[] | undefined;
2848
+ onMouseOver?: {
2849
+ name: string;
2850
+ type: "FLOW_EVENT";
2851
+ payload?: Record<string, unknown> | undefined;
2852
+ } | {
2853
+ type: "OPEN_URL";
2854
+ url: string;
2855
+ target?: "_blank" | "_self" | undefined;
2856
+ } | {
2857
+ type: "COPY";
2858
+ text: string;
2859
+ } | {
2860
+ type: "TOAST";
2861
+ message: string;
2862
+ level?: "info" | "success" | "warning" | "error" | undefined;
2863
+ } | {
2864
+ type: "PATCH_STATE";
2865
+ key: string;
2866
+ value?: unknown;
2867
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2868
+ } | {
2869
+ type: "PATCH_STATE_PATH";
2870
+ keyPath: string;
2871
+ value?: unknown;
2872
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2873
+ } | {
2874
+ type: "ARRAY_APPEND";
2875
+ keyPath: string;
2876
+ value?: unknown;
2877
+ } | {
2878
+ type: "ARRAY_REMOVE";
2879
+ keyPath: string;
2880
+ index: string | number;
2881
+ } | ({
2882
+ name: string;
2883
+ type: "FLOW_EVENT";
2884
+ payload?: Record<string, unknown> | undefined;
2885
+ } | {
2886
+ type: "OPEN_URL";
2887
+ url: string;
2888
+ target?: "_blank" | "_self" | undefined;
2889
+ } | {
2890
+ type: "COPY";
2891
+ text: string;
2892
+ } | {
2893
+ type: "TOAST";
2894
+ message: string;
2895
+ level?: "info" | "success" | "warning" | "error" | undefined;
2896
+ } | {
2897
+ type: "PATCH_STATE";
2898
+ key: string;
2899
+ value?: unknown;
2900
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2901
+ } | {
2902
+ type: "PATCH_STATE_PATH";
2903
+ keyPath: string;
2904
+ value?: unknown;
2905
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2906
+ } | {
2907
+ type: "ARRAY_APPEND";
2908
+ keyPath: string;
2909
+ value?: unknown;
2910
+ } | {
2911
+ type: "ARRAY_REMOVE";
2912
+ keyPath: string;
2913
+ index: string | number;
2914
+ })[] | undefined;
2915
+ onMouseOut?: {
2916
+ name: string;
2917
+ type: "FLOW_EVENT";
2918
+ payload?: Record<string, unknown> | undefined;
2919
+ } | {
2920
+ type: "OPEN_URL";
2921
+ url: string;
2922
+ target?: "_blank" | "_self" | undefined;
2923
+ } | {
2924
+ type: "COPY";
2925
+ text: string;
2926
+ } | {
2927
+ type: "TOAST";
2928
+ message: string;
2929
+ level?: "info" | "success" | "warning" | "error" | undefined;
2930
+ } | {
2931
+ type: "PATCH_STATE";
2932
+ key: string;
2933
+ value?: unknown;
2934
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2935
+ } | {
2936
+ type: "PATCH_STATE_PATH";
2937
+ keyPath: string;
2938
+ value?: unknown;
2939
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2940
+ } | {
2941
+ type: "ARRAY_APPEND";
2942
+ keyPath: string;
2943
+ value?: unknown;
2944
+ } | {
2945
+ type: "ARRAY_REMOVE";
2946
+ keyPath: string;
2947
+ index: string | number;
2948
+ } | ({
2949
+ name: string;
2950
+ type: "FLOW_EVENT";
2951
+ payload?: Record<string, unknown> | undefined;
2952
+ } | {
2953
+ type: "OPEN_URL";
2954
+ url: string;
2955
+ target?: "_blank" | "_self" | undefined;
2956
+ } | {
2957
+ type: "COPY";
2958
+ text: string;
2959
+ } | {
2960
+ type: "TOAST";
2961
+ message: string;
2962
+ level?: "info" | "success" | "warning" | "error" | undefined;
2963
+ } | {
2964
+ type: "PATCH_STATE";
2965
+ key: string;
2966
+ value?: unknown;
2967
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2968
+ } | {
2969
+ type: "PATCH_STATE_PATH";
2970
+ keyPath: string;
2971
+ value?: unknown;
2972
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
2973
+ } | {
2974
+ type: "ARRAY_APPEND";
2975
+ keyPath: string;
2976
+ value?: unknown;
2977
+ } | {
2978
+ type: "ARRAY_REMOVE";
2979
+ keyPath: string;
2980
+ index: string | number;
2981
+ })[] | undefined;
2982
+ onMouseDown?: {
2983
+ name: string;
2984
+ type: "FLOW_EVENT";
2985
+ payload?: Record<string, unknown> | undefined;
2986
+ } | {
2987
+ type: "OPEN_URL";
2988
+ url: string;
2989
+ target?: "_blank" | "_self" | undefined;
2990
+ } | {
2991
+ type: "COPY";
2992
+ text: string;
2993
+ } | {
2994
+ type: "TOAST";
2995
+ message: string;
2996
+ level?: "info" | "success" | "warning" | "error" | undefined;
2997
+ } | {
2998
+ type: "PATCH_STATE";
2999
+ key: string;
3000
+ value?: unknown;
3001
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3002
+ } | {
3003
+ type: "PATCH_STATE_PATH";
3004
+ keyPath: string;
3005
+ value?: unknown;
3006
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3007
+ } | {
3008
+ type: "ARRAY_APPEND";
3009
+ keyPath: string;
3010
+ value?: unknown;
3011
+ } | {
3012
+ type: "ARRAY_REMOVE";
3013
+ keyPath: string;
3014
+ index: string | number;
3015
+ } | ({
3016
+ name: string;
3017
+ type: "FLOW_EVENT";
3018
+ payload?: Record<string, unknown> | undefined;
3019
+ } | {
3020
+ type: "OPEN_URL";
3021
+ url: string;
3022
+ target?: "_blank" | "_self" | undefined;
3023
+ } | {
3024
+ type: "COPY";
3025
+ text: string;
3026
+ } | {
3027
+ type: "TOAST";
3028
+ message: string;
3029
+ level?: "info" | "success" | "warning" | "error" | undefined;
3030
+ } | {
3031
+ type: "PATCH_STATE";
3032
+ key: string;
3033
+ value?: unknown;
3034
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3035
+ } | {
3036
+ type: "PATCH_STATE_PATH";
3037
+ keyPath: string;
3038
+ value?: unknown;
3039
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3040
+ } | {
3041
+ type: "ARRAY_APPEND";
3042
+ keyPath: string;
3043
+ value?: unknown;
3044
+ } | {
3045
+ type: "ARRAY_REMOVE";
3046
+ keyPath: string;
3047
+ index: string | number;
3048
+ })[] | undefined;
3049
+ onMouseUp?: {
3050
+ name: string;
3051
+ type: "FLOW_EVENT";
3052
+ payload?: Record<string, unknown> | undefined;
3053
+ } | {
3054
+ type: "OPEN_URL";
3055
+ url: string;
3056
+ target?: "_blank" | "_self" | undefined;
3057
+ } | {
3058
+ type: "COPY";
3059
+ text: string;
3060
+ } | {
3061
+ type: "TOAST";
3062
+ message: string;
3063
+ level?: "info" | "success" | "warning" | "error" | undefined;
3064
+ } | {
3065
+ type: "PATCH_STATE";
3066
+ key: string;
3067
+ value?: unknown;
3068
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3069
+ } | {
3070
+ type: "PATCH_STATE_PATH";
3071
+ keyPath: string;
3072
+ value?: unknown;
3073
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3074
+ } | {
3075
+ type: "ARRAY_APPEND";
3076
+ keyPath: string;
3077
+ value?: unknown;
3078
+ } | {
3079
+ type: "ARRAY_REMOVE";
3080
+ keyPath: string;
3081
+ index: string | number;
3082
+ } | ({
3083
+ name: string;
3084
+ type: "FLOW_EVENT";
3085
+ payload?: Record<string, unknown> | undefined;
3086
+ } | {
3087
+ type: "OPEN_URL";
3088
+ url: string;
3089
+ target?: "_blank" | "_self" | undefined;
3090
+ } | {
3091
+ type: "COPY";
3092
+ text: string;
3093
+ } | {
3094
+ type: "TOAST";
3095
+ message: string;
3096
+ level?: "info" | "success" | "warning" | "error" | undefined;
3097
+ } | {
3098
+ type: "PATCH_STATE";
3099
+ key: string;
3100
+ value?: unknown;
3101
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3102
+ } | {
3103
+ type: "PATCH_STATE_PATH";
3104
+ keyPath: string;
3105
+ value?: unknown;
3106
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3107
+ } | {
3108
+ type: "ARRAY_APPEND";
3109
+ keyPath: string;
3110
+ value?: unknown;
3111
+ } | {
3112
+ type: "ARRAY_REMOVE";
3113
+ keyPath: string;
3114
+ index: string | number;
3115
+ })[] | undefined;
3116
+ onMouseMove?: {
3117
+ name: string;
3118
+ type: "FLOW_EVENT";
3119
+ payload?: Record<string, unknown> | undefined;
3120
+ } | {
3121
+ type: "OPEN_URL";
3122
+ url: string;
3123
+ target?: "_blank" | "_self" | undefined;
3124
+ } | {
3125
+ type: "COPY";
3126
+ text: string;
3127
+ } | {
3128
+ type: "TOAST";
3129
+ message: string;
3130
+ level?: "info" | "success" | "warning" | "error" | undefined;
3131
+ } | {
3132
+ type: "PATCH_STATE";
3133
+ key: string;
3134
+ value?: unknown;
3135
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3136
+ } | {
3137
+ type: "PATCH_STATE_PATH";
3138
+ keyPath: string;
3139
+ value?: unknown;
3140
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3141
+ } | {
3142
+ type: "ARRAY_APPEND";
3143
+ keyPath: string;
3144
+ value?: unknown;
3145
+ } | {
3146
+ type: "ARRAY_REMOVE";
3147
+ keyPath: string;
3148
+ index: string | number;
3149
+ } | ({
3150
+ name: string;
3151
+ type: "FLOW_EVENT";
3152
+ payload?: Record<string, unknown> | undefined;
3153
+ } | {
3154
+ type: "OPEN_URL";
3155
+ url: string;
3156
+ target?: "_blank" | "_self" | undefined;
3157
+ } | {
3158
+ type: "COPY";
3159
+ text: string;
3160
+ } | {
3161
+ type: "TOAST";
3162
+ message: string;
3163
+ level?: "info" | "success" | "warning" | "error" | undefined;
3164
+ } | {
3165
+ type: "PATCH_STATE";
3166
+ key: string;
3167
+ value?: unknown;
3168
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3169
+ } | {
3170
+ type: "PATCH_STATE_PATH";
3171
+ keyPath: string;
3172
+ value?: unknown;
3173
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3174
+ } | {
3175
+ type: "ARRAY_APPEND";
3176
+ keyPath: string;
3177
+ value?: unknown;
3178
+ } | {
3179
+ type: "ARRAY_REMOVE";
3180
+ keyPath: string;
3181
+ index: string | number;
3182
+ })[] | undefined;
3183
+ onFocus?: {
3184
+ name: string;
3185
+ type: "FLOW_EVENT";
3186
+ payload?: Record<string, unknown> | undefined;
3187
+ } | {
3188
+ type: "OPEN_URL";
3189
+ url: string;
3190
+ target?: "_blank" | "_self" | undefined;
3191
+ } | {
3192
+ type: "COPY";
3193
+ text: string;
3194
+ } | {
3195
+ type: "TOAST";
3196
+ message: string;
3197
+ level?: "info" | "success" | "warning" | "error" | undefined;
3198
+ } | {
3199
+ type: "PATCH_STATE";
3200
+ key: string;
3201
+ value?: unknown;
3202
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3203
+ } | {
3204
+ type: "PATCH_STATE_PATH";
3205
+ keyPath: string;
3206
+ value?: unknown;
3207
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3208
+ } | {
3209
+ type: "ARRAY_APPEND";
3210
+ keyPath: string;
3211
+ value?: unknown;
3212
+ } | {
3213
+ type: "ARRAY_REMOVE";
3214
+ keyPath: string;
3215
+ index: string | number;
3216
+ } | ({
3217
+ name: string;
3218
+ type: "FLOW_EVENT";
3219
+ payload?: Record<string, unknown> | undefined;
3220
+ } | {
3221
+ type: "OPEN_URL";
3222
+ url: string;
3223
+ target?: "_blank" | "_self" | undefined;
3224
+ } | {
3225
+ type: "COPY";
3226
+ text: string;
3227
+ } | {
3228
+ type: "TOAST";
3229
+ message: string;
3230
+ level?: "info" | "success" | "warning" | "error" | undefined;
3231
+ } | {
3232
+ type: "PATCH_STATE";
3233
+ key: string;
3234
+ value?: unknown;
3235
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3236
+ } | {
3237
+ type: "PATCH_STATE_PATH";
3238
+ keyPath: string;
3239
+ value?: unknown;
3240
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3241
+ } | {
3242
+ type: "ARRAY_APPEND";
3243
+ keyPath: string;
3244
+ value?: unknown;
3245
+ } | {
3246
+ type: "ARRAY_REMOVE";
3247
+ keyPath: string;
3248
+ index: string | number;
3249
+ })[] | undefined;
3250
+ onBlur?: {
3251
+ name: string;
3252
+ type: "FLOW_EVENT";
3253
+ payload?: Record<string, unknown> | undefined;
3254
+ } | {
3255
+ type: "OPEN_URL";
3256
+ url: string;
3257
+ target?: "_blank" | "_self" | undefined;
3258
+ } | {
3259
+ type: "COPY";
3260
+ text: string;
3261
+ } | {
3262
+ type: "TOAST";
3263
+ message: string;
3264
+ level?: "info" | "success" | "warning" | "error" | undefined;
3265
+ } | {
834
3266
  type: "PATCH_STATE";
835
3267
  key: string;
836
3268
  value?: unknown;
837
3269
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
838
- } | undefined;
839
- onChange?: {
3270
+ } | {
3271
+ type: "PATCH_STATE_PATH";
3272
+ keyPath: string;
3273
+ value?: unknown;
3274
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3275
+ } | {
3276
+ type: "ARRAY_APPEND";
3277
+ keyPath: string;
3278
+ value?: unknown;
3279
+ } | {
3280
+ type: "ARRAY_REMOVE";
3281
+ keyPath: string;
3282
+ index: string | number;
3283
+ } | ({
840
3284
  name: string;
841
3285
  type: "FLOW_EVENT";
842
3286
  payload?: Record<string, unknown> | undefined;
@@ -856,8 +3300,22 @@ export declare const UiEventMapSchema: z.ZodObject<{
856
3300
  key: string;
857
3301
  value?: unknown;
858
3302
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
859
- } | undefined;
860
- onSubmit?: {
3303
+ } | {
3304
+ type: "PATCH_STATE_PATH";
3305
+ keyPath: string;
3306
+ value?: unknown;
3307
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3308
+ } | {
3309
+ type: "ARRAY_APPEND";
3310
+ keyPath: string;
3311
+ value?: unknown;
3312
+ } | {
3313
+ type: "ARRAY_REMOVE";
3314
+ keyPath: string;
3315
+ index: string | number;
3316
+ })[] | undefined;
3317
+ }, {
3318
+ onClick?: {
861
3319
  name: string;
862
3320
  type: "FLOW_EVENT";
863
3321
  payload?: Record<string, unknown> | undefined;
@@ -877,8 +3335,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
877
3335
  key: string;
878
3336
  value?: unknown;
879
3337
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
880
- } | undefined;
881
- onMouseEnter?: {
3338
+ } | {
3339
+ type: "PATCH_STATE_PATH";
3340
+ keyPath: string;
3341
+ value?: unknown;
3342
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3343
+ } | {
3344
+ type: "ARRAY_APPEND";
3345
+ keyPath: string;
3346
+ value?: unknown;
3347
+ } | {
3348
+ type: "ARRAY_REMOVE";
3349
+ keyPath: string;
3350
+ index: string | number;
3351
+ } | ({
882
3352
  name: string;
883
3353
  type: "FLOW_EVENT";
884
3354
  payload?: Record<string, unknown> | undefined;
@@ -898,8 +3368,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
898
3368
  key: string;
899
3369
  value?: unknown;
900
3370
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
901
- } | undefined;
902
- onMouseLeave?: {
3371
+ } | {
3372
+ type: "PATCH_STATE_PATH";
3373
+ keyPath: string;
3374
+ value?: unknown;
3375
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3376
+ } | {
3377
+ type: "ARRAY_APPEND";
3378
+ keyPath: string;
3379
+ value?: unknown;
3380
+ } | {
3381
+ type: "ARRAY_REMOVE";
3382
+ keyPath: string;
3383
+ index: string | number;
3384
+ })[] | undefined;
3385
+ onChange?: {
903
3386
  name: string;
904
3387
  type: "FLOW_EVENT";
905
3388
  payload?: Record<string, unknown> | undefined;
@@ -919,8 +3402,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
919
3402
  key: string;
920
3403
  value?: unknown;
921
3404
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
922
- } | undefined;
923
- onMouseOver?: {
3405
+ } | {
3406
+ type: "PATCH_STATE_PATH";
3407
+ keyPath: string;
3408
+ value?: unknown;
3409
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3410
+ } | {
3411
+ type: "ARRAY_APPEND";
3412
+ keyPath: string;
3413
+ value?: unknown;
3414
+ } | {
3415
+ type: "ARRAY_REMOVE";
3416
+ keyPath: string;
3417
+ index: string | number;
3418
+ } | ({
924
3419
  name: string;
925
3420
  type: "FLOW_EVENT";
926
3421
  payload?: Record<string, unknown> | undefined;
@@ -940,8 +3435,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
940
3435
  key: string;
941
3436
  value?: unknown;
942
3437
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
943
- } | undefined;
944
- onMouseOut?: {
3438
+ } | {
3439
+ type: "PATCH_STATE_PATH";
3440
+ keyPath: string;
3441
+ value?: unknown;
3442
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3443
+ } | {
3444
+ type: "ARRAY_APPEND";
3445
+ keyPath: string;
3446
+ value?: unknown;
3447
+ } | {
3448
+ type: "ARRAY_REMOVE";
3449
+ keyPath: string;
3450
+ index: string | number;
3451
+ })[] | undefined;
3452
+ onSubmit?: {
945
3453
  name: string;
946
3454
  type: "FLOW_EVENT";
947
3455
  payload?: Record<string, unknown> | undefined;
@@ -961,8 +3469,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
961
3469
  key: string;
962
3470
  value?: unknown;
963
3471
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
964
- } | undefined;
965
- onMouseDown?: {
3472
+ } | {
3473
+ type: "PATCH_STATE_PATH";
3474
+ keyPath: string;
3475
+ value?: unknown;
3476
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3477
+ } | {
3478
+ type: "ARRAY_APPEND";
3479
+ keyPath: string;
3480
+ value?: unknown;
3481
+ } | {
3482
+ type: "ARRAY_REMOVE";
3483
+ keyPath: string;
3484
+ index: string | number;
3485
+ } | ({
966
3486
  name: string;
967
3487
  type: "FLOW_EVENT";
968
3488
  payload?: Record<string, unknown> | undefined;
@@ -982,8 +3502,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
982
3502
  key: string;
983
3503
  value?: unknown;
984
3504
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
985
- } | undefined;
986
- onMouseUp?: {
3505
+ } | {
3506
+ type: "PATCH_STATE_PATH";
3507
+ keyPath: string;
3508
+ value?: unknown;
3509
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3510
+ } | {
3511
+ type: "ARRAY_APPEND";
3512
+ keyPath: string;
3513
+ value?: unknown;
3514
+ } | {
3515
+ type: "ARRAY_REMOVE";
3516
+ keyPath: string;
3517
+ index: string | number;
3518
+ })[] | undefined;
3519
+ onMouseEnter?: {
987
3520
  name: string;
988
3521
  type: "FLOW_EVENT";
989
3522
  payload?: Record<string, unknown> | undefined;
@@ -1003,8 +3536,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1003
3536
  key: string;
1004
3537
  value?: unknown;
1005
3538
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1006
- } | undefined;
1007
- onMouseMove?: {
3539
+ } | {
3540
+ type: "PATCH_STATE_PATH";
3541
+ keyPath: string;
3542
+ value?: unknown;
3543
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3544
+ } | {
3545
+ type: "ARRAY_APPEND";
3546
+ keyPath: string;
3547
+ value?: unknown;
3548
+ } | {
3549
+ type: "ARRAY_REMOVE";
3550
+ keyPath: string;
3551
+ index: string | number;
3552
+ } | ({
1008
3553
  name: string;
1009
3554
  type: "FLOW_EVENT";
1010
3555
  payload?: Record<string, unknown> | undefined;
@@ -1024,8 +3569,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
1024
3569
  key: string;
1025
3570
  value?: unknown;
1026
3571
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1027
- } | undefined;
1028
- onFocus?: {
3572
+ } | {
3573
+ type: "PATCH_STATE_PATH";
3574
+ keyPath: string;
3575
+ value?: unknown;
3576
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3577
+ } | {
3578
+ type: "ARRAY_APPEND";
3579
+ keyPath: string;
3580
+ value?: unknown;
3581
+ } | {
3582
+ type: "ARRAY_REMOVE";
3583
+ keyPath: string;
3584
+ index: string | number;
3585
+ })[] | undefined;
3586
+ onMouseLeave?: {
1029
3587
  name: string;
1030
3588
  type: "FLOW_EVENT";
1031
3589
  payload?: Record<string, unknown> | undefined;
@@ -1045,8 +3603,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1045
3603
  key: string;
1046
3604
  value?: unknown;
1047
3605
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1048
- } | undefined;
1049
- onBlur?: {
3606
+ } | {
3607
+ type: "PATCH_STATE_PATH";
3608
+ keyPath: string;
3609
+ value?: unknown;
3610
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3611
+ } | {
3612
+ type: "ARRAY_APPEND";
3613
+ keyPath: string;
3614
+ value?: unknown;
3615
+ } | {
3616
+ type: "ARRAY_REMOVE";
3617
+ keyPath: string;
3618
+ index: string | number;
3619
+ } | ({
1050
3620
  name: string;
1051
3621
  type: "FLOW_EVENT";
1052
3622
  payload?: Record<string, unknown> | undefined;
@@ -1066,9 +3636,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
1066
3636
  key: string;
1067
3637
  value?: unknown;
1068
3638
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1069
- } | undefined;
1070
- }, {
1071
- onClick?: {
3639
+ } | {
3640
+ type: "PATCH_STATE_PATH";
3641
+ keyPath: string;
3642
+ value?: unknown;
3643
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3644
+ } | {
3645
+ type: "ARRAY_APPEND";
3646
+ keyPath: string;
3647
+ value?: unknown;
3648
+ } | {
3649
+ type: "ARRAY_REMOVE";
3650
+ keyPath: string;
3651
+ index: string | number;
3652
+ })[] | undefined;
3653
+ onMouseOver?: {
1072
3654
  name: string;
1073
3655
  type: "FLOW_EVENT";
1074
3656
  payload?: Record<string, unknown> | undefined;
@@ -1088,8 +3670,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1088
3670
  key: string;
1089
3671
  value?: unknown;
1090
3672
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1091
- } | undefined;
1092
- onChange?: {
3673
+ } | {
3674
+ type: "PATCH_STATE_PATH";
3675
+ keyPath: string;
3676
+ value?: unknown;
3677
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3678
+ } | {
3679
+ type: "ARRAY_APPEND";
3680
+ keyPath: string;
3681
+ value?: unknown;
3682
+ } | {
3683
+ type: "ARRAY_REMOVE";
3684
+ keyPath: string;
3685
+ index: string | number;
3686
+ } | ({
1093
3687
  name: string;
1094
3688
  type: "FLOW_EVENT";
1095
3689
  payload?: Record<string, unknown> | undefined;
@@ -1109,8 +3703,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
1109
3703
  key: string;
1110
3704
  value?: unknown;
1111
3705
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1112
- } | undefined;
1113
- onSubmit?: {
3706
+ } | {
3707
+ type: "PATCH_STATE_PATH";
3708
+ keyPath: string;
3709
+ value?: unknown;
3710
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3711
+ } | {
3712
+ type: "ARRAY_APPEND";
3713
+ keyPath: string;
3714
+ value?: unknown;
3715
+ } | {
3716
+ type: "ARRAY_REMOVE";
3717
+ keyPath: string;
3718
+ index: string | number;
3719
+ })[] | undefined;
3720
+ onMouseOut?: {
1114
3721
  name: string;
1115
3722
  type: "FLOW_EVENT";
1116
3723
  payload?: Record<string, unknown> | undefined;
@@ -1130,8 +3737,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1130
3737
  key: string;
1131
3738
  value?: unknown;
1132
3739
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1133
- } | undefined;
1134
- onMouseEnter?: {
3740
+ } | {
3741
+ type: "PATCH_STATE_PATH";
3742
+ keyPath: string;
3743
+ value?: unknown;
3744
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3745
+ } | {
3746
+ type: "ARRAY_APPEND";
3747
+ keyPath: string;
3748
+ value?: unknown;
3749
+ } | {
3750
+ type: "ARRAY_REMOVE";
3751
+ keyPath: string;
3752
+ index: string | number;
3753
+ } | ({
1135
3754
  name: string;
1136
3755
  type: "FLOW_EVENT";
1137
3756
  payload?: Record<string, unknown> | undefined;
@@ -1151,8 +3770,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
1151
3770
  key: string;
1152
3771
  value?: unknown;
1153
3772
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1154
- } | undefined;
1155
- onMouseLeave?: {
3773
+ } | {
3774
+ type: "PATCH_STATE_PATH";
3775
+ keyPath: string;
3776
+ value?: unknown;
3777
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3778
+ } | {
3779
+ type: "ARRAY_APPEND";
3780
+ keyPath: string;
3781
+ value?: unknown;
3782
+ } | {
3783
+ type: "ARRAY_REMOVE";
3784
+ keyPath: string;
3785
+ index: string | number;
3786
+ })[] | undefined;
3787
+ onMouseDown?: {
1156
3788
  name: string;
1157
3789
  type: "FLOW_EVENT";
1158
3790
  payload?: Record<string, unknown> | undefined;
@@ -1172,8 +3804,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1172
3804
  key: string;
1173
3805
  value?: unknown;
1174
3806
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1175
- } | undefined;
1176
- onMouseOver?: {
3807
+ } | {
3808
+ type: "PATCH_STATE_PATH";
3809
+ keyPath: string;
3810
+ value?: unknown;
3811
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3812
+ } | {
3813
+ type: "ARRAY_APPEND";
3814
+ keyPath: string;
3815
+ value?: unknown;
3816
+ } | {
3817
+ type: "ARRAY_REMOVE";
3818
+ keyPath: string;
3819
+ index: string | number;
3820
+ } | ({
1177
3821
  name: string;
1178
3822
  type: "FLOW_EVENT";
1179
3823
  payload?: Record<string, unknown> | undefined;
@@ -1193,8 +3837,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
1193
3837
  key: string;
1194
3838
  value?: unknown;
1195
3839
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1196
- } | undefined;
1197
- onMouseOut?: {
3840
+ } | {
3841
+ type: "PATCH_STATE_PATH";
3842
+ keyPath: string;
3843
+ value?: unknown;
3844
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3845
+ } | {
3846
+ type: "ARRAY_APPEND";
3847
+ keyPath: string;
3848
+ value?: unknown;
3849
+ } | {
3850
+ type: "ARRAY_REMOVE";
3851
+ keyPath: string;
3852
+ index: string | number;
3853
+ })[] | undefined;
3854
+ onMouseUp?: {
1198
3855
  name: string;
1199
3856
  type: "FLOW_EVENT";
1200
3857
  payload?: Record<string, unknown> | undefined;
@@ -1214,8 +3871,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1214
3871
  key: string;
1215
3872
  value?: unknown;
1216
3873
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1217
- } | undefined;
1218
- onMouseDown?: {
3874
+ } | {
3875
+ type: "PATCH_STATE_PATH";
3876
+ keyPath: string;
3877
+ value?: unknown;
3878
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3879
+ } | {
3880
+ type: "ARRAY_APPEND";
3881
+ keyPath: string;
3882
+ value?: unknown;
3883
+ } | {
3884
+ type: "ARRAY_REMOVE";
3885
+ keyPath: string;
3886
+ index: string | number;
3887
+ } | ({
1219
3888
  name: string;
1220
3889
  type: "FLOW_EVENT";
1221
3890
  payload?: Record<string, unknown> | undefined;
@@ -1235,8 +3904,21 @@ export declare const UiEventMapSchema: z.ZodObject<{
1235
3904
  key: string;
1236
3905
  value?: unknown;
1237
3906
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1238
- } | undefined;
1239
- onMouseUp?: {
3907
+ } | {
3908
+ type: "PATCH_STATE_PATH";
3909
+ keyPath: string;
3910
+ value?: unknown;
3911
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3912
+ } | {
3913
+ type: "ARRAY_APPEND";
3914
+ keyPath: string;
3915
+ value?: unknown;
3916
+ } | {
3917
+ type: "ARRAY_REMOVE";
3918
+ keyPath: string;
3919
+ index: string | number;
3920
+ })[] | undefined;
3921
+ onMouseMove?: {
1240
3922
  name: string;
1241
3923
  type: "FLOW_EVENT";
1242
3924
  payload?: Record<string, unknown> | undefined;
@@ -1256,8 +3938,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1256
3938
  key: string;
1257
3939
  value?: unknown;
1258
3940
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1259
- } | undefined;
1260
- onMouseMove?: {
3941
+ } | {
3942
+ type: "PATCH_STATE_PATH";
3943
+ keyPath: string;
3944
+ value?: unknown;
3945
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3946
+ } | {
3947
+ type: "ARRAY_APPEND";
3948
+ keyPath: string;
3949
+ value?: unknown;
3950
+ } | {
3951
+ type: "ARRAY_REMOVE";
3952
+ keyPath: string;
3953
+ index: string | number;
3954
+ } | ({
1261
3955
  name: string;
1262
3956
  type: "FLOW_EVENT";
1263
3957
  payload?: Record<string, unknown> | undefined;
@@ -1277,7 +3971,20 @@ export declare const UiEventMapSchema: z.ZodObject<{
1277
3971
  key: string;
1278
3972
  value?: unknown;
1279
3973
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1280
- } | undefined;
3974
+ } | {
3975
+ type: "PATCH_STATE_PATH";
3976
+ keyPath: string;
3977
+ value?: unknown;
3978
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
3979
+ } | {
3980
+ type: "ARRAY_APPEND";
3981
+ keyPath: string;
3982
+ value?: unknown;
3983
+ } | {
3984
+ type: "ARRAY_REMOVE";
3985
+ keyPath: string;
3986
+ index: string | number;
3987
+ })[] | undefined;
1281
3988
  onFocus?: {
1282
3989
  name: string;
1283
3990
  type: "FLOW_EVENT";
@@ -1298,7 +4005,53 @@ export declare const UiEventMapSchema: z.ZodObject<{
1298
4005
  key: string;
1299
4006
  value?: unknown;
1300
4007
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1301
- } | undefined;
4008
+ } | {
4009
+ type: "PATCH_STATE_PATH";
4010
+ keyPath: string;
4011
+ value?: unknown;
4012
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
4013
+ } | {
4014
+ type: "ARRAY_APPEND";
4015
+ keyPath: string;
4016
+ value?: unknown;
4017
+ } | {
4018
+ type: "ARRAY_REMOVE";
4019
+ keyPath: string;
4020
+ index: string | number;
4021
+ } | ({
4022
+ name: string;
4023
+ type: "FLOW_EVENT";
4024
+ payload?: Record<string, unknown> | undefined;
4025
+ } | {
4026
+ type: "OPEN_URL";
4027
+ url: string;
4028
+ target?: "_blank" | "_self" | undefined;
4029
+ } | {
4030
+ type: "COPY";
4031
+ text: string;
4032
+ } | {
4033
+ type: "TOAST";
4034
+ message: string;
4035
+ level?: "info" | "success" | "warning" | "error" | undefined;
4036
+ } | {
4037
+ type: "PATCH_STATE";
4038
+ key: string;
4039
+ value?: unknown;
4040
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
4041
+ } | {
4042
+ type: "PATCH_STATE_PATH";
4043
+ keyPath: string;
4044
+ value?: unknown;
4045
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
4046
+ } | {
4047
+ type: "ARRAY_APPEND";
4048
+ keyPath: string;
4049
+ value?: unknown;
4050
+ } | {
4051
+ type: "ARRAY_REMOVE";
4052
+ keyPath: string;
4053
+ index: string | number;
4054
+ })[] | undefined;
1302
4055
  onBlur?: {
1303
4056
  name: string;
1304
4057
  type: "FLOW_EVENT";
@@ -1319,7 +4072,53 @@ export declare const UiEventMapSchema: z.ZodObject<{
1319
4072
  key: string;
1320
4073
  value?: unknown;
1321
4074
  valueFrom?: "event.target.value" | "event.target.checked" | undefined;
1322
- } | undefined;
4075
+ } | {
4076
+ type: "PATCH_STATE_PATH";
4077
+ keyPath: string;
4078
+ value?: unknown;
4079
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
4080
+ } | {
4081
+ type: "ARRAY_APPEND";
4082
+ keyPath: string;
4083
+ value?: unknown;
4084
+ } | {
4085
+ type: "ARRAY_REMOVE";
4086
+ keyPath: string;
4087
+ index: string | number;
4088
+ } | ({
4089
+ name: string;
4090
+ type: "FLOW_EVENT";
4091
+ payload?: Record<string, unknown> | undefined;
4092
+ } | {
4093
+ type: "OPEN_URL";
4094
+ url: string;
4095
+ target?: "_blank" | "_self" | undefined;
4096
+ } | {
4097
+ type: "COPY";
4098
+ text: string;
4099
+ } | {
4100
+ type: "TOAST";
4101
+ message: string;
4102
+ level?: "info" | "success" | "warning" | "error" | undefined;
4103
+ } | {
4104
+ type: "PATCH_STATE";
4105
+ key: string;
4106
+ value?: unknown;
4107
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
4108
+ } | {
4109
+ type: "PATCH_STATE_PATH";
4110
+ keyPath: string;
4111
+ value?: unknown;
4112
+ valueFrom?: "event.target.value" | "event.target.checked" | undefined;
4113
+ } | {
4114
+ type: "ARRAY_APPEND";
4115
+ keyPath: string;
4116
+ value?: unknown;
4117
+ } | {
4118
+ type: "ARRAY_REMOVE";
4119
+ keyPath: string;
4120
+ index: string | number;
4121
+ })[] | undefined;
1323
4122
  }>;
1324
4123
  export type UiEventMap = z.infer<typeof UiEventMapSchema>;
1325
4124
  export declare const UiBindSchema: z.ZodOptional<z.ZodObject<{
@@ -1349,19 +4148,19 @@ export type UiTemplate = z.infer<typeof UiTemplateSchema>;
1349
4148
  export declare const WidgetPolicySchema: z.ZodOptional<z.ZodObject<{
1350
4149
  allowedTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1351
4150
  allowedProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1352
- allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE"]>, "many">>;
4151
+ allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE", "PATCH_STATE_PATH", "ARRAY_APPEND", "ARRAY_REMOVE"]>, "many">>;
1353
4152
  maxNodes: z.ZodOptional<z.ZodNumber>;
1354
4153
  maxDepth: z.ZodOptional<z.ZodNumber>;
1355
4154
  }, "strict", z.ZodTypeAny, {
1356
4155
  allowedTags?: string[] | undefined;
1357
4156
  allowedProps?: string[] | undefined;
1358
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4157
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1359
4158
  maxNodes?: number | undefined;
1360
4159
  maxDepth?: number | undefined;
1361
4160
  }, {
1362
4161
  allowedTags?: string[] | undefined;
1363
4162
  allowedProps?: string[] | undefined;
1364
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4163
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1365
4164
  maxNodes?: number | undefined;
1366
4165
  maxDepth?: number | undefined;
1367
4166
  }>>;
@@ -1402,19 +4201,19 @@ export declare const WidgetDefinitionSchema: z.ZodObject<{
1402
4201
  policy: z.ZodOptional<z.ZodObject<{
1403
4202
  allowedTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1404
4203
  allowedProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1405
- allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE"]>, "many">>;
4204
+ allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE", "PATCH_STATE_PATH", "ARRAY_APPEND", "ARRAY_REMOVE"]>, "many">>;
1406
4205
  maxNodes: z.ZodOptional<z.ZodNumber>;
1407
4206
  maxDepth: z.ZodOptional<z.ZodNumber>;
1408
4207
  }, "strict", z.ZodTypeAny, {
1409
4208
  allowedTags?: string[] | undefined;
1410
4209
  allowedProps?: string[] | undefined;
1411
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4210
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1412
4211
  maxNodes?: number | undefined;
1413
4212
  maxDepth?: number | undefined;
1414
4213
  }, {
1415
4214
  allowedTags?: string[] | undefined;
1416
4215
  allowedProps?: string[] | undefined;
1417
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4216
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1418
4217
  maxNodes?: number | undefined;
1419
4218
  maxDepth?: number | undefined;
1420
4219
  }>>;
@@ -1437,7 +4236,7 @@ export declare const WidgetDefinitionSchema: z.ZodObject<{
1437
4236
  policy?: {
1438
4237
  allowedTags?: string[] | undefined;
1439
4238
  allowedProps?: string[] | undefined;
1440
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4239
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1441
4240
  maxNodes?: number | undefined;
1442
4241
  maxDepth?: number | undefined;
1443
4242
  } | undefined;
@@ -1460,7 +4259,7 @@ export declare const WidgetDefinitionSchema: z.ZodObject<{
1460
4259
  policy?: {
1461
4260
  allowedTags?: string[] | undefined;
1462
4261
  allowedProps?: string[] | undefined;
1463
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4262
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1464
4263
  maxNodes?: number | undefined;
1465
4264
  maxDepth?: number | undefined;
1466
4265
  } | undefined;
@@ -1639,19 +4438,19 @@ export declare const AgenticWidgetSchema: z.ZodObject<{
1639
4438
  policy: z.ZodOptional<z.ZodObject<{
1640
4439
  allowedTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1641
4440
  allowedProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1642
- allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE"]>, "many">>;
4441
+ allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE", "PATCH_STATE_PATH", "ARRAY_APPEND", "ARRAY_REMOVE"]>, "many">>;
1643
4442
  maxNodes: z.ZodOptional<z.ZodNumber>;
1644
4443
  maxDepth: z.ZodOptional<z.ZodNumber>;
1645
4444
  }, "strict", z.ZodTypeAny, {
1646
4445
  allowedTags?: string[] | undefined;
1647
4446
  allowedProps?: string[] | undefined;
1648
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4447
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1649
4448
  maxNodes?: number | undefined;
1650
4449
  maxDepth?: number | undefined;
1651
4450
  }, {
1652
4451
  allowedTags?: string[] | undefined;
1653
4452
  allowedProps?: string[] | undefined;
1654
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4453
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1655
4454
  maxNodes?: number | undefined;
1656
4455
  maxDepth?: number | undefined;
1657
4456
  }>>;
@@ -1681,7 +4480,7 @@ export declare const AgenticWidgetSchema: z.ZodObject<{
1681
4480
  policy?: {
1682
4481
  allowedTags?: string[] | undefined;
1683
4482
  allowedProps?: string[] | undefined;
1684
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4483
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1685
4484
  maxNodes?: number | undefined;
1686
4485
  maxDepth?: number | undefined;
1687
4486
  } | undefined;
@@ -1707,7 +4506,7 @@ export declare const AgenticWidgetSchema: z.ZodObject<{
1707
4506
  policy?: {
1708
4507
  allowedTags?: string[] | undefined;
1709
4508
  allowedProps?: string[] | undefined;
1710
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4509
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1711
4510
  maxNodes?: number | undefined;
1712
4511
  maxDepth?: number | undefined;
1713
4512
  } | undefined;
@@ -1754,19 +4553,19 @@ export declare const WidgetRegistrationRequestSchema: z.ZodObject<{
1754
4553
  policy: z.ZodOptional<z.ZodObject<{
1755
4554
  allowedTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1756
4555
  allowedProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1757
- allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE"]>, "many">>;
4556
+ allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE", "PATCH_STATE_PATH", "ARRAY_APPEND", "ARRAY_REMOVE"]>, "many">>;
1758
4557
  maxNodes: z.ZodOptional<z.ZodNumber>;
1759
4558
  maxDepth: z.ZodOptional<z.ZodNumber>;
1760
4559
  }, "strict", z.ZodTypeAny, {
1761
4560
  allowedTags?: string[] | undefined;
1762
4561
  allowedProps?: string[] | undefined;
1763
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4562
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1764
4563
  maxNodes?: number | undefined;
1765
4564
  maxDepth?: number | undefined;
1766
4565
  }, {
1767
4566
  allowedTags?: string[] | undefined;
1768
4567
  allowedProps?: string[] | undefined;
1769
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4568
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1770
4569
  maxNodes?: number | undefined;
1771
4570
  maxDepth?: number | undefined;
1772
4571
  }>>;
@@ -1785,7 +4584,7 @@ export declare const WidgetRegistrationRequestSchema: z.ZodObject<{
1785
4584
  policy?: {
1786
4585
  allowedTags?: string[] | undefined;
1787
4586
  allowedProps?: string[] | undefined;
1788
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4587
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1789
4588
  maxNodes?: number | undefined;
1790
4589
  maxDepth?: number | undefined;
1791
4590
  } | undefined;
@@ -1805,7 +4604,7 @@ export declare const WidgetRegistrationRequestSchema: z.ZodObject<{
1805
4604
  policy?: {
1806
4605
  allowedTags?: string[] | undefined;
1807
4606
  allowedProps?: string[] | undefined;
1808
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4607
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1809
4608
  maxNodes?: number | undefined;
1810
4609
  maxDepth?: number | undefined;
1811
4610
  } | undefined;
@@ -1847,19 +4646,19 @@ export declare const WidgetRecordSchema: z.ZodObject<{
1847
4646
  policy: z.ZodOptional<z.ZodObject<{
1848
4647
  allowedTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1849
4648
  allowedProps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1850
- allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE"]>, "many">>;
4649
+ allowedActions: z.ZodOptional<z.ZodArray<z.ZodEnum<["FLOW_EVENT", "OPEN_URL", "COPY", "TOAST", "PATCH_STATE", "PATCH_STATE_PATH", "ARRAY_APPEND", "ARRAY_REMOVE"]>, "many">>;
1851
4650
  maxNodes: z.ZodOptional<z.ZodNumber>;
1852
4651
  maxDepth: z.ZodOptional<z.ZodNumber>;
1853
4652
  }, "strict", z.ZodTypeAny, {
1854
4653
  allowedTags?: string[] | undefined;
1855
4654
  allowedProps?: string[] | undefined;
1856
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4655
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1857
4656
  maxNodes?: number | undefined;
1858
4657
  maxDepth?: number | undefined;
1859
4658
  }, {
1860
4659
  allowedTags?: string[] | undefined;
1861
4660
  allowedProps?: string[] | undefined;
1862
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4661
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1863
4662
  maxNodes?: number | undefined;
1864
4663
  maxDepth?: number | undefined;
1865
4664
  }>>;
@@ -1889,7 +4688,7 @@ export declare const WidgetRecordSchema: z.ZodObject<{
1889
4688
  policy?: {
1890
4689
  allowedTags?: string[] | undefined;
1891
4690
  allowedProps?: string[] | undefined;
1892
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4691
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1893
4692
  maxNodes?: number | undefined;
1894
4693
  maxDepth?: number | undefined;
1895
4694
  } | undefined;
@@ -1915,7 +4714,7 @@ export declare const WidgetRecordSchema: z.ZodObject<{
1915
4714
  policy?: {
1916
4715
  allowedTags?: string[] | undefined;
1917
4716
  allowedProps?: string[] | undefined;
1918
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4717
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1919
4718
  maxNodes?: number | undefined;
1920
4719
  maxDepth?: number | undefined;
1921
4720
  } | undefined;
@@ -1948,7 +4747,7 @@ export declare const WidgetRecordSchema: z.ZodObject<{
1948
4747
  policy?: {
1949
4748
  allowedTags?: string[] | undefined;
1950
4749
  allowedProps?: string[] | undefined;
1951
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4750
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1952
4751
  maxNodes?: number | undefined;
1953
4752
  maxDepth?: number | undefined;
1954
4753
  } | undefined;
@@ -1981,7 +4780,7 @@ export declare const WidgetRecordSchema: z.ZodObject<{
1981
4780
  policy?: {
1982
4781
  allowedTags?: string[] | undefined;
1983
4782
  allowedProps?: string[] | undefined;
1984
- allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE")[] | undefined;
4783
+ allowedActions?: ("FLOW_EVENT" | "OPEN_URL" | "COPY" | "TOAST" | "PATCH_STATE" | "PATCH_STATE_PATH" | "ARRAY_APPEND" | "ARRAY_REMOVE")[] | undefined;
1985
4784
  maxNodes?: number | undefined;
1986
4785
  maxDepth?: number | undefined;
1987
4786
  } | undefined;