@loczer/storefront-sdk 0.226.0 → 0.228.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/{schemas-DGn2a1my.js → schemas-DW5gdDYz.js} +4 -3
- package/dist/chunks/pkg/booking-engine/dist/utils/opening-hours-period-TCyLhzZw.js +82 -0
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.js +21 -4
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/InvoiceDetails.js +83 -28
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/SignatureModal.js +59 -101
- package/dist/components/Footer/businessHoursStatus.d.ts.map +1 -1
- package/dist/components/Footer/businessHoursStatus.js +21 -36
- package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -1
- package/dist/components/Footer/businessHoursUtils.js +2 -1
- package/dist/components/SignatureInput/index.js +74 -0
- package/dist/components/SignatureInput.d.ts +12 -0
- package/dist/components/SignatureInput.d.ts.map +1 -0
- package/dist/i18n/en.d.ts +7 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +7 -0
- package/dist/i18n/fr.d.ts +7 -0
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +7 -0
- package/dist/index.d.ts +163 -0
- package/dist/index.js +76 -74
- package/dist/lib/booking-period.d.ts.map +1 -1
- package/dist/lib/booking-period.js +120 -138
- package/dist/lib/booking.js +1 -1
- package/dist/lib/checkoutSubmit.js +1 -1
- package/dist/lib/contractSaleDocument.d.ts +42 -0
- package/dist/lib/contractSaleDocument.d.ts.map +1 -1
- package/dist/lib/contractSaleDocument.js +41 -30
- package/dist/lib/contractSaleDocumentApi.d.ts +63 -0
- package/dist/lib/contractSaleDocumentApi.d.ts.map +1 -1
- package/dist/pages/ContractSaleDocumentPage.d.ts +21 -0
- package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -1
- package/dist/storefront.css +1 -1
- package/dist/storefrontSchemas.js +1 -1
- package/package.json +1 -1
|
@@ -84,6 +84,16 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
|
|
|
84
84
|
}, z.core.$strict>>;
|
|
85
85
|
email: z.ZodOptional<z.ZodString>;
|
|
86
86
|
phone: z.ZodOptional<z.ZodString>;
|
|
87
|
+
legalIdentity: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
legalName: z.ZodOptional<z.ZodString>;
|
|
89
|
+
registeredAddress: z.ZodOptional<z.ZodString>;
|
|
90
|
+
companyRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
91
|
+
establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
92
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
93
|
+
legalForm: z.ZodOptional<z.ZodString>;
|
|
94
|
+
shareCapital: z.ZodOptional<z.ZodString>;
|
|
95
|
+
tradeRegister: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, z.core.$strict>>;
|
|
87
97
|
}, z.core.$strip>;
|
|
88
98
|
recipient: z.ZodObject<{
|
|
89
99
|
name: z.ZodString;
|
|
@@ -108,6 +118,16 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
|
|
|
108
118
|
}, z.core.$strict>>;
|
|
109
119
|
email: z.ZodOptional<z.ZodString>;
|
|
110
120
|
phone: z.ZodOptional<z.ZodString>;
|
|
121
|
+
legalIdentity: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
legalName: z.ZodOptional<z.ZodString>;
|
|
123
|
+
registeredAddress: z.ZodOptional<z.ZodString>;
|
|
124
|
+
companyRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
125
|
+
establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
126
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
127
|
+
legalForm: z.ZodOptional<z.ZodString>;
|
|
128
|
+
shareCapital: z.ZodOptional<z.ZodString>;
|
|
129
|
+
tradeRegister: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, z.core.$strict>>;
|
|
111
131
|
}, z.core.$strip>;
|
|
112
132
|
items: z.ZodArray<z.ZodObject<{
|
|
113
133
|
id: z.ZodNumber;
|
|
@@ -142,6 +162,7 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
|
|
|
142
162
|
acceptance: "acceptance";
|
|
143
163
|
signature: "signature";
|
|
144
164
|
}>>;
|
|
165
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
145
166
|
notes: z.ZodOptional<z.ZodString>;
|
|
146
167
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
147
168
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -252,6 +273,16 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
252
273
|
}, z.core.$strict>>;
|
|
253
274
|
email: z.ZodOptional<z.ZodString>;
|
|
254
275
|
phone: z.ZodOptional<z.ZodString>;
|
|
276
|
+
legalIdentity: z.ZodOptional<z.ZodObject<{
|
|
277
|
+
legalName: z.ZodOptional<z.ZodString>;
|
|
278
|
+
registeredAddress: z.ZodOptional<z.ZodString>;
|
|
279
|
+
companyRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
280
|
+
establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
281
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
282
|
+
legalForm: z.ZodOptional<z.ZodString>;
|
|
283
|
+
shareCapital: z.ZodOptional<z.ZodString>;
|
|
284
|
+
tradeRegister: z.ZodOptional<z.ZodString>;
|
|
285
|
+
}, z.core.$strict>>;
|
|
255
286
|
}, z.core.$strip>;
|
|
256
287
|
recipient: z.ZodObject<{
|
|
257
288
|
name: z.ZodString;
|
|
@@ -276,6 +307,16 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
276
307
|
}, z.core.$strict>>;
|
|
277
308
|
email: z.ZodOptional<z.ZodString>;
|
|
278
309
|
phone: z.ZodOptional<z.ZodString>;
|
|
310
|
+
legalIdentity: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
legalName: z.ZodOptional<z.ZodString>;
|
|
312
|
+
registeredAddress: z.ZodOptional<z.ZodString>;
|
|
313
|
+
companyRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
314
|
+
establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
315
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
316
|
+
legalForm: z.ZodOptional<z.ZodString>;
|
|
317
|
+
shareCapital: z.ZodOptional<z.ZodString>;
|
|
318
|
+
tradeRegister: z.ZodOptional<z.ZodString>;
|
|
319
|
+
}, z.core.$strict>>;
|
|
279
320
|
}, z.core.$strip>;
|
|
280
321
|
items: z.ZodArray<z.ZodObject<{
|
|
281
322
|
id: z.ZodNumber;
|
|
@@ -310,6 +351,7 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
310
351
|
acceptance: "acceptance";
|
|
311
352
|
signature: "signature";
|
|
312
353
|
}>>;
|
|
354
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
313
355
|
notes: z.ZodOptional<z.ZodString>;
|
|
314
356
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
315
357
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -407,6 +449,16 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
407
449
|
}, z.core.$strict>>;
|
|
408
450
|
email: z.ZodOptional<z.ZodString>;
|
|
409
451
|
phone: z.ZodOptional<z.ZodString>;
|
|
452
|
+
legalIdentity: z.ZodOptional<z.ZodObject<{
|
|
453
|
+
legalName: z.ZodOptional<z.ZodString>;
|
|
454
|
+
registeredAddress: z.ZodOptional<z.ZodString>;
|
|
455
|
+
companyRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
456
|
+
establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
457
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
458
|
+
legalForm: z.ZodOptional<z.ZodString>;
|
|
459
|
+
shareCapital: z.ZodOptional<z.ZodString>;
|
|
460
|
+
tradeRegister: z.ZodOptional<z.ZodString>;
|
|
461
|
+
}, z.core.$strict>>;
|
|
410
462
|
}, z.core.$strip>;
|
|
411
463
|
recipient: z.ZodObject<{
|
|
412
464
|
name: z.ZodString;
|
|
@@ -431,6 +483,16 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
431
483
|
}, z.core.$strict>>;
|
|
432
484
|
email: z.ZodOptional<z.ZodString>;
|
|
433
485
|
phone: z.ZodOptional<z.ZodString>;
|
|
486
|
+
legalIdentity: z.ZodOptional<z.ZodObject<{
|
|
487
|
+
legalName: z.ZodOptional<z.ZodString>;
|
|
488
|
+
registeredAddress: z.ZodOptional<z.ZodString>;
|
|
489
|
+
companyRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
490
|
+
establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
|
|
491
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
492
|
+
legalForm: z.ZodOptional<z.ZodString>;
|
|
493
|
+
shareCapital: z.ZodOptional<z.ZodString>;
|
|
494
|
+
tradeRegister: z.ZodOptional<z.ZodString>;
|
|
495
|
+
}, z.core.$strict>>;
|
|
434
496
|
}, z.core.$strip>;
|
|
435
497
|
items: z.ZodArray<z.ZodObject<{
|
|
436
498
|
id: z.ZodNumber;
|
|
@@ -465,6 +527,7 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
465
527
|
acceptance: "acceptance";
|
|
466
528
|
signature: "signature";
|
|
467
529
|
}>>;
|
|
530
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
468
531
|
notes: z.ZodOptional<z.ZodString>;
|
|
469
532
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
470
533
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contractSaleDocumentApi.d.ts","sourceRoot":"","sources":["../../src/lib/contractSaleDocumentApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsBvB,eAAO,MAAM,uCAAuC;;;EAA8B,CAAA;AAClF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAA;AAEvG,eAAO,MAAM,mCAAmC;;;;;;;;iBAK9C,CAAA;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAE/F,eAAO,MAAM,uCAAuC;;;iBAElD,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAA;AAEvG,eAAO,MAAM,sCAAsC;;;;;;iBAEjD,CAAA;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAErG,eAAO,MAAM,6CAA6C;;;;;;;;;2BAGxD,CAAA;AACF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAA;AAEnH,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"contractSaleDocumentApi.d.ts","sourceRoot":"","sources":["../../src/lib/contractSaleDocumentApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsBvB,eAAO,MAAM,uCAAuC;;;EAA8B,CAAA;AAClF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAA;AAEvG,eAAO,MAAM,mCAAmC;;;;;;;;iBAK9C,CAAA;A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|
phone?: string | undefined;
|
|
50
|
+
legalIdentity?: {
|
|
51
|
+
legalName?: string | undefined;
|
|
52
|
+
registeredAddress?: string | undefined;
|
|
53
|
+
companyRegistrationNumber?: string | undefined;
|
|
54
|
+
establishmentRegistrationNumber?: string | undefined;
|
|
55
|
+
vatNumber?: string | undefined;
|
|
56
|
+
legalForm?: string | undefined;
|
|
57
|
+
shareCapital?: string | undefined;
|
|
58
|
+
tradeRegister?: string | undefined;
|
|
59
|
+
} | undefined;
|
|
50
60
|
};
|
|
51
61
|
recipient: {
|
|
52
62
|
name: string;
|
|
@@ -71,6 +81,16 @@ export declare const loader: ({ ctx, params, request }: ContractSaleDocumentLoad
|
|
|
71
81
|
} | undefined;
|
|
72
82
|
email?: string | undefined;
|
|
73
83
|
phone?: string | undefined;
|
|
84
|
+
legalIdentity?: {
|
|
85
|
+
legalName?: string | undefined;
|
|
86
|
+
registeredAddress?: string | undefined;
|
|
87
|
+
companyRegistrationNumber?: string | undefined;
|
|
88
|
+
establishmentRegistrationNumber?: string | undefined;
|
|
89
|
+
vatNumber?: string | undefined;
|
|
90
|
+
legalForm?: string | undefined;
|
|
91
|
+
shareCapital?: string | undefined;
|
|
92
|
+
tradeRegister?: string | undefined;
|
|
93
|
+
} | undefined;
|
|
74
94
|
};
|
|
75
95
|
items: {
|
|
76
96
|
id: number;
|
|
@@ -103,6 +123,7 @@ export declare const loader: ({ ctx, params, request }: ContractSaleDocumentLoad
|
|
|
103
123
|
translation?: "fr" | "en" | undefined;
|
|
104
124
|
} | undefined;
|
|
105
125
|
taxRate?: number | undefined;
|
|
126
|
+
issuerSignature?: string | undefined;
|
|
106
127
|
notes?: string | undefined;
|
|
107
128
|
rental?: {
|
|
108
129
|
bookingNumber: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContractSaleDocumentPage.d.ts","sourceRoot":"","sources":["../../src/pages/ContractSaleDocumentPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAmC7C,eAAO,MAAM,mCAAmC,GAAI,QAAQ,MAAM,KAAG,MAAM,GAAG,IAe7E,CAAA;AA0KD,KAAK,8BAA8B,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG;IAC5D,OAAO,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,MAAM,6BAAqC,8BAA8B
|
|
1
|
+
{"version":3,"file":"ContractSaleDocumentPage.d.ts","sourceRoot":"","sources":["../../src/pages/ContractSaleDocumentPage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAmC7C,eAAO,MAAM,mCAAmC,GAAI,QAAQ,MAAM,KAAG,MAAM,GAAG,IAe7E,CAAA;AA0KD,KAAK,8BAA8B,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG;IAC5D,OAAO,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,MAAM,6BAAqC,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEnE,CAAA;AAYnB,MAAM,CAAC,OAAO,UAAU,wBAAwB,4CA8P/C"}
|