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