@everymatrix/transaction-history-page 1.87.26 → 1.87.27
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/CashierHeader-CdLruxPY.js +398 -0
- package/components/CashierHeader-DNj68Vt_.cjs +1 -0
- package/components/CashierHeader-ipEVD0r8.js +398 -0
- package/components/{CashierPagination-Bb7R8MP6.js → CashierPagination-DI3RbzUx.js} +73 -72
- package/components/{CashierPagination-DGCdLA8u.js → CashierPagination-DeNepASt.js} +73 -72
- package/components/CashierPagination-rfH5IEHh.cjs +3 -0
- package/components/CashierTransactionHistory-9gchSRdm.cjs +1 -0
- package/components/CashierTransactionHistory-DKbEgvVM.js +1338 -0
- package/components/CashierTransactionHistory-zRhZjf2L.js +1338 -0
- package/components/{EmptyStateIcon-CqkuVr84.js → EmptyStateIcon-Dn2bi74b.js} +4 -4
- package/components/EmptyStateIcon-DqpPPXGG.cjs +1 -0
- package/components/{EmptyStateIcon-DUvS05CH.js → EmptyStateIcon-H4iJ6uD7.js} +4 -4
- package/components/Tooltip-CicO5Q6_.js +892 -0
- package/components/Tooltip-gAGTORoD.cjs +4 -0
- package/components/Tooltip-iRopEMp5.js +855 -0
- package/components/{TransactionHistoryCalendar-OmzfqwPM.js → TransactionHistoryCalendar-Bc3Azjx0.js} +502 -502
- package/components/{TransactionHistoryCalendar-CBbYtdPa.js → TransactionHistoryCalendar-DJx8hvez.js} +484 -484
- package/components/{TransactionHistoryCalendar-CsGjDc5F.cjs → TransactionHistoryCalendar-DdlHw2wC.cjs} +5 -5
- package/components/TransactionHistoryPage-BVyjhlXY.cjs +5 -0
- package/components/TransactionHistoryPage-BtyYcTDk.js +4588 -0
- package/components/TransactionHistoryPage-olMWZGJ-.js +4611 -0
- package/components/TxnStatusIcon-Bos5prEB.cjs +1 -0
- package/components/{TxnStatusIcon-BoybyK1J.js → TxnStatusIcon-CTkF3uAv.js} +5 -5
- package/components/{TxnStatusIcon-CgKTQ4tM.js → TxnStatusIcon-Dn0Hqt1J.js} +5 -5
- package/components/{TxnTypeIcons-CaSUY8JK.js → TxnTypeIcons-BT0RQXu_.js} +6 -6
- package/components/TxnTypeIcons-CDJQsZKg.cjs +1 -0
- package/components/{TxnTypeIcons-DMTl4kZF.js → TxnTypeIcons-Cq8oOZVY.js} +6 -6
- package/es2015/transaction-history-page.cjs +1 -1
- package/es2015/transaction-history-page.js +7 -7
- package/esnext/transaction-history-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-Cdsj57Iz.cjs +0 -8
- package/components/CashierHeader-Cq1pQFd9.js +0 -4504
- package/components/CashierHeader-DC1TkEi7.js +0 -4467
- package/components/CashierPagination-B8t1jqnT.cjs +0 -3
- package/components/CashierTransactionHistory-CKt8yisa.js +0 -1634
- package/components/CashierTransactionHistory-DwoY8eL1.js +0 -1634
- package/components/CashierTransactionHistory-WrGnAOD2.cjs +0 -1
- package/components/EmptyStateIcon-Bz35sS6X.cjs +0 -1
- package/components/Tooltip-Dcu9Ui9J.js +0 -113
- package/components/Tooltip-DkJZpNQv.cjs +0 -1
- package/components/Tooltip-dih5GOp4.js +0 -113
- package/components/TransactionHistoryPage-BGXajDjr.js +0 -958
- package/components/TransactionHistoryPage-Cqk6SBNX.js +0 -940
- package/components/TransactionHistoryPage-Dz_cMkAF.cjs +0 -1
- package/components/TxnStatusIcon-CF6F6mQ3.cjs +0 -1
- package/components/TxnTypeIcons-4Jww6_oB.cjs +0 -1
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
import { S as X, i as $, s as tt, j as w, k as et, E as y, d as b, t as B, m as v, F as L, G as H, H as S, a as C, b as F, v as p, w as A, f as k, y as st, z as it, I as U, A as nt, B as lt, D as ot, n as Z, C as q, c as at } from "./Tooltip-CicO5Q6_.js";
|
|
2
|
+
import { a as rt, i as ct, $ as ut, s as ft, b as ht, c as gt, d as dt } from "./TransactionHistoryPage-olMWZGJ-.js";
|
|
3
|
+
function N(s, t) {
|
|
4
|
+
rt(s, t);
|
|
5
|
+
}
|
|
6
|
+
function _t(s) {
|
|
7
|
+
ct({
|
|
8
|
+
fallbackLocale: "en"
|
|
9
|
+
}), ut.set(s);
|
|
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
|
+
fr: {
|
|
27
|
+
header: {
|
|
28
|
+
general: "Caisse",
|
|
29
|
+
deposit: "Dépôt",
|
|
30
|
+
withdraw: "Retrait"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
function mt(s) {
|
|
35
|
+
et(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)}");
|
|
36
|
+
}
|
|
37
|
+
const wt = (s) => ({}), x = (s) => ({}), bt = (s) => ({}), D = (s) => ({}), Ct = (s) => ({}), E = (s) => ({});
|
|
38
|
+
function O(s) {
|
|
39
|
+
let t, e, l;
|
|
40
|
+
return {
|
|
41
|
+
c() {
|
|
42
|
+
t = p("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");
|
|
43
|
+
},
|
|
44
|
+
m(i, f) {
|
|
45
|
+
C(i, t, f), e || (l = q(
|
|
46
|
+
t,
|
|
47
|
+
"click",
|
|
48
|
+
/*back*/
|
|
49
|
+
s[6]
|
|
50
|
+
), e = !0);
|
|
51
|
+
},
|
|
52
|
+
p: Z,
|
|
53
|
+
d(i) {
|
|
54
|
+
i && b(t), e = !1, l();
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function pt(s) {
|
|
59
|
+
let t, e = (
|
|
60
|
+
/*backButton*/
|
|
61
|
+
s[1] && O(s)
|
|
62
|
+
);
|
|
63
|
+
return {
|
|
64
|
+
c() {
|
|
65
|
+
e && e.c(), t = U();
|
|
66
|
+
},
|
|
67
|
+
m(l, i) {
|
|
68
|
+
e && e.m(l, i), C(l, t, i);
|
|
69
|
+
},
|
|
70
|
+
p(l, i) {
|
|
71
|
+
/*backButton*/
|
|
72
|
+
l[1] ? e ? e.p(l, i) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
73
|
+
},
|
|
74
|
+
d(l) {
|
|
75
|
+
l && b(t), e && e.d(l);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function kt(s) {
|
|
80
|
+
let t, e = (
|
|
81
|
+
/*$_*/
|
|
82
|
+
s[4](
|
|
83
|
+
/*titleText*/
|
|
84
|
+
s[2]
|
|
85
|
+
) + ""
|
|
86
|
+
), l;
|
|
87
|
+
return {
|
|
88
|
+
c() {
|
|
89
|
+
t = p("span"), l = lt(e), k(t, "class", "CashierHeaderTitle");
|
|
90
|
+
},
|
|
91
|
+
m(i, f) {
|
|
92
|
+
C(i, t, f), F(t, l);
|
|
93
|
+
},
|
|
94
|
+
p(i, f) {
|
|
95
|
+
f & /*$_, titleText*/
|
|
96
|
+
20 && e !== (e = /*$_*/
|
|
97
|
+
i[4](
|
|
98
|
+
/*titleText*/
|
|
99
|
+
i[2]
|
|
100
|
+
) + "") && nt(l, e);
|
|
101
|
+
},
|
|
102
|
+
d(i) {
|
|
103
|
+
i && b(t);
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function I(s) {
|
|
108
|
+
let t, e, l;
|
|
109
|
+
return {
|
|
110
|
+
c() {
|
|
111
|
+
t = p("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");
|
|
112
|
+
},
|
|
113
|
+
m(i, f) {
|
|
114
|
+
C(i, t, f), e || (l = q(
|
|
115
|
+
t,
|
|
116
|
+
"click",
|
|
117
|
+
/*close*/
|
|
118
|
+
s[5]
|
|
119
|
+
), e = !0);
|
|
120
|
+
},
|
|
121
|
+
p: Z,
|
|
122
|
+
d(i) {
|
|
123
|
+
i && b(t), e = !1, l();
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function yt(s) {
|
|
128
|
+
let t, e = (
|
|
129
|
+
/*closeButton*/
|
|
130
|
+
s[3] && I(s)
|
|
131
|
+
);
|
|
132
|
+
return {
|
|
133
|
+
c() {
|
|
134
|
+
e && e.c(), t = U();
|
|
135
|
+
},
|
|
136
|
+
m(l, i) {
|
|
137
|
+
e && e.m(l, i), C(l, t, i);
|
|
138
|
+
},
|
|
139
|
+
p(l, i) {
|
|
140
|
+
/*closeButton*/
|
|
141
|
+
l[3] ? e ? e.p(l, i) : (e = I(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
|
|
142
|
+
},
|
|
143
|
+
d(l) {
|
|
144
|
+
l && b(t), e && e.d(l);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
function Bt(s) {
|
|
149
|
+
let t, e, l, i;
|
|
150
|
+
const f = (
|
|
151
|
+
/*#slots*/
|
|
152
|
+
s[16].leftButton
|
|
153
|
+
), _ = y(
|
|
154
|
+
f,
|
|
155
|
+
s,
|
|
156
|
+
/*$$scope*/
|
|
157
|
+
s[15],
|
|
158
|
+
E
|
|
159
|
+
), a = _ || pt(s), m = (
|
|
160
|
+
/*#slots*/
|
|
161
|
+
s[16].title
|
|
162
|
+
), h = y(
|
|
163
|
+
m,
|
|
164
|
+
s,
|
|
165
|
+
/*$$scope*/
|
|
166
|
+
s[15],
|
|
167
|
+
D
|
|
168
|
+
), r = h || kt(s), g = (
|
|
169
|
+
/*#slots*/
|
|
170
|
+
s[16].rightButton
|
|
171
|
+
), d = y(
|
|
172
|
+
g,
|
|
173
|
+
s,
|
|
174
|
+
/*$$scope*/
|
|
175
|
+
s[15],
|
|
176
|
+
x
|
|
177
|
+
), c = d || yt(s);
|
|
178
|
+
return {
|
|
179
|
+
c() {
|
|
180
|
+
t = p("div"), a && a.c(), e = A(), r && r.c(), l = A(), c && c.c(), k(t, "class", "CashierHeader");
|
|
181
|
+
},
|
|
182
|
+
m(n, u) {
|
|
183
|
+
C(n, t, u), a && a.m(t, null), F(t, e), r && r.m(t, null), F(t, l), c && c.m(t, null), s[17](t), i = !0;
|
|
184
|
+
},
|
|
185
|
+
p(n, [u]) {
|
|
186
|
+
_ ? _.p && (!i || u & /*$$scope*/
|
|
187
|
+
32768) && L(
|
|
188
|
+
_,
|
|
189
|
+
f,
|
|
190
|
+
n,
|
|
191
|
+
/*$$scope*/
|
|
192
|
+
n[15],
|
|
193
|
+
i ? S(
|
|
194
|
+
f,
|
|
195
|
+
/*$$scope*/
|
|
196
|
+
n[15],
|
|
197
|
+
u,
|
|
198
|
+
Ct
|
|
199
|
+
) : H(
|
|
200
|
+
/*$$scope*/
|
|
201
|
+
n[15]
|
|
202
|
+
),
|
|
203
|
+
E
|
|
204
|
+
) : a && a.p && (!i || u & /*backButton*/
|
|
205
|
+
2) && a.p(n, i ? u : -1), h ? h.p && (!i || u & /*$$scope*/
|
|
206
|
+
32768) && L(
|
|
207
|
+
h,
|
|
208
|
+
m,
|
|
209
|
+
n,
|
|
210
|
+
/*$$scope*/
|
|
211
|
+
n[15],
|
|
212
|
+
i ? S(
|
|
213
|
+
m,
|
|
214
|
+
/*$$scope*/
|
|
215
|
+
n[15],
|
|
216
|
+
u,
|
|
217
|
+
bt
|
|
218
|
+
) : H(
|
|
219
|
+
/*$$scope*/
|
|
220
|
+
n[15]
|
|
221
|
+
),
|
|
222
|
+
D
|
|
223
|
+
) : r && r.p && (!i || u & /*$_, titleText*/
|
|
224
|
+
20) && r.p(n, i ? u : -1), d ? d.p && (!i || u & /*$$scope*/
|
|
225
|
+
32768) && L(
|
|
226
|
+
d,
|
|
227
|
+
g,
|
|
228
|
+
n,
|
|
229
|
+
/*$$scope*/
|
|
230
|
+
n[15],
|
|
231
|
+
i ? S(
|
|
232
|
+
g,
|
|
233
|
+
/*$$scope*/
|
|
234
|
+
n[15],
|
|
235
|
+
u,
|
|
236
|
+
wt
|
|
237
|
+
) : H(
|
|
238
|
+
/*$$scope*/
|
|
239
|
+
n[15]
|
|
240
|
+
),
|
|
241
|
+
x
|
|
242
|
+
) : c && c.p && (!i || u & /*closeButton*/
|
|
243
|
+
8) && c.p(n, i ? u : -1);
|
|
244
|
+
},
|
|
245
|
+
i(n) {
|
|
246
|
+
i || (v(a, n), v(r, n), v(c, n), i = !0);
|
|
247
|
+
},
|
|
248
|
+
o(n) {
|
|
249
|
+
B(a, n), B(r, n), B(c, n), i = !1;
|
|
250
|
+
},
|
|
251
|
+
d(n) {
|
|
252
|
+
n && b(t), a && a.d(n), r && r.d(n), c && c.d(n), s[17](null);
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
function vt(s, t, e) {
|
|
257
|
+
let l;
|
|
258
|
+
st(s, dt, (o) => e(4, l = o));
|
|
259
|
+
let { $$slots: i = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: r = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: c = "" } = t, n, u, M = !1, T, j = !1;
|
|
260
|
+
const G = () => {
|
|
261
|
+
fetch(m).then((o) => o.json()).then((o) => {
|
|
262
|
+
Object.keys(o).forEach((z) => {
|
|
263
|
+
N(z, o[z]);
|
|
264
|
+
});
|
|
265
|
+
}).catch((o) => {
|
|
266
|
+
console.log(o);
|
|
267
|
+
});
|
|
268
|
+
};
|
|
269
|
+
Object.keys(R).forEach((o) => {
|
|
270
|
+
N(o, R[o]);
|
|
271
|
+
});
|
|
272
|
+
const P = () => {
|
|
273
|
+
_t(g);
|
|
274
|
+
}, W = () => {
|
|
275
|
+
window.postMessage({ type: "CloseCashier" }, window.location.href);
|
|
276
|
+
}, Y = () => {
|
|
277
|
+
window.postMessage({ type: "BackCashier" }, window.location.href);
|
|
278
|
+
}, J = () => {
|
|
279
|
+
e(1, M = !!h && h !== "false");
|
|
280
|
+
}, K = () => {
|
|
281
|
+
e(3, j = !!d && d !== "false");
|
|
282
|
+
}, Q = () => {
|
|
283
|
+
e(2, T = r || "header.general");
|
|
284
|
+
};
|
|
285
|
+
it(() => () => {
|
|
286
|
+
});
|
|
287
|
+
function V(o) {
|
|
288
|
+
ot[o ? "unshift" : "push"](() => {
|
|
289
|
+
n = o, e(0, n);
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
return s.$$set = (o) => {
|
|
293
|
+
"clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, a = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, r = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, c = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
|
|
294
|
+
}, s.$$.update = () => {
|
|
295
|
+
s.$$.dirty & /*lang*/
|
|
296
|
+
4096 && g && P(), s.$$.dirty & /*lang, title*/
|
|
297
|
+
6144 && g && r && Q(), s.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
298
|
+
129 && _ && n && ft(n, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
299
|
+
257 && a && n && ht(n, a), s.$$.dirty & /*mbsource, customStylingContainer*/
|
|
300
|
+
16385 && c && n && gt(n, `${c}.Style`, u), s.$$.dirty & /*lang, translationurl*/
|
|
301
|
+
4608 && g && m && G(), s.$$.dirty & /*showbackbutton*/
|
|
302
|
+
1024 && h && J(), s.$$.dirty & /*showclosebutton*/
|
|
303
|
+
8192 && d && K();
|
|
304
|
+
}, [
|
|
305
|
+
n,
|
|
306
|
+
M,
|
|
307
|
+
T,
|
|
308
|
+
j,
|
|
309
|
+
l,
|
|
310
|
+
W,
|
|
311
|
+
Y,
|
|
312
|
+
_,
|
|
313
|
+
a,
|
|
314
|
+
m,
|
|
315
|
+
h,
|
|
316
|
+
r,
|
|
317
|
+
g,
|
|
318
|
+
d,
|
|
319
|
+
c,
|
|
320
|
+
f,
|
|
321
|
+
i,
|
|
322
|
+
V
|
|
323
|
+
];
|
|
324
|
+
}
|
|
325
|
+
class Lt extends X {
|
|
326
|
+
constructor(t) {
|
|
327
|
+
super(), $(
|
|
328
|
+
this,
|
|
329
|
+
t,
|
|
330
|
+
vt,
|
|
331
|
+
Bt,
|
|
332
|
+
tt,
|
|
333
|
+
{
|
|
334
|
+
clientstyling: 7,
|
|
335
|
+
clientstylingurl: 8,
|
|
336
|
+
translationurl: 9,
|
|
337
|
+
showbackbutton: 10,
|
|
338
|
+
title: 11,
|
|
339
|
+
lang: 12,
|
|
340
|
+
showclosebutton: 13,
|
|
341
|
+
mbsource: 14
|
|
342
|
+
},
|
|
343
|
+
mt
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
get clientstyling() {
|
|
347
|
+
return this.$$.ctx[7];
|
|
348
|
+
}
|
|
349
|
+
set clientstyling(t) {
|
|
350
|
+
this.$$set({ clientstyling: t }), w();
|
|
351
|
+
}
|
|
352
|
+
get clientstylingurl() {
|
|
353
|
+
return this.$$.ctx[8];
|
|
354
|
+
}
|
|
355
|
+
set clientstylingurl(t) {
|
|
356
|
+
this.$$set({ clientstylingurl: t }), w();
|
|
357
|
+
}
|
|
358
|
+
get translationurl() {
|
|
359
|
+
return this.$$.ctx[9];
|
|
360
|
+
}
|
|
361
|
+
set translationurl(t) {
|
|
362
|
+
this.$$set({ translationurl: t }), w();
|
|
363
|
+
}
|
|
364
|
+
get showbackbutton() {
|
|
365
|
+
return this.$$.ctx[10];
|
|
366
|
+
}
|
|
367
|
+
set showbackbutton(t) {
|
|
368
|
+
this.$$set({ showbackbutton: t }), w();
|
|
369
|
+
}
|
|
370
|
+
get title() {
|
|
371
|
+
return this.$$.ctx[11];
|
|
372
|
+
}
|
|
373
|
+
set title(t) {
|
|
374
|
+
this.$$set({ title: t }), w();
|
|
375
|
+
}
|
|
376
|
+
get lang() {
|
|
377
|
+
return this.$$.ctx[12];
|
|
378
|
+
}
|
|
379
|
+
set lang(t) {
|
|
380
|
+
this.$$set({ lang: t }), w();
|
|
381
|
+
}
|
|
382
|
+
get showclosebutton() {
|
|
383
|
+
return this.$$.ctx[13];
|
|
384
|
+
}
|
|
385
|
+
set showclosebutton(t) {
|
|
386
|
+
this.$$set({ showclosebutton: t }), w();
|
|
387
|
+
}
|
|
388
|
+
get mbsource() {
|
|
389
|
+
return this.$$.ctx[14];
|
|
390
|
+
}
|
|
391
|
+
set mbsource(t) {
|
|
392
|
+
this.$$set({ mbsource: t }), w();
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
at(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
|
|
396
|
+
export {
|
|
397
|
+
Lt as default
|
|
398
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tooltip-gAGTORoD.cjs"),w=require("./TransactionHistoryPage-BVyjhlXY.cjs");function B(i,t){w.addMessages(i,t)}function x(i){w.init({fallbackLocale:"en"}),w.$locale.set(i)}const v={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}};function D(i){e.append_styles(i,"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)}")}const E=i=>({}),L=i=>({}),U=i=>({}),H=i=>({}),Z=i=>({}),S=i=>({});function T(i){let t,n,o;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"><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>',e.attr(t,"class","CashierHeaderLeftButton")},m(s,h){e.insert(s,t,h),n||(o=e.listen(t,"click",i[6]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,o()}}}function I(i){let t,n=i[1]&&T(i);return{c(){n&&n.c(),t=e.empty()},m(o,s){n&&n.m(o,s),e.insert(o,t,s)},p(o,s){o[1]?n?n.p(o,s):(n=T(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function W(i){let t,n=i[4](i[2])+"",o;return{c(){t=e.element("span"),o=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(s,h){e.insert(s,t,h),e.append(t,o)},p(s,h){h&20&&n!==(n=s[4](s[2])+"")&&e.set_data(o,n)},d(s){s&&e.detach(t)}}}function M(i){let t,n,o;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"><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>',e.attr(t,"class","CashierHeaderRightButton")},m(s,h){e.insert(s,t,h),n||(o=e.listen(t,"click",i[5]),n=!0)},p:e.noop,d(s){s&&e.detach(t),n=!1,o()}}}function Y(i){let t,n=i[3]&&M(i);return{c(){n&&n.c(),t=e.empty()},m(o,s){n&&n.m(o,s),e.insert(o,t,s)},p(o,s){o[3]?n?n.p(o,s):(n=M(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function G(i){let t,n,o,s;const h=i[16].leftButton,m=e.create_slot(h,i,i[15],S),r=m||I(i),b=i[16].title,g=e.create_slot(b,i,i[15],H),c=g||W(i),_=i[16].rightButton,d=e.create_slot(_,i,i[15],L),u=d||Y(i);return{c(){t=e.element("div"),r&&r.c(),n=e.space(),c&&c.c(),o=e.space(),u&&u.c(),e.attr(t,"class","CashierHeader")},m(l,f){e.insert(l,t,f),r&&r.m(t,null),e.append(t,n),c&&c.m(t,null),e.append(t,o),u&&u.m(t,null),i[17](t),s=!0},p(l,[f]){m?m.p&&(!s||f&32768)&&e.update_slot_base(m,h,l,l[15],s?e.get_slot_changes(h,l[15],f,Z):e.get_all_dirty_from_scope(l[15]),S):r&&r.p&&(!s||f&2)&&r.p(l,s?f:-1),g?g.p&&(!s||f&32768)&&e.update_slot_base(g,b,l,l[15],s?e.get_slot_changes(b,l[15],f,U):e.get_all_dirty_from_scope(l[15]),H):c&&c.p&&(!s||f&20)&&c.p(l,s?f:-1),d?d.p&&(!s||f&32768)&&e.update_slot_base(d,_,l,l[15],s?e.get_slot_changes(_,l[15],f,E):e.get_all_dirty_from_scope(l[15]),L):u&&u.p&&(!s||f&8)&&u.p(l,s?f:-1)},i(l){s||(e.transition_in(r,l),e.transition_in(c,l),e.transition_in(u,l),s=!0)},o(l){e.transition_out(r,l),e.transition_out(c,l),e.transition_out(u,l),s=!1},d(l){l&&e.detach(t),r&&r.d(l),c&&c.d(l),u&&u.d(l),i[17](null)}}}function J(i,t,n){let o;e.component_subscribe(i,w.$format,a=>n(4,o=a));let{$$slots:s={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:r=""}=t,{translationurl:b=""}=t,{showbackbutton:g=""}=t,{title:c="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,{mbsource:u=""}=t,l,f,p=!1,C,y=!1;const j=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(k=>{B(k,a[k])})}).catch(a=>{console.log(a)})};Object.keys(v).forEach(a=>{B(a,v[a])});const N=()=>{x(_)},R=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},z=()=>{window.postMessage({type:"BackCashier"},window.location.href)},A=()=>{n(1,p=!!g&&g!=="false")},O=()=>{n(3,y=!!d&&d!=="false")},q=()=>{n(2,C=c||"header.general")};e.onMount(()=>()=>{});function P(a){e.binding_callbacks[a?"unshift":"push"](()=>{l=a,n(0,l)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,r=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,c=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,u=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&N(),i.$$.dirty&6144&&_&&c&&q(),i.$$.dirty&129&&m&&l&&w.setClientStyling(l,m),i.$$.dirty&257&&r&&l&&w.setClientStylingURL(l,r),i.$$.dirty&16385&&u&&l&&w.setStreamStyling(l,`${u}.Style`,f),i.$$.dirty&4608&&_&&b&&j(),i.$$.dirty&1024&&g&&A(),i.$$.dirty&8192&&d&&O()},[l,p,C,y,o,R,z,m,r,b,g,c,_,d,u,h,s,P]}class F extends e.SvelteComponent{constructor(t){super(),e.init(this,t,J,G,e.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},D)}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()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(F,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=F;
|