@rebuy/rebuy 2.34.0 → 2.35.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/dist/index.js +204 -23
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +204 -23
- package/dist/index.mjs.map +4 -4
- package/dist/schema/checkout-and-beyond/constants.js +2 -0
- package/dist/schema/checkout-and-beyond/constants.js.map +2 -2
- package/dist/schema/checkout-and-beyond/constants.mjs +2 -0
- package/dist/schema/checkout-and-beyond/constants.mjs.map +2 -2
- package/dist/schema/checkout-and-beyond/index.js +183 -6
- package/dist/schema/checkout-and-beyond/index.js.map +3 -3
- package/dist/schema/checkout-and-beyond/index.mjs +183 -6
- package/dist/schema/checkout-and-beyond/index.mjs.map +3 -3
- package/dist/schema/widget-data.js +197 -23
- package/dist/schema/widget-data.js.map +4 -4
- package/dist/schema/widget-data.mjs +197 -23
- package/dist/schema/widget-data.mjs.map +3 -3
- package/dist/schema/widgets/checkout-and-beyond/banner.d.ts +27 -25
- package/dist/schema/widgets/checkout-and-beyond/banner.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/button.d.ts +5 -0
- package/dist/schema/widgets/checkout-and-beyond/button.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/carousel.d.ts +25 -25
- package/dist/schema/widgets/checkout-and-beyond/cartLine.d.ts +25 -25
- package/dist/schema/widgets/checkout-and-beyond/common.d.ts +3 -1
- package/dist/schema/widgets/checkout-and-beyond/common.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/icons.d.ts +124 -0
- package/dist/schema/widgets/checkout-and-beyond/icons.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/image.d.ts +319 -2
- package/dist/schema/widgets/checkout-and-beyond/image.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/index.d.ts +1 -0
- package/dist/schema/widgets/checkout-and-beyond/index.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/offers.d.ts +25 -25
- package/dist/schema/widgets/checkout-and-beyond/progressBar.d.ts +25 -25
- package/dist/schema/widgets/checkout-and-beyond/progressBar.d.ts.map +1 -1
- package/dist/server/index.js +193 -25
- package/dist/server/index.js.map +4 -4
- package/dist/server/index.mjs +193 -25
- package/dist/server/index.mjs.map +4 -4
- package/dist/transforms/index.js +193 -25
- package/dist/transforms/index.js.map +3 -3
- package/dist/transforms/index.mjs +193 -25
- package/dist/transforms/index.mjs.map +3 -3
- package/dist/transforms/smartCart/convertSmartCartProgressBarToV2.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,231 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type SectionDetails } from './shared';
|
|
3
|
+
/**
|
|
4
|
+
* The image section's fields WITHOUT the `category`/`source` refinement — the derivable base. Consumers and
|
|
5
|
+
* future phases that need `.omit()`/`.pick()`/`.partial()` (an editor form schema, say) build from this and lose
|
|
6
|
+
* the cross-field gate deliberately; everything that parses widget data uses {@link CABImageSection}.
|
|
7
|
+
*/
|
|
8
|
+
export declare const CABImageSectionFields: z.ZodObject<{
|
|
9
|
+
altText: z.ZodDefault<z.ZodString>;
|
|
10
|
+
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
12
|
+
radius: z.ZodDefault<z.ZodEnum<{
|
|
13
|
+
small: "small";
|
|
14
|
+
none: "none";
|
|
15
|
+
base: "base";
|
|
16
|
+
large: "large";
|
|
17
|
+
fullyRounded: "fullyRounded";
|
|
18
|
+
}>>;
|
|
19
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
20
|
+
none: "none";
|
|
21
|
+
base: "base";
|
|
22
|
+
dotted: "dotted";
|
|
23
|
+
dashed: "dashed";
|
|
24
|
+
}>>;
|
|
25
|
+
width: z.ZodDefault<z.ZodEnum<{
|
|
26
|
+
base: "base";
|
|
27
|
+
medium: "medium";
|
|
28
|
+
thick: "thick";
|
|
29
|
+
}>>;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
declineAllOffers: "declineAllOffers";
|
|
33
|
+
declineOffer: "declineOffer";
|
|
34
|
+
removeFromOrder: "removeFromOrder";
|
|
35
|
+
undoAddToOrder: "undoAddToOrder";
|
|
36
|
+
activePage: "activePage";
|
|
37
|
+
addedToCart: "addedToCart";
|
|
38
|
+
addingToCart: "addingToCart";
|
|
39
|
+
addToCart: "addToCart";
|
|
40
|
+
buttonLabel: "buttonLabel";
|
|
41
|
+
destinationUrl: "destinationUrl";
|
|
42
|
+
inactivePage: "inactivePage";
|
|
43
|
+
overlayContent: "overlayContent";
|
|
44
|
+
payNow: "payNow";
|
|
45
|
+
progressReached: "progressReached";
|
|
46
|
+
progressRemaining: "progressRemaining";
|
|
47
|
+
redirectToCheckout: "redirectToCheckout";
|
|
48
|
+
showVariant: "showVariant";
|
|
49
|
+
showVariants: "showVariants";
|
|
50
|
+
soldOut: "soldOut";
|
|
51
|
+
subscriptionOption: "subscriptionOption";
|
|
52
|
+
switchToOneTimePurchase: "switchToOneTimePurchase";
|
|
53
|
+
switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
|
|
54
|
+
switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
|
|
55
|
+
}>>;
|
|
56
|
+
category: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
57
|
+
gallery: "gallery";
|
|
58
|
+
icon: "icon";
|
|
59
|
+
icons: "icons";
|
|
60
|
+
"payment-methods": "payment-methods";
|
|
61
|
+
"secure-checkout": "secure-checkout";
|
|
62
|
+
}>>>;
|
|
63
|
+
iconSize: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
64
|
+
small: "small";
|
|
65
|
+
base: "base";
|
|
66
|
+
large: "large";
|
|
67
|
+
"large-100": "large-100";
|
|
68
|
+
"small-100": "small-100";
|
|
69
|
+
"small-200": "small-200";
|
|
70
|
+
}>>>;
|
|
71
|
+
iconTone: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
72
|
+
auto: "auto";
|
|
73
|
+
success: "success";
|
|
74
|
+
custom: "custom";
|
|
75
|
+
info: "info";
|
|
76
|
+
warning: "warning";
|
|
77
|
+
critical: "critical";
|
|
78
|
+
neutral: "neutral";
|
|
79
|
+
}>>>;
|
|
80
|
+
name: z.ZodOptional<z.ZodString>;
|
|
81
|
+
naturalHeight: z.ZodDefault<z.ZodNumber>;
|
|
82
|
+
naturalWidth: z.ZodDefault<z.ZodNumber>;
|
|
83
|
+
objectFit: z.ZodDefault<z.ZodEnum<{
|
|
84
|
+
cover: "cover";
|
|
85
|
+
contain: "contain";
|
|
86
|
+
}>>;
|
|
87
|
+
rule: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
dataSourceId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
89
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
90
|
+
ruleset: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
91
|
+
exitIfMatched: z.ZodDefault<z.ZodBoolean>;
|
|
92
|
+
logic: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
93
|
+
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
94
|
+
operator: z.ZodDefault<z.ZodEnum<{
|
|
95
|
+
after: "after";
|
|
96
|
+
anything: "anything";
|
|
97
|
+
before: "before";
|
|
98
|
+
contains: "contains";
|
|
99
|
+
contains_any: "contains_any";
|
|
100
|
+
does_not_contain: "does_not_contain";
|
|
101
|
+
does_not_contain_any: "does_not_contain_any";
|
|
102
|
+
equals: "equals";
|
|
103
|
+
does_not_equal: "does_not_equal";
|
|
104
|
+
greater_than: "greater_than";
|
|
105
|
+
less_than: "less_than";
|
|
106
|
+
}>>;
|
|
107
|
+
products: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnknown>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
108
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
109
|
+
product: "product";
|
|
110
|
+
date: "date";
|
|
111
|
+
cart: "cart";
|
|
112
|
+
cart_count: "cart_count";
|
|
113
|
+
cart_item_count: "cart_item_count";
|
|
114
|
+
cart_line_count: "cart_line_count";
|
|
115
|
+
cart_subtotal: "cart_subtotal";
|
|
116
|
+
collection: "collection";
|
|
117
|
+
customer: "customer";
|
|
118
|
+
customer_order_count: "customer_order_count";
|
|
119
|
+
customer_tag: "customer_tag";
|
|
120
|
+
customer_total_spent: "customer_total_spent";
|
|
121
|
+
product_tag: "product_tag";
|
|
122
|
+
product_title: "product_title";
|
|
123
|
+
product_type: "product_type";
|
|
124
|
+
product_vendor: "product_vendor";
|
|
125
|
+
}>>;
|
|
126
|
+
value: z.ZodDefault<z.ZodCoercedString<unknown>>;
|
|
127
|
+
}, z.core.$strip>>>;
|
|
128
|
+
}, z.core.$strip>>>;
|
|
129
|
+
output: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
130
|
+
key: z.ZodDefault<z.ZodString>;
|
|
131
|
+
type: z.ZodDefault<z.ZodLiteral<"data_json">>;
|
|
132
|
+
value: z.ZodDefault<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>>>;
|
|
134
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
137
|
+
sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
|
|
138
|
+
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString, z.ZodEnum<{
|
|
139
|
+
x: "x";
|
|
140
|
+
search: "search";
|
|
141
|
+
map: "map";
|
|
142
|
+
settings: "settings";
|
|
143
|
+
filter: "filter";
|
|
144
|
+
check: "check";
|
|
145
|
+
image: "image";
|
|
146
|
+
discount: "discount";
|
|
147
|
+
info: "info";
|
|
148
|
+
grid: "grid";
|
|
149
|
+
menu: "menu";
|
|
150
|
+
cart: "cart";
|
|
151
|
+
"alert-circle": "alert-circle";
|
|
152
|
+
"alert-triangle": "alert-triangle";
|
|
153
|
+
"alert-triangle-filled": "alert-triangle-filled";
|
|
154
|
+
"arrow-down": "arrow-down";
|
|
155
|
+
"arrow-left": "arrow-left";
|
|
156
|
+
"arrow-right": "arrow-right";
|
|
157
|
+
"arrow-up": "arrow-up";
|
|
158
|
+
"arrow-up-right": "arrow-up-right";
|
|
159
|
+
bag: "bag";
|
|
160
|
+
bullet: "bullet";
|
|
161
|
+
calendar: "calendar";
|
|
162
|
+
camera: "camera";
|
|
163
|
+
"caret-down": "caret-down";
|
|
164
|
+
"cash-dollar": "cash-dollar";
|
|
165
|
+
categories: "categories";
|
|
166
|
+
"check-circle": "check-circle";
|
|
167
|
+
"check-circle-filled": "check-circle-filled";
|
|
168
|
+
"chevron-down": "chevron-down";
|
|
169
|
+
"chevron-left": "chevron-left";
|
|
170
|
+
"chevron-right": "chevron-right";
|
|
171
|
+
"chevron-up": "chevron-up";
|
|
172
|
+
circle: "circle";
|
|
173
|
+
clipboard: "clipboard";
|
|
174
|
+
clock: "clock";
|
|
175
|
+
"credit-card": "credit-card";
|
|
176
|
+
delete: "delete";
|
|
177
|
+
delivered: "delivered";
|
|
178
|
+
delivery: "delivery";
|
|
179
|
+
disabled: "disabled";
|
|
180
|
+
edit: "edit";
|
|
181
|
+
email: "email";
|
|
182
|
+
empty: "empty";
|
|
183
|
+
external: "external";
|
|
184
|
+
geolocation: "geolocation";
|
|
185
|
+
"gift-card": "gift-card";
|
|
186
|
+
globe: "globe";
|
|
187
|
+
"info-filled": "info-filled";
|
|
188
|
+
"list-bulleted": "list-bulleted";
|
|
189
|
+
location: "location";
|
|
190
|
+
lock: "lock";
|
|
191
|
+
"menu-horizontal": "menu-horizontal";
|
|
192
|
+
"menu-vertical": "menu-vertical";
|
|
193
|
+
minus: "minus";
|
|
194
|
+
mobile: "mobile";
|
|
195
|
+
note: "note";
|
|
196
|
+
order: "order";
|
|
197
|
+
organization: "organization";
|
|
198
|
+
plus: "plus";
|
|
199
|
+
profile: "profile";
|
|
200
|
+
"question-circle": "question-circle";
|
|
201
|
+
"question-circle-filled": "question-circle-filled";
|
|
202
|
+
reorder: "reorder";
|
|
203
|
+
reset: "reset";
|
|
204
|
+
return: "return";
|
|
205
|
+
savings: "savings";
|
|
206
|
+
star: "star";
|
|
207
|
+
"star-filled": "star-filled";
|
|
208
|
+
"star-half": "star-half";
|
|
209
|
+
store: "store";
|
|
210
|
+
truck: "truck";
|
|
211
|
+
upload: "upload";
|
|
212
|
+
"x-circle": "x-circle";
|
|
213
|
+
"x-circle-filled": "x-circle-filled";
|
|
214
|
+
}>]>>;
|
|
215
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
/**
|
|
218
|
+
* The `category`/`source` pairing documented on `category`: icon mode takes icon names, everything else can't.
|
|
219
|
+
*
|
|
220
|
+
* Carrying a refinement costs the derivation methods: zod 4 rejects `.omit()` / `.pick()` / `.partial()` on an
|
|
221
|
+
* object schema with checks (an explicit `cannot be used on object schemas containing refinements` throw, not a
|
|
222
|
+
* silent drop), while `.extend()` / `.safeExtend()` work and PRESERVE the check. Concretely:
|
|
223
|
+
* `CABImageSectionFields.omit({ sectionId: true })` works, `CABImageSection.omit({ sectionId: true })` throws —
|
|
224
|
+
* so derive from {@link CABImageSectionFields} when you need the unavailable three.
|
|
225
|
+
*/
|
|
3
226
|
export declare const CABImageSection: z.ZodObject<{
|
|
4
227
|
altText: z.ZodDefault<z.ZodString>;
|
|
5
|
-
aspectRatio: z.ZodDefault<z.ZodNullable<z.
|
|
228
|
+
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
6
229
|
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
7
230
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
8
231
|
small: "small";
|
|
@@ -50,10 +273,28 @@ export declare const CABImageSection: z.ZodObject<{
|
|
|
50
273
|
}>>;
|
|
51
274
|
category: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
52
275
|
gallery: "gallery";
|
|
276
|
+
icon: "icon";
|
|
53
277
|
icons: "icons";
|
|
54
278
|
"payment-methods": "payment-methods";
|
|
55
279
|
"secure-checkout": "secure-checkout";
|
|
56
280
|
}>>>;
|
|
281
|
+
iconSize: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
282
|
+
small: "small";
|
|
283
|
+
base: "base";
|
|
284
|
+
large: "large";
|
|
285
|
+
"large-100": "large-100";
|
|
286
|
+
"small-100": "small-100";
|
|
287
|
+
"small-200": "small-200";
|
|
288
|
+
}>>>;
|
|
289
|
+
iconTone: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
290
|
+
auto: "auto";
|
|
291
|
+
success: "success";
|
|
292
|
+
custom: "custom";
|
|
293
|
+
info: "info";
|
|
294
|
+
warning: "warning";
|
|
295
|
+
critical: "critical";
|
|
296
|
+
neutral: "neutral";
|
|
297
|
+
}>>>;
|
|
57
298
|
name: z.ZodOptional<z.ZodString>;
|
|
58
299
|
naturalHeight: z.ZodDefault<z.ZodNumber>;
|
|
59
300
|
naturalWidth: z.ZodDefault<z.ZodNumber>;
|
|
@@ -112,7 +353,83 @@ export declare const CABImageSection: z.ZodObject<{
|
|
|
112
353
|
}, z.core.$strip>>;
|
|
113
354
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
114
355
|
sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
|
|
115
|
-
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString
|
|
356
|
+
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString, z.ZodEnum<{
|
|
357
|
+
x: "x";
|
|
358
|
+
search: "search";
|
|
359
|
+
map: "map";
|
|
360
|
+
settings: "settings";
|
|
361
|
+
filter: "filter";
|
|
362
|
+
check: "check";
|
|
363
|
+
image: "image";
|
|
364
|
+
discount: "discount";
|
|
365
|
+
info: "info";
|
|
366
|
+
grid: "grid";
|
|
367
|
+
menu: "menu";
|
|
368
|
+
cart: "cart";
|
|
369
|
+
"alert-circle": "alert-circle";
|
|
370
|
+
"alert-triangle": "alert-triangle";
|
|
371
|
+
"alert-triangle-filled": "alert-triangle-filled";
|
|
372
|
+
"arrow-down": "arrow-down";
|
|
373
|
+
"arrow-left": "arrow-left";
|
|
374
|
+
"arrow-right": "arrow-right";
|
|
375
|
+
"arrow-up": "arrow-up";
|
|
376
|
+
"arrow-up-right": "arrow-up-right";
|
|
377
|
+
bag: "bag";
|
|
378
|
+
bullet: "bullet";
|
|
379
|
+
calendar: "calendar";
|
|
380
|
+
camera: "camera";
|
|
381
|
+
"caret-down": "caret-down";
|
|
382
|
+
"cash-dollar": "cash-dollar";
|
|
383
|
+
categories: "categories";
|
|
384
|
+
"check-circle": "check-circle";
|
|
385
|
+
"check-circle-filled": "check-circle-filled";
|
|
386
|
+
"chevron-down": "chevron-down";
|
|
387
|
+
"chevron-left": "chevron-left";
|
|
388
|
+
"chevron-right": "chevron-right";
|
|
389
|
+
"chevron-up": "chevron-up";
|
|
390
|
+
circle: "circle";
|
|
391
|
+
clipboard: "clipboard";
|
|
392
|
+
clock: "clock";
|
|
393
|
+
"credit-card": "credit-card";
|
|
394
|
+
delete: "delete";
|
|
395
|
+
delivered: "delivered";
|
|
396
|
+
delivery: "delivery";
|
|
397
|
+
disabled: "disabled";
|
|
398
|
+
edit: "edit";
|
|
399
|
+
email: "email";
|
|
400
|
+
empty: "empty";
|
|
401
|
+
external: "external";
|
|
402
|
+
geolocation: "geolocation";
|
|
403
|
+
"gift-card": "gift-card";
|
|
404
|
+
globe: "globe";
|
|
405
|
+
"info-filled": "info-filled";
|
|
406
|
+
"list-bulleted": "list-bulleted";
|
|
407
|
+
location: "location";
|
|
408
|
+
lock: "lock";
|
|
409
|
+
"menu-horizontal": "menu-horizontal";
|
|
410
|
+
"menu-vertical": "menu-vertical";
|
|
411
|
+
minus: "minus";
|
|
412
|
+
mobile: "mobile";
|
|
413
|
+
note: "note";
|
|
414
|
+
order: "order";
|
|
415
|
+
organization: "organization";
|
|
416
|
+
plus: "plus";
|
|
417
|
+
profile: "profile";
|
|
418
|
+
"question-circle": "question-circle";
|
|
419
|
+
"question-circle-filled": "question-circle-filled";
|
|
420
|
+
reorder: "reorder";
|
|
421
|
+
reset: "reset";
|
|
422
|
+
return: "return";
|
|
423
|
+
savings: "savings";
|
|
424
|
+
star: "star";
|
|
425
|
+
"star-filled": "star-filled";
|
|
426
|
+
"star-half": "star-half";
|
|
427
|
+
store: "store";
|
|
428
|
+
truck: "truck";
|
|
429
|
+
upload: "upload";
|
|
430
|
+
"x-circle": "x-circle";
|
|
431
|
+
"x-circle-filled": "x-circle-filled";
|
|
432
|
+
}>]>>;
|
|
116
433
|
width: z.ZodDefault<z.ZodNumber>;
|
|
117
434
|
}, z.core.$strip>;
|
|
118
435
|
export type CABImageSection = z.infer<typeof CABImageSection>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1D;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoDhC,CAAC;AAMH;;;;;;;;GAQG;AACH,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
@@ -8,18 +8,6 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
|
8
8
|
columns: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
|
|
9
9
|
rows: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
|
|
10
10
|
}, z.core.$strip>>>;
|
|
11
|
-
alignment: z.ZodDefault<z.ZodObject<{
|
|
12
|
-
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
13
|
-
start: "start";
|
|
14
|
-
center: "center";
|
|
15
|
-
end: "end";
|
|
16
|
-
}>>;
|
|
17
|
-
vertical: z.ZodDefault<z.ZodEnum<{
|
|
18
|
-
top: "top";
|
|
19
|
-
middle: "middle";
|
|
20
|
-
bottom: "bottom";
|
|
21
|
-
}>>;
|
|
22
|
-
}, z.core.$strip>>;
|
|
23
11
|
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
24
12
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
25
13
|
small: "small";
|
|
@@ -65,19 +53,6 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
|
65
53
|
switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
|
|
66
54
|
switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
|
|
67
55
|
}>>;
|
|
68
|
-
direction: z.ZodDefault<z.ZodEnum<{
|
|
69
|
-
columns: "columns";
|
|
70
|
-
rows: "rows";
|
|
71
|
-
grid: "grid";
|
|
72
|
-
}>>;
|
|
73
|
-
padding: z.ZodDefault<z.ZodEnum<{
|
|
74
|
-
none: "none";
|
|
75
|
-
base: "base";
|
|
76
|
-
extraTight: "extraTight";
|
|
77
|
-
tight: "tight";
|
|
78
|
-
loose: "loose";
|
|
79
|
-
extraLoose: "extraLoose";
|
|
80
|
-
}>>;
|
|
81
56
|
rule: z.ZodOptional<z.ZodObject<{
|
|
82
57
|
dataSourceId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
83
58
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -128,6 +103,31 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
|
128
103
|
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
129
104
|
}, z.core.$strip>>;
|
|
130
105
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
106
|
+
alignment: z.ZodDefault<z.ZodObject<{
|
|
107
|
+
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
108
|
+
start: "start";
|
|
109
|
+
center: "center";
|
|
110
|
+
end: "end";
|
|
111
|
+
}>>;
|
|
112
|
+
vertical: z.ZodDefault<z.ZodEnum<{
|
|
113
|
+
top: "top";
|
|
114
|
+
middle: "middle";
|
|
115
|
+
bottom: "bottom";
|
|
116
|
+
}>>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
119
|
+
columns: "columns";
|
|
120
|
+
rows: "rows";
|
|
121
|
+
grid: "grid";
|
|
122
|
+
}>>;
|
|
123
|
+
padding: z.ZodDefault<z.ZodEnum<{
|
|
124
|
+
none: "none";
|
|
125
|
+
base: "base";
|
|
126
|
+
extraTight: "extraTight";
|
|
127
|
+
tight: "tight";
|
|
128
|
+
loose: "loose";
|
|
129
|
+
extraLoose: "extraLoose";
|
|
130
|
+
}>>;
|
|
131
131
|
spacing: z.ZodDefault<z.ZodEnum<{
|
|
132
132
|
none: "none";
|
|
133
133
|
base: "base";
|
|
@@ -43,18 +43,6 @@ export declare const CABProgressBarSection: z.ZodLazy<z.ZodObject<{
|
|
|
43
43
|
columns: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
|
|
44
44
|
rows: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodLiteral<"fill">, z.ZodString, z.ZodNumber]>>, z.ZodUndefined]>>;
|
|
45
45
|
}, z.core.$strip>>>;
|
|
46
|
-
alignment: z.ZodDefault<z.ZodObject<{
|
|
47
|
-
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
48
|
-
start: "start";
|
|
49
|
-
center: "center";
|
|
50
|
-
end: "end";
|
|
51
|
-
}>>;
|
|
52
|
-
vertical: z.ZodDefault<z.ZodEnum<{
|
|
53
|
-
top: "top";
|
|
54
|
-
middle: "middle";
|
|
55
|
-
bottom: "bottom";
|
|
56
|
-
}>>;
|
|
57
|
-
}, z.core.$strip>>;
|
|
58
46
|
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
59
47
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
60
48
|
small: "small";
|
|
@@ -100,19 +88,6 @@ export declare const CABProgressBarSection: z.ZodLazy<z.ZodObject<{
|
|
|
100
88
|
switchToSubscriptionNoDiscount: "switchToSubscriptionNoDiscount";
|
|
101
89
|
switchToSubscriptionWithDiscount: "switchToSubscriptionWithDiscount";
|
|
102
90
|
}>>;
|
|
103
|
-
direction: z.ZodDefault<z.ZodEnum<{
|
|
104
|
-
columns: "columns";
|
|
105
|
-
rows: "rows";
|
|
106
|
-
grid: "grid";
|
|
107
|
-
}>>;
|
|
108
|
-
padding: z.ZodDefault<z.ZodEnum<{
|
|
109
|
-
none: "none";
|
|
110
|
-
base: "base";
|
|
111
|
-
extraTight: "extraTight";
|
|
112
|
-
tight: "tight";
|
|
113
|
-
loose: "loose";
|
|
114
|
-
extraLoose: "extraLoose";
|
|
115
|
-
}>>;
|
|
116
91
|
rule: z.ZodOptional<z.ZodObject<{
|
|
117
92
|
dataSourceId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
118
93
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -163,6 +138,31 @@ export declare const CABProgressBarSection: z.ZodLazy<z.ZodObject<{
|
|
|
163
138
|
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
164
139
|
}, z.core.$strip>>;
|
|
165
140
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
141
|
+
alignment: z.ZodDefault<z.ZodObject<{
|
|
142
|
+
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
143
|
+
start: "start";
|
|
144
|
+
center: "center";
|
|
145
|
+
end: "end";
|
|
146
|
+
}>>;
|
|
147
|
+
vertical: z.ZodDefault<z.ZodEnum<{
|
|
148
|
+
top: "top";
|
|
149
|
+
middle: "middle";
|
|
150
|
+
bottom: "bottom";
|
|
151
|
+
}>>;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
154
|
+
columns: "columns";
|
|
155
|
+
rows: "rows";
|
|
156
|
+
grid: "grid";
|
|
157
|
+
}>>;
|
|
158
|
+
padding: z.ZodDefault<z.ZodEnum<{
|
|
159
|
+
none: "none";
|
|
160
|
+
base: "base";
|
|
161
|
+
extraTight: "extraTight";
|
|
162
|
+
tight: "tight";
|
|
163
|
+
loose: "loose";
|
|
164
|
+
extraLoose: "extraLoose";
|
|
165
|
+
}>>;
|
|
166
166
|
sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodType<import("./shared").CABSection, unknown, z.core.$ZodTypeInternals<import("./shared").CABSection, unknown>>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
167
167
|
spacing: z.ZodDefault<z.ZodEnum<{
|
|
168
168
|
none: "none";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progressBar.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/progressBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"progressBar.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/progressBar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuE1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgEjC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,yBAAyB,EAAE,OAAO,CAAC;IACnC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,0BAA0B,EAAE,OAAO,CAAC;IACpC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC,SAAS,GAAG,QAAQ,GAAG,eAAe,GAAG,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAChG,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,aAAa,CAAC;IAC3B,KAAK,EAAE,eAAe,EAAE,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,qBAAqB,GAAG,cAAc,CAAC"}
|