@everymatrix/player-account-controller-nd 1.60.1 → 1.61.0
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-B1UITWhm.js} +730 -752
- package/components/{GeneralLogout-D-SNAWMX.js → GeneralLogout-C3QgNPRK.js} +627 -649
- package/components/GeneralLogout-CneHnHyh.cjs +21 -0
- package/components/{PlayerAccountBettingHistory-D5R8TtVb.js → PlayerAccountBettingHistory-Br_qA4Ud.js} +127 -126
- package/components/PlayerAccountBettingHistory-ClvAJn7G.cjs +1 -0
- package/components/PlayerAccountBettingHistory-m-kaLy9_.js +328 -0
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CqDrX8sl.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-Dke9scx2.js → PlayerAccountBiometrics-DR9yfTZC.js} +22 -22
- package/components/{PlayerAccountBiometrics-1g9245j6.js → PlayerAccountBiometrics-DlXfKFkk.js} +22 -22
- package/components/{PlayerAccountClosureNd-B4GnQQHa.cjs → PlayerAccountClosureNd-B9DicM4V.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-CH8UCD0A.js → PlayerAccountClosureNd-DajanQM7.js} +17 -17
- package/components/{PlayerAccountClosureNd-DtDZNFDs.js → PlayerAccountClosureNd-NPH-iRdL.js} +17 -17
- package/components/{PlayerAccountControllerNd-HN4PMQqw.cjs → PlayerAccountControllerNd-Czla4Qp2.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-Cda3JHRm.js → PlayerAccountControllerNd-DaxeqxDh.js} +300 -300
- package/components/{PlayerAccountControllerNd-Cgdz9EHx.js → PlayerAccountControllerNd-SYp7qsx_.js} +302 -302
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-BnzPj9tx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CPx-vfQw.js → PlayerAccountGamingLimits-D6ntY7LO.js} +81 -81
- package/components/{PlayerAccountGamingLimits-geiSuCGE.js → PlayerAccountGamingLimits-DliC08HN.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CIMWBU9F.js → PlayerAccountGamingLimitsConfirmationModal-C7JexiXN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJvAbSXA.js → PlayerAccountGamingLimitsConfirmationModal-CsncH5Kk.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-BBhaC0tE.js → PlayerAccountGamingLimitsGroupEdit-BaoNacV9.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-DxCKKvtt.js → PlayerAccountGamingLimitsGroupEdit-DttbY4_8.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2Nd-y1qwR7nl.js → PlayerAccountGamingLimitsHistory2Nd-DVI5cgN0.js} +82 -82
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CT3BWhmN.cjs → PlayerAccountGamingLimitsHistory2Nd-mN7Y8aHJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CYh5FnDV.js → PlayerAccountGamingLimitsHistory2Nd-pRaJCYvl.js} +80 -80
- package/components/{PlayerAccountGamingLimitsInfoCard-Dm9hSuFC.js → PlayerAccountGamingLimitsInfoCard-Bye1hnU_.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-Cc-JLiZF.js → PlayerAccountGamingLimitsInfoCard-Czx-9RJ2.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DMdM3i1l.js → PlayerAccountGamingLimitsPage2Gm16Nd-Bmd_NwHD.js} +539 -533
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DA1By__G.js → PlayerAccountGamingLimitsPage2Gm16Nd-Ca3ZUJWk.js} +982 -976
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CuoVvIEJ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-WCAZ928m.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsPopup-CLyTPF2L.js → PlayerAccountGamingLimitsPopup-BNNY6PfE.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DycV-u3W.js → PlayerAccountGamingLimitsPopup-DvRxw4eW.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-D5Yg91jL.cjs → PlayerAccountGamingLimitsWrapper2Nd-BfCJoSe1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-j3mecOLN.js → PlayerAccountGamingLimitsWrapper2Nd-TjdAXRVo.js} +17 -17
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-ClbwM2gG.js → PlayerAccountGamingLimitsWrapper2Nd-_gwT4o4X.js} +17 -17
- package/components/{PlayerAccountGeneralConfirmationModal-4w5ypHAs.js → PlayerAccountGeneralConfirmationModal-B9TJfvbO.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-u_yQVW36.js → PlayerAccountGeneralConfirmationModal-DkSdx3MD.js} +34 -34
- package/components/{PlayerAccountMenuNd-pBoYi2d7.cjs → PlayerAccountMenuNd-BKRgThbJ.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DTmfUkDR.js → PlayerAccountMenuNd-BO16ASNz.js} +29 -29
- package/components/{PlayerAccountMenuNd-D-fAorcB.js → PlayerAccountMenuNd-Br6a9Tej.js} +32 -32
- package/components/{PlayerAccountModal-CJAW5eai.js → PlayerAccountModal-CVH5Ayn2.js} +42 -42
- package/components/{PlayerAccountModal-DzIuV3KN.js → PlayerAccountModal-DiTfeVCl.js} +42 -42
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-Dmgt5WVr.cjs} +1 -1
- package/components/PlayerAccountNotifications-MHx2DPBT.js +372 -0
- package/components/PlayerAccountNotifications-Vaz7mdXW.cjs +1 -0
- package/components/{PlayerAccountNotifications-BECefhID.js → PlayerAccountNotifications-hkB_puur.js} +64 -63
- package/components/{PlayerAccountSelfExclusionNd-CfXWzZaQ.js → PlayerAccountSelfExclusionNd-C9IcT0p4.js} +1689 -1694
- package/components/{PlayerAccountSelfExclusionNd-gT5IXyXv.cjs → PlayerAccountSelfExclusionNd-DI4bHTYL.cjs} +153 -153
- package/components/{PlayerAccountSelfExclusionNd-8dbQPzKe.js → PlayerAccountSelfExclusionNd-DIwIYVeN.js} +783 -788
- package/components/{PlayerAccountTimeout-DmUdmLQr.js → PlayerAccountTimeout-1HHDRhRW.js} +58 -58
- package/components/{PlayerAccountTimeout-CyvXsM5p.js → PlayerAccountTimeout-DMUbvpSF.js} +58 -58
- package/components/{PlayerAccountTimeout-v5URpImy.cjs → PlayerAccountTimeout-DvhQQjVR.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BXlIZiVB.js → PlayerActiveBonuses-CoNv5ScH.js} +74 -74
- package/components/{PlayerActiveBonuses-2M__yMJf.js → PlayerActiveBonuses-bqJeaH4L.js} +73 -73
- package/components/{PlayerActiveBonuses-CBqsWQfE.cjs → PlayerActiveBonuses-s0MmTfKm.cjs} +1 -1
- package/components/{PlayerBonusCard-CtXP9UPy.js → PlayerBonusCard-DP8c89Ho.js} +156 -155
- package/components/{PlayerBonusCard-sfjhWo7d.js → PlayerBonusCard-DsRkWJss.js} +156 -155
- package/components/PlayerBonusCard-htL7HEnz.cjs +1 -0
- package/components/{PlayerBonusHistory-CSz-1_b2.js → PlayerBonusHistory-C8Jw6te-.js} +33 -33
- package/components/{PlayerBonusHistory-DvzXMZuA.cjs → PlayerBonusHistory-CFXdMeY4.cjs} +1 -1
- package/components/{PlayerBonusHistory-DPoWYYcE.js → PlayerBonusHistory-DDkhmw4r.js} +33 -33
- package/components/{PlayerChangePassword-Dtr2n1Et.js → PlayerChangePassword-C_WQPamT.js} +82 -82
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-DkVY0JFR.cjs} +1 -1
- package/components/{PlayerChangePassword-Ddfah5-0.js → PlayerChangePassword-TSgljlgv.js} +82 -82
- package/components/{PlayerDeposit-CqqQuB6-.js → PlayerDeposit-BzBC0FnG.js} +75 -75
- package/components/{PlayerDeposit-DzJLjkJJ.js → PlayerDeposit-CilY5YmK.js} +75 -75
- package/components/PlayerDeposit-DgZ1K6jf.cjs +1 -0
- package/components/{PlayerGamingHistory-BawWibCV.js → PlayerGamingHistory-CNe8DQFa.js} +84 -84
- package/components/{PlayerGamingHistory-K0Uvi2fF.js → PlayerGamingHistory-D8kvtD06.js} +74 -74
- package/components/{PlayerGamingHistory-4FBAJVJ3.cjs → PlayerGamingHistory-DrmDZElc.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-BXngse4L.js → PlayerPendingWithdrawals-D8fNmgMw.js} +26 -26
- package/components/{PlayerPendingWithdrawals-B5LftQI0.js → PlayerPendingWithdrawals-DrjllRYo.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-H49FURps.cjs} +1 -1
- package/components/{PlayerProfileInfo-uGClCGHq.js → PlayerProfileInfo-4_ji2YMX.js} +60 -60
- package/components/{PlayerProfileInfo-B1A0Xarz.cjs → PlayerProfileInfo-C2_IlzNH.cjs} +1 -1
- package/components/{PlayerProfileInfo-BmyCYGh7.js → PlayerProfileInfo-C34ph_VD.js} +60 -60
- package/components/{PlayerRealityCheck-Ch955fLs.cjs → PlayerRealityCheck-BYgd7N7D.cjs} +1 -1
- package/components/{PlayerRealityCheck-DHGjsEc_.js → PlayerRealityCheck-CI3A9NNr.js} +33 -33
- package/components/{PlayerRealityCheck-Db8wL8P8.js → PlayerRealityCheck-QN7JG4FF.js} +33 -33
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-Bb8js_3p.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BdX1ph_m.js → PlayerTransactionHistory-BkqBLbnn.js} +24 -24
- package/components/{PlayerTransactionHistory-CQ3fEpfj.js → PlayerTransactionHistory-D88VArmh.js} +24 -24
- package/components/{PlayerWithdrawal-8DAmymCW.js → PlayerWithdrawal-CxJQAAzZ.js} +19 -19
- package/components/{PlayerWithdrawal-DvDjalE_.js → PlayerWithdrawal-Db0Dur3Q.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-xHn3kl2k.cjs} +1 -1
- 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-BE38v2MW.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-DzSE6TtH.js → app-globals-0f993ce5-Dab_DTBV.js} +5 -3
- package/stencil/{checkbox-group-input_9-C7zEH4Cn.js → checkbox-group-input_9-BRv_piPJ.js} +112 -111
- package/stencil/checkbox-group-input_9-DCA5sbPo.cjs +2 -0
- package/stencil/{checkbox-group-input_9-OVj7AW5S.js → checkbox-group-input_9-bIi7h3_V.js} +112 -111
- package/stencil/{general-input-C7B1PVb4.js → general-input-CQs-v3_Y.js} +1243 -1249
- package/stencil/{general-input-BlFYbInU.cjs → general-input-DgKQ0KIf.cjs} +199 -199
- package/stencil/{general-input-DoSeJn3k.js → general-input-OUKrtuTp.js} +1241 -1247
- package/stencil/index-1ef3a64c-Bo9AYUJy.js +556 -0
- package/stencil/index-1ef3a64c-CiZxO5I8.cjs +1 -0
- package/stencil/index-1ef3a64c-ElvobcAf.js +572 -0
- package/stencil/index-21ba09dd-C-HsjTUn.js +643 -0
- package/stencil/index-21ba09dd-DNkmY6MF.js +616 -0
- package/stencil/index-21ba09dd-lQRQL1Nd.cjs +1 -0
- package/stencil/index-34008883-B7S8keyz.js +577 -0
- package/stencil/index-34008883-CX1Vpol5.cjs +1 -0
- package/stencil/index-34008883-DRJSKOUl.js +604 -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-Ba3S1_hg.js +519 -0
- package/stencil/index-b2193545-CjNH95c8.cjs +1 -0
- package/stencil/index-b2193545-nCQBn10B.js +503 -0
- package/stencil/index-b7bbd57e-BXQNNKF-.cjs +1 -0
- package/stencil/index-b7bbd57e-C1rNwXcA.js +534 -0
- package/stencil/index-b7bbd57e-KR8HyCXS.js +550 -0
- package/stencil/{password-input_2-5nC89CMj.js → password-input_2-C84wWI7v.js} +3 -3
- package/stencil/password-input_2-Cb1ahifk.cjs +193 -0
- package/stencil/{password-input_2-DJSgcWve.js → password-input_2-DQO_Gwqq.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-C-kbOfS1.cjs → player-change-password-gm2-039e300e-DIjTdjzy.cjs} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-C_f58yBE.js → player-change-password-gm2-039e300e-mRLvAYzw.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-D4KfL3dW.js → player-change-password-gm2-039e300e-s9osP-86.js} +1 -1
- package/stencil/{player-change-password-gm2-BJ2Ur7Zx.js → player-change-password-gm2-BJLdk2sF.js} +3 -3
- package/stencil/{player-change-password-gm2-3aRR8E4W.js → player-change-password-gm2-C46hgH3O.js} +3 -3
- package/stencil/{player-change-password-gm2-CHK-mhQ9.cjs → player-change-password-gm2-SzYQySXI.cjs} +1 -1
- package/stencil/player-kyc-verification-6TGi8B9v.js +25 -0
- package/stencil/player-kyc-verification-BH7srnLo.cjs +1 -0
- package/stencil/player-kyc-verification-DRh9MXmC.js +7 -0
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification_2-EJZCFPKM.js} +177 -118
- package/stencil/player-kyc-verification_2-HIgoVn9n.cjs +180 -0
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification_2-w8_XwPSF.js} +166 -105
- package/stencil/{toggle-checkbox-input-BRL1Xahc.js → toggle-checkbox-input-Bh9dCfaE.js} +2 -2
- package/stencil/toggle-checkbox-input-CDg0DAAQ.cjs +1 -0
- package/stencil/{toggle-checkbox-input-cLWFox9n.js → toggle-checkbox-input-CFvMg26A.js} +2 -2
- package/stencil/ui-image-38c3c15f-CEfeqAk8.js +39 -0
- package/stencil/ui-image-38c3c15f-Ck6BC-zf.js +39 -0
- package/stencil/ui-image-38c3c15f-Cq2W4LRm.cjs +1 -0
- package/stencil/ui-image-CBPosHQA.js +11 -0
- package/stencil/ui-image-CIXt7mi5.cjs +1 -0
- package/stencil/ui-image-SmL79gLQ.js +29 -0
- package/stencil/{user-transaction-history-Dca7qx08.js → ui-image_2-CYG1_Yew.js} +111 -81
- package/stencil/ui-image_2-Cyb78tZB.cjs +1 -0
- package/stencil/{user-transaction-history-6-z3byrF.js → ui-image_2-nVKXie9g.js} +121 -93
- package/stencil/{ui-skeleton-ea659b95-DEnEjYcS.js → ui-skeleton-6d1c12ae-BteqiJ3N.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-B0Wm9BdQ.js → ui-skeleton-6d1c12ae-CpRMWvUl.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BBQBvLes.cjs → ui-skeleton-6d1c12ae-DIXcfDMF.cjs} +2 -2
- package/stencil/{ui-skeleton-BacC4KYY.js → ui-skeleton-B5HKWUZZ.js} +5 -5
- package/stencil/{ui-skeleton-C_u2sCMV.cjs → ui-skeleton-BmY9tNCz.cjs} +1 -1
- package/stencil/{ui-skeleton-DuRhzyE8.js → ui-skeleton-cMJY5_hV.js} +3 -3
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-AuM1tZmx.cjs} +3 -3
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-BMJx_R6F.js} +72 -72
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-Dgcj5_4h.js} +77 -77
- package/stencil/user-transaction-history-BPAsxrSz.js +7 -0
- package/stencil/user-transaction-history-CATn02Hg.js +25 -0
- package/stencil/user-transaction-history-DSzCjzMR.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-BMdZu0IH.js +0 -371
- package/components/PlayerAccountNotifications-BxJEa-bd.cjs +0 -1
- package/components/PlayerBonusCard-CJXjuXsU.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/app-globals-0f993ce5-DgYhdguE.cjs +0 -1
- package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +0 -2
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-CqoLeK5G.js +0 -549
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BOHK5Ehb.js +0 -626
- package/stencil/index-9cd44522-C8s3TvoU.js +0 -610
- package/stencil/index-9cd44522-D9raG3xx.cjs +0 -1
- package/stencil/index-b2193545-B240yE4M.js +0 -503
- package/stencil/index-b2193545-CJQ4H9NG.cjs +0 -1
- package/stencil/index-b2193545-q1mvaES7.js +0 -519
- package/stencil/password-input_2-ZOEOuaOe.cjs +0 -193
- package/stencil/player-kyc-verification-GFBDUbhm.cjs +0 -180
- package/stencil/toggle-checkbox-input-CPDZs55S.cjs +0 -1
- package/stencil/user-transaction-history-DrhquxkJ.cjs +0 -1
|
@@ -1,29 +1,56 @@
|
|
|
1
|
-
var c = (t, a,
|
|
2
|
-
var l = (
|
|
1
|
+
var c = (t, a, n) => new Promise((i, s) => {
|
|
2
|
+
var l = (r) => {
|
|
3
3
|
try {
|
|
4
|
-
d(
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
d(n.next(r));
|
|
5
|
+
} catch (u) {
|
|
6
|
+
s(u);
|
|
7
7
|
}
|
|
8
|
-
}, h = (
|
|
8
|
+
}, h = (r) => {
|
|
9
9
|
try {
|
|
10
|
-
d(
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
d(n.throw(r));
|
|
11
|
+
} catch (u) {
|
|
12
|
+
s(u);
|
|
13
13
|
}
|
|
14
|
-
}, d = (
|
|
15
|
-
d((
|
|
14
|
+
}, d = (r) => r.done ? i(r.value) : Promise.resolve(r.value).then(l, h);
|
|
15
|
+
d((n = n.apply(t, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
import { r as f, h as e, g as b, a as p, H as x } from "./index-21ba09dd-C-HsjTUn.js";
|
|
18
|
+
const w = ":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", S = w, k = class {
|
|
19
|
+
constructor(t) {
|
|
20
|
+
f(this, t), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.imgClass = "", this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
|
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
|
+
}
|
|
22
51
|
};
|
|
23
|
-
k
|
|
24
|
-
|
|
25
|
-
}));
|
|
26
|
-
const T = {
|
|
52
|
+
k.style = S;
|
|
53
|
+
const C = {
|
|
27
54
|
en: {
|
|
28
55
|
deposit: "Deposit",
|
|
29
56
|
withdrawals: "Withdrawals",
|
|
@@ -59,40 +86,40 @@ class o {
|
|
|
59
86
|
static loadCustomTranslations(a) {
|
|
60
87
|
return c(this, null, function* () {
|
|
61
88
|
try {
|
|
62
|
-
const
|
|
89
|
+
const n = yield fetch(a, {
|
|
63
90
|
headers: {
|
|
64
91
|
"Content-Type": "application/json"
|
|
65
92
|
}
|
|
66
93
|
});
|
|
67
|
-
if (!
|
|
68
|
-
const
|
|
69
|
-
throw new Error(
|
|
94
|
+
if (!n.ok) {
|
|
95
|
+
const s = yield n.text();
|
|
96
|
+
throw new Error(s);
|
|
70
97
|
}
|
|
71
|
-
const
|
|
72
|
-
o.updateTranslations(
|
|
73
|
-
} catch (
|
|
74
|
-
console.error(`Failed to load translations ${a}. ${
|
|
98
|
+
const i = yield n.json();
|
|
99
|
+
o.updateTranslations(i);
|
|
100
|
+
} catch (n) {
|
|
101
|
+
console.error(`Failed to load translations ${a}. ${n.message}`);
|
|
75
102
|
}
|
|
76
103
|
});
|
|
77
104
|
}
|
|
78
|
-
static translate(a,
|
|
79
|
-
var
|
|
80
|
-
const l = o.getAvaliableLanguages(
|
|
81
|
-
return ((
|
|
105
|
+
static translate(a, n) {
|
|
106
|
+
var i, s;
|
|
107
|
+
const l = o.getAvaliableLanguages(n);
|
|
108
|
+
return ((s = (i = o.customTranslation) === null || i === void 0 ? void 0 : i[l.customLanguage]) === null || s === void 0 ? void 0 : s[a]) || o.defaultTranslation[l.predefinedLanguage][a];
|
|
82
109
|
}
|
|
83
110
|
static getAvaliableLanguages(a) {
|
|
84
|
-
var
|
|
85
|
-
const
|
|
86
|
-
return { predefinedLanguage: o.supportedLanguages.includes(a) ? a : o.defaultLanguage, customLanguage:
|
|
111
|
+
var n;
|
|
112
|
+
const i = !((n = o.customLanguages) === null || n === void 0) && n.includes(a) ? a : o.defaultLanguage;
|
|
113
|
+
return { predefinedLanguage: o.supportedLanguages.includes(a) ? a : o.defaultLanguage, customLanguage: i };
|
|
87
114
|
}
|
|
88
115
|
static updateTranslations(a) {
|
|
89
|
-
o.customLanguages = Array.from(/* @__PURE__ */ new Set([...o.supportedLanguages, ...Object.keys(a).map((
|
|
116
|
+
o.customLanguages = Array.from(/* @__PURE__ */ new Set([...o.supportedLanguages, ...Object.keys(a).map((n) => n.toLowerCase())])), o.customTranslation = a;
|
|
90
117
|
}
|
|
91
118
|
}
|
|
92
119
|
o.defaultLanguage = "en";
|
|
93
120
|
o.supportedLanguages = ["en"];
|
|
94
|
-
o.defaultTranslation =
|
|
95
|
-
const
|
|
121
|
+
o.defaultTranslation = C;
|
|
122
|
+
const T = () => e(
|
|
96
123
|
"div",
|
|
97
124
|
{ class: "loader" },
|
|
98
125
|
e("div", null),
|
|
@@ -108,30 +135,30 @@ const B = () => e(
|
|
|
108
135
|
e("div", null),
|
|
109
136
|
e("div", null)
|
|
110
137
|
);
|
|
111
|
-
class
|
|
138
|
+
class y {
|
|
112
139
|
constructor() {
|
|
113
140
|
}
|
|
114
141
|
static dateToFormatedString(a) {
|
|
115
|
-
const
|
|
116
|
-
return `${
|
|
142
|
+
const n = a.toLocaleDateString("en-gb"), i = a.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
|
|
143
|
+
return `${n}, ${i}`;
|
|
117
144
|
}
|
|
118
145
|
}
|
|
119
|
-
class
|
|
146
|
+
class v {
|
|
120
147
|
constructor() {
|
|
121
148
|
}
|
|
122
|
-
static format(a,
|
|
123
|
-
let
|
|
149
|
+
static format(a, n) {
|
|
150
|
+
let i = `${n} ${a}`;
|
|
124
151
|
try {
|
|
125
|
-
|
|
152
|
+
i = new Intl.NumberFormat("en-US", {
|
|
126
153
|
style: "currency",
|
|
127
154
|
currency: a
|
|
128
|
-
}).format(
|
|
129
|
-
} catch (
|
|
155
|
+
}).format(n);
|
|
156
|
+
} catch (s) {
|
|
130
157
|
}
|
|
131
|
-
return
|
|
158
|
+
return i;
|
|
132
159
|
}
|
|
133
160
|
}
|
|
134
|
-
const
|
|
161
|
+
const B = (t) => e(
|
|
135
162
|
"div",
|
|
136
163
|
{ class: "data-transaction" },
|
|
137
164
|
e("p", null, t.productType),
|
|
@@ -145,23 +172,23 @@ const L = (t) => e(
|
|
|
145
172
|
{ class: "date" },
|
|
146
173
|
t.transId,
|
|
147
174
|
" | ",
|
|
148
|
-
|
|
175
|
+
y.dateToFormatedString(new Date(t.created))
|
|
149
176
|
),
|
|
150
177
|
e(
|
|
151
178
|
"p",
|
|
152
179
|
{ class: "text-style" },
|
|
153
|
-
|
|
180
|
+
v.format(t.currency, t.realAmount),
|
|
154
181
|
" "
|
|
155
182
|
)
|
|
156
|
-
),
|
|
183
|
+
), L = (t) => e(
|
|
157
184
|
"div",
|
|
158
185
|
{ class: "page-size" },
|
|
159
186
|
e("span", null, o.translate("show", t.language)),
|
|
160
187
|
t.pageSizes.map((a) => e("button", { class: t.currentPageSize === a ? "active" : "", onClick: () => t.changePageSize(a) }, a))
|
|
161
|
-
),
|
|
162
|
-
let
|
|
188
|
+
), D = ({ from: t, to: a, applyFilters: n, language: i }) => {
|
|
189
|
+
let s, l;
|
|
163
190
|
const h = () => {
|
|
164
|
-
t =
|
|
191
|
+
t = s.value;
|
|
165
192
|
}, d = () => {
|
|
166
193
|
a = l.value;
|
|
167
194
|
};
|
|
@@ -174,7 +201,7 @@ const L = (t) => e(
|
|
|
174
201
|
e(
|
|
175
202
|
"div",
|
|
176
203
|
{ class: "date-input" },
|
|
177
|
-
e("vaadin-date-picker", { value: t, ref: (
|
|
204
|
+
e("vaadin-date-picker", { value: t, ref: (r) => s = r, label: o.translate("from", i), onChange: h })
|
|
178
205
|
),
|
|
179
206
|
e(
|
|
180
207
|
"span",
|
|
@@ -188,13 +215,13 @@ const L = (t) => e(
|
|
|
188
215
|
e(
|
|
189
216
|
"div",
|
|
190
217
|
{ class: "date-input" },
|
|
191
|
-
e("vaadin-date-picker", { value: a, ref: (
|
|
218
|
+
e("vaadin-date-picker", { value: a, ref: (r) => l = r, label: o.translate("to", i), onChange: d })
|
|
192
219
|
),
|
|
193
|
-
e("button", { class: "filter-btn", onClick: () =>
|
|
220
|
+
e("button", { class: "filter-btn", onClick: () => n(t, a) }, o.translate("filter", i))
|
|
194
221
|
)
|
|
195
222
|
);
|
|
196
|
-
},
|
|
197
|
-
const
|
|
223
|
+
}, F = ({ source: t, language: a }) => {
|
|
224
|
+
const n = [
|
|
198
225
|
{ name: o.translate("transactionId", a) },
|
|
199
226
|
{
|
|
200
227
|
name: o.translate("date", a)
|
|
@@ -213,54 +240,54 @@ const L = (t) => e(
|
|
|
213
240
|
e(
|
|
214
241
|
"thead",
|
|
215
242
|
null,
|
|
216
|
-
e("tr", null,
|
|
243
|
+
e("tr", null, n.map((i) => e("th", null, i.name)))
|
|
217
244
|
),
|
|
218
|
-
e("tbody", null, t.map((
|
|
245
|
+
e("tbody", null, t.map((i) => e(
|
|
219
246
|
"tr",
|
|
220
247
|
null,
|
|
221
|
-
e("td", null,
|
|
222
|
-
e("td", null,
|
|
248
|
+
e("td", null, i.transId),
|
|
249
|
+
e("td", null, y.dateToFormatedString(new Date(i.created))),
|
|
223
250
|
e(
|
|
224
251
|
"td",
|
|
225
252
|
null,
|
|
226
|
-
|
|
253
|
+
v.format(i.currency, i.realAmount),
|
|
227
254
|
" "
|
|
228
255
|
),
|
|
229
|
-
e("td", null,
|
|
256
|
+
e("td", null, i.productType),
|
|
230
257
|
e(
|
|
231
258
|
"td",
|
|
232
259
|
null,
|
|
233
|
-
e("span", { class:
|
|
260
|
+
e("span", { class: i.status.toLowerCase() }, i.status)
|
|
234
261
|
)
|
|
235
262
|
)))
|
|
236
263
|
);
|
|
237
264
|
};
|
|
238
265
|
function g(t, a) {
|
|
239
266
|
if (t) {
|
|
240
|
-
const
|
|
241
|
-
|
|
267
|
+
const n = document.createElement("style");
|
|
268
|
+
n.innerHTML = a, t.appendChild(n);
|
|
242
269
|
}
|
|
243
270
|
}
|
|
244
271
|
function m(t, a) {
|
|
245
|
-
const
|
|
246
|
-
fetch(
|
|
247
|
-
const
|
|
248
|
-
|
|
249
|
-
}).catch((
|
|
250
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
272
|
+
const n = new URL(a);
|
|
273
|
+
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
274
|
+
const s = document.createElement("style");
|
|
275
|
+
s.innerHTML = i, t && t.appendChild(s);
|
|
276
|
+
}).catch((i) => {
|
|
277
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
251
278
|
});
|
|
252
279
|
}
|
|
253
|
-
function
|
|
280
|
+
function I(t, a, n) {
|
|
254
281
|
if (window.emMessageBus) {
|
|
255
|
-
const
|
|
256
|
-
window.emMessageBus.subscribe(a, (
|
|
257
|
-
|
|
282
|
+
const i = document.createElement("style");
|
|
283
|
+
window.emMessageBus.subscribe(a, (s) => {
|
|
284
|
+
i.innerHTML = s, t && t.appendChild(i);
|
|
258
285
|
});
|
|
259
286
|
}
|
|
260
287
|
}
|
|
261
|
-
const
|
|
288
|
+
const M = ':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%}}', U = M, z = class {
|
|
262
289
|
constructor(t) {
|
|
263
|
-
|
|
290
|
+
f(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
291
|
}
|
|
265
292
|
watchMultiple() {
|
|
266
293
|
this.loadTransactions();
|
|
@@ -277,7 +304,7 @@ const z = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
277
304
|
});
|
|
278
305
|
}
|
|
279
306
|
componentDidLoad() {
|
|
280
|
-
this.stylingContainer && (window.emMessageBus != null ?
|
|
307
|
+
this.stylingContainer && (window.emMessageBus != null ? I(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && m(this.stylingContainer, this.clientStylingUrl)));
|
|
281
308
|
}
|
|
282
309
|
componentDidRender() {
|
|
283
310
|
this.getComponentHeight();
|
|
@@ -318,8 +345,8 @@ const z = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
318
345
|
}
|
|
319
346
|
render() {
|
|
320
347
|
var t;
|
|
321
|
-
const a =
|
|
322
|
-
return e(
|
|
348
|
+
const a = p("../assets/filter.svg"), n = p("../assets/warning.svg");
|
|
349
|
+
return e(x, { key: "d467e9c565084cc1cdd633e00448b3f96389ce34" }, this.showLoader ? e(T, null) : "", e("div", { key: "e1286eeb391fa540ffa413a2ad55f8b9161c1a2d", class: "wrapper", ref: (i) => this.stylingContainer = i }, e("div", { key: "3482b2f6417b78c402b6499c1e80e79772e066ae", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, e("button", { key: "37c9da8cd84ac3b01e0d28088999604005b22740", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, o.translate("deposit", this.language)), e("button", { key: "e6fd6057fc0adaf6741023997c870004baf8eb5d", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, o.translate("withdrawals", this.language))), this.mobile ? "" : e(L, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (i) => this.changePageSize(i) }), this.mobile ? e("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, e("ui-image", { src: a, alt: "Filter" }), o.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? e(D, { language: this.language, applyFilters: (i, s) => this.applyFilters(i, s) }) : "", ((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((i) => e(B, Object.assign({}, i)))) : e(F, { source: this.transactions, language: this.language })) : e("div", { class: "noData" }, e("ui-image", { src: n, alt: "Warning" }), e("span", null, o.translate("noData", this.language))), e("div", { key: "f1e16d2395614016c31dd35f422ca9146c7dfdfa", class: "pagination" }, e("button", { key: "be18928021e45ed4e4c3dc5fe6e3d41a51c2c95e", onClick: () => this.prev() }, "<"), e("button", { key: "3e871ad1f4aff6c8f43c93ba2f95d122c6bc8af8", onClick: () => this.next() }, ">"))));
|
|
323
350
|
}
|
|
324
351
|
loadTransactions() {
|
|
325
352
|
return c(this, null, function* () {
|
|
@@ -332,11 +359,11 @@ const z = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
332
359
|
}
|
|
333
360
|
});
|
|
334
361
|
if (!a.ok) {
|
|
335
|
-
const
|
|
336
|
-
throw new Error(
|
|
362
|
+
const i = yield a.text();
|
|
363
|
+
throw new Error(i);
|
|
337
364
|
}
|
|
338
|
-
const
|
|
339
|
-
this.pagination =
|
|
365
|
+
const n = yield a.json();
|
|
366
|
+
this.pagination = n.pagination, this.transactions = n.transactions;
|
|
340
367
|
} catch (t) {
|
|
341
368
|
console.error(t);
|
|
342
369
|
} finally {
|
|
@@ -346,14 +373,14 @@ const z = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
346
373
|
}
|
|
347
374
|
getParams() {
|
|
348
375
|
var t, a;
|
|
349
|
-
const
|
|
350
|
-
return `offset=${
|
|
376
|
+
const n = /* @__PURE__ */ new Date(), i = (this.page * this.pageSize).toString(), s = (t = this.from) !== null && t !== void 0 ? t : new Date(n.getFullYear(), n.getMonth(), 1).toISOString(), l = (a = this.to) !== null && a !== void 0 ? a : new Date(n.getFullYear(), n.getMonth() + 1, 0).toISOString();
|
|
377
|
+
return `offset=${i}&endDate=${l}&startDate=${s}&type=${this.type}&limit=${this.pageSize}`;
|
|
351
378
|
}
|
|
352
379
|
static get assetsDirs() {
|
|
353
380
|
return ["../assets"];
|
|
354
381
|
}
|
|
355
382
|
get el() {
|
|
356
|
-
return
|
|
383
|
+
return b(this);
|
|
357
384
|
}
|
|
358
385
|
static get watchers() {
|
|
359
386
|
return {
|
|
@@ -368,7 +395,8 @@ const z = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--h
|
|
|
368
395
|
};
|
|
369
396
|
}
|
|
370
397
|
};
|
|
371
|
-
|
|
398
|
+
z.style = U;
|
|
372
399
|
export {
|
|
373
|
-
|
|
400
|
+
k as ui_image,
|
|
401
|
+
z as user_transaction_history
|
|
374
402
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-nCQBn10B.js";
|
|
2
2
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
138
138
|
default:
|
|
139
139
|
e = "";
|
|
140
140
|
}
|
|
141
|
-
return t(i, { key: "
|
|
141
|
+
return t(i, { key: "0641e666452d2172c26ed238d236c2ca3db9f8ed" }, t("style", { key: "285fb8210d32aff7f99005627fdecf36f66e82a4" }, e), this.handleStructure(this.structure));
|
|
142
142
|
}
|
|
143
143
|
static get watchers() {
|
|
144
144
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-Ba3S1_hg.js";
|
|
2
2
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}", s = n, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
o(this, e), this.structure = void 0, this.width = void 0, this.height = void 0, this.borderRadius = void 0, this.marginBottom = void 0, this.marginTop = void 0, this.marginLeft = void 0, this.marginRight = void 0, this.animation = !0, this.rows = void 0, this.size = void 0, this.color = void 0, this.primaryColor = void 0, this.secondaryColor = void 0;
|
|
@@ -138,7 +138,7 @@ const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw
|
|
|
138
138
|
default:
|
|
139
139
|
e = "";
|
|
140
140
|
}
|
|
141
|
-
return t(i, { key: "
|
|
141
|
+
return t(i, { key: "0641e666452d2172c26ed238d236c2ca3db9f8ed" }, t("style", { key: "285fb8210d32aff7f99005627fdecf36f66e82a4" }, e), this.handleStructure(this.structure));
|
|
142
142
|
}
|
|
143
143
|
static get watchers() {
|
|
144
144
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("./index-b2193545-
|
|
1
|
+
"use strict";const t=require("./index-b2193545-CjNH95c8.cjs"),i=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",n=i,o=class{constructor(e){t.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,r){r!==e&&this.handleStructure(e)}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,r)=>t.h("div",{key:r,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
2
2
|
:host {
|
|
3
3
|
--emw-skeleton-logo-width: ${this.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.height};
|
|
@@ -70,4 +70,4 @@
|
|
|
70
70
|
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
71
71
|
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
72
72
|
}
|
|
73
|
-
`;break;default:e=""}return t.h(t.Host,{key:"
|
|
73
|
+
`;break;default:e=""}return t.h(t.Host,{key:"0641e666452d2172c26ed238d236c2ca3db9f8ed"},t.h("style",{key:"285fb8210d32aff7f99005627fdecf36f66e82a4"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};o.style=n;exports.UiSkeleton=o;
|
|
@@ -14,15 +14,15 @@ var n = (o, t, e) => new Promise((m, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
|
|
15
15
|
a((e = e.apply(o, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as
|
|
18
|
-
import {
|
|
19
|
-
import { U as R } from "./ui-skeleton-
|
|
17
|
+
import { b as c, p } from "./index-b2193545-Ba3S1_hg.js";
|
|
18
|
+
import { c as g } from "./app-globals-0f993ce5-Dab_DTBV.js";
|
|
19
|
+
import { U as R } from "./ui-skeleton-6d1c12ae-CpRMWvUl.js";
|
|
20
20
|
var h = () => {
|
|
21
21
|
const o = import.meta.url, t = {};
|
|
22
|
-
return o !== "" && (t.resourcesUrl = new URL(".", o).href),
|
|
22
|
+
return o !== "" && (t.resourcesUrl = new URL(".", o).href), p(t);
|
|
23
23
|
};
|
|
24
24
|
h().then((o) => n(void 0, null, function* () {
|
|
25
|
-
return yield g(),
|
|
25
|
+
return yield g(), c([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
|
|
26
26
|
}));
|
|
27
27
|
export {
|
|
28
28
|
R as ui_skeleton
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-
|
|
1
|
+
"use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-CjNH95c8.cjs"),p=require("./app-globals-0f993ce5-BE38v2MW.cjs"),g=require("./ui-skeleton-6d1c12ae-DIXcfDMF.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-BmY9tNCz.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$3(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as t, p as e } from "./index-b2193545-
|
|
2
|
-
import {
|
|
3
|
-
import { U as u } from "./ui-skeleton-
|
|
1
|
+
import { b as t, p as e } from "./index-b2193545-nCQBn10B.js";
|
|
2
|
+
import { c as a } from "./app-globals-0f993ce5-Dab_DTBV.js";
|
|
3
|
+
import { U as u } from "./ui-skeleton-6d1c12ae-BteqiJ3N.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, o = {};
|
|
6
6
|
return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);
|