@middag-io/react 0.46.1 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/{FormField-M7Khc1eo.js → FormField-BGqAQLtX.js} +2155 -2130
- package/dist-lib/{FormPanelBlock-70gQ9d9K.js → FormPanelBlock-CGgA83Mu.js} +46 -45
- package/dist-lib/base/blocks/CardGridBlock.d.ts.map +1 -1
- package/dist-lib/base/blocks/DenseTableBlock.d.ts.map +1 -1
- package/dist-lib/base/blocks/DetailPanelBlock.d.ts.map +1 -1
- package/dist-lib/base/blocks/FormPanelBlock.d.ts.map +1 -1
- package/dist-lib/base/partials/ActionBar/index.d.ts.map +1 -1
- package/dist-lib/base/partials/FilterBar/index.d.ts.map +1 -1
- package/dist-lib/base/shell/BasicShell.js +1 -1
- package/dist-lib/base/shell/partials/InlineEditablePanel.d.ts.map +1 -1
- package/dist-lib/base/shell/partials/InlineEditablePanel.js +131 -127
- package/dist-lib/base/shell/partials/PageActionButton.d.ts.map +1 -1
- package/dist-lib/base/shell/partials/PageActionButton.js +1 -1
- package/dist-lib/base/theme/appearance.d.ts.map +1 -1
- package/dist-lib/base/theme/appearance.js +1 -1
- package/dist-lib/base/utils/action-intent.d.ts +3 -0
- package/dist-lib/base/utils/action-intent.d.ts.map +1 -0
- package/dist-lib/base/utils/action-intent.js +16 -0
- package/dist-lib/chunks/subpath-Bs35txZS.js +166 -0
- package/dist-lib/contracts/generated/index.d.ts +2 -2
- package/dist-lib/contracts/generated/schemas.d.ts +229 -102
- package/dist-lib/contracts/generated/schemas.d.ts.map +1 -1
- package/dist-lib/contracts/generated/types.d.ts +22 -12
- package/dist-lib/contracts/generated/types.d.ts.map +1 -1
- package/dist-lib/contracts/page-contract-schema.d.ts +8 -8
- package/dist-lib/middag-react.js +10163 -10121
- package/docs/public/schemas/fragment.json +66 -2
- package/docs/public/schemas/page-contract.json +66 -2
- package/package.json +1 -1
- package/src/base/blocks/CardGridBlock.tsx +2 -1
- package/src/base/blocks/DenseTableBlock.tsx +2 -1
- package/src/base/blocks/DetailPanelBlock.tsx +2 -1
- package/src/base/blocks/FormPanelBlock.tsx +2 -1
- package/src/base/partials/ActionBar/index.tsx +3 -2
- package/src/base/partials/FilterBar/index.tsx +12 -1
- package/src/base/shell/partials/InlineEditablePanel.tsx +14 -7
- package/src/base/shell/partials/PageActionButton.tsx +3 -1
- package/src/base/theme/appearance.ts +2 -1
- package/src/base/utils/action-intent.ts +22 -0
- package/src/contracts/generated/index.ts +2 -2
- package/src/contracts/generated/schemas.ts +22 -12
- package/src/contracts/generated/types.ts +39 -12
- package/dist-lib/chunks/subpath-Bh1MAmBT.js +0 -165
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* Regenerate: npm run gen:contracts
|
|
8
8
|
* Drift gate: npm run gen:contracts:check
|
|
9
9
|
*
|
|
10
|
-
* @source middag-io/middag-php-ui@v1.
|
|
10
|
+
* @source middag-io/middag-php-ui@v1.11.0 schema/{page-contract.json,fragment.json}
|
|
11
11
|
* @contract-version 1
|
|
12
|
-
* @hash
|
|
12
|
+
* @hash 63f5044005aa4225
|
|
13
13
|
*/
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import type { NavigationNode, FormSectionNode, FormGroupNode, FormSchemaNode } from "./types.js";
|
|
@@ -60,7 +60,7 @@ export declare const ActionTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
60
60
|
}, z.core.$strip>, z.ZodObject<{
|
|
61
61
|
kind: z.ZodLiteral<"panel">;
|
|
62
62
|
}, z.core.$strip>]>;
|
|
63
|
-
export declare const ActionIntentSchema: z.ZodEnum<{
|
|
63
|
+
export declare const ActionIntentSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
64
64
|
success: "success";
|
|
65
65
|
link: "link";
|
|
66
66
|
primary: "primary";
|
|
@@ -69,7 +69,7 @@ export declare const ActionIntentSchema: z.ZodEnum<{
|
|
|
69
69
|
warning: "warning";
|
|
70
70
|
info: "info";
|
|
71
71
|
ghost: "ghost";
|
|
72
|
-
}>;
|
|
72
|
+
}>, z.ZodString]>;
|
|
73
73
|
export declare const ConfirmationSchema: z.ZodObject<{
|
|
74
74
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
75
75
|
key: z.ZodString;
|
|
@@ -121,7 +121,7 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
121
121
|
}, z.core.$strip>, z.ZodObject<{
|
|
122
122
|
kind: z.ZodLiteral<"panel">;
|
|
123
123
|
}, z.core.$strip>]>;
|
|
124
|
-
intent: z.ZodEnum<{
|
|
124
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
125
125
|
success: "success";
|
|
126
126
|
link: "link";
|
|
127
127
|
primary: "primary";
|
|
@@ -130,7 +130,7 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
130
130
|
warning: "warning";
|
|
131
131
|
info: "info";
|
|
132
132
|
ghost: "ghost";
|
|
133
|
-
}>;
|
|
133
|
+
}>, z.ZodString]>;
|
|
134
134
|
icon: z.ZodOptional<z.ZodString>;
|
|
135
135
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
136
136
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -208,7 +208,7 @@ export declare const PageMetaSchema: z.ZodObject<{
|
|
|
208
208
|
}, z.core.$strip>, z.ZodObject<{
|
|
209
209
|
kind: z.ZodLiteral<"panel">;
|
|
210
210
|
}, z.core.$strip>]>;
|
|
211
|
-
intent: z.ZodEnum<{
|
|
211
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
212
212
|
success: "success";
|
|
213
213
|
link: "link";
|
|
214
214
|
primary: "primary";
|
|
@@ -217,7 +217,7 @@ export declare const PageMetaSchema: z.ZodObject<{
|
|
|
217
217
|
warning: "warning";
|
|
218
218
|
info: "info";
|
|
219
219
|
ghost: "ghost";
|
|
220
|
-
}>;
|
|
220
|
+
}>, z.ZodString]>;
|
|
221
221
|
icon: z.ZodOptional<z.ZodString>;
|
|
222
222
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
223
223
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -296,7 +296,7 @@ export declare const BlockDescriptorSchema: z.ZodObject<{
|
|
|
296
296
|
}, z.core.$strip>, z.ZodObject<{
|
|
297
297
|
kind: z.ZodLiteral<"panel">;
|
|
298
298
|
}, z.core.$strip>]>;
|
|
299
|
-
intent: z.ZodEnum<{
|
|
299
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
300
300
|
success: "success";
|
|
301
301
|
link: "link";
|
|
302
302
|
primary: "primary";
|
|
@@ -305,7 +305,7 @@ export declare const BlockDescriptorSchema: z.ZodObject<{
|
|
|
305
305
|
warning: "warning";
|
|
306
306
|
info: "info";
|
|
307
307
|
ghost: "ghost";
|
|
308
|
-
}>;
|
|
308
|
+
}>, z.ZodString]>;
|
|
309
309
|
icon: z.ZodOptional<z.ZodString>;
|
|
310
310
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
311
311
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -389,7 +389,7 @@ export declare const LayoutDescriptorSchema: z.ZodObject<{
|
|
|
389
389
|
}, z.core.$strip>, z.ZodObject<{
|
|
390
390
|
kind: z.ZodLiteral<"panel">;
|
|
391
391
|
}, z.core.$strip>]>;
|
|
392
|
-
intent: z.ZodEnum<{
|
|
392
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
393
393
|
success: "success";
|
|
394
394
|
link: "link";
|
|
395
395
|
primary: "primary";
|
|
@@ -398,7 +398,7 @@ export declare const LayoutDescriptorSchema: z.ZodObject<{
|
|
|
398
398
|
warning: "warning";
|
|
399
399
|
info: "info";
|
|
400
400
|
ghost: "ghost";
|
|
401
|
-
}>;
|
|
401
|
+
}>, z.ZodString]>;
|
|
402
402
|
icon: z.ZodOptional<z.ZodString>;
|
|
403
403
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
404
404
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -439,17 +439,17 @@ export declare const LayoutDescriptorSchema: z.ZodObject<{
|
|
|
439
439
|
}, z.core.$strip>>>, z.ZodArray<z.ZodUnknown>]>;
|
|
440
440
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
441
441
|
}, z.core.$strip>;
|
|
442
|
-
export declare const ThemeModeSchema: z.ZodEnum<{
|
|
442
|
+
export declare const ThemeModeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
443
443
|
light: "light";
|
|
444
444
|
dark: "dark";
|
|
445
445
|
system: "system";
|
|
446
|
-
}>;
|
|
446
|
+
}>, z.ZodString]>;
|
|
447
447
|
export declare const UserPreferencesSchema: z.ZodObject<{
|
|
448
|
-
theme: z.ZodEnum<{
|
|
448
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
449
449
|
light: "light";
|
|
450
450
|
dark: "dark";
|
|
451
451
|
system: "system";
|
|
452
|
-
}>;
|
|
452
|
+
}>, z.ZodString]>;
|
|
453
453
|
locale: z.ZodString;
|
|
454
454
|
timezone: z.ZodOptional<z.ZodString>;
|
|
455
455
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -469,11 +469,11 @@ export declare const BrandingSchema: z.ZodObject<{
|
|
|
469
469
|
}, z.core.$strip>;
|
|
470
470
|
export declare const PageResourcesSchema: z.ZodObject<{
|
|
471
471
|
preferences: z.ZodObject<{
|
|
472
|
-
theme: z.ZodEnum<{
|
|
472
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
473
473
|
light: "light";
|
|
474
474
|
dark: "dark";
|
|
475
475
|
system: "system";
|
|
476
|
-
}>;
|
|
476
|
+
}>, z.ZodString]>;
|
|
477
477
|
locale: z.ZodString;
|
|
478
478
|
timezone: z.ZodOptional<z.ZodString>;
|
|
479
479
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -494,19 +494,19 @@ export declare const PageResourcesSchema: z.ZodObject<{
|
|
|
494
494
|
logoCompactUrl: z.ZodOptional<z.ZodString>;
|
|
495
495
|
}, z.core.$strip>>;
|
|
496
496
|
}, z.core.$strip>;
|
|
497
|
-
export declare const NotificationLevelSchema: z.ZodEnum<{
|
|
497
|
+
export declare const NotificationLevelSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
498
498
|
success: "success";
|
|
499
499
|
warning: "warning";
|
|
500
500
|
info: "info";
|
|
501
501
|
error: "error";
|
|
502
|
-
}>;
|
|
502
|
+
}>, z.ZodString]>;
|
|
503
503
|
export declare const NotificationSchema: z.ZodObject<{
|
|
504
|
-
level: z.ZodEnum<{
|
|
504
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
505
505
|
success: "success";
|
|
506
506
|
warning: "warning";
|
|
507
507
|
info: "info";
|
|
508
508
|
error: "error";
|
|
509
|
-
}>;
|
|
509
|
+
}>, z.ZodString]>;
|
|
510
510
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
511
511
|
key: z.ZodString;
|
|
512
512
|
domain: z.ZodString;
|
|
@@ -547,7 +547,7 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
547
547
|
}, z.core.$strip>, z.ZodObject<{
|
|
548
548
|
kind: z.ZodLiteral<"panel">;
|
|
549
549
|
}, z.core.$strip>]>;
|
|
550
|
-
intent: z.ZodEnum<{
|
|
550
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
551
551
|
success: "success";
|
|
552
552
|
link: "link";
|
|
553
553
|
primary: "primary";
|
|
@@ -556,7 +556,7 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
556
556
|
warning: "warning";
|
|
557
557
|
info: "info";
|
|
558
558
|
ghost: "ghost";
|
|
559
|
-
}>;
|
|
559
|
+
}>, z.ZodString]>;
|
|
560
560
|
icon: z.ZodOptional<z.ZodString>;
|
|
561
561
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
562
562
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -638,7 +638,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
638
638
|
}, z.core.$strip>, z.ZodObject<{
|
|
639
639
|
kind: z.ZodLiteral<"panel">;
|
|
640
640
|
}, z.core.$strip>]>;
|
|
641
|
-
intent: z.ZodEnum<{
|
|
641
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
642
642
|
success: "success";
|
|
643
643
|
link: "link";
|
|
644
644
|
primary: "primary";
|
|
@@ -647,7 +647,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
647
647
|
warning: "warning";
|
|
648
648
|
info: "info";
|
|
649
649
|
ghost: "ghost";
|
|
650
|
-
}>;
|
|
650
|
+
}>, z.ZodString]>;
|
|
651
651
|
icon: z.ZodOptional<z.ZodString>;
|
|
652
652
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
653
653
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -722,7 +722,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
722
722
|
}, z.core.$strip>, z.ZodObject<{
|
|
723
723
|
kind: z.ZodLiteral<"panel">;
|
|
724
724
|
}, z.core.$strip>]>;
|
|
725
|
-
intent: z.ZodEnum<{
|
|
725
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
726
726
|
success: "success";
|
|
727
727
|
link: "link";
|
|
728
728
|
primary: "primary";
|
|
@@ -731,7 +731,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
731
731
|
warning: "warning";
|
|
732
732
|
info: "info";
|
|
733
733
|
ghost: "ghost";
|
|
734
|
-
}>;
|
|
734
|
+
}>, z.ZodString]>;
|
|
735
735
|
icon: z.ZodOptional<z.ZodString>;
|
|
736
736
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
737
737
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -774,11 +774,11 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
774
774
|
}, z.core.$strip>;
|
|
775
775
|
resources: z.ZodOptional<z.ZodObject<{
|
|
776
776
|
preferences: z.ZodObject<{
|
|
777
|
-
theme: z.ZodEnum<{
|
|
777
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
778
778
|
light: "light";
|
|
779
779
|
dark: "dark";
|
|
780
780
|
system: "system";
|
|
781
|
-
}>;
|
|
781
|
+
}>, z.ZodString]>;
|
|
782
782
|
locale: z.ZodString;
|
|
783
783
|
timezone: z.ZodOptional<z.ZodString>;
|
|
784
784
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -800,12 +800,12 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
800
800
|
}, z.core.$strip>>;
|
|
801
801
|
}, z.core.$strip>>;
|
|
802
802
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
803
|
-
level: z.ZodEnum<{
|
|
803
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
804
804
|
success: "success";
|
|
805
805
|
warning: "warning";
|
|
806
806
|
info: "info";
|
|
807
807
|
error: "error";
|
|
808
|
-
}>;
|
|
808
|
+
}>, z.ZodString]>;
|
|
809
809
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
810
810
|
key: z.ZodString;
|
|
811
811
|
domain: z.ZodString;
|
|
@@ -846,7 +846,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
846
846
|
}, z.core.$strip>, z.ZodObject<{
|
|
847
847
|
kind: z.ZodLiteral<"panel">;
|
|
848
848
|
}, z.core.$strip>]>;
|
|
849
|
-
intent: z.ZodEnum<{
|
|
849
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
850
850
|
success: "success";
|
|
851
851
|
link: "link";
|
|
852
852
|
primary: "primary";
|
|
@@ -855,7 +855,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
855
855
|
warning: "warning";
|
|
856
856
|
info: "info";
|
|
857
857
|
ghost: "ghost";
|
|
858
|
-
}>;
|
|
858
|
+
}>, z.ZodString]>;
|
|
859
859
|
icon: z.ZodOptional<z.ZodString>;
|
|
860
860
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
861
861
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -899,11 +899,11 @@ export declare const FragmentKindSchema: z.ZodEnum<{
|
|
|
899
899
|
}>;
|
|
900
900
|
export declare const ResourcePatchSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
901
901
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
902
|
-
theme: z.ZodEnum<{
|
|
902
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
903
903
|
light: "light";
|
|
904
904
|
dark: "dark";
|
|
905
905
|
system: "system";
|
|
906
|
-
}>;
|
|
906
|
+
}>, z.ZodString]>;
|
|
907
907
|
locale: z.ZodString;
|
|
908
908
|
timezone: z.ZodOptional<z.ZodString>;
|
|
909
909
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -926,12 +926,12 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
926
926
|
}>;
|
|
927
927
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
928
928
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
929
|
-
level: z.ZodEnum<{
|
|
929
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
930
930
|
success: "success";
|
|
931
931
|
warning: "warning";
|
|
932
932
|
info: "info";
|
|
933
933
|
error: "error";
|
|
934
|
-
}>;
|
|
934
|
+
}>, z.ZodString]>;
|
|
935
935
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
936
936
|
key: z.ZodString;
|
|
937
937
|
domain: z.ZodString;
|
|
@@ -972,7 +972,7 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
972
972
|
}, z.core.$strip>, z.ZodObject<{
|
|
973
973
|
kind: z.ZodLiteral<"panel">;
|
|
974
974
|
}, z.core.$strip>]>;
|
|
975
|
-
intent: z.ZodEnum<{
|
|
975
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
976
976
|
success: "success";
|
|
977
977
|
link: "link";
|
|
978
978
|
primary: "primary";
|
|
@@ -981,7 +981,7 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
981
981
|
warning: "warning";
|
|
982
982
|
info: "info";
|
|
983
983
|
ghost: "ghost";
|
|
984
|
-
}>;
|
|
984
|
+
}>, z.ZodString]>;
|
|
985
985
|
icon: z.ZodOptional<z.ZodString>;
|
|
986
986
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
987
987
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1013,11 +1013,11 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
1013
1013
|
}, z.core.$strip>>>;
|
|
1014
1014
|
resources: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1015
1015
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
1016
|
-
theme: z.ZodEnum<{
|
|
1016
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1017
1017
|
light: "light";
|
|
1018
1018
|
dark: "dark";
|
|
1019
1019
|
system: "system";
|
|
1020
|
-
}>;
|
|
1020
|
+
}>, z.ZodString]>;
|
|
1021
1021
|
locale: z.ZodString;
|
|
1022
1022
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1023
1023
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -1049,7 +1049,7 @@ export declare const EditablePanelDescriptorSchema: z.ZodObject<{
|
|
|
1049
1049
|
width: z.ZodNumber;
|
|
1050
1050
|
}, z.core.$strip>;
|
|
1051
1051
|
export declare const NavigationNodeSchema: z.ZodType<NavigationNode>;
|
|
1052
|
-
export declare const ValueFormatSchema: z.ZodEnum<{
|
|
1052
|
+
export declare const ValueFormatSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1053
1053
|
number: "number";
|
|
1054
1054
|
boolean: "boolean";
|
|
1055
1055
|
date: "date";
|
|
@@ -1058,8 +1058,8 @@ export declare const ValueFormatSchema: z.ZodEnum<{
|
|
|
1058
1058
|
time: "time";
|
|
1059
1059
|
currency: "currency";
|
|
1060
1060
|
badge: "badge";
|
|
1061
|
-
}>;
|
|
1062
|
-
export declare const ColumnVariantSchema: z.ZodEnum<{
|
|
1061
|
+
}>, z.ZodString]>;
|
|
1062
|
+
export declare const ColumnVariantSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1063
1063
|
boolean: "boolean";
|
|
1064
1064
|
link: "link";
|
|
1065
1065
|
text: "text";
|
|
@@ -1071,7 +1071,7 @@ export declare const ColumnVariantSchema: z.ZodEnum<{
|
|
|
1071
1071
|
link_group: "link_group";
|
|
1072
1072
|
annotated: "annotated";
|
|
1073
1073
|
progress: "progress";
|
|
1074
|
-
}>;
|
|
1074
|
+
}>, z.ZodString]>;
|
|
1075
1075
|
export declare const ColumnSchema: z.ZodObject<{
|
|
1076
1076
|
key: z.ZodString;
|
|
1077
1077
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1081,7 +1081,7 @@ export declare const ColumnSchema: z.ZodObject<{
|
|
|
1081
1081
|
}, z.core.$strip>]>;
|
|
1082
1082
|
sortable: z.ZodBoolean;
|
|
1083
1083
|
searchable: z.ZodBoolean;
|
|
1084
|
-
format: z.ZodEnum<{
|
|
1084
|
+
format: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1085
1085
|
number: "number";
|
|
1086
1086
|
boolean: "boolean";
|
|
1087
1087
|
date: "date";
|
|
@@ -1090,10 +1090,10 @@ export declare const ColumnSchema: z.ZodObject<{
|
|
|
1090
1090
|
time: "time";
|
|
1091
1091
|
currency: "currency";
|
|
1092
1092
|
badge: "badge";
|
|
1093
|
-
}>;
|
|
1093
|
+
}>, z.ZodString]>;
|
|
1094
1094
|
formatOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1095
1095
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1096
|
-
variant: z.ZodOptional<z.ZodEnum<{
|
|
1096
|
+
variant: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1097
1097
|
boolean: "boolean";
|
|
1098
1098
|
link: "link";
|
|
1099
1099
|
text: "text";
|
|
@@ -1105,16 +1105,16 @@ export declare const ColumnSchema: z.ZodObject<{
|
|
|
1105
1105
|
link_group: "link_group";
|
|
1106
1106
|
annotated: "annotated";
|
|
1107
1107
|
progress: "progress";
|
|
1108
|
-
}>>;
|
|
1108
|
+
}>, z.ZodString]>>;
|
|
1109
1109
|
}, z.core.$strip>;
|
|
1110
|
-
export declare const FilterTypeSchema: z.ZodEnum<{
|
|
1110
|
+
export declare const FilterTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1111
1111
|
boolean: "boolean";
|
|
1112
1112
|
date: "date";
|
|
1113
1113
|
text: "text";
|
|
1114
1114
|
select: "select";
|
|
1115
1115
|
date_range: "date_range";
|
|
1116
1116
|
number_range: "number_range";
|
|
1117
|
-
}>;
|
|
1117
|
+
}>, z.ZodString]>;
|
|
1118
1118
|
export declare const FilterDefinitionSchema: z.ZodObject<{
|
|
1119
1119
|
key: z.ZodString;
|
|
1120
1120
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1122,14 +1122,14 @@ export declare const FilterDefinitionSchema: z.ZodObject<{
|
|
|
1122
1122
|
domain: z.ZodString;
|
|
1123
1123
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1124
1124
|
}, z.core.$strip>]>;
|
|
1125
|
-
type: z.ZodEnum<{
|
|
1125
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1126
1126
|
boolean: "boolean";
|
|
1127
1127
|
date: "date";
|
|
1128
1128
|
text: "text";
|
|
1129
1129
|
select: "select";
|
|
1130
1130
|
date_range: "date_range";
|
|
1131
1131
|
number_range: "number_range";
|
|
1132
|
-
}>;
|
|
1132
|
+
}>, z.ZodString]>;
|
|
1133
1133
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1134
1134
|
value: z.ZodUnknown;
|
|
1135
1135
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1162,7 +1162,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1162
1162
|
}, z.core.$strip>]>;
|
|
1163
1163
|
sortable: z.ZodBoolean;
|
|
1164
1164
|
searchable: z.ZodBoolean;
|
|
1165
|
-
format: z.ZodEnum<{
|
|
1165
|
+
format: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1166
1166
|
number: "number";
|
|
1167
1167
|
boolean: "boolean";
|
|
1168
1168
|
date: "date";
|
|
@@ -1171,10 +1171,10 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1171
1171
|
time: "time";
|
|
1172
1172
|
currency: "currency";
|
|
1173
1173
|
badge: "badge";
|
|
1174
|
-
}>;
|
|
1174
|
+
}>, z.ZodString]>;
|
|
1175
1175
|
formatOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1176
1176
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1177
|
-
variant: z.ZodOptional<z.ZodEnum<{
|
|
1177
|
+
variant: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1178
1178
|
boolean: "boolean";
|
|
1179
1179
|
link: "link";
|
|
1180
1180
|
text: "text";
|
|
@@ -1186,7 +1186,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1186
1186
|
link_group: "link_group";
|
|
1187
1187
|
annotated: "annotated";
|
|
1188
1188
|
progress: "progress";
|
|
1189
|
-
}>>;
|
|
1189
|
+
}>, z.ZodString]>>;
|
|
1190
1190
|
}, z.core.$strip>>;
|
|
1191
1191
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1192
1192
|
key: z.ZodString;
|
|
@@ -1195,14 +1195,14 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1195
1195
|
domain: z.ZodString;
|
|
1196
1196
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1197
1197
|
}, z.core.$strip>]>;
|
|
1198
|
-
type: z.ZodEnum<{
|
|
1198
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1199
1199
|
boolean: "boolean";
|
|
1200
1200
|
date: "date";
|
|
1201
1201
|
text: "text";
|
|
1202
1202
|
select: "select";
|
|
1203
1203
|
date_range: "date_range";
|
|
1204
1204
|
number_range: "number_range";
|
|
1205
|
-
}>;
|
|
1205
|
+
}>, z.ZodString]>;
|
|
1206
1206
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1207
1207
|
value: z.ZodUnknown;
|
|
1208
1208
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1246,7 +1246,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1246
1246
|
}, z.core.$strip>, z.ZodObject<{
|
|
1247
1247
|
kind: z.ZodLiteral<"panel">;
|
|
1248
1248
|
}, z.core.$strip>]>;
|
|
1249
|
-
intent: z.ZodEnum<{
|
|
1249
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1250
1250
|
success: "success";
|
|
1251
1251
|
link: "link";
|
|
1252
1252
|
primary: "primary";
|
|
@@ -1255,7 +1255,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1255
1255
|
warning: "warning";
|
|
1256
1256
|
info: "info";
|
|
1257
1257
|
ghost: "ghost";
|
|
1258
|
-
}>;
|
|
1258
|
+
}>, z.ZodString]>;
|
|
1259
1259
|
icon: z.ZodOptional<z.ZodString>;
|
|
1260
1260
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
1261
1261
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1312,7 +1312,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1312
1312
|
}, z.core.$strip>, z.ZodObject<{
|
|
1313
1313
|
kind: z.ZodLiteral<"panel">;
|
|
1314
1314
|
}, z.core.$strip>]>;
|
|
1315
|
-
intent: z.ZodEnum<{
|
|
1315
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1316
1316
|
success: "success";
|
|
1317
1317
|
link: "link";
|
|
1318
1318
|
primary: "primary";
|
|
@@ -1321,7 +1321,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1321
1321
|
warning: "warning";
|
|
1322
1322
|
info: "info";
|
|
1323
1323
|
ghost: "ghost";
|
|
1324
|
-
}>;
|
|
1324
|
+
}>, z.ZodString]>;
|
|
1325
1325
|
icon: z.ZodOptional<z.ZodString>;
|
|
1326
1326
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
1327
1327
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1419,7 +1419,7 @@ export declare const TabSchema: z.ZodObject<{
|
|
|
1419
1419
|
}, z.core.$strip>, z.ZodObject<{
|
|
1420
1420
|
kind: z.ZodLiteral<"panel">;
|
|
1421
1421
|
}, z.core.$strip>]>;
|
|
1422
|
-
intent: z.ZodEnum<{
|
|
1422
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1423
1423
|
success: "success";
|
|
1424
1424
|
link: "link";
|
|
1425
1425
|
primary: "primary";
|
|
@@ -1428,7 +1428,7 @@ export declare const TabSchema: z.ZodObject<{
|
|
|
1428
1428
|
warning: "warning";
|
|
1429
1429
|
info: "info";
|
|
1430
1430
|
ghost: "ghost";
|
|
1431
|
-
}>;
|
|
1431
|
+
}>, z.ZodString]>;
|
|
1432
1432
|
icon: z.ZodOptional<z.ZodString>;
|
|
1433
1433
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
1434
1434
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3013,6 +3013,130 @@ export declare const FormFieldNodeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3013
3013
|
props: z.ZodObject<{
|
|
3014
3014
|
label: z.ZodString;
|
|
3015
3015
|
}, z.core.$strip>;
|
|
3016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3017
|
+
kind: z.ZodLiteral<"field">;
|
|
3018
|
+
key: z.ZodString;
|
|
3019
|
+
component: z.ZodEnum<{
|
|
3020
|
+
time: "time";
|
|
3021
|
+
richtext: "richtext";
|
|
3022
|
+
}>;
|
|
3023
|
+
props: z.ZodObject<{
|
|
3024
|
+
label: z.ZodString;
|
|
3025
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3027
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3028
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3029
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3030
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
3031
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3032
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3033
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
3034
|
+
patternMessage: z.ZodOptional<z.ZodString>;
|
|
3035
|
+
}, z.core.$strip>>;
|
|
3036
|
+
visible_when: z.ZodOptional<z.ZodObject<{
|
|
3037
|
+
field: z.ZodString;
|
|
3038
|
+
operator: z.ZodEnum<{
|
|
3039
|
+
equals: "equals";
|
|
3040
|
+
not_equals: "not_equals";
|
|
3041
|
+
in: "in";
|
|
3042
|
+
not_in: "not_in";
|
|
3043
|
+
}>;
|
|
3044
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3045
|
+
}, z.core.$strip>>;
|
|
3046
|
+
hidden_when: z.ZodOptional<z.ZodObject<{
|
|
3047
|
+
field: z.ZodString;
|
|
3048
|
+
operator: z.ZodEnum<{
|
|
3049
|
+
equals: "equals";
|
|
3050
|
+
not_equals: "not_equals";
|
|
3051
|
+
in: "in";
|
|
3052
|
+
not_in: "not_in";
|
|
3053
|
+
}>;
|
|
3054
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3055
|
+
}, z.core.$strip>>;
|
|
3056
|
+
disabled_when: z.ZodOptional<z.ZodObject<{
|
|
3057
|
+
field: z.ZodString;
|
|
3058
|
+
operator: z.ZodEnum<{
|
|
3059
|
+
equals: "equals";
|
|
3060
|
+
not_equals: "not_equals";
|
|
3061
|
+
in: "in";
|
|
3062
|
+
not_in: "not_in";
|
|
3063
|
+
}>;
|
|
3064
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3065
|
+
}, z.core.$strip>>;
|
|
3066
|
+
required_when: z.ZodOptional<z.ZodObject<{
|
|
3067
|
+
field: z.ZodString;
|
|
3068
|
+
operator: z.ZodEnum<{
|
|
3069
|
+
equals: "equals";
|
|
3070
|
+
not_equals: "not_equals";
|
|
3071
|
+
in: "in";
|
|
3072
|
+
not_in: "not_in";
|
|
3073
|
+
}>;
|
|
3074
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3075
|
+
}, z.core.$strip>>;
|
|
3076
|
+
}, z.core.$strip>;
|
|
3077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3078
|
+
kind: z.ZodLiteral<"field">;
|
|
3079
|
+
key: z.ZodString;
|
|
3080
|
+
component: z.ZodLiteral<"autocomplete">;
|
|
3081
|
+
props: z.ZodIntersection<z.ZodObject<{
|
|
3082
|
+
label: z.ZodString;
|
|
3083
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3084
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3085
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3086
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3087
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3088
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
3089
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3090
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3091
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
patternMessage: z.ZodOptional<z.ZodString>;
|
|
3093
|
+
}, z.core.$strip>>;
|
|
3094
|
+
visible_when: z.ZodOptional<z.ZodObject<{
|
|
3095
|
+
field: z.ZodString;
|
|
3096
|
+
operator: z.ZodEnum<{
|
|
3097
|
+
equals: "equals";
|
|
3098
|
+
not_equals: "not_equals";
|
|
3099
|
+
in: "in";
|
|
3100
|
+
not_in: "not_in";
|
|
3101
|
+
}>;
|
|
3102
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3103
|
+
}, z.core.$strip>>;
|
|
3104
|
+
hidden_when: z.ZodOptional<z.ZodObject<{
|
|
3105
|
+
field: z.ZodString;
|
|
3106
|
+
operator: z.ZodEnum<{
|
|
3107
|
+
equals: "equals";
|
|
3108
|
+
not_equals: "not_equals";
|
|
3109
|
+
in: "in";
|
|
3110
|
+
not_in: "not_in";
|
|
3111
|
+
}>;
|
|
3112
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3113
|
+
}, z.core.$strip>>;
|
|
3114
|
+
disabled_when: z.ZodOptional<z.ZodObject<{
|
|
3115
|
+
field: z.ZodString;
|
|
3116
|
+
operator: z.ZodEnum<{
|
|
3117
|
+
equals: "equals";
|
|
3118
|
+
not_equals: "not_equals";
|
|
3119
|
+
in: "in";
|
|
3120
|
+
not_in: "not_in";
|
|
3121
|
+
}>;
|
|
3122
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3123
|
+
}, z.core.$strip>>;
|
|
3124
|
+
required_when: z.ZodOptional<z.ZodObject<{
|
|
3125
|
+
field: z.ZodString;
|
|
3126
|
+
operator: z.ZodEnum<{
|
|
3127
|
+
equals: "equals";
|
|
3128
|
+
not_equals: "not_equals";
|
|
3129
|
+
in: "in";
|
|
3130
|
+
not_in: "not_in";
|
|
3131
|
+
}>;
|
|
3132
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3133
|
+
}, z.core.$strip>>;
|
|
3134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3135
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3136
|
+
value: z.ZodString;
|
|
3137
|
+
label: z.ZodString;
|
|
3138
|
+
}, z.core.$strip>>>;
|
|
3139
|
+
}, z.core.$strip>>;
|
|
3016
3140
|
}, z.core.$strip>]>;
|
|
3017
3141
|
export declare const FormSectionNodeSchema: z.ZodType<FormSectionNode>;
|
|
3018
3142
|
export declare const FormGroupNodeSchema: z.ZodType<FormGroupNode>;
|
|
@@ -3080,7 +3204,7 @@ export declare const RegionUpdateSchema: z.ZodObject<{
|
|
|
3080
3204
|
}, z.core.$strip>, z.ZodObject<{
|
|
3081
3205
|
kind: z.ZodLiteral<"panel">;
|
|
3082
3206
|
}, z.core.$strip>]>;
|
|
3083
|
-
intent: z.ZodEnum<{
|
|
3207
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3084
3208
|
success: "success";
|
|
3085
3209
|
link: "link";
|
|
3086
3210
|
primary: "primary";
|
|
@@ -3089,7 +3213,7 @@ export declare const RegionUpdateSchema: z.ZodObject<{
|
|
|
3089
3213
|
warning: "warning";
|
|
3090
3214
|
info: "info";
|
|
3091
3215
|
ghost: "ghost";
|
|
3092
|
-
}>;
|
|
3216
|
+
}>, z.ZodString]>;
|
|
3093
3217
|
icon: z.ZodOptional<z.ZodString>;
|
|
3094
3218
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3095
3219
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3133,12 +3257,12 @@ export declare const RegionUpdateSchema: z.ZodObject<{
|
|
|
3133
3257
|
export declare const ActionResultSchema: z.ZodObject<{
|
|
3134
3258
|
success: z.ZodBoolean;
|
|
3135
3259
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3136
|
-
level: z.ZodEnum<{
|
|
3260
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3137
3261
|
success: "success";
|
|
3138
3262
|
warning: "warning";
|
|
3139
3263
|
info: "info";
|
|
3140
3264
|
error: "error";
|
|
3141
|
-
}>;
|
|
3265
|
+
}>, z.ZodString]>;
|
|
3142
3266
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3143
3267
|
key: z.ZodString;
|
|
3144
3268
|
domain: z.ZodString;
|
|
@@ -3179,7 +3303,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3179
3303
|
}, z.core.$strip>, z.ZodObject<{
|
|
3180
3304
|
kind: z.ZodLiteral<"panel">;
|
|
3181
3305
|
}, z.core.$strip>]>;
|
|
3182
|
-
intent: z.ZodEnum<{
|
|
3306
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3183
3307
|
success: "success";
|
|
3184
3308
|
link: "link";
|
|
3185
3309
|
primary: "primary";
|
|
@@ -3188,7 +3312,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3188
3312
|
warning: "warning";
|
|
3189
3313
|
info: "info";
|
|
3190
3314
|
ghost: "ghost";
|
|
3191
|
-
}>;
|
|
3315
|
+
}>, z.ZodString]>;
|
|
3192
3316
|
icon: z.ZodOptional<z.ZodString>;
|
|
3193
3317
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3194
3318
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3235,12 +3359,12 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3235
3359
|
}>;
|
|
3236
3360
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3237
3361
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3238
|
-
level: z.ZodEnum<{
|
|
3362
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3239
3363
|
success: "success";
|
|
3240
3364
|
warning: "warning";
|
|
3241
3365
|
info: "info";
|
|
3242
3366
|
error: "error";
|
|
3243
|
-
}>;
|
|
3367
|
+
}>, z.ZodString]>;
|
|
3244
3368
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3245
3369
|
key: z.ZodString;
|
|
3246
3370
|
domain: z.ZodString;
|
|
@@ -3281,7 +3405,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3281
3405
|
}, z.core.$strip>, z.ZodObject<{
|
|
3282
3406
|
kind: z.ZodLiteral<"panel">;
|
|
3283
3407
|
}, z.core.$strip>]>;
|
|
3284
|
-
intent: z.ZodEnum<{
|
|
3408
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3285
3409
|
success: "success";
|
|
3286
3410
|
link: "link";
|
|
3287
3411
|
primary: "primary";
|
|
@@ -3290,7 +3414,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3290
3414
|
warning: "warning";
|
|
3291
3415
|
info: "info";
|
|
3292
3416
|
ghost: "ghost";
|
|
3293
|
-
}>;
|
|
3417
|
+
}>, z.ZodString]>;
|
|
3294
3418
|
icon: z.ZodOptional<z.ZodString>;
|
|
3295
3419
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3296
3420
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3322,11 +3446,11 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3322
3446
|
}, z.core.$strip>>>;
|
|
3323
3447
|
resources: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3324
3448
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
3325
|
-
theme: z.ZodEnum<{
|
|
3449
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3326
3450
|
light: "light";
|
|
3327
3451
|
dark: "dark";
|
|
3328
3452
|
system: "system";
|
|
3329
|
-
}>;
|
|
3453
|
+
}>, z.ZodString]>;
|
|
3330
3454
|
locale: z.ZodString;
|
|
3331
3455
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3332
3456
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -3339,11 +3463,11 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3339
3463
|
}, z.core.$strip>>>;
|
|
3340
3464
|
resources: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3341
3465
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
3342
|
-
theme: z.ZodEnum<{
|
|
3466
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3343
3467
|
light: "light";
|
|
3344
3468
|
dark: "dark";
|
|
3345
3469
|
system: "system";
|
|
3346
|
-
}>;
|
|
3470
|
+
}>, z.ZodString]>;
|
|
3347
3471
|
locale: z.ZodString;
|
|
3348
3472
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3349
3473
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -3359,11 +3483,11 @@ export declare const ActionTargetKindSchema: z.ZodEnum<{
|
|
|
3359
3483
|
request: "request";
|
|
3360
3484
|
panel: "panel";
|
|
3361
3485
|
}>;
|
|
3362
|
-
export declare const ChartTypeSchema: z.ZodEnum<{
|
|
3486
|
+
export declare const ChartTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3363
3487
|
line: "line";
|
|
3364
3488
|
bar: "bar";
|
|
3365
3489
|
area: "area";
|
|
3366
|
-
}>;
|
|
3490
|
+
}>, z.ZodString]>;
|
|
3367
3491
|
export declare const ConditionOperatorSchema: z.ZodEnum<{
|
|
3368
3492
|
in: "in";
|
|
3369
3493
|
not_in: "not_in";
|
|
@@ -3379,7 +3503,7 @@ export declare const ConditionOperatorSchema: z.ZodEnum<{
|
|
|
3379
3503
|
empty: "empty";
|
|
3380
3504
|
matches: "matches";
|
|
3381
3505
|
}>;
|
|
3382
|
-
export declare const FieldTypeSchema: z.ZodEnum<{
|
|
3506
|
+
export declare const FieldTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3383
3507
|
int: "int";
|
|
3384
3508
|
date: "date";
|
|
3385
3509
|
file: "file";
|
|
@@ -3407,14 +3531,15 @@ export declare const FieldTypeSchema: z.ZodEnum<{
|
|
|
3407
3531
|
header: "header";
|
|
3408
3532
|
richtext: "richtext";
|
|
3409
3533
|
autocomplete: "autocomplete";
|
|
3410
|
-
}>;
|
|
3411
|
-
export declare const FormComponentSchema: z.ZodEnum<{
|
|
3534
|
+
}>, z.ZodString]>;
|
|
3535
|
+
export declare const FormComponentSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3412
3536
|
int: "int";
|
|
3413
3537
|
date: "date";
|
|
3414
3538
|
file: "file";
|
|
3415
3539
|
email: "email";
|
|
3416
3540
|
text: "text";
|
|
3417
3541
|
datetime: "datetime";
|
|
3542
|
+
time: "time";
|
|
3418
3543
|
currency: "currency";
|
|
3419
3544
|
select: "select";
|
|
3420
3545
|
date_range: "date_range";
|
|
@@ -3440,7 +3565,9 @@ export declare const FormComponentSchema: z.ZodEnum<{
|
|
|
3440
3565
|
hidden: "hidden";
|
|
3441
3566
|
static: "static";
|
|
3442
3567
|
header: "header";
|
|
3443
|
-
|
|
3568
|
+
richtext: "richtext";
|
|
3569
|
+
autocomplete: "autocomplete";
|
|
3570
|
+
}>, z.ZodString]>;
|
|
3444
3571
|
export declare const RenderTargetSchema: z.ZodEnum<{
|
|
3445
3572
|
html: "html";
|
|
3446
3573
|
props: "props";
|
|
@@ -3497,7 +3624,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3497
3624
|
}, z.core.$strip>, z.ZodObject<{
|
|
3498
3625
|
kind: z.ZodLiteral<"panel">;
|
|
3499
3626
|
}, z.core.$strip>]>;
|
|
3500
|
-
intent: z.ZodEnum<{
|
|
3627
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3501
3628
|
success: "success";
|
|
3502
3629
|
link: "link";
|
|
3503
3630
|
primary: "primary";
|
|
@@ -3506,7 +3633,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3506
3633
|
warning: "warning";
|
|
3507
3634
|
info: "info";
|
|
3508
3635
|
ghost: "ghost";
|
|
3509
|
-
}>;
|
|
3636
|
+
}>, z.ZodString]>;
|
|
3510
3637
|
icon: z.ZodOptional<z.ZodString>;
|
|
3511
3638
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3512
3639
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3581,7 +3708,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3581
3708
|
}, z.core.$strip>, z.ZodObject<{
|
|
3582
3709
|
kind: z.ZodLiteral<"panel">;
|
|
3583
3710
|
}, z.core.$strip>]>;
|
|
3584
|
-
intent: z.ZodEnum<{
|
|
3711
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3585
3712
|
success: "success";
|
|
3586
3713
|
link: "link";
|
|
3587
3714
|
primary: "primary";
|
|
@@ -3590,7 +3717,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3590
3717
|
warning: "warning";
|
|
3591
3718
|
info: "info";
|
|
3592
3719
|
ghost: "ghost";
|
|
3593
|
-
}>;
|
|
3720
|
+
}>, z.ZodString]>;
|
|
3594
3721
|
icon: z.ZodOptional<z.ZodString>;
|
|
3595
3722
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3596
3723
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3633,11 +3760,11 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3633
3760
|
}, z.core.$strip>;
|
|
3634
3761
|
resources: z.ZodOptional<z.ZodObject<{
|
|
3635
3762
|
preferences: z.ZodObject<{
|
|
3636
|
-
theme: z.ZodEnum<{
|
|
3763
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3637
3764
|
light: "light";
|
|
3638
3765
|
dark: "dark";
|
|
3639
3766
|
system: "system";
|
|
3640
|
-
}>;
|
|
3767
|
+
}>, z.ZodString]>;
|
|
3641
3768
|
locale: z.ZodString;
|
|
3642
3769
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3643
3770
|
dateFormat: z.ZodOptional<z.ZodString>;
|
|
@@ -3659,12 +3786,12 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3659
3786
|
}, z.core.$strip>>;
|
|
3660
3787
|
}, z.core.$strip>>;
|
|
3661
3788
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3662
|
-
level: z.ZodEnum<{
|
|
3789
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3663
3790
|
success: "success";
|
|
3664
3791
|
warning: "warning";
|
|
3665
3792
|
info: "info";
|
|
3666
3793
|
error: "error";
|
|
3667
|
-
}>;
|
|
3794
|
+
}>, z.ZodString]>;
|
|
3668
3795
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3669
3796
|
key: z.ZodString;
|
|
3670
3797
|
domain: z.ZodString;
|
|
@@ -3705,7 +3832,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3705
3832
|
}, z.core.$strip>, z.ZodObject<{
|
|
3706
3833
|
kind: z.ZodLiteral<"panel">;
|
|
3707
3834
|
}, z.core.$strip>]>;
|
|
3708
|
-
intent: z.ZodEnum<{
|
|
3835
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3709
3836
|
success: "success";
|
|
3710
3837
|
link: "link";
|
|
3711
3838
|
primary: "primary";
|
|
@@ -3714,7 +3841,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3714
3841
|
warning: "warning";
|
|
3715
3842
|
info: "info";
|
|
3716
3843
|
ghost: "ghost";
|
|
3717
|
-
}>;
|
|
3844
|
+
}>, z.ZodString]>;
|
|
3718
3845
|
icon: z.ZodOptional<z.ZodString>;
|
|
3719
3846
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3720
3847
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3760,12 +3887,12 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3760
3887
|
}>;
|
|
3761
3888
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3762
3889
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3763
|
-
level: z.ZodEnum<{
|
|
3890
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3764
3891
|
success: "success";
|
|
3765
3892
|
warning: "warning";
|
|
3766
3893
|
info: "info";
|
|
3767
3894
|
error: "error";
|
|
3768
|
-
}>;
|
|
3895
|
+
}>, z.ZodString]>;
|
|
3769
3896
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3770
3897
|
key: z.ZodString;
|
|
3771
3898
|
domain: z.ZodString;
|
|
@@ -3806,7 +3933,7 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3806
3933
|
}, z.core.$strip>, z.ZodObject<{
|
|
3807
3934
|
kind: z.ZodLiteral<"panel">;
|
|
3808
3935
|
}, z.core.$strip>]>;
|
|
3809
|
-
intent: z.ZodEnum<{
|
|
3936
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3810
3937
|
success: "success";
|
|
3811
3938
|
link: "link";
|
|
3812
3939
|
primary: "primary";
|
|
@@ -3815,7 +3942,7 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3815
3942
|
warning: "warning";
|
|
3816
3943
|
info: "info";
|
|
3817
3944
|
ghost: "ghost";
|
|
3818
|
-
}>;
|
|
3945
|
+
}>, z.ZodString]>;
|
|
3819
3946
|
icon: z.ZodOptional<z.ZodString>;
|
|
3820
3947
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3821
3948
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3847,11 +3974,11 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3847
3974
|
}, z.core.$strip>>>;
|
|
3848
3975
|
resources: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3849
3976
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
3850
|
-
theme: z.ZodEnum<{
|
|
3977
|
+
theme: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3851
3978
|
light: "light";
|
|
3852
3979
|
dark: "dark";
|
|
3853
3980
|
system: "system";
|
|
3854
|
-
}>;
|
|
3981
|
+
}>, z.ZodString]>;
|
|
3855
3982
|
locale: z.ZodString;
|
|
3856
3983
|
timezone: z.ZodOptional<z.ZodString>;
|
|
3857
3984
|
dateFormat: z.ZodOptional<z.ZodString>;
|