@everymatrix/cashier-page 1.90.38 → 1.91.1
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-BNcnaN7U.js +672 -0
- package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
- package/components/CashierCarousel-tfVH51fj.js +675 -0
- package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
- package/components/CashierError-BqvEnGrr.cjs +1 -0
- package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
- package/components/CashierHeader-BGA-Qd-S.js +456 -0
- package/components/CashierHeader-BKL2lJFV.cjs +1 -0
- package/components/CashierHeader-Bt5aV48_.js +456 -0
- package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
- package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
- package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
- package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
- package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
- package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
- package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
- package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
- package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
- package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
- package/components/CashierModal-J_mZ6ODP.cjs +1 -0
- package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
- package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
- package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
- package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
- package/components/CashierPage-7d2gkNjC.js +9989 -0
- package/components/CashierPage-N8z4Zzox.js +9936 -0
- package/components/CashierPage-flG2gyRG.cjs +23 -0
- package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
- package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
- package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
- package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
- package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
- package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
- package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
- package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
- package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
- package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
- package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
- package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
- package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
- package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
- package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
- package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
- package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
- package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
- package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
- package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
- package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
- package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
- package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
- package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-B-cM-nlR.js +0 -5797
- package/components/CashierCarousel-CXoovlrR.js +0 -5835
- package/components/CashierCarousel-DMrMmClP.cjs +0 -23
- package/components/CashierError-CHGdRh2_.cjs +0 -1
- package/components/CashierHeader-B7FnLv3f.js +0 -397
- package/components/CashierHeader-BbP0idUh.js +0 -397
- package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
- package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
- package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
- package/components/CashierModal-DF8meLAZ.cjs +0 -1
- package/components/CashierNotifications-B8bRZMac.cjs +0 -1
- package/components/CashierPage-CrLOKCt7.js +0 -4485
- package/components/CashierPage-DDNG9YBM.cjs +0 -1
- package/components/CashierPage-Ra2kFFdS.js +0 -4455
- package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
- package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
- package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
- package/components/CashierStepUp-DKytvkqu.cjs +0 -1
- package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
- package/components/CashierVerifications-8c9sENE2.cjs +0 -1
- package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
|
@@ -14,16 +14,17 @@ var B = (i, e, t) => new Promise((n, a) => {
|
|
|
14
14
|
}, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
|
|
15
15
|
g((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { S as ie, b as ne, s as oe, f as M, c as le, e as S, t as O, g as z,
|
|
17
|
+
import { S as ie, b as ne, s as oe, f as M, c as le, e as S, t as O, g as z, a8 as se, a9 as ae, k as H, m as x, q as re, _ as j, d as F, u as Y, h as q, j as D, L as T, l as v, G as de, n as I, o as m, H as ce, x as W, y as fe, z as ue, P, A as he } from "./CashierPage-7d2gkNjC.js";
|
|
18
|
+
import { s as me, a as ge, b as pe } from "./CashierHeader-BGA-Qd-S.js";
|
|
18
19
|
function we(i) {
|
|
19
20
|
le(i, "svelte-vlp16o", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
20
21
|
}
|
|
21
|
-
const ye = (i) => ({}),
|
|
22
|
-
function
|
|
22
|
+
const ye = (i) => ({}), R = (i) => ({}), _e = (i) => ({}), A = (i) => ({});
|
|
23
|
+
function G(i) {
|
|
23
24
|
let e, t, n, a, f, h, g, p, C, b, k, u, d = (
|
|
24
25
|
/*modaltype*/
|
|
25
26
|
(i[3] == "error" || /*modaltype*/
|
|
26
|
-
i[3] == "bonusDescription") &&
|
|
27
|
+
i[3] == "bonusDescription") && U()
|
|
27
28
|
);
|
|
28
29
|
const w = (
|
|
29
30
|
/*#slots*/
|
|
@@ -33,14 +34,14 @@ function U(i) {
|
|
|
33
34
|
i,
|
|
34
35
|
/*$$scope*/
|
|
35
36
|
i[13],
|
|
36
|
-
|
|
37
|
+
A
|
|
37
38
|
);
|
|
38
39
|
let r = (
|
|
39
40
|
/*modaltype*/
|
|
40
41
|
i[3] != "2fa-old" && Z(i)
|
|
41
42
|
), l = (
|
|
42
43
|
/*isloading*/
|
|
43
|
-
i[4] === "true" &&
|
|
44
|
+
i[4] === "true" && J()
|
|
44
45
|
);
|
|
45
46
|
const L = (
|
|
46
47
|
/*#slots*/
|
|
@@ -50,11 +51,11 @@ function U(i) {
|
|
|
50
51
|
i,
|
|
51
52
|
/*$$scope*/
|
|
52
53
|
i[13],
|
|
53
|
-
|
|
54
|
+
R
|
|
54
55
|
);
|
|
55
56
|
return {
|
|
56
57
|
c() {
|
|
57
|
-
e = x("div"), t = x("div"), n = x("div"), a = x("div"), d && d.c(), f =
|
|
58
|
+
e = x("div"), t = x("div"), n = x("div"), a = x("div"), d && d.c(), f = I(), h = x("div"), y && y.c(), g = I(), r && r.c(), p = I(), l && l.c(), C = I(), b = x("div"), c && c.c(), m(h, "class", "TitleText"), m(a, "class", "ModalTitle"), m(n, "class", "ModalHeader"), m(b, "class", "ModalContentWrapper"), T(
|
|
58
59
|
b,
|
|
59
60
|
"hidden",
|
|
60
61
|
/*isloading*/
|
|
@@ -84,44 +85,44 @@ function U(i) {
|
|
|
84
85
|
p(s, _) {
|
|
85
86
|
/*modaltype*/
|
|
86
87
|
s[3] == "error" || /*modaltype*/
|
|
87
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
88
|
+
s[3] == "bonusDescription" ? d || (d = U(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
|
|
88
89
|
8192) && Y(
|
|
89
90
|
y,
|
|
90
91
|
w,
|
|
91
92
|
s,
|
|
92
93
|
/*$$scope*/
|
|
93
94
|
s[13],
|
|
94
|
-
u ?
|
|
95
|
+
u ? D(
|
|
95
96
|
w,
|
|
96
97
|
/*$$scope*/
|
|
97
98
|
s[13],
|
|
98
99
|
_,
|
|
99
100
|
_e
|
|
100
|
-
) :
|
|
101
|
+
) : q(
|
|
101
102
|
/*$$scope*/
|
|
102
103
|
s[13]
|
|
103
104
|
),
|
|
104
|
-
|
|
105
|
+
A
|
|
105
106
|
), /*modaltype*/
|
|
106
107
|
s[3] != "2fa-old" ? r ? r.p(s, _) : (r = Z(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
107
|
-
s[4] === "true" ? l || (l =
|
|
108
|
+
s[4] === "true" ? l || (l = J(), l.c(), l.m(t, C)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
|
|
108
109
|
8192) && Y(
|
|
109
110
|
c,
|
|
110
111
|
L,
|
|
111
112
|
s,
|
|
112
113
|
/*$$scope*/
|
|
113
114
|
s[13],
|
|
114
|
-
u ?
|
|
115
|
+
u ? D(
|
|
115
116
|
L,
|
|
116
117
|
/*$$scope*/
|
|
117
118
|
s[13],
|
|
118
119
|
_,
|
|
119
120
|
ye
|
|
120
|
-
) :
|
|
121
|
+
) : q(
|
|
121
122
|
/*$$scope*/
|
|
122
123
|
s[13]
|
|
123
124
|
),
|
|
124
|
-
|
|
125
|
+
R
|
|
125
126
|
), (!u || _ & /*isloading*/
|
|
126
127
|
16) && T(
|
|
127
128
|
b,
|
|
@@ -153,7 +154,7 @@ function U(i) {
|
|
|
153
154
|
}
|
|
154
155
|
};
|
|
155
156
|
}
|
|
156
|
-
function
|
|
157
|
+
function U(i) {
|
|
157
158
|
let e;
|
|
158
159
|
return {
|
|
159
160
|
c() {
|
|
@@ -171,7 +172,7 @@ function Z(i) {
|
|
|
171
172
|
let e, t, n, a, f;
|
|
172
173
|
return {
|
|
173
174
|
c() {
|
|
174
|
-
e = x("div"), t =
|
|
175
|
+
e = x("div"), t = P("svg"), n = P("path"), m(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), m(t, "xmlns", "http://www.w3.org/2000/svg"), m(t, "viewBox", "0 0 13 13"), m(t, "fill", "none"), m(t, "class", "CloseButton"), m(e, "class", "ModalCloseIcon");
|
|
175
176
|
},
|
|
176
177
|
m(h, g) {
|
|
177
178
|
H(h, e, g), v(e, t), v(t, n), a || (f = ue(
|
|
@@ -187,7 +188,7 @@ function Z(i) {
|
|
|
187
188
|
}
|
|
188
189
|
};
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
+
function J(i) {
|
|
191
192
|
let e;
|
|
192
193
|
return {
|
|
193
194
|
c() {
|
|
@@ -204,7 +205,7 @@ function A(i) {
|
|
|
204
205
|
function be(i) {
|
|
205
206
|
let e, t, n = (
|
|
206
207
|
/*show*/
|
|
207
|
-
i[2] === "true" &&
|
|
208
|
+
i[2] === "true" && G(i)
|
|
208
209
|
);
|
|
209
210
|
return {
|
|
210
211
|
c() {
|
|
@@ -216,7 +217,7 @@ function be(i) {
|
|
|
216
217
|
p(a, [f]) {
|
|
217
218
|
/*show*/
|
|
218
219
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
219
|
-
4 && z(n, 1)) : (n =
|
|
220
|
+
4 && z(n, 1)) : (n = G(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
|
|
220
221
|
n = null;
|
|
221
222
|
}), ae());
|
|
222
223
|
},
|
|
@@ -269,26 +270,26 @@ function ve(i, e, t) {
|
|
|
269
270
|
c && clearTimeout(c), s && clearTimeout(c);
|
|
270
271
|
};
|
|
271
272
|
});
|
|
272
|
-
function
|
|
273
|
-
|
|
273
|
+
function K(o) {
|
|
274
|
+
W[o ? "unshift" : "push"](() => {
|
|
274
275
|
r = o, t(7, r);
|
|
275
276
|
});
|
|
276
277
|
}
|
|
277
|
-
function
|
|
278
|
-
|
|
278
|
+
function N(o) {
|
|
279
|
+
W[o ? "unshift" : "push"](() => {
|
|
279
280
|
l = o, t(8, l);
|
|
280
281
|
});
|
|
281
282
|
}
|
|
282
|
-
function
|
|
283
|
-
|
|
283
|
+
function Q(o) {
|
|
284
|
+
W[o ? "unshift" : "push"](() => {
|
|
284
285
|
d = o, t(6, d);
|
|
285
286
|
});
|
|
286
287
|
}
|
|
287
|
-
function
|
|
288
|
+
function V() {
|
|
288
289
|
k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
|
|
289
290
|
}
|
|
290
|
-
function
|
|
291
|
-
|
|
291
|
+
function X(o) {
|
|
292
|
+
W[o ? "unshift" : "push"](() => {
|
|
292
293
|
w = o, t(5, w);
|
|
293
294
|
});
|
|
294
295
|
}
|
|
@@ -299,9 +300,9 @@ function ve(i, e, t) {
|
|
|
299
300
|
16 && b && j().then(() => {
|
|
300
301
|
E();
|
|
301
302
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
302
|
-
2080 && h && w &&
|
|
303
|
-
4128 && g && w &&
|
|
304
|
-
1056 && f && w &&
|
|
303
|
+
2080 && h && w && me(w, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
304
|
+
4128 && g && w && ge(w, g), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
305
|
+
1056 && f && w && pe(w, `${f}.Style`, y);
|
|
305
306
|
}, [
|
|
306
307
|
k,
|
|
307
308
|
u,
|
|
@@ -318,11 +319,11 @@ function ve(i, e, t) {
|
|
|
318
319
|
g,
|
|
319
320
|
a,
|
|
320
321
|
n,
|
|
321
|
-
J,
|
|
322
322
|
K,
|
|
323
323
|
N,
|
|
324
324
|
Q,
|
|
325
|
-
V
|
|
325
|
+
V,
|
|
326
|
+
X
|
|
326
327
|
];
|
|
327
328
|
}
|
|
328
329
|
class Ce extends ie {
|
|
@@ -395,7 +396,7 @@ class Ce extends ie {
|
|
|
395
396
|
this.$$set({ height: e }), M();
|
|
396
397
|
}
|
|
397
398
|
}
|
|
398
|
-
|
|
399
|
+
he(Ce, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
399
400
|
export {
|
|
400
401
|
Ce as default
|
|
401
402
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d,
|
|
1
|
+
import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-N8z4Zzox.js";
|
|
2
2
|
function H(n) {
|
|
3
|
-
|
|
3
|
+
N(n, "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
4
|
}
|
|
5
5
|
function R(n) {
|
|
6
6
|
let t, s, r, u, l, a, i, m;
|
|
@@ -9,13 +9,13 @@ function R(n) {
|
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
15
|
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m =
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -38,7 +38,7 @@ function R(n) {
|
|
|
38
38
|
i: b,
|
|
39
39
|
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && k(t), n[6](null), i = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as C, b as v, s as _, f as d, c as k,
|
|
1
|
+
import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-7d2gkNjC.js";
|
|
2
2
|
function H(n) {
|
|
3
3
|
k(n, "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
4
|
}
|
|
@@ -9,13 +9,13 @@ function R(n) {
|
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
11
|
n[0]
|
|
12
|
-
), u =
|
|
12
|
+
), u = E(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
14
|
n[1]
|
|
15
15
|
), L(t, "class", "CashierNotifications");
|
|
16
16
|
},
|
|
17
17
|
m(o, c) {
|
|
18
|
-
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m =
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-flG2gyRG.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),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},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 h 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(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;
|