@loczer/storefront-sdk 0.213.0 → 0.214.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 (39) hide show
  1. package/dist/StorefrontContext.d.ts +18 -0
  2. package/dist/StorefrontContext.d.ts.map +1 -1
  3. package/dist/StorefrontProvider.d.ts +9 -0
  4. package/dist/StorefrontProvider.d.ts.map +1 -1
  5. package/dist/chunks/pkg/ui/dist/Drawer/{index-CSvSVP_J.js → index-Dp62Y2o5.js} +10 -7
  6. package/dist/chunks/pkg/ui/dist/{ResponsiveDialog-BVwhTZQo.js → ResponsiveDialog-BJ0RG6gh.js} +1 -1
  7. package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
  8. package/dist/components/BookingBikeVariantDialog/index.js +22 -27
  9. package/dist/components/Footer/index.d.ts +2 -1
  10. package/dist/components/Footer/index.d.ts.map +1 -1
  11. package/dist/components/Footer/index.js +64 -58
  12. package/dist/components/Layout/index.d.ts.map +1 -1
  13. package/dist/components/Layout/index.js +1 -0
  14. package/dist/components/PlatformFooter/index.js +6 -6
  15. package/dist/components/StorefrontCancellationPolicyNotice/index.js +1 -1
  16. package/dist/components/StorefrontInsuranceNotice/index.js +1 -1
  17. package/dist/components/StorefrontPopupMessages/index.js +1 -1
  18. package/dist/i18n/en.d.ts +6 -3
  19. package/dist/i18n/en.d.ts.map +1 -1
  20. package/dist/i18n/en.js +6 -3
  21. package/dist/i18n/fr.d.ts +6 -3
  22. package/dist/i18n/fr.d.ts.map +1 -1
  23. package/dist/i18n/fr.js +6 -3
  24. package/dist/index.d.ts +64 -7
  25. package/dist/index.js +69 -68
  26. package/dist/pages/BookingPage.d.ts.map +1 -1
  27. package/dist/pages/BookingPage.js +1 -0
  28. package/dist/pages/HomePage.d.ts.map +1 -1
  29. package/dist/pages/HomePage.js +1 -0
  30. package/dist/pages/RentalTermsPage.d.ts +2 -0
  31. package/dist/pages/RentalTermsPage.d.ts.map +1 -0
  32. package/dist/pages/RentalTermsPage.js +52 -0
  33. package/dist/routes.d.ts.map +1 -1
  34. package/dist/routes.js +14 -10
  35. package/dist/storefront.css +1 -1
  36. package/dist/storefrontSchemas.d.ts +19 -0
  37. package/dist/storefrontSchemas.d.ts.map +1 -1
  38. package/dist/storefrontSchemas.js +39 -35
  39. package/package.json +1 -1
package/dist/routes.js CHANGED
@@ -3,10 +3,10 @@ import t from "./pages/ErrorPage.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  import { Route as i, lazyRoute as a } from "@rpcbase/router";
5
5
  //#region src/routes.tsx
6
- var o = a(() => import("./StorefrontProvider.js")), s = a(() => import("./pages/HomePage.js")), c = a(() => import("./pages/BookingPage.js")), l = a(() => import("./pages/ProductPage.js")), u = a(() => import("./pages/ItinerariesPage.js")), d = a(() => import("./pages/ItineraryDetailsPage.js")), f = a(() => import("./pages/CheckoutPage.js")), p = a(() => import("./pages/CheckoutPaymentPage.js")), m = a(() => import("./pages/CheckoutSuccessPage.js")), h = a(() => import("./pages/ContractSaleDocumentPage.js")), g = a(() => import("./pages/PaymentLinkPage.js")), _ = a(() => import("./pages/PaymentLinkSuccessPage.js")), v = a(() => import("./pages/NotFoundPage.js")), y = ({ currentParams: e, nextParams: t, defaultShouldRevalidate: n }) => e.storeSlug !== t.storeSlug && n, b = /* @__PURE__ */ r(i, {
6
+ var o = a(() => import("./StorefrontProvider.js")), s = a(() => import("./pages/HomePage.js")), c = a(() => import("./pages/BookingPage.js")), l = a(() => import("./pages/ProductPage.js")), u = a(() => import("./pages/ItinerariesPage.js")), d = a(() => import("./pages/ItineraryDetailsPage.js")), f = a(() => import("./pages/RentalTermsPage.js")), p = a(() => import("./pages/CheckoutPage.js")), m = a(() => import("./pages/CheckoutPaymentPage.js")), h = a(() => import("./pages/CheckoutSuccessPage.js")), g = a(() => import("./pages/ContractSaleDocumentPage.js")), _ = a(() => import("./pages/PaymentLinkPage.js")), v = a(() => import("./pages/PaymentLinkSuccessPage.js")), y = a(() => import("./pages/NotFoundPage.js")), b = ({ currentParams: e, nextParams: t, defaultShouldRevalidate: n }) => e.storeSlug !== t.storeSlug && n, x = /* @__PURE__ */ r(i, {
7
7
  path: ":storeSlug/*",
8
8
  ...o,
9
- shouldRevalidate: y,
9
+ shouldRevalidate: b,
10
10
  errorElement: /* @__PURE__ */ n(e, { children: /* @__PURE__ */ n(t, {}) }),
11
11
  children: [
12
12
  /* @__PURE__ */ n(i, {
@@ -30,34 +30,38 @@ var o = a(() => import("./StorefrontProvider.js")), s = a(() => import("./pages/
30
30
  ...d
31
31
  }),
32
32
  /* @__PURE__ */ n(i, {
33
- path: "checkout",
33
+ path: "rental-terms",
34
34
  ...f
35
35
  }),
36
36
  /* @__PURE__ */ n(i, {
37
- path: "checkout/payment",
37
+ path: "checkout",
38
38
  ...p
39
39
  }),
40
40
  /* @__PURE__ */ n(i, {
41
- path: "checkout/success",
41
+ path: "checkout/payment",
42
42
  ...m
43
43
  }),
44
44
  /* @__PURE__ */ n(i, {
45
- path: "docs/:referenceId/:saleDocumentId",
45
+ path: "checkout/success",
46
46
  ...h
47
47
  }),
48
48
  /* @__PURE__ */ n(i, {
49
- path: "secure-payment-link/:token",
49
+ path: "docs/:referenceId/:saleDocumentId",
50
50
  ...g
51
51
  }),
52
52
  /* @__PURE__ */ n(i, {
53
- path: "secure-payment-link/:token/success",
53
+ path: "secure-payment-link/:token",
54
54
  ..._
55
55
  }),
56
56
  /* @__PURE__ */ n(i, {
57
- path: "*",
57
+ path: "secure-payment-link/:token/success",
58
58
  ...v
59
+ }),
60
+ /* @__PURE__ */ n(i, {
61
+ path: "*",
62
+ ...y
59
63
  })
60
64
  ]
61
65
  });
62
66
  //#endregion
63
- export { b as default };
67
+ export { x as default };