@huyooo/ui 0.7.24 → 0.8.0
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/{AuthkitAuthModal-DcZ69VKT.js → AuthkitAuthModal-CX6-EB-D.js} +563 -628
- package/dist/{AuthkitSignInPhone-CJLeElZ1.js → AuthkitSignInPhone-D3hR0dGZ.js} +100 -100
- package/dist/{Clipboard-BVSUEtX_.js → Clipboard-CI4IUrMw.js} +13 -14
- package/dist/{Contact-DWQjd6yu.js → Contact-mQa-gB4k.js} +3 -3
- package/dist/{CustomTable-BCOwLyRJ.js → CustomTable-D8ubfrWL.js} +2 -2
- package/dist/{FeedbackItem-qppn-rOs.js → FeedbackItem-qaxaQ8gu.js} +4 -4
- package/dist/{FeedbackModal-28L6QJaB.js → FeedbackModal-CUSOWVn5.js} +268 -303
- package/dist/{LandingPageSectionTabs-DYNXKElT.js → LandingPageSectionTabs-BOX6nVdh.js} +2 -2
- package/dist/MessageHandle-WcCeYl7E.js +1147 -0
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DHO6VGx-.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BwZM2SQn.js} +38 -37
- package/dist/{PaySubscriptions-BqtXFPHR.js → PaySubscriptions-DO2W3Y5v.js} +131 -171
- package/dist/ReferrerReferees-CXVi2pUl.js +106 -0
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-D2gY_z-p.js → Upload.vue_vue_type_script_setup_true_lang-CY_Pk57x.js} +2 -2
- package/dist/{UserAccountMenu--fY2QkYw.js → UserAccountMenu-CHkdka0u.js} +8 -8
- package/dist/{WidthContainer-DMJSBs_q.js → WidthContainer-BBoIS50Z.js} +10 -10
- package/dist/apiClients-CChPISR0.js +1805 -0
- package/dist/authkit.js +6 -6
- package/dist/common/globalConfig.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/components/Authkit/Auth/AuthkitAuthContainer.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +1 -1
- package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +1 -1
- package/dist/components/LandingPage/LandingPageStats.vue.d.ts +1 -1
- package/dist/components/Logo.vue.d.ts +1 -1
- package/dist/components/MenuItem.vue.d.ts +1 -1
- package/dist/components/Message/MessageTabs.vue.d.ts +2 -2
- package/dist/components/Upload/Upload.vue.d.ts +2 -2
- package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
- package/dist/components/User/UserPanel.vue.d.ts +2 -2
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +1 -1
- package/dist/composables.js +9 -9
- package/dist/feedback.js +3 -3
- package/dist/{index-Bb-d5pBq.js → index-4_tj9bS1.js} +1 -1
- package/dist/index-96pA3ONI.js +30 -0
- package/dist/index.js +191 -189
- package/dist/landingPage.js +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/message.js +3 -3
- package/dist/pay.js +1 -1
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +2747 -0
- package/dist/types/api/billing.generated.d.ts +1964 -0
- package/dist/types/api/ones.generated.d.ts +5567 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-Bu-Q-44G.js → useAuthkitAppsAuthPageInfo-gn2zm_NY.js} +13 -27
- package/dist/{useAuthkitCreateAndUpdate-DHGgpk14.js → useAuthkitCreateAndUpdate-yNpIyVXV.js} +2 -2
- package/dist/useAuthkitUsersProfile-D32zPSn2.js +174 -0
- package/dist/{useDownloads-jzTsK6S6.js → useDownloads-MF9rK9J_.js} +2 -2
- package/dist/useMessageNotifications-CCfM6W6J.js +78 -0
- package/dist/{useSEO-Curqg3Re.js → useSEO-DivOwPWc.js} +2 -2
- package/dist/{useTableHandle-MuavycJ7.js → useTableHandle-DpemWl6Y.js} +2 -2
- package/dist/{useUploadCos-C4mpMNhT.js → useUploadCos-BVvRc0BW.js} +159 -181
- package/dist/user.js +1 -1
- package/dist/utils/apiClients.d.ts +6 -0
- package/dist/utils/apiMiddlewares.d.ts +16 -0
- package/package.json +8 -3
- package/dist/MessageHandle-DaczDI82.js +0 -1207
- package/dist/MessageNotifications-IluYhczu.js +0 -35
- package/dist/ReferrerReferees-D6CNoqs4.js +0 -113
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/api/Authkit/Users.d.ts +0 -15
- package/dist/api/Authkit/apps.d.ts +0 -2
- package/dist/api/Authkit/auth.d.ts +0 -50
- package/dist/api/Authkit/oauth.d.ts +0 -12
- package/dist/api/Authkit/verify.d.ts +0 -25
- package/dist/api/Buckets/Files.d.ts +0 -7
- package/dist/api/Buckets.d.ts +0 -2
- package/dist/api/Invoices.d.ts +0 -32
- package/dist/api/Message/ChangelogNotifications.d.ts +0 -17
- package/dist/api/Message/EventNotifications.d.ts +0 -16
- package/dist/api/Message/MessageNotifications.d.ts +0 -25
- package/dist/api/Message/NoticeNotifications.d.ts +0 -37
- package/dist/api/Messages.d.ts +0 -2
- package/dist/api/Orders.d.ts +0 -9
- package/dist/api/Products.d.ts +0 -20
- package/dist/api/Quotas.d.ts +0 -21
- package/dist/api/Referrer.d.ts +0 -1
- package/dist/api/Subscriptions.d.ts +0 -35
- package/dist/api/index.d.ts +0 -8
- package/dist/request-BkNyIDws.js +0 -196
- package/dist/useAuthkitUsersProfile-D58I5n2T.js +0 -257
- package/dist/useMessageNotifications-CLowHpNV.js +0 -78
- package/dist/utils/request.d.ts +0 -26
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as z, computed as N, createElementBlock as w, openBlock as g, normalizeStyle as O, createElementVNode as s, createCommentVNode as $, renderSlot as D, ref as m, toDisplayString as
|
|
1
|
+
import { defineComponent as z, computed as N, createElementBlock as w, openBlock as g, normalizeStyle as O, createElementVNode as s, createCommentVNode as $, renderSlot as D, ref as m, toDisplayString as A, createVNode as o, unref as a, withCtx as r, createTextVNode as V, onMounted as K, createBlock as E, useSlots as G } from "vue";
|
|
2
2
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import "./index-96pA3ONI.js";
|
|
3
4
|
/* empty css */
|
|
4
5
|
/* empty css */
|
|
5
6
|
/* empty css */
|
|
6
7
|
/* empty css */
|
|
7
8
|
/* empty css */
|
|
8
9
|
/* empty css */
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const oe = {
|
|
10
|
+
import { List as J, ListItem as T, ListItemMeta as L, Avatar as F, Button as P, Form as U, FormItem as b, Input as S, Link as M } from "@arco-design/web-vue";
|
|
11
|
+
import { c as R } from "./apiClients-CChPISR0.js";
|
|
12
|
+
import { u as Q, a as W } from "./useAuthkitUsersProfile-D32zPSn2.js";
|
|
13
|
+
import { S as B, g as X, h as Y } from "./AuthkitAuthModal-CX6-EB-D.js";
|
|
14
|
+
const Z = {
|
|
15
15
|
class: "header"
|
|
16
|
-
},
|
|
16
|
+
}, ee = ["href"], te = {
|
|
17
17
|
class: "container"
|
|
18
|
-
},
|
|
18
|
+
}, oe = /* @__PURE__ */ z({
|
|
19
19
|
__name: "AuthkitAuthContainer",
|
|
20
20
|
props: {
|
|
21
21
|
applicationLogoUrl: {
|
|
@@ -66,7 +66,7 @@ const oe = {
|
|
|
66
66
|
return (l, p) => (g(), w("div", {
|
|
67
67
|
class: "auth",
|
|
68
68
|
style: O(n.value)
|
|
69
|
-
}, [s("div",
|
|
69
|
+
}, [s("div", Z, [f.name ? (g(), w("a", {
|
|
70
70
|
key: 0,
|
|
71
71
|
href: f.appHomePage,
|
|
72
72
|
target: "_self",
|
|
@@ -74,22 +74,22 @@ const oe = {
|
|
|
74
74
|
style: O({
|
|
75
75
|
color: f.linkColor
|
|
76
76
|
})
|
|
77
|
-
}, " 返回主页 ", 12,
|
|
77
|
+
}, " 返回主页 ", 12, ee)) : $("", !0)]), s("div", te, [D(l.$slots, "default", {}, void 0, !0)])], 4));
|
|
78
78
|
}
|
|
79
|
-
}),
|
|
79
|
+
}), Qe = /* @__PURE__ */ C(oe, [["__scopeId", "data-v-203946ff"]]), ae = {
|
|
80
80
|
class: "box"
|
|
81
|
-
},
|
|
81
|
+
}, le = {
|
|
82
82
|
class: "title"
|
|
83
|
-
},
|
|
83
|
+
}, se = {
|
|
84
84
|
class: "content"
|
|
85
|
-
},
|
|
85
|
+
}, ie = {
|
|
86
86
|
class: "redirect"
|
|
87
|
-
},
|
|
87
|
+
}, re = {
|
|
88
88
|
style: {
|
|
89
89
|
"font-weight": "bold",
|
|
90
90
|
"font-size": "12px"
|
|
91
91
|
}
|
|
92
|
-
},
|
|
92
|
+
}, ne = /* @__PURE__ */ z({
|
|
93
93
|
__name: "AuthkitAuthorize",
|
|
94
94
|
props: {
|
|
95
95
|
size: {
|
|
@@ -148,7 +148,7 @@ const oe = {
|
|
|
148
148
|
async function p() {
|
|
149
149
|
const {
|
|
150
150
|
data: u
|
|
151
|
-
} = await
|
|
151
|
+
} = await R.apps.findOne.post({
|
|
152
152
|
id: n.clientId
|
|
153
153
|
});
|
|
154
154
|
u && (l.value = u);
|
|
@@ -158,7 +158,7 @@ const oe = {
|
|
|
158
158
|
f.value = !0;
|
|
159
159
|
const {
|
|
160
160
|
data: u
|
|
161
|
-
} = await
|
|
161
|
+
} = await R.oauth2.authorize.post({
|
|
162
162
|
client_id: n.clientId,
|
|
163
163
|
response_type: n.responseType,
|
|
164
164
|
scope: n.scope,
|
|
@@ -167,11 +167,11 @@ const oe = {
|
|
|
167
167
|
});
|
|
168
168
|
f.value = !1, u && (window.location = u.authorizeUrl);
|
|
169
169
|
}
|
|
170
|
-
return (u, e) => (g(), w("div",
|
|
171
|
-
default: r(() => [o(a(
|
|
170
|
+
return (u, e) => (g(), w("div", ae, [s("div", le, A(`授权 ${l.value.name}`), 1), s("div", se, [o(a(J), null, {
|
|
171
|
+
default: r(() => [o(a(T), null, {
|
|
172
172
|
default: r(() => {
|
|
173
173
|
var _;
|
|
174
|
-
return [o(a(
|
|
174
|
+
return [o(a(L), {
|
|
175
175
|
title: l.value.name,
|
|
176
176
|
description: `想要使用您的${(_ = n.userInfo) == null ? void 0 : _.nickname}账户`
|
|
177
177
|
}, {
|
|
@@ -186,8 +186,8 @@ const oe = {
|
|
|
186
186
|
}, 8, ["title", "description"])];
|
|
187
187
|
}),
|
|
188
188
|
_: 1
|
|
189
|
-
}), o(a(
|
|
190
|
-
default: r(() => [o(a(
|
|
189
|
+
}), o(a(T), null, {
|
|
190
|
+
default: r(() => [o(a(L), {
|
|
191
191
|
title: "公开信息",
|
|
192
192
|
description: "头像、昵称"
|
|
193
193
|
}, {
|
|
@@ -203,8 +203,8 @@ const oe = {
|
|
|
203
203
|
_: 1
|
|
204
204
|
})]),
|
|
205
205
|
_: 1
|
|
206
|
-
}), o(a(
|
|
207
|
-
default: r(() => [o(a(
|
|
206
|
+
}), o(a(T), null, {
|
|
207
|
+
default: r(() => [o(a(L), {
|
|
208
208
|
title: "个人用户数据",
|
|
209
209
|
description: "电子邮件地址"
|
|
210
210
|
}, {
|
|
@@ -222,7 +222,7 @@ const oe = {
|
|
|
222
222
|
_: 1
|
|
223
223
|
})]),
|
|
224
224
|
_: 1
|
|
225
|
-
}), o(a(
|
|
225
|
+
}), o(a(P), {
|
|
226
226
|
type: "primary",
|
|
227
227
|
size: n.size,
|
|
228
228
|
loading: f.value,
|
|
@@ -230,25 +230,25 @@ const oe = {
|
|
|
230
230
|
}, {
|
|
231
231
|
default: r(() => [...e[2] || (e[2] = [V(" 授权 ", -1)])]),
|
|
232
232
|
_: 1
|
|
233
|
-
}, 8, ["size", "loading"]), s("div",
|
|
233
|
+
}, 8, ["size", "loading"]), s("div", ie, [e[3] || (e[3] = s("div", {
|
|
234
234
|
style: {
|
|
235
235
|
color: "#888",
|
|
236
236
|
"font-size": "12px"
|
|
237
237
|
}
|
|
238
|
-
}, "授权后将跳转至", -1)), s("div",
|
|
238
|
+
}, "授权后将跳转至", -1)), s("div", re, A(l.value.authorizationCallback), 1)])])]));
|
|
239
239
|
}
|
|
240
|
-
}),
|
|
240
|
+
}), We = /* @__PURE__ */ C(ne, [["__scopeId", "data-v-16dd3515"]]), de = {
|
|
241
241
|
class: "oauth-callback"
|
|
242
|
-
},
|
|
242
|
+
}, ue = {
|
|
243
243
|
key: 0,
|
|
244
244
|
class: "callback-loading"
|
|
245
|
-
},
|
|
245
|
+
}, ce = {
|
|
246
246
|
key: 1,
|
|
247
247
|
class: "callback-error"
|
|
248
|
-
},
|
|
248
|
+
}, pe = {
|
|
249
249
|
key: 2,
|
|
250
250
|
class: "callback-success"
|
|
251
|
-
},
|
|
251
|
+
}, fe = /* @__PURE__ */ z({
|
|
252
252
|
__name: "AuthkitOauthCallback",
|
|
253
253
|
props: {
|
|
254
254
|
defaultRedirect: {},
|
|
@@ -262,9 +262,9 @@ const oe = {
|
|
|
262
262
|
const n = y, l = f, p = m(!0), d = m(""), {
|
|
263
263
|
setToken: u,
|
|
264
264
|
initializeAuth: e
|
|
265
|
-
} =
|
|
265
|
+
} = Q(), {
|
|
266
266
|
fetchUserProfile: _
|
|
267
|
-
} =
|
|
267
|
+
} = W();
|
|
268
268
|
async function v() {
|
|
269
269
|
const c = new URLSearchParams(window.location.search), t = c.get("error");
|
|
270
270
|
if (t) {
|
|
@@ -278,8 +278,8 @@ const oe = {
|
|
|
278
278
|
}
|
|
279
279
|
try {
|
|
280
280
|
u(i), await _();
|
|
281
|
-
const
|
|
282
|
-
if (window.history.replaceState({}, "",
|
|
281
|
+
const x = window.location.pathname;
|
|
282
|
+
if (window.history.replaceState({}, "", x), q && (l("needBindIdentity", {
|
|
283
283
|
token: i,
|
|
284
284
|
userId: h || "",
|
|
285
285
|
appId: k || ""
|
|
@@ -301,8 +301,8 @@ const oe = {
|
|
|
301
301
|
p.value = !1, setTimeout(() => {
|
|
302
302
|
window.location.href = j;
|
|
303
303
|
}, 500);
|
|
304
|
-
} catch (
|
|
305
|
-
console.error("OAuth 回调处理失败:",
|
|
304
|
+
} catch (x) {
|
|
305
|
+
console.error("OAuth 回调处理失败:", x), d.value = "登录处理失败,请重试", p.value = !1, l("error", d.value);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
function I() {
|
|
@@ -318,29 +318,29 @@ const oe = {
|
|
|
318
318
|
sessionStorage.removeItem("auth_redirect"), window.location.href = t || n.defaultRedirect || "/";
|
|
319
319
|
} else
|
|
320
320
|
d.value = "无效的访问", p.value = !1;
|
|
321
|
-
}), (c, t) => (g(), w("div",
|
|
321
|
+
}), (c, t) => (g(), w("div", de, [p.value ? (g(), w("div", ue, [t[0] || (t[0] = s("div", {
|
|
322
322
|
class: "spinner"
|
|
323
|
-
}, null, -1)), s("p", null,
|
|
323
|
+
}, null, -1)), s("p", null, A(y.loadingText), 1)])) : d.value ? (g(), w("div", ce, [t[1] || (t[1] = s("div", {
|
|
324
324
|
class: "error-icon"
|
|
325
|
-
}, "✕", -1)), t[2] || (t[2] = s("h2", null, "登录失败", -1)), s("p", null,
|
|
325
|
+
}, "✕", -1)), t[2] || (t[2] = s("h2", null, "登录失败", -1)), s("p", null, A(d.value), 1), s("button", {
|
|
326
326
|
class: "retry-btn",
|
|
327
327
|
onClick: I
|
|
328
|
-
}, "返回重试")])) : (g(), w("div",
|
|
328
|
+
}, "返回重试")])) : (g(), w("div", pe, [...t[3] || (t[3] = [s("div", {
|
|
329
329
|
class: "success-icon"
|
|
330
330
|
}, "✓", -1), s("p", null, "登录成功,正在跳转...", -1)])]))]));
|
|
331
331
|
}
|
|
332
|
-
}),
|
|
332
|
+
}), Xe = /* @__PURE__ */ C(fe, [["__scopeId", "data-v-07b0e1e4"]]), me = {
|
|
333
333
|
class: "BindEmail"
|
|
334
|
-
},
|
|
334
|
+
}, ve = {
|
|
335
335
|
class: "content"
|
|
336
|
-
},
|
|
336
|
+
}, he = {
|
|
337
337
|
class: "sendVerifyCodeItem"
|
|
338
|
-
},
|
|
338
|
+
}, ge = {
|
|
339
339
|
class: "handle"
|
|
340
|
-
},
|
|
340
|
+
}, ye = {
|
|
341
341
|
key: 0,
|
|
342
342
|
class: "skip"
|
|
343
|
-
},
|
|
343
|
+
}, _e = /* @__PURE__ */ z({
|
|
344
344
|
__name: "AuthkitBindEmail",
|
|
345
345
|
props: {
|
|
346
346
|
size: {
|
|
@@ -372,7 +372,7 @@ const oe = {
|
|
|
372
372
|
d.value = !0;
|
|
373
373
|
const {
|
|
374
374
|
data: t
|
|
375
|
-
} = await
|
|
375
|
+
} = await R.verify.email.retry.post({
|
|
376
376
|
email: e.value.email
|
|
377
377
|
});
|
|
378
378
|
d.value = !1, t && (e.value.emailVerifyId = t.emailVerifyId, p.value.startCountFn());
|
|
@@ -390,13 +390,13 @@ const oe = {
|
|
|
390
390
|
function I() {
|
|
391
391
|
n("skip");
|
|
392
392
|
}
|
|
393
|
-
return (c, t) => (g(), w("div",
|
|
393
|
+
return (c, t) => (g(), w("div", me, [t[4] || (t[4] = s("div", {
|
|
394
394
|
class: "header"
|
|
395
395
|
}, [s("h3", {
|
|
396
396
|
class: "title"
|
|
397
397
|
}, "绑定邮箱"), s("p", {
|
|
398
398
|
class: "subtitle"
|
|
399
|
-
}, "请绑定邮箱以完成账号设置,绑定后可使用邮箱登录")], -1)), s("div",
|
|
399
|
+
}, "请绑定邮箱以完成账号设置,绑定后可使用邮箱登录")], -1)), s("div", ve, [o(a(U), {
|
|
400
400
|
ref_key: "formRef",
|
|
401
401
|
ref: u,
|
|
402
402
|
model: e.value,
|
|
@@ -432,12 +432,12 @@ const oe = {
|
|
|
432
432
|
message: "请输入验证码"
|
|
433
433
|
}]
|
|
434
434
|
}, {
|
|
435
|
-
default: r(() => [s("div",
|
|
435
|
+
default: r(() => [s("div", he, [o(a(S), {
|
|
436
436
|
modelValue: e.value.userToken,
|
|
437
437
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => e.value.userToken = i),
|
|
438
438
|
placeholder: "请输入验证码",
|
|
439
439
|
autocomplete: "one-time-code"
|
|
440
|
-
}, null, 8, ["modelValue"]), o(
|
|
440
|
+
}, null, 8, ["modelValue"]), o(B, {
|
|
441
441
|
ref_key: "SendVerifyCodeRef",
|
|
442
442
|
ref: p,
|
|
443
443
|
size: l.size,
|
|
@@ -448,7 +448,7 @@ const oe = {
|
|
|
448
448
|
onSend: _
|
|
449
449
|
}, null, 8, ["size", "loading"])])]),
|
|
450
450
|
_: 1
|
|
451
|
-
}), s("div",
|
|
451
|
+
}), s("div", ge, [o(a(P), {
|
|
452
452
|
type: "primary",
|
|
453
453
|
loading: l.loading,
|
|
454
454
|
long: "",
|
|
@@ -459,25 +459,25 @@ const oe = {
|
|
|
459
459
|
_: 1
|
|
460
460
|
}, 8, ["loading", "size"])])]),
|
|
461
461
|
_: 1
|
|
462
|
-
}, 8, ["model", "size"])]), l.showSkip ? (g(), w("div",
|
|
462
|
+
}, 8, ["model", "size"])]), l.showSkip ? (g(), w("div", ye, [o(a(M), {
|
|
463
463
|
onClick: I
|
|
464
464
|
}, {
|
|
465
465
|
default: r(() => [...t[3] || (t[3] = [V("稍后绑定", -1)])]),
|
|
466
466
|
_: 1
|
|
467
467
|
})])) : $("", !0)]));
|
|
468
468
|
}
|
|
469
|
-
}),
|
|
469
|
+
}), Ye = /* @__PURE__ */ C(_e, [["__scopeId", "data-v-aa10f560"]]), we = {
|
|
470
470
|
class: "BindPhone"
|
|
471
|
-
},
|
|
471
|
+
}, ke = {
|
|
472
472
|
class: "content"
|
|
473
|
-
},
|
|
473
|
+
}, be = {
|
|
474
474
|
class: "sendVerifyCodeItem"
|
|
475
|
-
},
|
|
475
|
+
}, Se = {
|
|
476
476
|
class: "handle"
|
|
477
|
-
},
|
|
477
|
+
}, Ie = {
|
|
478
478
|
key: 0,
|
|
479
479
|
class: "skip"
|
|
480
|
-
},
|
|
480
|
+
}, Ve = /* @__PURE__ */ z({
|
|
481
481
|
__name: "AuthkitBindPhone",
|
|
482
482
|
props: {
|
|
483
483
|
size: {
|
|
@@ -507,7 +507,7 @@ const oe = {
|
|
|
507
507
|
d.value = !0;
|
|
508
508
|
const {
|
|
509
509
|
error: t
|
|
510
|
-
} = await
|
|
510
|
+
} = await R.verify.sms.send.post({
|
|
511
511
|
phone: e.value.phone
|
|
512
512
|
});
|
|
513
513
|
d.value = !1, t || p.value.startCountFn();
|
|
@@ -524,13 +524,13 @@ const oe = {
|
|
|
524
524
|
function I() {
|
|
525
525
|
n("skip");
|
|
526
526
|
}
|
|
527
|
-
return (c, t) => (g(), w("div",
|
|
527
|
+
return (c, t) => (g(), w("div", we, [t[4] || (t[4] = s("div", {
|
|
528
528
|
class: "header"
|
|
529
529
|
}, [s("h3", {
|
|
530
530
|
class: "title"
|
|
531
531
|
}, "绑定手机号"), s("p", {
|
|
532
532
|
class: "subtitle"
|
|
533
|
-
}, "请绑定手机号以完成账号设置")], -1)), s("div",
|
|
533
|
+
}, "请绑定手机号以完成账号设置")], -1)), s("div", ke, [o(a(U), {
|
|
534
534
|
ref_key: "formRef",
|
|
535
535
|
ref: u,
|
|
536
536
|
model: e.value,
|
|
@@ -566,12 +566,12 @@ const oe = {
|
|
|
566
566
|
message: "请输入验证码"
|
|
567
567
|
}]
|
|
568
568
|
}, {
|
|
569
|
-
default: r(() => [s("div",
|
|
569
|
+
default: r(() => [s("div", be, [o(a(S), {
|
|
570
570
|
modelValue: e.value.code,
|
|
571
571
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => e.value.code = i),
|
|
572
572
|
placeholder: "请输入验证码",
|
|
573
573
|
autocomplete: "one-time-code"
|
|
574
|
-
}, null, 8, ["modelValue"]), o(
|
|
574
|
+
}, null, 8, ["modelValue"]), o(B, {
|
|
575
575
|
ref_key: "SendVerifyCodeRef",
|
|
576
576
|
ref: p,
|
|
577
577
|
size: l.size,
|
|
@@ -582,7 +582,7 @@ const oe = {
|
|
|
582
582
|
onSend: _
|
|
583
583
|
}, null, 8, ["size", "loading"])])]),
|
|
584
584
|
_: 1
|
|
585
|
-
}), s("div",
|
|
585
|
+
}), s("div", Se, [o(a(P), {
|
|
586
586
|
type: "primary",
|
|
587
587
|
loading: l.loading,
|
|
588
588
|
long: "",
|
|
@@ -593,22 +593,22 @@ const oe = {
|
|
|
593
593
|
_: 1
|
|
594
594
|
}, 8, ["loading", "size"])])]),
|
|
595
595
|
_: 1
|
|
596
|
-
}, 8, ["model", "size"])]), l.showSkip ? (g(), w("div",
|
|
596
|
+
}, 8, ["model", "size"])]), l.showSkip ? (g(), w("div", Ie, [o(a(M), {
|
|
597
597
|
onClick: I
|
|
598
598
|
}, {
|
|
599
599
|
default: r(() => [...t[3] || (t[3] = [V("稍后绑定", -1)])]),
|
|
600
600
|
_: 1
|
|
601
601
|
})])) : $("", !0)]));
|
|
602
602
|
}
|
|
603
|
-
}),
|
|
603
|
+
}), Ze = /* @__PURE__ */ C(Ve, [["__scopeId", "data-v-d6436fba"]]), ze = {
|
|
604
604
|
class: "SignUpPhone"
|
|
605
|
-
},
|
|
605
|
+
}, Ce = {
|
|
606
606
|
class: "content"
|
|
607
|
-
},
|
|
607
|
+
}, qe = {
|
|
608
608
|
class: "sendVerifyCodeItem"
|
|
609
|
-
},
|
|
609
|
+
}, $e = {
|
|
610
610
|
class: "handle"
|
|
611
|
-
},
|
|
611
|
+
}, Re = /* @__PURE__ */ z({
|
|
612
612
|
__name: "AuthkitSignUpPhone",
|
|
613
613
|
props: {
|
|
614
614
|
size: {
|
|
@@ -652,7 +652,7 @@ const oe = {
|
|
|
652
652
|
d.value = !0;
|
|
653
653
|
const {
|
|
654
654
|
error: i
|
|
655
|
-
} = await
|
|
655
|
+
} = await R.verify.sms.send.post({
|
|
656
656
|
phone: e.value.phone
|
|
657
657
|
});
|
|
658
658
|
d.value = !1, i || p.value.startCountFn();
|
|
@@ -668,7 +668,7 @@ const oe = {
|
|
|
668
668
|
});
|
|
669
669
|
});
|
|
670
670
|
}
|
|
671
|
-
return (t, i) => (g(), w("div",
|
|
671
|
+
return (t, i) => (g(), w("div", ze, [s("div", Ce, [o(a(U), {
|
|
672
672
|
ref_key: "formRef",
|
|
673
673
|
ref: u,
|
|
674
674
|
model: e.value,
|
|
@@ -704,12 +704,12 @@ const oe = {
|
|
|
704
704
|
message: "请输入验证码"
|
|
705
705
|
}]
|
|
706
706
|
}, {
|
|
707
|
-
default: r(() => [s("div",
|
|
707
|
+
default: r(() => [s("div", qe, [o(a(S), {
|
|
708
708
|
modelValue: e.value.code,
|
|
709
709
|
"onUpdate:modelValue": i[1] || (i[1] = (h) => e.value.code = h),
|
|
710
710
|
placeholder: "请输入验证码",
|
|
711
711
|
autocomplete: "one-time-code"
|
|
712
|
-
}, null, 8, ["modelValue"]), o(
|
|
712
|
+
}, null, 8, ["modelValue"]), o(B, {
|
|
713
713
|
ref_key: "SendVerifyCodeRef",
|
|
714
714
|
ref: p,
|
|
715
715
|
size: l.size,
|
|
@@ -771,7 +771,7 @@ const oe = {
|
|
|
771
771
|
autocomplete: "off"
|
|
772
772
|
}, null, 8, ["modelValue"])]),
|
|
773
773
|
_: 1
|
|
774
|
-
}), s("div",
|
|
774
|
+
}), s("div", $e, [o(a(P), {
|
|
775
775
|
type: "primary",
|
|
776
776
|
loading: l.loading,
|
|
777
777
|
long: "",
|
|
@@ -782,19 +782,19 @@ const oe = {
|
|
|
782
782
|
_: 1
|
|
783
783
|
}, 8, ["loading", "size"])])]),
|
|
784
784
|
_: 1
|
|
785
|
-
}, 8, ["model", "size"])]), o(
|
|
785
|
+
}, 8, ["model", "size"])]), o(X, {
|
|
786
786
|
onSwitchSignIn: v
|
|
787
787
|
})]));
|
|
788
788
|
}
|
|
789
|
-
}),
|
|
789
|
+
}), et = /* @__PURE__ */ C(Re, [["__scopeId", "data-v-1f2f8707"]]), Pe = {
|
|
790
790
|
class: "SignInPhone"
|
|
791
|
-
},
|
|
791
|
+
}, Ae = {
|
|
792
792
|
class: "content"
|
|
793
|
-
},
|
|
793
|
+
}, Ue = {
|
|
794
794
|
class: "sendVerifyCodeItem"
|
|
795
|
-
},
|
|
795
|
+
}, Be = {
|
|
796
796
|
class: "handle"
|
|
797
|
-
},
|
|
797
|
+
}, xe = /* @__PURE__ */ z({
|
|
798
798
|
__name: "AuthkitSignInPhone",
|
|
799
799
|
props: {
|
|
800
800
|
size: {
|
|
@@ -826,7 +826,7 @@ const oe = {
|
|
|
826
826
|
e.value = !0;
|
|
827
827
|
const {
|
|
828
828
|
error: k
|
|
829
|
-
} = await
|
|
829
|
+
} = await R.verify.sms.send.post({
|
|
830
830
|
phone: v.value.phone
|
|
831
831
|
});
|
|
832
832
|
e.value = !1, k || u.value.startCountFn();
|
|
@@ -841,7 +841,7 @@ const oe = {
|
|
|
841
841
|
});
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
|
-
return (h, k) => (g(), w("div",
|
|
844
|
+
return (h, k) => (g(), w("div", Pe, [s("div", Ae, [o(a(U), {
|
|
845
845
|
ref_key: "formRef",
|
|
846
846
|
ref: _,
|
|
847
847
|
model: v.value,
|
|
@@ -877,12 +877,12 @@ const oe = {
|
|
|
877
877
|
message: "请输入验证码"
|
|
878
878
|
}]
|
|
879
879
|
}, {
|
|
880
|
-
default: r(() => [s("div",
|
|
880
|
+
default: r(() => [s("div", Ue, [o(a(S), {
|
|
881
881
|
modelValue: v.value.code,
|
|
882
882
|
"onUpdate:modelValue": k[1] || (k[1] = (q) => v.value.code = q),
|
|
883
883
|
placeholder: "请输入验证码",
|
|
884
884
|
autocomplete: "one-time-code"
|
|
885
|
-
}, null, 8, ["modelValue"]), o(
|
|
885
|
+
}, null, 8, ["modelValue"]), o(B, {
|
|
886
886
|
ref_key: "SendVerifyCodeRef",
|
|
887
887
|
ref: u,
|
|
888
888
|
size: l.size,
|
|
@@ -893,7 +893,7 @@ const oe = {
|
|
|
893
893
|
onSend: t
|
|
894
894
|
}, null, 8, ["size", "loading"])])]),
|
|
895
895
|
_: 1
|
|
896
|
-
}), s("div",
|
|
896
|
+
}), s("div", Be, [o(a(P), {
|
|
897
897
|
type: "primary",
|
|
898
898
|
loading: l.loading,
|
|
899
899
|
long: "",
|
|
@@ -906,18 +906,18 @@ const oe = {
|
|
|
906
906
|
_: 1
|
|
907
907
|
}, 8, ["model", "size"])]), d.value ? D(h.$slots, "OAuth", {
|
|
908
908
|
key: 0
|
|
909
|
-
}, void 0, !0) : $("", !0), o(
|
|
909
|
+
}, void 0, !0) : $("", !0), o(Y, {
|
|
910
910
|
onSwitchSignUp: I,
|
|
911
911
|
onSwitchResetPassword: c
|
|
912
912
|
})]));
|
|
913
913
|
}
|
|
914
|
-
}),
|
|
914
|
+
}), tt = /* @__PURE__ */ C(xe, [["__scopeId", "data-v-6c74668e"]]);
|
|
915
915
|
export {
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
916
|
+
Qe as A,
|
|
917
|
+
We as a,
|
|
918
|
+
Xe as b,
|
|
919
|
+
Ye as c,
|
|
920
|
+
Ze as d,
|
|
921
|
+
et as e,
|
|
922
|
+
tt as f
|
|
923
923
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import "./
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { Message as
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { c as tt, g as et } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
1
|
+
import { c as V, g as X } from "./index-96pA3ONI.js";
|
|
2
|
+
import "./apiClients-CChPISR0.js";
|
|
3
|
+
import { defineComponent as J, ref as K, createBlock as Q, openBlock as W, unref as Z } from "vue";
|
|
4
|
+
import { Message as tt } from "@arco-design/web-vue";
|
|
5
|
+
import { Icon as et } from "@iconify/vue";
|
|
7
6
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
7
|
var N = { exports: {} };
|
|
9
8
|
/*!
|
|
@@ -15,7 +14,7 @@ var N = { exports: {} };
|
|
|
15
14
|
(function(C, S) {
|
|
16
15
|
(function(E, h) {
|
|
17
16
|
C.exports = h();
|
|
18
|
-
})(
|
|
17
|
+
})(V, function() {
|
|
19
18
|
return (
|
|
20
19
|
/******/
|
|
21
20
|
function() {
|
|
@@ -507,7 +506,7 @@ var N = { exports: {} };
|
|
|
507
506
|
});
|
|
508
507
|
})(N);
|
|
509
508
|
var rt = N.exports;
|
|
510
|
-
const ot = /* @__PURE__ */
|
|
509
|
+
const ot = /* @__PURE__ */ X(rt), it = (C) => ({
|
|
511
510
|
toClipboard(S, x) {
|
|
512
511
|
return new Promise((E, h) => {
|
|
513
512
|
const c = document.createElement("button"), u = new ot(c, {
|
|
@@ -522,7 +521,7 @@ const ot = /* @__PURE__ */ et(rt), it = (C) => ({
|
|
|
522
521
|
}), document.body.appendChild(c), c.click(), document.body.removeChild(c);
|
|
523
522
|
});
|
|
524
523
|
}
|
|
525
|
-
}), ut = /* @__PURE__ */
|
|
524
|
+
}), ut = /* @__PURE__ */ J({
|
|
526
525
|
__name: "Clipboard",
|
|
527
526
|
props: {
|
|
528
527
|
value: {
|
|
@@ -536,23 +535,23 @@ const ot = /* @__PURE__ */ et(rt), it = (C) => ({
|
|
|
536
535
|
}
|
|
537
536
|
},
|
|
538
537
|
setup(C) {
|
|
539
|
-
const S = C, x =
|
|
538
|
+
const S = C, x = K(!1), {
|
|
540
539
|
toClipboard: E
|
|
541
540
|
} = it();
|
|
542
541
|
async function h() {
|
|
543
542
|
try {
|
|
544
|
-
await E(S.value),
|
|
543
|
+
await E(S.value), tt.success(S.message || "复制成功"), x.value = !0;
|
|
545
544
|
} catch (c) {
|
|
546
545
|
console.error(c);
|
|
547
546
|
}
|
|
548
547
|
}
|
|
549
|
-
return (c, u) => (
|
|
548
|
+
return (c, u) => (W(), Q(Z(et), {
|
|
550
549
|
class: "icon",
|
|
551
550
|
icon: "mingcute:copy-2-line",
|
|
552
551
|
onClick: h
|
|
553
552
|
}));
|
|
554
553
|
}
|
|
555
|
-
}),
|
|
554
|
+
}), yt = /* @__PURE__ */ nt(ut, [["__scopeId", "data-v-d1f2213b"]]);
|
|
556
555
|
export {
|
|
557
|
-
|
|
556
|
+
yt as C
|
|
558
557
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as P, ref as q, createElementBlock as t, openBlock as Q, createVNode as A, withCtx as B, Fragment as H, renderList as e, createBlock as W, createTextVNode as p, toDisplayString as i, unref as V, createElementVNode as F } from "vue";
|
|
2
2
|
import { f as n, e as y, h as G, g as R, L as Z, c as h, l as Y, m as b, n as J, k as S, a as O, b as d } from "./LandingPageSectionHeader-BU7Qtxaj.js";
|
|
3
3
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { u as M } from "./useAuthkitAppsAuthPageInfo-
|
|
5
|
-
import { g as L } from "./
|
|
6
|
-
import { c as x } from "./index-
|
|
4
|
+
import { u as M } from "./useAuthkitAppsAuthPageInfo-gn2zm_NY.js";
|
|
5
|
+
import { g as L } from "./apiClients-CChPISR0.js";
|
|
6
|
+
import { c as x } from "./index-4_tj9bS1.js";
|
|
7
7
|
const j = {
|
|
8
8
|
class: "Footer"
|
|
9
9
|
}, k = "support@huyooo.com", m = /* @__PURE__ */ P({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "./index-96pA3ONI.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import { defineComponent as P, ref as W, computed as z, onMounted as X, nextTick as $, watch as Y, onBeforeUnmount as Z, createElementBlock as r, openBlock as i, normalizeStyle as K, normalizeClass as C, renderSlot as R, mergeModels as q, useModel as A, createVNode as b, unref as c, withCtx as x, createElementVNode as g, createCommentVNode as m, createBlock as S, Fragment as w, renderList as E, toDisplayString as B, createTextVNode as I, useSlots as ee } from "vue";
|
|
8
8
|
import { Spin as te, Checkbox as L, Tooltip as ne, Empty as le, Pagination as oe } from "@arco-design/web-vue";
|
|
9
9
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { g as N, a as T } from "./index-
|
|
10
|
+
import { g as N, a as T } from "./index-4_tj9bS1.js";
|
|
11
11
|
const ie = /* @__PURE__ */ P({
|
|
12
12
|
__name: "Ellipsis",
|
|
13
13
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "./index-96pA3ONI.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { defineComponent as f, createElementBlock as d, openBlock as c, normalizeStyle as w, normalizeClass as _, createElementVNode as l, computed as m, withDirectives as j, createVNode as b, unref as y, vShow as N, ref as q, createBlock as V, withCtx as B, toDisplayString as h, renderSlot as M, Fragment as R, renderList as U, onMounted as D, onBeforeUnmount as E, createCommentVNode as W } from "vue";
|
|
4
4
|
import { Popover as O, Upload as T } from "@arco-design/web-vue";
|
|
@@ -8,9 +8,9 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { u as Z } from "./useUploadCos-
|
|
12
|
-
import { g as A } from "./
|
|
13
|
-
import "./FeedbackModal-
|
|
11
|
+
import { u as Z } from "./useUploadCos-BVvRc0BW.js";
|
|
12
|
+
import { g as A } from "./apiClients-CChPISR0.js";
|
|
13
|
+
import "./FeedbackModal-CUSOWVn5.js";
|
|
14
14
|
import { Icon as Y } from "@iconify/vue";
|
|
15
15
|
const H = f({
|
|
16
16
|
name: "IconDown",
|