@rebuy/rebuy 2.5.0-rc.1 → 2.5.0-rc.3

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.
Files changed (91) hide show
  1. package/dist/index.d.ts +1 -4
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +635 -354
  4. package/dist/index.js.map +4 -4
  5. package/dist/index.mjs +635 -354
  6. package/dist/index.mjs.map +4 -4
  7. package/dist/schema/index.d.ts +14 -0
  8. package/dist/schema/index.d.ts.map +1 -0
  9. package/dist/schema/product.d.ts +382 -0
  10. package/dist/schema/product.d.ts.map +1 -0
  11. package/dist/schema/widgetData.d.ts +248 -0
  12. package/dist/schema/widgetData.d.ts.map +1 -0
  13. package/dist/schema/widgets/abTestingPlaceholder.d.ts +7 -0
  14. package/dist/schema/widgets/abTestingPlaceholder.d.ts.map +1 -0
  15. package/dist/schema/{cab → widgets/checkoutAndBeyond}/button.d.ts +17 -17
  16. package/dist/schema/widgets/checkoutAndBeyond/button.d.ts.map +1 -0
  17. package/dist/schema/{cab → widgets/checkoutAndBeyond}/common.d.ts +14 -14
  18. package/dist/schema/widgets/checkoutAndBeyond/common.d.ts.map +1 -0
  19. package/dist/schema/widgets/checkoutAndBeyond/constants.d.ts.map +1 -0
  20. package/dist/schema/{cab/data-source.d.ts → widgets/checkoutAndBeyond/dataSource.d.ts} +1 -1
  21. package/dist/schema/widgets/checkoutAndBeyond/dataSource.d.ts.map +1 -0
  22. package/dist/schema/widgets/checkoutAndBeyond/image.d.ts.map +1 -0
  23. package/dist/schema/{cab → widgets/checkoutAndBeyond}/index.d.ts +1 -1
  24. package/dist/schema/widgets/checkoutAndBeyond/index.d.ts.map +1 -0
  25. package/dist/schema/{cab → widgets/checkoutAndBeyond}/layout.d.ts +1 -1
  26. package/dist/schema/widgets/checkoutAndBeyond/layout.d.ts.map +1 -0
  27. package/dist/schema/{cab → widgets/checkoutAndBeyond}/offers.d.ts +18 -18
  28. package/dist/schema/widgets/checkoutAndBeyond/offers.d.ts.map +1 -0
  29. package/dist/schema/{cab → widgets/checkoutAndBeyond}/product.d.ts +8 -8
  30. package/dist/schema/widgets/checkoutAndBeyond/product.d.ts.map +1 -0
  31. package/dist/schema/{cab → widgets/checkoutAndBeyond}/products.d.ts +10 -10
  32. package/dist/schema/widgets/checkoutAndBeyond/products.d.ts.map +1 -0
  33. package/dist/schema/widgets/checkoutAndBeyond/quantity.d.ts.map +1 -0
  34. package/dist/schema/widgets/checkoutAndBeyond/regex.d.ts.map +1 -0
  35. package/dist/schema/widgets/checkoutAndBeyond/reviews.d.ts.map +1 -0
  36. package/dist/schema/{cab → widgets/checkoutAndBeyond}/root.d.ts +1 -1
  37. package/dist/schema/widgets/checkoutAndBeyond/root.d.ts.map +1 -0
  38. package/dist/schema/{cab → widgets/checkoutAndBeyond}/shared.d.ts +1 -1
  39. package/dist/schema/widgets/checkoutAndBeyond/shared.d.ts.map +1 -0
  40. package/dist/schema/widgets/checkoutAndBeyond/subscription.d.ts.map +1 -0
  41. package/dist/schema/widgets/checkoutAndBeyond/table.d.ts.map +1 -0
  42. package/dist/schema/{cab → widgets/checkoutAndBeyond}/text.d.ts +22 -22
  43. package/dist/schema/widgets/checkoutAndBeyond/text.d.ts.map +1 -0
  44. package/dist/schema/{cab → widgets/checkoutAndBeyond}/utils.d.ts +1 -1
  45. package/dist/schema/widgets/checkoutAndBeyond/utils.d.ts.map +1 -0
  46. package/dist/schema/{cab → widgets/checkoutAndBeyond}/variants.d.ts +1 -1
  47. package/dist/schema/widgets/checkoutAndBeyond/variants.d.ts.map +1 -0
  48. package/dist/schema/widgets/checkoutExtension.d.ts +7 -0
  49. package/dist/schema/widgets/checkoutExtension.d.ts.map +1 -0
  50. package/dist/schema/widgets/contentBlock.d.ts +51 -0
  51. package/dist/schema/widgets/contentBlock.d.ts.map +1 -0
  52. package/dist/schema/widgets/giftWithPurchase.d.ts +7 -0
  53. package/dist/schema/widgets/giftWithPurchase.d.ts.map +1 -0
  54. package/dist/schema/widgets/lineItemEditor.d.ts +7 -0
  55. package/dist/schema/widgets/lineItemEditor.d.ts.map +1 -0
  56. package/dist/schema/widgets/progressBar.d.ts +7 -0
  57. package/dist/schema/widgets/progressBar.d.ts.map +1 -0
  58. package/dist/schema/widgets/rebuyButton.d.ts +7 -0
  59. package/dist/schema/widgets/rebuyButton.d.ts.map +1 -0
  60. package/dist/schema/widgets/rebuyMonetize.d.ts +7 -0
  61. package/dist/schema/widgets/rebuyMonetize.d.ts.map +1 -0
  62. package/package.json +1 -1
  63. package/dist/schema/cab/button.d.ts.map +0 -1
  64. package/dist/schema/cab/common.d.ts.map +0 -1
  65. package/dist/schema/cab/constants.d.ts.map +0 -1
  66. package/dist/schema/cab/data-source.d.ts.map +0 -1
  67. package/dist/schema/cab/image.d.ts.map +0 -1
  68. package/dist/schema/cab/index.d.ts.map +0 -1
  69. package/dist/schema/cab/layout.d.ts.map +0 -1
  70. package/dist/schema/cab/offers.d.ts.map +0 -1
  71. package/dist/schema/cab/product.d.ts.map +0 -1
  72. package/dist/schema/cab/products.d.ts.map +0 -1
  73. package/dist/schema/cab/quantity.d.ts.map +0 -1
  74. package/dist/schema/cab/regex.d.ts.map +0 -1
  75. package/dist/schema/cab/reviews.d.ts.map +0 -1
  76. package/dist/schema/cab/root.d.ts.map +0 -1
  77. package/dist/schema/cab/shared.d.ts.map +0 -1
  78. package/dist/schema/cab/subscription.d.ts.map +0 -1
  79. package/dist/schema/cab/table.d.ts.map +0 -1
  80. package/dist/schema/cab/text.d.ts.map +0 -1
  81. package/dist/schema/cab/utils.d.ts.map +0 -1
  82. package/dist/schema/cab/variants.d.ts.map +0 -1
  83. package/dist/schema/widgetSettings.d.ts +0 -152
  84. package/dist/schema/widgetSettings.d.ts.map +0 -1
  85. /package/dist/schema/{cab → widgets/checkoutAndBeyond}/constants.d.ts +0 -0
  86. /package/dist/schema/{cab → widgets/checkoutAndBeyond}/image.d.ts +0 -0
  87. /package/dist/schema/{cab → widgets/checkoutAndBeyond}/quantity.d.ts +0 -0
  88. /package/dist/schema/{cab → widgets/checkoutAndBeyond}/regex.d.ts +0 -0
  89. /package/dist/schema/{cab → widgets/checkoutAndBeyond}/reviews.d.ts +0 -0
  90. /package/dist/schema/{cab → widgets/checkoutAndBeyond}/subscription.d.ts +0 -0
  91. /package/dist/schema/{cab → widgets/checkoutAndBeyond}/table.d.ts +0 -0
@@ -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<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
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<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
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";
@@ -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"];
@@ -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
320
  };
@@ -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.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AAY,CAAC,CAAC;AAExD,eAAO,MAAM,gBAAgB,wDAAyD,CAAC;AACvF,QAAA,MAAM,eAAe;;;;;;EAA2B,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;;;CAAuB,CAAC;AACpD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,sCAAuC,CAAC;AACvE,QAAA,MAAM,iBAAiB;;;;EAA6B,CAAC;AAErD,eAAO,MAAM,iBAAiB;;;;CAAyB,CAAC;AACxD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;EAQpB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUnB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA+D,CAAC;AAE/F,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Bd,CAAC;AAEX,eAAO,MAAM,WAAW,yfAuBd,CAAC;AAEX,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAEvC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAAkB,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -10,4 +10,4 @@ export 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=data-source.d.ts.map
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"}
@@ -1,7 +1,7 @@
1
1
  export * from './button';
2
2
  export * from './common';
3
3
  export * from './constants';
4
- export * from './data-source';
4
+ export * from './dataSource';
5
5
  export * from './image';
6
6
  export * from './layout';
7
7
  export * from './offers';
@@ -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,10 @@
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
- alignment: z.ZodDefault<z.ZodObject<{
6
- horizontal: z.ZodDefault<z.ZodEnum<{
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
+ width: z.ZodDefault<z.ZodNumber>;
7
+ sectionId: z.ZodDefault<z.ZodUUID>;
17
8
  border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
18
9
  radius: z.ZodDefault<z.ZodEnum<{
19
10
  small: "small";
@@ -34,12 +25,22 @@ export declare const CABOffersSection: z.ZodObject<{
34
25
  thick: "thick";
35
26
  }>>;
36
27
  }, z.core.$strip>>>;
37
- 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"}
@@ -6,8 +6,8 @@ export declare const CABProductSection: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  optionId: z.ZodNumber;
8
8
  selector: z.ZodDefault<z.ZodEnum<{
9
- button: "button";
10
9
  image: "image";
10
+ button: "button";
11
11
  menu: "menu";
12
12
  radio: "radio";
13
13
  color: "color";
@@ -99,12 +99,12 @@ export declare const CABProductSection: z.ZodObject<{
99
99
  attrs: z.ZodDefault<z.ZodObject<{
100
100
  blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
101
101
  }, z.core.$strip>>;
102
- content: z.ZodDefault<z.ZodArray<z.ZodObject<{
102
+ content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
103
103
  attrs: z.ZodDefault<z.ZodObject<{
104
104
  textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
105
105
  }, z.core.$strip>>;
106
- content: z.ZodDefault<z.ZodArray<z.ZodObject<{
107
- marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
106
+ content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
107
+ marks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
108
108
  type: z.ZodLiteral<"bold">;
109
109
  }, z.core.$strip>, z.ZodObject<{
110
110
  type: z.ZodLiteral<"italic">;
@@ -120,16 +120,16 @@ export declare const CABProductSection: z.ZodObject<{
120
120
  type: z.ZodLiteral<"strike">;
121
121
  }, z.core.$strip>, z.ZodObject<{
122
122
  attrs: z.ZodObject<{
123
- color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
123
+ color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"success" | "base" | "subdued" | "accent" | "decorative" | "warning" | "critical" | undefined, string>>>>;
124
124
  fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
125
125
  }, z.core.$strip>;
126
126
  type: z.ZodLiteral<"textStyle">;
127
- }, z.core.$strip>]>>>;
127
+ }, z.core.$strip>]>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
128
128
  text: z.ZodDefault<z.ZodString>;
129
129
  type: z.ZodDefault<z.ZodLiteral<"text">>;
130
- }, z.core.$strip>>>;
130
+ }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
131
131
  type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
132
- }, z.core.$strip>>>;
132
+ }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
133
133
  type: z.ZodDefault<z.ZodLiteral<"doc">>;
134
134
  }, z.core.$strip>]>>>>>;
135
135
  name: z.ZodOptional<z.ZodString>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/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"}
@@ -3,14 +3,14 @@ import { type SectionDetails } from './shared';
3
3
  export declare const CABProductsSection: z.ZodObject<{
4
4
  name: z.ZodOptional<z.ZodString>;
5
5
  sectionId: z.ZodDefault<z.ZodUUID>;
6
- sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodObject<{
6
+ sections: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodLazy<z.ZodObject<{
7
7
  name: z.ZodOptional<z.ZodString>;
8
8
  options: z.ZodDefault<z.ZodArray<z.ZodObject<{
9
9
  name: z.ZodString;
10
10
  optionId: z.ZodNumber;
11
11
  selector: z.ZodDefault<z.ZodEnum<{
12
- button: "button";
13
12
  image: "image";
13
+ button: "button";
14
14
  menu: "menu";
15
15
  radio: "radio";
16
16
  color: "color";
@@ -102,12 +102,12 @@ export declare const CABProductsSection: z.ZodObject<{
102
102
  attrs: z.ZodDefault<z.ZodObject<{
103
103
  blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
104
104
  }, z.core.$strip>>;
105
- content: z.ZodDefault<z.ZodArray<z.ZodObject<{
105
+ content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
106
106
  attrs: z.ZodDefault<z.ZodObject<{
107
107
  textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
108
108
  }, z.core.$strip>>;
109
- content: z.ZodDefault<z.ZodArray<z.ZodObject<{
110
- marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
109
+ content: z.ZodDefault<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
110
+ marks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
111
111
  type: z.ZodLiteral<"bold">;
112
112
  }, z.core.$strip>, z.ZodObject<{
113
113
  type: z.ZodLiteral<"italic">;
@@ -123,16 +123,16 @@ export declare const CABProductsSection: z.ZodObject<{
123
123
  type: z.ZodLiteral<"strike">;
124
124
  }, z.core.$strip>, z.ZodObject<{
125
125
  attrs: z.ZodObject<{
126
- color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
126
+ color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"success" | "base" | "subdued" | "accent" | "decorative" | "warning" | "critical" | undefined, string>>>>;
127
127
  fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
128
128
  }, z.core.$strip>;
129
129
  type: z.ZodLiteral<"textStyle">;
130
- }, z.core.$strip>]>>>;
130
+ }, z.core.$strip>]>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
131
131
  text: z.ZodDefault<z.ZodString>;
132
132
  type: z.ZodDefault<z.ZodLiteral<"text">>;
133
- }, z.core.$strip>>>;
133
+ }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
134
134
  type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
135
- }, z.core.$strip>>>;
135
+ }, z.core.$strip>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
136
136
  type: z.ZodDefault<z.ZodLiteral<"doc">>;
137
137
  }, z.core.$strip>]>>>>>;
138
138
  name: z.ZodOptional<z.ZodString>;
@@ -144,7 +144,7 @@ export declare const CABProductsSection: z.ZodObject<{
144
144
  productId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
145
145
  sectionId: z.ZodDefault<z.ZodUUID>;
146
146
  sectionType: z.ZodDefault<z.ZodLiteral<"product">>;
147
- }, z.core.$strip>>>>;
147
+ }, z.core.$strip>>>, z.ZodPipe<z.ZodObject<{}, z.core.$strict>, z.ZodTransform<never[], Record<string, never>>>]>>;
148
148
  sectionType: z.ZodDefault<z.ZodLiteral<"products">>;
149
149
  }, z.core.$strip>;
150
150
  export type CABProductsSection = z.infer<typeof CABProductsSection>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/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/checkoutAndBeyond/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/checkoutAndBeyond/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/checkoutAndBeyond/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"}
@@ -56,7 +56,7 @@ export declare const CABRootSection: z.ZodObject<{
56
56
  extraLoose: "extraLoose";
57
57
  }>>;
58
58
  sectionId: z.ZodDefault<z.ZodUUID>;
59
- sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<import("./shared").CABSection, unknown, z.core.$ZodTypeInternals<import("./shared").CABSection, unknown>>>>>;
59
+ 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>>>]>>;
60
60
  sectionType: z.ZodDefault<z.ZodLiteral<"layout">>;
61
61
  spacing: z.ZodDefault<z.ZodEnum<{
62
62
  none: "none";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/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"}
@@ -1,7 +1,7 @@
1
1
  import { type FieldArrayPath } from 'react-hook-form';
2
2
  import { z, type ZodType } from 'zod/v4';
3
3
  import { CABButtonSection } from './button';
4
- import { CABDataSourceSection } from './data-source';
4
+ import { CABDataSourceSection } from './dataSource';
5
5
  import { CABImageSection } from './image';
6
6
  import { CABLayoutSection } from './layout';
7
7
  import { CABOffersSection } from './offers';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/schema/widgets/checkoutAndBeyond/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,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AAS,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/checkoutAndBeyond/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/checkoutAndBeyond/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"}