@matchain/matchid-sdk-react 0.1.40-alpha.5 → 0.1.40-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 +5 -1
- package/dist/assets/icon/index.d.ts +5 -1
- package/dist/assets/icon/index.js +56 -0
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +5 -1
- package/dist/{chunk-6PWH7WZI.mjs → chunk-BITZKMMQ.mjs} +56 -2
- package/dist/chunk-BITZKMMQ.mjs.map +1 -0
- package/dist/{chunk-222KVWTM.mjs → chunk-GLKKSZVE.mjs} +10 -2
- package/dist/chunk-GLKKSZVE.mjs.map +1 -0
- package/dist/{chunk-XN6V3UI6.mjs → chunk-O5LWWS2O.mjs} +2 -2
- package/dist/components/index.js +265 -207
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.js +33 -27
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +3 -3
- package/dist/hooks/index.js +33 -27
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.js +299 -241
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-222KVWTM.mjs.map +0 -1
- package/dist/chunk-6PWH7WZI.mjs.map +0 -1
- /package/dist/{chunk-XN6V3UI6.mjs.map → chunk-O5LWWS2O.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1044,6 +1044,58 @@ function BitgetIcon({
|
|
|
1044
1044
|
);
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
|
+
// src/assets/icon/TonDarkIcon.tsx
|
|
1048
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1049
|
+
function TonLightIcon({ size = 40, ...props }) {
|
|
1050
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1051
|
+
"svg",
|
|
1052
|
+
{
|
|
1053
|
+
width: size,
|
|
1054
|
+
height: size,
|
|
1055
|
+
...props,
|
|
1056
|
+
viewBox: "0 0 40 40",
|
|
1057
|
+
fill: "none",
|
|
1058
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1059
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1060
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1061
|
+
"path",
|
|
1062
|
+
{
|
|
1063
|
+
stroke: "null",
|
|
1064
|
+
id: "svg_2",
|
|
1065
|
+
fill: "black",
|
|
1066
|
+
d: "m30.841054,3.945949l-21.683337,0c-3.986794,0 -6.513721,4.300562 -4.507964,7.777185l13.382147,23.195025c0.873266,1.514524 3.061705,1.514524 3.934972,0l13.384868,-23.195025c2.003036,-3.471067 -0.523892,-7.777185 -4.507964,-7.777185l-0.002722,0zm-12.82004,24.016356l-2.914403,-5.640455l-7.03217,-12.577145c-0.463905,-0.805002 0.109087,-1.83657 1.080555,-1.83657l8.863296,0l0,20.056891l0.002722,-0.002722zm13.897874,-18.220321l-7.029448,12.582588l-2.914403,5.637733l0,-20.056891l8.863296,0c0.971468,0 1.54446,1.031568 1.080555,1.83657z"
|
|
1067
|
+
}
|
|
1068
|
+
)
|
|
1069
|
+
}
|
|
1070
|
+
);
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
// src/assets/icon/TonLightIcon.tsx
|
|
1074
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1075
|
+
function TonLightIcon2({ size = 40, ...props }) {
|
|
1076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1077
|
+
"svg",
|
|
1078
|
+
{
|
|
1079
|
+
width: size,
|
|
1080
|
+
height: size,
|
|
1081
|
+
...props,
|
|
1082
|
+
viewBox: "0 0 40 40",
|
|
1083
|
+
fill: "none",
|
|
1084
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1085
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1086
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1087
|
+
"path",
|
|
1088
|
+
{
|
|
1089
|
+
stroke: "null",
|
|
1090
|
+
id: "svg_2",
|
|
1091
|
+
fill: "white",
|
|
1092
|
+
d: "m30.841054,3.945949l-21.683337,0c-3.986794,0 -6.513721,4.300562 -4.507964,7.777185l13.382147,23.195025c0.873266,1.514524 3.061705,1.514524 3.934972,0l13.384868,-23.195025c2.003036,-3.471067 -0.523892,-7.777185 -4.507964,-7.777185l-0.002722,0zm-12.82004,24.016356l-2.914403,-5.640455l-7.03217,-12.577145c-0.463905,-0.805002 0.109087,-1.83657 1.080555,-1.83657l8.863296,0l0,20.056891l0.002722,-0.002722zm13.897874,-18.220321l-7.029448,12.582588l-2.914403,5.637733l0,-20.056891l8.863296,0c0.971468,0 1.54446,1.031568 1.080555,1.83657z"
|
|
1093
|
+
}
|
|
1094
|
+
)
|
|
1095
|
+
}
|
|
1096
|
+
);
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1047
1099
|
// src/hooks/useLayout.tsx
|
|
1048
1100
|
var useLayout_exports = {};
|
|
1049
1101
|
__export(useLayout_exports, {
|
|
@@ -1065,7 +1117,7 @@ function useDownMd() {
|
|
|
1065
1117
|
}
|
|
1066
1118
|
|
|
1067
1119
|
// src/components/Modal/index.tsx
|
|
1068
|
-
var
|
|
1120
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1069
1121
|
function Modal({
|
|
1070
1122
|
children,
|
|
1071
1123
|
isOpen,
|
|
@@ -1073,21 +1125,21 @@ function Modal({
|
|
|
1073
1125
|
zIndex = 100,
|
|
1074
1126
|
className = ""
|
|
1075
1127
|
}) {
|
|
1076
|
-
return isOpen ? /* @__PURE__ */ (0,
|
|
1128
|
+
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1077
1129
|
"div",
|
|
1078
1130
|
{
|
|
1079
1131
|
className: "matchid-overlay",
|
|
1080
1132
|
style: {
|
|
1081
1133
|
zIndex
|
|
1082
1134
|
},
|
|
1083
|
-
children: /* @__PURE__ */ (0,
|
|
1135
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: `matchid-modal ${className}`, style: {
|
|
1084
1136
|
width
|
|
1085
1137
|
}, children: [
|
|
1086
|
-
/* @__PURE__ */ (0,
|
|
1138
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "matchid-modal-mobile-header" }),
|
|
1087
1139
|
children
|
|
1088
1140
|
] })
|
|
1089
1141
|
}
|
|
1090
|
-
) : /* @__PURE__ */ (0,
|
|
1142
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, {});
|
|
1091
1143
|
}
|
|
1092
1144
|
function ModalWithHeader({
|
|
1093
1145
|
children,
|
|
@@ -1099,13 +1151,13 @@ function ModalWithHeader({
|
|
|
1099
1151
|
...props
|
|
1100
1152
|
}) {
|
|
1101
1153
|
const isDownMd = useDownMd();
|
|
1102
|
-
return /* @__PURE__ */ (0,
|
|
1103
|
-
/* @__PURE__ */ (0,
|
|
1104
|
-
/* @__PURE__ */ (0,
|
|
1105
|
-
onBack && /* @__PURE__ */ (0,
|
|
1106
|
-
/* @__PURE__ */ (0,
|
|
1154
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Modal, { ...props, children: [
|
|
1155
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
|
|
1156
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "matchid-modal-header-content", children: [
|
|
1157
|
+
onBack && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
|
|
1158
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "matchid-modal-header-title", children: title })
|
|
1107
1159
|
] }),
|
|
1108
|
-
onClose && /* @__PURE__ */ (0,
|
|
1160
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
|
|
1109
1161
|
] }),
|
|
1110
1162
|
children
|
|
1111
1163
|
] });
|
|
@@ -1116,7 +1168,7 @@ var import_react6 = require("react");
|
|
|
1116
1168
|
|
|
1117
1169
|
// src/components/Input/index.tsx
|
|
1118
1170
|
var import_react2 = require("react");
|
|
1119
|
-
var
|
|
1171
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1120
1172
|
function Input({
|
|
1121
1173
|
onChange,
|
|
1122
1174
|
type,
|
|
@@ -1126,17 +1178,17 @@ function Input({
|
|
|
1126
1178
|
}) {
|
|
1127
1179
|
const [inputType, setInputType] = (0, import_react2.useState)(type);
|
|
1128
1180
|
const isDownMd = useDownMd();
|
|
1129
|
-
return /* @__PURE__ */ (0,
|
|
1181
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
1130
1182
|
"div",
|
|
1131
1183
|
{
|
|
1132
1184
|
className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
|
|
1133
1185
|
children: [
|
|
1134
|
-
/* @__PURE__ */ (0,
|
|
1135
|
-
props.value && props.value.length > 0 && /* @__PURE__ */ (0,
|
|
1186
|
+
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
|
|
1187
|
+
props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
|
|
1136
1188
|
if (onChange) {
|
|
1137
1189
|
onChange({ target: { value: "" } });
|
|
1138
1190
|
}
|
|
1139
|
-
}, children: /* @__PURE__ */ (0,
|
|
1191
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1140
1192
|
DeleteRoundIcon,
|
|
1141
1193
|
{
|
|
1142
1194
|
height: isDownMd ? 16 : 21,
|
|
@@ -1144,9 +1196,9 @@ function Input({
|
|
|
1144
1196
|
color: "var(--matchid-input-delete-icon-color)"
|
|
1145
1197
|
}
|
|
1146
1198
|
) }),
|
|
1147
|
-
type === "password" && /* @__PURE__ */ (0,
|
|
1199
|
+
type === "password" && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
|
|
1148
1200
|
setInputType(inputType === "password" ? "text" : "password");
|
|
1149
|
-
}, children: inputType === "password" ? /* @__PURE__ */ (0,
|
|
1201
|
+
}, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
|
|
1150
1202
|
after
|
|
1151
1203
|
]
|
|
1152
1204
|
}
|
|
@@ -1154,7 +1206,7 @@ function Input({
|
|
|
1154
1206
|
}
|
|
1155
1207
|
|
|
1156
1208
|
// src/components/Field/index.tsx
|
|
1157
|
-
var
|
|
1209
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1158
1210
|
function Field({
|
|
1159
1211
|
label,
|
|
1160
1212
|
children,
|
|
@@ -1162,18 +1214,18 @@ function Field({
|
|
|
1162
1214
|
required,
|
|
1163
1215
|
className = ""
|
|
1164
1216
|
}) {
|
|
1165
|
-
return /* @__PURE__ */ (0,
|
|
1166
|
-
/* @__PURE__ */ (0,
|
|
1167
|
-
required && /* @__PURE__ */ (0,
|
|
1217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
|
|
1218
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "matchid-field-label", children: [
|
|
1219
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "matchid-field-required", children: "*" }),
|
|
1168
1220
|
label
|
|
1169
1221
|
] }),
|
|
1170
1222
|
children,
|
|
1171
|
-
error && /* @__PURE__ */ (0,
|
|
1223
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "matchid-field-error", children: error })
|
|
1172
1224
|
] });
|
|
1173
1225
|
}
|
|
1174
1226
|
|
|
1175
1227
|
// src/components/Button/index.tsx
|
|
1176
|
-
var
|
|
1228
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1177
1229
|
function Button({
|
|
1178
1230
|
size = "df",
|
|
1179
1231
|
disabled = false,
|
|
@@ -1192,7 +1244,7 @@ function Button({
|
|
|
1192
1244
|
onClick && onClick();
|
|
1193
1245
|
}
|
|
1194
1246
|
};
|
|
1195
|
-
return /* @__PURE__ */ (0,
|
|
1247
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1196
1248
|
"button",
|
|
1197
1249
|
{
|
|
1198
1250
|
type,
|
|
@@ -1202,7 +1254,7 @@ function Button({
|
|
|
1202
1254
|
...style
|
|
1203
1255
|
},
|
|
1204
1256
|
onClick: onAction,
|
|
1205
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
1257
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
|
|
1206
1258
|
}
|
|
1207
1259
|
);
|
|
1208
1260
|
}
|
|
@@ -2031,7 +2083,7 @@ function useCopyClipboard(timeout = 500) {
|
|
|
2031
2083
|
|
|
2032
2084
|
// src/components/PasswordModal/index.tsx
|
|
2033
2085
|
var import_react_intl = require("react-intl");
|
|
2034
|
-
var
|
|
2086
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
2035
2087
|
function PasswordModal({
|
|
2036
2088
|
title,
|
|
2037
2089
|
isOpen,
|
|
@@ -2089,15 +2141,15 @@ function PasswordModal({
|
|
|
2089
2141
|
setIsSubmitting(false);
|
|
2090
2142
|
}
|
|
2091
2143
|
};
|
|
2092
|
-
return /* @__PURE__ */ (0,
|
|
2144
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
2093
2145
|
id: "passwordTitle"
|
|
2094
|
-
}), children: /* @__PURE__ */ (0,
|
|
2095
|
-
/* @__PURE__ */ (0,
|
|
2096
|
-
/* @__PURE__ */ (0,
|
|
2097
|
-
/* @__PURE__ */ (0,
|
|
2146
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "matchid-password-box", children: [
|
|
2147
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "matchid-password-header", children: [
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(PasswordRoundIcon, {}) }),
|
|
2149
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_intl.FormattedMessage, { id: "passwordTips" }) })
|
|
2098
2150
|
] }),
|
|
2099
|
-
/* @__PURE__ */ (0,
|
|
2100
|
-
/* @__PURE__ */ (0,
|
|
2151
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "matchid-password-content", children: [
|
|
2152
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2101
2153
|
Input,
|
|
2102
2154
|
{
|
|
2103
2155
|
placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
|
|
@@ -2107,9 +2159,9 @@ function PasswordModal({
|
|
|
2107
2159
|
value: password
|
|
2108
2160
|
}
|
|
2109
2161
|
) }),
|
|
2110
|
-
/* @__PURE__ */ (0,
|
|
2162
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Field, { label: intl.formatMessage({
|
|
2111
2163
|
id: "rePassword"
|
|
2112
|
-
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0,
|
|
2164
|
+
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2113
2165
|
Input,
|
|
2114
2166
|
{
|
|
2115
2167
|
placeholder: intl.formatMessage({
|
|
@@ -2122,7 +2174,7 @@ function PasswordModal({
|
|
|
2122
2174
|
}
|
|
2123
2175
|
) })
|
|
2124
2176
|
] }),
|
|
2125
|
-
/* @__PURE__ */ (0,
|
|
2177
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
2126
2178
|
Button,
|
|
2127
2179
|
{
|
|
2128
2180
|
disabled: password.length == 0 || !!passwordError || !!rePasswordError,
|
|
@@ -2131,7 +2183,7 @@ function PasswordModal({
|
|
|
2131
2183
|
size: "lg",
|
|
2132
2184
|
onClick: onContinue,
|
|
2133
2185
|
loading: isSubmitting,
|
|
2134
|
-
children: /* @__PURE__ */ (0,
|
|
2186
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_intl.FormattedMessage, { id: "continue" })
|
|
2135
2187
|
}
|
|
2136
2188
|
)
|
|
2137
2189
|
] }) });
|
|
@@ -2140,7 +2192,7 @@ function PasswordModal({
|
|
|
2140
2192
|
// src/components/RecoveryModal/index.tsx
|
|
2141
2193
|
var import_react7 = require("react");
|
|
2142
2194
|
var import_react_intl2 = require("react-intl");
|
|
2143
|
-
var
|
|
2195
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
2144
2196
|
function RecoveryModal({
|
|
2145
2197
|
title,
|
|
2146
2198
|
isOpen,
|
|
@@ -2186,14 +2238,14 @@ function RecoveryModal({
|
|
|
2186
2238
|
setIsSubmitting(false);
|
|
2187
2239
|
}
|
|
2188
2240
|
};
|
|
2189
|
-
return /* @__PURE__ */ (0,
|
|
2241
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
2190
2242
|
id: "recoverTitle"
|
|
2191
|
-
}), children: /* @__PURE__ */ (0,
|
|
2192
|
-
/* @__PURE__ */ (0,
|
|
2193
|
-
/* @__PURE__ */ (0,
|
|
2194
|
-
/* @__PURE__ */ (0,
|
|
2243
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "matchid-password-box", children: [
|
|
2244
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "matchid-password-header", children: [
|
|
2245
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(PasswordRoundIcon, {}) }),
|
|
2246
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_intl2.FormattedMessage, { id: "recoverTips" }) })
|
|
2195
2247
|
] }),
|
|
2196
|
-
/* @__PURE__ */ (0,
|
|
2248
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "matchid-password-content", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 ? passwordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2197
2249
|
Input,
|
|
2198
2250
|
{
|
|
2199
2251
|
placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
|
|
@@ -2203,7 +2255,7 @@ function RecoveryModal({
|
|
|
2203
2255
|
value: password
|
|
2204
2256
|
}
|
|
2205
2257
|
) }) }),
|
|
2206
|
-
/* @__PURE__ */ (0,
|
|
2258
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
2207
2259
|
Button,
|
|
2208
2260
|
{
|
|
2209
2261
|
disabled: password.length == 0 || !!passwordError,
|
|
@@ -2212,7 +2264,7 @@ function RecoveryModal({
|
|
|
2212
2264
|
size: "lg",
|
|
2213
2265
|
onClick: onContinue,
|
|
2214
2266
|
loading: isSubmitting,
|
|
2215
|
-
children: /* @__PURE__ */ (0,
|
|
2267
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
|
|
2216
2268
|
}
|
|
2217
2269
|
)
|
|
2218
2270
|
] }) });
|
|
@@ -2246,7 +2298,7 @@ var import_react10 = require("react");
|
|
|
2246
2298
|
// src/components/EmailModal/StepEmail.tsx
|
|
2247
2299
|
var import_react8 = require("react");
|
|
2248
2300
|
var import_react_intl3 = require("react-intl");
|
|
2249
|
-
var
|
|
2301
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
2250
2302
|
function StepEmail(props) {
|
|
2251
2303
|
const intl = (0, import_react_intl3.useIntl)();
|
|
2252
2304
|
const [emailVal, setEmailVal] = (0, import_react8.useState)("");
|
|
@@ -2261,10 +2313,10 @@ function StepEmail(props) {
|
|
|
2261
2313
|
const onContinue = async () => {
|
|
2262
2314
|
props.onContinue(emailVal);
|
|
2263
2315
|
};
|
|
2264
|
-
return /* @__PURE__ */ (0,
|
|
2265
|
-
/* @__PURE__ */ (0,
|
|
2316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "matchid-email-email-box", children: [
|
|
2317
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Field, { label: intl.formatMessage({
|
|
2266
2318
|
id: "emailAddress"
|
|
2267
|
-
}), children: /* @__PURE__ */ (0,
|
|
2319
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
2268
2320
|
Input,
|
|
2269
2321
|
{
|
|
2270
2322
|
placeholder: intl.formatMessage({
|
|
@@ -2274,9 +2326,9 @@ function StepEmail(props) {
|
|
|
2274
2326
|
value: emailVal
|
|
2275
2327
|
}
|
|
2276
2328
|
) }),
|
|
2277
|
-
/* @__PURE__ */ (0,
|
|
2329
|
+
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { disabled: !canContinue, style: {
|
|
2278
2330
|
marginTop: "64px"
|
|
2279
|
-
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
2331
|
+
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_intl3.FormattedMessage, { id: "continue" }) })
|
|
2280
2332
|
] });
|
|
2281
2333
|
}
|
|
2282
2334
|
|
|
@@ -2289,7 +2341,7 @@ var EMAIL_CODE_LENGTH = 6;
|
|
|
2289
2341
|
|
|
2290
2342
|
// src/components/EmailModal/StepVerify.tsx
|
|
2291
2343
|
var import_react_intl4 = require("react-intl");
|
|
2292
|
-
var
|
|
2344
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
2293
2345
|
function StepVerify(props) {
|
|
2294
2346
|
const intl = (0, import_react_intl4.useIntl)();
|
|
2295
2347
|
const { getLoginEmailCode, loginByEmail } = useUserInfo();
|
|
@@ -2366,17 +2418,17 @@ function StepVerify(props) {
|
|
|
2366
2418
|
setSubmitting(false);
|
|
2367
2419
|
}
|
|
2368
2420
|
};
|
|
2369
|
-
return /* @__PURE__ */ (0,
|
|
2370
|
-
/* @__PURE__ */ (0,
|
|
2371
|
-
/* @__PURE__ */ (0,
|
|
2372
|
-
/* @__PURE__ */ (0,
|
|
2373
|
-
/* @__PURE__ */ (0,
|
|
2374
|
-
/* @__PURE__ */ (0,
|
|
2421
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-email-verify-box", children: [
|
|
2422
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-email-verify-header", children: [
|
|
2423
|
+
/* @__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 }) }),
|
|
2424
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
|
|
2425
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
|
|
2426
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_react_intl4.FormattedMessage, { id: "sendEmailTips" }) })
|
|
2375
2427
|
] })
|
|
2376
2428
|
] }),
|
|
2377
|
-
/* @__PURE__ */ (0,
|
|
2429
|
+
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Field, { label: intl.formatMessage({
|
|
2378
2430
|
id: "verificationCode"
|
|
2379
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
2431
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2380
2432
|
Input,
|
|
2381
2433
|
{
|
|
2382
2434
|
placeholder: intl.formatMessage({
|
|
@@ -2386,7 +2438,7 @@ function StepVerify(props) {
|
|
|
2386
2438
|
maxLength: codeLength,
|
|
2387
2439
|
onChange: (e) => setCode(e.target.value),
|
|
2388
2440
|
value: code,
|
|
2389
|
-
after: /* @__PURE__ */ (0,
|
|
2441
|
+
after: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2390
2442
|
Button,
|
|
2391
2443
|
{
|
|
2392
2444
|
highlight: true,
|
|
@@ -2405,13 +2457,13 @@ function StepVerify(props) {
|
|
|
2405
2457
|
)
|
|
2406
2458
|
}
|
|
2407
2459
|
) }),
|
|
2408
|
-
/* @__PURE__ */ (0,
|
|
2460
|
+
/* @__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_intl4.FormattedMessage, { id: "continue" }) })
|
|
2409
2461
|
] });
|
|
2410
2462
|
}
|
|
2411
2463
|
|
|
2412
2464
|
// src/components/EmailModal/index.tsx
|
|
2413
2465
|
var import_react_intl5 = require("react-intl");
|
|
2414
|
-
var
|
|
2466
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2415
2467
|
function EmailModal({
|
|
2416
2468
|
isOpen = false,
|
|
2417
2469
|
width = 480,
|
|
@@ -2428,7 +2480,7 @@ function EmailModal({
|
|
|
2428
2480
|
setEmailVal("");
|
|
2429
2481
|
}
|
|
2430
2482
|
}, [isOpen]);
|
|
2431
|
-
return /* @__PURE__ */ (0,
|
|
2483
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2432
2484
|
ModalWithHeader,
|
|
2433
2485
|
{
|
|
2434
2486
|
isOpen,
|
|
@@ -2438,17 +2490,17 @@ function EmailModal({
|
|
|
2438
2490
|
id: "email"
|
|
2439
2491
|
}),
|
|
2440
2492
|
onBack: step == "verify" ? () => setStep("input") : onBack,
|
|
2441
|
-
children: step === "input" ? /* @__PURE__ */ (0,
|
|
2493
|
+
children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
|
|
2442
2494
|
setEmailVal(email);
|
|
2443
2495
|
setStep("verify");
|
|
2444
|
-
} }) : /* @__PURE__ */ (0,
|
|
2496
|
+
} }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
|
|
2445
2497
|
}
|
|
2446
2498
|
);
|
|
2447
2499
|
}
|
|
2448
2500
|
|
|
2449
2501
|
// src/components/Popover/index.tsx
|
|
2450
2502
|
var import_react11 = require("react");
|
|
2451
|
-
var
|
|
2503
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2452
2504
|
function Popover({
|
|
2453
2505
|
children,
|
|
2454
2506
|
content,
|
|
@@ -2458,7 +2510,7 @@ function Popover({
|
|
|
2458
2510
|
gap = "20px"
|
|
2459
2511
|
}) {
|
|
2460
2512
|
const [active, setActive] = (0, import_react11.useState)(false);
|
|
2461
|
-
return children && /* @__PURE__ */ (0,
|
|
2513
|
+
return children && /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2462
2514
|
"div",
|
|
2463
2515
|
{
|
|
2464
2516
|
onClick: () => {
|
|
@@ -2469,9 +2521,9 @@ function Popover({
|
|
|
2469
2521
|
className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
|
|
2470
2522
|
children: [
|
|
2471
2523
|
children,
|
|
2472
|
-
/* @__PURE__ */ (0,
|
|
2524
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { style: {
|
|
2473
2525
|
paddingTop: gap
|
|
2474
|
-
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0,
|
|
2526
|
+
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: `matchid-popover-content`, children: content }) })
|
|
2475
2527
|
]
|
|
2476
2528
|
}
|
|
2477
2529
|
);
|
|
@@ -2480,7 +2532,7 @@ function Popover({
|
|
|
2480
2532
|
// src/components/LoginBox/index.tsx
|
|
2481
2533
|
var import_react12 = require("react");
|
|
2482
2534
|
var import_react_intl6 = require("react-intl");
|
|
2483
|
-
var
|
|
2535
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2484
2536
|
var RecommendItem = ({
|
|
2485
2537
|
icon,
|
|
2486
2538
|
name,
|
|
@@ -2489,20 +2541,20 @@ var RecommendItem = ({
|
|
|
2489
2541
|
children,
|
|
2490
2542
|
footer
|
|
2491
2543
|
}) => {
|
|
2492
|
-
return /* @__PURE__ */ (0,
|
|
2493
|
-
/* @__PURE__ */ (0,
|
|
2494
|
-
/* @__PURE__ */ (0,
|
|
2495
|
-
/* @__PURE__ */ (0,
|
|
2496
|
-
/* @__PURE__ */ (0,
|
|
2544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-method", children: [
|
|
2545
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
|
|
2546
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
|
|
2547
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
|
|
2548
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
|
|
2497
2549
|
] }),
|
|
2498
|
-
footer ? footer : children ? /* @__PURE__ */ (0,
|
|
2550
|
+
footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2499
2551
|
ArrowDownIcon,
|
|
2500
2552
|
{
|
|
2501
2553
|
className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
|
|
2502
2554
|
size: 20,
|
|
2503
2555
|
color: "var(--matchid-arrow-color)"
|
|
2504
2556
|
}
|
|
2505
|
-
) : /* @__PURE__ */ (0,
|
|
2557
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2506
2558
|
ArrowRightIcon,
|
|
2507
2559
|
{
|
|
2508
2560
|
className: "matchid-login-recommend-method-arrow",
|
|
@@ -2511,7 +2563,7 @@ var RecommendItem = ({
|
|
|
2511
2563
|
}
|
|
2512
2564
|
)
|
|
2513
2565
|
] }),
|
|
2514
|
-
children && /* @__PURE__ */ (0,
|
|
2566
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2515
2567
|
"div",
|
|
2516
2568
|
{
|
|
2517
2569
|
className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
|
|
@@ -2543,115 +2595,121 @@ function LoginBox({
|
|
|
2543
2595
|
const isDownMd = useDownMd();
|
|
2544
2596
|
const methodMap = {
|
|
2545
2597
|
wallet: {
|
|
2546
|
-
icon: /* @__PURE__ */ (0,
|
|
2598
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
|
|
2547
2599
|
name: intl.formatMessage({ id: "wallet" }),
|
|
2548
2600
|
onClick: () => setShowWallet(!showWallet),
|
|
2549
2601
|
type: "wallet"
|
|
2550
2602
|
},
|
|
2551
2603
|
email: {
|
|
2552
|
-
icon: /* @__PURE__ */ (0,
|
|
2604
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
|
|
2553
2605
|
name: intl.formatMessage({ id: "email" }),
|
|
2554
2606
|
onClick: () => {
|
|
2555
2607
|
setEmailOpen(true);
|
|
2556
2608
|
}
|
|
2557
2609
|
},
|
|
2558
2610
|
google: {
|
|
2559
|
-
icon: /* @__PURE__ */ (0,
|
|
2611
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
|
|
2560
2612
|
name: "Google",
|
|
2561
2613
|
onClick: () => login("google")
|
|
2562
2614
|
},
|
|
2563
2615
|
twitter: {
|
|
2564
|
-
icon: /* @__PURE__ */ (0,
|
|
2616
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
|
|
2565
2617
|
name: "X",
|
|
2566
2618
|
onClick: () => login("twitter")
|
|
2567
2619
|
},
|
|
2568
2620
|
telegram: {
|
|
2569
|
-
icon: /* @__PURE__ */ (0,
|
|
2621
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
|
|
2570
2622
|
name: "Telegram",
|
|
2571
2623
|
onClick: () => login("telegram")
|
|
2572
2624
|
},
|
|
2573
2625
|
github: {
|
|
2574
|
-
icon: /* @__PURE__ */ (0,
|
|
2626
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
|
|
2575
2627
|
name: "Github",
|
|
2576
2628
|
onClick: () => login("github")
|
|
2577
2629
|
},
|
|
2578
2630
|
discord: {
|
|
2579
|
-
icon: /* @__PURE__ */ (0,
|
|
2631
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
|
|
2580
2632
|
name: "Discord",
|
|
2581
2633
|
onClick: () => login("discord")
|
|
2582
2634
|
},
|
|
2583
2635
|
linkedin: {
|
|
2584
|
-
icon: /* @__PURE__ */ (0,
|
|
2636
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
|
|
2585
2637
|
name: "LinkedIn",
|
|
2586
2638
|
onClick: () => login("linkedin")
|
|
2587
2639
|
},
|
|
2588
2640
|
facebook: {
|
|
2589
|
-
icon: /* @__PURE__ */ (0,
|
|
2641
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
|
|
2590
2642
|
name: "Facebook",
|
|
2591
2643
|
onClick: () => login("facebook")
|
|
2592
2644
|
},
|
|
2593
2645
|
youtube: {
|
|
2594
|
-
icon: /* @__PURE__ */ (0,
|
|
2646
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
|
|
2595
2647
|
name: "Youtube",
|
|
2596
2648
|
onClick: () => login("youtube")
|
|
2597
2649
|
}
|
|
2598
2650
|
};
|
|
2599
2651
|
const walletMap = {
|
|
2600
2652
|
evm: {
|
|
2601
|
-
icon: /* @__PURE__ */ (0,
|
|
2602
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2653
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2654
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2603
2655
|
name: "EVM",
|
|
2604
2656
|
onClick: () => login("evm")
|
|
2605
2657
|
},
|
|
2606
2658
|
sol: {
|
|
2607
|
-
icon: /* @__PURE__ */ (0,
|
|
2608
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2659
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2660
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2609
2661
|
name: "SOL",
|
|
2610
2662
|
onClick: () => login("sol")
|
|
2611
2663
|
},
|
|
2612
2664
|
btc: {
|
|
2613
|
-
icon: /* @__PURE__ */ (0,
|
|
2614
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2665
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2666
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2615
2667
|
name: "BTC",
|
|
2616
2668
|
onClick: () => login("btc")
|
|
2617
2669
|
},
|
|
2618
2670
|
tron: {
|
|
2619
|
-
icon: /* @__PURE__ */ (0,
|
|
2620
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2671
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2672
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2621
2673
|
name: "TRON",
|
|
2622
2674
|
onClick: () => login("tron")
|
|
2675
|
+
},
|
|
2676
|
+
ton: {
|
|
2677
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2678
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
|
|
2679
|
+
name: "TON",
|
|
2680
|
+
onClick: () => login("ton")
|
|
2623
2681
|
}
|
|
2624
2682
|
};
|
|
2625
|
-
return /* @__PURE__ */ (0,
|
|
2626
|
-
(!inModal || !emailOpen) && /* @__PURE__ */ (0,
|
|
2627
|
-
/* @__PURE__ */ (0,
|
|
2628
|
-
return /* @__PURE__ */ (0,
|
|
2683
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
2684
|
+
(!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-box", children: [
|
|
2685
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-list", children: recommendMethods.map((m) => {
|
|
2686
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2629
2687
|
RecommendItem,
|
|
2630
2688
|
{
|
|
2631
2689
|
icon: methodMap[m]?.icon,
|
|
2632
2690
|
name: methodMap[m]?.name,
|
|
2633
2691
|
onClick: methodMap[m]?.onClick,
|
|
2634
2692
|
showChildren: m == "wallet" && showWallet,
|
|
2635
|
-
children: m == "wallet" && /* @__PURE__ */ (0,
|
|
2636
|
-
/* @__PURE__ */ (0,
|
|
2637
|
-
/* @__PURE__ */ (0,
|
|
2693
|
+
children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
|
|
2694
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
|
|
2695
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: walletMethods.map((n) => {
|
|
2638
2696
|
const m2 = walletMap[n];
|
|
2639
|
-
return /* @__PURE__ */ (0,
|
|
2697
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2640
2698
|
"div",
|
|
2641
2699
|
{
|
|
2642
2700
|
className: "matchid-login-recommend-wallet-item",
|
|
2643
2701
|
onClick: m2.onClick,
|
|
2644
2702
|
children: [
|
|
2645
|
-
/* @__PURE__ */ (0,
|
|
2646
|
-
/* @__PURE__ */ (0,
|
|
2647
|
-
/* @__PURE__ */ (0,
|
|
2703
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
|
|
2704
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
|
|
2705
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2648
2706
|
"div",
|
|
2649
2707
|
{
|
|
2650
2708
|
className: "matchid-login-recommend-wallet-item-hover-icon",
|
|
2651
2709
|
children: m2.activeIcon
|
|
2652
2710
|
}
|
|
2653
2711
|
),
|
|
2654
|
-
/* @__PURE__ */ (0,
|
|
2712
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2655
2713
|
"span",
|
|
2656
2714
|
{
|
|
2657
2715
|
className: "matchid-login-recommend-wallet-item-name",
|
|
@@ -2659,7 +2717,7 @@ function LoginBox({
|
|
|
2659
2717
|
}
|
|
2660
2718
|
)
|
|
2661
2719
|
] }),
|
|
2662
|
-
/* @__PURE__ */ (0,
|
|
2720
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2663
2721
|
ArrowRightIcon,
|
|
2664
2722
|
{
|
|
2665
2723
|
className: "matchid-login-recommend-wallet-item-arrow",
|
|
@@ -2677,10 +2735,10 @@ function LoginBox({
|
|
|
2677
2735
|
m
|
|
2678
2736
|
);
|
|
2679
2737
|
}) }),
|
|
2680
|
-
methods.length > 0 && /* @__PURE__ */ (0,
|
|
2681
|
-
/* @__PURE__ */ (0,
|
|
2682
|
-
/* @__PURE__ */ (0,
|
|
2683
|
-
return /* @__PURE__ */ (0,
|
|
2738
|
+
methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "matchid-login-other", children: [
|
|
2739
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_react_intl6.FormattedMessage, { id: "otherLoginMethods" }) }),
|
|
2740
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
|
|
2741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2684
2742
|
"div",
|
|
2685
2743
|
{
|
|
2686
2744
|
className: "matchid-login-method-item",
|
|
@@ -2693,7 +2751,7 @@ function LoginBox({
|
|
|
2693
2751
|
}) })
|
|
2694
2752
|
] })
|
|
2695
2753
|
] }),
|
|
2696
|
-
/* @__PURE__ */ (0,
|
|
2754
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2697
2755
|
EmailModal,
|
|
2698
2756
|
{
|
|
2699
2757
|
isOpen: emailOpen,
|
|
@@ -2713,40 +2771,40 @@ var import_react14 = require("react");
|
|
|
2713
2771
|
|
|
2714
2772
|
// src/components/LoginPanel/index.tsx
|
|
2715
2773
|
var import_react_intl7 = require("react-intl");
|
|
2716
|
-
var
|
|
2774
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2717
2775
|
function LoginPanel({
|
|
2718
2776
|
header,
|
|
2719
2777
|
onClose,
|
|
2720
2778
|
...props
|
|
2721
2779
|
}) {
|
|
2722
2780
|
const isDownMd = useDownMd();
|
|
2723
|
-
return /* @__PURE__ */ (0,
|
|
2724
|
-
header ? header : /* @__PURE__ */ (0,
|
|
2725
|
-
/* @__PURE__ */ (0,
|
|
2726
|
-
/* @__PURE__ */ (0,
|
|
2727
|
-
/* @__PURE__ */ (0,
|
|
2781
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-login-panel", children: [
|
|
2782
|
+
header ? header : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-login-panel-header", children: [
|
|
2783
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
|
|
2784
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_intl7.FormattedMessage, { id: "loginTitle" }) }),
|
|
2785
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_intl7.FormattedMessage, { id: "loginTips" }) })
|
|
2728
2786
|
] }),
|
|
2729
|
-
onClose && /* @__PURE__ */ (0,
|
|
2787
|
+
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 }) })
|
|
2730
2788
|
] }),
|
|
2731
|
-
/* @__PURE__ */ (0,
|
|
2732
|
-
/* @__PURE__ */ (0,
|
|
2789
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-divide" }),
|
|
2790
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(LoginBox, { ...props }) })
|
|
2733
2791
|
] });
|
|
2734
2792
|
}
|
|
2735
2793
|
|
|
2736
2794
|
// src/components/LoginModal/index.tsx
|
|
2737
|
-
var
|
|
2795
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2738
2796
|
function LoginModal({
|
|
2739
2797
|
isOpen = false,
|
|
2740
2798
|
width = 480,
|
|
2741
2799
|
...props
|
|
2742
2800
|
}) {
|
|
2743
2801
|
const { isLogin } = useUserInfo();
|
|
2744
|
-
return /* @__PURE__ */ (0,
|
|
2802
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2745
2803
|
Modal,
|
|
2746
2804
|
{
|
|
2747
2805
|
isOpen: isOpen && !isLogin,
|
|
2748
2806
|
width,
|
|
2749
|
-
children: /* @__PURE__ */ (0,
|
|
2807
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(LoginPanel, { ...props, inModal: true })
|
|
2750
2808
|
}
|
|
2751
2809
|
);
|
|
2752
2810
|
}
|
|
@@ -2755,10 +2813,10 @@ function LoginModal({
|
|
|
2755
2813
|
var import_react13 = require("react");
|
|
2756
2814
|
|
|
2757
2815
|
// src/assets/icon/ProfileIcon.tsx
|
|
2758
|
-
var
|
|
2816
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2759
2817
|
function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
2760
|
-
return /* @__PURE__ */ (0,
|
|
2761
|
-
/* @__PURE__ */ (0,
|
|
2818
|
+
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: [
|
|
2819
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2762
2820
|
"path",
|
|
2763
2821
|
{
|
|
2764
2822
|
fillRule: "evenodd",
|
|
@@ -2767,7 +2825,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2767
2825
|
fill: color
|
|
2768
2826
|
}
|
|
2769
2827
|
),
|
|
2770
|
-
/* @__PURE__ */ (0,
|
|
2828
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2771
2829
|
"path",
|
|
2772
2830
|
{
|
|
2773
2831
|
fillRule: "evenodd",
|
|
@@ -2781,7 +2839,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2781
2839
|
|
|
2782
2840
|
// src/components/UserPopover/index.tsx
|
|
2783
2841
|
var import_react_intl8 = require("react-intl");
|
|
2784
|
-
var
|
|
2842
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2785
2843
|
function UserContent() {
|
|
2786
2844
|
const { logout, address, username } = useUserInfo();
|
|
2787
2845
|
const [logouting, setLogouting] = (0, import_react13.useState)(false);
|
|
@@ -2802,34 +2860,34 @@ function UserContent() {
|
|
|
2802
2860
|
rightIcon,
|
|
2803
2861
|
onClick
|
|
2804
2862
|
}) => {
|
|
2805
|
-
return /* @__PURE__ */ (0,
|
|
2806
|
-
/* @__PURE__ */ (0,
|
|
2863
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
|
|
2864
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
|
|
2807
2865
|
icon,
|
|
2808
|
-
/* @__PURE__ */ (0,
|
|
2866
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-user-popover-item-text", children })
|
|
2809
2867
|
] }),
|
|
2810
2868
|
rightIcon
|
|
2811
2869
|
] });
|
|
2812
2870
|
};
|
|
2813
2871
|
const UserDivider = () => {
|
|
2814
|
-
return /* @__PURE__ */ (0,
|
|
2872
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: `matchid-user-popover-divider` });
|
|
2815
2873
|
};
|
|
2816
2874
|
const [usernameOpen, setUsernameOpen] = (0, import_react13.useState)(false);
|
|
2817
2875
|
const [copied, setCopied] = useCopyClipboard();
|
|
2818
2876
|
const intl = (0, import_react_intl8.useIntl)();
|
|
2819
|
-
return /* @__PURE__ */ (0,
|
|
2820
|
-
/* @__PURE__ */ (0,
|
|
2821
|
-
/* @__PURE__ */ (0,
|
|
2877
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-user-popover-content", children: [
|
|
2878
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-user-popover-list", children: [
|
|
2879
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserItem, { onClick: () => {
|
|
2822
2880
|
setCopied(address);
|
|
2823
|
-
}, icon: copied ? /* @__PURE__ */ (0,
|
|
2824
|
-
/* @__PURE__ */ (0,
|
|
2825
|
-
/* @__PURE__ */ (0,
|
|
2881
|
+
}, 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) }),
|
|
2882
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserDivider, {}),
|
|
2883
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserItem, { onClick: () => {
|
|
2826
2884
|
setUsernameOpen(true);
|
|
2827
|
-
}, icon: /* @__PURE__ */ (0,
|
|
2885
|
+
}, 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({
|
|
2828
2886
|
id: "setUsername"
|
|
2829
2887
|
}) })
|
|
2830
2888
|
] }),
|
|
2831
|
-
/* @__PURE__ */ (0,
|
|
2832
|
-
/* @__PURE__ */ (0,
|
|
2889
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_intl8.FormattedMessage, { id: "disconnect" }) }),
|
|
2890
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
|
|
2833
2891
|
setUsernameOpen(false);
|
|
2834
2892
|
}, onSuccess: () => {
|
|
2835
2893
|
setUsernameOpen(false);
|
|
@@ -2840,12 +2898,12 @@ function UserPopover({
|
|
|
2840
2898
|
children,
|
|
2841
2899
|
...props
|
|
2842
2900
|
}) {
|
|
2843
|
-
return /* @__PURE__ */ (0,
|
|
2901
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(UserContent, {}), children });
|
|
2844
2902
|
}
|
|
2845
2903
|
|
|
2846
2904
|
// src/components/LoginButton/index.tsx
|
|
2847
2905
|
var import_react_intl9 = require("react-intl");
|
|
2848
|
-
var
|
|
2906
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2849
2907
|
function LoginButton({
|
|
2850
2908
|
loginRender,
|
|
2851
2909
|
methods,
|
|
@@ -2861,8 +2919,8 @@ function LoginButton({
|
|
|
2861
2919
|
const { isLogin, username } = useUserInfo();
|
|
2862
2920
|
const [loginOpen, setLoginOpen] = (0, import_react14.useState)(false);
|
|
2863
2921
|
if (!isLogin) {
|
|
2864
|
-
return /* @__PURE__ */ (0,
|
|
2865
|
-
/* @__PURE__ */ (0,
|
|
2922
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
|
|
2923
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
2866
2924
|
LoginModal,
|
|
2867
2925
|
{
|
|
2868
2926
|
methods,
|
|
@@ -2872,15 +2930,15 @@ function LoginButton({
|
|
|
2872
2930
|
onClose: () => setLoginOpen(false)
|
|
2873
2931
|
}
|
|
2874
2932
|
),
|
|
2875
|
-
/* @__PURE__ */ (0,
|
|
2876
|
-
/* @__PURE__ */ (0,
|
|
2877
|
-
/* @__PURE__ */ (0,
|
|
2933
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
|
|
2934
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(UnLoginIcon_default, {}),
|
|
2935
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl9.FormattedMessage, { id: "login" }) })
|
|
2878
2936
|
] })
|
|
2879
2937
|
] });
|
|
2880
2938
|
}
|
|
2881
|
-
return loginRender ? /* @__PURE__ */ (0,
|
|
2882
|
-
/* @__PURE__ */ (0,
|
|
2883
|
-
/* @__PURE__ */ (0,
|
|
2939
|
+
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: [
|
|
2940
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(LoginIcon_default, {}),
|
|
2941
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
|
|
2884
2942
|
id: "user"
|
|
2885
2943
|
}) })
|
|
2886
2944
|
] }) });
|
|
@@ -2890,14 +2948,14 @@ function LoginButton({
|
|
|
2890
2948
|
var import_react15 = require("react");
|
|
2891
2949
|
|
|
2892
2950
|
// src/assets/icon/InfoRoundIcon.tsx
|
|
2893
|
-
var
|
|
2951
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2894
2952
|
function InfoRoundIcon({
|
|
2895
2953
|
size,
|
|
2896
2954
|
color = "#6E6E6E",
|
|
2897
2955
|
...props
|
|
2898
2956
|
}) {
|
|
2899
|
-
return /* @__PURE__ */ (0,
|
|
2900
|
-
/* @__PURE__ */ (0,
|
|
2957
|
+
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: [
|
|
2958
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2901
2959
|
"path",
|
|
2902
2960
|
{
|
|
2903
2961
|
fillRule: "evenodd",
|
|
@@ -2906,21 +2964,21 @@ function InfoRoundIcon({
|
|
|
2906
2964
|
fill: color
|
|
2907
2965
|
}
|
|
2908
2966
|
) }),
|
|
2909
|
-
/* @__PURE__ */ (0,
|
|
2967
|
+
/* @__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" }) }) })
|
|
2910
2968
|
] });
|
|
2911
2969
|
}
|
|
2912
2970
|
|
|
2913
2971
|
// src/components/UsernameModal/index.tsx
|
|
2914
2972
|
var import_react_intl10 = require("react-intl");
|
|
2915
|
-
var
|
|
2973
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2916
2974
|
var ValidItem = ({
|
|
2917
2975
|
success = false,
|
|
2918
2976
|
text
|
|
2919
2977
|
}) => {
|
|
2920
2978
|
const isDownMd = useDownMd();
|
|
2921
|
-
return /* @__PURE__ */ (0,
|
|
2922
|
-
success ? /* @__PURE__ */ (0,
|
|
2923
|
-
/* @__PURE__ */ (0,
|
|
2979
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
|
|
2980
|
+
success ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(InfoRoundIcon, { size: isDownMd ? 12 : 16 }),
|
|
2981
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { children: text })
|
|
2924
2982
|
] });
|
|
2925
2983
|
};
|
|
2926
2984
|
function UsernameModal({
|
|
@@ -2968,12 +3026,12 @@ function UsernameModal({
|
|
|
2968
3026
|
}
|
|
2969
3027
|
};
|
|
2970
3028
|
const intl = (0, import_react_intl10.useIntl)();
|
|
2971
|
-
return /* @__PURE__ */ (0,
|
|
3029
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
2972
3030
|
id: username ? "editUsernameTitle" : "setUsernameTitle"
|
|
2973
|
-
}), children: /* @__PURE__ */ (0,
|
|
2974
|
-
/* @__PURE__ */ (0,
|
|
3031
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "matchid-username-box", children: [
|
|
3032
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Field, { label: intl.formatMessage({
|
|
2975
3033
|
id: "username"
|
|
2976
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
3034
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2977
3035
|
Input,
|
|
2978
3036
|
{
|
|
2979
3037
|
placeholder: intl.formatMessage({
|
|
@@ -2986,8 +3044,8 @@ function UsernameModal({
|
|
|
2986
3044
|
value: val
|
|
2987
3045
|
}
|
|
2988
3046
|
) }),
|
|
2989
|
-
/* @__PURE__ */ (0,
|
|
2990
|
-
/* @__PURE__ */ (0,
|
|
3047
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "matchid-valid", children: [
|
|
3048
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2991
3049
|
ValidItem,
|
|
2992
3050
|
{
|
|
2993
3051
|
success: isValid,
|
|
@@ -2996,16 +3054,16 @@ function UsernameModal({
|
|
|
2996
3054
|
})
|
|
2997
3055
|
}
|
|
2998
3056
|
),
|
|
2999
|
-
/* @__PURE__ */ (0,
|
|
3057
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
|
|
3000
3058
|
id: "usernameLengthError"
|
|
3001
3059
|
}) })
|
|
3002
3060
|
] }),
|
|
3003
|
-
/* @__PURE__ */ (0,
|
|
3061
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
|
|
3004
3062
|
marginTop: isDownMd ? "36px" : "64px"
|
|
3005
|
-
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
3006
|
-
/* @__PURE__ */ (0,
|
|
3063
|
+
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_intl10.FormattedMessage, { id: "confirm" }) }),
|
|
3064
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Button, { style: {
|
|
3007
3065
|
marginTop: isDownMd ? "12px" : "24px"
|
|
3008
|
-
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0,
|
|
3066
|
+
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react_intl10.FormattedMessage, { id: "cancel" }) })
|
|
3009
3067
|
] }) });
|
|
3010
3068
|
}
|
|
3011
3069
|
|
|
@@ -3039,7 +3097,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
|
|
|
3039
3097
|
var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAABAsUlEQVR4Xu19CXQUx7X2vCUveS/vJdgx+yaJHQwI8G4wzWIbG2LLNrbxPgnY7CC0SyNpJBAIECAZAbLB8gAyKGGxiFnkGJwmz47xsU0mvyEWoGW0D0jgSeK88L84/7l/fS2V3GrNaDRCEiPpfud8p3qqu6tnpvt+favqVpXJxGAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYbYvCwkKlpKREvXDhglpQUKCKz+qlS5e0z8j3N5aXl6tXrlwJMf4OBoPRDD777LPg7Ozs0MOHD1NiYiLNnTuX7rzrDho5ejj179+f+vbt69ccNGgQBQQE0LBhw2jUqFE0ZswYun3sGBo3cQxNmDiexk+8XaTBIh1LwYLfbY/vcvsnTpyofUbqjXfeeSdNnjyZHnnkEXrxxRcpKSmJfvnLX9KuXbtCz5w5ozgcjmDjs8LoQlBVNcBqtZrFjbfjIYAR/fCHP6Qf/OAH9C//8i/0z//8zw2p3P6nf/qnhtRfKH4K00B534z5kvr/71//9V/p3/7t36hHjx6aeM6cOZPWr19Pubm56tmzZ81CCHqYGF0LH3/8sW3lypXqtGnTqHfv3tpDAOLBkakkHiQ8KJ4EwOTmAfMHGoWiO1HeO2O+O+r/M5wDMfiv//ovuuuuuyg6OloTAhOj68But6cvWLBAc51xs40PhHwojHmeiGP9jcbv2N3Y0v/A+L/p/z94gqhiwSPYsWNHuonRuSFc/h5Qc9xQvNXxpseN/t73vtcgB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9G1jHal6OhotPjbTYzOhUPvHlLnL/iZFg2IBh/jA+PpwTHul3MMGvObY2vaCHw9R3ZVGfObI85pzW9pzTnGPG9szTltRf39R5UQ3cqPPvqotlApRnhyi38nBKK6RH3N/M4776CbjyZMmEB9+/bVBnfIh83kRvkl5cPRUQbQXFuEJ/p6HX8WgNb8/rYiro0uXSwzh1GkmzIyKDs721xQUKB890QxOiUqKyuDEeCTkpISumvXLlq1ahU99NBDdP/99xNi/DFqcNiwYcxOSNw7EEFecNcR4+ErMcz7hRde0Gb22bNnz+nU1FRF/egjxfgcMboYzp8/H/zll1+qvz9/Xj3/1VfqVwYWFRWhu0e9cOGCto20sLBQo3gz8P4ust/Bk3kwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDN/x/wHjsXZ4EUApzgAAAABJRU5ErkJggg==";
|
|
3040
3098
|
|
|
3041
3099
|
// src/components/WalletModalContent/index.tsx
|
|
3042
|
-
var
|
|
3100
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
3043
3101
|
function WalletModalContent({
|
|
3044
3102
|
status,
|
|
3045
3103
|
error,
|
|
@@ -3109,12 +3167,12 @@ function WalletModalContent({
|
|
|
3109
3167
|
statusImage: walletConnectImage
|
|
3110
3168
|
};
|
|
3111
3169
|
}, [visible, connected, status, error, address]);
|
|
3112
|
-
return /* @__PURE__ */ (0,
|
|
3113
|
-
/* @__PURE__ */ (0,
|
|
3114
|
-
/* @__PURE__ */ (0,
|
|
3115
|
-
/* @__PURE__ */ (0,
|
|
3170
|
+
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: [
|
|
3171
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: `matchid-wallet-content`, children: [
|
|
3172
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { src: pageData.statusImage }),
|
|
3173
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: pageData.isError ? "text-[#F7585E]" : "", children: pageData.text })
|
|
3116
3174
|
] }),
|
|
3117
|
-
/* @__PURE__ */ (0,
|
|
3175
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
|
3118
3176
|
Button,
|
|
3119
3177
|
{
|
|
3120
3178
|
block: true,
|
|
@@ -3129,7 +3187,7 @@ function WalletModalContent({
|
|
|
3129
3187
|
}
|
|
3130
3188
|
|
|
3131
3189
|
// src/components/SOLModal/index.tsx
|
|
3132
|
-
var
|
|
3190
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
3133
3191
|
function WalletContent({
|
|
3134
3192
|
onSuccess,
|
|
3135
3193
|
type
|
|
@@ -3208,7 +3266,7 @@ function WalletContent({
|
|
|
3208
3266
|
statusRef.current = "";
|
|
3209
3267
|
}
|
|
3210
3268
|
};
|
|
3211
|
-
return /* @__PURE__ */ (0,
|
|
3269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
3212
3270
|
WalletModalContent,
|
|
3213
3271
|
{
|
|
3214
3272
|
connected: wallet.connected,
|
|
@@ -3269,11 +3327,11 @@ function SOLModal({
|
|
|
3269
3327
|
...props
|
|
3270
3328
|
}) {
|
|
3271
3329
|
const intl = (0, import_react_intl11.useIntl)();
|
|
3272
|
-
return /* @__PURE__ */ (0,
|
|
3330
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3273
3331
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3274
3332
|
}, {
|
|
3275
3333
|
name: "SOL"
|
|
3276
|
-
}), children: /* @__PURE__ */ (0,
|
|
3334
|
+
}), 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 }) }) }) }) });
|
|
3277
3335
|
}
|
|
3278
3336
|
|
|
3279
3337
|
// src/components/TRONModal/index.tsx
|
|
@@ -3388,7 +3446,7 @@ var useTRONWallet = () => {
|
|
|
3388
3446
|
};
|
|
3389
3447
|
|
|
3390
3448
|
// src/components/TRONModal/index.tsx
|
|
3391
|
-
var
|
|
3449
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
3392
3450
|
function TRONModal({
|
|
3393
3451
|
type = "login",
|
|
3394
3452
|
onSuccess,
|
|
@@ -3398,9 +3456,9 @@ function TRONModal({
|
|
|
3398
3456
|
const intl = (0, import_react_intl12.useIntl)();
|
|
3399
3457
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useTRONWallet();
|
|
3400
3458
|
const iconMaps = {
|
|
3401
|
-
tronlink: /* @__PURE__ */ (0,
|
|
3402
|
-
bitget: /* @__PURE__ */ (0,
|
|
3403
|
-
okx: /* @__PURE__ */ (0,
|
|
3459
|
+
tronlink: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
|
|
3460
|
+
bitget: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
|
|
3461
|
+
okx: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
|
|
3404
3462
|
};
|
|
3405
3463
|
const { events, login } = useMatch();
|
|
3406
3464
|
const [status, setStatus] = (0, import_react19.useState)("");
|
|
@@ -3492,11 +3550,11 @@ function TRONModal({
|
|
|
3492
3550
|
disconnect();
|
|
3493
3551
|
}
|
|
3494
3552
|
}, [props.isOpen]);
|
|
3495
|
-
return /* @__PURE__ */ (0,
|
|
3553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3496
3554
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3497
3555
|
}, {
|
|
3498
3556
|
name: "TRON"
|
|
3499
|
-
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0,
|
|
3557
|
+
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3500
3558
|
WalletModalContent,
|
|
3501
3559
|
{
|
|
3502
3560
|
error,
|
|
@@ -3509,9 +3567,9 @@ function TRONModal({
|
|
|
3509
3567
|
setVisible: () => {
|
|
3510
3568
|
}
|
|
3511
3569
|
}
|
|
3512
|
-
) : /* @__PURE__ */ (0,
|
|
3570
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "matchid-login-recommend-list", children: [
|
|
3513
3571
|
installedWallets.map((wallet2) => {
|
|
3514
|
-
return /* @__PURE__ */ (0,
|
|
3572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3515
3573
|
RecommendItem,
|
|
3516
3574
|
{
|
|
3517
3575
|
icon: iconMaps[wallet2.walletKey],
|
|
@@ -3524,14 +3582,14 @@ function TRONModal({
|
|
|
3524
3582
|
);
|
|
3525
3583
|
}),
|
|
3526
3584
|
wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
|
|
3527
|
-
return /* @__PURE__ */ (0,
|
|
3585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
3528
3586
|
RecommendItem,
|
|
3529
3587
|
{
|
|
3530
3588
|
icon: iconMaps[wallet2.walletKey],
|
|
3531
3589
|
name: wallet2.name,
|
|
3532
3590
|
onClick: () => {
|
|
3533
3591
|
},
|
|
3534
|
-
footer: /* @__PURE__ */ (0,
|
|
3592
|
+
footer: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Button, { size: "sm", onClick: () => {
|
|
3535
3593
|
window.open(wallet2.website);
|
|
3536
3594
|
}, children: "Install" })
|
|
3537
3595
|
},
|
|
@@ -3545,7 +3603,7 @@ function TRONModal({
|
|
|
3545
3603
|
var import_react20 = __toESM(require("react"));
|
|
3546
3604
|
var import_react_intl13 = require("react-intl");
|
|
3547
3605
|
var import_ui_react = require("@tonconnect/ui-react");
|
|
3548
|
-
var
|
|
3606
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
3549
3607
|
function WalletContent2({
|
|
3550
3608
|
onSuccess,
|
|
3551
3609
|
type
|
|
@@ -3672,7 +3730,7 @@ function WalletContent2({
|
|
|
3672
3730
|
}
|
|
3673
3731
|
}
|
|
3674
3732
|
}, [state]);
|
|
3675
|
-
return /* @__PURE__ */ (0,
|
|
3733
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3676
3734
|
WalletModalContent,
|
|
3677
3735
|
{
|
|
3678
3736
|
connected,
|
|
@@ -3703,15 +3761,15 @@ function TONModal({
|
|
|
3703
3761
|
const intl = (0, import_react_intl13.useIntl)();
|
|
3704
3762
|
const { endpoints, appid } = useLocalStore_default();
|
|
3705
3763
|
const manifestUrl = `${endpoints.back}api/v1/wallet/ton?appid=${appid}&url=` + encodeURIComponent(window.location.origin);
|
|
3706
|
-
return /* @__PURE__ */ (0,
|
|
3764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3707
3765
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3708
3766
|
}, {
|
|
3709
3767
|
name: "TON"
|
|
3710
|
-
}), children: /* @__PURE__ */ (0,
|
|
3768
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
3711
3769
|
import_ui_react.TonConnectUIProvider,
|
|
3712
3770
|
{
|
|
3713
3771
|
manifestUrl,
|
|
3714
|
-
children: /* @__PURE__ */ (0,
|
|
3772
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(WalletContent2, { onSuccess, type })
|
|
3715
3773
|
}
|
|
3716
3774
|
) });
|
|
3717
3775
|
}
|
|
@@ -3901,7 +3959,7 @@ var useBTCWallet = () => {
|
|
|
3901
3959
|
};
|
|
3902
3960
|
|
|
3903
3961
|
// src/components/BTCModal/index.tsx
|
|
3904
|
-
var
|
|
3962
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
3905
3963
|
function BTCModal({
|
|
3906
3964
|
type = "login",
|
|
3907
3965
|
onSuccess,
|
|
@@ -3911,9 +3969,9 @@ function BTCModal({
|
|
|
3911
3969
|
const intl = (0, import_react_intl14.useIntl)();
|
|
3912
3970
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
|
|
3913
3971
|
const iconMaps = {
|
|
3914
|
-
leather: /* @__PURE__ */ (0,
|
|
3915
|
-
unisat: /* @__PURE__ */ (0,
|
|
3916
|
-
xverse: /* @__PURE__ */ (0,
|
|
3972
|
+
leather: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
|
|
3973
|
+
unisat: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
|
|
3974
|
+
xverse: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
|
|
3917
3975
|
};
|
|
3918
3976
|
const { events, login } = useMatch();
|
|
3919
3977
|
const [status, setStatus] = (0, import_react22.useState)("");
|
|
@@ -4013,11 +4071,11 @@ function BTCModal({
|
|
|
4013
4071
|
statusRef.current = "";
|
|
4014
4072
|
setError("");
|
|
4015
4073
|
};
|
|
4016
|
-
return /* @__PURE__ */ (0,
|
|
4074
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
4017
4075
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
4018
4076
|
}, {
|
|
4019
4077
|
name: "BTC"
|
|
4020
|
-
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0,
|
|
4078
|
+
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4021
4079
|
WalletModalContent,
|
|
4022
4080
|
{
|
|
4023
4081
|
error,
|
|
@@ -4030,9 +4088,9 @@ function BTCModal({
|
|
|
4030
4088
|
setVisible: () => {
|
|
4031
4089
|
}
|
|
4032
4090
|
}
|
|
4033
|
-
) : /* @__PURE__ */ (0,
|
|
4091
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "matchid-login-recommend-list", children: [
|
|
4034
4092
|
installedWallets.map((wallet2) => {
|
|
4035
|
-
return /* @__PURE__ */ (0,
|
|
4093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4036
4094
|
RecommendItem,
|
|
4037
4095
|
{
|
|
4038
4096
|
icon: iconMaps[wallet2.walletKey],
|
|
@@ -4045,14 +4103,14 @@ function BTCModal({
|
|
|
4045
4103
|
);
|
|
4046
4104
|
}),
|
|
4047
4105
|
wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
|
|
4048
|
-
return /* @__PURE__ */ (0,
|
|
4106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
4049
4107
|
RecommendItem,
|
|
4050
4108
|
{
|
|
4051
4109
|
icon: iconMaps[wallet2.walletKey],
|
|
4052
4110
|
name: wallet2.name,
|
|
4053
4111
|
onClick: () => {
|
|
4054
4112
|
},
|
|
4055
|
-
footer: /* @__PURE__ */ (0,
|
|
4113
|
+
footer: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Button, { size: "sm", onClick: () => {
|
|
4056
4114
|
window.open(wallet2.website);
|
|
4057
4115
|
}, children: "Install" })
|
|
4058
4116
|
},
|
|
@@ -4065,7 +4123,7 @@ function BTCModal({
|
|
|
4065
4123
|
// src/components/CEXBindModal/index.tsx
|
|
4066
4124
|
var import_react23 = require("react");
|
|
4067
4125
|
var import_react_intl15 = require("react-intl");
|
|
4068
|
-
var
|
|
4126
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
4069
4127
|
function CEXBindModal({
|
|
4070
4128
|
onClose,
|
|
4071
4129
|
type,
|
|
@@ -4120,20 +4178,20 @@ function CEXBindModal({
|
|
|
4120
4178
|
setLoading(false);
|
|
4121
4179
|
}
|
|
4122
4180
|
};
|
|
4123
|
-
return /* @__PURE__ */ (0,
|
|
4181
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ModalWithHeader, { showClose: true, isOpen, onClose, title: intl.formatMessage({
|
|
4124
4182
|
id: "CEXBindTitle"
|
|
4125
4183
|
}, {
|
|
4126
4184
|
type
|
|
4127
|
-
}), ...props, children: /* @__PURE__ */ (0,
|
|
4128
|
-
/* @__PURE__ */ (0,
|
|
4129
|
-
/* @__PURE__ */ (0,
|
|
4130
|
-
/* @__PURE__ */ (0,
|
|
4131
|
-
/* @__PURE__ */ (0,
|
|
4132
|
-
/* @__PURE__ */ (0,
|
|
4185
|
+
}), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { className: "matchid-cex-modal", children: [
|
|
4186
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { children: [
|
|
4187
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl15.FormattedMessage, { id: "CEXBindAttention" }) }),
|
|
4188
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl15.FormattedMessage, { id: "CEXBindTips1" }) }),
|
|
4189
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl15.FormattedMessage, { id: "CEXBindTips2" }) }),
|
|
4190
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl15.FormattedMessage, { id: "CEXBindTips3" }) })
|
|
4133
4191
|
] }),
|
|
4134
|
-
/* @__PURE__ */ (0,
|
|
4192
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Field, { label: intl.formatMessage({
|
|
4135
4193
|
id: "CEXBindApiKey"
|
|
4136
|
-
}), children: /* @__PURE__ */ (0,
|
|
4194
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4137
4195
|
Input,
|
|
4138
4196
|
{
|
|
4139
4197
|
value: key,
|
|
@@ -4141,9 +4199,9 @@ function CEXBindModal({
|
|
|
4141
4199
|
placeholder: "**** **** ****"
|
|
4142
4200
|
}
|
|
4143
4201
|
) }),
|
|
4144
|
-
/* @__PURE__ */ (0,
|
|
4202
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Field, { label: intl.formatMessage({
|
|
4145
4203
|
id: "CEXBindApiSecretKey"
|
|
4146
|
-
}), error: !needPassphrase && error, children: /* @__PURE__ */ (0,
|
|
4204
|
+
}), error: !needPassphrase && error, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4147
4205
|
Input,
|
|
4148
4206
|
{
|
|
4149
4207
|
value: secret,
|
|
@@ -4151,9 +4209,9 @@ function CEXBindModal({
|
|
|
4151
4209
|
placeholder: "**** **** ****"
|
|
4152
4210
|
}
|
|
4153
4211
|
) }),
|
|
4154
|
-
needPassphrase && /* @__PURE__ */ (0,
|
|
4212
|
+
needPassphrase && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Field, { error, label: intl.formatMessage({
|
|
4155
4213
|
id: "CEXBindApiPassphrase"
|
|
4156
|
-
}), children: /* @__PURE__ */ (0,
|
|
4214
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4157
4215
|
Input,
|
|
4158
4216
|
{
|
|
4159
4217
|
value: APIPassphrase,
|
|
@@ -4161,7 +4219,7 @@ function CEXBindModal({
|
|
|
4161
4219
|
placeholder: "**** **** ****"
|
|
4162
4220
|
}
|
|
4163
4221
|
) }),
|
|
4164
|
-
/* @__PURE__ */ (0,
|
|
4222
|
+
/* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
4165
4223
|
Button,
|
|
4166
4224
|
{
|
|
4167
4225
|
onClick: SubmitApi,
|
|
@@ -4169,14 +4227,14 @@ function CEXBindModal({
|
|
|
4169
4227
|
block: true,
|
|
4170
4228
|
loading,
|
|
4171
4229
|
disabled: !key || !secret,
|
|
4172
|
-
children: /* @__PURE__ */ (0,
|
|
4230
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_react_intl15.FormattedMessage, { id: "continue" })
|
|
4173
4231
|
}
|
|
4174
4232
|
)
|
|
4175
4233
|
] }) });
|
|
4176
4234
|
}
|
|
4177
4235
|
|
|
4178
4236
|
// src/context/BusinessProvider.tsx
|
|
4179
|
-
var
|
|
4237
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
4180
4238
|
function BusinessProvider({ children }) {
|
|
4181
4239
|
const { overview, token } = useUserInfo();
|
|
4182
4240
|
const { recoveryModal } = useStore_default();
|
|
@@ -4185,9 +4243,9 @@ function BusinessProvider({ children }) {
|
|
|
4185
4243
|
const { type: TRONType, isOpen: TRONIsOpen, close: TRONClose } = useTRONModalStore();
|
|
4186
4244
|
const { type: BTCType, isOpen: BTCIsOpen, close: BTCClose } = useBTCModalStore();
|
|
4187
4245
|
const { type: CEXType, isOpen: CEXIsOpen, close: CEXClose } = useCEXBindModalStore();
|
|
4188
|
-
return /* @__PURE__ */ (0,
|
|
4189
|
-
/* @__PURE__ */ (0,
|
|
4190
|
-
/* @__PURE__ */ (0,
|
|
4246
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
|
|
4247
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(PasswordModal, { isOpen: !!token && !!overview && !overview.address && !!overview.did, showClose: false }),
|
|
4248
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4191
4249
|
RecoveryModal,
|
|
4192
4250
|
{
|
|
4193
4251
|
isOpen: !!token && !!overview && !!overview.address && recoveryModal.open,
|
|
@@ -4195,7 +4253,7 @@ function BusinessProvider({ children }) {
|
|
|
4195
4253
|
onSuccess: recoveryModal.success
|
|
4196
4254
|
}
|
|
4197
4255
|
),
|
|
4198
|
-
/* @__PURE__ */ (0,
|
|
4256
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4199
4257
|
SOLModal,
|
|
4200
4258
|
{
|
|
4201
4259
|
isOpen: SOLIsOpen && (SOLType == "login" && !overview && !token || SOLType == "bind" && !!token && !!overview),
|
|
@@ -4205,7 +4263,7 @@ function BusinessProvider({ children }) {
|
|
|
4205
4263
|
zIndex: 199
|
|
4206
4264
|
}
|
|
4207
4265
|
),
|
|
4208
|
-
/* @__PURE__ */ (0,
|
|
4266
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4209
4267
|
TRONModal,
|
|
4210
4268
|
{
|
|
4211
4269
|
isOpen: TRONIsOpen && (TRONType == "login" && !overview && !token || TRONType == "bind" && !!token && !!overview),
|
|
@@ -4215,7 +4273,7 @@ function BusinessProvider({ children }) {
|
|
|
4215
4273
|
zIndex: 199
|
|
4216
4274
|
}
|
|
4217
4275
|
),
|
|
4218
|
-
/* @__PURE__ */ (0,
|
|
4276
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4219
4277
|
TONModal,
|
|
4220
4278
|
{
|
|
4221
4279
|
isOpen: TONIsOpen && (TONType == "login" && !overview && !token || TONType == "bind" && !!token && !!overview),
|
|
@@ -4225,7 +4283,7 @@ function BusinessProvider({ children }) {
|
|
|
4225
4283
|
zIndex: 199
|
|
4226
4284
|
}
|
|
4227
4285
|
),
|
|
4228
|
-
/* @__PURE__ */ (0,
|
|
4286
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4229
4287
|
BTCModal,
|
|
4230
4288
|
{
|
|
4231
4289
|
isOpen: BTCIsOpen && (BTCType == "login" && !overview && !token || BTCType == "bind" && !!token && !!overview),
|
|
@@ -4235,7 +4293,7 @@ function BusinessProvider({ children }) {
|
|
|
4235
4293
|
zIndex: 199
|
|
4236
4294
|
}
|
|
4237
4295
|
),
|
|
4238
|
-
/* @__PURE__ */ (0,
|
|
4296
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
4239
4297
|
CEXBindModal,
|
|
4240
4298
|
{
|
|
4241
4299
|
isOpen: CEXIsOpen && (!!token && !!overview),
|
|
@@ -4249,12 +4307,12 @@ function BusinessProvider({ children }) {
|
|
|
4249
4307
|
}
|
|
4250
4308
|
|
|
4251
4309
|
// src/context/index.tsx
|
|
4252
|
-
var
|
|
4310
|
+
var import_jsx_runtime69 = (
|
|
4253
4311
|
// <MpcWalletProvider>
|
|
4254
4312
|
require("react/jsx-runtime")
|
|
4255
4313
|
);
|
|
4256
4314
|
var Providers = ({ children }) => {
|
|
4257
|
-
return /* @__PURE__ */ (0,
|
|
4315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(BusinessProvider, { children });
|
|
4258
4316
|
};
|
|
4259
4317
|
var context_default = Providers;
|
|
4260
4318
|
|
|
@@ -5005,7 +5063,7 @@ var messages = {
|
|
|
5005
5063
|
};
|
|
5006
5064
|
|
|
5007
5065
|
// src/MatchContext.tsx
|
|
5008
|
-
var
|
|
5066
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
5009
5067
|
var queryClient = new import_react_query.QueryClient();
|
|
5010
5068
|
var MatchContext = (0, import_react26.createContext)(void 0);
|
|
5011
5069
|
var MatchProvider = ({ children, appid, events, theme = "light", endpoints, locale }) => {
|
|
@@ -5026,7 +5084,7 @@ var MatchProvider = ({ children, appid, events, theme = "light", endpoints, loca
|
|
|
5026
5084
|
useWalletInit({
|
|
5027
5085
|
refreshOverview: loadOverview
|
|
5028
5086
|
});
|
|
5029
|
-
return /* @__PURE__ */ (0,
|
|
5087
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_intl16.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_react_query.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
5030
5088
|
MatchContext.Provider,
|
|
5031
5089
|
{
|
|
5032
5090
|
value: {
|
|
@@ -5037,7 +5095,7 @@ var MatchProvider = ({ children, appid, events, theme = "light", endpoints, loca
|
|
|
5037
5095
|
theme,
|
|
5038
5096
|
locale: realLocale
|
|
5039
5097
|
},
|
|
5040
|
-
children: /* @__PURE__ */ (0,
|
|
5098
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(context_default, { children })
|
|
5041
5099
|
}
|
|
5042
5100
|
) }) });
|
|
5043
5101
|
};
|