@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 N = (i, e, t) => new Promise((r, o) => {
|
|
2
2
|
var a = (d) => {
|
|
3
3
|
try {
|
|
4
4
|
l(t.next(d));
|
|
@@ -14,10 +14,10 @@ var R = (i, e, t) => new Promise((r, o) => {
|
|
|
14
14
|
}, l = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(a, n);
|
|
15
15
|
l((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { s as fe, a as pe, b as ye } from "./CashierHeader-
|
|
17
|
+
import { b as ee, N as te, a as ie, S as ne, O as ae, a1 as re, E as T, f as oe, r as M, x as h, ae as A, ad as P, ag as W, H as x, I as O, Q as v, e as k, z as b, a6 as L, g as E, l as se, Y as le, A as B, a3 as D, a9 as I, T as ue, h as de, a7 as R, a2 as V, o as ce, $ as me } from "./CashierPage-Yklnwu-d.js";
|
|
18
|
+
import { s as fe, a as pe, b as ye } from "./CashierHeader-YhgwXeCk.js";
|
|
19
19
|
import "../stencil/ui-image-CNaRr0ax.js";
|
|
20
|
-
function
|
|
20
|
+
function H(i, e) {
|
|
21
21
|
ee(i, e);
|
|
22
22
|
}
|
|
23
23
|
function ge(i) {
|
|
@@ -25,7 +25,7 @@ function ge(i) {
|
|
|
25
25
|
fallbackLocale: "en"
|
|
26
26
|
}), ie.set(i);
|
|
27
27
|
}
|
|
28
|
-
const
|
|
28
|
+
const q = {
|
|
29
29
|
en: {
|
|
30
30
|
VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
|
|
31
31
|
CustomerDocumentIdMissing: "The document ID is missing",
|
|
@@ -181,12 +181,12 @@ const F = {
|
|
|
181
181
|
function he(i) {
|
|
182
182
|
oe(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
|
|
183
183
|
}
|
|
184
|
-
const ve = (i) => ({}),
|
|
185
|
-
function
|
|
184
|
+
const ve = (i) => ({}), F = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({}), _e = (i) => ({}), G = (i) => ({ class: "CashierErrorIcon" });
|
|
185
|
+
function Y(i) {
|
|
186
186
|
let e, t;
|
|
187
187
|
return {
|
|
188
188
|
c() {
|
|
189
|
-
e = b("ui-image"),
|
|
189
|
+
e = b("ui-image"), R(e.src, t = `${/*assetsurl*/
|
|
190
190
|
i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
|
|
191
191
|
},
|
|
192
192
|
m(r, o) {
|
|
@@ -194,7 +194,7 @@ function j(i) {
|
|
|
194
194
|
},
|
|
195
195
|
p(r, o) {
|
|
196
196
|
o & /*assetsurl*/
|
|
197
|
-
1 && !
|
|
197
|
+
1 && !R(e.src, t = `${/*assetsurl*/
|
|
198
198
|
r[0]}/error-general-icon.png`) && V(e, "src", t);
|
|
199
199
|
},
|
|
200
200
|
d(r) {
|
|
@@ -205,7 +205,7 @@ function j(i) {
|
|
|
205
205
|
function ze(i) {
|
|
206
206
|
let e, t = (
|
|
207
207
|
/*assetsurl*/
|
|
208
|
-
i[0] &&
|
|
208
|
+
i[0] && Y(i)
|
|
209
209
|
);
|
|
210
210
|
return {
|
|
211
211
|
c() {
|
|
@@ -216,14 +216,14 @@ function ze(i) {
|
|
|
216
216
|
},
|
|
217
217
|
p(r, o) {
|
|
218
218
|
/*assetsurl*/
|
|
219
|
-
r[0] ? t ? t.p(r, o) : (t =
|
|
219
|
+
r[0] ? t ? t.p(r, o) : (t = Y(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
220
220
|
},
|
|
221
221
|
d(r) {
|
|
222
222
|
r && h(e), t && t.d(r);
|
|
223
223
|
}
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function j(i) {
|
|
227
227
|
let e;
|
|
228
228
|
function t(a, n) {
|
|
229
229
|
return (
|
|
@@ -253,7 +253,7 @@ function Ce(i) {
|
|
|
253
253
|
i[5]("DepositWageringLimitText") + ""
|
|
254
254
|
), r, o, a = (
|
|
255
255
|
/*depositWageringAmount*/
|
|
256
|
-
i[3] > 0 &&
|
|
256
|
+
i[3] > 0 && J(i)
|
|
257
257
|
);
|
|
258
258
|
return {
|
|
259
259
|
c() {
|
|
@@ -266,7 +266,7 @@ function Ce(i) {
|
|
|
266
266
|
l & /*$_*/
|
|
267
267
|
32 && t !== (t = /*$_*/
|
|
268
268
|
n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
|
|
269
|
-
n[3] > 0 ? a ? a.p(n, l) : (a =
|
|
269
|
+
n[3] > 0 ? a ? a.p(n, l) : (a = J(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
|
|
270
270
|
},
|
|
271
271
|
d(n) {
|
|
272
272
|
n && h(e), a && a.d();
|
|
@@ -295,7 +295,7 @@ function Te(i) {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function J(i) {
|
|
299
299
|
let e, t, r;
|
|
300
300
|
return {
|
|
301
301
|
c() {
|
|
@@ -335,7 +335,7 @@ function Ee(i) {
|
|
|
335
335
|
i[1] || "errorGeneralText"}`) + ""
|
|
336
336
|
), r, o, a, n = (
|
|
337
337
|
/*errorcode*/
|
|
338
|
-
i[1] == "DepositWageringLimit" &&
|
|
338
|
+
i[1] == "DepositWageringLimit" && j(i)
|
|
339
339
|
);
|
|
340
340
|
return {
|
|
341
341
|
c() {
|
|
@@ -349,7 +349,7 @@ function Ee(i) {
|
|
|
349
349
|
34 && t !== (t = /*$_*/
|
|
350
350
|
l[5](`${/*errorcode*/
|
|
351
351
|
l[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
|
|
352
|
-
l[1] == "DepositWageringLimit" ? n ? n.p(l, d) : (n =
|
|
352
|
+
l[1] == "DepositWageringLimit" ? n ? n.p(l, d) : (n = j(l), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
|
|
353
353
|
},
|
|
354
354
|
d(l) {
|
|
355
355
|
l && (h(e), h(o), h(a)), n && n.d(l);
|
|
@@ -420,7 +420,7 @@ function Le(i) {
|
|
|
420
420
|
i,
|
|
421
421
|
/*$$scope*/
|
|
422
422
|
i[12],
|
|
423
|
-
|
|
423
|
+
F
|
|
424
424
|
), g = C || we(i);
|
|
425
425
|
return {
|
|
426
426
|
c() {
|
|
@@ -503,7 +503,7 @@ function Le(i) {
|
|
|
503
503
|
/*$$scope*/
|
|
504
504
|
s[12]
|
|
505
505
|
),
|
|
506
|
-
|
|
506
|
+
F
|
|
507
507
|
) : g && g.p && (!n || m & /*$_*/
|
|
508
508
|
32) && g.p(s, n ? m : -1);
|
|
509
509
|
},
|
|
@@ -524,7 +524,7 @@ function De(i, e, t) {
|
|
|
524
524
|
let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: l = "en" } = e, { errorcode: d = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, C;
|
|
525
525
|
const g = () => {
|
|
526
526
|
ge(l);
|
|
527
|
-
}, s = () =>
|
|
527
|
+
}, s = () => N(this, null, function* () {
|
|
528
528
|
if (f)
|
|
529
529
|
try {
|
|
530
530
|
const u = yield fetch(f);
|
|
@@ -532,14 +532,14 @@ function De(i, e, t) {
|
|
|
532
532
|
throw new Error(`HTTP error! status: ${u.status}`);
|
|
533
533
|
const Q = yield u.json();
|
|
534
534
|
Object.entries(Q).forEach(([Z, $]) => {
|
|
535
|
-
|
|
535
|
+
H(Z, $);
|
|
536
536
|
});
|
|
537
537
|
} catch (u) {
|
|
538
538
|
console.error(u);
|
|
539
539
|
}
|
|
540
540
|
});
|
|
541
|
-
Object.keys(
|
|
542
|
-
|
|
541
|
+
Object.keys(q).forEach((u) => {
|
|
542
|
+
H(u, q[u]);
|
|
543
543
|
});
|
|
544
544
|
const m = () => {
|
|
545
545
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { b as tt, N as et, a as st, S as nt, O as it, E as b, a1 as lt, o as ot, f as at, r as S, x as p, ae as L, ad as B, ag as v, H, I as T, Q as C, e as M, z as y, a6 as R, g as k, l as rt, Y as ct, A as Y, a3 as ut, a9 as ft, h as ht, V as G, T as P, $ as dt } from "./CashierPage-CyVP1RTq.js";
|
|
2
|
+
function j(s, t) {
|
|
3
3
|
tt(s, t);
|
|
4
4
|
}
|
|
5
5
|
function gt(s) {
|
|
@@ -7,7 +7,7 @@ function gt(s) {
|
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), st.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const N = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -85,7 +85,7 @@ function pt(s, t) {
|
|
|
85
85
|
function Ct(s) {
|
|
86
86
|
at(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
87
87
|
}
|
|
88
|
-
const yt = (s) => ({}),
|
|
88
|
+
const yt = (s) => ({}), z = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
|
|
89
89
|
function D(s) {
|
|
90
90
|
let t, e, i;
|
|
91
91
|
return {
|
|
@@ -100,20 +100,20 @@ function D(s) {
|
|
|
100
100
|
s[6]
|
|
101
101
|
), e = !0);
|
|
102
102
|
},
|
|
103
|
-
p:
|
|
103
|
+
p: G,
|
|
104
104
|
d(n) {
|
|
105
105
|
n && p(t), e = !1, i();
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Lt(s) {
|
|
110
110
|
let t, e = (
|
|
111
111
|
/*backButton*/
|
|
112
112
|
s[1] && D(s)
|
|
113
113
|
);
|
|
114
114
|
return {
|
|
115
115
|
c() {
|
|
116
|
-
e && e.c(), t =
|
|
116
|
+
e && e.c(), t = Y();
|
|
117
117
|
},
|
|
118
118
|
m(i, n) {
|
|
119
119
|
e && e.m(i, n), C(i, t, n);
|
|
@@ -127,7 +127,7 @@ function Bt(s) {
|
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Bt(s) {
|
|
131
131
|
let t, e = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
s[4](
|
|
@@ -155,7 +155,7 @@ function Lt(s) {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function I(s) {
|
|
159
159
|
let t, e, i;
|
|
160
160
|
return {
|
|
161
161
|
c() {
|
|
@@ -169,7 +169,7 @@ function q(s) {
|
|
|
169
169
|
s[5]
|
|
170
170
|
), e = !0);
|
|
171
171
|
},
|
|
172
|
-
p:
|
|
172
|
+
p: G,
|
|
173
173
|
d(n) {
|
|
174
174
|
n && p(t), e = !1, i();
|
|
175
175
|
}
|
|
@@ -178,18 +178,18 @@ function q(s) {
|
|
|
178
178
|
function vt(s) {
|
|
179
179
|
let t, e = (
|
|
180
180
|
/*closeButton*/
|
|
181
|
-
s[3] &&
|
|
181
|
+
s[3] && I(s)
|
|
182
182
|
);
|
|
183
183
|
return {
|
|
184
184
|
c() {
|
|
185
|
-
e && e.c(), t =
|
|
185
|
+
e && e.c(), t = Y();
|
|
186
186
|
},
|
|
187
187
|
m(i, n) {
|
|
188
188
|
e && e.m(i, n), C(i, t, n);
|
|
189
189
|
},
|
|
190
190
|
p(i, n) {
|
|
191
191
|
/*closeButton*/
|
|
192
|
-
i[3] ? e ? e.p(i, n) : (e =
|
|
192
|
+
i[3] ? e ? e.p(i, n) : (e = I(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
193
193
|
},
|
|
194
194
|
d(i) {
|
|
195
195
|
i && p(t), e && e.d(i);
|
|
@@ -207,7 +207,7 @@ function Ht(s) {
|
|
|
207
207
|
/*$$scope*/
|
|
208
208
|
s[15],
|
|
209
209
|
U
|
|
210
|
-
), r = h ||
|
|
210
|
+
), r = h || Lt(s), _ = (
|
|
211
211
|
/*#slots*/
|
|
212
212
|
s[16].title
|
|
213
213
|
), d = S(
|
|
@@ -216,7 +216,7 @@ function Ht(s) {
|
|
|
216
216
|
/*$$scope*/
|
|
217
217
|
s[15],
|
|
218
218
|
x
|
|
219
|
-
), c = d ||
|
|
219
|
+
), c = d || Bt(s), g = (
|
|
220
220
|
/*#slots*/
|
|
221
221
|
s[16].rightButton
|
|
222
222
|
), w = S(
|
|
@@ -224,11 +224,11 @@ function Ht(s) {
|
|
|
224
224
|
s,
|
|
225
225
|
/*$$scope*/
|
|
226
226
|
s[15],
|
|
227
|
-
|
|
227
|
+
z
|
|
228
228
|
), u = w || vt(s);
|
|
229
229
|
return {
|
|
230
230
|
c() {
|
|
231
|
-
t = y("div"), r && r.c(), e =
|
|
231
|
+
t = y("div"), r && r.c(), e = R(), c && c.c(), i = R(), u && u.c(), k(t, "class", "CashierHeader");
|
|
232
232
|
},
|
|
233
233
|
m(l, f) {
|
|
234
234
|
C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
|
|
@@ -289,15 +289,15 @@ function Ht(s) {
|
|
|
289
289
|
/*$$scope*/
|
|
290
290
|
l[15]
|
|
291
291
|
),
|
|
292
|
-
|
|
292
|
+
z
|
|
293
293
|
) : u && u.p && (!n || f & /*closeButton*/
|
|
294
294
|
8) && u.p(l, n ? f : -1);
|
|
295
295
|
},
|
|
296
296
|
i(l) {
|
|
297
|
-
n || (
|
|
297
|
+
n || (B(r, l), B(c, l), B(u, l), n = !0);
|
|
298
298
|
},
|
|
299
299
|
o(l) {
|
|
300
|
-
|
|
300
|
+
L(r, l), L(c, l), L(u, l), n = !1;
|
|
301
301
|
},
|
|
302
302
|
d(l) {
|
|
303
303
|
l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
|
|
@@ -307,31 +307,31 @@ function Ht(s) {
|
|
|
307
307
|
function Tt(s, t, e) {
|
|
308
308
|
let i;
|
|
309
309
|
rt(s, dt, (o) => e(4, i = o));
|
|
310
|
-
let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1,
|
|
311
|
-
const
|
|
310
|
+
let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, E, F = !1;
|
|
311
|
+
const Z = () => {
|
|
312
312
|
fetch(_).then((o) => o.json()).then((o) => {
|
|
313
|
-
Object.keys(o).forEach((
|
|
314
|
-
O
|
|
313
|
+
Object.keys(o).forEach((O) => {
|
|
314
|
+
j(O, o[O]);
|
|
315
315
|
});
|
|
316
316
|
}).catch((o) => {
|
|
317
317
|
console.log(o);
|
|
318
318
|
});
|
|
319
319
|
};
|
|
320
|
-
Object.keys(
|
|
321
|
-
|
|
320
|
+
Object.keys(N).forEach((o) => {
|
|
321
|
+
j(o, N[o]);
|
|
322
322
|
});
|
|
323
|
-
const
|
|
323
|
+
const q = () => {
|
|
324
324
|
gt(g);
|
|
325
325
|
}, K = () => {
|
|
326
326
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
327
|
-
}, J = () => {
|
|
328
|
-
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
329
327
|
}, Q = () => {
|
|
330
|
-
|
|
328
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
331
329
|
}, V = () => {
|
|
330
|
+
e(1, A = !!d && d !== "false");
|
|
331
|
+
}, J = () => {
|
|
332
332
|
e(3, F = !!w && w !== "false");
|
|
333
333
|
}, X = () => {
|
|
334
|
-
e(2,
|
|
334
|
+
e(2, E = c || "header.general");
|
|
335
335
|
};
|
|
336
336
|
ct(() => () => {
|
|
337
337
|
});
|
|
@@ -344,22 +344,22 @@ function Tt(s, t, e) {
|
|
|
344
344
|
"clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
|
|
345
345
|
}, s.$$.update = () => {
|
|
346
346
|
s.$$.dirty & /*lang*/
|
|
347
|
-
4096 && g &&
|
|
347
|
+
4096 && g && q(), s.$$.dirty & /*lang, title*/
|
|
348
348
|
6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
349
349
|
129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
350
350
|
257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
351
351
|
16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
|
|
352
|
-
4608 && g && _ &&
|
|
353
|
-
1024 && d &&
|
|
354
|
-
8192 && w &&
|
|
352
|
+
4608 && g && _ && Z(), s.$$.dirty & /*showbackbutton*/
|
|
353
|
+
1024 && d && V(), s.$$.dirty & /*showclosebutton*/
|
|
354
|
+
8192 && w && J();
|
|
355
355
|
}, [
|
|
356
356
|
l,
|
|
357
357
|
A,
|
|
358
|
-
|
|
358
|
+
E,
|
|
359
359
|
F,
|
|
360
360
|
i,
|
|
361
361
|
K,
|
|
362
|
-
|
|
362
|
+
Q,
|
|
363
363
|
h,
|
|
364
364
|
r,
|
|
365
365
|
_,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { b as tt, N as et, a as st, S as nt, O as it, a1 as lt, E as b, f as ot, r as S, x as p, ae as L, ad as B, ag as v, H, I as T, Q as C, e as M, z as y, a6 as R, g as k, l as at, Y as rt, A as Y, a3 as ct, a9 as ut, h as ft, V as G, T as P, o as ht, $ as dt } from "./CashierPage-Yklnwu-d.js";
|
|
2
|
+
function j(s, t) {
|
|
3
3
|
tt(s, t);
|
|
4
4
|
}
|
|
5
5
|
function gt(s) {
|
|
@@ -7,7 +7,7 @@ function gt(s) {
|
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), st.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const N = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -85,7 +85,7 @@ function pt(s, t) {
|
|
|
85
85
|
function Ct(s) {
|
|
86
86
|
ot(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
|
|
87
87
|
}
|
|
88
|
-
const yt = (s) => ({}),
|
|
88
|
+
const yt = (s) => ({}), z = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
|
|
89
89
|
function D(s) {
|
|
90
90
|
let t, e, i;
|
|
91
91
|
return {
|
|
@@ -100,20 +100,20 @@ function D(s) {
|
|
|
100
100
|
s[6]
|
|
101
101
|
), e = !0);
|
|
102
102
|
},
|
|
103
|
-
p:
|
|
103
|
+
p: G,
|
|
104
104
|
d(n) {
|
|
105
105
|
n && p(t), e = !1, i();
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function Lt(s) {
|
|
110
110
|
let t, e = (
|
|
111
111
|
/*backButton*/
|
|
112
112
|
s[1] && D(s)
|
|
113
113
|
);
|
|
114
114
|
return {
|
|
115
115
|
c() {
|
|
116
|
-
e && e.c(), t =
|
|
116
|
+
e && e.c(), t = Y();
|
|
117
117
|
},
|
|
118
118
|
m(i, n) {
|
|
119
119
|
e && e.m(i, n), C(i, t, n);
|
|
@@ -127,7 +127,7 @@ function Bt(s) {
|
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Bt(s) {
|
|
131
131
|
let t, e = (
|
|
132
132
|
/*$_*/
|
|
133
133
|
s[4](
|
|
@@ -155,7 +155,7 @@ function Lt(s) {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function I(s) {
|
|
159
159
|
let t, e, i;
|
|
160
160
|
return {
|
|
161
161
|
c() {
|
|
@@ -169,7 +169,7 @@ function q(s) {
|
|
|
169
169
|
s[5]
|
|
170
170
|
), e = !0);
|
|
171
171
|
},
|
|
172
|
-
p:
|
|
172
|
+
p: G,
|
|
173
173
|
d(n) {
|
|
174
174
|
n && p(t), e = !1, i();
|
|
175
175
|
}
|
|
@@ -178,18 +178,18 @@ function q(s) {
|
|
|
178
178
|
function vt(s) {
|
|
179
179
|
let t, e = (
|
|
180
180
|
/*closeButton*/
|
|
181
|
-
s[3] &&
|
|
181
|
+
s[3] && I(s)
|
|
182
182
|
);
|
|
183
183
|
return {
|
|
184
184
|
c() {
|
|
185
|
-
e && e.c(), t =
|
|
185
|
+
e && e.c(), t = Y();
|
|
186
186
|
},
|
|
187
187
|
m(i, n) {
|
|
188
188
|
e && e.m(i, n), C(i, t, n);
|
|
189
189
|
},
|
|
190
190
|
p(i, n) {
|
|
191
191
|
/*closeButton*/
|
|
192
|
-
i[3] ? e ? e.p(i, n) : (e =
|
|
192
|
+
i[3] ? e ? e.p(i, n) : (e = I(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
193
193
|
},
|
|
194
194
|
d(i) {
|
|
195
195
|
i && p(t), e && e.d(i);
|
|
@@ -207,7 +207,7 @@ function Ht(s) {
|
|
|
207
207
|
/*$$scope*/
|
|
208
208
|
s[15],
|
|
209
209
|
U
|
|
210
|
-
), r = h ||
|
|
210
|
+
), r = h || Lt(s), _ = (
|
|
211
211
|
/*#slots*/
|
|
212
212
|
s[16].title
|
|
213
213
|
), d = S(
|
|
@@ -216,7 +216,7 @@ function Ht(s) {
|
|
|
216
216
|
/*$$scope*/
|
|
217
217
|
s[15],
|
|
218
218
|
x
|
|
219
|
-
), c = d ||
|
|
219
|
+
), c = d || Bt(s), g = (
|
|
220
220
|
/*#slots*/
|
|
221
221
|
s[16].rightButton
|
|
222
222
|
), w = S(
|
|
@@ -224,11 +224,11 @@ function Ht(s) {
|
|
|
224
224
|
s,
|
|
225
225
|
/*$$scope*/
|
|
226
226
|
s[15],
|
|
227
|
-
|
|
227
|
+
z
|
|
228
228
|
), u = w || vt(s);
|
|
229
229
|
return {
|
|
230
230
|
c() {
|
|
231
|
-
t = y("div"), r && r.c(), e =
|
|
231
|
+
t = y("div"), r && r.c(), e = R(), c && c.c(), i = R(), u && u.c(), k(t, "class", "CashierHeader");
|
|
232
232
|
},
|
|
233
233
|
m(l, f) {
|
|
234
234
|
C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
|
|
@@ -289,15 +289,15 @@ function Ht(s) {
|
|
|
289
289
|
/*$$scope*/
|
|
290
290
|
l[15]
|
|
291
291
|
),
|
|
292
|
-
|
|
292
|
+
z
|
|
293
293
|
) : u && u.p && (!n || f & /*closeButton*/
|
|
294
294
|
8) && u.p(l, n ? f : -1);
|
|
295
295
|
},
|
|
296
296
|
i(l) {
|
|
297
|
-
n || (
|
|
297
|
+
n || (B(r, l), B(c, l), B(u, l), n = !0);
|
|
298
298
|
},
|
|
299
299
|
o(l) {
|
|
300
|
-
|
|
300
|
+
L(r, l), L(c, l), L(u, l), n = !1;
|
|
301
301
|
},
|
|
302
302
|
d(l) {
|
|
303
303
|
l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
|
|
@@ -307,31 +307,31 @@ function Ht(s) {
|
|
|
307
307
|
function Tt(s, t, e) {
|
|
308
308
|
let i;
|
|
309
309
|
at(s, dt, (o) => e(4, i = o));
|
|
310
|
-
let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1,
|
|
311
|
-
const
|
|
310
|
+
let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, E, F = !1;
|
|
311
|
+
const Z = () => {
|
|
312
312
|
fetch(_).then((o) => o.json()).then((o) => {
|
|
313
|
-
Object.keys(o).forEach((
|
|
314
|
-
O
|
|
313
|
+
Object.keys(o).forEach((O) => {
|
|
314
|
+
j(O, o[O]);
|
|
315
315
|
});
|
|
316
316
|
}).catch((o) => {
|
|
317
317
|
console.log(o);
|
|
318
318
|
});
|
|
319
319
|
};
|
|
320
|
-
Object.keys(
|
|
321
|
-
|
|
320
|
+
Object.keys(N).forEach((o) => {
|
|
321
|
+
j(o, N[o]);
|
|
322
322
|
});
|
|
323
|
-
const
|
|
323
|
+
const q = () => {
|
|
324
324
|
gt(g);
|
|
325
325
|
}, K = () => {
|
|
326
326
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
327
|
-
}, J = () => {
|
|
328
|
-
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
329
327
|
}, Q = () => {
|
|
330
|
-
|
|
328
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
331
329
|
}, V = () => {
|
|
330
|
+
e(1, A = !!d && d !== "false");
|
|
331
|
+
}, J = () => {
|
|
332
332
|
e(3, F = !!w && w !== "false");
|
|
333
333
|
}, X = () => {
|
|
334
|
-
e(2,
|
|
334
|
+
e(2, E = c || "header.general");
|
|
335
335
|
};
|
|
336
336
|
rt(() => () => {
|
|
337
337
|
});
|
|
@@ -344,22 +344,22 @@ function Tt(s, t, e) {
|
|
|
344
344
|
"clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
|
|
345
345
|
}, s.$$.update = () => {
|
|
346
346
|
s.$$.dirty & /*lang*/
|
|
347
|
-
4096 && g &&
|
|
347
|
+
4096 && g && q(), s.$$.dirty & /*lang, title*/
|
|
348
348
|
6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
349
349
|
129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
350
350
|
257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
351
351
|
16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
|
|
352
|
-
4608 && g && _ &&
|
|
353
|
-
1024 && d &&
|
|
354
|
-
8192 && w &&
|
|
352
|
+
4608 && g && _ && Z(), s.$$.dirty & /*showbackbutton*/
|
|
353
|
+
1024 && d && V(), s.$$.dirty & /*showclosebutton*/
|
|
354
|
+
8192 && w && J();
|
|
355
355
|
}, [
|
|
356
356
|
l,
|
|
357
357
|
A,
|
|
358
|
-
|
|
358
|
+
E,
|
|
359
359
|
F,
|
|
360
360
|
i,
|
|
361
361
|
K,
|
|
362
|
-
|
|
362
|
+
Q,
|
|
363
363
|
h,
|
|
364
364
|
r,
|
|
365
365
|
_,
|