@everymatrix/cashier-page 1.87.26 → 1.87.102
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/components/{CashierCarousel-DsekS1gS.js → CashierCarousel-BS_3salc.js} +1328 -1321
- package/components/CashierCarousel-BhLbwlL5.js +5736 -0
- package/components/CashierCarousel-Bwhda3Gl.js +5774 -0
- package/components/CashierCarousel-CfPrrhkY.cjs +23 -0
- package/components/{CashierCarousel-BJw_SNG2.js → CashierCarousel-CyAfjImL.js} +1172 -1166
- package/components/CashierCarousel-GM1WPyu3.cjs +23 -0
- package/components/CashierError-BN1XW0cs.cjs +1 -0
- package/components/{CashierError-B1WXlDdK.js → CashierError-CDBKwx0N.js} +212 -206
- package/components/{CashierError-40KPQU2s.js → CashierError-CV6Kq3fN.js} +212 -206
- package/components/CashierError-CXcO-Kju.js +415 -0
- package/components/CashierError-CXwvUOLy.js +415 -0
- package/components/CashierError-D4Au4WNB.cjs +1 -0
- package/components/{CashierHeader-BZvqRar_.js → CashierHeader-BgAqvq1Q.js} +74 -81
- package/components/CashierHeader-BhGRQhkm.cjs +1 -0
- package/components/CashierHeader-C_Mz7ISU.js +397 -0
- package/components/CashierHeader-CaV1gcjZ.js +397 -0
- package/components/CashierHeader-CmAjJv-w.cjs +1 -0
- package/components/{CashierHeader-BfpTyZmQ.js → CashierHeader-DRj1BUdj.js} +78 -85
- package/components/{CashierIframeRedirect-CyI4soMo.js → CashierIframeRedirect-7uZKKZOy.js} +68 -68
- package/components/CashierIframeRedirect-B76kjw0o.js +389 -0
- package/components/{CashierIframeRedirect-DBSuyK9E.cjs → CashierIframeRedirect-BU-0tKNo.cjs} +1 -1
- package/components/{CashierIframeRedirect-2CfxTUrh.js → CashierIframeRedirect-BkvkX6Ih.js} +68 -68
- package/components/CashierIframeRedirect-Ddt7NW02.cjs +1 -0
- package/components/CashierIframeRedirect-DmvuwOL2.js +389 -0
- package/components/{CashierMethodDetails-U6L33HpX.cjs → CashierMethodDetails-BEykktuA.cjs} +4 -4
- package/components/CashierMethodDetails-BX_W3rwH.js +9887 -0
- package/components/{CashierMethodDetails-CuQYMgbw.js → CashierMethodDetails-Bdko0TrB.js} +1574 -1574
- package/components/{CashierMethodDetails-DFXMp3df.js → CashierMethodDetails-C0EaNINa.js} +1611 -1611
- package/components/CashierMethodDetails-DmvyMFjk.cjs +85 -0
- package/components/CashierMethodDetails-i7grZPp4.js +9927 -0
- package/components/CashierMethodsList-B6tMxcnh.js +794 -0
- package/components/{CashierMethodsList-tRbJ56Bk.js → CashierMethodsList-CRWXDpa-.js} +263 -263
- package/components/{CashierMethodsList-CshlP6d7.js → CashierMethodsList-CVSYKCiY.js} +153 -153
- package/components/CashierMethodsList-DSq72RRw.js +809 -0
- package/components/CashierMethodsList-GOTxtR6r.cjs +1 -0
- package/components/CashierMethodsList-LHoZgwVR.cjs +1 -0
- package/components/{CashierModal-BCs-hvy-.js → CashierModal-B7N_nPHW.js} +162 -146
- package/components/CashierModal-C845c3D0.cjs +1 -0
- package/components/CashierModal-CTYxaPKG.js +366 -0
- package/components/{CashierModal-DdvNZLqY.cjs → CashierModal-Cd1uDEwu.cjs} +1 -1
- package/components/{CashierModal-Cyn1bRtX.js → CashierModal-KhxltwKt.js} +123 -139
- package/components/CashierModal-ndVMjksn.js +382 -0
- package/components/{CashierNotifications-CkRmBcgx.js → CashierNotifications-BmarDqdP.js} +34 -34
- package/components/{CashierNotifications-DfV8x-rA.js → CashierNotifications-Bp4KJnpm.js} +34 -34
- package/components/CashierNotifications-D4fUbROm.js +129 -0
- package/components/CashierNotifications-JNstA5Yb.js +129 -0
- package/components/{CashierNotifications-B93HkTiJ.cjs → CashierNotifications-bGhd7Jsw.cjs} +1 -1
- package/components/CashierNotifications-tfTPEiSk.cjs +1 -0
- package/components/CashierPage-4nTfbT_j.js +3994 -0
- package/components/{CashierPage--A8w0jWY.js → CashierPage-BSByd5RU.js} +79 -79
- package/components/CashierPage-Bd71Nhaq.js +4020 -0
- package/components/CashierPage-CHtYMgc0.cjs +1 -0
- package/components/{CashierPage-DJxPlCxY.js → CashierPage-CZ4TSJkx.js} +81 -81
- package/components/{CashierPage-kf1tVNZU.cjs → CashierPage-DfrmhWzm.cjs} +1 -1
- package/components/{CashierReceiptPage-CZbWQvvv.js → CashierReceiptPage-BD3aDt3T.js} +492 -492
- package/components/{CashierReceiptPage-Bp7jFvov.cjs → CashierReceiptPage-BQpEnTyU.cjs} +2 -2
- package/components/CashierReceiptPage-CnyLmUmL.js +1694 -0
- package/components/CashierReceiptPage-DV7Iz4wR.js +1690 -0
- package/components/{CashierReceiptPage-CofNGFj1.js → CashierReceiptPage-DgxlKvM2.js} +518 -518
- package/components/CashierReceiptPage-HRthn--H.cjs +28 -0
- package/components/CashierSessionExpirationModal-B98EEWed.js +1198 -0
- package/components/CashierSessionExpirationModal-CYcBByMT.cjs +2 -0
- package/components/CashierSessionExpirationModal-Ckhir3qN.cjs +2 -0
- package/components/{CashierSessionExpirationModal-Ckh0MnJn.js → CashierSessionExpirationModal-CvYI4jUg.js} +129 -128
- package/components/CashierSessionExpirationModal-D6FwiFE-.js +1198 -0
- package/components/{CashierSessionExpirationModal-CqqS70E7.js → CashierSessionExpirationModal-DM8-SPd3.js} +131 -130
- package/components/CashierSpinner-C0P8ZCtD.js +78 -0
- package/components/{CashierSpinner-BTDAq-Gk.js → CashierSpinner-CeX51xPH.js} +17 -17
- package/components/CashierSpinner-CikMZBzw.cjs +1 -0
- package/components/CashierSpinner-DJTUb5NI.js +78 -0
- package/components/{CashierSpinner-yhu6RHaO.cjs → CashierSpinner-ODmoTC6W.cjs} +1 -1
- package/components/{CashierSpinner-C8tFNM39.js → CashierSpinner-a2VW8q1r.js} +17 -17
- package/components/CashierStepUp-5um8gbUX.js +1068 -0
- package/components/{CashierStepUp-CHNRsm-i.js → CashierStepUp-Bk5fP7qd.js} +243 -243
- package/components/CashierStepUp-CjnvqYJo.cjs +1 -0
- package/components/CashierStepUp-CxawlCYf.cjs +1 -0
- package/components/CashierStepUp-CyO7gmgP.js +1107 -0
- package/components/{CashierStepUp-BTxHmTK2.js → CashierStepUp-DS-UsgrI.js} +294 -294
- package/components/CashierTransactionHistory-5JNtVHcj.js +1305 -0
- package/components/{CashierTransactionHistory-HclQq8wA.cjs → CashierTransactionHistory-Bwc0I09a.cjs} +1 -1
- package/components/CashierTransactionHistory-Cm3ikVPK.js +1305 -0
- package/components/CashierTransactionHistory-CmgO6bXN.cjs +1 -0
- package/components/{CashierTransactionHistory-DTAdYC2Y.js → CashierTransactionHistory-CoqckbJ2.js} +231 -231
- package/components/{CashierTransactionHistory-Bd7CEoaj.js → CashierTransactionHistory-DO6C0I1a.js} +420 -420
- package/components/{CashierVerifications-fPErTC9e.js → CashierVerifications-B8fkVYVD.js} +88 -88
- package/components/CashierVerifications-BmZYiJaN.js +578 -0
- package/components/{CashierVerifications-b9Eeag80.js → CashierVerifications-CuX4vrPf.js} +95 -95
- package/components/CashierVerifications-DkayuISY.cjs +1 -0
- package/components/CashierVerifications-hID6hjDs.js +582 -0
- package/components/{CashierVerifications--VdCm0A0.cjs → CashierVerifications-mSpdNrML.cjs} +1 -1
- package/components/{TxnStatusIcon-Dm5lj3fd.js → TxnStatusIcon-BDnNMhFD.js} +19 -19
- package/components/{TxnStatusIcon-DRLLqFXC.js → TxnStatusIcon-BZMSpoHv.js} +19 -19
- package/components/{TxnStatusIcon-C8lEFNJK.cjs → TxnStatusIcon-C8bPyggx.cjs} +1 -1
- package/components/TxnStatusIcon-HrmfQdAc.js +142 -0
- package/components/TxnStatusIcon-Le-TBKNh.cjs +1 -0
- package/components/TxnStatusIcon-VvYGYLio.js +142 -0
- package/components/{TxnTypeIcons-CFpm5fsz.cjs → TxnTypeIcons-Cc7Yt6gg.cjs} +1 -1
- package/components/{TxnTypeIcons-B32Qcanf.js → TxnTypeIcons-DZRNYWUy.js} +14 -14
- package/components/{TxnTypeIcons-Dwfdotxd.js → TxnTypeIcons-__im0AE_.js} +14 -14
- package/components/TxnTypeIcons-lKki7AUK.js +101 -0
- package/components/TxnTypeIcons-sZUo9qa8.cjs +1 -0
- package/components/TxnTypeIcons-zM86UKOx.js +101 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/index-b2193545-Bvpy7mp9.js +503 -0
- package/stencil/index-b2193545-DxDmFccl.js +519 -0
- package/stencil/index-b2193545-P1qvDl70.cjs +1 -0
- package/stencil/{ui-image-CNaRr0ax.js → ui-image-BIr_PDb-.js} +1 -1
- package/stencil/{ui-image-IJc7Zz_R.cjs → ui-image-CEbrFHSD.cjs} +1 -1
- package/stencil/{ui-image-BsYHwNhO.js → ui-image-D69wsX4B.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/stencil/{ui-skeleton-UxIIZ8UD.cjs → ui-skeleton-CTOStr1f.cjs} +1 -1
- package/stencil/{ui-skeleton-CQ-FgYMx.js → ui-skeleton-UELn0TdO.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-BEwquWmd.cjs → ui-skeleton-ed169f8f-6tILWWI7.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BMrkXoR5.js → ui-skeleton-ed169f8f-DU5yFWqG.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-BNn31z1X.js → ui-skeleton-ed169f8f-DmzkEnLt.js} +1 -1
- package/stencil/{ui-skeleton-B9YTz-WD.js → ui-skeleton-i8axfHXy.js} +2 -2
- package/components/CashierCarousel-Uqj8lOn9.cjs +0 -23
- package/components/CashierError-BOmVvy3N.cjs +0 -1
- package/components/CashierHeader-B7XYr24D.cjs +0 -1
- package/components/CashierMethodsList-DueBSlwx.cjs +0 -1
- package/components/CashierSessionExpirationModal-kLS8veZV.cjs +0 -2
- package/components/CashierStepUp-FR5Znqdo.cjs +0 -1
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
- package/stencil/index-b2193545-B5Q7rnAU.cjs +0 -1
- package/stencil/index-b2193545-CF_fVoFe.js +0 -519
- package/stencil/index-b2193545-DfttkCgg.js +0 -503
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { S as C, b as v, f as d, c as _, s as k, d as N, g as h, x as b, h as z, j as S, k as E, l as f, z as L, y as p, G as x, p as M, B as T } from "./CashierCarousel-BS_3salc.js";
|
|
2
|
+
function B(i) {
|
|
3
|
+
N(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
|
+
}
|
|
5
|
+
function H(i) {
|
|
6
|
+
let t, s, r, u, l, a, n, m;
|
|
7
|
+
return {
|
|
8
|
+
c() {
|
|
9
|
+
t = h("div"), s = h("span"), r = b(
|
|
10
|
+
/*text*/
|
|
11
|
+
i[0]
|
|
12
|
+
), u = z(), l = h("button"), a = b(
|
|
13
|
+
/*button*/
|
|
14
|
+
i[1]
|
|
15
|
+
), S(t, "class", "CashierNotifications");
|
|
16
|
+
},
|
|
17
|
+
m(o, c) {
|
|
18
|
+
E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = L(
|
|
19
|
+
l,
|
|
20
|
+
"click",
|
|
21
|
+
/*notificationClick*/
|
|
22
|
+
i[3]
|
|
23
|
+
), n = !0);
|
|
24
|
+
},
|
|
25
|
+
p(o, [c]) {
|
|
26
|
+
c & /*text*/
|
|
27
|
+
1 && p(
|
|
28
|
+
r,
|
|
29
|
+
/*text*/
|
|
30
|
+
o[0]
|
|
31
|
+
), c & /*button*/
|
|
32
|
+
2 && p(
|
|
33
|
+
a,
|
|
34
|
+
/*button*/
|
|
35
|
+
o[1]
|
|
36
|
+
);
|
|
37
|
+
},
|
|
38
|
+
i: x,
|
|
39
|
+
o: x,
|
|
40
|
+
d(o) {
|
|
41
|
+
o && M(t), i[6](null), n = !1, m();
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function R(i, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
|
|
47
|
+
const m = () => {
|
|
48
|
+
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
|
+
}, o = () => {
|
|
50
|
+
let e = document.createElement("style");
|
|
51
|
+
e.innerHTML = l, n.appendChild(e);
|
|
52
|
+
}, c = () => {
|
|
53
|
+
let e = new URL(a), y = document.createElement("style");
|
|
54
|
+
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
|
+
y.innerHTML = g, setTimeout(
|
|
56
|
+
() => {
|
|
57
|
+
n.appendChild(y);
|
|
58
|
+
},
|
|
59
|
+
1
|
|
60
|
+
);
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
function w(e) {
|
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
|
65
|
+
n = e, s(2, n);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
return i.$$set = (e) => {
|
|
69
|
+
"text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
|
|
70
|
+
}, i.$$.update = () => {
|
|
71
|
+
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && n && c();
|
|
74
|
+
}, [
|
|
75
|
+
r,
|
|
76
|
+
u,
|
|
77
|
+
n,
|
|
78
|
+
m,
|
|
79
|
+
l,
|
|
80
|
+
a,
|
|
81
|
+
w
|
|
82
|
+
];
|
|
83
|
+
}
|
|
84
|
+
class U extends C {
|
|
85
|
+
constructor(t) {
|
|
86
|
+
super(), v(
|
|
87
|
+
this,
|
|
88
|
+
t,
|
|
89
|
+
R,
|
|
90
|
+
H,
|
|
91
|
+
k,
|
|
92
|
+
{
|
|
93
|
+
text: 0,
|
|
94
|
+
button: 1,
|
|
95
|
+
clientstyling: 4,
|
|
96
|
+
clientstylingurl: 5
|
|
97
|
+
},
|
|
98
|
+
B
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
get text() {
|
|
102
|
+
return this.$$.ctx[0];
|
|
103
|
+
}
|
|
104
|
+
set text(t) {
|
|
105
|
+
this.$$set({ text: t }), d();
|
|
106
|
+
}
|
|
107
|
+
get button() {
|
|
108
|
+
return this.$$.ctx[1];
|
|
109
|
+
}
|
|
110
|
+
set button(t) {
|
|
111
|
+
this.$$set({ button: t }), d();
|
|
112
|
+
}
|
|
113
|
+
get clientstyling() {
|
|
114
|
+
return this.$$.ctx[4];
|
|
115
|
+
}
|
|
116
|
+
set clientstyling(t) {
|
|
117
|
+
this.$$set({ clientstyling: t }), d();
|
|
118
|
+
}
|
|
119
|
+
get clientstylingurl() {
|
|
120
|
+
return this.$$.ctx[5];
|
|
121
|
+
}
|
|
122
|
+
set clientstylingurl(t) {
|
|
123
|
+
this.$$set({ clientstylingurl: t }), d();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
_(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
|
+
export {
|
|
128
|
+
U as default
|
|
129
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { S as C, b as v, f as d, c as _, s as k, d as N, g as h, x as b, h as z, j as S, k as E, l as f, z as L, y as p, G as x, p as M, B as T } from "./CashierCarousel-Bwhda3Gl.js";
|
|
2
|
+
function B(i) {
|
|
3
|
+
N(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
|
|
4
|
+
}
|
|
5
|
+
function H(i) {
|
|
6
|
+
let t, s, r, u, l, a, n, m;
|
|
7
|
+
return {
|
|
8
|
+
c() {
|
|
9
|
+
t = h("div"), s = h("span"), r = b(
|
|
10
|
+
/*text*/
|
|
11
|
+
i[0]
|
|
12
|
+
), u = z(), l = h("button"), a = b(
|
|
13
|
+
/*button*/
|
|
14
|
+
i[1]
|
|
15
|
+
), S(t, "class", "CashierNotifications");
|
|
16
|
+
},
|
|
17
|
+
m(o, c) {
|
|
18
|
+
E(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = L(
|
|
19
|
+
l,
|
|
20
|
+
"click",
|
|
21
|
+
/*notificationClick*/
|
|
22
|
+
i[3]
|
|
23
|
+
), n = !0);
|
|
24
|
+
},
|
|
25
|
+
p(o, [c]) {
|
|
26
|
+
c & /*text*/
|
|
27
|
+
1 && p(
|
|
28
|
+
r,
|
|
29
|
+
/*text*/
|
|
30
|
+
o[0]
|
|
31
|
+
), c & /*button*/
|
|
32
|
+
2 && p(
|
|
33
|
+
a,
|
|
34
|
+
/*button*/
|
|
35
|
+
o[1]
|
|
36
|
+
);
|
|
37
|
+
},
|
|
38
|
+
i: x,
|
|
39
|
+
o: x,
|
|
40
|
+
d(o) {
|
|
41
|
+
o && M(t), i[6](null), n = !1, m();
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function R(i, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
|
|
47
|
+
const m = () => {
|
|
48
|
+
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
|
+
}, o = () => {
|
|
50
|
+
let e = document.createElement("style");
|
|
51
|
+
e.innerHTML = l, n.appendChild(e);
|
|
52
|
+
}, c = () => {
|
|
53
|
+
let e = new URL(a), y = document.createElement("style");
|
|
54
|
+
fetch(e.href).then((g) => g.text()).then((g) => {
|
|
55
|
+
y.innerHTML = g, setTimeout(
|
|
56
|
+
() => {
|
|
57
|
+
n.appendChild(y);
|
|
58
|
+
},
|
|
59
|
+
1
|
|
60
|
+
);
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
function w(e) {
|
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
|
65
|
+
n = e, s(2, n);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
return i.$$set = (e) => {
|
|
69
|
+
"text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
|
|
70
|
+
}, i.$$.update = () => {
|
|
71
|
+
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && n && c();
|
|
74
|
+
}, [
|
|
75
|
+
r,
|
|
76
|
+
u,
|
|
77
|
+
n,
|
|
78
|
+
m,
|
|
79
|
+
l,
|
|
80
|
+
a,
|
|
81
|
+
w
|
|
82
|
+
];
|
|
83
|
+
}
|
|
84
|
+
class U extends C {
|
|
85
|
+
constructor(t) {
|
|
86
|
+
super(), v(
|
|
87
|
+
this,
|
|
88
|
+
t,
|
|
89
|
+
R,
|
|
90
|
+
H,
|
|
91
|
+
k,
|
|
92
|
+
{
|
|
93
|
+
text: 0,
|
|
94
|
+
button: 1,
|
|
95
|
+
clientstyling: 4,
|
|
96
|
+
clientstylingurl: 5
|
|
97
|
+
},
|
|
98
|
+
B
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
get text() {
|
|
102
|
+
return this.$$.ctx[0];
|
|
103
|
+
}
|
|
104
|
+
set text(t) {
|
|
105
|
+
this.$$set({ text: t }), d();
|
|
106
|
+
}
|
|
107
|
+
get button() {
|
|
108
|
+
return this.$$.ctx[1];
|
|
109
|
+
}
|
|
110
|
+
set button(t) {
|
|
111
|
+
this.$$set({ button: t }), d();
|
|
112
|
+
}
|
|
113
|
+
get clientstyling() {
|
|
114
|
+
return this.$$.ctx[4];
|
|
115
|
+
}
|
|
116
|
+
set clientstyling(t) {
|
|
117
|
+
this.$$set({ clientstyling: t }), d();
|
|
118
|
+
}
|
|
119
|
+
get clientstylingurl() {
|
|
120
|
+
return this.$$.ctx[5];
|
|
121
|
+
}
|
|
122
|
+
set clientstylingurl(t) {
|
|
123
|
+
this.$$set({ clientstylingurl: t }), d();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
_(U, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
|
+
export {
|
|
128
|
+
U as default
|
|
129
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-GM1WPyu3.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-CfPrrhkY.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class g extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
|