@rebuy/rebuy 2.5.0-rc.2 → 2.5.0-rc.4
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 +526 -341
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +526 -341
- package/dist/index.mjs.map +4 -4
- package/dist/schema/index.d.ts +2 -1
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/product.d.ts +382 -0
- package/dist/schema/product.d.ts.map +1 -0
- package/dist/schema/shopConfig.d.ts +5 -5
- package/dist/schema/shopConfig.d.ts.map +1 -1
- package/dist/schema/userConfig.d.ts +5 -5
- package/dist/schema/widgetData.d.ts +84 -101
- package/dist/schema/widgetData.d.ts.map +1 -1
- package/dist/schema/widgets/abTestingPlaceholder.d.ts +0 -1
- package/dist/schema/widgets/abTestingPlaceholder.d.ts.map +1 -1
- package/dist/schema/widgets/checkout-and-beyond/button.d.ts.map +1 -0
- package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/common.d.ts +6 -6
- package/dist/schema/widgets/checkout-and-beyond/common.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/constants.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/dataSource.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/image.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/index.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/layout.d.ts.map +1 -0
- package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/offers.d.ts +1 -1
- package/dist/schema/widgets/checkout-and-beyond/offers.d.ts.map +1 -0
- package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/product.d.ts +1 -1
- package/dist/schema/widgets/checkout-and-beyond/product.d.ts.map +1 -0
- package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/products.d.ts +1 -1
- package/dist/schema/widgets/checkout-and-beyond/products.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/quantity.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/regex.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/reviews.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/root.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/shared.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/subscription.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/table.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/text.d.ts.map +1 -0
- package/dist/schema/widgets/checkout-and-beyond/utils.d.ts.map +1 -0
- package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/variants.d.ts +1 -1
- package/dist/schema/widgets/checkout-and-beyond/variants.d.ts.map +1 -0
- package/dist/schema/widgets/checkoutExtension.d.ts +0 -1
- package/dist/schema/widgets/checkoutExtension.d.ts.map +1 -1
- package/dist/schema/widgets/contentBlock.d.ts +132 -1
- package/dist/schema/widgets/contentBlock.d.ts.map +1 -1
- package/dist/schema/widgets/giftWithPurchase.d.ts +0 -1
- package/dist/schema/widgets/giftWithPurchase.d.ts.map +1 -1
- package/dist/schema/widgets/lineItemEditor.d.ts +0 -1
- package/dist/schema/widgets/lineItemEditor.d.ts.map +1 -1
- package/dist/schema/widgets/progressBar.d.ts +0 -1
- package/dist/schema/widgets/progressBar.d.ts.map +1 -1
- package/dist/schema/widgets/rebuyButton.d.ts +87 -1
- package/dist/schema/widgets/rebuyButton.d.ts.map +1 -1
- package/dist/schema/widgets/rebuyMonetize.d.ts +0 -1
- package/dist/schema/widgets/rebuyMonetize.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/schema/widgets/checkoutAndBeyond/button.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/common.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/constants.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/dataSource.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/image.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/index.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/layout.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/offers.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/product.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/products.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/quantity.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/regex.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/reviews.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/root.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/shared.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/subscription.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/table.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/text.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/utils.d.ts.map +0 -1
- package/dist/schema/widgets/checkoutAndBeyond/variants.d.ts.map +0 -1
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/button.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/constants.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/dataSource.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/image.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/index.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/layout.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/quantity.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/regex.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/reviews.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/root.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/shared.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/subscription.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/table.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/text.d.ts +0 -0
- /package/dist/schema/widgets/{checkoutAndBeyond → checkout-and-beyond}/utils.d.ts +0 -0
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
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
|
|
3
|
+
export declare const WidgetData: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
4
|
type: z.ZodLiteral<"placeholder">;
|
|
5
|
-
version: z.ZodUndefined;
|
|
6
5
|
}, z.core.$loose>, z.ZodObject<{
|
|
7
6
|
type: z.ZodDefault<z.ZodLiteral<"shopify_checkout_extension">>;
|
|
8
|
-
|
|
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<{
|
|
7
|
+
}, z.core.$loose>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
8
|
blockSpacing: z.ZodEnum<{
|
|
15
9
|
none: "none";
|
|
16
10
|
base: "base";
|
|
@@ -58,87 +52,97 @@ export declare const LegacyV1Widget: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
58
52
|
type: z.ZodDefault<z.ZodLiteral<"ui_extension_content_block">>;
|
|
59
53
|
version: z.ZodLiteral<1>;
|
|
60
54
|
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
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<{
|
|
55
|
+
alignment: z.ZodDefault<z.ZodObject<{
|
|
56
|
+
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
57
|
+
start: "start";
|
|
58
|
+
center: "center";
|
|
59
|
+
end: "end";
|
|
60
|
+
}>>;
|
|
61
|
+
vertical: z.ZodDefault<z.ZodEnum<{
|
|
96
62
|
top: "top";
|
|
63
|
+
middle: "middle";
|
|
97
64
|
bottom: "bottom";
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
imageUrl: z.ZodURL;
|
|
103
|
-
textAlignment: z.ZodEnum<{
|
|
104
|
-
center: "center";
|
|
105
|
-
right: "right";
|
|
106
|
-
left: "left";
|
|
107
|
-
}>;
|
|
108
|
-
textSize: z.ZodEnum<{
|
|
65
|
+
}>>;
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
68
|
+
radius: z.ZodDefault<z.ZodEnum<{
|
|
109
69
|
small: "small";
|
|
70
|
+
none: "none";
|
|
110
71
|
base: "base";
|
|
111
72
|
large: "large";
|
|
73
|
+
fullyRounded: "fullyRounded";
|
|
74
|
+
}>>;
|
|
75
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
76
|
+
none: "none";
|
|
77
|
+
base: "base";
|
|
78
|
+
dotted: "dotted";
|
|
79
|
+
dashed: "dashed";
|
|
80
|
+
}>>;
|
|
81
|
+
width: z.ZodDefault<z.ZodEnum<{
|
|
82
|
+
base: "base";
|
|
112
83
|
medium: "medium";
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
84
|
+
thick: "thick";
|
|
85
|
+
}>>;
|
|
86
|
+
}, z.core.$strip>>>;
|
|
87
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
88
|
+
columns: "columns";
|
|
89
|
+
rows: "rows";
|
|
90
|
+
}>>;
|
|
91
|
+
name: z.ZodOptional<z.ZodString>;
|
|
92
|
+
padding: z.ZodDefault<z.ZodEnum<{
|
|
93
|
+
none: "none";
|
|
94
|
+
base: "base";
|
|
95
|
+
extraTight: "extraTight";
|
|
96
|
+
tight: "tight";
|
|
97
|
+
loose: "loose";
|
|
98
|
+
extraLoose: "extraLoose";
|
|
99
|
+
}>>;
|
|
100
|
+
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
101
|
+
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>>>]>>;
|
|
102
|
+
sectionType: z.ZodDefault<z.ZodLiteral<"layout">>;
|
|
103
|
+
spacing: z.ZodDefault<z.ZodEnum<{
|
|
104
|
+
none: "none";
|
|
105
|
+
base: "base";
|
|
106
|
+
extraTight: "extraTight";
|
|
107
|
+
tight: "tight";
|
|
108
|
+
loose: "loose";
|
|
109
|
+
extraLoose: "extraLoose";
|
|
110
|
+
}>>;
|
|
111
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
112
|
+
editorMode: z.ZodDefault<z.ZodEnum<{
|
|
113
|
+
checkoutExtension: "checkoutExtension";
|
|
114
|
+
postPurchaseOffer: "postPurchaseOffer";
|
|
115
|
+
thankYouPage: "thankYouPage";
|
|
116
|
+
orderStatusPage: "orderStatusPage";
|
|
117
|
+
ordersIndexPage: "ordersIndexPage";
|
|
118
|
+
customerProfilePage: "customerProfilePage";
|
|
119
|
+
}>>;
|
|
120
|
+
previewMode: z.ZodDefault<z.ZodBoolean>;
|
|
121
|
+
storeId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
122
|
+
targetArea: z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
123
|
+
fill: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
flip: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
horizontal: "horizontal";
|
|
126
|
+
vertical: "vertical";
|
|
127
|
+
both: "both";
|
|
128
|
+
}>>;
|
|
129
|
+
icon: z.ZodString;
|
|
130
|
+
label: z.ZodString;
|
|
131
|
+
width: z.ZodString;
|
|
132
|
+
}, z.core.$strip>>>;
|
|
133
|
+
version: z.ZodDefault<z.ZodLiteral<2>>;
|
|
134
|
+
widgetId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
127
135
|
type: z.ZodDefault<z.ZodLiteral<"ui_extension_content_block">>;
|
|
128
|
-
|
|
129
|
-
|
|
136
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
137
|
+
type: z.ZodDefault<z.ZodLiteral<"gift_with_purchase">>;
|
|
138
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
130
139
|
type: z.ZodDefault<z.ZodLiteral<"ui_extension_line_item_editor">>;
|
|
131
|
-
version: z.ZodLiteral<1>;
|
|
132
140
|
}, z.core.$loose>, z.ZodObject<{
|
|
133
141
|
type: z.ZodDefault<z.ZodLiteral<"ui_extension_progress_bar">>;
|
|
134
|
-
|
|
135
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
142
|
+
}, z.core.$loose>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
136
143
|
type: z.ZodDefault<z.ZodLiteral<"ui_extension_button">>;
|
|
137
144
|
version: z.ZodLiteral<1>;
|
|
138
145
|
}, 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
146
|
alignment: z.ZodDefault<z.ZodObject<{
|
|
143
147
|
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
144
148
|
start: "start";
|
|
@@ -217,32 +221,11 @@ export declare const WidgetData: z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnio
|
|
|
217
221
|
label: z.ZodString;
|
|
218
222
|
width: z.ZodString;
|
|
219
223
|
}, 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
224
|
version: z.ZodDefault<z.ZodLiteral<2>>;
|
|
245
225
|
widgetId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
246
|
-
|
|
226
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_button">>;
|
|
227
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
228
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_ad">>;
|
|
229
|
+
}, z.core.$loose>]>;
|
|
247
230
|
export type WidgetData = z.infer<typeof WidgetData>;
|
|
248
231
|
//# sourceMappingURL=widgetData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widgetData.d.ts","sourceRoot":"","sources":["../../src/schema/widgetData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"widgetData.d.ts","sourceRoot":"","sources":["../../src/schema/widgetData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,eAAO,MAAM,oBAAoB,oNASvB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBASrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const ABTestingPlaceholder: z.ZodObject<{
|
|
3
3
|
type: z.ZodLiteral<"placeholder">;
|
|
4
|
-
version: z.ZodUndefined;
|
|
5
4
|
}, z.core.$loose>;
|
|
6
5
|
export type ABTestingPlaceholder = z.infer<typeof ABTestingPlaceholder>;
|
|
7
6
|
//# sourceMappingURL=abTestingPlaceholder.d.ts.map
|
|
@@ -1 +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
|
|
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;;iBAE/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/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"}
|
|
@@ -240,9 +240,10 @@ export type QuantityInput = z.infer<typeof quantityInput>;
|
|
|
240
240
|
export declare const sectionTypes: readonly ["button", "dataSource", "image", "layout", "offers", "product", "products", "quantity", "reviews", "subscription", "table", "text", "variants"];
|
|
241
241
|
declare const sectionType: z.ZodEnum<{
|
|
242
242
|
product: "product";
|
|
243
|
+
variants: "variants";
|
|
244
|
+
image: "image";
|
|
243
245
|
button: "button";
|
|
244
246
|
dataSource: "dataSource";
|
|
245
|
-
image: "image";
|
|
246
247
|
layout: "layout";
|
|
247
248
|
offers: "offers";
|
|
248
249
|
products: "products";
|
|
@@ -251,13 +252,13 @@ declare const sectionType: z.ZodEnum<{
|
|
|
251
252
|
subscription: "subscription";
|
|
252
253
|
table: "table";
|
|
253
254
|
text: "text";
|
|
254
|
-
variants: "variants";
|
|
255
255
|
}>;
|
|
256
256
|
export declare const SectionType: {
|
|
257
257
|
product: "product";
|
|
258
|
+
variants: "variants";
|
|
259
|
+
image: "image";
|
|
258
260
|
button: "button";
|
|
259
261
|
dataSource: "dataSource";
|
|
260
|
-
image: "image";
|
|
261
262
|
layout: "layout";
|
|
262
263
|
offers: "offers";
|
|
263
264
|
products: "products";
|
|
@@ -266,7 +267,6 @@ export declare const SectionType: {
|
|
|
266
267
|
subscription: "subscription";
|
|
267
268
|
table: "table";
|
|
268
269
|
text: "text";
|
|
269
|
-
variants: "variants";
|
|
270
270
|
};
|
|
271
271
|
export type SectionType = z.infer<typeof sectionType>;
|
|
272
272
|
export declare const spacings: readonly ["none", "extraTight", "tight", "base", "loose", "extraLoose"];
|
|
@@ -339,15 +339,15 @@ export declare const TextSizeName: {
|
|
|
339
339
|
export type TextSizeName = z.infer<typeof textSizeName>;
|
|
340
340
|
export declare const variantSelectors: readonly ["menu", "button", "radio", "color", "image"];
|
|
341
341
|
declare const variantSelector: z.ZodEnum<{
|
|
342
|
-
button: "button";
|
|
343
342
|
image: "image";
|
|
343
|
+
button: "button";
|
|
344
344
|
menu: "menu";
|
|
345
345
|
radio: "radio";
|
|
346
346
|
color: "color";
|
|
347
347
|
}>;
|
|
348
348
|
export declare const VariantSelector: {
|
|
349
|
-
button: "button";
|
|
350
349
|
image: "image";
|
|
350
|
+
button: "button";
|
|
351
351
|
menu: "menu";
|
|
352
352
|
radio: "radio";
|
|
353
353
|
color: "color";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,eAAO,MAAM,WAAW,6DAA8D,CAAC;AACvF,QAAA,MAAM,YAAY;;;;;;EAAsB,CAAC;AAEzC,eAAO,MAAM,YAAY;;;;;;CAAoB,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,YAAY,+CAAgD,CAAC;AAC1E,QAAA,MAAM,WAAW;;;;;EAAuB,CAAC;AAEzC,eAAO,MAAM,WAAW;;;;;CAAmB,CAAC;AAC5C,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,YAAY,sCAAuC,CAAC;AACjE,QAAA,MAAM,WAAW;;;;EAAuB,CAAC;AAEzC,eAAO,MAAM,WAAW;;;;CAAmB,CAAC;AAC5C,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,aAAa,oKAUhB,CAAC;AAEX,QAAA,MAAM,YAAY;;;;;;;;;;EAAwB,CAAC;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;CAAoB,CAAC;AAC9C,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,YAAY,0VAkBf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;;;;EAAsB,CAAC;AAEvC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAAkB,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataSource.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/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/checkout-and-beyond/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/checkout-and-beyond/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AAC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OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { CABLayoutSection } from './layout';
|
|
|
3
3
|
import { CABSection, type SectionDetails } from './shared';
|
|
4
4
|
export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
5
5
|
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
6
7
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
7
8
|
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
8
9
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
@@ -24,7 +25,6 @@ export declare const CABOffersSection: z.ZodLazy<z.ZodObject<{
|
|
|
24
25
|
thick: "thick";
|
|
25
26
|
}>>;
|
|
26
27
|
}, z.core.$strip>>>;
|
|
27
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
28
28
|
alignment: z.ZodDefault<z.ZodObject<{
|
|
29
29
|
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
30
30
|
start: "start";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offers.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/product.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/products.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quantity.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/quantity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;iBAuB7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regex.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/regex.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,QAAmB,CAAC;AAEnD,+BAA+B;AAC/B,eAAO,MAAM,mBAAmB,QAA8B,CAAC;AAE/D,sCAAsC;AACtC,eAAO,MAAM,eAAe,QAAuC,CAAC;AAEpE,6BAA6B;AAC7B,eAAO,MAAM,eAAe,QAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/reviews.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;AACnD,OAAO,EAAe,UAAU,EAAe,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,MAAM,MAAM,UAAU,GAAG;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAU1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC5C,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,KAAK,OAAO,EAAE,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AgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG,GAAG,gBAAgB,IAAI,MAAM,EAAE,GAAG,IAAI,CAAC;AAEvE,MAAM,MAAM,cAAc,GAAG;IACzB;;;;;OAKG;IACH,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC;;;;;OAKG;IACH,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/subscription.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;iBAI1B,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":"text.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAgB3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAS/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;iBA+BrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAUzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrB,CAAC;AAEP,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC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L,CAAC;AAEvD,eAAO,MAAM,YAAY,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,gBACL,CAAC;AAEvD,eAAO,MAAM,aAAa,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,iBACL,CAAC;AAExD,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,kBACL,CAAC;AAEzD,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,kBACL,CAAC;AAEzD,eAAO,MAAM,aAAa,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,iBACL,CAAC;AAExD,eAAO,MAAM,kBAAkB,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,sBACL,CAAC;AAE7D,eAAO,MAAM,WAAW,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,eACL,CAAC;AAEtD,eAAO,MAAM,UAAU,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,cACL,CAAC;AAErD,eAAO,MAAM,cAAc,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,kBACL,CAAC;AAUzD,eAAO,MAAM,qBAAqB,GAAI,OAAO,OAAO,KAAG,OAYtD,CAAC"}
|
|
@@ -5,8 +5,8 @@ export declare const CABVariantsSection: z.ZodObject<{
|
|
|
5
5
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
6
6
|
sectionType: z.ZodDefault<z.ZodLiteral<"variants">>;
|
|
7
7
|
selector: z.ZodDefault<z.ZodEnum<{
|
|
8
|
-
button: "button";
|
|
9
8
|
image: "image";
|
|
9
|
+
button: "button";
|
|
10
10
|
menu: "menu";
|
|
11
11
|
radio: "radio";
|
|
12
12
|
color: "color";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkout-and-beyond/variants.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;iBAK7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const CheckoutExtension: z.ZodObject<{
|
|
3
3
|
type: z.ZodDefault<z.ZodLiteral<"shopify_checkout_extension">>;
|
|
4
|
-
version: z.ZodUndefined;
|
|
5
4
|
}, z.core.$loose>;
|
|
6
5
|
export type CheckoutExtension = z.infer<typeof CheckoutExtension>;
|
|
7
6
|
//# sourceMappingURL=checkoutExtension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkoutExtension.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/checkoutExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"checkoutExtension.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/checkoutExtension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,iBAAiB;;iBAE5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const ContentBlockV1: z.ZodObject<{
|
|
3
3
|
blockSpacing: z.ZodEnum<{
|
|
4
4
|
none: "none";
|
|
5
5
|
base: "base";
|
|
@@ -47,4 +47,135 @@ export declare const ContentBlock: z.ZodObject<{
|
|
|
47
47
|
type: z.ZodDefault<z.ZodLiteral<"ui_extension_content_block">>;
|
|
48
48
|
version: z.ZodLiteral<1>;
|
|
49
49
|
}, z.core.$strip>;
|
|
50
|
+
export declare const ContentBlock: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
51
|
+
blockSpacing: z.ZodEnum<{
|
|
52
|
+
none: "none";
|
|
53
|
+
base: "base";
|
|
54
|
+
extraTight: "extraTight";
|
|
55
|
+
tight: "tight";
|
|
56
|
+
loose: "loose";
|
|
57
|
+
extraLoose: "extraLoose";
|
|
58
|
+
}>;
|
|
59
|
+
imageBlocks: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
60
|
+
altText: z.ZodNullable<z.ZodString>;
|
|
61
|
+
description: z.ZodNullable<z.ZodString>;
|
|
62
|
+
id: z.ZodUUID;
|
|
63
|
+
imagePlacement: z.ZodEnum<{
|
|
64
|
+
top: "top";
|
|
65
|
+
bottom: "bottom";
|
|
66
|
+
right: "right";
|
|
67
|
+
left: "left";
|
|
68
|
+
}>;
|
|
69
|
+
imageSize: z.ZodNumber;
|
|
70
|
+
imageUrl: z.ZodURL;
|
|
71
|
+
textAlignment: z.ZodEnum<{
|
|
72
|
+
center: "center";
|
|
73
|
+
right: "right";
|
|
74
|
+
left: "left";
|
|
75
|
+
}>;
|
|
76
|
+
textSize: z.ZodEnum<{
|
|
77
|
+
small: "small";
|
|
78
|
+
base: "base";
|
|
79
|
+
large: "large";
|
|
80
|
+
medium: "medium";
|
|
81
|
+
extraSmall: "extraSmall";
|
|
82
|
+
extraLarge: "extraLarge";
|
|
83
|
+
}>;
|
|
84
|
+
}, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>;
|
|
85
|
+
imageLayout: z.ZodEnum<{
|
|
86
|
+
row: "row";
|
|
87
|
+
column: "column";
|
|
88
|
+
}>;
|
|
89
|
+
language: z.ZodObject<{
|
|
90
|
+
description: z.ZodString;
|
|
91
|
+
superTitle: z.ZodString;
|
|
92
|
+
title: z.ZodString;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
previewMode: z.ZodBoolean;
|
|
95
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_content_block">>;
|
|
96
|
+
version: z.ZodLiteral<1>;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
alignment: z.ZodDefault<z.ZodObject<{
|
|
99
|
+
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
100
|
+
start: "start";
|
|
101
|
+
center: "center";
|
|
102
|
+
end: "end";
|
|
103
|
+
}>>;
|
|
104
|
+
vertical: z.ZodDefault<z.ZodEnum<{
|
|
105
|
+
top: "top";
|
|
106
|
+
middle: "middle";
|
|
107
|
+
bottom: "bottom";
|
|
108
|
+
}>>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
110
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
111
|
+
radius: z.ZodDefault<z.ZodEnum<{
|
|
112
|
+
small: "small";
|
|
113
|
+
none: "none";
|
|
114
|
+
base: "base";
|
|
115
|
+
large: "large";
|
|
116
|
+
fullyRounded: "fullyRounded";
|
|
117
|
+
}>>;
|
|
118
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
119
|
+
none: "none";
|
|
120
|
+
base: "base";
|
|
121
|
+
dotted: "dotted";
|
|
122
|
+
dashed: "dashed";
|
|
123
|
+
}>>;
|
|
124
|
+
width: z.ZodDefault<z.ZodEnum<{
|
|
125
|
+
base: "base";
|
|
126
|
+
medium: "medium";
|
|
127
|
+
thick: "thick";
|
|
128
|
+
}>>;
|
|
129
|
+
}, z.core.$strip>>>;
|
|
130
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
131
|
+
columns: "columns";
|
|
132
|
+
rows: "rows";
|
|
133
|
+
}>>;
|
|
134
|
+
name: z.ZodOptional<z.ZodString>;
|
|
135
|
+
padding: z.ZodDefault<z.ZodEnum<{
|
|
136
|
+
none: "none";
|
|
137
|
+
base: "base";
|
|
138
|
+
extraTight: "extraTight";
|
|
139
|
+
tight: "tight";
|
|
140
|
+
loose: "loose";
|
|
141
|
+
extraLoose: "extraLoose";
|
|
142
|
+
}>>;
|
|
143
|
+
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
144
|
+
sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodType<import("./checkout-and-beyond").CABSection, unknown, z.core.$ZodTypeInternals<import("./checkout-and-beyond").CABSection, unknown>>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
|
|
145
|
+
sectionType: z.ZodDefault<z.ZodLiteral<"layout">>;
|
|
146
|
+
spacing: z.ZodDefault<z.ZodEnum<{
|
|
147
|
+
none: "none";
|
|
148
|
+
base: "base";
|
|
149
|
+
extraTight: "extraTight";
|
|
150
|
+
tight: "tight";
|
|
151
|
+
loose: "loose";
|
|
152
|
+
extraLoose: "extraLoose";
|
|
153
|
+
}>>;
|
|
154
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
155
|
+
editorMode: z.ZodDefault<z.ZodEnum<{
|
|
156
|
+
checkoutExtension: "checkoutExtension";
|
|
157
|
+
postPurchaseOffer: "postPurchaseOffer";
|
|
158
|
+
thankYouPage: "thankYouPage";
|
|
159
|
+
orderStatusPage: "orderStatusPage";
|
|
160
|
+
ordersIndexPage: "ordersIndexPage";
|
|
161
|
+
customerProfilePage: "customerProfilePage";
|
|
162
|
+
}>>;
|
|
163
|
+
previewMode: z.ZodDefault<z.ZodBoolean>;
|
|
164
|
+
storeId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
165
|
+
targetArea: z.ZodNullable<z.ZodDefault<z.ZodObject<{
|
|
166
|
+
fill: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
+
flip: z.ZodOptional<z.ZodEnum<{
|
|
168
|
+
horizontal: "horizontal";
|
|
169
|
+
vertical: "vertical";
|
|
170
|
+
both: "both";
|
|
171
|
+
}>>;
|
|
172
|
+
icon: z.ZodString;
|
|
173
|
+
label: z.ZodString;
|
|
174
|
+
width: z.ZodString;
|
|
175
|
+
}, z.core.$strip>>>;
|
|
176
|
+
version: z.ZodDefault<z.ZodLiteral<2>>;
|
|
177
|
+
widgetId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
178
|
+
type: z.ZodDefault<z.ZodLiteral<"ui_extension_content_block">>;
|
|
179
|
+
}, z.core.$strip>]>;
|
|
180
|
+
export type ContentBlock = z.infer<typeof ContentBlock>;
|
|
50
181
|
//# sourceMappingURL=contentBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contentBlock.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/contentBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"contentBlock.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/contentBlock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAM3B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0BzB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const GiftWithPurchase: z.ZodObject<{
|
|
3
3
|
type: z.ZodDefault<z.ZodLiteral<"gift_with_purchase">>;
|
|
4
|
-
version: z.ZodUndefined;
|
|
5
4
|
}, z.core.$loose>;
|
|
6
5
|
export type GiftWithPurchase = z.infer<typeof GiftWithPurchase>;
|
|
7
6
|
//# sourceMappingURL=giftWithPurchase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"giftWithPurchase.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/giftWithPurchase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"giftWithPurchase.d.ts","sourceRoot":"","sources":["../../../src/schema/widgets/giftWithPurchase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,eAAO,MAAM,gBAAgB;;iBAE3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const LineItemEditor: z.ZodObject<{
|
|
3
3
|
type: z.ZodDefault<z.ZodLiteral<"ui_extension_line_item_editor">>;
|
|
4
|
-
version: z.ZodLiteral<1>;
|
|
5
4
|
}, z.core.$loose>;
|
|
6
5
|
export type LineItemEditor = z.infer<typeof LineItemEditor>;
|
|
7
6
|
//# sourceMappingURL=lineItemEditor.d.ts.map
|