@loczer/storefront-sdk 0.241.0 → 0.242.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/chunks/pkg/booking-engine/dist/models/{Product.shared-VisFafx-.js → Product.shared-JIXwUVrg.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-asset-BuqI-BM_.js → base-asset-DtBfhenO.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-booking-gCY-ZP5p.js → base-booking-D9S-zS-D.js} +2 -2
- package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-r04ZJglB.js → base-product-Dj-bv0QD.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/{cart-inputs-ps94yuAR.js → cart-inputs-CIeuiTzp.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-XwIj1m3Z.js → insurance-v2GZHSVq.js} +1 -1
- package/dist/chunks/pkg/booking-engine/dist/{schemas-7yx45S2o.js → schemas-B82mPOxs.js} +6 -6
- package/dist/components/Footer/businessHoursStatus.js +1 -1
- package/dist/index.js +6 -6
- package/dist/lib/booking-period.js +1 -1
- package/dist/lib/booking.js +2 -2
- package/dist/lib/checkoutSubmit.js +3 -3
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.js +1 -1
- package/dist/ui/drawer.js +4 -4
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ var c = s.enum([
|
|
|
12
12
|
]), l = "bike", u = s.enum(["variant_selector", "variants_as_products"]), d = s.union([
|
|
13
13
|
s.string().trim().url(),
|
|
14
14
|
s.string().trim().regex(/^[a-f0-9]{24}$/i),
|
|
15
|
-
s.string().trim().regex(/^\/catalog-demo\/[a-z0-9-]+\.svg$/)
|
|
15
|
+
s.string().trim().regex(/^\/catalog-demo\/[a-z0-9-]+\.(?:svg|webp)$/)
|
|
16
16
|
]), f = "variant_code", p = 3, m = s.string().trim().min(1, "Variant code is required").max(3, "Variant code must be 3 characters or less");
|
|
17
17
|
function h(e) {
|
|
18
18
|
return e.trim().toLowerCase() === f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { booleanNumberRecordSchema as e, identifierSchema as t, isoDateTimeSchema as n, objectIdStringSchema as r } from "../models/types-ynW5hdp8.js";
|
|
2
2
|
import { productIdSchema as i } from "./product-id-ChdStzgp.js";
|
|
3
|
-
import { productVariantIdentifierSchema as a } from "../models/Product.shared-
|
|
3
|
+
import { productVariantIdentifierSchema as a } from "../models/Product.shared-JIXwUVrg.js";
|
|
4
4
|
import { z as o } from "zod";
|
|
5
5
|
//#region ../booking-engine/dist/schemas/base-asset.js
|
|
6
6
|
var s = o.enum([
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { identifierSchema as e, isoDateTimeSchema as t, objectIdStringSchema as n } from "../models/types-ynW5hdp8.js";
|
|
2
2
|
import { moneyMinorSchema as r } from "./money-CVoCY4of.js";
|
|
3
3
|
import { productIdSchema as i } from "./product-id-ChdStzgp.js";
|
|
4
|
-
import { productKindSchema as a } from "../models/Product.shared-
|
|
4
|
+
import { productKindSchema as a } from "../models/Product.shared-JIXwUVrg.js";
|
|
5
5
|
import { bookingReferenceSchema as o } from "./booking-reference-DLKcpIa4.js";
|
|
6
6
|
import { richTextSchema as s } from "./rich-text-DTRh7U3z.js";
|
|
7
7
|
import { cancellationPolicySchema as c } from "./booking-engine-configuration-CxKlxKCo.js";
|
|
8
|
-
import { bookingInsuranceSnapshotSchema as l } from "./insurance-
|
|
8
|
+
import { bookingInsuranceSnapshotSchema as l } from "./insurance-v2GZHSVq.js";
|
|
9
9
|
import { z as u } from "zod";
|
|
10
10
|
//#region ../booking-engine/dist/schemas/base-booking.js
|
|
11
11
|
var d = u.enum([
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { identifierSchema as e } from "../models/types-ynW5hdp8.js";
|
|
2
2
|
import { moneyMinorSchema as t } from "./money-CVoCY4of.js";
|
|
3
3
|
import { productIdSchema as n } from "./product-id-ChdStzgp.js";
|
|
4
|
-
import "../models/Product.shared-
|
|
4
|
+
import "../models/Product.shared-JIXwUVrg.js";
|
|
5
5
|
import { richTextSchema as r } from "./rich-text-DTRh7U3z.js";
|
|
6
6
|
import { isoDateSchema as i, timeOfDaySchema as a } from "./shop-opening-hours-BlLD1gfz.js";
|
|
7
7
|
import { fulfillmentModeSchema as o } from "./public-booking-engine-configuration-BwWn9aK0.js";
|
package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-XwIj1m3Z.js → insurance-v2GZHSVq.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { identifierSchema as e, isoDateTimeSchema as t } from "../models/types-ynW5hdp8.js";
|
|
2
2
|
import { moneyMinorSchema as n } from "./money-CVoCY4of.js";
|
|
3
3
|
import { productIdSchema as r } from "./product-id-ChdStzgp.js";
|
|
4
|
-
import { productKindSchema as i } from "../models/Product.shared-
|
|
4
|
+
import { productKindSchema as i } from "../models/Product.shared-JIXwUVrg.js";
|
|
5
5
|
import { z as a } from "zod";
|
|
6
6
|
//#region ../booking-engine/dist/schemas/insurance.js
|
|
7
7
|
var o = a.enum(["sharelock", "morio"]), s = a.enum(["storefront", "staff"]), c = a.object({
|
|
@@ -2,16 +2,16 @@ import { createLocalizedStringEntry as e, getLocalizedStringValue as t, localize
|
|
|
2
2
|
import { currencyCodeSchema as a, currencyMinorUnitDigits as o, majorToMinor as s, minorToMajor as c, moneyMinorSchema as l, signedMoneyMinorSchema as u } from "./schemas/money-CVoCY4of.js";
|
|
3
3
|
import { priceSchema as d, priceUnitSchema as f } from "./models/Price-DCAgqkKh.js";
|
|
4
4
|
import { productIdSchema as p } from "./schemas/product-id-ChdStzgp.js";
|
|
5
|
-
import { DEFAULT_PRODUCT_KIND as m, PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as h, PRODUCT_VARIANT_CODE_MAX_LENGTH as g, accessoryProductSchema as _, bikeProductSchema as v, eBikeProductSchema as y, isProductVariantCodeIdentifierKind as b, productInsuranceSchema as x, productKindSchema as S, productSchema as C, productStorefrontDisplayModeSchema as w, productVariantAttributeSchema as T, productVariantCodeSchema as E, productVariantIdentifierSchema as D, productVariantSchema as O } from "./models/Product.shared-
|
|
5
|
+
import { DEFAULT_PRODUCT_KIND as m, PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as h, PRODUCT_VARIANT_CODE_MAX_LENGTH as g, accessoryProductSchema as _, bikeProductSchema as v, eBikeProductSchema as y, isProductVariantCodeIdentifierKind as b, productInsuranceSchema as x, productKindSchema as S, productSchema as C, productStorefrontDisplayModeSchema as w, productVariantAttributeSchema as T, productVariantCodeSchema as E, productVariantIdentifierSchema as D, productVariantSchema as O } from "./models/Product.shared-JIXwUVrg.js";
|
|
6
6
|
import { BOOKING_REFERENCE_COUNTER_MIN_DIGITS as k, BOOKING_REFERENCE_REGEX as A, BOOKING_REFERENCE_YEAR_MONTH_REGEX as j, bookingReferenceSchema as M, bookingReferenceYearMonthSchema as N, formatBookingReference as P, formatBookingReferenceYearMonth as F } from "./schemas/booking-reference-DLKcpIa4.js";
|
|
7
7
|
import { richTextJsonDocSchema as I, richTextSchema as L, richTextVersionSchema as R } from "./schemas/rich-text-DTRh7U3z.js";
|
|
8
8
|
import { isoDateSchema as z, shopConfigurationSchema as B, shopExtraTimeSlotRuleSchema as V, shopOpeningDayIndexSchema as H, shopOpeningDaySchema as U, shopOpeningHoursOverrideSchema as W, shopOpeningHoursPeriodSchema as G, shopOpeningSlotSchema as K, timeOfDaySchema as q } from "./schemas/shop-opening-hours-BlLD1gfz.js";
|
|
9
9
|
import { DEFAULT_CANCELLATION_POLICY as J, DEFAULT_PAYMENT_POLICIES as Y, cancellationPolicySchema as X, cancellationPolicyTierSchema as Z, paymentPoliciesSchema as Q } from "./schemas/booking-engine-configuration-CxKlxKCo.js";
|
|
10
10
|
import { fulfillmentModeSchema as $, publicBookingEngineConfigurationSchema as ee, publicCheckoutConfigurationSchema as te, publicCheckoutDynamicOptionsSchema as ne } from "./schemas/public-booking-engine-configuration-BwWn9aK0.js";
|
|
11
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as re, bookingCustomerInputSchema as ie, bookingDeliveryOptionSchema as ae, bookingScheduleInputSchema as oe, cartItemInputSchema as se, createBookingInputBaseSchema as ce, createBookingInputSchema as le, resolveBookingDeliveryOption as ue, validateBookingDeliveryAddress as de } from "./schemas/cart-inputs-
|
|
12
|
-
import { bookingInsuranceConsentSourceSchema as fe, bookingInsuranceItemSnapshotSchema as pe, bookingInsuranceSnapshotSchema as me, buildBookingInsuranceSnapshot as he, calculateInsuranceCalendarDays as ge, insuranceProviderSchema as _e } from "./schemas/insurance-
|
|
11
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as re, bookingCustomerInputSchema as ie, bookingDeliveryOptionSchema as ae, bookingScheduleInputSchema as oe, cartItemInputSchema as se, createBookingInputBaseSchema as ce, createBookingInputSchema as le, resolveBookingDeliveryOption as ue, validateBookingDeliveryAddress as de } from "./schemas/cart-inputs-CIeuiTzp.js";
|
|
12
|
+
import { bookingInsuranceConsentSourceSchema as fe, bookingInsuranceItemSnapshotSchema as pe, bookingInsuranceSnapshotSchema as me, buildBookingInsuranceSnapshot as he, calculateInsuranceCalendarDays as ge, insuranceProviderSchema as _e } from "./schemas/insurance-v2GZHSVq.js";
|
|
13
13
|
import { resolveOpeningHoursForDate as ve, resolveOpeningHoursPeriodForDate as ye } from "./utils/opening-hours-period-TCyLhzZw.js";
|
|
14
|
-
import "./schemas/base-product-
|
|
15
|
-
import { assetIdSchema as be, baseAssetSchema as xe, baseAssetStatusSchema as Se } from "./schemas/base-asset-
|
|
16
|
-
import { baseBookingItemSchema as Ce, baseBookingSchema as we, baseBookingStateSchema as Te } from "./schemas/base-booking-
|
|
14
|
+
import "./schemas/base-product-Dj-bv0QD.js";
|
|
15
|
+
import { assetIdSchema as be, baseAssetSchema as xe, baseAssetStatusSchema as Se } from "./schemas/base-asset-DtBfhenO.js";
|
|
16
|
+
import { baseBookingItemSchema as Ce, baseBookingSchema as we, baseBookingStateSchema as Te } from "./schemas/base-booking-D9S-zS-D.js";
|
|
17
17
|
export { k as BOOKING_REFERENCE_COUNTER_MIN_DIGITS, A as BOOKING_REFERENCE_REGEX, j as BOOKING_REFERENCE_YEAR_MONTH_REGEX, re as DEFAULT_BOOKING_DELIVERY_OPTION, J as DEFAULT_CANCELLATION_POLICY, Y 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, be as assetIdSchema, xe as baseAssetSchema, Se as baseAssetStatusSchema, Ce as baseBookingItemSchema, we as baseBookingSchema, Te as baseBookingStateSchema, v as bikeProductSchema, ie as bookingCustomerInputSchema, ae as bookingDeliveryOptionSchema, fe as bookingInsuranceConsentSourceSchema, pe as bookingInsuranceItemSnapshotSchema, me as bookingInsuranceSnapshotSchema, M as bookingReferenceSchema, N as bookingReferenceYearMonthSchema, oe as bookingScheduleInputSchema, he as buildBookingInsuranceSnapshot, ge as calculateInsuranceCalendarDays, X as cancellationPolicySchema, Z as cancellationPolicyTierSchema, se as cartItemInputSchema, ce as createBookingInputBaseSchema, le as createBookingInputSchema, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, y as eBikeProductSchema, P as formatBookingReference, F as formatBookingReferenceYearMonth, $ as fulfillmentModeSchema, t as getLocalizedStringValue, _e as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, z as isoDateSchema, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, Q 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, ee as publicBookingEngineConfigurationSchema, te as publicCheckoutConfigurationSchema, ne as publicCheckoutDynamicOptionsSchema, ue as resolveBookingDeliveryOption, ve as resolveOpeningHoursForDate, ye as resolveOpeningHoursPeriodForDate, I as richTextJsonDocSchema, L as richTextSchema, R as richTextVersionSchema, B as shopConfigurationSchema, V as shopExtraTimeSlotRuleSchema, H as shopOpeningDayIndexSchema, U as shopOpeningDaySchema, W as shopOpeningHoursOverrideSchema, G as shopOpeningHoursPeriodSchema, K as shopOpeningSlotSchema, u as signedMoneyMinorSchema, q as timeOfDaySchema, de as validateBookingDeliveryAddress };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveOpeningHoursForDate as e } from "../../chunks/pkg/booking-engine/dist/utils/opening-hours-period-TCyLhzZw.js";
|
|
2
|
-
import "../../chunks/pkg/booking-engine/dist/schemas-
|
|
2
|
+
import "../../chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
|
|
3
3
|
import { businessDateStringToDate as t, calendarDateToBusinessDateString as n, instantToBusinessDateTimeParts as r, normalizeBusinessDateString as i, parseTimeToMinutes as a } from "../../lib/booking-period.js";
|
|
4
4
|
//#region src/components/Footer/businessHoursStatus.ts
|
|
5
5
|
var o = 370, s = (e, r) => {
|
package/dist/index.js
CHANGED
|
@@ -3,18 +3,18 @@ import { createLocalizedStringEntry as e, getLocalizedStringValue as t, localize
|
|
|
3
3
|
import { currencyCodeSchema as a, currencyMinorUnitDigits as o, majorToMinor as s, minorToMajor as c, moneyMinorSchema as l, signedMoneyMinorSchema as u } from "./chunks/pkg/booking-engine/dist/schemas/money-CVoCY4of.js";
|
|
4
4
|
import { priceSchema as d, priceUnitSchema as f } from "./chunks/pkg/booking-engine/dist/models/Price-DCAgqkKh.js";
|
|
5
5
|
import { productIdSchema as p } from "./chunks/pkg/booking-engine/dist/schemas/product-id-ChdStzgp.js";
|
|
6
|
-
import { DEFAULT_PRODUCT_KIND as m, PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as h, PRODUCT_VARIANT_CODE_MAX_LENGTH as g, accessoryProductSchema as _, bikeProductSchema as v, eBikeProductSchema as y, isProductVariantCodeIdentifierKind as b, productInsuranceSchema as x, productKindSchema as S, productSchema as C, productStorefrontDisplayModeSchema as w, productVariantAttributeSchema as T, productVariantCodeSchema as E, productVariantIdentifierSchema as D, productVariantSchema as O } from "./chunks/pkg/booking-engine/dist/models/Product.shared-
|
|
6
|
+
import { DEFAULT_PRODUCT_KIND as m, PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as h, PRODUCT_VARIANT_CODE_MAX_LENGTH as g, accessoryProductSchema as _, bikeProductSchema as v, eBikeProductSchema as y, isProductVariantCodeIdentifierKind as b, productInsuranceSchema as x, productKindSchema as S, productSchema as C, productStorefrontDisplayModeSchema as w, productVariantAttributeSchema as T, productVariantCodeSchema as E, productVariantIdentifierSchema as D, productVariantSchema as O } from "./chunks/pkg/booking-engine/dist/models/Product.shared-JIXwUVrg.js";
|
|
7
7
|
import { BOOKING_REFERENCE_COUNTER_MIN_DIGITS as k, BOOKING_REFERENCE_REGEX as A, BOOKING_REFERENCE_YEAR_MONTH_REGEX as j, bookingReferenceSchema as M, bookingReferenceYearMonthSchema as N, formatBookingReference as P, formatBookingReferenceYearMonth as F } from "./chunks/pkg/booking-engine/dist/schemas/booking-reference-DLKcpIa4.js";
|
|
8
8
|
import { richTextJsonDocSchema as I, richTextSchema as L, richTextVersionSchema as R } from "./chunks/pkg/booking-engine/dist/schemas/rich-text-DTRh7U3z.js";
|
|
9
9
|
import { isoDateSchema as z, shopConfigurationSchema as B, shopExtraTimeSlotRuleSchema as V, shopOpeningDayIndexSchema as H, shopOpeningDaySchema as U, shopOpeningHoursOverrideSchema as W, shopOpeningHoursPeriodSchema as G, shopOpeningSlotSchema as K, timeOfDaySchema as q } from "./chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-BlLD1gfz.js";
|
|
10
10
|
import { DEFAULT_CANCELLATION_POLICY as J, DEFAULT_PAYMENT_POLICIES as Y, cancellationPolicySchema as X, cancellationPolicyTierSchema as Z, paymentPoliciesSchema as Q } from "./chunks/pkg/booking-engine/dist/schemas/booking-engine-configuration-CxKlxKCo.js";
|
|
11
11
|
import { fulfillmentModeSchema as $, publicBookingEngineConfigurationSchema as ee, publicCheckoutConfigurationSchema as te, publicCheckoutDynamicOptionsSchema as ne } from "./chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-BwWn9aK0.js";
|
|
12
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as re, bookingCustomerInputSchema as ie, bookingDeliveryOptionSchema as ae, bookingScheduleInputSchema as oe, cartItemInputSchema as se, createBookingInputBaseSchema as ce, createBookingInputSchema as le, resolveBookingDeliveryOption as ue, validateBookingDeliveryAddress as de } from "./chunks/pkg/booking-engine/dist/schemas/cart-inputs-
|
|
13
|
-
import { bookingInsuranceConsentSourceSchema as fe, bookingInsuranceItemSnapshotSchema as pe, bookingInsuranceSnapshotSchema as me, buildBookingInsuranceSnapshot as he, calculateInsuranceCalendarDays as ge, insuranceProviderSchema as _e } from "./chunks/pkg/booking-engine/dist/schemas/insurance-
|
|
12
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as re, bookingCustomerInputSchema as ie, bookingDeliveryOptionSchema as ae, bookingScheduleInputSchema as oe, cartItemInputSchema as se, createBookingInputBaseSchema as ce, createBookingInputSchema as le, resolveBookingDeliveryOption as ue, validateBookingDeliveryAddress as de } from "./chunks/pkg/booking-engine/dist/schemas/cart-inputs-CIeuiTzp.js";
|
|
13
|
+
import { bookingInsuranceConsentSourceSchema as fe, bookingInsuranceItemSnapshotSchema as pe, bookingInsuranceSnapshotSchema as me, buildBookingInsuranceSnapshot as he, calculateInsuranceCalendarDays as ge, insuranceProviderSchema as _e } from "./chunks/pkg/booking-engine/dist/schemas/insurance-v2GZHSVq.js";
|
|
14
14
|
import { resolveOpeningHoursForDate as ve, resolveOpeningHoursPeriodForDate as ye } from "./chunks/pkg/booking-engine/dist/utils/opening-hours-period-TCyLhzZw.js";
|
|
15
|
-
import { assetIdSchema as be, baseAssetSchema as xe, baseAssetStatusSchema as Se } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-
|
|
16
|
-
import { baseBookingItemSchema as Ce, baseBookingSchema as we, baseBookingStateSchema as Te } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-
|
|
17
|
-
import "./chunks/pkg/booking-engine/dist/schemas-
|
|
15
|
+
import { assetIdSchema as be, baseAssetSchema as xe, baseAssetStatusSchema as Se } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-DtBfhenO.js";
|
|
16
|
+
import { baseBookingItemSchema as Ce, baseBookingSchema as we, baseBookingStateSchema as Te } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-D9S-zS-D.js";
|
|
17
|
+
import "./chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
|
|
18
18
|
import { STOREFRONT_HERO_MODES as Ee, storefrontCheckoutModeSchema as De, storefrontConfigurationSchema as Oe, storefrontContentSchema as ke, storefrontFaqAdditionalLinkSchema as Ae, storefrontFaqItemSchema as je, storefrontFaqSchema as Me, storefrontFulfillmentModeSchema as Ne, storefrontHeroModeSchema as Pe, storefrontInformationSchema as Fe, storefrontLocalizedRichTextSchema as Ie, storefrontModalMessageSchema as Le, storefrontModulesSchema as Re, storefrontReviewsModuleSchema as ze, storefrontRichTextSchema as Be, storefrontSettingsSchema as Ve, storefrontShopSchema as He, storefrontStatusSchema as Ue, storefrontWorkspaceSchema as We } from "./storefrontSchemas.js";
|
|
19
19
|
import { BOOKING_SEARCH_KEYS as Ge, TIME_OPTIONS as Ke, applyBookingParamsToSearch as qe, createBookingPeriodConfigFromBookingEngineConfiguration as Je, createBookingPeriodConfigFromShopConfiguration as Ye, createBookingPeriodConfigFromStorefrontConfiguration as Xe, getBookingParamsFromSearch as Ze, getBookingSessionStorageKey as Qe, getDefaultBookingParams as $e, getDefaultBookingParamsForStorefrontConfiguration as et, pickBookingSearchParams as tt, readBookingSearchParamsFromSessionStorage as nt, readBookingSearchParamsFromStorage as rt, resolveBookingSearchParams as it, resolveBookingSearchParamsFromSessionStorage as at, writeBookingSearchParamsToSessionStorage as ot, writeBookingSearchParamsToStorage as st } from "./lib/booking.js";
|
|
20
20
|
import { getLocalizedEntry as ct, getLocalizedValue as lt } from "./localization.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __exportAll as e } from "../chunks/_virtual/_rolldown/runtime-B5ovbsoX.js";
|
|
2
2
|
import { resolveOpeningHoursForDate as t } from "../chunks/pkg/booking-engine/dist/utils/opening-hours-period-TCyLhzZw.js";
|
|
3
|
-
import "../chunks/pkg/booking-engine/dist/schemas-
|
|
3
|
+
import "../chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
|
|
4
4
|
//#region src/lib/booking-period.ts
|
|
5
5
|
var n = /* @__PURE__ */ e({
|
|
6
6
|
adjustBookingPeriod: () => M,
|
package/dist/lib/booking.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as e } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-
|
|
2
|
-
import "../chunks/pkg/booking-engine/dist/schemas-
|
|
1
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as e } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-CIeuiTzp.js";
|
|
2
|
+
import "../chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
|
|
3
3
|
import { getDefaultBookingPeriod as t, parseTimeToMinutes as n } from "./booking-period.js";
|
|
4
4
|
import { format as r } from "date-fns";
|
|
5
5
|
//#region src/lib/booking.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { productKindSchema as e } from "../chunks/pkg/booking-engine/dist/models/Product.shared-
|
|
1
|
+
import { productKindSchema as e } from "../chunks/pkg/booking-engine/dist/models/Product.shared-JIXwUVrg.js";
|
|
2
2
|
import { bookingReferenceSchema as t } from "../chunks/pkg/booking-engine/dist/schemas/booking-reference-DLKcpIa4.js";
|
|
3
|
-
import { DEFAULT_BOOKING_DELIVERY_OPTION as n, bookingScheduleInputSchema as r } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-
|
|
4
|
-
import "../chunks/pkg/booking-engine/dist/schemas-
|
|
3
|
+
import { DEFAULT_BOOKING_DELIVERY_OPTION as n, bookingScheduleInputSchema as r } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-CIeuiTzp.js";
|
|
4
|
+
import "../chunks/pkg/booking-engine/dist/schemas-B82mPOxs.js";
|
|
5
5
|
import { storefrontFulfillmentModeSchema as i } from "../storefrontSchemas.js";
|
|
6
6
|
import { z as a } from "zod";
|
|
7
7
|
//#region src/lib/checkoutSubmit.ts
|