@everymatrix/cashier-page 1.62.2 → 1.62.3
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/{CashierError-tQbKEw2z.js → CashierError-7Ot8GFHL.js} +133 -133
- package/components/CashierError-ChvIhij4.cjs +5 -0
- package/components/{CashierError-B-J3bgXO.js → CashierError-Dcf1i1i-.js} +133 -133
- package/components/{CashierHeader-B0U5rO7Q.js → CashierHeader-Btl5G1aW.js} +1 -1
- package/components/{CashierHeader-D8xZnXx8.js → CashierHeader-DnmOCyY5.js} +1 -1
- package/components/{CashierHeader-C1eIvzMB.cjs → CashierHeader-xBZmd3xD.cjs} +1 -1
- package/components/{CashierIframeRedirect-D-RjbYkO.js → CashierIframeRedirect-_jhy32eh.js} +2 -2
- package/components/{CashierIframeRedirect-7pq1sSyS.js → CashierIframeRedirect-iRpGhBuO.js} +2 -2
- package/components/{CashierIframeRedirect-WdyL8gss.cjs → CashierIframeRedirect-lBzX1iUX.cjs} +1 -1
- package/components/{CashierMethodDetails-CBYCNiq-.cjs → CashierMethodDetails-DLhEFjxf.cjs} +2 -2
- package/components/{CashierMethodDetails-qob4ROJt.js → CashierMethodDetails-DatXAL1v.js} +9 -9
- package/components/{CashierMethodDetails-DbMqHY6i.js → CashierMethodDetails-jk5GNqET.js} +9 -9
- package/components/{CashierMethodsList-B6gXCjuL.js → CashierMethodsList-C0IZmP3U.js} +2 -2
- package/components/{CashierMethodsList-f5eLUBC5.js → CashierMethodsList-DfKVl2ns.js} +2 -2
- package/components/{CashierMethodsList-CWQS-5xX.cjs → CashierMethodsList-PDEbBRc7.cjs} +1 -1
- package/components/{CashierPage-DKfiHjmm.js → CashierPage-B1G7PQOG.js} +9 -9
- package/components/{CashierPage-CYGpGECb.cjs → CashierPage-DuVl1Vzu.cjs} +1 -1
- package/components/{CashierPage-Ck-ztowb.js → CashierPage-V2NAWvNg.js} +9 -9
- package/components/{CashierReceiptPage-C91_np3V.cjs → CashierReceiptPage-BA00H-2d.cjs} +1 -1
- package/components/{CashierReceiptPage-CFgLz3ji.js → CashierReceiptPage-CG0IVSDJ.js} +2 -2
- package/components/{CashierReceiptPage-DGx0BsYd.js → CashierReceiptPage-D4IgTNIg.js} +2 -2
- package/components/{CashierSessionExpirationModal-DTzy_7KD.cjs → CashierSessionExpirationModal-B3thCy2R.cjs} +1 -1
- package/components/{CashierSessionExpirationModal-CNPZ_Tof.js → CashierSessionExpirationModal-CHPU1aRa.js} +2 -2
- package/components/{CashierSessionExpirationModal-BPW1Kvxj.js → CashierSessionExpirationModal-DV8r-804.js} +2 -2
- package/components/{CashierTransactionHistory-BnpISvpA.js → CashierTransactionHistory-DuD_IPSM.js} +92 -92
- package/components/{CashierTransactionHistory-BDZT0VTo.js → CashierTransactionHistory-Dxq24rfR.js} +111 -111
- package/components/CashierTransactionHistory-DyQIw9U2.cjs +1 -0
- package/components/{CashierVerifications-CmUh-2cH.js → CashierVerifications-AI2HHaYS.js} +2 -2
- package/components/{CashierVerifications-BQyvB4N6.js → CashierVerifications-BXoRLAWe.js} +2 -2
- package/components/{CashierVerifications-DOBEomV7.cjs → CashierVerifications-CLeYFnf-.cjs} +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/CashierError-DOwVjf9G.cjs +0 -5
- package/components/CashierTransactionHistory-D0fo2w7E.cjs +0 -1
package/components/{CashierTransactionHistory-BnpISvpA.js → CashierTransactionHistory-DuD_IPSM.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as it, b as nt, s as at, f as
|
|
2
|
-
import { f as
|
|
3
|
-
import { a as yt, $ as Tt, i as
|
|
4
|
-
import { d as xt } from "./CashierMethodDetails-
|
|
5
|
-
|
|
1
|
+
import { S as it, b as nt, s as at, f as U, c as lt, n as X, e as W, m as N, x as ot, w as rt, K as J, L as ct, g as G, k as dt, t as ft, l as ut, y as B, o as l, p as m, q as j, z as I, v as e, A as wt, W as ht, F as mt, X as vt, J as K, B as pt, N as b, E as gt } from "./CashierConfirmModal-sI8AKckC.js";
|
|
2
|
+
import { f as V } from "./CashierModal-6CTryAQJ.js";
|
|
3
|
+
import { a as yt, $ as Tt, i as _t, b as bt } from "./CashierError-Dcf1i1i-.js";
|
|
4
|
+
import { d as xt } from "./CashierMethodDetails-DatXAL1v.js";
|
|
5
|
+
_t({
|
|
6
6
|
fallbackLocale: "en"
|
|
7
7
|
});
|
|
8
8
|
function Q(a, t) {
|
|
@@ -32,21 +32,21 @@ const Z = {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
tr: {
|
|
35
|
-
transactionHistoryTitle: "
|
|
36
|
-
transactionIdTitle: "ID",
|
|
37
|
-
transactionDateTitle: "
|
|
38
|
-
transactionTypeTitle: "
|
|
39
|
-
transactionStatusTitle: "
|
|
40
|
-
copyTransactionId: "
|
|
35
|
+
transactionHistoryTitle: "İşlem Geçmişi",
|
|
36
|
+
transactionIdTitle: "İşlem ID'si",
|
|
37
|
+
transactionDateTitle: "Tarih",
|
|
38
|
+
transactionTypeTitle: "Tip",
|
|
39
|
+
transactionStatusTitle: "Durum",
|
|
40
|
+
copyTransactionId: "İşlem ID’si kopyalandı",
|
|
41
41
|
transactionStatus: {
|
|
42
|
-
Authorized: "
|
|
43
|
-
Success: "
|
|
44
|
-
Failed: "
|
|
45
|
-
Rejected: "
|
|
46
|
-
Pending: "
|
|
42
|
+
Authorized: "Onaylandı",
|
|
43
|
+
Success: "Başarılı",
|
|
44
|
+
Failed: "Başarısız",
|
|
45
|
+
Rejected: "Reddedildi",
|
|
46
|
+
Pending: "Beklemede"
|
|
47
47
|
},
|
|
48
48
|
transactionType: {
|
|
49
|
-
Deposit: "
|
|
49
|
+
Deposit: "Para Yatır",
|
|
50
50
|
Withdraw: "Çekim"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -77,16 +77,16 @@ function tt(a) {
|
|
|
77
77
|
let t, s, i, o = (
|
|
78
78
|
/*$_*/
|
|
79
79
|
a[5]("transactionHistoryTitle") + ""
|
|
80
|
-
), c, f, u, g, x, k,
|
|
80
|
+
), c, f, u, g, x, k, v, H, L = (
|
|
81
81
|
/*$_*/
|
|
82
82
|
a[5]("transactionIdTitle") + ""
|
|
83
|
-
), z, y, C,
|
|
83
|
+
), z, y, C, _ = (
|
|
84
84
|
/*$_*/
|
|
85
85
|
a[5]("transactionDateTitle") + ""
|
|
86
|
-
),
|
|
86
|
+
), A, D, R, M = (
|
|
87
87
|
/*$_*/
|
|
88
88
|
a[5]("transactionTypeTitle") + ""
|
|
89
|
-
),
|
|
89
|
+
), E, Y, P, S = (
|
|
90
90
|
/*$_*/
|
|
91
91
|
a[5]("transactionStatusTitle") + ""
|
|
92
92
|
), p, n, r, d = (
|
|
@@ -100,33 +100,33 @@ function tt(a) {
|
|
|
100
100
|
h[w] = st($(a, O, w));
|
|
101
101
|
return {
|
|
102
102
|
c() {
|
|
103
|
-
t =
|
|
103
|
+
t = m("div"), d && d.c(), s = j(), i = m("h3"), c = I(o), f = j(), u = m("div"), g = m("div"), x = m("table"), k = m("thead"), v = m("tr"), H = m("td"), z = I(L), y = j(), C = m("td"), A = I(_), D = j(), R = m("td"), E = I(M), Y = j(), P = m("td"), p = I(S), n = j(), r = m("tbody");
|
|
104
104
|
for (let w = 0; w < h.length; w += 1)
|
|
105
105
|
h[w].c();
|
|
106
|
-
e(i, "class", "CashierTransactionHistoryTitle svelte-40f46w"), e(H, "class", "svelte-40f46w"), e(C, "class", "svelte-40f46w"), e(R, "class", "svelte-40f46w"), e(P, "class", "svelte-40f46w"), e(
|
|
106
|
+
e(i, "class", "CashierTransactionHistoryTitle svelte-40f46w"), e(H, "class", "svelte-40f46w"), e(C, "class", "svelte-40f46w"), e(R, "class", "svelte-40f46w"), e(P, "class", "svelte-40f46w"), e(v, "class", "svelte-40f46w"), e(k, "class", "svelte-40f46w"), e(r, "class", "svelte-40f46w"), e(x, "class", "svelte-40f46w"), e(g, "class", "CashierTransactionHistoryContent svelte-40f46w"), e(u, "class", "CashierTransactionHistoryWrapper svelte-40f46w"), e(t, "class", "CashierTransactionHistory svelte-40f46w");
|
|
107
107
|
},
|
|
108
|
-
m(w,
|
|
109
|
-
N(w, t,
|
|
108
|
+
m(w, F) {
|
|
109
|
+
N(w, t, F), d && d.m(t, null), l(t, s), l(t, i), l(i, c), l(t, f), l(t, u), l(u, g), l(g, x), l(x, k), l(k, v), l(v, H), l(H, z), l(v, y), l(v, C), l(C, A), l(v, D), l(v, R), l(R, E), l(v, Y), l(v, P), l(P, p), l(x, n), l(x, r);
|
|
110
110
|
for (let T = 0; T < h.length; T += 1)
|
|
111
111
|
h[T] && h[T].m(r, null);
|
|
112
112
|
a[16](t);
|
|
113
113
|
},
|
|
114
|
-
p(w,
|
|
114
|
+
p(w, F) {
|
|
115
115
|
if (/*copied*/
|
|
116
|
-
w[3] ? d ? (d.p(w,
|
|
117
|
-
8 &&
|
|
116
|
+
w[3] ? d ? (d.p(w, F), F & /*copied*/
|
|
117
|
+
8 && G(d, 1)) : (d = et(w), d.c(), G(d, 1), d.m(t, s)) : d && (dt(), ft(d, 1, 1, () => {
|
|
118
118
|
d = null;
|
|
119
|
-
}), ut()),
|
|
119
|
+
}), ut()), F & /*$_*/
|
|
120
120
|
32 && o !== (o = /*$_*/
|
|
121
|
-
w[5]("transactionHistoryTitle") + "") &&
|
|
121
|
+
w[5]("transactionHistoryTitle") + "") && B(c, o), F & /*$_*/
|
|
122
122
|
32 && L !== (L = /*$_*/
|
|
123
|
-
w[5]("transactionIdTitle") + "") &&
|
|
124
|
-
32 &&
|
|
125
|
-
w[5]("transactionDateTitle") + "") &&
|
|
126
|
-
32 &&
|
|
127
|
-
w[5]("transactionTypeTitle") + "") &&
|
|
123
|
+
w[5]("transactionIdTitle") + "") && B(z, L), F & /*$_*/
|
|
124
|
+
32 && _ !== (_ = /*$_*/
|
|
125
|
+
w[5]("transactionDateTitle") + "") && B(A, _), F & /*$_*/
|
|
126
|
+
32 && M !== (M = /*$_*/
|
|
127
|
+
w[5]("transactionTypeTitle") + "") && B(E, M), F & /*$_*/
|
|
128
128
|
32 && S !== (S = /*$_*/
|
|
129
|
-
w[5]("transactionStatusTitle") + "") &&
|
|
129
|
+
w[5]("transactionStatusTitle") + "") && B(p, S), F & /*$_, txnHistory, TransactionMainStatus, copied, copyToClipboard*/
|
|
130
130
|
124) {
|
|
131
131
|
O = J(
|
|
132
132
|
/*txnHistory*/
|
|
@@ -135,7 +135,7 @@ function tt(a) {
|
|
|
135
135
|
let T;
|
|
136
136
|
for (T = 0; T < O.length; T += 1) {
|
|
137
137
|
const q = $(w, O, T);
|
|
138
|
-
h[T] ? h[T].p(q,
|
|
138
|
+
h[T] ? h[T].p(q, F) : (h[T] = st(q), h[T].c(), h[T].m(r, null));
|
|
139
139
|
}
|
|
140
140
|
for (; T < h.length; T += 1)
|
|
141
141
|
h[T].d(1);
|
|
@@ -154,7 +154,7 @@ function et(a) {
|
|
|
154
154
|
), i, o, c, f;
|
|
155
155
|
return {
|
|
156
156
|
c() {
|
|
157
|
-
t =
|
|
157
|
+
t = m("div"), i = I(s), e(t, "class", "CopyTooltip svelte-40f46w");
|
|
158
158
|
},
|
|
159
159
|
m(u, g) {
|
|
160
160
|
N(u, t, g), l(t, i), f = !0;
|
|
@@ -162,15 +162,15 @@ function et(a) {
|
|
|
162
162
|
p(u, g) {
|
|
163
163
|
a = u, (!f || g & /*$_*/
|
|
164
164
|
32) && s !== (s = /*$_*/
|
|
165
|
-
a[5]("copyTransactionId") + "") &&
|
|
165
|
+
a[5]("copyTransactionId") + "") && B(i, s);
|
|
166
166
|
},
|
|
167
167
|
i(u) {
|
|
168
|
-
f || (u &&
|
|
169
|
-
f && (c && c.end(1), o =
|
|
168
|
+
f || (u && mt(() => {
|
|
169
|
+
f && (c && c.end(1), o = vt(t, V, { duration: 100 }), o.start());
|
|
170
170
|
}), f = !0);
|
|
171
171
|
},
|
|
172
172
|
o(u) {
|
|
173
|
-
o && o.invalidate(), u && (c = ht(t,
|
|
173
|
+
o && o.invalidate(), u && (c = ht(t, V, { duration: (
|
|
174
174
|
/*tooltipduration*/
|
|
175
175
|
a[0]
|
|
176
176
|
) })), f = !1;
|
|
@@ -184,7 +184,7 @@ function zt(a) {
|
|
|
184
184
|
let t, s, i;
|
|
185
185
|
return {
|
|
186
186
|
c() {
|
|
187
|
-
t =
|
|
187
|
+
t = b("svg"), s = b("circle"), i = b("path"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#25bf00"), e(s, "stroke-width", "2"), e(s, "class", "svelte-40f46w"), e(i, "d", "M8 12L11 15L16 9"), e(i, "stroke", "#25bf00"), e(i, "stroke-width", "2"), e(i, "stroke-linecap", "round"), e(i, "stroke-linejoin", "round"), e(i, "class", "svelte-40f46w"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-40f46w");
|
|
188
188
|
},
|
|
189
189
|
m(o, c) {
|
|
190
190
|
N(o, t, c), l(t, s), l(t, i);
|
|
@@ -198,7 +198,7 @@ function Dt(a) {
|
|
|
198
198
|
let t, s, i, o;
|
|
199
199
|
return {
|
|
200
200
|
c() {
|
|
201
|
-
t =
|
|
201
|
+
t = b("svg"), s = b("circle"), i = b("text"), o = I("R"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#dd6617d4"), e(s, "stroke-width", "2"), e(s, "class", "svelte-40f46w"), e(i, "x", "50%"), e(i, "y", "54%"), e(i, "text-anchor", "middle"), e(i, "dominant-baseline", "middle"), e(i, "font-size", "14"), e(i, "font-weight", "bold"), e(i, "fill", "#dd6617d4"), e(i, "font-family", "Arial Rounded MT Bold, Arial, sans-serif"), e(i, "class", "svelte-40f46w"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-40f46w");
|
|
202
202
|
},
|
|
203
203
|
m(c, f) {
|
|
204
204
|
N(c, t, f), l(t, s), l(t, i), l(i, o);
|
|
@@ -208,11 +208,11 @@ function Dt(a) {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function It(a) {
|
|
212
212
|
let t, s, i;
|
|
213
213
|
return {
|
|
214
214
|
c() {
|
|
215
|
-
t =
|
|
215
|
+
t = b("svg"), s = b("circle"), i = b("path"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#f0a85f"), e(s, "stroke-width", "2"), e(s, "class", "svelte-40f46w"), e(i, "d", "M12 7V12L15 14"), e(i, "stroke", "#f0a85f"), e(i, "stroke-width", "2"), e(i, "stroke-linecap", "round"), e(i, "stroke-linejoin", "round"), e(i, "class", "svelte-40f46w"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-40f46w");
|
|
216
216
|
},
|
|
217
217
|
m(o, c) {
|
|
218
218
|
N(o, t, c), l(t, s), l(t, i);
|
|
@@ -222,11 +222,11 @@ function At(a) {
|
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function At(a) {
|
|
226
226
|
let t, s, i;
|
|
227
227
|
return {
|
|
228
228
|
c() {
|
|
229
|
-
t =
|
|
229
|
+
t = b("svg"), s = b("circle"), i = b("path"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#e76049"), e(s, "stroke-width", "2"), e(s, "class", "svelte-40f46w"), e(i, "d", "M9 9L15 15M15 9L9 15"), e(i, "stroke", "#e76049"), e(i, "stroke-width", "2"), e(i, "stroke-linecap", "round"), e(i, "stroke-linejoin", "round"), e(i, "class", "svelte-40f46w"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-40f46w");
|
|
230
230
|
},
|
|
231
231
|
m(o, c) {
|
|
232
232
|
N(o, t, c), l(t, s), l(t, i);
|
|
@@ -236,11 +236,11 @@ function Ft(a) {
|
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function Ft(a) {
|
|
240
240
|
let t, s, i, o;
|
|
241
241
|
return {
|
|
242
242
|
c() {
|
|
243
|
-
t =
|
|
243
|
+
t = b("svg"), s = b("circle"), i = b("text"), o = I("A"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#32b398"), e(s, "stroke-width", "2"), e(s, "class", "svelte-40f46w"), e(i, "x", "50%"), e(i, "y", "54%"), e(i, "text-anchor", "middle"), e(i, "dominant-baseline", "middle"), e(i, "font-size", "14"), e(i, "font-weight", "bold"), e(i, "fill", "#32b398"), e(i, "font-family", "Arial Rounded MT Bold, Arial, sans-serif"), e(i, "class", "svelte-40f46w"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-40f46w");
|
|
244
244
|
},
|
|
245
245
|
m(c, f) {
|
|
246
246
|
N(c, t, f), l(t, s), l(t, i), l(i, o);
|
|
@@ -257,34 +257,34 @@ function st(a) {
|
|
|
257
257
|
), o, c, f, u = (
|
|
258
258
|
/*transaction*/
|
|
259
259
|
a[24].Date + ""
|
|
260
|
-
), g, x, k,
|
|
260
|
+
), g, x, k, v = (
|
|
261
261
|
/*$_*/
|
|
262
262
|
a[5](`transactionType.${/*transaction*/
|
|
263
263
|
a[24].Type}`) + ""
|
|
264
|
-
), H, L, z, y, C,
|
|
264
|
+
), H, L, z, y, C, _, A, D = (
|
|
265
265
|
/*$_*/
|
|
266
266
|
a[5](`transactionStatus.${/*transaction*/
|
|
267
267
|
a[24].Status}`) + ""
|
|
268
|
-
), R,
|
|
268
|
+
), R, M, E, Y;
|
|
269
269
|
function P(n, r) {
|
|
270
270
|
if (
|
|
271
271
|
/*transaction*/
|
|
272
272
|
n[24].Status === /*TransactionMainStatus*/
|
|
273
273
|
n[4].Authorized
|
|
274
274
|
)
|
|
275
|
-
return
|
|
275
|
+
return Ft;
|
|
276
276
|
if (
|
|
277
277
|
/*transaction*/
|
|
278
278
|
n[24].Status === /*TransactionMainStatus*/
|
|
279
279
|
n[4].Failed
|
|
280
280
|
)
|
|
281
|
-
return
|
|
281
|
+
return At;
|
|
282
282
|
if (
|
|
283
283
|
/*transaction*/
|
|
284
284
|
n[24].Status === /*TransactionMainStatus*/
|
|
285
285
|
n[4].Pending
|
|
286
286
|
)
|
|
287
|
-
return
|
|
287
|
+
return It;
|
|
288
288
|
if (
|
|
289
289
|
/*transaction*/
|
|
290
290
|
n[24].Status === /*TransactionMainStatus*/
|
|
@@ -301,42 +301,42 @@ function st(a) {
|
|
|
301
301
|
let S = P(a), p = S && S(a);
|
|
302
302
|
return {
|
|
303
303
|
c() {
|
|
304
|
-
t =
|
|
304
|
+
t = m("tr"), s = m("td"), o = I(i), c = j(), f = m("td"), g = I(u), x = j(), k = m("td"), H = I(v), L = j(), z = m("td"), y = m("div"), C = m("span"), p && p.c(), _ = j(), A = m("span"), R = I(D), M = j(), e(s, "class", "CashierTransactionId svelte-40f46w"), K(
|
|
305
305
|
s,
|
|
306
306
|
"copied",
|
|
307
307
|
/*copied*/
|
|
308
308
|
a[3]
|
|
309
|
-
), e(f, "class", "svelte-40f46w"), e(k, "class", "svelte-40f46w"), e(C, "class", "CashierTransactionHistoryIcon svelte-40f46w"), e(
|
|
309
|
+
), e(f, "class", "svelte-40f46w"), e(k, "class", "svelte-40f46w"), e(C, "class", "CashierTransactionHistoryIcon svelte-40f46w"), e(A, "class", "CashierTransactionHistoryStatusText svelte-40f46w"), e(y, "class", "CashierTransactionHistoryStatus svelte-40f46w"), e(z, "class", "svelte-40f46w"), e(t, "class", "svelte-40f46w");
|
|
310
310
|
},
|
|
311
311
|
m(n, r) {
|
|
312
|
-
N(n, t, r), l(t, s), l(s, o), l(t, c), l(t, f), l(f, g), l(t, x), l(t, k), l(k, H), l(t, L), l(t, z), l(z, y), l(y, C), p && p.m(C, null), l(y,
|
|
312
|
+
N(n, t, r), l(t, s), l(s, o), l(t, c), l(t, f), l(f, g), l(t, x), l(t, k), l(k, H), l(t, L), l(t, z), l(z, y), l(y, C), p && p.m(C, null), l(y, _), l(y, A), l(A, R), l(t, M), E || (Y = pt(
|
|
313
313
|
s,
|
|
314
314
|
"mousedown",
|
|
315
315
|
/*mousedown_handler*/
|
|
316
316
|
a[15]
|
|
317
|
-
),
|
|
317
|
+
), E = !0);
|
|
318
318
|
},
|
|
319
319
|
p(n, r) {
|
|
320
320
|
r & /*txnHistory*/
|
|
321
321
|
4 && i !== (i = /*transaction*/
|
|
322
|
-
n[24].Code + "") &&
|
|
323
|
-
8 &&
|
|
322
|
+
n[24].Code + "") && B(o, i), r & /*copied*/
|
|
323
|
+
8 && K(
|
|
324
324
|
s,
|
|
325
325
|
"copied",
|
|
326
326
|
/*copied*/
|
|
327
327
|
n[3]
|
|
328
328
|
), r & /*txnHistory*/
|
|
329
329
|
4 && u !== (u = /*transaction*/
|
|
330
|
-
n[24].Date + "") &&
|
|
331
|
-
36 &&
|
|
330
|
+
n[24].Date + "") && B(g, u), r & /*$_, txnHistory*/
|
|
331
|
+
36 && v !== (v = /*$_*/
|
|
332
332
|
n[5](`transactionType.${/*transaction*/
|
|
333
|
-
n[24].Type}`) + "") &&
|
|
333
|
+
n[24].Type}`) + "") && B(H, v), S !== (S = P(n)) && (p && p.d(1), p = S && S(n), p && (p.c(), p.m(C, null))), r & /*$_, txnHistory*/
|
|
334
334
|
36 && D !== (D = /*$_*/
|
|
335
335
|
n[5](`transactionStatus.${/*transaction*/
|
|
336
|
-
n[24].Status}`) + "") &&
|
|
336
|
+
n[24].Status}`) + "") && B(R, D);
|
|
337
337
|
},
|
|
338
338
|
d(n) {
|
|
339
|
-
n && W(t), p && p.d(),
|
|
339
|
+
n && W(t), p && p.d(), E = !1, Y();
|
|
340
340
|
}
|
|
341
341
|
};
|
|
342
342
|
}
|
|
@@ -366,13 +366,13 @@ function jt(a) {
|
|
|
366
366
|
const Lt = "DD.MM.YYYY";
|
|
367
367
|
function Rt(a, t, s) {
|
|
368
368
|
let i;
|
|
369
|
-
rt(a,
|
|
370
|
-
let { endpoint: o } = t, { session: c } = t, { lang: f = "en" } = t, { customerid: u } = t, { clientstyling: g = "" } = t, { clientstylingurl: x = "" } = t, { translationurl: k } = t, { tooltipduration:
|
|
371
|
-
var
|
|
369
|
+
rt(a, bt, (n) => s(5, i = n));
|
|
370
|
+
let { endpoint: o } = t, { session: c } = t, { lang: f = "en" } = t, { customerid: u } = t, { clientstyling: g = "" } = t, { clientstylingurl: x = "" } = t, { translationurl: k } = t, { tooltipduration: v = 1e3 } = t, { txncount: H = 3 } = t, L = [], z = !1, y, C;
|
|
371
|
+
var _;
|
|
372
372
|
(function(n) {
|
|
373
373
|
n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
|
|
374
|
-
})(
|
|
375
|
-
const
|
|
374
|
+
})(_ || (_ = {}));
|
|
375
|
+
const A = [
|
|
376
376
|
"Authorized",
|
|
377
377
|
"Success",
|
|
378
378
|
"Failed",
|
|
@@ -402,9 +402,9 @@ function Rt(a, t, s) {
|
|
|
402
402
|
Object.keys(Z).forEach((n) => {
|
|
403
403
|
Q(n, Z[n]);
|
|
404
404
|
});
|
|
405
|
-
const
|
|
405
|
+
const M = () => {
|
|
406
406
|
kt(f);
|
|
407
|
-
},
|
|
407
|
+
}, E = () => {
|
|
408
408
|
const n = new URL(`${o}/api/v1/mm/payment/gettransactionshistory`), r = new Headers();
|
|
409
409
|
r.append("accept", "application/json"), r.append("Content-Type", "application/json"), r.append("X-SessionId", `${c}`);
|
|
410
410
|
const d = new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 3)).toISOString(), O = {
|
|
@@ -419,11 +419,11 @@ function Rt(a, t, s) {
|
|
|
419
419
|
fromDate: d,
|
|
420
420
|
toDate: null,
|
|
421
421
|
statuses: {
|
|
422
|
-
[
|
|
423
|
-
[
|
|
424
|
-
[
|
|
425
|
-
[
|
|
426
|
-
[
|
|
422
|
+
[_.Deposit]: A,
|
|
423
|
+
[_.Withdraw]: A,
|
|
424
|
+
[_.Refund]: ["Unknown"],
|
|
425
|
+
[_.TaxDeduction]: ["Unknown"],
|
|
426
|
+
[_.Unknown]: ["Unknown"]
|
|
427
427
|
},
|
|
428
428
|
calculateProfit: !1
|
|
429
429
|
})
|
|
@@ -458,16 +458,16 @@ function Rt(a, t, s) {
|
|
|
458
458
|
});
|
|
459
459
|
}
|
|
460
460
|
return a.$$set = (n) => {
|
|
461
|
-
"endpoint" in n && s(7, o = n.endpoint), "session" in n && s(8, c = n.session), "lang" in n && s(9, f = n.lang), "customerid" in n && s(10, u = n.customerid), "clientstyling" in n && s(11, g = n.clientstyling), "clientstylingurl" in n && s(12, x = n.clientstylingurl), "translationurl" in n && s(13, k = n.translationurl), "tooltipduration" in n && s(0,
|
|
461
|
+
"endpoint" in n && s(7, o = n.endpoint), "session" in n && s(8, c = n.session), "lang" in n && s(9, f = n.lang), "customerid" in n && s(10, u = n.customerid), "clientstyling" in n && s(11, g = n.clientstyling), "clientstylingurl" in n && s(12, x = n.clientstylingurl), "translationurl" in n && s(13, k = n.translationurl), "tooltipduration" in n && s(0, v = n.tooltipduration), "txncount" in n && s(14, H = n.txncount);
|
|
462
462
|
}, a.$$.update = () => {
|
|
463
463
|
a.$$.dirty & /*lang*/
|
|
464
|
-
512 && f &&
|
|
464
|
+
512 && f && M(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
465
465
|
2050 && g && y && Ct(y, g), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
466
466
|
4098 && x && y && St(y, x), a.$$.dirty & /*endpoint, session, customerid, lang*/
|
|
467
|
-
1920 && o && c && u && f &&
|
|
467
|
+
1920 && o && c && u && f && E(), a.$$.dirty & /*translationurl*/
|
|
468
468
|
8192 && k && R();
|
|
469
469
|
}, [
|
|
470
|
-
|
|
470
|
+
v,
|
|
471
471
|
y,
|
|
472
472
|
L,
|
|
473
473
|
z,
|
|
@@ -512,55 +512,55 @@ class Pt extends it {
|
|
|
512
512
|
return this.$$.ctx[7];
|
|
513
513
|
}
|
|
514
514
|
set endpoint(t) {
|
|
515
|
-
this.$$set({ endpoint: t }),
|
|
515
|
+
this.$$set({ endpoint: t }), U();
|
|
516
516
|
}
|
|
517
517
|
get session() {
|
|
518
518
|
return this.$$.ctx[8];
|
|
519
519
|
}
|
|
520
520
|
set session(t) {
|
|
521
|
-
this.$$set({ session: t }),
|
|
521
|
+
this.$$set({ session: t }), U();
|
|
522
522
|
}
|
|
523
523
|
get lang() {
|
|
524
524
|
return this.$$.ctx[9];
|
|
525
525
|
}
|
|
526
526
|
set lang(t) {
|
|
527
|
-
this.$$set({ lang: t }),
|
|
527
|
+
this.$$set({ lang: t }), U();
|
|
528
528
|
}
|
|
529
529
|
get customerid() {
|
|
530
530
|
return this.$$.ctx[10];
|
|
531
531
|
}
|
|
532
532
|
set customerid(t) {
|
|
533
|
-
this.$$set({ customerid: t }),
|
|
533
|
+
this.$$set({ customerid: t }), U();
|
|
534
534
|
}
|
|
535
535
|
get clientstyling() {
|
|
536
536
|
return this.$$.ctx[11];
|
|
537
537
|
}
|
|
538
538
|
set clientstyling(t) {
|
|
539
|
-
this.$$set({ clientstyling: t }),
|
|
539
|
+
this.$$set({ clientstyling: t }), U();
|
|
540
540
|
}
|
|
541
541
|
get clientstylingurl() {
|
|
542
542
|
return this.$$.ctx[12];
|
|
543
543
|
}
|
|
544
544
|
set clientstylingurl(t) {
|
|
545
|
-
this.$$set({ clientstylingurl: t }),
|
|
545
|
+
this.$$set({ clientstylingurl: t }), U();
|
|
546
546
|
}
|
|
547
547
|
get translationurl() {
|
|
548
548
|
return this.$$.ctx[13];
|
|
549
549
|
}
|
|
550
550
|
set translationurl(t) {
|
|
551
|
-
this.$$set({ translationurl: t }),
|
|
551
|
+
this.$$set({ translationurl: t }), U();
|
|
552
552
|
}
|
|
553
553
|
get tooltipduration() {
|
|
554
554
|
return this.$$.ctx[0];
|
|
555
555
|
}
|
|
556
556
|
set tooltipduration(t) {
|
|
557
|
-
this.$$set({ tooltipduration: t }),
|
|
557
|
+
this.$$set({ tooltipduration: t }), U();
|
|
558
558
|
}
|
|
559
559
|
get txncount() {
|
|
560
560
|
return this.$$.ctx[14];
|
|
561
561
|
}
|
|
562
562
|
set txncount(t) {
|
|
563
|
-
this.$$set({ txncount: t }),
|
|
563
|
+
this.$$set({ txncount: t }), U();
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
gt(Pt, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {} }, [], [], !0);
|