@everymatrix/cashier-page 1.98.31 → 1.98.90
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-BA4JyzEW.js +5859 -0
- package/components/CashierCarousel-CMEgfUwc.cjs +23 -0
- package/components/CashierCarousel-CX0SsCIH.js +5897 -0
- package/components/CashierError-7AdFbvfT.js +1039 -0
- package/components/CashierError-CTAEd_r0.js +1017 -0
- package/components/CashierError-DRLadQ1c.cjs +1 -0
- package/components/CashierHeader-BGKzCimJ.js +419 -0
- package/components/CashierHeader-CSgI8a3x.cjs +1 -0
- package/components/CashierHeader-aIvcBDIB.js +419 -0
- package/components/{CashierIframeRedirect-C77nD3AG.js → CashierIframeRedirect-BixZ89_V.js} +136 -118
- package/components/CashierIframeRedirect-DIymWwzh.cjs +1 -0
- package/components/{CashierIframeRedirect-CbkM19jX.js → CashierIframeRedirect-et2tineq.js} +135 -117
- package/components/CashierMethodDetails-CWsg9sYt.js +12701 -0
- package/components/CashierMethodDetails-C_MjQ-Xu.js +12638 -0
- package/components/CashierMethodDetails-SNLblHyQ.cjs +238 -0
- package/components/CashierMethodsList-BLwB3sqM.js +995 -0
- package/components/CashierMethodsList-CLt93Wt_.js +1009 -0
- package/components/CashierMethodsList-D874_kXP.cjs +1 -0
- package/components/{CashierModal-DfBiGe-Y.js → CashierModal-BRzoN03N.js} +41 -42
- package/components/CashierModal-DfN9EVPn.cjs +1 -0
- package/components/{CashierModal-Bpf1W4TW.js → CashierModal-vB14oWRv.js} +27 -28
- package/components/CashierNotifications-DSJecT27.cjs +1 -0
- package/components/{CashierNotifications-LH8DhGDl.js → CashierNotifications-Dqk9mCSm.js} +14 -14
- package/components/{CashierNotifications-CXsZaMzr.js → CashierNotifications-h2kAwy8C.js} +16 -16
- package/components/CashierPage-Beq2koGy.js +4944 -0
- package/components/CashierPage-D1kh_1LL.cjs +1 -0
- package/components/CashierPage-m-MoxylT.js +4910 -0
- package/components/CashierReceiptPage-B18IwLq1.js +2027 -0
- package/components/CashierReceiptPage-CkuXChum.cjs +29 -0
- package/components/CashierReceiptPage-DVHVcMHF.js +2047 -0
- package/components/CashierSessionExpirationModal-2E9Ouo7E.js +1240 -0
- package/components/CashierSessionExpirationModal-BjcTJYtW.js +1240 -0
- package/components/CashierSessionExpirationModal-DeM_gmnl.cjs +2 -0
- package/components/{CashierSpinner-B3ab9--E.js → CashierSpinner-BPMpeVNV.js} +14 -15
- package/components/{CashierSpinner-xkYSSmKN.js → CashierSpinner-D-iQrIJl.js} +16 -17
- package/components/CashierSpinner-ojrhhtWk.cjs +1 -0
- package/components/CashierStepUp-C3XNNq3y.cjs +1 -0
- package/components/CashierStepUp-DXPlyOoe.js +1251 -0
- package/components/CashierStepUp-DzRZwgMM.js +1211 -0
- package/components/{CashierTransactionHistory-Ca3FNiKJ.js → CashierTransactionHistory-CAmxctrm.js} +598 -627
- package/components/CashierTransactionHistory-CUDJ1X2T.js +1436 -0
- package/components/CashierTransactionHistory-DeoUgJT-.cjs +1 -0
- package/components/CashierVerifications-BjvIe60l.cjs +1 -0
- package/components/CashierVerifications-CBcNVaZB.js +736 -0
- package/components/CashierVerifications-CFLtPR-c.js +740 -0
- package/components/{TxnStatusIcon-Clv1k2Ma.js → TxnStatusIcon-B7tTz8eE.js} +5 -5
- package/components/{TxnStatusIcon-DPf3O_DU.js → TxnStatusIcon-BUyLtOGa.js} +10 -10
- package/components/TxnStatusIcon-juOXBK6t.cjs +1 -0
- package/components/{TxnTypeIcons-36d9TALW.js → TxnTypeIcons-CZ2QO89c.js} +1 -1
- package/components/TxnTypeIcons-acUq-lo0.cjs +1 -0
- package/components/{TxnTypeIcons-DYUOz_RG.js → TxnTypeIcons-vEIUPP7t.js} +1 -1
- 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/components/CashierCarousel-3bBExAfX.js +0 -735
- package/components/CashierCarousel-C0iOhcfu.js +0 -732
- package/components/CashierCarousel-DACE1tKH.cjs +0 -1
- package/components/CashierError-C2laBAxm.js +0 -953
- package/components/CashierError-CE7_mcoB.js +0 -953
- package/components/CashierError-D5O8VRb7.cjs +0 -1
- package/components/CashierHeader-C1q5WV57.js +0 -491
- package/components/CashierHeader-CHEzsRF0.cjs +0 -1
- package/components/CashierHeader-Dm7TURe3.js +0 -491
- package/components/CashierIframeRedirect-CnDLsDYN.cjs +0 -1
- package/components/CashierMethodDetails-CmCUjtZZ.js +0 -12027
- package/components/CashierMethodDetails-DcHxycYB.cjs +0 -238
- package/components/CashierMethodDetails-g-EHhr4t.js +0 -11964
- package/components/CashierMethodsList-BaUQBBIX.cjs +0 -1
- package/components/CashierMethodsList-DgEtoxRa.js +0 -979
- package/components/CashierMethodsList-kwzWzUdM.js +0 -993
- package/components/CashierModal-D8_Y0ZU6.cjs +0 -1
- package/components/CashierNotifications-ZtPfOc6V.cjs +0 -1
- package/components/CashierPage-BOWMSZ9v.cjs +0 -23
- package/components/CashierPage-CiyPlHzj.js +0 -10334
- package/components/CashierPage-DdCmt2zp.js +0 -10387
- package/components/CashierReceiptPage-A54bEgRe.js +0 -2249
- package/components/CashierReceiptPage-BHkIMd6B.js +0 -2229
- package/components/CashierReceiptPage-CeVo2qP_.cjs +0 -29
- package/components/CashierSessionExpirationModal-C8EUenjL.js +0 -1228
- package/components/CashierSessionExpirationModal-CT28y-Dy.cjs +0 -2
- package/components/CashierSessionExpirationModal-DqUoBpXM.js +0 -1228
- package/components/CashierSpinner-DTiIwXJs.cjs +0 -1
- package/components/CashierStepUp-C4aK_vrD.cjs +0 -1
- package/components/CashierStepUp-CgG4aO_s.js +0 -1247
- package/components/CashierStepUp-DNo6sy36.js +0 -1207
- package/components/CashierTransactionHistory-2O9iJlJI.cjs +0 -1
- package/components/CashierTransactionHistory-oApbxEt2.js +0 -1465
- package/components/CashierVerifications-CcDH-3z5.cjs +0 -1
- package/components/CashierVerifications-CzTI2EZ4.js +0 -772
- package/components/CashierVerifications-DR7dYjc4.js +0 -768
- package/components/TxnStatusIcon-i-LsiwNC.cjs +0 -1
- package/components/TxnTypeIcons-D4tuuQoe.cjs +0 -1
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
import { a as $, $ as tt, i as et, b as st, c as it, S as nt, d as at, s as lt, f as m, e as ot, g as F, h as b, t as E, j as B, u as v, k as L, l as H, m as p, n as M, o as y, p as z, q as k, r as rt, v as ct, w as K, x as ht, y as ut, A as ft, H as O, z as U, D as dt, E as gt, F as _t, G as wt } from "./CashierCarousel-CX0SsCIH.js";
|
|
2
|
+
const C = typeof window != "undefined" && window.__EMWCashierI18n || { dictionary: it, locale: st, init: et, addMessages: $, format: tt };
|
|
3
|
+
typeof window != "undefined" && !window.__EMWCashierI18n && (window.__EMWCashierI18n = C);
|
|
4
|
+
const mt = C.format;
|
|
5
|
+
function T(s, t) {
|
|
6
|
+
C.addMessages(s, t);
|
|
7
|
+
}
|
|
8
|
+
function bt(s) {
|
|
9
|
+
C.init({
|
|
10
|
+
fallbackLocale: "en"
|
|
11
|
+
}), C.locale.set(s);
|
|
12
|
+
}
|
|
13
|
+
const A = {
|
|
14
|
+
en: {
|
|
15
|
+
"FE.headerGeneral": "Cashier",
|
|
16
|
+
"FE.headerDeposit": "Deposit",
|
|
17
|
+
"FE.headerWithdraw": "Withdraw"
|
|
18
|
+
},
|
|
19
|
+
tr: {
|
|
20
|
+
"FE.headerGeneral": "Cashier",
|
|
21
|
+
"FE.headerDeposit": "Para Yatır",
|
|
22
|
+
"FE.headerWithdraw": "Çekim"
|
|
23
|
+
},
|
|
24
|
+
fr: {
|
|
25
|
+
"FE.headerGeneral": "Caisse",
|
|
26
|
+
"FE.headerDeposit": "Dépôt",
|
|
27
|
+
"FE.headerWithdraw": "Retrait"
|
|
28
|
+
},
|
|
29
|
+
da: {
|
|
30
|
+
"FE.headerGeneral": "Kasse",
|
|
31
|
+
"FE.headerDeposit": "Indbetaling",
|
|
32
|
+
"FE.headerWithdraw": "Udbetaling"
|
|
33
|
+
},
|
|
34
|
+
de: {
|
|
35
|
+
"FE.headerGeneral": "Kasse",
|
|
36
|
+
"FE.headerDeposit": "Einzahlung",
|
|
37
|
+
"FE.headerWithdraw": "Auszahlung"
|
|
38
|
+
},
|
|
39
|
+
nl: {
|
|
40
|
+
"FE.headerGeneral": "Kassa",
|
|
41
|
+
"FE.headerDeposit": "Storting",
|
|
42
|
+
"FE.headerWithdraw": "Opname"
|
|
43
|
+
},
|
|
44
|
+
ru: {
|
|
45
|
+
"FE.headerGeneral": "Касса",
|
|
46
|
+
"FE.headerDeposit": "Депозит",
|
|
47
|
+
"FE.headerWithdraw": "Вывод"
|
|
48
|
+
},
|
|
49
|
+
az: {
|
|
50
|
+
"FE.headerGeneral": "Kassa",
|
|
51
|
+
"FE.headerDeposit": "Depozit",
|
|
52
|
+
"FE.headerWithdraw": "Çıxarış"
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
function pt(s) {
|
|
56
|
+
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)}");
|
|
57
|
+
}
|
|
58
|
+
const Ct = (s) => ({}), j = (s) => ({}), yt = (s) => ({}), x = (s) => ({}), kt = (s) => ({}), I = (s) => ({});
|
|
59
|
+
function N(s) {
|
|
60
|
+
let t, e, a;
|
|
61
|
+
return {
|
|
62
|
+
c() {
|
|
63
|
+
t = y("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
|
|
64
|
+
},
|
|
65
|
+
m(i, u) {
|
|
66
|
+
p(i, t, u), e || (a = U(
|
|
67
|
+
t,
|
|
68
|
+
"click",
|
|
69
|
+
/*back*/
|
|
70
|
+
s[6]
|
|
71
|
+
), e = !0);
|
|
72
|
+
},
|
|
73
|
+
p: O,
|
|
74
|
+
d(i) {
|
|
75
|
+
i && b(t), e = !1, a();
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function Ft(s) {
|
|
80
|
+
let t, e = (
|
|
81
|
+
/*backButton*/
|
|
82
|
+
s[1] && N(s)
|
|
83
|
+
);
|
|
84
|
+
return {
|
|
85
|
+
c() {
|
|
86
|
+
e && e.c(), t = K();
|
|
87
|
+
},
|
|
88
|
+
m(a, i) {
|
|
89
|
+
e && e.m(a, i), p(a, t, i);
|
|
90
|
+
},
|
|
91
|
+
p(a, i) {
|
|
92
|
+
/*backButton*/
|
|
93
|
+
a[1] ? e ? e.p(a, i) : (e = N(a), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
94
|
+
},
|
|
95
|
+
d(a) {
|
|
96
|
+
a && b(t), e && e.d(a);
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function Et(s) {
|
|
101
|
+
let t, e = (
|
|
102
|
+
/*$_*/
|
|
103
|
+
s[4](
|
|
104
|
+
/*titleText*/
|
|
105
|
+
s[2]
|
|
106
|
+
) + ""
|
|
107
|
+
), a;
|
|
108
|
+
return {
|
|
109
|
+
c() {
|
|
110
|
+
t = y("span"), a = ut(e), k(t, "class", "CashierHeaderTitle");
|
|
111
|
+
},
|
|
112
|
+
m(i, u) {
|
|
113
|
+
p(i, t, u), M(t, a);
|
|
114
|
+
},
|
|
115
|
+
p(i, u) {
|
|
116
|
+
u & /*$_, titleText*/
|
|
117
|
+
20 && e !== (e = /*$_*/
|
|
118
|
+
i[4](
|
|
119
|
+
/*titleText*/
|
|
120
|
+
i[2]
|
|
121
|
+
) + "") && ht(a, e);
|
|
122
|
+
},
|
|
123
|
+
d(i) {
|
|
124
|
+
i && b(t);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
function R(s) {
|
|
129
|
+
let t, e, a;
|
|
130
|
+
return {
|
|
131
|
+
c() {
|
|
132
|
+
t = y("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
|
|
133
|
+
},
|
|
134
|
+
m(i, u) {
|
|
135
|
+
p(i, t, u), e || (a = U(
|
|
136
|
+
t,
|
|
137
|
+
"click",
|
|
138
|
+
/*close*/
|
|
139
|
+
s[5]
|
|
140
|
+
), e = !0);
|
|
141
|
+
},
|
|
142
|
+
p: O,
|
|
143
|
+
d(i) {
|
|
144
|
+
i && b(t), e = !1, a();
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
function Bt(s) {
|
|
149
|
+
let t, e = (
|
|
150
|
+
/*closeButton*/
|
|
151
|
+
s[3] && R(s)
|
|
152
|
+
);
|
|
153
|
+
return {
|
|
154
|
+
c() {
|
|
155
|
+
e && e.c(), t = K();
|
|
156
|
+
},
|
|
157
|
+
m(a, i) {
|
|
158
|
+
e && e.m(a, i), p(a, t, i);
|
|
159
|
+
},
|
|
160
|
+
p(a, i) {
|
|
161
|
+
/*closeButton*/
|
|
162
|
+
a[3] ? e ? e.p(a, i) : (e = R(a), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
163
|
+
},
|
|
164
|
+
d(a) {
|
|
165
|
+
a && b(t), e && e.d(a);
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function vt(s) {
|
|
170
|
+
let t, e, a, i;
|
|
171
|
+
const u = (
|
|
172
|
+
/*#slots*/
|
|
173
|
+
s[16].leftButton
|
|
174
|
+
), _ = F(
|
|
175
|
+
u,
|
|
176
|
+
s,
|
|
177
|
+
/*$$scope*/
|
|
178
|
+
s[15],
|
|
179
|
+
I
|
|
180
|
+
), o = _ || Ft(s), w = (
|
|
181
|
+
/*#slots*/
|
|
182
|
+
s[16].title
|
|
183
|
+
), f = F(
|
|
184
|
+
w,
|
|
185
|
+
s,
|
|
186
|
+
/*$$scope*/
|
|
187
|
+
s[15],
|
|
188
|
+
x
|
|
189
|
+
), r = f || Et(s), d = (
|
|
190
|
+
/*#slots*/
|
|
191
|
+
s[16].rightButton
|
|
192
|
+
), g = F(
|
|
193
|
+
d,
|
|
194
|
+
s,
|
|
195
|
+
/*$$scope*/
|
|
196
|
+
s[15],
|
|
197
|
+
j
|
|
198
|
+
), c = g || Bt(s);
|
|
199
|
+
return {
|
|
200
|
+
c() {
|
|
201
|
+
t = y("div"), o && o.c(), e = z(), r && r.c(), a = z(), c && c.c(), k(t, "class", "CashierHeader");
|
|
202
|
+
},
|
|
203
|
+
m(n, h) {
|
|
204
|
+
p(n, t, h), o && o.m(t, null), M(t, e), r && r.m(t, null), M(t, a), c && c.m(t, null), s[17](t), i = !0;
|
|
205
|
+
},
|
|
206
|
+
p(n, [h]) {
|
|
207
|
+
_ ? _.p && (!i || h & /*$$scope*/
|
|
208
|
+
32768) && v(
|
|
209
|
+
_,
|
|
210
|
+
u,
|
|
211
|
+
n,
|
|
212
|
+
/*$$scope*/
|
|
213
|
+
n[15],
|
|
214
|
+
i ? H(
|
|
215
|
+
u,
|
|
216
|
+
/*$$scope*/
|
|
217
|
+
n[15],
|
|
218
|
+
h,
|
|
219
|
+
kt
|
|
220
|
+
) : L(
|
|
221
|
+
/*$$scope*/
|
|
222
|
+
n[15]
|
|
223
|
+
),
|
|
224
|
+
I
|
|
225
|
+
) : o && o.p && (!i || h & /*backButton*/
|
|
226
|
+
2) && o.p(n, i ? h : -1), f ? f.p && (!i || h & /*$$scope*/
|
|
227
|
+
32768) && v(
|
|
228
|
+
f,
|
|
229
|
+
w,
|
|
230
|
+
n,
|
|
231
|
+
/*$$scope*/
|
|
232
|
+
n[15],
|
|
233
|
+
i ? H(
|
|
234
|
+
w,
|
|
235
|
+
/*$$scope*/
|
|
236
|
+
n[15],
|
|
237
|
+
h,
|
|
238
|
+
yt
|
|
239
|
+
) : L(
|
|
240
|
+
/*$$scope*/
|
|
241
|
+
n[15]
|
|
242
|
+
),
|
|
243
|
+
x
|
|
244
|
+
) : r && r.p && (!i || h & /*$_, titleText*/
|
|
245
|
+
20) && r.p(n, i ? h : -1), g ? g.p && (!i || h & /*$$scope*/
|
|
246
|
+
32768) && v(
|
|
247
|
+
g,
|
|
248
|
+
d,
|
|
249
|
+
n,
|
|
250
|
+
/*$$scope*/
|
|
251
|
+
n[15],
|
|
252
|
+
i ? H(
|
|
253
|
+
d,
|
|
254
|
+
/*$$scope*/
|
|
255
|
+
n[15],
|
|
256
|
+
h,
|
|
257
|
+
Ct
|
|
258
|
+
) : L(
|
|
259
|
+
/*$$scope*/
|
|
260
|
+
n[15]
|
|
261
|
+
),
|
|
262
|
+
j
|
|
263
|
+
) : c && c.p && (!i || h & /*closeButton*/
|
|
264
|
+
8) && c.p(n, i ? h : -1);
|
|
265
|
+
},
|
|
266
|
+
i(n) {
|
|
267
|
+
i || (B(o, n), B(r, n), B(c, n), i = !0);
|
|
268
|
+
},
|
|
269
|
+
o(n) {
|
|
270
|
+
E(o, n), E(r, n), E(c, n), i = !1;
|
|
271
|
+
},
|
|
272
|
+
d(n) {
|
|
273
|
+
n && b(t), o && o.d(n), r && r.d(n), c && c.d(n), s[17](null);
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
function Lt(s, t, e) {
|
|
278
|
+
let a;
|
|
279
|
+
rt(s, mt, (l) => e(4, a = l));
|
|
280
|
+
let { $$slots: i = {}, $$scope: u } = t, { clientstyling: _ = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: w = "" } = t, { showbackbutton: f = "" } = t, { title: r = "FE.headerGeneral" } = t, { lang: d = "en" } = t, { showclosebutton: g = "" } = t, { mbsource: c = "" } = t, n, h, D = !1, S, W = !1;
|
|
281
|
+
const q = () => {
|
|
282
|
+
fetch(w).then((l) => l.json()).then((l) => {
|
|
283
|
+
Object.keys(l).forEach((G) => {
|
|
284
|
+
T(G, l[G]);
|
|
285
|
+
});
|
|
286
|
+
}).catch((l) => {
|
|
287
|
+
console.log(l);
|
|
288
|
+
});
|
|
289
|
+
};
|
|
290
|
+
Object.keys(A).forEach((l) => {
|
|
291
|
+
T(l, A[l]);
|
|
292
|
+
});
|
|
293
|
+
const Z = () => {
|
|
294
|
+
bt(d);
|
|
295
|
+
}, P = () => {
|
|
296
|
+
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
297
|
+
}, Y = () => {
|
|
298
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
299
|
+
}, J = () => {
|
|
300
|
+
e(1, D = !!f && f !== "false");
|
|
301
|
+
}, Q = () => {
|
|
302
|
+
e(3, W = !!g && g !== "false");
|
|
303
|
+
}, V = () => {
|
|
304
|
+
e(2, S = r || "FE.headerGeneral");
|
|
305
|
+
};
|
|
306
|
+
ct(() => () => {
|
|
307
|
+
});
|
|
308
|
+
function X(l) {
|
|
309
|
+
ft[l ? "unshift" : "push"](() => {
|
|
310
|
+
n = l, e(0, n);
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
return s.$$set = (l) => {
|
|
314
|
+
"clientstyling" in l && e(7, _ = l.clientstyling), "clientstylingurl" in l && e(8, o = l.clientstylingurl), "translationurl" in l && e(9, w = l.translationurl), "showbackbutton" in l && e(10, f = l.showbackbutton), "title" in l && e(11, r = l.title), "lang" in l && e(12, d = l.lang), "showclosebutton" in l && e(13, g = l.showclosebutton), "mbsource" in l && e(14, c = l.mbsource), "$$scope" in l && e(15, u = l.$$scope);
|
|
315
|
+
}, s.$$.update = () => {
|
|
316
|
+
s.$$.dirty & /*lang*/
|
|
317
|
+
4096 && d && Z(), s.$$.dirty & /*lang, title*/
|
|
318
|
+
6144 && d && r && V(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
319
|
+
129 && _ && n && dt(n, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
320
|
+
257 && o && n && gt(n, o), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
321
|
+
16385 && c && n && _t(n, `${c}.Style`, h), s.$$.dirty & /*lang, translationurl*/
|
|
322
|
+
4608 && d && w && q(), s.$$.dirty & /*showbackbutton*/
|
|
323
|
+
1024 && f && J(), s.$$.dirty & /*showclosebutton*/
|
|
324
|
+
8192 && g && Q();
|
|
325
|
+
}, [
|
|
326
|
+
n,
|
|
327
|
+
D,
|
|
328
|
+
S,
|
|
329
|
+
W,
|
|
330
|
+
a,
|
|
331
|
+
P,
|
|
332
|
+
Y,
|
|
333
|
+
_,
|
|
334
|
+
o,
|
|
335
|
+
w,
|
|
336
|
+
f,
|
|
337
|
+
r,
|
|
338
|
+
d,
|
|
339
|
+
g,
|
|
340
|
+
c,
|
|
341
|
+
u,
|
|
342
|
+
i,
|
|
343
|
+
X
|
|
344
|
+
];
|
|
345
|
+
}
|
|
346
|
+
class Ht extends nt {
|
|
347
|
+
constructor(t) {
|
|
348
|
+
super(), at(
|
|
349
|
+
this,
|
|
350
|
+
t,
|
|
351
|
+
Lt,
|
|
352
|
+
vt,
|
|
353
|
+
lt,
|
|
354
|
+
{
|
|
355
|
+
clientstyling: 7,
|
|
356
|
+
clientstylingurl: 8,
|
|
357
|
+
translationurl: 9,
|
|
358
|
+
showbackbutton: 10,
|
|
359
|
+
title: 11,
|
|
360
|
+
lang: 12,
|
|
361
|
+
showclosebutton: 13,
|
|
362
|
+
mbsource: 14
|
|
363
|
+
},
|
|
364
|
+
pt
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
get clientstyling() {
|
|
368
|
+
return this.$$.ctx[7];
|
|
369
|
+
}
|
|
370
|
+
set clientstyling(t) {
|
|
371
|
+
this.$$set({ clientstyling: t }), m();
|
|
372
|
+
}
|
|
373
|
+
get clientstylingurl() {
|
|
374
|
+
return this.$$.ctx[8];
|
|
375
|
+
}
|
|
376
|
+
set clientstylingurl(t) {
|
|
377
|
+
this.$$set({ clientstylingurl: t }), m();
|
|
378
|
+
}
|
|
379
|
+
get translationurl() {
|
|
380
|
+
return this.$$.ctx[9];
|
|
381
|
+
}
|
|
382
|
+
set translationurl(t) {
|
|
383
|
+
this.$$set({ translationurl: t }), m();
|
|
384
|
+
}
|
|
385
|
+
get showbackbutton() {
|
|
386
|
+
return this.$$.ctx[10];
|
|
387
|
+
}
|
|
388
|
+
set showbackbutton(t) {
|
|
389
|
+
this.$$set({ showbackbutton: t }), m();
|
|
390
|
+
}
|
|
391
|
+
get title() {
|
|
392
|
+
return this.$$.ctx[11];
|
|
393
|
+
}
|
|
394
|
+
set title(t) {
|
|
395
|
+
this.$$set({ title: t }), m();
|
|
396
|
+
}
|
|
397
|
+
get lang() {
|
|
398
|
+
return this.$$.ctx[12];
|
|
399
|
+
}
|
|
400
|
+
set lang(t) {
|
|
401
|
+
this.$$set({ lang: t }), m();
|
|
402
|
+
}
|
|
403
|
+
get showclosebutton() {
|
|
404
|
+
return this.$$.ctx[13];
|
|
405
|
+
}
|
|
406
|
+
set showclosebutton(t) {
|
|
407
|
+
this.$$set({ showclosebutton: t }), m();
|
|
408
|
+
}
|
|
409
|
+
get mbsource() {
|
|
410
|
+
return this.$$.ctx[14];
|
|
411
|
+
}
|
|
412
|
+
set mbsource(t) {
|
|
413
|
+
this.$$set({ mbsource: t }), m();
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
wt(Ht, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
417
|
+
export {
|
|
418
|
+
Ht as default
|
|
419
|
+
};
|