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