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