@loczer/storefront-sdk 0.222.0 → 0.224.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 (45) hide show
  1. package/dist/StorefrontContext.d.ts +14 -0
  2. package/dist/StorefrontContext.d.ts.map +1 -1
  3. package/dist/StorefrontProvider.d.ts +7 -0
  4. package/dist/StorefrontProvider.d.ts.map +1 -1
  5. package/dist/components/Footer/index.d.ts +2 -1
  6. package/dist/components/Footer/index.d.ts.map +1 -1
  7. package/dist/components/Footer/index.js +32 -28
  8. package/dist/components/Layout/index.d.ts.map +1 -1
  9. package/dist/components/Layout/index.js +47 -45
  10. package/dist/components/StorefrontInformationDocument/index.d.ts +13 -0
  11. package/dist/components/StorefrontInformationDocument/index.d.ts.map +1 -0
  12. package/dist/components/StorefrontInformationDocument/index.js +48 -0
  13. package/dist/i18n/en.d.ts +4 -0
  14. package/dist/i18n/en.d.ts.map +1 -1
  15. package/dist/i18n/en.js +5 -1
  16. package/dist/i18n/fr.d.ts +4 -0
  17. package/dist/i18n/fr.d.ts.map +1 -1
  18. package/dist/i18n/fr.js +5 -1
  19. package/dist/index.d.ts +53 -1
  20. package/dist/index.js +9 -8
  21. package/dist/lib/checkoutPaymentDecision.d.ts +1 -0
  22. package/dist/lib/checkoutPaymentDecision.d.ts.map +1 -1
  23. package/dist/lib/checkoutPaymentDecision.js +1 -0
  24. package/dist/lib/contractSaleDocument.d.ts +3 -0
  25. package/dist/lib/contractSaleDocument.d.ts.map +1 -1
  26. package/dist/lib/contractSaleDocument.js +1 -0
  27. package/dist/lib/contractSaleDocumentApi.d.ts +3 -0
  28. package/dist/lib/contractSaleDocumentApi.d.ts.map +1 -1
  29. package/dist/lib/richText.d.ts +3 -0
  30. package/dist/lib/richText.d.ts.map +1 -0
  31. package/dist/lib/richText.js +19 -0
  32. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  33. package/dist/pages/CheckoutPage.js +156 -154
  34. package/dist/pages/ContractSaleDocumentPage.d.ts +1 -1
  35. package/dist/pages/InsuranceTermsPage.d.ts +2 -0
  36. package/dist/pages/InsuranceTermsPage.d.ts.map +1 -0
  37. package/dist/pages/InsuranceTermsPage.js +22 -0
  38. package/dist/pages/RentalTermsPage.d.ts.map +1 -1
  39. package/dist/pages/RentalTermsPage.js +15 -46
  40. package/dist/routes.d.ts.map +1 -1
  41. package/dist/routes.js +14 -10
  42. package/dist/storefrontSchemas.d.ts +14 -0
  43. package/dist/storefrontSchemas.d.ts.map +1 -1
  44. package/dist/storefrontSchemas.js +3 -1
  45. package/package.json +1 -1
@@ -244,6 +244,13 @@ export declare function useStorefrontConfig(): {
244
244
  text: string;
245
245
  } | undefined;
246
246
  rentalTermsUpdatedAt?: string | null | undefined;
247
+ insuranceTerms?: {
248
+ version: 1;
249
+ json: string;
250
+ html: string;
251
+ text: string;
252
+ } | undefined;
253
+ insuranceTermsUpdatedAt?: string | null | undefined;
247
254
  } | undefined;
248
255
  modules?: {
249
256
  reviews?: {
@@ -480,6 +487,13 @@ export declare function useStorefrontConfig(): {
480
487
  text: string;
481
488
  } | undefined;
482
489
  rentalTermsUpdatedAt?: string | null | undefined;
490
+ insuranceTerms?: {
491
+ version: 1;
492
+ json: string;
493
+ html: string;
494
+ text: string;
495
+ } | undefined;
496
+ insuranceTermsUpdatedAt?: string | null | undefined;
483
497
  } | undefined;
484
498
  modules?: {
485
499
  reviews?: {
@@ -1 +1 @@
1
- {"version":3,"file":"StorefrontContext.d.ts","sourceRoot":"","sources":["../src/StorefrontContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAA;AAGzG,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,uBAAuB,EAAE,uBAAuB,CAAA;IAChD,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,WAAW,EAAE,gBAAgB,EAAE,CAAA;IAC/B,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,kBAAkB,EAAE,gBAAgB,EAAE,CAAA;IACtC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,sBAAsB,CAAA;IAChC,WAAW,EAAE,0BAA0B,EAAE,CAAA;IACzC,mBAAmB,EAAE,0BAA0B,EAAE,CAAA;CAClD,CAAA;AAUD,eAAO,MAAM,iBAAiB,6CAEmC,CAAA;AAKjE,wBAAgB,aAAa,2BAQ5B;AAED,wBAAgB,qBAAqB,uCAEpC;AAED,wBAAgB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC;AAED,wBAAgB,8BAA8B,IAAI,sBAAsB,CAGvE;AAED,wBAAgB,qBAAqB;;;EAGpC;AAED,wBAAgB,4BAA4B;;;EAG3C;AAED,wBAAgB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC"}
1
+ {"version":3,"file":"StorefrontContext.d.ts","sourceRoot":"","sources":["../src/StorefrontContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAA;AAGzG,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,MAAM,CAAA;IACjB,uBAAuB,EAAE,uBAAuB,CAAA;IAChD,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,WAAW,EAAE,gBAAgB,EAAE,CAAA;IAC/B,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,kBAAkB,EAAE,gBAAgB,EAAE,CAAA;IACtC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,sBAAsB,CAAA;IAChC,WAAW,EAAE,0BAA0B,EAAE,CAAA;IACzC,mBAAmB,EAAE,0BAA0B,EAAE,CAAA;CAClD,CAAA;AAUD,eAAO,MAAM,iBAAiB,6CAEmC,CAAA;AAKjE,wBAAgB,aAAa,2BAQ5B;AAED,wBAAgB,qBAAqB,uCAEpC;AAED,wBAAgB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC;AAED,wBAAgB,8BAA8B,IAAI,sBAAsB,CAGvE;AAED,wBAAgB,qBAAqB;;;EAGpC;AAED,wBAAgB,4BAA4B;;;EAG3C;AAED,wBAAgB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC"}
@@ -225,6 +225,13 @@ export declare const loader: ({ ctx, params }: import('@rpcbase/client').LoaderA
225
225
  text: string;
226
226
  } | undefined;
227
227
  rentalTermsUpdatedAt?: string | null | undefined;
228
+ insuranceTerms?: {
229
+ version: 1;
230
+ json: string;
231
+ html: string;
232
+ text: string;
233
+ } | undefined;
234
+ insuranceTermsUpdatedAt?: string | null | undefined;
228
235
  } | undefined;
229
236
  modules?: {
230
237
  reviews?: {
@@ -1 +1 @@
1
- {"version":3,"file":"StorefrontProvider.d.ts","sourceRoot":"","sources":["../src/StorefrontProvider.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFA,CAAA;AAGnB,MAAM,CAAC,OAAO,UAAU,kBAAkB,4CAqBzC;AAED,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"StorefrontProvider.d.ts","sourceRoot":"","sources":["../src/StorefrontProvider.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFA,CAAA;AAGnB,MAAM,CAAC,OAAO,UAAU,kBAAkB,4CAqBzC;AAED,cAAc,qBAAqB,CAAA"}
@@ -7,7 +7,8 @@ type FooterProps = {
7
7
  openingHours?: StorefrontConfiguration["bookingEngine"]["shop"]["openingHours"];
8
8
  openingHoursOverrides?: StorefrontConfiguration["bookingEngine"]["shop"]["openingHoursOverrides"];
9
9
  timeZone?: string;
10
+ showInsuranceTerms?: boolean;
10
11
  };
11
- export declare function Footer({ storeSlug, shop, whatsappHref, whatsappPhoneDisplay, openingHours, openingHoursOverrides, timeZone, }: FooterProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function Footer({ storeSlug, shop, whatsappHref, whatsappPhoneDisplay, openingHours, openingHoursOverrides, timeZone, showInsuranceTerms, }: FooterProps): import("react/jsx-runtime").JSX.Element;
12
13
  export {};
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAetF,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;IAC/E,qBAAqB,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,QAAQ,GACT,EAAE,WAAW,2CAqJb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Footer/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,uBAAuB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAetF,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,YAAY,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,cAAc,CAAC,CAAA;IAC/E,qBAAqB,CAAC,EAAE,uBAAuB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,uBAAuB,CAAC,CAAA;IACjG,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,QAAQ,EACR,kBAA0B,GAC3B,EAAE,WAAW,2CA6Jb"}
@@ -10,8 +10,8 @@ import { cn as p } from "@rpcbase/ui";
10
10
  import { Clock as m, Mail as h, MapPin as g, Phone as _ } from "lucide-react";
11
11
  //#region src/components/Footer/index.tsx
12
12
  var v = "group inline-flex gap-2 text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", y = "inline-flex text-sm font-normal text-slate-600 decoration-current underline-offset-4 transition-colors hover:text-slate-800 hover:underline", b = "mt-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center text-current transition-colors";
13
- function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, openingHours: T, openingHoursOverrides: E, timeZone: D }) {
14
- let { t: O } = f(), k = t(S), A = S?.emailAddress?.trim() ?? "", j = S?.address?.trim() ?? "", M = e(S), N = o(T), P = s(E), F = N.length > 0, I = x?.trim() || S?.slug?.trim() || "", L = I ? `/${encodeURIComponent(I)}/rental-terms` : "rental-terms";
13
+ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, openingHours: T, openingHoursOverrides: E, timeZone: D, showInsuranceTerms: O = !1 }) {
14
+ let { t: k } = f(), A = t(S), j = S?.emailAddress?.trim() ?? "", M = S?.address?.trim() ?? "", N = e(S), P = o(T), F = s(E), I = P.length > 0, L = x?.trim() || S?.slug?.trim() || "", R = L ? `/${encodeURIComponent(L)}/rental-terms` : "rental-terms", z = L ? `/${encodeURIComponent(L)}/insurance-terms` : "insurance-terms";
15
15
  return /* @__PURE__ */ l("footer", {
16
16
  className: "border-t bg-white",
17
17
  children: /* @__PURE__ */ u("div", {
@@ -21,22 +21,26 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
21
21
  className: "space-y-2",
22
22
  children: [/* @__PURE__ */ l("p", {
23
23
  className: "text-sm font-semibold text-slate-950",
24
- children: /* @__PURE__ */ l("span", { children: O("footer_information_title") })
25
- }), /* @__PURE__ */ l("nav", {
24
+ children: /* @__PURE__ */ l("span", { children: k("footer_information_title") })
25
+ }), /* @__PURE__ */ u("nav", {
26
26
  className: "grid gap-2",
27
- "aria-label": O("footer_information_title"),
28
- children: /* @__PURE__ */ l(d, {
27
+ "aria-label": k("footer_information_title"),
28
+ children: [/* @__PURE__ */ l(d, {
29
29
  className: y,
30
- to: L,
31
- children: /* @__PURE__ */ l("span", { children: O("rental_terms_title") })
32
- })
30
+ to: R,
31
+ children: /* @__PURE__ */ l("span", { children: k("rental_terms_title") })
32
+ }), O ? /* @__PURE__ */ l(d, {
33
+ className: y,
34
+ to: z,
35
+ children: /* @__PURE__ */ l("span", { children: k("insurance_terms_title") })
36
+ }) : null]
33
37
  })]
34
38
  }),
35
39
  /* @__PURE__ */ u("div", {
36
40
  className: "space-y-2",
37
41
  children: [/* @__PURE__ */ l("p", {
38
42
  className: "text-sm font-semibold text-slate-950",
39
- children: /* @__PURE__ */ l("span", { children: O("footer_contact_title") })
43
+ children: /* @__PURE__ */ l("span", { children: k("footer_contact_title") })
40
44
  }), /* @__PURE__ */ u("div", {
41
45
  className: "grid gap-2",
42
46
  children: [
@@ -55,24 +59,24 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
55
59
  "aria-hidden": "true"
56
60
  })
57
61
  }),
58
- /* @__PURE__ */ l("span", { children: O("footer_whatsapp_link") }),
62
+ /* @__PURE__ */ l("span", { children: k("footer_whatsapp_link") }),
59
63
  w ? /* @__PURE__ */ l("span", {
60
64
  className: "text-slate-500",
61
65
  children: w
62
66
  }) : null
63
67
  ]
64
68
  }) : null,
65
- k ? /* @__PURE__ */ u("a", {
69
+ A ? /* @__PURE__ */ u("a", {
66
70
  className: p(v, "items-center"),
67
- href: k.href,
68
- "aria-label": k.phoneDisplay,
71
+ href: A.href,
72
+ "aria-label": A.phoneDisplay,
69
73
  children: [/* @__PURE__ */ l("span", {
70
74
  className: b,
71
75
  children: /* @__PURE__ */ l(_, {
72
76
  className: "h-4 w-4",
73
77
  "aria-hidden": "true"
74
78
  })
75
- }), /* @__PURE__ */ l("span", { children: k.phoneDisplay })]
79
+ }), /* @__PURE__ */ l("span", { children: A.phoneDisplay })]
76
80
  }) : /* @__PURE__ */ u("div", {
77
81
  className: p(v, "items-center text-destructive hover:text-destructive hover:no-underline"),
78
82
  children: [/* @__PURE__ */ l("span", {
@@ -83,17 +87,17 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
83
87
  })
84
88
  }), /* @__PURE__ */ l("span", { children: a })]
85
89
  }),
86
- A ? /* @__PURE__ */ u("a", {
90
+ j ? /* @__PURE__ */ u("a", {
87
91
  className: p(v, "items-center"),
88
- href: `mailto:${A}`,
89
- "aria-label": A,
92
+ href: `mailto:${j}`,
93
+ "aria-label": j,
90
94
  children: [/* @__PURE__ */ l("span", {
91
95
  className: b,
92
96
  children: /* @__PURE__ */ l(h, {
93
97
  className: "h-4 w-4",
94
98
  "aria-hidden": "true"
95
99
  })
96
- }), /* @__PURE__ */ l("span", { children: A })]
100
+ }), /* @__PURE__ */ l("span", { children: j })]
97
101
  }) : /* @__PURE__ */ u("div", {
98
102
  className: p(v, "items-center text-destructive hover:text-destructive hover:no-underline"),
99
103
  children: [/* @__PURE__ */ l("span", {
@@ -104,9 +108,9 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
104
108
  })
105
109
  }), /* @__PURE__ */ l("span", { children: i })]
106
110
  }),
107
- M && j ? /* @__PURE__ */ u("a", {
111
+ N && M ? /* @__PURE__ */ u("a", {
108
112
  className: p(v, "items-start"),
109
- href: M,
113
+ href: N,
110
114
  target: "_blank",
111
115
  rel: "noreferrer",
112
116
  children: [/* @__PURE__ */ l("span", {
@@ -115,7 +119,7 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
115
119
  className: "h-4 w-4",
116
120
  "aria-hidden": "true"
117
121
  })
118
- }), /* @__PURE__ */ l("span", { children: j })]
122
+ }), /* @__PURE__ */ l("span", { children: M })]
119
123
  }) : /* @__PURE__ */ u("div", {
120
124
  className: p(v, "items-start text-destructive hover:text-destructive hover:no-underline"),
121
125
  children: [/* @__PURE__ */ l("span", {
@@ -133,10 +137,10 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
133
137
  className: "space-y-2",
134
138
  children: [/* @__PURE__ */ l("p", {
135
139
  className: "text-sm font-semibold text-slate-950",
136
- children: /* @__PURE__ */ l("span", { children: O("footer_hours_title") })
137
- }), F ? /* @__PURE__ */ l(c, {
138
- openingHours: N,
139
- openingHoursOverrides: P,
140
+ children: /* @__PURE__ */ l("span", { children: k("footer_hours_title") })
141
+ }), I ? /* @__PURE__ */ l(c, {
142
+ openingHours: P,
143
+ openingHoursOverrides: F,
140
144
  timeZone: D ?? S?.timeZone ?? "UTC"
141
145
  }) : /* @__PURE__ */ u("div", {
142
146
  className: "grid gap-1 text-sm text-slate-700",
@@ -145,13 +149,13 @@ function x({ storeSlug: x, shop: S, whatsappHref: C, whatsappPhoneDisplay: w, op
145
149
  children: [/* @__PURE__ */ l(m, {
146
150
  className: "h-4 w-4 text-slate-400",
147
151
  "aria-hidden": "true"
148
- }), /* @__PURE__ */ l("span", { children: O("footer_hours_week") })]
152
+ }), /* @__PURE__ */ l("span", { children: k("footer_hours_week") })]
149
153
  }), /* @__PURE__ */ u("p", {
150
154
  className: "inline-flex items-center gap-2",
151
155
  children: [/* @__PURE__ */ l(m, {
152
156
  className: "h-4 w-4 text-slate-400",
153
157
  "aria-hidden": "true"
154
- }), /* @__PURE__ */ l("span", { children: O("footer_hours_weekend") })]
158
+ }), /* @__PURE__ */ l("span", { children: k("footer_hours_weekend") })]
155
159
  })]
156
160
  })]
157
161
  })
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAGvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAItE,KAAK,WAAW,GAAG;IACjB,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;IACjD,kBAAkB,EAAE,6BAA6B,CAAA;CAClD,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,uBAAuB,EACvB,kBAAkB,GACnB,EAAE,WAAW,2CAmEb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAIvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAItE,KAAK,WAAW,GAAG;IACjB,uBAAuB,CAAC,EAAE,uBAAuB,CAAA;IACjD,kBAAkB,EAAE,6BAA6B,CAAA;CAClD,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,uBAAuB,EACvB,kBAAkB,GACnB,EAAE,WAAW,2CAsEb"}
@@ -7,63 +7,65 @@ import { PlaygroundDevFloatingButton as a } from "../PlaygroundDevFloatingButton
7
7
  import { StorefrontPopupMessages as o } from "../StorefrontPopupMessages/index.js";
8
8
  import { WhatsAppFloatingButton as s } from "../WhatsAppFloatingButton/WhatsAppFloatingButton.js";
9
9
  import "../WhatsAppFloatingButton/index.js";
10
- import { STOREFRONT_TOASTER_ID as c } from "../../lib/toast.js";
11
- import { Provider as l } from "../../ui/tooltip.js";
12
- import { useEffect as u } from "react";
13
- import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
14
- import { RootProvider as m } from "@rpcbase/client";
15
- import { Outlet as h, useLocation as g, useParams as _ } from "@rpcbase/router";
16
- import { useTranslation as v } from "react-i18next";
17
- import { Toaster as y } from "sonner";
10
+ import { hasStorefrontRichTextContent as c } from "../../lib/richText.js";
11
+ import { STOREFRONT_TOASTER_ID as l } from "../../lib/toast.js";
12
+ import { Provider as u } from "../../ui/tooltip.js";
13
+ import { useEffect as d } from "react";
14
+ import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
15
+ import { RootProvider as h } from "@rpcbase/client";
16
+ import { Outlet as g, useLocation as _, useParams as v } from "@rpcbase/router";
17
+ import { useTranslation as y } from "react-i18next";
18
+ import { Toaster as b } from "sonner";
18
19
  //#region src/components/Layout/index.tsx
19
- function b({ storefrontConfiguration: b, storefrontProducts: x }) {
20
- let { storeSlug: S, referenceId: C } = _(), w = g(), { i18n: T } = v();
21
- u(() => {
20
+ function x({ storefrontConfiguration: x, storefrontProducts: S }) {
21
+ let { storeSlug: C, referenceId: w } = v(), T = _(), { i18n: E } = y();
22
+ d(() => {
22
23
  document.documentElement.setAttribute("data-hydrated", "true");
23
24
  }, []);
24
- let E = t({
25
- storefrontConfiguration: b,
26
- language: T.language
27
- }), D = E?.href, O = typeof C == "string" && C.trim().length > 0, k = O && new URLSearchParams(w.search).get("pdf") === "1";
28
- return /* @__PURE__ */ p(m, { children: [/* @__PURE__ */ f(y, {
29
- id: c,
25
+ let D = t({
26
+ storefrontConfiguration: x,
27
+ language: E.language
28
+ }), O = D?.href, k = typeof w == "string" && w.trim().length > 0, A = k && new URLSearchParams(T.search).get("pdf") === "1";
29
+ return /* @__PURE__ */ m(h, { children: [/* @__PURE__ */ p(b, {
30
+ id: l,
30
31
  closeButton: !0,
31
32
  position: "bottom-center",
32
33
  theme: "dark"
33
- }), /* @__PURE__ */ f(l, { children: /* @__PURE__ */ f(e, {
34
- storeSlug: S ?? "",
35
- products: x,
36
- children: /* @__PURE__ */ f("div", {
37
- className: `loczer-storefront flex w-full min-w-0 flex-col overflow-x-clip bg-background text-foreground ${O && !k ? "h-dvh overflow-hidden" : "min-h-screen"}`,
38
- children: O ? /* @__PURE__ */ f("main", {
39
- className: `flex-1 ${k ? "bg-white" : "overflow-hidden"}`,
40
- children: /* @__PURE__ */ f(h, {})
41
- }) : /* @__PURE__ */ p(d, { children: [
42
- /* @__PURE__ */ f(r, {
43
- storefrontConfiguration: b,
44
- whatsappHref: D,
45
- whatsappPhoneDisplay: E?.phoneDisplay
34
+ }), /* @__PURE__ */ p(u, { children: /* @__PURE__ */ p(e, {
35
+ storeSlug: C ?? "",
36
+ products: S,
37
+ children: /* @__PURE__ */ p("div", {
38
+ className: `loczer-storefront flex w-full min-w-0 flex-col overflow-x-clip bg-background text-foreground ${k && !A ? "h-dvh overflow-hidden" : "min-h-screen"}`,
39
+ children: k ? /* @__PURE__ */ p("main", {
40
+ className: `flex-1 ${A ? "bg-white" : "overflow-hidden"}`,
41
+ children: /* @__PURE__ */ p(g, {})
42
+ }) : /* @__PURE__ */ m(f, { children: [
43
+ /* @__PURE__ */ p(r, {
44
+ storefrontConfiguration: x,
45
+ whatsappHref: O,
46
+ whatsappPhoneDisplay: D?.phoneDisplay
46
47
  }),
47
- /* @__PURE__ */ f("main", {
48
+ /* @__PURE__ */ p("main", {
48
49
  className: "min-w-0 flex-1",
49
- children: /* @__PURE__ */ f(h, {})
50
+ children: /* @__PURE__ */ p(g, {})
50
51
  }),
51
- /* @__PURE__ */ f(n, {
52
- storeSlug: S,
53
- shop: b?.shop,
54
- whatsappHref: D,
55
- whatsappPhoneDisplay: E?.phoneDisplay,
56
- openingHours: b?.bookingEngine.shop.openingHours,
57
- openingHoursOverrides: b?.bookingEngine.shop.openingHoursOverrides,
58
- timeZone: b?.bookingEngine.shop.timeZone
52
+ /* @__PURE__ */ p(n, {
53
+ storeSlug: C,
54
+ shop: x?.shop,
55
+ whatsappHref: O,
56
+ whatsappPhoneDisplay: D?.phoneDisplay,
57
+ openingHours: x?.bookingEngine.shop.openingHours,
58
+ openingHoursOverrides: x?.bookingEngine.shop.openingHoursOverrides,
59
+ timeZone: x?.bookingEngine.shop.timeZone,
60
+ showInsuranceTerms: c(x?.information?.insuranceTerms)
59
61
  }),
60
- /* @__PURE__ */ f(i, {}),
61
- D && b?.content?.showWhatsappFloatingButton !== !1 ? /* @__PURE__ */ f(s, { href: D }) : null,
62
- /* @__PURE__ */ f(a, {}),
63
- /* @__PURE__ */ f(o, { storefrontConfiguration: b })
62
+ /* @__PURE__ */ p(i, {}),
63
+ O && x?.content?.showWhatsappFloatingButton !== !1 ? /* @__PURE__ */ p(s, { href: O }) : null,
64
+ /* @__PURE__ */ p(a, {}),
65
+ /* @__PURE__ */ p(o, { storefrontConfiguration: x })
64
66
  ] })
65
67
  })
66
68
  }) })] });
67
69
  }
68
70
  //#endregion
69
- export { b as Layout };
71
+ export { x as Layout };
@@ -0,0 +1,13 @@
1
+ export declare function formatStorefrontInformationDocumentDate({ language, timeZone, value, }: {
2
+ language: string;
3
+ timeZone?: string;
4
+ value?: string | null;
5
+ }): string;
6
+ export declare function StorefrontInformationDocument({ title, description, effectiveDateLabel, contentHtml, unavailableLabel, }: {
7
+ title: string;
8
+ description: string;
9
+ effectiveDateLabel?: string;
10
+ contentHtml: string;
11
+ unavailableLabel: string;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StorefrontInformationDocument/index.tsx"],"names":[],"mappings":"AAwBA,wBAAgB,uCAAuC,CAAC,EACtD,QAAQ,EACR,QAAQ,EACR,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,UASA;AAED,wBAAgB,6BAA6B,CAAC,EAC5C,KAAK,EACL,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,gBAAgB,GACjB,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;CACzB,2CAoCA"}
@@ -0,0 +1,48 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { cn as n } from "@rpcbase/ui";
3
+ //#region src/components/StorefrontInformationDocument/index.tsx
4
+ var r = n("mt-10 text-[0.9375rem] leading-7 text-slate-700 sm:mt-12 sm:text-base sm:leading-8", "[&_a]:font-medium [&_a]:text-primary [&_a]:underline [&_a]:decoration-primary/30 [&_a]:underline-offset-4 [&_a:hover]:decoration-primary", "[&_blockquote]:my-6 [&_blockquote]:border-l-2 [&_blockquote]:border-slate-300 [&_blockquote]:pl-5 [&_blockquote]:text-slate-600", "[&_code]:rounded [&_code]:bg-slate-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-sm [&_code]:text-slate-900", "[&_h1]:mt-10 [&_h1]:border-t [&_h1]:border-slate-200 [&_h1]:pt-8 [&_h1]:font-serif [&_h1]:text-2xl [&_h1]:font-normal [&_h1]:leading-tight [&_h1]:tracking-tight [&_h1]:text-slate-950 sm:[&_h1]:mt-12 sm:[&_h1]:pt-9 sm:[&_h1]:text-3xl", "[&_h1:first-child]:mt-0 [&_h1:first-child]:border-t-0 [&_h1:first-child]:pt-0", "[&_h2]:mt-10 [&_h2]:border-t [&_h2]:border-slate-200 [&_h2]:pt-8 [&_h2]:font-serif [&_h2]:text-xl [&_h2]:font-normal [&_h2]:leading-tight [&_h2]:tracking-tight [&_h2]:text-slate-950 sm:[&_h2]:mt-12 sm:[&_h2]:pt-9 sm:[&_h2]:text-2xl", "[&_h2:first-child]:mt-0 [&_h2:first-child]:border-t-0 [&_h2:first-child]:pt-0", "[&_h3]:mt-8 [&_h3]:font-serif [&_h3]:text-lg [&_h3]:font-normal [&_h3]:leading-tight [&_h3]:tracking-tight [&_h3]:text-slate-950", "[&_hr]:my-10 [&_hr]:border-slate-200", "[&_img]:my-8 [&_img]:max-w-full", "[&_li]:pl-1 [&_ol]:my-5 [&_ol]:list-decimal [&_ol]:space-y-2 [&_ol]:pl-6", "[&_p]:my-4 [&_p]:whitespace-pre-wrap", "[&_strong]:font-semibold [&_strong]:text-slate-950", "[&_table]:my-8 [&_table]:w-full [&_table]:border-collapse [&_table]:text-sm", "[&_td]:border [&_td]:border-slate-200 [&_td]:p-3 [&_td]:align-top", "[&_th]:border [&_th]:border-slate-200 [&_th]:bg-slate-50 [&_th]:p-3 [&_th]:text-left [&_th]:font-semibold [&_th]:text-slate-950", "[&_ul]:my-5 [&_ul]:list-disc [&_ul]:space-y-2 [&_ul]:pl-6");
5
+ function i({ language: e, timeZone: t, value: n }) {
6
+ return n ? new Intl.DateTimeFormat(e, {
7
+ day: "numeric",
8
+ month: "long",
9
+ year: "numeric",
10
+ timeZone: t || "UTC"
11
+ }).format(new Date(n)) : "";
12
+ }
13
+ function a({ title: i, description: a, effectiveDateLabel: o, contentHtml: s, unavailableLabel: c }) {
14
+ return /* @__PURE__ */ e("section", {
15
+ className: "min-h-[70vh] bg-white",
16
+ children: /* @__PURE__ */ e("div", {
17
+ className: "mx-auto max-w-7xl px-4 sm:px-6",
18
+ children: /* @__PURE__ */ t("article", {
19
+ className: "mx-auto max-w-3xl py-10 sm:py-14",
20
+ children: [/* @__PURE__ */ t("header", {
21
+ className: "border-b border-slate-200 pb-8 sm:pb-10",
22
+ children: [
23
+ o ? /* @__PURE__ */ e("p", {
24
+ className: "text-sm text-slate-500",
25
+ children: /* @__PURE__ */ e("span", { children: o })
26
+ }) : null,
27
+ /* @__PURE__ */ e("h1", {
28
+ className: n("font-serif text-4xl font-normal leading-tight tracking-tight text-slate-950 sm:text-5xl", o && "mt-3"),
29
+ children: /* @__PURE__ */ e("span", { children: i })
30
+ }),
31
+ /* @__PURE__ */ e("p", {
32
+ className: "mt-4 max-w-2xl text-base leading-7 text-slate-600 sm:text-lg sm:leading-8",
33
+ children: /* @__PURE__ */ e("span", { children: a })
34
+ })
35
+ ]
36
+ }), s ? /* @__PURE__ */ e("div", {
37
+ className: r,
38
+ dangerouslySetInnerHTML: { __html: s }
39
+ }) : /* @__PURE__ */ e("p", {
40
+ className: "mt-10 border-l-2 border-slate-300 pl-5 text-base leading-8 text-slate-600 sm:mt-12",
41
+ children: /* @__PURE__ */ e("span", { children: c })
42
+ })]
43
+ })
44
+ })
45
+ });
46
+ }
47
+ //#endregion
48
+ export { a as StorefrontInformationDocument, i as formatStorefrontInformationDocumentDate };
package/dist/i18n/en.d.ts CHANGED
@@ -386,6 +386,10 @@ export declare const storefront: {
386
386
  rental_terms_description: string;
387
387
  rental_terms_effective_date: string;
388
388
  rental_terms_unavailable: string;
389
+ insurance_terms_title: string;
390
+ insurance_terms_description: string;
391
+ insurance_terms_effective_date: string;
392
+ insurance_terms_unavailable: string;
389
393
  footer_contact_title: string;
390
394
  footer_whatsapp_link: string;
391
395
  footer_hours_title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAogBtB,CAAA"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwgBtB,CAAA"}
package/dist/i18n/en.js CHANGED
@@ -63,7 +63,7 @@ var e = {
63
63
  cancellation_policy_modal_title: "Cancellation policy",
64
64
  cancellation_policy_modal_description: "Refunds depend on how far in advance you cancel.",
65
65
  cancellation_policy_modal_tier_deadline: "Up to {{duration}} in advance",
66
- cancellation_policy_modal_tier_refund: "Refund of {{percentage}} of the total amount",
66
+ cancellation_policy_modal_tier_refund: "Refund of {{percentage}} of the total booking amount",
67
67
  cancellation_policy_modal_disclaimer: "These are the standard cancellation conditions. Depending on your reservation, different conditions may be offered.",
68
68
  cancellation_policy_duration_hours_one: "{{count}} hour",
69
69
  cancellation_policy_duration_hours_other: "{{count}} hours",
@@ -387,6 +387,10 @@ var e = {
387
387
  rental_terms_description: "These terms govern bookings and rentals provided by {{shop_name}}.",
388
388
  rental_terms_effective_date: "Version in effect on {{date}}.",
389
389
  rental_terms_unavailable: "The rental terms have not been published yet.",
390
+ insurance_terms_title: "Insurance",
391
+ insurance_terms_description: "Read about the insurance offered by {{shop_name}}.",
392
+ insurance_terms_effective_date: "Version in effect on {{date}}.",
393
+ insurance_terms_unavailable: "The insurance document has not been published yet.",
390
394
  footer_contact_title: "Contact",
391
395
  footer_whatsapp_link: "WhatsApp",
392
396
  footer_hours_title: "Opening hours",
package/dist/i18n/fr.d.ts CHANGED
@@ -387,6 +387,10 @@ export declare const storefront: {
387
387
  rental_terms_description: string;
388
388
  rental_terms_effective_date: string;
389
389
  rental_terms_unavailable: string;
390
+ insurance_terms_title: string;
391
+ insurance_terms_description: string;
392
+ insurance_terms_effective_date: string;
393
+ insurance_terms_unavailable: string;
390
394
  footer_contact_title: string;
391
395
  footer_whatsapp_link: string;
392
396
  footer_hours_title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqgBtB,CAAA"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAygBtB,CAAA"}
package/dist/i18n/fr.js CHANGED
@@ -63,7 +63,7 @@ var e = {
63
63
  cancellation_policy_modal_title: "Conditions d'annulation",
64
64
  cancellation_policy_modal_description: "Le remboursement dépend du délai entre l'annulation et le début de la réservation.",
65
65
  cancellation_policy_modal_tier_deadline: "Jusqu'à {{duration}} à l'avance",
66
- cancellation_policy_modal_tier_refund: "Remboursement de {{percentage}} du montant total",
66
+ cancellation_policy_modal_tier_refund: "Remboursement de {{percentage}} du montant total de la réservation",
67
67
  cancellation_policy_modal_disclaimer: "Il s'agit des conditions d'annulation de base. Selon votre réservation, des conditions différentes pourront vous être proposées.",
68
68
  cancellation_policy_duration_hours_one: "{{count}} heure",
69
69
  cancellation_policy_duration_hours_other: "{{count}} heures",
@@ -388,6 +388,10 @@ var e = {
388
388
  rental_terms_description: "Ces conditions encadrent les réservations et locations proposées par {{shop_name}}.",
389
389
  rental_terms_effective_date: "Version en vigueur au {{date}}.",
390
390
  rental_terms_unavailable: "Les conditions générales de location n’ont pas encore été publiées.",
391
+ insurance_terms_title: "Assurance",
392
+ insurance_terms_description: "Consultez les informations sur l’assurance proposée par {{shop_name}}.",
393
+ insurance_terms_effective_date: "Version en vigueur au {{date}}.",
394
+ insurance_terms_unavailable: "Le document d’assurance n’a pas encore été publié.",
391
395
  footer_contact_title: "Contact",
392
396
  footer_whatsapp_link: "WhatsApp",
393
397
  footer_hours_title: "Horaires d’ouverture",