@wise/dynamic-flow-client 4.0.3 → 4.0.4-experimental-df596b9
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 +437 -433
- package/build/main.mjs +437 -433
- package/build/types/revamp/renderers/stepComponentToProps.d.ts +1 -1
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -5427,11 +5427,37 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5427
5427
|
quotelessJson,
|
|
5428
5428
|
ZodError
|
|
5429
5429
|
});
|
|
5430
|
-
var
|
|
5431
|
-
|
|
5432
|
-
url: z.string()
|
|
5433
|
-
|
|
5434
|
-
|
|
5430
|
+
var linkBehaviorSchema = z.object({
|
|
5431
|
+
type: z.literal("link"),
|
|
5432
|
+
url: z.string()
|
|
5433
|
+
});
|
|
5434
|
+
var navigationStackBehaviorSchema = z.union([
|
|
5435
|
+
z.literal("default"),
|
|
5436
|
+
z.literal("remove-previous"),
|
|
5437
|
+
z.literal("remove-all"),
|
|
5438
|
+
z.literal("replace-current")
|
|
5439
|
+
]);
|
|
5440
|
+
var jsonElementSchema = z.lazy(
|
|
5441
|
+
() => z.union([
|
|
5442
|
+
z.string(),
|
|
5443
|
+
z.number(),
|
|
5444
|
+
z.boolean(),
|
|
5445
|
+
z.record(jsonElementSchema),
|
|
5446
|
+
z.array(jsonElementSchema)
|
|
5447
|
+
]).nullable()
|
|
5448
|
+
);
|
|
5449
|
+
var helpSchema = z.object({
|
|
5450
|
+
markdown: z.string()
|
|
5451
|
+
});
|
|
5452
|
+
var actionTypeSchema = z.union([
|
|
5453
|
+
z.literal("primary"),
|
|
5454
|
+
z.literal("secondary"),
|
|
5455
|
+
z.literal("link"),
|
|
5456
|
+
z.literal("positive"),
|
|
5457
|
+
z.literal("negative")
|
|
5458
|
+
]);
|
|
5459
|
+
var linkSchema = z.object({
|
|
5460
|
+
url: z.string()
|
|
5435
5461
|
});
|
|
5436
5462
|
var httpMethodSchema = z.union([
|
|
5437
5463
|
z.literal("GET"),
|
|
@@ -5440,8 +5466,54 @@ var httpMethodSchema = z.union([
|
|
|
5440
5466
|
z.literal("PATCH"),
|
|
5441
5467
|
z.literal("DELETE")
|
|
5442
5468
|
]);
|
|
5443
|
-
var
|
|
5444
|
-
|
|
5469
|
+
var imageSchema = z.object({
|
|
5470
|
+
text: z.string().optional(),
|
|
5471
|
+
url: z.string().optional(),
|
|
5472
|
+
uri: z.string().optional(),
|
|
5473
|
+
accessibilityDescription: z.string().optional()
|
|
5474
|
+
});
|
|
5475
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
5476
|
+
var validateAsyncSchema = z.object({
|
|
5477
|
+
param: z.string(),
|
|
5478
|
+
method: httpMethodSchema,
|
|
5479
|
+
url: z.string()
|
|
5480
|
+
});
|
|
5481
|
+
var summaryProviderSchema = z.object({
|
|
5482
|
+
providesTitle: z.boolean().optional(),
|
|
5483
|
+
providesDescription: z.boolean().optional(),
|
|
5484
|
+
providesIcon: z.boolean().optional(),
|
|
5485
|
+
providesImage: z.boolean().optional()
|
|
5486
|
+
});
|
|
5487
|
+
var externalSchema = z.object({
|
|
5488
|
+
url: z.string()
|
|
5489
|
+
});
|
|
5490
|
+
var columnsLayoutBiasSchema = z.union([
|
|
5491
|
+
z.literal("none"),
|
|
5492
|
+
z.literal("left"),
|
|
5493
|
+
z.literal("right")
|
|
5494
|
+
]);
|
|
5495
|
+
var sizeSchema = z.union([
|
|
5496
|
+
z.literal("xs"),
|
|
5497
|
+
z.literal("sm"),
|
|
5498
|
+
z.literal("md"),
|
|
5499
|
+
z.literal("lg"),
|
|
5500
|
+
z.literal("xl")
|
|
5501
|
+
]);
|
|
5502
|
+
var dividerLayoutSchema = z.object({
|
|
5503
|
+
type: z.literal("divider"),
|
|
5504
|
+
control: z.string().optional(),
|
|
5505
|
+
margin: sizeSchema.optional()
|
|
5506
|
+
});
|
|
5507
|
+
var statusListLayoutStatusSchema = z.union([
|
|
5508
|
+
z.literal("not-done"),
|
|
5509
|
+
z.literal("pending"),
|
|
5510
|
+
z.literal("done")
|
|
5511
|
+
]);
|
|
5512
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
5513
|
+
type: z.literal("loading-indicator"),
|
|
5514
|
+
size: sizeSchema.optional(),
|
|
5515
|
+
control: z.string().optional(),
|
|
5516
|
+
margin: sizeSchema.optional()
|
|
5445
5517
|
});
|
|
5446
5518
|
var contextSchema = z.union([
|
|
5447
5519
|
z.literal("positive"),
|
|
@@ -5453,24 +5525,93 @@ var contextSchema = z.union([
|
|
|
5453
5525
|
z.literal("info"),
|
|
5454
5526
|
z.literal("primary")
|
|
5455
5527
|
]);
|
|
5456
|
-
var
|
|
5457
|
-
text: z.string()
|
|
5528
|
+
var instructionsLayoutItemSchema = z.object({
|
|
5529
|
+
text: z.string(),
|
|
5530
|
+
context: contextSchema,
|
|
5531
|
+
tag: z.string().optional()
|
|
5532
|
+
});
|
|
5533
|
+
var formLayoutSchemaReferenceSchema = z.object({
|
|
5534
|
+
$ref: z.string()
|
|
5535
|
+
});
|
|
5536
|
+
var modalLayoutTriggerSchema = z.object({
|
|
5537
|
+
title: z.string()
|
|
5538
|
+
});
|
|
5539
|
+
var instructionsLayoutSchema = z.object({
|
|
5540
|
+
type: z.literal("instructions"),
|
|
5541
|
+
title: z.string().optional(),
|
|
5542
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
5543
|
+
control: z.string().optional(),
|
|
5544
|
+
margin: sizeSchema.optional()
|
|
5545
|
+
});
|
|
5546
|
+
var reviewLayoutFieldSchema = z.object({
|
|
5547
|
+
label: z.string(),
|
|
5548
|
+
value: z.string(),
|
|
5549
|
+
rawValue: z.string().optional(),
|
|
5550
|
+
help: helpSchema.optional(),
|
|
5551
|
+
tag: z.string().optional()
|
|
5458
5552
|
});
|
|
5459
|
-
var sizeSchema = z.union([
|
|
5460
|
-
z.literal("xs"),
|
|
5461
|
-
z.literal("sm"),
|
|
5462
|
-
z.literal("md"),
|
|
5463
|
-
z.literal("lg"),
|
|
5464
|
-
z.literal("xl")
|
|
5465
|
-
]);
|
|
5466
|
-
var autocapitalizationTypeSchema = z.union([
|
|
5467
|
-
z.literal("none"),
|
|
5468
|
-
z.literal("characters"),
|
|
5469
|
-
z.literal("sentences"),
|
|
5470
|
-
z.literal("words")
|
|
5471
|
-
]);
|
|
5472
5553
|
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
5473
|
-
var
|
|
5554
|
+
var searchLayoutSchema = z.object({
|
|
5555
|
+
type: z.literal("search"),
|
|
5556
|
+
title: z.string(),
|
|
5557
|
+
method: httpMethodSchema,
|
|
5558
|
+
url: z.string(),
|
|
5559
|
+
param: z.string(),
|
|
5560
|
+
emptyMessage: z.string().optional(),
|
|
5561
|
+
control: z.string().optional(),
|
|
5562
|
+
margin: sizeSchema.optional()
|
|
5563
|
+
});
|
|
5564
|
+
var headingLayoutSchema = z.object({
|
|
5565
|
+
type: z.literal("heading"),
|
|
5566
|
+
text: z.string(),
|
|
5567
|
+
size: sizeSchema.optional(),
|
|
5568
|
+
align: alignSchema.optional(),
|
|
5569
|
+
control: z.string().optional(),
|
|
5570
|
+
margin: sizeSchema.optional()
|
|
5571
|
+
});
|
|
5572
|
+
var imageLayoutSchema = z.object({
|
|
5573
|
+
type: z.literal("image"),
|
|
5574
|
+
text: z.string().optional(),
|
|
5575
|
+
url: z.string().optional(),
|
|
5576
|
+
accessibilityDescription: z.string().optional(),
|
|
5577
|
+
content: imageSchema.optional(),
|
|
5578
|
+
size: sizeSchema.optional(),
|
|
5579
|
+
control: z.string().optional(),
|
|
5580
|
+
margin: sizeSchema.optional(),
|
|
5581
|
+
align: alignSchema.optional()
|
|
5582
|
+
});
|
|
5583
|
+
var markdownLayoutSchema = z.object({
|
|
5584
|
+
type: z.literal("markdown"),
|
|
5585
|
+
content: z.string(),
|
|
5586
|
+
align: alignSchema.optional(),
|
|
5587
|
+
control: z.string().optional(),
|
|
5588
|
+
margin: sizeSchema.optional()
|
|
5589
|
+
});
|
|
5590
|
+
var paragraphLayoutSchema = z.object({
|
|
5591
|
+
type: z.literal("paragraph"),
|
|
5592
|
+
text: z.string(),
|
|
5593
|
+
align: alignSchema.optional(),
|
|
5594
|
+
control: z.string().optional(),
|
|
5595
|
+
margin: sizeSchema.optional()
|
|
5596
|
+
});
|
|
5597
|
+
var listLayoutStatusSchema = z.union([
|
|
5598
|
+
z.literal("warning"),
|
|
5599
|
+
z.literal("neutral"),
|
|
5600
|
+
z.literal("positive")
|
|
5601
|
+
]);
|
|
5602
|
+
var errorResponseBodySchema = z.object({
|
|
5603
|
+
refreshFormUrl: z.string().optional(),
|
|
5604
|
+
analytics: z.record(z.string()).optional(),
|
|
5605
|
+
error: z.string().optional(),
|
|
5606
|
+
validation: jsonElementSchema.optional(),
|
|
5607
|
+
refreshUrl: z.string().optional()
|
|
5608
|
+
});
|
|
5609
|
+
var searchSearchRequestSchema = z.object({
|
|
5610
|
+
url: z.string(),
|
|
5611
|
+
method: httpMethodSchema,
|
|
5612
|
+
param: z.string(),
|
|
5613
|
+
query: z.string()
|
|
5614
|
+
});
|
|
5474
5615
|
var autocompleteTokenSchema = z.union([
|
|
5475
5616
|
z.literal("on"),
|
|
5476
5617
|
z.literal("name"),
|
|
@@ -5536,182 +5677,29 @@ var autocompleteTokenSchema = z.union([
|
|
|
5536
5677
|
z.literal("fax"),
|
|
5537
5678
|
z.literal("pager")
|
|
5538
5679
|
]);
|
|
5539
|
-
var
|
|
5540
|
-
type: z.literal("loading-indicator"),
|
|
5541
|
-
size: sizeSchema.optional(),
|
|
5542
|
-
control: z.string().optional(),
|
|
5543
|
-
margin: sizeSchema.optional()
|
|
5544
|
-
});
|
|
5545
|
-
var paragraphLayoutSchema = z.object({
|
|
5546
|
-
type: z.literal("paragraph"),
|
|
5547
|
-
text: z.string(),
|
|
5548
|
-
align: alignSchema.optional(),
|
|
5549
|
-
control: z.string().optional(),
|
|
5550
|
-
margin: sizeSchema.optional()
|
|
5551
|
-
});
|
|
5552
|
-
var dividerLayoutSchema = z.object({
|
|
5553
|
-
type: z.literal("divider"),
|
|
5554
|
-
control: z.string().optional(),
|
|
5555
|
-
margin: sizeSchema.optional()
|
|
5556
|
-
});
|
|
5557
|
-
var listLayoutStatusSchema = z.union([
|
|
5558
|
-
z.literal("warning"),
|
|
5559
|
-
z.literal("neutral"),
|
|
5560
|
-
z.literal("positive")
|
|
5561
|
-
]);
|
|
5562
|
-
var formLayoutSchemaReferenceSchema = z.object({
|
|
5563
|
-
$ref: z.string()
|
|
5564
|
-
});
|
|
5565
|
-
var imageLayoutSchema = z.object({
|
|
5566
|
-
type: z.literal("image"),
|
|
5567
|
-
text: z.string().optional(),
|
|
5568
|
-
url: z.string().optional(),
|
|
5569
|
-
accessibilityDescription: z.string().optional(),
|
|
5570
|
-
content: imageSchema.optional(),
|
|
5571
|
-
size: sizeSchema.optional(),
|
|
5572
|
-
control: z.string().optional(),
|
|
5573
|
-
margin: sizeSchema.optional(),
|
|
5574
|
-
align: alignSchema.optional()
|
|
5575
|
-
});
|
|
5576
|
-
var statusListLayoutStatusSchema = z.union([
|
|
5577
|
-
z.literal("not-done"),
|
|
5578
|
-
z.literal("pending"),
|
|
5579
|
-
z.literal("done")
|
|
5580
|
-
]);
|
|
5581
|
-
var instructionsLayoutItemSchema = z.object({
|
|
5582
|
-
text: z.string(),
|
|
5583
|
-
context: contextSchema,
|
|
5584
|
-
tag: z.string().optional()
|
|
5585
|
-
});
|
|
5586
|
-
var modalLayoutTriggerSchema = z.object({
|
|
5587
|
-
title: z.string()
|
|
5588
|
-
});
|
|
5589
|
-
var searchLayoutSchema = z.object({
|
|
5590
|
-
type: z.literal("search"),
|
|
5591
|
-
title: z.string(),
|
|
5592
|
-
method: httpMethodSchema,
|
|
5593
|
-
url: z.string(),
|
|
5594
|
-
param: z.string(),
|
|
5595
|
-
emptyMessage: z.string().optional(),
|
|
5596
|
-
control: z.string().optional(),
|
|
5597
|
-
margin: sizeSchema.optional()
|
|
5598
|
-
});
|
|
5599
|
-
var infoLayoutSchema = z.object({
|
|
5600
|
-
type: z.literal("info"),
|
|
5601
|
-
markdown: z.string(),
|
|
5602
|
-
align: alignSchema.optional(),
|
|
5603
|
-
control: z.string().optional(),
|
|
5604
|
-
margin: sizeSchema.optional()
|
|
5605
|
-
});
|
|
5606
|
-
var formLayoutSchema = z.object({
|
|
5607
|
-
type: z.literal("form"),
|
|
5608
|
-
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
5609
|
-
schemaId: z.string(),
|
|
5610
|
-
control: z.string().optional(),
|
|
5611
|
-
margin: sizeSchema.optional()
|
|
5612
|
-
});
|
|
5613
|
-
var headingLayoutSchema = z.object({
|
|
5614
|
-
type: z.literal("heading"),
|
|
5615
|
-
text: z.string(),
|
|
5616
|
-
size: sizeSchema.optional(),
|
|
5617
|
-
align: alignSchema.optional(),
|
|
5618
|
-
control: z.string().optional(),
|
|
5619
|
-
margin: sizeSchema.optional()
|
|
5620
|
-
});
|
|
5621
|
-
var markdownLayoutSchema = z.object({
|
|
5622
|
-
type: z.literal("markdown"),
|
|
5623
|
-
content: z.string(),
|
|
5624
|
-
align: alignSchema.optional(),
|
|
5625
|
-
control: z.string().optional(),
|
|
5626
|
-
margin: sizeSchema.optional()
|
|
5627
|
-
});
|
|
5628
|
-
var columnsLayoutBiasSchema = z.union([
|
|
5680
|
+
var autocapitalizationTypeSchema = z.union([
|
|
5629
5681
|
z.literal("none"),
|
|
5630
|
-
z.literal("
|
|
5631
|
-
z.literal("
|
|
5632
|
-
|
|
5633
|
-
var helpSchema = z.object({
|
|
5634
|
-
markdown: z.string()
|
|
5635
|
-
});
|
|
5636
|
-
var searchSearchRequestSchema = z.object({
|
|
5637
|
-
url: z.string(),
|
|
5638
|
-
method: httpMethodSchema,
|
|
5639
|
-
param: z.string(),
|
|
5640
|
-
query: z.string()
|
|
5641
|
-
});
|
|
5642
|
-
var jsonElementSchema = z.lazy(
|
|
5643
|
-
() => z.union([
|
|
5644
|
-
z.string(),
|
|
5645
|
-
z.number(),
|
|
5646
|
-
z.boolean(),
|
|
5647
|
-
z.record(jsonElementSchema),
|
|
5648
|
-
z.array(jsonElementSchema)
|
|
5649
|
-
]).nullable()
|
|
5650
|
-
);
|
|
5651
|
-
var externalSchema = z.object({
|
|
5652
|
-
url: z.string()
|
|
5653
|
-
});
|
|
5654
|
-
var stepErrorSchema = z.object({
|
|
5655
|
-
error: z.string().optional(),
|
|
5656
|
-
validation: jsonElementSchema.optional()
|
|
5657
|
-
});
|
|
5658
|
-
var stringSchemaFormatSchema = z.union([
|
|
5659
|
-
z.literal("date"),
|
|
5660
|
-
z.literal("email"),
|
|
5661
|
-
z.literal("numeric"),
|
|
5662
|
-
z.literal("password"),
|
|
5663
|
-
z.literal("phone-number"),
|
|
5664
|
-
z.literal("base64url")
|
|
5665
|
-
]);
|
|
5666
|
-
var summarySummariserSchema = z.object({
|
|
5667
|
-
defaultTitle: z.string().optional(),
|
|
5668
|
-
defaultDescription: z.string().optional(),
|
|
5669
|
-
defaultIcon: iconSchema.optional(),
|
|
5670
|
-
defaultImage: imageSchema.optional(),
|
|
5671
|
-
providesTitle: z.boolean().optional(),
|
|
5672
|
-
providesDescription: z.boolean().optional(),
|
|
5673
|
-
providesIcon: z.boolean().optional(),
|
|
5674
|
-
providesImage: z.boolean().optional()
|
|
5675
|
-
});
|
|
5676
|
-
var validateAsyncSchema = z.object({
|
|
5677
|
-
param: z.string(),
|
|
5678
|
-
method: httpMethodSchema,
|
|
5679
|
-
url: z.string()
|
|
5680
|
-
});
|
|
5681
|
-
var summaryProviderSchema = z.object({
|
|
5682
|
-
providesTitle: z.boolean().optional(),
|
|
5683
|
-
providesDescription: z.boolean().optional(),
|
|
5684
|
-
providesIcon: z.boolean().optional(),
|
|
5685
|
-
providesImage: z.boolean().optional()
|
|
5686
|
-
});
|
|
5687
|
-
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
5688
|
-
var suggestionsValueSchema = z.object({
|
|
5689
|
-
label: z.string(),
|
|
5690
|
-
value: jsonElementSchema.optional(),
|
|
5691
|
-
icon: iconSchema.optional(),
|
|
5692
|
-
image: imageSchema.optional(),
|
|
5693
|
-
tag: z.string().optional()
|
|
5694
|
-
});
|
|
5695
|
-
var navigationStackBehaviorSchema = z.union([
|
|
5696
|
-
z.literal("default"),
|
|
5697
|
-
z.literal("remove-previous"),
|
|
5698
|
-
z.literal("remove-all"),
|
|
5699
|
-
z.literal("replace-current")
|
|
5700
|
-
]);
|
|
5701
|
-
var actionTypeSchema = z.union([
|
|
5702
|
-
z.literal("primary"),
|
|
5703
|
-
z.literal("secondary"),
|
|
5704
|
-
z.literal("link"),
|
|
5705
|
-
z.literal("positive"),
|
|
5706
|
-
z.literal("negative")
|
|
5682
|
+
z.literal("characters"),
|
|
5683
|
+
z.literal("sentences"),
|
|
5684
|
+
z.literal("words")
|
|
5707
5685
|
]);
|
|
5708
|
-
var
|
|
5709
|
-
|
|
5710
|
-
type: z.literal("link"),
|
|
5711
|
-
url: z.string()
|
|
5686
|
+
var iconNamedSchema = z.object({
|
|
5687
|
+
name: z.string()
|
|
5712
5688
|
});
|
|
5713
|
-
var
|
|
5714
|
-
|
|
5689
|
+
var iconTextSchema = z.object({
|
|
5690
|
+
text: z.string()
|
|
5691
|
+
});
|
|
5692
|
+
var stringSchemaFormatSchema = z.union([
|
|
5693
|
+
z.literal("date"),
|
|
5694
|
+
z.literal("email"),
|
|
5695
|
+
z.literal("numeric"),
|
|
5696
|
+
z.literal("password"),
|
|
5697
|
+
z.literal("phone-number"),
|
|
5698
|
+
z.literal("base64url")
|
|
5699
|
+
]);
|
|
5700
|
+
var stepErrorSchema = z.object({
|
|
5701
|
+
error: z.string().optional(),
|
|
5702
|
+
validation: jsonElementSchema.optional()
|
|
5715
5703
|
});
|
|
5716
5704
|
var actionSchema = z.object({
|
|
5717
5705
|
title: z.string().optional(),
|
|
@@ -5728,6 +5716,31 @@ var actionSchema = z.object({
|
|
|
5728
5716
|
timeout: z.number().optional(),
|
|
5729
5717
|
skipValidation: z.boolean().optional()
|
|
5730
5718
|
});
|
|
5719
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
5720
|
+
var summarySummariserSchema = z.object({
|
|
5721
|
+
defaultTitle: z.string().optional(),
|
|
5722
|
+
defaultDescription: z.string().optional(),
|
|
5723
|
+
defaultIcon: iconSchema.optional(),
|
|
5724
|
+
defaultImage: imageSchema.optional(),
|
|
5725
|
+
providesTitle: z.boolean().optional(),
|
|
5726
|
+
providesDescription: z.boolean().optional(),
|
|
5727
|
+
providesIcon: z.boolean().optional(),
|
|
5728
|
+
providesImage: z.boolean().optional()
|
|
5729
|
+
});
|
|
5730
|
+
var formLayoutSchema = z.object({
|
|
5731
|
+
type: z.literal("form"),
|
|
5732
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
5733
|
+
schemaId: z.string(),
|
|
5734
|
+
control: z.string().optional(),
|
|
5735
|
+
margin: sizeSchema.optional()
|
|
5736
|
+
});
|
|
5737
|
+
var infoLayoutSchema = z.object({
|
|
5738
|
+
type: z.literal("info"),
|
|
5739
|
+
markdown: z.string(),
|
|
5740
|
+
align: alignSchema.optional(),
|
|
5741
|
+
control: z.string().optional(),
|
|
5742
|
+
margin: sizeSchema.optional()
|
|
5743
|
+
});
|
|
5731
5744
|
var listLayoutItemSchema = z.object({
|
|
5732
5745
|
description: z.string().optional(),
|
|
5733
5746
|
status: listLayoutStatusSchema.optional(),
|
|
@@ -5739,75 +5752,77 @@ var listLayoutItemSchema = z.object({
|
|
|
5739
5752
|
subvalue: z.string().optional(),
|
|
5740
5753
|
tag: z.string().optional()
|
|
5741
5754
|
});
|
|
5742
|
-
var
|
|
5743
|
-
|
|
5744
|
-
title: z.string().optional(),
|
|
5745
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
5746
|
-
control: z.string().optional(),
|
|
5747
|
-
margin: sizeSchema.optional()
|
|
5748
|
-
});
|
|
5749
|
-
var reviewLayoutFieldSchema = z.object({
|
|
5750
|
-
label: z.string(),
|
|
5751
|
-
value: z.string(),
|
|
5752
|
-
rawValue: z.string().optional(),
|
|
5753
|
-
help: helpSchema.optional(),
|
|
5754
|
-
tag: z.string().optional()
|
|
5755
|
+
var actionResponseBodySchema = z.object({
|
|
5756
|
+
action: actionSchema
|
|
5755
5757
|
});
|
|
5756
|
-
var
|
|
5757
|
-
type: z.literal("
|
|
5758
|
+
var searchResultActionSchema = z.object({
|
|
5759
|
+
type: z.literal("action"),
|
|
5758
5760
|
title: z.string(),
|
|
5759
5761
|
description: z.string().optional(),
|
|
5760
5762
|
icon: iconSchema.optional(),
|
|
5761
5763
|
image: imageSchema.optional(),
|
|
5762
|
-
value:
|
|
5764
|
+
value: actionSchema
|
|
5763
5765
|
});
|
|
5764
|
-
var
|
|
5765
|
-
type: z.literal("
|
|
5766
|
+
var searchResultSearchSchema = z.object({
|
|
5767
|
+
type: z.literal("search"),
|
|
5766
5768
|
title: z.string(),
|
|
5767
5769
|
description: z.string().optional(),
|
|
5768
5770
|
icon: iconSchema.optional(),
|
|
5769
5771
|
image: imageSchema.optional(),
|
|
5770
|
-
value:
|
|
5772
|
+
value: searchSearchRequestSchema
|
|
5771
5773
|
});
|
|
5772
|
-
var
|
|
5774
|
+
var actionBehaviorSchema = z.object({
|
|
5775
|
+
type: z.literal("action"),
|
|
5773
5776
|
action: actionSchema
|
|
5774
5777
|
});
|
|
5775
|
-
var
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
error: z.string().optional(),
|
|
5779
|
-
validation: jsonElementSchema.optional(),
|
|
5780
|
-
refreshUrl: z.string().optional()
|
|
5781
|
-
});
|
|
5782
|
-
var suggestionsSchema = z.object({
|
|
5783
|
-
values: z.array(suggestionsValueSchema)
|
|
5778
|
+
var containerBehaviorSchema = z.object({
|
|
5779
|
+
action: actionSchema.optional(),
|
|
5780
|
+
link: linkSchema.optional()
|
|
5784
5781
|
});
|
|
5785
5782
|
var navigationBackBehaviorSchema = z.object({
|
|
5786
5783
|
title: z.string().optional(),
|
|
5787
5784
|
action: actionSchema
|
|
5788
5785
|
});
|
|
5789
|
-
var
|
|
5790
|
-
|
|
5791
|
-
|
|
5786
|
+
var suggestionsValueSchema = z.object({
|
|
5787
|
+
label: z.string(),
|
|
5788
|
+
value: jsonElementSchema.optional(),
|
|
5789
|
+
icon: iconSchema.optional(),
|
|
5790
|
+
image: imageSchema.optional(),
|
|
5791
|
+
tag: z.string().optional()
|
|
5792
5792
|
});
|
|
5793
|
-
var
|
|
5794
|
-
|
|
5795
|
-
|
|
5793
|
+
var suggestionsSchema = z.object({
|
|
5794
|
+
values: z.array(suggestionsValueSchema)
|
|
5795
|
+
});
|
|
5796
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
5797
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
5798
|
+
var searchResponseBodySchema = z.object({
|
|
5799
|
+
results: z.array(searchResultSchema)
|
|
5796
5800
|
});
|
|
5797
5801
|
var behaviorSchema = z.union([
|
|
5798
5802
|
actionBehaviorSchema,
|
|
5799
5803
|
containerBehaviorSchema,
|
|
5800
5804
|
linkBehaviorSchema
|
|
5801
5805
|
]);
|
|
5802
|
-
var
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
+
var navigationSchema = z.object({
|
|
5807
|
+
backButton: navigationBackBehaviorSchema.optional(),
|
|
5808
|
+
back: navigationBackBehaviorSchema.optional(),
|
|
5809
|
+
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
5806
5810
|
});
|
|
5807
|
-
var
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
+
var linkHandlerSchema = z.object({
|
|
5812
|
+
regexPattern: z.string(),
|
|
5813
|
+
behavior: behaviorSchema.optional()
|
|
5814
|
+
});
|
|
5815
|
+
var pollingOnErrorSchema = z.object({
|
|
5816
|
+
action: actionSchema.optional(),
|
|
5817
|
+
behavior: behaviorSchema.optional()
|
|
5818
|
+
});
|
|
5819
|
+
var pollingSchema = z.object({
|
|
5820
|
+
interval: z.number().optional(),
|
|
5821
|
+
url: z.string(),
|
|
5822
|
+
delay: z.number().optional(),
|
|
5823
|
+
timeout: z.number().optional(),
|
|
5824
|
+
maxAttempts: z.number(),
|
|
5825
|
+
onError: pollingOnErrorSchema
|
|
5811
5826
|
});
|
|
5812
5827
|
var decisionLayoutOptionSchema = z.object({
|
|
5813
5828
|
action: actionSchema.optional(),
|
|
@@ -5819,11 +5834,6 @@ var decisionLayoutOptionSchema = z.object({
|
|
|
5819
5834
|
behavior: behaviorSchema.optional(),
|
|
5820
5835
|
tag: z.string().optional()
|
|
5821
5836
|
});
|
|
5822
|
-
var itemCallToActionSchema = z.object({
|
|
5823
|
-
title: z.string(),
|
|
5824
|
-
accessibilityDescription: z.string().optional(),
|
|
5825
|
-
behavior: behaviorSchema
|
|
5826
|
-
});
|
|
5827
5837
|
var buttonLayoutSchema = z.object({
|
|
5828
5838
|
type: z.literal("button"),
|
|
5829
5839
|
action: actionSchema.optional(),
|
|
@@ -5836,26 +5846,22 @@ var buttonLayoutSchema = z.object({
|
|
|
5836
5846
|
control: z.string().optional(),
|
|
5837
5847
|
margin: sizeSchema.optional()
|
|
5838
5848
|
});
|
|
5839
|
-
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
5840
|
-
var linkHandlerSchema = z.object({
|
|
5841
|
-
regexPattern: z.string(),
|
|
5842
|
-
behavior: behaviorSchema.optional()
|
|
5843
|
-
});
|
|
5844
|
-
var navigationSchema = z.object({
|
|
5845
|
-
backButton: navigationBackBehaviorSchema.optional(),
|
|
5846
|
-
back: navigationBackBehaviorSchema.optional(),
|
|
5847
|
-
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
5848
|
-
});
|
|
5849
|
-
var pollingOnErrorSchema = z.object({
|
|
5850
|
-
action: actionSchema.optional(),
|
|
5851
|
-
behavior: behaviorSchema.optional()
|
|
5852
|
-
});
|
|
5853
5849
|
var reviewLayoutCallToActionSchema = z.object({
|
|
5854
5850
|
action: actionSchema.optional(),
|
|
5855
5851
|
title: z.string(),
|
|
5856
5852
|
accessibilityDescription: z.string().optional(),
|
|
5857
5853
|
behavior: behaviorSchema.optional()
|
|
5858
5854
|
});
|
|
5855
|
+
var alertLayoutCallToActionSchema = z.object({
|
|
5856
|
+
title: z.string(),
|
|
5857
|
+
accessibilityDescription: z.string().optional(),
|
|
5858
|
+
behavior: behaviorSchema
|
|
5859
|
+
});
|
|
5860
|
+
var itemCallToActionSchema = z.object({
|
|
5861
|
+
title: z.string(),
|
|
5862
|
+
accessibilityDescription: z.string().optional(),
|
|
5863
|
+
behavior: behaviorSchema
|
|
5864
|
+
});
|
|
5859
5865
|
var alertLayoutSchema = z.object({
|
|
5860
5866
|
type: z.literal("alert"),
|
|
5861
5867
|
markdown: z.string(),
|
|
@@ -5864,13 +5870,10 @@ var alertLayoutSchema = z.object({
|
|
|
5864
5870
|
margin: sizeSchema.optional(),
|
|
5865
5871
|
callToAction: alertLayoutCallToActionSchema.optional()
|
|
5866
5872
|
});
|
|
5867
|
-
var
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
items: z.array(listLayoutItemSchema),
|
|
5872
|
-
control: z.string().optional(),
|
|
5873
|
-
margin: sizeSchema.optional()
|
|
5873
|
+
var listLayoutCallToActionSchema = z.object({
|
|
5874
|
+
title: z.string(),
|
|
5875
|
+
accessibilityDescription: z.string().optional(),
|
|
5876
|
+
behavior: behaviorSchema
|
|
5874
5877
|
});
|
|
5875
5878
|
var decisionLayoutSchema = z.object({
|
|
5876
5879
|
type: z.literal("decision"),
|
|
@@ -5879,34 +5882,29 @@ var decisionLayoutSchema = z.object({
|
|
|
5879
5882
|
control: z.string().optional(),
|
|
5880
5883
|
margin: sizeSchema.optional()
|
|
5881
5884
|
});
|
|
5882
|
-
var
|
|
5883
|
-
|
|
5884
|
-
description: z.string().optional(),
|
|
5885
|
-
icon: iconSchema,
|
|
5886
|
-
status: statusListLayoutStatusSchema.optional(),
|
|
5887
|
-
callToAction: itemCallToActionSchema.optional(),
|
|
5888
|
-
tag: z.string().optional()
|
|
5889
|
-
});
|
|
5890
|
-
var reviewLayoutSchema = z.object({
|
|
5891
|
-
type: z.literal("review"),
|
|
5892
|
-
orientation: z.string().optional(),
|
|
5893
|
-
action: actionSchema.optional(),
|
|
5894
|
-
fields: z.array(reviewLayoutFieldSchema),
|
|
5885
|
+
var listLayoutSchema = z.object({
|
|
5886
|
+
type: z.literal("list"),
|
|
5895
5887
|
title: z.string().optional(),
|
|
5896
|
-
callToAction:
|
|
5888
|
+
callToAction: listLayoutCallToActionSchema.optional(),
|
|
5889
|
+
items: z.array(listLayoutItemSchema),
|
|
5897
5890
|
control: z.string().optional(),
|
|
5898
5891
|
margin: sizeSchema.optional()
|
|
5899
5892
|
});
|
|
5900
|
-
var
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5893
|
+
var constSchemaSchema = z.object({
|
|
5894
|
+
hidden: z.boolean().optional(),
|
|
5895
|
+
alert: alertLayoutSchema.optional(),
|
|
5896
|
+
control: z.string().optional(),
|
|
5897
|
+
promoted: z.boolean().optional(),
|
|
5898
|
+
$id: z.string().optional(),
|
|
5899
|
+
const: jsonElementSchema,
|
|
5900
|
+
title: z.string().optional(),
|
|
5901
|
+
description: z.string().optional(),
|
|
5902
|
+
icon: iconSchema.optional(),
|
|
5903
|
+
image: imageSchema.optional(),
|
|
5904
|
+
keywords: z.array(z.string()).optional(),
|
|
5905
|
+
summary: summaryProviderSchema.optional(),
|
|
5906
|
+
analyticsId: z.string().optional(),
|
|
5907
|
+
disabled: z.boolean().optional()
|
|
5910
5908
|
});
|
|
5911
5909
|
var blobSchemaSchema = z.object({
|
|
5912
5910
|
type: z.literal("blob"),
|
|
@@ -5930,21 +5928,23 @@ var blobSchemaSchema = z.object({
|
|
|
5930
5928
|
source: uploadSourceSchema.optional(),
|
|
5931
5929
|
disabled: z.boolean().optional()
|
|
5932
5930
|
});
|
|
5933
|
-
var
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
$id: z.string().optional(),
|
|
5939
|
-
const: jsonElementSchema,
|
|
5931
|
+
var reviewLayoutSchema = z.object({
|
|
5932
|
+
type: z.literal("review"),
|
|
5933
|
+
orientation: z.string().optional(),
|
|
5934
|
+
action: actionSchema.optional(),
|
|
5935
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
5940
5936
|
title: z.string().optional(),
|
|
5937
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
5938
|
+
control: z.string().optional(),
|
|
5939
|
+
margin: sizeSchema.optional()
|
|
5940
|
+
});
|
|
5941
|
+
var statusListLayoutItemSchema = z.object({
|
|
5942
|
+
title: z.string(),
|
|
5941
5943
|
description: z.string().optional(),
|
|
5942
|
-
icon: iconSchema
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
analyticsId: z.string().optional(),
|
|
5947
|
-
disabled: z.boolean().optional()
|
|
5944
|
+
icon: iconSchema,
|
|
5945
|
+
status: statusListLayoutStatusSchema.optional(),
|
|
5946
|
+
callToAction: itemCallToActionSchema.optional(),
|
|
5947
|
+
tag: z.string().optional()
|
|
5948
5948
|
});
|
|
5949
5949
|
var statusListLayoutSchema = z.object({
|
|
5950
5950
|
type: z.literal("status-list"),
|
|
@@ -5953,6 +5953,39 @@ var statusListLayoutSchema = z.object({
|
|
|
5953
5953
|
control: z.string().optional(),
|
|
5954
5954
|
margin: sizeSchema.optional()
|
|
5955
5955
|
});
|
|
5956
|
+
var persistAsyncSchema = z.lazy(
|
|
5957
|
+
() => z.object({
|
|
5958
|
+
param: z.string(),
|
|
5959
|
+
idProperty: z.string(),
|
|
5960
|
+
schema: schemaSchema,
|
|
5961
|
+
url: z.string(),
|
|
5962
|
+
method: httpMethodSchema
|
|
5963
|
+
})
|
|
5964
|
+
);
|
|
5965
|
+
var schemaSchema = z.lazy(
|
|
5966
|
+
() => z.union([
|
|
5967
|
+
allOfSchemaSchema,
|
|
5968
|
+
arraySchemaSchema,
|
|
5969
|
+
blobSchemaSchema,
|
|
5970
|
+
booleanSchemaSchema,
|
|
5971
|
+
constSchemaSchema,
|
|
5972
|
+
integerSchemaSchema,
|
|
5973
|
+
numberSchemaSchema,
|
|
5974
|
+
objectSchemaSchema,
|
|
5975
|
+
oneOfSchemaSchema,
|
|
5976
|
+
stringSchemaSchema
|
|
5977
|
+
])
|
|
5978
|
+
);
|
|
5979
|
+
var columnsLayoutSchema = z.lazy(
|
|
5980
|
+
() => z.object({
|
|
5981
|
+
type: z.literal("columns"),
|
|
5982
|
+
left: z.array(layoutSchema),
|
|
5983
|
+
right: z.array(layoutSchema),
|
|
5984
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
5985
|
+
control: z.string().optional(),
|
|
5986
|
+
margin: sizeSchema.optional()
|
|
5987
|
+
})
|
|
5988
|
+
);
|
|
5956
5989
|
var layoutSchema = z.lazy(
|
|
5957
5990
|
() => z.union([
|
|
5958
5991
|
alertLayoutSchema,
|
|
@@ -5976,6 +6009,12 @@ var layoutSchema = z.lazy(
|
|
|
5976
6009
|
statusListLayoutSchema
|
|
5977
6010
|
])
|
|
5978
6011
|
);
|
|
6012
|
+
var modalLayoutContentSchema = z.lazy(
|
|
6013
|
+
() => z.object({
|
|
6014
|
+
title: z.string().optional(),
|
|
6015
|
+
components: z.array(layoutSchema)
|
|
6016
|
+
})
|
|
6017
|
+
);
|
|
5979
6018
|
var boxLayoutSchema = z.lazy(
|
|
5980
6019
|
() => z.object({
|
|
5981
6020
|
type: z.literal("box"),
|
|
@@ -5986,16 +6025,6 @@ var boxLayoutSchema = z.lazy(
|
|
|
5986
6025
|
margin: sizeSchema.optional()
|
|
5987
6026
|
})
|
|
5988
6027
|
);
|
|
5989
|
-
var columnsLayoutSchema = z.lazy(
|
|
5990
|
-
() => z.object({
|
|
5991
|
-
type: z.literal("columns"),
|
|
5992
|
-
left: z.array(layoutSchema),
|
|
5993
|
-
right: z.array(layoutSchema),
|
|
5994
|
-
bias: columnsLayoutBiasSchema.optional(),
|
|
5995
|
-
control: z.string().optional(),
|
|
5996
|
-
margin: sizeSchema.optional()
|
|
5997
|
-
})
|
|
5998
|
-
);
|
|
5999
6028
|
var modalLayoutSchema = z.lazy(
|
|
6000
6029
|
() => z.object({
|
|
6001
6030
|
type: z.literal("modal"),
|
|
@@ -6005,12 +6034,6 @@ var modalLayoutSchema = z.lazy(
|
|
|
6005
6034
|
content: modalLayoutContentSchema
|
|
6006
6035
|
})
|
|
6007
6036
|
);
|
|
6008
|
-
var modalLayoutContentSchema = z.lazy(
|
|
6009
|
-
() => z.object({
|
|
6010
|
-
title: z.string().optional(),
|
|
6011
|
-
components: z.array(layoutSchema)
|
|
6012
|
-
})
|
|
6013
|
-
);
|
|
6014
6037
|
var stepSchema = z.lazy(
|
|
6015
6038
|
() => z.object({
|
|
6016
6039
|
key: z.string().optional(),
|
|
@@ -6034,54 +6057,29 @@ var stepSchema = z.lazy(
|
|
|
6034
6057
|
refreshAfter: z.string().optional()
|
|
6035
6058
|
})
|
|
6036
6059
|
);
|
|
6037
|
-
var
|
|
6038
|
-
() => z.union([
|
|
6039
|
-
allOfSchemaSchema,
|
|
6040
|
-
arraySchemaSchema,
|
|
6041
|
-
blobSchemaSchema,
|
|
6042
|
-
booleanSchemaSchema,
|
|
6043
|
-
constSchemaSchema,
|
|
6044
|
-
integerSchemaSchema,
|
|
6045
|
-
numberSchemaSchema,
|
|
6046
|
-
objectSchemaSchema,
|
|
6047
|
-
oneOfSchemaSchema,
|
|
6048
|
-
stringSchemaSchema
|
|
6049
|
-
])
|
|
6050
|
-
);
|
|
6051
|
-
var allOfSchemaSchema = z.lazy(
|
|
6052
|
-
() => z.object({
|
|
6053
|
-
disabled: z.boolean().optional(),
|
|
6054
|
-
promoted: z.boolean().optional(),
|
|
6055
|
-
allOf: z.array(schemaSchema),
|
|
6056
|
-
$id: z.string().optional(),
|
|
6057
|
-
title: z.string().optional(),
|
|
6058
|
-
description: z.string().optional(),
|
|
6059
|
-
control: z.string().optional(),
|
|
6060
|
-
hidden: z.boolean().optional(),
|
|
6061
|
-
icon: iconSchema.optional(),
|
|
6062
|
-
image: imageSchema.optional(),
|
|
6063
|
-
keywords: z.array(z.string()).optional(),
|
|
6064
|
-
summary: summaryProviderSchema.optional(),
|
|
6065
|
-
analyticsId: z.string().optional(),
|
|
6066
|
-
alert: alertLayoutSchema.optional()
|
|
6067
|
-
})
|
|
6068
|
-
);
|
|
6069
|
-
var arraySchemaSchema = z.lazy(
|
|
6070
|
-
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
6071
|
-
);
|
|
6072
|
-
var booleanSchemaSchema = z.lazy(
|
|
6060
|
+
var stringSchemaSchema = z.lazy(
|
|
6073
6061
|
() => z.object({
|
|
6074
|
-
type: z.literal("
|
|
6062
|
+
type: z.literal("string"),
|
|
6075
6063
|
autofillProvider: z.string().optional(),
|
|
6076
6064
|
promoted: z.boolean().optional(),
|
|
6077
6065
|
refreshFormOnChange: z.boolean().optional(),
|
|
6078
6066
|
refreshUrl: z.string().optional(),
|
|
6079
6067
|
refreshFormUrl: z.string().optional(),
|
|
6068
|
+
format: stringSchemaFormatSchema.optional(),
|
|
6069
|
+
displayFormat: z.string().optional(),
|
|
6070
|
+
placeholder: z.string().optional(),
|
|
6071
|
+
minLength: z.number().optional(),
|
|
6072
|
+
maxLength: z.number().optional(),
|
|
6073
|
+
minimum: z.string().optional(),
|
|
6074
|
+
maximum: z.string().optional(),
|
|
6075
|
+
pattern: z.string().optional(),
|
|
6076
|
+
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
6077
|
+
autocorrect: z.boolean().optional(),
|
|
6080
6078
|
$id: z.string().optional(),
|
|
6081
6079
|
title: z.string().optional(),
|
|
6082
6080
|
description: z.string().optional(),
|
|
6083
6081
|
control: z.string().optional(),
|
|
6084
|
-
default: z.
|
|
6082
|
+
default: z.string().optional(),
|
|
6085
6083
|
hidden: z.boolean().optional(),
|
|
6086
6084
|
disabled: z.boolean().optional(),
|
|
6087
6085
|
icon: iconSchema.optional(),
|
|
@@ -6092,42 +6090,46 @@ var booleanSchemaSchema = z.lazy(
|
|
|
6092
6090
|
persistAsync: persistAsyncSchema.optional(),
|
|
6093
6091
|
refreshStepOnChange: z.boolean().optional(),
|
|
6094
6092
|
validationAsync: validateAsyncSchema.optional(),
|
|
6093
|
+
validationMessages: z.record(z.string()).optional(),
|
|
6095
6094
|
alert: alertLayoutSchema.optional(),
|
|
6095
|
+
cameraConfig: jsonElementSchema.optional(),
|
|
6096
|
+
accepts: z.array(z.string()).optional(),
|
|
6097
|
+
maxSize: z.number().optional(),
|
|
6098
|
+
source: uploadSourceSchema.optional(),
|
|
6099
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6096
6100
|
autofillKey: z.string().optional(),
|
|
6097
|
-
help: helpSchema.optional()
|
|
6101
|
+
help: helpSchema.optional(),
|
|
6102
|
+
suggestions: suggestionsSchema.optional()
|
|
6098
6103
|
})
|
|
6099
6104
|
);
|
|
6100
|
-
var
|
|
6105
|
+
var oneOfSchemaSchema = z.lazy(
|
|
6101
6106
|
() => z.object({
|
|
6102
|
-
type: z.literal("integer"),
|
|
6103
6107
|
autofillProvider: z.string().optional(),
|
|
6104
6108
|
promoted: z.boolean().optional(),
|
|
6105
6109
|
refreshFormOnChange: z.boolean().optional(),
|
|
6106
6110
|
refreshUrl: z.string().optional(),
|
|
6107
6111
|
refreshFormUrl: z.string().optional(),
|
|
6112
|
+
promotion: jsonElementSchema.optional(),
|
|
6113
|
+
oneOf: z.array(schemaSchema),
|
|
6108
6114
|
placeholder: z.string().optional(),
|
|
6109
|
-
minimum: z.number().optional(),
|
|
6110
|
-
maximum: z.number().optional(),
|
|
6111
6115
|
$id: z.string().optional(),
|
|
6112
6116
|
title: z.string().optional(),
|
|
6113
6117
|
description: z.string().optional(),
|
|
6114
6118
|
control: z.string().optional(),
|
|
6115
|
-
default:
|
|
6119
|
+
default: jsonElementSchema.optional(),
|
|
6116
6120
|
hidden: z.boolean().optional(),
|
|
6117
|
-
disabled: z.boolean().optional(),
|
|
6118
6121
|
icon: iconSchema.optional(),
|
|
6119
6122
|
image: imageSchema.optional(),
|
|
6120
6123
|
keywords: z.array(z.string()).optional(),
|
|
6121
6124
|
summary: summaryProviderSchema.optional(),
|
|
6122
6125
|
analyticsId: z.string().optional(),
|
|
6123
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
6124
6126
|
refreshStepOnChange: z.boolean().optional(),
|
|
6125
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
6126
|
-
validationMessages: z.record(z.string()).optional(),
|
|
6127
6127
|
alert: alertLayoutSchema.optional(),
|
|
6128
|
+
help: helpSchema.optional(),
|
|
6128
6129
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6129
6130
|
autofillKey: z.string().optional(),
|
|
6130
|
-
|
|
6131
|
+
validationMessages: z.record(z.string()).optional(),
|
|
6132
|
+
disabled: z.boolean().optional()
|
|
6131
6133
|
})
|
|
6132
6134
|
);
|
|
6133
6135
|
var numberSchemaSchema = z.lazy(
|
|
@@ -6163,16 +6165,12 @@ var numberSchemaSchema = z.lazy(
|
|
|
6163
6165
|
help: helpSchema.optional()
|
|
6164
6166
|
})
|
|
6165
6167
|
);
|
|
6166
|
-
var
|
|
6168
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
6167
6169
|
() => z.object({
|
|
6168
|
-
type: z.literal("
|
|
6169
|
-
disabled: z.boolean().optional(),
|
|
6170
|
+
type: z.literal("array"),
|
|
6170
6171
|
promoted: z.boolean().optional(),
|
|
6171
|
-
help: helpSchema.optional(),
|
|
6172
|
-
properties: z.record(schemaSchema),
|
|
6173
|
-
displayOrder: z.array(z.string()),
|
|
6174
|
-
required: z.array(z.string()).optional(),
|
|
6175
6172
|
$id: z.string().optional(),
|
|
6173
|
+
items: z.array(schemaSchema),
|
|
6176
6174
|
title: z.string().optional(),
|
|
6177
6175
|
description: z.string().optional(),
|
|
6178
6176
|
control: z.string().optional(),
|
|
@@ -6182,62 +6180,27 @@ var objectSchemaSchema = z.lazy(
|
|
|
6182
6180
|
keywords: z.array(z.string()).optional(),
|
|
6183
6181
|
summary: summaryProviderSchema.optional(),
|
|
6184
6182
|
analyticsId: z.string().optional(),
|
|
6183
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
6184
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
6185
6185
|
alert: alertLayoutSchema.optional()
|
|
6186
6186
|
})
|
|
6187
6187
|
);
|
|
6188
|
-
var
|
|
6189
|
-
() => z.object({
|
|
6190
|
-
autofillProvider: z.string().optional(),
|
|
6191
|
-
promoted: z.boolean().optional(),
|
|
6192
|
-
refreshFormOnChange: z.boolean().optional(),
|
|
6193
|
-
refreshUrl: z.string().optional(),
|
|
6194
|
-
refreshFormUrl: z.string().optional(),
|
|
6195
|
-
promotion: jsonElementSchema.optional(),
|
|
6196
|
-
oneOf: z.array(schemaSchema),
|
|
6197
|
-
placeholder: z.string().optional(),
|
|
6198
|
-
$id: z.string().optional(),
|
|
6199
|
-
title: z.string().optional(),
|
|
6200
|
-
description: z.string().optional(),
|
|
6201
|
-
control: z.string().optional(),
|
|
6202
|
-
default: jsonElementSchema.optional(),
|
|
6203
|
-
hidden: z.boolean().optional(),
|
|
6204
|
-
icon: iconSchema.optional(),
|
|
6205
|
-
image: imageSchema.optional(),
|
|
6206
|
-
keywords: z.array(z.string()).optional(),
|
|
6207
|
-
summary: summaryProviderSchema.optional(),
|
|
6208
|
-
analyticsId: z.string().optional(),
|
|
6209
|
-
refreshStepOnChange: z.boolean().optional(),
|
|
6210
|
-
alert: alertLayoutSchema.optional(),
|
|
6211
|
-
help: helpSchema.optional(),
|
|
6212
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6213
|
-
autofillKey: z.string().optional(),
|
|
6214
|
-
validationMessages: z.record(z.string()).optional(),
|
|
6215
|
-
disabled: z.boolean().optional()
|
|
6216
|
-
})
|
|
6217
|
-
);
|
|
6218
|
-
var stringSchemaSchema = z.lazy(
|
|
6188
|
+
var integerSchemaSchema = z.lazy(
|
|
6219
6189
|
() => z.object({
|
|
6220
|
-
type: z.literal("
|
|
6190
|
+
type: z.literal("integer"),
|
|
6221
6191
|
autofillProvider: z.string().optional(),
|
|
6222
6192
|
promoted: z.boolean().optional(),
|
|
6223
6193
|
refreshFormOnChange: z.boolean().optional(),
|
|
6224
6194
|
refreshUrl: z.string().optional(),
|
|
6225
6195
|
refreshFormUrl: z.string().optional(),
|
|
6226
|
-
format: stringSchemaFormatSchema.optional(),
|
|
6227
|
-
displayFormat: z.string().optional(),
|
|
6228
6196
|
placeholder: z.string().optional(),
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
minimum: z.string().optional(),
|
|
6232
|
-
maximum: z.string().optional(),
|
|
6233
|
-
pattern: z.string().optional(),
|
|
6234
|
-
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
6235
|
-
autocorrect: z.boolean().optional(),
|
|
6197
|
+
minimum: z.number().optional(),
|
|
6198
|
+
maximum: z.number().optional(),
|
|
6236
6199
|
$id: z.string().optional(),
|
|
6237
6200
|
title: z.string().optional(),
|
|
6238
6201
|
description: z.string().optional(),
|
|
6239
6202
|
control: z.string().optional(),
|
|
6240
|
-
default: z.
|
|
6203
|
+
default: z.number().optional(),
|
|
6241
6204
|
hidden: z.boolean().optional(),
|
|
6242
6205
|
disabled: z.boolean().optional(),
|
|
6243
6206
|
icon: iconSchema.optional(),
|
|
@@ -6250,16 +6213,14 @@ var stringSchemaSchema = z.lazy(
|
|
|
6250
6213
|
validationAsync: validateAsyncSchema.optional(),
|
|
6251
6214
|
validationMessages: z.record(z.string()).optional(),
|
|
6252
6215
|
alert: alertLayoutSchema.optional(),
|
|
6253
|
-
cameraConfig: jsonElementSchema.optional(),
|
|
6254
|
-
accepts: z.array(z.string()).optional(),
|
|
6255
|
-
maxSize: z.number().optional(),
|
|
6256
|
-
source: uploadSourceSchema.optional(),
|
|
6257
6216
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6258
6217
|
autofillKey: z.string().optional(),
|
|
6259
|
-
help: helpSchema.optional()
|
|
6260
|
-
suggestions: suggestionsSchema.optional()
|
|
6218
|
+
help: helpSchema.optional()
|
|
6261
6219
|
})
|
|
6262
6220
|
);
|
|
6221
|
+
var arraySchemaSchema = z.lazy(
|
|
6222
|
+
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
6223
|
+
);
|
|
6263
6224
|
var arraySchemaListSchema = z.lazy(
|
|
6264
6225
|
() => z.object({
|
|
6265
6226
|
type: z.literal("array"),
|
|
@@ -6287,32 +6248,71 @@ var arraySchemaListSchema = z.lazy(
|
|
|
6287
6248
|
disabled: z.boolean().optional()
|
|
6288
6249
|
})
|
|
6289
6250
|
);
|
|
6290
|
-
var
|
|
6251
|
+
var allOfSchemaSchema = z.lazy(
|
|
6291
6252
|
() => z.object({
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6253
|
+
disabled: z.boolean().optional(),
|
|
6254
|
+
promoted: z.boolean().optional(),
|
|
6255
|
+
allOf: z.array(schemaSchema),
|
|
6256
|
+
$id: z.string().optional(),
|
|
6257
|
+
title: z.string().optional(),
|
|
6258
|
+
description: z.string().optional(),
|
|
6259
|
+
control: z.string().optional(),
|
|
6260
|
+
hidden: z.boolean().optional(),
|
|
6261
|
+
icon: iconSchema.optional(),
|
|
6262
|
+
image: imageSchema.optional(),
|
|
6263
|
+
keywords: z.array(z.string()).optional(),
|
|
6264
|
+
summary: summaryProviderSchema.optional(),
|
|
6265
|
+
analyticsId: z.string().optional(),
|
|
6266
|
+
alert: alertLayoutSchema.optional()
|
|
6297
6267
|
})
|
|
6298
6268
|
);
|
|
6299
|
-
var
|
|
6269
|
+
var booleanSchemaSchema = z.lazy(
|
|
6300
6270
|
() => z.object({
|
|
6301
|
-
type: z.literal("
|
|
6271
|
+
type: z.literal("boolean"),
|
|
6272
|
+
autofillProvider: z.string().optional(),
|
|
6302
6273
|
promoted: z.boolean().optional(),
|
|
6274
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
6275
|
+
refreshUrl: z.string().optional(),
|
|
6276
|
+
refreshFormUrl: z.string().optional(),
|
|
6303
6277
|
$id: z.string().optional(),
|
|
6304
|
-
items: z.array(schemaSchema),
|
|
6305
6278
|
title: z.string().optional(),
|
|
6306
6279
|
description: z.string().optional(),
|
|
6307
6280
|
control: z.string().optional(),
|
|
6281
|
+
default: z.boolean().optional(),
|
|
6308
6282
|
hidden: z.boolean().optional(),
|
|
6283
|
+
disabled: z.boolean().optional(),
|
|
6309
6284
|
icon: iconSchema.optional(),
|
|
6310
6285
|
image: imageSchema.optional(),
|
|
6311
6286
|
keywords: z.array(z.string()).optional(),
|
|
6312
6287
|
summary: summaryProviderSchema.optional(),
|
|
6313
6288
|
analyticsId: z.string().optional(),
|
|
6314
6289
|
persistAsync: persistAsyncSchema.optional(),
|
|
6290
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
6315
6291
|
validationAsync: validateAsyncSchema.optional(),
|
|
6292
|
+
alert: alertLayoutSchema.optional(),
|
|
6293
|
+
autofillKey: z.string().optional(),
|
|
6294
|
+
help: helpSchema.optional()
|
|
6295
|
+
})
|
|
6296
|
+
);
|
|
6297
|
+
var objectSchemaSchema = z.lazy(
|
|
6298
|
+
() => z.object({
|
|
6299
|
+
type: z.literal("object"),
|
|
6300
|
+
disabled: z.boolean().optional(),
|
|
6301
|
+
promoted: z.boolean().optional(),
|
|
6302
|
+
help: helpSchema.optional(),
|
|
6303
|
+
properties: z.record(schemaSchema),
|
|
6304
|
+
displayOrder: z.array(z.string()),
|
|
6305
|
+
required: z.array(z.string()).optional(),
|
|
6306
|
+
$id: z.string().optional(),
|
|
6307
|
+
title: z.string().optional(),
|
|
6308
|
+
description: z.string().optional(),
|
|
6309
|
+
control: z.string().optional(),
|
|
6310
|
+
hidden: z.boolean().optional(),
|
|
6311
|
+
icon: iconSchema.optional(),
|
|
6312
|
+
image: imageSchema.optional(),
|
|
6313
|
+
keywords: z.array(z.string()).optional(),
|
|
6314
|
+
summary: summaryProviderSchema.optional(),
|
|
6315
|
+
analyticsId: z.string().optional(),
|
|
6316
6316
|
alert: alertLayoutSchema.optional()
|
|
6317
6317
|
})
|
|
6318
6318
|
);
|
|
@@ -11750,8 +11750,10 @@ var stepComponentToProps = ({
|
|
|
11750
11750
|
error,
|
|
11751
11751
|
external,
|
|
11752
11752
|
loadingState,
|
|
11753
|
+
step,
|
|
11753
11754
|
title,
|
|
11754
|
-
components
|
|
11755
|
+
components,
|
|
11756
|
+
onAction
|
|
11755
11757
|
}, rendererMapperProps) => {
|
|
11756
11758
|
const childrenProps = components.map((c) => componentToRendererProps(c, rendererMapperProps));
|
|
11757
11759
|
return __spreadValues({
|
|
@@ -11763,9 +11765,11 @@ var stepComponentToProps = ({
|
|
|
11763
11765
|
error,
|
|
11764
11766
|
external,
|
|
11765
11767
|
loadingState,
|
|
11768
|
+
step,
|
|
11766
11769
|
title,
|
|
11767
11770
|
children: childrenProps.map(rendererMapperProps.render),
|
|
11768
|
-
childrenProps
|
|
11771
|
+
childrenProps,
|
|
11772
|
+
onAction
|
|
11769
11773
|
}, rendererMapperProps);
|
|
11770
11774
|
};
|
|
11771
11775
|
|