@wise/dynamic-flow-client 4.0.0-experimental-9cbdd3f → 4.0.0
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 +408 -408
- package/build/main.mjs +408 -408
- package/build/types/revamp/renderers/utils.d.ts +1 -1
- package/package.json +2 -2
package/build/main.mjs
CHANGED
|
@@ -5386,37 +5386,11 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5386
5386
|
quotelessJson,
|
|
5387
5387
|
ZodError
|
|
5388
5388
|
});
|
|
5389
|
-
var
|
|
5390
|
-
|
|
5391
|
-
url: z.string()
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
z.literal("default"),
|
|
5395
|
-
z.literal("remove-previous"),
|
|
5396
|
-
z.literal("remove-all"),
|
|
5397
|
-
z.literal("replace-current")
|
|
5398
|
-
]);
|
|
5399
|
-
var jsonElementSchema = z.lazy(
|
|
5400
|
-
() => z.union([
|
|
5401
|
-
z.string(),
|
|
5402
|
-
z.number(),
|
|
5403
|
-
z.boolean(),
|
|
5404
|
-
z.record(jsonElementSchema),
|
|
5405
|
-
z.array(jsonElementSchema)
|
|
5406
|
-
]).nullable()
|
|
5407
|
-
);
|
|
5408
|
-
var helpSchema = z.object({
|
|
5409
|
-
markdown: z.string()
|
|
5410
|
-
});
|
|
5411
|
-
var actionTypeSchema = z.union([
|
|
5412
|
-
z.literal("primary"),
|
|
5413
|
-
z.literal("secondary"),
|
|
5414
|
-
z.literal("link"),
|
|
5415
|
-
z.literal("positive"),
|
|
5416
|
-
z.literal("negative")
|
|
5417
|
-
]);
|
|
5418
|
-
var linkSchema = z.object({
|
|
5419
|
-
url: z.string()
|
|
5389
|
+
var imageSchema = z.object({
|
|
5390
|
+
text: z.string().optional(),
|
|
5391
|
+
url: z.string().optional(),
|
|
5392
|
+
uri: z.string().optional(),
|
|
5393
|
+
accessibilityDescription: z.string().optional()
|
|
5420
5394
|
});
|
|
5421
5395
|
var httpMethodSchema = z.union([
|
|
5422
5396
|
z.literal("GET"),
|
|
@@ -5425,54 +5399,8 @@ var httpMethodSchema = z.union([
|
|
|
5425
5399
|
z.literal("PATCH"),
|
|
5426
5400
|
z.literal("DELETE")
|
|
5427
5401
|
]);
|
|
5428
|
-
var
|
|
5429
|
-
|
|
5430
|
-
param: z.string(),
|
|
5431
|
-
method: httpMethodSchema,
|
|
5432
|
-
url: z.string()
|
|
5433
|
-
});
|
|
5434
|
-
var summaryProviderSchema = z.object({
|
|
5435
|
-
providesTitle: z.boolean().optional(),
|
|
5436
|
-
providesDescription: z.boolean().optional(),
|
|
5437
|
-
providesIcon: z.boolean().optional(),
|
|
5438
|
-
providesImage: z.boolean().optional()
|
|
5439
|
-
});
|
|
5440
|
-
var imageSchema = z.object({
|
|
5441
|
-
text: z.string().optional(),
|
|
5442
|
-
url: z.string().optional(),
|
|
5443
|
-
uri: z.string().optional(),
|
|
5444
|
-
accessibilityDescription: z.string().optional()
|
|
5445
|
-
});
|
|
5446
|
-
var externalSchema = z.object({
|
|
5447
|
-
url: z.string()
|
|
5448
|
-
});
|
|
5449
|
-
var columnsLayoutBiasSchema = z.union([
|
|
5450
|
-
z.literal("none"),
|
|
5451
|
-
z.literal("left"),
|
|
5452
|
-
z.literal("right")
|
|
5453
|
-
]);
|
|
5454
|
-
var sizeSchema = z.union([
|
|
5455
|
-
z.literal("xs"),
|
|
5456
|
-
z.literal("sm"),
|
|
5457
|
-
z.literal("md"),
|
|
5458
|
-
z.literal("lg"),
|
|
5459
|
-
z.literal("xl")
|
|
5460
|
-
]);
|
|
5461
|
-
var dividerLayoutSchema = z.object({
|
|
5462
|
-
type: z.literal("divider"),
|
|
5463
|
-
control: z.string().optional(),
|
|
5464
|
-
margin: sizeSchema.optional()
|
|
5465
|
-
});
|
|
5466
|
-
var statusListLayoutStatusSchema = z.union([
|
|
5467
|
-
z.literal("not-done"),
|
|
5468
|
-
z.literal("pending"),
|
|
5469
|
-
z.literal("done")
|
|
5470
|
-
]);
|
|
5471
|
-
var loadingIndicatorLayoutSchema = z.object({
|
|
5472
|
-
type: z.literal("loading-indicator"),
|
|
5473
|
-
size: sizeSchema.optional(),
|
|
5474
|
-
control: z.string().optional(),
|
|
5475
|
-
margin: sizeSchema.optional()
|
|
5402
|
+
var iconNamedSchema = z.object({
|
|
5403
|
+
name: z.string()
|
|
5476
5404
|
});
|
|
5477
5405
|
var contextSchema = z.union([
|
|
5478
5406
|
z.literal("positive"),
|
|
@@ -5484,92 +5412,24 @@ var contextSchema = z.union([
|
|
|
5484
5412
|
z.literal("info"),
|
|
5485
5413
|
z.literal("primary")
|
|
5486
5414
|
]);
|
|
5487
|
-
var
|
|
5488
|
-
text: z.string()
|
|
5489
|
-
context: contextSchema,
|
|
5490
|
-
tag: z.string().optional()
|
|
5491
|
-
});
|
|
5492
|
-
var formLayoutSchemaReferenceSchema = z.object({
|
|
5493
|
-
$ref: z.string()
|
|
5494
|
-
});
|
|
5495
|
-
var modalLayoutTriggerSchema = z.object({
|
|
5496
|
-
title: z.string()
|
|
5497
|
-
});
|
|
5498
|
-
var instructionsLayoutSchema = z.object({
|
|
5499
|
-
type: z.literal("instructions"),
|
|
5500
|
-
title: z.string().optional(),
|
|
5501
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
5502
|
-
control: z.string().optional(),
|
|
5503
|
-
margin: sizeSchema.optional()
|
|
5504
|
-
});
|
|
5505
|
-
var reviewLayoutFieldSchema = z.object({
|
|
5506
|
-
label: z.string(),
|
|
5507
|
-
value: z.string(),
|
|
5508
|
-
rawValue: z.string().optional(),
|
|
5509
|
-
help: helpSchema.optional(),
|
|
5510
|
-
tag: z.string().optional()
|
|
5511
|
-
});
|
|
5512
|
-
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
5513
|
-
var searchLayoutSchema = z.object({
|
|
5514
|
-
type: z.literal("search"),
|
|
5515
|
-
title: z.string(),
|
|
5516
|
-
method: httpMethodSchema,
|
|
5517
|
-
url: z.string(),
|
|
5518
|
-
param: z.string(),
|
|
5519
|
-
emptyMessage: z.string().optional(),
|
|
5520
|
-
control: z.string().optional(),
|
|
5521
|
-
margin: sizeSchema.optional()
|
|
5522
|
-
});
|
|
5523
|
-
var headingLayoutSchema = z.object({
|
|
5524
|
-
type: z.literal("heading"),
|
|
5525
|
-
text: z.string(),
|
|
5526
|
-
size: sizeSchema.optional(),
|
|
5527
|
-
align: alignSchema.optional(),
|
|
5528
|
-
control: z.string().optional(),
|
|
5529
|
-
margin: sizeSchema.optional()
|
|
5530
|
-
});
|
|
5531
|
-
var imageLayoutSchema = z.object({
|
|
5532
|
-
type: z.literal("image"),
|
|
5533
|
-
text: z.string().optional(),
|
|
5534
|
-
url: z.string().optional(),
|
|
5535
|
-
accessibilityDescription: z.string().optional(),
|
|
5536
|
-
content: imageSchema.optional(),
|
|
5537
|
-
size: sizeSchema.optional(),
|
|
5538
|
-
control: z.string().optional(),
|
|
5539
|
-
margin: sizeSchema.optional()
|
|
5540
|
-
});
|
|
5541
|
-
var markdownLayoutSchema = z.object({
|
|
5542
|
-
type: z.literal("markdown"),
|
|
5543
|
-
content: z.string(),
|
|
5544
|
-
align: alignSchema.optional(),
|
|
5545
|
-
control: z.string().optional(),
|
|
5546
|
-
margin: sizeSchema.optional()
|
|
5547
|
-
});
|
|
5548
|
-
var paragraphLayoutSchema = z.object({
|
|
5549
|
-
type: z.literal("paragraph"),
|
|
5550
|
-
text: z.string(),
|
|
5551
|
-
align: alignSchema.optional(),
|
|
5552
|
-
control: z.string().optional(),
|
|
5553
|
-
margin: sizeSchema.optional()
|
|
5415
|
+
var iconTextSchema = z.object({
|
|
5416
|
+
text: z.string()
|
|
5554
5417
|
});
|
|
5555
|
-
var
|
|
5556
|
-
z.literal("
|
|
5557
|
-
z.literal("
|
|
5558
|
-
z.literal("
|
|
5418
|
+
var sizeSchema = z.union([
|
|
5419
|
+
z.literal("xs"),
|
|
5420
|
+
z.literal("sm"),
|
|
5421
|
+
z.literal("md"),
|
|
5422
|
+
z.literal("lg"),
|
|
5423
|
+
z.literal("xl")
|
|
5559
5424
|
]);
|
|
5560
|
-
var
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
var
|
|
5568
|
-
url: z.string(),
|
|
5569
|
-
method: httpMethodSchema,
|
|
5570
|
-
param: z.string(),
|
|
5571
|
-
query: z.string()
|
|
5572
|
-
});
|
|
5425
|
+
var autocapitalizationTypeSchema = z.union([
|
|
5426
|
+
z.literal("none"),
|
|
5427
|
+
z.literal("characters"),
|
|
5428
|
+
z.literal("sentences"),
|
|
5429
|
+
z.literal("words")
|
|
5430
|
+
]);
|
|
5431
|
+
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
5432
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
5573
5433
|
var autocompleteTokenSchema = z.union([
|
|
5574
5434
|
z.literal("on"),
|
|
5575
5435
|
z.literal("name"),
|
|
@@ -5635,17 +5495,123 @@ var autocompleteTokenSchema = z.union([
|
|
|
5635
5495
|
z.literal("fax"),
|
|
5636
5496
|
z.literal("pager")
|
|
5637
5497
|
]);
|
|
5638
|
-
var
|
|
5498
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
5499
|
+
type: z.literal("loading-indicator"),
|
|
5500
|
+
size: sizeSchema.optional(),
|
|
5501
|
+
control: z.string().optional(),
|
|
5502
|
+
margin: sizeSchema.optional()
|
|
5503
|
+
});
|
|
5504
|
+
var paragraphLayoutSchema = z.object({
|
|
5505
|
+
type: z.literal("paragraph"),
|
|
5506
|
+
text: z.string(),
|
|
5507
|
+
align: alignSchema.optional(),
|
|
5508
|
+
control: z.string().optional(),
|
|
5509
|
+
margin: sizeSchema.optional()
|
|
5510
|
+
});
|
|
5511
|
+
var dividerLayoutSchema = z.object({
|
|
5512
|
+
type: z.literal("divider"),
|
|
5513
|
+
control: z.string().optional(),
|
|
5514
|
+
margin: sizeSchema.optional()
|
|
5515
|
+
});
|
|
5516
|
+
var listLayoutStatusSchema = z.union([
|
|
5517
|
+
z.literal("warning"),
|
|
5518
|
+
z.literal("neutral"),
|
|
5519
|
+
z.literal("positive")
|
|
5520
|
+
]);
|
|
5521
|
+
var formLayoutSchemaReferenceSchema = z.object({
|
|
5522
|
+
$ref: z.string()
|
|
5523
|
+
});
|
|
5524
|
+
var imageLayoutSchema = z.object({
|
|
5525
|
+
type: z.literal("image"),
|
|
5526
|
+
text: z.string().optional(),
|
|
5527
|
+
url: z.string().optional(),
|
|
5528
|
+
accessibilityDescription: z.string().optional(),
|
|
5529
|
+
content: imageSchema.optional(),
|
|
5530
|
+
size: sizeSchema.optional(),
|
|
5531
|
+
control: z.string().optional(),
|
|
5532
|
+
margin: sizeSchema.optional()
|
|
5533
|
+
});
|
|
5534
|
+
var statusListLayoutStatusSchema = z.union([
|
|
5535
|
+
z.literal("not-done"),
|
|
5536
|
+
z.literal("pending"),
|
|
5537
|
+
z.literal("done")
|
|
5538
|
+
]);
|
|
5539
|
+
var instructionsLayoutItemSchema = z.object({
|
|
5540
|
+
text: z.string(),
|
|
5541
|
+
context: contextSchema,
|
|
5542
|
+
tag: z.string().optional()
|
|
5543
|
+
});
|
|
5544
|
+
var modalLayoutTriggerSchema = z.object({
|
|
5545
|
+
title: z.string()
|
|
5546
|
+
});
|
|
5547
|
+
var searchLayoutSchema = z.object({
|
|
5548
|
+
type: z.literal("search"),
|
|
5549
|
+
title: z.string(),
|
|
5550
|
+
method: httpMethodSchema,
|
|
5551
|
+
url: z.string(),
|
|
5552
|
+
param: z.string(),
|
|
5553
|
+
emptyMessage: z.string().optional(),
|
|
5554
|
+
control: z.string().optional(),
|
|
5555
|
+
margin: sizeSchema.optional()
|
|
5556
|
+
});
|
|
5557
|
+
var infoLayoutSchema = z.object({
|
|
5558
|
+
type: z.literal("info"),
|
|
5559
|
+
markdown: z.string(),
|
|
5560
|
+
align: alignSchema.optional(),
|
|
5561
|
+
control: z.string().optional(),
|
|
5562
|
+
margin: sizeSchema.optional()
|
|
5563
|
+
});
|
|
5564
|
+
var formLayoutSchema = z.object({
|
|
5565
|
+
type: z.literal("form"),
|
|
5566
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
5567
|
+
schemaId: z.string(),
|
|
5568
|
+
control: z.string().optional(),
|
|
5569
|
+
margin: sizeSchema.optional()
|
|
5570
|
+
});
|
|
5571
|
+
var headingLayoutSchema = z.object({
|
|
5572
|
+
type: z.literal("heading"),
|
|
5573
|
+
text: z.string(),
|
|
5574
|
+
size: sizeSchema.optional(),
|
|
5575
|
+
align: alignSchema.optional(),
|
|
5576
|
+
control: z.string().optional(),
|
|
5577
|
+
margin: sizeSchema.optional()
|
|
5578
|
+
});
|
|
5579
|
+
var markdownLayoutSchema = z.object({
|
|
5580
|
+
type: z.literal("markdown"),
|
|
5581
|
+
content: z.string(),
|
|
5582
|
+
align: alignSchema.optional(),
|
|
5583
|
+
control: z.string().optional(),
|
|
5584
|
+
margin: sizeSchema.optional()
|
|
5585
|
+
});
|
|
5586
|
+
var columnsLayoutBiasSchema = z.union([
|
|
5639
5587
|
z.literal("none"),
|
|
5640
|
-
z.literal("
|
|
5641
|
-
z.literal("
|
|
5642
|
-
z.literal("words")
|
|
5588
|
+
z.literal("left"),
|
|
5589
|
+
z.literal("right")
|
|
5643
5590
|
]);
|
|
5644
|
-
var
|
|
5645
|
-
|
|
5591
|
+
var helpSchema = z.object({
|
|
5592
|
+
markdown: z.string()
|
|
5646
5593
|
});
|
|
5647
|
-
var
|
|
5648
|
-
|
|
5594
|
+
var searchSearchRequestSchema = z.object({
|
|
5595
|
+
url: z.string(),
|
|
5596
|
+
method: httpMethodSchema,
|
|
5597
|
+
param: z.string(),
|
|
5598
|
+
query: z.string()
|
|
5599
|
+
});
|
|
5600
|
+
var jsonElementSchema = z.lazy(
|
|
5601
|
+
() => z.union([
|
|
5602
|
+
z.string(),
|
|
5603
|
+
z.number(),
|
|
5604
|
+
z.boolean(),
|
|
5605
|
+
z.record(jsonElementSchema),
|
|
5606
|
+
z.array(jsonElementSchema)
|
|
5607
|
+
]).nullable()
|
|
5608
|
+
);
|
|
5609
|
+
var externalSchema = z.object({
|
|
5610
|
+
url: z.string()
|
|
5611
|
+
});
|
|
5612
|
+
var stepErrorSchema = z.object({
|
|
5613
|
+
error: z.string().optional(),
|
|
5614
|
+
validation: jsonElementSchema.optional()
|
|
5649
5615
|
});
|
|
5650
5616
|
var stringSchemaFormatSchema = z.union([
|
|
5651
5617
|
z.literal("date"),
|
|
@@ -5655,9 +5621,48 @@ var stringSchemaFormatSchema = z.union([
|
|
|
5655
5621
|
z.literal("phone-number"),
|
|
5656
5622
|
z.literal("base64url")
|
|
5657
5623
|
]);
|
|
5658
|
-
var
|
|
5659
|
-
|
|
5660
|
-
|
|
5624
|
+
var summarySummariserSchema = z.object({
|
|
5625
|
+
defaultTitle: z.string().optional(),
|
|
5626
|
+
defaultDescription: z.string().optional(),
|
|
5627
|
+
defaultIcon: iconSchema.optional(),
|
|
5628
|
+
defaultImage: imageSchema.optional(),
|
|
5629
|
+
providesTitle: z.boolean().optional(),
|
|
5630
|
+
providesDescription: z.boolean().optional(),
|
|
5631
|
+
providesIcon: z.boolean().optional(),
|
|
5632
|
+
providesImage: z.boolean().optional()
|
|
5633
|
+
});
|
|
5634
|
+
var validateAsyncSchema = z.object({
|
|
5635
|
+
param: z.string(),
|
|
5636
|
+
method: httpMethodSchema,
|
|
5637
|
+
url: z.string()
|
|
5638
|
+
});
|
|
5639
|
+
var summaryProviderSchema = z.object({
|
|
5640
|
+
providesTitle: z.boolean().optional(),
|
|
5641
|
+
providesDescription: z.boolean().optional(),
|
|
5642
|
+
providesIcon: z.boolean().optional(),
|
|
5643
|
+
providesImage: z.boolean().optional()
|
|
5644
|
+
});
|
|
5645
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
5646
|
+
var navigationStackBehaviorSchema = z.union([
|
|
5647
|
+
z.literal("default"),
|
|
5648
|
+
z.literal("remove-previous"),
|
|
5649
|
+
z.literal("remove-all"),
|
|
5650
|
+
z.literal("replace-current")
|
|
5651
|
+
]);
|
|
5652
|
+
var actionTypeSchema = z.union([
|
|
5653
|
+
z.literal("primary"),
|
|
5654
|
+
z.literal("secondary"),
|
|
5655
|
+
z.literal("link"),
|
|
5656
|
+
z.literal("positive"),
|
|
5657
|
+
z.literal("negative")
|
|
5658
|
+
]);
|
|
5659
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
5660
|
+
var linkBehaviorSchema = z.object({
|
|
5661
|
+
type: z.literal("link"),
|
|
5662
|
+
url: z.string()
|
|
5663
|
+
});
|
|
5664
|
+
var linkSchema = z.object({
|
|
5665
|
+
url: z.string()
|
|
5661
5666
|
});
|
|
5662
5667
|
var actionSchema = z.object({
|
|
5663
5668
|
title: z.string().optional(),
|
|
@@ -5674,21 +5679,6 @@ var actionSchema = z.object({
|
|
|
5674
5679
|
timeout: z.number().optional(),
|
|
5675
5680
|
skipValidation: z.boolean().optional()
|
|
5676
5681
|
});
|
|
5677
|
-
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
5678
|
-
var formLayoutSchema = z.object({
|
|
5679
|
-
type: z.literal("form"),
|
|
5680
|
-
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
5681
|
-
schemaId: z.string(),
|
|
5682
|
-
control: z.string().optional(),
|
|
5683
|
-
margin: sizeSchema.optional()
|
|
5684
|
-
});
|
|
5685
|
-
var infoLayoutSchema = z.object({
|
|
5686
|
-
type: z.literal("info"),
|
|
5687
|
-
markdown: z.string(),
|
|
5688
|
-
align: alignSchema.optional(),
|
|
5689
|
-
control: z.string().optional(),
|
|
5690
|
-
margin: sizeSchema.optional()
|
|
5691
|
-
});
|
|
5692
5682
|
var listLayoutItemSchema = z.object({
|
|
5693
5683
|
description: z.string().optional(),
|
|
5694
5684
|
status: listLayoutStatusSchema.optional(),
|
|
@@ -5700,16 +5690,19 @@ var listLayoutItemSchema = z.object({
|
|
|
5700
5690
|
subvalue: z.string().optional(),
|
|
5701
5691
|
tag: z.string().optional()
|
|
5702
5692
|
});
|
|
5703
|
-
var
|
|
5704
|
-
|
|
5693
|
+
var instructionsLayoutSchema = z.object({
|
|
5694
|
+
type: z.literal("instructions"),
|
|
5695
|
+
title: z.string().optional(),
|
|
5696
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
5697
|
+
control: z.string().optional(),
|
|
5698
|
+
margin: sizeSchema.optional()
|
|
5705
5699
|
});
|
|
5706
|
-
var
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
value: actionSchema
|
|
5700
|
+
var reviewLayoutFieldSchema = z.object({
|
|
5701
|
+
label: z.string(),
|
|
5702
|
+
value: z.string(),
|
|
5703
|
+
rawValue: z.string().optional(),
|
|
5704
|
+
help: helpSchema.optional(),
|
|
5705
|
+
tag: z.string().optional()
|
|
5713
5706
|
});
|
|
5714
5707
|
var searchResultSearchSchema = z.object({
|
|
5715
5708
|
type: z.literal("search"),
|
|
@@ -5719,59 +5712,51 @@ var searchResultSearchSchema = z.object({
|
|
|
5719
5712
|
image: imageSchema.optional(),
|
|
5720
5713
|
value: searchSearchRequestSchema
|
|
5721
5714
|
});
|
|
5722
|
-
var
|
|
5715
|
+
var searchResultActionSchema = z.object({
|
|
5723
5716
|
type: z.literal("action"),
|
|
5717
|
+
title: z.string(),
|
|
5718
|
+
description: z.string().optional(),
|
|
5719
|
+
icon: iconSchema.optional(),
|
|
5720
|
+
image: imageSchema.optional(),
|
|
5721
|
+
value: actionSchema
|
|
5722
|
+
});
|
|
5723
|
+
var actionResponseBodySchema = z.object({
|
|
5724
5724
|
action: actionSchema
|
|
5725
5725
|
});
|
|
5726
|
-
var
|
|
5727
|
-
|
|
5728
|
-
|
|
5726
|
+
var errorResponseBodySchema = z.object({
|
|
5727
|
+
refreshFormUrl: z.string().optional(),
|
|
5728
|
+
analytics: z.record(z.string()).optional(),
|
|
5729
|
+
error: z.string().optional(),
|
|
5730
|
+
validation: jsonElementSchema.optional(),
|
|
5731
|
+
refreshUrl: z.string().optional()
|
|
5729
5732
|
});
|
|
5730
5733
|
var navigationBackBehaviorSchema = z.object({
|
|
5731
5734
|
title: z.string().optional(),
|
|
5732
5735
|
action: actionSchema
|
|
5733
5736
|
});
|
|
5734
|
-
var
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
defaultIcon: iconSchema.optional(),
|
|
5738
|
-
defaultImage: imageSchema.optional(),
|
|
5739
|
-
providesTitle: z.boolean().optional(),
|
|
5740
|
-
providesDescription: z.boolean().optional(),
|
|
5741
|
-
providesIcon: z.boolean().optional(),
|
|
5742
|
-
providesImage: z.boolean().optional()
|
|
5737
|
+
var actionBehaviorSchema = z.object({
|
|
5738
|
+
type: z.literal("action"),
|
|
5739
|
+
action: actionSchema
|
|
5743
5740
|
});
|
|
5744
|
-
var
|
|
5745
|
-
|
|
5746
|
-
|
|
5741
|
+
var containerBehaviorSchema = z.object({
|
|
5742
|
+
action: actionSchema.optional(),
|
|
5743
|
+
link: linkSchema.optional()
|
|
5747
5744
|
});
|
|
5748
5745
|
var behaviorSchema = z.union([
|
|
5749
5746
|
actionBehaviorSchema,
|
|
5750
5747
|
containerBehaviorSchema,
|
|
5751
5748
|
linkBehaviorSchema
|
|
5752
5749
|
]);
|
|
5753
|
-
var
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
});
|
|
5758
|
-
var linkHandlerSchema = z.object({
|
|
5759
|
-
regexPattern: z.string(),
|
|
5760
|
-
behavior: behaviorSchema.optional()
|
|
5761
|
-
});
|
|
5762
|
-
var pollingOnErrorSchema = z.object({
|
|
5763
|
-
action: actionSchema.optional(),
|
|
5764
|
-
behavior: behaviorSchema.optional()
|
|
5750
|
+
var alertLayoutCallToActionSchema = z.object({
|
|
5751
|
+
title: z.string(),
|
|
5752
|
+
accessibilityDescription: z.string().optional(),
|
|
5753
|
+
behavior: behaviorSchema
|
|
5765
5754
|
});
|
|
5766
|
-
var
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
timeout: z.number().optional(),
|
|
5771
|
-
maxAttempts: z.number(),
|
|
5772
|
-
onError: pollingOnErrorSchema
|
|
5755
|
+
var listLayoutCallToActionSchema = z.object({
|
|
5756
|
+
title: z.string(),
|
|
5757
|
+
accessibilityDescription: z.string().optional(),
|
|
5758
|
+
behavior: behaviorSchema
|
|
5773
5759
|
});
|
|
5774
|
-
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
5775
5760
|
var decisionLayoutOptionSchema = z.object({
|
|
5776
5761
|
action: actionSchema.optional(),
|
|
5777
5762
|
title: z.string(),
|
|
@@ -5782,6 +5767,11 @@ var decisionLayoutOptionSchema = z.object({
|
|
|
5782
5767
|
behavior: behaviorSchema.optional(),
|
|
5783
5768
|
tag: z.string().optional()
|
|
5784
5769
|
});
|
|
5770
|
+
var itemCallToActionSchema = z.object({
|
|
5771
|
+
title: z.string(),
|
|
5772
|
+
accessibilityDescription: z.string().optional(),
|
|
5773
|
+
behavior: behaviorSchema
|
|
5774
|
+
});
|
|
5785
5775
|
var buttonLayoutSchema = z.object({
|
|
5786
5776
|
type: z.literal("button"),
|
|
5787
5777
|
action: actionSchema.optional(),
|
|
@@ -5794,21 +5784,25 @@ var buttonLayoutSchema = z.object({
|
|
|
5794
5784
|
control: z.string().optional(),
|
|
5795
5785
|
margin: sizeSchema.optional()
|
|
5796
5786
|
});
|
|
5797
|
-
var
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
accessibilityDescription: z.string().optional(),
|
|
5787
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
5788
|
+
var linkHandlerSchema = z.object({
|
|
5789
|
+
regexPattern: z.string(),
|
|
5801
5790
|
behavior: behaviorSchema.optional()
|
|
5802
5791
|
});
|
|
5803
|
-
var
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5792
|
+
var navigationSchema = z.object({
|
|
5793
|
+
backButton: navigationBackBehaviorSchema.optional(),
|
|
5794
|
+
back: navigationBackBehaviorSchema.optional(),
|
|
5795
|
+
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
5807
5796
|
});
|
|
5808
|
-
var
|
|
5797
|
+
var pollingOnErrorSchema = z.object({
|
|
5798
|
+
action: actionSchema.optional(),
|
|
5799
|
+
behavior: behaviorSchema.optional()
|
|
5800
|
+
});
|
|
5801
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
5802
|
+
action: actionSchema.optional(),
|
|
5809
5803
|
title: z.string(),
|
|
5810
5804
|
accessibilityDescription: z.string().optional(),
|
|
5811
|
-
behavior: behaviorSchema
|
|
5805
|
+
behavior: behaviorSchema.optional()
|
|
5812
5806
|
});
|
|
5813
5807
|
var alertLayoutSchema = z.object({
|
|
5814
5808
|
type: z.literal("alert"),
|
|
@@ -5818,10 +5812,13 @@ var alertLayoutSchema = z.object({
|
|
|
5818
5812
|
margin: sizeSchema.optional(),
|
|
5819
5813
|
callToAction: alertLayoutCallToActionSchema.optional()
|
|
5820
5814
|
});
|
|
5821
|
-
var
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5815
|
+
var listLayoutSchema = z.object({
|
|
5816
|
+
type: z.literal("list"),
|
|
5817
|
+
title: z.string().optional(),
|
|
5818
|
+
callToAction: listLayoutCallToActionSchema.optional(),
|
|
5819
|
+
items: z.array(listLayoutItemSchema),
|
|
5820
|
+
control: z.string().optional(),
|
|
5821
|
+
margin: sizeSchema.optional()
|
|
5825
5822
|
});
|
|
5826
5823
|
var decisionLayoutSchema = z.object({
|
|
5827
5824
|
type: z.literal("decision"),
|
|
@@ -5830,29 +5827,34 @@ var decisionLayoutSchema = z.object({
|
|
|
5830
5827
|
control: z.string().optional(),
|
|
5831
5828
|
margin: sizeSchema.optional()
|
|
5832
5829
|
});
|
|
5833
|
-
var
|
|
5834
|
-
|
|
5830
|
+
var statusListLayoutItemSchema = z.object({
|
|
5831
|
+
title: z.string(),
|
|
5832
|
+
description: z.string().optional(),
|
|
5833
|
+
icon: iconSchema,
|
|
5834
|
+
status: statusListLayoutStatusSchema.optional(),
|
|
5835
|
+
callToAction: itemCallToActionSchema.optional(),
|
|
5836
|
+
tag: z.string().optional()
|
|
5837
|
+
});
|
|
5838
|
+
var reviewLayoutSchema = z.object({
|
|
5839
|
+
type: z.literal("review"),
|
|
5840
|
+
orientation: z.string().optional(),
|
|
5841
|
+
action: actionSchema.optional(),
|
|
5842
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
5835
5843
|
title: z.string().optional(),
|
|
5836
|
-
callToAction:
|
|
5837
|
-
items: z.array(listLayoutItemSchema),
|
|
5844
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
5838
5845
|
control: z.string().optional(),
|
|
5839
5846
|
margin: sizeSchema.optional()
|
|
5840
5847
|
});
|
|
5841
|
-
var
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
image: imageSchema.optional(),
|
|
5852
|
-
keywords: z.array(z.string()).optional(),
|
|
5853
|
-
summary: summaryProviderSchema.optional(),
|
|
5854
|
-
analyticsId: z.string().optional(),
|
|
5855
|
-
disabled: z.boolean().optional()
|
|
5848
|
+
var searchResponseBodySchema = z.object({
|
|
5849
|
+
results: z.array(searchResultSchema)
|
|
5850
|
+
});
|
|
5851
|
+
var pollingSchema = z.object({
|
|
5852
|
+
interval: z.number().optional(),
|
|
5853
|
+
url: z.string(),
|
|
5854
|
+
delay: z.number().optional(),
|
|
5855
|
+
timeout: z.number().optional(),
|
|
5856
|
+
maxAttempts: z.number(),
|
|
5857
|
+
onError: pollingOnErrorSchema
|
|
5856
5858
|
});
|
|
5857
5859
|
var blobSchemaSchema = z.object({
|
|
5858
5860
|
type: z.literal("blob"),
|
|
@@ -5876,23 +5878,21 @@ var blobSchemaSchema = z.object({
|
|
|
5876
5878
|
source: uploadSourceSchema.optional(),
|
|
5877
5879
|
disabled: z.boolean().optional()
|
|
5878
5880
|
});
|
|
5879
|
-
var
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
action: actionSchema.optional(),
|
|
5883
|
-
fields: z.array(reviewLayoutFieldSchema),
|
|
5884
|
-
title: z.string().optional(),
|
|
5885
|
-
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
5881
|
+
var constSchemaSchema = z.object({
|
|
5882
|
+
hidden: z.boolean().optional(),
|
|
5883
|
+
alert: alertLayoutSchema.optional(),
|
|
5886
5884
|
control: z.string().optional(),
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
title: z.string(),
|
|
5885
|
+
promoted: z.boolean().optional(),
|
|
5886
|
+
$id: z.string().optional(),
|
|
5887
|
+
const: jsonElementSchema,
|
|
5888
|
+
title: z.string().optional(),
|
|
5891
5889
|
description: z.string().optional(),
|
|
5892
|
-
icon: iconSchema,
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5890
|
+
icon: iconSchema.optional(),
|
|
5891
|
+
image: imageSchema.optional(),
|
|
5892
|
+
keywords: z.array(z.string()).optional(),
|
|
5893
|
+
summary: summaryProviderSchema.optional(),
|
|
5894
|
+
analyticsId: z.string().optional(),
|
|
5895
|
+
disabled: z.boolean().optional()
|
|
5896
5896
|
});
|
|
5897
5897
|
var statusListLayoutSchema = z.object({
|
|
5898
5898
|
type: z.literal("status-list"),
|
|
@@ -5901,39 +5901,6 @@ var statusListLayoutSchema = z.object({
|
|
|
5901
5901
|
control: z.string().optional(),
|
|
5902
5902
|
margin: sizeSchema.optional()
|
|
5903
5903
|
});
|
|
5904
|
-
var persistAsyncSchema = z.lazy(
|
|
5905
|
-
() => z.object({
|
|
5906
|
-
param: z.string(),
|
|
5907
|
-
idProperty: z.string(),
|
|
5908
|
-
schema: schemaSchema,
|
|
5909
|
-
url: z.string(),
|
|
5910
|
-
method: httpMethodSchema
|
|
5911
|
-
})
|
|
5912
|
-
);
|
|
5913
|
-
var schemaSchema = z.lazy(
|
|
5914
|
-
() => z.union([
|
|
5915
|
-
allOfSchemaSchema,
|
|
5916
|
-
arraySchemaSchema,
|
|
5917
|
-
blobSchemaSchema,
|
|
5918
|
-
booleanSchemaSchema,
|
|
5919
|
-
constSchemaSchema,
|
|
5920
|
-
integerSchemaSchema,
|
|
5921
|
-
numberSchemaSchema,
|
|
5922
|
-
objectSchemaSchema,
|
|
5923
|
-
oneOfSchemaSchema,
|
|
5924
|
-
stringSchemaSchema
|
|
5925
|
-
])
|
|
5926
|
-
);
|
|
5927
|
-
var columnsLayoutSchema = z.lazy(
|
|
5928
|
-
() => z.object({
|
|
5929
|
-
type: z.literal("columns"),
|
|
5930
|
-
left: z.array(layoutSchema),
|
|
5931
|
-
right: z.array(layoutSchema),
|
|
5932
|
-
bias: columnsLayoutBiasSchema.optional(),
|
|
5933
|
-
control: z.string().optional(),
|
|
5934
|
-
margin: sizeSchema.optional()
|
|
5935
|
-
})
|
|
5936
|
-
);
|
|
5937
5904
|
var layoutSchema = z.lazy(
|
|
5938
5905
|
() => z.union([
|
|
5939
5906
|
alertLayoutSchema,
|
|
@@ -5957,12 +5924,6 @@ var layoutSchema = z.lazy(
|
|
|
5957
5924
|
statusListLayoutSchema
|
|
5958
5925
|
])
|
|
5959
5926
|
);
|
|
5960
|
-
var modalLayoutContentSchema = z.lazy(
|
|
5961
|
-
() => z.object({
|
|
5962
|
-
title: z.string().optional(),
|
|
5963
|
-
components: z.array(layoutSchema)
|
|
5964
|
-
})
|
|
5965
|
-
);
|
|
5966
5927
|
var boxLayoutSchema = z.lazy(
|
|
5967
5928
|
() => z.object({
|
|
5968
5929
|
type: z.literal("box"),
|
|
@@ -5973,6 +5934,16 @@ var boxLayoutSchema = z.lazy(
|
|
|
5973
5934
|
margin: sizeSchema.optional()
|
|
5974
5935
|
})
|
|
5975
5936
|
);
|
|
5937
|
+
var columnsLayoutSchema = z.lazy(
|
|
5938
|
+
() => z.object({
|
|
5939
|
+
type: z.literal("columns"),
|
|
5940
|
+
left: z.array(layoutSchema),
|
|
5941
|
+
right: z.array(layoutSchema),
|
|
5942
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
5943
|
+
control: z.string().optional(),
|
|
5944
|
+
margin: sizeSchema.optional()
|
|
5945
|
+
})
|
|
5946
|
+
);
|
|
5976
5947
|
var modalLayoutSchema = z.lazy(
|
|
5977
5948
|
() => z.object({
|
|
5978
5949
|
type: z.literal("modal"),
|
|
@@ -5982,6 +5953,12 @@ var modalLayoutSchema = z.lazy(
|
|
|
5982
5953
|
content: modalLayoutContentSchema
|
|
5983
5954
|
})
|
|
5984
5955
|
);
|
|
5956
|
+
var modalLayoutContentSchema = z.lazy(
|
|
5957
|
+
() => z.object({
|
|
5958
|
+
title: z.string().optional(),
|
|
5959
|
+
components: z.array(layoutSchema)
|
|
5960
|
+
})
|
|
5961
|
+
);
|
|
5985
5962
|
var stepSchema = z.lazy(
|
|
5986
5963
|
() => z.object({
|
|
5987
5964
|
key: z.string().optional(),
|
|
@@ -6004,29 +5981,54 @@ var stepSchema = z.lazy(
|
|
|
6004
5981
|
control: z.string().optional()
|
|
6005
5982
|
})
|
|
6006
5983
|
);
|
|
6007
|
-
var
|
|
5984
|
+
var schemaSchema = z.lazy(
|
|
5985
|
+
() => z.union([
|
|
5986
|
+
allOfSchemaSchema,
|
|
5987
|
+
arraySchemaSchema,
|
|
5988
|
+
blobSchemaSchema,
|
|
5989
|
+
booleanSchemaSchema,
|
|
5990
|
+
constSchemaSchema,
|
|
5991
|
+
integerSchemaSchema,
|
|
5992
|
+
numberSchemaSchema,
|
|
5993
|
+
objectSchemaSchema,
|
|
5994
|
+
oneOfSchemaSchema,
|
|
5995
|
+
stringSchemaSchema
|
|
5996
|
+
])
|
|
5997
|
+
);
|
|
5998
|
+
var allOfSchemaSchema = z.lazy(
|
|
6008
5999
|
() => z.object({
|
|
6009
|
-
|
|
6000
|
+
disabled: z.boolean().optional(),
|
|
6001
|
+
promoted: z.boolean().optional(),
|
|
6002
|
+
allOf: z.array(schemaSchema),
|
|
6003
|
+
$id: z.string().optional(),
|
|
6004
|
+
title: z.string().optional(),
|
|
6005
|
+
description: z.string().optional(),
|
|
6006
|
+
control: z.string().optional(),
|
|
6007
|
+
hidden: z.boolean().optional(),
|
|
6008
|
+
icon: iconSchema.optional(),
|
|
6009
|
+
image: imageSchema.optional(),
|
|
6010
|
+
keywords: z.array(z.string()).optional(),
|
|
6011
|
+
summary: summaryProviderSchema.optional(),
|
|
6012
|
+
analyticsId: z.string().optional(),
|
|
6013
|
+
alert: alertLayoutSchema.optional()
|
|
6014
|
+
})
|
|
6015
|
+
);
|
|
6016
|
+
var arraySchemaSchema = z.lazy(
|
|
6017
|
+
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
6018
|
+
);
|
|
6019
|
+
var booleanSchemaSchema = z.lazy(
|
|
6020
|
+
() => z.object({
|
|
6021
|
+
type: z.literal("boolean"),
|
|
6010
6022
|
autofillProvider: z.string().optional(),
|
|
6011
6023
|
promoted: z.boolean().optional(),
|
|
6012
6024
|
refreshFormOnChange: z.boolean().optional(),
|
|
6013
6025
|
refreshUrl: z.string().optional(),
|
|
6014
6026
|
refreshFormUrl: z.string().optional(),
|
|
6015
|
-
format: stringSchemaFormatSchema.optional(),
|
|
6016
|
-
displayFormat: z.string().optional(),
|
|
6017
|
-
placeholder: z.string().optional(),
|
|
6018
|
-
minLength: z.number().optional(),
|
|
6019
|
-
maxLength: z.number().optional(),
|
|
6020
|
-
minimum: z.string().optional(),
|
|
6021
|
-
maximum: z.string().optional(),
|
|
6022
|
-
pattern: z.string().optional(),
|
|
6023
|
-
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
6024
|
-
autocorrect: z.boolean().optional(),
|
|
6025
6027
|
$id: z.string().optional(),
|
|
6026
6028
|
title: z.string().optional(),
|
|
6027
6029
|
description: z.string().optional(),
|
|
6028
6030
|
control: z.string().optional(),
|
|
6029
|
-
default: z.
|
|
6031
|
+
default: z.boolean().optional(),
|
|
6030
6032
|
hidden: z.boolean().optional(),
|
|
6031
6033
|
disabled: z.boolean().optional(),
|
|
6032
6034
|
icon: iconSchema.optional(),
|
|
@@ -6037,45 +6039,42 @@ var stringSchemaSchema = z.lazy(
|
|
|
6037
6039
|
persistAsync: persistAsyncSchema.optional(),
|
|
6038
6040
|
refreshStepOnChange: z.boolean().optional(),
|
|
6039
6041
|
validationAsync: validateAsyncSchema.optional(),
|
|
6040
|
-
validationMessages: z.record(z.string()).optional(),
|
|
6041
6042
|
alert: alertLayoutSchema.optional(),
|
|
6042
|
-
cameraConfig: jsonElementSchema.optional(),
|
|
6043
|
-
accepts: z.array(z.string()).optional(),
|
|
6044
|
-
maxSize: z.number().optional(),
|
|
6045
|
-
source: uploadSourceSchema.optional(),
|
|
6046
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6047
6043
|
autofillKey: z.string().optional(),
|
|
6048
6044
|
help: helpSchema.optional()
|
|
6049
6045
|
})
|
|
6050
6046
|
);
|
|
6051
|
-
var
|
|
6047
|
+
var integerSchemaSchema = z.lazy(
|
|
6052
6048
|
() => z.object({
|
|
6049
|
+
type: z.literal("integer"),
|
|
6053
6050
|
autofillProvider: z.string().optional(),
|
|
6054
6051
|
promoted: z.boolean().optional(),
|
|
6055
6052
|
refreshFormOnChange: z.boolean().optional(),
|
|
6056
6053
|
refreshUrl: z.string().optional(),
|
|
6057
6054
|
refreshFormUrl: z.string().optional(),
|
|
6058
|
-
promotion: jsonElementSchema.optional(),
|
|
6059
|
-
oneOf: z.array(schemaSchema),
|
|
6060
6055
|
placeholder: z.string().optional(),
|
|
6056
|
+
minimum: z.number().optional(),
|
|
6057
|
+
maximum: z.number().optional(),
|
|
6061
6058
|
$id: z.string().optional(),
|
|
6062
6059
|
title: z.string().optional(),
|
|
6063
6060
|
description: z.string().optional(),
|
|
6064
6061
|
control: z.string().optional(),
|
|
6065
|
-
default:
|
|
6062
|
+
default: z.number().optional(),
|
|
6066
6063
|
hidden: z.boolean().optional(),
|
|
6064
|
+
disabled: z.boolean().optional(),
|
|
6067
6065
|
icon: iconSchema.optional(),
|
|
6068
6066
|
image: imageSchema.optional(),
|
|
6069
6067
|
keywords: z.array(z.string()).optional(),
|
|
6070
6068
|
summary: summaryProviderSchema.optional(),
|
|
6071
6069
|
analyticsId: z.string().optional(),
|
|
6070
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
6072
6071
|
refreshStepOnChange: z.boolean().optional(),
|
|
6072
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
6073
|
+
validationMessages: z.record(z.string()).optional(),
|
|
6073
6074
|
alert: alertLayoutSchema.optional(),
|
|
6074
|
-
help: helpSchema.optional(),
|
|
6075
6075
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6076
6076
|
autofillKey: z.string().optional(),
|
|
6077
|
-
|
|
6078
|
-
disabled: z.boolean().optional()
|
|
6077
|
+
help: helpSchema.optional()
|
|
6079
6078
|
})
|
|
6080
6079
|
);
|
|
6081
6080
|
var numberSchemaSchema = z.lazy(
|
|
@@ -6111,12 +6110,16 @@ var numberSchemaSchema = z.lazy(
|
|
|
6111
6110
|
help: helpSchema.optional()
|
|
6112
6111
|
})
|
|
6113
6112
|
);
|
|
6114
|
-
var
|
|
6113
|
+
var objectSchemaSchema = z.lazy(
|
|
6115
6114
|
() => z.object({
|
|
6116
|
-
type: z.literal("
|
|
6115
|
+
type: z.literal("object"),
|
|
6116
|
+
disabled: z.boolean().optional(),
|
|
6117
6117
|
promoted: z.boolean().optional(),
|
|
6118
|
+
help: helpSchema.optional(),
|
|
6119
|
+
properties: z.record(schemaSchema),
|
|
6120
|
+
displayOrder: z.array(z.string()),
|
|
6121
|
+
required: z.array(z.string()).optional(),
|
|
6118
6122
|
$id: z.string().optional(),
|
|
6119
|
-
items: z.array(schemaSchema),
|
|
6120
6123
|
title: z.string().optional(),
|
|
6121
6124
|
description: z.string().optional(),
|
|
6122
6125
|
control: z.string().optional(),
|
|
@@ -6126,27 +6129,62 @@ var arraySchemaTupleSchema = z.lazy(
|
|
|
6126
6129
|
keywords: z.array(z.string()).optional(),
|
|
6127
6130
|
summary: summaryProviderSchema.optional(),
|
|
6128
6131
|
analyticsId: z.string().optional(),
|
|
6129
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
6130
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
6131
6132
|
alert: alertLayoutSchema.optional()
|
|
6132
6133
|
})
|
|
6133
6134
|
);
|
|
6134
|
-
var
|
|
6135
|
+
var oneOfSchemaSchema = z.lazy(
|
|
6135
6136
|
() => z.object({
|
|
6136
|
-
type: z.literal("integer"),
|
|
6137
6137
|
autofillProvider: z.string().optional(),
|
|
6138
6138
|
promoted: z.boolean().optional(),
|
|
6139
6139
|
refreshFormOnChange: z.boolean().optional(),
|
|
6140
6140
|
refreshUrl: z.string().optional(),
|
|
6141
6141
|
refreshFormUrl: z.string().optional(),
|
|
6142
|
+
promotion: jsonElementSchema.optional(),
|
|
6143
|
+
oneOf: z.array(schemaSchema),
|
|
6142
6144
|
placeholder: z.string().optional(),
|
|
6143
|
-
minimum: z.number().optional(),
|
|
6144
|
-
maximum: z.number().optional(),
|
|
6145
6145
|
$id: z.string().optional(),
|
|
6146
6146
|
title: z.string().optional(),
|
|
6147
6147
|
description: z.string().optional(),
|
|
6148
6148
|
control: z.string().optional(),
|
|
6149
|
-
default:
|
|
6149
|
+
default: jsonElementSchema.optional(),
|
|
6150
|
+
hidden: z.boolean().optional(),
|
|
6151
|
+
icon: iconSchema.optional(),
|
|
6152
|
+
image: imageSchema.optional(),
|
|
6153
|
+
keywords: z.array(z.string()).optional(),
|
|
6154
|
+
summary: summaryProviderSchema.optional(),
|
|
6155
|
+
analyticsId: z.string().optional(),
|
|
6156
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
6157
|
+
alert: alertLayoutSchema.optional(),
|
|
6158
|
+
help: helpSchema.optional(),
|
|
6159
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6160
|
+
autofillKey: z.string().optional(),
|
|
6161
|
+
validationMessages: z.record(z.string()).optional(),
|
|
6162
|
+
disabled: z.boolean().optional()
|
|
6163
|
+
})
|
|
6164
|
+
);
|
|
6165
|
+
var stringSchemaSchema = z.lazy(
|
|
6166
|
+
() => z.object({
|
|
6167
|
+
type: z.literal("string"),
|
|
6168
|
+
autofillProvider: z.string().optional(),
|
|
6169
|
+
promoted: z.boolean().optional(),
|
|
6170
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
6171
|
+
refreshUrl: z.string().optional(),
|
|
6172
|
+
refreshFormUrl: z.string().optional(),
|
|
6173
|
+
format: stringSchemaFormatSchema.optional(),
|
|
6174
|
+
displayFormat: z.string().optional(),
|
|
6175
|
+
placeholder: z.string().optional(),
|
|
6176
|
+
minLength: z.number().optional(),
|
|
6177
|
+
maxLength: z.number().optional(),
|
|
6178
|
+
minimum: z.string().optional(),
|
|
6179
|
+
maximum: z.string().optional(),
|
|
6180
|
+
pattern: z.string().optional(),
|
|
6181
|
+
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
6182
|
+
autocorrect: z.boolean().optional(),
|
|
6183
|
+
$id: z.string().optional(),
|
|
6184
|
+
title: z.string().optional(),
|
|
6185
|
+
description: z.string().optional(),
|
|
6186
|
+
control: z.string().optional(),
|
|
6187
|
+
default: z.string().optional(),
|
|
6150
6188
|
hidden: z.boolean().optional(),
|
|
6151
6189
|
disabled: z.boolean().optional(),
|
|
6152
6190
|
icon: iconSchema.optional(),
|
|
@@ -6159,14 +6197,15 @@ var integerSchemaSchema = z.lazy(
|
|
|
6159
6197
|
validationAsync: validateAsyncSchema.optional(),
|
|
6160
6198
|
validationMessages: z.record(z.string()).optional(),
|
|
6161
6199
|
alert: alertLayoutSchema.optional(),
|
|
6200
|
+
cameraConfig: jsonElementSchema.optional(),
|
|
6201
|
+
accepts: z.array(z.string()).optional(),
|
|
6202
|
+
maxSize: z.number().optional(),
|
|
6203
|
+
source: uploadSourceSchema.optional(),
|
|
6162
6204
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6163
6205
|
autofillKey: z.string().optional(),
|
|
6164
6206
|
help: helpSchema.optional()
|
|
6165
6207
|
})
|
|
6166
6208
|
);
|
|
6167
|
-
var arraySchemaSchema = z.lazy(
|
|
6168
|
-
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
6169
|
-
);
|
|
6170
6209
|
var arraySchemaListSchema = z.lazy(
|
|
6171
6210
|
() => z.object({
|
|
6172
6211
|
type: z.literal("array"),
|
|
@@ -6194,71 +6233,32 @@ var arraySchemaListSchema = z.lazy(
|
|
|
6194
6233
|
disabled: z.boolean().optional()
|
|
6195
6234
|
})
|
|
6196
6235
|
);
|
|
6197
|
-
var
|
|
6236
|
+
var persistAsyncSchema = z.lazy(
|
|
6198
6237
|
() => z.object({
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
description: z.string().optional(),
|
|
6205
|
-
control: z.string().optional(),
|
|
6206
|
-
hidden: z.boolean().optional(),
|
|
6207
|
-
icon: iconSchema.optional(),
|
|
6208
|
-
image: imageSchema.optional(),
|
|
6209
|
-
keywords: z.array(z.string()).optional(),
|
|
6210
|
-
summary: summaryProviderSchema.optional(),
|
|
6211
|
-
analyticsId: z.string().optional(),
|
|
6212
|
-
alert: alertLayoutSchema.optional()
|
|
6238
|
+
param: z.string(),
|
|
6239
|
+
idProperty: z.string(),
|
|
6240
|
+
schema: schemaSchema,
|
|
6241
|
+
url: z.string(),
|
|
6242
|
+
method: httpMethodSchema
|
|
6213
6243
|
})
|
|
6214
6244
|
);
|
|
6215
|
-
var
|
|
6245
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
6216
6246
|
() => z.object({
|
|
6217
|
-
type: z.literal("
|
|
6218
|
-
autofillProvider: z.string().optional(),
|
|
6247
|
+
type: z.literal("array"),
|
|
6219
6248
|
promoted: z.boolean().optional(),
|
|
6220
|
-
refreshFormOnChange: z.boolean().optional(),
|
|
6221
|
-
refreshUrl: z.string().optional(),
|
|
6222
|
-
refreshFormUrl: z.string().optional(),
|
|
6223
6249
|
$id: z.string().optional(),
|
|
6250
|
+
items: z.array(schemaSchema),
|
|
6224
6251
|
title: z.string().optional(),
|
|
6225
6252
|
description: z.string().optional(),
|
|
6226
6253
|
control: z.string().optional(),
|
|
6227
|
-
default: z.boolean().optional(),
|
|
6228
6254
|
hidden: z.boolean().optional(),
|
|
6229
|
-
disabled: z.boolean().optional(),
|
|
6230
6255
|
icon: iconSchema.optional(),
|
|
6231
6256
|
image: imageSchema.optional(),
|
|
6232
6257
|
keywords: z.array(z.string()).optional(),
|
|
6233
6258
|
summary: summaryProviderSchema.optional(),
|
|
6234
6259
|
analyticsId: z.string().optional(),
|
|
6235
6260
|
persistAsync: persistAsyncSchema.optional(),
|
|
6236
|
-
refreshStepOnChange: z.boolean().optional(),
|
|
6237
6261
|
validationAsync: validateAsyncSchema.optional(),
|
|
6238
|
-
alert: alertLayoutSchema.optional(),
|
|
6239
|
-
autofillKey: z.string().optional(),
|
|
6240
|
-
help: helpSchema.optional()
|
|
6241
|
-
})
|
|
6242
|
-
);
|
|
6243
|
-
var objectSchemaSchema = z.lazy(
|
|
6244
|
-
() => z.object({
|
|
6245
|
-
type: z.literal("object"),
|
|
6246
|
-
disabled: z.boolean().optional(),
|
|
6247
|
-
promoted: z.boolean().optional(),
|
|
6248
|
-
help: helpSchema.optional(),
|
|
6249
|
-
properties: z.record(schemaSchema),
|
|
6250
|
-
displayOrder: z.array(z.string()),
|
|
6251
|
-
required: z.array(z.string()).optional(),
|
|
6252
|
-
$id: z.string().optional(),
|
|
6253
|
-
title: z.string().optional(),
|
|
6254
|
-
description: z.string().optional(),
|
|
6255
|
-
control: z.string().optional(),
|
|
6256
|
-
hidden: z.boolean().optional(),
|
|
6257
|
-
icon: iconSchema.optional(),
|
|
6258
|
-
image: imageSchema.optional(),
|
|
6259
|
-
keywords: z.array(z.string()).optional(),
|
|
6260
|
-
summary: summaryProviderSchema.optional(),
|
|
6261
|
-
analyticsId: z.string().optional(),
|
|
6262
6262
|
alert: alertLayoutSchema.optional()
|
|
6263
6263
|
})
|
|
6264
6264
|
);
|