everest-npm-features 0.0.37 → 0.0.39-temp.1
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/dist/{PlayArrow-KBDRjTbR.js → PlayArrow-C6lnbwD4.js} +1 -1
- package/dist/{auth-BQ4bZOAL.js → auth-BMzyEvqd.js} +1 -1
- package/dist/bank-Bp23LpvN.js +30 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/edd.js +2 -2
- package/dist/components/Shared/FullKyc/index.js +3 -3
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +3 -3
- package/dist/components/Shared/Incode/index.js +10 -10
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.d.ts +2 -0
- package/dist/components/Wallet/Account/createIban.js +182 -104
- package/dist/components/Wallet/Account/iban.js +72 -207
- package/dist/components/Wallet/Account/ibanItem.d.ts +15 -0
- package/dist/components/Wallet/Account/ibanItem.js +164 -0
- package/dist/components/Wallet/Account/index.js +136 -128
- package/dist/components/Wallet/Account/sendIban.d.ts +4 -1
- package/dist/components/Wallet/Account/sendIban.js +211 -140
- package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Buy/form.js +4 -4
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/Home/index.js +6 -6
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +8 -8
- package/dist/components/Wallet/Portfolio/index.js +3 -3
- package/dist/components/Wallet/Profile/documents.js +2 -2
- package/dist/components/Wallet/Profile/index.js +12 -11
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Sell/form.js +4 -4
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +12 -12
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/addBank.js +2 -2
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +3 -3
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/index.js +3 -3
- package/dist/components/Wallet/Swap/form.js +5 -5
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-rDP6jwIs.js → constants-9grj4Du1.js} +67 -69
- package/dist/{cryptoAssets-BXjfidU4.js → cryptoAssets-Cf7xMoh9.js} +1 -1
- package/dist/data/ibanSupportedCountries.json.d.ts +5 -0
- package/dist/{documents-CF1bpppV.js → documents-vj042AkQ.js} +25 -25
- package/dist/hooks/useDialog/index.js +45 -38
- package/dist/hooks/useDialog/types.d.ts +4 -1
- package/dist/{index-B9MyZ0sJ.js → index-BFKBLYk5.js} +13 -13
- package/dist/{index-aLtOG-sf.js → index-BXj7Wdol.js} +5 -5
- package/dist/{index-Btrmgb1g.js → index-B_ZN1s9v.js} +128 -126
- package/dist/{index-PitHP3ul.js → index-CUhPCwCD.js} +5 -5
- package/dist/{index-JY7R8k4h.js → index-Cf_gfO-E.js} +4 -4
- package/dist/{index-CdfFs6U2.js → index-DrAXokdP.js} +16 -16
- package/dist/{index-0PiVFV1G.js → index-grkjwLQL.js} +6 -6
- package/dist/{kyc-ChoR-OWg.js → kyc-MeOwOyUF.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-CTEvMHv4.js → order-Cs5_3wOs.js} +1 -1
- package/dist/{stake-nzM9DW-r.js → stake-ClJWsrHb.js} +1 -1
- package/dist/{wallet-DZ3-OqYH.js → wallet-nsVuNagB.js} +1 -1
- package/package.json +2 -2
- package/dist/bank-Bz7oos87.js +0 -34
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { b as I, C as e, F as f, M as A, i as K } from "../../../index-
|
|
4
|
+
import { b as I, C as e, F as f, M as A, i as K } from "../../../index-CUhPCwCD.js";
|
|
5
5
|
import "../../../react-redux-B4BZippc.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../PlayArrow-
|
|
8
|
-
import "../../../wallet-
|
|
9
|
-
import "../../../order-
|
|
6
|
+
import "../../../constants-9grj4Du1.js";
|
|
7
|
+
import "../../../PlayArrow-C6lnbwD4.js";
|
|
8
|
+
import "../../../wallet-nsVuNagB.js";
|
|
9
|
+
import "../../../order-Cs5_3wOs.js";
|
|
10
10
|
import "../../../util/constants.js";
|
|
11
11
|
import "../../../context/snackBarContext.js";
|
|
12
12
|
import "../Shared/Container/index.js";
|
|
@@ -5222,82 +5222,80 @@ Jt._jsonSchemaVersion = "firestore/querySnapshot/1.0", Jt._jsonSchema = {
|
|
|
5222
5222
|
}, "PUBLIC").setMultipleInstances(!0)), Ct(Rs, vs, e), // BUILD_TARGET will be replaced by values like esm2017, cjs2017, etc during the compilation
|
|
5223
5223
|
Ct(Rs, vs, "esm2017");
|
|
5224
5224
|
})();
|
|
5225
|
-
const Lo = "FEATURE_BUY", bo = "FEATURE_SELL", Po = "FEATURE_SWAP", Mo = "FEATURE_WITHDRAW", Bo = "FULLY_VERIFIED", Vo = "NEED_REVIEW", Fo = "FULLY_VERIFIED_EDD", xo = "IN_PROGRESS", ko = "DOCUMENT_VERIFICATION_FAILED", jo = "AUTH_RESET", Ho = "VALIDATE_PLAYER_REGISTER_BY_EMAIL_REQUEST", Qo = "AUTH_SCREEN_UPDATE", Go = "REGISTER_PLAYER_BY_EMAIL_REQUEST", Wo = "VERIFY_REGISTER_BY_EMAIL_REQUEST", Yo = "REGISTER_STORE_BY_EMAIL_REQUEST", Ko = "VALIDATE_STORE_REGISTER_BY_EMAIL_REQUEST", $o = "VERIFY_STORE_REGISTER_BY_EMAIL_REQUEST", Xo = "LOGIN_BY_EMAIL_REQUEST", qo = "VALIDATE_LOGIN_REQUEST", zo = "REGISTER_BY_EMAIL_REQUEST", Jo = "VALIDATE_REGISTER_REQUEST", Zo = "USER_REF_REQUEST", th = "USER_REF_COUNT_REQUEST", eh = "USER_TWITTER_INFO_REQUEST", nh = "USER_TWITTER_UPDATE_REQUEST", sh = "GET_KYC_DOC_DATA_REQUEST", ih = "USER_MINIMAL_KYC_REQUEST", rh = "USER_FULL_KYC_REQUEST", oh = "RESET_KYC", hh = "USER_BANK_REQUEST", ah = "ADD_BANK_REQUEST", ch = "DELETE_BANK_REQUEST", lh = "PLAID_TOKEN_REQUEST", uh = "PLAID_CREATE_ITEM_REQUEST", fh = "GET_IBAN_REQUEST", ph = "
|
|
5225
|
+
const Lo = "FEATURE_BUY", bo = "FEATURE_SELL", Po = "FEATURE_SWAP", Mo = "FEATURE_WITHDRAW", Bo = "FULLY_VERIFIED", Vo = "NEED_REVIEW", Fo = "FULLY_VERIFIED_EDD", xo = "IN_PROGRESS", ko = "DOCUMENT_VERIFICATION_FAILED", jo = "AUTH_RESET", Ho = "VALIDATE_PLAYER_REGISTER_BY_EMAIL_REQUEST", Qo = "AUTH_SCREEN_UPDATE", Go = "REGISTER_PLAYER_BY_EMAIL_REQUEST", Wo = "VERIFY_REGISTER_BY_EMAIL_REQUEST", Yo = "REGISTER_STORE_BY_EMAIL_REQUEST", Ko = "VALIDATE_STORE_REGISTER_BY_EMAIL_REQUEST", $o = "VERIFY_STORE_REGISTER_BY_EMAIL_REQUEST", Xo = "LOGIN_BY_EMAIL_REQUEST", qo = "VALIDATE_LOGIN_REQUEST", zo = "REGISTER_BY_EMAIL_REQUEST", Jo = "VALIDATE_REGISTER_REQUEST", Zo = "USER_REF_REQUEST", th = "USER_REF_COUNT_REQUEST", eh = "USER_TWITTER_INFO_REQUEST", nh = "USER_TWITTER_UPDATE_REQUEST", sh = "GET_KYC_DOC_DATA_REQUEST", ih = "USER_MINIMAL_KYC_REQUEST", rh = "USER_FULL_KYC_REQUEST", oh = "RESET_KYC", hh = "USER_BANK_REQUEST", ah = "ADD_BANK_REQUEST", ch = "DELETE_BANK_REQUEST", lh = "PLAID_TOKEN_REQUEST", uh = "PLAID_CREATE_ITEM_REQUEST", fh = "GET_IBAN_REQUEST", ph = "IBAN_SEND_STATUS_PROCESSING", gh = "IBAN_SEND_STATUS_FINISHED", Eh = "SEND_FROM_IBAN_REQUEST", dh = "USER_WALLET_REQUEST", _h = "ADD_WALLET_REQUEST", mh = "ADD_WALLET_SUCCESS", Th = "USER_ASSOCIATE_WALLET_REQUEST", Sh = "ADD_ASSOCIATE_WALLET_REQUEST", yh = "ADD_ASSOCIATE_WALLET_SUCCESS", Ah = "FETCH_WALLET_TOKENS_REQUEST", Rh = "FETCH_AVAILABLE_TOKENS", vh = "FETCH_LINKED_WALLET_TOKENS", Ih = "FETCH_EVER_WALLET_TOKENS", wh = "FIAT_ASSETS_REQUEST", Dh = "FEATURE_CRYPTO_ASSETS", Nh = "FEATURE_CRYPTO_ASSETS_DEFAULT", Oh = "FEATURE_CRYPTO_ASSETS_DEFAULT2", Ch = "USER_DOCUMENTS_REQUEST", Uh = "PREVIEW_DOCUMENT_REQUEST", Lh = "PREVIEW_IDENTITY_DOCUMENT_REQUEST", bh = "PREVIEW_DOCUMENT_CLEAR", Ph = "DELETE_DOCUMENT_REQUEST", Mh = "UPLOAD_DOCUMENT_REQUEST", Bh = "NETWORK_LIST_REQUEST", Vh = "SUGGEST_GAS_REQUEST", Fh = "SEND_NATIVE_TOKEN_REQUEST", xh = "SEND_TOKEN_REQUEST", kh = "HIDE_GAS_POPUP", jh = "CLEAR_SEND_TRX_ID", Hh = "ORDER_LIST_REQUEST", Qh = "ORDER_ESTIMATE_REQUEST", Gh = "ORDER_CREATE_REQUEST", Wh = "ORDER_RESET_ESTIMATE", Yh = "ORDER_IBAN_PAYMENT_REQUEST", Kh = "ORDER_CHECKOUT_PAYMENT_REQUEST", $h = "ORDER_TYPE_REQUEST", Xh = "ORDER_CARD_REQUEST", qh = "ORDER_BANK_SET", zh = "ORDER_RESET", Jh = "ORDER_DEPOSIT_ADDRESS_REQUEST", Zh = "ORDER_CONFIRM_DEPOSIT_REQUEST", ta = "STAKE_LIST_REQUEST", ea = "STAKE_SET_REQUEST", na = "STAKE_INITIAL_STATE", sa = "STAKE_FINISH_REQUEST", ia = "BRIDGE_MOVE_TO_ETHEREUM_GAS_REQUEST", ra = "BRIDGE_MOVE_TO_ETHEREUM_REQUEST", oa = "BRIDGE_MOVE_TO_EVERCHAIN_GAS_REQUEST", ha = "BRIDGE_MOVE_TO_EVERCHAIN_REQUEST", aa = "BRIDGE_RESET", ca = "RESET_PASSWORD_REQUEST", la = "STORE_BALANCE_REQUEST", ua = "KYB_DOCUMENT_UPLOAD_REQUEST", fa = "KYB_APPLICATION_REQUEST", pa = "FULL_ONLY", ga = "EDD_ONLY", Ea = "FULL_EDD";
|
|
5226
5226
|
export {
|
|
5227
|
-
|
|
5227
|
+
Dh as $,
|
|
5228
5228
|
jo as A,
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5229
|
+
Wh as B,
|
|
5230
|
+
zh as C,
|
|
5231
|
+
Xh as D,
|
|
5232
|
+
Jh as E,
|
|
5233
|
+
Ah as F,
|
|
5234
|
+
qh as G,
|
|
5235
|
+
Gh as H,
|
|
5236
|
+
Yh as I,
|
|
5237
|
+
Kh as J,
|
|
5238
5238
|
Fo as K,
|
|
5239
5239
|
Xo as L,
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5240
|
+
Zh as M,
|
|
5241
|
+
Hh as N,
|
|
5242
|
+
Qh as O,
|
|
5243
|
+
$h as P,
|
|
5244
5244
|
hh as Q,
|
|
5245
5245
|
zo as R,
|
|
5246
|
-
|
|
5246
|
+
ta as S,
|
|
5247
5247
|
lh as T,
|
|
5248
|
-
|
|
5248
|
+
dh as U,
|
|
5249
5249
|
qo as V,
|
|
5250
5250
|
uh as W,
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5251
|
+
ah as X,
|
|
5252
|
+
Eh as Y,
|
|
5253
|
+
fh as Z,
|
|
5254
|
+
ch as _,
|
|
5255
5255
|
xo as a,
|
|
5256
|
-
|
|
5256
|
+
Nh as a0,
|
|
5257
5257
|
Oh as a1,
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
nh as ai,
|
|
5279
|
-
la as aj,
|
|
5258
|
+
oh as a2,
|
|
5259
|
+
sh as a3,
|
|
5260
|
+
ih as a4,
|
|
5261
|
+
ua as a5,
|
|
5262
|
+
fa as a6,
|
|
5263
|
+
rh as a7,
|
|
5264
|
+
gh as a8,
|
|
5265
|
+
ph as a9,
|
|
5266
|
+
Vh as aA,
|
|
5267
|
+
la as aB,
|
|
5268
|
+
Po as aa,
|
|
5269
|
+
wh as ab,
|
|
5270
|
+
Vo as ac,
|
|
5271
|
+
Zo as ad,
|
|
5272
|
+
th as ae,
|
|
5273
|
+
eh as af,
|
|
5274
|
+
nh as ag,
|
|
5275
|
+
aa as ah,
|
|
5276
|
+
ia as ai,
|
|
5277
|
+
ra as aj,
|
|
5280
5278
|
oa as ak,
|
|
5281
5279
|
ha as al,
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5280
|
+
Lo as am,
|
|
5281
|
+
Mo as an,
|
|
5282
|
+
bo as ao,
|
|
5283
|
+
bh as ap,
|
|
5284
|
+
Ch as aq,
|
|
5287
5285
|
Mh as ar,
|
|
5288
5286
|
Lh as as,
|
|
5289
|
-
|
|
5287
|
+
Uh as at,
|
|
5290
5288
|
Ph as au,
|
|
5291
|
-
|
|
5292
|
-
|
|
5289
|
+
Bh as av,
|
|
5290
|
+
kh as aw,
|
|
5293
5291
|
Fh as ax,
|
|
5294
|
-
|
|
5295
|
-
|
|
5292
|
+
xh as ay,
|
|
5293
|
+
jh as az,
|
|
5296
5294
|
ko as b,
|
|
5297
5295
|
Bo as c,
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5296
|
+
ga as d,
|
|
5297
|
+
Ea as e,
|
|
5298
|
+
pa as f,
|
|
5301
5299
|
Ho as g,
|
|
5302
5300
|
Ko as h,
|
|
5303
5301
|
Jo as i,
|
|
@@ -5306,16 +5304,16 @@ export {
|
|
|
5306
5304
|
Wo as l,
|
|
5307
5305
|
Yo as m,
|
|
5308
5306
|
$o as n,
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5307
|
+
ca as o,
|
|
5308
|
+
Th as p,
|
|
5309
|
+
Rh as q,
|
|
5310
|
+
vh as r,
|
|
5311
|
+
Ih as s,
|
|
5312
|
+
mh as t,
|
|
5313
|
+
yh as u,
|
|
5314
|
+
_h as v,
|
|
5315
|
+
Sh as w,
|
|
5316
|
+
na as x,
|
|
5317
|
+
sa as y,
|
|
5318
|
+
ea as z
|
|
5321
5319
|
};
|
|
@@ -10,13 +10,13 @@ import { c as ae } from "./createSvgIcon-Cuzqm90l.js";
|
|
|
10
10
|
import se from "./components/Shared/transition.js";
|
|
11
11
|
import { getDocName as le } from "./util/functions.js";
|
|
12
12
|
import { u as de, a as me } from "./react-redux-B4BZippc.js";
|
|
13
|
-
import {
|
|
13
|
+
import { ap as he, aq as ue, ar as pe, as as fe, at as ge, au as _e } from "./constants-9grj4Du1.js";
|
|
14
14
|
import { e as xe } from "./index-FwnHkXdK.js";
|
|
15
15
|
import { RIGHT_ARROW as M, DELETE_ICON as De } from "./util/constants.js";
|
|
16
16
|
import { useDialog as be } from "./hooks/useDialog/index.js";
|
|
17
17
|
import g from "./components/Wallet/Shared/appButton.js";
|
|
18
18
|
import { B as Ce } from "./Backdrop-CioURPVG.js";
|
|
19
|
-
import { C as
|
|
19
|
+
import { C as w } from "./CircularProgress-xZA3lvba.js";
|
|
20
20
|
import { T as a } from "./Typography-pAaje37G.js";
|
|
21
21
|
import { B as ve } from "./Button-Df4vgU24.js";
|
|
22
22
|
import { B as c } from "./Box-B0YSYLco.js";
|
|
@@ -41,13 +41,13 @@ import './assets/documents.css';const ye = () => ({
|
|
|
41
41
|
}), ke = (o) => ({
|
|
42
42
|
type: pe,
|
|
43
43
|
payload: o
|
|
44
|
-
}),
|
|
45
|
-
container:
|
|
44
|
+
}), Ie = "_container_2oghf_1", Te = "_heading_2oghf_27", we = "_sBtn_2oghf_73", Re = "_twitterCancelBtn_2oghf_427", i = {
|
|
45
|
+
container: Ie,
|
|
46
46
|
"inner-container": "_inner-container_2oghf_13",
|
|
47
|
-
heading:
|
|
47
|
+
heading: Te,
|
|
48
48
|
"profile-feat-btn": "_profile-feat-btn_2oghf_41",
|
|
49
49
|
"ref-btn": "_ref-btn_2oghf_57",
|
|
50
|
-
sBtn:
|
|
50
|
+
sBtn: we,
|
|
51
51
|
"doc-video-box": "_doc-video-box_2oghf_117",
|
|
52
52
|
"image-corner-color": "_image-corner-color_2oghf_193",
|
|
53
53
|
"video-box-inner-content": "_video-box-inner-content_2oghf_207",
|
|
@@ -140,9 +140,9 @@ import './assets/documents.css';const ye = () => ({
|
|
|
140
140
|
else if (d.target.files && d.target.files[0]) {
|
|
141
141
|
p(d.target.files[0].name);
|
|
142
142
|
let b = new FileReader();
|
|
143
|
-
b.onload = (
|
|
143
|
+
b.onload = (I) => {
|
|
144
144
|
var N;
|
|
145
|
-
const y = (N =
|
|
145
|
+
const y = (N = I.target) == null ? void 0 : N.result;
|
|
146
146
|
if (typeof y == "string") {
|
|
147
147
|
const R = y.split(/[,]/);
|
|
148
148
|
s(R[1]);
|
|
@@ -156,7 +156,7 @@ import './assets/documents.css';const ye = () => ({
|
|
|
156
156
|
}
|
|
157
157
|
),
|
|
158
158
|
m ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
|
|
159
|
-
/* @__PURE__ */ e(
|
|
159
|
+
/* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
|
|
160
160
|
/* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
|
|
161
161
|
"Processing...",
|
|
162
162
|
/* @__PURE__ */ e("br", {}),
|
|
@@ -232,7 +232,7 @@ import './assets/documents.css';const ye = () => ({
|
|
|
232
232
|
}
|
|
233
233
|
),
|
|
234
234
|
s ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
|
|
235
|
-
/* @__PURE__ */ e(
|
|
235
|
+
/* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
|
|
236
236
|
/* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
|
|
237
237
|
"Processing...",
|
|
238
238
|
/* @__PURE__ */ e("br", {}),
|
|
@@ -281,21 +281,21 @@ import './assets/documents.css';const ye = () => ({
|
|
|
281
281
|
] })
|
|
282
282
|
] });
|
|
283
283
|
}, lt = ({ showAlertMessage: o, identityDocs: m }) => {
|
|
284
|
-
const { openDialog: _, ConfirmDialog: u } = be(), s = de(), r = me(xe), l = r.data, x = r.loader, p = r.message, D = r.error, v = r.preview.front, d = r.preview.back, b = r.preview.loader,
|
|
284
|
+
const { openDialog: _, ConfirmDialog: u } = be(), s = de(), r = me(xe), l = r.data, x = r.loader, p = r.message, D = r.error, v = r.preview.front, d = r.preview.back, b = r.preview.loader, I = r.uploadLoader, [y, N] = f(!1), [R, O] = f(!1), [B, E] = f(1), [K, q] = f(!1), [W, G] = f(""), [T, P] = f("");
|
|
285
285
|
A(() => {
|
|
286
286
|
D && o({ message: D });
|
|
287
287
|
}, [D]), A(() => {
|
|
288
288
|
p && (o({ message: p, type: "success" }), N(!1), U());
|
|
289
289
|
}, [p]);
|
|
290
|
-
const
|
|
290
|
+
const Q = () => {
|
|
291
291
|
if (!W)
|
|
292
292
|
return o({ message: "Please provide the document name" }), !1;
|
|
293
|
-
if (!
|
|
293
|
+
if (!T)
|
|
294
294
|
return o({ message: "Please provide the document" }), !1;
|
|
295
295
|
s(
|
|
296
296
|
ke({
|
|
297
297
|
filename: W.trim(),
|
|
298
|
-
content:
|
|
298
|
+
content: T
|
|
299
299
|
})
|
|
300
300
|
);
|
|
301
301
|
}, X = () => {
|
|
@@ -353,7 +353,7 @@ import './assets/documents.css';const ye = () => ({
|
|
|
353
353
|
}
|
|
354
354
|
)
|
|
355
355
|
] }), U = () => {
|
|
356
|
-
|
|
356
|
+
G(""), P(""), E(1), q(!1);
|
|
357
357
|
};
|
|
358
358
|
return /* @__PURE__ */ t(C, { children: [
|
|
359
359
|
/* @__PURE__ */ e(u, {}),
|
|
@@ -365,7 +365,7 @@ import './assets/documents.css';const ye = () => ({
|
|
|
365
365
|
zIndex: (n) => n.zIndex.drawer + 1e3
|
|
366
366
|
},
|
|
367
367
|
open: b,
|
|
368
|
-
children: /* @__PURE__ */ e(
|
|
368
|
+
children: /* @__PURE__ */ e(w, { color: "inherit" })
|
|
369
369
|
}
|
|
370
370
|
),
|
|
371
371
|
/* @__PURE__ */ e(a, { className: i.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
|
|
@@ -382,7 +382,7 @@ import './assets/documents.css';const ye = () => ({
|
|
|
382
382
|
]
|
|
383
383
|
}
|
|
384
384
|
),
|
|
385
|
-
x ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(
|
|
385
|
+
x ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(w, {}) }) : /* @__PURE__ */ t(C, { children: [
|
|
386
386
|
m && m.map((n, S) => /* @__PURE__ */ e(H, { data: n, type: "identity" }, S)),
|
|
387
387
|
l && l.map((n, S) => /* @__PURE__ */ e(H, { data: n, type: "normal" }, S)),
|
|
388
388
|
!m && l.length === 0 && /* @__PURE__ */ e(a, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
|
|
@@ -391,7 +391,7 @@ import './assets/documents.css';const ye = () => ({
|
|
|
391
391
|
g,
|
|
392
392
|
{
|
|
393
393
|
sx: { mt: 4 },
|
|
394
|
-
onClick: () =>
|
|
394
|
+
onClick: () => q(!0),
|
|
395
395
|
fullWidth: !0,
|
|
396
396
|
children: /* @__PURE__ */ e("strong", { children: "Add new document" })
|
|
397
397
|
}
|
|
@@ -514,7 +514,7 @@ import './assets/documents.css';const ye = () => ({
|
|
|
514
514
|
{
|
|
515
515
|
showAlertMessage: o,
|
|
516
516
|
documentName: W,
|
|
517
|
-
setDocumentName:
|
|
517
|
+
setDocumentName: G,
|
|
518
518
|
setDocumentScreen: E
|
|
519
519
|
}
|
|
520
520
|
),
|
|
@@ -523,10 +523,10 @@ import './assets/documents.css';const ye = () => ({
|
|
|
523
523
|
{
|
|
524
524
|
showAlertMessage: o,
|
|
525
525
|
setDocumentScreen: E,
|
|
526
|
-
documentFile:
|
|
526
|
+
documentFile: T,
|
|
527
527
|
setDocumentFile: P,
|
|
528
|
-
uploadDocument:
|
|
529
|
-
uploadLoader:
|
|
528
|
+
uploadDocument: Q,
|
|
529
|
+
uploadLoader: I
|
|
530
530
|
}
|
|
531
531
|
),
|
|
532
532
|
3: /* @__PURE__ */ e(
|
|
@@ -534,10 +534,10 @@ import './assets/documents.css';const ye = () => ({
|
|
|
534
534
|
{
|
|
535
535
|
showAlertMessage: o,
|
|
536
536
|
setDocumentScreen: E,
|
|
537
|
-
documentFile:
|
|
537
|
+
documentFile: T,
|
|
538
538
|
setDocumentFile: P,
|
|
539
|
-
uploadDocument:
|
|
540
|
-
uploadLoader:
|
|
539
|
+
uploadDocument: Q,
|
|
540
|
+
uploadLoader: I
|
|
541
541
|
}
|
|
542
542
|
)
|
|
543
543
|
}[B] })
|
|
@@ -1,68 +1,75 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { useState as
|
|
1
|
+
import { jsx as o, jsxs as T } from "react/jsx-runtime";
|
|
2
|
+
import { useState as N, useEffect as W } from "react";
|
|
3
3
|
import { s as n } from "../../styles.module-CUA1zLEJ.js";
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
import u from "../../components/Wallet/Shared/appButton.js";
|
|
5
|
+
import { u as w } from "../../useTheme-BQJ5lp0i.js";
|
|
6
|
+
import { D as S, a as j } from "../../DialogContent-BMwlOnbW.js";
|
|
7
|
+
import { B as k } from "../../Box-B0YSYLco.js";
|
|
8
|
+
import { T as O } from "../../Typography-pAaje37G.js";
|
|
9
|
+
const G = () => {
|
|
10
|
+
const f = w();
|
|
11
|
+
console.log("theme", f.palette.primary.main);
|
|
12
|
+
const [i, r] = N(
|
|
10
13
|
null
|
|
11
|
-
),
|
|
14
|
+
), h = (t) => {
|
|
12
15
|
r(t);
|
|
13
|
-
},
|
|
16
|
+
}, l = () => {
|
|
14
17
|
r(null);
|
|
15
18
|
};
|
|
16
|
-
return { openDialog:
|
|
19
|
+
return { openDialog: h, ConfirmDialog: () => {
|
|
17
20
|
if (!i) return null;
|
|
18
21
|
const {
|
|
19
22
|
icon: t,
|
|
20
|
-
title:
|
|
21
|
-
message:
|
|
22
|
-
height:
|
|
23
|
-
width:
|
|
24
|
-
maxWidth:
|
|
25
|
-
onConfirm:
|
|
26
|
-
onCancel:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
title: s,
|
|
24
|
+
message: p,
|
|
25
|
+
height: d = "auto",
|
|
26
|
+
width: g = "100%",
|
|
27
|
+
maxWidth: x,
|
|
28
|
+
onConfirm: a,
|
|
29
|
+
onCancel: c,
|
|
30
|
+
onClose: m,
|
|
31
|
+
confirmButtonShow: C = !0,
|
|
32
|
+
confirmButtonText: D = "Yes",
|
|
33
|
+
cancelButtonText: B = "No",
|
|
34
|
+
cancelButtonShow: y = !0,
|
|
35
|
+
closeModalConfirm: e = !0
|
|
31
36
|
} = i;
|
|
32
|
-
return
|
|
33
|
-
|
|
37
|
+
return W(() => () => {
|
|
38
|
+
m && m();
|
|
39
|
+
}, []), /* @__PURE__ */ o(
|
|
40
|
+
S,
|
|
34
41
|
{
|
|
35
42
|
PaperProps: {
|
|
36
43
|
className: n["confirm-dialog"],
|
|
37
|
-
sx: { height:
|
|
44
|
+
sx: { height: d, width: g, maxWidth: x }
|
|
38
45
|
},
|
|
39
|
-
open: !!
|
|
46
|
+
open: !!s,
|
|
40
47
|
fullWidth: !0,
|
|
41
|
-
children: /* @__PURE__ */ o(
|
|
48
|
+
children: /* @__PURE__ */ o(j, { sx: { p: 0, height: "600px" }, children: /* @__PURE__ */ T(k, { mt: 4, className: n.container, children: [
|
|
42
49
|
t && /* @__PURE__ */ o("img", { src: t, alt: "icon" }),
|
|
43
|
-
/* @__PURE__ */ o(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
/* @__PURE__ */ o(O, { className: n["confirm-dialog-title"], children: s }),
|
|
51
|
+
p,
|
|
52
|
+
C && /* @__PURE__ */ o(
|
|
53
|
+
u,
|
|
47
54
|
{
|
|
48
55
|
sx: { mt: 4 },
|
|
49
56
|
onClick: () => {
|
|
50
|
-
|
|
57
|
+
a && a(), (typeof e == "function" ? e() : e) && l();
|
|
51
58
|
},
|
|
52
59
|
fullWidth: !0,
|
|
53
|
-
children: /* @__PURE__ */ o("strong", { children:
|
|
60
|
+
children: /* @__PURE__ */ o("strong", { children: D })
|
|
54
61
|
}
|
|
55
62
|
),
|
|
56
|
-
|
|
57
|
-
|
|
63
|
+
y && /* @__PURE__ */ o(
|
|
64
|
+
u,
|
|
58
65
|
{
|
|
59
66
|
sx: { mt: 2 },
|
|
60
67
|
onClick: () => {
|
|
61
|
-
|
|
68
|
+
c && c(), l();
|
|
62
69
|
},
|
|
63
70
|
variantType: "cancel",
|
|
64
71
|
fullWidth: !0,
|
|
65
|
-
children: /* @__PURE__ */ o("strong", { children:
|
|
72
|
+
children: /* @__PURE__ */ o("strong", { children: B })
|
|
66
73
|
}
|
|
67
74
|
)
|
|
68
75
|
] }) })
|
|
@@ -71,5 +78,5 @@ const A = () => {
|
|
|
71
78
|
} };
|
|
72
79
|
};
|
|
73
80
|
export {
|
|
74
|
-
|
|
81
|
+
G as useDialog
|
|
75
82
|
};
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
export interface DialogOptions {
|
|
2
3
|
icon?: string;
|
|
3
4
|
title: string;
|
|
4
|
-
message:
|
|
5
|
+
message: ReactNode;
|
|
5
6
|
height?: string;
|
|
6
7
|
width?: string;
|
|
7
8
|
maxWidth?: string;
|
|
9
|
+
closeModalConfirm?: boolean | (() => boolean);
|
|
8
10
|
onConfirm?: () => void;
|
|
9
11
|
onCancel?: () => void;
|
|
12
|
+
onClose?: () => void;
|
|
10
13
|
confirmButtonShow?: boolean;
|
|
11
14
|
confirmButtonText?: string;
|
|
12
15
|
cancelButtonText?: string;
|
|
@@ -5,13 +5,13 @@ import Se from "./components/RocketRamp/Shared/backBtn.js";
|
|
|
5
5
|
import { getCurrencySymbol as ue, getOrionBalance as Me } from "./util/functions.js";
|
|
6
6
|
import { PAYMENT_BANK as ie, SEPA_ICON as ze, VISA_ICON as Oe, ID_TOKEN_SYMBOL as Pe, FIAT_WITHDRAW as we, FIAT_TO_EVER_ID as We, FIAT_TO_TOKEN as Be, ESTIMATE_TOOLTIP_TEXT as Le, TOKEN_TO_FIAT as Xe } from "./util/constants.js";
|
|
7
7
|
import U from "./components/RocketRamp/Shared/Button/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import { e as pe, f as De, k as
|
|
8
|
+
import { ao as j } from "./constants-9grj4Du1.js";
|
|
9
|
+
import { e as pe, f as De, k as Ye, d as qe, g as Ke } from "./order-Cs5_3wOs.js";
|
|
10
10
|
import "./components/Wallet/Shared/appButton.js";
|
|
11
11
|
import { u as $e, a as W } from "./react-redux-B4BZippc.js";
|
|
12
12
|
import "./components/Wallet/Shared/Auth/otpForm.js";
|
|
13
|
-
import { P as Ge, f as Ue } from "./PlayArrow-
|
|
14
|
-
import { f as je } from "./cryptoAssets-
|
|
13
|
+
import { P as Ge, f as Ue } from "./PlayArrow-C6lnbwD4.js";
|
|
14
|
+
import { f as je } from "./cryptoAssets-Cf7xMoh9.js";
|
|
15
15
|
import "./context/snackBarContext.js";
|
|
16
16
|
import "./util/conversions.js";
|
|
17
17
|
import "./index-CAoLi5Qq.js";
|
|
@@ -89,9 +89,9 @@ import './assets/index7.css';const E = {
|
|
|
89
89
|
storeId: p.info.id
|
|
90
90
|
})
|
|
91
91
|
), _(!0);
|
|
92
|
-
}, z = ({ label:
|
|
93
|
-
/* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e("strong", { children:
|
|
94
|
-
/* @__PURE__ */ e(n, { className: "fw500 text-right", size: 8, children:
|
|
92
|
+
}, z = ({ label: Y, value: q }) => /* @__PURE__ */ t(v, { children: [
|
|
93
|
+
/* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e("strong", { children: Y }) }),
|
|
94
|
+
/* @__PURE__ */ e(n, { className: "fw500 text-right", size: 8, children: q })
|
|
95
95
|
] });
|
|
96
96
|
return /* @__PURE__ */ t(v, { children: [
|
|
97
97
|
/* @__PURE__ */ e(Se, { onClickHandler: () => T(he) }),
|
|
@@ -285,11 +285,11 @@ import './assets/index7.css';const E = {
|
|
|
285
285
|
const h = "USD", l = ue(h), b = k.fiats;
|
|
286
286
|
k.loader;
|
|
287
287
|
const F = u.featureTokens.list, _ = u.featureTokens.default, B = u.loader, N = y.loader, s = y.estimate, L = y.card, M = s.fiat_out_amount, D = s.conversion_price, z = s.total_fee;
|
|
288
|
-
let
|
|
288
|
+
let Y = 0, q = 0;
|
|
289
289
|
const Z = s.fee_breakdown;
|
|
290
290
|
for (let r = 0; r < Z.length; r++) {
|
|
291
291
|
const o = Z[r];
|
|
292
|
-
o.name === "ev_fee" ?
|
|
292
|
+
o.name === "ev_fee" ? Y = Number(o.value) : o.name === "network_fee" && (q = Number(o.value));
|
|
293
293
|
}
|
|
294
294
|
const [g, H] = c({
|
|
295
295
|
symbol: ""
|
|
@@ -297,7 +297,7 @@ import './assets/index7.css';const E = {
|
|
|
297
297
|
s.crypto_amount || Q.toString()
|
|
298
298
|
);
|
|
299
299
|
f(() => {
|
|
300
|
-
d(
|
|
300
|
+
d(Ye());
|
|
301
301
|
}, []), f(() => {
|
|
302
302
|
if (s.crypto_currency) {
|
|
303
303
|
const r = F.find(
|
|
@@ -327,7 +327,7 @@ import './assets/index7.css';const E = {
|
|
|
327
327
|
}
|
|
328
328
|
}, [h, b]), f(() => {
|
|
329
329
|
if (g && g.id && w && X && K) {
|
|
330
|
-
d(
|
|
330
|
+
d(qe(j)), O(!1), P("");
|
|
331
331
|
const r = setTimeout(() => {
|
|
332
332
|
Ie();
|
|
333
333
|
}, 1e3);
|
|
@@ -557,7 +557,7 @@ import './assets/index7.css';const E = {
|
|
|
557
557
|
size: 15,
|
|
558
558
|
color: "primary"
|
|
559
559
|
}
|
|
560
|
-
) :
|
|
560
|
+
) : Y.toFixed(2)
|
|
561
561
|
] }) }),
|
|
562
562
|
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Network Fee" }) }),
|
|
563
563
|
/* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(a, { variant: "caption", children: [
|
|
@@ -569,7 +569,7 @@ import './assets/index7.css';const E = {
|
|
|
569
569
|
size: 15,
|
|
570
570
|
color: "primary"
|
|
571
571
|
}
|
|
572
|
-
) :
|
|
572
|
+
) : q.toFixed(2)
|
|
573
573
|
] }) })
|
|
574
574
|
] }),
|
|
575
575
|
/* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(a, { variant: "caption", children: "Total Fees" }) }),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as S, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as Qe, useState as d, useEffect as g } from "react";
|
|
3
3
|
import Ze from "./hoc/withThemeProvider.js";
|
|
4
|
-
import { P as et, f as tt } from "./PlayArrow-
|
|
4
|
+
import { P as et, f as tt } from "./PlayArrow-C6lnbwD4.js";
|
|
5
5
|
import { I as rt } from "./Info-BVeUSPyk.js";
|
|
6
6
|
import { G as Me } from "./generic-token-B_ptO5yb.js";
|
|
7
7
|
import { PAYMENT_PROVIDER_PAYSAFE as nt, ID_TOKEN_SYMBOL as Re, FIAT_TO_EVER_ID as le, FIAT_TO_TOKEN as ce, ESTIMATE_TOOLTIP_TEXT as it, PAYMENT_BANK as Se, SEPA_ICON as at, VISA_ICON as st } from "./util/constants.js";
|
|
8
|
-
import {
|
|
8
|
+
import { am as P } from "./constants-9grj4Du1.js";
|
|
9
9
|
import { c as ot, d as lt } from "./index-FwnHkXdK.js";
|
|
10
|
-
import { d as ct, e as Be, f as mt, g as Pe, b as dt, h as pt } from "./order-
|
|
10
|
+
import { d as ct, e as Be, f as mt, g as Pe, b as dt, h as pt } from "./order-Cs5_3wOs.js";
|
|
11
11
|
import { M as ut } from "./tooltip-3UvETWtS.js";
|
|
12
12
|
import { getCurrencySymbol as ke, getNetworkBackGround as ft } from "./util/functions.js";
|
|
13
13
|
import de from "./components/Wallet/Shared/appButton.js";
|
|
@@ -18,8 +18,8 @@ import { B as F } from "./Box-B0YSYLco.js";
|
|
|
18
18
|
import { G as i } from "./Grid-CFe3amXO.js";
|
|
19
19
|
import { C as E } from "./CircularProgress-xZA3lvba.js";
|
|
20
20
|
import { a as T, u as yt } from "./react-redux-B4BZippc.js";
|
|
21
|
-
import { f as xt } from "./cryptoAssets-
|
|
22
|
-
import { u as _t, a as gt } from "./wallet-
|
|
21
|
+
import { f as xt } from "./cryptoAssets-Cf7xMoh9.js";
|
|
22
|
+
import { u as _t, a as gt } from "./wallet-nsVuNagB.js";
|
|
23
23
|
import { useSnackBarContext as Nt } from "./context/snackBarContext.js";
|
|
24
24
|
import { AuthContainer as bt } from "./components/Wallet/Shared/Container/index.js";
|
|
25
25
|
import vt from "./components/Wallet/Shared/CardPayment/index.js";
|