@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.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,6 +4284,10 @@ 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
4292
|
description: z.string().optional(),
|
|
4267
4293
|
status: listLayoutStatusSchema.optional(),
|
|
@@ -4280,21 +4306,26 @@ var decisionLayoutOptionSchema = z.object({
|
|
|
4280
4306
|
icon: iconSchema.optional(),
|
|
4281
4307
|
image: imageLayoutSchema.optional()
|
|
4282
4308
|
});
|
|
4283
|
-
var instructionsLayoutSchema = z.object({
|
|
4284
|
-
type: z.literal("instructions"),
|
|
4285
|
-
title: z.string().optional(),
|
|
4286
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
4287
|
-
control: z.string().optional(),
|
|
4288
|
-
margin: sizeSchema.optional()
|
|
4289
|
-
});
|
|
4290
4309
|
var behaviorSchema = z.object({
|
|
4291
4310
|
action: actionSchema.optional(),
|
|
4292
4311
|
link: linkSchema.optional()
|
|
4293
4312
|
});
|
|
4294
|
-
var
|
|
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({
|
|
4295
4320
|
title: z.string(),
|
|
4296
|
-
|
|
4297
|
-
|
|
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()
|
|
4298
4329
|
});
|
|
4299
4330
|
var buttonLayoutSchema = z.object({
|
|
4300
4331
|
type: z.literal("button"),
|
|
@@ -4307,20 +4338,6 @@ var buttonLayoutSchema = z.object({
|
|
|
4307
4338
|
control: z.string().optional(),
|
|
4308
4339
|
margin: sizeSchema.optional()
|
|
4309
4340
|
});
|
|
4310
|
-
var reviewLayoutFieldSchema = z.object({
|
|
4311
|
-
label: z.string(),
|
|
4312
|
-
value: z.string(),
|
|
4313
|
-
rawValue: z.string().optional(),
|
|
4314
|
-
help: helpSchema.optional()
|
|
4315
|
-
});
|
|
4316
|
-
var searchResultSearchSchema = z.object({
|
|
4317
|
-
type: z.literal("search"),
|
|
4318
|
-
title: z.string(),
|
|
4319
|
-
description: z.string().optional(),
|
|
4320
|
-
icon: iconSchema.optional(),
|
|
4321
|
-
image: imageLayoutSchema.optional(),
|
|
4322
|
-
value: searchSearchRequestSchema
|
|
4323
|
-
});
|
|
4324
4341
|
var searchResultActionSchema = z.object({
|
|
4325
4342
|
type: z.literal("action"),
|
|
4326
4343
|
title: z.string(),
|
|
@@ -4329,20 +4346,10 @@ var searchResultActionSchema = z.object({
|
|
|
4329
4346
|
image: imageLayoutSchema.optional(),
|
|
4330
4347
|
value: actionSchema
|
|
4331
4348
|
});
|
|
4349
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4332
4350
|
var actionResponseBodySchema = z.object({
|
|
4333
4351
|
action: actionSchema
|
|
4334
4352
|
});
|
|
4335
|
-
var errorResponseBodySchema = z.object({
|
|
4336
|
-
refreshFormUrl: z.string().optional(),
|
|
4337
|
-
analytics: z.record(z.string()).optional(),
|
|
4338
|
-
error: z.string().optional(),
|
|
4339
|
-
validation: jsonElementSchema.optional(),
|
|
4340
|
-
refreshUrl: z.string().optional()
|
|
4341
|
-
});
|
|
4342
|
-
var linkHandlerSchema = z.object({
|
|
4343
|
-
regexPattern: z.string(),
|
|
4344
|
-
action: actionSchema
|
|
4345
|
-
});
|
|
4346
4353
|
var pollingOnErrorSchema = z.object({
|
|
4347
4354
|
action: actionSchema
|
|
4348
4355
|
});
|
|
@@ -4350,27 +4357,47 @@ var navigationBackBehaviorSchema = z.object({
|
|
|
4350
4357
|
title: z.string().optional(),
|
|
4351
4358
|
action: actionSchema
|
|
4352
4359
|
});
|
|
4353
|
-
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({
|
|
4354
4374
|
title: z.string(),
|
|
4355
|
-
|
|
4375
|
+
accessibilityDescription: z.string().optional(),
|
|
4376
|
+
behavior: behaviorSchema
|
|
4356
4377
|
});
|
|
4357
4378
|
var alertLayoutCallToActionSchema = z.object({
|
|
4358
4379
|
title: z.string(),
|
|
4359
4380
|
accessibilityDescription: z.string().optional(),
|
|
4360
4381
|
behavior: behaviorSchema
|
|
4361
4382
|
});
|
|
4362
|
-
var
|
|
4383
|
+
var itemCallToActionSchema = z.object({
|
|
4363
4384
|
title: z.string(),
|
|
4364
4385
|
accessibilityDescription: z.string().optional(),
|
|
4365
4386
|
behavior: behaviorSchema
|
|
4366
4387
|
});
|
|
4367
|
-
var
|
|
4368
|
-
type: z.literal("
|
|
4388
|
+
var reviewLayoutSchema = z.object({
|
|
4389
|
+
type: z.literal("review"),
|
|
4390
|
+
orientation: z.string().optional(),
|
|
4391
|
+
action: actionSchema.optional(),
|
|
4392
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
4369
4393
|
title: z.string().optional(),
|
|
4370
|
-
|
|
4394
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
4371
4395
|
control: z.string().optional(),
|
|
4372
4396
|
margin: sizeSchema.optional()
|
|
4373
4397
|
});
|
|
4398
|
+
var searchResponseBodySchema = z.object({
|
|
4399
|
+
results: z.array(searchResultSchema)
|
|
4400
|
+
});
|
|
4374
4401
|
var statusListLayoutItemSchema = z.object({
|
|
4375
4402
|
title: z.string(),
|
|
4376
4403
|
description: z.string().optional(),
|
|
@@ -4378,30 +4405,14 @@ var statusListLayoutItemSchema = z.object({
|
|
|
4378
4405
|
status: statusListLayoutStatusSchema.optional(),
|
|
4379
4406
|
callToAction: itemCallToActionSchema.optional()
|
|
4380
4407
|
});
|
|
4381
|
-
var
|
|
4382
|
-
type: z.literal("
|
|
4383
|
-
orientation: z.string().optional(),
|
|
4384
|
-
action: actionSchema.optional(),
|
|
4385
|
-
fields: z.array(reviewLayoutFieldSchema),
|
|
4408
|
+
var listLayoutSchema = z.object({
|
|
4409
|
+
type: z.literal("list"),
|
|
4386
4410
|
title: z.string().optional(),
|
|
4387
|
-
callToAction:
|
|
4411
|
+
callToAction: listLayoutCallToActionSchema.optional(),
|
|
4412
|
+
items: z.array(listLayoutItemSchema),
|
|
4388
4413
|
control: z.string().optional(),
|
|
4389
4414
|
margin: sizeSchema.optional()
|
|
4390
4415
|
});
|
|
4391
|
-
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4392
|
-
var pollingSchema = z.object({
|
|
4393
|
-
url: z.string(),
|
|
4394
|
-
interval: z.number().optional(),
|
|
4395
|
-
delay: z.number().optional(),
|
|
4396
|
-
timeout: z.number().optional(),
|
|
4397
|
-
maxAttempts: z.number(),
|
|
4398
|
-
onError: pollingOnErrorSchema
|
|
4399
|
-
});
|
|
4400
|
-
var navigationSchema = z.object({
|
|
4401
|
-
backButton: navigationBackBehaviorSchema.optional(),
|
|
4402
|
-
back: navigationBackBehaviorSchema.optional(),
|
|
4403
|
-
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
4404
|
-
});
|
|
4405
4416
|
var alertLayoutSchema = z.object({
|
|
4406
4417
|
type: z.literal("alert"),
|
|
4407
4418
|
markdown: z.string(),
|
|
@@ -4410,23 +4421,21 @@ var alertLayoutSchema = z.object({
|
|
|
4410
4421
|
margin: sizeSchema.optional(),
|
|
4411
4422
|
callToAction: alertLayoutCallToActionSchema.optional()
|
|
4412
4423
|
});
|
|
4413
|
-
var
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
callToAction: listLayoutCallToActionSchema.optional(),
|
|
4417
|
-
items: z.array(listLayoutItemSchema),
|
|
4424
|
+
var constSchemaSchema = z.object({
|
|
4425
|
+
hidden: z.boolean().optional(),
|
|
4426
|
+
alert: alertLayoutSchema.optional(),
|
|
4418
4427
|
control: z.string().optional(),
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
type: z.literal("status-list"),
|
|
4423
|
-
items: z.array(statusListLayoutItemSchema),
|
|
4428
|
+
promoted: z.boolean().optional(),
|
|
4429
|
+
$id: z.string().optional(),
|
|
4430
|
+
const: jsonElementSchema,
|
|
4424
4431
|
title: z.string().optional(),
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4432
|
+
description: z.string().optional(),
|
|
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()
|
|
4430
4439
|
});
|
|
4431
4440
|
var blobSchemaSchema = z.object({
|
|
4432
4441
|
type: z.literal("blob"),
|
|
@@ -4450,22 +4459,48 @@ var blobSchemaSchema = z.object({
|
|
|
4450
4459
|
source: uploadSourceSchema.optional(),
|
|
4451
4460
|
disabled: z.boolean().optional()
|
|
4452
4461
|
});
|
|
4453
|
-
var
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
control: z.string().optional(),
|
|
4457
|
-
promoted: z.boolean().optional(),
|
|
4458
|
-
$id: z.string().optional(),
|
|
4459
|
-
const: jsonElementSchema,
|
|
4462
|
+
var statusListLayoutSchema = z.object({
|
|
4463
|
+
type: z.literal("status-list"),
|
|
4464
|
+
items: z.array(statusListLayoutItemSchema),
|
|
4460
4465
|
title: z.string().optional(),
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
image: imageSchema.optional(),
|
|
4464
|
-
keywords: z.array(z.string()).optional(),
|
|
4465
|
-
summary: summaryProviderSchema.optional(),
|
|
4466
|
-
analyticsId: z.string().optional(),
|
|
4467
|
-
disabled: z.boolean().optional()
|
|
4466
|
+
control: z.string().optional(),
|
|
4467
|
+
margin: sizeSchema.optional()
|
|
4468
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
|
+
);
|
|
4469
4504
|
var layoutSchema = z.lazy(
|
|
4470
4505
|
() => z.union([
|
|
4471
4506
|
alertLayoutSchema,
|
|
@@ -4489,6 +4524,21 @@ var layoutSchema = z.lazy(
|
|
|
4489
4524
|
statusListLayoutSchema
|
|
4490
4525
|
])
|
|
4491
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
|
+
);
|
|
4492
4542
|
var boxLayoutSchema = z.lazy(
|
|
4493
4543
|
() => z.object({
|
|
4494
4544
|
type: z.literal("box"),
|
|
@@ -4509,62 +4559,42 @@ var columnsLayoutSchema = z.lazy(
|
|
|
4509
4559
|
margin: sizeSchema.optional()
|
|
4510
4560
|
})
|
|
4511
4561
|
);
|
|
4512
|
-
var
|
|
4513
|
-
() => z.
|
|
4514
|
-
type: z.literal("modal"),
|
|
4515
|
-
control: z.string().optional(),
|
|
4516
|
-
margin: sizeSchema.optional(),
|
|
4517
|
-
trigger: modalLayoutTriggerSchema,
|
|
4518
|
-
content: modalLayoutContentSchema
|
|
4519
|
-
})
|
|
4562
|
+
var arraySchemaSchema = z.lazy(
|
|
4563
|
+
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4520
4564
|
);
|
|
4521
|
-
var
|
|
4565
|
+
var arraySchemaListSchema = z.lazy(
|
|
4522
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(),
|
|
4523
4576
|
title: z.string().optional(),
|
|
4524
|
-
components: z.array(layoutSchema)
|
|
4525
|
-
})
|
|
4526
|
-
);
|
|
4527
|
-
var stepSchema = z.lazy(
|
|
4528
|
-
() => z.object({
|
|
4529
|
-
key: z.string().optional(),
|
|
4530
|
-
type: z.string().optional(),
|
|
4531
|
-
actions: z.array(actionSchema).optional(),
|
|
4532
|
-
refreshFormUrl: z.string().optional(),
|
|
4533
|
-
id: z.string(),
|
|
4534
|
-
title: z.string(),
|
|
4535
|
-
schemas: z.array(schemaSchema),
|
|
4536
|
-
layout: z.array(layoutSchema),
|
|
4537
4577
|
description: z.string().optional(),
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
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()
|
|
4546
4590
|
})
|
|
4547
4591
|
);
|
|
4548
|
-
var
|
|
4549
|
-
() => z.union([
|
|
4550
|
-
allOfSchemaSchema,
|
|
4551
|
-
arraySchemaSchema,
|
|
4552
|
-
blobSchemaSchema,
|
|
4553
|
-
booleanSchemaSchema,
|
|
4554
|
-
constSchemaSchema,
|
|
4555
|
-
integerSchemaSchema,
|
|
4556
|
-
numberSchemaSchema,
|
|
4557
|
-
objectSchemaSchema,
|
|
4558
|
-
oneOfSchemaSchema,
|
|
4559
|
-
stringSchemaSchema
|
|
4560
|
-
])
|
|
4561
|
-
);
|
|
4562
|
-
var allOfSchemaSchema = z.lazy(
|
|
4592
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
4563
4593
|
() => z.object({
|
|
4564
|
-
|
|
4594
|
+
type: z.literal("array"),
|
|
4565
4595
|
promoted: z.boolean().optional(),
|
|
4566
|
-
allOf: z.array(schemaSchema),
|
|
4567
4596
|
$id: z.string().optional(),
|
|
4597
|
+
items: z.array(schemaSchema),
|
|
4568
4598
|
title: z.string().optional(),
|
|
4569
4599
|
description: z.string().optional(),
|
|
4570
4600
|
control: z.string().optional(),
|
|
@@ -4574,56 +4604,63 @@ var allOfSchemaSchema = z.lazy(
|
|
|
4574
4604
|
keywords: z.array(z.string()).optional(),
|
|
4575
4605
|
summary: summaryProviderSchema.optional(),
|
|
4576
4606
|
analyticsId: z.string().optional(),
|
|
4607
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
4608
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
4577
4609
|
alert: alertLayoutSchema.optional()
|
|
4578
4610
|
})
|
|
4579
4611
|
);
|
|
4580
|
-
var
|
|
4581
|
-
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
4582
|
-
);
|
|
4583
|
-
var booleanSchemaSchema = z.lazy(
|
|
4612
|
+
var oneOfSchemaSchema = z.lazy(
|
|
4584
4613
|
() => z.object({
|
|
4585
|
-
type: z.literal("boolean"),
|
|
4586
4614
|
autofillProvider: z.string().optional(),
|
|
4587
4615
|
promoted: z.boolean().optional(),
|
|
4588
4616
|
refreshFormOnChange: z.boolean().optional(),
|
|
4589
4617
|
refreshUrl: z.string().optional(),
|
|
4590
4618
|
refreshFormUrl: z.string().optional(),
|
|
4619
|
+
promotion: jsonElementSchema.optional(),
|
|
4620
|
+
oneOf: z.array(schemaSchema),
|
|
4621
|
+
placeholder: z.string().optional(),
|
|
4591
4622
|
$id: z.string().optional(),
|
|
4592
4623
|
title: z.string().optional(),
|
|
4593
4624
|
description: z.string().optional(),
|
|
4594
4625
|
control: z.string().optional(),
|
|
4595
|
-
default:
|
|
4626
|
+
default: jsonElementSchema.optional(),
|
|
4596
4627
|
hidden: z.boolean().optional(),
|
|
4597
|
-
disabled: z.boolean().optional(),
|
|
4598
4628
|
icon: iconSchema.optional(),
|
|
4599
4629
|
image: imageSchema.optional(),
|
|
4600
4630
|
keywords: z.array(z.string()).optional(),
|
|
4601
4631
|
summary: summaryProviderSchema.optional(),
|
|
4602
4632
|
analyticsId: z.string().optional(),
|
|
4603
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4604
4633
|
refreshStepOnChange: z.boolean().optional(),
|
|
4605
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4606
4634
|
alert: alertLayoutSchema.optional(),
|
|
4635
|
+
help: helpSchema.optional(),
|
|
4636
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4607
4637
|
autofillKey: z.string().optional(),
|
|
4608
|
-
|
|
4638
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4639
|
+
disabled: z.boolean().optional()
|
|
4609
4640
|
})
|
|
4610
4641
|
);
|
|
4611
|
-
var
|
|
4642
|
+
var stringSchemaSchema = z.lazy(
|
|
4612
4643
|
() => z.object({
|
|
4613
|
-
type: z.literal("
|
|
4644
|
+
type: z.literal("string"),
|
|
4614
4645
|
autofillProvider: z.string().optional(),
|
|
4615
4646
|
promoted: z.boolean().optional(),
|
|
4616
4647
|
refreshFormOnChange: z.boolean().optional(),
|
|
4617
4648
|
refreshUrl: z.string().optional(),
|
|
4618
4649
|
refreshFormUrl: z.string().optional(),
|
|
4650
|
+
format: stringSchemaFormatSchema.optional(),
|
|
4651
|
+
displayFormat: z.string().optional(),
|
|
4619
4652
|
placeholder: z.string().optional(),
|
|
4620
|
-
|
|
4621
|
-
|
|
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(),
|
|
4622
4659
|
$id: z.string().optional(),
|
|
4623
4660
|
title: z.string().optional(),
|
|
4624
4661
|
description: z.string().optional(),
|
|
4625
4662
|
control: z.string().optional(),
|
|
4626
|
-
default: z.
|
|
4663
|
+
default: z.string().optional(),
|
|
4627
4664
|
hidden: z.boolean().optional(),
|
|
4628
4665
|
disabled: z.boolean().optional(),
|
|
4629
4666
|
icon: iconSchema.optional(),
|
|
@@ -4636,11 +4673,24 @@ var integerSchemaSchema = z.lazy(
|
|
|
4636
4673
|
validationAsync: validateAsyncSchema.optional(),
|
|
4637
4674
|
validationMessages: z.record(z.string()).optional(),
|
|
4638
4675
|
alert: alertLayoutSchema.optional(),
|
|
4676
|
+
cameraConfig: jsonElementSchema.optional(),
|
|
4677
|
+
accepts: z.array(z.string()).optional(),
|
|
4678
|
+
maxSize: z.number().optional(),
|
|
4679
|
+
source: uploadSourceSchema.optional(),
|
|
4639
4680
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4640
4681
|
autofillKey: z.string().optional(),
|
|
4641
4682
|
help: helpSchema.optional()
|
|
4642
4683
|
})
|
|
4643
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
|
+
);
|
|
4644
4694
|
var numberSchemaSchema = z.lazy(
|
|
4645
4695
|
() => z.object({
|
|
4646
4696
|
type: z.literal("number"),
|
|
@@ -4674,15 +4724,11 @@ var numberSchemaSchema = z.lazy(
|
|
|
4674
4724
|
help: helpSchema.optional()
|
|
4675
4725
|
})
|
|
4676
4726
|
);
|
|
4677
|
-
var
|
|
4727
|
+
var allOfSchemaSchema = z.lazy(
|
|
4678
4728
|
() => z.object({
|
|
4679
|
-
type: z.literal("object"),
|
|
4680
4729
|
disabled: z.boolean().optional(),
|
|
4681
4730
|
promoted: z.boolean().optional(),
|
|
4682
|
-
|
|
4683
|
-
properties: z.record(schemaSchema),
|
|
4684
|
-
displayOrder: z.array(z.string()),
|
|
4685
|
-
required: z.array(z.string()).optional(),
|
|
4731
|
+
allOf: z.array(schemaSchema),
|
|
4686
4732
|
$id: z.string().optional(),
|
|
4687
4733
|
title: z.string().optional(),
|
|
4688
4734
|
description: z.string().optional(),
|
|
@@ -4696,58 +4742,41 @@ var objectSchemaSchema = z.lazy(
|
|
|
4696
4742
|
alert: alertLayoutSchema.optional()
|
|
4697
4743
|
})
|
|
4698
4744
|
);
|
|
4699
|
-
var
|
|
4745
|
+
var objectSchemaSchema = z.lazy(
|
|
4700
4746
|
() => z.object({
|
|
4701
|
-
|
|
4747
|
+
type: z.literal("object"),
|
|
4748
|
+
disabled: z.boolean().optional(),
|
|
4702
4749
|
promoted: z.boolean().optional(),
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
oneOf: z.array(schemaSchema),
|
|
4708
|
-
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(),
|
|
4709
4754
|
$id: z.string().optional(),
|
|
4710
4755
|
title: z.string().optional(),
|
|
4711
4756
|
description: z.string().optional(),
|
|
4712
4757
|
control: z.string().optional(),
|
|
4713
|
-
default: jsonElementSchema.optional(),
|
|
4714
4758
|
hidden: z.boolean().optional(),
|
|
4715
4759
|
icon: iconSchema.optional(),
|
|
4716
4760
|
image: imageSchema.optional(),
|
|
4717
4761
|
keywords: z.array(z.string()).optional(),
|
|
4718
4762
|
summary: summaryProviderSchema.optional(),
|
|
4719
4763
|
analyticsId: z.string().optional(),
|
|
4720
|
-
|
|
4721
|
-
alert: alertLayoutSchema.optional(),
|
|
4722
|
-
help: helpSchema.optional(),
|
|
4723
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4724
|
-
autofillKey: z.string().optional(),
|
|
4725
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4726
|
-
disabled: z.boolean().optional()
|
|
4764
|
+
alert: alertLayoutSchema.optional()
|
|
4727
4765
|
})
|
|
4728
4766
|
);
|
|
4729
|
-
var
|
|
4767
|
+
var booleanSchemaSchema = z.lazy(
|
|
4730
4768
|
() => z.object({
|
|
4731
|
-
type: z.literal("
|
|
4769
|
+
type: z.literal("boolean"),
|
|
4732
4770
|
autofillProvider: z.string().optional(),
|
|
4733
4771
|
promoted: z.boolean().optional(),
|
|
4734
4772
|
refreshFormOnChange: z.boolean().optional(),
|
|
4735
4773
|
refreshUrl: z.string().optional(),
|
|
4736
4774
|
refreshFormUrl: z.string().optional(),
|
|
4737
|
-
format: stringSchemaFormatSchema.optional(),
|
|
4738
|
-
displayFormat: z.string().optional(),
|
|
4739
|
-
placeholder: z.string().optional(),
|
|
4740
|
-
minLength: z.number().optional(),
|
|
4741
|
-
maxLength: z.number().optional(),
|
|
4742
|
-
minimum: z.string().optional(),
|
|
4743
|
-
maximum: z.string().optional(),
|
|
4744
|
-
pattern: z.string().optional(),
|
|
4745
|
-
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
4746
4775
|
$id: z.string().optional(),
|
|
4747
4776
|
title: z.string().optional(),
|
|
4748
4777
|
description: z.string().optional(),
|
|
4749
4778
|
control: z.string().optional(),
|
|
4750
|
-
default: z.
|
|
4779
|
+
default: z.boolean().optional(),
|
|
4751
4780
|
hidden: z.boolean().optional(),
|
|
4752
4781
|
disabled: z.boolean().optional(),
|
|
4753
4782
|
icon: iconSchema.optional(),
|
|
@@ -4758,71 +4787,42 @@ var stringSchemaSchema = z.lazy(
|
|
|
4758
4787
|
persistAsync: persistAsyncSchema.optional(),
|
|
4759
4788
|
refreshStepOnChange: z.boolean().optional(),
|
|
4760
4789
|
validationAsync: validateAsyncSchema.optional(),
|
|
4761
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4762
4790
|
alert: alertLayoutSchema.optional(),
|
|
4763
|
-
cameraConfig: jsonElementSchema.optional(),
|
|
4764
|
-
accepts: z.array(z.string()).optional(),
|
|
4765
|
-
maxSize: z.number().optional(),
|
|
4766
|
-
source: uploadSourceSchema.optional(),
|
|
4767
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
4768
4791
|
autofillKey: z.string().optional(),
|
|
4769
4792
|
help: helpSchema.optional()
|
|
4770
4793
|
})
|
|
4771
4794
|
);
|
|
4772
|
-
var
|
|
4795
|
+
var integerSchemaSchema = z.lazy(
|
|
4773
4796
|
() => z.object({
|
|
4774
|
-
type: z.literal("
|
|
4797
|
+
type: z.literal("integer"),
|
|
4798
|
+
autofillProvider: z.string().optional(),
|
|
4775
4799
|
promoted: z.boolean().optional(),
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
editItemTitle: z.string(),
|
|
4780
|
-
minItems: z.number().optional(),
|
|
4781
|
-
maxItems: z.number().optional(),
|
|
4800
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
4801
|
+
refreshUrl: z.string().optional(),
|
|
4802
|
+
refreshFormUrl: z.string().optional(),
|
|
4782
4803
|
placeholder: z.string().optional(),
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
control: z.string().optional(),
|
|
4786
|
-
hidden: z.boolean().optional(),
|
|
4787
|
-
icon: iconSchema.optional(),
|
|
4788
|
-
image: imageSchema.optional(),
|
|
4789
|
-
keywords: z.array(z.string()).optional(),
|
|
4790
|
-
summary: summarySummariserSchema.optional(),
|
|
4791
|
-
analyticsId: z.string().optional(),
|
|
4792
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
4793
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
4794
|
-
alert: alertLayoutSchema.optional(),
|
|
4795
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4796
|
-
disabled: z.boolean().optional()
|
|
4797
|
-
})
|
|
4798
|
-
);
|
|
4799
|
-
var persistAsyncSchema = z.lazy(
|
|
4800
|
-
() => z.object({
|
|
4801
|
-
param: z.string(),
|
|
4802
|
-
idProperty: z.string(),
|
|
4803
|
-
schema: schemaSchema,
|
|
4804
|
-
url: z.string(),
|
|
4805
|
-
method: httpMethodSchema
|
|
4806
|
-
})
|
|
4807
|
-
);
|
|
4808
|
-
var arraySchemaTupleSchema = z.lazy(
|
|
4809
|
-
() => z.object({
|
|
4810
|
-
type: z.literal("array"),
|
|
4811
|
-
promoted: z.boolean().optional(),
|
|
4804
|
+
minimum: z.number().optional(),
|
|
4805
|
+
maximum: z.number().optional(),
|
|
4812
4806
|
$id: z.string().optional(),
|
|
4813
|
-
items: z.array(schemaSchema),
|
|
4814
4807
|
title: z.string().optional(),
|
|
4815
4808
|
description: z.string().optional(),
|
|
4816
4809
|
control: z.string().optional(),
|
|
4810
|
+
default: z.number().optional(),
|
|
4817
4811
|
hidden: z.boolean().optional(),
|
|
4812
|
+
disabled: z.boolean().optional(),
|
|
4818
4813
|
icon: iconSchema.optional(),
|
|
4819
4814
|
image: imageSchema.optional(),
|
|
4820
4815
|
keywords: z.array(z.string()).optional(),
|
|
4821
4816
|
summary: summaryProviderSchema.optional(),
|
|
4822
4817
|
analyticsId: z.string().optional(),
|
|
4823
4818
|
persistAsync: persistAsyncSchema.optional(),
|
|
4819
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
4824
4820
|
validationAsync: validateAsyncSchema.optional(),
|
|
4825
|
-
|
|
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()
|
|
4826
4826
|
})
|
|
4827
4827
|
);
|
|
4828
4828
|
|