@everymatrix/transaction-history-page 1.94.20 → 1.94.21
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-Dps45bvD.js → CashierHeader-BgqP6o2n.js} +55 -55
- package/components/{CashierHeader-VqZlMcfQ.js → CashierHeader-C9skgg6K.js} +55 -55
- package/components/{CashierPagination-BYioBqtX.js → CashierPagination-BQ0zM1HT.js} +62 -62
- package/components/{CashierPagination-Di8e36mu.js → CashierPagination-Dpx1Uv8X.js} +62 -62
- package/components/{CashierTransactionHistory-BiO97ypE.js → CashierTransactionHistory-BhMvKM0C.js} +47 -47
- package/components/{CashierTransactionHistory-Dm01enLA.js → CashierTransactionHistory-iVlcX-Nv.js} +47 -47
- package/components/{EmptyStateIcon-BsSYyOsP.js → EmptyStateIcon-Dn2bi74b.js} +9 -9
- package/components/{EmptyStateIcon-DqL4WP6H.js → EmptyStateIcon-H4iJ6uD7.js} +9 -9
- package/components/{Tooltip-CFY6iS7-.js → Tooltip-CicO5Q6_.js} +44 -44
- package/components/{Tooltip-DZhYNp1G.js → Tooltip-iRopEMp5.js} +44 -44
- package/components/{TransactionHistoryCalendar-CzYQKXmO.js → TransactionHistoryCalendar-CVb20KqS.js} +147 -147
- package/components/{TransactionHistoryCalendar-D5Q2U7XO.js → TransactionHistoryCalendar-CZNUV-hJ.js} +145 -145
- package/components/{TransactionHistoryPage-DKucg38h.js → TransactionHistoryPage-B39MIcDN.js} +13 -13
- package/components/{TransactionHistoryPage-tlq1gO6r.js → TransactionHistoryPage-B77vRMCe.js} +13 -13
- package/components/{TxnStatusIcon-Bb5wsYIO.js → TxnStatusIcon-CTkF3uAv.js} +14 -14
- package/components/{TxnStatusIcon-BsZdm_Ye.js → TxnStatusIcon-Dn0Hqt1J.js} +14 -14
- package/components/{TxnTypeIcons-Bq5P9BSU.js → TxnTypeIcons-BT0RQXu_.js} +4 -4
- package/components/{TxnTypeIcons-DIEqbi-_.js → TxnTypeIcons-Cq8oOZVY.js} +4 -4
- package/es2015/transaction-history-page.js +1 -1
- package/esnext/transaction-history-page.js +1 -1
- package/package.json +1 -1
package/components/{CashierTransactionHistory-BiO97ypE.js → CashierTransactionHistory-BhMvKM0C.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { K as it, S as at, i as lt, s as nt, j as z, k as rt, d as R, t as B, m as F, p as ye, q as _e, a as A, v as h, f as m, y as ot, z as ct, L as $, M as He, A as H, N as ee, b as r, w as S, B as w, n as M, o as Z, D as ut, O as mt, P as Qe, Q as Ze, C as Ae, I as $e, R as ke, U as Pe, e as De, l as et, u as tt, x as st, c as dt } from "./Tooltip-CicO5Q6_.js";
|
|
2
|
+
import { a as ft, $ as pt, i as ht, f as te, s as vt, b as gt, c as xt, d as yt } from "./TransactionHistoryPage-B39MIcDN.js";
|
|
3
3
|
import "../stencil/ui-image-CP8Lp7fB.js";
|
|
4
|
-
import { T as _t } from "./TxnTypeIcons-
|
|
5
|
-
import { T as qt } from "./TxnStatusIcon-
|
|
4
|
+
import { T as _t } from "./TxnTypeIcons-BT0RQXu_.js";
|
|
5
|
+
import { T as qt } from "./TxnStatusIcon-Dn0Hqt1J.js";
|
|
6
6
|
function Fe(i, { delay: e = 0, duration: s = 400, easing: t = it } = {}) {
|
|
7
7
|
const a = +getComputedStyle(i).opacity;
|
|
8
8
|
return {
|
|
@@ -101,11 +101,11 @@ const Ne = {
|
|
|
101
101
|
function wt(i) {
|
|
102
102
|
rt(i, "svelte-1xsmrqu", '.svelte-1xsmrqu.svelte-1xsmrqu,.svelte-1xsmrqu.svelte-1xsmrqu::before,.svelte-1xsmrqu.svelte-1xsmrqu::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1xsmrqu.svelte-1xsmrqu{width:50%;max-width:400px;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, rgba(249, 196, 5, 0.6078431373));transform:translateX(-50%);color:var(--emw--color-typography-button, #000000);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:2;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2)}.CashierTransactionHistoryContainer.svelte-1xsmrqu.svelte-1xsmrqu{position:relative;width:calc(100% - 20px);margin:auto}.CashierTransactionHistory.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1xsmrqu thead tr.svelte-1xsmrqu{color:var(--emw--color-primary, #F9C405);font-size:12px;height:50px;background-color:rgba(255, 255, 255, 0.05)}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:12px;font-weight:200}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu:not(:last-child):not(.Expanded){border-bottom:1px solid rgba(232, 233, 235, 0.2117647059)}.CashierTransactionHistory.svelte-1xsmrqu .TypeIcon.svelte-1xsmrqu{display:flex}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon svg.svelte-1xsmrqu{flex:0 0 auto;width:18px;height:18px}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon span.svelte-1xsmrqu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:80px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{max-width:250px;vertical-align:middle;height:40px;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu td:last-child .CashierTransactionHistoryStatusText.svelte-1xsmrqu{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:first-child{text-align:left;border-radius:10px 0 0 10px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:last-child{border-radius:0 10px 10px 0}.CashierTransactionHistory.svelte-1xsmrqu td .ExpandedContent.svelte-1xsmrqu{line-height:100%}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu{position:relative}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu:not(.ExpandedRow):not(.CashierTransactionHistoryHeader):not(.AllowExpand):hover{background:var(--emw--color-gray-50, #F7F8FA)}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1xsmrqu .CopyTooltip.svelte-1xsmrqu{width:100%}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:has(.Code){max-width:135px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1xsmrqu .CashierTransactionHistoryWrapper.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.column-TypeIcon.svelte-1xsmrqu:first-child{width:40px;text-align:left}.CashierTransactionHistory.svelte-1xsmrqu td.column-Code.svelte-1xsmrqu:first-child{max-width:60px;text-align:left}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{table-layout:fixed}.CashierTransactionHistory.svelte-1xsmrqu table td.svelte-1xsmrqu{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:100%;box-sizing:border-box;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:10px;z-index:1}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-black, #000000) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 60%, var(--emw--color-white, #f5f5f5) 95%);opacity:0.2}.CashierTransactionHistoryTitle.svelte-1xsmrqu.svelte-1xsmrqu{display:none;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.Code.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;line-height:inherit;display:inline}.StatusIcon.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-x-small, 6px)}.StatusIcon.svelte-1xsmrqu .StatusIconText.svelte-1xsmrqu{width:100px}.CashierTransactionHistoryStatus.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;gap:5px}.Amount.Withdraw.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"-"}.Amount.Deposit.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"+"}.Amount.Deposit.Success.svelte-1xsmrqu.svelte-1xsmrqu{color:var(--emw--color-primary-dark, #4b975d)}.CashierTransactionHistoryStatusText.svelte-1xsmrqu.svelte-1xsmrqu{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1xsmrqu.svelte-1xsmrqu{width:100%;overflow:auto}.CashierTransactionHistoryIcon.svelte-1xsmrqu.svelte-1xsmrqu{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}.TransactionHistoryRow.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer}.ShortHistory.svelte-1xsmrqu .CashierTransactionHistoryTitle.svelte-1xsmrqu{display:inline-block;margin:10px;font-weight:500}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu{cursor:auto}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu:hover{background:unset}.ExpandedContent.svelte-1xsmrqu.svelte-1xsmrqu{padding:var(--emw--spacing-large, 30px) var(--emw--spacing-small, 12px);position:relative;display:flex;flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.ExpandedContent.svelte-1xsmrqu .DetailsLogo.svelte-1xsmrqu{width:65px;position:absolute;top:var(--emw--spacing-large, 30px);right:var(--emw--spacing-small, 12px)}.StaticDetails.svelte-1xsmrqu.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;gap:var(--emw--spacing-small, 12px);width:100%}.StaticDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);padding-right:6px}.StaticDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 12px);font-weight:200;white-space:normal;overflow-wrap:break-word;max-width:100%;word-break:normal}.DetailsRow.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;flex-wrap:wrap;word-break:normal;overflow-wrap:break-word;white-space:normal}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code){max-width:250px}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code):hover{background:rgba(255, 255, 255, 0.2);border-radius:10px}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu{display:inline-flex;gap:6px;align-items:center;cursor:pointer;border-radius:var(--mmw--border-radius-medium-plus, 6px);padding:4px 6px;max-width:60%}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu:hover{background:var(--emw--color-primary, rgba(249, 196, 5, 0.4117647059))}.CopyCode.svelte-1xsmrqu span.svelte-1xsmrqu{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.CopyCode.svelte-1xsmrqu svg.svelte-1xsmrqu{flex-shrink:0}');
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Le(i, e, s) {
|
|
105
105
|
const t = i.slice();
|
|
106
106
|
return t[45] = e[s], t[47] = s, t;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Ee(i, e, s) {
|
|
109
109
|
const t = i.slice();
|
|
110
110
|
return t[48] = e[s][0], t[49] = e[s][1], t;
|
|
111
111
|
}
|
|
@@ -176,7 +176,7 @@ function Ct(i) {
|
|
|
176
176
|
i[7]
|
|
177
177
|
), b = [];
|
|
178
178
|
for (let p = 0; p < N.length; p += 1)
|
|
179
|
-
b[p] = Ke(
|
|
179
|
+
b[p] = Ke(Le(i, N, p));
|
|
180
180
|
const se = (p) => B(b[p], 1, 1, () => {
|
|
181
181
|
b[p] = null;
|
|
182
182
|
});
|
|
@@ -234,7 +234,7 @@ function Ct(i) {
|
|
|
234
234
|
);
|
|
235
235
|
let v;
|
|
236
236
|
for (v = 0; v < N.length; v += 1) {
|
|
237
|
-
const V =
|
|
237
|
+
const V = Le(p, N, v);
|
|
238
238
|
b[v] ? (b[v].p(V, C), F(b[v], 1)) : (b[v] = Ke(V), b[v].c(), F(b[v], 1), b[v].m(x, null));
|
|
239
239
|
}
|
|
240
240
|
for (ye(), v = N.length; v < b.length; v += 1)
|
|
@@ -708,10 +708,10 @@ function Be(i) {
|
|
|
708
708
|
).format(
|
|
709
709
|
/*datetimeformat*/
|
|
710
710
|
i[5]
|
|
711
|
-
) + "", v, V,
|
|
711
|
+
) + "", v, V, L, J, re = (
|
|
712
712
|
/*$_*/
|
|
713
713
|
i[12]("transactionPaymentMethodTitle") + ""
|
|
714
|
-
), ie, pe, he,
|
|
714
|
+
), ie, pe, he, G, W = (
|
|
715
715
|
/*transaction*/
|
|
716
716
|
i[45].PaymentMethod + ""
|
|
717
717
|
), oe, ce, K, ae, ue = (
|
|
@@ -720,58 +720,58 @@ function Be(i) {
|
|
|
720
720
|
), ve, qe, me, Y, de, fe = (
|
|
721
721
|
/*transaction*/
|
|
722
722
|
i[45].Code + ""
|
|
723
|
-
), ge, Te,
|
|
723
|
+
), ge, Te, X, Q, n, y, j, I, le, xe, je, we, ne, be, Se, Ce, Ie, Re, ze, O = (
|
|
724
724
|
/*transaction*/
|
|
725
|
-
i[45].RejectionNote &&
|
|
725
|
+
i[45].RejectionNote && Xe(i)
|
|
726
726
|
), U = (
|
|
727
727
|
/*transaction*/
|
|
728
|
-
i[45].PaymentFields &&
|
|
728
|
+
i[45].PaymentFields && Ge(i)
|
|
729
729
|
);
|
|
730
730
|
return {
|
|
731
731
|
c() {
|
|
732
|
-
e = h("tr"), s = h("td"), t = h("div"), a = h("div"), c = h("div"), u = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), P = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(),
|
|
732
|
+
e = h("tr"), s = h("td"), t = h("div"), a = h("div"), c = h("div"), u = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), P = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(), L = h("div"), J = h("span"), ie = w(re), pe = w(" :"), he = S(), G = h("span"), oe = w(W), ce = S(), K = h("div"), ae = h("span"), ve = w(ue), qe = w(" :"), me = S(), Y = h("span"), de = h("span"), ge = w(fe), Te = S(), X = De("svg"), Q = De("g"), n = De("path"), y = De("path"), I = S(), O && O.c(), le = S(), xe = h("div"), U && U.c(), je = S(), we = h("div"), ne = h("ui-image"), Ie = S(), m(u, "class", "DetailsTitle svelte-1xsmrqu"), m(f, "class", "DetailsValue svelte-1xsmrqu"), m(c, "class", "DetailsRow svelte-1xsmrqu"), m(P, "class", "DetailsTitle svelte-1xsmrqu"), m(p, "class", "DetailsValue svelte-1xsmrqu"), m(T, "class", "DetailsRow svelte-1xsmrqu"), m(J, "class", "DetailsTitle svelte-1xsmrqu"), m(G, "class", "DetailsValue svelte-1xsmrqu"), m(L, "class", "DetailsRow svelte-1xsmrqu"), m(ae, "class", "DetailsTitle svelte-1xsmrqu"), m(de, "class", "svelte-1xsmrqu"), m(n, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), m(n, "stroke", "#666666"), m(n, "stroke-linecap", "round"), m(n, "stroke-linejoin", "round"), m(n, "class", "svelte-1xsmrqu"), m(y, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), m(y, "stroke", "#666666"), m(y, "stroke-linecap", "round"), m(y, "stroke-linejoin", "round"), m(y, "class", "svelte-1xsmrqu"), m(Q, "opacity", "0.5"), m(Q, "class", "svelte-1xsmrqu"), m(X, "xmlns", "http://www.w3.org/2000/svg"), m(X, "width", "19"), m(X, "height", "19"), m(X, "viewBox", "0 0 19 19"), m(X, "fill", "none"), m(X, "class", "svelte-1xsmrqu"), m(Y, "data-copy", j = /*transaction*/
|
|
733
733
|
i[45].Code), m(Y, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(K, "class", "DetailsRow svelte-1xsmrqu"), m(a, "class", "StaticDetails svelte-1xsmrqu"), m(xe, "class", "DynamicDetails svelte-1xsmrqu"), Pe(ne.src, be = /*transaction*/
|
|
734
734
|
i[45].Logo) || Z(ne, "src", be), Z(ne, "class", "svelte-1xsmrqu"), m(we, "class", "DetailsLogo svelte-1xsmrqu"), m(t, "class", "ExpandedContent svelte-1xsmrqu"), m(s, "colspan", Ce = /*tableColumns*/
|
|
735
735
|
i[10].length), m(s, "class", "no-padding svelte-1xsmrqu"), m(e, "class", "ExpandedRow svelte-1xsmrqu");
|
|
736
736
|
},
|
|
737
|
-
m(D,
|
|
738
|
-
A(D, e,
|
|
737
|
+
m(D, E) {
|
|
738
|
+
A(D, e, E), r(e, s), r(s, t), r(t, a), r(a, c), r(c, u), r(u, l), r(u, g), r(c, q), r(c, f), r(f, x), r(a, _), r(a, T), r(T, P), r(P, N), r(P, b), r(T, se), r(T, p), r(p, v), r(a, V), r(a, L), r(L, J), r(J, ie), r(J, pe), r(L, he), r(L, G), r(G, oe), r(a, ce), r(a, K), r(K, ae), r(ae, ve), r(ae, qe), r(K, me), r(K, Y), r(Y, de), r(de, ge), r(Y, Te), r(Y, X), r(X, Q), r(Q, n), r(Q, y), r(a, I), O && O.m(a, null), r(t, le), r(t, xe), U && U.m(xe, null), r(t, je), r(t, we), r(we, ne), r(e, Ie), Re || (ze = Ae(
|
|
739
739
|
Y,
|
|
740
740
|
"mousedown",
|
|
741
741
|
/*mousedown_handler*/
|
|
742
742
|
i[31]
|
|
743
743
|
), Re = !0);
|
|
744
744
|
},
|
|
745
|
-
p(D,
|
|
746
|
-
|
|
745
|
+
p(D, E) {
|
|
746
|
+
E[0] & /*$_*/
|
|
747
747
|
4096 && o !== (o = /*$_*/
|
|
748
|
-
D[12]("transactionTypeTitle") + "") && H(l, o),
|
|
748
|
+
D[12]("transactionTypeTitle") + "") && H(l, o), E[0] & /*$_, txnHistory*/
|
|
749
749
|
4224 && d !== (d = /*$_*/
|
|
750
750
|
D[12](`transactionType.${/*transaction*/
|
|
751
|
-
D[45].Type}`) + "") && H(x, d),
|
|
751
|
+
D[45].Type}`) + "") && H(x, d), E[0] & /*$_*/
|
|
752
752
|
4096 && k !== (k = /*$_*/
|
|
753
|
-
D[12]("transactionDateTitle") + "") && H(N, k),
|
|
753
|
+
D[12]("transactionDateTitle") + "") && H(N, k), E[0] & /*txnHistory, datetimeformat*/
|
|
754
754
|
160 && C !== (C = te(
|
|
755
755
|
/*transaction*/
|
|
756
756
|
D[45].DateTime
|
|
757
757
|
).format(
|
|
758
758
|
/*datetimeformat*/
|
|
759
759
|
D[5]
|
|
760
|
-
) + "") && H(v, C),
|
|
760
|
+
) + "") && H(v, C), E[0] & /*$_*/
|
|
761
761
|
4096 && re !== (re = /*$_*/
|
|
762
|
-
D[12]("transactionPaymentMethodTitle") + "") && H(ie, re),
|
|
762
|
+
D[12]("transactionPaymentMethodTitle") + "") && H(ie, re), E[0] & /*txnHistory*/
|
|
763
763
|
128 && W !== (W = /*transaction*/
|
|
764
|
-
D[45].PaymentMethod + "") && H(oe, W),
|
|
764
|
+
D[45].PaymentMethod + "") && H(oe, W), E[0] & /*$_*/
|
|
765
765
|
4096 && ue !== (ue = /*$_*/
|
|
766
|
-
D[12]("transactionCodeTitle") + "") && H(ve, ue),
|
|
766
|
+
D[12]("transactionCodeTitle") + "") && H(ve, ue), E[0] & /*txnHistory*/
|
|
767
767
|
128 && fe !== (fe = /*transaction*/
|
|
768
|
-
D[45].Code + "") && H(ge, fe),
|
|
768
|
+
D[45].Code + "") && H(ge, fe), E[0] & /*txnHistory*/
|
|
769
769
|
128 && j !== (j = /*transaction*/
|
|
770
770
|
D[45].Code) && m(Y, "data-copy", j), /*transaction*/
|
|
771
|
-
D[45].RejectionNote ? O ? O.p(D,
|
|
772
|
-
D[45].PaymentFields ? U ? U.p(D,
|
|
771
|
+
D[45].RejectionNote ? O ? O.p(D, E) : (O = Xe(D), O.c(), O.m(a, null)) : O && (O.d(1), O = null), /*transaction*/
|
|
772
|
+
D[45].PaymentFields ? U ? U.p(D, E) : (U = Ge(D), U.c(), U.m(xe, null)) : U && (U.d(1), U = null), E[0] & /*txnHistory*/
|
|
773
773
|
128 && !Pe(ne.src, be = /*transaction*/
|
|
774
|
-
D[45].Logo) && Z(ne, "src", be),
|
|
774
|
+
D[45].Logo) && Z(ne, "src", be), E[0] & /*tableColumns*/
|
|
775
775
|
1024 && Ce !== (Ce = /*tableColumns*/
|
|
776
776
|
D[10].length) && m(s, "colspan", Ce);
|
|
777
777
|
},
|
|
@@ -791,7 +791,7 @@ function Be(i) {
|
|
|
791
791
|
}
|
|
792
792
|
};
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Xe(i) {
|
|
795
795
|
let e, s, t = (
|
|
796
796
|
/*$_*/
|
|
797
797
|
i[12]("transactionRejectionNoteTitle") + ""
|
|
@@ -818,13 +818,13 @@ function Ge(i) {
|
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Ge(i) {
|
|
822
822
|
let e, s = $(Object.entries(
|
|
823
823
|
/*transaction*/
|
|
824
824
|
i[45].PaymentFields
|
|
825
825
|
)), t = [];
|
|
826
826
|
for (let a = 0; a < s.length; a += 1)
|
|
827
|
-
t[a] =
|
|
827
|
+
t[a] = Je(Ee(i, s, a));
|
|
828
828
|
return {
|
|
829
829
|
c() {
|
|
830
830
|
for (let a = 0; a < t.length; a += 1)
|
|
@@ -845,8 +845,8 @@ function Je(i) {
|
|
|
845
845
|
));
|
|
846
846
|
let u;
|
|
847
847
|
for (u = 0; u < s.length; u += 1) {
|
|
848
|
-
const o =
|
|
849
|
-
t[u] ? t[u].p(o, c) : (t[u] =
|
|
848
|
+
const o = Ee(a, s, u);
|
|
849
|
+
t[u] ? t[u].p(o, c) : (t[u] = Je(o), t[u].c(), t[u].m(e.parentNode, e));
|
|
850
850
|
}
|
|
851
851
|
for (; u < t.length; u += 1)
|
|
852
852
|
t[u].d(1);
|
|
@@ -858,7 +858,7 @@ function Je(i) {
|
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Je(i) {
|
|
862
862
|
let e, s, t = (
|
|
863
863
|
/*$_*/
|
|
864
864
|
i[12](`transaction${/*key*/
|
|
@@ -1032,7 +1032,7 @@ function Pt(i) {
|
|
|
1032
1032
|
function Ft(i, e, s) {
|
|
1033
1033
|
let t;
|
|
1034
1034
|
ot(i, yt, (n) => s(12, t = n));
|
|
1035
|
-
let { endpoint: a } = e, { session: c } = e, { lang: u = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: P = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1,
|
|
1035
|
+
let { endpoint: a } = e, { session: c } = e, { lang: u = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: P = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1, L, J, re, ie = !1, pe = [], he = [], G;
|
|
1036
1036
|
var W;
|
|
1037
1037
|
(function(n) {
|
|
1038
1038
|
n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
|
|
@@ -1102,7 +1102,7 @@ function Ft(i, e, s) {
|
|
|
1102
1102
|
};
|
|
1103
1103
|
P === "true" && (le.statistic = I.statistic), window.postMessage(le, window.location.href);
|
|
1104
1104
|
}).catch((I) => console.log(I)).finally(() => s(9, ie = !1));
|
|
1105
|
-
}, ve = (n) => (s(10, he = _.split(",")), s(11,
|
|
1105
|
+
}, ve = (n) => (s(10, he = _.split(",")), s(11, G = null), n.map((y) => {
|
|
1106
1106
|
let j = y.generalFields.status;
|
|
1107
1107
|
return y.generalFields.status.toLowerCase().includes("pending") && (j = ce.Pending), {
|
|
1108
1108
|
Code: y.generalFields.code,
|
|
@@ -1125,7 +1125,7 @@ function Ft(i, e, s) {
|
|
|
1125
1125
|
}, me = (n, y = !0) => {
|
|
1126
1126
|
const I = n.currentTarget.dataset.copy;
|
|
1127
1127
|
I && navigator.clipboard.writeText(I).then(() => {
|
|
1128
|
-
y && (s(8, V = !0), clearTimeout(
|
|
1128
|
+
y && (s(8, V = !0), clearTimeout(J), J = setTimeout(
|
|
1129
1129
|
() => {
|
|
1130
1130
|
s(8, V = !1);
|
|
1131
1131
|
},
|
|
@@ -1135,17 +1135,17 @@ function Ft(i, e, s) {
|
|
|
1135
1135
|
console.error("Could not copy text: ", le);
|
|
1136
1136
|
});
|
|
1137
1137
|
}, Y = (n) => {
|
|
1138
|
-
b !== "true" && s(11,
|
|
1138
|
+
b !== "true" && s(11, G = G === n ? null : n);
|
|
1139
1139
|
}, de = (n, y) => ({
|
|
1140
1140
|
delay: 0,
|
|
1141
1141
|
duration: 250,
|
|
1142
1142
|
css: (j) => `overflow: hidden; transform: translateY(${(1 - j) * 20}px); opacity: ${j}`
|
|
1143
1143
|
}), fe = () => {
|
|
1144
1144
|
C.length > 0 && (pe = C.split(","));
|
|
1145
|
-
}, ge = (n) => me(n), Te = (n) => Y(n),
|
|
1145
|
+
}, ge = (n) => me(n), Te = (n) => Y(n), X = (n) => me(n, !1);
|
|
1146
1146
|
function Q(n) {
|
|
1147
1147
|
ut[n ? "unshift" : "push"](() => {
|
|
1148
|
-
|
|
1148
|
+
L = n, s(6, L);
|
|
1149
1149
|
});
|
|
1150
1150
|
}
|
|
1151
1151
|
return i.$$set = (n) => {
|
|
@@ -1153,11 +1153,11 @@ function Ft(i, e, s) {
|
|
|
1153
1153
|
}, i.$$.update = () => {
|
|
1154
1154
|
i.$$.dirty[0] & /*lang*/
|
|
1155
1155
|
262144 && u && ae(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1156
|
-
65 && l &&
|
|
1157
|
-
66 && g &&
|
|
1156
|
+
65 && l && L && vt(L, l), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1157
|
+
66 && g && L && gt(L, g), i.$$.dirty[0] & /*endpoint, session, customerid, lang, fromdate, todate, page, calculateprofit*/
|
|
1158
1158
|
252641280 && a && c && o && u && k && N && T && P && ue(), i.$$.dirty[0] & /*translationurl*/
|
|
1159
1159
|
1048576 && q && K(), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1160
|
-
4194368 && x &&
|
|
1160
|
+
4194368 && x && L && xt(L, `${x}.Style`, re), i.$$.dirty[0] & /*userroles*/
|
|
1161
1161
|
268435456 && C && fe();
|
|
1162
1162
|
}, [
|
|
1163
1163
|
l,
|
|
@@ -1166,12 +1166,12 @@ function Ft(i, e, s) {
|
|
|
1166
1166
|
b,
|
|
1167
1167
|
se,
|
|
1168
1168
|
p,
|
|
1169
|
-
|
|
1169
|
+
L,
|
|
1170
1170
|
v,
|
|
1171
1171
|
V,
|
|
1172
1172
|
ie,
|
|
1173
1173
|
he,
|
|
1174
|
-
|
|
1174
|
+
G,
|
|
1175
1175
|
t,
|
|
1176
1176
|
me,
|
|
1177
1177
|
Y,
|
|
@@ -1191,7 +1191,7 @@ function Ft(i, e, s) {
|
|
|
1191
1191
|
C,
|
|
1192
1192
|
ge,
|
|
1193
1193
|
Te,
|
|
1194
|
-
|
|
1194
|
+
X,
|
|
1195
1195
|
Q
|
|
1196
1196
|
];
|
|
1197
1197
|
}
|
package/components/{CashierTransactionHistory-Dm01enLA.js → CashierTransactionHistory-iVlcX-Nv.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { K as it, S as at, i as lt, s as nt, j as I, k as rt, d as R, t as B, m as P, p as ye, q as _e, a as A, v as h, f as m, y as ot, z as ct, L as $, M as He, A as H, N as ee, b as r, w as S, B as w, n as M, o as Z, D as ut, O as mt, P as Qe, Q as Ze, C as Ae, I as $e, R as ke, U as Pe, e as De, l as et, u as tt, x as st, c as dt } from "./Tooltip-iRopEMp5.js";
|
|
2
|
+
import { a as ft, $ as pt, i as ht, f as te, s as vt, b as gt, c as xt, d as yt } from "./TransactionHistoryPage-B77vRMCe.js";
|
|
3
3
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
4
|
-
import { T as _t } from "./TxnTypeIcons-
|
|
5
|
-
import { T as qt } from "./TxnStatusIcon-
|
|
4
|
+
import { T as _t } from "./TxnTypeIcons-Cq8oOZVY.js";
|
|
5
|
+
import { T as qt } from "./TxnStatusIcon-CTkF3uAv.js";
|
|
6
6
|
function Fe(i, { delay: e = 0, duration: s = 400, easing: t = it } = {}) {
|
|
7
7
|
const a = +getComputedStyle(i).opacity;
|
|
8
8
|
return {
|
|
@@ -101,11 +101,11 @@ const Ne = {
|
|
|
101
101
|
function wt(i) {
|
|
102
102
|
rt(i, "svelte-1xsmrqu", '.svelte-1xsmrqu.svelte-1xsmrqu,.svelte-1xsmrqu.svelte-1xsmrqu::before,.svelte-1xsmrqu.svelte-1xsmrqu::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1xsmrqu.svelte-1xsmrqu{width:50%;max-width:400px;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, rgba(249, 196, 5, 0.6078431373));transform:translateX(-50%);color:var(--emw--color-typography-button, #000000);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:2;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2)}.CashierTransactionHistoryContainer.svelte-1xsmrqu.svelte-1xsmrqu{position:relative;width:calc(100% - 20px);margin:auto}.CashierTransactionHistory.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1xsmrqu thead tr.svelte-1xsmrqu{color:var(--emw--color-primary, #F9C405);font-size:12px;height:50px;background-color:rgba(255, 255, 255, 0.05)}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:12px;font-weight:200}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu:not(:last-child):not(.Expanded){border-bottom:1px solid rgba(232, 233, 235, 0.2117647059)}.CashierTransactionHistory.svelte-1xsmrqu .TypeIcon.svelte-1xsmrqu{display:flex}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon svg.svelte-1xsmrqu{flex:0 0 auto;width:18px;height:18px}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon span.svelte-1xsmrqu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:80px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{max-width:250px;vertical-align:middle;height:40px;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu td:last-child .CashierTransactionHistoryStatusText.svelte-1xsmrqu{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:first-child{text-align:left;border-radius:10px 0 0 10px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:last-child{border-radius:0 10px 10px 0}.CashierTransactionHistory.svelte-1xsmrqu td .ExpandedContent.svelte-1xsmrqu{line-height:100%}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu{position:relative}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu:not(.ExpandedRow):not(.CashierTransactionHistoryHeader):not(.AllowExpand):hover{background:var(--emw--color-gray-50, #F7F8FA)}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1xsmrqu .CopyTooltip.svelte-1xsmrqu{width:100%}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:has(.Code){max-width:135px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1xsmrqu .CashierTransactionHistoryWrapper.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.column-TypeIcon.svelte-1xsmrqu:first-child{width:40px;text-align:left}.CashierTransactionHistory.svelte-1xsmrqu td.column-Code.svelte-1xsmrqu:first-child{max-width:60px;text-align:left}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{table-layout:fixed}.CashierTransactionHistory.svelte-1xsmrqu table td.svelte-1xsmrqu{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:100%;box-sizing:border-box;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:10px;z-index:1}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-black, #000000) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 60%, var(--emw--color-white, #f5f5f5) 95%);opacity:0.2}.CashierTransactionHistoryTitle.svelte-1xsmrqu.svelte-1xsmrqu{display:none;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.Code.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;line-height:inherit;display:inline}.StatusIcon.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-x-small, 6px)}.StatusIcon.svelte-1xsmrqu .StatusIconText.svelte-1xsmrqu{width:100px}.CashierTransactionHistoryStatus.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;gap:5px}.Amount.Withdraw.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"-"}.Amount.Deposit.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"+"}.Amount.Deposit.Success.svelte-1xsmrqu.svelte-1xsmrqu{color:var(--emw--color-primary-dark, #4b975d)}.CashierTransactionHistoryStatusText.svelte-1xsmrqu.svelte-1xsmrqu{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1xsmrqu.svelte-1xsmrqu{width:100%;overflow:auto}.CashierTransactionHistoryIcon.svelte-1xsmrqu.svelte-1xsmrqu{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}.TransactionHistoryRow.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer}.ShortHistory.svelte-1xsmrqu .CashierTransactionHistoryTitle.svelte-1xsmrqu{display:inline-block;margin:10px;font-weight:500}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu{cursor:auto}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu:hover{background:unset}.ExpandedContent.svelte-1xsmrqu.svelte-1xsmrqu{padding:var(--emw--spacing-large, 30px) var(--emw--spacing-small, 12px);position:relative;display:flex;flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.ExpandedContent.svelte-1xsmrqu .DetailsLogo.svelte-1xsmrqu{width:65px;position:absolute;top:var(--emw--spacing-large, 30px);right:var(--emw--spacing-small, 12px)}.StaticDetails.svelte-1xsmrqu.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;gap:var(--emw--spacing-small, 12px);width:100%}.StaticDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);padding-right:6px}.StaticDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 12px);font-weight:200;white-space:normal;overflow-wrap:break-word;max-width:100%;word-break:normal}.DetailsRow.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;flex-wrap:wrap;word-break:normal;overflow-wrap:break-word;white-space:normal}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code){max-width:250px}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code):hover{background:rgba(255, 255, 255, 0.2);border-radius:10px}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu{display:inline-flex;gap:6px;align-items:center;cursor:pointer;border-radius:var(--mmw--border-radius-medium-plus, 6px);padding:4px 6px;max-width:60%}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu:hover{background:var(--emw--color-primary, rgba(249, 196, 5, 0.4117647059))}.CopyCode.svelte-1xsmrqu span.svelte-1xsmrqu{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.CopyCode.svelte-1xsmrqu svg.svelte-1xsmrqu{flex-shrink:0}');
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Le(i, e, s) {
|
|
105
105
|
const t = i.slice();
|
|
106
106
|
return t[45] = e[s], t[47] = s, t;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function Ee(i, e, s) {
|
|
109
109
|
const t = i.slice();
|
|
110
110
|
return t[48] = e[s][0], t[49] = e[s][1], t;
|
|
111
111
|
}
|
|
@@ -176,7 +176,7 @@ function Ct(i) {
|
|
|
176
176
|
i[7]
|
|
177
177
|
), b = [];
|
|
178
178
|
for (let p = 0; p < N.length; p += 1)
|
|
179
|
-
b[p] = Ke(
|
|
179
|
+
b[p] = Ke(Le(i, N, p));
|
|
180
180
|
const se = (p) => B(b[p], 1, 1, () => {
|
|
181
181
|
b[p] = null;
|
|
182
182
|
});
|
|
@@ -234,7 +234,7 @@ function Ct(i) {
|
|
|
234
234
|
);
|
|
235
235
|
let v;
|
|
236
236
|
for (v = 0; v < N.length; v += 1) {
|
|
237
|
-
const V =
|
|
237
|
+
const V = Le(p, N, v);
|
|
238
238
|
b[v] ? (b[v].p(V, C), P(b[v], 1)) : (b[v] = Ke(V), b[v].c(), P(b[v], 1), b[v].m(x, null));
|
|
239
239
|
}
|
|
240
240
|
for (ye(), v = N.length; v < b.length; v += 1)
|
|
@@ -708,10 +708,10 @@ function Be(i) {
|
|
|
708
708
|
).format(
|
|
709
709
|
/*datetimeformat*/
|
|
710
710
|
i[5]
|
|
711
|
-
) + "", v, V,
|
|
711
|
+
) + "", v, V, L, J, re = (
|
|
712
712
|
/*$_*/
|
|
713
713
|
i[12]("transactionPaymentMethodTitle") + ""
|
|
714
|
-
), ie, pe, he,
|
|
714
|
+
), ie, pe, he, G, W = (
|
|
715
715
|
/*transaction*/
|
|
716
716
|
i[45].PaymentMethod + ""
|
|
717
717
|
), oe, ce, K, ae, ue = (
|
|
@@ -720,58 +720,58 @@ function Be(i) {
|
|
|
720
720
|
), ve, qe, me, Y, de, fe = (
|
|
721
721
|
/*transaction*/
|
|
722
722
|
i[45].Code + ""
|
|
723
|
-
), ge, Te,
|
|
723
|
+
), ge, Te, X, Q, n, y, j, F, le, xe, je, we, ne, be, Se, Ce, Ie, Re, ze, O = (
|
|
724
724
|
/*transaction*/
|
|
725
|
-
i[45].RejectionNote &&
|
|
725
|
+
i[45].RejectionNote && Xe(i)
|
|
726
726
|
), U = (
|
|
727
727
|
/*transaction*/
|
|
728
|
-
i[45].PaymentFields &&
|
|
728
|
+
i[45].PaymentFields && Ge(i)
|
|
729
729
|
);
|
|
730
730
|
return {
|
|
731
731
|
c() {
|
|
732
|
-
e = h("tr"), s = h("td"), t = h("div"), a = h("div"), c = h("div"), u = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), z = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(),
|
|
732
|
+
e = h("tr"), s = h("td"), t = h("div"), a = h("div"), c = h("div"), u = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), z = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(), L = h("div"), J = h("span"), ie = w(re), pe = w(" :"), he = S(), G = h("span"), oe = w(W), ce = S(), K = h("div"), ae = h("span"), ve = w(ue), qe = w(" :"), me = S(), Y = h("span"), de = h("span"), ge = w(fe), Te = S(), X = De("svg"), Q = De("g"), n = De("path"), y = De("path"), F = S(), O && O.c(), le = S(), xe = h("div"), U && U.c(), je = S(), we = h("div"), ne = h("ui-image"), Ie = S(), m(u, "class", "DetailsTitle svelte-1xsmrqu"), m(f, "class", "DetailsValue svelte-1xsmrqu"), m(c, "class", "DetailsRow svelte-1xsmrqu"), m(z, "class", "DetailsTitle svelte-1xsmrqu"), m(p, "class", "DetailsValue svelte-1xsmrqu"), m(T, "class", "DetailsRow svelte-1xsmrqu"), m(J, "class", "DetailsTitle svelte-1xsmrqu"), m(G, "class", "DetailsValue svelte-1xsmrqu"), m(L, "class", "DetailsRow svelte-1xsmrqu"), m(ae, "class", "DetailsTitle svelte-1xsmrqu"), m(de, "class", "svelte-1xsmrqu"), m(n, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), m(n, "stroke", "#666666"), m(n, "stroke-linecap", "round"), m(n, "stroke-linejoin", "round"), m(n, "class", "svelte-1xsmrqu"), m(y, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), m(y, "stroke", "#666666"), m(y, "stroke-linecap", "round"), m(y, "stroke-linejoin", "round"), m(y, "class", "svelte-1xsmrqu"), m(Q, "opacity", "0.5"), m(Q, "class", "svelte-1xsmrqu"), m(X, "xmlns", "http://www.w3.org/2000/svg"), m(X, "width", "19"), m(X, "height", "19"), m(X, "viewBox", "0 0 19 19"), m(X, "fill", "none"), m(X, "class", "svelte-1xsmrqu"), m(Y, "data-copy", j = /*transaction*/
|
|
733
733
|
i[45].Code), m(Y, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(K, "class", "DetailsRow svelte-1xsmrqu"), m(a, "class", "StaticDetails svelte-1xsmrqu"), m(xe, "class", "DynamicDetails svelte-1xsmrqu"), Pe(ne.src, be = /*transaction*/
|
|
734
734
|
i[45].Logo) || Z(ne, "src", be), Z(ne, "class", "svelte-1xsmrqu"), m(we, "class", "DetailsLogo svelte-1xsmrqu"), m(t, "class", "ExpandedContent svelte-1xsmrqu"), m(s, "colspan", Ce = /*tableColumns*/
|
|
735
735
|
i[10].length), m(s, "class", "no-padding svelte-1xsmrqu"), m(e, "class", "ExpandedRow svelte-1xsmrqu");
|
|
736
736
|
},
|
|
737
|
-
m(D,
|
|
738
|
-
A(D, e,
|
|
737
|
+
m(D, E) {
|
|
738
|
+
A(D, e, E), r(e, s), r(s, t), r(t, a), r(a, c), r(c, u), r(u, l), r(u, g), r(c, q), r(c, f), r(f, x), r(a, _), r(a, T), r(T, z), r(z, N), r(z, b), r(T, se), r(T, p), r(p, v), r(a, V), r(a, L), r(L, J), r(J, ie), r(J, pe), r(L, he), r(L, G), r(G, oe), r(a, ce), r(a, K), r(K, ae), r(ae, ve), r(ae, qe), r(K, me), r(K, Y), r(Y, de), r(de, ge), r(Y, Te), r(Y, X), r(X, Q), r(Q, n), r(Q, y), r(a, F), O && O.m(a, null), r(t, le), r(t, xe), U && U.m(xe, null), r(t, je), r(t, we), r(we, ne), r(e, Ie), Re || (ze = Ae(
|
|
739
739
|
Y,
|
|
740
740
|
"mousedown",
|
|
741
741
|
/*mousedown_handler*/
|
|
742
742
|
i[31]
|
|
743
743
|
), Re = !0);
|
|
744
744
|
},
|
|
745
|
-
p(D,
|
|
746
|
-
|
|
745
|
+
p(D, E) {
|
|
746
|
+
E[0] & /*$_*/
|
|
747
747
|
4096 && o !== (o = /*$_*/
|
|
748
|
-
D[12]("transactionTypeTitle") + "") && H(l, o),
|
|
748
|
+
D[12]("transactionTypeTitle") + "") && H(l, o), E[0] & /*$_, txnHistory*/
|
|
749
749
|
4224 && d !== (d = /*$_*/
|
|
750
750
|
D[12](`transactionType.${/*transaction*/
|
|
751
|
-
D[45].Type}`) + "") && H(x, d),
|
|
751
|
+
D[45].Type}`) + "") && H(x, d), E[0] & /*$_*/
|
|
752
752
|
4096 && k !== (k = /*$_*/
|
|
753
|
-
D[12]("transactionDateTitle") + "") && H(N, k),
|
|
753
|
+
D[12]("transactionDateTitle") + "") && H(N, k), E[0] & /*txnHistory, datetimeformat*/
|
|
754
754
|
160 && C !== (C = te(
|
|
755
755
|
/*transaction*/
|
|
756
756
|
D[45].DateTime
|
|
757
757
|
).format(
|
|
758
758
|
/*datetimeformat*/
|
|
759
759
|
D[5]
|
|
760
|
-
) + "") && H(v, C),
|
|
760
|
+
) + "") && H(v, C), E[0] & /*$_*/
|
|
761
761
|
4096 && re !== (re = /*$_*/
|
|
762
|
-
D[12]("transactionPaymentMethodTitle") + "") && H(ie, re),
|
|
762
|
+
D[12]("transactionPaymentMethodTitle") + "") && H(ie, re), E[0] & /*txnHistory*/
|
|
763
763
|
128 && W !== (W = /*transaction*/
|
|
764
|
-
D[45].PaymentMethod + "") && H(oe, W),
|
|
764
|
+
D[45].PaymentMethod + "") && H(oe, W), E[0] & /*$_*/
|
|
765
765
|
4096 && ue !== (ue = /*$_*/
|
|
766
|
-
D[12]("transactionCodeTitle") + "") && H(ve, ue),
|
|
766
|
+
D[12]("transactionCodeTitle") + "") && H(ve, ue), E[0] & /*txnHistory*/
|
|
767
767
|
128 && fe !== (fe = /*transaction*/
|
|
768
|
-
D[45].Code + "") && H(ge, fe),
|
|
768
|
+
D[45].Code + "") && H(ge, fe), E[0] & /*txnHistory*/
|
|
769
769
|
128 && j !== (j = /*transaction*/
|
|
770
770
|
D[45].Code) && m(Y, "data-copy", j), /*transaction*/
|
|
771
|
-
D[45].RejectionNote ? O ? O.p(D,
|
|
772
|
-
D[45].PaymentFields ? U ? U.p(D,
|
|
771
|
+
D[45].RejectionNote ? O ? O.p(D, E) : (O = Xe(D), O.c(), O.m(a, null)) : O && (O.d(1), O = null), /*transaction*/
|
|
772
|
+
D[45].PaymentFields ? U ? U.p(D, E) : (U = Ge(D), U.c(), U.m(xe, null)) : U && (U.d(1), U = null), E[0] & /*txnHistory*/
|
|
773
773
|
128 && !Pe(ne.src, be = /*transaction*/
|
|
774
|
-
D[45].Logo) && Z(ne, "src", be),
|
|
774
|
+
D[45].Logo) && Z(ne, "src", be), E[0] & /*tableColumns*/
|
|
775
775
|
1024 && Ce !== (Ce = /*tableColumns*/
|
|
776
776
|
D[10].length) && m(s, "colspan", Ce);
|
|
777
777
|
},
|
|
@@ -791,7 +791,7 @@ function Be(i) {
|
|
|
791
791
|
}
|
|
792
792
|
};
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Xe(i) {
|
|
795
795
|
let e, s, t = (
|
|
796
796
|
/*$_*/
|
|
797
797
|
i[12]("transactionRejectionNoteTitle") + ""
|
|
@@ -818,13 +818,13 @@ function Ge(i) {
|
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function Ge(i) {
|
|
822
822
|
let e, s = $(Object.entries(
|
|
823
823
|
/*transaction*/
|
|
824
824
|
i[45].PaymentFields
|
|
825
825
|
)), t = [];
|
|
826
826
|
for (let a = 0; a < s.length; a += 1)
|
|
827
|
-
t[a] =
|
|
827
|
+
t[a] = Je(Ee(i, s, a));
|
|
828
828
|
return {
|
|
829
829
|
c() {
|
|
830
830
|
for (let a = 0; a < t.length; a += 1)
|
|
@@ -845,8 +845,8 @@ function Je(i) {
|
|
|
845
845
|
));
|
|
846
846
|
let u;
|
|
847
847
|
for (u = 0; u < s.length; u += 1) {
|
|
848
|
-
const o =
|
|
849
|
-
t[u] ? t[u].p(o, c) : (t[u] =
|
|
848
|
+
const o = Ee(a, s, u);
|
|
849
|
+
t[u] ? t[u].p(o, c) : (t[u] = Je(o), t[u].c(), t[u].m(e.parentNode, e));
|
|
850
850
|
}
|
|
851
851
|
for (; u < t.length; u += 1)
|
|
852
852
|
t[u].d(1);
|
|
@@ -858,7 +858,7 @@ function Je(i) {
|
|
|
858
858
|
}
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Je(i) {
|
|
862
862
|
let e, s, t = (
|
|
863
863
|
/*$_*/
|
|
864
864
|
i[12](`transaction${/*key*/
|
|
@@ -1032,7 +1032,7 @@ function Pt(i) {
|
|
|
1032
1032
|
function Ft(i, e, s) {
|
|
1033
1033
|
let t;
|
|
1034
1034
|
ot(i, yt, (n) => s(12, t = n));
|
|
1035
|
-
let { endpoint: a } = e, { session: c } = e, { lang: u = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: z = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1,
|
|
1035
|
+
let { endpoint: a } = e, { session: c } = e, { lang: u = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: z = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1, L, J, re, ie = !1, pe = [], he = [], G;
|
|
1036
1036
|
var W;
|
|
1037
1037
|
(function(n) {
|
|
1038
1038
|
n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
|
|
@@ -1102,7 +1102,7 @@ function Ft(i, e, s) {
|
|
|
1102
1102
|
};
|
|
1103
1103
|
z === "true" && (le.statistic = F.statistic), window.postMessage(le, window.location.href);
|
|
1104
1104
|
}).catch((F) => console.log(F)).finally(() => s(9, ie = !1));
|
|
1105
|
-
}, ve = (n) => (s(10, he = _.split(",")), s(11,
|
|
1105
|
+
}, ve = (n) => (s(10, he = _.split(",")), s(11, G = null), n.map((y) => {
|
|
1106
1106
|
let j = y.generalFields.status;
|
|
1107
1107
|
return y.generalFields.status.toLowerCase().includes("pending") && (j = ce.Pending), {
|
|
1108
1108
|
Code: y.generalFields.code,
|
|
@@ -1125,7 +1125,7 @@ function Ft(i, e, s) {
|
|
|
1125
1125
|
}, me = (n, y = !0) => {
|
|
1126
1126
|
const F = n.currentTarget.dataset.copy;
|
|
1127
1127
|
F && navigator.clipboard.writeText(F).then(() => {
|
|
1128
|
-
y && (s(8, V = !0), clearTimeout(
|
|
1128
|
+
y && (s(8, V = !0), clearTimeout(J), J = setTimeout(
|
|
1129
1129
|
() => {
|
|
1130
1130
|
s(8, V = !1);
|
|
1131
1131
|
},
|
|
@@ -1135,17 +1135,17 @@ function Ft(i, e, s) {
|
|
|
1135
1135
|
console.error("Could not copy text: ", le);
|
|
1136
1136
|
});
|
|
1137
1137
|
}, Y = (n) => {
|
|
1138
|
-
b !== "true" && s(11,
|
|
1138
|
+
b !== "true" && s(11, G = G === n ? null : n);
|
|
1139
1139
|
}, de = (n, y) => ({
|
|
1140
1140
|
delay: 0,
|
|
1141
1141
|
duration: 250,
|
|
1142
1142
|
css: (j) => `overflow: hidden; transform: translateY(${(1 - j) * 20}px); opacity: ${j}`
|
|
1143
1143
|
}), fe = () => {
|
|
1144
1144
|
C.length > 0 && (pe = C.split(","));
|
|
1145
|
-
}, ge = (n) => me(n), Te = (n) => Y(n),
|
|
1145
|
+
}, ge = (n) => me(n), Te = (n) => Y(n), X = (n) => me(n, !1);
|
|
1146
1146
|
function Q(n) {
|
|
1147
1147
|
ut[n ? "unshift" : "push"](() => {
|
|
1148
|
-
|
|
1148
|
+
L = n, s(6, L);
|
|
1149
1149
|
});
|
|
1150
1150
|
}
|
|
1151
1151
|
return i.$$set = (n) => {
|
|
@@ -1153,11 +1153,11 @@ function Ft(i, e, s) {
|
|
|
1153
1153
|
}, i.$$.update = () => {
|
|
1154
1154
|
i.$$.dirty[0] & /*lang*/
|
|
1155
1155
|
262144 && u && ae(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1156
|
-
65 && l &&
|
|
1157
|
-
66 && g &&
|
|
1156
|
+
65 && l && L && vt(L, l), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1157
|
+
66 && g && L && gt(L, g), i.$$.dirty[0] & /*endpoint, session, customerid, lang, fromdate, todate, page, calculateprofit*/
|
|
1158
1158
|
252641280 && a && c && o && u && k && N && T && z && ue(), i.$$.dirty[0] & /*translationurl*/
|
|
1159
1159
|
1048576 && q && K(), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1160
|
-
4194368 && x &&
|
|
1160
|
+
4194368 && x && L && xt(L, `${x}.Style`, re), i.$$.dirty[0] & /*userroles*/
|
|
1161
1161
|
268435456 && C && fe();
|
|
1162
1162
|
}, [
|
|
1163
1163
|
l,
|
|
@@ -1166,12 +1166,12 @@ function Ft(i, e, s) {
|
|
|
1166
1166
|
b,
|
|
1167
1167
|
se,
|
|
1168
1168
|
p,
|
|
1169
|
-
|
|
1169
|
+
L,
|
|
1170
1170
|
v,
|
|
1171
1171
|
V,
|
|
1172
1172
|
ie,
|
|
1173
1173
|
he,
|
|
1174
|
-
|
|
1174
|
+
G,
|
|
1175
1175
|
t,
|
|
1176
1176
|
me,
|
|
1177
1177
|
Y,
|
|
@@ -1191,7 +1191,7 @@ function Ft(i, e, s) {
|
|
|
1191
1191
|
C,
|
|
1192
1192
|
ge,
|
|
1193
1193
|
Te,
|
|
1194
|
-
|
|
1194
|
+
X,
|
|
1195
1195
|
Q
|
|
1196
1196
|
];
|
|
1197
1197
|
}
|