@wise/dynamic-flow-types 2.15.0 → 2.15.1-experiment-node20-aa45bc2
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/build/main.js +406 -406
- package/build/main.min.js +1 -1
- package/build/main.mjs +406 -406
- package/build/zod/schemas.d.ts +2039 -2039
- package/build/zod/schemas.ts +470 -470
- package/package.json +2 -2
package/build/main.js
CHANGED
|
@@ -3679,38 +3679,24 @@ var imageSchema = z.object({
|
|
|
3679
3679
|
url: z.string(),
|
|
3680
3680
|
accessibilityDescription: z.string().optional()
|
|
3681
3681
|
});
|
|
3682
|
-
var
|
|
3683
|
-
z.
|
|
3684
|
-
z.
|
|
3685
|
-
z.
|
|
3686
|
-
z.
|
|
3687
|
-
z.literal("DELETE")
|
|
3688
|
-
]);
|
|
3689
|
-
var iconNamedSchema = z.object({
|
|
3690
|
-
name: z.string()
|
|
3682
|
+
var summaryProviderSchema = z.object({
|
|
3683
|
+
providesTitle: z.boolean().optional(),
|
|
3684
|
+
providesDescription: z.boolean().optional(),
|
|
3685
|
+
providesIcon: z.boolean().optional(),
|
|
3686
|
+
providesImage: z.boolean().optional()
|
|
3691
3687
|
});
|
|
3692
|
-
var
|
|
3693
|
-
z.
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
text: z.string()
|
|
3688
|
+
var jsonElementSchema = z.lazy(
|
|
3689
|
+
() => z.union([
|
|
3690
|
+
z.string(),
|
|
3691
|
+
z.number(),
|
|
3692
|
+
z.boolean(),
|
|
3693
|
+
z.record(jsonElementSchema),
|
|
3694
|
+
z.array(jsonElementSchema)
|
|
3695
|
+
]).nullable()
|
|
3696
|
+
);
|
|
3697
|
+
var helpSchema = z.object({
|
|
3698
|
+
markdown: z.string()
|
|
3704
3699
|
});
|
|
3705
|
-
var sizeSchema = z.union([
|
|
3706
|
-
z.literal("xs"),
|
|
3707
|
-
z.literal("sm"),
|
|
3708
|
-
z.literal("md"),
|
|
3709
|
-
z.literal("lg"),
|
|
3710
|
-
z.literal("xl")
|
|
3711
|
-
]);
|
|
3712
|
-
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
3713
|
-
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
3714
3700
|
var autocompleteTokenSchema = z.union([
|
|
3715
3701
|
z.literal("on"),
|
|
3716
3702
|
z.literal("name"),
|
|
@@ -3776,59 +3762,84 @@ var autocompleteTokenSchema = z.union([
|
|
|
3776
3762
|
z.literal("fax"),
|
|
3777
3763
|
z.literal("pager")
|
|
3778
3764
|
]);
|
|
3779
|
-
var
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
margin: sizeSchema.optional()
|
|
3791
|
-
});
|
|
3792
|
-
var paragraphLayoutSchema = z.object({
|
|
3793
|
-
type: z.literal("paragraph"),
|
|
3794
|
-
text: z.string(),
|
|
3795
|
-
align: alignSchema.optional(),
|
|
3796
|
-
control: z.string().optional(),
|
|
3797
|
-
margin: sizeSchema.optional()
|
|
3765
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
3766
|
+
var stringSchemaFormatSchema = z.union([
|
|
3767
|
+
z.literal("date"),
|
|
3768
|
+
z.literal("email"),
|
|
3769
|
+
z.literal("numeric"),
|
|
3770
|
+
z.literal("password"),
|
|
3771
|
+
z.literal("phone-number"),
|
|
3772
|
+
z.literal("base64url")
|
|
3773
|
+
]);
|
|
3774
|
+
var externalSchema = z.object({
|
|
3775
|
+
url: z.string()
|
|
3798
3776
|
});
|
|
3799
|
-
var
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
margin: sizeSchema.optional()
|
|
3777
|
+
var stepErrorSchema = z.object({
|
|
3778
|
+
error: z.string().optional(),
|
|
3779
|
+
validation: jsonElementSchema.optional()
|
|
3803
3780
|
});
|
|
3781
|
+
var httpMethodSchema = z.union([
|
|
3782
|
+
z.literal("GET"),
|
|
3783
|
+
z.literal("POST"),
|
|
3784
|
+
z.literal("PUT"),
|
|
3785
|
+
z.literal("PATCH"),
|
|
3786
|
+
z.literal("DELETE")
|
|
3787
|
+
]);
|
|
3788
|
+
var actionTypeSchema = z.union([
|
|
3789
|
+
z.literal("primary"),
|
|
3790
|
+
z.literal("secondary"),
|
|
3791
|
+
z.literal("link"),
|
|
3792
|
+
z.literal("positive"),
|
|
3793
|
+
z.literal("negative")
|
|
3794
|
+
]);
|
|
3795
|
+
var navigationStackBehaviorSchema = z.union([
|
|
3796
|
+
z.literal("default"),
|
|
3797
|
+
z.literal("remove-previous"),
|
|
3798
|
+
z.literal("remove-all"),
|
|
3799
|
+
z.literal("replace-current")
|
|
3800
|
+
]);
|
|
3801
|
+
var sizeSchema = z.union([
|
|
3802
|
+
z.literal("xs"),
|
|
3803
|
+
z.literal("sm"),
|
|
3804
|
+
z.literal("md"),
|
|
3805
|
+
z.literal("lg"),
|
|
3806
|
+
z.literal("xl")
|
|
3807
|
+
]);
|
|
3804
3808
|
var listLayoutStatusSchema = z.union([
|
|
3805
3809
|
z.literal("warning"),
|
|
3806
3810
|
z.literal("neutral"),
|
|
3807
3811
|
z.literal("positive")
|
|
3808
3812
|
]);
|
|
3813
|
+
var contextSchema = z.union([
|
|
3814
|
+
z.literal("positive"),
|
|
3815
|
+
z.literal("neutral"),
|
|
3816
|
+
z.literal("warning"),
|
|
3817
|
+
z.literal("negative"),
|
|
3818
|
+
z.literal("success"),
|
|
3819
|
+
z.literal("failure"),
|
|
3820
|
+
z.literal("info"),
|
|
3821
|
+
z.literal("primary")
|
|
3822
|
+
]);
|
|
3823
|
+
var modalLayoutTriggerSchema = z.object({
|
|
3824
|
+
title: z.string()
|
|
3825
|
+
});
|
|
3809
3826
|
var formLayoutSchemaReferenceSchema = z.object({
|
|
3810
3827
|
$ref: z.string()
|
|
3811
3828
|
});
|
|
3812
|
-
var
|
|
3813
|
-
type: z.literal("
|
|
3814
|
-
text: z.string().optional(),
|
|
3815
|
-
url: z.string(),
|
|
3816
|
-
size: sizeSchema.optional(),
|
|
3817
|
-
accessibilityDescription: z.string().optional(),
|
|
3829
|
+
var dividerLayoutSchema = z.object({
|
|
3830
|
+
type: z.literal("divider"),
|
|
3818
3831
|
control: z.string().optional(),
|
|
3819
3832
|
margin: sizeSchema.optional()
|
|
3820
3833
|
});
|
|
3821
|
-
var statusListLayoutStatusSchema = z.union([
|
|
3822
|
-
z.literal("not-done"),
|
|
3823
|
-
z.literal("pending"),
|
|
3824
|
-
z.literal("done")
|
|
3825
|
-
]);
|
|
3826
3834
|
var instructionsLayoutItemSchema = z.object({
|
|
3827
3835
|
text: z.string(),
|
|
3828
3836
|
context: contextSchema
|
|
3829
3837
|
});
|
|
3830
|
-
var
|
|
3831
|
-
|
|
3838
|
+
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
3839
|
+
var reviewLayoutFieldSchema = z.object({
|
|
3840
|
+
label: z.string(),
|
|
3841
|
+
value: z.string(),
|
|
3842
|
+
help: helpSchema.optional()
|
|
3832
3843
|
});
|
|
3833
3844
|
var searchLayoutSchema = z.object({
|
|
3834
3845
|
type: z.literal("search"),
|
|
@@ -3840,17 +3851,21 @@ var searchLayoutSchema = z.object({
|
|
|
3840
3851
|
control: z.string().optional(),
|
|
3841
3852
|
margin: sizeSchema.optional()
|
|
3842
3853
|
});
|
|
3843
|
-
var
|
|
3844
|
-
type: z.literal("
|
|
3845
|
-
|
|
3854
|
+
var paragraphLayoutSchema = z.object({
|
|
3855
|
+
type: z.literal("paragraph"),
|
|
3856
|
+
text: z.string(),
|
|
3846
3857
|
align: alignSchema.optional(),
|
|
3847
3858
|
control: z.string().optional(),
|
|
3848
3859
|
margin: sizeSchema.optional()
|
|
3849
3860
|
});
|
|
3850
|
-
var
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3861
|
+
var columnsLayoutBiasSchema = z.union([
|
|
3862
|
+
z.literal("none"),
|
|
3863
|
+
z.literal("left"),
|
|
3864
|
+
z.literal("right")
|
|
3865
|
+
]);
|
|
3866
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
3867
|
+
type: z.literal("loading-indicator"),
|
|
3868
|
+
size: sizeSchema.optional(),
|
|
3854
3869
|
control: z.string().optional(),
|
|
3855
3870
|
margin: sizeSchema.optional()
|
|
3856
3871
|
});
|
|
@@ -3862,6 +3877,11 @@ var headingLayoutSchema = z.object({
|
|
|
3862
3877
|
control: z.string().optional(),
|
|
3863
3878
|
margin: sizeSchema.optional()
|
|
3864
3879
|
});
|
|
3880
|
+
var statusListLayoutStatusSchema = z.union([
|
|
3881
|
+
z.literal("not-done"),
|
|
3882
|
+
z.literal("pending"),
|
|
3883
|
+
z.literal("done")
|
|
3884
|
+
]);
|
|
3865
3885
|
var markdownLayoutSchema = z.object({
|
|
3866
3886
|
type: z.literal("markdown"),
|
|
3867
3887
|
content: z.string(),
|
|
@@ -3869,13 +3889,11 @@ var markdownLayoutSchema = z.object({
|
|
|
3869
3889
|
control: z.string().optional(),
|
|
3870
3890
|
margin: sizeSchema.optional()
|
|
3871
3891
|
});
|
|
3872
|
-
var
|
|
3873
|
-
z.
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
var helpSchema = z.object({
|
|
3878
|
-
markdown: z.string()
|
|
3892
|
+
var iconTextSchema = z.object({
|
|
3893
|
+
text: z.string()
|
|
3894
|
+
});
|
|
3895
|
+
var iconNamedSchema = z.object({
|
|
3896
|
+
name: z.string()
|
|
3879
3897
|
});
|
|
3880
3898
|
var searchSearchRequestSchema = z.object({
|
|
3881
3899
|
url: z.string(),
|
|
@@ -3883,157 +3901,29 @@ var searchSearchRequestSchema = z.object({
|
|
|
3883
3901
|
param: z.string(),
|
|
3884
3902
|
query: z.string()
|
|
3885
3903
|
});
|
|
3886
|
-
var
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
z.number(),
|
|
3890
|
-
z.boolean(),
|
|
3891
|
-
z.record(jsonElementSchema),
|
|
3892
|
-
z.array(jsonElementSchema)
|
|
3893
|
-
]).nullable()
|
|
3894
|
-
);
|
|
3895
|
-
var externalSchema = z.object({
|
|
3896
|
-
url: z.string()
|
|
3897
|
-
});
|
|
3898
|
-
var stepErrorSchema = z.object({
|
|
3904
|
+
var errorResponseBodySchema = z.object({
|
|
3905
|
+
refreshFormUrl: z.string().optional(),
|
|
3906
|
+
analytics: z.record(z.string()).optional(),
|
|
3899
3907
|
error: z.string().optional(),
|
|
3900
|
-
validation: jsonElementSchema.optional()
|
|
3901
|
-
|
|
3902
|
-
var stringSchemaFormatSchema = z.union([
|
|
3903
|
-
z.literal("date"),
|
|
3904
|
-
z.literal("email"),
|
|
3905
|
-
z.literal("numeric"),
|
|
3906
|
-
z.literal("password"),
|
|
3907
|
-
z.literal("phone-number"),
|
|
3908
|
-
z.literal("base64url")
|
|
3909
|
-
]);
|
|
3910
|
-
var summarySummariserSchema = z.object({
|
|
3911
|
-
defaultTitle: z.string().optional(),
|
|
3912
|
-
defaultDescription: z.string().optional(),
|
|
3913
|
-
defaultIcon: iconSchema.optional(),
|
|
3914
|
-
defaultImage: imageLayoutSchema.optional(),
|
|
3915
|
-
providesTitle: z.boolean().optional(),
|
|
3916
|
-
providesDescription: z.boolean().optional(),
|
|
3917
|
-
providesIcon: z.boolean().optional(),
|
|
3918
|
-
providesImage: z.boolean().optional()
|
|
3908
|
+
validation: jsonElementSchema.optional(),
|
|
3909
|
+
refreshUrl: z.string().optional()
|
|
3919
3910
|
});
|
|
3911
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
3920
3912
|
var validateAsyncSchema = z.object({
|
|
3921
3913
|
param: z.string(),
|
|
3922
3914
|
method: httpMethodSchema,
|
|
3923
3915
|
url: z.string()
|
|
3924
3916
|
});
|
|
3925
|
-
var
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3917
|
+
var alertLayoutSchema = z.object({
|
|
3918
|
+
type: z.literal("alert"),
|
|
3919
|
+
markdown: z.string(),
|
|
3920
|
+
context: contextSchema.optional(),
|
|
3921
|
+
control: z.string().optional(),
|
|
3922
|
+
margin: sizeSchema.optional()
|
|
3930
3923
|
});
|
|
3931
|
-
var
|
|
3932
|
-
|
|
3933
|
-
z.
|
|
3934
|
-
z.literal("remove-previous"),
|
|
3935
|
-
z.literal("remove-all"),
|
|
3936
|
-
z.literal("replace-current")
|
|
3937
|
-
]);
|
|
3938
|
-
var actionTypeSchema = z.union([
|
|
3939
|
-
z.literal("primary"),
|
|
3940
|
-
z.literal("secondary"),
|
|
3941
|
-
z.literal("link"),
|
|
3942
|
-
z.literal("positive"),
|
|
3943
|
-
z.literal("negative")
|
|
3944
|
-
]);
|
|
3945
|
-
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
3946
|
-
var actionSchema = z.object({
|
|
3947
|
-
title: z.string().optional(),
|
|
3948
|
-
type: actionTypeSchema.optional(),
|
|
3949
|
-
disabled: z.boolean().optional(),
|
|
3950
|
-
$id: z.string().optional(),
|
|
3951
|
-
$ref: z.string().optional(),
|
|
3952
|
-
id: z.string().optional(),
|
|
3953
|
-
url: z.string().optional(),
|
|
3954
|
-
method: httpMethodSchema.optional(),
|
|
3955
|
-
exit: z.boolean().optional(),
|
|
3956
|
-
result: jsonElementSchema.optional(),
|
|
3957
|
-
data: jsonElementSchema.optional(),
|
|
3958
|
-
timeout: z.number().optional(),
|
|
3959
|
-
skipValidation: z.boolean().optional()
|
|
3960
|
-
});
|
|
3961
|
-
var listLayoutItemSchema = z.object({
|
|
3962
|
-
title: z.string(),
|
|
3963
|
-
description: z.string().optional(),
|
|
3964
|
-
icon: iconSchema,
|
|
3965
|
-
status: listLayoutStatusSchema.optional()
|
|
3966
|
-
});
|
|
3967
|
-
var decisionLayoutOptionSchema = z.object({
|
|
3968
|
-
action: actionSchema,
|
|
3969
|
-
title: z.string(),
|
|
3970
|
-
description: z.string().optional(),
|
|
3971
|
-
disabled: z.boolean().optional(),
|
|
3972
|
-
icon: iconSchema.optional(),
|
|
3973
|
-
image: imageLayoutSchema.optional()
|
|
3974
|
-
});
|
|
3975
|
-
var statusListLayoutItemSchema = z.object({
|
|
3976
|
-
title: z.string(),
|
|
3977
|
-
description: z.string().optional(),
|
|
3978
|
-
icon: iconSchema,
|
|
3979
|
-
status: statusListLayoutStatusSchema.optional()
|
|
3980
|
-
});
|
|
3981
|
-
var instructionsLayoutSchema = z.object({
|
|
3982
|
-
type: z.literal("instructions"),
|
|
3983
|
-
title: z.string().optional(),
|
|
3984
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
3985
|
-
control: z.string().optional(),
|
|
3986
|
-
margin: sizeSchema.optional()
|
|
3987
|
-
});
|
|
3988
|
-
var buttonLayoutSchema = z.object({
|
|
3989
|
-
type: z.literal("button"),
|
|
3990
|
-
size: sizeSchema.optional(),
|
|
3991
|
-
title: z.string().optional(),
|
|
3992
|
-
action: actionSchema,
|
|
3993
|
-
context: contextSchema.optional(),
|
|
3994
|
-
disabled: z.boolean().optional(),
|
|
3995
|
-
pinOrder: z.number().optional(),
|
|
3996
|
-
control: z.string().optional(),
|
|
3997
|
-
margin: sizeSchema.optional()
|
|
3998
|
-
});
|
|
3999
|
-
var reviewLayoutFieldSchema = z.object({
|
|
4000
|
-
label: z.string(),
|
|
4001
|
-
value: z.string(),
|
|
4002
|
-
help: helpSchema.optional()
|
|
4003
|
-
});
|
|
4004
|
-
var searchResultSearchSchema = z.object({
|
|
4005
|
-
type: z.literal("search"),
|
|
4006
|
-
title: z.string(),
|
|
4007
|
-
description: z.string().optional(),
|
|
4008
|
-
icon: iconSchema.optional(),
|
|
4009
|
-
image: imageLayoutSchema.optional(),
|
|
4010
|
-
value: searchSearchRequestSchema
|
|
4011
|
-
});
|
|
4012
|
-
var searchResultActionSchema = z.object({
|
|
4013
|
-
type: z.literal("action"),
|
|
4014
|
-
title: z.string(),
|
|
4015
|
-
description: z.string().optional(),
|
|
4016
|
-
icon: iconSchema.optional(),
|
|
4017
|
-
image: imageLayoutSchema.optional(),
|
|
4018
|
-
value: actionSchema
|
|
4019
|
-
});
|
|
4020
|
-
var actionResponseBodySchema = z.object({
|
|
4021
|
-
action: actionSchema
|
|
4022
|
-
});
|
|
4023
|
-
var errorResponseBodySchema = z.object({
|
|
4024
|
-
refreshFormUrl: z.string().optional(),
|
|
4025
|
-
analytics: z.record(z.string()).optional(),
|
|
4026
|
-
error: z.string().optional(),
|
|
4027
|
-
validation: jsonElementSchema.optional(),
|
|
4028
|
-
refreshUrl: z.string().optional()
|
|
4029
|
-
});
|
|
4030
|
-
var linkHandlerSchema = z.object({
|
|
4031
|
-
regexPattern: z.string(),
|
|
4032
|
-
action: actionSchema
|
|
4033
|
-
});
|
|
4034
|
-
var blobSchemaSchema = z.object({
|
|
4035
|
-
type: z.literal("blob"),
|
|
4036
|
-
promoted: z.boolean().optional(),
|
|
3924
|
+
var blobSchemaSchema = z.object({
|
|
3925
|
+
type: z.literal("blob"),
|
|
3926
|
+
promoted: z.boolean().optional(),
|
|
4037
3927
|
$id: z.string().optional(),
|
|
4038
3928
|
title: z.string().optional(),
|
|
4039
3929
|
description: z.string().optional(),
|
|
@@ -4069,37 +3959,97 @@ var constSchemaSchema = z.object({
|
|
|
4069
3959
|
analyticsId: z.string().optional(),
|
|
4070
3960
|
disabled: z.boolean().optional()
|
|
4071
3961
|
});
|
|
4072
|
-
var
|
|
3962
|
+
var actionSchema = z.object({
|
|
3963
|
+
title: z.string().optional(),
|
|
3964
|
+
type: actionTypeSchema.optional(),
|
|
3965
|
+
disabled: z.boolean().optional(),
|
|
3966
|
+
$id: z.string().optional(),
|
|
3967
|
+
$ref: z.string().optional(),
|
|
3968
|
+
id: z.string().optional(),
|
|
3969
|
+
url: z.string().optional(),
|
|
3970
|
+
method: httpMethodSchema.optional(),
|
|
3971
|
+
exit: z.boolean().optional(),
|
|
3972
|
+
result: jsonElementSchema.optional(),
|
|
3973
|
+
data: jsonElementSchema.optional(),
|
|
3974
|
+
timeout: z.number().optional(),
|
|
3975
|
+
skipValidation: z.boolean().optional()
|
|
3976
|
+
});
|
|
3977
|
+
var linkHandlerSchema = z.object({
|
|
3978
|
+
regexPattern: z.string(),
|
|
4073
3979
|
action: actionSchema
|
|
4074
3980
|
});
|
|
4075
3981
|
var navigationBackBehaviourSchema = z.object({
|
|
4076
3982
|
title: z.string().optional(),
|
|
4077
3983
|
action: actionSchema
|
|
4078
3984
|
});
|
|
4079
|
-
var
|
|
4080
|
-
title: z.string(),
|
|
3985
|
+
var pollingOnErrorSchema = z.object({
|
|
4081
3986
|
action: actionSchema
|
|
4082
3987
|
});
|
|
4083
|
-
var
|
|
4084
|
-
type: z.literal("
|
|
4085
|
-
|
|
3988
|
+
var imageLayoutSchema = z.object({
|
|
3989
|
+
type: z.literal("image"),
|
|
3990
|
+
text: z.string().optional(),
|
|
3991
|
+
url: z.string(),
|
|
3992
|
+
size: sizeSchema.optional(),
|
|
3993
|
+
accessibilityDescription: z.string().optional(),
|
|
3994
|
+
control: z.string().optional(),
|
|
3995
|
+
margin: sizeSchema.optional()
|
|
3996
|
+
});
|
|
3997
|
+
var decisionLayoutOptionSchema = z.object({
|
|
3998
|
+
action: actionSchema,
|
|
3999
|
+
title: z.string(),
|
|
4000
|
+
description: z.string().optional(),
|
|
4001
|
+
disabled: z.boolean().optional(),
|
|
4002
|
+
icon: iconSchema.optional(),
|
|
4003
|
+
image: imageLayoutSchema.optional()
|
|
4004
|
+
});
|
|
4005
|
+
var listLayoutItemSchema = z.object({
|
|
4006
|
+
title: z.string(),
|
|
4007
|
+
description: z.string().optional(),
|
|
4008
|
+
icon: iconSchema,
|
|
4009
|
+
status: listLayoutStatusSchema.optional()
|
|
4010
|
+
});
|
|
4011
|
+
var statusListLayoutItemSchema = z.object({
|
|
4012
|
+
title: z.string(),
|
|
4013
|
+
description: z.string().optional(),
|
|
4014
|
+
icon: iconSchema,
|
|
4015
|
+
status: statusListLayoutStatusSchema.optional()
|
|
4016
|
+
});
|
|
4017
|
+
var formLayoutSchema = z.object({
|
|
4018
|
+
type: z.literal("form"),
|
|
4019
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
4020
|
+
schemaId: z.string(),
|
|
4021
|
+
control: z.string().optional(),
|
|
4022
|
+
margin: sizeSchema.optional()
|
|
4023
|
+
});
|
|
4024
|
+
var instructionsLayoutSchema = z.object({
|
|
4025
|
+
type: z.literal("instructions"),
|
|
4086
4026
|
title: z.string().optional(),
|
|
4027
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
4087
4028
|
control: z.string().optional(),
|
|
4088
4029
|
margin: sizeSchema.optional()
|
|
4089
4030
|
});
|
|
4090
|
-
var
|
|
4091
|
-
type: z.literal("
|
|
4092
|
-
|
|
4031
|
+
var infoLayoutSchema = z.object({
|
|
4032
|
+
type: z.literal("info"),
|
|
4033
|
+
markdown: z.string(),
|
|
4034
|
+
align: alignSchema.optional(),
|
|
4093
4035
|
control: z.string().optional(),
|
|
4094
4036
|
margin: sizeSchema.optional()
|
|
4095
4037
|
});
|
|
4096
|
-
var
|
|
4097
|
-
type: z.literal("
|
|
4098
|
-
|
|
4038
|
+
var buttonLayoutSchema = z.object({
|
|
4039
|
+
type: z.literal("button"),
|
|
4040
|
+
size: sizeSchema.optional(),
|
|
4099
4041
|
title: z.string().optional(),
|
|
4042
|
+
action: actionSchema,
|
|
4043
|
+
context: contextSchema.optional(),
|
|
4044
|
+
disabled: z.boolean().optional(),
|
|
4045
|
+
pinOrder: z.number().optional(),
|
|
4100
4046
|
control: z.string().optional(),
|
|
4101
4047
|
margin: sizeSchema.optional()
|
|
4102
4048
|
});
|
|
4049
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
4050
|
+
title: z.string(),
|
|
4051
|
+
action: actionSchema
|
|
4052
|
+
});
|
|
4103
4053
|
var reviewLayoutSchema = z.object({
|
|
4104
4054
|
type: z.literal("review"),
|
|
4105
4055
|
orientation: z.string().optional(),
|
|
@@ -4110,7 +4060,35 @@ var reviewLayoutSchema = z.object({
|
|
|
4110
4060
|
control: z.string().optional(),
|
|
4111
4061
|
margin: sizeSchema.optional()
|
|
4112
4062
|
});
|
|
4113
|
-
var
|
|
4063
|
+
var searchResultActionSchema = z.object({
|
|
4064
|
+
type: z.literal("action"),
|
|
4065
|
+
title: z.string(),
|
|
4066
|
+
description: z.string().optional(),
|
|
4067
|
+
icon: iconSchema.optional(),
|
|
4068
|
+
image: imageLayoutSchema.optional(),
|
|
4069
|
+
value: actionSchema
|
|
4070
|
+
});
|
|
4071
|
+
var searchResultSearchSchema = z.object({
|
|
4072
|
+
type: z.literal("search"),
|
|
4073
|
+
title: z.string(),
|
|
4074
|
+
description: z.string().optional(),
|
|
4075
|
+
icon: iconSchema.optional(),
|
|
4076
|
+
image: imageLayoutSchema.optional(),
|
|
4077
|
+
value: searchSearchRequestSchema
|
|
4078
|
+
});
|
|
4079
|
+
var actionResponseBodySchema = z.object({
|
|
4080
|
+
action: actionSchema
|
|
4081
|
+
});
|
|
4082
|
+
var summarySummariserSchema = z.object({
|
|
4083
|
+
defaultTitle: z.string().optional(),
|
|
4084
|
+
defaultDescription: z.string().optional(),
|
|
4085
|
+
defaultIcon: iconSchema.optional(),
|
|
4086
|
+
defaultImage: imageLayoutSchema.optional(),
|
|
4087
|
+
providesTitle: z.boolean().optional(),
|
|
4088
|
+
providesDescription: z.boolean().optional(),
|
|
4089
|
+
providesIcon: z.boolean().optional(),
|
|
4090
|
+
providesImage: z.boolean().optional()
|
|
4091
|
+
});
|
|
4114
4092
|
var pollingSchema = z.object({
|
|
4115
4093
|
url: z.string(),
|
|
4116
4094
|
interval: z.number(),
|
|
@@ -4122,85 +4100,49 @@ var navigationSchema = z.object({
|
|
|
4122
4100
|
back: navigationBackBehaviourSchema.optional(),
|
|
4123
4101
|
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
4124
4102
|
});
|
|
4103
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
4104
|
+
var decisionLayoutSchema = z.object({
|
|
4105
|
+
type: z.literal("decision"),
|
|
4106
|
+
options: z.array(decisionLayoutOptionSchema),
|
|
4107
|
+
control: z.string().optional(),
|
|
4108
|
+
margin: sizeSchema.optional()
|
|
4109
|
+
});
|
|
4110
|
+
var listLayoutSchema = z.object({
|
|
4111
|
+
type: z.literal("list"),
|
|
4112
|
+
items: z.array(listLayoutItemSchema),
|
|
4113
|
+
title: z.string().optional(),
|
|
4114
|
+
control: z.string().optional(),
|
|
4115
|
+
margin: sizeSchema.optional()
|
|
4116
|
+
});
|
|
4117
|
+
var statusListLayoutSchema = z.object({
|
|
4118
|
+
type: z.literal("status-list"),
|
|
4119
|
+
items: z.array(statusListLayoutItemSchema),
|
|
4120
|
+
title: z.string().optional(),
|
|
4121
|
+
control: z.string().optional(),
|
|
4122
|
+
margin: sizeSchema.optional()
|
|
4123
|
+
});
|
|
4124
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4125
4125
|
var searchResponseBodySchema = z.object({
|
|
4126
4126
|
results: z.array(searchResultSchema)
|
|
4127
4127
|
});
|
|
4128
|
-
var
|
|
4129
|
-
() => z.union([
|
|
4130
|
-
alertLayoutSchema,
|
|
4131
|
-
boxLayoutSchema,
|
|
4132
|
-
buttonLayoutSchema,
|
|
4133
|
-
columnsLayoutSchema,
|
|
4134
|
-
decisionLayoutSchema,
|
|
4135
|
-
dividerLayoutSchema,
|
|
4136
|
-
formLayoutSchema,
|
|
4137
|
-
headingLayoutSchema,
|
|
4138
|
-
imageLayoutSchema,
|
|
4139
|
-
infoLayoutSchema,
|
|
4140
|
-
instructionsLayoutSchema,
|
|
4141
|
-
listLayoutSchema,
|
|
4142
|
-
loadingIndicatorLayoutSchema,
|
|
4143
|
-
markdownLayoutSchema,
|
|
4144
|
-
modalLayoutSchema,
|
|
4145
|
-
paragraphLayoutSchema,
|
|
4146
|
-
reviewLayoutSchema,
|
|
4147
|
-
searchLayoutSchema,
|
|
4148
|
-
statusListLayoutSchema
|
|
4149
|
-
])
|
|
4150
|
-
);
|
|
4151
|
-
var boxLayoutSchema = z.lazy(
|
|
4152
|
-
() => z.object({
|
|
4153
|
-
type: z.literal("box"),
|
|
4154
|
-
components: z.array(layoutSchema),
|
|
4155
|
-
width: sizeSchema.optional(),
|
|
4156
|
-
border: z.boolean().optional(),
|
|
4157
|
-
control: z.string().optional(),
|
|
4158
|
-
margin: sizeSchema.optional()
|
|
4159
|
-
})
|
|
4160
|
-
);
|
|
4161
|
-
var columnsLayoutSchema = z.lazy(
|
|
4162
|
-
() => z.object({
|
|
4163
|
-
type: z.literal("columns"),
|
|
4164
|
-
left: z.array(layoutSchema),
|
|
4165
|
-
right: z.array(layoutSchema),
|
|
4166
|
-
bias: columnsLayoutBiasSchema.optional(),
|
|
4167
|
-
control: z.string().optional(),
|
|
4168
|
-
margin: sizeSchema.optional()
|
|
4169
|
-
})
|
|
4170
|
-
);
|
|
4171
|
-
var modalLayoutSchema = z.lazy(
|
|
4172
|
-
() => z.object({
|
|
4173
|
-
type: z.literal("modal"),
|
|
4174
|
-
control: z.string().optional(),
|
|
4175
|
-
margin: sizeSchema.optional(),
|
|
4176
|
-
trigger: modalLayoutTriggerSchema,
|
|
4177
|
-
content: modalLayoutContentSchema
|
|
4178
|
-
})
|
|
4179
|
-
);
|
|
4180
|
-
var modalLayoutContentSchema = z.lazy(
|
|
4181
|
-
() => z.object({
|
|
4182
|
-
components: z.array(layoutSchema)
|
|
4183
|
-
})
|
|
4184
|
-
);
|
|
4185
|
-
var stepSchema = z.lazy(
|
|
4128
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
4186
4129
|
() => z.object({
|
|
4187
|
-
|
|
4188
|
-
|
|
4130
|
+
type: z.literal("array"),
|
|
4131
|
+
promoted: z.boolean().optional(),
|
|
4132
|
+
$id: z.string().optional(),
|
|
4133
|
+
items: z.array(schemaSchema),
|
|
4134
|
+
title: z.string().optional(),
|
|
4189
4135
|
description: z.string().optional(),
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
analytics: z.record(z.string()).optional(),
|
|
4201
|
-
errors: stepErrorSchema.optional(),
|
|
4202
|
-
navigation: navigationSchema.optional(),
|
|
4203
|
-
refreshUrl: z.string().optional()
|
|
4136
|
+
control: z.string().optional(),
|
|
4137
|
+
hidden: z.boolean().optional(),
|
|
4138
|
+
icon: iconSchema.optional(),
|
|
4139
|
+
image: imageSchema.optional(),
|
|
4140
|
+
keywords: z.array(z.string()).optional(),
|
|
4141
|
+
summary: summaryProviderSchema.optional(),
|
|
4142
|
+
analyticsId: z.string().optional(),
|
|
4143
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4144
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4145
|
+
alert: alertLayoutSchema.optional()
|
|
4204
4146
|
})
|
|
4205
4147
|
);
|
|
4206
4148
|
var schemaSchema = z.lazy(
|
|
@@ -4217,6 +4159,94 @@ var schemaSchema = z.lazy(
|
|
|
4217
4159
|
stringSchemaSchema
|
|
4218
4160
|
])
|
|
4219
4161
|
);
|
|
4162
|
+
var persistAsyncSchema = z.lazy(
|
|
4163
|
+
() => z.object({
|
|
4164
|
+
param: z.string(),
|
|
4165
|
+
idProperty: z.string(),
|
|
4166
|
+
schema: schemaSchema,
|
|
4167
|
+
url: z.string(),
|
|
4168
|
+
method: httpMethodSchema
|
|
4169
|
+
})
|
|
4170
|
+
);
|
|
4171
|
+
var oneOfSchemaSchema = z.lazy(
|
|
4172
|
+
() => z.object({
|
|
4173
|
+
autofillProvider: z.string().optional(),
|
|
4174
|
+
promoted: z.boolean().optional(),
|
|
4175
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
4176
|
+
refreshUrl: z.string().optional(),
|
|
4177
|
+
refreshFormUrl: z.string().optional(),
|
|
4178
|
+
promotion: jsonElementSchema.optional(),
|
|
4179
|
+
oneOf: z.array(schemaSchema),
|
|
4180
|
+
placeholder: z.string().optional(),
|
|
4181
|
+
$id: z.string().optional(),
|
|
4182
|
+
title: z.string().optional(),
|
|
4183
|
+
description: z.string().optional(),
|
|
4184
|
+
control: z.string().optional(),
|
|
4185
|
+
default: jsonElementSchema.optional(),
|
|
4186
|
+
hidden: z.boolean().optional(),
|
|
4187
|
+
icon: iconSchema.optional(),
|
|
4188
|
+
image: imageSchema.optional(),
|
|
4189
|
+
keywords: z.array(z.string()).optional(),
|
|
4190
|
+
summary: summaryProviderSchema.optional(),
|
|
4191
|
+
analyticsId: z.string().optional(),
|
|
4192
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
4193
|
+
alert: alertLayoutSchema.optional(),
|
|
4194
|
+
help: helpSchema.optional(),
|
|
4195
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4196
|
+
autofillKey: z.string().optional(),
|
|
4197
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4198
|
+
disabled: z.boolean().optional()
|
|
4199
|
+
})
|
|
4200
|
+
);
|
|
4201
|
+
var objectSchemaSchema = z.lazy(
|
|
4202
|
+
() => z.object({
|
|
4203
|
+
type: z.literal("object"),
|
|
4204
|
+
disabled: z.boolean().optional(),
|
|
4205
|
+
promoted: z.boolean().optional(),
|
|
4206
|
+
help: helpSchema.optional(),
|
|
4207
|
+
properties: z.record(schemaSchema),
|
|
4208
|
+
displayOrder: z.array(z.string()),
|
|
4209
|
+
required: z.array(z.string()).optional(),
|
|
4210
|
+
$id: z.string().optional(),
|
|
4211
|
+
title: z.string().optional(),
|
|
4212
|
+
description: z.string().optional(),
|
|
4213
|
+
control: z.string().optional(),
|
|
4214
|
+
hidden: z.boolean().optional(),
|
|
4215
|
+
icon: iconSchema.optional(),
|
|
4216
|
+
image: imageSchema.optional(),
|
|
4217
|
+
keywords: z.array(z.string()).optional(),
|
|
4218
|
+
summary: summaryProviderSchema.optional(),
|
|
4219
|
+
analyticsId: z.string().optional(),
|
|
4220
|
+
alert: alertLayoutSchema.optional()
|
|
4221
|
+
})
|
|
4222
|
+
);
|
|
4223
|
+
var arraySchemaListSchema = z.lazy(
|
|
4224
|
+
() => z.object({
|
|
4225
|
+
type: z.literal("array"),
|
|
4226
|
+
promoted: z.boolean().optional(),
|
|
4227
|
+
$id: z.string().optional(),
|
|
4228
|
+
items: schemaSchema,
|
|
4229
|
+
addItemTitle: z.string(),
|
|
4230
|
+
editItemTitle: z.string(),
|
|
4231
|
+
minItems: z.number().optional(),
|
|
4232
|
+
maxItems: z.number().optional(),
|
|
4233
|
+
placeholder: z.string().optional(),
|
|
4234
|
+
title: z.string().optional(),
|
|
4235
|
+
description: z.string().optional(),
|
|
4236
|
+
control: z.string().optional(),
|
|
4237
|
+
hidden: z.boolean().optional(),
|
|
4238
|
+
icon: iconSchema.optional(),
|
|
4239
|
+
image: imageSchema.optional(),
|
|
4240
|
+
keywords: z.array(z.string()).optional(),
|
|
4241
|
+
summary: summarySummariserSchema.optional(),
|
|
4242
|
+
analyticsId: z.string().optional(),
|
|
4243
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4244
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4245
|
+
alert: alertLayoutSchema.optional(),
|
|
4246
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4247
|
+
disabled: z.boolean().optional()
|
|
4248
|
+
})
|
|
4249
|
+
);
|
|
4220
4250
|
var allOfSchemaSchema = z.lazy(
|
|
4221
4251
|
() => z.object({
|
|
4222
4252
|
disabled: z.boolean().optional(),
|
|
@@ -4332,58 +4362,6 @@ var numberSchemaSchema = z.lazy(
|
|
|
4332
4362
|
help: helpSchema.optional()
|
|
4333
4363
|
})
|
|
4334
4364
|
);
|
|
4335
|
-
var objectSchemaSchema = z.lazy(
|
|
4336
|
-
() => z.object({
|
|
4337
|
-
type: z.literal("object"),
|
|
4338
|
-
disabled: z.boolean().optional(),
|
|
4339
|
-
promoted: z.boolean().optional(),
|
|
4340
|
-
help: helpSchema.optional(),
|
|
4341
|
-
properties: z.record(schemaSchema),
|
|
4342
|
-
displayOrder: z.array(z.string()),
|
|
4343
|
-
required: z.array(z.string()).optional(),
|
|
4344
|
-
$id: z.string().optional(),
|
|
4345
|
-
title: z.string().optional(),
|
|
4346
|
-
description: z.string().optional(),
|
|
4347
|
-
control: z.string().optional(),
|
|
4348
|
-
hidden: z.boolean().optional(),
|
|
4349
|
-
icon: iconSchema.optional(),
|
|
4350
|
-
image: imageSchema.optional(),
|
|
4351
|
-
keywords: z.array(z.string()).optional(),
|
|
4352
|
-
summary: summaryProviderSchema.optional(),
|
|
4353
|
-
analyticsId: z.string().optional(),
|
|
4354
|
-
alert: alertLayoutSchema.optional()
|
|
4355
|
-
})
|
|
4356
|
-
);
|
|
4357
|
-
var oneOfSchemaSchema = z.lazy(
|
|
4358
|
-
() => z.object({
|
|
4359
|
-
autofillProvider: z.string().optional(),
|
|
4360
|
-
promoted: z.boolean().optional(),
|
|
4361
|
-
refreshFormOnChange: z.boolean().optional(),
|
|
4362
|
-
refreshUrl: z.string().optional(),
|
|
4363
|
-
refreshFormUrl: z.string().optional(),
|
|
4364
|
-
promotion: jsonElementSchema.optional(),
|
|
4365
|
-
oneOf: z.array(schemaSchema),
|
|
4366
|
-
placeholder: z.string().optional(),
|
|
4367
|
-
$id: z.string().optional(),
|
|
4368
|
-
title: z.string().optional(),
|
|
4369
|
-
description: z.string().optional(),
|
|
4370
|
-
control: z.string().optional(),
|
|
4371
|
-
default: jsonElementSchema.optional(),
|
|
4372
|
-
hidden: z.boolean().optional(),
|
|
4373
|
-
icon: iconSchema.optional(),
|
|
4374
|
-
image: imageSchema.optional(),
|
|
4375
|
-
keywords: z.array(z.string()).optional(),
|
|
4376
|
-
summary: summaryProviderSchema.optional(),
|
|
4377
|
-
analyticsId: z.string().optional(),
|
|
4378
|
-
refreshStepOnChange: z.boolean().optional(),
|
|
4379
|
-
alert: alertLayoutSchema.optional(),
|
|
4380
|
-
help: helpSchema.optional(),
|
|
4381
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4382
|
-
autofillKey: z.string().optional(),
|
|
4383
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4384
|
-
disabled: z.boolean().optional()
|
|
4385
|
-
})
|
|
4386
|
-
);
|
|
4387
4365
|
var stringSchemaSchema = z.lazy(
|
|
4388
4366
|
() => z.object({
|
|
4389
4367
|
type: z.literal("string"),
|
|
@@ -4426,60 +4404,82 @@ var stringSchemaSchema = z.lazy(
|
|
|
4426
4404
|
help: helpSchema.optional()
|
|
4427
4405
|
})
|
|
4428
4406
|
);
|
|
4429
|
-
var
|
|
4407
|
+
var stepSchema = z.lazy(
|
|
4430
4408
|
() => z.object({
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
minItems: z.number().optional(),
|
|
4438
|
-
maxItems: z.number().optional(),
|
|
4439
|
-
placeholder: z.string().optional(),
|
|
4440
|
-
title: z.string().optional(),
|
|
4409
|
+
key: z.string().optional(),
|
|
4410
|
+
type: z.string().optional(),
|
|
4411
|
+
actions: z.array(actionSchema).optional(),
|
|
4412
|
+
refreshFormUrl: z.string().optional(),
|
|
4413
|
+
id: z.string(),
|
|
4414
|
+
title: z.string(),
|
|
4441
4415
|
description: z.string().optional(),
|
|
4416
|
+
schemas: z.array(schemaSchema),
|
|
4417
|
+
layout: z.array(layoutSchema),
|
|
4418
|
+
model: jsonElementSchema.optional(),
|
|
4419
|
+
external: externalSchema.optional(),
|
|
4420
|
+
polling: pollingSchema.optional(),
|
|
4421
|
+
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
4422
|
+
analytics: z.record(z.string()).optional(),
|
|
4423
|
+
errors: stepErrorSchema.optional(),
|
|
4424
|
+
navigation: navigationSchema.optional(),
|
|
4425
|
+
refreshUrl: z.string().optional()
|
|
4426
|
+
})
|
|
4427
|
+
);
|
|
4428
|
+
var layoutSchema = z.lazy(
|
|
4429
|
+
() => z.union([
|
|
4430
|
+
alertLayoutSchema,
|
|
4431
|
+
boxLayoutSchema,
|
|
4432
|
+
buttonLayoutSchema,
|
|
4433
|
+
columnsLayoutSchema,
|
|
4434
|
+
decisionLayoutSchema,
|
|
4435
|
+
dividerLayoutSchema,
|
|
4436
|
+
formLayoutSchema,
|
|
4437
|
+
headingLayoutSchema,
|
|
4438
|
+
imageLayoutSchema,
|
|
4439
|
+
infoLayoutSchema,
|
|
4440
|
+
instructionsLayoutSchema,
|
|
4441
|
+
listLayoutSchema,
|
|
4442
|
+
loadingIndicatorLayoutSchema,
|
|
4443
|
+
markdownLayoutSchema,
|
|
4444
|
+
modalLayoutSchema,
|
|
4445
|
+
paragraphLayoutSchema,
|
|
4446
|
+
reviewLayoutSchema,
|
|
4447
|
+
searchLayoutSchema,
|
|
4448
|
+
statusListLayoutSchema
|
|
4449
|
+
])
|
|
4450
|
+
);
|
|
4451
|
+
var boxLayoutSchema = z.lazy(
|
|
4452
|
+
() => z.object({
|
|
4453
|
+
type: z.literal("box"),
|
|
4454
|
+
components: z.array(layoutSchema),
|
|
4455
|
+
width: sizeSchema.optional(),
|
|
4456
|
+
border: z.boolean().optional(),
|
|
4442
4457
|
control: z.string().optional(),
|
|
4443
|
-
|
|
4444
|
-
icon: iconSchema.optional(),
|
|
4445
|
-
image: imageSchema.optional(),
|
|
4446
|
-
keywords: z.array(z.string()).optional(),
|
|
4447
|
-
summary: summarySummariserSchema.optional(),
|
|
4448
|
-
analyticsId: z.string().optional(),
|
|
4449
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4450
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4451
|
-
alert: alertLayoutSchema.optional(),
|
|
4452
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4453
|
-
disabled: z.boolean().optional()
|
|
4458
|
+
margin: sizeSchema.optional()
|
|
4454
4459
|
})
|
|
4455
4460
|
);
|
|
4456
|
-
var
|
|
4461
|
+
var modalLayoutSchema = z.lazy(
|
|
4457
4462
|
() => z.object({
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
+
type: z.literal("modal"),
|
|
4464
|
+
control: z.string().optional(),
|
|
4465
|
+
margin: sizeSchema.optional(),
|
|
4466
|
+
trigger: modalLayoutTriggerSchema,
|
|
4467
|
+
content: modalLayoutContentSchema
|
|
4463
4468
|
})
|
|
4464
4469
|
);
|
|
4465
|
-
var
|
|
4470
|
+
var modalLayoutContentSchema = z.lazy(
|
|
4466
4471
|
() => z.object({
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4472
|
+
components: z.array(layoutSchema)
|
|
4473
|
+
})
|
|
4474
|
+
);
|
|
4475
|
+
var columnsLayoutSchema = z.lazy(
|
|
4476
|
+
() => z.object({
|
|
4477
|
+
type: z.literal("columns"),
|
|
4478
|
+
left: z.array(layoutSchema),
|
|
4479
|
+
right: z.array(layoutSchema),
|
|
4480
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
4473
4481
|
control: z.string().optional(),
|
|
4474
|
-
|
|
4475
|
-
icon: iconSchema.optional(),
|
|
4476
|
-
image: imageSchema.optional(),
|
|
4477
|
-
keywords: z.array(z.string()).optional(),
|
|
4478
|
-
summary: summaryProviderSchema.optional(),
|
|
4479
|
-
analyticsId: z.string().optional(),
|
|
4480
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4481
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4482
|
-
alert: alertLayoutSchema.optional()
|
|
4482
|
+
margin: sizeSchema.optional()
|
|
4483
4483
|
})
|
|
4484
4484
|
);
|
|
4485
4485
|
|