@rebuy/rebuy 2.5.0-rc.1 → 2.5.0-rc.2
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/dist/index.d.ts +1 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +458 -353
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +458 -353
- package/dist/index.mjs.map +4 -4
- package/dist/schema/index.d.ts +13 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/schema/widgetData.d.ts +248 -0
- package/dist/schema/widgetData.d.ts.map +1 -0
- package/dist/schema/widgets/abTestingPlaceholder.d.ts +7 -0
- package/dist/schema/widgets/abTestingPlaceholder.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/button.d.ts +17 -17
- package/dist/schema/widgets/checkoutAndBeyond/button.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/common.d.ts +8 -8
- package/dist/schema/widgets/checkoutAndBeyond/common.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/constants.d.ts.map +1 -0
- package/dist/schema/{cab/data-source.d.ts → widgets/checkoutAndBeyond/dataSource.d.ts} +1 -1
- package/dist/schema/widgets/checkoutAndBeyond/dataSource.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/image.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/index.d.ts +1 -1
- package/dist/schema/widgets/checkoutAndBeyond/index.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/layout.d.ts +1 -1
- package/dist/schema/widgets/checkoutAndBeyond/layout.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/offers.d.ts +17 -17
- package/dist/schema/widgets/checkoutAndBeyond/offers.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/product.d.ts +7 -7
- package/dist/schema/widgets/checkoutAndBeyond/product.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/products.d.ts +9 -9
- package/dist/schema/widgets/checkoutAndBeyond/products.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/quantity.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/regex.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/reviews.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/root.d.ts +1 -1
- package/dist/schema/widgets/checkoutAndBeyond/root.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/shared.d.ts +1 -1
- package/dist/schema/widgets/checkoutAndBeyond/shared.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/subscription.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/table.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/text.d.ts +22 -22
- package/dist/schema/widgets/checkoutAndBeyond/text.d.ts.map +1 -0
- package/dist/schema/{cab → widgets/checkoutAndBeyond}/utils.d.ts +1 -1
- package/dist/schema/widgets/checkoutAndBeyond/utils.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutAndBeyond/variants.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutExtension.d.ts +7 -0
- package/dist/schema/widgets/checkoutExtension.d.ts.map +1 -0
- package/dist/schema/widgets/contentBlock.d.ts +50 -0
- package/dist/schema/widgets/contentBlock.d.ts.map +1 -0
- package/dist/schema/widgets/giftWithPurchase.d.ts +7 -0
- package/dist/schema/widgets/giftWithPurchase.d.ts.map +1 -0
- package/dist/schema/widgets/lineItemEditor.d.ts +7 -0
- package/dist/schema/widgets/lineItemEditor.d.ts.map +1 -0
- package/dist/schema/widgets/progressBar.d.ts +7 -0
- package/dist/schema/widgets/progressBar.d.ts.map +1 -0
- package/dist/schema/widgets/rebuyButton.d.ts +7 -0
- package/dist/schema/widgets/rebuyButton.d.ts.map +1 -0
- package/dist/schema/widgets/rebuyMonetize.d.ts +7 -0
- package/dist/schema/widgets/rebuyMonetize.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/schema/cab/button.d.ts.map +0 -1
- package/dist/schema/cab/common.d.ts.map +0 -1
- package/dist/schema/cab/constants.d.ts.map +0 -1
- package/dist/schema/cab/data-source.d.ts.map +0 -1
- package/dist/schema/cab/image.d.ts.map +0 -1
- package/dist/schema/cab/index.d.ts.map +0 -1
- package/dist/schema/cab/layout.d.ts.map +0 -1
- package/dist/schema/cab/offers.d.ts.map +0 -1
- package/dist/schema/cab/product.d.ts.map +0 -1
- package/dist/schema/cab/products.d.ts.map +0 -1
- package/dist/schema/cab/quantity.d.ts.map +0 -1
- package/dist/schema/cab/regex.d.ts.map +0 -1
- package/dist/schema/cab/reviews.d.ts.map +0 -1
- package/dist/schema/cab/root.d.ts.map +0 -1
- package/dist/schema/cab/shared.d.ts.map +0 -1
- package/dist/schema/cab/subscription.d.ts.map +0 -1
- package/dist/schema/cab/table.d.ts.map +0 -1
- package/dist/schema/cab/text.d.ts.map +0 -1
- package/dist/schema/cab/utils.d.ts.map +0 -1
- package/dist/schema/cab/variants.d.ts.map +0 -1
- package/dist/schema/widgetSettings.d.ts +0 -152
- package/dist/schema/widgetSettings.d.ts.map +0 -1
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/constants.d.ts +0 -0
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/image.d.ts +0 -0
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/quantity.d.ts +0 -0
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/regex.d.ts +0 -0
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/reviews.d.ts +0 -0
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/subscription.d.ts +0 -0
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/table.d.ts +0 -0
- /package/dist/schema/{cab → widgets/checkoutAndBeyond}/variants.d.ts +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './shopConfig';
|
|
2
|
+
export * from './userConfig';
|
|
3
|
+
export * from './widgetData';
|
|
4
|
+
export * from './widgets/abTestingPlaceholder';
|
|
5
|
+
export * from './widgets/checkoutAndBeyond';
|
|
6
|
+
export * from './widgets/checkoutExtension';
|
|
7
|
+
export * from './widgets/contentBlock';
|
|
8
|
+
export * from './widgets/giftWithPurchase';
|
|
9
|
+
export * from './widgets/lineItemEditor';
|
|
10
|
+
export * from './widgets/progressBar';
|
|
11
|
+
export * from './widgets/rebuyButton';
|
|
12
|
+
export * from './widgets/rebuyMonetize';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const extensionWidgetTypes: readonly ["placeholder", "gift_with_purchase", "shopify_checkout_extension", "ui_extension_ad", "ui_extension_button", "ui_extension_content_block", "ui_extension_line_item_editor", "ui_extension_progress_bar"];
|
|
3
|
+
export declare const LegacyV0Widget: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"placeholder">;
|
|
5
|
+
version: z.ZodUndefined;
|
|
6
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
7
|
+
type: z.ZodDefault<z.ZodLiteral<"shopify_checkout_extension">>;
|
|
8
|
+
version: z.ZodUndefined;
|
|
9
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
10
|
+
type: z.ZodDefault<z.ZodLiteral<"gift_with_purchase">>;
|
|
11
|
+
version: z.ZodUndefined;
|
|
12
|
+
}, z.core.$loose>]>;
|
|
13
|
+
export declare const LegacyV1Widget: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
|
+
blockSpacing: z.ZodEnum<{
|
|
15
|
+
none: "none";
|
|
16
|
+
base: "base";
|
|
17
|
+
extraTight: "extraTight";
|
|
18
|
+
tight: "tight";
|
|
19
|
+
loose: "loose";
|
|
20
|
+
extraLoose: "extraLoose";
|
|
21
|
+
}>;
|
|
22
|
+
imageBlocks: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
23
|
+
altText: z.ZodNullable<z.ZodString>;
|
|
24
|
+
description: z.ZodNullable<z.ZodString>;
|
|
25
|
+
id: z.ZodUUID;
|
|
26
|
+
imagePlacement: z.ZodEnum<{
|
|
27
|
+
top: "top";
|
|
28
|
+
bottom: "bottom";
|
|
29
|
+
right: "right";
|
|
30
|
+
left: "left";
|
|
31
|
+
}>;
|
|
32
|
+
imageSize: z.ZodNumber;
|
|
33
|
+
imageUrl: z.ZodURL;
|
|
34
|
+
textAlignment: z.ZodEnum<{
|
|
35
|
+
center: "center";
|
|
36
|
+
right: "right";
|
|
37
|
+
left: "left";
|
|
38
|
+
}>;
|
|
39
|
+
textSize: z.ZodEnum<{
|
|
40
|
+
small: "small";
|
|
41
|
+
base: "base";
|
|
42
|
+
large: "large";
|
|
43
|
+
medium: "medium";
|
|
44
|
+
extraSmall: "extraSmall";
|
|
45
|
+
extraLarge: "extraLarge";
|
|
46
|
+
}>;
|
|
47
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>;
|
|
48
|
+
imageLayout: z.ZodEnum<{
|
|
49
|
+
row: "row";
|
|
50
|
+
column: "column";
|
|
51
|
+
}>;
|
|
52
|
+
language: z.ZodObject<{
|
|
53
|
+
description: z.ZodString;
|
|
54
|
+
superTitle: z.ZodString;
|
|
55
|
+
title: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
previewMode: z.ZodBoolean;
|
|
58
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_content_block">>;
|
|
59
|
+
version: z.ZodLiteral<1>;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_line_item_editor">>;
|
|
62
|
+
version: z.ZodLiteral<1>;
|
|
63
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
64
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_progress_bar">>;
|
|
65
|
+
version: z.ZodLiteral<1>;
|
|
66
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
67
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_button">>;
|
|
68
|
+
version: z.ZodLiteral<1>;
|
|
69
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
70
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_ad">>;
|
|
71
|
+
version: z.ZodLiteral<1>;
|
|
72
|
+
}, z.core.$loose>]>;
|
|
73
|
+
export declare const WidgetData: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
+
type: z.ZodLiteral<"placeholder">;
|
|
75
|
+
version: z.ZodUndefined;
|
|
76
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
77
|
+
type: z.ZodDefault<z.ZodLiteral<"shopify_checkout_extension">>;
|
|
78
|
+
version: z.ZodUndefined;
|
|
79
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
80
|
+
type: z.ZodDefault<z.ZodLiteral<"gift_with_purchase">>;
|
|
81
|
+
version: z.ZodUndefined;
|
|
82
|
+
}, z.core.$loose>]>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
83
|
+
blockSpacing: z.ZodEnum<{
|
|
84
|
+
none: "none";
|
|
85
|
+
base: "base";
|
|
86
|
+
extraTight: "extraTight";
|
|
87
|
+
tight: "tight";
|
|
88
|
+
loose: "loose";
|
|
89
|
+
extraLoose: "extraLoose";
|
|
90
|
+
}>;
|
|
91
|
+
imageBlocks: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
92
|
+
altText: z.ZodNullable<z.ZodString>;
|
|
93
|
+
description: z.ZodNullable<z.ZodString>;
|
|
94
|
+
id: z.ZodUUID;
|
|
95
|
+
imagePlacement: z.ZodEnum<{
|
|
96
|
+
top: "top";
|
|
97
|
+
bottom: "bottom";
|
|
98
|
+
right: "right";
|
|
99
|
+
left: "left";
|
|
100
|
+
}>;
|
|
101
|
+
imageSize: z.ZodNumber;
|
|
102
|
+
imageUrl: z.ZodURL;
|
|
103
|
+
textAlignment: z.ZodEnum<{
|
|
104
|
+
center: "center";
|
|
105
|
+
right: "right";
|
|
106
|
+
left: "left";
|
|
107
|
+
}>;
|
|
108
|
+
textSize: z.ZodEnum<{
|
|
109
|
+
small: "small";
|
|
110
|
+
base: "base";
|
|
111
|
+
large: "large";
|
|
112
|
+
medium: "medium";
|
|
113
|
+
extraSmall: "extraSmall";
|
|
114
|
+
extraLarge: "extraLarge";
|
|
115
|
+
}>;
|
|
116
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>;
|
|
117
|
+
imageLayout: z.ZodEnum<{
|
|
118
|
+
row: "row";
|
|
119
|
+
column: "column";
|
|
120
|
+
}>;
|
|
121
|
+
language: z.ZodObject<{
|
|
122
|
+
description: z.ZodString;
|
|
123
|
+
superTitle: z.ZodString;
|
|
124
|
+
title: z.ZodString;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
previewMode: z.ZodBoolean;
|
|
127
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_content_block">>;
|
|
128
|
+
version: z.ZodLiteral<1>;
|
|
129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
130
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_line_item_editor">>;
|
|
131
|
+
version: z.ZodLiteral<1>;
|
|
132
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
133
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_progress_bar">>;
|
|
134
|
+
version: z.ZodLiteral<1>;
|
|
135
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
136
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_button">>;
|
|
137
|
+
version: z.ZodLiteral<1>;
|
|
138
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
139
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_ad">>;
|
|
140
|
+
version: z.ZodLiteral<1>;
|
|
141
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
142
|
+
alignment: z.ZodDefault<z.ZodObject<{
|
|
143
|
+
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
144
|
+
start: "start";
|
|
145
|
+
center: "center";
|
|
146
|
+
end: "end";
|
|
147
|
+
}>>;
|
|
148
|
+
vertical: z.ZodDefault<z.ZodEnum<{
|
|
149
|
+
top: "top";
|
|
150
|
+
middle: "middle";
|
|
151
|
+
bottom: "bottom";
|
|
152
|
+
}>>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
155
|
+
radius: z.ZodDefault<z.ZodEnum<{
|
|
156
|
+
small: "small";
|
|
157
|
+
none: "none";
|
|
158
|
+
base: "base";
|
|
159
|
+
large: "large";
|
|
160
|
+
fullyRounded: "fullyRounded";
|
|
161
|
+
}>>;
|
|
162
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
163
|
+
none: "none";
|
|
164
|
+
base: "base";
|
|
165
|
+
dotted: "dotted";
|
|
166
|
+
dashed: "dashed";
|
|
167
|
+
}>>;
|
|
168
|
+
width: z.ZodDefault<z.ZodEnum<{
|
|
169
|
+
base: "base";
|
|
170
|
+
medium: "medium";
|
|
171
|
+
thick: "thick";
|
|
172
|
+
}>>;
|
|
173
|
+
}, z.core.$strip>>>;
|
|
174
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
175
|
+
columns: "columns";
|
|
176
|
+
rows: "rows";
|
|
177
|
+
}>>;
|
|
178
|
+
name: z.ZodOptional<z.ZodString>;
|
|
179
|
+
padding: z.ZodDefault<z.ZodEnum<{
|
|
180
|
+
none: "none";
|
|
181
|
+
base: "base";
|
|
182
|
+
extraTight: "extraTight";
|
|
183
|
+
tight: "tight";
|
|
184
|
+
loose: "loose";
|
|
185
|
+
extraLoose: "extraLoose";
|
|
186
|
+
}>>;
|
|
187
|
+
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
188
|
+
sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodType<import(".").CABSection, unknown, z.core.$ZodTypeInternals<import(".").CABSection, unknown>>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
189
|
+
sectionType: z.ZodDefault<z.ZodLiteral<"layout">>;
|
|
190
|
+
spacing: z.ZodDefault<z.ZodEnum<{
|
|
191
|
+
none: "none";
|
|
192
|
+
base: "base";
|
|
193
|
+
extraTight: "extraTight";
|
|
194
|
+
tight: "tight";
|
|
195
|
+
loose: "loose";
|
|
196
|
+
extraLoose: "extraLoose";
|
|
197
|
+
}>>;
|
|
198
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
199
|
+
editorMode: z.ZodDefault<z.ZodEnum<{
|
|
200
|
+
checkoutExtension: "checkoutExtension";
|
|
201
|
+
postPurchaseOffer: "postPurchaseOffer";
|
|
202
|
+
thankYouPage: "thankYouPage";
|
|
203
|
+
orderStatusPage: "orderStatusPage";
|
|
204
|
+
ordersIndexPage: "ordersIndexPage";
|
|
205
|
+
customerProfilePage: "customerProfilePage";
|
|
206
|
+
}>>;
|
|
207
|
+
previewMode: z.ZodDefault<z.ZodBoolean>;
|
|
208
|
+
storeId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
209
|
+
targetArea: z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
210
|
+
fill: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
+
flip: z.ZodOptional<z.ZodEnum<{
|
|
212
|
+
horizontal: "horizontal";
|
|
213
|
+
vertical: "vertical";
|
|
214
|
+
both: "both";
|
|
215
|
+
}>>;
|
|
216
|
+
icon: z.ZodString;
|
|
217
|
+
label: z.ZodString;
|
|
218
|
+
width: z.ZodString;
|
|
219
|
+
}, z.core.$strip>>>;
|
|
220
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
221
|
+
product: "product";
|
|
222
|
+
bundle_builder: "bundle_builder";
|
|
223
|
+
cart: "cart";
|
|
224
|
+
cart_subscription: "cart_subscription";
|
|
225
|
+
dynamic_bundle: "dynamic_bundle";
|
|
226
|
+
gift_with_purchase: "gift_with_purchase";
|
|
227
|
+
pre_purchase: "pre_purchase";
|
|
228
|
+
product_addon: "product_addon";
|
|
229
|
+
product_upsell: "product_upsell";
|
|
230
|
+
recharge_checkout: "recharge_checkout";
|
|
231
|
+
recharge_customer_portal: "recharge_customer_portal";
|
|
232
|
+
recharge_post_purchase: "recharge_post_purchase";
|
|
233
|
+
shopify_checkout: "shopify_checkout";
|
|
234
|
+
shopify_checkout_extension: "shopify_checkout_extension";
|
|
235
|
+
shopify_post_purchase: "shopify_post_purchase";
|
|
236
|
+
shopify_post_purchase_extension: "shopify_post_purchase_extension";
|
|
237
|
+
switch_to_subscription: "switch_to_subscription";
|
|
238
|
+
ui_extension_ad: "ui_extension_ad";
|
|
239
|
+
ui_extension_button: "ui_extension_button";
|
|
240
|
+
ui_extension_content_block: "ui_extension_content_block";
|
|
241
|
+
ui_extension_line_item_editor: "ui_extension_line_item_editor";
|
|
242
|
+
ui_extension_progress_bar: "ui_extension_progress_bar";
|
|
243
|
+
}>>;
|
|
244
|
+
version: z.ZodDefault<z.ZodLiteral<2>>;
|
|
245
|
+
widgetId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
246
|
+
}, z.core.$strip>]>;
|
|
247
|
+
export type WidgetData = z.infer<typeof WidgetData>;
|
|
248
|
+
//# sourceMappingURL=widgetData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widgetData.d.ts","sourceRoot":"","sources":["../../src/schema/widgetData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAa3B,eAAO,MAAM,oBAAoB,oNASvB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;mBAA4F,CAAC;AAExH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAMzB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAoF,CAAC;AAE5G,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const ABTestingPlaceholder: z.ZodObject<{
|
|
3
|
+
type: z.ZodLiteral<"placeholder">;
|
|
4
|
+
version: z.ZodUndefined;
|
|
5
|
+
}, z.core.$loose>;
|
|
6
|
+
export type ABTestingPlaceholder = z.infer<typeof ABTestingPlaceholder>;
|
|
7
|
+
//# sourceMappingURL=abTestingPlaceholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abTestingPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/abTestingPlaceholder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -83,12 +83,12 @@ export declare const CABButtonContent: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
83
83
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
84
84
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
85
85
|
}, z.core.$strip>>;
|
|
86
|
-
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
86
|
+
content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
87
87
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
88
88
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
89
89
|
}, z.core.$strip>>;
|
|
90
|
-
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
91
|
-
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
90
|
+
content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
91
|
+
marks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
92
92
|
type: z.ZodLiteral<"bold">;
|
|
93
93
|
}, z.core.$strip>, z.ZodObject<{
|
|
94
94
|
type: z.ZodLiteral<"italic">;
|
|
@@ -104,16 +104,16 @@ export declare const CABButtonContent: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
104
104
|
type: z.ZodLiteral<"strike">;
|
|
105
105
|
}, z.core.$strip>, z.ZodObject<{
|
|
106
106
|
attrs: z.ZodObject<{
|
|
107
|
-
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"
|
|
107
|
+
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"success" | "base" | "subdued" | "accent" | "decorative" | "warning" | "critical" | undefined, string>>>>;
|
|
108
108
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
109
109
|
}, z.core.$strip>;
|
|
110
110
|
type: z.ZodLiteral<"textStyle">;
|
|
111
|
-
}, z.core.$strip>]
|
|
111
|
+
}, z.core.$strip>]>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
112
112
|
text: z.ZodDefault<z.ZodString>;
|
|
113
113
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
114
|
-
}, z.core.$strip
|
|
114
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
115
115
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
116
|
-
}, z.core.$strip
|
|
116
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
117
117
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
118
118
|
}, z.core.$strip>]>>>>>;
|
|
119
119
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -134,10 +134,10 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
134
134
|
switchToSubscription: "switchToSubscription";
|
|
135
135
|
}>]>>;
|
|
136
136
|
buttonStyle: z.ZodDefault<z.ZodEnum<{
|
|
137
|
+
custom: "custom";
|
|
137
138
|
primary: "primary";
|
|
138
139
|
secondary: "secondary";
|
|
139
140
|
plain: "plain";
|
|
140
|
-
custom: "custom";
|
|
141
141
|
}>>;
|
|
142
142
|
custom: z.ZodDefault<z.ZodObject<{
|
|
143
143
|
color: z.ZodDefault<z.ZodString>;
|
|
@@ -146,7 +146,7 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
146
146
|
}, z.core.$strip>>;
|
|
147
147
|
name: z.ZodOptional<z.ZodString>;
|
|
148
148
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
149
|
-
sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
149
|
+
sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
150
|
altText: z.ZodDefault<z.ZodString>;
|
|
151
151
|
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
|
|
152
152
|
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
@@ -229,12 +229,12 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
229
229
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
230
230
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
231
231
|
}, z.core.$strip>>;
|
|
232
|
-
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
232
|
+
content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
233
233
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
234
234
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
235
235
|
}, z.core.$strip>>;
|
|
236
|
-
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
237
|
-
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
236
|
+
content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
237
|
+
marks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
238
238
|
type: z.ZodLiteral<"bold">;
|
|
239
239
|
}, z.core.$strip>, z.ZodObject<{
|
|
240
240
|
type: z.ZodLiteral<"italic">;
|
|
@@ -250,22 +250,22 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
250
250
|
type: z.ZodLiteral<"strike">;
|
|
251
251
|
}, z.core.$strip>, z.ZodObject<{
|
|
252
252
|
attrs: z.ZodObject<{
|
|
253
|
-
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"
|
|
253
|
+
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"success" | "base" | "subdued" | "accent" | "decorative" | "warning" | "critical" | undefined, string>>>>;
|
|
254
254
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
255
255
|
}, z.core.$strip>;
|
|
256
256
|
type: z.ZodLiteral<"textStyle">;
|
|
257
|
-
}, z.core.$strip>]
|
|
257
|
+
}, z.core.$strip>]>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
258
258
|
text: z.ZodDefault<z.ZodString>;
|
|
259
259
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
260
|
-
}, z.core.$strip
|
|
260
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
261
261
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
262
|
-
}, z.core.$strip
|
|
262
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
263
263
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
264
264
|
}, z.core.$strip>]>>>>>;
|
|
265
265
|
name: z.ZodOptional<z.ZodString>;
|
|
266
266
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
267
267
|
sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
268
|
-
}, z.core.$strip>]
|
|
268
|
+
}, z.core.$strip>]>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
269
269
|
sectionType: z.ZodDefault<z.ZodLiteral<"button">>;
|
|
270
270
|
}, z.core.$strip>;
|
|
271
271
|
export type CABButtonSection = z.infer<typeof CABButtonSection>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAuF,CAAC;AAErH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|
|
@@ -107,16 +107,16 @@ export declare const ButtonField: {
|
|
|
107
107
|
export type ButtonField = z.infer<typeof buttonField>;
|
|
108
108
|
export declare const buttonStyles: readonly ["primary", "secondary", "plain", "custom"];
|
|
109
109
|
declare const buttonStyle: z.ZodEnum<{
|
|
110
|
+
custom: "custom";
|
|
110
111
|
primary: "primary";
|
|
111
112
|
secondary: "secondary";
|
|
112
113
|
plain: "plain";
|
|
113
|
-
custom: "custom";
|
|
114
114
|
}>;
|
|
115
115
|
export declare const ButtonStyle: {
|
|
116
|
+
custom: "custom";
|
|
116
117
|
primary: "primary";
|
|
117
118
|
secondary: "secondary";
|
|
118
119
|
plain: "plain";
|
|
119
|
-
custom: "custom";
|
|
120
120
|
};
|
|
121
121
|
export type ButtonStyle = z.infer<typeof buttonStyle>;
|
|
122
122
|
export declare const directions: readonly ["columns", "rows"];
|
|
@@ -161,6 +161,8 @@ export declare const HorizontalAlignment: {
|
|
|
161
161
|
export type HorizontalAlignment = z.infer<typeof horizontalAlignment>;
|
|
162
162
|
export declare const languageKeys: readonly ["ar", "cs", "da", "de", "en", "es", "fi", "fr", "ga", "he", "hi", "id", "it", "ja", "ko", "nl", "no", "pl", "pt", "ru", "sv", "th", "tr", "uk", "vi", "zh"];
|
|
163
163
|
declare const languageKey: z.ZodEnum<{
|
|
164
|
+
id: "id";
|
|
165
|
+
no: "no";
|
|
164
166
|
ar: "ar";
|
|
165
167
|
cs: "cs";
|
|
166
168
|
da: "da";
|
|
@@ -172,12 +174,10 @@ declare const languageKey: z.ZodEnum<{
|
|
|
172
174
|
ga: "ga";
|
|
173
175
|
he: "he";
|
|
174
176
|
hi: "hi";
|
|
175
|
-
id: "id";
|
|
176
177
|
it: "it";
|
|
177
178
|
ja: "ja";
|
|
178
179
|
ko: "ko";
|
|
179
180
|
nl: "nl";
|
|
180
|
-
no: "no";
|
|
181
181
|
pl: "pl";
|
|
182
182
|
pt: "pt";
|
|
183
183
|
ru: "ru";
|
|
@@ -189,6 +189,8 @@ declare const languageKey: z.ZodEnum<{
|
|
|
189
189
|
zh: "zh";
|
|
190
190
|
}>;
|
|
191
191
|
export declare const LanguageKey: {
|
|
192
|
+
id: "id";
|
|
193
|
+
no: "no";
|
|
192
194
|
ar: "ar";
|
|
193
195
|
cs: "cs";
|
|
194
196
|
da: "da";
|
|
@@ -200,12 +202,10 @@ export declare const LanguageKey: {
|
|
|
200
202
|
ga: "ga";
|
|
201
203
|
he: "he";
|
|
202
204
|
hi: "hi";
|
|
203
|
-
id: "id";
|
|
204
205
|
it: "it";
|
|
205
206
|
ja: "ja";
|
|
206
207
|
ko: "ko";
|
|
207
208
|
nl: "nl";
|
|
208
|
-
no: "no";
|
|
209
209
|
pl: "pl";
|
|
210
210
|
pt: "pt";
|
|
211
211
|
ru: "ru";
|
|
@@ -301,20 +301,20 @@ export declare const TextAlignment: {
|
|
|
301
301
|
export type TextAlignment = z.infer<typeof textAlignment>;
|
|
302
302
|
export declare const textColorNames: readonly ["base", "subdued", "accent", "decorative", "success", "warning", "critical"];
|
|
303
303
|
declare const textColorName: z.ZodEnum<{
|
|
304
|
+
success: "success";
|
|
304
305
|
base: "base";
|
|
305
306
|
subdued: "subdued";
|
|
306
307
|
accent: "accent";
|
|
307
308
|
decorative: "decorative";
|
|
308
|
-
success: "success";
|
|
309
309
|
warning: "warning";
|
|
310
310
|
critical: "critical";
|
|
311
311
|
}>;
|
|
312
312
|
export declare const TextColorName: {
|
|
313
|
+
success: "success";
|
|
313
314
|
base: "base";
|
|
314
315
|
subdued: "subdued";
|
|
315
316
|
accent: "accent";
|
|
316
317
|
decorative: "decorative";
|
|
317
|
-
success: "success";
|
|
318
318
|
warning: "warning";
|
|
319
319
|
critical: "critical";
|
|
320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declare const CABDataSourceSection: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
export type CABDataSourceSection = z.infer<typeof CABDataSourceSection>;
|
|
12
12
|
export type CABDataSourceSectionProps = CABDataSourceSection & SectionDetails;
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=dataSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataSource.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/dataSource.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,oBAAoB;;;;;;;iBAO/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
@@ -48,7 +48,7 @@ export declare const CABLayoutSection: z.ZodObject<{
|
|
|
48
48
|
extraLoose: "extraLoose";
|
|
49
49
|
}>>;
|
|
50
50
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
51
|
-
sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<CABSection, unknown, z.core.$ZodTypeInternals<CABSection, unknown
|
|
51
|
+
sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodType<CABSection, unknown, z.core.$ZodTypeInternals<CABSection, unknown>>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
52
52
|
sectionType: z.ZodDefault<z.ZodLiteral<"layout">>;
|
|
53
53
|
spacing: z.ZodDefault<z.ZodEnum<{
|
|
54
54
|
none: "none";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/layout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EACH,SAAS,EAET,mBAAmB,EAGnB,OAAO,EAEP,iBAAiB,EAEpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,SAAS,EAAE;QACP,UAAU,EAAE,mBAAmB,CAAC;QAChC,QAAQ,EAAE,iBAAiB,CAAC;KAC/B,CAAC;IACF,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,WAAW,EAAE,QAAQ,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
import { CABLayoutSection } from './layout';
|
|
3
3
|
import { CABSection, type SectionDetails } from './shared';
|
|
4
|
-
export declare const CABOffersSection: z.ZodObject<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
start: "start";
|
|
8
|
-
center: "center";
|
|
9
|
-
end: "end";
|
|
10
|
-
}>>;
|
|
11
|
-
vertical: z.ZodDefault<z.ZodEnum<{
|
|
12
|
-
top: "top";
|
|
13
|
-
middle: "middle";
|
|
14
|
-
bottom: "bottom";
|
|
15
|
-
}>>;
|
|
16
|
-
}, z.core.$strip>>;
|
|
4
|
+
export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
17
7
|
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
18
8
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
19
9
|
small: "small";
|
|
@@ -35,11 +25,22 @@ export declare const CABOffersSection: z.ZodObject<{
|
|
|
35
25
|
}>>;
|
|
36
26
|
}, z.core.$strip>>>;
|
|
37
27
|
width: z.ZodDefault<z.ZodNumber>;
|
|
28
|
+
alignment: z.ZodDefault<z.ZodObject<{
|
|
29
|
+
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
30
|
+
start: "start";
|
|
31
|
+
center: "center";
|
|
32
|
+
end: "end";
|
|
33
|
+
}>>;
|
|
34
|
+
vertical: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
top: "top";
|
|
36
|
+
middle: "middle";
|
|
37
|
+
bottom: "bottom";
|
|
38
|
+
}>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
38
40
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
39
41
|
columns: "columns";
|
|
40
42
|
rows: "rows";
|
|
41
43
|
}>>;
|
|
42
|
-
name: z.ZodOptional<z.ZodString>;
|
|
43
44
|
padding: z.ZodDefault<z.ZodEnum<{
|
|
44
45
|
none: "none";
|
|
45
46
|
base: "base";
|
|
@@ -48,7 +49,6 @@ export declare const CABOffersSection: z.ZodObject<{
|
|
|
48
49
|
loose: "loose";
|
|
49
50
|
extraLoose: "extraLoose";
|
|
50
51
|
}>>;
|
|
51
|
-
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
52
52
|
spacing: z.ZodDefault<z.ZodEnum<{
|
|
53
53
|
none: "none";
|
|
54
54
|
base: "base";
|
|
@@ -57,9 +57,9 @@ export declare const CABOffersSection: z.ZodObject<{
|
|
|
57
57
|
loose: "loose";
|
|
58
58
|
extraLoose: "extraLoose";
|
|
59
59
|
}>>;
|
|
60
|
-
sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<CABSection, unknown, z.core.$ZodTypeInternals<CABSection, unknown
|
|
60
|
+
sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodType<CABSection, unknown, z.core.$ZodTypeInternals<CABSection, unknown>>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
61
61
|
sectionType: z.ZodDefault<z.ZodLiteral<"offers">>;
|
|
62
|
-
}, z.core.$strip
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
63
|
export type CABOffersSection = Omit<CABLayoutSection, 'sectionType'> & {
|
|
64
64
|
sectionType: 'offers';
|
|
65
65
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offers.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/offers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAS5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,aAAa,CAAC,GAAG;IACnE,WAAW,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|