@matchain/matchid-sdk-react 0.1.37-alpha.5 → 0.1.37-alpha.7
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/assets/icon/index.d.mts +3 -1
- package/dist/assets/icon/index.d.ts +3 -1
- package/dist/assets/icon/index.js +19 -0
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +3 -1
- package/dist/{chunk-734WE4WK.mjs → chunk-23RO4KEG.mjs} +15 -4
- package/dist/chunk-23RO4KEG.mjs.map +1 -0
- package/dist/{chunk-J6EA7OSJ.mjs → chunk-2Z3EM7MH.mjs} +20 -2
- package/dist/chunk-2Z3EM7MH.mjs.map +1 -0
- package/dist/{chunk-DTHB4OQD.mjs → chunk-IP3AXUIZ.mjs} +2 -2
- package/dist/components/index.js +243 -194
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.js +29 -26
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +3 -3
- package/dist/hooks/index.js +29 -26
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.js +280 -228
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/example/src/components/Login/index.tsx +1 -1
- package/example/src/pages/User.tsx +1 -1
- package/package.json +1 -1
- package/dist/chunk-734WE4WK.mjs.map +0 -1
- package/dist/chunk-J6EA7OSJ.mjs.map +0 -1
- /package/dist/{chunk-DTHB4OQD.mjs.map → chunk-IP3AXUIZ.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -569,9 +569,49 @@ function YoutubeIcon({ size = 40, ...props }) {
|
|
|
569
569
|
|
|
570
570
|
// src/assets/icon/BTCDarkIcon.tsx
|
|
571
571
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
572
|
+
function BTCDarkIcon({ size = 40, ...props }) {
|
|
573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
574
|
+
"svg",
|
|
575
|
+
{
|
|
576
|
+
width: size,
|
|
577
|
+
height: size,
|
|
578
|
+
...props,
|
|
579
|
+
viewBox: "0 0 40 40",
|
|
580
|
+
fill: "none",
|
|
581
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
582
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
583
|
+
"path",
|
|
584
|
+
{
|
|
585
|
+
d: "M28.763 17.1292C29.1611 14.4674 27.1346 13.0365 24.3634 12.082L25.2624 8.47628L23.0675 7.92936L22.1923 11.4402C21.6153 11.2962 21.0227 11.1606 20.4338 11.0262L21.3152 7.49223L19.1217 6.94531L18.2222 10.5499C17.7447 10.4411 17.2757 10.3337 16.8207 10.2205L16.8232 10.2091L13.7964 9.45329L13.2125 11.7976C13.2125 11.7976 14.841 12.1709 14.8067 12.1939C15.6955 12.4157 15.8562 13.0041 15.8295 13.4704L14.8055 17.5782C14.8667 17.5937 14.9461 17.6162 15.0337 17.6514C14.9604 17.6332 14.8825 17.6134 14.8017 17.594L13.3663 23.3484C13.2577 23.6185 12.982 24.0237 12.3606 23.8698C12.3826 23.9017 10.7653 23.4717 10.7653 23.4717L9.67554 25.9842L12.5319 26.6962C13.0632 26.8295 13.584 26.9689 14.0968 27.1L13.1885 30.7471L15.3809 31.294L16.2803 27.6857C16.8793 27.8483 17.4605 27.9982 18.0295 28.1396L17.1331 31.731L19.3281 32.2779L20.2363 28.6376C23.9791 29.346 26.7934 29.0604 27.9779 25.675C28.9324 22.9494 27.9304 21.3773 25.9613 20.3521C27.3955 20.0213 28.4758 19.0781 28.7638 17.1295L28.7631 17.129L28.763 17.1292ZM23.7481 24.1614C23.0698 26.887 18.4807 25.4136 16.9929 25.0441L18.1982 20.2124C19.6859 20.5838 24.4571 21.3188 23.7482 24.1614H23.7481ZM24.4269 17.0897C23.8082 19.569 19.9886 18.3094 18.7496 18.0006L19.8424 13.6184C21.0814 13.9273 25.0715 14.5037 24.4271 17.0897H24.4269Z",
|
|
586
|
+
fill: "black"
|
|
587
|
+
}
|
|
588
|
+
)
|
|
589
|
+
}
|
|
590
|
+
);
|
|
591
|
+
}
|
|
572
592
|
|
|
573
593
|
// src/assets/icon/BTCLightIcon.tsx
|
|
574
594
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
595
|
+
function BTCLightIcon({ size = 40, ...props }) {
|
|
596
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
597
|
+
"svg",
|
|
598
|
+
{
|
|
599
|
+
width: size,
|
|
600
|
+
height: size,
|
|
601
|
+
...props,
|
|
602
|
+
viewBox: "0 0 40 40",
|
|
603
|
+
fill: "none",
|
|
604
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
605
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
606
|
+
"path",
|
|
607
|
+
{
|
|
608
|
+
d: "M28.763 17.1292C29.1611 14.4674 27.1346 13.0365 24.3634 12.082L25.2624 8.47628L23.0675 7.92936L22.1923 11.4402C21.6153 11.2962 21.0227 11.1606 20.4338 11.0262L21.3152 7.49223L19.1217 6.94531L18.2222 10.5499C17.7447 10.4411 17.2757 10.3337 16.8207 10.2205L16.8232 10.2091L13.7964 9.45329L13.2125 11.7976C13.2125 11.7976 14.841 12.1709 14.8067 12.1939C15.6955 12.4157 15.8562 13.0041 15.8295 13.4704L14.8055 17.5782C14.8667 17.5937 14.9461 17.6162 15.0337 17.6514C14.9604 17.6332 14.8825 17.6134 14.8017 17.594L13.3663 23.3484C13.2577 23.6185 12.982 24.0237 12.3606 23.8698C12.3826 23.9017 10.7653 23.4717 10.7653 23.4717L9.67554 25.9842L12.5319 26.6962C13.0632 26.8295 13.584 26.9689 14.0968 27.1L13.1885 30.7471L15.3809 31.294L16.2803 27.6857C16.8793 27.8483 17.4605 27.9982 18.0295 28.1396L17.1331 31.731L19.3281 32.2779L20.2363 28.6376C23.9791 29.346 26.7934 29.0604 27.9779 25.675C28.9324 22.9494 27.9304 21.3773 25.9613 20.3521C27.3955 20.0213 28.4758 19.0781 28.7638 17.1295L28.7631 17.129L28.763 17.1292ZM23.7481 24.1614C23.0698 26.887 18.4807 25.4136 16.9929 25.0441L18.1982 20.2124C19.6859 20.5838 24.4571 21.3188 23.7482 24.1614H23.7481ZM24.4269 17.0897C23.8082 19.569 19.9886 18.3094 18.7496 18.0006L19.8424 13.6184C21.0814 13.9273 25.0715 14.5037 24.4271 17.0897H24.4269Z",
|
|
609
|
+
fill: "white"
|
|
610
|
+
}
|
|
611
|
+
)
|
|
612
|
+
}
|
|
613
|
+
);
|
|
614
|
+
}
|
|
575
615
|
|
|
576
616
|
// src/assets/icon/EVMDarkIcon.tsx
|
|
577
617
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
@@ -847,6 +887,9 @@ function XverseIcon({
|
|
|
847
887
|
] });
|
|
848
888
|
}
|
|
849
889
|
|
|
890
|
+
// src/assets/icon/TronLinkIcon.tsx
|
|
891
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
892
|
+
|
|
850
893
|
// src/hooks/useLayout.tsx
|
|
851
894
|
var useLayout_exports = {};
|
|
852
895
|
__export(useLayout_exports, {
|
|
@@ -868,7 +911,7 @@ function useDownMd() {
|
|
|
868
911
|
}
|
|
869
912
|
|
|
870
913
|
// src/components/Modal/index.tsx
|
|
871
|
-
var
|
|
914
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
872
915
|
function Modal({
|
|
873
916
|
children,
|
|
874
917
|
isOpen,
|
|
@@ -876,21 +919,21 @@ function Modal({
|
|
|
876
919
|
zIndex = 100,
|
|
877
920
|
className = ""
|
|
878
921
|
}) {
|
|
879
|
-
return isOpen ? /* @__PURE__ */ (0,
|
|
922
|
+
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
880
923
|
"div",
|
|
881
924
|
{
|
|
882
925
|
className: "matchid-overlay",
|
|
883
926
|
style: {
|
|
884
927
|
zIndex
|
|
885
928
|
},
|
|
886
|
-
children: /* @__PURE__ */ (0,
|
|
929
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: `matchid-modal ${className}`, style: {
|
|
887
930
|
width
|
|
888
931
|
}, children: [
|
|
889
|
-
/* @__PURE__ */ (0,
|
|
932
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "matchid-modal-mobile-header" }),
|
|
890
933
|
children
|
|
891
934
|
] })
|
|
892
935
|
}
|
|
893
|
-
) : /* @__PURE__ */ (0,
|
|
936
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, {});
|
|
894
937
|
}
|
|
895
938
|
function ModalWithHeader({
|
|
896
939
|
children,
|
|
@@ -902,13 +945,13 @@ function ModalWithHeader({
|
|
|
902
945
|
...props
|
|
903
946
|
}) {
|
|
904
947
|
const isDownMd = useDownMd();
|
|
905
|
-
return /* @__PURE__ */ (0,
|
|
906
|
-
/* @__PURE__ */ (0,
|
|
907
|
-
/* @__PURE__ */ (0,
|
|
908
|
-
onBack && /* @__PURE__ */ (0,
|
|
909
|
-
/* @__PURE__ */ (0,
|
|
948
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Modal, { ...props, children: [
|
|
949
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
|
|
950
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "matchid-modal-header-content", children: [
|
|
951
|
+
onBack && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
|
|
952
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "matchid-modal-header-title", children: title })
|
|
910
953
|
] }),
|
|
911
|
-
onClose && /* @__PURE__ */ (0,
|
|
954
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
|
|
912
955
|
] }),
|
|
913
956
|
children
|
|
914
957
|
] });
|
|
@@ -919,7 +962,7 @@ var import_react6 = require("react");
|
|
|
919
962
|
|
|
920
963
|
// src/components/Input/index.tsx
|
|
921
964
|
var import_react2 = require("react");
|
|
922
|
-
var
|
|
965
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
923
966
|
function Input({
|
|
924
967
|
onChange,
|
|
925
968
|
type,
|
|
@@ -929,17 +972,17 @@ function Input({
|
|
|
929
972
|
}) {
|
|
930
973
|
const [inputType, setInputType] = (0, import_react2.useState)(type);
|
|
931
974
|
const isDownMd = useDownMd();
|
|
932
|
-
return /* @__PURE__ */ (0,
|
|
975
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
933
976
|
"div",
|
|
934
977
|
{
|
|
935
978
|
className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
|
|
936
979
|
children: [
|
|
937
|
-
/* @__PURE__ */ (0,
|
|
938
|
-
props.value && props.value.length > 0 && /* @__PURE__ */ (0,
|
|
980
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
|
|
981
|
+
props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
|
|
939
982
|
if (onChange) {
|
|
940
983
|
onChange({ target: { value: "" } });
|
|
941
984
|
}
|
|
942
|
-
}, children: /* @__PURE__ */ (0,
|
|
985
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
943
986
|
DeleteRoundIcon,
|
|
944
987
|
{
|
|
945
988
|
height: isDownMd ? 16 : 21,
|
|
@@ -947,9 +990,9 @@ function Input({
|
|
|
947
990
|
color: "var(--matchid-input-delete-icon-color)"
|
|
948
991
|
}
|
|
949
992
|
) }),
|
|
950
|
-
type === "password" && /* @__PURE__ */ (0,
|
|
993
|
+
type === "password" && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
|
|
951
994
|
setInputType(inputType === "password" ? "text" : "password");
|
|
952
|
-
}, children: inputType === "password" ? /* @__PURE__ */ (0,
|
|
995
|
+
}, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
|
|
953
996
|
after
|
|
954
997
|
]
|
|
955
998
|
}
|
|
@@ -957,7 +1000,7 @@ function Input({
|
|
|
957
1000
|
}
|
|
958
1001
|
|
|
959
1002
|
// src/components/Field/index.tsx
|
|
960
|
-
var
|
|
1003
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
961
1004
|
function Field({
|
|
962
1005
|
label,
|
|
963
1006
|
children,
|
|
@@ -965,18 +1008,18 @@ function Field({
|
|
|
965
1008
|
required,
|
|
966
1009
|
className = ""
|
|
967
1010
|
}) {
|
|
968
|
-
return /* @__PURE__ */ (0,
|
|
969
|
-
/* @__PURE__ */ (0,
|
|
970
|
-
required && /* @__PURE__ */ (0,
|
|
1011
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
|
|
1012
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "matchid-field-label", children: [
|
|
1013
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "matchid-field-required", children: "*" }),
|
|
971
1014
|
label
|
|
972
1015
|
] }),
|
|
973
1016
|
children,
|
|
974
|
-
error && /* @__PURE__ */ (0,
|
|
1017
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "matchid-field-error", children: error })
|
|
975
1018
|
] });
|
|
976
1019
|
}
|
|
977
1020
|
|
|
978
1021
|
// src/components/Button/index.tsx
|
|
979
|
-
var
|
|
1022
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
980
1023
|
function Button({
|
|
981
1024
|
size = "df",
|
|
982
1025
|
disabled = false,
|
|
@@ -995,7 +1038,7 @@ function Button({
|
|
|
995
1038
|
onClick && onClick();
|
|
996
1039
|
}
|
|
997
1040
|
};
|
|
998
|
-
return /* @__PURE__ */ (0,
|
|
1041
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
999
1042
|
"button",
|
|
1000
1043
|
{
|
|
1001
1044
|
type,
|
|
@@ -1005,7 +1048,7 @@ function Button({
|
|
|
1005
1048
|
...style
|
|
1006
1049
|
},
|
|
1007
1050
|
onClick: onAction,
|
|
1008
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
1051
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
|
|
1009
1052
|
}
|
|
1010
1053
|
);
|
|
1011
1054
|
}
|
|
@@ -1809,7 +1852,7 @@ function useCopyClipboard(timeout = 500) {
|
|
|
1809
1852
|
|
|
1810
1853
|
// src/components/PasswordModal/index.tsx
|
|
1811
1854
|
var import_react_intl = require("react-intl");
|
|
1812
|
-
var
|
|
1855
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1813
1856
|
function PasswordModal({
|
|
1814
1857
|
title,
|
|
1815
1858
|
isOpen,
|
|
@@ -1867,15 +1910,15 @@ function PasswordModal({
|
|
|
1867
1910
|
setIsSubmitting(false);
|
|
1868
1911
|
}
|
|
1869
1912
|
};
|
|
1870
|
-
return /* @__PURE__ */ (0,
|
|
1913
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
1871
1914
|
id: "passwordTitle"
|
|
1872
|
-
}), children: /* @__PURE__ */ (0,
|
|
1873
|
-
/* @__PURE__ */ (0,
|
|
1874
|
-
/* @__PURE__ */ (0,
|
|
1875
|
-
/* @__PURE__ */ (0,
|
|
1915
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "matchid-password-box", children: [
|
|
1916
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "matchid-password-header", children: [
|
|
1917
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(PasswordRoundIcon, {}) }),
|
|
1918
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_intl.FormattedMessage, { id: "passwordTips" }) })
|
|
1876
1919
|
] }),
|
|
1877
|
-
/* @__PURE__ */ (0,
|
|
1878
|
-
/* @__PURE__ */ (0,
|
|
1920
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "matchid-password-content", children: [
|
|
1921
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1879
1922
|
Input,
|
|
1880
1923
|
{
|
|
1881
1924
|
placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
|
|
@@ -1885,9 +1928,9 @@ function PasswordModal({
|
|
|
1885
1928
|
value: password
|
|
1886
1929
|
}
|
|
1887
1930
|
) }),
|
|
1888
|
-
/* @__PURE__ */ (0,
|
|
1931
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Field, { label: intl.formatMessage({
|
|
1889
1932
|
id: "rePassword"
|
|
1890
|
-
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0,
|
|
1933
|
+
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1891
1934
|
Input,
|
|
1892
1935
|
{
|
|
1893
1936
|
placeholder: intl.formatMessage({
|
|
@@ -1900,7 +1943,7 @@ function PasswordModal({
|
|
|
1900
1943
|
}
|
|
1901
1944
|
) })
|
|
1902
1945
|
] }),
|
|
1903
|
-
/* @__PURE__ */ (0,
|
|
1946
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1904
1947
|
Button,
|
|
1905
1948
|
{
|
|
1906
1949
|
disabled: password.length == 0 || !!passwordError || !!rePasswordError,
|
|
@@ -1909,7 +1952,7 @@ function PasswordModal({
|
|
|
1909
1952
|
size: "lg",
|
|
1910
1953
|
onClick: onContinue,
|
|
1911
1954
|
loading: isSubmitting,
|
|
1912
|
-
children: /* @__PURE__ */ (0,
|
|
1955
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_intl.FormattedMessage, { id: "continue" })
|
|
1913
1956
|
}
|
|
1914
1957
|
)
|
|
1915
1958
|
] }) });
|
|
@@ -1918,7 +1961,7 @@ function PasswordModal({
|
|
|
1918
1961
|
// src/components/RecoveryModal/index.tsx
|
|
1919
1962
|
var import_react7 = require("react");
|
|
1920
1963
|
var import_react_intl2 = require("react-intl");
|
|
1921
|
-
var
|
|
1964
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1922
1965
|
function RecoveryModal({
|
|
1923
1966
|
title,
|
|
1924
1967
|
isOpen,
|
|
@@ -1964,14 +2007,14 @@ function RecoveryModal({
|
|
|
1964
2007
|
setIsSubmitting(false);
|
|
1965
2008
|
}
|
|
1966
2009
|
};
|
|
1967
|
-
return /* @__PURE__ */ (0,
|
|
2010
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
1968
2011
|
id: "recoverTitle"
|
|
1969
|
-
}), children: /* @__PURE__ */ (0,
|
|
1970
|
-
/* @__PURE__ */ (0,
|
|
1971
|
-
/* @__PURE__ */ (0,
|
|
1972
|
-
/* @__PURE__ */ (0,
|
|
2012
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "matchid-password-box", children: [
|
|
2013
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "matchid-password-header", children: [
|
|
2014
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PasswordRoundIcon, {}) }),
|
|
2015
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_intl2.FormattedMessage, { id: "recoverTips" }) })
|
|
1973
2016
|
] }),
|
|
1974
|
-
/* @__PURE__ */ (0,
|
|
2017
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "matchid-password-content", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 ? passwordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1975
2018
|
Input,
|
|
1976
2019
|
{
|
|
1977
2020
|
placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
|
|
@@ -1981,7 +2024,7 @@ function RecoveryModal({
|
|
|
1981
2024
|
value: password
|
|
1982
2025
|
}
|
|
1983
2026
|
) }) }),
|
|
1984
|
-
/* @__PURE__ */ (0,
|
|
2027
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1985
2028
|
Button,
|
|
1986
2029
|
{
|
|
1987
2030
|
disabled: password.length == 0 || !!passwordError,
|
|
@@ -1990,7 +2033,7 @@ function RecoveryModal({
|
|
|
1990
2033
|
size: "lg",
|
|
1991
2034
|
onClick: onContinue,
|
|
1992
2035
|
loading: isSubmitting,
|
|
1993
|
-
children: /* @__PURE__ */ (0,
|
|
2036
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
|
|
1994
2037
|
}
|
|
1995
2038
|
)
|
|
1996
2039
|
] }) });
|
|
@@ -2023,7 +2066,7 @@ var import_react10 = require("react");
|
|
|
2023
2066
|
// src/components/EmailModal/StepEmail.tsx
|
|
2024
2067
|
var import_react8 = require("react");
|
|
2025
2068
|
var import_react_intl3 = require("react-intl");
|
|
2026
|
-
var
|
|
2069
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
2027
2070
|
function StepEmail(props) {
|
|
2028
2071
|
const intl = (0, import_react_intl3.useIntl)();
|
|
2029
2072
|
const [emailVal, setEmailVal] = (0, import_react8.useState)("");
|
|
@@ -2038,10 +2081,10 @@ function StepEmail(props) {
|
|
|
2038
2081
|
const onContinue = async () => {
|
|
2039
2082
|
props.onContinue(emailVal);
|
|
2040
2083
|
};
|
|
2041
|
-
return /* @__PURE__ */ (0,
|
|
2042
|
-
/* @__PURE__ */ (0,
|
|
2084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "matchid-email-email-box", children: [
|
|
2085
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Field, { label: intl.formatMessage({
|
|
2043
2086
|
id: "emailAddress"
|
|
2044
|
-
}), children: /* @__PURE__ */ (0,
|
|
2087
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
2045
2088
|
Input,
|
|
2046
2089
|
{
|
|
2047
2090
|
placeholder: intl.formatMessage({
|
|
@@ -2051,9 +2094,9 @@ function StepEmail(props) {
|
|
|
2051
2094
|
value: emailVal
|
|
2052
2095
|
}
|
|
2053
2096
|
) }),
|
|
2054
|
-
/* @__PURE__ */ (0,
|
|
2097
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, { disabled: !canContinue, style: {
|
|
2055
2098
|
marginTop: "64px"
|
|
2056
|
-
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
2099
|
+
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_react_intl3.FormattedMessage, { id: "continue" }) })
|
|
2057
2100
|
] });
|
|
2058
2101
|
}
|
|
2059
2102
|
|
|
@@ -2066,7 +2109,7 @@ var EMAIL_CODE_LENGTH = 6;
|
|
|
2066
2109
|
|
|
2067
2110
|
// src/components/EmailModal/StepVerify.tsx
|
|
2068
2111
|
var import_react_intl4 = require("react-intl");
|
|
2069
|
-
var
|
|
2112
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
2070
2113
|
function StepVerify(props) {
|
|
2071
2114
|
const intl = (0, import_react_intl4.useIntl)();
|
|
2072
2115
|
const { getLoginEmailCode, loginByEmail } = useUserInfo();
|
|
@@ -2143,17 +2186,17 @@ function StepVerify(props) {
|
|
|
2143
2186
|
setSubmitting(false);
|
|
2144
2187
|
}
|
|
2145
2188
|
};
|
|
2146
|
-
return /* @__PURE__ */ (0,
|
|
2147
|
-
/* @__PURE__ */ (0,
|
|
2148
|
-
/* @__PURE__ */ (0,
|
|
2149
|
-
/* @__PURE__ */ (0,
|
|
2150
|
-
/* @__PURE__ */ (0,
|
|
2151
|
-
/* @__PURE__ */ (0,
|
|
2189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-email-verify-box", children: [
|
|
2190
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-email-verify-header", children: [
|
|
2191
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
|
|
2192
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
|
|
2193
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
|
|
2194
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_intl4.FormattedMessage, { id: "sendEmailTips" }) })
|
|
2152
2195
|
] })
|
|
2153
2196
|
] }),
|
|
2154
|
-
/* @__PURE__ */ (0,
|
|
2197
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Field, { label: intl.formatMessage({
|
|
2155
2198
|
id: "verificationCode"
|
|
2156
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
2199
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2157
2200
|
Input,
|
|
2158
2201
|
{
|
|
2159
2202
|
placeholder: intl.formatMessage({
|
|
@@ -2163,7 +2206,7 @@ function StepVerify(props) {
|
|
|
2163
2206
|
maxLength: codeLength,
|
|
2164
2207
|
onChange: (e) => setCode(e.target.value),
|
|
2165
2208
|
value: code,
|
|
2166
|
-
after: /* @__PURE__ */ (0,
|
|
2209
|
+
after: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
2167
2210
|
Button,
|
|
2168
2211
|
{
|
|
2169
2212
|
highlight: true,
|
|
@@ -2182,13 +2225,13 @@ function StepVerify(props) {
|
|
|
2182
2225
|
)
|
|
2183
2226
|
}
|
|
2184
2227
|
) }),
|
|
2185
|
-
/* @__PURE__ */ (0,
|
|
2228
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_react_intl4.FormattedMessage, { id: "continue" }) })
|
|
2186
2229
|
] });
|
|
2187
2230
|
}
|
|
2188
2231
|
|
|
2189
2232
|
// src/components/EmailModal/index.tsx
|
|
2190
2233
|
var import_react_intl5 = require("react-intl");
|
|
2191
|
-
var
|
|
2234
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2192
2235
|
function EmailModal({
|
|
2193
2236
|
isOpen = false,
|
|
2194
2237
|
width = 480,
|
|
@@ -2205,7 +2248,7 @@ function EmailModal({
|
|
|
2205
2248
|
setEmailVal("");
|
|
2206
2249
|
}
|
|
2207
2250
|
}, [isOpen]);
|
|
2208
|
-
return /* @__PURE__ */ (0,
|
|
2251
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2209
2252
|
ModalWithHeader,
|
|
2210
2253
|
{
|
|
2211
2254
|
isOpen,
|
|
@@ -2215,17 +2258,17 @@ function EmailModal({
|
|
|
2215
2258
|
id: "email"
|
|
2216
2259
|
}),
|
|
2217
2260
|
onBack: step == "verify" ? () => setStep("input") : onBack,
|
|
2218
|
-
children: step === "input" ? /* @__PURE__ */ (0,
|
|
2261
|
+
children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
|
|
2219
2262
|
setEmailVal(email);
|
|
2220
2263
|
setStep("verify");
|
|
2221
|
-
} }) : /* @__PURE__ */ (0,
|
|
2264
|
+
} }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
|
|
2222
2265
|
}
|
|
2223
2266
|
);
|
|
2224
2267
|
}
|
|
2225
2268
|
|
|
2226
2269
|
// src/components/Popover/index.tsx
|
|
2227
2270
|
var import_react11 = require("react");
|
|
2228
|
-
var
|
|
2271
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2229
2272
|
function Popover({
|
|
2230
2273
|
children,
|
|
2231
2274
|
content,
|
|
@@ -2235,7 +2278,7 @@ function Popover({
|
|
|
2235
2278
|
gap = "20px"
|
|
2236
2279
|
}) {
|
|
2237
2280
|
const [active, setActive] = (0, import_react11.useState)(false);
|
|
2238
|
-
return /* @__PURE__ */ (0,
|
|
2281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
2239
2282
|
"div",
|
|
2240
2283
|
{
|
|
2241
2284
|
onClick: () => {
|
|
@@ -2246,9 +2289,9 @@ function Popover({
|
|
|
2246
2289
|
className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
|
|
2247
2290
|
children: [
|
|
2248
2291
|
children,
|
|
2249
|
-
/* @__PURE__ */ (0,
|
|
2292
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { style: {
|
|
2250
2293
|
paddingTop: gap
|
|
2251
|
-
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0,
|
|
2294
|
+
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: `matchid-popover-content`, children: content }) })
|
|
2252
2295
|
]
|
|
2253
2296
|
}
|
|
2254
2297
|
);
|
|
@@ -2257,7 +2300,7 @@ function Popover({
|
|
|
2257
2300
|
// src/components/LoginBox/index.tsx
|
|
2258
2301
|
var import_react12 = require("react");
|
|
2259
2302
|
var import_react_intl6 = require("react-intl");
|
|
2260
|
-
var
|
|
2303
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2261
2304
|
var RecommendItem = ({
|
|
2262
2305
|
icon,
|
|
2263
2306
|
name,
|
|
@@ -2266,20 +2309,20 @@ var RecommendItem = ({
|
|
|
2266
2309
|
children,
|
|
2267
2310
|
footer
|
|
2268
2311
|
}) => {
|
|
2269
|
-
return /* @__PURE__ */ (0,
|
|
2270
|
-
/* @__PURE__ */ (0,
|
|
2271
|
-
/* @__PURE__ */ (0,
|
|
2272
|
-
/* @__PURE__ */ (0,
|
|
2273
|
-
/* @__PURE__ */ (0,
|
|
2312
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-login-recommend-method", children: [
|
|
2313
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
|
|
2314
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
|
|
2315
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
|
|
2316
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
|
|
2274
2317
|
] }),
|
|
2275
|
-
footer ? footer : children ? /* @__PURE__ */ (0,
|
|
2318
|
+
footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2276
2319
|
ArrowDownIcon,
|
|
2277
2320
|
{
|
|
2278
2321
|
className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
|
|
2279
2322
|
size: 20,
|
|
2280
2323
|
color: "var(--matchid-arrow-color)"
|
|
2281
2324
|
}
|
|
2282
|
-
) : /* @__PURE__ */ (0,
|
|
2325
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2283
2326
|
ArrowRightIcon,
|
|
2284
2327
|
{
|
|
2285
2328
|
className: "matchid-login-recommend-method-arrow",
|
|
@@ -2288,7 +2331,7 @@ var RecommendItem = ({
|
|
|
2288
2331
|
}
|
|
2289
2332
|
)
|
|
2290
2333
|
] }),
|
|
2291
|
-
children && /* @__PURE__ */ (0,
|
|
2334
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2292
2335
|
"div",
|
|
2293
2336
|
{
|
|
2294
2337
|
className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
|
|
@@ -2307,7 +2350,7 @@ function LoginBox({
|
|
|
2307
2350
|
"telegram",
|
|
2308
2351
|
"twitter"
|
|
2309
2352
|
],
|
|
2310
|
-
walletMethods = ["evm"],
|
|
2353
|
+
walletMethods = ["evm", "sol"],
|
|
2311
2354
|
inModal = false
|
|
2312
2355
|
}) {
|
|
2313
2356
|
const [emailOpen, setEmailOpen] = (0, import_react12.useState)(false);
|
|
@@ -2317,103 +2360,109 @@ function LoginBox({
|
|
|
2317
2360
|
const isDownMd = useDownMd();
|
|
2318
2361
|
const methodMap = {
|
|
2319
2362
|
wallet: {
|
|
2320
|
-
icon: /* @__PURE__ */ (0,
|
|
2363
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
|
|
2321
2364
|
name: intl.formatMessage({ id: "wallet" }),
|
|
2322
2365
|
onClick: () => setShowWallet(!showWallet),
|
|
2323
2366
|
type: "wallet"
|
|
2324
2367
|
},
|
|
2325
2368
|
email: {
|
|
2326
|
-
icon: /* @__PURE__ */ (0,
|
|
2369
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
|
|
2327
2370
|
name: intl.formatMessage({ id: "email" }),
|
|
2328
2371
|
onClick: () => {
|
|
2329
2372
|
setEmailOpen(true);
|
|
2330
2373
|
}
|
|
2331
2374
|
},
|
|
2332
2375
|
google: {
|
|
2333
|
-
icon: /* @__PURE__ */ (0,
|
|
2376
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
|
|
2334
2377
|
name: "Google",
|
|
2335
2378
|
onClick: () => login("google")
|
|
2336
2379
|
},
|
|
2337
2380
|
twitter: {
|
|
2338
|
-
icon: /* @__PURE__ */ (0,
|
|
2381
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
|
|
2339
2382
|
name: "X",
|
|
2340
2383
|
onClick: () => login("twitter")
|
|
2341
2384
|
},
|
|
2342
2385
|
telegram: {
|
|
2343
|
-
icon: /* @__PURE__ */ (0,
|
|
2386
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
|
|
2344
2387
|
name: "Telegram",
|
|
2345
2388
|
onClick: () => login("telegram")
|
|
2346
2389
|
},
|
|
2347
2390
|
github: {
|
|
2348
|
-
icon: /* @__PURE__ */ (0,
|
|
2391
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
|
|
2349
2392
|
name: "Github",
|
|
2350
2393
|
onClick: () => login("github")
|
|
2351
2394
|
},
|
|
2352
2395
|
discord: {
|
|
2353
|
-
icon: /* @__PURE__ */ (0,
|
|
2396
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
|
|
2354
2397
|
name: "Discord",
|
|
2355
2398
|
onClick: () => login("discord")
|
|
2356
2399
|
},
|
|
2357
2400
|
linkedin: {
|
|
2358
|
-
icon: /* @__PURE__ */ (0,
|
|
2401
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
|
|
2359
2402
|
name: "LinkedIn",
|
|
2360
2403
|
onClick: () => login("linkedin")
|
|
2361
2404
|
},
|
|
2362
2405
|
facebook: {
|
|
2363
|
-
icon: /* @__PURE__ */ (0,
|
|
2406
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
|
|
2364
2407
|
name: "Facebook",
|
|
2365
2408
|
onClick: () => login("facebook")
|
|
2366
2409
|
},
|
|
2367
2410
|
youtube: {
|
|
2368
|
-
icon: /* @__PURE__ */ (0,
|
|
2411
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
|
|
2369
2412
|
name: "Youtube",
|
|
2370
2413
|
onClick: () => login("youtube")
|
|
2371
2414
|
}
|
|
2372
2415
|
};
|
|
2373
2416
|
const walletMap = {
|
|
2374
2417
|
evm: {
|
|
2375
|
-
icon: /* @__PURE__ */ (0,
|
|
2376
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2418
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2419
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2377
2420
|
name: "EVM",
|
|
2378
2421
|
onClick: () => login("evm")
|
|
2379
2422
|
},
|
|
2380
2423
|
sol: {
|
|
2381
|
-
icon: /* @__PURE__ */ (0,
|
|
2382
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2424
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2425
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2383
2426
|
name: "SOL",
|
|
2384
2427
|
onClick: () => login("sol")
|
|
2428
|
+
},
|
|
2429
|
+
btc: {
|
|
2430
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2431
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2432
|
+
name: "BTC",
|
|
2433
|
+
onClick: () => login("btc")
|
|
2385
2434
|
}
|
|
2386
2435
|
};
|
|
2387
|
-
return /* @__PURE__ */ (0,
|
|
2388
|
-
(!inModal || !emailOpen) && /* @__PURE__ */ (0,
|
|
2389
|
-
/* @__PURE__ */ (0,
|
|
2390
|
-
return /* @__PURE__ */ (0,
|
|
2436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
|
|
2437
|
+
(!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-login-box", children: [
|
|
2438
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-login-recommend-list", children: recommendMethods.map((m) => {
|
|
2439
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2391
2440
|
RecommendItem,
|
|
2392
2441
|
{
|
|
2393
2442
|
icon: methodMap[m]?.icon,
|
|
2394
2443
|
name: methodMap[m]?.name,
|
|
2395
2444
|
onClick: methodMap[m]?.onClick,
|
|
2396
2445
|
showChildren: m == "wallet" && showWallet,
|
|
2397
|
-
children: m == "wallet" && /* @__PURE__ */ (0,
|
|
2398
|
-
/* @__PURE__ */ (0,
|
|
2399
|
-
/* @__PURE__ */ (0,
|
|
2446
|
+
children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
|
|
2447
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
|
|
2448
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: walletMethods.map((n) => {
|
|
2400
2449
|
const m2 = walletMap[n];
|
|
2401
|
-
return /* @__PURE__ */ (0,
|
|
2450
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
2402
2451
|
"div",
|
|
2403
2452
|
{
|
|
2404
2453
|
className: "matchid-login-recommend-wallet-item",
|
|
2405
2454
|
onClick: m2.onClick,
|
|
2406
2455
|
children: [
|
|
2407
|
-
/* @__PURE__ */ (0,
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2409
|
-
/* @__PURE__ */ (0,
|
|
2456
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
|
|
2457
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
|
|
2458
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2410
2459
|
"div",
|
|
2411
2460
|
{
|
|
2412
2461
|
className: "matchid-login-recommend-wallet-item-hover-icon",
|
|
2413
2462
|
children: m2.activeIcon
|
|
2414
2463
|
}
|
|
2415
2464
|
),
|
|
2416
|
-
/* @__PURE__ */ (0,
|
|
2465
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2417
2466
|
"span",
|
|
2418
2467
|
{
|
|
2419
2468
|
className: "matchid-login-recommend-wallet-item-name",
|
|
@@ -2421,7 +2470,7 @@ function LoginBox({
|
|
|
2421
2470
|
}
|
|
2422
2471
|
)
|
|
2423
2472
|
] }),
|
|
2424
|
-
/* @__PURE__ */ (0,
|
|
2473
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2425
2474
|
ArrowRightIcon,
|
|
2426
2475
|
{
|
|
2427
2476
|
className: "matchid-login-recommend-wallet-item-arrow",
|
|
@@ -2439,10 +2488,10 @@ function LoginBox({
|
|
|
2439
2488
|
m
|
|
2440
2489
|
);
|
|
2441
2490
|
}) }),
|
|
2442
|
-
methods.length > 0 && /* @__PURE__ */ (0,
|
|
2443
|
-
/* @__PURE__ */ (0,
|
|
2444
|
-
/* @__PURE__ */ (0,
|
|
2445
|
-
return /* @__PURE__ */ (0,
|
|
2491
|
+
methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-login-other", children: [
|
|
2492
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_intl6.FormattedMessage, { id: "otherLoginMethods" }) }),
|
|
2493
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
|
|
2494
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2446
2495
|
"div",
|
|
2447
2496
|
{
|
|
2448
2497
|
className: "matchid-login-method-item",
|
|
@@ -2455,7 +2504,7 @@ function LoginBox({
|
|
|
2455
2504
|
}) })
|
|
2456
2505
|
] })
|
|
2457
2506
|
] }),
|
|
2458
|
-
/* @__PURE__ */ (0,
|
|
2507
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2459
2508
|
EmailModal,
|
|
2460
2509
|
{
|
|
2461
2510
|
isOpen: emailOpen,
|
|
@@ -2475,40 +2524,40 @@ var import_react14 = require("react");
|
|
|
2475
2524
|
|
|
2476
2525
|
// src/components/LoginPanel/index.tsx
|
|
2477
2526
|
var import_react_intl7 = require("react-intl");
|
|
2478
|
-
var
|
|
2527
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
2479
2528
|
function LoginPanel({
|
|
2480
2529
|
header,
|
|
2481
2530
|
onClose,
|
|
2482
2531
|
...props
|
|
2483
2532
|
}) {
|
|
2484
2533
|
const isDownMd = useDownMd();
|
|
2485
|
-
return /* @__PURE__ */ (0,
|
|
2486
|
-
header ? header : /* @__PURE__ */ (0,
|
|
2487
|
-
/* @__PURE__ */ (0,
|
|
2488
|
-
/* @__PURE__ */ (0,
|
|
2489
|
-
/* @__PURE__ */ (0,
|
|
2534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-login-panel", children: [
|
|
2535
|
+
header ? header : /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-login-panel-header", children: [
|
|
2536
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
|
|
2537
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl7.FormattedMessage, { id: "loginTitle" }) }),
|
|
2538
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl7.FormattedMessage, { id: "loginTips" }) })
|
|
2490
2539
|
] }),
|
|
2491
|
-
onClose && /* @__PURE__ */ (0,
|
|
2540
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
|
|
2492
2541
|
] }),
|
|
2493
|
-
/* @__PURE__ */ (0,
|
|
2494
|
-
/* @__PURE__ */ (0,
|
|
2542
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-login-panel-divide" }),
|
|
2543
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(LoginBox, { ...props }) })
|
|
2495
2544
|
] });
|
|
2496
2545
|
}
|
|
2497
2546
|
|
|
2498
2547
|
// src/components/LoginModal/index.tsx
|
|
2499
|
-
var
|
|
2548
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2500
2549
|
function LoginModal({
|
|
2501
2550
|
isOpen = false,
|
|
2502
2551
|
width = 480,
|
|
2503
2552
|
...props
|
|
2504
2553
|
}) {
|
|
2505
2554
|
const { isLogin } = useUserInfo();
|
|
2506
|
-
return /* @__PURE__ */ (0,
|
|
2555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2507
2556
|
Modal,
|
|
2508
2557
|
{
|
|
2509
2558
|
isOpen: isOpen && !isLogin,
|
|
2510
2559
|
width,
|
|
2511
|
-
children: /* @__PURE__ */ (0,
|
|
2560
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(LoginPanel, { ...props, inModal: true })
|
|
2512
2561
|
}
|
|
2513
2562
|
);
|
|
2514
2563
|
}
|
|
@@ -2517,10 +2566,10 @@ function LoginModal({
|
|
|
2517
2566
|
var import_react13 = require("react");
|
|
2518
2567
|
|
|
2519
2568
|
// src/assets/icon/ProfileIcon.tsx
|
|
2520
|
-
var
|
|
2569
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2521
2570
|
function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
2522
|
-
return /* @__PURE__ */ (0,
|
|
2523
|
-
/* @__PURE__ */ (0,
|
|
2571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2572
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2524
2573
|
"path",
|
|
2525
2574
|
{
|
|
2526
2575
|
fillRule: "evenodd",
|
|
@@ -2529,7 +2578,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2529
2578
|
fill: color
|
|
2530
2579
|
}
|
|
2531
2580
|
),
|
|
2532
|
-
/* @__PURE__ */ (0,
|
|
2581
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2533
2582
|
"path",
|
|
2534
2583
|
{
|
|
2535
2584
|
fillRule: "evenodd",
|
|
@@ -2543,7 +2592,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2543
2592
|
|
|
2544
2593
|
// src/components/UserPopover/index.tsx
|
|
2545
2594
|
var import_react_intl8 = require("react-intl");
|
|
2546
|
-
var
|
|
2595
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2547
2596
|
function UserContent() {
|
|
2548
2597
|
const { logout, address, username } = useUserInfo();
|
|
2549
2598
|
const [logouting, setLogouting] = (0, import_react13.useState)(false);
|
|
@@ -2564,34 +2613,34 @@ function UserContent() {
|
|
|
2564
2613
|
rightIcon,
|
|
2565
2614
|
onClick
|
|
2566
2615
|
}) => {
|
|
2567
|
-
return /* @__PURE__ */ (0,
|
|
2568
|
-
/* @__PURE__ */ (0,
|
|
2616
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
|
|
2617
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
|
|
2569
2618
|
icon,
|
|
2570
|
-
/* @__PURE__ */ (0,
|
|
2619
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-user-popover-item-text", children })
|
|
2571
2620
|
] }),
|
|
2572
2621
|
rightIcon
|
|
2573
2622
|
] });
|
|
2574
2623
|
};
|
|
2575
2624
|
const UserDivider = () => {
|
|
2576
|
-
return /* @__PURE__ */ (0,
|
|
2625
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: `matchid-user-popover-divider` });
|
|
2577
2626
|
};
|
|
2578
2627
|
const [usernameOpen, setUsernameOpen] = (0, import_react13.useState)(false);
|
|
2579
2628
|
const [copied, setCopied] = useCopyClipboard();
|
|
2580
2629
|
const intl = (0, import_react_intl8.useIntl)();
|
|
2581
|
-
return /* @__PURE__ */ (0,
|
|
2582
|
-
/* @__PURE__ */ (0,
|
|
2583
|
-
/* @__PURE__ */ (0,
|
|
2630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-user-popover-content", children: [
|
|
2631
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-user-popover-list", children: [
|
|
2632
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(UserItem, { onClick: () => {
|
|
2584
2633
|
setCopied(address);
|
|
2585
|
-
}, icon: copied ? /* @__PURE__ */ (0,
|
|
2586
|
-
/* @__PURE__ */ (0,
|
|
2587
|
-
/* @__PURE__ */ (0,
|
|
2634
|
+
}, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
|
|
2635
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(UserDivider, {}),
|
|
2636
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(UserItem, { onClick: () => {
|
|
2588
2637
|
setUsernameOpen(true);
|
|
2589
|
-
}, icon: /* @__PURE__ */ (0,
|
|
2638
|
+
}, icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
|
|
2590
2639
|
id: "setUsername"
|
|
2591
2640
|
}) })
|
|
2592
2641
|
] }),
|
|
2593
|
-
/* @__PURE__ */ (0,
|
|
2594
|
-
/* @__PURE__ */ (0,
|
|
2642
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_intl8.FormattedMessage, { id: "disconnect" }) }),
|
|
2643
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
|
|
2595
2644
|
setUsernameOpen(false);
|
|
2596
2645
|
}, onSuccess: () => {
|
|
2597
2646
|
setUsernameOpen(false);
|
|
@@ -2602,12 +2651,12 @@ function UserPopover({
|
|
|
2602
2651
|
children,
|
|
2603
2652
|
...props
|
|
2604
2653
|
}) {
|
|
2605
|
-
return /* @__PURE__ */ (0,
|
|
2654
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(UserContent, {}), children });
|
|
2606
2655
|
}
|
|
2607
2656
|
|
|
2608
2657
|
// src/components/LoginButton/index.tsx
|
|
2609
2658
|
var import_react_intl9 = require("react-intl");
|
|
2610
|
-
var
|
|
2659
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2611
2660
|
function LoginButton({
|
|
2612
2661
|
loginRender,
|
|
2613
2662
|
methods,
|
|
@@ -2623,8 +2672,8 @@ function LoginButton({
|
|
|
2623
2672
|
const { isLogin, username } = useUserInfo();
|
|
2624
2673
|
const [loginOpen, setLoginOpen] = (0, import_react14.useState)(false);
|
|
2625
2674
|
if (!isLogin) {
|
|
2626
|
-
return /* @__PURE__ */ (0,
|
|
2627
|
-
/* @__PURE__ */ (0,
|
|
2675
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
|
|
2676
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2628
2677
|
LoginModal,
|
|
2629
2678
|
{
|
|
2630
2679
|
methods,
|
|
@@ -2634,15 +2683,15 @@ function LoginButton({
|
|
|
2634
2683
|
onClose: () => setLoginOpen(false)
|
|
2635
2684
|
}
|
|
2636
2685
|
),
|
|
2637
|
-
/* @__PURE__ */ (0,
|
|
2638
|
-
/* @__PURE__ */ (0,
|
|
2639
|
-
/* @__PURE__ */ (0,
|
|
2686
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
|
|
2687
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(UnLoginIcon_default, {}),
|
|
2688
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_intl9.FormattedMessage, { id: "login" }) })
|
|
2640
2689
|
] })
|
|
2641
2690
|
] });
|
|
2642
2691
|
}
|
|
2643
|
-
return loginRender ? /* @__PURE__ */ (0,
|
|
2644
|
-
/* @__PURE__ */ (0,
|
|
2645
|
-
/* @__PURE__ */ (0,
|
|
2692
|
+
return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_jsx_runtime55.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
|
|
2693
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(LoginIcon_default, {}),
|
|
2694
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
|
|
2646
2695
|
id: "user"
|
|
2647
2696
|
}) })
|
|
2648
2697
|
] }) });
|
|
@@ -2652,14 +2701,14 @@ function LoginButton({
|
|
|
2652
2701
|
var import_react15 = require("react");
|
|
2653
2702
|
|
|
2654
2703
|
// src/assets/icon/InfoRoundIcon.tsx
|
|
2655
|
-
var
|
|
2704
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2656
2705
|
function InfoRoundIcon({
|
|
2657
2706
|
size,
|
|
2658
2707
|
color = "#6E6E6E",
|
|
2659
2708
|
...props
|
|
2660
2709
|
}) {
|
|
2661
|
-
return /* @__PURE__ */ (0,
|
|
2662
|
-
/* @__PURE__ */ (0,
|
|
2710
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
2711
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2663
2712
|
"path",
|
|
2664
2713
|
{
|
|
2665
2714
|
fillRule: "evenodd",
|
|
@@ -2668,21 +2717,21 @@ function InfoRoundIcon({
|
|
|
2668
2717
|
fill: color
|
|
2669
2718
|
}
|
|
2670
2719
|
) }),
|
|
2671
|
-
/* @__PURE__ */ (0,
|
|
2720
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("clipPath", { id: "clip0_418_7746", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2672
2721
|
] });
|
|
2673
2722
|
}
|
|
2674
2723
|
|
|
2675
2724
|
// src/components/UsernameModal/index.tsx
|
|
2676
2725
|
var import_react_intl10 = require("react-intl");
|
|
2677
|
-
var
|
|
2726
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2678
2727
|
var ValidItem = ({
|
|
2679
2728
|
success = false,
|
|
2680
2729
|
text
|
|
2681
2730
|
}) => {
|
|
2682
2731
|
const isDownMd = useDownMd();
|
|
2683
|
-
return /* @__PURE__ */ (0,
|
|
2684
|
-
success ? /* @__PURE__ */ (0,
|
|
2685
|
-
/* @__PURE__ */ (0,
|
|
2732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
|
|
2733
|
+
success ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(InfoRoundIcon, { size: isDownMd ? 12 : 16 }),
|
|
2734
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { children: text })
|
|
2686
2735
|
] });
|
|
2687
2736
|
};
|
|
2688
2737
|
function UsernameModal({
|
|
@@ -2730,12 +2779,12 @@ function UsernameModal({
|
|
|
2730
2779
|
}
|
|
2731
2780
|
};
|
|
2732
2781
|
const intl = (0, import_react_intl10.useIntl)();
|
|
2733
|
-
return /* @__PURE__ */ (0,
|
|
2782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
2734
2783
|
id: username ? "editUsernameTitle" : "setUsernameTitle"
|
|
2735
|
-
}), children: /* @__PURE__ */ (0,
|
|
2736
|
-
/* @__PURE__ */ (0,
|
|
2784
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "matchid-username-box", children: [
|
|
2785
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Field, { label: intl.formatMessage({
|
|
2737
2786
|
id: "username"
|
|
2738
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
2787
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2739
2788
|
Input,
|
|
2740
2789
|
{
|
|
2741
2790
|
placeholder: intl.formatMessage({
|
|
@@ -2748,8 +2797,8 @@ function UsernameModal({
|
|
|
2748
2797
|
value: val
|
|
2749
2798
|
}
|
|
2750
2799
|
) }),
|
|
2751
|
-
/* @__PURE__ */ (0,
|
|
2752
|
-
/* @__PURE__ */ (0,
|
|
2800
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "matchid-valid", children: [
|
|
2801
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2753
2802
|
ValidItem,
|
|
2754
2803
|
{
|
|
2755
2804
|
success: isValid,
|
|
@@ -2758,16 +2807,16 @@ function UsernameModal({
|
|
|
2758
2807
|
})
|
|
2759
2808
|
}
|
|
2760
2809
|
),
|
|
2761
|
-
/* @__PURE__ */ (0,
|
|
2810
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
|
|
2762
2811
|
id: "usernameLengthError"
|
|
2763
2812
|
}) })
|
|
2764
2813
|
] }),
|
|
2765
|
-
/* @__PURE__ */ (0,
|
|
2814
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
|
|
2766
2815
|
marginTop: isDownMd ? "36px" : "64px"
|
|
2767
|
-
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
2768
|
-
/* @__PURE__ */ (0,
|
|
2816
|
+
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_intl10.FormattedMessage, { id: "confirm" }) }),
|
|
2817
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Button, { style: {
|
|
2769
2818
|
marginTop: isDownMd ? "12px" : "24px"
|
|
2770
|
-
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0,
|
|
2819
|
+
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react_intl10.FormattedMessage, { id: "nextTime" }) })
|
|
2771
2820
|
] }) });
|
|
2772
2821
|
}
|
|
2773
2822
|
|
|
@@ -2801,7 +2850,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
|
|
|
2801
2850
|
var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAABAsUlEQVR4Xu19CXQUx7X2vCUveS/vJdgx+yaJHQwI8G4wzWIbG2LLNrbxPgnY7CC0SyNpJBAIECAZAbLB8gAyKGGxiFnkGJwmz47xsU0mvyEWoGW0D0jgSeK88L84/7l/fS2V3GrNaDRCEiPpfud8p3qqu6tnpvt+favqVpXJxGAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYbYvCwkKlpKREvXDhglpQUKCKz+qlS5e0z8j3N5aXl6tXrlwJMf4OBoPRDD777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|
2802
2851
|
|
|
2803
2852
|
// src/components/WalletModalContent/index.tsx
|
|
2804
|
-
var
|
|
2853
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2805
2854
|
function WalletModalContent({
|
|
2806
2855
|
status,
|
|
2807
2856
|
error,
|
|
@@ -2866,12 +2915,12 @@ function WalletModalContent({
|
|
|
2866
2915
|
statusImage: walletConnectImage
|
|
2867
2916
|
};
|
|
2868
2917
|
}, [visible, connected, status, error, address]);
|
|
2869
|
-
return /* @__PURE__ */ (0,
|
|
2870
|
-
/* @__PURE__ */ (0,
|
|
2871
|
-
/* @__PURE__ */ (0,
|
|
2872
|
-
/* @__PURE__ */ (0,
|
|
2918
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-wallet-box`, children: [
|
|
2919
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-wallet-content`, children: [
|
|
2920
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("img", { src: pageData.statusImage }),
|
|
2921
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: pageData.isError ? "text-[#F7585E]" : "", children: pageData.text })
|
|
2873
2922
|
] }),
|
|
2874
|
-
/* @__PURE__ */ (0,
|
|
2923
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2875
2924
|
Button,
|
|
2876
2925
|
{
|
|
2877
2926
|
block: true,
|
|
@@ -2886,7 +2935,7 @@ function WalletModalContent({
|
|
|
2886
2935
|
}
|
|
2887
2936
|
|
|
2888
2937
|
// src/components/SOLModal/index.tsx
|
|
2889
|
-
var
|
|
2938
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2890
2939
|
function WalletContent({
|
|
2891
2940
|
onSuccess,
|
|
2892
2941
|
type
|
|
@@ -2965,7 +3014,7 @@ function WalletContent({
|
|
|
2965
3014
|
statusRef.current = "";
|
|
2966
3015
|
}
|
|
2967
3016
|
};
|
|
2968
|
-
return /* @__PURE__ */ (0,
|
|
3017
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2969
3018
|
WalletModalContent,
|
|
2970
3019
|
{
|
|
2971
3020
|
connected: wallet.connected,
|
|
@@ -3026,17 +3075,17 @@ function SOLModal({
|
|
|
3026
3075
|
...props
|
|
3027
3076
|
}) {
|
|
3028
3077
|
const intl = (0, import_react_intl11.useIntl)();
|
|
3029
|
-
return /* @__PURE__ */ (0,
|
|
3078
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3030
3079
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3031
3080
|
}, {
|
|
3032
3081
|
name: "SOL"
|
|
3033
|
-
}), children: /* @__PURE__ */ (0,
|
|
3082
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_wallet_adapter_react.ConnectionProvider, { endpoint: (0, import_web3.clusterApiUrl)("devnet"), children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_wallet_adapter_react.WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_wallet_adapter_react_ui.WalletModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(WalletContent, { onSuccess, type }) }) }) }) });
|
|
3034
3083
|
}
|
|
3035
3084
|
|
|
3036
3085
|
// src/components/TronModal/index.tsx
|
|
3037
3086
|
var import_react18 = __toESM(require("react"));
|
|
3038
3087
|
var import_react_intl12 = require("react-intl");
|
|
3039
|
-
var
|
|
3088
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
3040
3089
|
function WalletContent2({
|
|
3041
3090
|
onSuccess,
|
|
3042
3091
|
type
|
|
@@ -3136,7 +3185,7 @@ function WalletContent2({
|
|
|
3136
3185
|
statusRef.current = "";
|
|
3137
3186
|
}
|
|
3138
3187
|
};
|
|
3139
|
-
return /* @__PURE__ */ (0,
|
|
3188
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
3140
3189
|
WalletModalContent,
|
|
3141
3190
|
{
|
|
3142
3191
|
connected,
|
|
@@ -3156,13 +3205,13 @@ function TronModal({
|
|
|
3156
3205
|
...props
|
|
3157
3206
|
}) {
|
|
3158
3207
|
const intl = (0, import_react_intl12.useIntl)();
|
|
3159
|
-
return /* @__PURE__ */ (0,
|
|
3208
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3160
3209
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3161
3210
|
}, {
|
|
3162
3211
|
name: "Tron"
|
|
3163
|
-
}), children: typeof window.tronWeb === "undefined" ? /* @__PURE__ */ (0,
|
|
3212
|
+
}), children: typeof window.tronWeb === "undefined" ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Button, { onClick: () => {
|
|
3164
3213
|
window.open("https://chromewebstore.google.com/detail/tronlink/ibnejdfjmmkpcnlpebklmnkoeoihofec");
|
|
3165
|
-
}, children: "Install TronLink extension" }) : /* @__PURE__ */ (0,
|
|
3214
|
+
}, children: "Install TronLink extension" }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(WalletContent2, { onSuccess, type }) });
|
|
3166
3215
|
}
|
|
3167
3216
|
|
|
3168
3217
|
// src/components/BTCModal/index.tsx
|
|
@@ -3342,7 +3391,7 @@ var useBTCWallet = () => {
|
|
|
3342
3391
|
};
|
|
3343
3392
|
|
|
3344
3393
|
// src/components/BTCModal/index.tsx
|
|
3345
|
-
var
|
|
3394
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
3346
3395
|
function BTCModal({
|
|
3347
3396
|
type = "login",
|
|
3348
3397
|
onSuccess,
|
|
@@ -3352,9 +3401,9 @@ function BTCModal({
|
|
|
3352
3401
|
const intl = (0, import_react_intl13.useIntl)();
|
|
3353
3402
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
|
|
3354
3403
|
const iconMaps = {
|
|
3355
|
-
leather: /* @__PURE__ */ (0,
|
|
3356
|
-
unisat: /* @__PURE__ */ (0,
|
|
3357
|
-
xverse: /* @__PURE__ */ (0,
|
|
3404
|
+
leather: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
|
|
3405
|
+
unisat: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
|
|
3406
|
+
xverse: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
|
|
3358
3407
|
};
|
|
3359
3408
|
const { events, login } = useMatch();
|
|
3360
3409
|
const [status, setStatus] = (0, import_react20.useState)("");
|
|
@@ -3439,13 +3488,13 @@ function BTCModal({
|
|
|
3439
3488
|
disconnect();
|
|
3440
3489
|
}
|
|
3441
3490
|
}, [props.isOpen]);
|
|
3442
|
-
return /* @__PURE__ */ (0,
|
|
3491
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3443
3492
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3444
3493
|
}, {
|
|
3445
3494
|
name: "BTC"
|
|
3446
3495
|
}), onBack: wallet ? () => {
|
|
3447
3496
|
chooseWallet(null);
|
|
3448
|
-
} : void 0, children: wallet ? /* @__PURE__ */ (0,
|
|
3497
|
+
} : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3449
3498
|
WalletModalContent,
|
|
3450
3499
|
{
|
|
3451
3500
|
error,
|
|
@@ -3458,9 +3507,9 @@ function BTCModal({
|
|
|
3458
3507
|
setVisible: () => {
|
|
3459
3508
|
}
|
|
3460
3509
|
}
|
|
3461
|
-
) : /* @__PURE__ */ (0,
|
|
3510
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "matchid-login-recommend-list", children: [
|
|
3462
3511
|
installedWallets.map((wallet2) => {
|
|
3463
|
-
return /* @__PURE__ */ (0,
|
|
3512
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3464
3513
|
RecommendItem,
|
|
3465
3514
|
{
|
|
3466
3515
|
icon: iconMaps[wallet2.walletKey],
|
|
@@ -3473,14 +3522,14 @@ function BTCModal({
|
|
|
3473
3522
|
);
|
|
3474
3523
|
}),
|
|
3475
3524
|
wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
|
|
3476
|
-
return /* @__PURE__ */ (0,
|
|
3525
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
3477
3526
|
RecommendItem,
|
|
3478
3527
|
{
|
|
3479
3528
|
icon: iconMaps[wallet2.walletKey],
|
|
3480
3529
|
name: wallet2.name,
|
|
3481
3530
|
onClick: () => {
|
|
3482
3531
|
},
|
|
3483
|
-
footer: /* @__PURE__ */ (0,
|
|
3532
|
+
footer: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { size: "sm", onClick: () => {
|
|
3484
3533
|
window.open(wallet2.website);
|
|
3485
3534
|
}, children: "Install" })
|
|
3486
3535
|
},
|
|
@@ -3493,7 +3542,7 @@ function BTCModal({
|
|
|
3493
3542
|
// src/components/CEXBindModal/index.tsx
|
|
3494
3543
|
var import_react21 = require("react");
|
|
3495
3544
|
var import_react_intl14 = require("react-intl");
|
|
3496
|
-
var
|
|
3545
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3497
3546
|
function CEXBindModal({
|
|
3498
3547
|
onClose,
|
|
3499
3548
|
type,
|
|
@@ -3535,27 +3584,30 @@ function CEXBindModal({
|
|
|
3535
3584
|
type: "cex_" + type
|
|
3536
3585
|
});
|
|
3537
3586
|
onClose();
|
|
3587
|
+
} else {
|
|
3588
|
+
throw new Error(res.message);
|
|
3538
3589
|
}
|
|
3539
|
-
setLoading(false);
|
|
3540
3590
|
} catch (error2) {
|
|
3541
3591
|
console.error(error2);
|
|
3542
3592
|
setError(error2.message);
|
|
3593
|
+
} finally {
|
|
3594
|
+
setLoading(false);
|
|
3543
3595
|
}
|
|
3544
3596
|
};
|
|
3545
|
-
return /* @__PURE__ */ (0,
|
|
3597
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ModalWithHeader, { showClose: true, isOpen, onClose, title: intl.formatMessage({
|
|
3546
3598
|
id: "CEXBindTitle"
|
|
3547
3599
|
}, {
|
|
3548
3600
|
type
|
|
3549
|
-
}), ...props, children: /* @__PURE__ */ (0,
|
|
3550
|
-
/* @__PURE__ */ (0,
|
|
3551
|
-
/* @__PURE__ */ (0,
|
|
3552
|
-
/* @__PURE__ */ (0,
|
|
3553
|
-
/* @__PURE__ */ (0,
|
|
3554
|
-
/* @__PURE__ */ (0,
|
|
3601
|
+
}), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-cex-modal", children: [
|
|
3602
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { children: [
|
|
3603
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl14.FormattedMessage, { id: "CEXBindAttention" }) }),
|
|
3604
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl14.FormattedMessage, { id: "CEXBindTips1" }) }),
|
|
3605
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl14.FormattedMessage, { id: "CEXBindTips2" }) }),
|
|
3606
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl14.FormattedMessage, { id: "CEXBindTips3" }) })
|
|
3555
3607
|
] }),
|
|
3556
|
-
/* @__PURE__ */ (0,
|
|
3608
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Field, { label: intl.formatMessage({
|
|
3557
3609
|
id: "CEXBindApiKey"
|
|
3558
|
-
}), children: /* @__PURE__ */ (0,
|
|
3610
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3559
3611
|
Input,
|
|
3560
3612
|
{
|
|
3561
3613
|
value: key,
|
|
@@ -3563,9 +3615,9 @@ function CEXBindModal({
|
|
|
3563
3615
|
placeholder: "**** **** ****"
|
|
3564
3616
|
}
|
|
3565
3617
|
) }),
|
|
3566
|
-
/* @__PURE__ */ (0,
|
|
3618
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Field, { label: intl.formatMessage({
|
|
3567
3619
|
id: "CEXBindApiSecretKey"
|
|
3568
|
-
}), error: type != "OKX" && error, children: /* @__PURE__ */ (0,
|
|
3620
|
+
}), error: type != "OKX" && error, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3569
3621
|
Input,
|
|
3570
3622
|
{
|
|
3571
3623
|
value: secret,
|
|
@@ -3573,9 +3625,9 @@ function CEXBindModal({
|
|
|
3573
3625
|
placeholder: "**** **** ****"
|
|
3574
3626
|
}
|
|
3575
3627
|
) }),
|
|
3576
|
-
type == "OKX" && /* @__PURE__ */ (0,
|
|
3628
|
+
type == "OKX" && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Field, { error, label: intl.formatMessage({
|
|
3577
3629
|
id: "CEXBindApiPassphrase"
|
|
3578
|
-
}), children: /* @__PURE__ */ (0,
|
|
3630
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3579
3631
|
Input,
|
|
3580
3632
|
{
|
|
3581
3633
|
value: APIPassphrase,
|
|
@@ -3583,7 +3635,7 @@ function CEXBindModal({
|
|
|
3583
3635
|
placeholder: "**** **** ****"
|
|
3584
3636
|
}
|
|
3585
3637
|
) }),
|
|
3586
|
-
/* @__PURE__ */ (0,
|
|
3638
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3587
3639
|
Button,
|
|
3588
3640
|
{
|
|
3589
3641
|
onClick: SubmitApi,
|
|
@@ -3591,14 +3643,14 @@ function CEXBindModal({
|
|
|
3591
3643
|
block: true,
|
|
3592
3644
|
loading,
|
|
3593
3645
|
disabled: !key || !secret,
|
|
3594
|
-
children: /* @__PURE__ */ (0,
|
|
3646
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl14.FormattedMessage, { id: "continue" })
|
|
3595
3647
|
}
|
|
3596
3648
|
)
|
|
3597
3649
|
] }) });
|
|
3598
3650
|
}
|
|
3599
3651
|
|
|
3600
3652
|
// src/context/BusinessProvider.tsx
|
|
3601
|
-
var
|
|
3653
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3602
3654
|
function BusinessProvider({ children }) {
|
|
3603
3655
|
const { overview, token } = useUserInfo();
|
|
3604
3656
|
const { recoveryModal } = useStore_default();
|
|
@@ -3606,9 +3658,9 @@ function BusinessProvider({ children }) {
|
|
|
3606
3658
|
const { type: TronType, isOpen: TronIsOpen, close: TronClose } = useTronModalStore();
|
|
3607
3659
|
const { type: BTCType, isOpen: BTCIsOpen, close: BTCClose } = useBTCModalStore();
|
|
3608
3660
|
const { type: CEXType, isOpen: CEXIsOpen, close: CEXClose } = useCEXBindModalStore();
|
|
3609
|
-
return /* @__PURE__ */ (0,
|
|
3610
|
-
/* @__PURE__ */ (0,
|
|
3611
|
-
/* @__PURE__ */ (0,
|
|
3661
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
|
|
3662
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(PasswordModal, { isOpen: !!token && !!overview && !overview.address && !!overview.did, showClose: false }),
|
|
3663
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3612
3664
|
RecoveryModal,
|
|
3613
3665
|
{
|
|
3614
3666
|
isOpen: !!token && !!overview && !!overview.address && recoveryModal.open,
|
|
@@ -3616,7 +3668,7 @@ function BusinessProvider({ children }) {
|
|
|
3616
3668
|
onSuccess: recoveryModal.success
|
|
3617
3669
|
}
|
|
3618
3670
|
),
|
|
3619
|
-
/* @__PURE__ */ (0,
|
|
3671
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3620
3672
|
SOLModal,
|
|
3621
3673
|
{
|
|
3622
3674
|
isOpen: SOLIsOpen && (SOLType == "login" && !overview && !token || SOLType == "bind" && !!token && !!overview),
|
|
@@ -3626,7 +3678,7 @@ function BusinessProvider({ children }) {
|
|
|
3626
3678
|
zIndex: 199
|
|
3627
3679
|
}
|
|
3628
3680
|
),
|
|
3629
|
-
/* @__PURE__ */ (0,
|
|
3681
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3630
3682
|
TronModal,
|
|
3631
3683
|
{
|
|
3632
3684
|
isOpen: TronIsOpen && (TronType == "login" && !overview && !token || TronType == "bind" && !!token && !!overview),
|
|
@@ -3636,7 +3688,7 @@ function BusinessProvider({ children }) {
|
|
|
3636
3688
|
zIndex: 199
|
|
3637
3689
|
}
|
|
3638
3690
|
),
|
|
3639
|
-
/* @__PURE__ */ (0,
|
|
3691
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3640
3692
|
BTCModal,
|
|
3641
3693
|
{
|
|
3642
3694
|
isOpen: BTCIsOpen && (BTCType == "login" && !overview && !token || BTCType == "bind" && !!token && !!overview),
|
|
@@ -3646,7 +3698,7 @@ function BusinessProvider({ children }) {
|
|
|
3646
3698
|
zIndex: 199
|
|
3647
3699
|
}
|
|
3648
3700
|
),
|
|
3649
|
-
/* @__PURE__ */ (0,
|
|
3701
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3650
3702
|
CEXBindModal,
|
|
3651
3703
|
{
|
|
3652
3704
|
isOpen: CEXIsOpen && (!!token && !!overview),
|
|
@@ -3660,12 +3712,12 @@ function BusinessProvider({ children }) {
|
|
|
3660
3712
|
}
|
|
3661
3713
|
|
|
3662
3714
|
// src/context/index.tsx
|
|
3663
|
-
var
|
|
3715
|
+
var import_jsx_runtime64 = (
|
|
3664
3716
|
// <MpcWalletProvider>
|
|
3665
3717
|
require("react/jsx-runtime")
|
|
3666
3718
|
);
|
|
3667
3719
|
var Providers = ({ children }) => {
|
|
3668
|
-
return /* @__PURE__ */ (0,
|
|
3720
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BusinessProvider, { children });
|
|
3669
3721
|
};
|
|
3670
3722
|
var context_default = Providers;
|
|
3671
3723
|
|
|
@@ -4387,7 +4439,7 @@ var messages = {
|
|
|
4387
4439
|
};
|
|
4388
4440
|
|
|
4389
4441
|
// src/MatchContext.tsx
|
|
4390
|
-
var
|
|
4442
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
4391
4443
|
var queryClient = new import_react_query.QueryClient();
|
|
4392
4444
|
var MatchContext = (0, import_react24.createContext)(void 0);
|
|
4393
4445
|
var MatchProvider = ({ children, appid, events, theme = "light", endpoints, locale }) => {
|
|
@@ -4408,7 +4460,7 @@ var MatchProvider = ({ children, appid, events, theme = "light", endpoints, loca
|
|
|
4408
4460
|
useWalletInit({
|
|
4409
4461
|
refreshOverview: loadOverview
|
|
4410
4462
|
});
|
|
4411
|
-
return /* @__PURE__ */ (0,
|
|
4463
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_intl15.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_query.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
4412
4464
|
MatchContext.Provider,
|
|
4413
4465
|
{
|
|
4414
4466
|
value: {
|
|
@@ -4419,7 +4471,7 @@ var MatchProvider = ({ children, appid, events, theme = "light", endpoints, loca
|
|
|
4419
4471
|
theme,
|
|
4420
4472
|
locale: realLocale
|
|
4421
4473
|
},
|
|
4422
|
-
children: /* @__PURE__ */ (0,
|
|
4474
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(context_default, { children })
|
|
4423
4475
|
}
|
|
4424
4476
|
) }) });
|
|
4425
4477
|
};
|