everest-npm-features 0.0.47 → 0.0.49

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.
Files changed (112) hide show
  1. package/dist/{PlayArrow-Cm8tJN8W.js → PlayArrow-C3uVNo4F.js} +1 -1
  2. package/dist/assets/styles.css +1 -1
  3. package/dist/assets/styles2.css +1 -1
  4. package/dist/assets/styles3.css +1 -1
  5. package/dist/assets/styles4.css +1 -0
  6. package/dist/{auth-D0r8wtCH.js → auth-ClBgT--j.js} +1 -1
  7. package/dist/{bank-BmV_keEr.js → bank-Dz5km1qK.js} +3 -3
  8. package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
  9. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  10. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Buy/index.js +12 -11
  13. package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
  14. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  15. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  16. package/dist/components/RocketRamp/Player/Sell/index.js +12 -11
  17. package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
  18. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  21. package/dist/components/RocketRamp/Player/SignUp/index.js +39 -38
  22. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  23. package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
  24. package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
  25. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  26. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  27. package/dist/components/RocketRamp/Transactions/index.js +14 -13
  28. package/dist/components/Shared/FullKyc/edd.js +41 -41
  29. package/dist/components/Shared/FullKyc/index.js +11 -10
  30. package/dist/components/Shared/FullKyc/pep.js +1 -1
  31. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  32. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  33. package/dist/components/Shared/MinimalKyc/index.js +31 -30
  34. package/dist/components/Wallet/Account/createIban.d.ts +2 -0
  35. package/dist/components/Wallet/Account/createIban.js +70 -62
  36. package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
  37. package/dist/components/Wallet/Account/eWallet.js +96 -0
  38. package/dist/components/Wallet/Account/iban.d.ts +2 -0
  39. package/dist/components/Wallet/Account/iban.js +38 -32
  40. package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
  41. package/dist/components/Wallet/Account/ibanItem.js +233 -76
  42. package/dist/components/Wallet/Account/index.d.ts +2 -0
  43. package/dist/components/Wallet/Account/index.js +164 -143
  44. package/dist/components/Wallet/Account/sendIban.js +3 -3
  45. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  46. package/dist/components/Wallet/Buy/form.js +6 -6
  47. package/dist/components/Wallet/Buy/index.js +14 -13
  48. package/dist/components/Wallet/Deposit/index.js +1 -1
  49. package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
  50. package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
  51. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
  52. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  53. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  54. package/dist/components/Wallet/History/index.js +25 -24
  55. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
  56. package/dist/components/Wallet/Portfolio/index.js +34 -33
  57. package/dist/components/Wallet/Profile/documents.js +527 -28
  58. package/dist/components/Wallet/Profile/index.js +179 -149
  59. package/dist/components/Wallet/Profile/storage.d.ts +11 -0
  60. package/dist/components/Wallet/Profile/storage.js +267 -0
  61. package/dist/components/Wallet/Receive/index.js +22 -21
  62. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  63. package/dist/components/Wallet/Sell/form.js +6 -6
  64. package/dist/components/Wallet/Sell/index.js +13 -12
  65. package/dist/components/Wallet/Send/index.js +44 -43
  66. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  67. package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
  68. package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
  69. package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
  70. package/dist/components/Wallet/Shared/addBank.js +39 -38
  71. package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
  72. package/dist/components/Wallet/Shared/manualSend.js +7 -6
  73. package/dist/components/Wallet/Shared/pin.js +1 -1
  74. package/dist/components/Wallet/SignIn/index.js +24 -23
  75. package/dist/components/Wallet/SignUp/index.js +22 -21
  76. package/dist/components/Wallet/Stake/gems/index.js +1 -1
  77. package/dist/components/Wallet/Stake/id/index.js +1 -1
  78. package/dist/components/Wallet/Stake/index.js +31 -30
  79. package/dist/components/Wallet/Swap/form.js +9 -8
  80. package/dist/components/Wallet/Swap/index.js +11 -10
  81. package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
  82. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -5
  83. package/dist/components/Wallet/Withdraw/form.js +5 -5
  84. package/dist/components/Wallet/Withdraw/index.js +12 -11
  85. package/dist/{constants-BJhUp96H.js → constants-t7n9qCW3.js} +559 -553
  86. package/dist/{cryptoAssets-Q_UWeuzR.js → cryptoAssets-shEFU26O.js} +1 -1
  87. package/dist/hooks/useDialog/index.js +1 -1
  88. package/dist/hooks/useEverestDispatch.d.ts +6 -0
  89. package/dist/hooks/useEverestDispatch.js +5 -0
  90. package/dist/{index-Dkjl8hIv.js → index-B6MSTmAM.js} +112 -111
  91. package/dist/{index-MUaN67Ei.js → index-C2EjFXaz.js} +88 -87
  92. package/dist/{index-pCrOsXNC.js → index-Cs7bSfT3.js} +29 -28
  93. package/dist/{index-DegQ9bTI.js → index-DFRU-R-5.js} +39 -38
  94. package/dist/{index-BRnTzw1Z.js → index-Da0r8FX2.js} +11 -10
  95. package/dist/{index-Dq5wTY4S.js → index-RDV0mQbt.js} +36 -35
  96. package/dist/{index-B2wXmFh5.js → index-j0zehpzg.js} +41 -40
  97. package/dist/{kyc-DLaLS7sp.js → kyc-D9xahfH9.js} +1 -1
  98. package/dist/main.js +7 -7
  99. package/dist/{order-fWKVFTau.js → order-jqH948WM.js} +29 -25
  100. package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
  101. package/dist/{stake-CQLutF0z.js → stake-Dcq6QpaA.js} +3 -3
  102. package/dist/{styles.module-O5VVND5e.js → styles.module-C1sNeKjL.js} +1 -1
  103. package/dist/styles.module-CHPRGltL.js +28 -0
  104. package/dist/{styles.module-CHEBh2ID.js → styles.module-DMd29SPQ.js} +1 -1
  105. package/dist/{styles.module-CUA1zLEJ.js → styles.module-verVx4pE.js} +1 -1
  106. package/dist/util/constants.d.ts +5 -0
  107. package/dist/util/constants.js +86 -81
  108. package/dist/util/functions.js +36 -36
  109. package/dist/{wallet-CuQDBP6a.js → wallet-DpkUmmq0.js} +1 -1
  110. package/package.json +3 -2
  111. package/dist/assets/documents.css +0 -1
  112. package/dist/documents-RjwlADn2.js +0 -552
@@ -1,16 +1,20 @@
1
- import { jsx as e, Fragment as m, jsxs as o } from "react/jsx-runtime";
2
- import { useState as u } from "react";
3
- import c from "../Shared/appButton.js";
4
- import { C } from "../../../ContentCopy-coPwrEuz.js";
5
- import { C as g } from "../../../Close-CNwiMz_O.js";
6
- import B from "../../Shared/transition.js";
1
+ import { jsx as e, Fragment as E, jsxs as r } from "react/jsx-runtime";
2
+ import { useState as l, useMemo as M, useEffect as R } from "react";
3
+ import "../../../constants-t7n9qCW3.js";
4
+ import { v as ie } from "../../../order-jqH948WM.js";
5
+ import g from "../Shared/appButton.js";
6
+ import { C as le } from "../../../ContentCopy-coPwrEuz.js";
7
+ import { C as O } from "../../../Close-CNwiMz_O.js";
8
+ import $ from "../../Shared/transition.js";
7
9
  import "../../../index-DlQqWbXG.js";
8
10
  import "../../../hoc/withThemeProvider.js";
11
+ import { u as j } from "../../../react-redux-C7I9-1M6.js";
12
+ import { FEATURE_EWALLET as se } from "../../../util/constants.js";
9
13
  import "../Shared/Auth/otpForm.js";
10
- import "../../../constants-BJhUp96H.js";
11
- import { useSnackBarContext as x } from "../../../context/snackBarContext.js";
14
+ import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
12
15
  import "../../../util/conversions.js";
13
16
  import "../../../index-CAoLi5Qq.js";
17
+ import ae from "../Shared/inputField.js";
14
18
  import "../../../react-webcam-B3cXh1XT.js";
15
19
  import "../../../tooltip-3UvETWtS.js";
16
20
  import "../Shared/pin.js";
@@ -18,106 +22,183 @@ import "../../../moment-h96o7c8I.js";
18
22
  import "../../../index.esm-BsMAMhYW.js";
19
23
  import "../../../web3-u4qDZYpo.js";
20
24
  import "../../../index-ceeCtFuh.js";
25
+ import ce from "../Shared/CardCorp/index.js";
21
26
  import "../../../context/dialogContext.js";
22
- import k from "./sendIban.js";
23
- import { G as t } from "../../../Grid-CFe3amXO.js";
24
- import { D as N, a as v } from "../../../DialogContent-BMwlOnbW.js";
25
- import { D as w } from "../../../DialogTitle-CfS0bb2K.js";
26
- import { T as h } from "../../../Typography-pAaje37G.js";
27
- import { I as f } from "../../../IconButton-DHm-hucF.js";
28
- import { B as I } from "../../../Box-B0YSYLco.js";
29
- const n = ({
30
- label: i,
31
- value: r,
32
- showCopyBtn: a
27
+ import ue from "./sendIban.js";
28
+ import { G as s } from "../../../Grid-CFe3amXO.js";
29
+ import { D as V, a as G } from "../../../DialogContent-BMwlOnbW.js";
30
+ import { D as H } from "../../../DialogTitle-CfS0bb2K.js";
31
+ import { T as v } from "../../../Typography-pAaje37G.js";
32
+ import { I as F } from "../../../IconButton-DHm-hucF.js";
33
+ import { B as D } from "../../../Box-B0YSYLco.js";
34
+ import { C as de } from "../../../CircularProgress-xZA3lvba.js";
35
+ const d = ({
36
+ label: k,
37
+ value: o,
38
+ showCopyBtn: T
33
39
  }) => {
34
- const { showAlertMessage: s } = x();
35
- return /* @__PURE__ */ o(m, { children: [
36
- /* @__PURE__ */ e(t, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: i }) }),
37
- /* @__PURE__ */ o(t, { size: 7, className: "fw500 text-left d-flex items-center", children: [
38
- r,
39
- a && /* @__PURE__ */ e(f, { onClick: () => {
40
- navigator.clipboard.writeText(r), s({
41
- message: `${i} has been copied successfully.`,
40
+ const { showAlertMessage: I } = q();
41
+ return /* @__PURE__ */ r(E, { children: [
42
+ /* @__PURE__ */ e(s, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: k }) }),
43
+ /* @__PURE__ */ r(s, { size: 7, className: "fw500 text-left d-flex items-center", children: [
44
+ o,
45
+ T && /* @__PURE__ */ e(F, { onClick: () => {
46
+ navigator.clipboard.writeText(o), I({
47
+ message: `${k} has been copied successfully.`,
42
48
  type: "success"
43
49
  });
44
- }, children: /* @__PURE__ */ e(C, { fontSize: "small", color: "primary" }) })
50
+ }, children: /* @__PURE__ */ e(le, { fontSize: "small", color: "primary" }) })
45
51
  ] })
46
52
  ] });
47
- }, re = ({
48
- AccountItem: i,
49
- data: r,
50
- appKey: a,
51
- dispatch: s,
52
- iban: p
53
+ }, He = ({
54
+ AccountItem: k,
55
+ data: o,
56
+ appKey: T,
57
+ appKeyEur: I,
58
+ paymentWidgetSrcUrl: a,
59
+ dispatch: U,
60
+ iban: J,
61
+ from: K
53
62
  }) => {
54
- const [y, l] = u(!1), [b, d] = u(!1);
55
- return /* @__PURE__ */ e(m, { children: r.accountNumber ? /* @__PURE__ */ o(m, { children: [
56
- /* @__PURE__ */ e(i, { type: "iban", data: r, children: /* @__PURE__ */ o(t, { my: 1, spacing: 2, container: !0, children: [
57
- /* @__PURE__ */ e(t, { size: { md: 6 }, children: /* @__PURE__ */ e(c, { fullWidth: !0, onClick: () => l(!0), children: "Deposit" }) }),
58
- /* @__PURE__ */ e(t, { size: { md: 3 }, children: /* @__PURE__ */ e(c, { fullWidth: !0, onClick: () => d(!0), children: "Send" }) }),
59
- /* @__PURE__ */ e(t, { size: { md: 3 }, children: /* @__PURE__ */ e(c, { fullWidth: !0, onClick: () => l(!0), children: "Receive" }) })
63
+ var L;
64
+ const [Q, N] = l(!1), [X, S] = l(!1), [m, _] = l(!1), [W, w] = l(""), [x, p] = l(null), [P, f] = l(null), [c, i] = l(!1), { showAlertMessage: h } = q(), C = K === se, y = j(
65
+ (t) => t.order
66
+ ), A = y.v4Payment ?? null, b = y.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
67
+ w(""), p(null), f(null), i(!1), _(!0);
68
+ }, z = () => {
69
+ _(!1), w(""), p(null), f(null), i(!1);
70
+ }, ee = () => {
71
+ const t = Number(W);
72
+ if (!W || Number.isNaN(t) || t <= 0) {
73
+ h({
74
+ message: "Please enter a valid amount greater than zero.",
75
+ type: "error"
76
+ });
77
+ return;
78
+ }
79
+ if (!T) {
80
+ h({
81
+ message: "Unable to identify application key.",
82
+ type: "error"
83
+ });
84
+ return;
85
+ }
86
+ if (!I) {
87
+ h({
88
+ message: "Unable to identify application EUR key.",
89
+ type: "error"
90
+ });
91
+ return;
92
+ }
93
+ const te = Math.round(t * 100);
94
+ U(
95
+ ie({
96
+ apiKey: I,
97
+ ccy: "EUR",
98
+ transaction_type: "CHECKOUT",
99
+ amount: te,
100
+ uuid: Y ?? void 0
101
+ })
102
+ ), i(!0);
103
+ }, re = () => {
104
+ if (C) {
105
+ Z();
106
+ return;
107
+ }
108
+ N(!0);
109
+ }, n = M(() => A ?? null, [A]), u = M(() => {
110
+ var t;
111
+ return n ? (n == null ? void 0 : n.checkout_id) ?? ((t = n == null ? void 0 : n.order) == null ? void 0 : t.provider_token) ?? (n == null ? void 0 : n.provider_token) ?? null : null;
112
+ }, [n]), B = ((L = n == null ? void 0 : n.order) == null ? void 0 : L.order_id) ?? null, oe = M(() => a ? a.endsWith("/") ? a : `${a}/` : "", [a]), ne = M(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
113
+ return R(() => {
114
+ c && u && (p(u), f(B ?? null), i(!1));
115
+ }, [c, u, B]), R(() => {
116
+ c && m && (!u || x || (p(u), f(B ?? null), i(!1)));
117
+ }, [
118
+ c,
119
+ m,
120
+ u,
121
+ x,
122
+ B
123
+ ]), R(() => {
124
+ C && (m || (w(""), p(null), f(null)));
125
+ }, [C, m]), R(() => {
126
+ if (c && !b) {
127
+ if (A) {
128
+ i(!1);
129
+ return;
130
+ }
131
+ y.error && (h({
132
+ message: y.error,
133
+ type: "error"
134
+ }), i(!1));
135
+ }
136
+ }, [c, b, A, y.error, h]), /* @__PURE__ */ e(E, { children: o.accountNumber ? /* @__PURE__ */ r(E, { children: [
137
+ /* @__PURE__ */ e(k, { type: "iban", data: o, children: /* @__PURE__ */ r(s, { my: 1, spacing: 2, container: !0, children: [
138
+ /* @__PURE__ */ e(s, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: C ? "Topup" : "Deposit" }) }),
139
+ /* @__PURE__ */ e(s, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => S(!0), children: "Send" }) }),
140
+ /* @__PURE__ */ e(s, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => N(!0), children: "Receive" }) })
60
141
  ] }) }),
61
- /* @__PURE__ */ o(
62
- N,
142
+ /* @__PURE__ */ r(
143
+ V,
63
144
  {
64
- open: y,
145
+ open: Q,
65
146
  fullWidth: !0,
66
- onClose: () => l(!1),
67
- TransitionComponent: B,
147
+ onClose: () => N(!1),
148
+ TransitionComponent: $,
68
149
  maxWidth: "md",
69
150
  children: [
70
- /* @__PURE__ */ o(w, { className: "buy-modal-text-color", children: [
71
- /* @__PURE__ */ e(h, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
151
+ /* @__PURE__ */ r(H, { className: "buy-modal-text-color", children: [
152
+ /* @__PURE__ */ e(v, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
72
153
  /* @__PURE__ */ e(
73
- f,
154
+ F,
74
155
  {
75
156
  "aria-label": "close",
76
- onClick: () => l(!1),
157
+ onClick: () => N(!1),
77
158
  className: "menu-buttons",
78
- children: /* @__PURE__ */ e(g, {})
159
+ children: /* @__PURE__ */ e(O, {})
79
160
  }
80
161
  )
81
162
  ] }),
82
- /* @__PURE__ */ o(v, { dividers: !0, children: [
83
- /* @__PURE__ */ e(h, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
84
- /* @__PURE__ */ o(t, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
163
+ /* @__PURE__ */ r(G, { dividers: !0, children: [
164
+ /* @__PURE__ */ e(v, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
165
+ /* @__PURE__ */ r(s, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
85
166
  /* @__PURE__ */ e(
86
- n,
167
+ d,
87
168
  {
88
169
  label: "Account Title",
89
- value: `${r.ownerFirstName} ${r.ownerLastName}`
170
+ value: `${o.ownerFirstName} ${o.ownerLastName}`
90
171
  }
91
172
  ),
92
173
  /* @__PURE__ */ e(
93
- n,
174
+ d,
94
175
  {
95
176
  label: "Bank Account Currency",
96
- value: r.currency || ""
177
+ value: o.currency || ""
97
178
  }
98
179
  ),
99
- /* @__PURE__ */ e(n, { label: "Bank Name", value: r.bankName || "" }),
180
+ /* @__PURE__ */ e(d, { label: "Bank Name", value: o.bankName || "" }),
100
181
  /* @__PURE__ */ e(
101
- n,
182
+ d,
102
183
  {
103
184
  label: "Bank Address",
104
- value: r.bankBranchAddress || "",
185
+ value: o.bankBranchAddress || "",
105
186
  showCopyBtn: !0
106
187
  }
107
188
  ),
108
189
  /* @__PURE__ */ e(
109
- n,
190
+ d,
110
191
  {
111
192
  label: "Virtual IBAN",
112
- value: r.accountNumber || "",
193
+ value: o.accountNumber || "",
113
194
  showCopyBtn: !0
114
195
  }
115
196
  ),
116
197
  /* @__PURE__ */ e(
117
- n,
198
+ d,
118
199
  {
119
200
  label: "BIC/Swift Code",
120
- value: r.bicCode || "",
201
+ value: o.bicCode || "",
121
202
  showCopyBtn: !0
122
203
  }
123
204
  )
@@ -126,19 +207,95 @@ const n = ({
126
207
  ]
127
208
  }
128
209
  ),
210
+ C && /* @__PURE__ */ r(
211
+ V,
212
+ {
213
+ open: m,
214
+ fullWidth: !0,
215
+ maxWidth: "sm",
216
+ onClose: z,
217
+ TransitionComponent: $,
218
+ children: [
219
+ /* @__PURE__ */ r(H, { className: "buy-modal-text-color", children: [
220
+ /* @__PURE__ */ e(v, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
221
+ /* @__PURE__ */ e(
222
+ F,
223
+ {
224
+ "aria-label": "close",
225
+ onClick: z,
226
+ className: "menu-buttons",
227
+ children: /* @__PURE__ */ e(O, {})
228
+ }
229
+ )
230
+ ] }),
231
+ /* @__PURE__ */ e(G, { dividers: !0, children: x ? /* @__PURE__ */ r(D, { mt: 2, children: [
232
+ /* @__PURE__ */ e(v, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
233
+ /* @__PURE__ */ e(
234
+ ce,
235
+ {
236
+ checkoutId: x,
237
+ srcUrl: oe,
238
+ onResultUrl: ne
239
+ }
240
+ )
241
+ ] }) : /* @__PURE__ */ r(E, { children: [
242
+ /* @__PURE__ */ e(v, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
243
+ /* @__PURE__ */ e(
244
+ ae,
245
+ {
246
+ label: "Topup Amount",
247
+ type: "number",
248
+ value: W,
249
+ onChangeHandler: (t) => w(t),
250
+ inputProps: { min: "0", step: "0.01" }
251
+ }
252
+ ),
253
+ /* @__PURE__ */ r(D, { mt: 4, display: "flex", justifyContent: "flex-end", gap: 2, children: [
254
+ /* @__PURE__ */ e(
255
+ g,
256
+ {
257
+ variantType: "secondary",
258
+ onClick: z,
259
+ disabled: b,
260
+ children: "Cancel"
261
+ }
262
+ ),
263
+ /* @__PURE__ */ e(
264
+ g,
265
+ {
266
+ onClick: ee,
267
+ disabled: b,
268
+ children: /* @__PURE__ */ r("strong", { children: [
269
+ b ? /* @__PURE__ */ e(
270
+ de,
271
+ {
272
+ size: 18,
273
+ color: "inherit",
274
+ sx: { mr: 1 }
275
+ }
276
+ ) : null,
277
+ "Confirm Topup"
278
+ ] })
279
+ }
280
+ )
281
+ ] })
282
+ ] }) })
283
+ ]
284
+ }
285
+ ),
129
286
  /* @__PURE__ */ e(
130
- k,
287
+ ue,
131
288
  {
132
- iban: p,
133
- data: r,
134
- dispatch: s,
135
- appKey: a,
136
- openModal: b,
137
- setOpenModal: d
289
+ iban: J,
290
+ data: o,
291
+ dispatch: U,
292
+ appKey: T,
293
+ openModal: X,
294
+ setOpenModal: S
138
295
  }
139
296
  )
140
- ] }) : /* @__PURE__ */ o(
141
- I,
297
+ ] }) : /* @__PURE__ */ r(
298
+ D,
142
299
  {
143
300
  className: "text-center",
144
301
  sx: {
@@ -149,9 +306,9 @@ const n = ({
149
306
  borderRadius: "5px"
150
307
  },
151
308
  children: [
152
- /* @__PURE__ */ o("p", { children: [
309
+ /* @__PURE__ */ r("p", { children: [
153
310
  "We have received your payment and ",
154
- r.currency,
311
+ o.currency,
155
312
  " Virtual IBAN creation is in progress. Please wait while we generate your Virtual IBAN."
156
313
  ] }),
157
314
  /* @__PURE__ */ e("p", { children: "This may take a few moments. Thank you for your patience!" })
@@ -160,5 +317,5 @@ const n = ({
160
317
  ) });
161
318
  };
162
319
  export {
163
- re as default
320
+ He as default
164
321
  };
@@ -2,6 +2,8 @@ interface AccountProps {
2
2
  baseUrl: string;
3
3
  checkoutSdkKey: string;
4
4
  appKey: string;
5
+ appKeyEur: string;
6
+ paymentWidgetSrcUrl: string;
5
7
  navigate: (path: string) => void;
6
8
  }
7
9
  declare const _default: import('react').FC<AccountProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;