@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.
- package/dist/StorefrontContext.d.ts +18 -0
- package/dist/StorefrontContext.d.ts.map +1 -1
- package/dist/StorefrontProvider.d.ts +9 -0
- package/dist/StorefrontProvider.d.ts.map +1 -1
- package/dist/chunks/pkg/ui/dist/Drawer/{index-CSvSVP_J.js → index-Dp62Y2o5.js} +10 -7
- package/dist/chunks/pkg/ui/dist/{ResponsiveDialog-BVwhTZQo.js → ResponsiveDialog-BJ0RG6gh.js} +1 -1
- package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
- package/dist/components/BookingBikeVariantDialog/index.js +22 -27
- package/dist/components/Footer/index.d.ts +2 -1
- package/dist/components/Footer/index.d.ts.map +1 -1
- package/dist/components/Footer/index.js +64 -58
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +1 -0
- package/dist/components/PlatformFooter/index.js +6 -6
- package/dist/components/StorefrontCancellationPolicyNotice/index.js +1 -1
- package/dist/components/StorefrontInsuranceNotice/index.js +1 -1
- package/dist/components/StorefrontPopupMessages/index.js +1 -1
- package/dist/i18n/en.d.ts +6 -3
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +6 -3
- package/dist/i18n/fr.d.ts +6 -3
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +6 -3
- package/dist/index.d.ts +64 -7
- package/dist/index.js +69 -68
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/BookingPage.js +1 -0
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +1 -0
- package/dist/pages/RentalTermsPage.d.ts +2 -0
- package/dist/pages/RentalTermsPage.d.ts.map +1 -0
- package/dist/pages/RentalTermsPage.js +52 -0
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +14 -10
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.d.ts +19 -0
- package/dist/storefrontSchemas.d.ts.map +1 -1
- package/dist/storefrontSchemas.js +39 -35
- 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/
|
|
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:
|
|
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: "
|
|
33
|
+
path: "rental-terms",
|
|
34
34
|
...f
|
|
35
35
|
}),
|
|
36
36
|
/* @__PURE__ */ n(i, {
|
|
37
|
-
path: "checkout
|
|
37
|
+
path: "checkout",
|
|
38
38
|
...p
|
|
39
39
|
}),
|
|
40
40
|
/* @__PURE__ */ n(i, {
|
|
41
|
-
path: "checkout/
|
|
41
|
+
path: "checkout/payment",
|
|
42
42
|
...m
|
|
43
43
|
}),
|
|
44
44
|
/* @__PURE__ */ n(i, {
|
|
45
|
-
path: "
|
|
45
|
+
path: "checkout/success",
|
|
46
46
|
...h
|
|
47
47
|
}),
|
|
48
48
|
/* @__PURE__ */ n(i, {
|
|
49
|
-
path: "
|
|
49
|
+
path: "docs/:referenceId/:saleDocumentId",
|
|
50
50
|
...g
|
|
51
51
|
}),
|
|
52
52
|
/* @__PURE__ */ n(i, {
|
|
53
|
-
path: "secure-payment-link/:token
|
|
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 {
|
|
67
|
+
export { x as default };
|