@wise/dynamic-flow-types 2.32.0 → 3.0.0-exp-zod-301f0be
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 +330 -330
- package/build/main.min.js +1 -1
- package/build/main.mjs +330 -330
- package/build/renderers/BaseInputRendererProps.d.ts +1 -2
- package/build/renderers/{BooleanRendererProps.d.ts → CheckboxInputRendererProps.d.ts} +2 -2
- package/build/renderers/DateInputRendererProps.d.ts +1 -0
- package/build/renderers/IntegerInputRendererProps.d.ts +1 -0
- package/build/renderers/MultiSelectInputRendererProps.d.ts +1 -0
- package/build/renderers/MultiUploadInputRendererProps.d.ts +4 -2
- package/build/renderers/RendererProps.d.ts +4 -4
- package/build/renderers/{FormSectionRendererProps.d.ts → SectionRendererProps.d.ts} +2 -2
- package/build/renderers/SelectInputRendererProps.d.ts +1 -0
- package/build/renderers/TextInputRendererProps.d.ts +1 -0
- package/build/renderers/index.d.ts +2 -2
- package/build/zod/schemas.d.ts +2718 -2718
- package/package.json +2 -2
package/build/main.mjs
CHANGED
|
@@ -3951,10 +3951,21 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
3951
3951
|
});
|
|
3952
3952
|
|
|
3953
3953
|
// src/zod/schemas.ts
|
|
3954
|
-
var
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3954
|
+
var jsonElementSchema = z.lazy(
|
|
3955
|
+
() => z.union([
|
|
3956
|
+
z.string(),
|
|
3957
|
+
z.number(),
|
|
3958
|
+
z.boolean(),
|
|
3959
|
+
z.record(jsonElementSchema),
|
|
3960
|
+
z.array(jsonElementSchema)
|
|
3961
|
+
]).nullable()
|
|
3962
|
+
);
|
|
3963
|
+
var externalSchema = z.object({
|
|
3964
|
+
url: z.string()
|
|
3965
|
+
});
|
|
3966
|
+
var stepErrorSchema = z.object({
|
|
3967
|
+
error: z.string().optional(),
|
|
3968
|
+
validation: jsonElementSchema.optional()
|
|
3958
3969
|
});
|
|
3959
3970
|
var httpMethodSchema = z.union([
|
|
3960
3971
|
z.literal("GET"),
|
|
@@ -3966,6 +3977,13 @@ var httpMethodSchema = z.union([
|
|
|
3966
3977
|
var iconNamedSchema = z.object({
|
|
3967
3978
|
name: z.string()
|
|
3968
3979
|
});
|
|
3980
|
+
var sizeSchema = z.union([
|
|
3981
|
+
z.literal("xs"),
|
|
3982
|
+
z.literal("sm"),
|
|
3983
|
+
z.literal("md"),
|
|
3984
|
+
z.literal("lg"),
|
|
3985
|
+
z.literal("xl")
|
|
3986
|
+
]);
|
|
3969
3987
|
var contextSchema = z.union([
|
|
3970
3988
|
z.literal("positive"),
|
|
3971
3989
|
z.literal("neutral"),
|
|
@@ -3979,21 +3997,6 @@ var contextSchema = z.union([
|
|
|
3979
3997
|
var iconTextSchema = z.object({
|
|
3980
3998
|
text: z.string()
|
|
3981
3999
|
});
|
|
3982
|
-
var sizeSchema = z.union([
|
|
3983
|
-
z.literal("xs"),
|
|
3984
|
-
z.literal("sm"),
|
|
3985
|
-
z.literal("md"),
|
|
3986
|
-
z.literal("lg"),
|
|
3987
|
-
z.literal("xl")
|
|
3988
|
-
]);
|
|
3989
|
-
var autocapitalizationTypeSchema = z.union([
|
|
3990
|
-
z.literal("none"),
|
|
3991
|
-
z.literal("characters"),
|
|
3992
|
-
z.literal("sentences"),
|
|
3993
|
-
z.literal("words")
|
|
3994
|
-
]);
|
|
3995
|
-
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
3996
|
-
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
3997
4000
|
var autocompleteTokenSchema = z.union([
|
|
3998
4001
|
z.literal("on"),
|
|
3999
4002
|
z.literal("name"),
|
|
@@ -4059,31 +4062,18 @@ var autocompleteTokenSchema = z.union([
|
|
|
4059
4062
|
z.literal("fax"),
|
|
4060
4063
|
z.literal("pager")
|
|
4061
4064
|
]);
|
|
4062
|
-
var
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
var paragraphLayoutSchema = z.object({
|
|
4069
|
-
type: z.literal("paragraph"),
|
|
4070
|
-
text: z.string(),
|
|
4071
|
-
align: alignSchema.optional(),
|
|
4072
|
-
control: z.string().optional(),
|
|
4073
|
-
margin: sizeSchema.optional()
|
|
4074
|
-
});
|
|
4075
|
-
var dividerLayoutSchema = z.object({
|
|
4076
|
-
type: z.literal("divider"),
|
|
4077
|
-
control: z.string().optional(),
|
|
4078
|
-
margin: sizeSchema.optional()
|
|
4079
|
-
});
|
|
4080
|
-
var listLayoutStatusSchema = z.union([
|
|
4081
|
-
z.literal("warning"),
|
|
4082
|
-
z.literal("neutral"),
|
|
4083
|
-
z.literal("positive")
|
|
4065
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
4066
|
+
var autocapitalizationTypeSchema = z.union([
|
|
4067
|
+
z.literal("none"),
|
|
4068
|
+
z.literal("characters"),
|
|
4069
|
+
z.literal("sentences"),
|
|
4070
|
+
z.literal("words")
|
|
4084
4071
|
]);
|
|
4085
|
-
var
|
|
4086
|
-
|
|
4072
|
+
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
4073
|
+
var imageSchema = z.object({
|
|
4074
|
+
text: z.string().optional(),
|
|
4075
|
+
url: z.string(),
|
|
4076
|
+
accessibilityDescription: z.string().optional()
|
|
4087
4077
|
});
|
|
4088
4078
|
var imageLayoutSchema = z.object({
|
|
4089
4079
|
type: z.literal("image"),
|
|
@@ -4099,12 +4089,13 @@ var statusListLayoutStatusSchema = z.union([
|
|
|
4099
4089
|
z.literal("pending"),
|
|
4100
4090
|
z.literal("done")
|
|
4101
4091
|
]);
|
|
4102
|
-
var
|
|
4092
|
+
var headingLayoutSchema = z.object({
|
|
4093
|
+
type: z.literal("heading"),
|
|
4103
4094
|
text: z.string(),
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4095
|
+
size: sizeSchema.optional(),
|
|
4096
|
+
align: alignSchema.optional(),
|
|
4097
|
+
control: z.string().optional(),
|
|
4098
|
+
margin: sizeSchema.optional()
|
|
4108
4099
|
});
|
|
4109
4100
|
var searchLayoutSchema = z.object({
|
|
4110
4101
|
type: z.literal("search"),
|
|
@@ -4116,13 +4107,48 @@ var searchLayoutSchema = z.object({
|
|
|
4116
4107
|
control: z.string().optional(),
|
|
4117
4108
|
margin: sizeSchema.optional()
|
|
4118
4109
|
});
|
|
4119
|
-
var
|
|
4120
|
-
|
|
4121
|
-
|
|
4110
|
+
var modalLayoutTriggerSchema = z.object({
|
|
4111
|
+
title: z.string()
|
|
4112
|
+
});
|
|
4113
|
+
var helpSchema = z.object({
|
|
4114
|
+
markdown: z.string()
|
|
4115
|
+
});
|
|
4116
|
+
var columnsLayoutBiasSchema = z.union([
|
|
4117
|
+
z.literal("none"),
|
|
4118
|
+
z.literal("left"),
|
|
4119
|
+
z.literal("right")
|
|
4120
|
+
]);
|
|
4121
|
+
var instructionsLayoutItemSchema = z.object({
|
|
4122
|
+
text: z.string(),
|
|
4123
|
+
context: contextSchema
|
|
4124
|
+
});
|
|
4125
|
+
var formLayoutSchemaReferenceSchema = z.object({
|
|
4126
|
+
$ref: z.string()
|
|
4127
|
+
});
|
|
4128
|
+
var listLayoutStatusSchema = z.union([
|
|
4129
|
+
z.literal("warning"),
|
|
4130
|
+
z.literal("neutral"),
|
|
4131
|
+
z.literal("positive")
|
|
4132
|
+
]);
|
|
4133
|
+
var instructionsLayoutSchema = z.object({
|
|
4134
|
+
type: z.literal("instructions"),
|
|
4135
|
+
title: z.string().optional(),
|
|
4136
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
4137
|
+
control: z.string().optional(),
|
|
4138
|
+
margin: sizeSchema.optional()
|
|
4139
|
+
});
|
|
4140
|
+
var paragraphLayoutSchema = z.object({
|
|
4141
|
+
type: z.literal("paragraph"),
|
|
4142
|
+
text: z.string(),
|
|
4122
4143
|
align: alignSchema.optional(),
|
|
4123
4144
|
control: z.string().optional(),
|
|
4124
4145
|
margin: sizeSchema.optional()
|
|
4125
4146
|
});
|
|
4147
|
+
var dividerLayoutSchema = z.object({
|
|
4148
|
+
type: z.literal("divider"),
|
|
4149
|
+
control: z.string().optional(),
|
|
4150
|
+
margin: sizeSchema.optional()
|
|
4151
|
+
});
|
|
4126
4152
|
var formLayoutSchema = z.object({
|
|
4127
4153
|
type: z.literal("form"),
|
|
4128
4154
|
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
@@ -4130,14 +4156,19 @@ var formLayoutSchema = z.object({
|
|
|
4130
4156
|
control: z.string().optional(),
|
|
4131
4157
|
margin: sizeSchema.optional()
|
|
4132
4158
|
});
|
|
4133
|
-
var
|
|
4134
|
-
type: z.literal("
|
|
4135
|
-
|
|
4136
|
-
size: sizeSchema.optional(),
|
|
4159
|
+
var infoLayoutSchema = z.object({
|
|
4160
|
+
type: z.literal("info"),
|
|
4161
|
+
markdown: z.string(),
|
|
4137
4162
|
align: alignSchema.optional(),
|
|
4138
4163
|
control: z.string().optional(),
|
|
4139
4164
|
margin: sizeSchema.optional()
|
|
4140
4165
|
});
|
|
4166
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
4167
|
+
type: z.literal("loading-indicator"),
|
|
4168
|
+
size: sizeSchema.optional(),
|
|
4169
|
+
control: z.string().optional(),
|
|
4170
|
+
margin: sizeSchema.optional()
|
|
4171
|
+
});
|
|
4141
4172
|
var markdownLayoutSchema = z.object({
|
|
4142
4173
|
type: z.literal("markdown"),
|
|
4143
4174
|
content: z.string(),
|
|
@@ -4145,35 +4176,11 @@ var markdownLayoutSchema = z.object({
|
|
|
4145
4176
|
control: z.string().optional(),
|
|
4146
4177
|
margin: sizeSchema.optional()
|
|
4147
4178
|
});
|
|
4148
|
-
var
|
|
4149
|
-
z.
|
|
4150
|
-
z.
|
|
4151
|
-
z.
|
|
4152
|
-
|
|
4153
|
-
var helpSchema = z.object({
|
|
4154
|
-
markdown: z.string()
|
|
4155
|
-
});
|
|
4156
|
-
var searchSearchRequestSchema = z.object({
|
|
4157
|
-
url: z.string(),
|
|
4158
|
-
method: httpMethodSchema,
|
|
4159
|
-
param: z.string(),
|
|
4160
|
-
query: z.string()
|
|
4161
|
-
});
|
|
4162
|
-
var jsonElementSchema = z.lazy(
|
|
4163
|
-
() => z.union([
|
|
4164
|
-
z.string(),
|
|
4165
|
-
z.number(),
|
|
4166
|
-
z.boolean(),
|
|
4167
|
-
z.record(jsonElementSchema),
|
|
4168
|
-
z.array(jsonElementSchema)
|
|
4169
|
-
]).nullable()
|
|
4170
|
-
);
|
|
4171
|
-
var externalSchema = z.object({
|
|
4172
|
-
url: z.string()
|
|
4173
|
-
});
|
|
4174
|
-
var stepErrorSchema = z.object({
|
|
4175
|
-
error: z.string().optional(),
|
|
4176
|
-
validation: jsonElementSchema.optional()
|
|
4179
|
+
var summaryProviderSchema = z.object({
|
|
4180
|
+
providesTitle: z.boolean().optional(),
|
|
4181
|
+
providesDescription: z.boolean().optional(),
|
|
4182
|
+
providesIcon: z.boolean().optional(),
|
|
4183
|
+
providesImage: z.boolean().optional()
|
|
4177
4184
|
});
|
|
4178
4185
|
var stringSchemaFormatSchema = z.union([
|
|
4179
4186
|
z.literal("date"),
|
|
@@ -4183,6 +4190,12 @@ var stringSchemaFormatSchema = z.union([
|
|
|
4183
4190
|
z.literal("phone-number"),
|
|
4184
4191
|
z.literal("base64url")
|
|
4185
4192
|
]);
|
|
4193
|
+
var validateAsyncSchema = z.object({
|
|
4194
|
+
param: z.string(),
|
|
4195
|
+
method: httpMethodSchema,
|
|
4196
|
+
url: z.string()
|
|
4197
|
+
});
|
|
4198
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
4186
4199
|
var summarySummariserSchema = z.object({
|
|
4187
4200
|
defaultTitle: z.string().optional(),
|
|
4188
4201
|
defaultDescription: z.string().optional(),
|
|
@@ -4193,24 +4206,27 @@ var summarySummariserSchema = z.object({
|
|
|
4193
4206
|
providesIcon: z.boolean().optional(),
|
|
4194
4207
|
providesImage: z.boolean().optional()
|
|
4195
4208
|
});
|
|
4196
|
-
var
|
|
4197
|
-
|
|
4209
|
+
var searchSearchRequestSchema = z.object({
|
|
4210
|
+
url: z.string(),
|
|
4198
4211
|
method: httpMethodSchema,
|
|
4199
|
-
|
|
4212
|
+
param: z.string(),
|
|
4213
|
+
query: z.string()
|
|
4200
4214
|
});
|
|
4201
|
-
var
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4215
|
+
var searchResultSearchSchema = z.object({
|
|
4216
|
+
type: z.literal("search"),
|
|
4217
|
+
title: z.string(),
|
|
4218
|
+
description: z.string().optional(),
|
|
4219
|
+
icon: iconSchema.optional(),
|
|
4220
|
+
image: imageLayoutSchema.optional(),
|
|
4221
|
+
value: searchSearchRequestSchema
|
|
4222
|
+
});
|
|
4223
|
+
var errorResponseBodySchema = z.object({
|
|
4224
|
+
refreshFormUrl: z.string().optional(),
|
|
4225
|
+
analytics: z.record(z.string()).optional(),
|
|
4226
|
+
error: z.string().optional(),
|
|
4227
|
+
validation: jsonElementSchema.optional(),
|
|
4228
|
+
refreshUrl: z.string().optional()
|
|
4206
4229
|
});
|
|
4207
|
-
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
4208
|
-
var navigationStackBehaviorSchema = z.union([
|
|
4209
|
-
z.literal("default"),
|
|
4210
|
-
z.literal("remove-previous"),
|
|
4211
|
-
z.literal("remove-all"),
|
|
4212
|
-
z.literal("replace-current")
|
|
4213
|
-
]);
|
|
4214
4230
|
var actionTypeSchema = z.union([
|
|
4215
4231
|
z.literal("primary"),
|
|
4216
4232
|
z.literal("secondary"),
|
|
@@ -4218,6 +4234,12 @@ var actionTypeSchema = z.union([
|
|
|
4218
4234
|
z.literal("positive"),
|
|
4219
4235
|
z.literal("negative")
|
|
4220
4236
|
]);
|
|
4237
|
+
var navigationStackBehaviorSchema = z.union([
|
|
4238
|
+
z.literal("default"),
|
|
4239
|
+
z.literal("remove-previous"),
|
|
4240
|
+
z.literal("remove-all"),
|
|
4241
|
+
z.literal("replace-current")
|
|
4242
|
+
]);
|
|
4221
4243
|
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
4222
4244
|
var linkSchema = z.object({
|
|
4223
4245
|
url: z.string()
|
|
@@ -4237,6 +4259,10 @@ var actionSchema = z.object({
|
|
|
4237
4259
|
timeout: z.number().optional(),
|
|
4238
4260
|
skipValidation: z.boolean().optional()
|
|
4239
4261
|
});
|
|
4262
|
+
var linkHandlerSchema = z.object({
|
|
4263
|
+
regexPattern: z.string(),
|
|
4264
|
+
action: actionSchema
|
|
4265
|
+
});
|
|
4240
4266
|
var listLayoutItemSchema = z.object({
|
|
4241
4267
|
description: z.string().optional(),
|
|
4242
4268
|
status: listLayoutStatusSchema.optional(),
|
|
@@ -4255,21 +4281,26 @@ var decisionLayoutOptionSchema = z.object({
|
|
|
4255
4281
|
icon: iconSchema.optional(),
|
|
4256
4282
|
image: imageLayoutSchema.optional()
|
|
4257
4283
|
});
|
|
4258
|
-
var instructionsLayoutSchema = z.object({
|
|
4259
|
-
type: z.literal("instructions"),
|
|
4260
|
-
title: z.string().optional(),
|
|
4261
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
4262
|
-
control: z.string().optional(),
|
|
4263
|
-
margin: sizeSchema.optional()
|
|
4264
|
-
});
|
|
4265
4284
|
var behaviorSchema = z.object({
|
|
4266
4285
|
action: actionSchema.optional(),
|
|
4267
4286
|
link: linkSchema.optional()
|
|
4268
4287
|
});
|
|
4269
|
-
var
|
|
4288
|
+
var reviewLayoutFieldSchema = z.object({
|
|
4289
|
+
label: z.string(),
|
|
4290
|
+
value: z.string(),
|
|
4291
|
+
rawValue: z.string().optional(),
|
|
4292
|
+
help: helpSchema.optional()
|
|
4293
|
+
});
|
|
4294
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
4270
4295
|
title: z.string(),
|
|
4271
|
-
|
|
4272
|
-
|
|
4296
|
+
action: actionSchema
|
|
4297
|
+
});
|
|
4298
|
+
var decisionLayoutSchema = z.object({
|
|
4299
|
+
type: z.literal("decision"),
|
|
4300
|
+
title: z.string().optional(),
|
|
4301
|
+
options: z.array(decisionLayoutOptionSchema),
|
|
4302
|
+
control: z.string().optional(),
|
|
4303
|
+
margin: sizeSchema.optional()
|
|
4273
4304
|
});
|
|
4274
4305
|
var buttonLayoutSchema = z.object({
|
|
4275
4306
|
type: z.literal("button"),
|
|
@@ -4282,20 +4313,6 @@ var buttonLayoutSchema = z.object({
|
|
|
4282
4313
|
control: z.string().optional(),
|
|
4283
4314
|
margin: sizeSchema.optional()
|
|
4284
4315
|
});
|
|
4285
|
-
var reviewLayoutFieldSchema = z.object({
|
|
4286
|
-
label: z.string(),
|
|
4287
|
-
value: z.string(),
|
|
4288
|
-
rawValue: z.string().optional(),
|
|
4289
|
-
help: helpSchema.optional()
|
|
4290
|
-
});
|
|
4291
|
-
var searchResultSearchSchema = z.object({
|
|
4292
|
-
type: z.literal("search"),
|
|
4293
|
-
title: z.string(),
|
|
4294
|
-
description: z.string().optional(),
|
|
4295
|
-
icon: iconSchema.optional(),
|
|
4296
|
-
image: imageLayoutSchema.optional(),
|
|
4297
|
-
value: searchSearchRequestSchema
|
|
4298
|
-
});
|
|
4299
4316
|
var searchResultActionSchema = z.object({
|
|
4300
4317
|
type: z.literal("action"),
|
|
4301
4318
|
title: z.string(),
|
|
@@ -4304,20 +4321,10 @@ var searchResultActionSchema = z.object({
|
|
|
4304
4321
|
image: imageLayoutSchema.optional(),
|
|
4305
4322
|
value: actionSchema
|
|
4306
4323
|
});
|
|
4324
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4307
4325
|
var actionResponseBodySchema = z.object({
|
|
4308
4326
|
action: actionSchema
|
|
4309
4327
|
});
|
|
4310
|
-
var errorResponseBodySchema = z.object({
|
|
4311
|
-
refreshFormUrl: z.string().optional(),
|
|
4312
|
-
analytics: z.record(z.string()).optional(),
|
|
4313
|
-
error: z.string().optional(),
|
|
4314
|
-
validation: jsonElementSchema.optional(),
|
|
4315
|
-
refreshUrl: z.string().optional()
|
|
4316
|
-
});
|
|
4317
|
-
var linkHandlerSchema = z.object({
|
|
4318
|
-
regexPattern: z.string(),
|
|
4319
|
-
action: actionSchema
|
|
4320
|
-
});
|
|
4321
4328
|
var pollingOnErrorSchema = z.object({
|
|
4322
4329
|
action: actionSchema
|
|
4323
4330
|
});
|
|
@@ -4325,27 +4332,47 @@ var navigationBackBehaviorSchema = z.object({
|
|
|
4325
4332
|
title: z.string().optional(),
|
|
4326
4333
|
action: actionSchema
|
|
4327
4334
|
});
|
|
4328
|
-
var
|
|
4335
|
+
var pollingSchema = z.object({
|
|
4336
|
+
url: z.string(),
|
|
4337
|
+
interval: z.number().optional(),
|
|
4338
|
+
delay: z.number().optional(),
|
|
4339
|
+
timeout: z.number().optional(),
|
|
4340
|
+
maxAttempts: z.number(),
|
|
4341
|
+
onError: pollingOnErrorSchema
|
|
4342
|
+
});
|
|
4343
|
+
var navigationSchema = z.object({
|
|
4344
|
+
backButton: navigationBackBehaviorSchema.optional(),
|
|
4345
|
+
back: navigationBackBehaviorSchema.optional(),
|
|
4346
|
+
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
4347
|
+
});
|
|
4348
|
+
var listLayoutCallToActionSchema = z.object({
|
|
4329
4349
|
title: z.string(),
|
|
4330
|
-
|
|
4350
|
+
accessibilityDescription: z.string().optional(),
|
|
4351
|
+
behavior: behaviorSchema
|
|
4331
4352
|
});
|
|
4332
4353
|
var alertLayoutCallToActionSchema = z.object({
|
|
4333
4354
|
title: z.string(),
|
|
4334
4355
|
accessibilityDescription: z.string().optional(),
|
|
4335
4356
|
behavior: behaviorSchema
|
|
4336
4357
|
});
|
|
4337
|
-
var
|
|
4358
|
+
var itemCallToActionSchema = z.object({
|
|
4338
4359
|
title: z.string(),
|
|
4339
4360
|
accessibilityDescription: z.string().optional(),
|
|
4340
4361
|
behavior: behaviorSchema
|
|
4341
4362
|
});
|
|
4342
|
-
var
|
|
4343
|
-
type: z.literal("
|
|
4363
|
+
var reviewLayoutSchema = z.object({
|
|
4364
|
+
type: z.literal("review"),
|
|
4365
|
+
orientation: z.string().optional(),
|
|
4366
|
+
action: actionSchema.optional(),
|
|
4367
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
4344
4368
|
title: z.string().optional(),
|
|
4345
|
-
|
|
4369
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
4346
4370
|
control: z.string().optional(),
|
|
4347
4371
|
margin: sizeSchema.optional()
|
|
4348
4372
|
});
|
|
4373
|
+
var searchResponseBodySchema = z.object({
|
|
4374
|
+
results: z.array(searchResultSchema)
|
|
4375
|
+
});
|
|
4349
4376
|
var statusListLayoutItemSchema = z.object({
|
|
4350
4377
|
title: z.string(),
|
|
4351
4378
|
description: z.string().optional(),
|
|
@@ -4353,30 +4380,14 @@ var statusListLayoutItemSchema = z.object({
|
|
|
4353
4380
|
status: statusListLayoutStatusSchema.optional(),
|
|
4354
4381
|
callToAction: itemCallToActionSchema.optional()
|
|
4355
4382
|
});
|
|
4356
|
-
var
|
|
4357
|
-
type: z.literal("
|
|
4358
|
-
orientation: z.string().optional(),
|
|
4359
|
-
action: actionSchema.optional(),
|
|
4360
|
-
fields: z.array(reviewLayoutFieldSchema),
|
|
4383
|
+
var listLayoutSchema = z.object({
|
|
4384
|
+
type: z.literal("list"),
|
|
4361
4385
|
title: z.string().optional(),
|
|
4362
|
-
callToAction:
|
|
4386
|
+
callToAction: listLayoutCallToActionSchema.optional(),
|
|
4387
|
+
items: z.array(listLayoutItemSchema),
|
|
4363
4388
|
control: z.string().optional(),
|
|
4364
4389
|
margin: sizeSchema.optional()
|
|
4365
4390
|
});
|
|
4366
|
-
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4367
|
-
var pollingSchema = z.object({
|
|
4368
|
-
url: z.string(),
|
|
4369
|
-
interval: z.number().optional(),
|
|
4370
|
-
delay: z.number().optional(),
|
|
4371
|
-
timeout: z.number().optional(),
|
|
4372
|
-
maxAttempts: z.number(),
|
|
4373
|
-
onError: pollingOnErrorSchema
|
|
4374
|
-
});
|
|
4375
|
-
var navigationSchema = z.object({
|
|
4376
|
-
backButton: navigationBackBehaviorSchema.optional(),
|
|
4377
|
-
back: navigationBackBehaviorSchema.optional(),
|
|
4378
|
-
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
4379
|
-
});
|
|
4380
4391
|
var alertLayoutSchema = z.object({
|
|
4381
4392
|
type: z.literal("alert"),
|
|
4382
4393
|
markdown: z.string(),
|
|
@@ -4385,23 +4396,21 @@ var alertLayoutSchema = z.object({
|
|
|
4385
4396
|
margin: sizeSchema.optional(),
|
|
4386
4397
|
callToAction: alertLayoutCallToActionSchema.optional()
|
|
4387
4398
|
});
|
|
4388
|
-
var
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
callToAction: listLayoutCallToActionSchema.optional(),
|
|
4392
|
-
items: z.array(listLayoutItemSchema),
|
|
4399
|
+
var constSchemaSchema = z.object({
|
|
4400
|
+
hidden: z.boolean().optional(),
|
|
4401
|
+
alert: alertLayoutSchema.optional(),
|
|
4393
4402
|
control: z.string().optional(),
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
type: z.literal("status-list"),
|
|
4398
|
-
items: z.array(statusListLayoutItemSchema),
|
|
4403
|
+
promoted: z.boolean().optional(),
|
|
4404
|
+
$id: z.string().optional(),
|
|
4405
|
+
const: jsonElementSchema,
|
|
4399
4406
|
title: z.string().optional(),
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4407
|
+
description: z.string().optional(),
|
|
4408
|
+
icon: iconSchema.optional(),
|
|
4409
|
+
image: imageSchema.optional(),
|
|
4410
|
+
keywords: z.array(z.string()).optional(),
|
|
4411
|
+
summary: summaryProviderSchema.optional(),
|
|
4412
|
+
analyticsId: z.string().optional(),
|
|
4413
|
+
disabled: z.boolean().optional()
|
|
4405
4414
|
});
|
|
4406
4415
|
var blobSchemaSchema = z.object({
|
|
4407
4416
|
type: z.literal("blob"),
|
|
@@ -4425,22 +4434,48 @@ var blobSchemaSchema = z.object({
|
|
|
4425
4434
|
source: uploadSourceSchema.optional(),
|
|
4426
4435
|
disabled: z.boolean().optional()
|
|
4427
4436
|
});
|
|
4428
|
-
var
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
control: z.string().optional(),
|
|
4432
|
-
promoted: z.boolean().optional(),
|
|
4433
|
-
$id: z.string().optional(),
|
|
4434
|
-
const: jsonElementSchema,
|
|
4437
|
+
var statusListLayoutSchema = z.object({
|
|
4438
|
+
type: z.literal("status-list"),
|
|
4439
|
+
items: z.array(statusListLayoutItemSchema),
|
|
4435
4440
|
title: z.string().optional(),
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
image: imageSchema.optional(),
|
|
4439
|
-
keywords: z.array(z.string()).optional(),
|
|
4440
|
-
summary: summaryProviderSchema.optional(),
|
|
4441
|
-
analyticsId: z.string().optional(),
|
|
4442
|
-
disabled: z.boolean().optional()
|
|
4441
|
+
control: z.string().optional(),
|
|
4442
|
+
margin: sizeSchema.optional()
|
|
4443
4443
|
});
|
|
4444
|
+
var stepSchema = z.lazy(
|
|
4445
|
+
() => z.object({
|
|
4446
|
+
key: z.string().optional(),
|
|
4447
|
+
type: z.string().optional(),
|
|
4448
|
+
actions: z.array(actionSchema).optional(),
|
|
4449
|
+
refreshFormUrl: z.string().optional(),
|
|
4450
|
+
id: z.string(),
|
|
4451
|
+
title: z.string(),
|
|
4452
|
+
schemas: z.array(schemaSchema),
|
|
4453
|
+
layout: z.array(layoutSchema),
|
|
4454
|
+
description: z.string().optional(),
|
|
4455
|
+
model: jsonElementSchema.optional(),
|
|
4456
|
+
external: externalSchema.optional(),
|
|
4457
|
+
polling: pollingSchema.optional(),
|
|
4458
|
+
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
4459
|
+
analytics: z.record(z.string()).optional(),
|
|
4460
|
+
errors: stepErrorSchema.optional(),
|
|
4461
|
+
navigation: navigationSchema.optional(),
|
|
4462
|
+
refreshUrl: z.string().optional()
|
|
4463
|
+
})
|
|
4464
|
+
);
|
|
4465
|
+
var schemaSchema = z.lazy(
|
|
4466
|
+
() => z.union([
|
|
4467
|
+
allOfSchemaSchema,
|
|
4468
|
+
arraySchemaSchema,
|
|
4469
|
+
blobSchemaSchema,
|
|
4470
|
+
booleanSchemaSchema,
|
|
4471
|
+
constSchemaSchema,
|
|
4472
|
+
integerSchemaSchema,
|
|
4473
|
+
numberSchemaSchema,
|
|
4474
|
+
objectSchemaSchema,
|
|
4475
|
+
oneOfSchemaSchema,
|
|
4476
|
+
stringSchemaSchema
|
|
4477
|
+
])
|
|
4478
|
+
);
|
|
4444
4479
|
var layoutSchema = z.lazy(
|
|
4445
4480
|
() => z.union([
|
|
4446
4481
|
alertLayoutSchema,
|
|
@@ -4464,6 +4499,21 @@ var layoutSchema = z.lazy(
|
|
|
4464
4499
|
statusListLayoutSchema
|
|
4465
4500
|
])
|
|
4466
4501
|
);
|
|
4502
|
+
var modalLayoutContentSchema = z.lazy(
|
|
4503
|
+
() => z.object({
|
|
4504
|
+
title: z.string().optional(),
|
|
4505
|
+
components: z.array(layoutSchema)
|
|
4506
|
+
})
|
|
4507
|
+
);
|
|
4508
|
+
var modalLayoutSchema = z.lazy(
|
|
4509
|
+
() => z.object({
|
|
4510
|
+
type: z.literal("modal"),
|
|
4511
|
+
control: z.string().optional(),
|
|
4512
|
+
margin: sizeSchema.optional(),
|
|
4513
|
+
trigger: modalLayoutTriggerSchema,
|
|
4514
|
+
content: modalLayoutContentSchema
|
|
4515
|
+
})
|
|
4516
|
+
);
|
|
4467
4517
|
var boxLayoutSchema = z.lazy(
|
|
4468
4518
|
() => z.object({
|
|
4469
4519
|
type: z.literal("box"),
|
|
@@ -4484,62 +4534,42 @@ var columnsLayoutSchema = z.lazy(
|
|
|
4484
4534
|
margin: sizeSchema.optional()
|
|
4485
4535
|
})
|
|
4486
4536
|
);
|
|
4487
|
-
var
|
|
4488
|
-
() => z.
|
|
4489
|
-
type: z.literal("modal"),
|
|
4490
|
-
control: z.string().optional(),
|
|
4491
|
-
margin: sizeSchema.optional(),
|
|
4492
|
-
trigger: modalLayoutTriggerSchema,
|
|
4493
|
-
content: modalLayoutContentSchema
|
|
4494
|
-
})
|
|
4537
|
+
var arraySchemaSchema = z.lazy(
|
|
4538
|
+
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4495
4539
|
);
|
|
4496
|
-
var
|
|
4540
|
+
var arraySchemaListSchema = z.lazy(
|
|
4497
4541
|
() => z.object({
|
|
4542
|
+
type: z.literal("array"),
|
|
4543
|
+
promoted: z.boolean().optional(),
|
|
4544
|
+
$id: z.string().optional(),
|
|
4545
|
+
items: schemaSchema,
|
|
4546
|
+
addItemTitle: z.string(),
|
|
4547
|
+
editItemTitle: z.string(),
|
|
4548
|
+
minItems: z.number().optional(),
|
|
4549
|
+
maxItems: z.number().optional(),
|
|
4550
|
+
placeholder: z.string().optional(),
|
|
4498
4551
|
title: z.string().optional(),
|
|
4499
|
-
components: z.array(layoutSchema)
|
|
4500
|
-
})
|
|
4501
|
-
);
|
|
4502
|
-
var stepSchema = z.lazy(
|
|
4503
|
-
() => z.object({
|
|
4504
|
-
key: z.string().optional(),
|
|
4505
|
-
type: z.string().optional(),
|
|
4506
|
-
actions: z.array(actionSchema).optional(),
|
|
4507
|
-
refreshFormUrl: z.string().optional(),
|
|
4508
|
-
id: z.string(),
|
|
4509
|
-
title: z.string(),
|
|
4510
|
-
schemas: z.array(schemaSchema),
|
|
4511
|
-
layout: z.array(layoutSchema),
|
|
4512
4552
|
description: z.string().optional(),
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4553
|
+
control: z.string().optional(),
|
|
4554
|
+
hidden: z.boolean().optional(),
|
|
4555
|
+
icon: iconSchema.optional(),
|
|
4556
|
+
image: imageSchema.optional(),
|
|
4557
|
+
keywords: z.array(z.string()).optional(),
|
|
4558
|
+
summary: summarySummariserSchema.optional(),
|
|
4559
|
+
analyticsId: z.string().optional(),
|
|
4560
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4561
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4562
|
+
alert: alertLayoutSchema.optional(),
|
|
4563
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4564
|
+
disabled: z.boolean().optional()
|
|
4521
4565
|
})
|
|
4522
4566
|
);
|
|
4523
|
-
var
|
|
4524
|
-
() => z.union([
|
|
4525
|
-
allOfSchemaSchema,
|
|
4526
|
-
arraySchemaSchema,
|
|
4527
|
-
blobSchemaSchema,
|
|
4528
|
-
booleanSchemaSchema,
|
|
4529
|
-
constSchemaSchema,
|
|
4530
|
-
integerSchemaSchema,
|
|
4531
|
-
numberSchemaSchema,
|
|
4532
|
-
objectSchemaSchema,
|
|
4533
|
-
oneOfSchemaSchema,
|
|
4534
|
-
stringSchemaSchema
|
|
4535
|
-
])
|
|
4536
|
-
);
|
|
4537
|
-
var allOfSchemaSchema = z.lazy(
|
|
4567
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
4538
4568
|
() => z.object({
|
|
4539
|
-
|
|
4569
|
+
type: z.literal("array"),
|
|
4540
4570
|
promoted: z.boolean().optional(),
|
|
4541
|
-
allOf: z.array(schemaSchema),
|
|
4542
4571
|
$id: z.string().optional(),
|
|
4572
|
+
items: z.array(schemaSchema),
|
|
4543
4573
|
title: z.string().optional(),
|
|
4544
4574
|
description: z.string().optional(),
|
|
4545
4575
|
control: z.string().optional(),
|
|
@@ -4549,56 +4579,63 @@ var allOfSchemaSchema = z.lazy(
|
|
|
4549
4579
|
keywords: z.array(z.string()).optional(),
|
|
4550
4580
|
summary: summaryProviderSchema.optional(),
|
|
4551
4581
|
analyticsId: z.string().optional(),
|
|
4582
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4583
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4552
4584
|
alert: alertLayoutSchema.optional()
|
|
4553
4585
|
})
|
|
4554
4586
|
);
|
|
4555
|
-
var
|
|
4556
|
-
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4557
|
-
);
|
|
4558
|
-
var booleanSchemaSchema = z.lazy(
|
|
4587
|
+
var oneOfSchemaSchema = z.lazy(
|
|
4559
4588
|
() => z.object({
|
|
4560
|
-
type: z.literal("boolean"),
|
|
4561
4589
|
autofillProvider: z.string().optional(),
|
|
4562
4590
|
promoted: z.boolean().optional(),
|
|
4563
4591
|
refreshFormOnChange: z.boolean().optional(),
|
|
4564
4592
|
refreshUrl: z.string().optional(),
|
|
4565
4593
|
refreshFormUrl: z.string().optional(),
|
|
4594
|
+
promotion: jsonElementSchema.optional(),
|
|
4595
|
+
oneOf: z.array(schemaSchema),
|
|
4596
|
+
placeholder: z.string().optional(),
|
|
4566
4597
|
$id: z.string().optional(),
|
|
4567
4598
|
title: z.string().optional(),
|
|
4568
4599
|
description: z.string().optional(),
|
|
4569
4600
|
control: z.string().optional(),
|
|
4570
|
-
default:
|
|
4601
|
+
default: jsonElementSchema.optional(),
|
|
4571
4602
|
hidden: z.boolean().optional(),
|
|
4572
|
-
disabled: z.boolean().optional(),
|
|
4573
4603
|
icon: iconSchema.optional(),
|
|
4574
4604
|
image: imageSchema.optional(),
|
|
4575
4605
|
keywords: z.array(z.string()).optional(),
|
|
4576
4606
|
summary: summaryProviderSchema.optional(),
|
|
4577
4607
|
analyticsId: z.string().optional(),
|
|
4578
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4579
4608
|
refreshStepOnChange: z.boolean().optional(),
|
|
4580
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4581
4609
|
alert: alertLayoutSchema.optional(),
|
|
4610
|
+
help: helpSchema.optional(),
|
|
4611
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4582
4612
|
autofillKey: z.string().optional(),
|
|
4583
|
-
|
|
4613
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4614
|
+
disabled: z.boolean().optional()
|
|
4584
4615
|
})
|
|
4585
4616
|
);
|
|
4586
|
-
var
|
|
4617
|
+
var stringSchemaSchema = z.lazy(
|
|
4587
4618
|
() => z.object({
|
|
4588
|
-
type: z.literal("
|
|
4619
|
+
type: z.literal("string"),
|
|
4589
4620
|
autofillProvider: z.string().optional(),
|
|
4590
4621
|
promoted: z.boolean().optional(),
|
|
4591
4622
|
refreshFormOnChange: z.boolean().optional(),
|
|
4592
4623
|
refreshUrl: z.string().optional(),
|
|
4593
4624
|
refreshFormUrl: z.string().optional(),
|
|
4625
|
+
format: stringSchemaFormatSchema.optional(),
|
|
4626
|
+
displayFormat: z.string().optional(),
|
|
4594
4627
|
placeholder: z.string().optional(),
|
|
4595
|
-
|
|
4596
|
-
|
|
4628
|
+
minLength: z.number().optional(),
|
|
4629
|
+
maxLength: z.number().optional(),
|
|
4630
|
+
minimum: z.string().optional(),
|
|
4631
|
+
maximum: z.string().optional(),
|
|
4632
|
+
pattern: z.string().optional(),
|
|
4633
|
+
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
4597
4634
|
$id: z.string().optional(),
|
|
4598
4635
|
title: z.string().optional(),
|
|
4599
4636
|
description: z.string().optional(),
|
|
4600
4637
|
control: z.string().optional(),
|
|
4601
|
-
default: z.
|
|
4638
|
+
default: z.string().optional(),
|
|
4602
4639
|
hidden: z.boolean().optional(),
|
|
4603
4640
|
disabled: z.boolean().optional(),
|
|
4604
4641
|
icon: iconSchema.optional(),
|
|
@@ -4611,11 +4648,24 @@ var integerSchemaSchema = z.lazy(
|
|
|
4611
4648
|
validationAsync: validateAsyncSchema.optional(),
|
|
4612
4649
|
validationMessages: z.record(z.string()).optional(),
|
|
4613
4650
|
alert: alertLayoutSchema.optional(),
|
|
4651
|
+
cameraConfig: jsonElementSchema.optional(),
|
|
4652
|
+
accepts: z.array(z.string()).optional(),
|
|
4653
|
+
maxSize: z.number().optional(),
|
|
4654
|
+
source: uploadSourceSchema.optional(),
|
|
4614
4655
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4615
4656
|
autofillKey: z.string().optional(),
|
|
4616
4657
|
help: helpSchema.optional()
|
|
4617
4658
|
})
|
|
4618
4659
|
);
|
|
4660
|
+
var persistAsyncSchema = z.lazy(
|
|
4661
|
+
() => z.object({
|
|
4662
|
+
param: z.string(),
|
|
4663
|
+
idProperty: z.string(),
|
|
4664
|
+
schema: schemaSchema,
|
|
4665
|
+
url: z.string(),
|
|
4666
|
+
method: httpMethodSchema
|
|
4667
|
+
})
|
|
4668
|
+
);
|
|
4619
4669
|
var numberSchemaSchema = z.lazy(
|
|
4620
4670
|
() => z.object({
|
|
4621
4671
|
type: z.literal("number"),
|
|
@@ -4649,15 +4699,11 @@ var numberSchemaSchema = z.lazy(
|
|
|
4649
4699
|
help: helpSchema.optional()
|
|
4650
4700
|
})
|
|
4651
4701
|
);
|
|
4652
|
-
var
|
|
4702
|
+
var allOfSchemaSchema = z.lazy(
|
|
4653
4703
|
() => z.object({
|
|
4654
|
-
type: z.literal("object"),
|
|
4655
4704
|
disabled: z.boolean().optional(),
|
|
4656
4705
|
promoted: z.boolean().optional(),
|
|
4657
|
-
|
|
4658
|
-
properties: z.record(schemaSchema),
|
|
4659
|
-
displayOrder: z.array(z.string()),
|
|
4660
|
-
required: z.array(z.string()).optional(),
|
|
4706
|
+
allOf: z.array(schemaSchema),
|
|
4661
4707
|
$id: z.string().optional(),
|
|
4662
4708
|
title: z.string().optional(),
|
|
4663
4709
|
description: z.string().optional(),
|
|
@@ -4671,58 +4717,41 @@ var objectSchemaSchema = z.lazy(
|
|
|
4671
4717
|
alert: alertLayoutSchema.optional()
|
|
4672
4718
|
})
|
|
4673
4719
|
);
|
|
4674
|
-
var
|
|
4720
|
+
var objectSchemaSchema = z.lazy(
|
|
4675
4721
|
() => z.object({
|
|
4676
|
-
|
|
4722
|
+
type: z.literal("object"),
|
|
4723
|
+
disabled: z.boolean().optional(),
|
|
4677
4724
|
promoted: z.boolean().optional(),
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
oneOf: z.array(schemaSchema),
|
|
4683
|
-
placeholder: z.string().optional(),
|
|
4725
|
+
help: helpSchema.optional(),
|
|
4726
|
+
properties: z.record(schemaSchema),
|
|
4727
|
+
displayOrder: z.array(z.string()),
|
|
4728
|
+
required: z.array(z.string()).optional(),
|
|
4684
4729
|
$id: z.string().optional(),
|
|
4685
4730
|
title: z.string().optional(),
|
|
4686
4731
|
description: z.string().optional(),
|
|
4687
4732
|
control: z.string().optional(),
|
|
4688
|
-
default: jsonElementSchema.optional(),
|
|
4689
4733
|
hidden: z.boolean().optional(),
|
|
4690
4734
|
icon: iconSchema.optional(),
|
|
4691
4735
|
image: imageSchema.optional(),
|
|
4692
4736
|
keywords: z.array(z.string()).optional(),
|
|
4693
4737
|
summary: summaryProviderSchema.optional(),
|
|
4694
4738
|
analyticsId: z.string().optional(),
|
|
4695
|
-
|
|
4696
|
-
alert: alertLayoutSchema.optional(),
|
|
4697
|
-
help: helpSchema.optional(),
|
|
4698
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4699
|
-
autofillKey: z.string().optional(),
|
|
4700
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4701
|
-
disabled: z.boolean().optional()
|
|
4739
|
+
alert: alertLayoutSchema.optional()
|
|
4702
4740
|
})
|
|
4703
4741
|
);
|
|
4704
|
-
var
|
|
4742
|
+
var booleanSchemaSchema = z.lazy(
|
|
4705
4743
|
() => z.object({
|
|
4706
|
-
type: z.literal("
|
|
4744
|
+
type: z.literal("boolean"),
|
|
4707
4745
|
autofillProvider: z.string().optional(),
|
|
4708
4746
|
promoted: z.boolean().optional(),
|
|
4709
4747
|
refreshFormOnChange: z.boolean().optional(),
|
|
4710
4748
|
refreshUrl: z.string().optional(),
|
|
4711
4749
|
refreshFormUrl: z.string().optional(),
|
|
4712
|
-
format: stringSchemaFormatSchema.optional(),
|
|
4713
|
-
displayFormat: z.string().optional(),
|
|
4714
|
-
placeholder: z.string().optional(),
|
|
4715
|
-
minLength: z.number().optional(),
|
|
4716
|
-
maxLength: z.number().optional(),
|
|
4717
|
-
minimum: z.string().optional(),
|
|
4718
|
-
maximum: z.string().optional(),
|
|
4719
|
-
pattern: z.string().optional(),
|
|
4720
|
-
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
4721
4750
|
$id: z.string().optional(),
|
|
4722
4751
|
title: z.string().optional(),
|
|
4723
4752
|
description: z.string().optional(),
|
|
4724
4753
|
control: z.string().optional(),
|
|
4725
|
-
default: z.
|
|
4754
|
+
default: z.boolean().optional(),
|
|
4726
4755
|
hidden: z.boolean().optional(),
|
|
4727
4756
|
disabled: z.boolean().optional(),
|
|
4728
4757
|
icon: iconSchema.optional(),
|
|
@@ -4733,71 +4762,42 @@ var stringSchemaSchema = z.lazy(
|
|
|
4733
4762
|
persistAsync: persistAsyncSchema.optional(),
|
|
4734
4763
|
refreshStepOnChange: z.boolean().optional(),
|
|
4735
4764
|
validationAsync: validateAsyncSchema.optional(),
|
|
4736
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4737
4765
|
alert: alertLayoutSchema.optional(),
|
|
4738
|
-
cameraConfig: jsonElementSchema.optional(),
|
|
4739
|
-
accepts: z.array(z.string()).optional(),
|
|
4740
|
-
maxSize: z.number().optional(),
|
|
4741
|
-
source: uploadSourceSchema.optional(),
|
|
4742
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4743
4766
|
autofillKey: z.string().optional(),
|
|
4744
4767
|
help: helpSchema.optional()
|
|
4745
4768
|
})
|
|
4746
4769
|
);
|
|
4747
|
-
var
|
|
4770
|
+
var integerSchemaSchema = z.lazy(
|
|
4748
4771
|
() => z.object({
|
|
4749
|
-
type: z.literal("
|
|
4772
|
+
type: z.literal("integer"),
|
|
4773
|
+
autofillProvider: z.string().optional(),
|
|
4750
4774
|
promoted: z.boolean().optional(),
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
editItemTitle: z.string(),
|
|
4755
|
-
minItems: z.number().optional(),
|
|
4756
|
-
maxItems: z.number().optional(),
|
|
4775
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
4776
|
+
refreshUrl: z.string().optional(),
|
|
4777
|
+
refreshFormUrl: z.string().optional(),
|
|
4757
4778
|
placeholder: z.string().optional(),
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
control: z.string().optional(),
|
|
4761
|
-
hidden: z.boolean().optional(),
|
|
4762
|
-
icon: iconSchema.optional(),
|
|
4763
|
-
image: imageSchema.optional(),
|
|
4764
|
-
keywords: z.array(z.string()).optional(),
|
|
4765
|
-
summary: summarySummariserSchema.optional(),
|
|
4766
|
-
analyticsId: z.string().optional(),
|
|
4767
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4768
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4769
|
-
alert: alertLayoutSchema.optional(),
|
|
4770
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4771
|
-
disabled: z.boolean().optional()
|
|
4772
|
-
})
|
|
4773
|
-
);
|
|
4774
|
-
var persistAsyncSchema = z.lazy(
|
|
4775
|
-
() => z.object({
|
|
4776
|
-
param: z.string(),
|
|
4777
|
-
idProperty: z.string(),
|
|
4778
|
-
schema: schemaSchema,
|
|
4779
|
-
url: z.string(),
|
|
4780
|
-
method: httpMethodSchema
|
|
4781
|
-
})
|
|
4782
|
-
);
|
|
4783
|
-
var arraySchemaTupleSchema = z.lazy(
|
|
4784
|
-
() => z.object({
|
|
4785
|
-
type: z.literal("array"),
|
|
4786
|
-
promoted: z.boolean().optional(),
|
|
4779
|
+
minimum: z.number().optional(),
|
|
4780
|
+
maximum: z.number().optional(),
|
|
4787
4781
|
$id: z.string().optional(),
|
|
4788
|
-
items: z.array(schemaSchema),
|
|
4789
4782
|
title: z.string().optional(),
|
|
4790
4783
|
description: z.string().optional(),
|
|
4791
4784
|
control: z.string().optional(),
|
|
4785
|
+
default: z.number().optional(),
|
|
4792
4786
|
hidden: z.boolean().optional(),
|
|
4787
|
+
disabled: z.boolean().optional(),
|
|
4793
4788
|
icon: iconSchema.optional(),
|
|
4794
4789
|
image: imageSchema.optional(),
|
|
4795
4790
|
keywords: z.array(z.string()).optional(),
|
|
4796
4791
|
summary: summaryProviderSchema.optional(),
|
|
4797
4792
|
analyticsId: z.string().optional(),
|
|
4798
4793
|
persistAsync: persistAsyncSchema.optional(),
|
|
4794
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
4799
4795
|
validationAsync: validateAsyncSchema.optional(),
|
|
4800
|
-
|
|
4796
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4797
|
+
alert: alertLayoutSchema.optional(),
|
|
4798
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4799
|
+
autofillKey: z.string().optional(),
|
|
4800
|
+
help: helpSchema.optional()
|
|
4801
4801
|
})
|
|
4802
4802
|
);
|
|
4803
4803
|
|