@loczer/storefront-sdk 0.227.0 → 0.229.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.
@@ -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,kDAgHhC"}
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: h ? /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n("p", {
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: [f("docs_contract_sale_signature_date_label"), ": ___________________"] })
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", { className: a("rounded-lg bg-muted/40", u ? "h-20" : "h-24") })
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":"InvoiceDetails.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/InvoiceDetails.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAKvC,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,oBAAoB,CAAA;IAClC,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AA0CD,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,GAAG,EACH,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,eAAsB,EACtB,iBAAwB,EACxB,gBAAuB,EACvB,qBAA4B,EAC5B,iBAAiB,EACjB,OAAe,GAChB,EAAE,mBAAmB,2CA8UrB"}
1
+ {"version":3,"file":"InvoiceDetails.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/InvoiceDetails.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,4BAA4B,EAC7B,MAAM,gCAAgC,CAAA;AAKvC,KAAK,mBAAmB,GAAG;IACzB,YAAY,EAAE,oBAAoB,CAAA;IAClC,KAAK,EAAE,4BAA4B,EAAE,CAAA;IACrC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAA;IACpD,gBAAgB,EAAE,4BAA4B,CAAA;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AA0CD,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,GAAG,EACH,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,eAAsB,EACtB,iBAAwB,EACxB,gBAAuB,EACvB,qBAA4B,EAC5B,iBAAiB,EACjB,OAAe,GAChB,EAAE,mBAAmB,2CAuUrB"}
@@ -46,15 +46,10 @@ function u({ saleDocument: u, items: d, subtotal: f, tax: p, total: m, formatDat
46
46
  })]
47
47
  });
48
48
  }, D = !v && !y && !b, O = u.issuer.legalIdentity, k = O?.legalName?.trim() || u.issuer.name, A = k === u.issuer.name ? "" : u.issuer.name, j = s(O?.registeredAddress || u.issuer.address), M = O ? [
49
- O.legalForm ? {
50
- key: "legal-form",
51
- label: T("docs_contract_sale_legal_form_label"),
52
- value: O.legalForm
53
- } : null,
54
- O.shareCapital ? {
55
- key: "share-capital",
56
- label: T("docs_contract_sale_legal_share_capital_label"),
57
- value: O.shareCapital
49
+ O.description ? {
50
+ key: "description",
51
+ label: T("docs_contract_sale_legal_description_label"),
52
+ value: O.description
58
53
  } : null,
59
54
  O.companyRegistrationNumber ? {
60
55
  key: "company-registration",
@@ -1 +1 @@
1
- {"version":3,"file":"SignatureModal.d.ts","sourceRoot":"","sources":["../../../src/components/ContractSaleDocument/SignatureModal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAMnF,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;AAOD,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,mBAAmB,2CAyJ9E"}
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 { useEffect as r, useRef as i, useState as a } from "react";
5
- import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
- import { useTranslation as c } from "react-i18next";
7
- import l from "react-signature-canvas";
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
- var u = 30, d = 20, f = 220;
10
- function p({ isOpen: p, onClose: m, onSave: h }) {
11
- let { t: g } = c(), _ = i(null), [v, y] = a(""), [b, x] = a(""), [S, C] = a(!1), [w, T] = a(!1);
12
- r(() => {
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 (!v || !b) {
32
- window.alert(g("docs_contract_sale_signature_validation_identity"));
15
+ if (!f || !m) {
16
+ window.alert(d("docs_contract_sale_signature_validation_identity"));
33
17
  return;
34
18
  }
35
- let e = _.current?.toDataURL() ?? "";
36
- T(!0);
19
+ y(!0);
37
20
  try {
38
- await h({
21
+ await u({
39
22
  mode: "signature",
40
- name: v,
41
- phone: b,
42
- signature: e,
23
+ name: f,
24
+ phone: m,
25
+ signature: g,
43
26
  date: /* @__PURE__ */ new Date()
44
- }), m();
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 : g("docs_contract_sale_signature_submit_error");
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
- T(!1);
33
+ y(!1);
51
34
  }
52
35
  };
53
- return /* @__PURE__ */ o("div", {
54
- className: `fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 transition-opacity ${p ? "pointer-events-auto opacity-100 visible" : "pointer-events-none opacity-0 invisible"}`,
55
- "aria-hidden": !p,
56
- children: /* @__PURE__ */ s("div", {
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__ */ o("h2", {
42
+ /* @__PURE__ */ a("h2", {
60
43
  className: "mb-4 text-2xl font-bold text-card-foreground",
61
- children: g("docs_contract_sale_signature_modal_title")
44
+ children: d("docs_contract_sale_signature_modal_title")
62
45
  }),
63
- /* @__PURE__ */ s("div", {
46
+ /* @__PURE__ */ o("div", {
64
47
  className: "space-y-4",
65
48
  children: [
66
- /* @__PURE__ */ s("div", { children: [/* @__PURE__ */ o(t, {
49
+ /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(t, {
67
50
  htmlFor: "signature-name",
68
51
  className: "text-card-foreground",
69
- children: g("docs_contract_sale_signature_name_label")
70
- }), /* @__PURE__ */ o(n, {
52
+ children: d("docs_contract_sale_signature_name_label")
53
+ }), /* @__PURE__ */ a(n, {
71
54
  type: "text",
72
55
  id: "signature-name",
73
- value: v,
74
- onChange: (e) => y(e.target.value),
56
+ value: f,
57
+ onChange: (e) => p(e.target.value),
75
58
  className: "mt-1",
76
- disabled: w
59
+ disabled: v
77
60
  })] }),
78
- /* @__PURE__ */ s("div", { children: [/* @__PURE__ */ o(t, {
61
+ /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(t, {
79
62
  htmlFor: "signature-phone",
80
63
  className: "text-card-foreground",
81
- children: g("docs_contract_sale_signature_phone_label")
82
- }), /* @__PURE__ */ o(n, {
64
+ children: d("docs_contract_sale_signature_phone_label")
65
+ }), /* @__PURE__ */ a(n, {
83
66
  type: "tel",
84
67
  id: "signature-phone",
85
- value: b,
86
- onChange: (e) => x(e.target.value),
68
+ value: m,
69
+ onChange: (e) => h(e.target.value),
87
70
  className: "mt-1",
88
- disabled: w
71
+ disabled: v
89
72
  })] }),
90
- /* @__PURE__ */ s("div", { children: [
91
- /* @__PURE__ */ o(t, {
92
- className: "mb-1 text-card-foreground",
93
- children: g("docs_contract_sale_signature_canvas_label")
94
- }),
95
- /* @__PURE__ */ o("div", {
96
- className: "rounded-md border border-input bg-background p-2",
97
- children: /* @__PURE__ */ s("div", {
98
- className: "relative rounded-sm",
99
- style: { height: f },
100
- children: [/* @__PURE__ */ o(l, {
101
- ref: _,
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__ */ s("div", {
87
+ /* @__PURE__ */ o("div", {
130
88
  className: "mt-6 flex justify-end gap-4",
131
- children: [/* @__PURE__ */ o(e, {
132
- onClick: m,
89
+ children: [/* @__PURE__ */ a(e, {
90
+ onClick: l,
133
91
  variant: "secondary",
134
- disabled: w,
135
- children: g("docs_contract_sale_modal_cancel")
136
- }), /* @__PURE__ */ o(e, {
137
- onClick: () => void D(),
138
- disabled: !v || !b || !S || w,
139
- children: g(w ? "docs_contract_sale_signature_modal_saving" : "docs_contract_sale_signature_modal_submit")
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 { p as SignatureModal };
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
@@ -303,8 +303,7 @@ export declare const storefront: {
303
303
  docs_contract_sale_due_date_label: string;
304
304
  docs_contract_sale_invoice_recipient_label: string;
305
305
  docs_contract_sale_credit_note_recipient_label: string;
306
- docs_contract_sale_legal_form_label: string;
307
- docs_contract_sale_legal_share_capital_label: string;
306
+ docs_contract_sale_legal_description_label: string;
308
307
  docs_contract_sale_legal_company_registration_label: string;
309
308
  docs_contract_sale_legal_establishment_registration_label: string;
310
309
  docs_contract_sale_legal_vat_number_label: string;
@@ -348,6 +347,7 @@ export declare const storefront: {
348
347
  docs_contract_sale_signature_validation_identity: string;
349
348
  docs_contract_sale_signature_acknowledgement: string;
350
349
  docs_contract_sale_signature_issuer_label: string;
350
+ docs_contract_sale_signature_issuer_representative_label: string;
351
351
  docs_contract_sale_signature_customer_label: string;
352
352
  docs_contract_sale_signature_date_label: string;
353
353
  docs_contract_sale_signature_image_alt: string;
package/dist/i18n/en.js CHANGED
@@ -304,8 +304,7 @@ var e = {
304
304
  docs_contract_sale_due_date_label: "Due Date:",
305
305
  docs_contract_sale_invoice_recipient_label: "Bill To:",
306
306
  docs_contract_sale_credit_note_recipient_label: "Issued To:",
307
- docs_contract_sale_legal_form_label: "Legal form",
308
- docs_contract_sale_legal_share_capital_label: "Share capital",
307
+ docs_contract_sale_legal_description_label: "Description",
309
308
  docs_contract_sale_legal_company_registration_label: "Company registration no.",
310
309
  docs_contract_sale_legal_establishment_registration_label: "Establishment registration no.",
311
310
  docs_contract_sale_legal_vat_number_label: "VAT no.",
@@ -349,6 +348,7 @@ var e = {
349
348
  docs_contract_sale_signature_validation_identity: "Please fill in your name and phone number.",
350
349
  docs_contract_sale_signature_acknowledgement: "By signing this document, I accept the terms and conditions below.",
351
350
  docs_contract_sale_signature_issuer_label: "Seller signature",
351
+ docs_contract_sale_signature_issuer_representative_label: "Legal representative",
352
352
  docs_contract_sale_signature_customer_label: "Customer signature",
353
353
  docs_contract_sale_signature_date_label: "Date",
354
354
  docs_contract_sale_signature_image_alt: "Signature",
package/dist/i18n/fr.d.ts CHANGED
@@ -304,8 +304,7 @@ export declare const storefront: {
304
304
  docs_contract_sale_due_date_label: string;
305
305
  docs_contract_sale_invoice_recipient_label: string;
306
306
  docs_contract_sale_credit_note_recipient_label: string;
307
- docs_contract_sale_legal_form_label: string;
308
- docs_contract_sale_legal_share_capital_label: string;
307
+ docs_contract_sale_legal_description_label: string;
309
308
  docs_contract_sale_legal_company_registration_label: string;
310
309
  docs_contract_sale_legal_establishment_registration_label: string;
311
310
  docs_contract_sale_legal_vat_number_label: string;
@@ -349,6 +348,7 @@ export declare const storefront: {
349
348
  docs_contract_sale_signature_validation_identity: string;
350
349
  docs_contract_sale_signature_acknowledgement: string;
351
350
  docs_contract_sale_signature_issuer_label: string;
351
+ docs_contract_sale_signature_issuer_representative_label: string;
352
352
  docs_contract_sale_signature_customer_label: string;
353
353
  docs_contract_sale_signature_date_label: string;
354
354
  docs_contract_sale_signature_image_alt: string;
package/dist/i18n/fr.js CHANGED
@@ -305,8 +305,7 @@ var e = {
305
305
  docs_contract_sale_due_date_label: "Date d'échéance :",
306
306
  docs_contract_sale_invoice_recipient_label: "Facturé à :",
307
307
  docs_contract_sale_credit_note_recipient_label: "Émis à :",
308
- docs_contract_sale_legal_form_label: "Forme juridique",
309
- docs_contract_sale_legal_share_capital_label: "Capital social",
308
+ docs_contract_sale_legal_description_label: "Description",
310
309
  docs_contract_sale_legal_company_registration_label: "N° d’immatriculation",
311
310
  docs_contract_sale_legal_establishment_registration_label: "N° d’établissement",
312
311
  docs_contract_sale_legal_vat_number_label: "N° de TVA",
@@ -350,6 +349,7 @@ var e = {
350
349
  docs_contract_sale_signature_validation_identity: "Veuillez renseigner votre nom et votre téléphone.",
351
350
  docs_contract_sale_signature_acknowledgement: "En signant ce document, j'accepte les conditions générales applicables ci-après.",
352
351
  docs_contract_sale_signature_issuer_label: "Signature du loueur",
352
+ docs_contract_sale_signature_issuer_representative_label: "Le représentant légal",
353
353
  docs_contract_sale_signature_customer_label: "Signature du locataire",
354
354
  docs_contract_sale_signature_date_label: "Date",
355
355
  docs_contract_sale_signature_image_alt: "Signature",
package/dist/index.d.ts CHANGED
@@ -93,12 +93,11 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
93
93
  phone: z.ZodOptional<z.ZodString>;
94
94
  legalIdentity: z.ZodOptional<z.ZodObject<{
95
95
  legalName: z.ZodOptional<z.ZodString>;
96
+ description: z.ZodOptional<z.ZodString>;
96
97
  registeredAddress: z.ZodOptional<z.ZodString>;
97
98
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
98
99
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
99
100
  vatNumber: z.ZodOptional<z.ZodString>;
100
- legalForm: z.ZodOptional<z.ZodString>;
101
- shareCapital: z.ZodOptional<z.ZodString>;
102
101
  tradeRegister: z.ZodOptional<z.ZodString>;
103
102
  }, z.core.$strict>>;
104
103
  }, z.core.$strip>;
@@ -127,12 +126,11 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
127
126
  phone: z.ZodOptional<z.ZodString>;
128
127
  legalIdentity: z.ZodOptional<z.ZodObject<{
129
128
  legalName: z.ZodOptional<z.ZodString>;
129
+ description: z.ZodOptional<z.ZodString>;
130
130
  registeredAddress: z.ZodOptional<z.ZodString>;
131
131
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
132
132
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
133
133
  vatNumber: z.ZodOptional<z.ZodString>;
134
- legalForm: z.ZodOptional<z.ZodString>;
135
- shareCapital: z.ZodOptional<z.ZodString>;
136
134
  tradeRegister: z.ZodOptional<z.ZodString>;
137
135
  }, z.core.$strict>>;
138
136
  }, z.core.$strip>;
@@ -169,6 +167,7 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
169
167
  acceptance: "acceptance";
170
168
  signature: "signature";
171
169
  }>>;
170
+ issuerSignature: z.ZodOptional<z.ZodString>;
172
171
  notes: z.ZodOptional<z.ZodString>;
173
172
  date: z.ZodPreprocess<z.ZodDate>;
174
173
  dueDate: z.ZodPreprocess<z.ZodDate>;
@@ -1168,12 +1167,11 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
1168
1167
  phone: z.ZodOptional<z.ZodString>;
1169
1168
  legalIdentity: z.ZodOptional<z.ZodObject<{
1170
1169
  legalName: z.ZodOptional<z.ZodString>;
1170
+ description: z.ZodOptional<z.ZodString>;
1171
1171
  registeredAddress: z.ZodOptional<z.ZodString>;
1172
1172
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
1173
1173
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
1174
1174
  vatNumber: z.ZodOptional<z.ZodString>;
1175
- legalForm: z.ZodOptional<z.ZodString>;
1176
- shareCapital: z.ZodOptional<z.ZodString>;
1177
1175
  tradeRegister: z.ZodOptional<z.ZodString>;
1178
1176
  }, z.core.$strict>>;
1179
1177
  }, z.core.$strip>;
@@ -1202,12 +1200,11 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
1202
1200
  phone: z.ZodOptional<z.ZodString>;
1203
1201
  legalIdentity: z.ZodOptional<z.ZodObject<{
1204
1202
  legalName: z.ZodOptional<z.ZodString>;
1203
+ description: z.ZodOptional<z.ZodString>;
1205
1204
  registeredAddress: z.ZodOptional<z.ZodString>;
1206
1205
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
1207
1206
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
1208
1207
  vatNumber: z.ZodOptional<z.ZodString>;
1209
- legalForm: z.ZodOptional<z.ZodString>;
1210
- shareCapital: z.ZodOptional<z.ZodString>;
1211
1208
  tradeRegister: z.ZodOptional<z.ZodString>;
1212
1209
  }, z.core.$strict>>;
1213
1210
  }, z.core.$strip>;
@@ -1244,6 +1241,7 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
1244
1241
  acceptance: "acceptance";
1245
1242
  signature: "signature";
1246
1243
  }>>;
1244
+ issuerSignature: z.ZodOptional<z.ZodString>;
1247
1245
  notes: z.ZodOptional<z.ZodString>;
1248
1246
  date: z.ZodPreprocess<z.ZodDate>;
1249
1247
  dueDate: z.ZodPreprocess<z.ZodDate>;
@@ -1335,12 +1333,11 @@ export declare const contractSaleDocumentContactSchema: z.ZodObject<{
1335
1333
  phone: z.ZodOptional<z.ZodString>;
1336
1334
  legalIdentity: z.ZodOptional<z.ZodObject<{
1337
1335
  legalName: z.ZodOptional<z.ZodString>;
1336
+ description: z.ZodOptional<z.ZodString>;
1338
1337
  registeredAddress: z.ZodOptional<z.ZodString>;
1339
1338
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
1340
1339
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
1341
1340
  vatNumber: z.ZodOptional<z.ZodString>;
1342
- legalForm: z.ZodOptional<z.ZodString>;
1343
- shareCapital: z.ZodOptional<z.ZodString>;
1344
1341
  tradeRegister: z.ZodOptional<z.ZodString>;
1345
1342
  }, z.core.$strict>>;
1346
1343
  }, z.core.$strip>;
@@ -1480,12 +1477,11 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
1480
1477
  phone: z.ZodOptional<z.ZodString>;
1481
1478
  legalIdentity: z.ZodOptional<z.ZodObject<{
1482
1479
  legalName: z.ZodOptional<z.ZodString>;
1480
+ description: z.ZodOptional<z.ZodString>;
1483
1481
  registeredAddress: z.ZodOptional<z.ZodString>;
1484
1482
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
1485
1483
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
1486
1484
  vatNumber: z.ZodOptional<z.ZodString>;
1487
- legalForm: z.ZodOptional<z.ZodString>;
1488
- shareCapital: z.ZodOptional<z.ZodString>;
1489
1485
  tradeRegister: z.ZodOptional<z.ZodString>;
1490
1486
  }, z.core.$strict>>;
1491
1487
  }, z.core.$strip>;
@@ -1514,12 +1510,11 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
1514
1510
  phone: z.ZodOptional<z.ZodString>;
1515
1511
  legalIdentity: z.ZodOptional<z.ZodObject<{
1516
1512
  legalName: z.ZodOptional<z.ZodString>;
1513
+ description: z.ZodOptional<z.ZodString>;
1517
1514
  registeredAddress: z.ZodOptional<z.ZodString>;
1518
1515
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
1519
1516
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
1520
1517
  vatNumber: z.ZodOptional<z.ZodString>;
1521
- legalForm: z.ZodOptional<z.ZodString>;
1522
- shareCapital: z.ZodOptional<z.ZodString>;
1523
1518
  tradeRegister: z.ZodOptional<z.ZodString>;
1524
1519
  }, z.core.$strict>>;
1525
1520
  }, z.core.$strip>;
@@ -1564,6 +1559,7 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
1564
1559
  acceptance: "acceptance";
1565
1560
  signature: "signature";
1566
1561
  }>>;
1562
+ issuerSignature: z.ZodOptional<z.ZodString>;
1567
1563
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1568
1564
  mode: z.ZodLiteral<"acceptance">;
1569
1565
  date: z.ZodDate;
@@ -1962,12 +1958,11 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
1962
1958
  phone: z.ZodOptional<z.ZodString>;
1963
1959
  legalIdentity: z.ZodOptional<z.ZodObject<{
1964
1960
  legalName: z.ZodOptional<z.ZodString>;
1961
+ description: z.ZodOptional<z.ZodString>;
1965
1962
  registeredAddress: z.ZodOptional<z.ZodString>;
1966
1963
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
1967
1964
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
1968
1965
  vatNumber: z.ZodOptional<z.ZodString>;
1969
- legalForm: z.ZodOptional<z.ZodString>;
1970
- shareCapital: z.ZodOptional<z.ZodString>;
1971
1966
  tradeRegister: z.ZodOptional<z.ZodString>;
1972
1967
  }, z.core.$strict>>;
1973
1968
  }, z.core.$strip>;
@@ -1996,12 +1991,11 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
1996
1991
  phone: z.ZodOptional<z.ZodString>;
1997
1992
  legalIdentity: z.ZodOptional<z.ZodObject<{
1998
1993
  legalName: z.ZodOptional<z.ZodString>;
1994
+ description: z.ZodOptional<z.ZodString>;
1999
1995
  registeredAddress: z.ZodOptional<z.ZodString>;
2000
1996
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
2001
1997
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
2002
1998
  vatNumber: z.ZodOptional<z.ZodString>;
2003
- legalForm: z.ZodOptional<z.ZodString>;
2004
- shareCapital: z.ZodOptional<z.ZodString>;
2005
1999
  tradeRegister: z.ZodOptional<z.ZodString>;
2006
2000
  }, z.core.$strict>>;
2007
2001
  }, z.core.$strip>;
@@ -2038,6 +2032,7 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
2038
2032
  acceptance: "acceptance";
2039
2033
  signature: "signature";
2040
2034
  }>>;
2035
+ issuerSignature: z.ZodOptional<z.ZodString>;
2041
2036
  notes: z.ZodOptional<z.ZodString>;
2042
2037
  date: z.ZodPreprocess<z.ZodDate>;
2043
2038
  dueDate: z.ZodPreprocess<z.ZodDate>;
@@ -3411,6 +3406,19 @@ export declare const shopOpeningSlotSchema: z.ZodObject<{
3411
3406
 
3412
3407
  export declare const shouldBlockStorefrontUnavailableItem: (record: StorefrontPublicAvailabilityRecord | undefined) => boolean;
3413
3408
 
3409
+ export declare function SignatureInput({ value, onChange, clearLabel, ariaLabel, id, disabled, className, testId, }: SignatureInputProps): JSX.Element;
3410
+
3411
+ export declare type SignatureInputProps = {
3412
+ value: string | null;
3413
+ onChange: (value: string | null) => void;
3414
+ clearLabel: string;
3415
+ ariaLabel: string;
3416
+ id?: string;
3417
+ disabled?: boolean;
3418
+ className?: string;
3419
+ testId?: string;
3420
+ };
3421
+
3414
3422
  export declare type SignedMoneyMinor = z.infer<typeof signedMoneyMinorSchema>;
3415
3423
 
3416
3424
  export declare const signedMoneyMinorSchema: z.ZodNumber;
@@ -4484,8 +4492,7 @@ export declare const storefrontEn: {
4484
4492
  docs_contract_sale_due_date_label: string;
4485
4493
  docs_contract_sale_invoice_recipient_label: string;
4486
4494
  docs_contract_sale_credit_note_recipient_label: string;
4487
- docs_contract_sale_legal_form_label: string;
4488
- docs_contract_sale_legal_share_capital_label: string;
4495
+ docs_contract_sale_legal_description_label: string;
4489
4496
  docs_contract_sale_legal_company_registration_label: string;
4490
4497
  docs_contract_sale_legal_establishment_registration_label: string;
4491
4498
  docs_contract_sale_legal_vat_number_label: string;
@@ -4529,6 +4536,7 @@ export declare const storefrontEn: {
4529
4536
  docs_contract_sale_signature_validation_identity: string;
4530
4537
  docs_contract_sale_signature_acknowledgement: string;
4531
4538
  docs_contract_sale_signature_issuer_label: string;
4539
+ docs_contract_sale_signature_issuer_representative_label: string;
4532
4540
  docs_contract_sale_signature_customer_label: string;
4533
4541
  docs_contract_sale_signature_date_label: string;
4534
4542
  docs_contract_sale_signature_image_alt: string;
@@ -5044,8 +5052,7 @@ export declare const storefrontFr: {
5044
5052
  docs_contract_sale_due_date_label: string;
5045
5053
  docs_contract_sale_invoice_recipient_label: string;
5046
5054
  docs_contract_sale_credit_note_recipient_label: string;
5047
- docs_contract_sale_legal_form_label: string;
5048
- docs_contract_sale_legal_share_capital_label: string;
5055
+ docs_contract_sale_legal_description_label: string;
5049
5056
  docs_contract_sale_legal_company_registration_label: string;
5050
5057
  docs_contract_sale_legal_establishment_registration_label: string;
5051
5058
  docs_contract_sale_legal_vat_number_label: string;
@@ -5089,6 +5096,7 @@ export declare const storefrontFr: {
5089
5096
  docs_contract_sale_signature_validation_identity: string;
5090
5097
  docs_contract_sale_signature_acknowledgement: string;
5091
5098
  docs_contract_sale_signature_issuer_label: string;
5099
+ docs_contract_sale_signature_issuer_representative_label: string;
5092
5100
  docs_contract_sale_signature_customer_label: string;
5093
5101
  docs_contract_sale_signature_date_label: string;
5094
5102
  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 { RadioGroup as ci, RadioGroupItem as li } from "./ui/radio-group.js";
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 ui from "./pages/ItinerariesPage.js";
84
- import di, { loader as fi } from "./pages/ItineraryDetailsPage.js";
85
- import pi from "./pages/RentalTermsPage.js";
86
- import mi from "./pages/InsuranceTermsPage.js";
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 hi } from "./data/accessories.js";
91
- import gi from "./data/bikes.js";
92
- import { contractSaleDocumentAcceptanceLevelSchema as _i, contractSaleDocumentAcceptanceRecordSchema as vi, contractSaleDocumentAcceptanceSchema as yi, contractSaleDocumentAddressSchema as bi, contractSaleDocumentAppendixKindSchema as xi, contractSaleDocumentAppendixSchema as Si, contractSaleDocumentContactSchema as Ci, contractSaleDocumentKindSchema as wi, contractSaleDocumentLanguageCodeSchema as Ti, contractSaleDocumentLanguageSchema as Ei, contractSaleDocumentLineItemSchema as Di, contractSaleDocumentRentalSchema as Oi, contractSaleDocumentSchema as ki, contractSaleDocumentSignatureSchema as Ai } from "./lib/contractSaleDocument.js";
93
- import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as ji, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as Mi, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Ni, acceptContractSaleDocumentRequestSchema as Pi, acceptContractSaleDocumentResponseSchema as Fi, contractSaleDocumentAcceptanceInputSchema as Ii, contractSaleDocumentAcceptanceRecordInputSchema as Li, contractSaleDocumentApiAcceptanceRecordSchema as Ri, contractSaleDocumentApiAcceptanceSchema as zi, contractSaleDocumentApiSchema as Bi, contractSaleDocumentApiSignatureSchema as Vi, contractSaleDocumentReferenceSchema as Hi, contractSaleDocumentReferenceTypeSchema as Ui, contractSaleDocumentSignatureInputSchema as Wi, downloadContractSaleDocumentPdfRequestSchema as Gi, getContractSaleDocumentRequestSchema as Ki, getContractSaleDocumentResponseSchema as qi } from "./lib/contractSaleDocumentApi.js";
94
- import Ji from "./routes.js";
95
- import { loader as Yi } from "./StorefrontProvider.js";
96
- import { Select as Xi, SelectContent as Zi, SelectGroup as Qi, SelectIcon as $i, SelectItem as ea, SelectItemIndicator as ta, SelectItemText as na, SelectLabel as ra, SelectScrollDownButton as ia, SelectScrollUpButton as aa, SelectSeparator as oa, SelectTrigger as sa, SelectValue as ca } from "./ui/select.js";
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 };
@@ -2,12 +2,11 @@ import { z } from 'zod';
2
2
  export declare const contractSaleDocumentAddressSchema: z.ZodString;
3
3
  export declare const contractSaleDocumentLegalIdentitySchema: z.ZodObject<{
4
4
  legalName: z.ZodOptional<z.ZodString>;
5
+ description: z.ZodOptional<z.ZodString>;
5
6
  registeredAddress: z.ZodOptional<z.ZodString>;
6
7
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
7
8
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
8
9
  vatNumber: z.ZodOptional<z.ZodString>;
9
- legalForm: z.ZodOptional<z.ZodString>;
10
- shareCapital: z.ZodOptional<z.ZodString>;
11
10
  tradeRegister: z.ZodOptional<z.ZodString>;
12
11
  }, z.core.$strict>;
13
12
  export declare const contractSaleDocumentContactSchema: z.ZodObject<{
@@ -35,12 +34,11 @@ export declare const contractSaleDocumentContactSchema: z.ZodObject<{
35
34
  phone: z.ZodOptional<z.ZodString>;
36
35
  legalIdentity: z.ZodOptional<z.ZodObject<{
37
36
  legalName: z.ZodOptional<z.ZodString>;
37
+ description: z.ZodOptional<z.ZodString>;
38
38
  registeredAddress: z.ZodOptional<z.ZodString>;
39
39
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
40
40
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
41
41
  vatNumber: z.ZodOptional<z.ZodString>;
42
- legalForm: z.ZodOptional<z.ZodString>;
43
- shareCapital: z.ZodOptional<z.ZodString>;
44
42
  tradeRegister: z.ZodOptional<z.ZodString>;
45
43
  }, z.core.$strict>>;
46
44
  }, z.core.$strip>;
@@ -194,12 +192,11 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
194
192
  phone: z.ZodOptional<z.ZodString>;
195
193
  legalIdentity: z.ZodOptional<z.ZodObject<{
196
194
  legalName: z.ZodOptional<z.ZodString>;
195
+ description: z.ZodOptional<z.ZodString>;
197
196
  registeredAddress: z.ZodOptional<z.ZodString>;
198
197
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
199
198
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
200
199
  vatNumber: z.ZodOptional<z.ZodString>;
201
- legalForm: z.ZodOptional<z.ZodString>;
202
- shareCapital: z.ZodOptional<z.ZodString>;
203
200
  tradeRegister: z.ZodOptional<z.ZodString>;
204
201
  }, z.core.$strict>>;
205
202
  }, z.core.$strip>;
@@ -228,12 +225,11 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
228
225
  phone: z.ZodOptional<z.ZodString>;
229
226
  legalIdentity: z.ZodOptional<z.ZodObject<{
230
227
  legalName: z.ZodOptional<z.ZodString>;
228
+ description: z.ZodOptional<z.ZodString>;
231
229
  registeredAddress: z.ZodOptional<z.ZodString>;
232
230
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
233
231
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
234
232
  vatNumber: z.ZodOptional<z.ZodString>;
235
- legalForm: z.ZodOptional<z.ZodString>;
236
- shareCapital: z.ZodOptional<z.ZodString>;
237
233
  tradeRegister: z.ZodOptional<z.ZodString>;
238
234
  }, z.core.$strict>>;
239
235
  }, z.core.$strip>;
@@ -278,6 +274,7 @@ export declare const contractSaleDocumentSchema: z.ZodObject<{
278
274
  acceptance: "acceptance";
279
275
  signature: "signature";
280
276
  }>>;
277
+ issuerSignature: z.ZodOptional<z.ZodString>;
281
278
  acceptance: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
282
279
  mode: z.ZodLiteral<"acceptance">;
283
280
  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,KAA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AAG,CAAC,CAAC,KAAK,CAAC,OAAO,0CAA0C,CAAC,CAAA;AAC7G,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAA;AACrF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AACrG,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAA"}
@@ -3,12 +3,11 @@ import { z as t } from "zod";
3
3
  //#region src/lib/contractSaleDocument.ts
4
4
  var n = t.string().trim().min(1), r = t.object({
5
5
  legalName: t.string().trim().min(1).optional(),
6
+ description: t.string().trim().min(1).optional(),
6
7
  registeredAddress: t.string().trim().min(1).optional(),
7
8
  companyRegistrationNumber: t.string().trim().min(1).optional(),
8
9
  establishmentRegistrationNumber: t.string().trim().min(1).optional(),
9
10
  vatNumber: t.string().trim().min(1).optional(),
10
- legalForm: t.string().trim().min(1).optional(),
11
- shareCapital: t.string().trim().min(1).optional(),
12
11
  tradeRegister: t.string().trim().min(1).optional()
13
12
  }).strict(), i = t.object({
14
13
  name: t.string().trim().min(1),
@@ -93,6 +92,7 @@ var _ = t.object({
93
92
  rental: l.optional(),
94
93
  taxRate: t.number().min(0).max(1).optional(),
95
94
  acceptanceLevel: u.default("none"),
95
+ issuerSignature: t.string().trim().min(1).optional(),
96
96
  acceptance: p.optional(),
97
97
  notes: t.string().optional()
98
98
  });
@@ -86,12 +86,11 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
86
86
  phone: z.ZodOptional<z.ZodString>;
87
87
  legalIdentity: z.ZodOptional<z.ZodObject<{
88
88
  legalName: z.ZodOptional<z.ZodString>;
89
+ description: z.ZodOptional<z.ZodString>;
89
90
  registeredAddress: z.ZodOptional<z.ZodString>;
90
91
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
91
92
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
92
93
  vatNumber: z.ZodOptional<z.ZodString>;
93
- legalForm: z.ZodOptional<z.ZodString>;
94
- shareCapital: z.ZodOptional<z.ZodString>;
95
94
  tradeRegister: z.ZodOptional<z.ZodString>;
96
95
  }, z.core.$strict>>;
97
96
  }, z.core.$strip>;
@@ -120,12 +119,11 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
120
119
  phone: z.ZodOptional<z.ZodString>;
121
120
  legalIdentity: z.ZodOptional<z.ZodObject<{
122
121
  legalName: z.ZodOptional<z.ZodString>;
122
+ description: z.ZodOptional<z.ZodString>;
123
123
  registeredAddress: z.ZodOptional<z.ZodString>;
124
124
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
125
125
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
126
126
  vatNumber: z.ZodOptional<z.ZodString>;
127
- legalForm: z.ZodOptional<z.ZodString>;
128
- shareCapital: z.ZodOptional<z.ZodString>;
129
127
  tradeRegister: z.ZodOptional<z.ZodString>;
130
128
  }, z.core.$strict>>;
131
129
  }, z.core.$strip>;
@@ -162,6 +160,7 @@ export declare const contractSaleDocumentApiSchema: z.ZodObject<{
162
160
  acceptance: "acceptance";
163
161
  signature: "signature";
164
162
  }>>;
163
+ issuerSignature: z.ZodOptional<z.ZodString>;
165
164
  notes: z.ZodOptional<z.ZodString>;
166
165
  date: z.ZodPreprocess<z.ZodDate>;
167
166
  dueDate: z.ZodPreprocess<z.ZodDate>;
@@ -274,12 +273,11 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
274
273
  phone: z.ZodOptional<z.ZodString>;
275
274
  legalIdentity: z.ZodOptional<z.ZodObject<{
276
275
  legalName: z.ZodOptional<z.ZodString>;
276
+ description: z.ZodOptional<z.ZodString>;
277
277
  registeredAddress: z.ZodOptional<z.ZodString>;
278
278
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
279
279
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
280
280
  vatNumber: z.ZodOptional<z.ZodString>;
281
- legalForm: z.ZodOptional<z.ZodString>;
282
- shareCapital: z.ZodOptional<z.ZodString>;
283
281
  tradeRegister: z.ZodOptional<z.ZodString>;
284
282
  }, z.core.$strict>>;
285
283
  }, z.core.$strip>;
@@ -308,12 +306,11 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
308
306
  phone: z.ZodOptional<z.ZodString>;
309
307
  legalIdentity: z.ZodOptional<z.ZodObject<{
310
308
  legalName: z.ZodOptional<z.ZodString>;
309
+ description: z.ZodOptional<z.ZodString>;
311
310
  registeredAddress: z.ZodOptional<z.ZodString>;
312
311
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
313
312
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
314
313
  vatNumber: z.ZodOptional<z.ZodString>;
315
- legalForm: z.ZodOptional<z.ZodString>;
316
- shareCapital: z.ZodOptional<z.ZodString>;
317
314
  tradeRegister: z.ZodOptional<z.ZodString>;
318
315
  }, z.core.$strict>>;
319
316
  }, z.core.$strip>;
@@ -350,6 +347,7 @@ export declare const getContractSaleDocumentResponseSchema: z.ZodObject<{
350
347
  acceptance: "acceptance";
351
348
  signature: "signature";
352
349
  }>>;
350
+ issuerSignature: z.ZodOptional<z.ZodString>;
353
351
  notes: z.ZodOptional<z.ZodString>;
354
352
  date: z.ZodPreprocess<z.ZodDate>;
355
353
  dueDate: z.ZodPreprocess<z.ZodDate>;
@@ -449,12 +447,11 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
449
447
  phone: z.ZodOptional<z.ZodString>;
450
448
  legalIdentity: z.ZodOptional<z.ZodObject<{
451
449
  legalName: z.ZodOptional<z.ZodString>;
450
+ description: z.ZodOptional<z.ZodString>;
452
451
  registeredAddress: z.ZodOptional<z.ZodString>;
453
452
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
454
453
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
455
454
  vatNumber: z.ZodOptional<z.ZodString>;
456
- legalForm: z.ZodOptional<z.ZodString>;
457
- shareCapital: z.ZodOptional<z.ZodString>;
458
455
  tradeRegister: z.ZodOptional<z.ZodString>;
459
456
  }, z.core.$strict>>;
460
457
  }, z.core.$strip>;
@@ -483,12 +480,11 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
483
480
  phone: z.ZodOptional<z.ZodString>;
484
481
  legalIdentity: z.ZodOptional<z.ZodObject<{
485
482
  legalName: z.ZodOptional<z.ZodString>;
483
+ description: z.ZodOptional<z.ZodString>;
486
484
  registeredAddress: z.ZodOptional<z.ZodString>;
487
485
  companyRegistrationNumber: z.ZodOptional<z.ZodString>;
488
486
  establishmentRegistrationNumber: z.ZodOptional<z.ZodString>;
489
487
  vatNumber: z.ZodOptional<z.ZodString>;
490
- legalForm: z.ZodOptional<z.ZodString>;
491
- shareCapital: z.ZodOptional<z.ZodString>;
492
488
  tradeRegister: z.ZodOptional<z.ZodString>;
493
489
  }, z.core.$strict>>;
494
490
  }, z.core.$strip>;
@@ -525,6 +521,7 @@ export declare const acceptContractSaleDocumentResponseSchema: z.ZodObject<{
525
521
  acceptance: "acceptance";
526
522
  signature: "signature";
527
523
  }>>;
524
+ issuerSignature: z.ZodOptional<z.ZodString>;
528
525
  notes: z.ZodOptional<z.ZodString>;
529
526
  date: z.ZodPreprocess<z.ZodDate>;
530
527
  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,C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AC,OAAO,wCAAwC,CAAC,CAAA"}
@@ -49,12 +49,11 @@ export declare const loader: ({ ctx, params, request }: ContractSaleDocumentLoad
49
49
  phone?: string | undefined;
50
50
  legalIdentity?: {
51
51
  legalName?: string | undefined;
52
+ description?: string | undefined;
52
53
  registeredAddress?: string | undefined;
53
54
  companyRegistrationNumber?: string | undefined;
54
55
  establishmentRegistrationNumber?: string | undefined;
55
56
  vatNumber?: string | undefined;
56
- legalForm?: string | undefined;
57
- shareCapital?: string | undefined;
58
57
  tradeRegister?: string | undefined;
59
58
  } | undefined;
60
59
  };
@@ -83,12 +82,11 @@ export declare const loader: ({ ctx, params, request }: ContractSaleDocumentLoad
83
82
  phone?: string | undefined;
84
83
  legalIdentity?: {
85
84
  legalName?: string | undefined;
85
+ description?: string | undefined;
86
86
  registeredAddress?: string | undefined;
87
87
  companyRegistrationNumber?: string | undefined;
88
88
  establishmentRegistrationNumber?: string | undefined;
89
89
  vatNumber?: string | undefined;
90
- legalForm?: string | undefined;
91
- shareCapital?: string | undefined;
92
90
  tradeRegister?: string | undefined;
93
91
  } | undefined;
94
92
  };
@@ -123,6 +121,7 @@ export declare const loader: ({ ctx, params, request }: ContractSaleDocumentLoad
123
121
  translation?: "fr" | "en" | undefined;
124
122
  } | undefined;
125
123
  taxRate?: number | undefined;
124
+ issuerSignature?: string | undefined;
126
125
  notes?: string | undefined;
127
126
  rental?: {
128
127
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmEnE,CAAA;AAYnB,MAAM,CAAC,OAAO,UAAU,wBAAwB,4CA8P/C"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loczer/storefront-sdk",
3
- "version": "0.227.0",
3
+ "version": "0.229.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"