@everymatrix/player-account-controller-nd 1.62.0 → 1.62.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-mKknRJlq.js → GeneralLogout-BTv2xgJd.js} +874 -853
- package/components/GeneralLogout-CG738i36.cjs +21 -0
- package/components/{GeneralLogout-D-SNAWMX.js → GeneralLogout-DwBcwupG.js} +934 -913
- package/components/{PlayerAccountBettingHistory-D5R8TtVb.js → PlayerAccountBettingHistory-BQDZnQJv.js} +127 -126
- package/components/PlayerAccountBettingHistory-BaUkbO2e.js +328 -0
- package/components/PlayerAccountBettingHistory-Lp_KBkg4.cjs +1 -0
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CeKoZNyZ.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Dke9scx2.js → PlayerAccountBiometrics-Dbhuxb19.js} +22 -22
- package/components/{PlayerAccountBiometrics-1g9245j6.js → PlayerAccountBiometrics-Dh74Qtn7.js} +22 -22
- package/components/{PlayerAccountClosureNd-CH8UCD0A.js → PlayerAccountClosureNd-RzZdy1X2.js} +17 -17
- package/components/{PlayerAccountClosureNd-B4GnQQHa.cjs → PlayerAccountClosureNd-W9p7zcbe.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DtDZNFDs.js → PlayerAccountClosureNd-iArH3zZZ.js} +17 -17
- package/components/{PlayerAccountControllerNd-BdF7tJjB.cjs → PlayerAccountControllerNd-DDNVYyWt.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-0vYnuN11.js → PlayerAccountControllerNd-DsFtUK-L.js} +300 -300
- package/components/{PlayerAccountControllerNd-Dl53HnbV.js → PlayerAccountControllerNd-DxIJz73c.js} +302 -302
- package/components/{PlayerAccountGamingLimits-CPx-vfQw.js → PlayerAccountGamingLimits-BBHhkpWC.js} +81 -81
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-T_6zt26G.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-geiSuCGE.js → PlayerAccountGamingLimits-vH684ale.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js → PlayerAccountGamingLimitsConfirmationModal-BnEweLIY.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-D4IU66Wc.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js → PlayerAccountGamingLimitsConfirmationModal-DncSFVcn.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-BQRjAEj3.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js → PlayerAccountGamingLimitsGroupEdit-CLcyg1f7.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js → PlayerAccountGamingLimitsGroupEdit-CUg555uP.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs → PlayerAccountGamingLimitsHistory2Nd-BQGrRCWJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js → PlayerAccountGamingLimitsHistory2Nd-BjyWFgbh.js} +80 -80
- package/components/{PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js → PlayerAccountGamingLimitsHistory2Nd-Dnahi30S.js} +82 -82
- package/components/{PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js → PlayerAccountGamingLimitsInfoCard-C_enXawK.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js → PlayerAccountGamingLimitsInfoCard-DAWoyE6Y.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-DhUwJ_di.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BOSiubNU.js → PlayerAccountGamingLimitsPage2Gm16Nd-CItiaWO4.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-jqrV54-Z.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-CcjVoGsA.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-pShvuCwK.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuqE9Pkw.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-BsJZk5nW.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CLyTPF2L.js → PlayerAccountGamingLimitsPopup-Cmrpm7xg.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-DycV-u3W.js → PlayerAccountGamingLimitsPopup-DG8DCA7n.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DyjjE7PE.js → PlayerAccountGamingLimitsWrapper2Nd-6FmlTMHY.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DN_Z1qfZ.cjs → PlayerAccountGamingLimitsWrapper2Nd-CJNV_SoM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-P_wjUM_e.js → PlayerAccountGamingLimitsWrapper2Nd-DXImP9Aw.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-C855qGTP.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-4w5ypHAs.js → PlayerAccountGeneralConfirmationModal-CUpQq9mt.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-u_yQVW36.js → PlayerAccountGeneralConfirmationModal-XmJMAUuW.js} +34 -34
- package/components/{PlayerAccountMenuNd-BdUbwkRC.js → PlayerAccountMenuNd-B7orxu9_.js} +29 -29
- package/components/{PlayerAccountMenuNd-DYq6-5E1.cjs → PlayerAccountMenuNd-E7P8KRxO.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-QadC-Grv.js → PlayerAccountMenuNd-fsrRNaEx.js} +32 -32
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-DISAz4QD.cjs} +1 -1
- package/components/{PlayerAccountModal-CJAW5eai.js → PlayerAccountModal-DSZm9b_J.js} +42 -42
- package/components/{PlayerAccountModal-DzIuV3KN.js → PlayerAccountModal-Dqlx4tKV.js} +42 -42
- package/components/{PlayerAccountNotifications-CGztykmG.js → PlayerAccountNotifications-Ccv15Pjf.js} +60 -61
- package/components/{PlayerAccountNotifications-EUP33bwS.js → PlayerAccountNotifications-CeyX2lOx.js} +58 -59
- package/components/PlayerAccountNotifications-DN4TPQQU.cjs +1 -0
- package/components/{PlayerAccountSelfExclusionNd-Dkyi4Q2x.js → PlayerAccountSelfExclusionNd--JbMhz8n.js} +783 -788
- package/components/{PlayerAccountSelfExclusionNd-yy1Ud0-u.js → PlayerAccountSelfExclusionNd-C3rsUt5E.js} +1689 -1694
- package/components/{PlayerAccountSelfExclusionNd-8PVzGTTw.cjs → PlayerAccountSelfExclusionNd-CrYM5oTU.cjs} +153 -153
- package/components/{PlayerAccountTimeout-CoW4G5DN.js → PlayerAccountTimeout-BJL3CfsU.js} +58 -58
- package/components/{PlayerAccountTimeout-CwtA0wGq.cjs → PlayerAccountTimeout-BUvC_yO8.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BMw0JLoU.js → PlayerAccountTimeout-SoqN7bMq.js} +58 -58
- package/components/{PlayerActiveBonuses-BYyY-f1R.cjs → PlayerActiveBonuses-BMD0VJ2_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-B21RFH6W.js → PlayerActiveBonuses-Btey4mu_.js} +73 -73
- package/components/{PlayerActiveBonuses-ZPlncnwp.js → PlayerActiveBonuses-DiAj4d61.js} +74 -74
- package/components/PlayerBonusCard-69HwaVge.cjs +1 -0
- package/components/{PlayerBonusCard-B13e0fyW.js → PlayerBonusCard-CJu1lKOw.js} +158 -159
- package/components/{PlayerBonusCard-DO7afQyl.js → PlayerBonusCard-D_Dnw9ZH.js} +158 -159
- package/components/{PlayerBonusHistory-CPRAnYEn.cjs → PlayerBonusHistory-BJEyVsie.cjs} +1 -1
- package/components/{PlayerBonusHistory-OuvyxqYe.js → PlayerBonusHistory-CDGRzY8q.js} +33 -33
- package/components/{PlayerBonusHistory-DxhjoDEt.js → PlayerBonusHistory-XlSopYvg.js} +33 -33
- package/components/{PlayerChangePassword-Dtr2n1Et.js → PlayerChangePassword-BpFdooht.js} +82 -82
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-CeUedW_1.cjs} +1 -1
- package/components/{PlayerChangePassword-Ddfah5-0.js → PlayerChangePassword-DCAPfPzU.js} +82 -82
- package/components/{PlayerDeposit-CqqQuB6-.js → PlayerDeposit-BlaUbOFE.js} +75 -75
- package/components/PlayerDeposit-BmunpkgB.cjs +1 -0
- package/components/{PlayerDeposit-DzJLjkJJ.js → PlayerDeposit-CICzsn3y.js} +75 -75
- package/components/{PlayerGamingHistory-CS7Mfu_1.cjs → PlayerGamingHistory-Bhdmeb-N.cjs} +1 -1
- package/components/{PlayerGamingHistory-DpVGmQq7.js → PlayerGamingHistory-C5gP-ris.js} +84 -84
- package/components/{PlayerGamingHistory-BOravz1q.js → PlayerGamingHistory-DDIZM40J.js} +74 -74
- package/components/{PlayerPendingWithdrawals-BXngse4L.js → PlayerPendingWithdrawals-BTEMyPpn.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-BdgNl6Vs.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B5LftQI0.js → PlayerPendingWithdrawals-CIZkb_Lo.js} +26 -26
- package/components/{PlayerProfileInfo-AfctiBM2.cjs → PlayerProfileInfo-CGrlx6XJ.cjs} +1 -1
- package/components/{PlayerProfileInfo-DaEIOZ50.js → PlayerProfileInfo-tunQ_AFy.js} +60 -60
- package/components/{PlayerProfileInfo-DoFaM2xG.js → PlayerProfileInfo-xIbimgiF.js} +60 -60
- package/components/{PlayerRealityCheck-BzcyHDQ3.cjs → PlayerRealityCheck-BPjD8dSn.cjs} +1 -1
- package/components/{PlayerRealityCheck-D4UIiUnm.js → PlayerRealityCheck-CMS4zfEr.js} +33 -33
- package/components/{PlayerRealityCheck-DI56cucK.js → PlayerRealityCheck-DKtG-FwA.js} +33 -33
- package/components/{PlayerTransactionHistory-BdX1ph_m.js → PlayerTransactionHistory-D78rlE2i.js} +24 -24
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-D8WUTK8U.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CQ3fEpfj.js → PlayerTransactionHistory-XQ_BjuGi.js} +24 -24
- package/components/{PlayerWithdrawal-8DAmymCW.js → PlayerWithdrawal-Dih0SjE2.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-g7alD3vj.cjs} +1 -1
- package/components/{PlayerWithdrawal-DvDjalE_.js → PlayerWithdrawal-mOfIFDcT.js} +19 -19
- 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-Dab_DTBV.js → app-globals-0f993ce5-DzSE6TtH.js} +3 -5
- package/stencil/{checkbox-group-input_9-Z2MKRqTa.js → checkbox-group-input_9-BRv_piPJ.js} +11 -13
- package/stencil/checkbox-group-input_9-DCA5sbPo.cjs +2 -0
- package/stencil/{checkbox-group-input_9-ByOlN8T1.js → checkbox-group-input_9-bIi7h3_V.js} +11 -13
- package/stencil/{general-input-Hae0m9ND.js → general-input-CQs-v3_Y.js} +1243 -1249
- package/stencil/{general-input-BICEE8TF.cjs → general-input-DgKQ0KIf.cjs} +199 -199
- package/stencil/{general-input-Cbs_fuJv.js → general-input-OUKrtuTp.js} +1241 -1247
- package/stencil/index-1ef3a64c-C4-h3nXC.js +572 -0
- package/stencil/index-1ef3a64c-Cb8qLHe4.js +556 -0
- package/stencil/index-1ef3a64c-CzlpRJE7.cjs +1 -0
- package/stencil/index-7c5e707a-C9R6jYpt.js +616 -0
- package/stencil/index-7c5e707a-DvxqcEpc.js +643 -0
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +1 -0
- package/stencil/index-9c0f6c58-D5txcAjr.js +549 -0
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
- package/stencil/index-9c0f6c58-DeLVbTUg.js +576 -0
- package/stencil/index-9cd44522-C566YWys.js +626 -0
- package/stencil/index-9cd44522-Crt8CtBe.js +610 -0
- package/stencil/index-9cd44522-jv76DI6J.cjs +1 -0
- package/stencil/index-b2193545-CnMZ4-Ff.js +519 -0
- package/stencil/index-b2193545-Ct5AhxM8.cjs +1 -0
- package/stencil/index-b2193545-DePry399.js +503 -0
- package/stencil/{password-input_2-0tVmf9Va.js → password-input_2-C84wWI7v.js} +3 -3
- package/stencil/password-input_2-Cb1ahifk.cjs +193 -0
- package/stencil/{password-input_2-B5aWg7vh.js → password-input_2-DQO_Gwqq.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-BMDnHtCW.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BqCRJ0OI.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-BtDuTmYF.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-BC1K2F7n.js → player-change-password-gm2-DHnclYKw.js} +2 -2
- package/stencil/{player-change-password-gm2-DS5az_KG.cjs → player-change-password-gm2-DRIOay0t.cjs} +1 -1
- package/stencil/{player-change-password-gm2-DiEM63HW.js → player-change-password-gm2-nCHwkzVc.js} +2 -2
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
- package/stencil/{player-kyc-verification_2-BdvRBF9L.js → player-kyc-verification-dmJNIHni.js} +39 -67
- package/stencil/{player-kyc-verification_2-B17znAZy.js → player-kyc-verification-z8R7nMzo.js} +28 -58
- package/stencil/{toggle-checkbox-input-BqVxrLPm.js → toggle-checkbox-input-Bh9dCfaE.js} +2 -2
- package/stencil/toggle-checkbox-input-CDg0DAAQ.cjs +1 -0
- package/stencil/{toggle-checkbox-input-DKIzGsYQ.js → toggle-checkbox-input-CFvMg26A.js} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-B0lzGcPW.js → ui-skeleton-1cb75d00-BI5A-j0y.js} +4 -4
- package/stencil/{ui-skeleton-6d1c12ae-Cw2SlQb_.cjs → ui-skeleton-1cb75d00-Batko5iK.cjs} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-Bn7U0R1W.js → ui-skeleton-1cb75d00-CwDKR1VD.js} +4 -4
- package/stencil/{ui-skeleton-Clmo2oUQ.js → ui-skeleton-C974aG7g.js} +3 -3
- package/stencil/{ui-skeleton-BZGtE_pj.js → ui-skeleton-DoX-UmRU.js} +5 -5
- package/stencil/{ui-skeleton-DtBGpyNr.cjs → ui-skeleton-t0bb1jH7.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-Bf-RYTF7.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CtPQxjHH.js → user-deposit-withdrawal-CE9oDw4W.js} +2 -2
- package/stencil/{user-deposit-withdrawal-N_Rrcutw.js → user-deposit-withdrawal-Dnqg2IvK.js} +2 -2
- package/stencil/{ui-image_2-BRZIuSu1.js → user-transaction-history-BAK7MHHa.js} +93 -121
- package/stencil/{ui-image_2-CKBb8XBa.js → user-transaction-history-DhQ6RqNc.js} +81 -111
- package/stencil/user-transaction-history-DiRXpfbN.cjs +1 -0
- package/components/GeneralLogout-BjsDUNrm.cjs +0 -21
- package/components/PlayerAccountBettingHistory-B65ODj4i.js +0 -329
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +0 -1
- package/components/PlayerAccountNotifications-D9mN6eKW.cjs +0 -1
- package/components/PlayerBonusCard-DQLlnVcy.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BE38v2MW.cjs +0 -1
- package/stencil/checkbox-group-input_9-DVmGQbxk.cjs +0 -2
- package/stencil/index-1ef3a64c-CW9Jb4Nr.cjs +0 -1
- package/stencil/index-1ef3a64c-CvokNgAJ.js +0 -572
- package/stencil/index-1ef3a64c-DVdf4csw.js +0 -556
- package/stencil/index-21ba09dd-BSHxKLno.cjs +0 -1
- package/stencil/index-21ba09dd-C-CdzL2X.js +0 -616
- package/stencil/index-21ba09dd-C4H8b97G.js +0 -643
- package/stencil/index-34008883-D4JgG-UH.cjs +0 -1
- package/stencil/index-34008883-DiRFksj6.js +0 -577
- package/stencil/index-34008883-HqY7Srzu.js +0 -604
- package/stencil/index-9cd44522-Bk39Mpgz.js +0 -610
- package/stencil/index-9cd44522-CEWNaj7G.js +0 -626
- package/stencil/index-9cd44522-nMffx5wM.cjs +0 -1
- package/stencil/index-b2193545-C2O5zpMz.js +0 -503
- package/stencil/index-b2193545-CetOOG6c.cjs +0 -1
- package/stencil/index-b2193545-Cz_oXgAw.js +0 -519
- package/stencil/index-b7bbd57e-DDZIP4mE.cjs +0 -1
- package/stencil/index-b7bbd57e-DFGEAoV8.js +0 -534
- package/stencil/index-b7bbd57e-Df65SxFl.js +0 -550
- package/stencil/password-input_2-CRu0zESf.cjs +0 -193
- package/stencil/player-kyc-verification-BfHzkEOF.js +0 -7
- package/stencil/player-kyc-verification-BqUD44w7.cjs +0 -1
- package/stencil/player-kyc-verification-DIIkcjkH.js +0 -25
- package/stencil/player-kyc-verification_2-Dx4nmjvu.cjs +0 -180
- package/stencil/toggle-checkbox-input-B-kRXFjU.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CC0sXcn0.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CvZLpmW8.js +0 -39
- package/stencil/ui-image-38c3c15f-D_mVwqe0.js +0 -39
- package/stencil/ui-image-CVUFYT4z.js +0 -29
- package/stencil/ui-image-D5gJFvCC.js +0 -11
- package/stencil/ui-image-De8uxxRM.cjs +0 -1
- package/stencil/ui-image_2-DFkW49rO.cjs +0 -1
- package/stencil/user-transaction-history-C1jOEodw.cjs +0 -1
- package/stencil/user-transaction-history-DRDnjPf-.js +0 -25
- package/stencil/user-transaction-history-DylE0kbF.js +0 -7
|
@@ -1,56 +1,29 @@
|
|
|
1
|
-
var c = (t, a,
|
|
2
|
-
var l = (
|
|
1
|
+
var c = (t, a, i) => new Promise((n, r) => {
|
|
2
|
+
var l = (s) => {
|
|
3
3
|
try {
|
|
4
|
-
d(
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
d(i.next(s));
|
|
5
|
+
} catch (p) {
|
|
6
|
+
r(p);
|
|
7
7
|
}
|
|
8
|
-
}, h = (
|
|
8
|
+
}, h = (s) => {
|
|
9
9
|
try {
|
|
10
|
-
d(
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
d(i.throw(s));
|
|
11
|
+
} catch (p) {
|
|
12
|
+
r(p);
|
|
13
13
|
}
|
|
14
|
-
}, d = (
|
|
15
|
-
d((
|
|
14
|
+
}, d = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, h);
|
|
15
|
+
d((i = i.apply(t, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
handleSrc() {
|
|
23
|
-
if (!this.shouldLoad)
|
|
24
|
-
return;
|
|
25
|
-
const t = new Image();
|
|
26
|
-
t.src = this.src, t.onload = () => {
|
|
27
|
-
this.image && (this.image.src = this.src, this.imgLoaded = !0, this.el.dispatchEvent(new CustomEvent("load", { bubbles: !0 })));
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
componentDidLoad() {
|
|
31
|
-
"IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((t) => {
|
|
32
|
-
t.forEach((a) => {
|
|
33
|
-
if (a.isIntersecting) {
|
|
34
|
-
const n = a.target.__uxComponent;
|
|
35
|
-
n && (n.shouldLoad = !0, n.handleSrc()), window.EMUxObserver.unobserve(a.target);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
return e("img", { key: "2bb4dc391fc2f753514103e91c0abf065de3236a", ref: (t) => this.image = t, style: this.styles, class: `${this.imgClass} ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" });
|
|
42
|
-
}
|
|
43
|
-
get el() {
|
|
44
|
-
return b(this);
|
|
45
|
-
}
|
|
46
|
-
static get watchers() {
|
|
47
|
-
return {
|
|
48
|
-
src: ["handleSrc"]
|
|
49
|
-
};
|
|
50
|
-
}
|
|
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-DvxqcEpc.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);
|
|
51
22
|
};
|
|
52
|
-
k.
|
|
53
|
-
|
|
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 = {
|
|
54
27
|
en: {
|
|
55
28
|
deposit: "Deposit",
|
|
56
29
|
withdrawals: "Withdrawals",
|
|
@@ -86,40 +59,40 @@ class o {
|
|
|
86
59
|
static loadCustomTranslations(a) {
|
|
87
60
|
return c(this, null, function* () {
|
|
88
61
|
try {
|
|
89
|
-
const
|
|
62
|
+
const i = yield fetch(a, {
|
|
90
63
|
headers: {
|
|
91
64
|
"Content-Type": "application/json"
|
|
92
65
|
}
|
|
93
66
|
});
|
|
94
|
-
if (!
|
|
95
|
-
const
|
|
96
|
-
throw new Error(
|
|
67
|
+
if (!i.ok) {
|
|
68
|
+
const r = yield i.text();
|
|
69
|
+
throw new Error(r);
|
|
97
70
|
}
|
|
98
|
-
const
|
|
99
|
-
o.updateTranslations(
|
|
100
|
-
} catch (
|
|
101
|
-
console.error(`Failed to load translations ${a}. ${
|
|
71
|
+
const n = yield i.json();
|
|
72
|
+
o.updateTranslations(n);
|
|
73
|
+
} catch (i) {
|
|
74
|
+
console.error(`Failed to load translations ${a}. ${i.message}`);
|
|
102
75
|
}
|
|
103
76
|
});
|
|
104
77
|
}
|
|
105
|
-
static translate(a,
|
|
106
|
-
var
|
|
107
|
-
const l = o.getAvaliableLanguages(
|
|
108
|
-
return ((
|
|
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];
|
|
109
82
|
}
|
|
110
83
|
static getAvaliableLanguages(a) {
|
|
111
|
-
var
|
|
112
|
-
const
|
|
113
|
-
return { predefinedLanguage: o.supportedLanguages.includes(a) ? a : o.defaultLanguage, customLanguage:
|
|
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 };
|
|
114
87
|
}
|
|
115
88
|
static updateTranslations(a) {
|
|
116
|
-
o.customLanguages = Array.from(/* @__PURE__ */ new Set([...o.supportedLanguages, ...Object.keys(a).map((
|
|
89
|
+
o.customLanguages = Array.from(/* @__PURE__ */ new Set([...o.supportedLanguages, ...Object.keys(a).map((i) => i.toLowerCase())])), o.customTranslation = a;
|
|
117
90
|
}
|
|
118
91
|
}
|
|
119
92
|
o.defaultLanguage = "en";
|
|
120
93
|
o.supportedLanguages = ["en"];
|
|
121
|
-
o.defaultTranslation =
|
|
122
|
-
const
|
|
94
|
+
o.defaultTranslation = T;
|
|
95
|
+
const B = () => e(
|
|
123
96
|
"div",
|
|
124
97
|
{ class: "loader" },
|
|
125
98
|
e("div", null),
|
|
@@ -135,30 +108,30 @@ const T = () => e(
|
|
|
135
108
|
e("div", null),
|
|
136
109
|
e("div", null)
|
|
137
110
|
);
|
|
138
|
-
class
|
|
111
|
+
class b {
|
|
139
112
|
constructor() {
|
|
140
113
|
}
|
|
141
114
|
static dateToFormatedString(a) {
|
|
142
|
-
const
|
|
143
|
-
return `${
|
|
115
|
+
const i = a.toLocaleDateString("en-gb"), n = a.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
|
|
116
|
+
return `${i}, ${n}`;
|
|
144
117
|
}
|
|
145
118
|
}
|
|
146
|
-
class
|
|
119
|
+
class f {
|
|
147
120
|
constructor() {
|
|
148
121
|
}
|
|
149
|
-
static format(a,
|
|
150
|
-
let
|
|
122
|
+
static format(a, i) {
|
|
123
|
+
let n = `${i} ${a}`;
|
|
151
124
|
try {
|
|
152
|
-
|
|
125
|
+
n = new Intl.NumberFormat("en-US", {
|
|
153
126
|
style: "currency",
|
|
154
127
|
currency: a
|
|
155
|
-
}).format(
|
|
156
|
-
} catch (
|
|
128
|
+
}).format(i);
|
|
129
|
+
} catch (r) {
|
|
157
130
|
}
|
|
158
|
-
return
|
|
131
|
+
return n;
|
|
159
132
|
}
|
|
160
133
|
}
|
|
161
|
-
const
|
|
134
|
+
const L = (t) => e(
|
|
162
135
|
"div",
|
|
163
136
|
{ class: "data-transaction" },
|
|
164
137
|
e("p", null, t.productType),
|
|
@@ -172,23 +145,23 @@ const B = (t) => e(
|
|
|
172
145
|
{ class: "date" },
|
|
173
146
|
t.transId,
|
|
174
147
|
" | ",
|
|
175
|
-
|
|
148
|
+
b.dateToFormatedString(new Date(t.created))
|
|
176
149
|
),
|
|
177
150
|
e(
|
|
178
151
|
"p",
|
|
179
152
|
{ class: "text-style" },
|
|
180
|
-
|
|
153
|
+
f.format(t.currency, t.realAmount),
|
|
181
154
|
" "
|
|
182
155
|
)
|
|
183
|
-
),
|
|
156
|
+
), D = (t) => e(
|
|
184
157
|
"div",
|
|
185
158
|
{ class: "page-size" },
|
|
186
159
|
e("span", null, o.translate("show", t.language)),
|
|
187
160
|
t.pageSizes.map((a) => e("button", { class: t.currentPageSize === a ? "active" : "", onClick: () => t.changePageSize(a) }, a))
|
|
188
|
-
),
|
|
189
|
-
let
|
|
161
|
+
), F = ({ from: t, to: a, applyFilters: i, language: n }) => {
|
|
162
|
+
let r, l;
|
|
190
163
|
const h = () => {
|
|
191
|
-
t =
|
|
164
|
+
t = r.value;
|
|
192
165
|
}, d = () => {
|
|
193
166
|
a = l.value;
|
|
194
167
|
};
|
|
@@ -201,7 +174,7 @@ const B = (t) => e(
|
|
|
201
174
|
e(
|
|
202
175
|
"div",
|
|
203
176
|
{ class: "date-input" },
|
|
204
|
-
e("vaadin-date-picker", { value: t, ref: (
|
|
177
|
+
e("vaadin-date-picker", { value: t, ref: (s) => r = s, label: o.translate("from", n), onChange: h })
|
|
205
178
|
),
|
|
206
179
|
e(
|
|
207
180
|
"span",
|
|
@@ -215,13 +188,13 @@ const B = (t) => e(
|
|
|
215
188
|
e(
|
|
216
189
|
"div",
|
|
217
190
|
{ class: "date-input" },
|
|
218
|
-
e("vaadin-date-picker", { value: a, ref: (
|
|
191
|
+
e("vaadin-date-picker", { value: a, ref: (s) => l = s, label: o.translate("to", n), onChange: d })
|
|
219
192
|
),
|
|
220
|
-
e("button", { class: "filter-btn", onClick: () =>
|
|
193
|
+
e("button", { class: "filter-btn", onClick: () => i(t, a) }, o.translate("filter", n))
|
|
221
194
|
)
|
|
222
195
|
);
|
|
223
|
-
},
|
|
224
|
-
const
|
|
196
|
+
}, M = ({ source: t, language: a }) => {
|
|
197
|
+
const i = [
|
|
225
198
|
{ name: o.translate("transactionId", a) },
|
|
226
199
|
{
|
|
227
200
|
name: o.translate("date", a)
|
|
@@ -240,54 +213,54 @@ const B = (t) => e(
|
|
|
240
213
|
e(
|
|
241
214
|
"thead",
|
|
242
215
|
null,
|
|
243
|
-
e("tr", null,
|
|
216
|
+
e("tr", null, i.map((n) => e("th", null, n.name)))
|
|
244
217
|
),
|
|
245
|
-
e("tbody", null, t.map((
|
|
218
|
+
e("tbody", null, t.map((n) => e(
|
|
246
219
|
"tr",
|
|
247
220
|
null,
|
|
248
|
-
e("td", null,
|
|
249
|
-
e("td", null,
|
|
221
|
+
e("td", null, n.transId),
|
|
222
|
+
e("td", null, b.dateToFormatedString(new Date(n.created))),
|
|
250
223
|
e(
|
|
251
224
|
"td",
|
|
252
225
|
null,
|
|
253
|
-
|
|
226
|
+
f.format(n.currency, n.realAmount),
|
|
254
227
|
" "
|
|
255
228
|
),
|
|
256
|
-
e("td", null,
|
|
229
|
+
e("td", null, n.productType),
|
|
257
230
|
e(
|
|
258
231
|
"td",
|
|
259
232
|
null,
|
|
260
|
-
e("span", { class:
|
|
233
|
+
e("span", { class: n.status.toLowerCase() }, n.status)
|
|
261
234
|
)
|
|
262
235
|
)))
|
|
263
236
|
);
|
|
264
237
|
};
|
|
265
238
|
function g(t, a) {
|
|
266
239
|
if (t) {
|
|
267
|
-
const
|
|
268
|
-
|
|
240
|
+
const i = document.createElement("style");
|
|
241
|
+
i.innerHTML = a, t.appendChild(i);
|
|
269
242
|
}
|
|
270
243
|
}
|
|
271
244
|
function m(t, a) {
|
|
272
|
-
const
|
|
273
|
-
fetch(
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
}).catch((
|
|
277
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
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);
|
|
278
251
|
});
|
|
279
252
|
}
|
|
280
|
-
function
|
|
253
|
+
function U(t, a, i) {
|
|
281
254
|
if (window.emMessageBus) {
|
|
282
|
-
const
|
|
283
|
-
window.emMessageBus.subscribe(a, (
|
|
284
|
-
|
|
255
|
+
const n = document.createElement("style");
|
|
256
|
+
window.emMessageBus.subscribe(a, (r) => {
|
|
257
|
+
n.innerHTML = r, t && t.appendChild(n);
|
|
285
258
|
});
|
|
286
259
|
}
|
|
287
260
|
}
|
|
288
|
-
const
|
|
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 {
|
|
289
262
|
constructor(t) {
|
|
290
|
-
|
|
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;
|
|
291
264
|
}
|
|
292
265
|
watchMultiple() {
|
|
293
266
|
this.loadTransactions();
|
|
@@ -304,7 +277,7 @@ const M = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
304
277
|
});
|
|
305
278
|
}
|
|
306
279
|
componentDidLoad() {
|
|
307
|
-
this.stylingContainer && (window.emMessageBus != null ?
|
|
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)));
|
|
308
281
|
}
|
|
309
282
|
componentDidRender() {
|
|
310
283
|
this.getComponentHeight();
|
|
@@ -345,8 +318,8 @@ const M = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
345
318
|
}
|
|
346
319
|
render() {
|
|
347
320
|
var t;
|
|
348
|
-
const a =
|
|
349
|
-
return e(
|
|
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: "14b4d34c0e1d258ea0547b4aa43766199a629526", class: "pagination" }, e("button", { key: "fdd2a70e6dacf863c0783ab8dce80951294f04cc", onClick: () => this.prev() }, "<"), e("button", { key: "3bdc96262e16573e24ba07362e80ea779d30da9f", onClick: () => this.next() }, ">"))));
|
|
350
323
|
}
|
|
351
324
|
loadTransactions() {
|
|
352
325
|
return c(this, null, function* () {
|
|
@@ -359,11 +332,11 @@ const M = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
359
332
|
}
|
|
360
333
|
});
|
|
361
334
|
if (!a.ok) {
|
|
362
|
-
const
|
|
363
|
-
throw new Error(
|
|
335
|
+
const n = yield a.text();
|
|
336
|
+
throw new Error(n);
|
|
364
337
|
}
|
|
365
|
-
const
|
|
366
|
-
this.pagination =
|
|
338
|
+
const i = yield a.json();
|
|
339
|
+
this.pagination = i.pagination, this.transactions = i.transactions;
|
|
367
340
|
} catch (t) {
|
|
368
341
|
console.error(t);
|
|
369
342
|
} finally {
|
|
@@ -373,14 +346,14 @@ const M = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
373
346
|
}
|
|
374
347
|
getParams() {
|
|
375
348
|
var t, a;
|
|
376
|
-
const
|
|
377
|
-
return `offset=${
|
|
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}`;
|
|
378
351
|
}
|
|
379
352
|
static get assetsDirs() {
|
|
380
353
|
return ["../assets"];
|
|
381
354
|
}
|
|
382
355
|
get el() {
|
|
383
|
-
return
|
|
356
|
+
return S(this);
|
|
384
357
|
}
|
|
385
358
|
static get watchers() {
|
|
386
359
|
return {
|
|
@@ -395,8 +368,7 @@ const M = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
395
368
|
};
|
|
396
369
|
}
|
|
397
370
|
};
|
|
398
|
-
|
|
371
|
+
H.style = I;
|
|
399
372
|
export {
|
|
400
|
-
|
|
401
|
-
z as user_transaction_history
|
|
373
|
+
H as user_transaction_history
|
|
402
374
|
};
|