@everymatrix/cashier-page 1.54.6 → 1.54.8
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/{CashierConfirmModal-bl1anpXG.js → CashierConfirmModal-Bop0eOiK.js} +57 -57
- package/components/CashierConfirmModal-KmRU3Mgr.cjs +4 -0
- package/components/CashierConfirmModal-T9FhMxP2.js +1052 -0
- package/components/CashierError-CjhQG79n.js +3764 -0
- package/components/CashierError-Dx4LFH3W.cjs +5 -0
- package/components/{CashierError-CNghn61_.js → CashierError-guAFhbld.js} +497 -501
- package/components/{CashierHeader-Cukt_6q5.js → CashierHeader-CqGPO-Fk.js} +81 -81
- package/components/CashierHeader-D3hGyEcT.js +401 -0
- package/components/CashierHeader-Y_xPFrm_.cjs +1 -0
- package/components/CashierIframeRedirect-BoqcRUMr.js +378 -0
- package/components/CashierIframeRedirect-C2c1nHdX.cjs +1 -0
- package/components/{CashierIframeRedirect-CfOyb27d.js → CashierIframeRedirect-tBrZ72pm.js} +33 -33
- package/components/CashierMethodDetails-DDyg0dkw.cjs +18 -0
- package/components/{CashierMethodDetails-BIl7Is4q.js → CashierMethodDetails-Dsx6mHYI.js} +63 -63
- package/components/CashierMethodDetails-PDt60MQR.js +8164 -0
- package/components/CashierMethodsList-BOR1hHRu.js +667 -0
- package/components/CashierMethodsList-DTBsyc8x.cjs +1 -0
- package/components/{CashierMethodsList-sDyTLsi_.js → CashierMethodsList-xC6EsOBa.js} +76 -76
- package/components/CashierModal-CZ_PAOXO.js +232 -0
- package/components/{CashierModal-BvsZYr3E.js → CashierModal-DnFkgCZP.js} +31 -31
- package/components/CashierModal-FkJdngyj.cjs +1 -0
- package/components/{CashierNotifications-DLiOLPVS.js → CashierNotifications-BCI1m1DC.js} +18 -18
- package/components/CashierNotifications-BJzRxOV_.cjs +1 -0
- package/components/CashierNotifications-u0zBDLtX.js +129 -0
- package/components/CashierPage-B4oBQHo8.cjs +1 -0
- package/components/{CashierPage-DuY9O8Ns.js → CashierPage-BOqzOu5f.js} +75 -75
- package/components/CashierPage-_JwIM1m3.js +1998 -0
- package/components/CashierReceiptPage-DguMfgJk.cjs +1 -0
- package/components/CashierReceiptPage-Dp9crOnz.js +1156 -0
- package/components/{CashierReceiptPage-BnZNWRHD.js → CashierReceiptPage-YWmVmYmI.js} +76 -76
- package/components/CashierSessionExpirationModal-C4AvaTH-.cjs +2 -0
- package/components/{CashierSessionExpirationModal-m8mfQG7I.js → CashierSessionExpirationModal-D0BRhJB-.js} +234 -243
- package/components/CashierSessionExpirationModal-cVtdVVp6.js +1172 -0
- package/components/CashierSpinner-BjkjegeG.js +71 -0
- package/components/{CashierSpinner-BGK4UpXs.js → CashierSpinner-C4PbqmeQ.js} +25 -25
- package/components/CashierSpinner-CySOWnIQ.cjs +1 -0
- package/components/CashierVerifications-C-55D-Ds.cjs +1 -0
- package/components/{CashierVerifications-DmvaTrGy.js → CashierVerifications-CRhSDc6g.js} +26 -26
- package/components/CashierVerifications-Cr6kxmHD.js +628 -0
- package/components/CashierVideoModal-BWI2U3UH.cjs +1 -0
- package/components/CashierVideoModal-CEfQgtP6.js +202 -0
- package/components/{CashierVideoModal-B_7nq_8u.js → CashierVideoModal-CeguehvU.js} +33 -33
- package/es2015/cashier-page.cjs +1 -0
- package/es2015/cashier-page.js +16 -0
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
import { S as $, b as tt, s as et, f as b, c as nt, d as L, e as C, t as v, g as H, u as T, h as M, j as E, m as k, o as S, p as y, q as z, v as B, w as st, x as q, y as lt, z as it, A as ot, n as W, B as Z, D as at } from "./CashierConfirmModal-T9FhMxP2.js";
|
|
2
|
+
import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-CjhQG79n.js";
|
|
3
|
+
function N(n, t) {
|
|
4
|
+
rt(n, t);
|
|
5
|
+
}
|
|
6
|
+
function ht(n) {
|
|
7
|
+
ct({
|
|
8
|
+
fallbackLocale: "en"
|
|
9
|
+
}), ft.set(n);
|
|
10
|
+
}
|
|
11
|
+
const R = {
|
|
12
|
+
en: {
|
|
13
|
+
header: {
|
|
14
|
+
general: "Cashier",
|
|
15
|
+
deposit: "Deposit",
|
|
16
|
+
withdraw: "Withdraw"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
tr: {
|
|
20
|
+
header: {
|
|
21
|
+
general: "Cashier",
|
|
22
|
+
deposit: "Para Yatır",
|
|
23
|
+
withdraw: "Çekim"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"en-us": {
|
|
27
|
+
header: {
|
|
28
|
+
general: "Cashier",
|
|
29
|
+
deposit: "Deposit",
|
|
30
|
+
withdraw: "Withdraw"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
function gt(n) {
|
|
35
|
+
nt(n, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;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}");
|
|
36
|
+
}
|
|
37
|
+
const dt = (n) => ({}), x = (n) => ({}), _t = (n) => ({}), A = (n) => ({}), mt = (n) => ({}), D = (n) => ({});
|
|
38
|
+
function O(n) {
|
|
39
|
+
let t, e, l;
|
|
40
|
+
return {
|
|
41
|
+
c() {
|
|
42
|
+
t = y("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>', B(t, "class", "CashierHeaderLeftButton");
|
|
43
|
+
},
|
|
44
|
+
m(s, u) {
|
|
45
|
+
k(s, t, u), e || (l = Z(
|
|
46
|
+
t,
|
|
47
|
+
"click",
|
|
48
|
+
/*back*/
|
|
49
|
+
n[6]
|
|
50
|
+
), e = !0);
|
|
51
|
+
},
|
|
52
|
+
p: W,
|
|
53
|
+
d(s) {
|
|
54
|
+
s && C(t), e = !1, l();
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function wt(n) {
|
|
59
|
+
let t, e = (
|
|
60
|
+
/*backButton*/
|
|
61
|
+
n[1] && O(n)
|
|
62
|
+
);
|
|
63
|
+
return {
|
|
64
|
+
c() {
|
|
65
|
+
e && e.c(), t = q();
|
|
66
|
+
},
|
|
67
|
+
m(l, s) {
|
|
68
|
+
e && e.m(l, s), k(l, t, s);
|
|
69
|
+
},
|
|
70
|
+
p(l, s) {
|
|
71
|
+
/*backButton*/
|
|
72
|
+
l[1] ? e ? e.p(l, s) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
73
|
+
},
|
|
74
|
+
d(l) {
|
|
75
|
+
l && C(t), e && e.d(l);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function bt(n) {
|
|
80
|
+
let t, e = (
|
|
81
|
+
/*$_*/
|
|
82
|
+
n[4](
|
|
83
|
+
/*titleText*/
|
|
84
|
+
n[2]
|
|
85
|
+
) + ""
|
|
86
|
+
), l;
|
|
87
|
+
return {
|
|
88
|
+
c() {
|
|
89
|
+
t = y("span"), l = it(e), B(t, "class", "CashierHeaderTitle");
|
|
90
|
+
},
|
|
91
|
+
m(s, u) {
|
|
92
|
+
k(s, t, u), S(t, l);
|
|
93
|
+
},
|
|
94
|
+
p(s, u) {
|
|
95
|
+
u & /*$_, titleText*/
|
|
96
|
+
20 && e !== (e = /*$_*/
|
|
97
|
+
s[4](
|
|
98
|
+
/*titleText*/
|
|
99
|
+
s[2]
|
|
100
|
+
) + "") && lt(l, e);
|
|
101
|
+
},
|
|
102
|
+
d(s) {
|
|
103
|
+
s && C(t);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function U(n) {
|
|
108
|
+
let t, e, l;
|
|
109
|
+
return {
|
|
110
|
+
c() {
|
|
111
|
+
t = y("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>', B(t, "class", "CashierHeaderRightButton");
|
|
112
|
+
},
|
|
113
|
+
m(s, u) {
|
|
114
|
+
k(s, t, u), e || (l = Z(
|
|
115
|
+
t,
|
|
116
|
+
"click",
|
|
117
|
+
/*close*/
|
|
118
|
+
n[5]
|
|
119
|
+
), e = !0);
|
|
120
|
+
},
|
|
121
|
+
p: W,
|
|
122
|
+
d(s) {
|
|
123
|
+
s && C(t), e = !1, l();
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function pt(n) {
|
|
128
|
+
let t, e = (
|
|
129
|
+
/*closeButton*/
|
|
130
|
+
n[3] && U(n)
|
|
131
|
+
);
|
|
132
|
+
return {
|
|
133
|
+
c() {
|
|
134
|
+
e && e.c(), t = q();
|
|
135
|
+
},
|
|
136
|
+
m(l, s) {
|
|
137
|
+
e && e.m(l, s), k(l, t, s);
|
|
138
|
+
},
|
|
139
|
+
p(l, s) {
|
|
140
|
+
/*closeButton*/
|
|
141
|
+
l[3] ? e ? e.p(l, s) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
142
|
+
},
|
|
143
|
+
d(l) {
|
|
144
|
+
l && C(t), e && e.d(l);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
function Ct(n) {
|
|
149
|
+
let t, e, l, s;
|
|
150
|
+
const u = (
|
|
151
|
+
/*#slots*/
|
|
152
|
+
n[15].leftButton
|
|
153
|
+
), _ = L(
|
|
154
|
+
u,
|
|
155
|
+
n,
|
|
156
|
+
/*$$scope*/
|
|
157
|
+
n[14],
|
|
158
|
+
D
|
|
159
|
+
), c = _ || wt(n), w = (
|
|
160
|
+
/*#slots*/
|
|
161
|
+
n[15].title
|
|
162
|
+
), h = L(
|
|
163
|
+
w,
|
|
164
|
+
n,
|
|
165
|
+
/*$$scope*/
|
|
166
|
+
n[14],
|
|
167
|
+
A
|
|
168
|
+
), f = h || bt(n), g = (
|
|
169
|
+
/*#slots*/
|
|
170
|
+
n[15].rightButton
|
|
171
|
+
), d = L(
|
|
172
|
+
g,
|
|
173
|
+
n,
|
|
174
|
+
/*$$scope*/
|
|
175
|
+
n[14],
|
|
176
|
+
x
|
|
177
|
+
), a = d || pt(n);
|
|
178
|
+
return {
|
|
179
|
+
c() {
|
|
180
|
+
t = y("div"), c && c.c(), e = z(), f && f.c(), l = z(), a && a.c(), B(t, "class", "CashierHeader");
|
|
181
|
+
},
|
|
182
|
+
m(i, r) {
|
|
183
|
+
k(i, t, r), c && c.m(t, null), S(t, e), f && f.m(t, null), S(t, l), a && a.m(t, null), n[16](t), s = !0;
|
|
184
|
+
},
|
|
185
|
+
p(i, [r]) {
|
|
186
|
+
_ ? _.p && (!s || r & /*$$scope*/
|
|
187
|
+
16384) && T(
|
|
188
|
+
_,
|
|
189
|
+
u,
|
|
190
|
+
i,
|
|
191
|
+
/*$$scope*/
|
|
192
|
+
i[14],
|
|
193
|
+
s ? E(
|
|
194
|
+
u,
|
|
195
|
+
/*$$scope*/
|
|
196
|
+
i[14],
|
|
197
|
+
r,
|
|
198
|
+
mt
|
|
199
|
+
) : M(
|
|
200
|
+
/*$$scope*/
|
|
201
|
+
i[14]
|
|
202
|
+
),
|
|
203
|
+
D
|
|
204
|
+
) : c && c.p && (!s || r & /*backButton*/
|
|
205
|
+
2) && c.p(i, s ? r : -1), h ? h.p && (!s || r & /*$$scope*/
|
|
206
|
+
16384) && T(
|
|
207
|
+
h,
|
|
208
|
+
w,
|
|
209
|
+
i,
|
|
210
|
+
/*$$scope*/
|
|
211
|
+
i[14],
|
|
212
|
+
s ? E(
|
|
213
|
+
w,
|
|
214
|
+
/*$$scope*/
|
|
215
|
+
i[14],
|
|
216
|
+
r,
|
|
217
|
+
_t
|
|
218
|
+
) : M(
|
|
219
|
+
/*$$scope*/
|
|
220
|
+
i[14]
|
|
221
|
+
),
|
|
222
|
+
A
|
|
223
|
+
) : f && f.p && (!s || r & /*$_, titleText*/
|
|
224
|
+
20) && f.p(i, s ? r : -1), d ? d.p && (!s || r & /*$$scope*/
|
|
225
|
+
16384) && T(
|
|
226
|
+
d,
|
|
227
|
+
g,
|
|
228
|
+
i,
|
|
229
|
+
/*$$scope*/
|
|
230
|
+
i[14],
|
|
231
|
+
s ? E(
|
|
232
|
+
g,
|
|
233
|
+
/*$$scope*/
|
|
234
|
+
i[14],
|
|
235
|
+
r,
|
|
236
|
+
dt
|
|
237
|
+
) : M(
|
|
238
|
+
/*$$scope*/
|
|
239
|
+
i[14]
|
|
240
|
+
),
|
|
241
|
+
x
|
|
242
|
+
) : a && a.p && (!s || r & /*closeButton*/
|
|
243
|
+
8) && a.p(i, s ? r : -1);
|
|
244
|
+
},
|
|
245
|
+
i(i) {
|
|
246
|
+
s || (H(c, i), H(f, i), H(a, i), s = !0);
|
|
247
|
+
},
|
|
248
|
+
o(i) {
|
|
249
|
+
v(c, i), v(f, i), v(a, i), s = !1;
|
|
250
|
+
},
|
|
251
|
+
d(i) {
|
|
252
|
+
i && C(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
function kt(n, t, e) {
|
|
257
|
+
let l;
|
|
258
|
+
st(n, ut, (o) => e(4, l = o));
|
|
259
|
+
let { $$slots: s = {}, $$scope: u } = t, { clientstyling: _ = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: w = "" } = t, { showbackbutton: h = "" } = t, { title: f = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, a, i = !1, r, j = !1;
|
|
260
|
+
const F = () => {
|
|
261
|
+
let o = w;
|
|
262
|
+
o && fetch(o).then((m) => m.json()).then((m) => {
|
|
263
|
+
Object.keys(m).forEach((p) => {
|
|
264
|
+
N(p, m[p]);
|
|
265
|
+
});
|
|
266
|
+
}).catch((m) => {
|
|
267
|
+
console.log(m);
|
|
268
|
+
});
|
|
269
|
+
};
|
|
270
|
+
Object.keys(R).forEach((o) => {
|
|
271
|
+
N(o, R[o]);
|
|
272
|
+
});
|
|
273
|
+
const I = () => {
|
|
274
|
+
let o = document.createElement("style");
|
|
275
|
+
o.innerHTML = _, a.appendChild(o);
|
|
276
|
+
}, P = () => {
|
|
277
|
+
let o = new URL(c), m = document.createElement("style");
|
|
278
|
+
fetch(o.href).then((p) => p.text()).then((p) => {
|
|
279
|
+
m.innerHTML = p, setTimeout(
|
|
280
|
+
() => {
|
|
281
|
+
a.appendChild(m);
|
|
282
|
+
},
|
|
283
|
+
1
|
|
284
|
+
);
|
|
285
|
+
});
|
|
286
|
+
}, Y = () => {
|
|
287
|
+
ht(g);
|
|
288
|
+
}, G = () => {
|
|
289
|
+
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
290
|
+
}, J = () => {
|
|
291
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
292
|
+
}, K = () => {
|
|
293
|
+
e(1, i = !!h && h !== "false");
|
|
294
|
+
}, Q = () => {
|
|
295
|
+
e(3, j = !!d && d !== "false");
|
|
296
|
+
}, V = () => {
|
|
297
|
+
e(2, r = f || "header.general");
|
|
298
|
+
};
|
|
299
|
+
function X(o) {
|
|
300
|
+
ot[o ? "unshift" : "push"](() => {
|
|
301
|
+
a = o, e(0, a);
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
return n.$$set = (o) => {
|
|
305
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, c = o.clientstylingurl), "translationurl" in o && e(9, w = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, f = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "$$scope" in o && e(14, u = o.$$scope);
|
|
306
|
+
}, n.$$.update = () => {
|
|
307
|
+
n.$$.dirty & /*lang*/
|
|
308
|
+
4096 && g && Y(), n.$$.dirty & /*lang, title*/
|
|
309
|
+
6144 && g && f && V(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
310
|
+
129 && _ && a && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
311
|
+
257 && c && a && P(), n.$$.dirty & /*lang, translationurl*/
|
|
312
|
+
4608 && g && w && F(), n.$$.dirty & /*showbackbutton*/
|
|
313
|
+
1024 && h && K(), n.$$.dirty & /*showclosebutton*/
|
|
314
|
+
8192 && d && Q();
|
|
315
|
+
}, [
|
|
316
|
+
a,
|
|
317
|
+
i,
|
|
318
|
+
r,
|
|
319
|
+
j,
|
|
320
|
+
l,
|
|
321
|
+
G,
|
|
322
|
+
J,
|
|
323
|
+
_,
|
|
324
|
+
c,
|
|
325
|
+
w,
|
|
326
|
+
h,
|
|
327
|
+
f,
|
|
328
|
+
g,
|
|
329
|
+
d,
|
|
330
|
+
u,
|
|
331
|
+
s,
|
|
332
|
+
X
|
|
333
|
+
];
|
|
334
|
+
}
|
|
335
|
+
class yt extends $ {
|
|
336
|
+
constructor(t) {
|
|
337
|
+
super(), tt(
|
|
338
|
+
this,
|
|
339
|
+
t,
|
|
340
|
+
kt,
|
|
341
|
+
Ct,
|
|
342
|
+
et,
|
|
343
|
+
{
|
|
344
|
+
clientstyling: 7,
|
|
345
|
+
clientstylingurl: 8,
|
|
346
|
+
translationurl: 9,
|
|
347
|
+
showbackbutton: 10,
|
|
348
|
+
title: 11,
|
|
349
|
+
lang: 12,
|
|
350
|
+
showclosebutton: 13
|
|
351
|
+
},
|
|
352
|
+
gt
|
|
353
|
+
);
|
|
354
|
+
}
|
|
355
|
+
get clientstyling() {
|
|
356
|
+
return this.$$.ctx[7];
|
|
357
|
+
}
|
|
358
|
+
set clientstyling(t) {
|
|
359
|
+
this.$$set({ clientstyling: t }), b();
|
|
360
|
+
}
|
|
361
|
+
get clientstylingurl() {
|
|
362
|
+
return this.$$.ctx[8];
|
|
363
|
+
}
|
|
364
|
+
set clientstylingurl(t) {
|
|
365
|
+
this.$$set({ clientstylingurl: t }), b();
|
|
366
|
+
}
|
|
367
|
+
get translationurl() {
|
|
368
|
+
return this.$$.ctx[9];
|
|
369
|
+
}
|
|
370
|
+
set translationurl(t) {
|
|
371
|
+
this.$$set({ translationurl: t }), b();
|
|
372
|
+
}
|
|
373
|
+
get showbackbutton() {
|
|
374
|
+
return this.$$.ctx[10];
|
|
375
|
+
}
|
|
376
|
+
set showbackbutton(t) {
|
|
377
|
+
this.$$set({ showbackbutton: t }), b();
|
|
378
|
+
}
|
|
379
|
+
get title() {
|
|
380
|
+
return this.$$.ctx[11];
|
|
381
|
+
}
|
|
382
|
+
set title(t) {
|
|
383
|
+
this.$$set({ title: t }), b();
|
|
384
|
+
}
|
|
385
|
+
get lang() {
|
|
386
|
+
return this.$$.ctx[12];
|
|
387
|
+
}
|
|
388
|
+
set lang(t) {
|
|
389
|
+
this.$$set({ lang: t }), b();
|
|
390
|
+
}
|
|
391
|
+
get showclosebutton() {
|
|
392
|
+
return this.$$.ctx[13];
|
|
393
|
+
}
|
|
394
|
+
set showclosebutton(t) {
|
|
395
|
+
this.$$set({ showclosebutton: t }), b();
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
at(yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
399
|
+
export {
|
|
400
|
+
yt as default
|
|
401
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-KmRU3Mgr.cjs"),C=require("./CashierError-Dx4LFH3W.cjs");function k(l,t){C.addMessages(l,t)}function D(l){C.init({fallbackLocale:"en"}),C.$locale.set(l)}const B={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 P(l){e.append_styles(l,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;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}")}const W=l=>({}),L=l=>({}),Z=l=>({}),v=l=>({}),F=l=>({}),H=l=>({});function T(l){let t,n,s;return{c(){t=e.element("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>',e.attr(t,"class","CashierHeaderLeftButton")},m(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[6]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function I(l){let t,n=l[1]&&T(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[1]?n?n.p(s,i):(n=T(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function Y(l){let t,n=l[4](l[2])+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(i,h){e.insert(i,t,h),e.append(t,s)},p(i,h){h&20&&n!==(n=i[4](i[2])+"")&&e.set_data(s,n)},d(i){i&&e.detach(t)}}}function M(l){let t,n,s;return{c(){t=e.element("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>',e.attr(t,"class","CashierHeaderRightButton")},m(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[5]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function G(l){let t,n=l[3]&&M(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[3]?n?n.p(s,i):(n=M(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function J(l){let t,n,s,i;const h=l[15].leftButton,m=e.create_slot(h,l,l[14],H),u=m||I(l),p=l[15].title,g=e.create_slot(p,l,l[14],v),f=g||Y(l),_=l[15].rightButton,d=e.create_slot(_,l,l[14],L),r=d||G(l);return{c(){t=e.element("div"),u&&u.c(),n=e.space(),f&&f.c(),s=e.space(),r&&r.c(),e.attr(t,"class","CashierHeader")},m(o,c){e.insert(o,t,c),u&&u.m(t,null),e.append(t,n),f&&f.m(t,null),e.append(t,s),r&&r.m(t,null),l[16](t),i=!0},p(o,[c]){m?m.p&&(!i||c&16384)&&e.update_slot_base(m,h,o,o[14],i?e.get_slot_changes(h,o[14],c,F):e.get_all_dirty_from_scope(o[14]),H):u&&u.p&&(!i||c&2)&&u.p(o,i?c:-1),g?g.p&&(!i||c&16384)&&e.update_slot_base(g,p,o,o[14],i?e.get_slot_changes(p,o[14],c,Z):e.get_all_dirty_from_scope(o[14]),v):f&&f.p&&(!i||c&20)&&f.p(o,i?c:-1),d?d.p&&(!i||c&16384)&&e.update_slot_base(d,_,o,o[14],i?e.get_slot_changes(_,o[14],c,W):e.get_all_dirty_from_scope(o[14]),L):r&&r.p&&(!i||c&8)&&r.p(o,i?c:-1)},i(o){i||(e.transition_in(u,o),e.transition_in(f,o),e.transition_in(r,o),i=!0)},o(o){e.transition_out(u,o),e.transition_out(f,o),e.transition_out(r,o),i=!1},d(o){o&&e.detach(t),u&&u.d(o),f&&f.d(o),r&&r.d(o),l[16](null)}}}function K(l,t,n){let s;e.component_subscribe(l,C.$format,a=>n(4,s=a));let{$$slots:i={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{translationurl:p=""}=t,{showbackbutton:g=""}=t,{title:f="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,r,o=!1,c,y=!1;const S=()=>{let a=p;a&&fetch(a).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{k(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(B).forEach(a=>{k(a,B[a])});const j=()=>{let a=document.createElement("style");a.innerHTML=m,r.appendChild(a)},N=()=>{let a=new URL(u),w=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{w.innerHTML=b,setTimeout(()=>{r.appendChild(w)},1)})},R=()=>{D(_)},z=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},O=()=>{window.postMessage({type:"BackCashier"},window.location.href)},q=()=>{n(1,o=!!g&&g!=="false")},A=()=>{n(3,y=!!d&&d!=="false")},U=()=>{n(2,c=f||"header.general")};function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{r=a,n(0,r)})}return l.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,u=a.clientstylingurl),"translationurl"in a&&n(9,p=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,f=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"$$scope"in a&&n(14,h=a.$$scope)},l.$$.update=()=>{l.$$.dirty&4096&&_&&R(),l.$$.dirty&6144&&_&&f&&U(),l.$$.dirty&129&&m&&r&&j(),l.$$.dirty&257&&u&&r&&N(),l.$$.dirty&4608&&_&&p&&S(),l.$$.dirty&1024&&g&&q(),l.$$.dirty&8192&&d&&A()},[r,o,c,y,s,z,O,m,u,p,g,f,_,d,h,i,x]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,K,J,e.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13},P)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}}e.create_custom_element(E,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{}},["leftButton","title","rightButton"],[],!0);exports.default=E;
|