@everymatrix/cashier-page 1.77.26 → 1.77.28
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-CTAl631F.js → CashierCarousel-C-jIotRi.js} +1162 -1141
- package/components/{CashierCarousel-8hy7C-Hc.js → CashierCarousel-D9RhCULN.js} +991 -970
- package/components/CashierCarousel-DXPbv83E.cjs +23 -0
- package/components/{CashierError-BpvGGYHk.js → CashierError-DFUpmwPW.js} +29 -29
- package/components/{CashierError-DXU0vohJ.cjs → CashierError-am916cR_.cjs} +1 -1
- package/components/{CashierError-B-mGufxN.js → CashierError-gMoSUhpw.js} +32 -32
- package/components/{CashierHeader-Ch27ai33.cjs → CashierHeader-B3IckLiD.cjs} +1 -1
- package/components/{CashierHeader-BbPVdDSy.js → CashierHeader-CK_NVBvX.js} +50 -50
- package/components/{CashierHeader-Dt53rt72.js → CashierHeader-Z4vR_fbH.js} +49 -49
- package/components/{CashierIframeRedirect-DDwa62_J.js → CashierIframeRedirect-Cae_sEXq.js} +32 -32
- package/components/{CashierIframeRedirect-C_lzvCiQ.cjs → CashierIframeRedirect-CdQkuIPa.cjs} +1 -1
- package/components/{CashierIframeRedirect-DFqk8jV8.js → CashierIframeRedirect-Cs3dAZqE.js} +42 -42
- package/components/{CashierMethodDetails-CGu0vT5f.js → CashierMethodDetails-DWh8sNEJ.js} +180 -180
- package/components/{CashierMethodDetails-DEqy0Axp.cjs → CashierMethodDetails-f2nVnAEu.cjs} +2 -2
- package/components/{CashierMethodDetails-BswSN85a.js → CashierMethodDetails-khwdIxvu.js} +522 -522
- package/components/{CashierMethodsList-wKjHJTnI.js → CashierMethodsList-CZkxXZST.js} +38 -38
- package/components/{CashierMethodsList-D9pQQPn8.js → CashierMethodsList-DXkNlgio.js} +39 -39
- package/components/{CashierMethodsList-DfTNLel1.cjs → CashierMethodsList-DeCIPW3N.cjs} +1 -1
- package/components/{CashierModal-C4wQBswd.js → CashierModal-By3PyyVz.js} +36 -36
- package/components/{CashierModal-Nya61zKi.cjs → CashierModal-D2cxw8Kv.cjs} +1 -1
- package/components/{CashierModal-DJYOMvm6.js → CashierModal-pKGYmx2d.js} +37 -37
- package/components/{CashierNotifications-D3DnlGgu.js → CashierNotifications-64xrf21d.js} +34 -34
- package/components/{CashierNotifications-CuIRG1fU.js → CashierNotifications-Cot8tKyV.js} +33 -33
- package/components/{CashierNotifications-U6wVwYzB.cjs → CashierNotifications-o1UTpxCw.cjs} +1 -1
- package/components/{CashierPage-CeQNpD59.js → CashierPage-CDVatUXZ.js} +138 -138
- package/components/{CashierPage-Cntnp_3f.cjs → CashierPage-CJxWyfnl.cjs} +1 -1
- package/components/{CashierPage-BRGPiScz.js → CashierPage-D537sTlX.js} +115 -115
- package/components/{CashierReceiptPage-ClJPgidb.js → CashierReceiptPage-DJVOcSy_.js} +88 -88
- package/components/{CashierReceiptPage-BJ33QbnV.js → CashierReceiptPage-ZjlpnjxZ.js} +85 -85
- package/components/{CashierReceiptPage-KWljug_9.cjs → CashierReceiptPage-vffilP0r.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CvGVtyf5.js → CashierSessionExpirationModal-BCfqE6Qk.js} +109 -118
- package/components/{CashierSessionExpirationModal-BV2HUMWf.js → CashierSessionExpirationModal-BfRG-VY2.js} +50 -59
- package/components/{CashierSessionExpirationModal-DITljBPL.cjs → CashierSessionExpirationModal-BgZuMP6W.cjs} +2 -2
- package/components/{CashierSpinner-C175vtkA.js → CashierSpinner-CIpXwm9I.js} +16 -16
- package/components/{CashierSpinner-msj_XpO-.cjs → CashierSpinner-DOCzNsD8.cjs} +1 -1
- package/components/{CashierSpinner-BSlrvjni.js → CashierSpinner-fUvoz21a.js} +16 -16
- package/components/{CashierTransactionHistory-DFs4bnVj.js → CashierTransactionHistory-CHPwXvGA.js} +61 -61
- package/components/{CashierTransactionHistory-CfOZEGn-.cjs → CashierTransactionHistory-C_77nNRF.cjs} +1 -1
- package/components/{CashierTransactionHistory-Cv2FL_zi.js → CashierTransactionHistory-DLBclLcC.js} +104 -104
- package/components/{CashierVerifications-Bl-okfn_.js → CashierVerifications-B-e9bu7a.js} +75 -75
- package/components/{CashierVerifications-C7-keFiS.cjs → CashierVerifications-D1I7kgbX.cjs} +1 -1
- package/components/{CashierVerifications-DdisN2u9.js → CashierVerifications-DAfJTpBE.js} +36 -36
- package/components/{TxnStatusIcon-DLuaaRoA.js → TxnStatusIcon-C5YEVJGC.js} +19 -19
- package/components/{TxnStatusIcon-mzkkoROK.js → TxnStatusIcon-Cdbn57Qc.js} +19 -19
- package/components/{TxnStatusIcon-Dfxg1kzJ.cjs → TxnStatusIcon-Dx4SpBKR.cjs} +1 -1
- package/components/{TxnTypeIcons-DIvNxsdh.cjs → TxnTypeIcons-D-p9WLvQ.cjs} +1 -1
- package/components/{TxnTypeIcons-CHAbo_FI.js → TxnTypeIcons-DaYTcY0u.js} +14 -14
- package/components/{TxnTypeIcons-D3fc1OY6.js → TxnTypeIcons-Dl8aWDV4.js} +14 -14
- 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--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/index-b2193545-B8kMF2bI.cjs +1 -0
- package/stencil/index-b2193545-BoSqyMpB.js +519 -0
- package/stencil/index-b2193545-D4dOaNlR.js +503 -0
- package/stencil/{ui-image-4dZyD9yF.js → ui-image-BWJXFWH1.js} +1 -1
- package/stencil/{ui-image-CER01gdl.cjs → ui-image-ByEXiBzx.cjs} +1 -1
- package/stencil/{ui-image-6u7OR3Eo.js → ui-image-DIEeZy5u.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
- package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
- package/stencil/{ui-skeleton-gIFE_2eg.cjs → ui-skeleton-_yJvAdAL.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D-MGUxCy.cjs → ui-skeleton-ae35c6f2-CKgUXOQC.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
- package/components/CashierCarousel-CMHHOrjm.cjs +0 -23
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-BhpttWPO.cjs +0 -1
- package/stencil/index-b2193545-DWKmtYUG.js +0 -503
- package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as j, i as V, $ as Y, S as X, b as Q,
|
|
2
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { a as j, i as V, $ as Y, S as X, b as Q, s as Z, f as p, c as $, d as S, e as T, t as E, g as w, u as A, h as P, j as x, k as ee, l as M, m as v, n as z, o as L, p as D, q as te, r as ie, v as ne, w as B, x as H, y as ae, z as G, A as I, B as re, C as oe, D as se, E as le, F as ue, G as ce, H as de } from "./CashierCarousel-D9RhCULN.js";
|
|
2
|
+
import "../stencil/ui-image-DIEeZy5u.js";
|
|
3
3
|
function R(i, e) {
|
|
4
4
|
j(i, e);
|
|
5
5
|
}
|
|
@@ -63,7 +63,7 @@ const K = {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
function fe(i) {
|
|
66
|
-
|
|
66
|
+
$(i, "svelte-1dt5wyw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;border-radius:10px;border:1px solid var(--emw--color-grey-105, #E8E9EB);background-color:var(--emw--color-white, #ffffff);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-black, #000);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-gray-290, #666);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-white, #fff);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, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorContent ui-image img{width:300px}");
|
|
67
67
|
}
|
|
68
68
|
const he = (i) => ({}), N = (i) => ({}), ge = (i) => ({}), U = (i) => ({}), ye = (i) => ({}), J = (i) => ({}), be = (i) => ({}), O = (i) => ({ class: "CashierErrorIcon" });
|
|
69
69
|
function q(i) {
|
|
@@ -74,7 +74,7 @@ function q(i) {
|
|
|
74
74
|
i[0]}/error-general-icon.png`) || I(e, "src", t), I(e, "width", "300px"), I(e, "alt", "error");
|
|
75
75
|
},
|
|
76
76
|
m(a, n) {
|
|
77
|
-
|
|
77
|
+
M(a, e, n);
|
|
78
78
|
},
|
|
79
79
|
p(a, n) {
|
|
80
80
|
n & /*assetsurl*/
|
|
@@ -82,7 +82,7 @@ function q(i) {
|
|
|
82
82
|
a[0]}/error-general-icon.png`) && I(e, "src", t);
|
|
83
83
|
},
|
|
84
84
|
d(a) {
|
|
85
|
-
a &&
|
|
85
|
+
a && T(e);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
}
|
|
@@ -93,17 +93,17 @@ function ke(i) {
|
|
|
93
93
|
);
|
|
94
94
|
return {
|
|
95
95
|
c() {
|
|
96
|
-
t && t.c(), e =
|
|
96
|
+
t && t.c(), e = ne();
|
|
97
97
|
},
|
|
98
98
|
m(a, n) {
|
|
99
|
-
t && t.m(a, n),
|
|
99
|
+
t && t.m(a, n), M(a, e, n);
|
|
100
100
|
},
|
|
101
101
|
p(a, n) {
|
|
102
102
|
/*assetsurl*/
|
|
103
103
|
a[0] ? t ? t.p(a, n) : (t = q(a), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
104
104
|
},
|
|
105
105
|
d(a) {
|
|
106
|
-
a &&
|
|
106
|
+
a && T(e), t && t.d(a);
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
}
|
|
@@ -114,18 +114,18 @@ function _e(i) {
|
|
|
114
114
|
), a;
|
|
115
115
|
return {
|
|
116
116
|
c() {
|
|
117
|
-
e = z("span"), a =
|
|
117
|
+
e = z("span"), a = H(t), D(e, "class", "CashierErrorTitle");
|
|
118
118
|
},
|
|
119
119
|
m(n, o) {
|
|
120
|
-
|
|
120
|
+
M(n, e, o), v(e, a);
|
|
121
121
|
},
|
|
122
122
|
p(n, o) {
|
|
123
123
|
o & /*$_*/
|
|
124
124
|
16 && t !== (t = /*$_*/
|
|
125
|
-
n[4]("errorGeneralTitle") + "") &&
|
|
125
|
+
n[4]("errorGeneralTitle") + "") && B(a, t);
|
|
126
126
|
},
|
|
127
127
|
d(n) {
|
|
128
|
-
n &&
|
|
128
|
+
n && T(e);
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
}
|
|
@@ -137,19 +137,19 @@ function pe(i) {
|
|
|
137
137
|
), a;
|
|
138
138
|
return {
|
|
139
139
|
c() {
|
|
140
|
-
e = z("span"), a =
|
|
140
|
+
e = z("span"), a = H(t), D(e, "class", "CashierErrorText");
|
|
141
141
|
},
|
|
142
142
|
m(n, o) {
|
|
143
|
-
|
|
143
|
+
M(n, e, o), v(e, a);
|
|
144
144
|
},
|
|
145
145
|
p(n, o) {
|
|
146
146
|
o & /*$_, errorcode*/
|
|
147
147
|
20 && t !== (t = /*$_*/
|
|
148
148
|
n[4](`${/*errorcode*/
|
|
149
|
-
n[2] || "errorGeneralText"}`) + "") &&
|
|
149
|
+
n[2] || "errorGeneralText"}`) + "") && B(a, t);
|
|
150
150
|
},
|
|
151
151
|
d(n) {
|
|
152
|
-
n &&
|
|
152
|
+
n && T(e);
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
}
|
|
@@ -212,10 +212,10 @@ function ve(i) {
|
|
|
212
212
|
), n, o, s;
|
|
213
213
|
return {
|
|
214
214
|
c() {
|
|
215
|
-
e = z("button"), t = z("span"), n =
|
|
215
|
+
e = z("button"), t = z("span"), n = H(a), D(e, "class", "CashierErrorButton");
|
|
216
216
|
},
|
|
217
217
|
m(m, y) {
|
|
218
|
-
|
|
218
|
+
M(m, e, y), v(e, t), v(t, n), o || (s = re(
|
|
219
219
|
e,
|
|
220
220
|
"click",
|
|
221
221
|
/*close*/
|
|
@@ -225,10 +225,10 @@ function ve(i) {
|
|
|
225
225
|
p(m, y) {
|
|
226
226
|
y & /*$_*/
|
|
227
227
|
16 && a !== (a = /*$_*/
|
|
228
|
-
m[4]("errorGeneralButton") + "") &&
|
|
228
|
+
m[4]("errorGeneralButton") + "") && B(n, a);
|
|
229
229
|
},
|
|
230
230
|
d(m) {
|
|
231
|
-
m &&
|
|
231
|
+
m && T(e), o = !1, s();
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
}
|
|
@@ -270,7 +270,7 @@ function we(i) {
|
|
|
270
270
|
e = z("div"), t = z("div"), f && f.c(), a = L(), d && d.c(), n = L(), g && g.c(), o = L(), u && u.c(), D(t, "class", "CashierErrorContent"), D(e, "class", "CashierError");
|
|
271
271
|
},
|
|
272
272
|
m(r, c) {
|
|
273
|
-
|
|
273
|
+
M(r, e, c), v(e, t), f && f.m(t, null), v(t, a), d && d.m(t, null), v(t, n), g && g.m(t, null), v(t, o), u && u.m(t, null), i[13](e), s = !0;
|
|
274
274
|
},
|
|
275
275
|
p(r, [c]) {
|
|
276
276
|
y ? y.p && (!s || c & /*$$scope*/
|
|
@@ -333,9 +333,9 @@ function we(i) {
|
|
|
333
333
|
20) && g.p(r, s ? c : -1), !/*hidebuttons*/
|
|
334
334
|
r[1] || /*hidebuttons*/
|
|
335
335
|
r[1] === "false" ? u ? (u.p(r, c), c & /*hidebuttons*/
|
|
336
|
-
2 && w(u, 1)) : (u = F(r), u.c(), w(u, 1), u.m(t, null)) : u && (
|
|
336
|
+
2 && w(u, 1)) : (u = F(r), u.c(), w(u, 1), u.m(t, null)) : u && (oe(), E(u, 1, 1, () => {
|
|
337
337
|
u = null;
|
|
338
|
-
}),
|
|
338
|
+
}), ee());
|
|
339
339
|
},
|
|
340
340
|
i(r) {
|
|
341
341
|
s || (w(f, r), w(d, r), w(g, r), w(u), s = !0);
|
|
@@ -344,13 +344,13 @@ function we(i) {
|
|
|
344
344
|
E(f, r), E(d, r), E(g, r), E(u), s = !1;
|
|
345
345
|
},
|
|
346
346
|
d(r) {
|
|
347
|
-
r &&
|
|
347
|
+
r && T(e), f && f.d(r), d && d.d(r), g && g.d(r), u && u.d(), i[13](null);
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
351
|
function ze(i, e, t) {
|
|
352
352
|
let a;
|
|
353
|
-
|
|
353
|
+
te(i, de, (l) => t(4, a = l));
|
|
354
354
|
let { $$slots: n = {}, $$scope: o } = e, { assetsurl: s = "" } = e, { lang: m = "en" } = e, { hidebuttons: y = "" } = e, { errorcode: f = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: d = "" } = e, { mbsource: _ = "" } = e, h;
|
|
355
355
|
const g = () => {
|
|
356
356
|
me(m);
|
|
@@ -369,10 +369,10 @@ function ze(i, e, t) {
|
|
|
369
369
|
const r = () => {
|
|
370
370
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
371
371
|
};
|
|
372
|
-
|
|
372
|
+
ie(() => () => {
|
|
373
373
|
});
|
|
374
374
|
function c(l) {
|
|
375
|
-
|
|
375
|
+
ae[l ? "unshift" : "push"](() => {
|
|
376
376
|
h = l, t(3, h);
|
|
377
377
|
});
|
|
378
378
|
}
|
|
@@ -381,9 +381,9 @@ function ze(i, e, t) {
|
|
|
381
381
|
}, i.$$.update = () => {
|
|
382
382
|
i.$$.dirty & /*lang*/
|
|
383
383
|
64 && m && g(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
384
|
-
136 && k && h &&
|
|
385
|
-
264 && b && h &&
|
|
386
|
-
1032 && _ && h &&
|
|
384
|
+
136 && k && h && se(h, k), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
385
|
+
264 && b && h && le(h, b), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
386
|
+
1032 && _ && h && ue(h, `${_}.Style`), i.$$.dirty & /*translationurl*/
|
|
387
387
|
512 && d && u();
|
|
388
388
|
}, [
|
|
389
389
|
s,
|
|
@@ -409,7 +409,7 @@ class Ce extends X {
|
|
|
409
409
|
e,
|
|
410
410
|
ze,
|
|
411
411
|
we,
|
|
412
|
-
|
|
412
|
+
Z,
|
|
413
413
|
{
|
|
414
414
|
assetsurl: 0,
|
|
415
415
|
lang: 6,
|
|
@@ -472,7 +472,7 @@ class Ce extends X {
|
|
|
472
472
|
this.$$set({ mbsource: e }), p();
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
|
|
475
|
+
ce(Ce, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
476
476
|
export {
|
|
477
477
|
Ce as default
|
|
478
478
|
};
|
|
@@ -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-DXPbv83E.cjs");function y(i,e){t.addMessages(i,e)}function q(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const k={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function x(i){t.append_styles(i,"svelte-brbf89",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.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, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);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;stroke:var(--emw--color-primary, #3854FF)}")}const D=i=>({}),B=i=>({}),E=i=>({}),L=i=>({}),P=i=>({}),v=i=>({});function H(i){let e,n,o;return{c(){e=t.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderLeftButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function U(i){let e,n=i[1]&&H(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[1]?n?n.p(o,l):(n=H(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function W(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(l,h){t.insert(l,e,h),t.append(e,o)},p(l,h){h&20&&n!==(n=l[4](l[2])+"")&&t.set_data(o,n)},d(l){l&&t.detach(e)}}}function F(i){let e,n,o;return{c(){e=t.element("span"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>',t.attr(e,"class","CashierHeaderRightButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function Z(i){let e,n=i[3]&&F(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[3]?n?n.p(o,l):(n=F(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function I(i){let e,n,o,l;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],v),c=m||U(i),b=i[16].title,g=t.create_slot(b,i,i[15],L),u=g||W(i),_=i[16].rightButton,d=t.create_slot(_,i,i[15],B),f=d||Z(i);return{c(){e=t.element("div"),c&&c.c(),n=t.space(),u&&u.c(),o=t.space(),f&&f.c(),t.attr(e,"class","CashierHeader")},m(s,r){t.insert(s,e,r),c&&c.m(e,null),t.append(e,n),u&&u.m(e,null),t.append(e,o),f&&f.m(e,null),i[17](e),l=!0},p(s,[r]){m?m.p&&(!l||r&32768)&&t.update_slot_base(m,h,s,s[15],l?t.get_slot_changes(h,s[15],r,P):t.get_all_dirty_from_scope(s[15]),v):c&&c.p&&(!l||r&2)&&c.p(s,l?r:-1),g?g.p&&(!l||r&32768)&&t.update_slot_base(g,b,s,s[15],l?t.get_slot_changes(b,s[15],r,E):t.get_all_dirty_from_scope(s[15]),L):u&&u.p&&(!l||r&20)&&u.p(s,l?r:-1),d?d.p&&(!l||r&32768)&&t.update_slot_base(d,_,s,s[15],l?t.get_slot_changes(_,s[15],r,D):t.get_all_dirty_from_scope(s[15]),B):f&&f.p&&(!l||r&8)&&f.p(s,l?r:-1)},i(s){l||(t.transition_in(c,s),t.transition_in(u,s),t.transition_in(f,s),l=!0)},o(s){t.transition_out(c,s),t.transition_out(u,s),t.transition_out(f,s),l=!1},d(s){s&&t.detach(e),c&&c.d(s),u&&u.d(s),f&&f.d(s),i[17](null)}}}function Y(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:l={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:c=""}=e,{translationurl:b=""}=e,{showbackbutton:g=""}=e,{title:u="header.general"}=e,{lang:_="en"}=e,{showclosebutton:d=""}=e,{mbsource:f=""}=e,s,r=!1,w,p=!1;const M=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(C=>{y(C,a[C])})}).catch(a=>{console.log(a)})};Object.keys(k).forEach(a=>{y(a,k[a])});const T=()=>{q(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{n(1,r=!!g&&g!=="false")},A=()=>{n(3,p=!!d&&d!=="false")},O=()=>{n(2,w=u||"header.general")};t.onMount(()=>()=>{});function R(a){t.binding_callbacks[a?"unshift":"push"](()=>{s=a,n(0,s)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,c=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,u=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,f=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&T(),i.$$.dirty&6144&&_&&u&&O(),i.$$.dirty&129&&m&&s&&t.setClientStyling(s,m),i.$$.dirty&257&&c&&s&&t.setClientStylingURL(s,c),i.$$.dirty&16385&&f&&s&&t.setStreamStyling(s,`${f}.Style`),i.$$.dirty&4608&&_&&b&&M(),i.$$.dirty&1024&&g&&z(),i.$$.dirty&8192&&d&&A()},[s,r,w,p,o,j,N,m,c,b,g,u,_,d,f,h,l,R]}class S extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,Y,I,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},x)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(S,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=S;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as V, i as X, $, S as tt, b as et,
|
|
2
|
-
function
|
|
1
|
+
import { a as V, i as X, $, S as tt, b as et, s as st, f as w, c as nt, d as y, e as b, t as B, g as L, u as v, h as H, j as F, m as C, n as S, o as p, p as z, q as k, r as it, v as lt, w as q, x as ot, y as at, z as rt, I, C as U, D as ct, E as ft, F as ut, G as ht, H as gt } from "./CashierCarousel-C-jIotRi.js";
|
|
2
|
+
function N(s, t) {
|
|
3
3
|
V(s, t);
|
|
4
4
|
}
|
|
5
5
|
function dt(s) {
|
|
@@ -7,7 +7,7 @@ function dt(s) {
|
|
|
7
7
|
fallbackLocale: "en"
|
|
8
8
|
}), $.set(s);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const x = {
|
|
11
11
|
en: {
|
|
12
12
|
header: {
|
|
13
13
|
general: "Cashier",
|
|
@@ -31,9 +31,9 @@ const N = {
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
function _t(s) {
|
|
34
|
-
|
|
34
|
+
nt(s, "svelte-brbf89", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);width:100%;padding:10px 0}.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, #3854FF)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #3854FF)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #3854FF);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;stroke:var(--emw--color-primary, #3854FF)}");
|
|
35
35
|
}
|
|
36
|
-
const mt = (s) => ({}),
|
|
36
|
+
const mt = (s) => ({}), A = (s) => ({}), wt = (s) => ({}), R = (s) => ({}), bt = (s) => ({}), D = (s) => ({});
|
|
37
37
|
function E(s) {
|
|
38
38
|
let t, e, l;
|
|
39
39
|
return {
|
|
@@ -41,16 +41,16 @@ function E(s) {
|
|
|
41
41
|
t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
42
42
|
},
|
|
43
43
|
m(n, u) {
|
|
44
|
-
|
|
44
|
+
C(n, t, u), e || (l = U(
|
|
45
45
|
t,
|
|
46
46
|
"click",
|
|
47
47
|
/*back*/
|
|
48
48
|
s[6]
|
|
49
49
|
), e = !0);
|
|
50
50
|
},
|
|
51
|
-
p:
|
|
51
|
+
p: I,
|
|
52
52
|
d(n) {
|
|
53
|
-
n &&
|
|
53
|
+
n && b(t), e = !1, l();
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
}
|
|
@@ -64,14 +64,14 @@ function Ct(s) {
|
|
|
64
64
|
e && e.c(), t = q();
|
|
65
65
|
},
|
|
66
66
|
m(l, n) {
|
|
67
|
-
e && e.m(l, n),
|
|
67
|
+
e && e.m(l, n), C(l, t, n);
|
|
68
68
|
},
|
|
69
69
|
p(l, n) {
|
|
70
70
|
/*backButton*/
|
|
71
71
|
l[1] ? e ? e.p(l, n) : (e = E(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
72
72
|
},
|
|
73
73
|
d(l) {
|
|
74
|
-
l &&
|
|
74
|
+
l && b(t), e && e.d(l);
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
}
|
|
@@ -85,10 +85,10 @@ function pt(s) {
|
|
|
85
85
|
), l;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
t = p("span"), l =
|
|
88
|
+
t = p("span"), l = at(e), k(t, "class", "CashierHeaderTitle");
|
|
89
89
|
},
|
|
90
90
|
m(n, u) {
|
|
91
|
-
|
|
91
|
+
C(n, t, u), S(t, l);
|
|
92
92
|
},
|
|
93
93
|
p(n, u) {
|
|
94
94
|
u & /*$_, titleText*/
|
|
@@ -96,10 +96,10 @@ function pt(s) {
|
|
|
96
96
|
n[4](
|
|
97
97
|
/*titleText*/
|
|
98
98
|
n[2]
|
|
99
|
-
) + "") &&
|
|
99
|
+
) + "") && ot(l, e);
|
|
100
100
|
},
|
|
101
101
|
d(n) {
|
|
102
|
-
n &&
|
|
102
|
+
n && b(t);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
}
|
|
@@ -110,16 +110,16 @@ function O(s) {
|
|
|
110
110
|
t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
111
111
|
},
|
|
112
112
|
m(n, u) {
|
|
113
|
-
|
|
113
|
+
C(n, t, u), e || (l = U(
|
|
114
114
|
t,
|
|
115
115
|
"click",
|
|
116
116
|
/*close*/
|
|
117
117
|
s[5]
|
|
118
118
|
), e = !0);
|
|
119
119
|
},
|
|
120
|
-
p:
|
|
120
|
+
p: I,
|
|
121
121
|
d(n) {
|
|
122
|
-
n &&
|
|
122
|
+
n && b(t), e = !1, l();
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
}
|
|
@@ -133,14 +133,14 @@ function kt(s) {
|
|
|
133
133
|
e && e.c(), t = q();
|
|
134
134
|
},
|
|
135
135
|
m(l, n) {
|
|
136
|
-
e && e.m(l, n),
|
|
136
|
+
e && e.m(l, n), C(l, t, n);
|
|
137
137
|
},
|
|
138
138
|
p(l, n) {
|
|
139
139
|
/*closeButton*/
|
|
140
140
|
l[3] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
141
141
|
},
|
|
142
142
|
d(l) {
|
|
143
|
-
l &&
|
|
143
|
+
l && b(t), e && e.d(l);
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
}
|
|
@@ -172,119 +172,119 @@ function yt(s) {
|
|
|
172
172
|
s,
|
|
173
173
|
/*$$scope*/
|
|
174
174
|
s[15],
|
|
175
|
-
|
|
175
|
+
A
|
|
176
176
|
), f = d || kt(s);
|
|
177
177
|
return {
|
|
178
178
|
c() {
|
|
179
179
|
t = p("div"), r && r.c(), e = z(), c && c.c(), l = z(), f && f.c(), k(t, "class", "CashierHeader");
|
|
180
180
|
},
|
|
181
181
|
m(i, a) {
|
|
182
|
-
|
|
182
|
+
C(i, t, a), r && r.m(t, null), S(t, e), c && c.m(t, null), S(t, l), f && f.m(t, null), s[17](t), n = !0;
|
|
183
183
|
},
|
|
184
184
|
p(i, [a]) {
|
|
185
185
|
_ ? _.p && (!n || a & /*$$scope*/
|
|
186
|
-
32768) &&
|
|
186
|
+
32768) && v(
|
|
187
187
|
_,
|
|
188
188
|
u,
|
|
189
189
|
i,
|
|
190
190
|
/*$$scope*/
|
|
191
191
|
i[15],
|
|
192
|
-
n ?
|
|
192
|
+
n ? F(
|
|
193
193
|
u,
|
|
194
194
|
/*$$scope*/
|
|
195
195
|
i[15],
|
|
196
196
|
a,
|
|
197
197
|
bt
|
|
198
|
-
) :
|
|
198
|
+
) : H(
|
|
199
199
|
/*$$scope*/
|
|
200
200
|
i[15]
|
|
201
201
|
),
|
|
202
202
|
D
|
|
203
203
|
) : r && r.p && (!n || a & /*backButton*/
|
|
204
204
|
2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
|
|
205
|
-
32768) &&
|
|
205
|
+
32768) && v(
|
|
206
206
|
h,
|
|
207
207
|
m,
|
|
208
208
|
i,
|
|
209
209
|
/*$$scope*/
|
|
210
210
|
i[15],
|
|
211
|
-
n ?
|
|
211
|
+
n ? F(
|
|
212
212
|
m,
|
|
213
213
|
/*$$scope*/
|
|
214
214
|
i[15],
|
|
215
215
|
a,
|
|
216
216
|
wt
|
|
217
|
-
) :
|
|
217
|
+
) : H(
|
|
218
218
|
/*$$scope*/
|
|
219
219
|
i[15]
|
|
220
220
|
),
|
|
221
221
|
R
|
|
222
222
|
) : c && c.p && (!n || a & /*$_, titleText*/
|
|
223
223
|
20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
|
|
224
|
-
32768) &&
|
|
224
|
+
32768) && v(
|
|
225
225
|
d,
|
|
226
226
|
g,
|
|
227
227
|
i,
|
|
228
228
|
/*$$scope*/
|
|
229
229
|
i[15],
|
|
230
|
-
n ?
|
|
230
|
+
n ? F(
|
|
231
231
|
g,
|
|
232
232
|
/*$$scope*/
|
|
233
233
|
i[15],
|
|
234
234
|
a,
|
|
235
235
|
mt
|
|
236
|
-
) :
|
|
236
|
+
) : H(
|
|
237
237
|
/*$$scope*/
|
|
238
238
|
i[15]
|
|
239
239
|
),
|
|
240
|
-
|
|
240
|
+
A
|
|
241
241
|
) : f && f.p && (!n || a & /*closeButton*/
|
|
242
242
|
8) && f.p(i, n ? a : -1);
|
|
243
243
|
},
|
|
244
244
|
i(i) {
|
|
245
|
-
n || (
|
|
245
|
+
n || (L(r, i), L(c, i), L(f, i), n = !0);
|
|
246
246
|
},
|
|
247
247
|
o(i) {
|
|
248
|
-
|
|
248
|
+
B(r, i), B(c, i), B(f, i), n = !1;
|
|
249
249
|
},
|
|
250
250
|
d(i) {
|
|
251
|
-
i &&
|
|
251
|
+
i && b(t), r && r.d(i), c && c.d(i), f && f.d(i), s[17](null);
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
function Bt(s, t, e) {
|
|
256
256
|
let l;
|
|
257
|
-
|
|
257
|
+
it(s, gt, (o) => e(4, l = o));
|
|
258
258
|
let { $$slots: n = {}, $$scope: u } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: f = "" } = t, i, a = !1, M, T = !1;
|
|
259
259
|
const W = () => {
|
|
260
260
|
fetch(m).then((o) => o.json()).then((o) => {
|
|
261
261
|
Object.keys(o).forEach((j) => {
|
|
262
|
-
|
|
262
|
+
N(j, o[j]);
|
|
263
263
|
});
|
|
264
264
|
}).catch((o) => {
|
|
265
265
|
console.log(o);
|
|
266
266
|
});
|
|
267
267
|
};
|
|
268
|
-
Object.keys(
|
|
269
|
-
|
|
268
|
+
Object.keys(x).forEach((o) => {
|
|
269
|
+
N(o, x[o]);
|
|
270
270
|
});
|
|
271
271
|
const Z = () => {
|
|
272
272
|
dt(g);
|
|
273
|
-
},
|
|
273
|
+
}, G = () => {
|
|
274
274
|
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
275
|
-
},
|
|
275
|
+
}, P = () => {
|
|
276
276
|
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
277
|
-
},
|
|
277
|
+
}, Y = () => {
|
|
278
278
|
e(1, a = !!h && h !== "false");
|
|
279
279
|
}, J = () => {
|
|
280
280
|
e(3, T = !!d && d !== "false");
|
|
281
281
|
}, K = () => {
|
|
282
282
|
e(2, M = c || "header.general");
|
|
283
283
|
};
|
|
284
|
-
|
|
284
|
+
lt(() => () => {
|
|
285
285
|
});
|
|
286
286
|
function Q(o) {
|
|
287
|
-
|
|
287
|
+
rt[o ? "unshift" : "push"](() => {
|
|
288
288
|
i = o, e(0, i);
|
|
289
289
|
});
|
|
290
290
|
}
|
|
@@ -294,11 +294,11 @@ function Bt(s, t, e) {
|
|
|
294
294
|
s.$$.dirty & /*lang*/
|
|
295
295
|
4096 && g && Z(), s.$$.dirty & /*lang, title*/
|
|
296
296
|
6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
297
|
-
129 && _ && i &&
|
|
298
|
-
257 && r && i &&
|
|
299
|
-
16385 && f && i &&
|
|
297
|
+
129 && _ && i && ct(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
298
|
+
257 && r && i && ft(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
299
|
+
16385 && f && i && ut(i, `${f}.Style`), s.$$.dirty & /*lang, translationurl*/
|
|
300
300
|
4608 && g && m && W(), s.$$.dirty & /*showbackbutton*/
|
|
301
|
-
1024 && h &&
|
|
301
|
+
1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
|
|
302
302
|
8192 && d && J();
|
|
303
303
|
}, [
|
|
304
304
|
i,
|
|
@@ -306,8 +306,8 @@ function Bt(s, t, e) {
|
|
|
306
306
|
M,
|
|
307
307
|
T,
|
|
308
308
|
l,
|
|
309
|
+
G,
|
|
309
310
|
P,
|
|
310
|
-
Y,
|
|
311
311
|
_,
|
|
312
312
|
r,
|
|
313
313
|
m,
|
|
@@ -328,7 +328,7 @@ class Lt extends tt {
|
|
|
328
328
|
t,
|
|
329
329
|
Bt,
|
|
330
330
|
yt,
|
|
331
|
-
|
|
331
|
+
st,
|
|
332
332
|
{
|
|
333
333
|
clientstyling: 7,
|
|
334
334
|
clientstylingurl: 8,
|
|
@@ -391,7 +391,7 @@ class Lt extends tt {
|
|
|
391
391
|
this.$$set({ mbsource: t }), w();
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
|
|
394
|
+
ht(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
395
395
|
export {
|
|
396
396
|
Lt as default
|
|
397
397
|
};
|