@loczer/storefront-sdk 0.206.0 → 0.208.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.
|
@@ -13,7 +13,7 @@ var m = .95, h = "show_cancellation_policy_modal", g = (e) => e.tiers.length ===
|
|
|
13
13
|
maximumFractionDigits: 2
|
|
14
14
|
}).format(e);
|
|
15
15
|
} catch {
|
|
16
|
-
return `${
|
|
16
|
+
return `${Number.parseFloat((e * 100).toFixed(2))}%`;
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
function y({ policy: m, className: y }) {
|
|
@@ -40,7 +40,7 @@ var Ne = .2, Pe = (e) => e <= 0 ? 1 : Math.max(1, Math.ceil(e / 1440)), f = (e,
|
|
|
40
40
|
maximumFractionDigits: 2
|
|
41
41
|
}).format(e);
|
|
42
42
|
} catch {
|
|
43
|
-
return `${
|
|
43
|
+
return `${Number.parseFloat((e * 100).toFixed(2))}%`;
|
|
44
44
|
}
|
|
45
45
|
}, Ie = (e, t, n) => {
|
|
46
46
|
let r = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckoutSuccessPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutSuccessPage.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,mBAAmB,
|
|
1
|
+
{"version":3,"file":"CheckoutSuccessPage.d.ts","sourceRoot":"","sources":["../../src/pages/CheckoutSuccessPage.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,mBAAmB,4CAoC1C"}
|
|
@@ -7,48 +7,45 @@ import { ArrowRight as c, CheckCircle2 as l } from "lucide-react";
|
|
|
7
7
|
//#region src/pages/CheckoutSuccessPage.tsx
|
|
8
8
|
function u() {
|
|
9
9
|
let { t: u } = s(), { storeSlug: d } = a(), [f] = o(), p = e(f, d).toString(), m = `/${d ?? ""}/booking${p ? `?${p}` : ""}`, h = `/${d ?? ""}${p ? `?${p}` : ""}`;
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ r("div", {
|
|
11
11
|
className: "mx-auto max-w-3xl px-4 py-14 sm:px-6",
|
|
12
|
-
children:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/* @__PURE__ */ n(
|
|
16
|
-
className: "
|
|
17
|
-
|
|
18
|
-
className: "h-6 w-6",
|
|
19
|
-
"aria-hidden": "true"
|
|
20
|
-
})
|
|
21
|
-
}),
|
|
22
|
-
/* @__PURE__ */ n("h1", {
|
|
23
|
-
className: "mt-6 text-center text-2xl font-semibold tracking-tight text-slate-950",
|
|
24
|
-
children: /* @__PURE__ */ n("span", { children: u("checkout_success_title") })
|
|
25
|
-
}),
|
|
26
|
-
/* @__PURE__ */ n("p", {
|
|
27
|
-
className: "mt-2 text-center text-sm text-slate-600",
|
|
28
|
-
children: /* @__PURE__ */ n("span", { children: u("checkout_success_description") })
|
|
29
|
-
}),
|
|
30
|
-
/* @__PURE__ */ r("div", {
|
|
31
|
-
className: "mt-8 flex flex-col gap-3 sm:flex-row sm:justify-center",
|
|
32
|
-
children: [/* @__PURE__ */ n(i, {
|
|
33
|
-
to: m,
|
|
34
|
-
children: /* @__PURE__ */ n(t, {
|
|
35
|
-
variant: "outline",
|
|
36
|
-
className: "w-full sm:w-auto",
|
|
37
|
-
children: /* @__PURE__ */ n("span", { children: u("checkout_success_back_to_products") })
|
|
38
|
-
})
|
|
39
|
-
}), /* @__PURE__ */ n(i, {
|
|
40
|
-
to: h,
|
|
41
|
-
children: /* @__PURE__ */ r(t, {
|
|
42
|
-
className: "w-full gap-2 sm:w-auto",
|
|
43
|
-
children: [/* @__PURE__ */ n("span", { children: u("checkout_success_back_home") }), /* @__PURE__ */ n(c, {
|
|
44
|
-
className: "h-4 w-4",
|
|
45
|
-
"aria-hidden": "true"
|
|
46
|
-
})]
|
|
47
|
-
})
|
|
48
|
-
})]
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ n("div", {
|
|
14
|
+
className: "mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-success-subtle text-success",
|
|
15
|
+
children: /* @__PURE__ */ n(l, {
|
|
16
|
+
className: "h-6 w-6",
|
|
17
|
+
"aria-hidden": "true"
|
|
49
18
|
})
|
|
50
|
-
|
|
51
|
-
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ n("h1", {
|
|
21
|
+
className: "mt-6 text-center text-2xl font-semibold tracking-tight text-slate-950",
|
|
22
|
+
children: /* @__PURE__ */ n("span", { children: u("checkout_success_title") })
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ n("p", {
|
|
25
|
+
className: "mt-2 text-center text-sm text-slate-600",
|
|
26
|
+
children: /* @__PURE__ */ n("span", { children: u("checkout_success_description") })
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ r("div", {
|
|
29
|
+
className: "mt-8 flex flex-col gap-3 sm:flex-row sm:justify-center",
|
|
30
|
+
children: [/* @__PURE__ */ n(i, {
|
|
31
|
+
to: m,
|
|
32
|
+
children: /* @__PURE__ */ n(t, {
|
|
33
|
+
variant: "outline",
|
|
34
|
+
className: "w-full sm:w-auto",
|
|
35
|
+
children: /* @__PURE__ */ n("span", { children: u("checkout_success_back_to_products") })
|
|
36
|
+
})
|
|
37
|
+
}), /* @__PURE__ */ n(i, {
|
|
38
|
+
to: h,
|
|
39
|
+
children: /* @__PURE__ */ r(t, {
|
|
40
|
+
className: "w-full gap-2 sm:w-auto",
|
|
41
|
+
children: [/* @__PURE__ */ n("span", { children: u("checkout_success_back_home") }), /* @__PURE__ */ n(c, {
|
|
42
|
+
className: "h-4 w-4",
|
|
43
|
+
"aria-hidden": "true"
|
|
44
|
+
})]
|
|
45
|
+
})
|
|
46
|
+
})]
|
|
47
|
+
})
|
|
48
|
+
]
|
|
52
49
|
});
|
|
53
50
|
}
|
|
54
51
|
//#endregion
|