@everymatrix/player-account-controller-nd 1.56.0 → 1.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-qtT2UsMu.js → GeneralLogout-4it4FG1e.js} +707 -647
- package/components/{GeneralLogout-CqNn1bEG.js → GeneralLogout-CeysydbF.js} +805 -745
- package/components/GeneralLogout-DKq7aXpj.cjs +21 -0
- package/components/PlayerAccountBettingHistory-6L3UumfC.js +329 -0
- package/components/PlayerAccountBettingHistory-Ba0rbzAt.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-CgKp1Tsa.js → PlayerAccountBettingHistory-CITAS_tU.js} +126 -127
- package/components/{PlayerAccountBiometrics-hfEg8HK3.js → PlayerAccountBiometrics-Be6QWwR6.js} +22 -22
- package/components/{PlayerAccountBiometrics-8CaZALdD.cjs → PlayerAccountBiometrics-D3SdfZAk.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-BynUcDER.js → PlayerAccountBiometrics-DOKW7OSb.js} +22 -22
- package/components/{PlayerAccountClosureNd-BzygnnRL.cjs → PlayerAccountClosureNd-Ba7qRwie.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-BNAxe4kI.js → PlayerAccountClosureNd-DmAOX_fd.js} +17 -17
- package/components/{PlayerAccountClosureNd-C56v4kQH.js → PlayerAccountClosureNd-rzbr78tt.js} +17 -17
- package/components/{PlayerAccountControllerNd-0Azz2muh.js → PlayerAccountControllerNd-C9zdr3qP.js} +550 -394
- package/components/{PlayerAccountControllerNd-CU0CZtN2.js → PlayerAccountControllerNd-CEgWZtmX.js} +553 -397
- package/components/PlayerAccountControllerNd-C_J5naBp.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-BUBbpeFt.js → PlayerAccountGamingLimits-Bk5wHTwY.js} +116 -116
- package/components/{PlayerAccountGamingLimits-cGyCwFe3.js → PlayerAccountGamingLimits-ByuUh2TU.js} +116 -116
- package/components/PlayerAccountGamingLimits-FIGZjiiE.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzxaZ7Sb.js → PlayerAccountGamingLimitsConfirmationModal-CNYtoEVr.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CUg2My3V.cjs → PlayerAccountGamingLimitsConfirmationModal-CyALQICB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CPRvI7h-.js → PlayerAccountGamingLimitsConfirmationModal-orqpWBGG.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-BJQil0oW.js → PlayerAccountGamingLimitsGroupEdit-BaorReGW.js} +1329 -1382
- package/components/PlayerAccountGamingLimitsGroupEdit-BpaOoTGu.cjs +10 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-uRCXqfhe.js → PlayerAccountGamingLimitsGroupEdit-CTpK2bHP.js} +1329 -1382
- package/components/{PlayerAccountGamingLimitsHistory2Nd-B9FC3C6m.js → PlayerAccountGamingLimitsHistory2Nd-2-WDm2bq.js} +87 -86
- package/components/{PlayerAccountGamingLimitsHistory2Nd-wYR_HP23.js → PlayerAccountGamingLimitsHistory2Nd-7fOlRCey.js} +85 -84
- package/components/{PlayerAccountGamingLimitsHistory2Nd-Daq9D9so.cjs → PlayerAccountGamingLimitsHistory2Nd-BXZnq3wo.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DgmJAMo8.js → PlayerAccountGamingLimitsInfoCard-CmZ-aPgC.js} +153 -149
- package/components/{PlayerAccountGamingLimitsInfoCard-c0kYK6Z1.cjs → PlayerAccountGamingLimitsInfoCard-DlJXsDqV.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DvaVcUFe.js → PlayerAccountGamingLimitsInfoCard-jkLmhvDf.js} +153 -149
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BDBtHDGH.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DqUF8U7Z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DJhG-lLb.js → PlayerAccountGamingLimitsPage2Gm16Nd-EZm3k5mj.js} +102 -89
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BQeFK7FJ.js → PlayerAccountGamingLimitsPage2Gm16Nd-Upyezdba.js} +102 -89
- package/components/{PlayerAccountGamingLimitsPopup-BgdXe6lp.js → PlayerAccountGamingLimitsPopup-AuWDAmQP.js} +46 -46
- package/components/{PlayerAccountGamingLimitsPopup-BhqEVpIP.js → PlayerAccountGamingLimitsPopup-CwqIGi2v.js} +46 -46
- package/components/{PlayerAccountGamingLimitsPopup-CfBYEYKc.cjs → PlayerAccountGamingLimitsPopup-Dbr-uHeX.cjs} +1 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-CaSPlV36.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-HNcfKvd3.js → PlayerAccountGamingLimitsWrapper2Nd-CoWewNS3.js} +51 -51
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-bkcZAm71.js → PlayerAccountGamingLimitsWrapper2Nd-FUnyhjkp.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-Dr-ZkTHH.cjs → PlayerAccountGeneralConfirmationModal-BJ3S0RLL.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BUSAMIdf.js → PlayerAccountGeneralConfirmationModal-DYhGjzZF.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-BXQQtxIE.js → PlayerAccountGeneralConfirmationModal-mUHuj-5B.js} +34 -34
- package/components/{PlayerAccountMenuNd-BGd35WSX.js → PlayerAccountMenuNd-BeGAjc3q.js} +167 -145
- package/components/PlayerAccountMenuNd-CCPMD49m.cjs +1 -0
- package/components/{PlayerAccountMenuNd-Dw-owOIv.js → PlayerAccountMenuNd-z28QxKXk.js} +166 -144
- package/components/{PlayerAccountModal-C7aE-f75.js → PlayerAccountModal-DhsJbk1o.js} +51 -51
- package/components/{PlayerAccountModal-DcQTZlVT.js → PlayerAccountModal-RfCUFEKE.js} +51 -51
- package/components/{PlayerAccountModal-CLW-XTid.cjs → PlayerAccountModal-tginaXbZ.cjs} +1 -1
- package/components/{PlayerAccountNotifications-lv1He1RO.js → PlayerAccountNotifications-9IZXsnRq.js} +36 -34
- package/components/{PlayerAccountNotifications-CmSue8JR.cjs → PlayerAccountNotifications-BLsxWrq2.cjs} +1 -1
- package/components/{PlayerAccountNotifications-0ecn9JH_.js → PlayerAccountNotifications-CI42A39-.js} +35 -33
- package/components/{PlayerAccountSelfExclusionNd-DRQwA-0O.js → PlayerAccountSelfExclusionNd-BJSYuGGb.js} +1429 -1409
- package/components/{PlayerAccountSelfExclusionNd-CsBAGhjI.js → PlayerAccountSelfExclusionNd-CMyrV_Zw.js} +1587 -1568
- package/components/{PlayerAccountSelfExclusionNd-TZyj4_3a.cjs → PlayerAccountSelfExclusionNd-CvzFCk_y.cjs} +182 -184
- package/components/{PlayerAccountTimeout-CixN4uD5.js → PlayerAccountTimeout-BgVyf5pg.js} +64 -64
- package/components/{PlayerAccountTimeout-BDvJp_Zk.cjs → PlayerAccountTimeout-Cmxwsq-8.cjs} +1 -1
- package/components/{PlayerAccountTimeout-C0WAFaPW.js → PlayerAccountTimeout-DZRYFOmk.js} +64 -64
- package/components/PlayerActiveBonuses-DTojdXrg.cjs +1 -0
- package/components/{PlayerActiveBonuses-CbJliQvN.js → PlayerActiveBonuses-DvxsZxry.js} +271 -249
- package/components/{PlayerActiveBonuses-BAx9d0pm.js → PlayerActiveBonuses-DygjEMxS.js} +269 -247
- package/components/{PlayerBonusCard-DnyVL-Cb.js → PlayerBonusCard-H2w9JzhE.js} +80 -80
- package/components/{PlayerBonusCard-5gtng8cd.cjs → PlayerBonusCard-ihCApHIs.cjs} +1 -1
- package/components/{PlayerBonusCard-BiVG3k7R.js → PlayerBonusCard-kLis8g-m.js} +80 -80
- package/components/{PlayerBonusHistory-DA8a2ZnE.js → PlayerBonusHistory-4JLORatp.js} +61 -61
- package/components/{PlayerBonusHistory-CaiqLQk_.js → PlayerBonusHistory-CYqVVEW6.js} +63 -63
- package/components/{PlayerBonusHistory-rLGeO078.cjs → PlayerBonusHistory-DrmYaQxw.cjs} +1 -1
- package/components/{PlayerChangePassword-DsR4BO-Y.js → PlayerChangePassword-BekJt2EW.js} +90 -88
- package/components/{PlayerChangePassword-dEL-0H2u.js → PlayerChangePassword-DLhHjRp1.js} +90 -88
- package/components/{PlayerChangePassword-BsM1lBfW.cjs → PlayerChangePassword-DZ0zUct-.cjs} +1 -1
- package/components/PlayerDeposit-2rXfB2O5.cjs +1 -0
- package/components/PlayerDeposit-BwW_MMqP.js +391 -0
- package/components/PlayerDeposit-CJ23PX1y.js +391 -0
- package/components/{PlayerGamingHistory-GGgBAhXX.js → PlayerGamingHistory-C4VndFg1.js} +62 -62
- package/components/{PlayerGamingHistory-BRstQCWo.cjs → PlayerGamingHistory-CFnbY4e2.cjs} +1 -1
- package/components/{PlayerGamingHistory-BYRzcRjb.js → PlayerGamingHistory-Cnuo_HjC.js} +57 -57
- package/components/{PlayerPendingWithdrawals-CaoLTPFk.js → PlayerPendingWithdrawals-B3LxQtqC.js} +26 -26
- package/components/{PlayerPendingWithdrawals-qMs8We3P.cjs → PlayerPendingWithdrawals-UG-bN1ca.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-M9Wq9w2M.js → PlayerPendingWithdrawals-ki_Gjm_H.js} +26 -26
- package/components/{PlayerProfileInfo-B4pkapUi.js → PlayerProfileInfo-CNv-9pT9.js} +56 -54
- package/components/{PlayerProfileInfo-Mqg0xIQD.cjs → PlayerProfileInfo-DLth9JMy.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cr6m7e2V.js → PlayerProfileInfo-DV9mn7sN.js} +54 -52
- package/components/{PlayerRealityCheck-CMKhVVBJ.js → PlayerRealityCheck-BQCOhNTa.js} +33 -33
- package/components/{PlayerRealityCheck-DoXLoM9G.cjs → PlayerRealityCheck-BmVSMTSf.cjs} +1 -1
- package/components/{PlayerRealityCheck-B9LHSWRj.js → PlayerRealityCheck-CTuOdJqC.js} +33 -33
- package/components/{PlayerTransactionHistory-BaALuJRH.js → PlayerTransactionHistory-DSVdbdHO.js} +24 -24
- package/components/{PlayerTransactionHistory-CYob92HC.js → PlayerTransactionHistory-DkLL3JLy.js} +24 -24
- package/components/{PlayerTransactionHistory-BqEXyDt-.cjs → PlayerTransactionHistory-U2CncC4r.cjs} +1 -1
- package/components/{PlayerWithdrawal-1i-tYxaO.cjs → PlayerWithdrawal-CsPPu5bX.cjs} +1 -1
- package/components/{PlayerWithdrawal-CNDRfeXy.js → PlayerWithdrawal-CuYoN_mb.js} +25 -25
- package/components/{PlayerWithdrawal-U9E0FEDt.js → PlayerWithdrawal-Dq9rMCnK.js} +25 -25
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +1 -0
- package/stencil/app-globals-0f993ce5-DzSE6TtH.js +13 -0
- package/stencil/checkbox-group-input_9-DMrH9pTx.cjs +2045 -0
- package/stencil/{checkbox-group-input_9-B_RfUM6E.js → checkbox-group-input_9-DtZ9kvK4.js} +945 -903
- package/stencil/{checkbox-group-input_9-C98yT4vw.js → checkbox-group-input_9-DvXvp-ML.js} +984 -942
- package/stencil/general-input-CFqrfrup.cjs +1 -0
- package/stencil/{general-input-CqTf7ErJ.js → general-input-eCxMClmW.js} +6 -6
- package/stencil/{general-input-DTHw5Z1Q.js → general-input-rL_ftR3H.js} +6 -6
- package/stencil/index-1ef3a64c-BnB-ATuA.js +556 -0
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +1 -0
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +572 -0
- package/stencil/index-7c5e707a-CTC8RpEi.js +643 -0
- package/stencil/index-7c5e707a-CWE0q0mP.js +616 -0
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +1 -0
- package/stencil/index-9c0f6c58-C1yzTenw.js +576 -0
- package/stencil/index-9c0f6c58-CqoLeK5G.js +549 -0
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +1 -0
- package/stencil/index-9cd44522-BqLgI-Ho.js +626 -0
- package/stencil/index-9cd44522-Cygpa4pV.js +610 -0
- package/stencil/index-9cd44522-DwMekoGN.cjs +1 -0
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +1 -0
- package/stencil/index-ae04a8b1-fpBaOn88.js +516 -0
- package/stencil/index-ae04a8b1-ixlRj3zC.js +532 -0
- package/stencil/{password-input_2-CdHS5fmR.js → password-input_2-9_yxZI2g.js} +51 -31
- package/stencil/{password-input_2-B2qvf6ku.cjs → password-input_2-BabcxKun.cjs} +7 -7
- package/stencil/{password-input_2-DdQvCp3o.js → password-input_2-D-YA_Jkx.js} +51 -31
- package/stencil/{player-change-password-gm2-38dff08c-BNhjxr22.js → player-change-password-gm2-039e300e-CcWiaT26.js} +3 -3
- package/stencil/{player-change-password-gm2-38dff08c-DnYXSeKg.cjs → player-change-password-gm2-039e300e-DiYWgS70.cjs} +1 -1
- package/stencil/{player-change-password-gm2-38dff08c-CPRdwVFF.js → player-change-password-gm2-039e300e-Zp9TDX77.js} +3 -3
- package/stencil/player-change-password-gm2-BWjI2Hs0.js +25 -0
- package/stencil/player-change-password-gm2-BaYafift.js +7 -0
- package/stencil/player-change-password-gm2-DsT1aXcX.cjs +1 -0
- package/stencil/player-kyc-verification-B8arDCja.js +863 -0
- package/stencil/player-kyc-verification-Di40xn9z.js +885 -0
- package/stencil/player-kyc-verification-GFBDUbhm.cjs +180 -0
- package/stencil/{toggle-checkbox-input-B4OOk9wz.js → toggle-checkbox-input-BxUGWw2X.js} +15 -7
- package/stencil/toggle-checkbox-input-D-Cv1QSS.cjs +1 -0
- package/stencil/{toggle-checkbox-input-Cwo_Ny77.js → toggle-checkbox-input-PSoH9KF2.js} +15 -7
- package/stencil/{ui-skeleton-ITys8nIA.cjs → ui-skeleton-BC4mw1ae.cjs} +1 -1
- package/stencil/{ui-skeleton-BL5JJXyn.js → ui-skeleton-DT0OMDC6.js} +3 -3
- package/stencil/{ui-skeleton-CGldUjn2.js → ui-skeleton-T4HYbNcC.js} +3 -3
- package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +1 -0
- package/stencil/{ui-skeleton-982450d2-BKnKTh4c.js → ui-skeleton-a642cced-Ba-weZ4g.js} +21 -21
- package/stencil/{ui-skeleton-982450d2-DQzKNKe8.js → ui-skeleton-a642cced-DhjmNsN7.js} +21 -21
- package/stencil/user-deposit-withdrawal-BQKFgZ31.cjs +59 -0
- package/stencil/user-deposit-withdrawal-DRe5oBqv.js +684 -0
- package/stencil/user-deposit-withdrawal-Dj3Po03r.js +706 -0
- package/stencil/user-transaction-history-6-z3byrF.js +374 -0
- package/stencil/user-transaction-history-Dca7qx08.js +350 -0
- package/stencil/user-transaction-history-DrhquxkJ.cjs +1 -0
- package/stencil/{vaadin-button-mixin-ef61174c-DuDVejN4.cjs → vaadin-button-mixin-e8c3f355-BdntioNA.cjs} +130 -124
- package/stencil/{vaadin-button-mixin-ef61174c-B_vhSFKU.js → vaadin-button-mixin-e8c3f355-DON-rAuy.js} +821 -795
- package/stencil/{vaadin-button-mixin-ef61174c-EQiVsI4x.js → vaadin-button-mixin-e8c3f355-DQ5UgwNf.js} +931 -906
- package/components/GeneralLogout-9pZTJKCj.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BgdXC00n.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DGdU5x1X.js +0 -328
- package/components/PlayerAccountControllerNd-DiMI0zck.cjs +0 -1
- package/components/PlayerAccountGamingLimits-DoYSa5g4.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-ByRLb87-.cjs +0 -10
- package/components/PlayerAccountGamingLimitsWrapper2Nd-DnBhGv4Z.cjs +0 -1
- package/components/PlayerAccountMenuNd-BWzYxwjF.cjs +0 -1
- package/components/PlayerActiveBonuses-DTgD47j8.cjs +0 -1
- package/components/PlayerDeposit-0eaqfWH1.cjs +0 -1
- package/components/PlayerDeposit-D_Ujmr4j.js +0 -391
- package/components/PlayerDeposit-IS6_f845.js +0 -391
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
- package/stencil/checkbox-group-input_9-C2IUNSpC.cjs +0 -2045
- package/stencil/general-input-wM2i7b57.cjs +0 -1
- package/stencil/index-92b64862-BRYoLHww.cjs +0 -1
- package/stencil/index-92b64862-C_69cKxK.js +0 -708
- package/stencil/index-92b64862-w9a1l35N.js +0 -692
- package/stencil/index-Dyvby5gX.cjs +0 -1
- package/stencil/index-db5752f9-DlyF6uv8.js +0 -594
- package/stencil/index-db5752f9-DrdunCay.js +0 -610
- package/stencil/index-db5752f9-dFKrDpwt.cjs +0 -1
- package/stencil/index-l0sNRNKZ.js +0 -1
- package/stencil/player-change-password-gm2-Cxdum0Hh.js +0 -25
- package/stencil/player-change-password-gm2-DJqZO25d.cjs +0 -1
- package/stencil/player-change-password-gm2-DWoAaJ2f.js +0 -7
- package/stencil/toggle-checkbox-input-tQDhlcag.cjs +0 -1
- package/stencil/ui-skeleton-982450d2-DDIv0--Q.cjs +0 -1
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
var c = (t, a, i) => new Promise((n, r) => {
|
|
2
|
+
var l = (s) => {
|
|
3
|
+
try {
|
|
4
|
+
d(i.next(s));
|
|
5
|
+
} catch (p) {
|
|
6
|
+
r(p);
|
|
7
|
+
}
|
|
8
|
+
}, h = (s) => {
|
|
9
|
+
try {
|
|
10
|
+
d(i.throw(s));
|
|
11
|
+
} catch (p) {
|
|
12
|
+
r(p);
|
|
13
|
+
}
|
|
14
|
+
}, d = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, h);
|
|
15
|
+
d((i = i.apply(t, a)).next());
|
|
16
|
+
});
|
|
17
|
+
import { b as y, p as v, r as x, g as u, h as e, H as w, a as S } from "./index-7c5e707a-CTC8RpEi.js";
|
|
18
|
+
import { d as C } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
|
+
var k = () => {
|
|
20
|
+
const t = import.meta.url, a = {};
|
|
21
|
+
return t !== "" && (a.resourcesUrl = new URL(".", t).href), v(a);
|
|
22
|
+
};
|
|
23
|
+
k().then((t) => c(void 0, null, function* () {
|
|
24
|
+
return yield C(), y([["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"], 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"] }]]]], t);
|
|
25
|
+
}));
|
|
26
|
+
const T = {
|
|
27
|
+
en: {
|
|
28
|
+
deposit: "Deposit",
|
|
29
|
+
withdrawals: "Withdrawals",
|
|
30
|
+
show: "Show",
|
|
31
|
+
from: "From",
|
|
32
|
+
to: "To",
|
|
33
|
+
filter: "Filter",
|
|
34
|
+
transactionId: "Transaction ID",
|
|
35
|
+
date: "Date",
|
|
36
|
+
amount: "Amount",
|
|
37
|
+
productType: "Product Type",
|
|
38
|
+
status: "Status",
|
|
39
|
+
noData: "There are no account activities"
|
|
40
|
+
},
|
|
41
|
+
hr: {
|
|
42
|
+
deposit: "Uplate",
|
|
43
|
+
withdrawals: "Isplate",
|
|
44
|
+
show: "Prikaži",
|
|
45
|
+
from: "Od",
|
|
46
|
+
to: "Do",
|
|
47
|
+
filter: "Filter",
|
|
48
|
+
transactionId: "ID transakcije",
|
|
49
|
+
date: "Datum",
|
|
50
|
+
amount: "Iznos",
|
|
51
|
+
productType: "Vrsta proizvoda",
|
|
52
|
+
status: "Status",
|
|
53
|
+
noData: "Nema aktivnosti na računu"
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
class o {
|
|
57
|
+
constructor() {
|
|
58
|
+
}
|
|
59
|
+
static loadCustomTranslations(a) {
|
|
60
|
+
return c(this, null, function* () {
|
|
61
|
+
try {
|
|
62
|
+
const i = yield fetch(a, {
|
|
63
|
+
headers: {
|
|
64
|
+
"Content-Type": "application/json"
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
if (!i.ok) {
|
|
68
|
+
const r = yield i.text();
|
|
69
|
+
throw new Error(r);
|
|
70
|
+
}
|
|
71
|
+
const n = yield i.json();
|
|
72
|
+
o.updateTranslations(n);
|
|
73
|
+
} catch (i) {
|
|
74
|
+
console.error(`Failed to load translations ${a}. ${i.message}`);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
static translate(a, i) {
|
|
79
|
+
var n, r;
|
|
80
|
+
const l = o.getAvaliableLanguages(i);
|
|
81
|
+
return ((r = (n = o.customTranslation) === null || n === void 0 ? void 0 : n[l.customLanguage]) === null || r === void 0 ? void 0 : r[a]) || o.defaultTranslation[l.predefinedLanguage][a];
|
|
82
|
+
}
|
|
83
|
+
static getAvaliableLanguages(a) {
|
|
84
|
+
var i;
|
|
85
|
+
const n = !((i = o.customLanguages) === null || i === void 0) && i.includes(a) ? a : o.defaultLanguage;
|
|
86
|
+
return { predefinedLanguage: o.supportedLanguages.includes(a) ? a : o.defaultLanguage, customLanguage: n };
|
|
87
|
+
}
|
|
88
|
+
static updateTranslations(a) {
|
|
89
|
+
o.customLanguages = Array.from(/* @__PURE__ */ new Set([...o.supportedLanguages, ...Object.keys(a).map((i) => i.toLowerCase())])), o.customTranslation = a;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
o.defaultLanguage = "en";
|
|
93
|
+
o.supportedLanguages = ["en"];
|
|
94
|
+
o.defaultTranslation = T;
|
|
95
|
+
const B = () => e(
|
|
96
|
+
"div",
|
|
97
|
+
{ class: "loader" },
|
|
98
|
+
e("div", null),
|
|
99
|
+
e("div", null),
|
|
100
|
+
e("div", null),
|
|
101
|
+
e("div", null),
|
|
102
|
+
e("div", null),
|
|
103
|
+
e("div", null),
|
|
104
|
+
e("div", null),
|
|
105
|
+
e("div", null),
|
|
106
|
+
e("div", null),
|
|
107
|
+
e("div", null),
|
|
108
|
+
e("div", null),
|
|
109
|
+
e("div", null)
|
|
110
|
+
);
|
|
111
|
+
class b {
|
|
112
|
+
constructor() {
|
|
113
|
+
}
|
|
114
|
+
static dateToFormatedString(a) {
|
|
115
|
+
const i = a.toLocaleDateString("en-gb"), n = a.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
|
|
116
|
+
return `${i}, ${n}`;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
class f {
|
|
120
|
+
constructor() {
|
|
121
|
+
}
|
|
122
|
+
static format(a, i) {
|
|
123
|
+
let n = `${i} ${a}`;
|
|
124
|
+
try {
|
|
125
|
+
n = new Intl.NumberFormat("en-US", {
|
|
126
|
+
style: "currency",
|
|
127
|
+
currency: a
|
|
128
|
+
}).format(i);
|
|
129
|
+
} catch (r) {
|
|
130
|
+
}
|
|
131
|
+
return n;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const L = (t) => e(
|
|
135
|
+
"div",
|
|
136
|
+
{ class: "data-transaction" },
|
|
137
|
+
e("p", null, t.productType),
|
|
138
|
+
e(
|
|
139
|
+
"p",
|
|
140
|
+
{ class: "text-style text-style-status" },
|
|
141
|
+
e("span", { class: t.status.toLowerCase() }, t.status)
|
|
142
|
+
),
|
|
143
|
+
e(
|
|
144
|
+
"p",
|
|
145
|
+
{ class: "date" },
|
|
146
|
+
t.transId,
|
|
147
|
+
" | ",
|
|
148
|
+
b.dateToFormatedString(new Date(t.created))
|
|
149
|
+
),
|
|
150
|
+
e(
|
|
151
|
+
"p",
|
|
152
|
+
{ class: "text-style" },
|
|
153
|
+
f.format(t.currency, t.realAmount),
|
|
154
|
+
" "
|
|
155
|
+
)
|
|
156
|
+
), D = (t) => e(
|
|
157
|
+
"div",
|
|
158
|
+
{ class: "page-size" },
|
|
159
|
+
e("span", null, o.translate("show", t.language)),
|
|
160
|
+
t.pageSizes.map((a) => e("button", { class: t.currentPageSize === a ? "active" : "", onClick: () => t.changePageSize(a) }, a))
|
|
161
|
+
), F = ({ from: t, to: a, applyFilters: i, language: n }) => {
|
|
162
|
+
let r, l;
|
|
163
|
+
const h = () => {
|
|
164
|
+
t = r.value;
|
|
165
|
+
}, d = () => {
|
|
166
|
+
a = l.value;
|
|
167
|
+
};
|
|
168
|
+
return e(
|
|
169
|
+
"div",
|
|
170
|
+
{ class: "period" },
|
|
171
|
+
e(
|
|
172
|
+
"div",
|
|
173
|
+
{ class: "period-content" },
|
|
174
|
+
e(
|
|
175
|
+
"div",
|
|
176
|
+
{ class: "date-input" },
|
|
177
|
+
e("vaadin-date-picker", { value: t, ref: (s) => r = s, label: o.translate("from", n), onChange: h })
|
|
178
|
+
),
|
|
179
|
+
e(
|
|
180
|
+
"span",
|
|
181
|
+
null,
|
|
182
|
+
e(
|
|
183
|
+
"svg",
|
|
184
|
+
{ width: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
185
|
+
e("path", { d: "m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z", "fill-rule": "nonzero", fill: "#5d687b" })
|
|
186
|
+
)
|
|
187
|
+
),
|
|
188
|
+
e(
|
|
189
|
+
"div",
|
|
190
|
+
{ class: "date-input" },
|
|
191
|
+
e("vaadin-date-picker", { value: a, ref: (s) => l = s, label: o.translate("to", n), onChange: d })
|
|
192
|
+
),
|
|
193
|
+
e("button", { class: "filter-btn", onClick: () => i(t, a) }, o.translate("filter", n))
|
|
194
|
+
)
|
|
195
|
+
);
|
|
196
|
+
}, M = ({ source: t, language: a }) => {
|
|
197
|
+
const i = [
|
|
198
|
+
{ name: o.translate("transactionId", a) },
|
|
199
|
+
{
|
|
200
|
+
name: o.translate("date", a)
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: o.translate("amount", a)
|
|
204
|
+
},
|
|
205
|
+
{ name: o.translate("productType", a) },
|
|
206
|
+
{
|
|
207
|
+
name: o.translate("status", a)
|
|
208
|
+
}
|
|
209
|
+
];
|
|
210
|
+
return e(
|
|
211
|
+
"table",
|
|
212
|
+
null,
|
|
213
|
+
e(
|
|
214
|
+
"thead",
|
|
215
|
+
null,
|
|
216
|
+
e("tr", null, i.map((n) => e("th", null, n.name)))
|
|
217
|
+
),
|
|
218
|
+
e("tbody", null, t.map((n) => e(
|
|
219
|
+
"tr",
|
|
220
|
+
null,
|
|
221
|
+
e("td", null, n.transId),
|
|
222
|
+
e("td", null, b.dateToFormatedString(new Date(n.created))),
|
|
223
|
+
e(
|
|
224
|
+
"td",
|
|
225
|
+
null,
|
|
226
|
+
f.format(n.currency, n.realAmount),
|
|
227
|
+
" "
|
|
228
|
+
),
|
|
229
|
+
e("td", null, n.productType),
|
|
230
|
+
e(
|
|
231
|
+
"td",
|
|
232
|
+
null,
|
|
233
|
+
e("span", { class: n.status.toLowerCase() }, n.status)
|
|
234
|
+
)
|
|
235
|
+
)))
|
|
236
|
+
);
|
|
237
|
+
};
|
|
238
|
+
function g(t, a) {
|
|
239
|
+
if (t) {
|
|
240
|
+
const i = document.createElement("style");
|
|
241
|
+
i.innerHTML = a, t.appendChild(i);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
function m(t, a) {
|
|
245
|
+
const i = new URL(a);
|
|
246
|
+
fetch(i.href).then((n) => n.text()).then((n) => {
|
|
247
|
+
const r = document.createElement("style");
|
|
248
|
+
r.innerHTML = n, t && t.appendChild(r);
|
|
249
|
+
}).catch((n) => {
|
|
250
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
function U(t, a, i) {
|
|
254
|
+
if (window.emMessageBus) {
|
|
255
|
+
const n = document.createElement("style");
|
|
256
|
+
window.emMessageBus.subscribe(a, (r) => {
|
|
257
|
+
n.innerHTML = r, t && t.appendChild(n);
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
const z = ':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%}}', I = z, H = class {
|
|
262
|
+
constructor(t) {
|
|
263
|
+
x(this, t), this.pageSizes = [10, 25, 50], this.pagination = null, this.endpoint = void 0, this.session = void 0, this.language = o.defaultLanguage, this.userId = void 0, this.translationUrl = void 0, this.mobile = !1, this.clientStyling = null, this.clientStylingUrl = null, this.mbSource = void 0, 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;
|
|
264
|
+
}
|
|
265
|
+
watchMultiple() {
|
|
266
|
+
this.loadTransactions();
|
|
267
|
+
}
|
|
268
|
+
handleClientStylingChange(t, a) {
|
|
269
|
+
t != a && g(this.stylingContainer, this.clientStyling);
|
|
270
|
+
}
|
|
271
|
+
handleClientStylingUrlChange(t, a) {
|
|
272
|
+
t != a && this.clientStylingUrl && m(this.stylingContainer, this.clientStylingUrl);
|
|
273
|
+
}
|
|
274
|
+
componentWillLoad() {
|
|
275
|
+
return c(this, null, function* () {
|
|
276
|
+
this.translationUrl && (yield o.loadCustomTranslations(this.translationUrl)), this.loadTransactions();
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
componentDidLoad() {
|
|
280
|
+
this.stylingContainer && (window.emMessageBus != null ? U(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && m(this.stylingContainer, this.clientStylingUrl)));
|
|
281
|
+
}
|
|
282
|
+
componentDidRender() {
|
|
283
|
+
this.getComponentHeight();
|
|
284
|
+
}
|
|
285
|
+
getComponentHeight() {
|
|
286
|
+
var t;
|
|
287
|
+
if (this.mobile) {
|
|
288
|
+
let a = this.el.getBoundingClientRect().height - ((t = this.el.shadowRoot.querySelector(".table")) === null || t === void 0 ? void 0 : t.getBoundingClientRect().y);
|
|
289
|
+
this.el.style.setProperty("--heightScrollableContainer", a + "px");
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
setHeightTableProperty() {
|
|
293
|
+
let t = this.getComponentHeight();
|
|
294
|
+
this.el.style.setProperty("--heightScrollableContainer", t + "px");
|
|
295
|
+
}
|
|
296
|
+
changeTransactionsType(t) {
|
|
297
|
+
this.type = t;
|
|
298
|
+
}
|
|
299
|
+
changePageSize(t) {
|
|
300
|
+
this.pageSize = t;
|
|
301
|
+
}
|
|
302
|
+
prev() {
|
|
303
|
+
var t;
|
|
304
|
+
!((t = this.pagination) === null || t === void 0) && t.previous && this.page--;
|
|
305
|
+
}
|
|
306
|
+
next() {
|
|
307
|
+
var t;
|
|
308
|
+
!((t = this.pagination) === null || t === void 0) && t.next && this.page++;
|
|
309
|
+
}
|
|
310
|
+
applyFilters(t, a) {
|
|
311
|
+
this.from = t ? new Date(t).toISOString() : null, this.to = a ? new Date(a).toISOString() : null, this.loadTransactions();
|
|
312
|
+
}
|
|
313
|
+
showFilter() {
|
|
314
|
+
this.showMobileFilter = !this.showMobileFilter;
|
|
315
|
+
}
|
|
316
|
+
disconnectedCallback() {
|
|
317
|
+
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
318
|
+
}
|
|
319
|
+
render() {
|
|
320
|
+
var t;
|
|
321
|
+
const a = u("../assets/filter.svg"), i = u("../assets/warning.svg");
|
|
322
|
+
return e(w, { key: "8d6470d73afff5dbc8a8c3a1a47426223971ad47" }, this.showLoader ? e(B, null) : "", e("div", { key: "8c32d9425b701747559ea1e63a3b2c4bb31780ab", class: "wrapper", ref: (n) => this.stylingContainer = n }, e("div", { key: "b2a9216bfcfa5950c174f6e06a179e2ae3790f6b", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, e("button", { key: "e2ce33fe2ab27abab68bd721b8b945bde5d672ac", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, o.translate("deposit", this.language)), e("button", { key: "6d80bef56bf4ec590cc2e4aa704f930a47b29f3c", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, o.translate("withdrawals", this.language))), this.mobile ? "" : e(D, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (n) => this.changePageSize(n) }), this.mobile ? e("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, e("img", { src: a, alt: "Filter" }), o.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? e(F, { language: this.language, applyFilters: (n, r) => this.applyFilters(n, r) }) : "", ((t = this.transactions) === null || t === void 0 ? void 0 : t.length) > 0 ? e("div", { class: "table" }, this.mobile ? e("div", { class: "mobile-table" }, this.transactions.map((n) => e(L, Object.assign({}, n)))) : e(M, { source: this.transactions, language: this.language })) : e("div", { class: "noData" }, e("img", { src: i, alt: "Warning" }), e("span", null, o.translate("noData", this.language))), e("div", { key: "9b7950ed91c4795f4355ce406d7cba40c46c0184", class: "pagination" }, e("button", { key: "bc7b2bce0a21763fc5a10d2249b74c2d9805d3b5", onClick: () => this.prev() }, "<"), e("button", { key: "69210c5b101a24563babdbe6b3361d091afc2cc0", onClick: () => this.next() }, ">"))));
|
|
323
|
+
}
|
|
324
|
+
loadTransactions() {
|
|
325
|
+
return c(this, null, function* () {
|
|
326
|
+
this.showLoader = !0;
|
|
327
|
+
try {
|
|
328
|
+
const t = `${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`, a = yield fetch(t, {
|
|
329
|
+
headers: {
|
|
330
|
+
"X-Sessionid": this.session,
|
|
331
|
+
"Content-Type": "application/json"
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
if (!a.ok) {
|
|
335
|
+
const n = yield a.text();
|
|
336
|
+
throw new Error(n);
|
|
337
|
+
}
|
|
338
|
+
const i = yield a.json();
|
|
339
|
+
this.pagination = i.pagination, this.transactions = i.transactions;
|
|
340
|
+
} catch (t) {
|
|
341
|
+
console.error(t);
|
|
342
|
+
} finally {
|
|
343
|
+
this.showLoader = !1;
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
getParams() {
|
|
348
|
+
var t, a;
|
|
349
|
+
const i = /* @__PURE__ */ new Date(), n = (this.page * this.pageSize).toString(), r = (t = this.from) !== null && t !== void 0 ? t : new Date(i.getFullYear(), i.getMonth(), 1).toISOString(), l = (a = this.to) !== null && a !== void 0 ? a : new Date(i.getFullYear(), i.getMonth() + 1, 0).toISOString();
|
|
350
|
+
return `offset=${n}&endDate=${l}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`;
|
|
351
|
+
}
|
|
352
|
+
static get assetsDirs() {
|
|
353
|
+
return ["../assets"];
|
|
354
|
+
}
|
|
355
|
+
get el() {
|
|
356
|
+
return S(this);
|
|
357
|
+
}
|
|
358
|
+
static get watchers() {
|
|
359
|
+
return {
|
|
360
|
+
page: ["watchMultiple"],
|
|
361
|
+
type: ["watchMultiple"],
|
|
362
|
+
session: ["watchMultiple"],
|
|
363
|
+
userId: ["watchMultiple"],
|
|
364
|
+
pageSize: ["watchMultiple"],
|
|
365
|
+
clientStyling: ["handleClientStylingChange"],
|
|
366
|
+
clientStylingUrl: ["handleClientStylingUrlChange"],
|
|
367
|
+
showMobileFilter: ["getComponentHeight"]
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
};
|
|
371
|
+
H.style = I;
|
|
372
|
+
export {
|
|
373
|
+
H as user_transaction_history
|
|
374
|
+
};
|