@loczer/storefront-sdk 0.239.0 → 0.241.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.
Files changed (42) hide show
  1. package/dist/StorefrontContext.d.ts +54 -0
  2. package/dist/StorefrontContext.d.ts.map +1 -1
  3. package/dist/StorefrontProvider.d.ts +27 -0
  4. package/dist/StorefrontProvider.d.ts.map +1 -1
  5. package/dist/chunks/pkg/booking-engine/dist/models/{Product.shared-C_HehlKK.js → Product.shared-VisFafx-.js} +6 -1
  6. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-asset-CFAxfmRW.js → base-asset-BuqI-BM_.js} +2 -1
  7. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-booking-CZOR9kya.js → base-booking-gCY-ZP5p.js} +2 -2
  8. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-QYQBl0fQ.js → base-product-r04ZJglB.js} +1 -1
  9. package/dist/chunks/pkg/booking-engine/dist/schemas/{cart-inputs-D1KobIdr.js → cart-inputs-ps94yuAR.js} +1 -1
  10. package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-B-Vmdlxo.js → insurance-XwIj1m3Z.js} +1 -1
  11. package/dist/chunks/pkg/booking-engine/dist/{schemas-lb2iTDMd.js → schemas-7yx45S2o.js} +6 -6
  12. package/dist/components/ContractSaleDocument/InvoiceDetails.js +1 -1
  13. package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -1
  14. package/dist/components/ContractSaleDocument/SignatureModal.js +79 -54
  15. package/dist/components/FaqSection/index.d.ts.map +1 -1
  16. package/dist/components/FaqSection/index.js +44 -26
  17. package/dist/components/Footer/businessHoursStatus.js +1 -1
  18. package/dist/components/SignatureInput/index.js +2 -1
  19. package/dist/components/SignatureInput.d.ts.map +1 -1
  20. package/dist/components/StorefrontInformationDocument/index.d.ts +4 -0
  21. package/dist/components/StorefrontInformationDocument/index.d.ts.map +1 -1
  22. package/dist/components/StorefrontInformationDocument/index.js +20 -11
  23. package/dist/i18n/en.js +1 -1
  24. package/dist/i18n/fr.js +1 -1
  25. package/dist/index.d.ts +185 -6
  26. package/dist/index.js +79 -79
  27. package/dist/lib/booking-period.d.ts.map +1 -1
  28. package/dist/lib/booking-period.js +12 -12
  29. package/dist/lib/booking.js +2 -2
  30. package/dist/lib/checkoutSubmit.js +3 -3
  31. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  32. package/dist/pages/CheckoutPage.js +152 -151
  33. package/dist/pages/InsuranceTermsPage.d.ts.map +1 -1
  34. package/dist/pages/InsuranceTermsPage.js +18 -16
  35. package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts +2 -1
  36. package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -1
  37. package/dist/pages/checkout/components/CheckoutDetailsCard.js +17 -14
  38. package/dist/storefront.css +1 -1
  39. package/dist/storefrontSchemas.d.ts +89 -0
  40. package/dist/storefrontSchemas.d.ts.map +1 -1
  41. package/dist/storefrontSchemas.js +20 -16
  42. package/package.json +1 -1
@@ -104,6 +104,15 @@ export declare const storefrontWorkspaceSchema: z.ZodObject<{
104
104
  languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
105
105
  }, z.core.$strip>;
106
106
  export type StorefrontWorkspace = z.infer<typeof storefrontWorkspaceSchema>;
107
+ export declare const storefrontFaqAdditionalLinkSchema: z.ZodObject<{
108
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
109
+ value: z.ZodString;
110
+ updatedAt: z.ZodCoercedDate<unknown>;
111
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
112
+ }, z.core.$loose>>;
113
+ href: z.ZodString;
114
+ }, z.core.$strip>;
115
+ export type StorefrontFaqAdditionalLink = z.infer<typeof storefrontFaqAdditionalLinkSchema>;
107
116
  export declare const storefrontFaqItemSchema: z.ZodObject<{
108
117
  id: z.ZodString;
109
118
  question: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -116,6 +125,14 @@ export declare const storefrontFaqItemSchema: z.ZodObject<{
116
125
  updatedAt: z.ZodCoercedDate<unknown>;
117
126
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
118
127
  }, z.core.$loose>>;
128
+ additionalLink: z.ZodOptional<z.ZodObject<{
129
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
130
+ value: z.ZodString;
131
+ updatedAt: z.ZodCoercedDate<unknown>;
132
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
133
+ }, z.core.$loose>>;
134
+ href: z.ZodString;
135
+ }, z.core.$strip>>;
119
136
  }, z.core.$strip>;
120
137
  export type StorefrontFaqItem = z.infer<typeof storefrontFaqItemSchema>;
121
138
  export declare const storefrontModalMessageSchema: z.ZodObject<{
@@ -156,6 +173,14 @@ export declare const storefrontFaqSchema: z.ZodObject<{
156
173
  updatedAt: z.ZodCoercedDate<unknown>;
157
174
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
158
175
  }, z.core.$loose>>;
176
+ additionalLink: z.ZodOptional<z.ZodObject<{
177
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
178
+ value: z.ZodString;
179
+ updatedAt: z.ZodCoercedDate<unknown>;
180
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
181
+ }, z.core.$loose>>;
182
+ href: z.ZodString;
183
+ }, z.core.$strip>>;
159
184
  }, z.core.$strip>>>;
160
185
  deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
161
186
  id: z.ZodString;
@@ -169,6 +194,14 @@ export declare const storefrontFaqSchema: z.ZodObject<{
169
194
  updatedAt: z.ZodCoercedDate<unknown>;
170
195
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
171
196
  }, z.core.$loose>>;
197
+ additionalLink: z.ZodOptional<z.ZodObject<{
198
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
199
+ value: z.ZodString;
200
+ updatedAt: z.ZodCoercedDate<unknown>;
201
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
202
+ }, z.core.$loose>>;
203
+ href: z.ZodString;
204
+ }, z.core.$strip>>;
172
205
  }, z.core.$strip>>>;
173
206
  booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
174
207
  id: z.ZodString;
@@ -182,6 +215,14 @@ export declare const storefrontFaqSchema: z.ZodObject<{
182
215
  updatedAt: z.ZodCoercedDate<unknown>;
183
216
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
184
217
  }, z.core.$loose>>;
218
+ additionalLink: z.ZodOptional<z.ZodObject<{
219
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
220
+ value: z.ZodString;
221
+ updatedAt: z.ZodCoercedDate<unknown>;
222
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
223
+ }, z.core.$loose>>;
224
+ href: z.ZodString;
225
+ }, z.core.$strip>>;
185
226
  }, z.core.$strip>>>;
186
227
  }, z.core.$strip>;
187
228
  export type StorefrontFaq = z.infer<typeof storefrontFaqSchema>;
@@ -255,6 +296,14 @@ export declare const storefrontContentSchema: z.ZodObject<{
255
296
  updatedAt: z.ZodCoercedDate<unknown>;
256
297
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
257
298
  }, z.core.$loose>>;
299
+ additionalLink: z.ZodOptional<z.ZodObject<{
300
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
301
+ value: z.ZodString;
302
+ updatedAt: z.ZodCoercedDate<unknown>;
303
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
304
+ }, z.core.$loose>>;
305
+ href: z.ZodString;
306
+ }, z.core.$strip>>;
258
307
  }, z.core.$strip>>>;
259
308
  deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
260
309
  id: z.ZodString;
@@ -268,6 +317,14 @@ export declare const storefrontContentSchema: z.ZodObject<{
268
317
  updatedAt: z.ZodCoercedDate<unknown>;
269
318
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
270
319
  }, z.core.$loose>>;
320
+ additionalLink: z.ZodOptional<z.ZodObject<{
321
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
322
+ value: z.ZodString;
323
+ updatedAt: z.ZodCoercedDate<unknown>;
324
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
325
+ }, z.core.$loose>>;
326
+ href: z.ZodString;
327
+ }, z.core.$strip>>;
271
328
  }, z.core.$strip>>>;
272
329
  booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
273
330
  id: z.ZodString;
@@ -281,6 +338,14 @@ export declare const storefrontContentSchema: z.ZodObject<{
281
338
  updatedAt: z.ZodCoercedDate<unknown>;
282
339
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
283
340
  }, z.core.$loose>>;
341
+ additionalLink: z.ZodOptional<z.ZodObject<{
342
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
343
+ value: z.ZodString;
344
+ updatedAt: z.ZodCoercedDate<unknown>;
345
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
346
+ }, z.core.$loose>>;
347
+ href: z.ZodString;
348
+ }, z.core.$strip>>;
284
349
  }, z.core.$strip>>>;
285
350
  }, z.core.$strip>>;
286
351
  }, z.core.$strip>;
@@ -574,6 +639,14 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
574
639
  updatedAt: z.ZodCoercedDate<unknown>;
575
640
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
576
641
  }, z.core.$loose>>;
642
+ additionalLink: z.ZodOptional<z.ZodObject<{
643
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
644
+ value: z.ZodString;
645
+ updatedAt: z.ZodCoercedDate<unknown>;
646
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
647
+ }, z.core.$loose>>;
648
+ href: z.ZodString;
649
+ }, z.core.$strip>>;
577
650
  }, z.core.$strip>>>;
578
651
  deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
579
652
  id: z.ZodString;
@@ -587,6 +660,14 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
587
660
  updatedAt: z.ZodCoercedDate<unknown>;
588
661
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
589
662
  }, z.core.$loose>>;
663
+ additionalLink: z.ZodOptional<z.ZodObject<{
664
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
665
+ value: z.ZodString;
666
+ updatedAt: z.ZodCoercedDate<unknown>;
667
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
668
+ }, z.core.$loose>>;
669
+ href: z.ZodString;
670
+ }, z.core.$strip>>;
590
671
  }, z.core.$strip>>>;
591
672
  booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
592
673
  id: z.ZodString;
@@ -600,6 +681,14 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
600
681
  updatedAt: z.ZodCoercedDate<unknown>;
601
682
  autoTranslated: z.ZodOptional<z.ZodBoolean>;
602
683
  }, z.core.$loose>>;
684
+ additionalLink: z.ZodOptional<z.ZodObject<{
685
+ label: z.ZodRecord<z.ZodString, z.ZodObject<{
686
+ value: z.ZodString;
687
+ updatedAt: z.ZodCoercedDate<unknown>;
688
+ autoTranslated: z.ZodOptional<z.ZodBoolean>;
689
+ }, z.core.$loose>>;
690
+ href: z.ZodString;
691
+ }, z.core.$strip>>;
603
692
  }, z.core.$strip>>>;
604
693
  }, z.core.$strip>>;
605
694
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"storefrontSchemas.d.ts","sourceRoot":"","sources":["../src/storefrontSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0BvB,eAAO,MAAM,wBAAwB;;;;;kBAO1B,CAAA;AACX,eAAO,MAAM,iCAAiC;;;;;mBAE5C,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;iBAKtC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AA0C/E,eAAO,MAAM,sBAAsB;;;EAAuC,CAAA;AAC1E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,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O,MAAM,6BAA6B;;;iBAGxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEnF,eAAO,MAAM,uBAAuB;;;;;;;;iBAKlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEvE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASxC,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { timeOfDaySchema as e } from "./chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-BlLD1gfz.js";
2
2
  import { publicBookingEngineConfigurationSchema as t } from "./chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-BwWn9aK0.js";
3
- import "./chunks/pkg/booking-engine/dist/schemas-lb2iTDMd.js";
3
+ import "./chunks/pkg/booking-engine/dist/schemas-7yx45S2o.js";
4
4
  import { STOREFRONT_I18N_LANGUAGE_CODES as n } from "./i18n/languages.js";
5
5
  import { z as r } from "zod";
6
6
  //#region src/storefrontSchemas.ts
@@ -70,10 +70,14 @@ var i = r.string().trim().regex(/^\+[1-9]\d{1,14}$/, { message: "Invalid phone n
70
70
  workspaceLanguage: r.enum(n).optional(),
71
71
  languages: r.array(r.string().min(1)).optional()
72
72
  }), T = r.object({
73
+ label: s,
74
+ href: r.string().trim().min(1)
75
+ }), E = r.object({
73
76
  id: r.string().min(1),
74
77
  question: s,
75
- answer: s
76
- }), E = r.object({
78
+ answer: s,
79
+ additionalLink: T.optional()
80
+ }), D = r.object({
77
81
  id: r.string().min(1),
78
82
  enabled: r.boolean().default(!0),
79
83
  showOnEachVisit: r.boolean().default(!1),
@@ -83,11 +87,11 @@ var i = r.string().trim().regex(/^\+[1-9]\d{1,14}$/, { message: "Invalid phone n
83
87
  subtitle: o.optional(),
84
88
  message: p.optional(),
85
89
  imageIds: r.array(r.string().min(1)).default([])
86
- }), D = r.object({
87
- general: r.array(T).default([]),
88
- deliveries: r.array(T).default([]),
89
- booking: r.array(T).default([])
90
90
  }), O = r.object({
91
+ general: r.array(E).default([]),
92
+ deliveries: r.array(E).default([]),
93
+ booking: r.array(E).default([])
94
+ }), k = r.object({
91
95
  heroMode: b.default("current_booking_hero"),
92
96
  tagline: o.optional(),
93
97
  logoSquareImageId: r.string().min(1).optional(),
@@ -99,27 +103,27 @@ var i = r.string().trim().regex(/^\+[1-9]\d{1,14}$/, { message: "Invalid phone n
99
103
  whatsappPhone2Enabled: r.boolean().default(!1),
100
104
  whatsappMessage: o.optional(),
101
105
  showWhatsappFloatingButton: r.boolean().default(!0),
102
- modalMessages: r.array(E).default([]),
103
- faq: D.default({
106
+ modalMessages: r.array(D).default([]),
107
+ faq: O.default({
104
108
  general: [],
105
109
  deliveries: [],
106
110
  booking: []
107
111
  })
108
- }), k = r.object({
112
+ }), A = r.object({
109
113
  enabled: r.boolean(),
110
114
  showRecentReviewsOnStorefront: r.boolean()
111
- }), A = r.object({
112
- reviews: k.optional(),
113
- insurance: r.object({ enabled: r.boolean() }).optional()
114
115
  }), j = r.object({
116
+ reviews: A.optional(),
117
+ insurance: r.object({ enabled: r.boolean() }).optional()
118
+ }), M = r.object({
115
119
  storeSlug: r.string().min(1),
116
120
  workspace: w.optional(),
117
121
  shop: C,
118
122
  settings: S,
119
123
  bookingEngine: h,
120
- content: O.optional(),
124
+ content: k.optional(),
121
125
  information: u.optional(),
122
- modules: A.optional()
126
+ modules: j.optional()
123
127
  });
124
128
  //#endregion
125
- export { y as STOREFRONT_HERO_MODES, _ as storefrontCheckoutModeSchema, j as storefrontConfigurationSchema, O as storefrontContentSchema, T as storefrontFaqItemSchema, D as storefrontFaqSchema, v as storefrontFulfillmentModeSchema, b as storefrontHeroModeSchema, u as storefrontInformationSchema, l as storefrontLocalizedRichTextSchema, E as storefrontModalMessageSchema, A as storefrontModulesSchema, k as storefrontReviewsModuleSchema, c as storefrontRichTextSchema, S as storefrontSettingsSchema, C as storefrontShopSchema, g as storefrontStatusSchema, w as storefrontWorkspaceSchema };
129
+ export { y as STOREFRONT_HERO_MODES, _ as storefrontCheckoutModeSchema, M as storefrontConfigurationSchema, k as storefrontContentSchema, T as storefrontFaqAdditionalLinkSchema, E as storefrontFaqItemSchema, O as storefrontFaqSchema, v as storefrontFulfillmentModeSchema, b as storefrontHeroModeSchema, u as storefrontInformationSchema, l as storefrontLocalizedRichTextSchema, D as storefrontModalMessageSchema, j as storefrontModulesSchema, A as storefrontReviewsModuleSchema, c as storefrontRichTextSchema, S as storefrontSettingsSchema, C as storefrontShopSchema, g as storefrontStatusSchema, w as storefrontWorkspaceSchema };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loczer/storefront-sdk",
3
- "version": "0.239.0",
3
+ "version": "0.241.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"