@matchain/matchid-sdk-react 0.1.40-alpha.6 → 0.1.40-alpha.8
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 +6 -2
- package/dist/assets/icon/index.d.ts +6 -2
- 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-DPXMCLYK.mjs} +56 -2
- package/dist/chunk-DPXMCLYK.mjs.map +1 -0
- package/dist/{chunk-QEOWZ3EN.mjs → chunk-MF44ADCA.mjs} +2 -2
- package/dist/{chunk-ZLARXHQ5.mjs → chunk-OKOZY4RW.mjs} +6 -4
- package/dist/chunk-OKOZY4RW.mjs.map +1 -0
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +261 -209
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +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.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- 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-fS75Swm8.d.ts → index-CPh9cui0.d.ts} +1 -1
- package/dist/{index-Dq9Swg8r.d.ts → index-CdzHWQ8o.d.ts} +1 -1
- package/dist/{index-C3KZYrtu.d.mts → index-Cstk9nHt.d.mts} +1 -1
- package/dist/{index-DoF5jRoi.d.ts → index-DC_1BPN0.d.ts} +1 -1
- package/dist/{index-fl6SNIZC.d.mts → index-DYxqLc-m.d.mts} +1 -1
- package/dist/{index-COlsBC-b.d.mts → index-TFllRsbX.d.mts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +295 -243
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/{types.d-CLO_WLka.d.mts → types.d-DiCO-2z2.d.mts} +1 -1
- package/dist/{types.d-CLO_WLka.d.ts → types.d-DiCO-2z2.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-6PWH7WZI.mjs.map +0 -1
- package/dist/chunk-ZLARXHQ5.mjs.map +0 -1
- /package/dist/{chunk-QEOWZ3EN.mjs.map → chunk-MF44ADCA.mjs.map} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -1055,6 +1055,58 @@ function BitgetIcon({
|
|
|
1055
1055
|
);
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
+
// src/assets/icon/TonDarkIcon.tsx
|
|
1059
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1060
|
+
function TonLightIcon({ size = 40, ...props }) {
|
|
1061
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1062
|
+
"svg",
|
|
1063
|
+
{
|
|
1064
|
+
width: size,
|
|
1065
|
+
height: size,
|
|
1066
|
+
...props,
|
|
1067
|
+
viewBox: "0 0 40 40",
|
|
1068
|
+
fill: "none",
|
|
1069
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1070
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1071
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1072
|
+
"path",
|
|
1073
|
+
{
|
|
1074
|
+
stroke: "null",
|
|
1075
|
+
id: "svg_2",
|
|
1076
|
+
fill: "black",
|
|
1077
|
+
d: "m28.551235,7.336842l-17.103441,0c-3.144714,0 -5.137911,3.392209 -3.555804,6.134509l10.555606,18.295835c0.688817,1.19463 2.41502,1.19463 3.103838,0l10.557753,-18.295835c1.57996,-2.737917 -0.413237,-6.134509 -3.555804,-6.134509l-0.002147,0zm-10.112226,18.943687l-2.298831,-4.449093l-5.546854,-9.920635c-0.36592,-0.634971 0.086046,-1.448654 0.852323,-1.448654l6.991215,0l0,15.820529l0.002147,-0.002147zm10.962403,-14.371875l-5.544707,9.924928l-2.298831,4.446947l0,-15.820529l6.991215,0c0.766277,0 1.218244,0.813683 0.852323,1.448654z"
|
|
1078
|
+
}
|
|
1079
|
+
)
|
|
1080
|
+
}
|
|
1081
|
+
);
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
// src/assets/icon/TonLightIcon.tsx
|
|
1085
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1086
|
+
function TonLightIcon2({ size = 40, ...props }) {
|
|
1087
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1088
|
+
"svg",
|
|
1089
|
+
{
|
|
1090
|
+
width: size,
|
|
1091
|
+
height: size,
|
|
1092
|
+
...props,
|
|
1093
|
+
viewBox: "0 0 40 40",
|
|
1094
|
+
fill: "none",
|
|
1095
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1096
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1097
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1098
|
+
"path",
|
|
1099
|
+
{
|
|
1100
|
+
stroke: "null",
|
|
1101
|
+
id: "svg_2",
|
|
1102
|
+
fill: "white",
|
|
1103
|
+
d: "m28.551235,7.336842l-17.103441,0c-3.144714,0 -5.137911,3.392209 -3.555804,6.134509l10.555606,18.295835c0.688817,1.19463 2.41502,1.19463 3.103838,0l10.557753,-18.295835c1.57996,-2.737917 -0.413237,-6.134509 -3.555804,-6.134509l-0.002147,0zm-10.112226,18.943687l-2.298831,-4.449093l-5.546854,-9.920635c-0.36592,-0.634971 0.086046,-1.448654 0.852323,-1.448654l6.991215,0l0,15.820529l0.002147,-0.002147zm10.962403,-14.371875l-5.544707,9.924928l-2.298831,4.446947l0,-15.820529l6.991215,0c0.766277,0 1.218244,0.813683 0.852323,1.448654z"
|
|
1104
|
+
}
|
|
1105
|
+
)
|
|
1106
|
+
}
|
|
1107
|
+
);
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1058
1110
|
// src/hooks/useLayout.tsx
|
|
1059
1111
|
var import_react = require("react");
|
|
1060
1112
|
function useDownMd() {
|
|
@@ -1072,7 +1124,7 @@ function useDownMd() {
|
|
|
1072
1124
|
}
|
|
1073
1125
|
|
|
1074
1126
|
// src/components/Modal/index.tsx
|
|
1075
|
-
var
|
|
1127
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1076
1128
|
function Modal({
|
|
1077
1129
|
children,
|
|
1078
1130
|
isOpen,
|
|
@@ -1080,21 +1132,21 @@ function Modal({
|
|
|
1080
1132
|
zIndex = 100,
|
|
1081
1133
|
className = ""
|
|
1082
1134
|
}) {
|
|
1083
|
-
return isOpen ? /* @__PURE__ */ (0,
|
|
1135
|
+
return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1084
1136
|
"div",
|
|
1085
1137
|
{
|
|
1086
1138
|
className: "matchid-overlay",
|
|
1087
1139
|
style: {
|
|
1088
1140
|
zIndex
|
|
1089
1141
|
},
|
|
1090
|
-
children: /* @__PURE__ */ (0,
|
|
1142
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: `matchid-modal ${className}`, style: {
|
|
1091
1143
|
width
|
|
1092
1144
|
}, children: [
|
|
1093
|
-
/* @__PURE__ */ (0,
|
|
1145
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: "matchid-modal-mobile-header" }),
|
|
1094
1146
|
children
|
|
1095
1147
|
] })
|
|
1096
1148
|
}
|
|
1097
|
-
) : /* @__PURE__ */ (0,
|
|
1149
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, {});
|
|
1098
1150
|
}
|
|
1099
1151
|
function ModalWithHeader({
|
|
1100
1152
|
children,
|
|
@@ -1106,13 +1158,13 @@ function ModalWithHeader({
|
|
|
1106
1158
|
...props
|
|
1107
1159
|
}) {
|
|
1108
1160
|
const isDownMd = useDownMd();
|
|
1109
|
-
return /* @__PURE__ */ (0,
|
|
1110
|
-
/* @__PURE__ */ (0,
|
|
1111
|
-
/* @__PURE__ */ (0,
|
|
1112
|
-
onBack && /* @__PURE__ */ (0,
|
|
1113
|
-
/* @__PURE__ */ (0,
|
|
1161
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(Modal, { ...props, children: [
|
|
1162
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: `matchid-modal-header ${showBorder ? "matchid-modal-header-border" : ""}`, children: [
|
|
1163
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "matchid-modal-header-content", children: [
|
|
1164
|
+
onBack && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ArrowLeftIcon, { height: isDownMd ? 20 : 25, width: isDownMd ? 20 : 24, className: "matchid-modal-header-back", onClick: onBack }),
|
|
1165
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "matchid-modal-header-title", children: title })
|
|
1114
1166
|
] }),
|
|
1115
|
-
onClose && /* @__PURE__ */ (0,
|
|
1167
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30, className: "matchid-modal-header-close", onClick: onClose })
|
|
1116
1168
|
] }),
|
|
1117
1169
|
children
|
|
1118
1170
|
] });
|
|
@@ -1147,7 +1199,7 @@ function getAppClientId() {
|
|
|
1147
1199
|
}
|
|
1148
1200
|
|
|
1149
1201
|
// src/components/Button/index.tsx
|
|
1150
|
-
var
|
|
1202
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1151
1203
|
function Button({
|
|
1152
1204
|
size = "df",
|
|
1153
1205
|
disabled = false,
|
|
@@ -1166,7 +1218,7 @@ function Button({
|
|
|
1166
1218
|
onClick && onClick();
|
|
1167
1219
|
}
|
|
1168
1220
|
};
|
|
1169
|
-
return /* @__PURE__ */ (0,
|
|
1221
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1170
1222
|
"button",
|
|
1171
1223
|
{
|
|
1172
1224
|
type,
|
|
@@ -1176,14 +1228,14 @@ function Button({
|
|
|
1176
1228
|
...style
|
|
1177
1229
|
},
|
|
1178
1230
|
onClick: onAction,
|
|
1179
|
-
children: loading ? /* @__PURE__ */ (0,
|
|
1231
|
+
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(LoadingIcon_default, { className: "matchid-btn-loading-icon", color: "var(--matchid-btn-loading-color)" }) : children
|
|
1180
1232
|
}
|
|
1181
1233
|
);
|
|
1182
1234
|
}
|
|
1183
1235
|
|
|
1184
1236
|
// src/components/Input/index.tsx
|
|
1185
1237
|
var import_react2 = require("react");
|
|
1186
|
-
var
|
|
1238
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1187
1239
|
function Input({
|
|
1188
1240
|
onChange,
|
|
1189
1241
|
type,
|
|
@@ -1193,17 +1245,17 @@ function Input({
|
|
|
1193
1245
|
}) {
|
|
1194
1246
|
const [inputType, setInputType] = (0, import_react2.useState)(type);
|
|
1195
1247
|
const isDownMd = useDownMd();
|
|
1196
|
-
return /* @__PURE__ */ (0,
|
|
1248
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
1197
1249
|
"div",
|
|
1198
1250
|
{
|
|
1199
1251
|
className: `matchid-input-box ${props.value && props.value.length > 0 ? "matchid-input-has-content" : ""} ${className}`,
|
|
1200
1252
|
children: [
|
|
1201
|
-
/* @__PURE__ */ (0,
|
|
1202
|
-
props.value && props.value.length > 0 && /* @__PURE__ */ (0,
|
|
1253
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)("input", { type: inputType, onChange, ...props, className: "matchid-input-field" }),
|
|
1254
|
+
props.value && props.value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "matchid-input-delete-icon", onClick: (e) => {
|
|
1203
1255
|
if (onChange) {
|
|
1204
1256
|
onChange({ target: { value: "" } });
|
|
1205
1257
|
}
|
|
1206
|
-
}, children: /* @__PURE__ */ (0,
|
|
1258
|
+
}, children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1207
1259
|
DeleteRoundIcon,
|
|
1208
1260
|
{
|
|
1209
1261
|
height: isDownMd ? 16 : 21,
|
|
@@ -1211,9 +1263,9 @@ function Input({
|
|
|
1211
1263
|
color: "var(--matchid-input-delete-icon-color)"
|
|
1212
1264
|
}
|
|
1213
1265
|
) }),
|
|
1214
|
-
type === "password" && /* @__PURE__ */ (0,
|
|
1266
|
+
type === "password" && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "matchid-input-eye-icon", onClick: () => {
|
|
1215
1267
|
setInputType(inputType === "password" ? "text" : "password");
|
|
1216
|
-
}, children: inputType === "password" ? /* @__PURE__ */ (0,
|
|
1268
|
+
}, children: inputType === "password" ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CloseEyeIcon, { size: isDownMd ? 16 : 20 }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(OpenEyeIcon, { size: isDownMd ? 16 : 20 }) }),
|
|
1217
1269
|
after
|
|
1218
1270
|
]
|
|
1219
1271
|
}
|
|
@@ -1221,7 +1273,7 @@ function Input({
|
|
|
1221
1273
|
}
|
|
1222
1274
|
|
|
1223
1275
|
// src/components/Field/index.tsx
|
|
1224
|
-
var
|
|
1276
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1225
1277
|
function Field({
|
|
1226
1278
|
label,
|
|
1227
1279
|
children,
|
|
@@ -1229,19 +1281,19 @@ function Field({
|
|
|
1229
1281
|
required,
|
|
1230
1282
|
className = ""
|
|
1231
1283
|
}) {
|
|
1232
|
-
return /* @__PURE__ */ (0,
|
|
1233
|
-
/* @__PURE__ */ (0,
|
|
1234
|
-
required && /* @__PURE__ */ (0,
|
|
1284
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: `matchid-field-box ${className}`, children: [
|
|
1285
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "matchid-field-label", children: [
|
|
1286
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "matchid-field-required", children: "*" }),
|
|
1235
1287
|
label
|
|
1236
1288
|
] }),
|
|
1237
1289
|
children,
|
|
1238
|
-
error && /* @__PURE__ */ (0,
|
|
1290
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "matchid-field-error", children: error })
|
|
1239
1291
|
] });
|
|
1240
1292
|
}
|
|
1241
1293
|
|
|
1242
1294
|
// src/components/EmailModal/StepEmail.tsx
|
|
1243
1295
|
var import_react_intl = require("react-intl");
|
|
1244
|
-
var
|
|
1296
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1245
1297
|
function StepEmail(props) {
|
|
1246
1298
|
const intl = (0, import_react_intl.useIntl)();
|
|
1247
1299
|
const [emailVal, setEmailVal] = (0, import_react3.useState)("");
|
|
@@ -1256,10 +1308,10 @@ function StepEmail(props) {
|
|
|
1256
1308
|
const onContinue = async () => {
|
|
1257
1309
|
props.onContinue(emailVal);
|
|
1258
1310
|
};
|
|
1259
|
-
return /* @__PURE__ */ (0,
|
|
1260
|
-
/* @__PURE__ */ (0,
|
|
1311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "matchid-email-email-box", children: [
|
|
1312
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Field, { label: intl.formatMessage({
|
|
1261
1313
|
id: "emailAddress"
|
|
1262
|
-
}), children: /* @__PURE__ */ (0,
|
|
1314
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1263
1315
|
Input,
|
|
1264
1316
|
{
|
|
1265
1317
|
placeholder: intl.formatMessage({
|
|
@@ -1269,9 +1321,9 @@ function StepEmail(props) {
|
|
|
1269
1321
|
value: emailVal
|
|
1270
1322
|
}
|
|
1271
1323
|
) }),
|
|
1272
|
-
/* @__PURE__ */ (0,
|
|
1324
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Button, { disabled: !canContinue, style: {
|
|
1273
1325
|
marginTop: "64px"
|
|
1274
|
-
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
1326
|
+
}, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_react_intl.FormattedMessage, { id: "continue" }) })
|
|
1275
1327
|
] });
|
|
1276
1328
|
}
|
|
1277
1329
|
|
|
@@ -1731,7 +1783,7 @@ function useCopyClipboard(timeout = 500) {
|
|
|
1731
1783
|
|
|
1732
1784
|
// src/components/PasswordModal/index.tsx
|
|
1733
1785
|
var import_react_intl2 = require("react-intl");
|
|
1734
|
-
var
|
|
1786
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1735
1787
|
function PasswordModal({
|
|
1736
1788
|
title,
|
|
1737
1789
|
isOpen,
|
|
@@ -1789,15 +1841,15 @@ function PasswordModal({
|
|
|
1789
1841
|
setIsSubmitting(false);
|
|
1790
1842
|
}
|
|
1791
1843
|
};
|
|
1792
|
-
return /* @__PURE__ */ (0,
|
|
1844
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
1793
1845
|
id: "passwordTitle"
|
|
1794
|
-
}), children: /* @__PURE__ */ (0,
|
|
1795
|
-
/* @__PURE__ */ (0,
|
|
1796
|
-
/* @__PURE__ */ (0,
|
|
1797
|
-
/* @__PURE__ */ (0,
|
|
1846
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "matchid-password-box", children: [
|
|
1847
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "matchid-password-header", children: [
|
|
1848
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "matchid-password-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(PasswordRoundIcon, {}) }),
|
|
1849
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "matchid-password-header-content", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_intl2.FormattedMessage, { id: "passwordTips" }) })
|
|
1798
1850
|
] }),
|
|
1799
|
-
/* @__PURE__ */ (0,
|
|
1800
|
-
/* @__PURE__ */ (0,
|
|
1851
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "matchid-password-content", children: [
|
|
1852
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Field, { label: intl.formatMessage({ id: "password" }), error: password.length > 0 && passwordError, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1801
1853
|
Input,
|
|
1802
1854
|
{
|
|
1803
1855
|
placeholder: intl.formatMessage({ id: "passwordPlaceholder" }),
|
|
@@ -1807,9 +1859,9 @@ function PasswordModal({
|
|
|
1807
1859
|
value: password
|
|
1808
1860
|
}
|
|
1809
1861
|
) }),
|
|
1810
|
-
/* @__PURE__ */ (0,
|
|
1862
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Field, { label: intl.formatMessage({
|
|
1811
1863
|
id: "rePassword"
|
|
1812
|
-
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0,
|
|
1864
|
+
}), error: rePassword.length > 0 ? rePasswordError || error : error, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1813
1865
|
Input,
|
|
1814
1866
|
{
|
|
1815
1867
|
placeholder: intl.formatMessage({
|
|
@@ -1822,7 +1874,7 @@ function PasswordModal({
|
|
|
1822
1874
|
}
|
|
1823
1875
|
) })
|
|
1824
1876
|
] }),
|
|
1825
|
-
/* @__PURE__ */ (0,
|
|
1877
|
+
/* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1826
1878
|
Button,
|
|
1827
1879
|
{
|
|
1828
1880
|
disabled: password.length == 0 || !!passwordError || !!rePasswordError,
|
|
@@ -1831,7 +1883,7 @@ function PasswordModal({
|
|
|
1831
1883
|
size: "lg",
|
|
1832
1884
|
onClick: onContinue,
|
|
1833
1885
|
loading: isSubmitting,
|
|
1834
|
-
children: /* @__PURE__ */ (0,
|
|
1886
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_react_intl2.FormattedMessage, { id: "continue" })
|
|
1835
1887
|
}
|
|
1836
1888
|
)
|
|
1837
1889
|
] }) });
|
|
@@ -1840,7 +1892,7 @@ function PasswordModal({
|
|
|
1840
1892
|
// src/components/RecoveryModal/index.tsx
|
|
1841
1893
|
var import_react7 = require("react");
|
|
1842
1894
|
var import_react_intl3 = require("react-intl");
|
|
1843
|
-
var
|
|
1895
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1844
1896
|
|
|
1845
1897
|
// src/store/useModalStore.ts
|
|
1846
1898
|
var import_zustand3 = require("zustand");
|
|
@@ -1878,13 +1930,13 @@ var useCEXBindModalStore = (0, import_zustand3.create)((set) => ({
|
|
|
1878
1930
|
// src/components/CEXBindModal/index.tsx
|
|
1879
1931
|
var import_react8 = require("react");
|
|
1880
1932
|
var import_react_intl4 = require("react-intl");
|
|
1881
|
-
var
|
|
1933
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1882
1934
|
|
|
1883
1935
|
// src/context/BusinessProvider.tsx
|
|
1884
|
-
var
|
|
1936
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
1885
1937
|
|
|
1886
1938
|
// src/context/index.tsx
|
|
1887
|
-
var
|
|
1939
|
+
var import_jsx_runtime53 = (
|
|
1888
1940
|
// <MpcWalletProvider>
|
|
1889
1941
|
require("react/jsx-runtime")
|
|
1890
1942
|
);
|
|
@@ -1899,7 +1951,7 @@ var import_react10 = require("react");
|
|
|
1899
1951
|
// src/MatchContext.tsx
|
|
1900
1952
|
var import_react_query = require("@tanstack/react-query");
|
|
1901
1953
|
var import_react_intl5 = require("react-intl");
|
|
1902
|
-
var
|
|
1954
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
1903
1955
|
var queryClient = new import_react_query.QueryClient();
|
|
1904
1956
|
var MatchContext = (0, import_react11.createContext)(void 0);
|
|
1905
1957
|
var useMatch = () => {
|
|
@@ -2130,7 +2182,7 @@ var EMAIL_CODE_LENGTH = 6;
|
|
|
2130
2182
|
|
|
2131
2183
|
// src/components/EmailModal/StepVerify.tsx
|
|
2132
2184
|
var import_react_intl6 = require("react-intl");
|
|
2133
|
-
var
|
|
2185
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2134
2186
|
function StepVerify(props) {
|
|
2135
2187
|
const intl = (0, import_react_intl6.useIntl)();
|
|
2136
2188
|
const { getLoginEmailCode, loginByEmail } = useUserInfo();
|
|
@@ -2207,17 +2259,17 @@ function StepVerify(props) {
|
|
|
2207
2259
|
setSubmitting(false);
|
|
2208
2260
|
}
|
|
2209
2261
|
};
|
|
2210
|
-
return /* @__PURE__ */ (0,
|
|
2211
|
-
/* @__PURE__ */ (0,
|
|
2212
|
-
/* @__PURE__ */ (0,
|
|
2213
|
-
/* @__PURE__ */ (0,
|
|
2214
|
-
/* @__PURE__ */ (0,
|
|
2215
|
-
/* @__PURE__ */ (0,
|
|
2262
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-email-verify-box", children: [
|
|
2263
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-email-verify-header", children: [
|
|
2264
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-email-verify-header-icon", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(EmailLineIcon, { size: isDownMd ? 19 : 24 }) }),
|
|
2265
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "matchid-email-verify-header-content", children: [
|
|
2266
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-email-verify-header-value", children: props.email }),
|
|
2267
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "matchid-email-verify-header-tips", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_intl6.FormattedMessage, { id: "sendEmailTips" }) })
|
|
2216
2268
|
] })
|
|
2217
2269
|
] }),
|
|
2218
|
-
/* @__PURE__ */ (0,
|
|
2270
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Field, { label: intl.formatMessage({
|
|
2219
2271
|
id: "verificationCode"
|
|
2220
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
2272
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2221
2273
|
Input,
|
|
2222
2274
|
{
|
|
2223
2275
|
placeholder: intl.formatMessage({
|
|
@@ -2227,7 +2279,7 @@ function StepVerify(props) {
|
|
|
2227
2279
|
maxLength: codeLength,
|
|
2228
2280
|
onChange: (e) => setCode(e.target.value),
|
|
2229
2281
|
value: code,
|
|
2230
|
-
after: /* @__PURE__ */ (0,
|
|
2282
|
+
after: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2231
2283
|
Button,
|
|
2232
2284
|
{
|
|
2233
2285
|
highlight: true,
|
|
@@ -2246,13 +2298,13 @@ function StepVerify(props) {
|
|
|
2246
2298
|
)
|
|
2247
2299
|
}
|
|
2248
2300
|
) }),
|
|
2249
|
-
/* @__PURE__ */ (0,
|
|
2301
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_intl6.FormattedMessage, { id: "continue" }) })
|
|
2250
2302
|
] });
|
|
2251
2303
|
}
|
|
2252
2304
|
|
|
2253
2305
|
// src/components/EmailModal/index.tsx
|
|
2254
2306
|
var import_react_intl7 = require("react-intl");
|
|
2255
|
-
var
|
|
2307
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2256
2308
|
function EmailModal({
|
|
2257
2309
|
isOpen = false,
|
|
2258
2310
|
width = 480,
|
|
@@ -2269,7 +2321,7 @@ function EmailModal({
|
|
|
2269
2321
|
setEmailVal("");
|
|
2270
2322
|
}
|
|
2271
2323
|
}, [isOpen]);
|
|
2272
|
-
return /* @__PURE__ */ (0,
|
|
2324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2273
2325
|
ModalWithHeader,
|
|
2274
2326
|
{
|
|
2275
2327
|
isOpen,
|
|
@@ -2279,17 +2331,17 @@ function EmailModal({
|
|
|
2279
2331
|
id: "email"
|
|
2280
2332
|
}),
|
|
2281
2333
|
onBack: step == "verify" ? () => setStep("input") : onBack,
|
|
2282
|
-
children: step === "input" ? /* @__PURE__ */ (0,
|
|
2334
|
+
children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
|
|
2283
2335
|
setEmailVal(email);
|
|
2284
2336
|
setStep("verify");
|
|
2285
|
-
} }) : /* @__PURE__ */ (0,
|
|
2337
|
+
} }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
|
|
2286
2338
|
}
|
|
2287
2339
|
);
|
|
2288
2340
|
}
|
|
2289
2341
|
|
|
2290
2342
|
// src/components/Popover/index.tsx
|
|
2291
2343
|
var import_react15 = require("react");
|
|
2292
|
-
var
|
|
2344
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2293
2345
|
function Popover({
|
|
2294
2346
|
children,
|
|
2295
2347
|
content,
|
|
@@ -2299,7 +2351,7 @@ function Popover({
|
|
|
2299
2351
|
gap = "20px"
|
|
2300
2352
|
}) {
|
|
2301
2353
|
const [active, setActive] = (0, import_react15.useState)(false);
|
|
2302
|
-
return children && /* @__PURE__ */ (0,
|
|
2354
|
+
return children && /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2303
2355
|
"div",
|
|
2304
2356
|
{
|
|
2305
2357
|
onClick: () => {
|
|
@@ -2310,9 +2362,9 @@ function Popover({
|
|
|
2310
2362
|
className: `matchid-popover-box matchid-popover-${position} matchid-popover-${type} ${className} ${type == "click" && active ? "matchid-popover-click-active" : ""}`,
|
|
2311
2363
|
children: [
|
|
2312
2364
|
children,
|
|
2313
|
-
/* @__PURE__ */ (0,
|
|
2365
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { style: {
|
|
2314
2366
|
paddingTop: gap
|
|
2315
|
-
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0,
|
|
2367
|
+
}, className: `matchid-popover-area`, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: `matchid-popover-content`, children: content }) })
|
|
2316
2368
|
]
|
|
2317
2369
|
}
|
|
2318
2370
|
);
|
|
@@ -2321,7 +2373,7 @@ function Popover({
|
|
|
2321
2373
|
// src/components/LoginBox/index.tsx
|
|
2322
2374
|
var import_react16 = require("react");
|
|
2323
2375
|
var import_react_intl8 = require("react-intl");
|
|
2324
|
-
var
|
|
2376
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2325
2377
|
var RecommendItem = ({
|
|
2326
2378
|
icon,
|
|
2327
2379
|
name,
|
|
@@ -2330,20 +2382,20 @@ var RecommendItem = ({
|
|
|
2330
2382
|
children,
|
|
2331
2383
|
footer
|
|
2332
2384
|
}) => {
|
|
2333
|
-
return /* @__PURE__ */ (0,
|
|
2334
|
-
/* @__PURE__ */ (0,
|
|
2335
|
-
/* @__PURE__ */ (0,
|
|
2336
|
-
/* @__PURE__ */ (0,
|
|
2337
|
-
/* @__PURE__ */ (0,
|
|
2385
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-login-recommend-method", children: [
|
|
2386
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-login-recommend-method-item", onClick, children: [
|
|
2387
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-login-recommend-method-content", children: [
|
|
2388
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-login-recommend-method-icon", children: icon }),
|
|
2389
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "matchid-login-recommend-method-name", children: name })
|
|
2338
2390
|
] }),
|
|
2339
|
-
footer ? footer : children ? /* @__PURE__ */ (0,
|
|
2391
|
+
footer ? footer : children ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2340
2392
|
ArrowDownIcon,
|
|
2341
2393
|
{
|
|
2342
2394
|
className: `matchid-login-recommend-method-arrow ${showChildren ? "matchid-login-recommend-method-arrow-active" : ""}`,
|
|
2343
2395
|
size: 20,
|
|
2344
2396
|
color: "var(--matchid-arrow-color)"
|
|
2345
2397
|
}
|
|
2346
|
-
) : /* @__PURE__ */ (0,
|
|
2398
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2347
2399
|
ArrowRightIcon,
|
|
2348
2400
|
{
|
|
2349
2401
|
className: "matchid-login-recommend-method-arrow",
|
|
@@ -2352,7 +2404,7 @@ var RecommendItem = ({
|
|
|
2352
2404
|
}
|
|
2353
2405
|
)
|
|
2354
2406
|
] }),
|
|
2355
|
-
children && /* @__PURE__ */ (0,
|
|
2407
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2356
2408
|
"div",
|
|
2357
2409
|
{
|
|
2358
2410
|
className: `matchid-login-recommend-method-popover ${showChildren ? "matchid-login-recommend-method-popover-active" : ""}`,
|
|
@@ -2384,121 +2436,121 @@ function LoginBox({
|
|
|
2384
2436
|
const isDownMd = useDownMd();
|
|
2385
2437
|
const methodMap = {
|
|
2386
2438
|
wallet: {
|
|
2387
|
-
icon: /* @__PURE__ */ (0,
|
|
2439
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(WalletIcon, { size: isDownMd ? 36 : 40 }),
|
|
2388
2440
|
name: intl.formatMessage({ id: "wallet" }),
|
|
2389
2441
|
onClick: () => setShowWallet(!showWallet),
|
|
2390
2442
|
type: "wallet"
|
|
2391
2443
|
},
|
|
2392
2444
|
email: {
|
|
2393
|
-
icon: /* @__PURE__ */ (0,
|
|
2445
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(EmailIcon, { size: isDownMd ? 36 : 40 }),
|
|
2394
2446
|
name: intl.formatMessage({ id: "email" }),
|
|
2395
2447
|
onClick: () => {
|
|
2396
2448
|
setEmailOpen(true);
|
|
2397
2449
|
}
|
|
2398
2450
|
},
|
|
2399
2451
|
google: {
|
|
2400
|
-
icon: /* @__PURE__ */ (0,
|
|
2452
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(GoogleIcon, { size: isDownMd ? 36 : 40 }),
|
|
2401
2453
|
name: "Google",
|
|
2402
2454
|
onClick: () => login("google")
|
|
2403
2455
|
},
|
|
2404
2456
|
twitter: {
|
|
2405
|
-
icon: /* @__PURE__ */ (0,
|
|
2457
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(XIcon, { size: isDownMd ? 36 : 40 }),
|
|
2406
2458
|
name: "X",
|
|
2407
2459
|
onClick: () => login("twitter")
|
|
2408
2460
|
},
|
|
2409
2461
|
telegram: {
|
|
2410
|
-
icon: /* @__PURE__ */ (0,
|
|
2462
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TelegramIcon, { size: isDownMd ? 36 : 40 }),
|
|
2411
2463
|
name: "Telegram",
|
|
2412
2464
|
onClick: () => login("telegram")
|
|
2413
2465
|
},
|
|
2414
2466
|
github: {
|
|
2415
|
-
icon: /* @__PURE__ */ (0,
|
|
2467
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(GithubIcon, { size: isDownMd ? 36 : 40 }),
|
|
2416
2468
|
name: "Github",
|
|
2417
2469
|
onClick: () => login("github")
|
|
2418
2470
|
},
|
|
2419
2471
|
discord: {
|
|
2420
|
-
icon: /* @__PURE__ */ (0,
|
|
2472
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(DiscordIcon, { size: isDownMd ? 36 : 40 }),
|
|
2421
2473
|
name: "Discord",
|
|
2422
2474
|
onClick: () => login("discord")
|
|
2423
2475
|
},
|
|
2424
2476
|
linkedin: {
|
|
2425
|
-
icon: /* @__PURE__ */ (0,
|
|
2477
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(LinkedinIcon, { size: isDownMd ? 36 : 40 }),
|
|
2426
2478
|
name: "LinkedIn",
|
|
2427
2479
|
onClick: () => login("linkedin")
|
|
2428
2480
|
},
|
|
2429
2481
|
facebook: {
|
|
2430
|
-
icon: /* @__PURE__ */ (0,
|
|
2482
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FacebookIcon, { size: isDownMd ? 36 : 40 }),
|
|
2431
2483
|
name: "Facebook",
|
|
2432
2484
|
onClick: () => login("facebook")
|
|
2433
2485
|
},
|
|
2434
2486
|
youtube: {
|
|
2435
|
-
icon: /* @__PURE__ */ (0,
|
|
2487
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(YoutubeIcon, { size: isDownMd ? 36 : 40 }),
|
|
2436
2488
|
name: "Youtube",
|
|
2437
2489
|
onClick: () => login("youtube")
|
|
2438
2490
|
}
|
|
2439
2491
|
};
|
|
2440
2492
|
const walletMap = {
|
|
2441
2493
|
evm: {
|
|
2442
|
-
icon: /* @__PURE__ */ (0,
|
|
2443
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2494
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(EVMDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2495
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(EVMLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2444
2496
|
name: "EVM",
|
|
2445
2497
|
onClick: () => login("evm")
|
|
2446
2498
|
},
|
|
2447
2499
|
sol: {
|
|
2448
|
-
icon: /* @__PURE__ */ (0,
|
|
2449
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2500
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SOLDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2501
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SOLLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2450
2502
|
name: "SOL",
|
|
2451
2503
|
onClick: () => login("sol")
|
|
2452
2504
|
},
|
|
2453
2505
|
btc: {
|
|
2454
|
-
icon: /* @__PURE__ */ (0,
|
|
2455
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2506
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(BTCDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2507
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(BTCLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2456
2508
|
name: "BTC",
|
|
2457
2509
|
onClick: () => login("btc")
|
|
2458
2510
|
},
|
|
2459
2511
|
tron: {
|
|
2460
|
-
icon: /* @__PURE__ */ (0,
|
|
2461
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2512
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TRXDarkIcon, { size: isDownMd ? 36 : 40 }),
|
|
2513
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TRXLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2462
2514
|
name: "TRON",
|
|
2463
2515
|
onClick: () => login("tron")
|
|
2464
2516
|
},
|
|
2465
2517
|
ton: {
|
|
2466
|
-
icon: /* @__PURE__ */ (0,
|
|
2467
|
-
activeIcon: /* @__PURE__ */ (0,
|
|
2518
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TonLightIcon, { size: isDownMd ? 36 : 40 }),
|
|
2519
|
+
activeIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(TonLightIcon2, { size: isDownMd ? 36 : 40 }),
|
|
2468
2520
|
name: "TON",
|
|
2469
2521
|
onClick: () => login("ton")
|
|
2470
2522
|
}
|
|
2471
2523
|
};
|
|
2472
|
-
return /* @__PURE__ */ (0,
|
|
2473
|
-
(!inModal || !emailOpen) && /* @__PURE__ */ (0,
|
|
2474
|
-
/* @__PURE__ */ (0,
|
|
2475
|
-
return /* @__PURE__ */ (0,
|
|
2524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
|
|
2525
|
+
(!inModal || !emailOpen) && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-login-box", children: [
|
|
2526
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-login-recommend-list", children: recommendMethods.map((m) => {
|
|
2527
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2476
2528
|
RecommendItem,
|
|
2477
2529
|
{
|
|
2478
2530
|
icon: methodMap[m]?.icon,
|
|
2479
2531
|
name: methodMap[m]?.name,
|
|
2480
2532
|
onClick: methodMap[m]?.onClick,
|
|
2481
2533
|
showChildren: m == "wallet" && showWallet,
|
|
2482
|
-
children: m == "wallet" && /* @__PURE__ */ (0,
|
|
2483
|
-
/* @__PURE__ */ (0,
|
|
2484
|
-
/* @__PURE__ */ (0,
|
|
2534
|
+
children: m == "wallet" && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
|
|
2535
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-login-recommend-wallet-divider" }),
|
|
2536
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-login-recommend-wallet-list", children: walletMethods.map((n) => {
|
|
2485
2537
|
const m2 = walletMap[n];
|
|
2486
|
-
return /* @__PURE__ */ (0,
|
|
2538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2487
2539
|
"div",
|
|
2488
2540
|
{
|
|
2489
2541
|
className: "matchid-login-recommend-wallet-item",
|
|
2490
2542
|
onClick: m2.onClick,
|
|
2491
2543
|
children: [
|
|
2492
|
-
/* @__PURE__ */ (0,
|
|
2493
|
-
/* @__PURE__ */ (0,
|
|
2494
|
-
/* @__PURE__ */ (0,
|
|
2544
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-login-recommend-wallet-item-content", children: [
|
|
2545
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-login-recommend-wallet-item-icon", children: m2.icon }),
|
|
2546
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2495
2547
|
"div",
|
|
2496
2548
|
{
|
|
2497
2549
|
className: "matchid-login-recommend-wallet-item-hover-icon",
|
|
2498
2550
|
children: m2.activeIcon
|
|
2499
2551
|
}
|
|
2500
2552
|
),
|
|
2501
|
-
/* @__PURE__ */ (0,
|
|
2553
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2502
2554
|
"span",
|
|
2503
2555
|
{
|
|
2504
2556
|
className: "matchid-login-recommend-wallet-item-name",
|
|
@@ -2506,7 +2558,7 @@ function LoginBox({
|
|
|
2506
2558
|
}
|
|
2507
2559
|
)
|
|
2508
2560
|
] }),
|
|
2509
|
-
/* @__PURE__ */ (0,
|
|
2561
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2510
2562
|
ArrowRightIcon,
|
|
2511
2563
|
{
|
|
2512
2564
|
className: "matchid-login-recommend-wallet-item-arrow",
|
|
@@ -2524,10 +2576,10 @@ function LoginBox({
|
|
|
2524
2576
|
m
|
|
2525
2577
|
);
|
|
2526
2578
|
}) }),
|
|
2527
|
-
methods.length > 0 && /* @__PURE__ */ (0,
|
|
2528
|
-
/* @__PURE__ */ (0,
|
|
2529
|
-
/* @__PURE__ */ (0,
|
|
2530
|
-
return /* @__PURE__ */ (0,
|
|
2579
|
+
methods.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "matchid-login-other", children: [
|
|
2580
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-login-other-text", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react_intl8.FormattedMessage, { id: "otherLoginMethods" }) }),
|
|
2581
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "matchid-login-method-box", children: methods.map((m) => {
|
|
2582
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2531
2583
|
"div",
|
|
2532
2584
|
{
|
|
2533
2585
|
className: "matchid-login-method-item",
|
|
@@ -2540,7 +2592,7 @@ function LoginBox({
|
|
|
2540
2592
|
}) })
|
|
2541
2593
|
] })
|
|
2542
2594
|
] }),
|
|
2543
|
-
/* @__PURE__ */ (0,
|
|
2595
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2544
2596
|
EmailModal,
|
|
2545
2597
|
{
|
|
2546
2598
|
isOpen: emailOpen,
|
|
@@ -2560,40 +2612,40 @@ var import_react18 = require("react");
|
|
|
2560
2612
|
|
|
2561
2613
|
// src/components/LoginPanel/index.tsx
|
|
2562
2614
|
var import_react_intl9 = require("react-intl");
|
|
2563
|
-
var
|
|
2615
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
2564
2616
|
function LoginPanel({
|
|
2565
2617
|
header,
|
|
2566
2618
|
onClose,
|
|
2567
2619
|
...props
|
|
2568
2620
|
}) {
|
|
2569
2621
|
const isDownMd = useDownMd();
|
|
2570
|
-
return /* @__PURE__ */ (0,
|
|
2571
|
-
header ? header : /* @__PURE__ */ (0,
|
|
2572
|
-
/* @__PURE__ */ (0,
|
|
2573
|
-
/* @__PURE__ */ (0,
|
|
2574
|
-
/* @__PURE__ */ (0,
|
|
2622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-login-panel", children: [
|
|
2623
|
+
header ? header : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-login-panel-header", children: [
|
|
2624
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "matchid-login-panel-header-content", children: [
|
|
2625
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-login-panel-header-title", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl9.FormattedMessage, { id: "loginTitle" }) }),
|
|
2626
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-login-panel-header-subtilte", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl9.FormattedMessage, { id: "loginTips" }) })
|
|
2575
2627
|
] }),
|
|
2576
|
-
onClose && /* @__PURE__ */ (0,
|
|
2628
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-login-panel-header-close", onClick: onClose, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(CloseRoundIcon, { size: isDownMd ? 24 : 30 }) })
|
|
2577
2629
|
] }),
|
|
2578
|
-
/* @__PURE__ */ (0,
|
|
2579
|
-
/* @__PURE__ */ (0,
|
|
2630
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-login-panel-divide" }),
|
|
2631
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "matchid-login-panel-box", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(LoginBox, { ...props }) })
|
|
2580
2632
|
] });
|
|
2581
2633
|
}
|
|
2582
2634
|
|
|
2583
2635
|
// src/components/LoginModal/index.tsx
|
|
2584
|
-
var
|
|
2636
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
2585
2637
|
function LoginModal({
|
|
2586
2638
|
isOpen = false,
|
|
2587
2639
|
width = 480,
|
|
2588
2640
|
...props
|
|
2589
2641
|
}) {
|
|
2590
2642
|
const { isLogin } = useUserInfo();
|
|
2591
|
-
return /* @__PURE__ */ (0,
|
|
2643
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
2592
2644
|
Modal,
|
|
2593
2645
|
{
|
|
2594
2646
|
isOpen: isOpen && !isLogin,
|
|
2595
2647
|
width,
|
|
2596
|
-
children: /* @__PURE__ */ (0,
|
|
2648
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(LoginPanel, { ...props, inModal: true })
|
|
2597
2649
|
}
|
|
2598
2650
|
);
|
|
2599
2651
|
}
|
|
@@ -2602,10 +2654,10 @@ function LoginModal({
|
|
|
2602
2654
|
var import_react17 = require("react");
|
|
2603
2655
|
|
|
2604
2656
|
// src/assets/icon/ProfileIcon.tsx
|
|
2605
|
-
var
|
|
2657
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
2606
2658
|
function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
2607
|
-
return /* @__PURE__ */ (0,
|
|
2608
|
-
/* @__PURE__ */ (0,
|
|
2659
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2660
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2609
2661
|
"path",
|
|
2610
2662
|
{
|
|
2611
2663
|
fillRule: "evenodd",
|
|
@@ -2614,7 +2666,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2614
2666
|
fill: color
|
|
2615
2667
|
}
|
|
2616
2668
|
),
|
|
2617
|
-
/* @__PURE__ */ (0,
|
|
2669
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
2618
2670
|
"path",
|
|
2619
2671
|
{
|
|
2620
2672
|
fillRule: "evenodd",
|
|
@@ -2628,7 +2680,7 @@ function ProfileIcon({ size = 24, color = "black", ...props }) {
|
|
|
2628
2680
|
|
|
2629
2681
|
// src/components/UserPopover/index.tsx
|
|
2630
2682
|
var import_react_intl10 = require("react-intl");
|
|
2631
|
-
var
|
|
2683
|
+
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
2632
2684
|
function UserContent() {
|
|
2633
2685
|
const { logout, address, username } = useUserInfo();
|
|
2634
2686
|
const [logouting, setLogouting] = (0, import_react17.useState)(false);
|
|
@@ -2649,34 +2701,34 @@ function UserContent() {
|
|
|
2649
2701
|
rightIcon,
|
|
2650
2702
|
onClick
|
|
2651
2703
|
}) => {
|
|
2652
|
-
return /* @__PURE__ */ (0,
|
|
2653
|
-
/* @__PURE__ */ (0,
|
|
2704
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-user-popover-item", onClick, children: [
|
|
2705
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: `matchid-user-popover-item-content`, children: [
|
|
2654
2706
|
icon,
|
|
2655
|
-
/* @__PURE__ */ (0,
|
|
2707
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "matchid-user-popover-item-text", children })
|
|
2656
2708
|
] }),
|
|
2657
2709
|
rightIcon
|
|
2658
2710
|
] });
|
|
2659
2711
|
};
|
|
2660
2712
|
const UserDivider = () => {
|
|
2661
|
-
return /* @__PURE__ */ (0,
|
|
2713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: `matchid-user-popover-divider` });
|
|
2662
2714
|
};
|
|
2663
2715
|
const [usernameOpen, setUsernameOpen] = (0, import_react17.useState)(false);
|
|
2664
2716
|
const [copied, setCopied] = useCopyClipboard();
|
|
2665
2717
|
const intl = (0, import_react_intl10.useIntl)();
|
|
2666
|
-
return /* @__PURE__ */ (0,
|
|
2667
|
-
/* @__PURE__ */ (0,
|
|
2668
|
-
/* @__PURE__ */ (0,
|
|
2718
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-user-popover-content", children: [
|
|
2719
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "matchid-user-popover-list", children: [
|
|
2720
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(UserItem, { onClick: () => {
|
|
2669
2721
|
setCopied(address);
|
|
2670
|
-
}, icon: copied ? /* @__PURE__ */ (0,
|
|
2671
|
-
/* @__PURE__ */ (0,
|
|
2672
|
-
/* @__PURE__ */ (0,
|
|
2722
|
+
}, icon: copied ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(CheckIcon, { size: 20, color: "#0ecb81" }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(CopyIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(CheckIcon, { size: 20, color: "var(--icon-color)" }), children: truncateAddress(address) }),
|
|
2723
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(UserDivider, {}),
|
|
2724
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(UserItem, { onClick: () => {
|
|
2673
2725
|
setUsernameOpen(true);
|
|
2674
|
-
}, icon: /* @__PURE__ */ (0,
|
|
2726
|
+
}, icon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ProfileIcon, { size: 20, color: "var(--icon-color)" }), rightIcon: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ArrowRightIcon, { size: 20, color: "var(--icon-color)" }), children: username || intl.formatMessage({
|
|
2675
2727
|
id: "setUsername"
|
|
2676
2728
|
}) })
|
|
2677
2729
|
] }),
|
|
2678
|
-
/* @__PURE__ */ (0,
|
|
2679
|
-
/* @__PURE__ */ (0,
|
|
2730
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Button, { onClick: onLogout, loading: logouting, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react_intl10.FormattedMessage, { id: "disconnect" }) }),
|
|
2731
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)(UsernameModal, { isOpen: usernameOpen, onClose: () => {
|
|
2680
2732
|
setUsernameOpen(false);
|
|
2681
2733
|
}, onSuccess: () => {
|
|
2682
2734
|
setUsernameOpen(false);
|
|
@@ -2687,12 +2739,12 @@ function UserPopover({
|
|
|
2687
2739
|
children,
|
|
2688
2740
|
...props
|
|
2689
2741
|
}) {
|
|
2690
|
-
return /* @__PURE__ */ (0,
|
|
2742
|
+
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Popover, { ...props, content: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(UserContent, {}), children });
|
|
2691
2743
|
}
|
|
2692
2744
|
|
|
2693
2745
|
// src/components/LoginButton/index.tsx
|
|
2694
2746
|
var import_react_intl11 = require("react-intl");
|
|
2695
|
-
var
|
|
2747
|
+
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
2696
2748
|
function LoginButton({
|
|
2697
2749
|
loginRender,
|
|
2698
2750
|
methods,
|
|
@@ -2708,8 +2760,8 @@ function LoginButton({
|
|
|
2708
2760
|
const { isLogin, username } = useUserInfo();
|
|
2709
2761
|
const [loginOpen, setLoginOpen] = (0, import_react18.useState)(false);
|
|
2710
2762
|
if (!isLogin) {
|
|
2711
|
-
return /* @__PURE__ */ (0,
|
|
2712
|
-
/* @__PURE__ */ (0,
|
|
2763
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
|
|
2764
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
2713
2765
|
LoginModal,
|
|
2714
2766
|
{
|
|
2715
2767
|
methods,
|
|
@@ -2719,15 +2771,15 @@ function LoginButton({
|
|
|
2719
2771
|
onClose: () => setLoginOpen(false)
|
|
2720
2772
|
}
|
|
2721
2773
|
),
|
|
2722
|
-
/* @__PURE__ */ (0,
|
|
2723
|
-
/* @__PURE__ */ (0,
|
|
2724
|
-
/* @__PURE__ */ (0,
|
|
2774
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Button, { className: "matchid-unlogin-btn", ...props, highlight: true, onClick: () => setLoginOpen(true), children: [
|
|
2775
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(UnLoginIcon_default, {}),
|
|
2776
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl11.FormattedMessage, { id: "login" }) })
|
|
2725
2777
|
] })
|
|
2726
2778
|
] });
|
|
2727
2779
|
}
|
|
2728
|
-
return loginRender ? /* @__PURE__ */ (0,
|
|
2729
|
-
/* @__PURE__ */ (0,
|
|
2730
|
-
/* @__PURE__ */ (0,
|
|
2780
|
+
return loginRender ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_jsx_runtime63.Fragment, { children: loginRender }) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(UserPopover, { position: popoverPosition, type: popoverType, gap: popoverGap, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Button, { onClick: onLoginClick, className: "matchid-login-btn", ...props, children: [
|
|
2781
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(LoginIcon_default, {}),
|
|
2782
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { children: username ? truncateAddress(username) : "MatchID " + intl.formatMessage({
|
|
2731
2783
|
id: "user"
|
|
2732
2784
|
}) })
|
|
2733
2785
|
] }) });
|
|
@@ -2737,14 +2789,14 @@ function LoginButton({
|
|
|
2737
2789
|
var import_react19 = require("react");
|
|
2738
2790
|
|
|
2739
2791
|
// src/assets/icon/InfoRoundIcon.tsx
|
|
2740
|
-
var
|
|
2792
|
+
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
2741
2793
|
function InfoRoundIcon({
|
|
2742
2794
|
size,
|
|
2743
2795
|
color = "#6E6E6E",
|
|
2744
2796
|
...props
|
|
2745
2797
|
}) {
|
|
2746
|
-
return /* @__PURE__ */ (0,
|
|
2747
|
-
/* @__PURE__ */ (0,
|
|
2798
|
+
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("svg", { width: size, height: size, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
|
|
2799
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("g", { clipPath: "url(#clip0_418_7746)", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
|
2748
2800
|
"path",
|
|
2749
2801
|
{
|
|
2750
2802
|
fillRule: "evenodd",
|
|
@@ -2753,21 +2805,21 @@ function InfoRoundIcon({
|
|
|
2753
2805
|
fill: color
|
|
2754
2806
|
}
|
|
2755
2807
|
) }),
|
|
2756
|
-
/* @__PURE__ */ (0,
|
|
2808
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("clipPath", { id: "clip0_418_7746", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
2757
2809
|
] });
|
|
2758
2810
|
}
|
|
2759
2811
|
|
|
2760
2812
|
// src/components/UsernameModal/index.tsx
|
|
2761
2813
|
var import_react_intl12 = require("react-intl");
|
|
2762
|
-
var
|
|
2814
|
+
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
2763
2815
|
var ValidItem = ({
|
|
2764
2816
|
success = false,
|
|
2765
2817
|
text
|
|
2766
2818
|
}) => {
|
|
2767
2819
|
const isDownMd = useDownMd();
|
|
2768
|
-
return /* @__PURE__ */ (0,
|
|
2769
|
-
success ? /* @__PURE__ */ (0,
|
|
2770
|
-
/* @__PURE__ */ (0,
|
|
2820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: `matchid-valid-status-item matchid-valid-status-${success ? "success" : "error"}`, children: [
|
|
2821
|
+
success ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CheckRoundIcon, { size: isDownMd ? 12 : 16 }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(InfoRoundIcon, { size: isDownMd ? 12 : 16 }),
|
|
2822
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { children: text })
|
|
2771
2823
|
] });
|
|
2772
2824
|
};
|
|
2773
2825
|
function UsernameModal({
|
|
@@ -2815,12 +2867,12 @@ function UsernameModal({
|
|
|
2815
2867
|
}
|
|
2816
2868
|
};
|
|
2817
2869
|
const intl = (0, import_react_intl12.useIntl)();
|
|
2818
|
-
return /* @__PURE__ */ (0,
|
|
2870
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ModalWithHeader, { isOpen: isOpen && isLogin, ...props, title: title || intl.formatMessage({
|
|
2819
2871
|
id: username ? "editUsernameTitle" : "setUsernameTitle"
|
|
2820
|
-
}), children: /* @__PURE__ */ (0,
|
|
2821
|
-
/* @__PURE__ */ (0,
|
|
2872
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-username-box", children: [
|
|
2873
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Field, { label: intl.formatMessage({
|
|
2822
2874
|
id: "username"
|
|
2823
|
-
}), error, children: /* @__PURE__ */ (0,
|
|
2875
|
+
}), error, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2824
2876
|
Input,
|
|
2825
2877
|
{
|
|
2826
2878
|
placeholder: intl.formatMessage({
|
|
@@ -2833,8 +2885,8 @@ function UsernameModal({
|
|
|
2833
2885
|
value: val
|
|
2834
2886
|
}
|
|
2835
2887
|
) }),
|
|
2836
|
-
/* @__PURE__ */ (0,
|
|
2837
|
-
/* @__PURE__ */ (0,
|
|
2888
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "matchid-valid", children: [
|
|
2889
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
|
2838
2890
|
ValidItem,
|
|
2839
2891
|
{
|
|
2840
2892
|
success: isValid,
|
|
@@ -2843,16 +2895,16 @@ function UsernameModal({
|
|
|
2843
2895
|
})
|
|
2844
2896
|
}
|
|
2845
2897
|
),
|
|
2846
|
-
/* @__PURE__ */ (0,
|
|
2898
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ValidItem, { success: isLength, text: intl.formatMessage({
|
|
2847
2899
|
id: "usernameLengthError"
|
|
2848
2900
|
}) })
|
|
2849
2901
|
] }),
|
|
2850
|
-
/* @__PURE__ */ (0,
|
|
2902
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { disabled: !isSafe, loading: isSubmitting, style: {
|
|
2851
2903
|
marginTop: isDownMd ? "36px" : "64px"
|
|
2852
|
-
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0,
|
|
2853
|
-
/* @__PURE__ */ (0,
|
|
2904
|
+
}, onClick: onSubmit, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_intl12.FormattedMessage, { id: "confirm" }) }),
|
|
2905
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Button, { style: {
|
|
2854
2906
|
marginTop: isDownMd ? "12px" : "24px"
|
|
2855
|
-
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0,
|
|
2907
|
+
}, onClick: props.onClose, size: "lg", block: true, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react_intl12.FormattedMessage, { id: "cancel" }) })
|
|
2856
2908
|
] }) });
|
|
2857
2909
|
}
|
|
2858
2910
|
|
|
@@ -2886,7 +2938,7 @@ var walletConnectImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEA
|
|
|
2886
2938
|
var walletSigningImage = "data:image/png;base64,iVBORw0KGgoAAAANSUh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QbQXFuEJ/p6HX8WgNb8/rYiro0uXSwzh1GkmzIyKDs721xQUKB890QxOiUqKyuDEeCTkpISumvXLlq1ahU99NBDdP/99xNi/DFqcNiwYcxOSNw7EEFecNcR4+ErMcz7hRde0Gb22bNnz+nU1FRF/egjxfgcMboYzp8/H/zll1+qvz9/Xj3/1VfqVwYWFRWhu0e9cOGCto20sLBQo3gz8P4ust/Bk3kwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDN/x/wHjsXZ4EUApzgAAAABJRU5ErkJggg==";
|
|
2887
2939
|
|
|
2888
2940
|
// src/components/WalletModalContent/index.tsx
|
|
2889
|
-
var
|
|
2941
|
+
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
2890
2942
|
function WalletModalContent({
|
|
2891
2943
|
status,
|
|
2892
2944
|
error,
|
|
@@ -2956,12 +3008,12 @@ function WalletModalContent({
|
|
|
2956
3008
|
statusImage: walletConnectImage
|
|
2957
3009
|
};
|
|
2958
3010
|
}, [visible, connected, status, error, address]);
|
|
2959
|
-
return /* @__PURE__ */ (0,
|
|
2960
|
-
/* @__PURE__ */ (0,
|
|
2961
|
-
/* @__PURE__ */ (0,
|
|
2962
|
-
/* @__PURE__ */ (0,
|
|
3011
|
+
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: "matchid-wallet-container", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: `matchid-wallet-box`, children: [
|
|
3012
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: `matchid-wallet-content`, children: [
|
|
3013
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("img", { src: pageData.statusImage }),
|
|
3014
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: pageData.isError ? "text-[#F7585E]" : "", children: pageData.text })
|
|
2963
3015
|
] }),
|
|
2964
|
-
/* @__PURE__ */ (0,
|
|
3016
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
|
|
2965
3017
|
Button,
|
|
2966
3018
|
{
|
|
2967
3019
|
block: true,
|
|
@@ -2976,7 +3028,7 @@ function WalletModalContent({
|
|
|
2976
3028
|
}
|
|
2977
3029
|
|
|
2978
3030
|
// src/components/SOLModal/index.tsx
|
|
2979
|
-
var
|
|
3031
|
+
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
2980
3032
|
function WalletContent({
|
|
2981
3033
|
onSuccess,
|
|
2982
3034
|
type
|
|
@@ -3055,7 +3107,7 @@ function WalletContent({
|
|
|
3055
3107
|
statusRef.current = "";
|
|
3056
3108
|
}
|
|
3057
3109
|
};
|
|
3058
|
-
return /* @__PURE__ */ (0,
|
|
3110
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
|
|
3059
3111
|
WalletModalContent,
|
|
3060
3112
|
{
|
|
3061
3113
|
connected: wallet.connected,
|
|
@@ -3116,11 +3168,11 @@ function SOLModal({
|
|
|
3116
3168
|
...props
|
|
3117
3169
|
}) {
|
|
3118
3170
|
const intl = (0, import_react_intl13.useIntl)();
|
|
3119
|
-
return /* @__PURE__ */ (0,
|
|
3171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3120
3172
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3121
3173
|
}, {
|
|
3122
3174
|
name: "SOL"
|
|
3123
|
-
}), children: /* @__PURE__ */ (0,
|
|
3175
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_wallet_adapter_react.ConnectionProvider, { endpoint: (0, import_web3.clusterApiUrl)("devnet"), children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_wallet_adapter_react.WalletProvider, { wallets, autoConnect: true, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_wallet_adapter_react_ui.WalletModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(WalletContent, { onSuccess, type }) }) }) }) });
|
|
3124
3176
|
}
|
|
3125
3177
|
|
|
3126
3178
|
// src/components/TRONModal/index.tsx
|
|
@@ -3235,7 +3287,7 @@ var useTRONWallet = () => {
|
|
|
3235
3287
|
};
|
|
3236
3288
|
|
|
3237
3289
|
// src/components/TRONModal/index.tsx
|
|
3238
|
-
var
|
|
3290
|
+
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
3239
3291
|
function TRONModal({
|
|
3240
3292
|
type = "login",
|
|
3241
3293
|
onSuccess,
|
|
@@ -3245,9 +3297,9 @@ function TRONModal({
|
|
|
3245
3297
|
const intl = (0, import_react_intl14.useIntl)();
|
|
3246
3298
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useTRONWallet();
|
|
3247
3299
|
const iconMaps = {
|
|
3248
|
-
tronlink: /* @__PURE__ */ (0,
|
|
3249
|
-
bitget: /* @__PURE__ */ (0,
|
|
3250
|
-
okx: /* @__PURE__ */ (0,
|
|
3300
|
+
tronlink: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(TronLinkIcon, { size: isDownMd ? 36 : 40 }),
|
|
3301
|
+
bitget: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(BitgetIcon, { size: isDownMd ? 36 : 40 }),
|
|
3302
|
+
okx: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(OKXIcon, { size: isDownMd ? 36 : 40 })
|
|
3251
3303
|
};
|
|
3252
3304
|
const { events, login } = useMatch();
|
|
3253
3305
|
const [status, setStatus] = (0, import_react23.useState)("");
|
|
@@ -3339,11 +3391,11 @@ function TRONModal({
|
|
|
3339
3391
|
disconnect();
|
|
3340
3392
|
}
|
|
3341
3393
|
}, [props.isOpen]);
|
|
3342
|
-
return /* @__PURE__ */ (0,
|
|
3394
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3343
3395
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3344
3396
|
}, {
|
|
3345
3397
|
name: "TRON"
|
|
3346
|
-
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0,
|
|
3398
|
+
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3347
3399
|
WalletModalContent,
|
|
3348
3400
|
{
|
|
3349
3401
|
error,
|
|
@@ -3356,9 +3408,9 @@ function TRONModal({
|
|
|
3356
3408
|
setVisible: () => {
|
|
3357
3409
|
}
|
|
3358
3410
|
}
|
|
3359
|
-
) : /* @__PURE__ */ (0,
|
|
3411
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { className: "matchid-login-recommend-list", children: [
|
|
3360
3412
|
installedWallets.map((wallet2) => {
|
|
3361
|
-
return /* @__PURE__ */ (0,
|
|
3413
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3362
3414
|
RecommendItem,
|
|
3363
3415
|
{
|
|
3364
3416
|
icon: iconMaps[wallet2.walletKey],
|
|
@@ -3371,14 +3423,14 @@ function TRONModal({
|
|
|
3371
3423
|
);
|
|
3372
3424
|
}),
|
|
3373
3425
|
wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
|
|
3374
|
-
return /* @__PURE__ */ (0,
|
|
3426
|
+
return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
3375
3427
|
RecommendItem,
|
|
3376
3428
|
{
|
|
3377
3429
|
icon: iconMaps[wallet2.walletKey],
|
|
3378
3430
|
name: wallet2.name,
|
|
3379
3431
|
onClick: () => {
|
|
3380
3432
|
},
|
|
3381
|
-
footer: /* @__PURE__ */ (0,
|
|
3433
|
+
footer: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Button, { size: "sm", onClick: () => {
|
|
3382
3434
|
window.open(wallet2.website);
|
|
3383
3435
|
}, children: "Install" })
|
|
3384
3436
|
},
|
|
@@ -3392,7 +3444,7 @@ function TRONModal({
|
|
|
3392
3444
|
var import_react24 = __toESM(require("react"));
|
|
3393
3445
|
var import_react_intl15 = require("react-intl");
|
|
3394
3446
|
var import_ui_react = require("@tonconnect/ui-react");
|
|
3395
|
-
var
|
|
3447
|
+
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
3396
3448
|
function WalletContent2({
|
|
3397
3449
|
onSuccess,
|
|
3398
3450
|
type
|
|
@@ -3519,7 +3571,7 @@ function WalletContent2({
|
|
|
3519
3571
|
}
|
|
3520
3572
|
}
|
|
3521
3573
|
}, [state]);
|
|
3522
|
-
return /* @__PURE__ */ (0,
|
|
3574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3523
3575
|
WalletModalContent,
|
|
3524
3576
|
{
|
|
3525
3577
|
connected,
|
|
@@ -3550,15 +3602,15 @@ function TONModal({
|
|
|
3550
3602
|
const intl = (0, import_react_intl15.useIntl)();
|
|
3551
3603
|
const { endpoints, appid } = useLocalStore_default();
|
|
3552
3604
|
const manifestUrl = `${endpoints.back}api/v1/wallet/ton?appid=${appid}&url=` + encodeURIComponent(window.location.origin);
|
|
3553
|
-
return /* @__PURE__ */ (0,
|
|
3605
|
+
return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3554
3606
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3555
3607
|
}, {
|
|
3556
3608
|
name: "TON"
|
|
3557
|
-
}), children: /* @__PURE__ */ (0,
|
|
3609
|
+
}), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
|
|
3558
3610
|
import_ui_react.TonConnectUIProvider,
|
|
3559
3611
|
{
|
|
3560
3612
|
manifestUrl,
|
|
3561
|
-
children: /* @__PURE__ */ (0,
|
|
3613
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(WalletContent2, { onSuccess, type })
|
|
3562
3614
|
}
|
|
3563
3615
|
) });
|
|
3564
3616
|
}
|
|
@@ -3748,7 +3800,7 @@ var useBTCWallet = () => {
|
|
|
3748
3800
|
};
|
|
3749
3801
|
|
|
3750
3802
|
// src/components/BTCModal/index.tsx
|
|
3751
|
-
var
|
|
3803
|
+
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
3752
3804
|
function BTCModal({
|
|
3753
3805
|
type = "login",
|
|
3754
3806
|
onSuccess,
|
|
@@ -3758,9 +3810,9 @@ function BTCModal({
|
|
|
3758
3810
|
const intl = (0, import_react_intl16.useIntl)();
|
|
3759
3811
|
const { wallets: wallets2, installedWallets, chooseWallet, wallet, address, onConnect } = useBTCWallet();
|
|
3760
3812
|
const iconMaps = {
|
|
3761
|
-
leather: /* @__PURE__ */ (0,
|
|
3762
|
-
unisat: /* @__PURE__ */ (0,
|
|
3763
|
-
xverse: /* @__PURE__ */ (0,
|
|
3813
|
+
leather: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(LeatherIcon, { size: isDownMd ? 36 : 40 }),
|
|
3814
|
+
unisat: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(UnisatIcon, { size: isDownMd ? 36 : 40 }),
|
|
3815
|
+
xverse: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(XverseIcon, { size: isDownMd ? 36 : 40 })
|
|
3764
3816
|
};
|
|
3765
3817
|
const { events, login } = useMatch();
|
|
3766
3818
|
const [status, setStatus] = (0, import_react26.useState)("");
|
|
@@ -3860,11 +3912,11 @@ function BTCModal({
|
|
|
3860
3912
|
statusRef.current = "";
|
|
3861
3913
|
setError("");
|
|
3862
3914
|
};
|
|
3863
|
-
return /* @__PURE__ */ (0,
|
|
3915
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ModalWithHeader, { ...props, title: props.title || intl.formatMessage({
|
|
3864
3916
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
3865
3917
|
}, {
|
|
3866
3918
|
name: "BTC"
|
|
3867
|
-
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0,
|
|
3919
|
+
}), onBack: wallet ? onBack : void 0, children: wallet ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3868
3920
|
WalletModalContent,
|
|
3869
3921
|
{
|
|
3870
3922
|
error,
|
|
@@ -3877,9 +3929,9 @@ function BTCModal({
|
|
|
3877
3929
|
setVisible: () => {
|
|
3878
3930
|
}
|
|
3879
3931
|
}
|
|
3880
|
-
) : /* @__PURE__ */ (0,
|
|
3932
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "matchid-login-box", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { className: "matchid-login-recommend-list", children: [
|
|
3881
3933
|
installedWallets.map((wallet2) => {
|
|
3882
|
-
return /* @__PURE__ */ (0,
|
|
3934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3883
3935
|
RecommendItem,
|
|
3884
3936
|
{
|
|
3885
3937
|
icon: iconMaps[wallet2.walletKey],
|
|
@@ -3892,14 +3944,14 @@ function BTCModal({
|
|
|
3892
3944
|
);
|
|
3893
3945
|
}),
|
|
3894
3946
|
wallets2.filter((wallet2) => !installedWallets.find((installedWallet) => installedWallet.walletKey == wallet2.walletKey)).map((wallet2) => {
|
|
3895
|
-
return /* @__PURE__ */ (0,
|
|
3947
|
+
return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
|
|
3896
3948
|
RecommendItem,
|
|
3897
3949
|
{
|
|
3898
3950
|
icon: iconMaps[wallet2.walletKey],
|
|
3899
3951
|
name: wallet2.name,
|
|
3900
3952
|
onClick: () => {
|
|
3901
3953
|
},
|
|
3902
|
-
footer: /* @__PURE__ */ (0,
|
|
3954
|
+
footer: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { size: "sm", onClick: () => {
|
|
3903
3955
|
window.open(wallet2.website);
|
|
3904
3956
|
}, children: "Install" })
|
|
3905
3957
|
},
|