@billgangcom/theme-lib 1.72.3 → 1.72.4
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/builder.cjs.js +12 -12
- package/dist/builder.es.js +907 -891
- package/dist/{index-BvgD3Jle.cjs → index-C3l0gDlm.cjs} +26 -26
- package/dist/{index-mAhdzwdY.js → index-Dg_2v0bC.js} +5096 -5045
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +80 -73
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as t, I as j, c as
|
|
2
|
-
import { a1 as si, a5 as ni, $ as ii, Z as ai, a4 as oi, a3 as ci, Y as ri, _ as li, W as di, X as ui, a0 as hi, a2 as pi } from "./index-
|
|
1
|
+
import { j as t, I as j, c as z, d as Nt, e as pt, g as mt, P as gt, S as lt, h as kt, D as ft, i as xt, v as _t, B as dt, k as ot, a as wt, l as Tt, O as ht, m as J, n as yt, C as jt, o as V, p as At, q as Dt, r as bt, t as Et, w as vt, x as W, L as Rt, y as Ct, z as St, A as ct, s as at, f as Q, E as Lt, F as R, G as Ut, M as ut, H as zt, J as rt, K as Mt, N as Ft, Q as Bt, T as Ht, U as $t, V as Vt } from "./index-Dg_2v0bC.js";
|
|
2
|
+
import { a1 as si, a5 as ni, $ as ii, Z as ai, a4 as oi, a3 as ci, Y as ri, _ as li, W as di, X as ui, a0 as hi, a2 as pi } from "./index-Dg_2v0bC.js";
|
|
3
3
|
import g from "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
const Yt = "_block_kh9z8_8", Gt = "_title_kh9z8_16", Wt = "_subtitle_kh9z8_23", Xt = "_alignmentContent_kh9z8_30", Qt = "_alignments_kh9z8_39", Jt = "_alignment_kh9z8_30", Kt = "_circle_kh9z8_64", Zt = "_paddings_kh9z8_71", te = "_padding_kh9z8_71", ee = "_active_kh9z8_97", G = {
|
|
@@ -111,7 +111,7 @@ const Yt = "_block_kh9z8_8", Gt = "_title_kh9z8_16", Wt = "_subtitle_kh9z8_23",
|
|
|
111
111
|
/* @__PURE__ */ t.jsx("div", { className: G.paddings, children: ne.map((l) => /* @__PURE__ */ t.jsxs(
|
|
112
112
|
"label",
|
|
113
113
|
{
|
|
114
|
-
className:
|
|
114
|
+
className: z(G.padding, {
|
|
115
115
|
[G.active]: I === l
|
|
116
116
|
}),
|
|
117
117
|
onFocus: () => {
|
|
@@ -189,7 +189,7 @@ function ge({ id: h, children: a }) {
|
|
|
189
189
|
}
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
const
|
|
192
|
+
const Un = (h) => {
|
|
193
193
|
const {
|
|
194
194
|
isActiveItems: a,
|
|
195
195
|
setIsActiveItems: o,
|
|
@@ -346,7 +346,7 @@ const zn = (h) => {
|
|
|
346
346
|
dt,
|
|
347
347
|
{
|
|
348
348
|
withoutHover: !0,
|
|
349
|
-
className:
|
|
349
|
+
className: z(X.button, {
|
|
350
350
|
[X.disabled]: !!(x && x <= s.length || s.length === r.length)
|
|
351
351
|
}),
|
|
352
352
|
size: "s",
|
|
@@ -461,7 +461,7 @@ function Pe({ product: h, children: a }) {
|
|
|
461
461
|
}
|
|
462
462
|
);
|
|
463
463
|
}
|
|
464
|
-
const
|
|
464
|
+
const zn = (h) => {
|
|
465
465
|
const {
|
|
466
466
|
isActiveItems: a,
|
|
467
467
|
setIsActiveItems: o,
|
|
@@ -623,7 +623,7 @@ const Un = (h) => {
|
|
|
623
623
|
dt,
|
|
624
624
|
{
|
|
625
625
|
withoutHover: !0,
|
|
626
|
-
className:
|
|
626
|
+
className: z(Y.button, {
|
|
627
627
|
[Y.disabled]: !!(y && y <= s.length || s.length === (r == null ? void 0 : r.length))
|
|
628
628
|
}),
|
|
629
629
|
size: "s",
|
|
@@ -749,8 +749,8 @@ const Fn = (h) => {
|
|
|
749
749
|
if (P && $.id !== P.id) {
|
|
750
750
|
const D = s.findIndex((L) => L.id === $.id), et = s.findIndex((L) => L.id === P.id);
|
|
751
751
|
if (D !== -1 && et !== -1) {
|
|
752
|
-
const L = [...s], [
|
|
753
|
-
L.splice(et, 0,
|
|
752
|
+
const L = [...s], [tt] = L.splice(D, 1);
|
|
753
|
+
L.splice(et, 0, tt), c(L);
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
}, H = (m) => {
|
|
@@ -769,12 +769,12 @@ const Fn = (h) => {
|
|
|
769
769
|
ot,
|
|
770
770
|
{
|
|
771
771
|
onChange: (D) => {
|
|
772
|
-
const L = [...s].map((
|
|
772
|
+
const L = [...s].map((tt) => tt.id === m.id ? {
|
|
773
773
|
...m,
|
|
774
774
|
name: {
|
|
775
775
|
"en-US": D
|
|
776
776
|
}
|
|
777
|
-
} :
|
|
777
|
+
} : tt);
|
|
778
778
|
E({
|
|
779
779
|
...m,
|
|
780
780
|
name: {
|
|
@@ -792,12 +792,12 @@ const Fn = (h) => {
|
|
|
792
792
|
Nt,
|
|
793
793
|
{
|
|
794
794
|
onChange: (D) => {
|
|
795
|
-
const L = [...s].map((
|
|
795
|
+
const L = [...s].map((tt) => tt.id === m.id ? {
|
|
796
796
|
...m,
|
|
797
797
|
name: {
|
|
798
798
|
"en-US": D
|
|
799
799
|
}
|
|
800
|
-
} :
|
|
800
|
+
} : tt);
|
|
801
801
|
c([...L]);
|
|
802
802
|
},
|
|
803
803
|
value: m.name["en-US"],
|
|
@@ -808,10 +808,10 @@ const Fn = (h) => {
|
|
|
808
808
|
Dt,
|
|
809
809
|
{
|
|
810
810
|
onChange: (D) => {
|
|
811
|
-
const L = [...s].map((
|
|
811
|
+
const L = [...s].map((tt) => tt.id === m.id ? {
|
|
812
812
|
...m,
|
|
813
813
|
images: D
|
|
814
|
-
} :
|
|
814
|
+
} : tt);
|
|
815
815
|
c([...L]);
|
|
816
816
|
},
|
|
817
817
|
activeImage: (P = s.find((D) => D.id === m.id)) == null ? void 0 : P.images[0]
|
|
@@ -909,7 +909,7 @@ const Fn = (h) => {
|
|
|
909
909
|
dt,
|
|
910
910
|
{
|
|
911
911
|
withoutHover: !0,
|
|
912
|
-
className:
|
|
912
|
+
className: z(V.button, {
|
|
913
913
|
[V.disabled]: !!(w && w <= s.length)
|
|
914
914
|
}),
|
|
915
915
|
size: "s",
|
|
@@ -1464,12 +1464,12 @@ const Vn = (h) => {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
)
|
|
1466
1466
|
] });
|
|
1467
|
-
}, Ee = "_options_s4lx3_1", Re = "_price_s4lx3_18", Le = "_oldPrice_s4lx3_25",
|
|
1467
|
+
}, Ee = "_options_s4lx3_1", Re = "_price_s4lx3_18", Le = "_oldPrice_s4lx3_25", Ue = "_newPrice_s4lx3_34", ze = "_animate_s4lx3_42", Fe = "_meta_s4lx3_60", He = "_info_s4lx3_66", Ve = "_infoRight_s4lx3_75", Ye = "_buttons_s4lx3_82", Ge = "_variants_s4lx3_89", We = "_variant_s4lx3_89", Xe = "_stock_s4lx3_107", Qe = "_variantInfo_s4lx3_115", Je = "_quantity_s4lx3_122", Ke = "_button_s4lx3_82", Ze = "_activeVariant_s4lx3_168", ts = "_chargeTypes_s4lx3_172", es = "_charge_s4lx3_172", ss = "_chargeActive_s4lx3_197", ns = "_title_s4lx3_205", B = {
|
|
1468
1468
|
options: Ee,
|
|
1469
1469
|
price: Re,
|
|
1470
1470
|
oldPrice: Le,
|
|
1471
|
-
newPrice:
|
|
1472
|
-
animate:
|
|
1471
|
+
newPrice: Ue,
|
|
1472
|
+
animate: ze,
|
|
1473
1473
|
meta: Fe,
|
|
1474
1474
|
info: He,
|
|
1475
1475
|
infoRight: Ve,
|
|
@@ -1552,7 +1552,7 @@ const is = (h) => {
|
|
|
1552
1552
|
e.chargeTypes && e.chargeTypes.length > 1 && /* @__PURE__ */ t.jsx("div", { className: B.chargeTypes, children: e.chargeTypes.map((n) => /* @__PURE__ */ t.jsx(
|
|
1553
1553
|
"div",
|
|
1554
1554
|
{
|
|
1555
|
-
className:
|
|
1555
|
+
className: z(B.charge, {
|
|
1556
1556
|
[B.chargeActive]: d === n
|
|
1557
1557
|
}),
|
|
1558
1558
|
onClick: () => f(n),
|
|
@@ -1568,7 +1568,7 @@ const is = (h) => {
|
|
|
1568
1568
|
return /* @__PURE__ */ t.jsxs(
|
|
1569
1569
|
"div",
|
|
1570
1570
|
{
|
|
1571
|
-
className:
|
|
1571
|
+
className: z(B.variant, {
|
|
1572
1572
|
[B.activeVariant]: e.id === n.id
|
|
1573
1573
|
}),
|
|
1574
1574
|
onClick: () => {
|
|
@@ -1629,7 +1629,7 @@ const is = (h) => {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
),
|
|
1631
1631
|
/* @__PURE__ */ t.jsx(
|
|
1632
|
-
|
|
1632
|
+
Ut,
|
|
1633
1633
|
{
|
|
1634
1634
|
type: "number",
|
|
1635
1635
|
value: String(r),
|
|
@@ -1681,7 +1681,7 @@ const is = (h) => {
|
|
|
1681
1681
|
className: B.price,
|
|
1682
1682
|
id: "md",
|
|
1683
1683
|
children: [
|
|
1684
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
1684
|
+
/* @__PURE__ */ t.jsx("span", { className: z(B.newPrice, { [B.animate]: i }), children: Q({
|
|
1685
1685
|
amount: e.price.amount * r,
|
|
1686
1686
|
currency: e.price.currency
|
|
1687
1687
|
}) }),
|
|
@@ -1701,7 +1701,7 @@ const is = (h) => {
|
|
|
1701
1701
|
) : /* @__PURE__ */ t.jsx(
|
|
1702
1702
|
"span",
|
|
1703
1703
|
{
|
|
1704
|
-
className:
|
|
1704
|
+
className: z(B.newPrice, { [B.animate]: i }),
|
|
1705
1705
|
id: "md",
|
|
1706
1706
|
children: Q({
|
|
1707
1707
|
amount: e.price.amount * r,
|
|
@@ -1717,7 +1717,7 @@ const is = (h) => {
|
|
|
1717
1717
|
/* @__PURE__ */ t.jsx(
|
|
1718
1718
|
"span",
|
|
1719
1719
|
{
|
|
1720
|
-
className:
|
|
1720
|
+
className: z(B.newPrice, { [B.animate]: i }),
|
|
1721
1721
|
id: "md",
|
|
1722
1722
|
children: Q({
|
|
1723
1723
|
amount: e.subscriptionSettings.price.amount * r,
|
|
@@ -1741,7 +1741,7 @@ const is = (h) => {
|
|
|
1741
1741
|
) : e.subscriptionSettings && /* @__PURE__ */ t.jsx(
|
|
1742
1742
|
"span",
|
|
1743
1743
|
{
|
|
1744
|
-
className:
|
|
1744
|
+
className: z(B.newPrice, { [B.animate]: i }),
|
|
1745
1745
|
id: "md",
|
|
1746
1746
|
children: Q({
|
|
1747
1747
|
amount: e.subscriptionSettings.price.amount * r,
|
|
@@ -1914,7 +1914,7 @@ const is = (h) => {
|
|
|
1914
1914
|
return /* @__PURE__ */ t.jsxs(
|
|
1915
1915
|
"div",
|
|
1916
1916
|
{
|
|
1917
|
-
className:
|
|
1917
|
+
className: z(k.modal, {
|
|
1918
1918
|
[k.closing]: !s
|
|
1919
1919
|
}),
|
|
1920
1920
|
onClick: (i) => i.stopPropagation(),
|
|
@@ -1942,7 +1942,7 @@ const is = (h) => {
|
|
|
1942
1942
|
o && /* @__PURE__ */ t.jsx(
|
|
1943
1943
|
"button",
|
|
1944
1944
|
{
|
|
1945
|
-
className:
|
|
1945
|
+
className: z(k.clear, {
|
|
1946
1946
|
[k.activeClear]: o
|
|
1947
1947
|
}),
|
|
1948
1948
|
disabled: !o,
|
|
@@ -2102,11 +2102,11 @@ const is = (h) => {
|
|
|
2102
2102
|
] }),
|
|
2103
2103
|
/* @__PURE__ */ t.jsx(R, { onClick: () => I("/checkout", !1), children: "Checkout" })
|
|
2104
2104
|
] })
|
|
2105
|
-
] }) : /* @__PURE__ */ t.jsx(
|
|
2105
|
+
] }) : /* @__PURE__ */ t.jsx(Us, {})
|
|
2106
2106
|
]
|
|
2107
2107
|
}
|
|
2108
2108
|
);
|
|
2109
|
-
},
|
|
2109
|
+
}, Us = () => /* @__PURE__ */ t.jsxs("div", { className: k.empty, children: [
|
|
2110
2110
|
/* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
|
2111
2111
|
j,
|
|
2112
2112
|
{
|
|
@@ -2129,7 +2129,7 @@ const is = (h) => {
|
|
|
2129
2129
|
)
|
|
2130
2130
|
] })
|
|
2131
2131
|
] }), qt = ({ signUp: h, close: a }) => {
|
|
2132
|
-
const { token: o } =
|
|
2132
|
+
const { token: o } = zt(), s = St(), [c, e] = g.useState("test-email@gmail.com");
|
|
2133
2133
|
g.useEffect(() => {
|
|
2134
2134
|
o && (async () => {
|
|
2135
2135
|
if (!o) return;
|
|
@@ -2179,7 +2179,7 @@ const is = (h) => {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
)
|
|
2181
2181
|
] });
|
|
2182
|
-
},
|
|
2182
|
+
}, zs = ({
|
|
2183
2183
|
logo: h,
|
|
2184
2184
|
setIsOpen: a,
|
|
2185
2185
|
signUp: o,
|
|
@@ -2242,7 +2242,7 @@ const is = (h) => {
|
|
|
2242
2242
|
close: () => c(!1),
|
|
2243
2243
|
hasPadding: !1,
|
|
2244
2244
|
children: /* @__PURE__ */ t.jsx(
|
|
2245
|
-
|
|
2245
|
+
zs,
|
|
2246
2246
|
{
|
|
2247
2247
|
logo: h,
|
|
2248
2248
|
setIsOpen: c,
|
|
@@ -2421,11 +2421,11 @@ const is = (h) => {
|
|
|
2421
2421
|
onClick: f,
|
|
2422
2422
|
children: [
|
|
2423
2423
|
/* @__PURE__ */ t.jsx("h5", { id: "h5", children: h }),
|
|
2424
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
2424
|
+
/* @__PURE__ */ t.jsx("div", { className: z(it.icon, { [it.open]: s }), children: /* @__PURE__ */ t.jsx(j, { name: "CaretDown" }) })
|
|
2425
2425
|
]
|
|
2426
2426
|
}
|
|
2427
2427
|
),
|
|
2428
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
2428
|
+
/* @__PURE__ */ t.jsx("div", { className: z(it.content, { [it.contentOpen]: s }), children: /* @__PURE__ */ t.jsx(
|
|
2429
2429
|
"p",
|
|
2430
2430
|
{
|
|
2431
2431
|
id: "md",
|
|
@@ -2453,7 +2453,7 @@ const is = (h) => {
|
|
|
2453
2453
|
return /* @__PURE__ */ t.jsxs(
|
|
2454
2454
|
"div",
|
|
2455
2455
|
{
|
|
2456
|
-
className:
|
|
2456
|
+
className: z(Pt.buttonsBlock, {
|
|
2457
2457
|
[Pt.cartDisabled]: !c
|
|
2458
2458
|
}),
|
|
2459
2459
|
onClick: (r) => r.stopPropagation(),
|
|
@@ -2526,7 +2526,7 @@ const is = (h) => {
|
|
|
2526
2526
|
/* @__PURE__ */ t.jsx("p", { id: "p", children: o(h) })
|
|
2527
2527
|
] })
|
|
2528
2528
|
] });
|
|
2529
|
-
}, hn = "
|
|
2529
|
+
}, hn = "_variants_18tbu_82", pn = "_variant_18tbu_82", mn = "_stock_18tbu_100", gn = "_variantInfo_18tbu_108", fn = "_title_18tbu_202", xn = "_modal_18tbu_208", _n = "_header_18tbu_228", yn = "_productOptions_18tbu_236", jn = "_loading_18tbu_244", Z = {
|
|
2530
2530
|
variants: hn,
|
|
2531
2531
|
variant: pn,
|
|
2532
2532
|
stock: mn,
|
|
@@ -2556,10 +2556,10 @@ const is = (h) => {
|
|
|
2556
2556
|
}, []), /* @__PURE__ */ t.jsx(ut, { close: h.setIsOpen, children: /* @__PURE__ */ t.jsxs(
|
|
2557
2557
|
"div",
|
|
2558
2558
|
{
|
|
2559
|
-
className:
|
|
2559
|
+
className: Z.modal,
|
|
2560
2560
|
onClick: (l) => l.stopPropagation(),
|
|
2561
2561
|
children: [
|
|
2562
|
-
s && /* @__PURE__ */ t.jsx("div", { className:
|
|
2562
|
+
s && /* @__PURE__ */ t.jsx("div", { className: Z.loading, children: /* @__PURE__ */ t.jsx($t, {}) }),
|
|
2563
2563
|
h.type === "Add To Cart" && h.isCartEnabled && e && d && !s && /* @__PURE__ */ t.jsx(
|
|
2564
2564
|
bn,
|
|
2565
2565
|
{
|
|
@@ -2635,7 +2635,7 @@ const is = (h) => {
|
|
|
2635
2635
|
}
|
|
2636
2636
|
}
|
|
2637
2637
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2638
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
2638
|
+
/* @__PURE__ */ t.jsxs("div", { className: Z.header, children: [
|
|
2639
2639
|
/* @__PURE__ */ t.jsx("div", { id: "h3", children: "Choose a Variant" }),
|
|
2640
2640
|
/* @__PURE__ */ t.jsx(
|
|
2641
2641
|
j,
|
|
@@ -2649,7 +2649,7 @@ const is = (h) => {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
)
|
|
2651
2651
|
] }),
|
|
2652
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
2652
|
+
/* @__PURE__ */ t.jsx("div", { className: Z.variants, children: a.filter((x) => {
|
|
2653
2653
|
var p;
|
|
2654
2654
|
return (p = x.chargeTypes) == null ? void 0 : p.includes(o);
|
|
2655
2655
|
}).map((x) => {
|
|
@@ -2657,16 +2657,16 @@ const is = (h) => {
|
|
|
2657
2657
|
return /* @__PURE__ */ t.jsxs(
|
|
2658
2658
|
"div",
|
|
2659
2659
|
{
|
|
2660
|
-
className:
|
|
2660
|
+
className: z(Z.variant),
|
|
2661
2661
|
onClick: () => {
|
|
2662
2662
|
y(x.id), c(!1);
|
|
2663
2663
|
},
|
|
2664
2664
|
children: [
|
|
2665
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
2665
|
+
/* @__PURE__ */ t.jsxs("div", { className: Z.variantInfo, children: [
|
|
2666
2666
|
/* @__PURE__ */ t.jsx(
|
|
2667
2667
|
"span",
|
|
2668
2668
|
{
|
|
2669
|
-
className:
|
|
2669
|
+
className: Z.title,
|
|
2670
2670
|
id: "h4",
|
|
2671
2671
|
children: x.name
|
|
2672
2672
|
}
|
|
@@ -2679,7 +2679,7 @@ const is = (h) => {
|
|
|
2679
2679
|
/* @__PURE__ */ t.jsx("div", { id: "md", children: o === "ONE_TIME" && /* @__PURE__ */ t.jsxs(
|
|
2680
2680
|
"span",
|
|
2681
2681
|
{
|
|
2682
|
-
className:
|
|
2682
|
+
className: Z.stock,
|
|
2683
2683
|
id: "md",
|
|
2684
2684
|
children: [
|
|
2685
2685
|
(i = x.quantity.restrictions) != null && i.max || x.quantity.available !== void 0 ? ((b = x.quantity.restrictions) == null ? void 0 : b.max) || x.quantity.available : "∞",
|
|
@@ -2701,11 +2701,18 @@ const is = (h) => {
|
|
|
2701
2701
|
}, 300);
|
|
2702
2702
|
};
|
|
2703
2703
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2704
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
2705
|
-
/* @__PURE__ */ t.jsxs(
|
|
2706
|
-
"
|
|
2707
|
-
|
|
2708
|
-
|
|
2704
|
+
/* @__PURE__ */ t.jsxs("div", { className: Z.header, children: [
|
|
2705
|
+
/* @__PURE__ */ t.jsxs(
|
|
2706
|
+
"div",
|
|
2707
|
+
{
|
|
2708
|
+
id: "h3",
|
|
2709
|
+
className: Z.title,
|
|
2710
|
+
children: [
|
|
2711
|
+
"Buy ",
|
|
2712
|
+
at(a.name)
|
|
2713
|
+
]
|
|
2714
|
+
}
|
|
2715
|
+
),
|
|
2709
2716
|
/* @__PURE__ */ t.jsx(
|
|
2710
2717
|
j,
|
|
2711
2718
|
{
|
|
@@ -2722,7 +2729,7 @@ const is = (h) => {
|
|
|
2722
2729
|
}
|
|
2723
2730
|
)
|
|
2724
2731
|
] }),
|
|
2725
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
2732
|
+
/* @__PURE__ */ t.jsx("div", { className: Z.productOptions, children: /* @__PURE__ */ t.jsx(
|
|
2726
2733
|
is,
|
|
2727
2734
|
{
|
|
2728
2735
|
product: a,
|
|
@@ -2731,7 +2738,7 @@ const is = (h) => {
|
|
|
2731
2738
|
}
|
|
2732
2739
|
) })
|
|
2733
2740
|
] });
|
|
2734
|
-
}, In = "_contentModal_1ptti_1", Nn = "_modalTop_1ptti_13", Cn = "_loading_1ptti_19", Sn = "_modalCards_1ptti_27", Pn = "_modalImage_1ptti_32", kn = "_card_1ptti_37", wn = "_cardInfo_1ptti_49", Tn = "_cardButtons_1ptti_56", Mn = "_title_1ptti_62", Bn = "_blockImage_1ptti_69", $n = "_short_1ptti_78", On = "_price_1ptti_82", qn = "_oldPrice_1ptti_89", An = "_newPrice_1ptti_98",
|
|
2741
|
+
}, In = "_contentModal_1ptti_1", Nn = "_modalTop_1ptti_13", Cn = "_loading_1ptti_19", Sn = "_modalCards_1ptti_27", Pn = "_modalImage_1ptti_32", kn = "_card_1ptti_37", wn = "_cardInfo_1ptti_49", Tn = "_cardButtons_1ptti_56", Mn = "_title_1ptti_62", Bn = "_blockImage_1ptti_69", $n = "_short_1ptti_78", On = "_price_1ptti_82", qn = "_oldPrice_1ptti_89", An = "_newPrice_1ptti_98", U = {
|
|
2735
2742
|
contentModal: In,
|
|
2736
2743
|
modalTop: Nn,
|
|
2737
2744
|
loading: Cn,
|
|
@@ -2773,14 +2780,14 @@ const is = (h) => {
|
|
|
2773
2780
|
return /* @__PURE__ */ t.jsx(ut, { close: () => a(!1), children: /* @__PURE__ */ t.jsxs(
|
|
2774
2781
|
"div",
|
|
2775
2782
|
{
|
|
2776
|
-
className:
|
|
2783
|
+
className: U.contentModal,
|
|
2777
2784
|
onClick: (l) => l.stopPropagation(),
|
|
2778
2785
|
children: [
|
|
2779
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
2786
|
+
/* @__PURE__ */ t.jsxs("div", { className: U.modalTop, children: [
|
|
2780
2787
|
/* @__PURE__ */ t.jsx(
|
|
2781
2788
|
"span",
|
|
2782
2789
|
{
|
|
2783
|
-
className:
|
|
2790
|
+
className: U.title,
|
|
2784
2791
|
id: "h4",
|
|
2785
2792
|
children: at(s.name)
|
|
2786
2793
|
}
|
|
@@ -2795,10 +2802,10 @@ const is = (h) => {
|
|
|
2795
2802
|
}
|
|
2796
2803
|
)
|
|
2797
2804
|
] }),
|
|
2798
|
-
!_ && d && /* @__PURE__ */ t.jsx("div", { className:
|
|
2805
|
+
!_ && d && /* @__PURE__ */ t.jsx("div", { className: U.modalCards, children: d.map((l) => /* @__PURE__ */ t.jsxs(
|
|
2799
2806
|
"div",
|
|
2800
2807
|
{
|
|
2801
|
-
className:
|
|
2808
|
+
className: U.card,
|
|
2802
2809
|
children: [
|
|
2803
2810
|
/* @__PURE__ */ t.jsx("div", { children: l.productData.images[0] ? /* @__PURE__ */ t.jsx(
|
|
2804
2811
|
"img",
|
|
@@ -2807,27 +2814,27 @@ const is = (h) => {
|
|
|
2807
2814
|
alt: "",
|
|
2808
2815
|
width: 64,
|
|
2809
2816
|
height: 64,
|
|
2810
|
-
className:
|
|
2817
|
+
className: U.modalImage
|
|
2811
2818
|
}
|
|
2812
|
-
) : /* @__PURE__ */ t.jsx("div", { className: U
|
|
2813
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
2819
|
+
) : /* @__PURE__ */ t.jsx("div", { className: z(U.blockImage, U.modalImage), children: /* @__PURE__ */ t.jsx(j, { name: "Image" }) }) }),
|
|
2820
|
+
/* @__PURE__ */ t.jsxs("div", { className: U.cardInfo, children: [
|
|
2814
2821
|
/* @__PURE__ */ t.jsx(
|
|
2815
2822
|
"div",
|
|
2816
2823
|
{
|
|
2817
|
-
className:
|
|
2824
|
+
className: U.name,
|
|
2818
2825
|
id: "h5",
|
|
2819
2826
|
children: l.productData.compareAtPrice && (l.productData.compareAtPrice.amount || 0) - (l.productData.minPrice.amount || 0) > 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
2820
2827
|
at(l.productData.name),
|
|
2821
2828
|
/* @__PURE__ */ t.jsxs(
|
|
2822
2829
|
"span",
|
|
2823
2830
|
{
|
|
2824
|
-
className:
|
|
2831
|
+
className: U.price,
|
|
2825
2832
|
id: "md",
|
|
2826
2833
|
children: [
|
|
2827
2834
|
/* @__PURE__ */ t.jsx(
|
|
2828
2835
|
"span",
|
|
2829
2836
|
{
|
|
2830
|
-
className:
|
|
2837
|
+
className: U.newPrice,
|
|
2831
2838
|
id: "md",
|
|
2832
2839
|
children: Q({
|
|
2833
2840
|
amount: l.productData.minPrice.amount,
|
|
@@ -2838,7 +2845,7 @@ const is = (h) => {
|
|
|
2838
2845
|
/* @__PURE__ */ t.jsx(
|
|
2839
2846
|
"span",
|
|
2840
2847
|
{
|
|
2841
|
-
className:
|
|
2848
|
+
className: U.oldPrice,
|
|
2842
2849
|
id: "md",
|
|
2843
2850
|
children: Q({
|
|
2844
2851
|
amount: l.productData.compareAtPrice.amount,
|
|
@@ -2854,7 +2861,7 @@ const is = (h) => {
|
|
|
2854
2861
|
/* @__PURE__ */ t.jsx(
|
|
2855
2862
|
"span",
|
|
2856
2863
|
{
|
|
2857
|
-
className:
|
|
2864
|
+
className: U.newPrice,
|
|
2858
2865
|
id: "md",
|
|
2859
2866
|
children: Q({
|
|
2860
2867
|
amount: l.productData.minPrice.amount,
|
|
@@ -2868,13 +2875,13 @@ const is = (h) => {
|
|
|
2868
2875
|
l.productData.shortDescription && /* @__PURE__ */ t.jsx(
|
|
2869
2876
|
"span",
|
|
2870
2877
|
{
|
|
2871
|
-
className:
|
|
2878
|
+
className: U.short,
|
|
2872
2879
|
id: "md",
|
|
2873
2880
|
children: at(l.productData.shortDescription)
|
|
2874
2881
|
}
|
|
2875
2882
|
)
|
|
2876
2883
|
] }),
|
|
2877
|
-
/* @__PURE__ */ t.jsxs("div", { className:
|
|
2884
|
+
/* @__PURE__ */ t.jsxs("div", { className: U.cardButtons, children: [
|
|
2878
2885
|
/* @__PURE__ */ t.jsx(
|
|
2879
2886
|
R,
|
|
2880
2887
|
{
|
|
@@ -2901,7 +2908,7 @@ const is = (h) => {
|
|
|
2901
2908
|
},
|
|
2902
2909
|
l.id
|
|
2903
2910
|
)) }),
|
|
2904
|
-
_ && /* @__PURE__ */ t.jsx("div", { className:
|
|
2911
|
+
_ && /* @__PURE__ */ t.jsx("div", { className: U.loading, children: /* @__PURE__ */ t.jsx($t, {}) })
|
|
2905
2912
|
]
|
|
2906
2913
|
}
|
|
2907
2914
|
) });
|
|
@@ -2913,17 +2920,17 @@ export {
|
|
|
2913
2920
|
R as Button,
|
|
2914
2921
|
Ae as ButtonTypeSettings,
|
|
2915
2922
|
Hn as ButtonsSettings,
|
|
2916
|
-
|
|
2923
|
+
Un as CategorySettings,
|
|
2917
2924
|
Ot as ChargeTypes,
|
|
2918
2925
|
Dt as ChooseImage,
|
|
2919
2926
|
ni as ChooseImageModal,
|
|
2920
|
-
|
|
2927
|
+
Us as EmptyCart,
|
|
2921
2928
|
Fn as FormSettings,
|
|
2922
2929
|
Zn as GroupCardModal,
|
|
2923
2930
|
Yn as HeaderButtons,
|
|
2924
2931
|
j as Icon,
|
|
2925
2932
|
Nt as InputSettings,
|
|
2926
|
-
|
|
2933
|
+
Ut as InputUI,
|
|
2927
2934
|
ii as ItemsSettings,
|
|
2928
2935
|
Ln as LayoutSettings,
|
|
2929
2936
|
Mt as Link,
|
|
@@ -2932,8 +2939,8 @@ export {
|
|
|
2932
2939
|
Jn as MetaInfoPost,
|
|
2933
2940
|
ut as Modal,
|
|
2934
2941
|
Gn as PagesMobileMenu,
|
|
2935
|
-
|
|
2936
|
-
|
|
2942
|
+
zs as PagesMobileModal,
|
|
2943
|
+
zn as PagesSettings,
|
|
2937
2944
|
Qn as ProductCardButtons,
|
|
2938
2945
|
Kn as ProductCardModal,
|
|
2939
2946
|
is as ProductOptions,
|