@loczer/storefront-sdk 0.182.0 → 0.183.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 +18 -15
- package/dist/StorefrontProvider.d.ts.map +1 -1
- package/dist/StorefrontProvider.js +24 -34
- package/dist/chunks/booking-engine/dist/models/{Product.shared-CJ6vPb6n.js → Product.shared-CTuk4fiR.js} +2 -2
- package/dist/chunks/booking-engine/dist/schemas/{base-asset-PqhtKnZA.js → base-asset-B_Dm8_Vk.js} +1 -1
- package/dist/chunks/booking-engine/dist/schemas/{base-booking-BM3jZzqu.js → base-booking-DW8AEPKo.js} +1 -1
- package/dist/chunks/booking-engine/dist/schemas/{base-product-BJd4ttMP.js → base-product-1H8l2aUv.js} +1 -1
- package/dist/chunks/booking-engine/dist/{schemas-BNlwu75Z.js → schemas-34QQv0EH.js} +4 -4
- package/dist/chunks/ui/dist/Map/{MapContent--PwVTg2W.js → MapContent-QPkuTBvK.js} +2 -2
- package/dist/chunks/ui/dist/Map/{constants-DqrK8UkE.js → constants-BNmiJXfg.js} +1 -1
- package/dist/chunks/ui/dist/{Map-B45AxZ-D.js → Map-BXmRf5Ep.js} +3 -3
- package/dist/chunks/ui/dist/static/strings-1T2w7LqX.js +4 -0
- package/dist/components/AboutSection/index.d.ts +1 -6
- package/dist/components/AboutSection/index.d.ts.map +1 -1
- package/dist/components/AboutSection/index.js +43 -39
- package/dist/components/ContactSection/index.d.ts +1 -3
- package/dist/components/ContactSection/index.d.ts.map +1 -1
- package/dist/components/ContactSection/index.js +222 -164
- package/dist/components/Footer/index.d.ts +3 -4
- package/dist/components/Footer/index.d.ts.map +1 -1
- package/dist/components/Footer/index.js +98 -69
- package/dist/components/FulfillmentSection/index.d.ts.map +1 -1
- package/dist/components/FulfillmentSection/index.js +17 -16
- package/dist/components/Header/index.d.ts +1 -3
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +77 -72
- package/dist/components/Layout/index.d.ts +3 -1
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/Layout/index.js +45 -47
- package/dist/components/Map/index.js +1 -1
- package/dist/components/ProductPriceBadge/index.d.ts.map +1 -1
- package/dist/components/ProductPriceBadge/index.js +68 -60
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/fr.js +1 -1
- package/dist/index.d.ts +151 -150
- package/dist/index.js +62 -62
- package/dist/lib/cart.d.ts +4 -1
- package/dist/lib/cart.d.ts.map +1 -1
- package/dist/lib/cart.js +64 -40
- package/dist/lib/cartSummary.d.ts.map +1 -1
- package/dist/lib/cartSummary.js +4 -3
- package/dist/lib/checkoutSubmit.js +2 -2
- package/dist/lib/productVariants.d.ts.map +1 -1
- package/dist/lib/productVariants.js +20 -9
- package/dist/lib/storefrontAddress.d.ts +5 -0
- package/dist/lib/storefrontAddress.d.ts.map +1 -0
- package/dist/lib/storefrontAddress.js +24 -0
- package/dist/lib/storefrontAvailability.d.ts +6 -6
- package/dist/lib/storefrontContact.d.ts +10 -0
- package/dist/lib/storefrontContact.d.ts.map +1 -0
- package/dist/lib/storefrontContact.js +24 -0
- package/dist/lib/storefrontMissingValues.d.ts +5 -0
- package/dist/lib/storefrontMissingValues.d.ts.map +1 -0
- package/dist/lib/storefrontMissingValues.js +4 -0
- package/dist/lib/storefrontProducts.d.ts +23 -21
- package/dist/lib/storefrontProducts.d.ts.map +1 -1
- package/dist/lib/storefrontProducts.js +7 -5
- package/dist/lib/whatsapp.d.ts +8 -6
- package/dist/lib/whatsapp.d.ts.map +1 -1
- package/dist/lib/whatsapp.js +16 -43
- package/dist/pages/BookingPage.js +36 -36
- package/dist/pages/HomePage.d.ts.map +1 -1
- package/dist/pages/HomePage.js +126 -128
- package/dist/pages/ProductPage.js +160 -160
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.d.ts +14 -12
- package/dist/storefrontSchemas.d.ts.map +1 -1
- package/dist/storefrontSchemas.js +3 -2
- package/dist/ui/radio-group.d.ts +1 -1
- package/package.json +7 -6
- package/dist/chunks/ui/dist/static/strings-CPnO-KbA.js +0 -4
- package/dist/data/config.d.ts +0 -15
- package/dist/data/config.d.ts.map +0 -1
- package/dist/data/config.js +0 -24
- package/dist/static/strings.d.ts +0 -2
- package/dist/static/strings.d.ts.map +0 -1
- package/dist/static/strings.js +0 -4
|
@@ -37,11 +37,11 @@ export declare const storefrontSettingsSchema: z.ZodObject<{
|
|
|
37
37
|
}>;
|
|
38
38
|
availabilityDisplay: z.ZodObject<{
|
|
39
39
|
defaultMode: z.ZodEnum<{
|
|
40
|
-
soldOutOnly: "soldOutOnly";
|
|
41
|
-
soldOutAndFewRemaining: "soldOutAndFewRemaining";
|
|
42
40
|
fewRemaining: "fewRemaining";
|
|
43
41
|
fewRemainingCounts: "fewRemainingCounts";
|
|
44
42
|
remainingCounts: "remainingCounts";
|
|
43
|
+
soldOutAndFewRemaining: "soldOutAndFewRemaining";
|
|
44
|
+
soldOutOnly: "soldOutOnly";
|
|
45
45
|
}>;
|
|
46
46
|
defaultFewRemainingThreshold: z.ZodOptional<z.ZodNumber>;
|
|
47
47
|
}, z.core.$strip>;
|
|
@@ -58,6 +58,7 @@ export declare const storefrontShopSchema: z.ZodObject<{
|
|
|
58
58
|
id: z.ZodString;
|
|
59
59
|
slug: z.ZodOptional<z.ZodString>;
|
|
60
60
|
name: z.ZodString;
|
|
61
|
+
logoImageId: z.ZodOptional<z.ZodString>;
|
|
61
62
|
timeZone: z.ZodOptional<z.ZodString>;
|
|
62
63
|
url: z.ZodOptional<z.ZodString>;
|
|
63
64
|
googleMapsLink: z.ZodOptional<z.ZodString>;
|
|
@@ -284,6 +285,7 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
284
285
|
id: z.ZodString;
|
|
285
286
|
slug: z.ZodOptional<z.ZodString>;
|
|
286
287
|
name: z.ZodString;
|
|
288
|
+
logoImageId: z.ZodOptional<z.ZodString>;
|
|
287
289
|
timeZone: z.ZodOptional<z.ZodString>;
|
|
288
290
|
url: z.ZodOptional<z.ZodString>;
|
|
289
291
|
googleMapsLink: z.ZodOptional<z.ZodString>;
|
|
@@ -307,11 +309,11 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
307
309
|
}>;
|
|
308
310
|
availabilityDisplay: z.ZodObject<{
|
|
309
311
|
defaultMode: z.ZodEnum<{
|
|
310
|
-
soldOutOnly: "soldOutOnly";
|
|
311
|
-
soldOutAndFewRemaining: "soldOutAndFewRemaining";
|
|
312
312
|
fewRemaining: "fewRemaining";
|
|
313
313
|
fewRemainingCounts: "fewRemainingCounts";
|
|
314
314
|
remainingCounts: "remainingCounts";
|
|
315
|
+
soldOutAndFewRemaining: "soldOutAndFewRemaining";
|
|
316
|
+
soldOutOnly: "soldOutOnly";
|
|
315
317
|
}>;
|
|
316
318
|
defaultFewRemainingThreshold: z.ZodOptional<z.ZodNumber>;
|
|
317
319
|
}, z.core.$strip>;
|
|
@@ -325,7 +327,7 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
325
327
|
}, z.core.$strip>;
|
|
326
328
|
bookingEngine: z.ZodType<{
|
|
327
329
|
availabilityDisplay: {
|
|
328
|
-
defaultMode: "
|
|
330
|
+
defaultMode: "fewRemaining" | "fewRemainingCounts" | "remainingCounts" | "soldOutAndFewRemaining" | "soldOutOnly";
|
|
329
331
|
defaultFewRemainingThreshold?: number | undefined;
|
|
330
332
|
};
|
|
331
333
|
holdSettings: {
|
|
@@ -333,9 +335,9 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
333
335
|
defaultTtlMinutes: number;
|
|
334
336
|
};
|
|
335
337
|
pricing: {
|
|
336
|
-
baseUnit: "
|
|
338
|
+
baseUnit: "day" | "half_day" | "hour" | "month" | "week";
|
|
337
339
|
rentalUnits: {
|
|
338
|
-
unit: "
|
|
340
|
+
unit: "day" | "half_day" | "hour" | "month" | "week";
|
|
339
341
|
durationHours: number;
|
|
340
342
|
label?: Record<string, {
|
|
341
343
|
[x: string]: unknown;
|
|
@@ -389,7 +391,7 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
389
391
|
extraAmount: number;
|
|
390
392
|
}[] | undefined;
|
|
391
393
|
};
|
|
392
|
-
currency: "
|
|
394
|
+
currency: "CHF" | "EUR" | "GBP" | "USD";
|
|
393
395
|
checkout: {
|
|
394
396
|
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
395
397
|
dynamicOptions?: {
|
|
@@ -399,7 +401,7 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
399
401
|
};
|
|
400
402
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
401
403
|
availabilityDisplay: {
|
|
402
|
-
defaultMode: "
|
|
404
|
+
defaultMode: "fewRemaining" | "fewRemainingCounts" | "remainingCounts" | "soldOutAndFewRemaining" | "soldOutOnly";
|
|
403
405
|
defaultFewRemainingThreshold?: number | undefined;
|
|
404
406
|
};
|
|
405
407
|
holdSettings: {
|
|
@@ -407,9 +409,9 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
407
409
|
defaultTtlMinutes: number;
|
|
408
410
|
};
|
|
409
411
|
pricing: {
|
|
410
|
-
baseUnit: "
|
|
412
|
+
baseUnit: "day" | "half_day" | "hour" | "month" | "week";
|
|
411
413
|
rentalUnits: {
|
|
412
|
-
unit: "
|
|
414
|
+
unit: "day" | "half_day" | "hour" | "month" | "week";
|
|
413
415
|
durationHours: number;
|
|
414
416
|
label?: Record<string, {
|
|
415
417
|
[x: string]: unknown;
|
|
@@ -463,7 +465,7 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
|
463
465
|
extraAmount: number;
|
|
464
466
|
}[] | undefined;
|
|
465
467
|
};
|
|
466
|
-
currency: "
|
|
468
|
+
currency: "CHF" | "EUR" | "GBP" | "USD";
|
|
467
469
|
checkout: {
|
|
468
470
|
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
469
471
|
dynamicOptions?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storefrontSchemas.d.ts","sourceRoot":"","sources":["../src/storefrontSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwBvB,eAAO,MAAM,wBAAwB;;;;;kBAO1B,CAAA;AACX,eAAO,MAAM,iCAAiC;;;;;mBAE5C,CAAA;AA0CF,eAAO,MAAM,sBAAsB;;;EAAuC,CAAA;AAC1E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,eAAO,MAAM,4BAA4B;;;EAAqE,CAAA;AAC9G,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAEjF,eAAO,MAAM,+BAA+B;;;EAAiC,CAAA;AAC7E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAIvF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQnC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEzE,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"storefrontSchemas.d.ts","sourceRoot":"","sources":["../src/storefrontSchemas.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { timeOfDaySchema as e } from "./chunks/booking-engine/dist/schemas/shop-opening-hours-BlLD1gfz.js";
|
|
2
2
|
import { publicBookingEngineConfigurationSchema as t } from "./chunks/booking-engine/dist/schemas/public-booking-engine-configuration-BnJ_H-p1.js";
|
|
3
|
-
import "./chunks/booking-engine/dist/schemas-
|
|
3
|
+
import "./chunks/booking-engine/dist/schemas-34QQv0EH.js";
|
|
4
4
|
import { z as n } from "zod";
|
|
5
5
|
//#region src/storefrontSchemas.ts
|
|
6
|
-
var r = n.string().trim().regex(/^\+[1-9]\d{1,14}$/, { message: "Invalid phone number format (expected E.164, e.g. +
|
|
6
|
+
var r = n.string().trim().regex(/^\+[1-9]\d{1,14}$/, { message: "Invalid phone number format (expected E.164, e.g. +14155552671)." }), i = n.object({
|
|
7
7
|
value: n.string().trim().min(1),
|
|
8
8
|
updatedAt: n.coerce.date(),
|
|
9
9
|
autoTranslated: n.boolean().optional()
|
|
@@ -44,6 +44,7 @@ var r = n.string().trim().regex(/^\+[1-9]\d{1,14}$/, { message: "Invalid phone n
|
|
|
44
44
|
id: n.string().min(1),
|
|
45
45
|
slug: n.string().min(1).optional(),
|
|
46
46
|
name: n.string().min(1),
|
|
47
|
+
logoImageId: n.string().min(1).optional(),
|
|
47
48
|
timeZone: n.string().min(1).optional(),
|
|
48
49
|
url: n.string().min(1).optional(),
|
|
49
50
|
googleMapsLink: n.string().min(1).optional(),
|
package/dist/ui/radio-group.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "
|
|
2
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
3
3
|
value?: string;
|
|
4
4
|
defaultValue?: string;
|
|
5
5
|
onValueChange?: (value: string) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loczer/storefront-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.183.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"typecheck": {
|
|
76
|
-
"command": "
|
|
76
|
+
"command": "tsc --noEmit",
|
|
77
77
|
"dependencies": [
|
|
78
78
|
"../booking-engine:build",
|
|
79
79
|
"../ui:types:build"
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
113
|
"test": {
|
|
114
|
-
"command": "
|
|
114
|
+
"command": "tsc --noEmit && playwright test",
|
|
115
115
|
"dependencies": [
|
|
116
116
|
"../booking-engine:build",
|
|
117
117
|
"../ui:build"
|
|
@@ -146,12 +146,12 @@
|
|
|
146
146
|
"class-variance-authority": "0.7.1",
|
|
147
147
|
"date-fns": "4.1.0",
|
|
148
148
|
"html-to-image": "1.11.13",
|
|
149
|
-
"i18next": "
|
|
149
|
+
"i18next": "26.3.6",
|
|
150
150
|
"interactjs": "1.10.27",
|
|
151
151
|
"lucide-react": "1.22.0",
|
|
152
152
|
"qrcode": "1.5.4",
|
|
153
153
|
"react-day-picker": "9.13.0",
|
|
154
|
-
"react-i18next": "
|
|
154
|
+
"react-i18next": "17.0.10",
|
|
155
155
|
"react-signature-canvas": "1.1.0-alpha.2",
|
|
156
156
|
"unicode-segmenter": "0.17.0"
|
|
157
157
|
},
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"@lz/booking-engine": "0.0.0",
|
|
160
160
|
"@lz/ui": "0.0.0",
|
|
161
161
|
"@microsoft/api-extractor": "7.58.8",
|
|
162
|
-
"@playwright/test": "1.61.
|
|
162
|
+
"@playwright/test": "1.61.1",
|
|
163
163
|
"@tailwindcss/vite": "4.3.3",
|
|
164
164
|
"@types/qrcode": "1.5.6",
|
|
165
165
|
"@types/react-signature-canvas": "1.0.7",
|
|
@@ -168,6 +168,7 @@
|
|
|
168
168
|
"react-dom": "19.2.7",
|
|
169
169
|
"tailwindcss": "4.3.3",
|
|
170
170
|
"tw-animate-css": "1.4.0",
|
|
171
|
+
"typescript": "7.0.2",
|
|
171
172
|
"vite": "8.1.5",
|
|
172
173
|
"vite-plugin-dts": "4.5.4"
|
|
173
174
|
}
|
package/dist/data/config.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type StorefrontPreset = {
|
|
2
|
-
name: string;
|
|
3
|
-
tagline: string;
|
|
4
|
-
hero_title: string;
|
|
5
|
-
hero_description: string;
|
|
6
|
-
address: string;
|
|
7
|
-
email: string;
|
|
8
|
-
phone_display: string;
|
|
9
|
-
phone_href: string;
|
|
10
|
-
whatsapp_href: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const DEFAULT_STOREFRONT_PRESET: StorefrontPreset;
|
|
13
|
-
export declare const STOREFRONT_PRESETS: Record<string, StorefrontPreset>;
|
|
14
|
-
export declare const getStorefrontPreset: (storeSlug?: string | null) => StorefrontPreset;
|
|
15
|
-
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/data/config.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,gBAUvC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAY/D,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,YAAY,MAAM,GAAG,IAAI,KAAG,gBAG/D,CAAA"}
|
package/dist/data/config.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region src/data/config.ts
|
|
2
|
-
var e = {
|
|
3
|
-
name: "Storefront",
|
|
4
|
-
tagline: "Bike rentals",
|
|
5
|
-
hero_title: "Bike rental made simple",
|
|
6
|
-
hero_description: "Pick your dates, then choose the right bike in a few clicks.",
|
|
7
|
-
address: "Pickup at the shop",
|
|
8
|
-
email: "contact@example.com",
|
|
9
|
-
phone_display: "+1 (555) 555-5555",
|
|
10
|
-
phone_href: "tel:+15555555555",
|
|
11
|
-
whatsapp_href: "https://wa.me/15555555555"
|
|
12
|
-
}, t = { "ca-roule": {
|
|
13
|
-
name: "ÇA-ROULE.FR",
|
|
14
|
-
tagline: "Loire Valley Bikes",
|
|
15
|
-
hero_title: "Bike rental in Tours",
|
|
16
|
-
hero_description: "Easily rent electric and regular bikes to discover the Loire by Bike.",
|
|
17
|
-
address: "21 Rue des Amandiers, 37000 Tours",
|
|
18
|
-
email: "contact@ca-roule.fr",
|
|
19
|
-
phone_display: "+33 (0)6 08 70 71 97",
|
|
20
|
-
phone_href: "tel:+33608707197",
|
|
21
|
-
whatsapp_href: "https://wa.me/33608707197?text=Hello%20I%20would%20like%20to%20rent%20some%20bikes"
|
|
22
|
-
} }, n = (n) => n ? t[n] ?? e : e;
|
|
23
|
-
//#endregion
|
|
24
|
-
export { e as DEFAULT_STOREFRONT_PRESET, t as STOREFRONT_PRESETS, n as getStorefrontPreset };
|
package/dist/static/strings.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../src/static/strings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAA2C,CAAA"}
|
package/dist/static/strings.js
DELETED