@everymatrix/player-account-controller 1.73.0 → 1.73.2
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/{GeneralLogout-Dzu2Sl-x.cjs → GeneralLogout-CUey30IA.cjs} +5 -5
- package/components/{GeneralLogout-INWUDrak.js → GeneralLogout-D1d-15j9.js} +519 -448
- package/components/{GeneralLogout-BHj50gej.js → GeneralLogout-Dp0t5xiu.js} +490 -419
- package/components/{PlayerAccountBettingHistory-DVj3QpKW.js → PlayerAccountBettingHistory-D9Jkcu6g.js} +1 -1
- package/components/{PlayerAccountBettingHistory-6bdMRw7b.js → PlayerAccountBettingHistory-DIFqK_pJ.js} +1 -1
- package/components/{PlayerAccountBettingHistory-BG5_gjSl.cjs → PlayerAccountBettingHistory-la7IEPsJ.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-C5pUACUE.js → PlayerAccountBiometrics-BiFD5dJF.js} +1 -1
- package/components/{PlayerAccountBiometrics-DkxwtpuF.js → PlayerAccountBiometrics-DW3O_c_d.js} +1 -1
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-E4avOt95.cjs} +1 -1
- package/components/{PlayerAccountClosure-D2ApiUXV.js → PlayerAccountClosure-CYKotuUN.js} +1 -1
- package/components/{PlayerAccountClosure-DoZ91aH2.cjs → PlayerAccountClosure-CuXaw1qa.cjs} +1 -1
- package/components/{PlayerAccountClosure-vPc-BArB.js → PlayerAccountClosure-MoMUkdm3.js} +1 -1
- package/components/{PlayerAccountController-2uMVXSSQ.js → PlayerAccountController-B8DJytQ8.js} +516 -486
- package/components/{PlayerAccountController-COFCcEvV.js → PlayerAccountController-Cq1WDry7.js} +517 -487
- package/components/PlayerAccountController-WXq3wske.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-BfrumTwY.js → PlayerAccountGamingLimits-BCDLNzea.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DlA29Y4p.js → PlayerAccountGamingLimits-BWYiaPTb.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BIXEO8qU.cjs → PlayerAccountGamingLimits-CWXEw1xn.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-BDEiLyA5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cg5ndunr.js → PlayerAccountGamingLimitsConfirmationModal-CfkLeqgC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D5LstV9w.js → PlayerAccountGamingLimitsConfirmationModal-DQNgVygC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-vuv0-MMp.js → PlayerAccountGamingLimitsGroupEdit-BR3aaKKF.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-DN-VG2ye.js → PlayerAccountGamingLimitsGroupEdit-C6cPJtyS.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs → PlayerAccountGamingLimitsGroupEdit-Cf-jXwM4.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-B8TPjC1F.js → PlayerAccountGamingLimitsHistory2-B73ZKUp8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-GRu_2NJ0.js → PlayerAccountGamingLimitsHistory2-C7iyCZTM.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CreFMkf_.cjs → PlayerAccountGamingLimitsHistory2-DoQnAbmO.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-8Ea7IE2K.js → PlayerAccountGamingLimitsInfoCard-5M2JHH5i.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs → PlayerAccountGamingLimitsInfoCard-CzmG8TN_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BfD6DDSB.js → PlayerAccountGamingLimitsInfoCard-DmtZXGWH.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CnUGDYRk.js → PlayerAccountGamingLimitsPage2Gm16-CzidzBZa.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-B02A1fGD.js → PlayerAccountGamingLimitsPage2Gm16-DP4qBE2E.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs → PlayerAccountGamingLimitsPage2Gm16-TnUX_EMA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BlVtbm__.js → PlayerAccountGamingLimitsPopup-CHgAjN-y.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-D6BfVLoR.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DPu9x2H3.js → PlayerAccountGamingLimitsPopup-VbPcz1m3.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-cJf0myiC.js → PlayerAccountGamingLimitsWrapper2-CNeGDcr8.js} +249 -249
- package/components/{PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs → PlayerAccountGamingLimitsWrapper2-D0DBTqeK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CqXn9yDd.js → PlayerAccountGamingLimitsWrapper2-Dh0Jk6Qi.js} +141 -143
- package/components/{PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs → PlayerAccountGeneralConfirmationModal-CeG-uqHr.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BksqLS7V.js → PlayerAccountGeneralConfirmationModal-CvAnXDvi.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-eHfDDGZk.js → PlayerAccountGeneralConfirmationModal-gPSZLtXl.js} +1 -1
- package/components/{PlayerAccountMenu-CE6Ej_rV.js → PlayerAccountMenu-Br1KAYkQ.js} +2 -2
- package/components/{PlayerAccountMenu-_Le7yvP5.cjs → PlayerAccountMenu-DM8wOriy.cjs} +1 -1
- package/components/{PlayerAccountMenu-Cp7Edaq0.js → PlayerAccountMenu-jeZrAHJj.js} +2 -2
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-C70Mycg9.cjs} +1 -1
- package/components/{PlayerAccountModal-CrjAmgmN.js → PlayerAccountModal-CYOd9FYU.js} +1 -1
- package/components/{PlayerAccountModal-DYSDyLvm.js → PlayerAccountModal-D1wg99Qw.js} +1 -1
- package/components/{PlayerAccountNotifications-qIJQNyMm.js → PlayerAccountNotifications-Cfg1xDTQ.js} +1 -1
- package/components/{PlayerAccountNotifications-Cyle3r2h.cjs → PlayerAccountNotifications-IX9W_3ma.cjs} +1 -1
- package/components/{PlayerAccountNotifications-OyZ1fIUi.js → PlayerAccountNotifications-PfH7nA2H.js} +1 -1
- package/components/{PlayerAccountProductRestriction-DAWRutx-.cjs → PlayerAccountProductRestriction-BMsZXr0T.cjs} +399 -405
- package/components/{PlayerAccountProductRestriction-BZ2Y4yzU.js → PlayerAccountProductRestriction-Be0Y38Bb.js} +2601 -2513
- package/components/{PlayerAccountProductRestriction-L-vR790T.js → PlayerAccountProductRestriction-DRYwszQH.js} +2498 -2474
- package/components/{PlayerAccountSelfExclusion-Dq1gDgcx.cjs → PlayerAccountSelfExclusion-BxfZAiOT.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-7psd7i6U.js → PlayerAccountSelfExclusion-CMOcGI1q.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-Bd8SgB7m.js → PlayerAccountSelfExclusion-D-zhDW4s.js} +3 -3
- package/components/{PlayerAccountTimeout-Dby2FPrP.js → PlayerAccountTimeout-C1lZPgJL.js} +3 -3
- package/components/{PlayerAccountTimeout-uyeQ1--8.js → PlayerAccountTimeout-Du6bnf8d.js} +3 -3
- package/components/{PlayerAccountTimeout-CMLyedNs.cjs → PlayerAccountTimeout-DvX-2-Zs.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-B5-KRVvB.js → PlayerAccountTransactionsHistory-AJqfVPyr.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Bn5gyj5f.cjs → PlayerAccountTransactionsHistory-BoLXUjEw.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-BWsoBgd6.js → PlayerAccountTransactionsHistory-Duu-wHn-.js} +3 -3
- package/components/{PlayerActiveBonuses-C9i5xuOt.js → PlayerActiveBonuses-CL7yH9nn.js} +2 -2
- package/components/{PlayerActiveBonuses-Dpef1XJD.cjs → PlayerActiveBonuses-CypcOO7I.cjs} +1 -1
- package/components/{PlayerActiveBonuses-Cz3aqMcu.js → PlayerActiveBonuses-kkUHfpR3.js} +2 -2
- package/components/{PlayerBonusCard-DatoS2En.js → PlayerBonusCard-Cdoq85xJ.js} +2 -2
- package/components/{PlayerBonusCard-lMeM3LSx.js → PlayerBonusCard-CgVnRcoQ.js} +2 -2
- package/components/{PlayerBonusCard-7dIqFpfg.cjs → PlayerBonusCard-DE6BCU2O.cjs} +1 -1
- package/components/{PlayerBonusHistory-BUUBhu5n.js → PlayerBonusHistory-BoWnXJza.js} +4 -4
- package/components/{PlayerBonusHistory-D7tVCTah.cjs → PlayerBonusHistory-CKlnyjJA.cjs} +1 -1
- package/components/{PlayerBonusHistory-BVbwQ0Zf.js → PlayerBonusHistory-CvKdrBYn.js} +4 -4
- package/components/{PlayerChangePassword-CGqqlwlb.js → PlayerChangePassword-9JsHHJA5.js} +1 -1
- package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-BYUZU8wW.cjs} +1 -1
- package/components/{PlayerChangePassword-BUYrlClk.js → PlayerChangePassword-QuelFUHA.js} +1 -1
- package/components/{PlayerDeposit-CTxatYEW.js → PlayerDeposit-BMI-t8Yz.js} +1 -1
- package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-BhF3WSC-.cjs} +1 -1
- package/components/{PlayerDeposit-DQObc_n_.js → PlayerDeposit-M7P-3V7u.js} +1 -1
- package/components/{PlayerGamingHistory-CGte8rt6.cjs → PlayerGamingHistory-BUyNNOUO.cjs} +1 -1
- package/components/{PlayerGamingHistory-BAeIZw2u.js → PlayerGamingHistory-Cbs4Z67l.js} +4 -4
- package/components/{PlayerGamingHistory-xZ8szCQB.js → PlayerGamingHistory-DjEwf_7_.js} +4 -4
- package/components/{PlayerPendingWithdrawals-Dek0JuV2.js → PlayerPendingWithdrawals-BTxQMknq.js} +1 -1
- package/components/{PlayerPendingWithdrawals-CuGt7dq1.js → PlayerPendingWithdrawals-C-0lkGS9.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DreodXib.cjs} +1 -1
- package/components/{PlayerProfileInfo-BI4jNmXN.js → PlayerProfileInfo-BS-rMXNG.js} +509 -429
- package/components/{PlayerProfileInfo-C4dNo9s-.js → PlayerProfileInfo-Cxbwt_yQ.js} +539 -459
- package/components/PlayerProfileInfo-DoCBLeLO.cjs +4 -0
- package/components/{PlayerRealityCheck-CS9oAjTQ.js → PlayerRealityCheck-BUsjxpn1.js} +1 -1
- package/components/{PlayerRealityCheck-8KkrG0sn.js → PlayerRealityCheck-DgKGN-x1.js} +1 -1
- package/components/{PlayerRealityCheck-Dr_ZpTwE.cjs → PlayerRealityCheck-xMuEFtt1.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Cw0GAF5l.js → PlayerTransactionHistory-B-HCsFuJ.js} +1 -1
- package/components/{PlayerTransactionHistory-D7aVTCre.js → PlayerTransactionHistory-BJ5ico8T.js} +1 -1
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-DmL-_293.cjs} +1 -1
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-B2WqUhR-.cjs} +1 -1
- package/components/{PlayerWithdrawal-BPfYoISW.js → PlayerWithdrawal-BCTRlY2f.js} +1 -1
- package/components/{PlayerWithdrawal-C7mFHGlW.js → PlayerWithdrawal-BgP63Lx7.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-DadoyfRo.cjs → checkbox-group-input_15-DRUhTFo_.cjs} +391 -397
- package/stencil/{checkbox-group-input_15-C6LpSObs.js → checkbox-group-input_15-Di0yQpHU.js} +2147 -2128
- package/stencil/{checkbox-group-input_15-BXx2eI5U.js → checkbox-group-input_15-Qj_31WMH.js} +2147 -2128
- package/stencil/{index-13661b98-6KjWiAei.js → index-13661b98-B8S3l1ae.js} +1 -1
- package/stencil/{index-13661b98-e0g0ZJ4Q.cjs → index-13661b98-BfIn8C3l.cjs} +1 -1
- package/stencil/{index-13661b98-DMsw1Rqj.js → index-13661b98-CnuGTCF7.js} +1 -1
- package/stencil/{index-1ef3a64c-B7_EyQDJ.cjs → index-1ef3a64c-DR7bpfUj.cjs} +1 -1
- package/stencil/{index-1ef3a64c-BMK3b66v.js → index-1ef3a64c-HE2lDlEL.js} +1 -1
- package/stencil/{index-1ef3a64c-Cs1oM3tK.js → index-1ef3a64c-zEGNB-u8.js} +1 -1
- package/stencil/{index-7c5e707a-BM4sfR0h.js → index-7c5e707a-2YIJtUZe.js} +1 -1
- package/stencil/{index-7c5e707a-2AC9SnQ7.js → index-7c5e707a-DGb2dQ60.js} +1 -1
- package/stencil/{index-7c5e707a-Cw-c3Bke.cjs → index-7c5e707a-_iYAV2Cv.cjs} +1 -1
- package/stencil/{pam-change-password-L1xQARTQ.js → pam-change-password-DtxM39I2.js} +1 -1
- package/stencil/{pam-change-password-CIhfcFNO.js → pam-change-password-FFVgwD-8.js} +1 -1
- package/stencil/{pam-change-password-CQIieVFW.cjs → pam-change-password-dL9KfXLS.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-bArCapa-.js → pam-change-password-f4a1e7e7-BkkC3LDV.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-B5NzEtGA.cjs → pam-change-password-f4a1e7e7-D3kiiFR8.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-Br0FC_GU.js → pam-change-password-f4a1e7e7-De_EUl35.js} +1 -1
- package/stencil/{user-deposit-withdrawal-B5PikBDs.cjs → user-deposit-withdrawal-BuFBx-hr.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-mAQqyXGF.js → user-deposit-withdrawal-Cr0-V-2c.js} +135 -145
- package/stencil/{user-deposit-withdrawal-BftWiELv.js → user-deposit-withdrawal-DdJYJeX1.js} +161 -171
- package/stencil/user-transaction-history-BhBMJPP0.cjs +1 -0
- package/stencil/{user-transaction-history-Dpd_aKdj.js → user-transaction-history-CQuIy63_.js} +96 -92
- package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-DBXbHHd_.js} +94 -90
- package/components/PlayerAccountController-SUrzo8aT.cjs +0 -1
- package/components/PlayerProfileInfo-DFw4ourA.cjs +0 -4
- package/stencil/user-transaction-history-DZZT2rYX.cjs +0 -1
package/stencil/{user-transaction-history-7_yFZr3w.js → user-transaction-history-DBXbHHd_.js}
RENAMED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
var U = (e, t, a) => new Promise((n, r) => {
|
|
2
2
|
var i = (l) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
u(a.next(l));
|
|
5
5
|
} catch (h) {
|
|
6
6
|
r(h);
|
|
7
7
|
}
|
|
8
8
|
}, o = (l) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
u(a.throw(l));
|
|
11
11
|
} catch (h) {
|
|
12
12
|
r(h);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(i, o);
|
|
15
|
+
u((a = a.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as it, p as ot, r as st, g as
|
|
18
|
-
import { d as
|
|
17
|
+
import { b as it, p as ot, r as st, g as q, h as s, H as lt, a as ut } from "./index-7c5e707a-2YIJtUZe.js";
|
|
18
|
+
import { d as dt } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
19
|
var ct = () => {
|
|
20
20
|
const e = import.meta.url, t = {};
|
|
21
21
|
return e !== "" && (t.resourcesUrl = new URL(".", e).href), ot(t);
|
|
22
22
|
};
|
|
23
23
|
ct().then((e) => U(void 0, null, function* () {
|
|
24
|
-
return yield
|
|
24
|
+
return yield dt(), it([["user-transaction-history", [[1, "user-transaction-history", { endpoint: [513], session: [513], language: [513], userId: [513, "user-id"], translationUrl: [513, "translation-url"], mobile: [516], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [513, "mb-source"], dateFormat: [513, "date-format"], page: [32], pageSize: [32], showMobileFilter: [32], to: [32], from: [32], type: [32], transactions: [32], showLoader: [32] }, [[9, "resize", "getComponentHeight"]], { page: ["watchMultiple"], type: ["watchMultiple"], session: ["watchMultiple"], userId: ["watchMultiple"], pageSize: ["watchMultiple"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"], showMobileFilter: ["getComponentHeight"] }]]]], e);
|
|
25
25
|
}));
|
|
26
26
|
const ht = {
|
|
27
27
|
en: {
|
|
@@ -36,7 +36,8 @@ const ht = {
|
|
|
36
36
|
amount: "Amount",
|
|
37
37
|
productType: "Product Type",
|
|
38
38
|
status: "Status",
|
|
39
|
-
noData: "There are no account activities"
|
|
39
|
+
noData: "There are no account activities",
|
|
40
|
+
back: "Back"
|
|
40
41
|
},
|
|
41
42
|
hr: {
|
|
42
43
|
deposit: "Uplate",
|
|
@@ -50,10 +51,11 @@ const ht = {
|
|
|
50
51
|
amount: "Iznos",
|
|
51
52
|
productType: "Vrsta proizvoda",
|
|
52
53
|
status: "Status",
|
|
53
|
-
noData: "Nema aktivnosti na računu"
|
|
54
|
+
noData: "Nema aktivnosti na računu",
|
|
55
|
+
back: "Geri"
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
|
-
class
|
|
58
|
+
class d {
|
|
57
59
|
constructor() {
|
|
58
60
|
}
|
|
59
61
|
static loadCustomTranslations(t) {
|
|
@@ -69,7 +71,7 @@ class u {
|
|
|
69
71
|
throw new Error(r);
|
|
70
72
|
}
|
|
71
73
|
const n = yield a.json();
|
|
72
|
-
|
|
74
|
+
d.updateTranslations(n);
|
|
73
75
|
} catch (a) {
|
|
74
76
|
console.error(`Failed to load translations ${t}. ${a.message}`);
|
|
75
77
|
}
|
|
@@ -77,21 +79,21 @@ class u {
|
|
|
77
79
|
}
|
|
78
80
|
static translate(t, a) {
|
|
79
81
|
var n, r;
|
|
80
|
-
const i =
|
|
81
|
-
return ((r = (n =
|
|
82
|
+
const i = d.getAvaliableLanguages(a);
|
|
83
|
+
return ((r = (n = d.customTranslation) === null || n === void 0 ? void 0 : n[i.customLanguage]) === null || r === void 0 ? void 0 : r[t]) || d.defaultTranslation[i.predefinedLanguage][t];
|
|
82
84
|
}
|
|
83
85
|
static getAvaliableLanguages(t) {
|
|
84
86
|
var a;
|
|
85
|
-
const n = !((a =
|
|
86
|
-
return { predefinedLanguage:
|
|
87
|
+
const n = !((a = d.customLanguages) === null || a === void 0) && a.includes(t) ? t : d.defaultLanguage;
|
|
88
|
+
return { predefinedLanguage: d.supportedLanguages.includes(t) ? t : d.defaultLanguage, customLanguage: n };
|
|
87
89
|
}
|
|
88
90
|
static updateTranslations(t) {
|
|
89
|
-
|
|
91
|
+
d.customLanguages = Array.from(/* @__PURE__ */ new Set([...d.supportedLanguages, ...Object.keys(t).map((a) => a.toLowerCase())])), d.customTranslation = t;
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
d.defaultLanguage = "en";
|
|
95
|
+
d.supportedLanguages = ["en"];
|
|
96
|
+
d.defaultTranslation = ht;
|
|
95
97
|
const ft = () => s(
|
|
96
98
|
"div",
|
|
97
99
|
{ class: "loader" },
|
|
@@ -158,7 +160,7 @@ function wt(e) {
|
|
|
158
160
|
var n = t.getTime(), r = a - n;
|
|
159
161
|
return Math.floor(r / bt) + 1;
|
|
160
162
|
}
|
|
161
|
-
function
|
|
163
|
+
function B(e) {
|
|
162
164
|
v(1, arguments);
|
|
163
165
|
var t = 1, a = y(e), n = a.getUTCDay(), r = (n < t ? 7 : 0) + n - t;
|
|
164
166
|
return a.setUTCDate(a.getUTCDate() - r), a.setUTCHours(0, 0, 0, 0), a;
|
|
@@ -167,62 +169,62 @@ function V(e) {
|
|
|
167
169
|
v(1, arguments);
|
|
168
170
|
var t = y(e), a = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
|
|
169
171
|
n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
|
|
170
|
-
var r =
|
|
172
|
+
var r = B(n), i = /* @__PURE__ */ new Date(0);
|
|
171
173
|
i.setUTCFullYear(a, 0, 4), i.setUTCHours(0, 0, 0, 0);
|
|
172
|
-
var o =
|
|
174
|
+
var o = B(i);
|
|
173
175
|
return t.getTime() >= r.getTime() ? a + 1 : t.getTime() >= o.getTime() ? a : a - 1;
|
|
174
176
|
}
|
|
175
177
|
function yt(e) {
|
|
176
178
|
v(1, arguments);
|
|
177
179
|
var t = V(e), a = /* @__PURE__ */ new Date(0);
|
|
178
180
|
a.setUTCFullYear(t, 0, 4), a.setUTCHours(0, 0, 0, 0);
|
|
179
|
-
var n =
|
|
181
|
+
var n = B(a);
|
|
180
182
|
return n;
|
|
181
183
|
}
|
|
182
184
|
var xt = 6048e5;
|
|
183
185
|
function Tt(e) {
|
|
184
186
|
v(1, arguments);
|
|
185
|
-
var t = y(e), a =
|
|
187
|
+
var t = y(e), a = B(t).getTime() - yt(t).getTime();
|
|
186
188
|
return Math.round(a / xt) + 1;
|
|
187
189
|
}
|
|
188
190
|
var Ct = {};
|
|
189
191
|
function $() {
|
|
190
192
|
return Ct;
|
|
191
193
|
}
|
|
192
|
-
function
|
|
193
|
-
var a, n, r, i, o,
|
|
194
|
+
function L(e, t) {
|
|
195
|
+
var a, n, r, i, o, u, l, h;
|
|
194
196
|
v(1, arguments);
|
|
195
|
-
var m = $(), f = k((a = (n = (r = (i = t == null ? void 0 : t.weekStartsOn) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (
|
|
197
|
+
var m = $(), f = k((a = (n = (r = (i = t == null ? void 0 : t.weekStartsOn) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : m.weekStartsOn) !== null && n !== void 0 ? n : (l = m.locale) === null || l === void 0 || (h = l.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && a !== void 0 ? a : 0);
|
|
196
198
|
if (!(f >= 0 && f <= 6))
|
|
197
199
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
198
200
|
var p = y(e), g = p.getUTCDay(), w = (g < f ? 7 : 0) + g - f;
|
|
199
201
|
return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
|
|
200
202
|
}
|
|
201
203
|
function J(e, t) {
|
|
202
|
-
var a, n, r, i, o,
|
|
204
|
+
var a, n, r, i, o, u, l, h;
|
|
203
205
|
v(1, arguments);
|
|
204
|
-
var m = y(e), f = m.getUTCFullYear(), p = $(), g = k((a = (n = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (
|
|
206
|
+
var m = y(e), f = m.getUTCFullYear(), p = $(), g = k((a = (n = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = p.locale) === null || l === void 0 || (h = l.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
|
|
205
207
|
if (!(g >= 1 && g <= 7))
|
|
206
208
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
207
209
|
var w = /* @__PURE__ */ new Date(0);
|
|
208
210
|
w.setUTCFullYear(f + 1, 0, g), w.setUTCHours(0, 0, 0, 0);
|
|
209
|
-
var
|
|
211
|
+
var D = L(w, t), C = /* @__PURE__ */ new Date(0);
|
|
210
212
|
C.setUTCFullYear(f, 0, g), C.setUTCHours(0, 0, 0, 0);
|
|
211
|
-
var N =
|
|
212
|
-
return m.getTime() >=
|
|
213
|
+
var N = L(C, t);
|
|
214
|
+
return m.getTime() >= D.getTime() ? f + 1 : m.getTime() >= N.getTime() ? f : f - 1;
|
|
213
215
|
}
|
|
214
216
|
function St(e, t) {
|
|
215
|
-
var a, n, r, i, o,
|
|
217
|
+
var a, n, r, i, o, u, l, h;
|
|
216
218
|
v(1, arguments);
|
|
217
|
-
var m = $(), f = k((a = (n = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (
|
|
219
|
+
var m = $(), f = k((a = (n = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = m.locale) === null || l === void 0 || (h = l.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = J(e, t), g = /* @__PURE__ */ new Date(0);
|
|
218
220
|
g.setUTCFullYear(p, 0, f), g.setUTCHours(0, 0, 0, 0);
|
|
219
|
-
var w =
|
|
221
|
+
var w = L(g, t);
|
|
220
222
|
return w;
|
|
221
223
|
}
|
|
222
224
|
var kt = 6048e5;
|
|
223
|
-
function
|
|
225
|
+
function Mt(e, t) {
|
|
224
226
|
v(1, arguments);
|
|
225
|
-
var a = y(e), n =
|
|
227
|
+
var a = y(e), n = L(a, t).getTime() - St(a, t).getTime();
|
|
226
228
|
return Math.round(n / kt) + 1;
|
|
227
229
|
}
|
|
228
230
|
function c(e, t) {
|
|
@@ -230,7 +232,7 @@ function c(e, t) {
|
|
|
230
232
|
n = "0" + n;
|
|
231
233
|
return a + n;
|
|
232
234
|
}
|
|
233
|
-
var
|
|
235
|
+
var Dt = {
|
|
234
236
|
// Year
|
|
235
237
|
y: function(t, a) {
|
|
236
238
|
var n = t.getUTCFullYear(), r = n > 0 ? n : 1 - n;
|
|
@@ -283,8 +285,8 @@ var Mt = {
|
|
|
283
285
|
return c(i, a.length);
|
|
284
286
|
}
|
|
285
287
|
};
|
|
286
|
-
const T =
|
|
287
|
-
var
|
|
288
|
+
const T = Dt;
|
|
289
|
+
var M = {
|
|
288
290
|
midnight: "midnight",
|
|
289
291
|
noon: "noon",
|
|
290
292
|
morning: "morning",
|
|
@@ -327,8 +329,8 @@ var D = {
|
|
|
327
329
|
Y: function(t, a, n, r) {
|
|
328
330
|
var i = J(t, r), o = i > 0 ? i : 1 - i;
|
|
329
331
|
if (a === "YY") {
|
|
330
|
-
var
|
|
331
|
-
return c(
|
|
332
|
+
var u = o % 100;
|
|
333
|
+
return c(u, 2);
|
|
332
334
|
}
|
|
333
335
|
return a === "Yo" ? n.ordinalNumber(o, {
|
|
334
336
|
unit: "year"
|
|
@@ -473,7 +475,7 @@ var D = {
|
|
|
473
475
|
},
|
|
474
476
|
// Local week of year
|
|
475
477
|
w: function(t, a, n, r) {
|
|
476
|
-
var i =
|
|
478
|
+
var i = Mt(t, r);
|
|
477
479
|
return a === "wo" ? n.ordinalNumber(i, {
|
|
478
480
|
unit: "week"
|
|
479
481
|
}) : c(i, a.length);
|
|
@@ -663,7 +665,7 @@ var D = {
|
|
|
663
665
|
// AM, PM, midnight, noon
|
|
664
666
|
b: function(t, a, n) {
|
|
665
667
|
var r = t.getUTCHours(), i;
|
|
666
|
-
switch (r === 12 ? i =
|
|
668
|
+
switch (r === 12 ? i = M.noon : r === 0 ? i = M.midnight : i = r / 12 >= 1 ? "pm" : "am", a) {
|
|
667
669
|
case "b":
|
|
668
670
|
case "bb":
|
|
669
671
|
return n.dayPeriod(i, {
|
|
@@ -691,7 +693,7 @@ var D = {
|
|
|
691
693
|
// in the morning, in the afternoon, in the evening, at night
|
|
692
694
|
B: function(t, a, n) {
|
|
693
695
|
var r = t.getUTCHours(), i;
|
|
694
|
-
switch (r >= 17 ? i =
|
|
696
|
+
switch (r >= 17 ? i = M.evening : r >= 12 ? i = M.afternoon : r >= 4 ? i = M.morning : i = M.night, a) {
|
|
695
697
|
case "B":
|
|
696
698
|
case "BB":
|
|
697
699
|
case "BBB":
|
|
@@ -925,10 +927,10 @@ function Et(e) {
|
|
|
925
927
|
return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
|
|
926
928
|
}
|
|
927
929
|
var Yt = ["D", "DD"], _t = ["YY", "YYYY"];
|
|
928
|
-
function
|
|
930
|
+
function Bt(e) {
|
|
929
931
|
return Yt.indexOf(e) !== -1;
|
|
930
932
|
}
|
|
931
|
-
function
|
|
933
|
+
function Lt(e) {
|
|
932
934
|
return _t.indexOf(e) !== -1;
|
|
933
935
|
}
|
|
934
936
|
function Q(e, t, a) {
|
|
@@ -1008,7 +1010,7 @@ var $t = {
|
|
|
1008
1010
|
return typeof i == "string" ? r = i : a === 1 ? r = i.one : r = i.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
|
|
1009
1011
|
};
|
|
1010
1012
|
const Ht = Nt;
|
|
1011
|
-
function
|
|
1013
|
+
function R(e) {
|
|
1012
1014
|
return function() {
|
|
1013
1015
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.width ? String(t.width) : e.defaultWidth, n = e.formats[a] || e.formats[e.defaultWidth];
|
|
1014
1016
|
return n;
|
|
@@ -1019,27 +1021,27 @@ var It = {
|
|
|
1019
1021
|
long: "MMMM do, y",
|
|
1020
1022
|
medium: "MMM d, y",
|
|
1021
1023
|
short: "MM/dd/yyyy"
|
|
1022
|
-
},
|
|
1024
|
+
}, Rt = {
|
|
1023
1025
|
full: "h:mm:ss a zzzz",
|
|
1024
1026
|
long: "h:mm:ss a z",
|
|
1025
1027
|
medium: "h:mm:ss a",
|
|
1026
1028
|
short: "h:mm a"
|
|
1027
|
-
},
|
|
1029
|
+
}, qt = {
|
|
1028
1030
|
full: "{{date}} 'at' {{time}}",
|
|
1029
1031
|
long: "{{date}} 'at' {{time}}",
|
|
1030
1032
|
medium: "{{date}}, {{time}}",
|
|
1031
1033
|
short: "{{date}}, {{time}}"
|
|
1032
1034
|
}, jt = {
|
|
1033
|
-
date:
|
|
1035
|
+
date: R({
|
|
1034
1036
|
formats: It,
|
|
1035
1037
|
defaultWidth: "full"
|
|
1036
1038
|
}),
|
|
1037
|
-
time:
|
|
1038
|
-
formats:
|
|
1039
|
+
time: R({
|
|
1040
|
+
formats: Rt,
|
|
1039
1041
|
defaultWidth: "full"
|
|
1040
1042
|
}),
|
|
1041
|
-
dateTime:
|
|
1042
|
-
formats:
|
|
1043
|
+
dateTime: R({
|
|
1044
|
+
formats: qt,
|
|
1043
1045
|
defaultWidth: "full"
|
|
1044
1046
|
})
|
|
1045
1047
|
};
|
|
@@ -1062,8 +1064,8 @@ function W(e) {
|
|
|
1062
1064
|
var i = e.defaultFormattingWidth || e.defaultWidth, o = a != null && a.width ? String(a.width) : i;
|
|
1063
1065
|
r = e.formattingValues[o] || e.formattingValues[i];
|
|
1064
1066
|
} else {
|
|
1065
|
-
var
|
|
1066
|
-
r = e.values[l] || e.values[
|
|
1067
|
+
var u = e.defaultWidth, l = a != null && a.width ? String(a.width) : e.defaultWidth;
|
|
1068
|
+
r = e.values[l] || e.values[u];
|
|
1067
1069
|
}
|
|
1068
1070
|
var h = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
1069
1071
|
return r[h];
|
|
@@ -1194,9 +1196,9 @@ function F(e) {
|
|
|
1194
1196
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], i = t.match(r);
|
|
1195
1197
|
if (!i)
|
|
1196
1198
|
return null;
|
|
1197
|
-
var o = i[0],
|
|
1199
|
+
var o = i[0], u = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(u) ? ie(u, function(f) {
|
|
1198
1200
|
return f.test(o);
|
|
1199
|
-
}) : re(
|
|
1201
|
+
}) : re(u, function(f) {
|
|
1200
1202
|
return f.test(o);
|
|
1201
1203
|
}), h;
|
|
1202
1204
|
h = e.valueCallback ? e.valueCallback(l) : l, h = a.valueCallback ? a.valueCallback(h) : h;
|
|
@@ -1227,18 +1229,18 @@ function oe(e) {
|
|
|
1227
1229
|
return null;
|
|
1228
1230
|
var o = e.valueCallback ? e.valueCallback(i[0]) : i[0];
|
|
1229
1231
|
o = a.valueCallback ? a.valueCallback(o) : o;
|
|
1230
|
-
var
|
|
1232
|
+
var u = t.slice(r.length);
|
|
1231
1233
|
return {
|
|
1232
1234
|
value: o,
|
|
1233
|
-
rest:
|
|
1235
|
+
rest: u
|
|
1234
1236
|
};
|
|
1235
1237
|
};
|
|
1236
1238
|
}
|
|
1237
|
-
var se = /^(\d+)(th|st|nd|rd)?/i, le = /\d+/i,
|
|
1239
|
+
var se = /^(\d+)(th|st|nd|rd)?/i, le = /\d+/i, ue = {
|
|
1238
1240
|
narrow: /^(b|a)/i,
|
|
1239
1241
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1240
1242
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
1241
|
-
},
|
|
1243
|
+
}, de = {
|
|
1242
1244
|
any: [/^b/i, /^(a|c)/i]
|
|
1243
1245
|
}, ce = {
|
|
1244
1246
|
narrow: /^[1234]/i,
|
|
@@ -1284,9 +1286,9 @@ var se = /^(\d+)(th|st|nd|rd)?/i, le = /\d+/i, de = {
|
|
|
1284
1286
|
}
|
|
1285
1287
|
}),
|
|
1286
1288
|
era: F({
|
|
1287
|
-
matchPatterns:
|
|
1289
|
+
matchPatterns: ue,
|
|
1288
1290
|
defaultMatchWidth: "wide",
|
|
1289
|
-
parsePatterns:
|
|
1291
|
+
parsePatterns: de,
|
|
1290
1292
|
defaultParseWidth: "any"
|
|
1291
1293
|
}),
|
|
1292
1294
|
quarter: F({
|
|
@@ -1331,14 +1333,14 @@ var xe = {
|
|
|
1331
1333
|
}
|
|
1332
1334
|
};
|
|
1333
1335
|
const Te = xe;
|
|
1334
|
-
var Ce = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Se = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ke = /^'([^]*?)'?$/,
|
|
1336
|
+
var Ce = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Se = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ke = /^'([^]*?)'?$/, Me = /''/g, De = /[a-zA-Z]/;
|
|
1335
1337
|
function Oe(e, t, a) {
|
|
1336
|
-
var n, r, i, o,
|
|
1338
|
+
var n, r, i, o, u, l, h, m, f, p, g, w, D, C;
|
|
1337
1339
|
v(2, arguments);
|
|
1338
|
-
var N = String(t), O = $(), P = (n = (r = void 0) !== null && r !== void 0 ? r : O.locale) !== null && n !== void 0 ? n : Te, H = k((i = (o = (
|
|
1340
|
+
var N = String(t), O = $(), P = (n = (r = void 0) !== null && r !== void 0 ? r : O.locale) !== null && n !== void 0 ? n : Te, H = k((i = (o = (u = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && u !== void 0 ? u : O.firstWeekContainsDate) !== null && o !== void 0 ? o : (h = O.locale) === null || h === void 0 || (m = h.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
|
|
1339
1341
|
if (!(H >= 1 && H <= 7))
|
|
1340
1342
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
1341
|
-
var I = k((f = (p = (g = (w = void 0) !== null && w !== void 0 ? w : void 0) !== null && g !== void 0 ? g : O.weekStartsOn) !== null && p !== void 0 ? p : (
|
|
1343
|
+
var I = k((f = (p = (g = (w = void 0) !== null && w !== void 0 ? w : void 0) !== null && g !== void 0 ? g : O.weekStartsOn) !== null && p !== void 0 ? p : (D = O.locale) === null || D === void 0 || (C = D.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && f !== void 0 ? f : 0);
|
|
1342
1344
|
if (!(I >= 0 && I <= 6))
|
|
1343
1345
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
1344
1346
|
if (!P.localize)
|
|
@@ -1368,8 +1370,8 @@ function Oe(e, t, a) {
|
|
|
1368
1370
|
return Pe(b);
|
|
1369
1371
|
var Y = Pt[x];
|
|
1370
1372
|
if (Y)
|
|
1371
|
-
return
|
|
1372
|
-
if (x.match(
|
|
1373
|
+
return Lt(b) && Q(b, t, String(e)), Bt(b) && Q(b, t, String(e)), Y(at, b, P.localize, nt);
|
|
1374
|
+
if (x.match(De))
|
|
1373
1375
|
throw new RangeError("Format string contains an unescaped latin alphabet character `" + x + "`");
|
|
1374
1376
|
return b;
|
|
1375
1377
|
}).join("");
|
|
@@ -1377,7 +1379,7 @@ function Oe(e, t, a) {
|
|
|
1377
1379
|
}
|
|
1378
1380
|
function Pe(e) {
|
|
1379
1381
|
var t = e.match(ke);
|
|
1380
|
-
return t ? t[1].replace(
|
|
1382
|
+
return t ? t[1].replace(Me, "'") : e;
|
|
1381
1383
|
}
|
|
1382
1384
|
class Z {
|
|
1383
1385
|
constructor() {
|
|
@@ -1427,13 +1429,13 @@ const Ue = (e) => s(
|
|
|
1427
1429
|
), We = (e) => s(
|
|
1428
1430
|
"div",
|
|
1429
1431
|
{ class: "page-size" },
|
|
1430
|
-
s("span", null,
|
|
1432
|
+
s("span", null, d.translate("show", e.language)),
|
|
1431
1433
|
e.pageSizes.map((t) => s("button", { class: e.currentPageSize === t ? "active" : "", onClick: () => e.changePageSize(t) }, t))
|
|
1432
1434
|
), Fe = ({ from: e, to: t, applyFilters: a, language: n }) => {
|
|
1433
1435
|
let r, i;
|
|
1434
1436
|
const o = () => {
|
|
1435
1437
|
e = r.value;
|
|
1436
|
-
},
|
|
1438
|
+
}, u = () => {
|
|
1437
1439
|
t = i.value;
|
|
1438
1440
|
};
|
|
1439
1441
|
return s(
|
|
@@ -1445,7 +1447,7 @@ const Ue = (e) => s(
|
|
|
1445
1447
|
s(
|
|
1446
1448
|
"div",
|
|
1447
1449
|
{ class: "date-input" },
|
|
1448
|
-
s("vaadin-date-picker", { value: e, ref: (l) => r = l, label:
|
|
1450
|
+
s("vaadin-date-picker", { value: e, ref: (l) => r = l, label: d.translate("from", n), onChange: o })
|
|
1449
1451
|
),
|
|
1450
1452
|
s(
|
|
1451
1453
|
"span",
|
|
@@ -1459,23 +1461,23 @@ const Ue = (e) => s(
|
|
|
1459
1461
|
s(
|
|
1460
1462
|
"div",
|
|
1461
1463
|
{ class: "date-input" },
|
|
1462
|
-
s("vaadin-date-picker", { value: t, ref: (l) => i = l, label:
|
|
1464
|
+
s("vaadin-date-picker", { value: t, ref: (l) => i = l, label: d.translate("to", n), onChange: u })
|
|
1463
1465
|
),
|
|
1464
|
-
s("button", { class: "filter-btn", onClick: () => a(e, t) },
|
|
1466
|
+
s("button", { class: "filter-btn", onClick: () => a(e, t) }, d.translate("filter", n))
|
|
1465
1467
|
)
|
|
1466
1468
|
);
|
|
1467
1469
|
}, Ee = ({ source: e, language: t, dateformat: a }) => {
|
|
1468
1470
|
const n = [
|
|
1469
|
-
{ name:
|
|
1471
|
+
{ name: d.translate("transactionId", t) },
|
|
1470
1472
|
{
|
|
1471
|
-
name:
|
|
1473
|
+
name: d.translate("date", t)
|
|
1472
1474
|
},
|
|
1473
1475
|
{
|
|
1474
|
-
name:
|
|
1476
|
+
name: d.translate("amount", t)
|
|
1475
1477
|
},
|
|
1476
|
-
{ name:
|
|
1478
|
+
{ name: d.translate("productType", t) },
|
|
1477
1479
|
{
|
|
1478
|
-
name:
|
|
1480
|
+
name: d.translate("status", t)
|
|
1479
1481
|
}
|
|
1480
1482
|
];
|
|
1481
1483
|
return s(
|
|
@@ -1529,9 +1531,11 @@ function Ye(e, t, a) {
|
|
|
1529
1531
|
});
|
|
1530
1532
|
}
|
|
1531
1533
|
}
|
|
1532
|
-
const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}',
|
|
1534
|
+
const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}.MenuReturnButton{font:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MenuReturnButton h2.CategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}', Be = _e, Le = class {
|
|
1533
1535
|
constructor(e) {
|
|
1534
|
-
st(this, e), this.pageSizes = [10, 25, 50], this.pagination = null, this.
|
|
1536
|
+
st(this, e), this.pageSizes = [10, 25, 50], this.pagination = null, this.toggleScreen = () => {
|
|
1537
|
+
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.mobile }, window.location.href);
|
|
1538
|
+
}, this.endpoint = void 0, this.session = void 0, this.language = d.defaultLanguage, this.userId = void 0, this.translationUrl = void 0, this.mobile = !1, this.clientStyling = null, this.clientStylingUrl = null, this.mbSource = void 0, this.dateFormat = "", this.page = 0, this.pageSize = this.pageSizes[0], this.showMobileFilter = !1, this.to = void 0, this.from = void 0, this.type = "0", this.transactions = void 0, this.showLoader = !0;
|
|
1535
1539
|
}
|
|
1536
1540
|
watchMultiple() {
|
|
1537
1541
|
this.loadTransactions();
|
|
@@ -1544,7 +1548,7 @@ const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
|
|
|
1544
1548
|
}
|
|
1545
1549
|
componentWillLoad() {
|
|
1546
1550
|
return U(this, null, function* () {
|
|
1547
|
-
this.translationUrl && (yield
|
|
1551
|
+
this.translationUrl && (yield d.loadCustomTranslations(this.translationUrl)), this.loadTransactions();
|
|
1548
1552
|
});
|
|
1549
1553
|
}
|
|
1550
1554
|
componentDidLoad() {
|
|
@@ -1589,8 +1593,8 @@ const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
|
|
|
1589
1593
|
}
|
|
1590
1594
|
render() {
|
|
1591
1595
|
var e;
|
|
1592
|
-
const t =
|
|
1593
|
-
return s(lt, { key: "
|
|
1596
|
+
const t = q("../assets/filter.svg"), a = q("../assets/warning.svg");
|
|
1597
|
+
return s(lt, { key: "2c1d74e9d321eb73796caa26b58faa1b130d1da1" }, this.showLoader ? s(ft, null) : "", s("div", { key: "a33973c114c4baa184a3699d46e8eb970f3b9dcc", class: "wrapper", ref: (n) => this.stylingContainer = n }, this.mobile ? s("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("defs", null), s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), s("h2", { class: "CategoryTitleMobile" }, d.translate("back", this.language))) : null, s("div", { key: "0e1599e3453a357abaa41af809f7bbf3aebce4f8", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, s("button", { key: "2db4c38935c1d7eab9f2269774433240ef989a8c", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, d.translate("deposit", this.language)), s("button", { key: "d09f84ad02e73a77af885fad40d2456fa7572939", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, d.translate("withdrawals", this.language))), this.mobile ? "" : s(We, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (n) => this.changePageSize(n) }), this.mobile ? s("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, s("img", { src: t, alt: "Filter" }), d.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? s(Fe, { language: this.language, applyFilters: (n, r) => this.applyFilters(n, r) }) : "", ((e = this.transactions) === null || e === void 0 ? void 0 : e.length) > 0 ? s("div", { class: "table" }, this.mobile ? s("div", { class: "mobile-table" }, this.transactions.map((n) => s(Ue, Object.assign({}, n, { dateformat: this.dateFormat })))) : s(Ee, { source: this.transactions, language: this.language, dateformat: this.dateFormat })) : s("div", { class: "noData" }, s("img", { src: a, alt: "Warning" }), s("span", null, d.translate("noData", this.language))), s("div", { key: "4a00bc8d3404724b388df8332f8d2ea60ab141bf", class: "pagination" }, s("button", { key: "23c111e2e09d1a30c3fa12602f90595742b519c0", onClick: () => this.prev() }, "<"), s("button", { key: "aa6cd0cc7c32a8603869b1832445ceaeacf0a242", onClick: () => this.next() }, ">"))));
|
|
1594
1598
|
}
|
|
1595
1599
|
loadTransactions() {
|
|
1596
1600
|
return U(this, null, function* () {
|
|
@@ -1624,7 +1628,7 @@ const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
|
|
|
1624
1628
|
return ["../assets"];
|
|
1625
1629
|
}
|
|
1626
1630
|
get el() {
|
|
1627
|
-
return
|
|
1631
|
+
return ut(this);
|
|
1628
1632
|
}
|
|
1629
1633
|
static get watchers() {
|
|
1630
1634
|
return {
|
|
@@ -1639,7 +1643,7 @@ const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
|
|
|
1639
1643
|
};
|
|
1640
1644
|
}
|
|
1641
1645
|
};
|
|
1642
|
-
|
|
1646
|
+
Le.style = Be;
|
|
1643
1647
|
export {
|
|
1644
|
-
|
|
1648
|
+
Le as user_transaction_history
|
|
1645
1649
|
};
|