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