@loczer/storefront-sdk 0.230.0 → 0.232.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 +0 -2
- package/dist/StorefrontContext.d.ts.map +1 -1
- package/dist/StorefrontProvider.d.ts +0 -1
- package/dist/StorefrontProvider.d.ts.map +1 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-booking-C9kJFMIu.js → base-booking-BJXFzDM5.js} +0 -2
- package/dist/chunks/pkg/booking-engine/dist/schemas/{cart-inputs-epi7FXIk.js → cart-inputs-3lBblkB0.js} +0 -10
- package/dist/chunks/pkg/booking-engine/dist/{schemas-DW5gdDYz.js → schemas-JjiUWFIv.js} +2 -2
- package/dist/chunks/pkg/ui/dist/LanguagePicker/index-D7_3voTe.js +83 -0
- package/dist/components/BookingBikeQuickAddCard/index.d.ts +3 -1
- package/dist/components/BookingBikeQuickAddCard/index.d.ts.map +1 -1
- package/dist/components/BookingBikeQuickAddCard/index.js +94 -85
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.js +62 -56
- package/dist/components/Footer/businessHoursStatus.js +1 -1
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +56 -56
- package/dist/components/LanguageSelector/index.d.ts.map +1 -1
- package/dist/components/LanguageSelector/index.js +19 -64
- package/dist/components/StorefrontCartPanel/index.js +1 -1
- package/dist/i18n/en.d.ts +2 -4
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +3 -5
- package/dist/i18n/fr.d.ts +2 -4
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +4 -6
- package/dist/index.d.ts +17 -35
- package/dist/index.js +3 -3
- package/dist/lib/booking-period.js +1 -1
- package/dist/lib/booking.d.ts +6 -6
- package/dist/lib/booking.d.ts.map +1 -1
- package/dist/lib/booking.js +21 -21
- package/dist/lib/cart.d.ts +1 -0
- package/dist/lib/cart.d.ts.map +1 -1
- package/dist/lib/cart.js +2 -0
- package/dist/lib/checkoutSubmit.d.ts +2 -6
- package/dist/lib/checkoutSubmit.d.ts.map +1 -1
- package/dist/lib/checkoutSubmit.js +3 -11
- package/dist/lib/pricing.js +1 -1
- package/dist/lib/storefrontAvailability.d.ts +12 -8
- package/dist/lib/storefrontAvailability.d.ts.map +1 -1
- package/dist/lib/storefrontAvailability.js +17 -7
- package/dist/pages/BookingPage.d.ts.map +1 -1
- package/dist/pages/BookingPage.js +236 -238
- package/dist/pages/CheckoutPage.d.ts.map +1 -1
- package/dist/pages/CheckoutPage.js +127 -125
- package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -1
- package/dist/pages/ContractSaleDocumentPage.js +117 -171
- package/dist/pages/HomePage.js +8 -8
- package/dist/pages/ProductPage.d.ts.map +1 -1
- package/dist/pages/ProductPage.js +187 -181
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -1
- package/dist/pages/checkout/components/CheckoutDetailsCard.js +4 -17
- package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts +7 -0
- package/dist/pages/checkout/components/CheckoutLoadingSkeleton.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutLoadingSkeleton.js +105 -0
- package/dist/pages/checkout/types.d.ts +1 -2
- package/dist/pages/checkout/types.d.ts.map +1 -1
- package/dist/pages/checkout/types.js +1 -2
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.d.ts +0 -2
- package/dist/storefrontSchemas.d.ts.map +1 -1
- package/dist/storefrontSchemas.js +1 -2
- package/package.json +1 -1
- package/dist/chunks/pkg/ui/dist/{MorphingModalWizard-j1CgFGLe.js → MorphingModalWizard-Q8O5Rjfq.js} +1 -1
|
@@ -45,7 +45,6 @@ export declare function useStorefrontConfig(): {
|
|
|
45
45
|
defaultMode: "fewRemaining" | "fewRemainingCounts" | "remainingCounts" | "soldOutAndFewRemaining" | "soldOutOnly";
|
|
46
46
|
defaultFewRemainingThreshold?: number | undefined;
|
|
47
47
|
};
|
|
48
|
-
enabled: boolean;
|
|
49
48
|
fulfillmentModes: ("pickup" | "delivery")[];
|
|
50
49
|
deliveryDisabledReason: string;
|
|
51
50
|
sameDayCutoff: string;
|
|
@@ -288,7 +287,6 @@ export declare function useStorefrontConfig(): {
|
|
|
288
287
|
defaultMode: "fewRemaining" | "fewRemainingCounts" | "remainingCounts" | "soldOutAndFewRemaining" | "soldOutOnly";
|
|
289
288
|
defaultFewRemainingThreshold?: number | undefined;
|
|
290
289
|
};
|
|
291
|
-
enabled: boolean;
|
|
292
290
|
fulfillmentModes: ("pickup" | "delivery")[];
|
|
293
291
|
deliveryDisabledReason: string;
|
|
294
292
|
sameDayCutoff: string;
|
|
@@ -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
|
|
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"}
|
|
@@ -26,7 +26,6 @@ export declare const loader: ({ ctx, params }: import('@rpcbase/client').LoaderA
|
|
|
26
26
|
defaultMode: "fewRemaining" | "fewRemainingCounts" | "remainingCounts" | "soldOutAndFewRemaining" | "soldOutOnly";
|
|
27
27
|
defaultFewRemainingThreshold?: number | undefined;
|
|
28
28
|
};
|
|
29
|
-
enabled: boolean;
|
|
30
29
|
fulfillmentModes: ("pickup" | "delivery")[];
|
|
31
30
|
deliveryDisabledReason: string;
|
|
32
31
|
sameDayCutoff: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorefrontProvider.d.ts","sourceRoot":"","sources":["../src/StorefrontProvider.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,MAAM
|
|
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"}
|
|
@@ -22,8 +22,6 @@ var d = u.enum([
|
|
|
22
22
|
qty: u.number().int().positive(),
|
|
23
23
|
productVariantId: e.optional()
|
|
24
24
|
}), p = u.object({
|
|
25
|
-
firstName: u.string().trim().min(1).optional(),
|
|
26
|
-
lastName: u.string().trim().min(1).optional(),
|
|
27
25
|
name: u.preprocess((e) => {
|
|
28
26
|
if (typeof e != "string") return;
|
|
29
27
|
let t = e.trim();
|
|
@@ -13,16 +13,6 @@ var c = s.object({
|
|
|
13
13
|
startTime: a,
|
|
14
14
|
endTime: a
|
|
15
15
|
}), l = s.object({
|
|
16
|
-
firstName: s.preprocess((e) => {
|
|
17
|
-
if (typeof e != "string") return;
|
|
18
|
-
let t = e.trim();
|
|
19
|
-
return t.length > 0 ? t : void 0;
|
|
20
|
-
}, s.string().min(1).optional()),
|
|
21
|
-
lastName: s.preprocess((e) => {
|
|
22
|
-
if (typeof e != "string") return;
|
|
23
|
-
let t = e.trim();
|
|
24
|
-
return t.length > 0 ? t : void 0;
|
|
25
|
-
}, s.string().min(1).optional()),
|
|
26
16
|
name: s.preprocess((e) => {
|
|
27
17
|
if (typeof e != "string") return;
|
|
28
18
|
let t = e.trim();
|
|
@@ -7,10 +7,10 @@ import { richTextJsonDocSchema as k, richTextSchema as A, richTextVersionSchema
|
|
|
7
7
|
import { isoDateSchema as M, shopConfigurationSchema as N, shopExtraTimeSlotRuleSchema as P, shopOpeningDayIndexSchema as F, shopOpeningDaySchema as I, shopOpeningHoursOverrideSchema as L, shopOpeningHoursPeriodSchema as R, shopOpeningSlotSchema as z, timeOfDaySchema as B } from "./schemas/shop-opening-hours-BlLD1gfz.js";
|
|
8
8
|
import { DEFAULT_CANCELLATION_POLICY as V, DEFAULT_PAYMENT_POLICIES as H, cancellationPolicySchema as U, cancellationPolicyTierSchema as W, paymentPoliciesSchema as G } from "./schemas/booking-engine-configuration-LnrhShqm.js";
|
|
9
9
|
import { fulfillmentModeSchema as K, publicBookingEngineConfigurationSchema as q, publicCheckoutConfigurationSchema as J, publicCheckoutDynamicOptionsSchema as Y } from "./schemas/public-booking-engine-configuration-CEM9mexX.js";
|
|
10
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as X, bookingCustomerInputSchema as Z, bookingDeliveryOptionSchema as Q, bookingScheduleInputSchema as $, cartItemInputSchema as ee, createBookingInputBaseSchema as te, createBookingInputSchema as ne, resolveBookingDeliveryOption as re, validateBookingDeliveryAddress as ie } from "./schemas/cart-inputs-
|
|
10
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as X, bookingCustomerInputSchema as Z, bookingDeliveryOptionSchema as Q, bookingScheduleInputSchema as $, cartItemInputSchema as ee, createBookingInputBaseSchema as te, createBookingInputSchema as ne, resolveBookingDeliveryOption as re, validateBookingDeliveryAddress as ie } from "./schemas/cart-inputs-3lBblkB0.js";
|
|
11
11
|
import { bookingInsuranceConsentSourceSchema as ae, bookingInsuranceItemSnapshotSchema as oe, bookingInsuranceSnapshotSchema as se, buildBookingInsuranceSnapshot as ce, calculateInsuranceCalendarDays as le, insuranceProviderSchema as ue } from "./schemas/insurance-DXc34Bzy.js";
|
|
12
12
|
import { resolveOpeningHoursForDate as de, resolveOpeningHoursPeriodForDate as fe } from "./utils/opening-hours-period-TCyLhzZw.js";
|
|
13
13
|
import "./schemas/base-product-Bde9lJQD.js";
|
|
14
14
|
import { assetIdSchema as pe, baseAssetSchema as me, baseAssetStatusSchema as he } from "./schemas/base-asset-BhIOL2rP.js";
|
|
15
|
-
import { baseBookingItemSchema as ge, baseBookingSchema as _e, baseBookingStateSchema as ve } from "./schemas/base-booking-
|
|
15
|
+
import { baseBookingItemSchema as ge, baseBookingSchema as _e, baseBookingStateSchema as ve } from "./schemas/base-booking-BJXFzDM5.js";
|
|
16
16
|
export { X as DEFAULT_BOOKING_DELIVERY_OPTION, V as DEFAULT_CANCELLATION_POLICY, H as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, _ as accessoryProductSchema, pe as assetIdSchema, me as baseAssetSchema, he as baseAssetStatusSchema, ge as baseBookingItemSchema, _e as baseBookingSchema, ve as baseBookingStateSchema, v as bikeProductSchema, Z as bookingCustomerInputSchema, Q as bookingDeliveryOptionSchema, ae as bookingInsuranceConsentSourceSchema, oe as bookingInsuranceItemSnapshotSchema, se as bookingInsuranceSnapshotSchema, $ as bookingScheduleInputSchema, ce as buildBookingInsuranceSnapshot, le as calculateInsuranceCalendarDays, U as cancellationPolicySchema, W as cancellationPolicyTierSchema, ee as cartItemInputSchema, te as createBookingInputBaseSchema, ne as createBookingInputSchema, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, y as eBikeProductSchema, K as fulfillmentModeSchema, t as getLocalizedStringValue, ue as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, M as isoDateSchema, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, G as paymentPoliciesSchema, d as priceSchema, f as priceUnitSchema, p as productIdSchema, x as productInsuranceSchema, S as productKindSchema, C as productSchema, w as productStorefrontDisplayModeSchema, T as productVariantAttributeSchema, E as productVariantCodeSchema, D as productVariantIdentifierSchema, O as productVariantSchema, q as publicBookingEngineConfigurationSchema, J as publicCheckoutConfigurationSchema, Y as publicCheckoutDynamicOptionsSchema, re as resolveBookingDeliveryOption, de as resolveOpeningHoursForDate, fe as resolveOpeningHoursPeriodForDate, k as richTextJsonDocSchema, A as richTextSchema, j as richTextVersionSchema, N as shopConfigurationSchema, P as shopExtraTimeSlotRuleSchema, F as shopOpeningDayIndexSchema, I as shopOpeningDaySchema, L as shopOpeningHoursOverrideSchema, R as shopOpeningHoursPeriodSchema, z as shopOpeningSlotSchema, u as signedMoneyMinorSchema, B as timeOfDaySchema, ie as validateBookingDeliveryAddress };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { cn as e } from "../lib/utils-DXB19bzk.js";
|
|
2
|
+
import { Button as t } from "../Button-Cr_u8vnh.js";
|
|
3
|
+
import { useState as n } from "react";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronDown as a } from "lucide-react";
|
|
6
|
+
import { Menu as o } from "@base-ui/react/menu";
|
|
7
|
+
//#region ../ui/dist/LanguagePicker/index.js
|
|
8
|
+
var s = [{
|
|
9
|
+
code: "fr",
|
|
10
|
+
name: "Français",
|
|
11
|
+
flag: "🇫🇷"
|
|
12
|
+
}, {
|
|
13
|
+
code: "en",
|
|
14
|
+
name: "English",
|
|
15
|
+
flag: "🇬🇧"
|
|
16
|
+
}];
|
|
17
|
+
function c({ value: c, onValueChange: l, align: u = "end", ariaLabel: d, disabled: f = !1, id: p, labels: m, optionTestIdPrefix: h, options: g, triggerClassName: _, triggerTestId: v, variant: y = "light" }) {
|
|
18
|
+
let [b, x] = n(!1), S = g?.length ? g : s, C = S.find((e) => e.code === c) ?? S[0], w = m?.[C.code] ?? C.name;
|
|
19
|
+
return /* @__PURE__ */ i(o.Root, {
|
|
20
|
+
open: b,
|
|
21
|
+
onOpenChange: x,
|
|
22
|
+
children: [/* @__PURE__ */ r(o.Trigger, {
|
|
23
|
+
nativeButton: !0,
|
|
24
|
+
render: /* @__PURE__ */ i(t, {
|
|
25
|
+
id: p,
|
|
26
|
+
variant: "outline",
|
|
27
|
+
size: "sm",
|
|
28
|
+
type: "button",
|
|
29
|
+
disabled: f,
|
|
30
|
+
"aria-label": d ?? w,
|
|
31
|
+
className: e("h-7 gap-1 rounded-md px-2 uppercase shadow-none focus-visible:ring-2", y === "dark" && "border-primary-foreground/25 bg-transparent text-primary-foreground hover:bg-primary-foreground/10 hover:text-primary-foreground", _),
|
|
32
|
+
"data-testid": v,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ r("span", { children: C.flag }),
|
|
35
|
+
/* @__PURE__ */ r("span", { children: C.code }),
|
|
36
|
+
/* @__PURE__ */ r(a, {
|
|
37
|
+
className: "size-3.5",
|
|
38
|
+
"aria-hidden": "true"
|
|
39
|
+
})
|
|
40
|
+
]
|
|
41
|
+
})
|
|
42
|
+
}), /* @__PURE__ */ r(o.Portal, { children: /* @__PURE__ */ r(o.Positioner, {
|
|
43
|
+
align: u,
|
|
44
|
+
sideOffset: 4,
|
|
45
|
+
positionMethod: "fixed",
|
|
46
|
+
className: "z-[60]",
|
|
47
|
+
collisionPadding: 8,
|
|
48
|
+
collisionAvoidance: {
|
|
49
|
+
side: "flip",
|
|
50
|
+
align: "shift",
|
|
51
|
+
fallbackAxisSide: "none"
|
|
52
|
+
},
|
|
53
|
+
children: /* @__PURE__ */ r(o.Popup, {
|
|
54
|
+
render: (e, t) => /* @__PURE__ */ r("div", {
|
|
55
|
+
...e,
|
|
56
|
+
"data-menu-content": "",
|
|
57
|
+
"data-state": t.open ? "open" : "closed"
|
|
58
|
+
}),
|
|
59
|
+
className: "z-50 min-w-36 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md transition-opacity duration-75 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0 data-[instant]:transition-none",
|
|
60
|
+
children: S.map((t) => /* @__PURE__ */ i(o.Item, {
|
|
61
|
+
onClick: (e) => {
|
|
62
|
+
e.defaultPrevented || (l(t.code), x(!1));
|
|
63
|
+
},
|
|
64
|
+
"data-testid": h ? `${h}-${t.code}` : void 0,
|
|
65
|
+
className: e("relative flex cursor-pointer select-none items-center justify-between gap-4 whitespace-nowrap rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground", C.code === t.code && "bg-accent"),
|
|
66
|
+
children: [/* @__PURE__ */ i("span", {
|
|
67
|
+
className: "flex min-w-0 items-center gap-2",
|
|
68
|
+
children: [/* @__PURE__ */ r("span", { children: t.flag }), /* @__PURE__ */ r("span", {
|
|
69
|
+
"data-slot": "language-picker-option-label",
|
|
70
|
+
children: m?.[t.code] ?? t.name
|
|
71
|
+
})]
|
|
72
|
+
}), /* @__PURE__ */ r("span", {
|
|
73
|
+
className: "shrink-0 uppercase text-muted-foreground",
|
|
74
|
+
"data-slot": "language-picker-option-code",
|
|
75
|
+
children: t.code
|
|
76
|
+
})]
|
|
77
|
+
}, t.code))
|
|
78
|
+
})
|
|
79
|
+
}) })]
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
export { c as LanguagePicker, s as languagePickerOptions };
|
|
@@ -7,6 +7,8 @@ type BookingBikeQuickAddCardProps = {
|
|
|
7
7
|
};
|
|
8
8
|
actionDisabled?: boolean;
|
|
9
9
|
fallbackLanguage?: string;
|
|
10
|
+
getVariantAvailabilityLabel: (variantId: string) => string | null;
|
|
11
|
+
isVariantOutOfCapacity: (variantId: string) => boolean;
|
|
10
12
|
dimOnColumnCount: 1 | 2 | null;
|
|
11
13
|
onAction: () => void;
|
|
12
14
|
onQuickAdd: (variantId: string, quantity: number) => void;
|
|
@@ -14,6 +16,6 @@ type BookingBikeQuickAddCardProps = {
|
|
|
14
16
|
onHoverEnd: () => void;
|
|
15
17
|
testId: string;
|
|
16
18
|
};
|
|
17
|
-
export declare function BookingBikeQuickAddCard({ bike, detailsPath, productDetailsLinkState, actionDisabled, fallbackLanguage, dimOnColumnCount, onAction, onQuickAdd, onHoverStart, onHoverEnd, testId, }: BookingBikeQuickAddCardProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function BookingBikeQuickAddCard({ bike, detailsPath, productDetailsLinkState, actionDisabled, fallbackLanguage, getVariantAvailabilityLabel, isVariantOutOfCapacity, dimOnColumnCount, onAction, onQuickAdd, onHoverStart, onHoverEnd, testId, }: BookingBikeQuickAddCardProps): import("react/jsx-runtime").JSX.Element;
|
|
18
20
|
export {};
|
|
19
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BookingBikeQuickAddCard/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BookingBikeQuickAddCard/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAiCrD,KAAK,4BAA4B,GAAG;IAClC,IAAI,EAAE,WAAW,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,uBAAuB,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,2BAA2B,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAA;IACjE,sBAAsB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAA;IACtD,gBAAgB,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACzD,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,uBAAuB,CAAC,EACtC,IAAI,EACJ,WAAW,EACX,uBAAuB,EACvB,cAAsB,EACtB,gBAAgB,EAChB,2BAA2B,EAC3B,sBAAsB,EACtB,gBAAgB,EAChB,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAU,EACV,MAAM,GACP,EAAE,4BAA4B,2CAkO9B"}
|
|
@@ -1,88 +1,89 @@
|
|
|
1
1
|
import { getStorefrontProductVariantDisplay as e, getStorefrontProductVariantHeightRange as t } from "../../lib/productVariants.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
2
|
+
import { Badge as n } from "../../ui/badge.js";
|
|
3
|
+
import { Button as r } from "../../ui/button.js";
|
|
4
|
+
import { AnimatePresence as i } from "../../chunks/node_modules/framer-motion/dist/es/components/AnimatePresence/index-DmhaitYv.js";
|
|
5
|
+
import { motion as a } from "../../chunks/node_modules/framer-motion/dist/es/render/components/motion/proxy-DXxjnqei.js";
|
|
6
|
+
import { Input as o } from "../../ui/input.js";
|
|
7
|
+
import { BikeProductCard as s } from "../BikeProductCard/index.js";
|
|
8
|
+
import { useEffect as c, useRef as l, useState as u } from "react";
|
|
9
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
10
|
+
import { useTranslation as p } from "react-i18next";
|
|
11
|
+
import { cn as m } from "@rpcbase/ui";
|
|
12
|
+
import { Plus as h } from "lucide-react";
|
|
12
13
|
//#region src/components/BookingBikeQuickAddCard/index.tsx
|
|
13
|
-
var
|
|
14
|
+
var g = () => typeof window < "u" && window.matchMedia("(hover: hover) and (pointer: fine)").matches, _ = (e) => {
|
|
14
15
|
let t = Number.parseInt(e, 10);
|
|
15
16
|
return !Number.isFinite(t) || t < 1 ? 1 : t;
|
|
16
|
-
},
|
|
17
|
+
}, v = (e) => {
|
|
17
18
|
let t = e.replace(/\D/g, "");
|
|
18
|
-
return t ? String(
|
|
19
|
+
return t ? String(_(t)) : "";
|
|
19
20
|
};
|
|
20
|
-
function
|
|
21
|
-
let { t:
|
|
22
|
-
|
|
21
|
+
function y({ bike: y, detailsPath: b, productDetailsLinkState: x, actionDisabled: S = !1, fallbackLanguage: C, getVariantAvailabilityLabel: w, isVariantOutOfCapacity: T, dimOnColumnCount: E, onAction: D, onQuickAdd: O, onHoverStart: k, onHoverEnd: A, testId: j }) {
|
|
22
|
+
let { t: M } = p(), N = l(null), [P, F] = u(!1), [I, L] = u({}), R = y.productVariants ?? [], z = !S && R.length > 0, B = () => !z || !g() ? !1 : (F(!0), !0), V = () => {
|
|
23
|
+
F(!1), L({});
|
|
23
24
|
};
|
|
24
|
-
|
|
25
|
-
if (!
|
|
25
|
+
c(() => {
|
|
26
|
+
if (!P) return;
|
|
26
27
|
let e = (e) => {
|
|
27
28
|
if (e.pointerType !== "mouse") return;
|
|
28
29
|
let t = e.target;
|
|
29
|
-
t instanceof Node &&
|
|
30
|
+
t instanceof Node && N.current?.contains(t) || V();
|
|
30
31
|
}, t = (e) => {
|
|
31
32
|
let t = e.target;
|
|
32
|
-
t instanceof Node &&
|
|
33
|
+
t instanceof Node && N.current?.contains(t) || V();
|
|
33
34
|
};
|
|
34
35
|
return document.addEventListener("pointermove", e), document.addEventListener("pointerdown", t), () => {
|
|
35
36
|
document.removeEventListener("pointermove", e), document.removeEventListener("pointerdown", t);
|
|
36
37
|
};
|
|
37
|
-
}, [
|
|
38
|
-
let
|
|
39
|
-
e.pointerType === "mouse" &&
|
|
40
|
-
},
|
|
38
|
+
}, [P]);
|
|
39
|
+
let H = (e) => {
|
|
40
|
+
e.pointerType === "mouse" && B() && k();
|
|
41
|
+
}, U = (e) => {
|
|
41
42
|
if (e.pointerType !== "mouse") return;
|
|
42
43
|
let t = e.relatedTarget;
|
|
43
|
-
t instanceof Node && e.currentTarget.contains(t) || (
|
|
44
|
-
},
|
|
44
|
+
t instanceof Node && e.currentTarget.contains(t) || (V(), A());
|
|
45
|
+
}, W = (e) => {
|
|
45
46
|
let t = e.relatedTarget;
|
|
46
|
-
(!(t instanceof Node) || !e.currentTarget.contains(t)) &&
|
|
47
|
-
},
|
|
48
|
-
|
|
47
|
+
(!(t instanceof Node) || !e.currentTarget.contains(t)) && V();
|
|
48
|
+
}, G = (e) => I[e] ?? "1", K = (e, t) => {
|
|
49
|
+
L((n) => ({
|
|
49
50
|
...n,
|
|
50
51
|
[e]: t
|
|
51
52
|
}));
|
|
52
|
-
},
|
|
53
|
+
}, q = (e, t) => {
|
|
53
54
|
let n = t.target.value;
|
|
54
55
|
if (n === "") {
|
|
55
|
-
|
|
56
|
+
K(e, "");
|
|
56
57
|
return;
|
|
57
58
|
}
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
let t =
|
|
63
|
-
|
|
59
|
+
K(e, v(n));
|
|
60
|
+
}, J = (e) => {
|
|
61
|
+
K(e, String(_(G(e))));
|
|
62
|
+
}, Y = (e) => {
|
|
63
|
+
let t = _(G(e));
|
|
64
|
+
K(e, String(t)), O(e, t);
|
|
64
65
|
};
|
|
65
|
-
return /* @__PURE__ */
|
|
66
|
-
ref:
|
|
67
|
-
"data-testid":
|
|
68
|
-
onPointerEnter:
|
|
69
|
-
onPointerLeave:
|
|
70
|
-
onFocusCapture:
|
|
71
|
-
onBlurCapture:
|
|
72
|
-
className:
|
|
73
|
-
children: [/* @__PURE__ */
|
|
74
|
-
bike:
|
|
75
|
-
detailsPath:
|
|
76
|
-
productDetailsLinkState:
|
|
66
|
+
return /* @__PURE__ */ f("div", {
|
|
67
|
+
ref: N,
|
|
68
|
+
"data-testid": j,
|
|
69
|
+
onPointerEnter: H,
|
|
70
|
+
onPointerLeave: U,
|
|
71
|
+
onFocusCapture: B,
|
|
72
|
+
onBlurCapture: W,
|
|
73
|
+
className: m("relative h-full overflow-visible transition-opacity duration-200", E === 1 && "opacity-20 md:opacity-100", E === 2 && "md:opacity-20", P && z && "z-30"),
|
|
74
|
+
children: [/* @__PURE__ */ d(s, {
|
|
75
|
+
bike: y,
|
|
76
|
+
detailsPath: b,
|
|
77
|
+
productDetailsLinkState: x,
|
|
77
78
|
actionLabelKey: "add_to_cart",
|
|
78
|
-
onAction:
|
|
79
|
-
actionDisabled:
|
|
80
|
-
fallbackLanguage:
|
|
79
|
+
onAction: D,
|
|
80
|
+
actionDisabled: S,
|
|
81
|
+
fallbackLanguage: C,
|
|
81
82
|
variant: "booking",
|
|
82
|
-
className:
|
|
83
|
-
}), /* @__PURE__ */
|
|
83
|
+
className: m("transition-[border-color,box-shadow,border-radius] duration-200 hover:border-primary/20 hover:shadow-md", P && z && "!rounded-b-none border-primary/20 !border-b-white shadow-lg")
|
|
84
|
+
}), /* @__PURE__ */ d(i, {
|
|
84
85
|
initial: !1,
|
|
85
|
-
children:
|
|
86
|
+
children: P && z ? /* @__PURE__ */ d(a.div, {
|
|
86
87
|
initial: {
|
|
87
88
|
opacity: 0,
|
|
88
89
|
y: -8,
|
|
@@ -108,61 +109,69 @@ function v({ bike: v, detailsPath: y, productDetailsLinkState: b, actionDisabled
|
|
|
108
109
|
]
|
|
109
110
|
},
|
|
110
111
|
className: "absolute left-0 right-0 top-full z-30 origin-top rounded-b-lg border border-t-0 border-primary/20 bg-white px-3 py-2 shadow-xl",
|
|
111
|
-
"data-testid": `storefront-booking-bike-quick-selector-${
|
|
112
|
+
"data-testid": `storefront-booking-bike-quick-selector-${y.id}`.toLowerCase(),
|
|
112
113
|
onClick: (e) => e.stopPropagation(),
|
|
113
114
|
onKeyDown: (e) => e.stopPropagation(),
|
|
114
|
-
children: /* @__PURE__ */
|
|
115
|
-
let { label:
|
|
116
|
-
return /* @__PURE__ */
|
|
115
|
+
children: /* @__PURE__ */ d("div", { children: R.map((i) => {
|
|
116
|
+
let { label: a } = e(i), s = t(i), c = w(i.id), l = T(i.id), u = `storefront-booking-bike-quick-quantity-${y.id}-${i.id}`.toLowerCase();
|
|
117
|
+
return /* @__PURE__ */ f("div", {
|
|
117
118
|
className: "flex items-center justify-between gap-3 border-b border-slate-100 py-1.5 last:border-b-0",
|
|
119
|
+
"data-testid": `storefront-booking-bike-quick-variant-${y.id}-${i.id}`.toLowerCase(),
|
|
118
120
|
children: [
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
className: "flex min-w-0 flex-1
|
|
121
|
-
children: [/* @__PURE__ */
|
|
122
|
-
className: "min-w-0
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
121
|
+
/* @__PURE__ */ f("div", {
|
|
122
|
+
className: "flex min-w-0 flex-1 flex-col gap-1",
|
|
123
|
+
children: [/* @__PURE__ */ f("div", {
|
|
124
|
+
className: "flex min-w-0 items-baseline gap-2",
|
|
125
|
+
children: [/* @__PURE__ */ d("span", {
|
|
126
|
+
className: "min-w-0 truncate text-sm font-semibold text-slate-950",
|
|
127
|
+
title: a,
|
|
128
|
+
children: a
|
|
129
|
+
}), s ? /* @__PURE__ */ d("span", {
|
|
130
|
+
className: "truncate text-xs text-slate-500",
|
|
131
|
+
children: s
|
|
132
|
+
}) : null]
|
|
133
|
+
}), c ? /* @__PURE__ */ d(n, {
|
|
134
|
+
variant: l ? "destructive" : "outline",
|
|
135
|
+
className: "w-fit",
|
|
136
|
+
children: /* @__PURE__ */ d("span", { children: c })
|
|
128
137
|
}) : null]
|
|
129
138
|
}),
|
|
130
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ d("label", {
|
|
131
140
|
className: "sr-only",
|
|
132
|
-
htmlFor:
|
|
133
|
-
children: /* @__PURE__ */
|
|
141
|
+
htmlFor: u,
|
|
142
|
+
children: /* @__PURE__ */ d("span", { children: M("quantity_label") })
|
|
134
143
|
}),
|
|
135
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ f("div", {
|
|
136
145
|
className: "flex shrink-0 items-center",
|
|
137
|
-
children: [/* @__PURE__ */
|
|
138
|
-
id:
|
|
146
|
+
children: [/* @__PURE__ */ d(o, {
|
|
147
|
+
id: u,
|
|
139
148
|
type: "text",
|
|
140
149
|
inputMode: "numeric",
|
|
141
150
|
pattern: "[0-9]*",
|
|
142
|
-
value:
|
|
143
|
-
onChange: (e) =>
|
|
144
|
-
onBlur: () =>
|
|
151
|
+
value: G(i.id),
|
|
152
|
+
onChange: (e) => q(i.id, e),
|
|
153
|
+
onBlur: () => J(i.id),
|
|
145
154
|
className: "h-8 w-9 rounded-r-none border-r-0 px-1 text-center text-base focus-visible:z-10 md:text-sm",
|
|
146
|
-
"aria-label":
|
|
147
|
-
"data-testid":
|
|
148
|
-
}), /* @__PURE__ */
|
|
155
|
+
"aria-label": M("quantity_label"),
|
|
156
|
+
"data-testid": u
|
|
157
|
+
}), /* @__PURE__ */ f(r, {
|
|
149
158
|
type: "button",
|
|
150
159
|
size: "sm",
|
|
151
160
|
className: "h-8 gap-1 rounded-l-none px-2 text-xs",
|
|
152
|
-
onClick: () =>
|
|
153
|
-
"data-testid": `storefront-booking-bike-quick-add-${
|
|
154
|
-
children: [/* @__PURE__ */
|
|
161
|
+
onClick: () => Y(i.id),
|
|
162
|
+
"data-testid": `storefront-booking-bike-quick-add-${y.id}-${i.id}`.toLowerCase(),
|
|
163
|
+
children: [/* @__PURE__ */ d("span", { children: M("add_short") }), /* @__PURE__ */ d(h, {
|
|
155
164
|
className: "h-3.5 w-3.5",
|
|
156
165
|
"aria-hidden": "true"
|
|
157
166
|
})]
|
|
158
167
|
})]
|
|
159
168
|
})
|
|
160
169
|
]
|
|
161
|
-
},
|
|
170
|
+
}, i.id);
|
|
162
171
|
}) })
|
|
163
172
|
}, "quick-selector") : null
|
|
164
173
|
})]
|
|
165
174
|
});
|
|
166
175
|
}
|
|
167
176
|
//#endregion
|
|
168
|
-
export {
|
|
177
|
+
export { y as BookingBikeQuickAddCard };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Content as e, Provider as t, Root as n, TooltipTrigger as r } from "../../../ui/tooltip.js";
|
|
2
2
|
import { useBookingPeriod as i } from "../BookingPeriodContext.js";
|
|
3
|
-
import { useMorphingModalWizardOverlayLayer as a } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
3
|
+
import { useMorphingModalWizardOverlayLayer as a } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-Q8O5Rjfq.js";
|
|
4
4
|
import { DayPicker as o } from "../../../ui/day-picker.js";
|
|
5
5
|
import { Label as s } from "../../../ui/label.js";
|
|
6
6
|
import { BookingPeriodFieldErrorMessage as c } from "./BookingPeriodFieldErrorMessage.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBookingPeriod as e } from "../BookingPeriodContext.js";
|
|
2
|
-
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
2
|
+
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-Q8O5Rjfq.js";
|
|
3
3
|
import { Label as n } from "../../../ui/label.js";
|
|
4
4
|
import { BookingPeriodFieldErrorMessage as r } from "./BookingPeriodFieldErrorMessage.js";
|
|
5
5
|
import { BookingHourPickerField as i } from "./internal/BookingHourPickerField.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBookingPeriod as e } from "../BookingPeriodContext.js";
|
|
2
|
-
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
2
|
+
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-Q8O5Rjfq.js";
|
|
3
3
|
import { DayPicker as n } from "../../../ui/day-picker.js";
|
|
4
4
|
import { Label as r } from "../../../ui/label.js";
|
|
5
5
|
import { BookingPeriodFieldErrorMessage as i } from "./BookingPeriodFieldErrorMessage.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBookingPeriod as e } from "../BookingPeriodContext.js";
|
|
2
|
-
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-
|
|
2
|
+
import { useMorphingModalWizardOverlayLayer as t } from "../../../chunks/pkg/ui/dist/MorphingModalWizard-Q8O5Rjfq.js";
|
|
3
3
|
import { Label as n } from "../../../ui/label.js";
|
|
4
4
|
import { BookingPeriodFieldErrorMessage as r } from "./BookingPeriodFieldErrorMessage.js";
|
|
5
5
|
import { BookingHourPickerField as i } from "./internal/BookingHourPickerField.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceDetails.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/InvoiceDetails.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAKvC,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,oBAAoB,CAAA;IAClC,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAwDD,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,GAAG,EACH,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,eAAsB,EACtB,iBAAwB,EACxB,gBAAuB,EACvB,qBAA4B,EAC5B,iBAAiB,EACjB,OAAe,GAChB,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"InvoiceDetails.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/InvoiceDetails.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAKvC,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,oBAAoB,CAAA;IAClC,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAwDD,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,GAAG,EACH,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,eAAsB,EACtB,iBAAwB,EACxB,gBAAuB,EACvB,qBAA4B,EAC5B,iBAAiB,EACjB,OAAe,GAChB,EAAE,mBAAmB,2CAgWrB"}
|