@loczer/storefront-sdk 0.227.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/components/ContractSaleDocument/DocumentAcceptanceSection.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/DocumentAcceptanceSection.js +21 -4
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -1
- package/dist/components/ContractSaleDocument/SignatureModal.js +59 -101
- 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 +1 -0
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +1 -0
- package/dist/i18n/fr.d.ts +1 -0
- package/dist/i18n/fr.d.ts.map +1 -1
- package/dist/i18n/fr.js +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +14 -13
- package/dist/lib/contractSaleDocument.d.ts +1 -0
- package/dist/lib/contractSaleDocument.d.ts.map +1 -1
- package/dist/lib/contractSaleDocument.js +1 -0
- package/dist/lib/contractSaleDocumentApi.d.ts +3 -0
- package/dist/lib/contractSaleDocumentApi.d.ts.map +1 -1
- package/dist/pages/ContractSaleDocumentPage.d.ts +1 -0
- package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentAcceptanceSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/DocumentAcceptanceSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAIvC,KAAK,8BAA8B,GAAG;IACpC,YAAY,EAAE,oBAAoB,CAAA;IAClC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,OAAe,GAChB,EAAE,8BAA8B,
|
|
1
|
+
{"version":3,"file":"DocumentAcceptanceSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/DocumentAcceptanceSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAIvC,KAAK,8BAA8B,GAAG;IACpC,YAAY,EAAE,oBAAoB,CAAA;IAClC,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,wBAAgB,yBAAyB,CAAC,EACxC,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,OAAe,GAChB,EAAE,8BAA8B,kDA2IhC"}
|
|
@@ -4,11 +4,11 @@ import { useTranslation as i } from "react-i18next";
|
|
|
4
4
|
import { cn as a } from "@rpcbase/ui";
|
|
5
5
|
//#region src/components/ContractSaleDocument/DocumentAcceptanceSection.tsx
|
|
6
6
|
function o({ saleDocument: o, documentLanguage: s, formatDate: c, className: l, compact: u = !1 }) {
|
|
7
|
-
let { t: d } = i(), f = (t, n = {}) => e(d, s, t, n), p = o.acceptance?.mode === "signature" ? o.acceptance : null, m = o.acceptance?.mode === "acceptance" ? o.acceptance : null, h = o.acceptanceLevel === "signature" || p !== null;
|
|
7
|
+
let { t: d } = i(), f = (t, n = {}) => e(d, s, t, n), p = o.acceptance?.mode === "signature" ? o.acceptance : null, m = o.acceptance?.mode === "acceptance" ? o.acceptance : null, h = p ? o.issuerSignature : null, g = o.acceptanceLevel === "signature" || p !== null;
|
|
8
8
|
return o.acceptanceLevel === "none" && !o.acceptance ? null : /* @__PURE__ */ n("section", {
|
|
9
9
|
className: a("mt-auto border-t border-border", u ? "pt-3" : "pt-8", l),
|
|
10
10
|
"data-testid": "contract-sale-document-acceptance-section",
|
|
11
|
-
children:
|
|
11
|
+
children: g ? /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n("p", {
|
|
12
12
|
className: a("text-center text-sm text-muted-foreground", u ? "mb-4" : "mb-12"),
|
|
13
13
|
children: /* @__PURE__ */ n("span", { children: f("docs_contract_sale_signature_acknowledgement") })
|
|
14
14
|
}), p ? /* @__PURE__ */ r("div", {
|
|
@@ -22,9 +22,26 @@ function o({ saleDocument: o, documentLanguage: s, formatDate: c, className: l,
|
|
|
22
22
|
}),
|
|
23
23
|
/* @__PURE__ */ n("p", {
|
|
24
24
|
className: "mb-2 mt-2 text-sm text-muted-foreground",
|
|
25
|
-
children: /* @__PURE__ */ r("span", { children: [
|
|
25
|
+
children: /* @__PURE__ */ r("span", { children: [
|
|
26
|
+
f("docs_contract_sale_signature_date_label"),
|
|
27
|
+
": ",
|
|
28
|
+
h ? c(o.date) : "___________________"
|
|
29
|
+
] })
|
|
26
30
|
}),
|
|
27
|
-
/* @__PURE__ */ n("div", {
|
|
31
|
+
/* @__PURE__ */ n("div", {
|
|
32
|
+
className: a("flex items-center justify-center rounded-lg bg-muted/40 p-2", u ? "h-20" : "h-24"),
|
|
33
|
+
children: h ? /* @__PURE__ */ n("img", {
|
|
34
|
+
src: h,
|
|
35
|
+
alt: f("docs_contract_sale_signature_issuer_label"),
|
|
36
|
+
className: "max-h-full max-w-full",
|
|
37
|
+
"data-testid": "contract-sale-document-issuer-signature"
|
|
38
|
+
}) : null
|
|
39
|
+
}),
|
|
40
|
+
h ? /* @__PURE__ */ n("p", {
|
|
41
|
+
className: a("text-sm text-foreground", u ? "mt-1" : "mt-2"),
|
|
42
|
+
"data-testid": "contract-sale-document-issuer-legal-representative",
|
|
43
|
+
children: /* @__PURE__ */ n("span", { children: f("docs_contract_sale_signature_issuer_representative_label") })
|
|
44
|
+
}) : null
|
|
28
45
|
]
|
|
29
46
|
}), /* @__PURE__ */ r("div", {
|
|
30
47
|
className: "w-full text-left md:w-2/5",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignatureModal.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/SignatureModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignatureModal.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/SignatureModal.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAOnF,KAAK,mBAAmB,GAAG;IACzB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,CAAC,SAAS,EAAE,6BAA6B,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;CAC3E,CAAA;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,mBAAmB,2CAmG9E"}
|
|
@@ -1,142 +1,100 @@
|
|
|
1
1
|
import { Button as e } from "../../ui/button.js";
|
|
2
2
|
import { Label as t } from "../../ui/label.js";
|
|
3
3
|
import { Input as n } from "../../ui/input.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
4
|
+
import { SignatureInput as r } from "../SignatureInput/index.js";
|
|
5
|
+
import { useState as i } from "react";
|
|
6
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
+
import { useTranslation as s } from "react-i18next";
|
|
8
8
|
//#region src/components/ContractSaleDocument/SignatureModal.tsx
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
let e = _.current?.getCanvas();
|
|
14
|
-
if (!e || typeof PointerEvent > "u") return;
|
|
15
|
-
let t = (t) => {
|
|
16
|
-
t.isPrimary && e.setPointerCapture(t.pointerId);
|
|
17
|
-
}, n = (t) => {
|
|
18
|
-
e.hasPointerCapture(t.pointerId) && e.releasePointerCapture(t.pointerId);
|
|
19
|
-
};
|
|
20
|
-
return e.addEventListener("pointerdown", t), e.addEventListener("pointerup", n), e.addEventListener("pointercancel", n), () => {
|
|
21
|
-
e.removeEventListener("pointerdown", t), e.removeEventListener("pointerup", n), e.removeEventListener("pointercancel", n);
|
|
22
|
-
};
|
|
23
|
-
}, []);
|
|
24
|
-
let E = () => {
|
|
25
|
-
_.current?.clear(), C(!1);
|
|
26
|
-
}, D = async () => {
|
|
27
|
-
if (_.current?.isEmpty()) {
|
|
28
|
-
window.alert(g("docs_contract_sale_signature_validation_signature"));
|
|
9
|
+
function c({ isOpen: c, onClose: l, onSave: u }) {
|
|
10
|
+
let { t: d } = s(), [f, p] = i(""), [m, h] = i(""), [g, _] = i(null), [v, y] = i(!1), b = async () => {
|
|
11
|
+
if (!g) {
|
|
12
|
+
window.alert(d("docs_contract_sale_signature_validation_signature"));
|
|
29
13
|
return;
|
|
30
14
|
}
|
|
31
|
-
if (!
|
|
32
|
-
window.alert(
|
|
15
|
+
if (!f || !m) {
|
|
16
|
+
window.alert(d("docs_contract_sale_signature_validation_identity"));
|
|
33
17
|
return;
|
|
34
18
|
}
|
|
35
|
-
|
|
36
|
-
T(!0);
|
|
19
|
+
y(!0);
|
|
37
20
|
try {
|
|
38
|
-
await
|
|
21
|
+
await u({
|
|
39
22
|
mode: "signature",
|
|
40
|
-
name:
|
|
41
|
-
phone:
|
|
42
|
-
signature:
|
|
23
|
+
name: f,
|
|
24
|
+
phone: m,
|
|
25
|
+
signature: g,
|
|
43
26
|
date: /* @__PURE__ */ new Date()
|
|
44
|
-
}),
|
|
27
|
+
}), l();
|
|
45
28
|
} catch (e) {
|
|
46
29
|
console.error("Failed to save contract document signature", e);
|
|
47
|
-
let t = e instanceof Error && e.message.trim().length > 0 ? e.message :
|
|
30
|
+
let t = e instanceof Error && e.message.trim().length > 0 ? e.message : d("docs_contract_sale_signature_submit_error");
|
|
48
31
|
window.alert(t);
|
|
49
32
|
} finally {
|
|
50
|
-
|
|
33
|
+
y(!1);
|
|
51
34
|
}
|
|
52
35
|
};
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
-
className: `fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 transition-opacity ${
|
|
55
|
-
"aria-hidden": !
|
|
56
|
-
children: /* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ a("div", {
|
|
37
|
+
className: `fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 transition-opacity ${c ? "pointer-events-auto opacity-100 visible" : "pointer-events-none opacity-0 invisible"}`,
|
|
38
|
+
"aria-hidden": !c,
|
|
39
|
+
children: /* @__PURE__ */ o("div", {
|
|
57
40
|
className: "w-full max-w-lg rounded-xl border border-border bg-card p-6 shadow-xl",
|
|
58
41
|
children: [
|
|
59
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ a("h2", {
|
|
60
43
|
className: "mb-4 text-2xl font-bold text-card-foreground",
|
|
61
|
-
children:
|
|
44
|
+
children: d("docs_contract_sale_signature_modal_title")
|
|
62
45
|
}),
|
|
63
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ o("div", {
|
|
64
47
|
className: "space-y-4",
|
|
65
48
|
children: [
|
|
66
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(t, {
|
|
67
50
|
htmlFor: "signature-name",
|
|
68
51
|
className: "text-card-foreground",
|
|
69
|
-
children:
|
|
70
|
-
}), /* @__PURE__ */
|
|
52
|
+
children: d("docs_contract_sale_signature_name_label")
|
|
53
|
+
}), /* @__PURE__ */ a(n, {
|
|
71
54
|
type: "text",
|
|
72
55
|
id: "signature-name",
|
|
73
|
-
value:
|
|
74
|
-
onChange: (e) =>
|
|
56
|
+
value: f,
|
|
57
|
+
onChange: (e) => p(e.target.value),
|
|
75
58
|
className: "mt-1",
|
|
76
|
-
disabled:
|
|
59
|
+
disabled: v
|
|
77
60
|
})] }),
|
|
78
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(t, {
|
|
79
62
|
htmlFor: "signature-phone",
|
|
80
63
|
className: "text-card-foreground",
|
|
81
|
-
children:
|
|
82
|
-
}), /* @__PURE__ */
|
|
64
|
+
children: d("docs_contract_sale_signature_phone_label")
|
|
65
|
+
}), /* @__PURE__ */ a(n, {
|
|
83
66
|
type: "tel",
|
|
84
67
|
id: "signature-phone",
|
|
85
|
-
value:
|
|
86
|
-
onChange: (e) =>
|
|
68
|
+
value: m,
|
|
69
|
+
onChange: (e) => h(e.target.value),
|
|
87
70
|
className: "mt-1",
|
|
88
|
-
disabled:
|
|
71
|
+
disabled: v
|
|
89
72
|
})] }),
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
penColor: "black",
|
|
103
|
-
canvasProps: { className: "absolute inset-0 h-full w-full" },
|
|
104
|
-
onEnd: () => {
|
|
105
|
-
C(!(_.current?.isEmpty() ?? !0));
|
|
106
|
-
}
|
|
107
|
-
}), /* @__PURE__ */ o("div", {
|
|
108
|
-
className: "pointer-events-none absolute rounded-sm border border-dashed border-primary/35",
|
|
109
|
-
style: {
|
|
110
|
-
top: u,
|
|
111
|
-
bottom: u,
|
|
112
|
-
left: d,
|
|
113
|
-
right: d
|
|
114
|
-
}
|
|
115
|
-
})]
|
|
116
|
-
})
|
|
117
|
-
}),
|
|
118
|
-
/* @__PURE__ */ o(e, {
|
|
119
|
-
onClick: E,
|
|
120
|
-
variant: "link",
|
|
121
|
-
size: "sm",
|
|
122
|
-
className: "mt-1 h-auto p-0",
|
|
123
|
-
disabled: w,
|
|
124
|
-
children: g("docs_contract_sale_signature_clear")
|
|
125
|
-
})
|
|
126
|
-
] })
|
|
73
|
+
/* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(t, {
|
|
74
|
+
htmlFor: "signature-canvas",
|
|
75
|
+
className: "mb-1 text-card-foreground",
|
|
76
|
+
children: /* @__PURE__ */ a("span", { children: d("docs_contract_sale_signature_canvas_label") })
|
|
77
|
+
}), /* @__PURE__ */ a(r, {
|
|
78
|
+
value: g,
|
|
79
|
+
onChange: _,
|
|
80
|
+
clearLabel: d("docs_contract_sale_signature_clear"),
|
|
81
|
+
ariaLabel: d("docs_contract_sale_signature_canvas_label"),
|
|
82
|
+
id: "signature-canvas",
|
|
83
|
+
disabled: v
|
|
84
|
+
})] })
|
|
127
85
|
]
|
|
128
86
|
}),
|
|
129
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ o("div", {
|
|
130
88
|
className: "mt-6 flex justify-end gap-4",
|
|
131
|
-
children: [/* @__PURE__ */
|
|
132
|
-
onClick:
|
|
89
|
+
children: [/* @__PURE__ */ a(e, {
|
|
90
|
+
onClick: l,
|
|
133
91
|
variant: "secondary",
|
|
134
|
-
disabled:
|
|
135
|
-
children:
|
|
136
|
-
}), /* @__PURE__ */
|
|
137
|
-
onClick: () => void
|
|
138
|
-
disabled: !
|
|
139
|
-
children:
|
|
92
|
+
disabled: v,
|
|
93
|
+
children: d("docs_contract_sale_modal_cancel")
|
|
94
|
+
}), /* @__PURE__ */ a(e, {
|
|
95
|
+
onClick: () => void b(),
|
|
96
|
+
disabled: !f || !m || !g || v,
|
|
97
|
+
children: d(v ? "docs_contract_sale_signature_modal_saving" : "docs_contract_sale_signature_modal_submit")
|
|
140
98
|
})]
|
|
141
99
|
})
|
|
142
100
|
]
|
|
@@ -144,4 +102,4 @@ function p({ isOpen: p, onClose: m, onSave: h }) {
|
|
|
144
102
|
});
|
|
145
103
|
}
|
|
146
104
|
//#endregion
|
|
147
|
-
export {
|
|
105
|
+
export { c as SignatureModal };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Button as e } from "../../ui/button.js";
|
|
2
|
+
import { useEffect as t, useRef as n, useState as r } from "react";
|
|
3
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import { cn as o } from "@rpcbase/ui";
|
|
5
|
+
import s from "react-signature-canvas";
|
|
6
|
+
//#region src/components/SignatureInput.tsx
|
|
7
|
+
var c = 30, l = 20, u = 220;
|
|
8
|
+
function d({ value: d, onChange: f, clearLabel: p, ariaLabel: m, id: h, disabled: g = !1, className: _, testId: v }) {
|
|
9
|
+
let y = n(null), b = n(void 0), [x, S] = r(!!d);
|
|
10
|
+
return t(() => {
|
|
11
|
+
let e = y.current;
|
|
12
|
+
!e || b.current === d || (b.current = d, e.clear(), d && e.fromDataURL(d), S(!!d));
|
|
13
|
+
}, [d]), t(() => {
|
|
14
|
+
let e = y.current?.getCanvas();
|
|
15
|
+
if (!e || typeof PointerEvent > "u") return;
|
|
16
|
+
let t = (t) => {
|
|
17
|
+
t.isPrimary && e.setPointerCapture(t.pointerId);
|
|
18
|
+
}, n = (t) => {
|
|
19
|
+
e.hasPointerCapture(t.pointerId) && e.releasePointerCapture(t.pointerId);
|
|
20
|
+
};
|
|
21
|
+
return e.addEventListener("pointerdown", t), e.addEventListener("pointerup", n), e.addEventListener("pointercancel", n), () => {
|
|
22
|
+
e.removeEventListener("pointerdown", t), e.removeEventListener("pointerup", n), e.removeEventListener("pointercancel", n);
|
|
23
|
+
};
|
|
24
|
+
}, []), /* @__PURE__ */ a("div", {
|
|
25
|
+
className: o("grid gap-1", _),
|
|
26
|
+
"data-testid": v,
|
|
27
|
+
children: [/* @__PURE__ */ i("div", {
|
|
28
|
+
className: "rounded-md border border-input bg-white p-2",
|
|
29
|
+
children: /* @__PURE__ */ a("div", {
|
|
30
|
+
className: "relative rounded-sm",
|
|
31
|
+
style: { height: u },
|
|
32
|
+
children: [/* @__PURE__ */ i(s, {
|
|
33
|
+
ref: y,
|
|
34
|
+
penColor: "black",
|
|
35
|
+
canvasProps: {
|
|
36
|
+
id: h,
|
|
37
|
+
"aria-label": m,
|
|
38
|
+
"aria-disabled": g,
|
|
39
|
+
className: o("absolute inset-0 h-full w-full touch-none", g && "pointer-events-none")
|
|
40
|
+
},
|
|
41
|
+
onEnd: () => {
|
|
42
|
+
let e = y.current;
|
|
43
|
+
if (!e || e.isEmpty()) {
|
|
44
|
+
b.current = null, S(!1), f(null);
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
let t = e.toDataURL();
|
|
48
|
+
b.current = t, S(!0), f(t);
|
|
49
|
+
}
|
|
50
|
+
}), /* @__PURE__ */ i("div", {
|
|
51
|
+
className: "pointer-events-none absolute rounded-sm border border-dashed border-primary/35",
|
|
52
|
+
style: {
|
|
53
|
+
top: c,
|
|
54
|
+
bottom: c,
|
|
55
|
+
left: l,
|
|
56
|
+
right: l
|
|
57
|
+
}
|
|
58
|
+
})]
|
|
59
|
+
})
|
|
60
|
+
}), /* @__PURE__ */ i(e, {
|
|
61
|
+
type: "button",
|
|
62
|
+
onClick: () => {
|
|
63
|
+
y.current?.clear(), b.current = null, S(!1), f(null);
|
|
64
|
+
},
|
|
65
|
+
variant: "link",
|
|
66
|
+
size: "sm",
|
|
67
|
+
className: "h-auto justify-self-start p-0",
|
|
68
|
+
disabled: g || !x,
|
|
69
|
+
children: /* @__PURE__ */ i("span", { children: p })
|
|
70
|
+
})]
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
74
|
+
export { d as SignatureInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type SignatureInputProps = {
|
|
2
|
+
value: string | null;
|
|
3
|
+
onChange: (value: string | null) => void;
|
|
4
|
+
clearLabel: string;
|
|
5
|
+
ariaLabel: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
testId?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function SignatureInput({ value, onChange, clearLabel, ariaLabel, id, disabled, className, testId, }: SignatureInputProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=SignatureInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignatureInput.d.ts","sourceRoot":"","sources":["../../src/components/SignatureInput.tsx"],"names":[],"mappings":"AAYA,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAA;IACxC,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,UAAU,EACV,SAAS,EACT,EAAE,EACF,QAAgB,EAChB,SAAS,EACT,MAAM,GACP,EAAE,mBAAmB,2CA+GrB"}
|
package/dist/i18n/en.d.ts
CHANGED
|
@@ -348,6 +348,7 @@ export declare const storefront: {
|
|
|
348
348
|
docs_contract_sale_signature_validation_identity: string;
|
|
349
349
|
docs_contract_sale_signature_acknowledgement: string;
|
|
350
350
|
docs_contract_sale_signature_issuer_label: string;
|
|
351
|
+
docs_contract_sale_signature_issuer_representative_label: string;
|
|
351
352
|
docs_contract_sale_signature_customer_label: string;
|
|
352
353
|
docs_contract_sale_signature_date_label: string;
|
|
353
354
|
docs_contract_sale_signature_image_alt: string;
|
package/dist/i18n/en.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+gBtB,CAAA"}
|
package/dist/i18n/en.js
CHANGED
|
@@ -349,6 +349,7 @@ var e = {
|
|
|
349
349
|
docs_contract_sale_signature_validation_identity: "Please fill in your name and phone number.",
|
|
350
350
|
docs_contract_sale_signature_acknowledgement: "By signing this document, I accept the terms and conditions below.",
|
|
351
351
|
docs_contract_sale_signature_issuer_label: "Seller signature",
|
|
352
|
+
docs_contract_sale_signature_issuer_representative_label: "Legal representative",
|
|
352
353
|
docs_contract_sale_signature_customer_label: "Customer signature",
|
|
353
354
|
docs_contract_sale_signature_date_label: "Date",
|
|
354
355
|
docs_contract_sale_signature_image_alt: "Signature",
|
package/dist/i18n/fr.d.ts
CHANGED
|
@@ -349,6 +349,7 @@ export declare const storefront: {
|
|
|
349
349
|
docs_contract_sale_signature_validation_identity: string;
|
|
350
350
|
docs_contract_sale_signature_acknowledgement: string;
|
|
351
351
|
docs_contract_sale_signature_issuer_label: string;
|
|
352
|
+
docs_contract_sale_signature_issuer_representative_label: string;
|
|
352
353
|
docs_contract_sale_signature_customer_label: string;
|
|
353
354
|
docs_contract_sale_signature_date_label: string;
|
|
354
355
|
docs_contract_sale_signature_image_alt: string;
|
package/dist/i18n/fr.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAghBtB,CAAA"}
|
package/dist/i18n/fr.js
CHANGED
|
@@ -350,6 +350,7 @@ var e = {
|
|
|
350
350
|
docs_contract_sale_signature_validation_identity: "Veuillez renseigner votre nom et votre téléphone.",
|
|
351
351
|
docs_contract_sale_signature_acknowledgement: "En signant ce document, j'accepte les conditions générales applicables ci-après.",
|
|
352
352
|
docs_contract_sale_signature_issuer_label: "Signature du loueur",
|
|
353
|
+
docs_contract_sale_signature_issuer_representative_label: "Le représentant légal",
|
|
353
354
|
docs_contract_sale_signature_customer_label: "Signature du locataire",
|
|
354
355
|
docs_contract_sale_signature_date_label: "Date",
|
|
355
356
|
docs_contract_sale_signature_image_alt: "Signature",
|
package/dist/index.d.ts
CHANGED
|
@@ -169,6 +169,7 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
169
169
|
acceptance: "acceptance";
|
|
170
170
|
signature: "signature";
|
|
171
171
|
}>>;
|
|
172
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
172
173
|
notes: z.ZodOptional<z.ZodString>;
|
|
173
174
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
174
175
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -1244,6 +1245,7 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
|
|
|
1244
1245
|
acceptance: "acceptance";
|
|
1245
1246
|
signature: "signature";
|
|
1246
1247
|
}>>;
|
|
1248
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
1247
1249
|
notes: z.ZodOptional<z.ZodString>;
|
|
1248
1250
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
1249
1251
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -1564,6 +1566,7 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
|
|
|
1564
1566
|
acceptance: "acceptance";
|
|
1565
1567
|
signature: "signature";
|
|
1566
1568
|
}>>;
|
|
1569
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
1567
1570
|
acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1568
1571
|
mode: z.ZodLiteral<"acceptance">;
|
|
1569
1572
|
date: z.ZodDate;
|
|
@@ -2038,6 +2041,7 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
2038
2041
|
acceptance: "acceptance";
|
|
2039
2042
|
signature: "signature";
|
|
2040
2043
|
}>>;
|
|
2044
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
2041
2045
|
notes: z.ZodOptional<z.ZodString>;
|
|
2042
2046
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
2043
2047
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -3411,6 +3415,19 @@ export declare const shopOpeningSlotSchema: z.ZodObject<{
|
|
|
3411
3415
|
|
|
3412
3416
|
export declare const shouldBlockStorefrontUnavailableItem: (record: StorefrontPublicAvailabilityRecord | undefined) => boolean;
|
|
3413
3417
|
|
|
3418
|
+
export declare function SignatureInput({ value, onChange, clearLabel, ariaLabel, id, disabled, className, testId, }: SignatureInputProps): JSX.Element;
|
|
3419
|
+
|
|
3420
|
+
export declare type SignatureInputProps = {
|
|
3421
|
+
value: string | null;
|
|
3422
|
+
onChange: (value: string | null) => void;
|
|
3423
|
+
clearLabel: string;
|
|
3424
|
+
ariaLabel: string;
|
|
3425
|
+
id?: string;
|
|
3426
|
+
disabled?: boolean;
|
|
3427
|
+
className?: string;
|
|
3428
|
+
testId?: string;
|
|
3429
|
+
};
|
|
3430
|
+
|
|
3414
3431
|
export declare type SignedMoneyMinor = z.infer<typeof signedMoneyMinorSchema>;
|
|
3415
3432
|
|
|
3416
3433
|
export declare const signedMoneyMinorSchema: z.ZodNumber;
|
|
@@ -4529,6 +4546,7 @@ export declare const storefrontEn: {
|
|
|
4529
4546
|
docs_contract_sale_signature_validation_identity: string;
|
|
4530
4547
|
docs_contract_sale_signature_acknowledgement: string;
|
|
4531
4548
|
docs_contract_sale_signature_issuer_label: string;
|
|
4549
|
+
docs_contract_sale_signature_issuer_representative_label: string;
|
|
4532
4550
|
docs_contract_sale_signature_customer_label: string;
|
|
4533
4551
|
docs_contract_sale_signature_date_label: string;
|
|
4534
4552
|
docs_contract_sale_signature_image_alt: string;
|
|
@@ -5089,6 +5107,7 @@ export declare const storefrontFr: {
|
|
|
5089
5107
|
docs_contract_sale_signature_validation_identity: string;
|
|
5090
5108
|
docs_contract_sale_signature_acknowledgement: string;
|
|
5091
5109
|
docs_contract_sale_signature_issuer_label: string;
|
|
5110
|
+
docs_contract_sale_signature_issuer_representative_label: string;
|
|
5092
5111
|
docs_contract_sale_signature_customer_label: string;
|
|
5093
5112
|
docs_contract_sale_signature_date_label: string;
|
|
5094
5113
|
docs_contract_sale_signature_image_alt: string;
|
package/dist/index.js
CHANGED
|
@@ -76,22 +76,23 @@ import { StorefrontCartPanel as ai } from "./components/StorefrontCartPanel/inde
|
|
|
76
76
|
import { ProductPriceBadge as oi } from "./components/ProductPriceBadge/index.js";
|
|
77
77
|
import { ContractSaleDocument as si } from "./components/ContractSaleDocument/Invoice.js";
|
|
78
78
|
import "./components/ContractSaleDocument/index.js";
|
|
79
|
-
import {
|
|
79
|
+
import { SignatureInput as ci } from "./components/SignatureInput/index.js";
|
|
80
|
+
import { RadioGroup as li, RadioGroupItem as ui } from "./ui/radio-group.js";
|
|
80
81
|
import "./pages/HomePage.js";
|
|
81
82
|
import "./pages/BookingPage.js";
|
|
82
83
|
import "./pages/ProductPage.js";
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
84
|
+
import di from "./pages/ItinerariesPage.js";
|
|
85
|
+
import fi, { loader as pi } from "./pages/ItineraryDetailsPage.js";
|
|
86
|
+
import mi from "./pages/RentalTermsPage.js";
|
|
87
|
+
import hi from "./pages/InsuranceTermsPage.js";
|
|
87
88
|
import "./pages/CheckoutPage.js";
|
|
88
89
|
import "./pages/CheckoutSuccessPage.js";
|
|
89
90
|
import "./pages/NotFoundPage.js";
|
|
90
|
-
import { accessories as
|
|
91
|
-
import
|
|
92
|
-
import { contractSaleDocumentAcceptanceLevelSchema as
|
|
93
|
-
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as
|
|
94
|
-
import
|
|
95
|
-
import { loader as
|
|
96
|
-
import { Select as
|
|
97
|
-
export { ji as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, Gr as AboutSection, Kr as AdminFloatingButton, Le as BOOKING_SEARCH_KEYS, Zn as Badge, Er as BookingEndDateField, Dr as BookingEndTimeField, jr as BookingFlowSteps, kr as BookingMobileDateDrawer, xr as BookingPeriodProvider, Ar as BookingPeriodSelector, wr as BookingStartDateField, Tr as BookingStartTimeField, Or as BookingTimeSlotsStatus, $n as Button, nt as CATALOG_PRODUCT_BASE_RATE_UNSET, Zr as Card, Qr as CardAction, $r as CardContent, ei as CardDescription, ti as CardFooter, ni as CardHeader, ri as CardTitle, Ur as ContactSection, si as ContractSaleDocument, X as DEFAULT_BOOKING_DELIVERY_OPTION, V as DEFAULT_CANCELLATION_POLICY, H as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, Mi as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, yr as DelayedPlaceholder, br as DelayedReveal, Nr as DeliveryAddressSelector, Xn as Footer, Pr as Form, Fr as FormControl, Ir as FormDescription, Lr as FormField, Rr as FormItem, zr as FormLabel, Br as FormMessage, Ni as GET_CONTRACT_SALE_DOCUMENT_ROUTE, dr as Header, Mr as Input, mi as InsuranceTermsPage, ui as ItinerariesPage, Yr as ItinerariesSection, di as ItineraryDetailsPage, qr as ItineraryListItem, Jr as ItineraryRouteMap, Cr as Label, nr as LanguageSelector, vr as Layout, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, hr as PlatformFooter, mr as PoweredByLoczerBadge, oi as ProductPriceBadge, ii as ProductWarningNotice, Lt as ROUTE, ci as RadioGroup, li as RadioGroupItem, pi as RentalTermsPage, kn as STOREFRONT_AVAILABILITY_ROUTE, fn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, ye as STOREFRONT_HERO_MODES, Hn as STOREFRONT_IMAGE_ROUTE, Ut as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Wt as STOREFRONT_ITINERARIES_LIST_ROUTE, Gt as STOREFRONT_ITINERARY_DETAIL_ROUTE, vn as STOREFRONT_PRODUCTS_ROUTE, Gn as STOREFRONT_TIME_SLOTS_ROUTE, Xi as Select, Zi as SelectContent, Qi as SelectGroup, $i as SelectIcon, ea as SelectItem, ta as SelectItemIndicator, na as SelectItemText, ra as SelectLabel, ia as SelectScrollDownButton, aa as SelectScrollUpButton, oa as SelectSeparator, sa as SelectTrigger, ca as SelectValue, Xr as StepSectionTitle, ai as StorefrontCartPanel, St as StorefrontCartProvider, rr as StorefrontContext, Re as TIME_OPTIONS, Wr as TestimonialsSection, Hr as Textarea, _r as WhatsAppFloatingButton, Pi as acceptContractSaleDocumentRequestSchema, Fi as acceptContractSaleDocumentResponseSchema, hi as accessories, _ as accessoryProductSchema, ze as applyBookingParamsToSearch, pe as assetIdSchema, Qn as badgeVariants, me as baseAssetSchema, he as baseAssetStatusSchema, ge as baseBookingItemSchema, _e as baseBookingSchema, ve as baseBookingStateSchema, v as bikeProductSchema, gi as bikes, Z as bookingCustomerInputSchema, Q as bookingDeliveryOptionSchema, ae as bookingInsuranceConsentSourceSchema, oe as bookingInsuranceItemSnapshotSchema, se as bookingInsuranceSnapshotSchema, $ as bookingScheduleInputSchema, ce as buildBookingInsuranceSnapshot, kt as buildPriceTierLabels, At as buildRentalPriceRows, An as buildStorefrontAvailabilityKey, It as buildStorefrontCartSummary, Un as buildStorefrontImageUrl, rt as buildStorefrontProductSlug, it as buildVariantStorefrontProductId, ln as buildWhatsAppHref, er as buttonVariants, jt as calculateBookingRentalUnitSummary, le as calculateInsuranceCalendarDays, Mt as calculateRentalPriceForQuantity, U as cancellationPolicySchema, W as cancellationPolicyTierSchema, ee as cartItemInputSchema, Tt as cn, at as compareCatalogProducts, ot as compareStorefrontAccessoryProducts, st as compareStorefrontBikeProducts, Ii as contractSaleDocumentAcceptanceInputSchema, _i as contractSaleDocumentAcceptanceLevelSchema, Li as contractSaleDocumentAcceptanceRecordInputSchema, vi as contractSaleDocumentAcceptanceRecordSchema, yi as contractSaleDocumentAcceptanceSchema, bi as contractSaleDocumentAddressSchema, Ri as contractSaleDocumentApiAcceptanceRecordSchema, zi as contractSaleDocumentApiAcceptanceSchema, Bi as contractSaleDocumentApiSchema, Vi as contractSaleDocumentApiSignatureSchema, xi as contractSaleDocumentAppendixKindSchema, Si as contractSaleDocumentAppendixSchema, Ci as contractSaleDocumentContactSchema, wi as contractSaleDocumentKindSchema, Ti as contractSaleDocumentLanguageCodeSchema, Ei as contractSaleDocumentLanguageSchema, Di as contractSaleDocumentLineItemSchema, Hi as contractSaleDocumentReferenceSchema, Ui as contractSaleDocumentReferenceTypeSchema, Oi as contractSaleDocumentRentalSchema, ki as contractSaleDocumentSchema, Wi as contractSaleDocumentSignatureInputSchema, Ai as contractSaleDocumentSignatureSchema, te as createBookingInputBaseSchema, ne as createBookingInputSchema, Be as createBookingPeriodConfigFromBookingEngineConfiguration, Ve as createBookingPeriodConfigFromShopConfiguration, He as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, jn as doesStorefrontAvailabilityDisplaySoldOut, Gi as downloadContractSaleDocumentPdfRequestSchema, y as eBikeProductSchema, ct as findStorefrontInsurancePricingBike, lt as findStorefrontProduct, ut as findStorefrontProductBySlug, Et as formatPriceMinor, Nt as formatRentalUnitQuantity, Bt as formatStorefrontPhoneDisplay, Pt as formatStorefrontPriceMinor, K as fulfillmentModeSchema, Dt as getAvailabilityVariant, Ue as getBookingParamsFromSearch, We as getBookingSessionStorageKey, dt as getCatalogProductBaseRateMinor, ft as getCatalogProductPaginationSort, pt as getCatalogProductSortFieldForPriceUnit, Ki as getContractSaleDocumentRequestSchema, qi as getContractSaleDocumentResponseSchema, Ge as getDefaultBookingParams, Ke as getDefaultBookingParamsForStorefrontConfiguration, et as getLocalizedEntry, t as getLocalizedStringValue, tt as getLocalizedValue, Ot as getMinDayPriceMinor, Ft as getPricingUnitLabel, Mn as getStorefrontAvailabilityIssue, Nn as getStorefrontAvailabilityStatus, mt as getStorefrontBaseDailyRateMinor, ht as getStorefrontCheckoutProductId, gt as getStorefrontProductSelectionDisplayName, _t as getStorefrontRepresentedVariantId, ue as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, Pn as isStorefrontAvailabilityInsufficient, M as isoDateSchema, fi as itineraryDetailsLoader, Yi as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, G as paymentPoliciesSchema, qe as pickBookingSearchParams, 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, Fn as publicAvailabilityDisplayModeSchema, q as publicBookingEngineConfigurationSchema, J as publicCheckoutConfigurationSchema, Y as publicCheckoutDynamicOptionsSchema, Je as readBookingSearchParamsFromSessionStorage, Ye as readBookingSearchParamsFromStorage, Rt as requestSchema, re as resolveBookingDeliveryOption, Xe as resolveBookingSearchParams, Ze as resolveBookingSearchParamsFromSessionStorage, de as resolveOpeningHoursForDate, fe as resolveOpeningHoursPeriodForDate, Ct as resolveStorefrontCartItemProduct, Vt as resolveStorefrontMapsHref, Ht as resolveStorefrontPhoneContact, un as resolveStorefrontWhatsAppContact, dn as resolveStorefrontWhatsAppHref, zt as responseSchema, 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, Rn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, zn as storefrontAvailabilityProductSchema, In as storefrontAvailabilityRequestSchema, Ln as storefrontAvailabilityResponseSchema, Bn as storefrontAvailabilityScheduleSchema, tr as storefrontButtonRadiusClassName, be as storefrontCheckoutModeSchema, hn as storefrontCheckoutSubmitDeliveryRefinement, mn as storefrontCheckoutSubmitItemSchema, pn as storefrontCheckoutSubmitRequestBaseSchema, gn as storefrontCheckoutSubmitRequestSchema, _n as storefrontCheckoutSubmitResponseSchema, xe as storefrontConfigurationSchema, Se as storefrontContentSchema, fr as storefrontEn, Ce as storefrontFaqItemSchema, we as storefrontFaqSchema, pr as storefrontFr, Te as storefrontFulfillmentModeSchema, Ee as storefrontHeroModeSchema, Wn as storefrontImageRequestSchema, De as storefrontInformationSchema, Kt as storefrontItinerariesFeaturedRequestSchema, qt as storefrontItinerariesFeaturedResponseSchema, Jt as storefrontItinerariesListRequestSchema, Yt as storefrontItinerariesListResponseSchema, Xt as storefrontItineraryBoundsSchema, Zt as storefrontItineraryCoordinateSchema, Qt as storefrontItineraryDetailRequestSchema, $t as storefrontItineraryDetailResponseSchema, en as storefrontItineraryDetailSchema, tn as storefrontItineraryDifficultySchema, nn as storefrontItineraryLocalizedStringSchema, rn as storefrontItineraryMetricsSchema, an as storefrontItineraryPreviewSchema, on as storefrontItineraryStepSchema, sn as storefrontItinerarySummarySchema, cn as storefrontItineraryTripTypeSchema, Oe as storefrontLocalizedRichTextSchema, ke as storefrontModalMessageSchema, Ae as storefrontModulesSchema, yn as storefrontProductsRequestSchema, bn as storefrontProductsResponseSchema, xn as storefrontPublicAccessoryProductSchema, Vn as storefrontPublicAvailabilityRecordSchema, Sn as storefrontPublicBikeAvailabilityStatusSchema, Cn as storefrontPublicBikeProductSchema, wn as storefrontPublicProductDisplayModeSchema, Tn as storefrontPublicProductPriceSchema, En as storefrontPublicProductVariantAttributeSchema, Dn as storefrontPublicProductVariantIdentifierSchema, On as storefrontPublicProductVariantSchema, je as storefrontReviewsModuleSchema, Me as storefrontRichTextSchema, Ji as storefrontRoutes, Ne as storefrontSettingsSchema, Pe as storefrontShopSchema, Fe as storefrontStatusSchema, Yn as storefrontTimeSlotJourneySchema, Jn as storefrontTimeSlotSchema, Kn as storefrontTimeSlotsRequestSchema, qn as storefrontTimeSlotsResponseSchema, Ie as storefrontWorkspaceSchema, B as timeOfDaySchema, vt as toStorefrontAccessoryProducts, yt as toStorefrontBikeProducts, bt as toStorefrontBookingProducts, xt as toStorefrontBookingProductsCollections, Sr as useBookingPeriod, Vr as useFormField, ir as useOptionalStorefront, ar as useStorefront, or as useStorefrontBookingProducts, wt as useStorefrontCart, sr as useStorefrontConfig, cr as useStorefrontItineraries, lr as useStorefrontProducts, ur as useStorefrontWorkspaceLanguage, gr as useWhatsAppFloatingButton, ie as validateBookingDeliveryAddress, Qe as writeBookingSearchParamsToSessionStorage, $e as writeBookingSearchParamsToStorage };
|
|
91
|
+
import { accessories as gi } from "./data/accessories.js";
|
|
92
|
+
import _i from "./data/bikes.js";
|
|
93
|
+
import { contractSaleDocumentAcceptanceLevelSchema as vi, contractSaleDocumentAcceptanceRecordSchema as yi, contractSaleDocumentAcceptanceSchema as bi, contractSaleDocumentAddressSchema as xi, contractSaleDocumentAppendixKindSchema as Si, contractSaleDocumentAppendixSchema as Ci, contractSaleDocumentContactSchema as wi, contractSaleDocumentKindSchema as Ti, contractSaleDocumentLanguageCodeSchema as Ei, contractSaleDocumentLanguageSchema as Di, contractSaleDocumentLineItemSchema as Oi, contractSaleDocumentRentalSchema as ki, contractSaleDocumentSchema as Ai, contractSaleDocumentSignatureSchema as ji } from "./lib/contractSaleDocument.js";
|
|
94
|
+
import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Mi, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as Ni, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Pi, acceptContractSaleDocumentRequestSchema as Fi, acceptContractSaleDocumentResponseSchema as Ii, contractSaleDocumentAcceptanceInputSchema as Li, contractSaleDocumentAcceptanceRecordInputSchema as Ri, contractSaleDocumentApiAcceptanceRecordSchema as zi, contractSaleDocumentApiAcceptanceSchema as Bi, contractSaleDocumentApiSchema as Vi, contractSaleDocumentApiSignatureSchema as Hi, contractSaleDocumentReferenceSchema as Ui, contractSaleDocumentReferenceTypeSchema as Wi, contractSaleDocumentSignatureInputSchema as Gi, downloadContractSaleDocumentPdfRequestSchema as Ki, getContractSaleDocumentRequestSchema as qi, getContractSaleDocumentResponseSchema as Ji } from "./lib/contractSaleDocumentApi.js";
|
|
95
|
+
import Yi from "./routes.js";
|
|
96
|
+
import { loader as Xi } from "./StorefrontProvider.js";
|
|
97
|
+
import { Select as Zi, SelectContent as Qi, SelectGroup as $i, SelectIcon as ea, SelectItem as ta, SelectItemIndicator as na, SelectItemText as ra, SelectLabel as ia, SelectScrollDownButton as aa, SelectScrollUpButton as oa, SelectSeparator as sa, SelectTrigger as ca, SelectValue as la } from "./ui/select.js";
|
|
98
|
+
export { Mi as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, Gr as AboutSection, Kr as AdminFloatingButton, Le as BOOKING_SEARCH_KEYS, Zn as Badge, Er as BookingEndDateField, Dr as BookingEndTimeField, jr as BookingFlowSteps, kr as BookingMobileDateDrawer, xr as BookingPeriodProvider, Ar as BookingPeriodSelector, wr as BookingStartDateField, Tr as BookingStartTimeField, Or as BookingTimeSlotsStatus, $n as Button, nt as CATALOG_PRODUCT_BASE_RATE_UNSET, Zr as Card, Qr as CardAction, $r as CardContent, ei as CardDescription, ti as CardFooter, ni as CardHeader, ri as CardTitle, Ur as ContactSection, si as ContractSaleDocument, X as DEFAULT_BOOKING_DELIVERY_OPTION, V as DEFAULT_CANCELLATION_POLICY, H as DEFAULT_PAYMENT_POLICIES, m as DEFAULT_PRODUCT_KIND, Ni as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, yr as DelayedPlaceholder, br as DelayedReveal, Nr as DeliveryAddressSelector, Xn as Footer, Pr as Form, Fr as FormControl, Ir as FormDescription, Lr as FormField, Rr as FormItem, zr as FormLabel, Br as FormMessage, Pi as GET_CONTRACT_SALE_DOCUMENT_ROUTE, dr as Header, Mr as Input, hi as InsuranceTermsPage, di as ItinerariesPage, Yr as ItinerariesSection, fi as ItineraryDetailsPage, qr as ItineraryListItem, Jr as ItineraryRouteMap, Cr as Label, nr as LanguageSelector, vr as Layout, h as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, g as PRODUCT_VARIANT_CODE_MAX_LENGTH, hr as PlatformFooter, mr as PoweredByLoczerBadge, oi as ProductPriceBadge, ii as ProductWarningNotice, Lt as ROUTE, li as RadioGroup, ui as RadioGroupItem, mi as RentalTermsPage, kn as STOREFRONT_AVAILABILITY_ROUTE, fn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, ye as STOREFRONT_HERO_MODES, Hn as STOREFRONT_IMAGE_ROUTE, Ut as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Wt as STOREFRONT_ITINERARIES_LIST_ROUTE, Gt as STOREFRONT_ITINERARY_DETAIL_ROUTE, vn as STOREFRONT_PRODUCTS_ROUTE, Gn as STOREFRONT_TIME_SLOTS_ROUTE, Zi as Select, Qi as SelectContent, $i as SelectGroup, ea as SelectIcon, ta as SelectItem, na as SelectItemIndicator, ra as SelectItemText, ia as SelectLabel, aa as SelectScrollDownButton, oa as SelectScrollUpButton, sa as SelectSeparator, ca as SelectTrigger, la as SelectValue, ci as SignatureInput, Xr as StepSectionTitle, ai as StorefrontCartPanel, St as StorefrontCartProvider, rr as StorefrontContext, Re as TIME_OPTIONS, Wr as TestimonialsSection, Hr as Textarea, _r as WhatsAppFloatingButton, Fi as acceptContractSaleDocumentRequestSchema, Ii as acceptContractSaleDocumentResponseSchema, gi as accessories, _ as accessoryProductSchema, ze as applyBookingParamsToSearch, pe as assetIdSchema, Qn as badgeVariants, me as baseAssetSchema, he as baseAssetStatusSchema, ge as baseBookingItemSchema, _e as baseBookingSchema, ve as baseBookingStateSchema, v as bikeProductSchema, _i as bikes, Z as bookingCustomerInputSchema, Q as bookingDeliveryOptionSchema, ae as bookingInsuranceConsentSourceSchema, oe as bookingInsuranceItemSnapshotSchema, se as bookingInsuranceSnapshotSchema, $ as bookingScheduleInputSchema, ce as buildBookingInsuranceSnapshot, kt as buildPriceTierLabels, At as buildRentalPriceRows, An as buildStorefrontAvailabilityKey, It as buildStorefrontCartSummary, Un as buildStorefrontImageUrl, rt as buildStorefrontProductSlug, it as buildVariantStorefrontProductId, ln as buildWhatsAppHref, er as buttonVariants, jt as calculateBookingRentalUnitSummary, le as calculateInsuranceCalendarDays, Mt as calculateRentalPriceForQuantity, U as cancellationPolicySchema, W as cancellationPolicyTierSchema, ee as cartItemInputSchema, Tt as cn, at as compareCatalogProducts, ot as compareStorefrontAccessoryProducts, st as compareStorefrontBikeProducts, Li as contractSaleDocumentAcceptanceInputSchema, vi as contractSaleDocumentAcceptanceLevelSchema, Ri as contractSaleDocumentAcceptanceRecordInputSchema, yi as contractSaleDocumentAcceptanceRecordSchema, bi as contractSaleDocumentAcceptanceSchema, xi as contractSaleDocumentAddressSchema, zi as contractSaleDocumentApiAcceptanceRecordSchema, Bi as contractSaleDocumentApiAcceptanceSchema, Vi as contractSaleDocumentApiSchema, Hi as contractSaleDocumentApiSignatureSchema, Si as contractSaleDocumentAppendixKindSchema, Ci as contractSaleDocumentAppendixSchema, wi as contractSaleDocumentContactSchema, Ti as contractSaleDocumentKindSchema, Ei as contractSaleDocumentLanguageCodeSchema, Di as contractSaleDocumentLanguageSchema, Oi as contractSaleDocumentLineItemSchema, Ui as contractSaleDocumentReferenceSchema, Wi as contractSaleDocumentReferenceTypeSchema, ki as contractSaleDocumentRentalSchema, Ai as contractSaleDocumentSchema, Gi as contractSaleDocumentSignatureInputSchema, ji as contractSaleDocumentSignatureSchema, te as createBookingInputBaseSchema, ne as createBookingInputSchema, Be as createBookingPeriodConfigFromBookingEngineConfiguration, Ve as createBookingPeriodConfigFromShopConfiguration, He as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, jn as doesStorefrontAvailabilityDisplaySoldOut, Ki as downloadContractSaleDocumentPdfRequestSchema, y as eBikeProductSchema, ct as findStorefrontInsurancePricingBike, lt as findStorefrontProduct, ut as findStorefrontProductBySlug, Et as formatPriceMinor, Nt as formatRentalUnitQuantity, Bt as formatStorefrontPhoneDisplay, Pt as formatStorefrontPriceMinor, K as fulfillmentModeSchema, Dt as getAvailabilityVariant, Ue as getBookingParamsFromSearch, We as getBookingSessionStorageKey, dt as getCatalogProductBaseRateMinor, ft as getCatalogProductPaginationSort, pt as getCatalogProductSortFieldForPriceUnit, qi as getContractSaleDocumentRequestSchema, Ji as getContractSaleDocumentResponseSchema, Ge as getDefaultBookingParams, Ke as getDefaultBookingParamsForStorefrontConfiguration, et as getLocalizedEntry, t as getLocalizedStringValue, tt as getLocalizedValue, Ot as getMinDayPriceMinor, Ft as getPricingUnitLabel, Mn as getStorefrontAvailabilityIssue, Nn as getStorefrontAvailabilityStatus, mt as getStorefrontBaseDailyRateMinor, ht as getStorefrontCheckoutProductId, gt as getStorefrontProductSelectionDisplayName, _t as getStorefrontRepresentedVariantId, ue as insuranceProviderSchema, b as isProductVariantCodeIdentifierKind, Pn as isStorefrontAvailabilityInsufficient, M as isoDateSchema, pi as itineraryDetailsLoader, Xi as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, G as paymentPoliciesSchema, qe as pickBookingSearchParams, 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, Fn as publicAvailabilityDisplayModeSchema, q as publicBookingEngineConfigurationSchema, J as publicCheckoutConfigurationSchema, Y as publicCheckoutDynamicOptionsSchema, Je as readBookingSearchParamsFromSessionStorage, Ye as readBookingSearchParamsFromStorage, Rt as requestSchema, re as resolveBookingDeliveryOption, Xe as resolveBookingSearchParams, Ze as resolveBookingSearchParamsFromSessionStorage, de as resolveOpeningHoursForDate, fe as resolveOpeningHoursPeriodForDate, Ct as resolveStorefrontCartItemProduct, Vt as resolveStorefrontMapsHref, Ht as resolveStorefrontPhoneContact, un as resolveStorefrontWhatsAppContact, dn as resolveStorefrontWhatsAppHref, zt as responseSchema, 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, Rn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, zn as storefrontAvailabilityProductSchema, In as storefrontAvailabilityRequestSchema, Ln as storefrontAvailabilityResponseSchema, Bn as storefrontAvailabilityScheduleSchema, tr as storefrontButtonRadiusClassName, be as storefrontCheckoutModeSchema, hn as storefrontCheckoutSubmitDeliveryRefinement, mn as storefrontCheckoutSubmitItemSchema, pn as storefrontCheckoutSubmitRequestBaseSchema, gn as storefrontCheckoutSubmitRequestSchema, _n as storefrontCheckoutSubmitResponseSchema, xe as storefrontConfigurationSchema, Se as storefrontContentSchema, fr as storefrontEn, Ce as storefrontFaqItemSchema, we as storefrontFaqSchema, pr as storefrontFr, Te as storefrontFulfillmentModeSchema, Ee as storefrontHeroModeSchema, Wn as storefrontImageRequestSchema, De as storefrontInformationSchema, Kt as storefrontItinerariesFeaturedRequestSchema, qt as storefrontItinerariesFeaturedResponseSchema, Jt as storefrontItinerariesListRequestSchema, Yt as storefrontItinerariesListResponseSchema, Xt as storefrontItineraryBoundsSchema, Zt as storefrontItineraryCoordinateSchema, Qt as storefrontItineraryDetailRequestSchema, $t as storefrontItineraryDetailResponseSchema, en as storefrontItineraryDetailSchema, tn as storefrontItineraryDifficultySchema, nn as storefrontItineraryLocalizedStringSchema, rn as storefrontItineraryMetricsSchema, an as storefrontItineraryPreviewSchema, on as storefrontItineraryStepSchema, sn as storefrontItinerarySummarySchema, cn as storefrontItineraryTripTypeSchema, Oe as storefrontLocalizedRichTextSchema, ke as storefrontModalMessageSchema, Ae as storefrontModulesSchema, yn as storefrontProductsRequestSchema, bn as storefrontProductsResponseSchema, xn as storefrontPublicAccessoryProductSchema, Vn as storefrontPublicAvailabilityRecordSchema, Sn as storefrontPublicBikeAvailabilityStatusSchema, Cn as storefrontPublicBikeProductSchema, wn as storefrontPublicProductDisplayModeSchema, Tn as storefrontPublicProductPriceSchema, En as storefrontPublicProductVariantAttributeSchema, Dn as storefrontPublicProductVariantIdentifierSchema, On as storefrontPublicProductVariantSchema, je as storefrontReviewsModuleSchema, Me as storefrontRichTextSchema, Yi as storefrontRoutes, Ne as storefrontSettingsSchema, Pe as storefrontShopSchema, Fe as storefrontStatusSchema, Yn as storefrontTimeSlotJourneySchema, Jn as storefrontTimeSlotSchema, Kn as storefrontTimeSlotsRequestSchema, qn as storefrontTimeSlotsResponseSchema, Ie as storefrontWorkspaceSchema, B as timeOfDaySchema, vt as toStorefrontAccessoryProducts, yt as toStorefrontBikeProducts, bt as toStorefrontBookingProducts, xt as toStorefrontBookingProductsCollections, Sr as useBookingPeriod, Vr as useFormField, ir as useOptionalStorefront, ar as useStorefront, or as useStorefrontBookingProducts, wt as useStorefrontCart, sr as useStorefrontConfig, cr as useStorefrontItineraries, lr as useStorefrontProducts, ur as useStorefrontWorkspaceLanguage, gr as useWhatsAppFloatingButton, ie as validateBookingDeliveryAddress, Qe as writeBookingSearchParamsToSessionStorage, $e as writeBookingSearchParamsToStorage };
|
|
@@ -278,6 +278,7 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
|
|
|
278
278
|
acceptance: "acceptance";
|
|
279
279
|
signature: "signature";
|
|
280
280
|
}>>;
|
|
281
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
281
282
|
acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
282
283
|
mode: z.ZodLiteral<"acceptance">;
|
|
283
284
|
date: z.ZodDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contractSaleDocument.d.ts","sourceRoot":"","sources":["../../src/lib/contractSaleDocument.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,iCAAiC,aAA2B,CAAA;AAEzE,eAAO,MAAM,uCAAuC;;;;;;;;;kBASzC,CAAA;AAEX,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO5C,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;iBAO7C,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;iBAQhD,CAAA;AAEF,eAAO,MAAM,sCAAsC;;;;;EAKjD,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;iBAK7C,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;iBAO3C,CAAA;AAEF,eAAO,MAAM,yCAAyC;;;;EAA8C,CAAA;AAEpG,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAA;AAEF,eAAO,MAAM,mCAAmC;;;;;;iBAM9C,CAAA;AAEF,eAAO,MAAM,0CAA0C;;;;;;;;;2BAGrD,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;EAA8C,CAAA;AACzF,eAAO,MAAM,sCAAsC;;;EAAuB,CAAA;AAE1E,wBAAgB,0CAA0C,CACxD,KAAK,EAAE,OAAO,GACb,gCAAgC,GAAG,IAAI,CAQzC;AAED,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;iBAI7C,CAAA;AAEF,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"contractSaleDocument.d.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|
|
|
162
162
|
acceptance: "acceptance";
|
|
163
163
|
signature: "signature";
|
|
164
164
|
}>>;
|
|
165
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
165
166
|
notes: z.ZodOptional<z.ZodString>;
|
|
166
167
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
167
168
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -350,6 +351,7 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
350
351
|
acceptance: "acceptance";
|
|
351
352
|
signature: "signature";
|
|
352
353
|
}>>;
|
|
354
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
353
355
|
notes: z.ZodOptional<z.ZodString>;
|
|
354
356
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
355
357
|
dueDate: z.ZodPreprocess<z.ZodDate>;
|
|
@@ -525,6 +527,7 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
|
|
|
525
527
|
acceptance: "acceptance";
|
|
526
528
|
signature: "signature";
|
|
527
529
|
}>>;
|
|
530
|
+
issuerSignature: z.ZodOptional<z.ZodString>;
|
|
528
531
|
notes: z.ZodOptional<z.ZodString>;
|
|
529
532
|
date: z.ZodPreprocess<z.ZodDate>;
|
|
530
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,mCA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKhD,CAAA;AACF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAA;AAEnG,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;iBAMlD,CAAA;AACF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAA;AAEvG,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKnD,CAAA;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAA"}
|
|
@@ -123,6 +123,7 @@ export declare const loader: ({ ctx, params, request }: ContractSaleDocumentLoad
|
|
|
123
123
|
translation?: "fr" | "en" | undefined;
|
|
124
124
|
} | undefined;
|
|
125
125
|
taxRate?: number | undefined;
|
|
126
|
+
issuerSignature?: string | undefined;
|
|
126
127
|
notes?: string | undefined;
|
|
127
128
|
rental?: {
|
|
128
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"}
|