@matchain/matchid-sdk-react 0.1.37-alpha.6 → 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-FLEEMUIJ.mjs → chunk-23RO4KEG.mjs} +11 -3
- 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-OZ3WBUHE.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 +276 -227
- 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-FLEEMUIJ.mjs.map +0 -1
- package/dist/chunk-J6EA7OSJ.mjs.map +0 -1
- /package/dist/{chunk-OZ3WBUHE.mjs.map → chunk-IP3AXUIZ.mjs.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -579,9 +579,49 @@ function YoutubeIcon({ size = 40, ...props }) {
|
|
|
579
579
|
|
|
580
580
|
// src/assets/icon/BTCDarkIcon.tsx
|
|
581
581
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
582
|
+
function BTCDarkIcon({ size = 40, ...props }) {
|
|
583
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
584
|
+
"svg",
|
|
585
|
+
{
|
|
586
|
+
width: size,
|
|
587
|
+
height: size,
|
|
588
|
+
...props,
|
|
589
|
+
viewBox: "0 0 40 40",
|
|
590
|
+
fill: "none",
|
|
591
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
592
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
593
|
+
"path",
|
|
594
|
+
{
|
|
595
|
+
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",
|
|
596
|
+
fill: "black"
|
|
597
|
+
}
|
|
598
|
+
)
|
|
599
|
+
}
|
|
600
|
+
);
|
|
601
|
+
}
|
|
582
602
|
|
|
583
603
|
// src/assets/icon/BTCLightIcon.tsx
|
|
584
604
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
605
|
+
function BTCLightIcon({ size = 40, ...props }) {
|
|
606
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
607
|
+
"svg",
|
|
608
|
+
{
|
|
609
|
+
width: size,
|
|
610
|
+
height: size,
|
|
611
|
+
...props,
|
|
612
|
+
viewBox: "0 0 40 40",
|
|
613
|
+
fill: "none",
|
|
614
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
615
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
616
|
+
"path",
|
|
617
|
+
{
|
|
618
|
+
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",
|
|
619
|
+
fill: "white"
|
|
620
|
+
}
|
|
621
|
+
)
|
|
622
|
+
}
|
|
623
|
+
);
|
|
624
|
+
}
|
|
585
625
|
|
|
586
626
|
// src/assets/icon/EVMDarkIcon.tsx
|
|
587
627
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
@@ -857,6 +897,9 @@ function XverseIcon({
|
|
|
857
897
|
] });
|
|
858
898
|
}
|
|
859
899
|
|
|
900
|
+
// src/assets/icon/TronLinkIcon.tsx
|
|
901
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
902
|
+
|
|
860
903
|
// src/hooks/useLayout.tsx
|
|
861
904
|
var import_react = require("react");
|
|
862
905
|
function useDownMd() {
|
|
@@ -874,7 +917,7 @@ function useDownMd() {
|
|
|
874
917
|
}
|
|
875
918
|
|
|
876
919
|
// src/components/Modal/index.tsx
|
|
877
|
-
var
|
|
920
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
878
921
|
function Modal({
|
|
879
922
|
children,
|
|
880
923
|
isOpen,
|
|
@@ -882,21 +925,21 @@ function Modal({
|
|
|
882
925
|
zIndex = 100,
|
|
883
926
|
className = ""
|
|
884
927
|
}) {
|
|
885
|
-
return isOpen ? /* @__PURE__ */ (0,
|
|
928
|
+
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
886
929
|
"div",
|
|
887
930
|
{
|
|
888
931
|
className: "matchid-overlay",
|
|
889
932
|
style: {
|
|
890
933
|
zIndex
|
|
891
934
|
},
|
|
892
|
-
children: /* @__PURE__ */ (0,
|
|
935
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: `matchid-modal ${className}`, style: {
|
|
893
936
|
width
|
|
894
937
|
}, children: [
|
|
895
|
-
/* @__PURE__ */ (0,
|
|
938
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "matchid-modal-mobile-header" }),
|
|
896
939
|
children
|
|
897
940
|
] })
|
|
898
941
|
}
|
|
899
|
-
) : /* @__PURE__ */ (0,
|
|
942
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, {});
|
|
900
943
|
}
|
|
901
944
|
function ModalWithHeader({
|
|
902
945
|
children,
|
|
@@ -908,13 +951,13 @@ function ModalWithHeader({
|
|
|
908
951
|
...props
|
|
909
952
|
}) {
|
|
910
953
|
const isDownMd = useDownMd();
|
|
911
|
-
return /* @__PURE__ */ (0,
|
|
912
|
-
/* @__PURE__ */ (0,
|
|
913
|
-
/* @__PURE__ */ (0,
|
|
914
|
-
onBack && /* @__PURE__ */ (0,
|
|
915
|
-
/* @__PURE__ */ (0,
|
|
954
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Modal, { ...props, children: [
|
|
955
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
|
|
956
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "matchid-modal-header-content", children: [
|
|
957
|
+
onBack && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
|
|
958
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "matchid-modal-header-title", children: title })
|
|
916
959
|
] }),
|
|
917
|
-
onClose && /* @__PURE__ */ (0,
|
|
960
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
|
|
918
961
|
] }),
|
|
919
962
|
children
|
|
920
963
|
] });
|
|
@@ -949,7 +992,7 @@ function getAppClientId() {
|
|
|
949
992
|
}
|
|
950
993
|
|
|
951
994
|
// src/components/Button/index.tsx
|
|
952
|
-
var
|
|
995
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
953
996
|
function Button({
|
|
954
997
|
size = "df",
|
|
955
998
|
disabled = false,
|
|
@@ -968,7 +1011,7 @@ function Button({
|
|
|
968
1011
|
onClick && onClick();
|
|
969
1012
|
}
|
|
970
1013
|
};
|
|
971
|
-
return /* @__PURE__ */ (0,
|
|
1014
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
972
1015
|
"button",
|
|
973
1016
|
{
|
|
974
1017
|
type,
|
|
@@ -978,14 +1021,14 @@ function Button({
|
|
|
978
1021
|
...style
|
|
979
1022
|
},
|
|
980
1023
|
onClick: onAction,
|
|
981
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
1024
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
|
|
982
1025
|
}
|
|
983
1026
|
);
|
|
984
1027
|
}
|
|
985
1028
|
|
|
986
1029
|
// src/components/Input/index.tsx
|
|
987
1030
|
var import_react2 = require("react");
|
|
988
|
-
var
|
|
1031
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
989
1032
|
function Input({
|
|
990
1033
|
onChange,
|
|
991
1034
|
type,
|
|
@@ -995,17 +1038,17 @@ function Input({
|
|
|
995
1038
|
}) {
|
|
996
1039
|
const [inputType, setInputType] = (0, import_react2.useState)(type);
|
|
997
1040
|
const isDownMd = useDownMd();
|
|
998
|
-
return /* @__PURE__ */ (0,
|
|
1041
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
999
1042
|
"div",
|
|
1000
1043
|
{
|
|
1001
1044
|
className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
|
|
1002
1045
|
children: [
|
|
1003
|
-
/* @__PURE__ */ (0,
|
|
1004
|
-
props.value && props.value.length > 0 && /* @__PURE__ */ (0,
|
|
1046
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
|
|
1047
|
+
props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
|
|
1005
1048
|
if (onChange) {
|
|
1006
1049
|
onChange({ target: { value: "" } });
|
|
1007
1050
|
}
|
|
1008
|
-
}, children: /* @__PURE__ */ (0,
|
|
1051
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1009
1052
|
DeleteRoundIcon,
|
|
1010
1053
|
{
|
|
1011
1054
|
height: isDownMd ? 16 : 21,
|
|
@@ -1013,9 +1056,9 @@ function Input({
|
|
|
1013
1056
|
color: "var(--matchid-input-delete-icon-color)"
|
|
1014
1057
|
}
|
|
1015
1058
|
) }),
|
|
1016
|
-
type === "password" && /* @__PURE__ */ (0,
|
|
1059
|
+
type === "password" && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
|
|
1017
1060
|
setInputType(inputType === "password" ? "text" : "password");
|
|
1018
|
-
}, children: inputType === "password" ? /* @__PURE__ */ (0,
|
|
1061
|
+
}, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
|
|
1019
1062
|
after
|
|
1020
1063
|
]
|
|
1021
1064
|
}
|
|
@@ -1023,7 +1066,7 @@ function Input({
|
|
|
1023
1066
|
}
|
|
1024
1067
|
|
|
1025
1068
|
// src/components/Field/index.tsx
|
|
1026
|
-
var
|
|
1069
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1027
1070
|
function Field({
|
|
1028
1071
|
label,
|
|
1029
1072
|
children,
|
|
@@ -1031,19 +1074,19 @@ function Field({
|
|
|
1031
1074
|
required,
|
|
1032
1075
|
className = ""
|
|
1033
1076
|
}) {
|
|
1034
|
-
return /* @__PURE__ */ (0,
|
|
1035
|
-
/* @__PURE__ */ (0,
|
|
1036
|
-
required && /* @__PURE__ */ (0,
|
|
1077
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
|
|
1078
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "matchid-field-label", children: [
|
|
1079
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "matchid-field-required", children: "*" }),
|
|
1037
1080
|
label
|
|
1038
1081
|
] }),
|
|
1039
1082
|
children,
|
|
1040
|
-
error && /* @__PURE__ */ (0,
|
|
1083
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "matchid-field-error", children: error })
|
|
1041
1084
|
] });
|
|
1042
1085
|
}
|
|
1043
1086
|
|
|
1044
1087
|
// src/components/EmailModal/StepEmail.tsx
|
|
1045
1088
|
var import_react_intl = require("react-intl");
|
|
1046
|
-
var
|
|
1089
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1047
1090
|
function StepEmail(props) {
|
|
1048
1091
|
const intl = (0, import_react_intl.useIntl)();
|
|
1049
1092
|
const [emailVal, setEmailVal] = (0, import_react3.useState)("");
|
|
@@ -1058,10 +1101,10 @@ function StepEmail(props) {
|
|
|
1058
1101
|
const onContinue = async () => {
|
|
1059
1102
|
props.onContinue(emailVal);
|
|
1060
1103
|
};
|
|
1061
|
-
return /* @__PURE__ */ (0,
|
|
1062
|
-
/* @__PURE__ */ (0,
|
|
1104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "matchid-email-email-box", children: [
|
|
1105
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Field, { label: intl.formatMessage({
|
|
1063
1106
|
id: "emailAddress"
|
|
1064
|
-
}), children: /* @__PURE__ */ (0,
|
|
1107
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1065
1108
|
Input,
|
|
1066
1109
|
{
|
|
1067
1110
|
placeholder: intl.formatMessage({
|
|
@@ -1071,9 +1114,9 @@ function StepEmail(props) {
|
|
|
1071
1114
|
value: emailVal
|
|
1072
1115
|
}
|
|
1073
1116
|
) }),
|
|
1074
|
-
/* @__PURE__ */ (0,
|
|
1117
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Button, { disabled: !canContinue, style: {
|
|
1075
1118
|
marginTop: "64px"
|
|
1076
|
-
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
1119
|
+
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_react_intl.FormattedMessage, { id: "continue" }) })
|
|
1077
1120
|
] });
|
|
1078
1121
|
}
|
|
1079
1122
|
|
|
@@ -1519,7 +1562,7 @@ function useCopyClipboard(timeout = 500) {
|
|
|
1519
1562
|
|
|
1520
1563
|
// src/components/PasswordModal/index.tsx
|
|
1521
1564
|
var import_react_intl2 = require("react-intl");
|
|
1522
|
-
var
|
|
1565
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1523
1566
|
function PasswordModal({
|
|
1524
1567
|
title,
|
|
1525
1568
|
isOpen,
|
|
@@ -1577,15 +1620,15 @@ function PasswordModal({
|
|
|
1577
1620
|
setIsSubmitting(false);
|
|
1578
1621
|
}
|
|
1579
1622
|
};
|
|
1580
|
-
return /* @__PURE__ */ (0,
|
|
1623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
1581
1624
|
id: "passwordTitle"
|
|
1582
|
-
}), children: /* @__PURE__ */ (0,
|
|
1583
|
-
/* @__PURE__ */ (0,
|
|
1584
|
-
/* @__PURE__ */ (0,
|
|
1585
|
-
/* @__PURE__ */ (0,
|
|
1625
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "matchid-password-box", children: [
|
|
1626
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "matchid-password-header", children: [
|
|
1627
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PasswordRoundIcon, {}) }),
|
|
1628
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_intl2.FormattedMessage, { id: "passwordTips" }) })
|
|
1586
1629
|
] }),
|
|
1587
|
-
/* @__PURE__ */ (0,
|
|
1588
|
-
/* @__PURE__ */ (0,
|
|
1630
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "matchid-password-content", children: [
|
|
1631
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1589
1632
|
Input,
|
|
1590
1633
|
{
|
|
1591
1634
|
placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
|
|
@@ -1595,9 +1638,9 @@ function PasswordModal({
|
|
|
1595
1638
|
value: password
|
|
1596
1639
|
}
|
|
1597
1640
|
) }),
|
|
1598
|
-
/* @__PURE__ */ (0,
|
|
1641
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Field, { label: intl.formatMessage({
|
|
1599
1642
|
id: "rePassword"
|
|
1600
|
-
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0,
|
|
1643
|
+
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1601
1644
|
Input,
|
|
1602
1645
|
{
|
|
1603
1646
|
placeholder: intl.formatMessage({
|
|
@@ -1610,7 +1653,7 @@ function PasswordModal({
|
|
|
1610
1653
|
}
|
|
1611
1654
|
) })
|
|
1612
1655
|
] }),
|
|
1613
|
-
/* @__PURE__ */ (0,
|
|
1656
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1614
1657
|
Button,
|
|
1615
1658
|
{
|
|
1616
1659
|
disabled: password.length == 0 || !!passwordError || !!rePasswordError,
|
|
@@ -1619,7 +1662,7 @@ function PasswordModal({
|
|
|
1619
1662
|
size: "lg",
|
|
1620
1663
|
onClick: onContinue,
|
|
1621
1664
|
loading: isSubmitting,
|
|
1622
|
-
children: /* @__PURE__ */ (0,
|
|
1665
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
|
|
1623
1666
|
}
|
|
1624
1667
|
)
|
|
1625
1668
|
] }) });
|
|
@@ -1628,7 +1671,7 @@ function PasswordModal({
|
|
|
1628
1671
|
// src/components/RecoveryModal/index.tsx
|
|
1629
1672
|
var import_react7 = require("react");
|
|
1630
1673
|
var import_react_intl3 = require("react-intl");
|
|
1631
|
-
var
|
|
1674
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1632
1675
|
|
|
1633
1676
|
// src/store/useModalStore.ts
|
|
1634
1677
|
var import_zustand3 = require("zustand");
|
|
@@ -1660,13 +1703,13 @@ var useCEXBindModalStore = (0, import_zustand3.create)((set) => ({
|
|
|
1660
1703
|
// src/components/CEXBindModal/index.tsx
|
|
1661
1704
|
var import_react8 = require("react");
|
|
1662
1705
|
var import_react_intl4 = require("react-intl");
|
|
1663
|
-
var
|
|
1706
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1664
1707
|
|
|
1665
1708
|
// src/context/BusinessProvider.tsx
|
|
1666
|
-
var
|
|
1709
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1667
1710
|
|
|
1668
1711
|
// src/context/index.tsx
|
|
1669
|
-
var
|
|
1712
|
+
var import_jsx_runtime49 = (
|
|
1670
1713
|
// <MpcWalletProvider>
|
|
1671
1714
|
require("react/jsx-runtime")
|
|
1672
1715
|
);
|
|
@@ -1681,7 +1724,7 @@ var import_react10 = require("react");
|
|
|
1681
1724
|
// src/MatchContext.tsx
|
|
1682
1725
|
var import_react_query = require("@tanstack/react-query");
|
|
1683
1726
|
var import_react_intl5 = require("react-intl");
|
|
1684
|
-
var
|
|
1727
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1685
1728
|
var queryClient = new import_react_query.QueryClient();
|
|
1686
1729
|
var MatchContext = (0, import_react11.createContext)(void 0);
|
|
1687
1730
|
var useMatch = () => {
|
|
@@ -1907,7 +1950,7 @@ var EMAIL_CODE_LENGTH = 6;
|
|
|
1907
1950
|
|
|
1908
1951
|
// src/components/EmailModal/StepVerify.tsx
|
|
1909
1952
|
var import_react_intl6 = require("react-intl");
|
|
1910
|
-
var
|
|
1953
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1911
1954
|
function StepVerify(props) {
|
|
1912
1955
|
const intl = (0, import_react_intl6.useIntl)();
|
|
1913
1956
|
const { getLoginEmailCode, loginByEmail } = useUserInfo();
|
|
@@ -1984,17 +2027,17 @@ function StepVerify(props) {
|
|
|
1984
2027
|
setSubmitting(false);
|
|
1985
2028
|
}
|
|
1986
2029
|
};
|
|
1987
|
-
return /* @__PURE__ */ (0,
|
|
1988
|
-
/* @__PURE__ */ (0,
|
|
1989
|
-
/* @__PURE__ */ (0,
|
|
1990
|
-
/* @__PURE__ */ (0,
|
|
1991
|
-
/* @__PURE__ */ (0,
|
|
1992
|
-
/* @__PURE__ */ (0,
|
|
2030
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-email-verify-box", children: [
|
|
2031
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-email-verify-header", children: [
|
|
2032
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
|
|
2033
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
|
|
2034
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
|
|
2035
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl6.FormattedMessage, { id: "sendEmailTips" }) })
|
|
1993
2036
|
] })
|
|
1994
2037
|
] }),
|
|
1995
|
-
/* @__PURE__ */ (0,
|
|
2038
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Field, { label: intl.formatMessage({
|
|
1996
2039
|
id: "verificationCode"
|
|
1997
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
2040
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1998
2041
|
Input,
|
|
1999
2042
|
{
|
|
2000
2043
|
placeholder: intl.formatMessage({
|
|
@@ -2004,7 +2047,7 @@ function StepVerify(props) {
|
|
|
2004
2047
|
maxLength: codeLength,
|
|
2005
2048
|
onChange: (e) => setCode(e.target.value),
|
|
2006
2049
|
value: code,
|
|
2007
|
-
after: /* @__PURE__ */ (0,
|
|
2050
|
+
after: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2008
2051
|
Button,
|
|
2009
2052
|
{
|
|
2010
2053
|
highlight: true,
|
|
@@ -2023,13 +2066,13 @@ function StepVerify(props) {
|
|
|
2023
2066
|
)
|
|
2024
2067
|
}
|
|
2025
2068
|
) }),
|
|
2026
|
-
/* @__PURE__ */ (0,
|
|
2069
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl6.FormattedMessage, { id: "continue" }) })
|
|
2027
2070
|
] });
|
|
2028
2071
|
}
|
|
2029
2072
|
|
|
2030
2073
|
// src/components/EmailModal/index.tsx
|
|
2031
2074
|
var import_react_intl7 = require("react-intl");
|
|
2032
|
-
var
|
|
2075
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2033
2076
|
function EmailModal({
|
|
2034
2077
|
isOpen = false,
|
|
2035
2078
|
width = 480,
|
|
@@ -2046,7 +2089,7 @@ function EmailModal({
|
|
|
2046
2089
|
setEmailVal("");
|
|
2047
2090
|
}
|
|
2048
2091
|
}, [isOpen]);
|
|
2049
|
-
return /* @__PURE__ */ (0,
|
|
2092
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2050
2093
|
ModalWithHeader,
|
|
2051
2094
|
{
|
|
2052
2095
|
isOpen,
|
|
@@ -2056,17 +2099,17 @@ function EmailModal({
|
|
|
2056
2099
|
id: "email"
|
|
2057
2100
|
}),
|
|
2058
2101
|
onBack: step == "verify" ? () => setStep("input") : onBack,
|
|
2059
|
-
children: step === "input" ? /* @__PURE__ */ (0,
|
|
2102
|
+
children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
|
|
2060
2103
|
setEmailVal(email);
|
|
2061
2104
|
setStep("verify");
|
|
2062
|
-
} }) : /* @__PURE__ */ (0,
|
|
2105
|
+
} }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
|
|
2063
2106
|
}
|
|
2064
2107
|
);
|
|
2065
2108
|
}
|
|
2066
2109
|
|
|
2067
2110
|
// src/components/Popover/index.tsx
|
|
2068
2111
|
var import_react15 = require("react");
|
|
2069
|
-
var
|
|
2112
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2070
2113
|
function Popover({
|
|
2071
2114
|
children,
|
|
2072
2115
|
content,
|
|
@@ -2076,7 +2119,7 @@ function Popover({
|
|
|
2076
2119
|
gap = "20px"
|
|
2077
2120
|
}) {
|
|
2078
2121
|
const [active, setActive] = (0, import_react15.useState)(false);
|
|
2079
|
-
return /* @__PURE__ */ (0,
|
|
2122
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2080
2123
|
"div",
|
|
2081
2124
|
{
|
|
2082
2125
|
onClick: () => {
|
|
@@ -2087,9 +2130,9 @@ function Popover({
|
|
|
2087
2130
|
className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
|
|
2088
2131
|
children: [
|
|
2089
2132
|
children,
|
|
2090
|
-
/* @__PURE__ */ (0,
|
|
2133
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { style: {
|
|
2091
2134
|
paddingTop: gap
|
|
2092
|
-
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0,
|
|
2135
|
+
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: `matchid-popover-content`, children: content }) })
|
|
2093
2136
|
]
|
|
2094
2137
|
}
|
|
2095
2138
|
);
|
|
@@ -2098,7 +2141,7 @@ function Popover({
|
|
|
2098
2141
|
// src/components/LoginBox/index.tsx
|
|
2099
2142
|
var import_react16 = require("react");
|
|
2100
2143
|
var import_react_intl8 = require("react-intl");
|
|
2101
|
-
var
|
|
2144
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2102
2145
|
var RecommendItem = ({
|
|
2103
2146
|
icon,
|
|
2104
2147
|
name,
|
|
@@ -2107,20 +2150,20 @@ var RecommendItem = ({
|
|
|
2107
2150
|
children,
|
|
2108
2151
|
footer
|
|
2109
2152
|
}) => {
|
|
2110
|
-
return /* @__PURE__ */ (0,
|
|
2111
|
-
/* @__PURE__ */ (0,
|
|
2112
|
-
/* @__PURE__ */ (0,
|
|
2113
|
-
/* @__PURE__ */ (0,
|
|
2114
|
-
/* @__PURE__ */ (0,
|
|
2153
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-method", children: [
|
|
2154
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
|
|
2155
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
|
|
2156
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
|
|
2157
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
|
|
2115
2158
|
] }),
|
|
2116
|
-
footer ? footer : children ? /* @__PURE__ */ (0,
|
|
2159
|
+
footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2117
2160
|
ArrowDownIcon,
|
|
2118
2161
|
{
|
|
2119
2162
|
className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
|
|
2120
2163
|
size: 20,
|
|
2121
2164
|
color: "var(--matchid-arrow-color)"
|
|
2122
2165
|
}
|
|
2123
|
-
) : /* @__PURE__ */ (0,
|
|
2166
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2124
2167
|
ArrowRightIcon,
|
|
2125
2168
|
{
|
|
2126
2169
|
className: "matchid-login-recommend-method-arrow",
|
|
@@ -2129,7 +2172,7 @@ var RecommendItem = ({
|
|
|
2129
2172
|
}
|
|
2130
2173
|
)
|
|
2131
2174
|
] }),
|
|
2132
|
-
children && /* @__PURE__ */ (0,
|
|
2175
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2133
2176
|
"div",
|
|
2134
2177
|
{
|
|
2135
2178
|
className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
|
|
@@ -2148,7 +2191,7 @@ function LoginBox({
|
|
|
2148
2191
|
"telegram",
|
|
2149
2192
|
"twitter"
|
|
2150
2193
|
],
|
|
2151
|
-
walletMethods = ["evm"],
|
|
2194
|
+
walletMethods = ["evm", "sol"],
|
|
2152
2195
|
inModal = false
|
|
2153
2196
|
}) {
|
|
2154
2197
|
const [emailOpen, setEmailOpen] = (0, import_react16.useState)(false);
|
|
@@ -2158,103 +2201,109 @@ function LoginBox({
|
|
|
2158
2201
|
const isDownMd = useDownMd();
|
|
2159
2202
|
const methodMap = {
|
|
2160
2203
|
wallet: {
|
|
2161
|
-
icon: /* @__PURE__ */ (0,
|
|
2204
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
|
|
2162
2205
|
name: intl.formatMessage({ id: "wallet" }),
|
|
2163
2206
|
onClick: () => setShowWallet(!showWallet),
|
|
2164
2207
|
type: "wallet"
|
|
2165
2208
|
},
|
|
2166
2209
|
email: {
|
|
2167
|
-
icon: /* @__PURE__ */ (0,
|
|
2210
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
|
|
2168
2211
|
name: intl.formatMessage({ id: "email" }),
|
|
2169
2212
|
onClick: () => {
|
|
2170
2213
|
setEmailOpen(true);
|
|
2171
2214
|
}
|
|
2172
2215
|
},
|
|
2173
2216
|
google: {
|
|
2174
|
-
icon: /* @__PURE__ */ (0,
|
|
2217
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
|
|
2175
2218
|
name: "Google",
|
|
2176
2219
|
onClick: () => login("google")
|
|
2177
2220
|
},
|
|
2178
2221
|
twitter: {
|
|
2179
|
-
icon: /* @__PURE__ */ (0,
|
|
2222
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
|
|
2180
2223
|
name: "X",
|
|
2181
2224
|
onClick: () => login("twitter")
|
|
2182
2225
|
},
|
|
2183
2226
|
telegram: {
|
|
2184
|
-
icon: /* @__PURE__ */ (0,
|
|
2227
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
|
|
2185
2228
|
name: "Telegram",
|
|
2186
2229
|
onClick: () => login("telegram")
|
|
2187
2230
|
},
|
|
2188
2231
|
github: {
|
|
2189
|
-
icon: /* @__PURE__ */ (0,
|
|
2232
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
|
|
2190
2233
|
name: "Github",
|
|
2191
2234
|
onClick: () => login("github")
|
|
2192
2235
|
},
|
|
2193
2236
|
discord: {
|
|
2194
|
-
icon: /* @__PURE__ */ (0,
|
|
2237
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
|
|
2195
2238
|
name: "Discord",
|
|
2196
2239
|
onClick: () => login("discord")
|
|
2197
2240
|
},
|
|
2198
2241
|
linkedin: {
|
|
2199
|
-
icon: /* @__PURE__ */ (0,
|
|
2242
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
|
|
2200
2243
|
name: "LinkedIn",
|
|
2201
2244
|
onClick: () => login("linkedin")
|
|
2202
2245
|
},
|
|
2203
2246
|
facebook: {
|
|
2204
|
-
icon: /* @__PURE__ */ (0,
|
|
2247
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
|
|
2205
2248
|
name: "Facebook",
|
|
2206
2249
|
onClick: () => login("facebook")
|
|
2207
2250
|
},
|
|
2208
2251
|
youtube: {
|
|
2209
|
-
icon: /* @__PURE__ */ (0,
|
|
2252
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
|
|
2210
2253
|
name: "Youtube",
|
|
2211
2254
|
onClick: () => login("youtube")
|
|
2212
2255
|
}
|
|
2213
2256
|
};
|
|
2214
2257
|
const walletMap = {
|
|
2215
2258
|
evm: {
|
|
2216
|
-
icon: /* @__PURE__ */ (0,
|
|
2217
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2259
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2260
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2218
2261
|
name: "EVM",
|
|
2219
2262
|
onClick: () => login("evm")
|
|
2220
2263
|
},
|
|
2221
2264
|
sol: {
|
|
2222
|
-
icon: /* @__PURE__ */ (0,
|
|
2223
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2265
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2266
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2224
2267
|
name: "SOL",
|
|
2225
2268
|
onClick: () => login("sol")
|
|
2269
|
+
},
|
|
2270
|
+
btc: {
|
|
2271
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2272
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2273
|
+
name: "BTC",
|
|
2274
|
+
onClick: () => login("btc")
|
|
2226
2275
|
}
|
|
2227
2276
|
};
|
|
2228
|
-
return /* @__PURE__ */ (0,
|
|
2229
|
-
(!inModal || !emailOpen) && /* @__PURE__ */ (0,
|
|
2230
|
-
/* @__PURE__ */ (0,
|
|
2231
|
-
return /* @__PURE__ */ (0,
|
|
2277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
2278
|
+
(!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-box", children: [
|
|
2279
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-list", children: recommendMethods.map((m) => {
|
|
2280
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2232
2281
|
RecommendItem,
|
|
2233
2282
|
{
|
|
2234
2283
|
icon: methodMap[m]?.icon,
|
|
2235
2284
|
name: methodMap[m]?.name,
|
|
2236
2285
|
onClick: methodMap[m]?.onClick,
|
|
2237
2286
|
showChildren: m == "wallet" && showWallet,
|
|
2238
|
-
children: m == "wallet" && /* @__PURE__ */ (0,
|
|
2239
|
-
/* @__PURE__ */ (0,
|
|
2240
|
-
/* @__PURE__ */ (0,
|
|
2287
|
+
children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
2288
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
|
|
2289
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: walletMethods.map((n) => {
|
|
2241
2290
|
const m2 = walletMap[n];
|
|
2242
|
-
return /* @__PURE__ */ (0,
|
|
2291
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2243
2292
|
"div",
|
|
2244
2293
|
{
|
|
2245
2294
|
className: "matchid-login-recommend-wallet-item",
|
|
2246
2295
|
onClick: m2.onClick,
|
|
2247
2296
|
children: [
|
|
2248
|
-
/* @__PURE__ */ (0,
|
|
2249
|
-
/* @__PURE__ */ (0,
|
|
2250
|
-
/* @__PURE__ */ (0,
|
|
2297
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
|
|
2298
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
|
|
2299
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2251
2300
|
"div",
|
|
2252
2301
|
{
|
|
2253
2302
|
className: "matchid-login-recommend-wallet-item-hover-icon",
|
|
2254
2303
|
children: m2.activeIcon
|
|
2255
2304
|
}
|
|
2256
2305
|
),
|
|
2257
|
-
/* @__PURE__ */ (0,
|
|
2306
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2258
2307
|
"span",
|
|
2259
2308
|
{
|
|
2260
2309
|
className: "matchid-login-recommend-wallet-item-name",
|
|
@@ -2262,7 +2311,7 @@ function LoginBox({
|
|
|
2262
2311
|
}
|
|
2263
2312
|
)
|
|
2264
2313
|
] }),
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2314
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2266
2315
|
ArrowRightIcon,
|
|
2267
2316
|
{
|
|
2268
2317
|
className: "matchid-login-recommend-wallet-item-arrow",
|
|
@@ -2280,10 +2329,10 @@ function LoginBox({
|
|
|
2280
2329
|
m
|
|
2281
2330
|
);
|
|
2282
2331
|
}) }),
|
|
2283
|
-
methods.length > 0 && /* @__PURE__ */ (0,
|
|
2284
|
-
/* @__PURE__ */ (0,
|
|
2285
|
-
/* @__PURE__ */ (0,
|
|
2286
|
-
return /* @__PURE__ */ (0,
|
|
2332
|
+
methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-other", children: [
|
|
2333
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_intl8.FormattedMessage, { id: "otherLoginMethods" }) }),
|
|
2334
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
|
|
2335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2287
2336
|
"div",
|
|
2288
2337
|
{
|
|
2289
2338
|
className: "matchid-login-method-item",
|
|
@@ -2296,7 +2345,7 @@ function LoginBox({
|
|
|
2296
2345
|
}) })
|
|
2297
2346
|
] })
|
|
2298
2347
|
] }),
|
|
2299
|
-
/* @__PURE__ */ (0,
|
|
2348
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2300
2349
|
EmailModal,
|
|
2301
2350
|
{
|
|
2302
2351
|
isOpen: emailOpen,
|
|
@@ -2316,40 +2365,40 @@ var import_react18 = require("react");
|
|
|
2316
2365
|
|
|
2317
2366
|
// src/components/LoginPanel/index.tsx
|
|
2318
2367
|
var import_react_intl9 = require("react-intl");
|
|
2319
|
-
var
|
|
2368
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2320
2369
|
function LoginPanel({
|
|
2321
2370
|
header,
|
|
2322
2371
|
onClose,
|
|
2323
2372
|
...props
|
|
2324
2373
|
}) {
|
|
2325
2374
|
const isDownMd = useDownMd();
|
|
2326
|
-
return /* @__PURE__ */ (0,
|
|
2327
|
-
header ? header : /* @__PURE__ */ (0,
|
|
2328
|
-
/* @__PURE__ */ (0,
|
|
2329
|
-
/* @__PURE__ */ (0,
|
|
2330
|
-
/* @__PURE__ */ (0,
|
|
2375
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-login-panel", children: [
|
|
2376
|
+
header ? header : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-login-panel-header", children: [
|
|
2377
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
|
|
2378
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_intl9.FormattedMessage, { id: "loginTitle" }) }),
|
|
2379
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_intl9.FormattedMessage, { id: "loginTips" }) })
|
|
2331
2380
|
] }),
|
|
2332
|
-
onClose && /* @__PURE__ */ (0,
|
|
2381
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
|
|
2333
2382
|
] }),
|
|
2334
|
-
/* @__PURE__ */ (0,
|
|
2335
|
-
/* @__PURE__ */ (0,
|
|
2383
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-divide" }),
|
|
2384
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(LoginBox, { ...props }) })
|
|
2336
2385
|
] });
|
|
2337
2386
|
}
|
|
2338
2387
|
|
|
2339
2388
|
// src/components/LoginModal/index.tsx
|
|
2340
|
-
var
|
|
2389
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2341
2390
|
function LoginModal({
|
|
2342
2391
|
isOpen = false,
|
|
2343
2392
|
width = 480,
|
|
2344
2393
|
...props
|
|
2345
2394
|
}) {
|
|
2346
2395
|
const { isLogin } = useUserInfo();
|
|
2347
|
-
return /* @__PURE__ */ (0,
|
|
2396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2348
2397
|
Modal,
|
|
2349
2398
|
{
|
|
2350
2399
|
isOpen: isOpen && !isLogin,
|
|
2351
2400
|
width,
|
|
2352
|
-
children: /* @__PURE__ */ (0,
|
|
2401
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(LoginPanel, { ...props, inModal: true })
|
|
2353
2402
|
}
|
|
2354
2403
|
);
|
|
2355
2404
|
}
|
|
@@ -2358,10 +2407,10 @@ function LoginModal({
|
|
|
2358
2407
|
var import_react17 = require("react");
|
|
2359
2408
|
|
|
2360
2409
|
// src/assets/icon/ProfileIcon.tsx
|
|
2361
|
-
var
|
|
2410
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2362
2411
|
function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
2363
|
-
return /* @__PURE__ */ (0,
|
|
2364
|
-
/* @__PURE__ */ (0,
|
|
2412
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2413
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2365
2414
|
"path",
|
|
2366
2415
|
{
|
|
2367
2416
|
fillRule: "evenodd",
|
|
@@ -2370,7 +2419,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2370
2419
|
fill: color
|
|
2371
2420
|
}
|
|
2372
2421
|
),
|
|
2373
|
-
/* @__PURE__ */ (0,
|
|
2422
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2374
2423
|
"path",
|
|
2375
2424
|
{
|
|
2376
2425
|
fillRule: "evenodd",
|
|
@@ -2384,7 +2433,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2384
2433
|
|
|
2385
2434
|
// src/components/UserPopover/index.tsx
|
|
2386
2435
|
var import_react_intl10 = require("react-intl");
|
|
2387
|
-
var
|
|
2436
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2388
2437
|
function UserContent() {
|
|
2389
2438
|
const { logout, address, username } = useUserInfo();
|
|
2390
2439
|
const [logouting, setLogouting] = (0, import_react17.useState)(false);
|
|
@@ -2405,34 +2454,34 @@ function UserContent() {
|
|
|
2405
2454
|
rightIcon,
|
|
2406
2455
|
onClick
|
|
2407
2456
|
}) => {
|
|
2408
|
-
return /* @__PURE__ */ (0,
|
|
2409
|
-
/* @__PURE__ */ (0,
|
|
2457
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
|
|
2458
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
|
|
2410
2459
|
icon,
|
|
2411
|
-
/* @__PURE__ */ (0,
|
|
2460
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-user-popover-item-text", children })
|
|
2412
2461
|
] }),
|
|
2413
2462
|
rightIcon
|
|
2414
2463
|
] });
|
|
2415
2464
|
};
|
|
2416
2465
|
const UserDivider = () => {
|
|
2417
|
-
return /* @__PURE__ */ (0,
|
|
2466
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: `matchid-user-popover-divider` });
|
|
2418
2467
|
};
|
|
2419
2468
|
const [usernameOpen, setUsernameOpen] = (0, import_react17.useState)(false);
|
|
2420
2469
|
const [copied, setCopied] = useCopyClipboard();
|
|
2421
2470
|
const intl = (0, import_react_intl10.useIntl)();
|
|
2422
|
-
return /* @__PURE__ */ (0,
|
|
2423
|
-
/* @__PURE__ */ (0,
|
|
2424
|
-
/* @__PURE__ */ (0,
|
|
2471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-user-popover-content", children: [
|
|
2472
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-user-popover-list", children: [
|
|
2473
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserItem, { onClick: () => {
|
|
2425
2474
|
setCopied(address);
|
|
2426
|
-
}, icon: copied ? /* @__PURE__ */ (0,
|
|
2427
|
-
/* @__PURE__ */ (0,
|
|
2428
|
-
/* @__PURE__ */ (0,
|
|
2475
|
+
}, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
|
|
2476
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserDivider, {}),
|
|
2477
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserItem, { onClick: () => {
|
|
2429
2478
|
setUsernameOpen(true);
|
|
2430
|
-
}, icon: /* @__PURE__ */ (0,
|
|
2479
|
+
}, icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
|
|
2431
2480
|
id: "setUsername"
|
|
2432
2481
|
}) })
|
|
2433
2482
|
] }),
|
|
2434
|
-
/* @__PURE__ */ (0,
|
|
2435
|
-
/* @__PURE__ */ (0,
|
|
2483
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_intl10.FormattedMessage, { id: "disconnect" }) }),
|
|
2484
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
|
|
2436
2485
|
setUsernameOpen(false);
|
|
2437
2486
|
}, onSuccess: () => {
|
|
2438
2487
|
setUsernameOpen(false);
|
|
@@ -2443,12 +2492,12 @@ function UserPopover({
|
|
|
2443
2492
|
children,
|
|
2444
2493
|
...props
|
|
2445
2494
|
}) {
|
|
2446
|
-
return /* @__PURE__ */ (0,
|
|
2495
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserContent, {}), children });
|
|
2447
2496
|
}
|
|
2448
2497
|
|
|
2449
2498
|
// src/components/LoginButton/index.tsx
|
|
2450
2499
|
var import_react_intl11 = require("react-intl");
|
|
2451
|
-
var
|
|
2500
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2452
2501
|
function LoginButton({
|
|
2453
2502
|
loginRender,
|
|
2454
2503
|
methods,
|
|
@@ -2464,8 +2513,8 @@ function LoginButton({
|
|
|
2464
2513
|
const { isLogin, username } = useUserInfo();
|
|
2465
2514
|
const [loginOpen, setLoginOpen] = (0, import_react18.useState)(false);
|
|
2466
2515
|
if (!isLogin) {
|
|
2467
|
-
return /* @__PURE__ */ (0,
|
|
2468
|
-
/* @__PURE__ */ (0,
|
|
2516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
|
|
2517
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2469
2518
|
LoginModal,
|
|
2470
2519
|
{
|
|
2471
2520
|
methods,
|
|
@@ -2475,15 +2524,15 @@ function LoginButton({
|
|
|
2475
2524
|
onClose: () => setLoginOpen(false)
|
|
2476
2525
|
}
|
|
2477
2526
|
),
|
|
2478
|
-
/* @__PURE__ */ (0,
|
|
2479
|
-
/* @__PURE__ */ (0,
|
|
2480
|
-
/* @__PURE__ */ (0,
|
|
2527
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
|
|
2528
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(UnLoginIcon_default, {}),
|
|
2529
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl11.FormattedMessage, { id: "login" }) })
|
|
2481
2530
|
] })
|
|
2482
2531
|
] });
|
|
2483
2532
|
}
|
|
2484
|
-
return loginRender ? /* @__PURE__ */ (0,
|
|
2485
|
-
/* @__PURE__ */ (0,
|
|
2486
|
-
/* @__PURE__ */ (0,
|
|
2533
|
+
return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
|
|
2534
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(LoginIcon_default, {}),
|
|
2535
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
|
|
2487
2536
|
id: "user"
|
|
2488
2537
|
}) })
|
|
2489
2538
|
] }) });
|
|
@@ -2493,14 +2542,14 @@ function LoginButton({
|
|
|
2493
2542
|
var import_react19 = require("react");
|
|
2494
2543
|
|
|
2495
2544
|
// src/assets/icon/InfoRoundIcon.tsx
|
|
2496
|
-
var
|
|
2545
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2497
2546
|
function InfoRoundIcon({
|
|
2498
2547
|
size,
|
|
2499
2548
|
color = "#6E6E6E",
|
|
2500
2549
|
...props
|
|
2501
2550
|
}) {
|
|
2502
|
-
return /* @__PURE__ */ (0,
|
|
2503
|
-
/* @__PURE__ */ (0,
|
|
2551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
2552
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2504
2553
|
"path",
|
|
2505
2554
|
{
|
|
2506
2555
|
fillRule: "evenodd",
|
|
@@ -2509,21 +2558,21 @@ function InfoRoundIcon({
|
|
|
2509
2558
|
fill: color
|
|
2510
2559
|
}
|
|
2511
2560
|
) }),
|
|
2512
|
-
/* @__PURE__ */ (0,
|
|
2561
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("clipPath", { id: "clip0_418_7746", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2513
2562
|
] });
|
|
2514
2563
|
}
|
|
2515
2564
|
|
|
2516
2565
|
// src/components/UsernameModal/index.tsx
|
|
2517
2566
|
var import_react_intl12 = require("react-intl");
|
|
2518
|
-
var
|
|
2567
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2519
2568
|
var ValidItem = ({
|
|
2520
2569
|
success = false,
|
|
2521
2570
|
text
|
|
2522
2571
|
}) => {
|
|
2523
2572
|
const isDownMd = useDownMd();
|
|
2524
|
-
return /* @__PURE__ */ (0,
|
|
2525
|
-
success ? /* @__PURE__ */ (0,
|
|
2526
|
-
/* @__PURE__ */ (0,
|
|
2573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
|
|
2574
|
+
success ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(InfoRoundIcon, { size: isDownMd ? 12 : 16 }),
|
|
2575
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { children: text })
|
|
2527
2576
|
] });
|
|
2528
2577
|
};
|
|
2529
2578
|
function UsernameModal({
|
|
@@ -2571,12 +2620,12 @@ function UsernameModal({
|
|
|
2571
2620
|
}
|
|
2572
2621
|
};
|
|
2573
2622
|
const intl = (0, import_react_intl12.useIntl)();
|
|
2574
|
-
return /* @__PURE__ */ (0,
|
|
2623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
2575
2624
|
id: username ? "editUsernameTitle" : "setUsernameTitle"
|
|
2576
|
-
}), children: /* @__PURE__ */ (0,
|
|
2577
|
-
/* @__PURE__ */ (0,
|
|
2625
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "matchid-username-box", children: [
|
|
2626
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Field, { label: intl.formatMessage({
|
|
2578
2627
|
id: "username"
|
|
2579
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
2628
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2580
2629
|
Input,
|
|
2581
2630
|
{
|
|
2582
2631
|
placeholder: intl.formatMessage({
|
|
@@ -2589,8 +2638,8 @@ function UsernameModal({
|
|
|
2589
2638
|
value: val
|
|
2590
2639
|
}
|
|
2591
2640
|
) }),
|
|
2592
|
-
/* @__PURE__ */ (0,
|
|
2593
|
-
/* @__PURE__ */ (0,
|
|
2641
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "matchid-valid", children: [
|
|
2642
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2594
2643
|
ValidItem,
|
|
2595
2644
|
{
|
|
2596
2645
|
success: isValid,
|
|
@@ -2599,16 +2648,16 @@ function UsernameModal({
|
|
|
2599
2648
|
})
|
|
2600
2649
|
}
|
|
2601
2650
|
),
|
|
2602
|
-
/* @__PURE__ */ (0,
|
|
2651
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
|
|
2603
2652
|
id: "usernameLengthError"
|
|
2604
2653
|
}) })
|
|
2605
2654
|
] }),
|
|
2606
|
-
/* @__PURE__ */ (0,
|
|
2655
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
|
|
2607
2656
|
marginTop: isDownMd ? "36px" : "64px"
|
|
2608
|
-
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
2609
|
-
/* @__PURE__ */ (0,
|
|
2657
|
+
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_intl12.FormattedMessage, { id: "confirm" }) }),
|
|
2658
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { style: {
|
|
2610
2659
|
marginTop: isDownMd ? "12px" : "24px"
|
|
2611
|
-
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0,
|
|
2660
|
+
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_intl12.FormattedMessage, { id: "nextTime" }) })
|
|
2612
2661
|
] }) });
|
|
2613
2662
|
}
|
|
2614
2663
|
|
|
@@ -2642,7 +2691,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
|
|
|
2642
2691
|
var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAABAsUlEQVR4Xu19CXQUx7X2vCUveS/vJdgx+yaJHQwI8G4w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XLlq1ahU99NBDdP/99xNi/DFqcNiwYcxOSNw7EEFecNcR4+ErMcz7hRde0Gb22bNnz+nU1FRF/egjxfgcMboYzp8/H/zll1+qvz9/Xj3/1VfqVwYWFRWhu0e9cOGCto20sLBQo3gz8P4ust/Bk3kwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDN/x/wHjsXZ4EUApzgAAAABJRU5ErkJggg==";
|
|
2643
2692
|
|
|
2644
2693
|
// src/components/WalletModalContent/index.tsx
|
|
2645
|
-
var
|
|
2694
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2646
2695
|
function WalletModalContent({
|
|
2647
2696
|
status,
|
|
2648
2697
|
error,
|
|
@@ -2707,12 +2756,12 @@ function WalletModalContent({
|
|
|
2707
2756
|
statusImage: walletConnectImage
|
|
2708
2757
|
};
|
|
2709
2758
|
}, [visible, connected, status, error, address]);
|
|
2710
|
-
return /* @__PURE__ */ (0,
|
|
2711
|
-
/* @__PURE__ */ (0,
|
|
2712
|
-
/* @__PURE__ */ (0,
|
|
2713
|
-
/* @__PURE__ */ (0,
|
|
2759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: `matchid-wallet-box`, children: [
|
|
2760
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: `matchid-wallet-content`, children: [
|
|
2761
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { src: pageData.statusImage }),
|
|
2762
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: pageData.isError ? "text-[#F7585E]" : "", children: pageData.text })
|
|
2714
2763
|
] }),
|
|
2715
|
-
/* @__PURE__ */ (0,
|
|
2764
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
2716
2765
|
Button,
|
|
2717
2766
|
{
|
|
2718
2767
|
block: true,
|
|
@@ -2727,7 +2776,7 @@ function WalletModalContent({
|
|
|
2727
2776
|
}
|
|
2728
2777
|
|
|
2729
2778
|
// src/components/SOLModal/index.tsx
|
|
2730
|
-
var
|
|
2779
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2731
2780
|
function WalletContent({
|
|
2732
2781
|
onSuccess,
|
|
2733
2782
|
type
|
|
@@ -2806,7 +2855,7 @@ function WalletContent({
|
|
|
2806
2855
|
statusRef.current = "";
|
|
2807
2856
|
}
|
|
2808
2857
|
};
|
|
2809
|
-
return /* @__PURE__ */ (0,
|
|
2858
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2810
2859
|
WalletModalContent,
|
|
2811
2860
|
{
|
|
2812
2861
|
connected: wallet.connected,
|
|
@@ -2867,17 +2916,17 @@ function SOLModal({
|
|
|
2867
2916
|
...props
|
|
2868
2917
|
}) {
|
|
2869
2918
|
const intl = (0, import_react_intl13.useIntl)();
|
|
2870
|
-
return /* @__PURE__ */ (0,
|
|
2919
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
2871
2920
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
2872
2921
|
}, {
|
|
2873
2922
|
name: "SOL"
|
|
2874
|
-
}), children: /* @__PURE__ */ (0,
|
|
2923
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_wallet_adapter_react.ConnectionProvider, { endpoint: (0, import_web3.clusterApiUrl)("devnet"), children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_wallet_adapter_react.WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_wallet_adapter_react_ui.WalletModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(WalletContent, { onSuccess, type }) }) }) }) });
|
|
2875
2924
|
}
|
|
2876
2925
|
|
|
2877
2926
|
// src/components/TronModal/index.tsx
|
|
2878
2927
|
var import_react22 = __toESM(require("react"));
|
|
2879
2928
|
var import_react_intl14 = require("react-intl");
|
|
2880
|
-
var
|
|
2929
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2881
2930
|
function WalletContent2({
|
|
2882
2931
|
onSuccess,
|
|
2883
2932
|
type
|
|
@@ -2977,7 +3026,7 @@ function WalletContent2({
|
|
|
2977
3026
|
statusRef.current = "";
|
|
2978
3027
|
}
|
|
2979
3028
|
};
|
|
2980
|
-
return /* @__PURE__ */ (0,
|
|
3029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2981
3030
|
WalletModalContent,
|
|
2982
3031
|
{
|
|
2983
3032
|
connected,
|
|
@@ -2997,13 +3046,13 @@ function TronModal({
|
|
|
2997
3046
|
...props
|
|
2998
3047
|
}) {
|
|
2999
3048
|
const intl = (0, import_react_intl14.useIntl)();
|
|
3000
|
-
return /* @__PURE__ */ (0,
|
|
3049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3001
3050
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3002
3051
|
}, {
|
|
3003
3052
|
name: "Tron"
|
|
3004
|
-
}), children: typeof window.tronWeb === "undefined" ? /* @__PURE__ */ (0,
|
|
3053
|
+
}), children: typeof window.tronWeb === "undefined" ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Button, { onClick: () => {
|
|
3005
3054
|
window.open("https://chromewebstore.google.com/detail/tronlink/ibnejdfjmmkpcnlpebklmnkoeoihofec");
|
|
3006
|
-
}, children: "Install TronLink extension" }) : /* @__PURE__ */ (0,
|
|
3055
|
+
}, children: "Install TronLink extension" }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(WalletContent2, { onSuccess, type }) });
|
|
3007
3056
|
}
|
|
3008
3057
|
|
|
3009
3058
|
// src/components/BTCModal/index.tsx
|
|
@@ -3183,7 +3232,7 @@ var useBTCWallet = () => {
|
|
|
3183
3232
|
};
|
|
3184
3233
|
|
|
3185
3234
|
// src/components/BTCModal/index.tsx
|
|
3186
|
-
var
|
|
3235
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3187
3236
|
function BTCModal({
|
|
3188
3237
|
type = "login",
|
|
3189
3238
|
onSuccess,
|
|
@@ -3193,9 +3242,9 @@ function BTCModal({
|
|
|
3193
3242
|
const intl = (0, import_react_intl15.useIntl)();
|
|
3194
3243
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
|
|
3195
3244
|
const iconMaps = {
|
|
3196
|
-
leather: /* @__PURE__ */ (0,
|
|
3197
|
-
unisat: /* @__PURE__ */ (0,
|
|
3198
|
-
xverse: /* @__PURE__ */ (0,
|
|
3245
|
+
leather: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
|
|
3246
|
+
unisat: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
|
|
3247
|
+
xverse: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
|
|
3199
3248
|
};
|
|
3200
3249
|
const { events, login } = useMatch();
|
|
3201
3250
|
const [status, setStatus] = (0, import_react24.useState)("");
|
|
@@ -3280,13 +3329,13 @@ function BTCModal({
|
|
|
3280
3329
|
disconnect();
|
|
3281
3330
|
}
|
|
3282
3331
|
}, [props.isOpen]);
|
|
3283
|
-
return /* @__PURE__ */ (0,
|
|
3332
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3284
3333
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3285
3334
|
}, {
|
|
3286
3335
|
name: "BTC"
|
|
3287
3336
|
}), onBack: wallet ? () => {
|
|
3288
3337
|
chooseWallet(null);
|
|
3289
|
-
} : void 0, children: wallet ? /* @__PURE__ */ (0,
|
|
3338
|
+
} : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3290
3339
|
WalletModalContent,
|
|
3291
3340
|
{
|
|
3292
3341
|
error,
|
|
@@ -3299,9 +3348,9 @@ function BTCModal({
|
|
|
3299
3348
|
setVisible: () => {
|
|
3300
3349
|
}
|
|
3301
3350
|
}
|
|
3302
|
-
) : /* @__PURE__ */ (0,
|
|
3351
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-login-recommend-list", children: [
|
|
3303
3352
|
installedWallets.map((wallet2) => {
|
|
3304
|
-
return /* @__PURE__ */ (0,
|
|
3353
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3305
3354
|
RecommendItem,
|
|
3306
3355
|
{
|
|
3307
3356
|
icon: iconMaps[wallet2.walletKey],
|
|
@@ -3314,14 +3363,14 @@ function BTCModal({
|
|
|
3314
3363
|
);
|
|
3315
3364
|
}),
|
|
3316
3365
|
wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
|
|
3317
|
-
return /* @__PURE__ */ (0,
|
|
3366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3318
3367
|
RecommendItem,
|
|
3319
3368
|
{
|
|
3320
3369
|
icon: iconMaps[wallet2.walletKey],
|
|
3321
3370
|
name: wallet2.name,
|
|
3322
3371
|
onClick: () => {
|
|
3323
3372
|
},
|
|
3324
|
-
footer: /* @__PURE__ */ (0,
|
|
3373
|
+
footer: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { size: "sm", onClick: () => {
|
|
3325
3374
|
window.open(wallet2.website);
|
|
3326
3375
|
}, children: "Install" })
|
|
3327
3376
|
},
|