@everymatrix/cashier-page 1.94.4 → 1.94.6
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-BLSsdI8N.js → CashierCarousel-CTD4ADEl.js} +79 -79
- package/components/{CashierCarousel-D92KGNvD.js → CashierCarousel-D6SuMcQ1.js} +64 -64
- package/components/{CashierError-D6h70alS.js → CashierError-C0W34998.js} +22 -22
- package/components/{CashierError-BioxJD3d.js → CashierError-Dg834slb.js} +23 -23
- package/components/{CashierHeader-DldQQGAU.js → CashierHeader-DafDx_3j.js} +37 -37
- package/components/{CashierHeader-Di0dH8Ch.js → CashierHeader-YhgwXeCk.js} +37 -37
- package/components/{CashierIframeRedirect-1MymL4-w.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
- package/components/{CashierIframeRedirect-BvHGxm2j.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
- package/components/{CashierMethodDetails-gGaSXhnd.js → CashierMethodDetails-C9lU-1Od.js} +5 -5
- package/components/{CashierMethodDetails-CJyvwSPZ.js → CashierMethodDetails-CXSI2Ftt.js} +5 -5
- package/components/{CashierMethodsList-B51H80eX.js → CashierMethodsList-D5gWM-5x.js} +69 -69
- package/components/{CashierMethodsList-Bn7TgrUA.js → CashierMethodsList-GlL1YNei.js} +40 -40
- package/components/{CashierModal-Ck7dIF1h.js → CashierModal-BL_3_v5C.js} +43 -43
- package/components/{CashierModal-BTxh5964.js → CashierModal-BxhVa9nJ.js} +35 -35
- package/components/{CashierNotifications-Bni-Zo-O.js → CashierNotifications-D7pEjC9e.js} +31 -31
- package/components/{CashierNotifications-DgA6o4pi.js → CashierNotifications-DumJSi6H.js} +31 -31
- package/components/{CashierPage-_PJq9teT.js → CashierPage-CyVP1RTq.js} +82 -82
- package/components/{CashierPage-Bi4eFJ59.js → CashierPage-Yklnwu-d.js} +82 -82
- package/components/{CashierReceiptPage-vsCixPJi.js → CashierReceiptPage-Cz47umjb.js} +107 -107
- package/components/{CashierReceiptPage-CIjEPaeD.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
- package/components/{CashierSessionExpirationModal-DfcoFbz3.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
- package/components/{CashierSessionExpirationModal-Dbknu3z5.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
- package/components/{CashierSpinner-CNjbjUJb.js → CashierSpinner-BFMZw2tU.js} +6 -6
- package/components/{CashierSpinner-B1Snzdbq.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
- package/components/{CashierStepUp-DLx4ZhqR.js → CashierStepUp-CUavQfr0.js} +132 -132
- package/components/{CashierStepUp-DTRMNDxI.js → CashierStepUp-Nzn5RFP5.js} +49 -49
- package/components/{CashierTransactionHistory-CBHJVCjw.js → CashierTransactionHistory-ByF437F5.js} +110 -110
- package/components/{CashierTransactionHistory-tRzzuMzy.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
- package/components/{CashierVerifications-2v6SzakW.js → CashierVerifications-CuD13Li5.js} +60 -60
- package/components/{CashierVerifications-CNVn8Koy.js → CashierVerifications-sG9Xn_xc.js} +43 -43
- package/components/{TxnStatusIcon-BMW53lVy.js → TxnStatusIcon-B0-RrZPH.js} +23 -23
- package/components/{TxnStatusIcon-BGoL7geL.js → TxnStatusIcon-DYgNkITO.js} +28 -28
- package/components/{TxnTypeIcons-DkN5cVT-.js → TxnTypeIcons-BnO0cks2.js} +1 -1
- package/components/{TxnTypeIcons-QCBLyb31.js → TxnTypeIcons-DPmJegXP.js} +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Y = (i, e, t) => new Promise((n, a) => {
|
|
2
2
|
var f = (p) => {
|
|
3
3
|
try {
|
|
4
4
|
g(t.next(p));
|
|
@@ -14,44 +14,44 @@ 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,
|
|
18
|
-
import { s as me, a as ge, b as pe } from "./CashierHeader-
|
|
17
|
+
import { S as ie, O as ne, a1 as oe, E as M, f as le, x as S, ae as O, ad as z, L as se, j as ae, Q as H, z as C, Y as re, aa as j, r as B, ag as F, H as D, I as R, ac as T, e as v, c as de, a6 as I, g as m, d as ce, h as W, V as fe, T as ue, a8 as U, o as he } from "./CashierPage-Yklnwu-d.js";
|
|
18
|
+
import { s as me, a as ge, b as pe } from "./CashierHeader-YhgwXeCk.js";
|
|
19
19
|
function we(i) {
|
|
20
20
|
le(i, "svelte-e2luo5", '*,*::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)}.Uppercase{text-transform:uppercase}.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}}');
|
|
21
21
|
}
|
|
22
|
-
const ye = (i) => ({}),
|
|
23
|
-
function
|
|
22
|
+
const ye = (i) => ({}), q = (i) => ({}), _e = (i) => ({}), P = (i) => ({});
|
|
23
|
+
function Q(i) {
|
|
24
24
|
let e, t, n, a, f, h, g, p, x, b, k, u, d = (
|
|
25
25
|
/*modaltype*/
|
|
26
26
|
(i[3] == "error" || /*modaltype*/
|
|
27
|
-
i[3] == "bonusDescription") &&
|
|
27
|
+
i[3] == "bonusDescription") && V()
|
|
28
28
|
);
|
|
29
29
|
const w = (
|
|
30
30
|
/*#slots*/
|
|
31
31
|
i[14].title
|
|
32
|
-
), y =
|
|
32
|
+
), y = B(
|
|
33
33
|
w,
|
|
34
34
|
i,
|
|
35
35
|
/*$$scope*/
|
|
36
36
|
i[13],
|
|
37
|
-
|
|
37
|
+
P
|
|
38
38
|
);
|
|
39
39
|
let r = (
|
|
40
40
|
/*modaltype*/
|
|
41
|
-
i[3] != "2fa-old" &&
|
|
41
|
+
i[3] != "2fa-old" && Z(i)
|
|
42
42
|
), l = (
|
|
43
43
|
/*isloading*/
|
|
44
|
-
i[4] === "true" &&
|
|
44
|
+
i[4] === "true" && A()
|
|
45
45
|
);
|
|
46
46
|
const L = (
|
|
47
47
|
/*#slots*/
|
|
48
48
|
i[14].content
|
|
49
|
-
), c =
|
|
49
|
+
), c = B(
|
|
50
50
|
L,
|
|
51
51
|
i,
|
|
52
52
|
/*$$scope*/
|
|
53
53
|
i[13],
|
|
54
|
-
|
|
54
|
+
q
|
|
55
55
|
);
|
|
56
56
|
return {
|
|
57
57
|
c() {
|
|
@@ -85,44 +85,44 @@ function G(i) {
|
|
|
85
85
|
p(s, _) {
|
|
86
86
|
/*modaltype*/
|
|
87
87
|
s[3] == "error" || /*modaltype*/
|
|
88
|
-
s[3] == "bonusDescription" ? d || (d =
|
|
89
|
-
8192) &&
|
|
88
|
+
s[3] == "bonusDescription" ? d || (d = V(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
|
|
89
|
+
8192) && F(
|
|
90
90
|
y,
|
|
91
91
|
w,
|
|
92
92
|
s,
|
|
93
93
|
/*$$scope*/
|
|
94
94
|
s[13],
|
|
95
|
-
u ?
|
|
95
|
+
u ? R(
|
|
96
96
|
w,
|
|
97
97
|
/*$$scope*/
|
|
98
98
|
s[13],
|
|
99
99
|
_,
|
|
100
100
|
_e
|
|
101
|
-
) :
|
|
101
|
+
) : D(
|
|
102
102
|
/*$$scope*/
|
|
103
103
|
s[13]
|
|
104
104
|
),
|
|
105
|
-
|
|
105
|
+
P
|
|
106
106
|
), /*modaltype*/
|
|
107
|
-
s[3] != "2fa-old" ? r ? r.p(s, _) : (r =
|
|
108
|
-
s[4] === "true" ? l || (l =
|
|
109
|
-
8192) &&
|
|
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*/
|
|
108
|
+
s[4] === "true" ? l || (l = A(), l.c(), l.m(t, x)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
|
|
109
|
+
8192) && F(
|
|
110
110
|
c,
|
|
111
111
|
L,
|
|
112
112
|
s,
|
|
113
113
|
/*$$scope*/
|
|
114
114
|
s[13],
|
|
115
|
-
u ?
|
|
115
|
+
u ? R(
|
|
116
116
|
L,
|
|
117
117
|
/*$$scope*/
|
|
118
118
|
s[13],
|
|
119
119
|
_,
|
|
120
120
|
ye
|
|
121
|
-
) :
|
|
121
|
+
) : D(
|
|
122
122
|
/*$$scope*/
|
|
123
123
|
s[13]
|
|
124
124
|
),
|
|
125
|
-
|
|
125
|
+
q
|
|
126
126
|
), (!u || _ & /*isloading*/
|
|
127
127
|
16) && T(
|
|
128
128
|
b,
|
|
@@ -154,7 +154,7 @@ function G(i) {
|
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function V(i) {
|
|
158
158
|
let e;
|
|
159
159
|
return {
|
|
160
160
|
c() {
|
|
@@ -168,11 +168,11 @@ function P(i) {
|
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Z(i) {
|
|
172
172
|
let e, t, n, a, f;
|
|
173
173
|
return {
|
|
174
174
|
c() {
|
|
175
|
-
e = C("div"), t =
|
|
175
|
+
e = C("div"), t = U("svg"), n = U("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");
|
|
176
176
|
},
|
|
177
177
|
m(h, g) {
|
|
178
178
|
H(h, e, g), v(e, t), v(t, n), a || (f = ue(
|
|
@@ -188,7 +188,7 @@ function Q(i) {
|
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function A(i) {
|
|
192
192
|
let e;
|
|
193
193
|
return {
|
|
194
194
|
c() {
|
|
@@ -205,7 +205,7 @@ function Z(i) {
|
|
|
205
205
|
function be(i) {
|
|
206
206
|
let e, t, n = (
|
|
207
207
|
/*show*/
|
|
208
|
-
i[2] === "true" &&
|
|
208
|
+
i[2] === "true" && Q(i)
|
|
209
209
|
);
|
|
210
210
|
return {
|
|
211
211
|
c() {
|
|
@@ -217,7 +217,7 @@ function be(i) {
|
|
|
217
217
|
p(a, [f]) {
|
|
218
218
|
/*show*/
|
|
219
219
|
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
220
|
-
4 && z(n, 1)) : (n =
|
|
220
|
+
4 && z(n, 1)) : (n = Q(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
|
|
221
221
|
n = null;
|
|
222
222
|
}), ae());
|
|
223
223
|
},
|
|
@@ -241,7 +241,7 @@ function ve(i, e, t) {
|
|
|
241
241
|
},
|
|
242
242
|
200
|
|
243
243
|
));
|
|
244
|
-
}, E = () =>
|
|
244
|
+
}, E = () => Y(this, null, function* () {
|
|
245
245
|
if (!l || !r || L)
|
|
246
246
|
return;
|
|
247
247
|
s && clearTimeout(c), L = !0;
|
|
@@ -270,22 +270,22 @@ function ve(i, e, t) {
|
|
|
270
270
|
c && clearTimeout(c), s && clearTimeout(c);
|
|
271
271
|
};
|
|
272
272
|
});
|
|
273
|
-
function
|
|
273
|
+
function G(o) {
|
|
274
274
|
W[o ? "unshift" : "push"](() => {
|
|
275
275
|
r = o, t(7, r);
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function J(o) {
|
|
279
279
|
W[o ? "unshift" : "push"](() => {
|
|
280
280
|
l = o, t(8, l);
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function K(o) {
|
|
284
284
|
W[o ? "unshift" : "push"](() => {
|
|
285
285
|
d = o, t(6, d);
|
|
286
286
|
});
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function N() {
|
|
289
289
|
k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
|
|
290
290
|
}
|
|
291
291
|
function X(o) {
|
|
@@ -319,10 +319,10 @@ function ve(i, e, t) {
|
|
|
319
319
|
g,
|
|
320
320
|
a,
|
|
321
321
|
n,
|
|
322
|
+
G,
|
|
322
323
|
J,
|
|
323
324
|
K,
|
|
324
325
|
N,
|
|
325
|
-
V,
|
|
326
326
|
X
|
|
327
327
|
];
|
|
328
328
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function H(
|
|
3
|
-
|
|
1
|
+
import { S as C, O as v, a1 as _, E as g, f as N, V as b, x as k, a3 as p, Q as z, e as f, T as E, z as h, a9 as x, a6 as S, g as L, h as T, o as M } from "./CashierPage-CyVP1RTq.js";
|
|
2
|
+
function H(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
4
|
}
|
|
5
|
-
function R(
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function R(i) {
|
|
6
|
+
let t, s, r, u, l, a, n, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u =
|
|
11
|
+
i[0]
|
|
12
|
+
), u = S(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
14
|
+
i[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),
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
i[3]
|
|
23
|
+
), n = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
@@ -38,43 +38,43 @@ function R(n) {
|
|
|
38
38
|
i: b,
|
|
39
39
|
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o &&
|
|
41
|
+
o && k(t), i[6](null), n = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function U(
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function U(i, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
49
|
}, o = () => {
|
|
50
50
|
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l,
|
|
51
|
+
e.innerHTML = l, n.appendChild(e);
|
|
52
52
|
}, c = () => {
|
|
53
53
|
let e = new URL(a), y = document.createElement("style");
|
|
54
|
-
fetch(e.href).then((
|
|
55
|
-
y.innerHTML =
|
|
54
|
+
fetch(e.href).then((d) => d.text()).then((d) => {
|
|
55
|
+
y.innerHTML = d, setTimeout(
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
n.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
|
65
|
+
n = e, s(2, n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return i.$$set = (e) => {
|
|
69
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
|
-
},
|
|
71
|
-
|
|
72
|
-
20 && l &&
|
|
73
|
-
36 && a &&
|
|
70
|
+
}, i.$$.update = () => {
|
|
71
|
+
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && n && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
n,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
@@ -102,28 +102,28 @@ class q extends C {
|
|
|
102
102
|
return this.$$.ctx[0];
|
|
103
103
|
}
|
|
104
104
|
set text(t) {
|
|
105
|
-
this.$$set({ text: t }),
|
|
105
|
+
this.$$set({ text: t }), g();
|
|
106
106
|
}
|
|
107
107
|
get button() {
|
|
108
108
|
return this.$$.ctx[1];
|
|
109
109
|
}
|
|
110
110
|
set button(t) {
|
|
111
|
-
this.$$set({ button: t }),
|
|
111
|
+
this.$$set({ button: t }), g();
|
|
112
112
|
}
|
|
113
113
|
get clientstyling() {
|
|
114
114
|
return this.$$.ctx[4];
|
|
115
115
|
}
|
|
116
116
|
set clientstyling(t) {
|
|
117
|
-
this.$$set({ clientstyling: t }),
|
|
117
|
+
this.$$set({ clientstyling: t }), g();
|
|
118
118
|
}
|
|
119
119
|
get clientstylingurl() {
|
|
120
120
|
return this.$$.ctx[5];
|
|
121
121
|
}
|
|
122
122
|
set clientstylingurl(t) {
|
|
123
|
-
this.$$set({ clientstylingurl: t }),
|
|
123
|
+
this.$$set({ clientstylingurl: t }), g();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
M(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
128
|
q as default
|
|
129
129
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { S as C,
|
|
2
|
-
function H(
|
|
3
|
-
N(
|
|
1
|
+
import { S as C, O as v, a1 as _, E as g, f as N, V as b, x as k, a3 as p, Q as z, e as f, T as E, z as h, a9 as x, a6 as S, g as L, h as T, o as M } from "./CashierPage-Yklnwu-d.js";
|
|
2
|
+
function H(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
4
|
}
|
|
5
|
-
function R(
|
|
6
|
-
let t, s, r, u, l, a,
|
|
5
|
+
function R(i) {
|
|
6
|
+
let t, s, r, u, l, a, n, m;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
9
|
t = h("div"), s = h("span"), r = x(
|
|
10
10
|
/*text*/
|
|
11
|
-
|
|
12
|
-
), u =
|
|
11
|
+
i[0]
|
|
12
|
+
), u = S(), l = h("button"), a = x(
|
|
13
13
|
/*button*/
|
|
14
|
-
|
|
14
|
+
i[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),
|
|
18
|
+
z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
|
|
19
19
|
l,
|
|
20
20
|
"click",
|
|
21
21
|
/*notificationClick*/
|
|
22
|
-
|
|
23
|
-
),
|
|
22
|
+
i[3]
|
|
23
|
+
), n = !0);
|
|
24
24
|
},
|
|
25
25
|
p(o, [c]) {
|
|
26
26
|
c & /*text*/
|
|
@@ -38,43 +38,43 @@ function R(n) {
|
|
|
38
38
|
i: b,
|
|
39
39
|
o: b,
|
|
40
40
|
d(o) {
|
|
41
|
-
o && k(t),
|
|
41
|
+
o && k(t), i[6](null), n = !1, m();
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function U(
|
|
46
|
-
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t,
|
|
45
|
+
function U(i, t, s) {
|
|
46
|
+
let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
|
|
47
47
|
const m = () => {
|
|
48
48
|
window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
|
|
49
49
|
}, o = () => {
|
|
50
50
|
let e = document.createElement("style");
|
|
51
|
-
e.innerHTML = l,
|
|
51
|
+
e.innerHTML = l, n.appendChild(e);
|
|
52
52
|
}, c = () => {
|
|
53
53
|
let e = new URL(a), y = document.createElement("style");
|
|
54
|
-
fetch(e.href).then((
|
|
55
|
-
y.innerHTML =
|
|
54
|
+
fetch(e.href).then((d) => d.text()).then((d) => {
|
|
55
|
+
y.innerHTML = d, setTimeout(
|
|
56
56
|
() => {
|
|
57
|
-
|
|
57
|
+
n.appendChild(y);
|
|
58
58
|
},
|
|
59
59
|
1
|
|
60
60
|
);
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
function w(e) {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
T[e ? "unshift" : "push"](() => {
|
|
65
|
+
n = e, s(2, n);
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
return
|
|
68
|
+
return i.$$set = (e) => {
|
|
69
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
|
-
},
|
|
71
|
-
|
|
72
|
-
20 && l &&
|
|
73
|
-
36 && a &&
|
|
70
|
+
}, i.$$.update = () => {
|
|
71
|
+
i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
72
|
+
20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
73
|
+
36 && a && n && c();
|
|
74
74
|
}, [
|
|
75
75
|
r,
|
|
76
76
|
u,
|
|
77
|
-
|
|
77
|
+
n,
|
|
78
78
|
m,
|
|
79
79
|
l,
|
|
80
80
|
a,
|
|
@@ -102,28 +102,28 @@ class q extends C {
|
|
|
102
102
|
return this.$$.ctx[0];
|
|
103
103
|
}
|
|
104
104
|
set text(t) {
|
|
105
|
-
this.$$set({ text: t }),
|
|
105
|
+
this.$$set({ text: t }), g();
|
|
106
106
|
}
|
|
107
107
|
get button() {
|
|
108
108
|
return this.$$.ctx[1];
|
|
109
109
|
}
|
|
110
110
|
set button(t) {
|
|
111
|
-
this.$$set({ button: t }),
|
|
111
|
+
this.$$set({ button: t }), g();
|
|
112
112
|
}
|
|
113
113
|
get clientstyling() {
|
|
114
114
|
return this.$$.ctx[4];
|
|
115
115
|
}
|
|
116
116
|
set clientstyling(t) {
|
|
117
|
-
this.$$set({ clientstyling: t }),
|
|
117
|
+
this.$$set({ clientstyling: t }), g();
|
|
118
118
|
}
|
|
119
119
|
get clientstylingurl() {
|
|
120
120
|
return this.$$.ctx[5];
|
|
121
121
|
}
|
|
122
122
|
set clientstylingurl(t) {
|
|
123
|
-
this.$$set({ clientstylingurl: t }),
|
|
123
|
+
this.$$set({ clientstylingurl: t }), g();
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
M(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
127
127
|
export {
|
|
128
128
|
q as default
|
|
129
129
|
};
|