@loczer/storefront-sdk 0.163.0 → 0.165.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/StorefrontProvider.d.ts +29 -3
- package/dist/StorefrontProvider.d.ts.map +1 -1
- package/dist/StorefrontProvider.js +68 -58
- package/dist/chunks/booking-engine/dist/schemas/{base-booking-D9k8ehGi.js → base-booking-BMAjsw9r.js} +29 -26
- package/dist/chunks/booking-engine/dist/schemas/booking-engine-configuration-DTJD2G9w.js +123 -0
- package/dist/chunks/booking-engine/dist/schemas/{cart-inputs-ByBK0IVJ.js → cart-inputs-BI_9nAXG.js} +1 -1
- package/dist/chunks/booking-engine/dist/schemas/{public-booking-engine-configuration-DKoak4s5.js → public-booking-engine-configuration-CrwffLO4.js} +1 -1
- package/dist/chunks/ui/dist/{MorphingModalWizard-D7hc-dDP.js → MorphingModalWizard-BuRND-yE.js} +3 -3
- package/dist/chunks/ui/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id-CNQuVmXa.js +6 -0
- package/dist/chunks/ui/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node-DL2q-YuA.js +9 -0
- package/dist/chunks/ui/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash-C-3PLS5x.js +6 -0
- package/dist/components/AboutSection/index.js +1 -1
- package/dist/components/BikeProductCard/index.d.ts +2 -1
- package/dist/components/BikeProductCard/index.d.ts.map +1 -1
- package/dist/components/BikeProductCard/index.js +59 -41
- package/dist/components/BookingBikeVariantDialog/index.js +1 -1
- package/dist/components/BookingFlowSteps/index.js +8 -8
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.js +28 -28
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -1
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +197 -203
- package/dist/components/ContactSection/index.js +4 -4
- package/dist/components/Header/index.js +1 -1
- package/dist/components/PoweredByLoczerBadge/index.js +1 -1
- package/dist/components/ProductPriceBadge/index.js +1 -1
- package/dist/components/ProductWarningNotice/index.js +10 -10
- package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts +11 -0
- package/dist/components/StorefrontCancellationPolicyNotice/index.d.ts.map +1 -0
- package/dist/components/StorefrontCancellationPolicyNotice/index.js +93 -0
- package/dist/components/payment/MollieCardFieldsForm.js +1 -1
- package/dist/components/payment/StripeCardFieldsForm.js +13 -13
- package/dist/i18n/en.d.ts +12 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +12 -0
- package/dist/i18n/fr.d.ts +12 -0
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +12 -0
- package/dist/index.d.ts +116 -7
- package/dist/index.js +312 -305
- package/dist/lib/cart.js +1 -1
- package/dist/lib/cartSummary.d.ts.map +1 -1
- package/dist/lib/cartSummary.js +28 -28
- package/dist/lib/checkoutPaymentDecision.d.ts +8 -0
- package/dist/lib/checkoutPaymentDecision.d.ts.map +1 -1
- package/dist/lib/checkoutPaymentDecision.js +14 -6
- package/dist/lib/checkoutPaymentSession.d.ts +1 -0
- package/dist/lib/checkoutPaymentSession.d.ts.map +1 -1
- package/dist/lib/checkoutPaymentSession.js +12 -11
- package/dist/lib/checkoutSubmit.js +4 -4
- package/dist/lib/productVariants.d.ts.map +1 -1
- package/dist/lib/productVariants.js +34 -15
- package/dist/lib/products.d.ts +4 -0
- package/dist/lib/products.d.ts.map +1 -1
- package/dist/lib/products.js +74 -39
- package/dist/lib/securePaymentLink.d.ts +1 -0
- package/dist/lib/securePaymentLink.d.ts.map +1 -1
- package/dist/lib/securePaymentLink.js +1 -0
- package/dist/lib/storefrontAvailability.d.ts +9 -0
- package/dist/lib/storefrontAvailability.d.ts.map +1 -1
- package/dist/lib/storefrontAvailability.js +28 -18
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/BookingPage.js +290 -289
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +224 -216
- package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPaymentPage.js +92 -92
- package/dist/pages/ContractSaleDocumentPage.js +3 -3
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +167 -161
- package/dist/pages/PaymentLinkPage.d.ts.map +1 -1
- package/dist/pages/PaymentLinkPage.js +62 -62
- package/dist/pages/PaymentLinkSuccessPage.js +7 -7
- package/dist/pages/ProductPage.d.ts.map +1 -1
- package/dist/pages/ProductPage.js +161 -161
- package/dist/pages/checkout/components/CheckoutCouponCard.js +6 -6
- package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.js +15 -15
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.d.ts +14 -2
- package/dist/storefrontSchemas.d.ts.map +1 -1
- package/dist/storefrontSchemas.js +4 -4
- package/dist/ui/day-picker.js +5 -5
- package/package.json +2 -2
- package/dist/chunks/booking-engine/dist/schemas/booking-engine-configuration-BKlzwJJX.js +0 -105
- package/dist/chunks/ui/dist/node_modules/framer-motion/dist/es/animation/optimized-appear/data-id-DunDwGdX.js +0 -6
- package/dist/chunks/ui/dist/node_modules/framer-motion/dist/es/projection/node/create-projection-node-BDwaGtmx.js +0 -9
- package/dist/chunks/ui/dist/node_modules/framer-motion/dist/es/render/dom/utils/camel-to-dash-h54_qXon.js +0 -4
|
@@ -1,70 +1,88 @@
|
|
|
1
|
-
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Link as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { Bike as
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
import { getAvailabilityVariant as
|
|
7
|
-
import { resolveProductImageContainerStyle as
|
|
8
|
-
import { getLocalizedValue as
|
|
9
|
-
import { Badge as
|
|
10
|
-
import { Button as
|
|
11
|
-
import { ProductPriceBadge as
|
|
12
|
-
function
|
|
1
|
+
import { jsxs as a, jsx as e, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { Link as S } from "@rpcbase/router";
|
|
3
|
+
import { cn as j } from "@rpcbase/ui";
|
|
4
|
+
import { Bike as C, ArrowRight as O } from "lucide-react";
|
|
5
|
+
import { useTranslation as P } from "react-i18next";
|
|
6
|
+
import { getAvailabilityVariant as z } from "../../lib/utils.js";
|
|
7
|
+
import { resolveProductImageContainerStyle as I } from "../../lib/productImageStyles.js";
|
|
8
|
+
import { getLocalizedValue as p } from "../../localization.js";
|
|
9
|
+
import { Badge as h } from "../../ui/badge.js";
|
|
10
|
+
import { Button as T } from "../../ui/button.js";
|
|
11
|
+
import { ProductPriceBadge as f } from "../ProductPriceBadge/index.js";
|
|
12
|
+
function G({
|
|
13
13
|
bike: t,
|
|
14
|
-
detailsPath:
|
|
15
|
-
productDetailsLinkState:
|
|
16
|
-
actionLabelKey:
|
|
17
|
-
onAction:
|
|
18
|
-
actionDisabled:
|
|
19
|
-
availabilityLabel:
|
|
20
|
-
fallbackLanguage:
|
|
21
|
-
|
|
14
|
+
detailsPath: u,
|
|
15
|
+
productDetailsLinkState: x,
|
|
16
|
+
actionLabelKey: g = "product_cta",
|
|
17
|
+
onAction: v,
|
|
18
|
+
actionDisabled: N = !1,
|
|
19
|
+
availabilityLabel: y,
|
|
20
|
+
fallbackLanguage: r,
|
|
21
|
+
variant: w = "default",
|
|
22
|
+
testId: b
|
|
22
23
|
}) {
|
|
23
|
-
const { t:
|
|
24
|
+
const { t: s, i18n: n } = P(), l = p(t.name, n.language, r), _ = p(t.description, n.language, r), o = typeof t.images?.[0] == "string" ? t.images[0].trim() : "", c = I(t.primaryImageStyle), m = z(t.availabilityStatus), i = w === "booking", B = t.availabilityStatus === "OUT_OF_STOCK";
|
|
24
25
|
return /* @__PURE__ */ a(
|
|
25
26
|
"div",
|
|
26
27
|
{
|
|
27
28
|
className: "flex h-full flex-col gap-2 rounded-xl border border-slate-200 bg-white p-3 shadow-sm",
|
|
28
|
-
"data-testid":
|
|
29
|
+
"data-testid": b,
|
|
29
30
|
children: [
|
|
30
31
|
/* @__PURE__ */ a("div", { className: "flex flex-1 items-stretch gap-4", children: [
|
|
31
|
-
/* @__PURE__ */ e("div", { className: "w-24 shrink-0 sm:w-28", children: /* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ e("div", { className: "w-24 shrink-0 sm:w-28", children: /* @__PURE__ */ a(
|
|
32
33
|
"div",
|
|
33
34
|
{
|
|
34
|
-
className:
|
|
35
|
-
style:
|
|
36
|
-
children:
|
|
35
|
+
className: j("relative h-full min-h-20 overflow-hidden rounded-xl", c.className),
|
|
36
|
+
style: c.style,
|
|
37
|
+
children: [
|
|
38
|
+
o ? /* @__PURE__ */ e("img", { src: o, alt: l, className: "absolute inset-0 h-full w-full object-contain p-1", loading: "lazy" }) : /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center text-slate-400", children: /* @__PURE__ */ e(C, { className: "h-7 w-7", "aria-hidden": "true" }) }),
|
|
39
|
+
i && B ? /* @__PURE__ */ e(
|
|
40
|
+
h,
|
|
41
|
+
{
|
|
42
|
+
variant: "destructive",
|
|
43
|
+
className: "pointer-events-none absolute right-2 top-2 shadow-sm",
|
|
44
|
+
children: /* @__PURE__ */ e("span", { children: s("availability_out_of_stock") })
|
|
45
|
+
}
|
|
46
|
+
) : null
|
|
47
|
+
]
|
|
37
48
|
}
|
|
38
49
|
) }),
|
|
39
50
|
/* @__PURE__ */ a("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
|
|
51
|
+
i ? /* @__PURE__ */ a("div", { className: "flex items-start justify-between gap-2", children: [
|
|
52
|
+
/* @__PURE__ */ e("p", { className: "min-w-0 text-sm font-semibold text-slate-950", children: /* @__PURE__ */ e("span", { children: l }) }),
|
|
53
|
+
/* @__PURE__ */ e(f, { prices: t.prices, className: "shrink-0" })
|
|
54
|
+
] }) : /* @__PURE__ */ a(d, { children: [
|
|
55
|
+
/* @__PURE__ */ e("p", { className: "text-sm font-semibold text-slate-950", children: /* @__PURE__ */ e("span", { children: l }) }),
|
|
56
|
+
/* @__PURE__ */ e(f, { prices: t.prices, className: "self-start" })
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ e("p", { className: "line-clamp-2 text-xs text-slate-600", children: /* @__PURE__ */ e("span", { children: _ }) })
|
|
42
59
|
] })
|
|
43
60
|
] }),
|
|
44
61
|
/* @__PURE__ */ a("div", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
62
|
+
i ? null : /* @__PURE__ */ a(d, { children: [
|
|
63
|
+
/* @__PURE__ */ e(h, { variant: m.variant, children: /* @__PURE__ */ e("span", { children: y ?? s(m.labelKey) }) }),
|
|
64
|
+
/* @__PURE__ */ e("span", { className: "text-slate-400", children: "·" })
|
|
65
|
+
] }),
|
|
48
66
|
/* @__PURE__ */ e(
|
|
49
|
-
|
|
67
|
+
S,
|
|
50
68
|
{
|
|
51
|
-
to:
|
|
52
|
-
state:
|
|
69
|
+
to: u,
|
|
70
|
+
state: x,
|
|
53
71
|
className: "text-xs font-medium text-slate-700 hover:text-slate-950",
|
|
54
|
-
children: /* @__PURE__ */ e("span", { children:
|
|
72
|
+
children: /* @__PURE__ */ e("span", { children: s("product_details_link") })
|
|
55
73
|
}
|
|
56
74
|
),
|
|
57
75
|
/* @__PURE__ */ a(
|
|
58
|
-
|
|
76
|
+
T,
|
|
59
77
|
{
|
|
60
78
|
type: "button",
|
|
61
79
|
size: "sm",
|
|
62
80
|
className: "ml-auto rounded-full gap-2 text-xs",
|
|
63
|
-
onClick:
|
|
64
|
-
disabled:
|
|
81
|
+
onClick: v,
|
|
82
|
+
disabled: N,
|
|
65
83
|
children: [
|
|
66
|
-
/* @__PURE__ */ e("span", { children:
|
|
67
|
-
/* @__PURE__ */ e(
|
|
84
|
+
/* @__PURE__ */ e("span", { children: s(g) }),
|
|
85
|
+
/* @__PURE__ */ e(O, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
68
86
|
]
|
|
69
87
|
}
|
|
70
88
|
)
|
|
@@ -74,5 +92,5 @@ function F({
|
|
|
74
92
|
);
|
|
75
93
|
}
|
|
76
94
|
export {
|
|
77
|
-
|
|
95
|
+
G as BikeProductCard
|
|
78
96
|
};
|
|
@@ -95,7 +95,7 @@ function ke({
|
|
|
95
95
|
] }, `${a.id}-mobile-${l}`)) }) })
|
|
96
96
|
] }) : null,
|
|
97
97
|
r ? /* @__PURE__ */ e(B, { warning: w }) : null,
|
|
98
|
-
/* @__PURE__ */ e("p", { className: "text-
|
|
98
|
+
/* @__PURE__ */ e("p", { className: "text-2xs font-medium uppercase tracking-[0.18em] text-slate-500", children: /* @__PURE__ */ e("span", { children: M }) }),
|
|
99
99
|
/* @__PURE__ */ e("div", { className: "grid gap-2", children: C.map((t) => {
|
|
100
100
|
const l = `storefront-booking-bike-dialog-variant-option-${a.id}-${t.id}`.toLowerCase(), { label: b, description: $ } = ee(t), D = P[t.id] ?? 1, Q = d?.(t.id) === !0, L = u?.(t.id) ?? null;
|
|
101
101
|
return /* @__PURE__ */ i(
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Link as x } from "@rpcbase/router";
|
|
3
|
-
import { cn as
|
|
3
|
+
import { cn as l } from "@rpcbase/ui";
|
|
4
4
|
import { useTranslation as m } from "react-i18next";
|
|
5
|
-
const a = ({ index: t, label:
|
|
5
|
+
const a = ({ index: t, label: s, state: e, href: o }) => {
|
|
6
6
|
const i = /* @__PURE__ */ r(
|
|
7
7
|
"span",
|
|
8
8
|
{
|
|
9
|
-
className:
|
|
9
|
+
className: l(
|
|
10
10
|
"inline-flex items-center gap-2 rounded-full border px-3 py-1.5 text-xs font-medium sm:text-sm",
|
|
11
11
|
e === "active" && "border-slate-900 bg-slate-900 text-white",
|
|
12
12
|
e === "done" && "border-slate-300 bg-white text-slate-900",
|
|
@@ -16,8 +16,8 @@ const a = ({ index: t, label: l, state: e, href: o }) => {
|
|
|
16
16
|
/* @__PURE__ */ n(
|
|
17
17
|
"span",
|
|
18
18
|
{
|
|
19
|
-
className:
|
|
20
|
-
"inline-flex h-5 w-5 items-center justify-center rounded-full text-
|
|
19
|
+
className: l(
|
|
20
|
+
"inline-flex h-5 w-5 items-center justify-center rounded-full text-xs font-semibold",
|
|
21
21
|
e === "active" && "bg-white/20 text-white",
|
|
22
22
|
e === "done" && "bg-slate-100 text-slate-800",
|
|
23
23
|
e === "pending" && "bg-slate-200 text-slate-600"
|
|
@@ -25,12 +25,12 @@ const a = ({ index: t, label: l, state: e, href: o }) => {
|
|
|
25
25
|
children: t
|
|
26
26
|
}
|
|
27
27
|
),
|
|
28
|
-
/* @__PURE__ */ n("span", { children:
|
|
28
|
+
/* @__PURE__ */ n("span", { children: s })
|
|
29
29
|
]
|
|
30
30
|
}
|
|
31
31
|
);
|
|
32
32
|
return !o || e === "active" ? i : /* @__PURE__ */ n(x, { to: o, className: "inline-flex", children: i });
|
|
33
|
-
}, g = ({ currentStep: t, bookingPath:
|
|
33
|
+
}, g = ({ currentStep: t, bookingPath: s, checkoutPath: e, checkoutEnabled: o = !0 }) => {
|
|
34
34
|
const { t: i } = m(), c = t === "booking" ? "active" : "done", d = t === "checkout" ? "active" : "pending";
|
|
35
35
|
return /* @__PURE__ */ r("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
36
36
|
/* @__PURE__ */ n(
|
|
@@ -39,7 +39,7 @@ const a = ({ index: t, label: l, state: e, href: o }) => {
|
|
|
39
39
|
index: 1,
|
|
40
40
|
label: i("flow_step_booking"),
|
|
41
41
|
state: c,
|
|
42
|
-
href: t === "checkout" ?
|
|
42
|
+
href: t === "checkout" ? s : void 0
|
|
43
43
|
}
|
|
44
44
|
),
|
|
45
45
|
/* @__PURE__ */ n("span", { className: "text-slate-300", "aria-hidden": "true", children: "/" }),
|
|
@@ -2,7 +2,7 @@ import { jsxs as ne, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { differenceInCalendarDays as me } from "date-fns";
|
|
3
3
|
import { createContext as pe, useRef as F, useState as X, useEffect as v, useContext as ye } from "react";
|
|
4
4
|
import { cn as k, DayPickerField as De } from "@rpcbase/ui";
|
|
5
|
-
import { useMorphingModalWizardOverlayLayer as Ee } from "../../../chunks/ui/dist/MorphingModalWizard-
|
|
5
|
+
import { useMorphingModalWizardOverlayLayer as Ee } from "../../../chunks/ui/dist/MorphingModalWizard-BuRND-yE.js";
|
|
6
6
|
import { DayPicker as he } from "../../../ui/day-picker.js";
|
|
7
7
|
import { Label as ve } from "../../../ui/label.js";
|
|
8
8
|
import { Provider as be, Root as ge, TooltipTrigger as Me, Content as ke } from "../../../ui/tooltip.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as M, Fragment as w, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as P, useEffect as N } from "react";
|
|
3
3
|
import { cn as T, HourPickerField as V } from "@rpcbase/ui";
|
|
4
|
-
import { useMorphingModalWizardOverlayLayer as H } from "../../../chunks/ui/dist/MorphingModalWizard-
|
|
4
|
+
import { useMorphingModalWizardOverlayLayer as H } from "../../../chunks/ui/dist/MorphingModalWizard-BuRND-yE.js";
|
|
5
5
|
import { Label as U } from "../../../ui/label.js";
|
|
6
6
|
import { useBookingPeriod as A } from "../BookingPeriodContext.js";
|
|
7
7
|
import { BookingPeriodFieldErrorMessage as j } from "./BookingPeriodFieldErrorMessage.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as l, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { useState as z, useRef as R, useEffect as D } from "react";
|
|
3
3
|
import { startOfMonth as s, differenceInCalendarDays as Z, isSameDay as w, endOfMonth as H, addMonths as V } from "date-fns";
|
|
4
4
|
import { DayButton as ee } from "react-day-picker";
|
|
5
5
|
import { cn as f } from "@rpcbase/ui";
|
|
6
6
|
import { buttonVariants as te, Button as T } from "../../../ui/button.js";
|
|
7
7
|
import { DayPicker as F } from "../../../ui/day-picker.js";
|
|
8
|
-
import { Drawer as oe, DrawerContent as ne, DrawerHeader as ae, DrawerTitle as
|
|
9
|
-
import { useBookingPeriod as
|
|
8
|
+
import { Drawer as oe, DrawerContent as ne, DrawerHeader as ae, DrawerTitle as le } from "../../../ui/drawer.js";
|
|
9
|
+
import { useBookingPeriod as re } from "../BookingPeriodContext.js";
|
|
10
10
|
const se = ee, K = 1, P = f(
|
|
11
11
|
te({ variant: "outline" }),
|
|
12
12
|
"z-10 h-11 w-11 bg-background p-0 opacity-100 shadow-sm [&_svg]:size-5"
|
|
@@ -20,7 +20,7 @@ const se = ee, K = 1, P = f(
|
|
|
20
20
|
button_next: P,
|
|
21
21
|
month_grid: "w-full border-collapse space-y-1",
|
|
22
22
|
weekdays: "grid grid-cols-7",
|
|
23
|
-
weekday: "w-full rounded-md text-muted-foreground font-normal text-
|
|
23
|
+
weekday: "w-full rounded-md text-muted-foreground font-normal text-xs",
|
|
24
24
|
week: "grid w-full grid-cols-7 gap-y-2",
|
|
25
25
|
day: "h-11 w-full overflow-visible p-0 font-normal aria-selected:opacity-100 rounded-md first:aria-selected:rounded-l-md last:aria-selected:rounded-r-md",
|
|
26
26
|
day_button: "relative inline-flex h-11 w-full items-center justify-center overflow-visible rounded-md p-0 text-base font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
|
|
@@ -46,7 +46,7 @@ const se = ee, K = 1, P = f(
|
|
|
46
46
|
isMobile: k,
|
|
47
47
|
withMobileDateDrawer: B,
|
|
48
48
|
minSelectableDate: i
|
|
49
|
-
} =
|
|
49
|
+
} = re(), d = B && k && (N || C), r = C && !N ? "end" : "start", G = I(i), h = I(
|
|
50
50
|
Y(n, a, i)
|
|
51
51
|
), [J, O] = z(
|
|
52
52
|
() => s(i)
|
|
@@ -54,10 +54,10 @@ const se = ee, K = 1, P = f(
|
|
|
54
54
|
() => g(h)
|
|
55
55
|
), y = R(!0), v = R(!1), _ = n && (a ?? n) >= n ? Z(a ?? n, n) + 1 : null, j = a ?? n;
|
|
56
56
|
if (D(() => {
|
|
57
|
-
!d ||
|
|
58
|
-
}, [
|
|
59
|
-
!d ||
|
|
60
|
-
}, [
|
|
57
|
+
!d || r !== "start" || O(s(i));
|
|
58
|
+
}, [r, d, G]), D(() => {
|
|
59
|
+
!d || r !== "end" || p(g(h));
|
|
60
|
+
}, [r, h, d]), D(() => {
|
|
61
61
|
if (!d || typeof document > "u")
|
|
62
62
|
return;
|
|
63
63
|
const e = window.scrollY, { body: t, documentElement: u } = document, m = {
|
|
@@ -91,7 +91,7 @@ const se = ee, K = 1, P = f(
|
|
|
91
91
|
className: f(e.className, "overflow-visible"),
|
|
92
92
|
children: [
|
|
93
93
|
e.children,
|
|
94
|
-
t ? /* @__PURE__ */
|
|
94
|
+
t ? /* @__PURE__ */ l(
|
|
95
95
|
"span",
|
|
96
96
|
{
|
|
97
97
|
className: "pointer-events-none absolute left-1/2 top-0 z-[70] -translate-x-1/2 -translate-y-[calc(100%+4px)] whitespace-nowrap rounded-md border bg-popover px-2 py-1 text-xs font-semibold text-primary shadow-md",
|
|
@@ -103,7 +103,7 @@ const se = ee, K = 1, P = f(
|
|
|
103
103
|
}
|
|
104
104
|
);
|
|
105
105
|
};
|
|
106
|
-
return /* @__PURE__ */
|
|
106
|
+
return /* @__PURE__ */ l(
|
|
107
107
|
oe,
|
|
108
108
|
{
|
|
109
109
|
open: d,
|
|
@@ -113,44 +113,44 @@ const se = ee, K = 1, P = f(
|
|
|
113
113
|
},
|
|
114
114
|
children: /* @__PURE__ */ c(ne, { className: "overflow-hidden", children: [
|
|
115
115
|
/* @__PURE__ */ c(ae, { className: "border-b px-4 pb-3 pt-4 text-left", children: [
|
|
116
|
-
/* @__PURE__ */
|
|
116
|
+
/* @__PURE__ */ l(le, { className: "sr-only", children: r === "start" ? o.startDate : o.endDate }),
|
|
117
117
|
/* @__PURE__ */ c(
|
|
118
118
|
"div",
|
|
119
119
|
{
|
|
120
120
|
className: "relative grid grid-cols-2 rounded-md bg-muted p-1",
|
|
121
121
|
"aria-label": o.rentalPeriod,
|
|
122
122
|
children: [
|
|
123
|
-
/* @__PURE__ */
|
|
123
|
+
/* @__PURE__ */ l(
|
|
124
124
|
"span",
|
|
125
125
|
{
|
|
126
126
|
"aria-hidden": "true",
|
|
127
127
|
className: f(
|
|
128
128
|
"absolute inset-y-1 left-1 w-[calc(50%-0.25rem)] rounded bg-background shadow-sm transition-transform duration-300 ease-out",
|
|
129
|
-
|
|
129
|
+
r === "end" && "translate-x-full"
|
|
130
130
|
)
|
|
131
131
|
}
|
|
132
132
|
),
|
|
133
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ l(
|
|
134
134
|
"button",
|
|
135
135
|
{
|
|
136
136
|
type: "button",
|
|
137
|
-
"aria-pressed":
|
|
137
|
+
"aria-pressed": r === "start",
|
|
138
138
|
className: f(
|
|
139
139
|
"relative z-10 h-9 rounded px-3 text-sm font-medium transition-colors",
|
|
140
|
-
|
|
140
|
+
r === "start" ? "text-foreground" : "text-muted-foreground"
|
|
141
141
|
),
|
|
142
142
|
onClick: () => x("start"),
|
|
143
143
|
children: o.startDate
|
|
144
144
|
}
|
|
145
145
|
),
|
|
146
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ l(
|
|
147
147
|
"button",
|
|
148
148
|
{
|
|
149
149
|
type: "button",
|
|
150
|
-
"aria-pressed":
|
|
150
|
+
"aria-pressed": r === "end",
|
|
151
151
|
className: f(
|
|
152
152
|
"relative z-10 h-9 rounded px-3 text-sm font-medium transition-colors",
|
|
153
|
-
|
|
153
|
+
r === "end" ? "text-foreground" : "text-muted-foreground"
|
|
154
154
|
),
|
|
155
155
|
onClick: () => x("end"),
|
|
156
156
|
children: o.endDate
|
|
@@ -160,16 +160,16 @@ const se = ee, K = 1, P = f(
|
|
|
160
160
|
}
|
|
161
161
|
)
|
|
162
162
|
] }),
|
|
163
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ l("div", { className: "overflow-hidden px-4 py-4", children: /* @__PURE__ */ c(
|
|
164
164
|
"div",
|
|
165
165
|
{
|
|
166
166
|
className: f(
|
|
167
167
|
"flex w-[200%] transition-transform duration-300 ease-out",
|
|
168
|
-
|
|
168
|
+
r === "end" && "-translate-x-1/2"
|
|
169
169
|
),
|
|
170
170
|
children: [
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ l("section", { className: "max-h-[calc(95dvh-9rem)] w-1/2 shrink-0 overflow-y-auto pr-4", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-4", children: [
|
|
172
|
+
/* @__PURE__ */ l(
|
|
173
173
|
F,
|
|
174
174
|
{
|
|
175
175
|
id: "start-date-calendar",
|
|
@@ -200,7 +200,7 @@ const se = ee, K = 1, P = f(
|
|
|
200
200
|
classNames: $
|
|
201
201
|
}
|
|
202
202
|
),
|
|
203
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ l(
|
|
204
204
|
T,
|
|
205
205
|
{
|
|
206
206
|
type: "button",
|
|
@@ -214,8 +214,8 @@ const se = ee, K = 1, P = f(
|
|
|
214
214
|
}
|
|
215
215
|
)
|
|
216
216
|
] }) }),
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
217
|
+
/* @__PURE__ */ l("section", { className: "max-h-[calc(95dvh-9rem)] w-1/2 shrink-0 overflow-y-auto pl-4", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-4", children: [
|
|
218
|
+
/* @__PURE__ */ l(
|
|
219
219
|
F,
|
|
220
220
|
{
|
|
221
221
|
id: "end-date-calendar",
|
|
@@ -246,7 +246,7 @@ const se = ee, K = 1, P = f(
|
|
|
246
246
|
},
|
|
247
247
|
h
|
|
248
248
|
),
|
|
249
|
-
/* @__PURE__ */
|
|
249
|
+
/* @__PURE__ */ l(
|
|
250
250
|
T,
|
|
251
251
|
{
|
|
252
252
|
type: "button",
|
|
@@ -2,7 +2,7 @@ import { jsxs as I, jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as L, useState as A, useEffect as H } from "react";
|
|
3
3
|
import { DayButton as U } from "react-day-picker";
|
|
4
4
|
import { cn as f, DayPickerField as K } from "@rpcbase/ui";
|
|
5
|
-
import { useMorphingModalWizardOverlayLayer as R } from "../../../chunks/ui/dist/MorphingModalWizard-
|
|
5
|
+
import { useMorphingModalWizardOverlayLayer as R } from "../../../chunks/ui/dist/MorphingModalWizard-BuRND-yE.js";
|
|
6
6
|
import { DayPicker as v } from "../../../ui/day-picker.js";
|
|
7
7
|
import { Label as _ } from "../../../ui/label.js";
|
|
8
8
|
import { useBookingPeriod as $ } from "../BookingPeriodContext.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as E, Fragment as B, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as O, useEffect as S } from "react";
|
|
3
3
|
import { cn as T, HourPickerField as R } from "@rpcbase/ui";
|
|
4
|
-
import { useMorphingModalWizardOverlayLayer as w } from "../../../chunks/ui/dist/MorphingModalWizard-
|
|
4
|
+
import { useMorphingModalWizardOverlayLayer as w } from "../../../chunks/ui/dist/MorphingModalWizard-BuRND-yE.js";
|
|
5
5
|
import { Label as P } from "../../../ui/label.js";
|
|
6
6
|
import { useBookingPeriod as H } from "../BookingPeriodContext.js";
|
|
7
7
|
import { BookingPeriodFieldErrorMessage as U } from "./BookingPeriodFieldErrorMessage.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBookingPeriodController.d.ts","sourceRoot":"","sources":["../../../src/components/BookingPeriodSelector/useBookingPeriodController.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnD,OAAO,EAQL,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAiC,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,qCAAqC,CAAA;AAGpH,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,CACpC,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9B,MAAM,CAAA;AAEX,MAAM,MAAM,6BAA6B,GAAG,CAC1C,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,WAAW,KACjB,OAAO,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,CAAA;AAE/B,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAA;IACzD,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAA;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CA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;KAAE,KACtE,IAAI,CAAA;IACT;;;OAGG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC;
|
|
1
|
+
{"version":3,"file":"useBookingPeriodController.d.ts","sourceRoot":"","sources":["../../../src/components/BookingPeriodSelector/useBookingPeriodController.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnD,OAAO,EAQL,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAiC,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,qCAAqC,CAAA;AAGpH,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,CACpC,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9B,MAAM,CAAA;AAEX,MAAM,MAAM,6BAA6B,GAAG,CAC1C,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,WAAW,KACjB,OAAO,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,CAAA;AAE/B,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAA;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