everest-npm-features 0.0.61 → 0.0.63
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/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/PlayArrow-71FP5PzJ.js +13 -0
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -53
- package/dist/components/Shared/FullKyc/index.js +13 -11
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
- package/dist/components/Shared/FullKyc/userInfo.js +8 -13
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +324 -102
- package/dist/components/Wallet/Account/eWallet.js +37 -43
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +41 -45
- package/dist/components/Wallet/Account/ibanItem.js +70 -75
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -118
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -18
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
- package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -51
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +164 -176
- package/dist/components/Wallet/Profile/index.js +39 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +98 -107
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +11 -11
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -45
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -13
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +71 -69
- package/dist/components/Wallet/Stake/id/index.js +77 -84
- package/dist/components/Wallet/Stake/index.js +65 -68
- package/dist/components/Wallet/Swap/form.js +11 -20
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
- package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
- package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
- package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
- package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
- package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
- package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/otpForm-DeeegaX2.js +7378 -0
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/PlayArrow-Bjz9LxhD.js +0 -13
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/styles.module-CHPRGltL.js +0 -28
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { jsx as o, jsxs as y } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as N, useEffect as T } from "react";
|
|
3
|
+
import { Dialog as W, DialogContent as w, Box as P, Typography as S } from "@mui/material";
|
|
3
4
|
import { s as i } from "../../styles.module-verVx4pE.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { T as j } from "../../Typography-pAaje37G.js";
|
|
8
|
-
const q = () => {
|
|
9
|
-
const [e, r] = T(
|
|
5
|
+
import m from "../../components/Wallet/Shared/appButton.js";
|
|
6
|
+
const M = () => {
|
|
7
|
+
const [e, l] = N(
|
|
10
8
|
null
|
|
11
9
|
), f = (t) => {
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
|
|
10
|
+
l(t);
|
|
11
|
+
}, r = () => {
|
|
12
|
+
l(null);
|
|
15
13
|
};
|
|
16
14
|
return { openDialog: f, ConfirmDialog: () => {
|
|
17
15
|
if (!e) return null;
|
|
@@ -19,50 +17,51 @@ const q = () => {
|
|
|
19
17
|
icon: t,
|
|
20
18
|
title: s,
|
|
21
19
|
message: h,
|
|
22
|
-
height:
|
|
23
|
-
width:
|
|
20
|
+
height: d = "auto",
|
|
21
|
+
width: p = "100%",
|
|
24
22
|
maxWidth: g,
|
|
25
23
|
onConfirm: c,
|
|
26
24
|
onCancel: a,
|
|
27
|
-
onClose:
|
|
25
|
+
onClose: u,
|
|
28
26
|
confirmButtonShow: x = !0,
|
|
29
27
|
confirmButtonText: C = "Yes",
|
|
30
28
|
cancelButtonText: D = "No",
|
|
31
29
|
cancelButtonShow: B = !0,
|
|
32
30
|
closeModalConfirm: n = !0
|
|
33
31
|
} = e;
|
|
34
|
-
return
|
|
35
|
-
|
|
32
|
+
return T(() => () => {
|
|
33
|
+
u && u();
|
|
36
34
|
}, []), /* @__PURE__ */ o(
|
|
37
35
|
W,
|
|
38
36
|
{
|
|
39
37
|
PaperProps: {
|
|
40
38
|
className: i["confirm-dialog"],
|
|
41
|
-
sx: { height:
|
|
39
|
+
sx: { height: d, width: p, maxWidth: g }
|
|
42
40
|
},
|
|
43
41
|
open: !!s,
|
|
44
42
|
fullWidth: !0,
|
|
45
|
-
|
|
43
|
+
disablePortal: !0,
|
|
44
|
+
children: /* @__PURE__ */ o(w, { sx: { p: 0, height: "600px" }, children: /* @__PURE__ */ y(P, { mt: 4, className: i.container, children: [
|
|
46
45
|
t && /* @__PURE__ */ o("img", { src: t, alt: "icon" }),
|
|
47
|
-
/* @__PURE__ */ o(
|
|
46
|
+
/* @__PURE__ */ o(S, { className: i["confirm-dialog-title"], children: s }),
|
|
48
47
|
h,
|
|
49
48
|
x && /* @__PURE__ */ o(
|
|
50
|
-
|
|
49
|
+
m,
|
|
51
50
|
{
|
|
52
51
|
sx: { mt: 4 },
|
|
53
52
|
onClick: () => {
|
|
54
|
-
c && c(), (typeof n == "function" ? n() : n) &&
|
|
53
|
+
c && c(), (typeof n == "function" ? n() : n) && r();
|
|
55
54
|
},
|
|
56
55
|
fullWidth: !0,
|
|
57
56
|
children: /* @__PURE__ */ o("strong", { children: C })
|
|
58
57
|
}
|
|
59
58
|
),
|
|
60
59
|
B && /* @__PURE__ */ o(
|
|
61
|
-
|
|
60
|
+
m,
|
|
62
61
|
{
|
|
63
62
|
sx: { mt: 2 },
|
|
64
63
|
onClick: () => {
|
|
65
|
-
a && a(),
|
|
64
|
+
a && a(), r();
|
|
66
65
|
},
|
|
67
66
|
variantType: "cancel",
|
|
68
67
|
fullWidth: !0,
|
|
@@ -75,5 +74,5 @@ const q = () => {
|
|
|
75
74
|
} };
|
|
76
75
|
};
|
|
77
76
|
export {
|
|
78
|
-
|
|
77
|
+
M as useDialog
|
|
79
78
|
};
|
|
@@ -1,75 +1,72 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
import { B as T } from "../../Button-Df4vgU24.js";
|
|
8
|
-
import '../../assets/index5.css';const y = "_container_addkq_1", S = "_btn_addkq_37", W = "_cancelBtn_addkq_61", o = {
|
|
9
|
-
container: y,
|
|
1
|
+
import { jsx as n, jsxs as B } from "react/jsx-runtime";
|
|
2
|
+
import { useState as k } from "react";
|
|
3
|
+
import { Dialog as D, DialogContent as C, Box as q, Typography as s, Button as N } from "@mui/material";
|
|
4
|
+
import y from "../../components/RocketRamp/Shared/Button/index.js";
|
|
5
|
+
import '../../assets/index5.css';const S = "_container_addkq_1", T = "_btn_addkq_37", W = "_cancelBtn_addkq_61", t = {
|
|
6
|
+
container: S,
|
|
10
7
|
"confirm-dialog": "_confirm-dialog_addkq_17",
|
|
11
8
|
"confirm-dialog-title": "_confirm-dialog-title_addkq_25",
|
|
12
|
-
btn:
|
|
9
|
+
btn: T,
|
|
13
10
|
cancelBtn: W
|
|
14
|
-
},
|
|
15
|
-
const [i, e] =
|
|
11
|
+
}, P = () => {
|
|
12
|
+
const [i, e] = k(
|
|
16
13
|
null
|
|
17
|
-
),
|
|
18
|
-
e(
|
|
19
|
-
},
|
|
14
|
+
), d = (o) => {
|
|
15
|
+
e(o);
|
|
16
|
+
}, l = () => {
|
|
20
17
|
e(null);
|
|
21
18
|
};
|
|
22
|
-
return { openDialog:
|
|
19
|
+
return { openDialog: d, ConfirmDialog: () => {
|
|
23
20
|
if (!i) return null;
|
|
24
21
|
const {
|
|
25
|
-
icon:
|
|
26
|
-
title:
|
|
27
|
-
message:
|
|
28
|
-
height:
|
|
29
|
-
width:
|
|
30
|
-
maxWidth:
|
|
31
|
-
onConfirm:
|
|
32
|
-
onCancel:
|
|
22
|
+
icon: o,
|
|
23
|
+
title: c,
|
|
24
|
+
message: m,
|
|
25
|
+
height: u = "auto",
|
|
26
|
+
width: g = "100%",
|
|
27
|
+
maxWidth: f,
|
|
28
|
+
onConfirm: r,
|
|
29
|
+
onCancel: a,
|
|
33
30
|
confirmButtonShow: h = !0,
|
|
34
|
-
confirmButtonText:
|
|
35
|
-
cancelButtonText:
|
|
36
|
-
cancelButtonShow:
|
|
31
|
+
confirmButtonText: _ = "Yes",
|
|
32
|
+
cancelButtonText: p = "No",
|
|
33
|
+
cancelButtonShow: x = !0
|
|
37
34
|
} = i;
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
35
|
+
return /* @__PURE__ */ n(
|
|
36
|
+
D,
|
|
40
37
|
{
|
|
41
38
|
PaperProps: {
|
|
42
|
-
className:
|
|
43
|
-
sx: { height:
|
|
39
|
+
className: t["confirm-dialog"],
|
|
40
|
+
sx: { height: u, width: g, maxWidth: f }
|
|
44
41
|
},
|
|
45
|
-
open: !!
|
|
42
|
+
open: !!c,
|
|
46
43
|
fullWidth: !0,
|
|
47
|
-
children: /* @__PURE__ */
|
|
48
|
-
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
h && /* @__PURE__ */
|
|
52
|
-
|
|
44
|
+
children: /* @__PURE__ */ n(C, { sx: { p: 0, height: "600px" }, children: /* @__PURE__ */ B(q, { mt: 4, className: t.container, children: [
|
|
45
|
+
o,
|
|
46
|
+
/* @__PURE__ */ n(s, { className: t["confirm-dialog-title"], children: c }),
|
|
47
|
+
/* @__PURE__ */ n(s, { dangerouslySetInnerHTML: { __html: m } }),
|
|
48
|
+
h && /* @__PURE__ */ n(
|
|
49
|
+
y,
|
|
53
50
|
{
|
|
54
51
|
sx: { mt: 4 },
|
|
55
52
|
onClick: () => {
|
|
56
|
-
|
|
53
|
+
r && r(), l();
|
|
57
54
|
},
|
|
58
55
|
fullWidth: !0,
|
|
59
|
-
children: /* @__PURE__ */
|
|
56
|
+
children: /* @__PURE__ */ n("strong", { children: _ })
|
|
60
57
|
}
|
|
61
58
|
),
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
x && /* @__PURE__ */ n(
|
|
60
|
+
N,
|
|
64
61
|
{
|
|
65
62
|
sx: { mt: 4 },
|
|
66
63
|
onClick: () => {
|
|
67
|
-
|
|
64
|
+
a && a(), l();
|
|
68
65
|
},
|
|
69
|
-
className:
|
|
66
|
+
className: t.cancelBtn,
|
|
70
67
|
variant: "contained",
|
|
71
68
|
fullWidth: !0,
|
|
72
|
-
children: /* @__PURE__ */
|
|
69
|
+
children: /* @__PURE__ */ n("strong", { children: p })
|
|
73
70
|
}
|
|
74
71
|
)
|
|
75
72
|
] }) })
|
|
@@ -78,5 +75,5 @@ import '../../assets/index5.css';const y = "_container_addkq_1", S = "_btn_addkq
|
|
|
78
75
|
} };
|
|
79
76
|
};
|
|
80
77
|
export {
|
|
81
|
-
|
|
78
|
+
P as useRrDialog
|
|
82
79
|
};
|