@huyooo/ui 0.5.22 → 0.5.23

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.
Files changed (41) hide show
  1. package/dist/{AuthkitAuthModal-B4lMwzvJ.js → AuthkitAuthModal-EtAHk3jC.js} +482 -517
  2. package/dist/{AuthkitAuthorize-E8sLXoEx.js → AuthkitAuthorize-iudRkudt.js} +2 -2
  3. package/dist/{Clipboard-Bful1lNJ.js → Clipboard-CIWjWQOZ.js} +2 -3
  4. package/dist/{Contact-TYzxCmbB.js → Contact-Dy9U5zuU.js} +2 -2
  5. package/dist/{FeedbackItem-DFCuTCaI.js → FeedbackItem-4WHDAqT0.js} +3 -3
  6. package/dist/{FeedbackModal-BGXr3jPm.js → FeedbackModal-Cf9lDRpp.js} +5 -6
  7. package/dist/LandingPageSectionTabs-BL4lLDsT.js +19776 -0
  8. package/dist/{MessageHandle-De7eLBi_.js → MessageHandle-CVsfCWky.js} +16 -16
  9. package/dist/{PaySubscriptions-77rXNTOt.js → PaySubscriptions-CMSBkkoi.js} +8 -8
  10. package/dist/{ReferrerReferees-DCALYxND.js → ReferrerReferees-BFF_mWBd.js} +7 -7
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-9HB-tLZd.js → Upload.vue_vue_type_script_setup_true_lang-DA9w3O2R.js} +2 -2
  12. package/dist/{UserAccountMenu-B0-Niup_.js → UserAccountMenu-8Vqgdtq1.js} +11 -12
  13. package/dist/{WidthContainer-CpMKoABQ.js → WidthContainer-CeJ1eykf.js} +24 -27
  14. package/dist/auth-DafjnKRu.js +180 -0
  15. package/dist/authkit.js +6 -6
  16. package/dist/common.js +1 -1
  17. package/dist/composables.js +30 -31
  18. package/dist/feedback.js +3 -3
  19. package/dist/index.js +615 -699
  20. package/dist/landingPage.js +1 -1
  21. package/dist/message.js +2 -2
  22. package/dist/pay.js +1 -1
  23. package/dist/privateCom.js +1 -1
  24. package/dist/referrer.js +1 -1
  25. package/dist/style.css +1 -1
  26. package/dist/upload.js +2 -2
  27. package/dist/{useAuthkitAppsAuthPageInfo-BifS1KOG.js → useAuthkitAppsAuthPageInfo-C7KEv8pi.js} +6 -6
  28. package/dist/useAuthkitCreateAndUpdate-BpTxxKc0.js +24 -0
  29. package/dist/useAuthkitUsersProfile-eWz3ShS9.js +198 -0
  30. package/dist/{useDownloads-DnMYa52H.js → useDownloads-BpQUd6AV.js} +4 -5
  31. package/dist/{useMessageNotifications-DSRanuRe.js → useMessageNotifications-DZBBxw31.js} +8 -8
  32. package/dist/{useSEO-BLlxOmk2.js → useSEO-sQmoCl0K.js} +2 -2
  33. package/dist/{useTableHandle-DKUIdSSh.js → useTableHandle-DujKY4Bl.js} +14 -15
  34. package/dist/{useUploadCos-D5k1YLb7.js → useUploadCos-CNKDNSrg.js} +1 -1
  35. package/dist/user.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/LandingPageSectionTabs-CHsvmY8x.js +0 -10540
  38. package/dist/globalConfig-C1YOJcxa.js +0 -22
  39. package/dist/useAuthkitAuthModal-BpOmabWi.js +0 -10
  40. package/dist/useAuthkitCreateAndUpdate-BpPW409v.js +0 -25
  41. package/dist/useAuthkitUsersProfile-zbKT0W_h.js +0 -237
@@ -1,24 +1,22 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { defineComponent as z, computed as T, createElementBlock as P, openBlock as g, normalizeStyle as D, normalizeClass as ce, createElementVNode as w, ref as h, createBlock as _, unref as e, withCtx as m, createVNode as a, createTextVNode as S, onMounted as G, onUnmounted as te, withDirectives as fe, toDisplayString as B, vShow as pe, Fragment as W, createCommentVNode as k, isRef as ie, useSlots as ve, renderSlot as se } from "vue";
5
- import { Form as O, FormItem as I, Avatar as ne, Input as V, Textarea as ge, Button as U, Message as E, Alert as L, Modal as le, Divider as ye, Link as F } from "@arco-design/web-vue";
6
- import { _ as he, g as _e, i as we } from "./plugin-vue_export-helper-LjDO2Zua.js";
4
+ import { defineComponent as k, computed as T, createElementBlock as P, openBlock as g, normalizeStyle as j, normalizeClass as ce, createElementVNode as b, ref as h, createBlock as _, unref as e, withCtx as m, createVNode as s, createTextVNode as z, onMounted as G, onUnmounted as te, withDirectives as fe, toDisplayString as B, vShow as pe, Fragment as W, createCommentVNode as S, isRef as ie, useSlots as ve, renderSlot as se } from "vue";
5
+ import { Form as O, FormItem as A, Avatar as ne, Input as V, Textarea as ge, Button as U, Message as E, Alert as L, Modal as le, Divider as ye, Link as N } from "@arco-design/web-vue";
6
+ import { _ as he, g as _e, i as be } from "./plugin-vue_export-helper-LjDO2Zua.js";
7
7
  /* empty css */
8
+ import { u as we } from "./useUploadCos-CNKDNSrg.js";
9
+ import { b as ze, c as ee, d as Se, a as K, e as ke, f as Ae, u as Z } from "./useAuthkitUsersProfile-eWz3ShS9.js";
10
+ import { g as F, h as ae, u as Ie } from "./auth-DafjnKRu.js";
11
+ import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
12
  /* empty css */
9
- import { u as be } from "./useUploadCos-D5k1YLb7.js";
10
- import { b as Se, c as ee, d as ke, a as K, e as ze, f as Ie, u as Z } from "./useAuthkitUsersProfile-zbKT0W_h.js";
11
- import { g as N } from "./globalConfig-C1YOJcxa.js";
12
- import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- /* empty css */
14
- import { M as Ae } from "./Menu-ejsosUdV.js";
15
- import { u as Pe } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
16
- import { u as Ve } from "./useAuthkitAuthModal-BpOmabWi.js";
17
- import { u as J } from "./useAuthkitAppsAuthPageInfo-BifS1KOG.js";
13
+ import { M as Pe } from "./Menu-ejsosUdV.js";
14
+ import { u as Ve } from "./useAuthkitCreateAndUpdate-BpTxxKc0.js";
15
+ import { u as J } from "./useAuthkitAppsAuthPageInfo-C7KEv8pi.js";
18
16
  /* empty css */
19
17
  import { api as H } from "@huyooo/api";
20
18
  import { Icon as Ue } from "@iconify/vue";
21
- const $e = z({
19
+ const $e = k({
22
20
  name: "IconCamera",
23
21
  props: {
24
22
  size: {
@@ -31,63 +29,63 @@ const $e = z({
31
29
  strokeLinecap: {
32
30
  type: String,
33
31
  default: "butt",
34
- validator: (i) => ["butt", "round", "square"].includes(i)
32
+ validator: (a) => ["butt", "round", "square"].includes(a)
35
33
  },
36
34
  strokeLinejoin: {
37
35
  type: String,
38
36
  default: "miter",
39
- validator: (i) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(i)
37
+ validator: (a) => ["arcs", "bevel", "miter", "miter-clip", "round"].includes(a)
40
38
  },
41
39
  rotate: Number,
42
40
  spin: Boolean
43
41
  },
44
42
  emits: {
45
- click: (i) => !0
43
+ click: (a) => !0
46
44
  },
47
- setup(i, {
48
- emit: s
45
+ setup(a, {
46
+ emit: n
49
47
  }) {
50
- const u = _e("icon"), n = T(() => [u, `${u}-camera`, {
51
- [`${u}-spin`]: i.spin
52
- }]), o = T(() => {
48
+ const u = _e("icon"), i = T(() => [u, `${u}-camera`, {
49
+ [`${u}-spin`]: a.spin
50
+ }]), r = T(() => {
53
51
  const t = {};
54
- return i.size && (t.fontSize = we(i.size) ? `${i.size}px` : i.size), i.rotate && (t.transform = `rotate(${i.rotate}deg)`), t;
52
+ return a.size && (t.fontSize = be(a.size) ? `${a.size}px` : a.size), a.rotate && (t.transform = `rotate(${a.rotate}deg)`), t;
55
53
  });
56
54
  return {
57
- cls: n,
58
- innerStyle: o,
55
+ cls: i,
56
+ innerStyle: r,
59
57
  onClick: (t) => {
60
- s("click", t);
58
+ n("click", t);
61
59
  }
62
60
  };
63
61
  }
64
62
  }), Ce = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
65
- function xe(i, s, u, n, o, l) {
63
+ function xe(a, n, u, i, r, l) {
66
64
  return g(), P("svg", {
67
65
  viewBox: "0 0 48 48",
68
66
  fill: "none",
69
67
  xmlns: "http://www.w3.org/2000/svg",
70
68
  stroke: "currentColor",
71
- class: ce(i.cls),
72
- style: D(i.innerStyle),
73
- "stroke-width": i.strokeWidth,
74
- "stroke-linecap": i.strokeLinecap,
75
- "stroke-linejoin": i.strokeLinejoin,
76
- onClick: s[0] || (s[0] = (...t) => i.onClick && i.onClick(...t))
77
- }, s[1] || (s[1] = [w("path", {
69
+ class: ce(a.cls),
70
+ style: j(a.innerStyle),
71
+ "stroke-width": a.strokeWidth,
72
+ "stroke-linecap": a.strokeLinecap,
73
+ "stroke-linejoin": a.strokeLinejoin,
74
+ onClick: n[0] || (n[0] = (...t) => a.onClick && a.onClick(...t))
75
+ }, n[1] || (n[1] = [b("path", {
78
76
  d: "m33 12-1.862-3.724A.5.5 0 0 0 30.691 8H17.309a.5.5 0 0 0-.447.276L15 12m16 14a7 7 0 1 1-14 0 7 7 0 0 1 14 0ZM7 40h34a1 1 0 0 0 1-1V13a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v26a1 1 0 0 0 1 1Z"
79
77
  }, null, -1)]), 14, Ce);
80
78
  }
81
79
  var M = /* @__PURE__ */ he($e, [["render", xe]]);
82
80
  const qe = Object.assign(M, {
83
- install: (i, s) => {
81
+ install: (a, n) => {
84
82
  var u;
85
- const n = (u = s == null ? void 0 : s.iconPrefix) != null ? u : "";
86
- i.component(n + M.name, M);
83
+ const i = (u = n == null ? void 0 : n.iconPrefix) != null ? u : "";
84
+ a.component(i + M.name, M);
87
85
  }
88
86
  }), Re = {
89
87
  class: "handle"
90
- }, Te = /* @__PURE__ */ z({
88
+ }, Te = /* @__PURE__ */ k({
91
89
  __name: "AuthkitPersonalInformation",
92
90
  props: {
93
91
  size: {
@@ -96,41 +94,41 @@ const qe = Object.assign(M, {
96
94
  }
97
95
  },
98
96
  emits: ["submit"],
99
- setup(i, {
100
- emit: s
97
+ setup(a, {
98
+ emit: n
101
99
  }) {
102
- const u = s, n = i, o = h({
100
+ const u = n, i = a, r = h({
103
101
  id: void 0,
104
102
  nickname: "",
105
103
  description: "",
106
104
  avatar: "",
107
105
  avatarUrl: ""
108
- }), l = h(!1), t = h(), r = h(!1);
106
+ }), l = h(!1), t = h(), o = h(!1);
109
107
  function y() {
110
- r.value = !0, Se().then(({
108
+ o.value = !0, ze().then(({
111
109
  data: d
112
110
  }) => {
113
- r.value = !1, o.value.id = d.id, o.value.nickname = d.nickname, o.value.description = d.description, o.value.avatar = d.avatar, o.value.avatarUrl = d.avatarUrl;
111
+ o.value = !1, r.value.id = d.id, r.value.nickname = d.nickname, r.value.description = d.description, r.value.avatar = d.avatar, r.value.avatarUrl = d.avatarUrl;
114
112
  }).catch(() => {
115
- r.value = !1;
113
+ o.value = !1;
116
114
  });
117
115
  }
118
116
  function c() {
119
117
  t.value.validate().then((d) => {
120
118
  if (!d) {
121
- r.value = !0;
119
+ o.value = !0;
122
120
  const f = {
123
- id: o.value.id,
124
- nickname: o.value.nickname,
125
- description: o.value.description,
126
- avatar: o.value.avatar
121
+ id: r.value.id,
122
+ nickname: r.value.nickname,
123
+ description: r.value.description,
124
+ avatar: r.value.avatar
127
125
  };
128
126
  ee(f).then(({
129
127
  data: v
130
128
  }) => {
131
- r.value = !1, E.success("更新成功"), o.value.avatarUrl = v.avatarUrl, u("submit");
129
+ o.value = !1, E.success("更新成功"), r.value.avatarUrl = v.avatarUrl, u("submit");
132
130
  }).catch(() => {
133
- r.value = !1;
131
+ o.value = !1;
134
132
  });
135
133
  }
136
134
  });
@@ -139,7 +137,7 @@ const qe = Object.assign(M, {
139
137
  const p = () => {
140
138
  const {
141
139
  uploadFile: d
142
- } = be(), f = document.createElement("input");
140
+ } = we(), f = document.createElement("input");
143
141
  f.type = "file", f.accept = "image/*", f.style.display = "none", document.body.append(f), f.addEventListener("change", async (v) => {
144
142
  var q;
145
143
  const $ = (q = v.target.files) == null ? void 0 : q[0];
@@ -147,14 +145,14 @@ const qe = Object.assign(M, {
147
145
  l.value = !0;
148
146
  try {
149
147
  d({
150
- bucketId: N.avatarBucketId,
148
+ bucketId: F.avatarBucketId,
151
149
  file: $,
152
150
  onFileFinish(R, C, x) {
153
151
  l.value = !0;
154
152
  const me = {
155
- id: o.value.id,
156
- nickname: o.value.nickname,
157
- description: o.value.description,
153
+ id: r.value.id,
154
+ nickname: r.value.nickname,
155
+ description: r.value.description,
158
156
  avatar: x.Key
159
157
  };
160
158
  ee(me).then(() => {
@@ -177,11 +175,11 @@ const qe = Object.assign(M, {
177
175
  return (d, f) => (g(), _(e(O), {
178
176
  ref_key: "formRef",
179
177
  ref: t,
180
- model: o.value,
178
+ model: r.value,
181
179
  "auto-label-width": "",
182
- size: n.size
180
+ size: i.size
183
181
  }, {
184
- default: m(() => [a(e(I), {
182
+ default: m(() => [s(e(A), {
185
183
  field: "avatar",
186
184
  label: "头像",
187
185
  rules: [{
@@ -189,19 +187,19 @@ const qe = Object.assign(M, {
189
187
  message: "请上传头像"
190
188
  }]
191
189
  }, {
192
- default: m(() => [a(e(ne), {
193
- "image-url": o.value.avatarUrl,
190
+ default: m(() => [s(e(ne), {
191
+ "image-url": r.value.avatarUrl,
194
192
  size: 42,
195
193
  "trigger-icon-style": {
196
194
  color: "#3491FA"
197
195
  },
198
196
  onClick: p
199
197
  }, {
200
- "trigger-icon": m(() => [a(e(qe))]),
198
+ "trigger-icon": m(() => [s(e(qe))]),
201
199
  _: 1
202
200
  }, 8, ["image-url"])]),
203
201
  _: 1
204
- }), a(e(I), {
202
+ }), s(e(A), {
205
203
  field: "nickname",
206
204
  label: "昵称",
207
205
  rules: [{
@@ -209,13 +207,13 @@ const qe = Object.assign(M, {
209
207
  message: "请输入昵称"
210
208
  }]
211
209
  }, {
212
- default: m(() => [a(e(V), {
213
- modelValue: o.value.nickname,
214
- "onUpdate:modelValue": f[0] || (f[0] = (v) => o.value.nickname = v),
210
+ default: m(() => [s(e(V), {
211
+ modelValue: r.value.nickname,
212
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => r.value.nickname = v),
215
213
  placeholder: "请输入昵称"
216
214
  }, null, 8, ["modelValue"])]),
217
215
  _: 1
218
- }), a(e(I), {
216
+ }), s(e(A), {
219
217
  field: "description",
220
218
  label: "简介",
221
219
  rules: [{
@@ -223,9 +221,9 @@ const qe = Object.assign(M, {
223
221
  message: "请输入描述"
224
222
  }]
225
223
  }, {
226
- default: m(() => [a(e(ge), {
227
- modelValue: o.value.description,
228
- "onUpdate:modelValue": f[1] || (f[1] = (v) => o.value.description = v),
224
+ default: m(() => [s(e(ge), {
225
+ modelValue: r.value.description,
226
+ "onUpdate:modelValue": f[1] || (f[1] = (v) => r.value.description = v),
229
227
  placeholder: "请输入描述",
230
228
  "allow-clear": "",
231
229
  "auto-size": {
@@ -233,17 +231,17 @@ const qe = Object.assign(M, {
233
231
  }
234
232
  }, null, 8, ["modelValue"])]),
235
233
  _: 1
236
- }), a(e(I), {
234
+ }), s(e(A), {
237
235
  field: "",
238
236
  label: "",
239
237
  rules: []
240
238
  }, {
241
- default: m(() => [w("div", Re, [a(e(U), {
239
+ default: m(() => [b("div", Re, [s(e(U), {
242
240
  type: "primary",
243
- loading: r.value,
241
+ loading: o.value,
244
242
  onClick: c
245
243
  }, {
246
- default: m(() => [...f[2] || (f[2] = [S(" 提交 ", -1)])]),
244
+ default: m(() => [...f[2] || (f[2] = [z(" 提交 ", -1)])]),
247
245
  _: 1
248
246
  }, 8, ["loading"])])]),
249
247
  _: 1
@@ -251,29 +249,29 @@ const qe = Object.assign(M, {
251
249
  _: 1
252
250
  }, 8, ["model", "size"]));
253
251
  }
254
- }), Le = /* @__PURE__ */ A(Te, [["__scopeId", "data-v-9f97445b"]]);
255
- function Be(i) {
252
+ }), Le = /* @__PURE__ */ I(Te, [["__scopeId", "data-v-9f97445b"]]);
253
+ function Be(a) {
256
254
  return H({
257
- url: `${N.authPrefixUrl}/restfulApi/verify/email`,
255
+ url: `${F.authPrefixUrl}/restfulApi/verify/email`,
258
256
  method: "post",
259
- data: i
257
+ data: a
260
258
  });
261
259
  }
262
- function Q(i) {
260
+ function Q(a) {
263
261
  return H({
264
- url: `${N.authPrefixUrl}/restfulApi/verify/email/retry`,
262
+ url: `${F.authPrefixUrl}/restfulApi/verify/email/retry`,
265
263
  method: "post",
266
- data: i
264
+ data: a
267
265
  });
268
266
  }
269
- function Oe(i) {
267
+ function Oe(a) {
270
268
  return H({
271
- url: `${N.authPrefixUrl}/restfulApi/verify/password`,
269
+ url: `${F.authPrefixUrl}/restfulApi/verify/password`,
272
270
  method: "post",
273
- data: i
271
+ data: a
274
272
  });
275
273
  }
276
- const Ee = /* @__PURE__ */ z({
274
+ const Ee = /* @__PURE__ */ k({
277
275
  __name: "AuthkitSendVerifyCode",
278
276
  props: {
279
277
  size: {
@@ -287,75 +285,45 @@ const Ee = /* @__PURE__ */ z({
287
285
  }
288
286
  },
289
287
  emits: ["send"],
290
- setup(i, {
291
- expose: s,
288
+ setup(a, {
289
+ expose: n,
292
290
  emit: u
293
291
  }) {
294
- const n = u, o = i, l = h(!1);
292
+ const i = u, r = a, l = h(!1);
295
293
  let t;
296
- const r = h(0), y = T(() => r.value.toString().padStart(2, "0")), c = T(() => r.value > 0), p = () => {
297
- l.value && (r.value <= 0 ? (clearInterval(t), l.value = !1) : r.value--);
294
+ const o = h(0), y = T(() => o.value.toString().padStart(2, "0")), c = T(() => o.value > 0), p = () => {
295
+ l.value && (o.value <= 0 ? (clearInterval(t), l.value = !1) : o.value--);
298
296
  };
299
297
  function d() {
300
- n("send");
298
+ i("send");
301
299
  }
302
300
  function f() {
303
- r.value = 60, l.value = !0, t && clearInterval(t), t = setInterval(p, 1e3);
301
+ o.value = 60, l.value = !0, t && clearInterval(t), t = setInterval(p, 1e3);
304
302
  }
305
303
  return G(() => {
306
- }), s({
304
+ }), n({
307
305
  startCountFn: f
308
306
  }), te(() => {
309
307
  t && clearInterval(t);
310
- }), (v, b) => (g(), _(e(U), {
308
+ }), (v, w) => (g(), _(e(U), {
311
309
  class: "OAuthItem",
312
310
  type: "primary",
313
- size: o.size,
311
+ size: r.size,
314
312
  disabled: c.value,
315
- loading: o.loading,
313
+ loading: r.loading,
316
314
  onClick: d
317
315
  }, {
318
- default: m(() => [b[0] || (b[0] = w("span", null, " 发送验证码", -1)), fe(w("span", {
316
+ default: m(() => [w[0] || (w[0] = b("span", null, " 发送验证码", -1)), fe(b("span", {
319
317
  class: "verify-code-timer"
320
318
  }, B(`(${y.value})`), 513), [[pe, c.value]])]),
321
319
  _: 1
322
320
  }, 8, ["size", "disabled", "loading"]));
323
321
  }
324
- }), X = /* @__PURE__ */ A(Ee, [["__scopeId", "data-v-2883dc6d"]]);
325
- function ae(i, s = 3) {
326
- const u = i.indexOf("@");
327
- if (u > 1) {
328
- const n = i.slice(0, s), o = i.slice(u);
329
- return n + "***" + o;
330
- }
331
- return i;
332
- }
333
- function mi() {
334
- try {
335
- localStorage.removeItem("jwtToken"), localStorage.removeItem("refreshToken");
336
- } catch (i) {
337
- console.warn("Failed to clear localStorage:", i);
338
- }
339
- }
340
- function ci() {
341
- try {
342
- return localStorage.getItem("refreshToken");
343
- } catch (i) {
344
- return console.warn("Failed to get refreshToken from localStorage:", i), null;
345
- }
346
- }
347
- function fi(i) {
348
- try {
349
- localStorage.setItem("jwtToken", i);
350
- } catch (s) {
351
- console.warn("Failed to update jwtToken in localStorage:", s);
352
- }
353
- }
354
- const Fe = {
322
+ }), X = /* @__PURE__ */ I(Ee, [["__scopeId", "data-v-2883dc6d"]]), Ne = {
355
323
  class: "sendVerifyCodeItem"
356
- }, Ne = {
324
+ }, Fe = {
357
325
  class: "handle"
358
- }, Ge = /* @__PURE__ */ z({
326
+ }, Ge = /* @__PURE__ */ k({
359
327
  __name: "AuthkitEmailVerify",
360
328
  props: {
361
329
  email: {
@@ -369,16 +337,16 @@ const Fe = {
369
337
  }
370
338
  },
371
339
  emits: ["next"],
372
- setup(i, {
373
- emit: s
340
+ setup(a, {
341
+ emit: n
374
342
  }) {
375
- const u = s, n = i, o = T(() => ae(n.email)), l = h(), t = h(!1), r = h(!1), y = h(), c = h({
343
+ const u = n, i = a, r = T(() => ae(i.email)), l = h(), t = h(!1), o = h(!1), y = h(), c = h({
376
344
  userToken: void 0,
377
345
  emailVerifyId: void 0
378
346
  });
379
347
  async function p() {
380
348
  t.value = !0, Q({
381
- email: n.email
349
+ email: i.email
382
350
  }).then(({
383
351
  data: f
384
352
  }) => {
@@ -390,16 +358,16 @@ const Fe = {
390
358
  async function d() {
391
359
  y.value.validate(["userToken"]).then((f) => {
392
360
  if (!f) {
393
- r.value = !0;
361
+ o.value = !0;
394
362
  const v = {
395
- email: n.email,
363
+ email: i.email,
396
364
  userToken: c.value.userToken,
397
365
  emailVerifyId: c.value.emailVerifyId
398
366
  };
399
367
  Be(v).then(() => {
400
- r.value = !1, u("next");
368
+ o.value = !1, u("next");
401
369
  }).catch(() => {
402
- r.value = !1;
370
+ o.value = !1;
403
371
  });
404
372
  }
405
373
  });
@@ -409,9 +377,9 @@ const Fe = {
409
377
  ref: y,
410
378
  model: c.value,
411
379
  "auto-label-width": "",
412
- size: n.size
380
+ size: i.size
413
381
  }, {
414
- default: m(() => [a(e(I), {
382
+ default: m(() => [s(e(A), {
415
383
  field: "email",
416
384
  label: "邮箱",
417
385
  rules: [{
@@ -422,9 +390,9 @@ const Fe = {
422
390
  message: "请输入有效的邮箱"
423
391
  }]
424
392
  }, {
425
- default: m(() => [S(B(o.value), 1)]),
393
+ default: m(() => [z(B(r.value), 1)]),
426
394
  _: 1
427
- }), a(e(I), {
395
+ }), s(e(A), {
428
396
  field: "userToken",
429
397
  label: "验证码",
430
398
  "hide-label": "",
@@ -433,14 +401,14 @@ const Fe = {
433
401
  message: "请输入验证码"
434
402
  }]
435
403
  }, {
436
- default: m(() => [w("div", Fe, [a(e(V), {
404
+ default: m(() => [b("div", Ne, [s(e(V), {
437
405
  modelValue: c.value.userToken,
438
- "onUpdate:modelValue": v[0] || (v[0] = (b) => c.value.userToken = b),
406
+ "onUpdate:modelValue": v[0] || (v[0] = (w) => c.value.userToken = w),
439
407
  placeholder: "请输入验证码"
440
- }, null, 8, ["modelValue"]), a(X, {
408
+ }, null, 8, ["modelValue"]), s(X, {
441
409
  ref_key: "SendVerifyCodeRef",
442
410
  ref: l,
443
- size: n.size,
411
+ size: i.size,
444
412
  loading: t.value,
445
413
  style: {
446
414
  "margin-left": "10px"
@@ -448,17 +416,17 @@ const Fe = {
448
416
  onSend: p
449
417
  }, null, 8, ["size", "loading"])])]),
450
418
  _: 1
451
- }), a(e(I), {
419
+ }), s(e(A), {
452
420
  field: "",
453
421
  label: "",
454
422
  rules: []
455
423
  }, {
456
- default: m(() => [w("div", Ne, [a(e(U), {
457
- loading: r.value,
424
+ default: m(() => [b("div", Fe, [s(e(U), {
425
+ loading: o.value,
458
426
  type: "primary",
459
427
  onClick: d
460
428
  }, {
461
- default: m(() => [...v[1] || (v[1] = [S(" 提交 ", -1)])]),
429
+ default: m(() => [...v[1] || (v[1] = [z(" 提交 ", -1)])]),
462
430
  _: 1
463
431
  }, 8, ["loading"])])]),
464
432
  _: 1
@@ -466,9 +434,9 @@ const Fe = {
466
434
  _: 1
467
435
  }, 8, ["model", "size"]));
468
436
  }
469
- }), Y = /* @__PURE__ */ A(Ge, [["__scopeId", "data-v-89ebb370"]]), He = {
437
+ }), Y = /* @__PURE__ */ I(Ge, [["__scopeId", "data-v-89ebb370"]]), He = {
470
438
  class: "handle"
471
- }, Me = /* @__PURE__ */ z({
439
+ }, Me = /* @__PURE__ */ k({
472
440
  __name: "AuthkitPasswordUpdate",
473
441
  props: {
474
442
  size: {
@@ -477,36 +445,36 @@ const Fe = {
477
445
  }
478
446
  },
479
447
  emits: ["submit"],
480
- setup(i, {
481
- emit: s
448
+ setup(a, {
449
+ emit: n
482
450
  }) {
483
- const u = s, n = h(!1), o = h(), l = i, t = h({
451
+ const u = n, i = h(!1), r = h(), l = a, t = h({
484
452
  oldPassword: "",
485
453
  password: "",
486
454
  confirmPassword: ""
487
455
  });
488
- async function r() {
489
- o.value.validate().then((y) => {
456
+ async function o() {
457
+ r.value.validate().then((y) => {
490
458
  if (!y) {
491
459
  const c = {
492
460
  password: t.value.password
493
461
  };
494
- ke(c).then(() => {
495
- n.value = !1, u("submit", c);
462
+ Se(c).then(() => {
463
+ i.value = !1, u("submit", c);
496
464
  }).catch(() => {
497
- n.value = !1;
465
+ i.value = !1;
498
466
  });
499
467
  }
500
468
  });
501
469
  }
502
470
  return (y, c) => (g(), _(e(O), {
503
471
  ref_key: "formRef",
504
- ref: o,
472
+ ref: r,
505
473
  model: t.value,
506
474
  "auto-label-width": "",
507
475
  size: l.size
508
476
  }, {
509
- default: m(() => [a(e(I), {
477
+ default: m(() => [s(e(A), {
510
478
  field: "oldPassword",
511
479
  label: "当前密码",
512
480
  "hide-label": "",
@@ -515,14 +483,14 @@ const Fe = {
515
483
  message: "请输入当前密码"
516
484
  }]
517
485
  }, {
518
- default: m(() => [a(e(V), {
486
+ default: m(() => [s(e(V), {
519
487
  modelValue: t.value.oldPassword,
520
488
  "onUpdate:modelValue": c[0] || (c[0] = (p) => t.value.oldPassword = p),
521
489
  placeholder: "请输入当前密码",
522
490
  type: "password"
523
491
  }, null, 8, ["modelValue"])]),
524
492
  _: 1
525
- }), a(e(I), {
493
+ }), s(e(A), {
526
494
  field: "password",
527
495
  label: "新密码",
528
496
  "hide-label": "",
@@ -534,14 +502,14 @@ const Fe = {
534
502
  message: "新密码不能少于10字符"
535
503
  }]
536
504
  }, {
537
- default: m(() => [a(e(V), {
505
+ default: m(() => [s(e(V), {
538
506
  modelValue: t.value.password,
539
507
  "onUpdate:modelValue": c[1] || (c[1] = (p) => t.value.password = p),
540
508
  placeholder: "请输入新密码",
541
509
  type: "password"
542
510
  }, null, 8, ["modelValue"])]),
543
511
  _: 1
544
- }), a(e(I), {
512
+ }), s(e(A), {
545
513
  field: "confirmPassword",
546
514
  label: "确认密码",
547
515
  "hide-label": "",
@@ -557,24 +525,24 @@ const Fe = {
557
525
  }
558
526
  }]
559
527
  }, {
560
- default: m(() => [a(e(V), {
528
+ default: m(() => [s(e(V), {
561
529
  modelValue: t.value.confirmPassword,
562
530
  "onUpdate:modelValue": c[2] || (c[2] = (p) => t.value.confirmPassword = p),
563
531
  placeholder: "请输入确认密码密码",
564
532
  type: "password"
565
533
  }, null, 8, ["modelValue"])]),
566
534
  _: 1
567
- }, 8, ["rules"]), a(e(I), {
535
+ }, 8, ["rules"]), s(e(A), {
568
536
  field: "",
569
537
  label: "",
570
538
  rules: []
571
539
  }, {
572
- default: m(() => [w("div", He, [a(e(U), {
540
+ default: m(() => [b("div", He, [s(e(U), {
573
541
  type: "primary",
574
- loading: n.value,
575
- onClick: r
542
+ loading: i.value,
543
+ onClick: o
576
544
  }, {
577
- default: m(() => [...c[3] || (c[3] = [S(" 提交 ", -1)])]),
545
+ default: m(() => [...c[3] || (c[3] = [z(" 提交 ", -1)])]),
578
546
  _: 1
579
547
  }, 8, ["loading"])])]),
580
548
  _: 1
@@ -582,7 +550,7 @@ const Fe = {
582
550
  _: 1
583
551
  }, 8, ["model", "size"]));
584
552
  }
585
- }), je = /* @__PURE__ */ A(Me, [["__scopeId", "data-v-a9e25b03"]]), De = /* @__PURE__ */ z({
553
+ }), De = /* @__PURE__ */ I(Me, [["__scopeId", "data-v-a9e25b03"]]), je = /* @__PURE__ */ k({
586
554
  __name: "AuthkitSetPassword",
587
555
  props: {
588
556
  size: {
@@ -590,65 +558,65 @@ const Fe = {
590
558
  required: !0
591
559
  }
592
560
  },
593
- setup(i) {
561
+ setup(a) {
594
562
  const {
595
- userProfile: s,
563
+ userProfile: n,
596
564
  loading: u,
597
- fetchUserProfile: n,
598
- isLoggedIn: o
599
- } = K(), l = h("hidden"), t = i;
600
- function r(p) {
565
+ fetchUserProfile: i,
566
+ isLoggedIn: r
567
+ } = K(), l = h("hidden"), t = a;
568
+ function o(p) {
601
569
  l.value = p;
602
570
  }
603
571
  function y(p) {
604
- E.success("密码修改成功"), l.value = "hidden", n();
572
+ E.success("密码修改成功"), l.value = "hidden", i();
605
573
  }
606
574
  function c() {
607
575
  l.value = "update";
608
576
  }
609
577
  return G(() => {
610
- o.value && !s.value && n();
578
+ r.value && !n.value && i();
611
579
  }), (p, d) => {
612
- var f, v, b, $;
613
- return g(), P(W, null, [!((f = e(s)) != null && f.email) && !((v = e(s)) != null && v.phone) ? (g(), _(e(L), {
580
+ var f, v, w, $;
581
+ return g(), P(W, null, [!((f = e(n)) != null && f.email) && !((v = e(n)) != null && v.phone) ? (g(), _(e(L), {
614
582
  key: 0,
615
583
  title: "去绑定邮箱"
616
584
  }, {
617
- action: m(() => [a(e(U), {
585
+ action: m(() => [s(e(U), {
618
586
  size: t.size,
619
587
  type: "primary",
620
- onClick: d[0] || (d[0] = (q) => r("update"))
588
+ onClick: d[0] || (d[0] = (q) => o("update"))
621
589
  }, {
622
- default: m(() => [...d[2] || (d[2] = [S(" 去绑定邮箱 ", -1)])]),
590
+ default: m(() => [...d[2] || (d[2] = [z(" 去绑定邮箱 ", -1)])]),
623
591
  _: 1
624
592
  }, 8, ["size"])]),
625
- default: m(() => [d[3] || (d[3] = S(" 请先去绑定邮箱或者手机号码,才能设置密码 ", -1))]),
593
+ default: m(() => [d[3] || (d[3] = z(" 请先去绑定邮箱或者手机号码,才能设置密码 ", -1))]),
626
594
  _: 1
627
- })) : k("", !0), (b = e(s)) != null && b.email && l.value === "hidden" ? (g(), _(e(L), {
595
+ })) : S("", !0), (w = e(n)) != null && w.email && l.value === "hidden" ? (g(), _(e(L), {
628
596
  key: 1,
629
597
  title: "更改密码"
630
598
  }, {
631
- action: m(() => [a(e(U), {
599
+ action: m(() => [s(e(U), {
632
600
  size: t.size,
633
601
  type: "primary",
634
- onClick: d[1] || (d[1] = (q) => r("verify"))
602
+ onClick: d[1] || (d[1] = (q) => o("verify"))
635
603
  }, {
636
- default: m(() => [...d[4] || (d[4] = [S("更改密码", -1)])]),
604
+ default: m(() => [...d[4] || (d[4] = [z("更改密码", -1)])]),
637
605
  _: 1
638
606
  }, 8, ["size"])]),
639
- default: m(() => [d[5] || (d[5] = S(" 为了账户安全修改密码前会先验证身份 ", -1))]),
607
+ default: m(() => [d[5] || (d[5] = z(" 为了账户安全修改密码前会先验证身份 ", -1))]),
640
608
  _: 1
641
- })) : k("", !0), l.value === "update" ? (g(), _(je, {
609
+ })) : S("", !0), l.value === "update" ? (g(), _(De, {
642
610
  key: 2,
643
611
  size: t.size,
644
612
  loading: e(u),
645
613
  onSubmit: y
646
- }, null, 8, ["size", "loading"])) : k("", !0), l.value === "verify" ? (g(), _(Y, {
614
+ }, null, 8, ["size", "loading"])) : S("", !0), l.value === "verify" ? (g(), _(Y, {
647
615
  key: 3,
648
616
  size: t.size,
649
- email: ($ = e(s)) == null ? void 0 : $.email,
617
+ email: ($ = e(n)) == null ? void 0 : $.email,
650
618
  onNext: c
651
- }, null, 8, ["size", "email"])) : k("", !0)], 64);
619
+ }, null, 8, ["size", "email"])) : S("", !0)], 64);
652
620
  };
653
621
  }
654
622
  }), We = {
@@ -657,7 +625,7 @@ const Fe = {
657
625
  class: "sendVerifyCodeItem"
658
626
  }, Ze = {
659
627
  class: "handle"
660
- }, Je = /* @__PURE__ */ z({
628
+ }, Je = /* @__PURE__ */ k({
661
629
  __name: "AuthkitEmailUpdate",
662
630
  props: {
663
631
  size: {
@@ -671,10 +639,10 @@ const Fe = {
671
639
  }
672
640
  },
673
641
  emits: ["submit"],
674
- setup(i, {
675
- emit: s
642
+ setup(a, {
643
+ emit: n
676
644
  }) {
677
- const u = s, n = i, o = h(), l = h(!1), t = h(), r = h({
645
+ const u = n, i = a, r = h(), l = h(!1), t = h(), o = h({
678
646
  email: void 0,
679
647
  userToken: void 0,
680
648
  emailVerifyId: void 0,
@@ -685,11 +653,11 @@ const Fe = {
685
653
  async function y() {
686
654
  t.value.validateField(["email"]).then((p) => {
687
655
  p || (l.value = !0, Q({
688
- email: r.value.email
656
+ email: o.value.email
689
657
  }).then(({
690
658
  data: d
691
659
  }) => {
692
- r.value.emailVerifyId = d.emailVerifyId, l.value = !1, o.value.startCountFn();
660
+ o.value.emailVerifyId = d.emailVerifyId, l.value = !1, r.value.startCountFn();
693
661
  }).catch(() => {
694
662
  l.value = !1;
695
663
  }));
@@ -697,17 +665,17 @@ const Fe = {
697
665
  }
698
666
  async function c() {
699
667
  t.value.validate().then((p) => {
700
- p || u("submit", r.value);
668
+ p || u("submit", o.value);
701
669
  });
702
670
  }
703
- return (p, d) => (g(), P("div", We, [a(e(O), {
671
+ return (p, d) => (g(), P("div", We, [s(e(O), {
704
672
  ref_key: "formRef",
705
673
  ref: t,
706
- model: r.value,
707
- size: n.size,
674
+ model: o.value,
675
+ size: i.size,
708
676
  "auto-label-width": ""
709
677
  }, {
710
- default: m(() => [a(e(I), {
678
+ default: m(() => [s(e(A), {
711
679
  field: "email",
712
680
  label: "邮箱",
713
681
  "hide-label": "",
@@ -719,15 +687,15 @@ const Fe = {
719
687
  message: "请输入有效的邮箱"
720
688
  }]
721
689
  }, {
722
- default: m(() => [a(e(V), {
723
- modelValue: r.value.email,
724
- "onUpdate:modelValue": d[0] || (d[0] = (f) => r.value.email = f),
690
+ default: m(() => [s(e(V), {
691
+ modelValue: o.value.email,
692
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => o.value.email = f),
725
693
  placeholder: "请输入邮箱",
726
694
  autocomplete: "email username",
727
695
  type: "email"
728
696
  }, null, 8, ["modelValue"])]),
729
697
  _: 1
730
- }), a(e(I), {
698
+ }), s(e(A), {
731
699
  field: "userToken",
732
700
  label: "验证码",
733
701
  "hide-label": "",
@@ -736,15 +704,15 @@ const Fe = {
736
704
  message: "请输入验证码"
737
705
  }]
738
706
  }, {
739
- default: m(() => [w("div", Ke, [a(e(V), {
740
- modelValue: r.value.userToken,
741
- "onUpdate:modelValue": d[1] || (d[1] = (f) => r.value.userToken = f),
707
+ default: m(() => [b("div", Ke, [s(e(V), {
708
+ modelValue: o.value.userToken,
709
+ "onUpdate:modelValue": d[1] || (d[1] = (f) => o.value.userToken = f),
742
710
  placeholder: "请输入验证码",
743
711
  autocomplete: "one-time-code"
744
- }, null, 8, ["modelValue"]), a(X, {
712
+ }, null, 8, ["modelValue"]), s(X, {
745
713
  ref_key: "SendVerifyCodeRef",
746
- ref: o,
747
- size: n.size,
714
+ ref: r,
715
+ size: i.size,
748
716
  loading: l.value,
749
717
  style: {
750
718
  "margin-left": "10px"
@@ -752,7 +720,7 @@ const Fe = {
752
720
  onSend: y
753
721
  }, null, 8, ["size", "loading"])])]),
754
722
  _: 1
755
- }), a(e(I), {
723
+ }), s(e(A), {
756
724
  field: "password",
757
725
  label: "密码",
758
726
  "hide-label": "",
@@ -764,15 +732,15 @@ const Fe = {
764
732
  message: "密码不能少于10字符"
765
733
  }]
766
734
  }, {
767
- default: m(() => [a(e(V), {
768
- modelValue: r.value.password,
769
- "onUpdate:modelValue": d[2] || (d[2] = (f) => r.value.password = f),
735
+ default: m(() => [s(e(V), {
736
+ modelValue: o.value.password,
737
+ "onUpdate:modelValue": d[2] || (d[2] = (f) => o.value.password = f),
770
738
  placeholder: "请输入密码",
771
739
  type: "password",
772
740
  autocomplete: "new-password"
773
741
  }, null, 8, ["modelValue"])]),
774
742
  _: 1
775
- }), a(e(I), {
743
+ }), s(e(A), {
776
744
  field: "confirmPassword",
777
745
  label: "确认密码",
778
746
  "hide-label": "",
@@ -784,19 +752,19 @@ const Fe = {
784
752
  message: "确认密码不能少于10字符"
785
753
  }, {
786
754
  validator: (f, v) => {
787
- f !== r.value.password ? v("两次密码输入不一致,请重新输入") : v();
755
+ f !== o.value.password ? v("两次密码输入不一致,请重新输入") : v();
788
756
  }
789
757
  }]
790
758
  }, {
791
- default: m(() => [a(e(V), {
792
- modelValue: r.value.confirmPassword,
793
- "onUpdate:modelValue": d[3] || (d[3] = (f) => r.value.confirmPassword = f),
759
+ default: m(() => [s(e(V), {
760
+ modelValue: o.value.confirmPassword,
761
+ "onUpdate:modelValue": d[3] || (d[3] = (f) => o.value.confirmPassword = f),
794
762
  placeholder: "请输入确认密码密码",
795
763
  type: "password",
796
764
  autocomplete: "new-password"
797
765
  }, null, 8, ["modelValue"])]),
798
766
  _: 1
799
- }, 8, ["rules"]), a(e(I), {
767
+ }, 8, ["rules"]), s(e(A), {
800
768
  field: "referrerId",
801
769
  label: "邀请人",
802
770
  "hide-label": "",
@@ -805,27 +773,27 @@ const Fe = {
805
773
  message: "请输入邀请人ID"
806
774
  }]
807
775
  }, {
808
- default: m(() => [a(e(V), {
809
- modelValue: r.value.referrerId,
810
- "onUpdate:modelValue": d[4] || (d[4] = (f) => r.value.referrerId = f),
776
+ default: m(() => [s(e(V), {
777
+ modelValue: o.value.referrerId,
778
+ "onUpdate:modelValue": d[4] || (d[4] = (f) => o.value.referrerId = f),
811
779
  placeholder: "邀请人ID(可选)",
812
780
  autocomplete: "off"
813
781
  }, null, 8, ["modelValue"])]),
814
782
  _: 1
815
- }), w("div", Ze, [a(e(U), {
783
+ }), b("div", Ze, [s(e(U), {
816
784
  type: "primary",
817
- loading: n.loading,
785
+ loading: i.loading,
818
786
  long: "",
819
- size: n.size,
787
+ size: i.size,
820
788
  onClick: c
821
789
  }, {
822
- default: m(() => [...d[5] || (d[5] = [S(" 提交 ", -1)])]),
790
+ default: m(() => [...d[5] || (d[5] = [z(" 提交 ", -1)])]),
823
791
  _: 1
824
792
  }, 8, ["loading", "size"])])]),
825
793
  _: 1
826
794
  }, 8, ["model", "size"])]));
827
795
  }
828
- }), oe = /* @__PURE__ */ A(Je, [["__scopeId", "data-v-5b701953"]]), Qe = /* @__PURE__ */ z({
796
+ }), oe = /* @__PURE__ */ I(Je, [["__scopeId", "data-v-5b701953"]]), Qe = /* @__PURE__ */ k({
829
797
  __name: "AuthkitEmailBinding",
830
798
  props: {
831
799
  size: {
@@ -833,87 +801,87 @@ const Fe = {
833
801
  required: !0
834
802
  }
835
803
  },
836
- setup(i) {
804
+ setup(a) {
837
805
  const {
838
- userProfile: s,
806
+ userProfile: n,
839
807
  loading: u,
840
- fetchUserProfile: n
841
- } = K(), o = h("hidden"), l = i;
808
+ fetchUserProfile: i
809
+ } = K(), r = h("hidden"), l = a;
842
810
  function t(c) {
843
- o.value = c;
811
+ r.value = c;
844
812
  }
845
- function r(c) {
813
+ function o(c) {
846
814
  u.value = !0;
847
815
  const p = {
848
816
  email: c.email,
849
817
  userToken: c.userToken,
850
818
  emailVerifyId: c.emailVerifyId
851
819
  };
852
- ze(p).then(() => {
853
- u.value = !1, E.success("绑定成功"), o.value = "hidden", n();
820
+ ke(p).then(() => {
821
+ u.value = !1, E.success("绑定成功"), r.value = "hidden", i();
854
822
  }).catch(() => {
855
823
  u.value = !1;
856
824
  });
857
825
  }
858
826
  function y() {
859
- o.value = "update";
827
+ r.value = "update";
860
828
  }
861
829
  return G(() => {
862
- s.value || n();
830
+ n.value || i();
863
831
  }), (c, p) => {
864
832
  var d, f, v;
865
- return g(), P(W, null, [!((d = e(s)) != null && d.email) && o.value === "hidden" ? (g(), _(e(L), {
833
+ return g(), P(W, null, [!((d = e(n)) != null && d.email) && r.value === "hidden" ? (g(), _(e(L), {
866
834
  key: 0,
867
835
  title: "绑定邮箱"
868
836
  }, {
869
- action: m(() => [a(e(U), {
837
+ action: m(() => [s(e(U), {
870
838
  size: l.size,
871
839
  type: "primary",
872
- onClick: p[0] || (p[0] = (b) => t("update"))
840
+ onClick: p[0] || (p[0] = (w) => t("update"))
873
841
  }, {
874
- default: m(() => [...p[2] || (p[2] = [S(" 绑定邮箱 ", -1)])]),
842
+ default: m(() => [...p[2] || (p[2] = [z(" 绑定邮箱 ", -1)])]),
875
843
  _: 1
876
844
  }, 8, ["size"])]),
877
- default: m(() => [p[3] || (p[3] = S(" 您还未绑定邮箱,请点击绑定邮箱 ", -1))]),
845
+ default: m(() => [p[3] || (p[3] = z(" 您还未绑定邮箱,请点击绑定邮箱 ", -1))]),
878
846
  _: 1
879
- })) : k("", !0), (f = e(s)) != null && f.email && o.value === "hidden" ? (g(), _(e(L), {
847
+ })) : S("", !0), (f = e(n)) != null && f.email && r.value === "hidden" ? (g(), _(e(L), {
880
848
  key: 1,
881
849
  title: "更改邮箱"
882
850
  }, {
883
- action: m(() => [a(e(U), {
851
+ action: m(() => [s(e(U), {
884
852
  size: l.size,
885
853
  type: "primary",
886
- onClick: p[1] || (p[1] = (b) => t("verify"))
854
+ onClick: p[1] || (p[1] = (w) => t("verify"))
887
855
  }, {
888
- default: m(() => [...p[4] || (p[4] = [S(" 更改邮箱 ", -1)])]),
856
+ default: m(() => [...p[4] || (p[4] = [z(" 更改邮箱 ", -1)])]),
889
857
  _: 1
890
858
  }, 8, ["size"])]),
891
859
  default: m(() => {
892
- var b;
893
- return [S(B(`您绑定的邮箱为${e(ae)((b = e(s)) == null ? void 0 : b.email)}`) + " ", 1)];
860
+ var w;
861
+ return [z(B(`您绑定的邮箱为${e(ae)((w = e(n)) == null ? void 0 : w.email)}`) + " ", 1)];
894
862
  }),
895
863
  _: 1
896
- })) : k("", !0), o.value === "update" ? (g(), _(oe, {
864
+ })) : S("", !0), r.value === "update" ? (g(), _(oe, {
897
865
  key: 2,
898
866
  loading: e(u),
899
867
  size: l.size,
900
- onSubmit: r
901
- }, null, 8, ["loading", "size"])) : k("", !0), o.value === "verify" ? (g(), _(Y, {
868
+ onSubmit: o
869
+ }, null, 8, ["loading", "size"])) : S("", !0), r.value === "verify" ? (g(), _(Y, {
902
870
  key: 3,
903
871
  size: l.size,
904
- email: (v = e(s)) == null ? void 0 : v.email,
872
+ email: (v = e(n)) == null ? void 0 : v.email,
905
873
  onNext: y
906
- }, null, 8, ["size", "email"])) : k("", !0)], 64);
874
+ }, null, 8, ["size", "email"])) : S("", !0)], 64);
907
875
  };
908
876
  }
909
- }), Xe = /* @__PURE__ */ A(Qe, [["__scopeId", "data-v-b2663ea1"]]);
877
+ }), Xe = /* @__PURE__ */ I(Qe, [["__scopeId", "data-v-b2663ea1"]]);
910
878
  function re() {
911
879
  return H({
912
- url: `${N.authPrefixUrl}/restfulApi/OAuth/github/login`,
880
+ url: `${F.authPrefixUrl}/restfulApi/OAuth/github/login`,
913
881
  method: "get"
914
882
  });
915
883
  }
916
- const Ye = /* @__PURE__ */ z({
884
+ const Ye = /* @__PURE__ */ k({
917
885
  __name: "AuthkitGithubBinding",
918
886
  props: {
919
887
  size: {
@@ -921,15 +889,15 @@ const Ye = /* @__PURE__ */ z({
921
889
  required: !0
922
890
  }
923
891
  },
924
- setup(i) {
892
+ setup(a) {
925
893
  const {
926
- userProfile: s,
894
+ userProfile: n,
927
895
  fetchUserProfile: u
928
- } = K(), n = h("hidden"), o = h(!1);
896
+ } = K(), i = h("hidden"), r = h(!1);
929
897
  let l;
930
- const t = i;
931
- function r(f) {
932
- n.value = f;
898
+ const t = a;
899
+ function o(f) {
900
+ i.value = f;
933
901
  }
934
902
  function y() {
935
903
  re().then(({
@@ -938,66 +906,66 @@ const Ye = /* @__PURE__ */ z({
938
906
  const {
939
907
  redirectUri: v
940
908
  } = f;
941
- o.value = !0, window.open(v, "_blank");
909
+ r.value = !0, window.open(v, "_blank");
942
910
  });
943
911
  }
944
912
  function c() {
945
- Ie().then(() => {
946
- E.success("解绑成功"), n.value = "hidden", u();
913
+ Ae().then(() => {
914
+ E.success("解绑成功"), i.value = "hidden", u();
947
915
  });
948
916
  }
949
917
  function p() {
950
- n.value === "bind" && (n.value = "hidden", y()), n.value === "unbind" && c();
918
+ i.value === "bind" && (i.value = "hidden", y()), i.value === "unbind" && c();
951
919
  }
952
920
  function d() {
953
- o.value && u();
921
+ r.value && u();
954
922
  }
955
923
  return G(() => {
956
- s.value || u(), l = setInterval(d, 1e3);
924
+ n.value || u(), l = setInterval(d, 1e3);
957
925
  }), te(() => {
958
926
  l && clearInterval(l);
959
927
  }), (f, v) => {
960
- var b, $, q;
961
- return g(), P(W, null, [!((b = e(s)) != null && b.github) && n.value === "hidden" ? (g(), _(e(L), {
928
+ var w, $, q;
929
+ return g(), P(W, null, [!((w = e(n)) != null && w.github) && i.value === "hidden" ? (g(), _(e(L), {
962
930
  key: 0,
963
931
  title: "绑定GitHUb"
964
932
  }, {
965
- action: m(() => [a(e(U), {
933
+ action: m(() => [s(e(U), {
966
934
  size: t.size,
967
935
  type: "primary",
968
- onClick: v[0] || (v[0] = (R) => r("bind"))
936
+ onClick: v[0] || (v[0] = (R) => o("bind"))
969
937
  }, {
970
- default: m(() => [...v[2] || (v[2] = [S(" 绑定GitHUb ", -1)])]),
938
+ default: m(() => [...v[2] || (v[2] = [z(" 绑定GitHUb ", -1)])]),
971
939
  _: 1
972
940
  }, 8, ["size"])]),
973
- default: m(() => [v[3] || (v[3] = S(" 请尚未绑定GitHub,请点击绑定GitHUb ", -1))]),
941
+ default: m(() => [v[3] || (v[3] = z(" 请尚未绑定GitHub,请点击绑定GitHUb ", -1))]),
974
942
  _: 1
975
- })) : k("", !0), ($ = e(s)) != null && $.github && n.value === "hidden" ? (g(), _(e(L), {
943
+ })) : S("", !0), ($ = e(n)) != null && $.github && i.value === "hidden" ? (g(), _(e(L), {
976
944
  key: 1,
977
945
  title: "解绑GitHub"
978
946
  }, {
979
- action: m(() => [a(e(U), {
947
+ action: m(() => [s(e(U), {
980
948
  size: t.size,
981
949
  type: "primary",
982
- onClick: v[1] || (v[1] = (R) => r("unbind"))
950
+ onClick: v[1] || (v[1] = (R) => o("unbind"))
983
951
  }, {
984
- default: m(() => [...v[4] || (v[4] = [S(" 解绑GitHUb ", -1)])]),
952
+ default: m(() => [...v[4] || (v[4] = [z(" 解绑GitHUb ", -1)])]),
985
953
  _: 1
986
954
  }, 8, ["size"])]),
987
955
  default: m(() => {
988
956
  var R, C, x;
989
- return [w("span", null, B(`您绑定的账号为 ${(C = (R = e(s)) == null ? void 0 : R.github) == null ? void 0 : C.login}`), 1), a(e(ne), {
990
- "image-url": (x = e(s)) == null ? void 0 : x.avatar,
957
+ return [b("span", null, B(`您绑定的账号为 ${(C = (R = e(n)) == null ? void 0 : R.github) == null ? void 0 : C.login}`), 1), s(e(ne), {
958
+ "image-url": (x = e(n)) == null ? void 0 : x.avatar,
991
959
  size: 42
992
960
  }, null, 8, ["image-url"])];
993
961
  }),
994
962
  _: 1
995
- })) : k("", !0), n.value === "bind" || n.value === "unbind" ? (g(), _(Y, {
963
+ })) : S("", !0), i.value === "bind" || i.value === "unbind" ? (g(), _(Y, {
996
964
  key: 2,
997
965
  size: t.size,
998
- email: (q = e(s)) == null ? void 0 : q.email,
966
+ email: (q = e(n)) == null ? void 0 : q.email,
999
967
  onNext: p
1000
- }, null, 8, ["size", "email"])) : k("", !0)], 64);
968
+ }, null, 8, ["size", "email"])) : S("", !0)], 64);
1001
969
  };
1002
970
  }
1003
971
  }), et = {
@@ -1006,18 +974,18 @@ const Ye = /* @__PURE__ */ z({
1006
974
  class: "left"
1007
975
  }, it = {
1008
976
  class: "right"
1009
- }, st = /* @__PURE__ */ z({
977
+ }, st = /* @__PURE__ */ k({
1010
978
  __name: "AuthkitAppSetting",
1011
979
  emits: ["confirm", "cancel"],
1012
- setup(i, {
1013
- expose: s,
980
+ setup(a, {
981
+ expose: n,
1014
982
  emit: u
1015
983
  }) {
1016
- const n = u;
1017
- function o() {
1018
- n("cancel");
984
+ const i = u;
985
+ function r() {
986
+ i("cancel");
1019
987
  }
1020
- const l = h("large"), t = h(["PersonalInformation"]), r = h([{
988
+ const l = h("large"), t = h(["PersonalInformation"]), o = h([{
1021
989
  name: "个人信息",
1022
990
  path: "PersonalInformation",
1023
991
  meta: {
@@ -1063,61 +1031,61 @@ const Ye = /* @__PURE__ */ z({
1063
1031
  ]
1064
1032
  }]);
1065
1033
  function y(f, v) {
1066
- const b = f.path;
1067
- console.log(b, v, "lokokoko"), t.value = [b];
1034
+ const w = f.path;
1035
+ console.log(w, v, "lokokoko"), t.value = [w];
1068
1036
  }
1069
1037
  const {
1070
1038
  changeType: c,
1071
1039
  show: p
1072
- } = Pe(n);
1040
+ } = Ve(i);
1073
1041
  function d(f, v) {
1074
1042
  console.log(f), p.value = v, c.value = "编辑";
1075
1043
  }
1076
- return s({
1044
+ return n({
1077
1045
  setData: d
1078
1046
  }), (f, v) => (g(), _(e(le), {
1079
1047
  visible: e(p),
1080
- "onUpdate:visible": v[1] || (v[1] = (b) => ie(p) ? p.value = b : null),
1048
+ "onUpdate:visible": v[1] || (v[1] = (w) => ie(p) ? p.value = w : null),
1081
1049
  "unmount-on-close": "",
1082
1050
  "body-class": "AppSettingbodyClass",
1083
1051
  "mask-closable": !1,
1084
1052
  footer: !1,
1085
1053
  width: "700px",
1086
- onCancel: o
1054
+ onCancel: r
1087
1055
  }, {
1088
- title: m(() => [...v[2] || (v[2] = [S(" 系统设置 ", -1)])]),
1089
- default: m(() => [w("div", et, [w("div", tt, [a(Ae, {
1056
+ title: m(() => [...v[2] || (v[2] = [z(" 系统设置 ", -1)])]),
1057
+ default: m(() => [b("div", et, [b("div", tt, [s(Pe, {
1090
1058
  "selected-keys": t.value,
1091
- "onUpdate:selectedKeys": v[0] || (v[0] = (b) => t.value = b),
1092
- menus: r.value,
1059
+ "onUpdate:selectedKeys": v[0] || (v[0] = (w) => t.value = w),
1060
+ menus: o.value,
1093
1061
  onChange: y
1094
- }, null, 8, ["selected-keys", "menus"])]), w("div", it, [t.value[0] === "PersonalInformation" ? (g(), _(Le, {
1062
+ }, null, 8, ["selected-keys", "menus"])]), b("div", it, [t.value[0] === "PersonalInformation" ? (g(), _(Le, {
1095
1063
  key: 0,
1096
1064
  size: l.value
1097
- }, null, 8, ["size"])) : k("", !0), t.value[0] === "EmailBinding" ? (g(), _(Xe, {
1065
+ }, null, 8, ["size"])) : S("", !0), t.value[0] === "EmailBinding" ? (g(), _(Xe, {
1098
1066
  key: 1,
1099
1067
  size: l.value
1100
- }, null, 8, ["size"])) : k("", !0), t.value[0] === "SetPassword" ? (g(), _(De, {
1068
+ }, null, 8, ["size"])) : S("", !0), t.value[0] === "SetPassword" ? (g(), _(je, {
1101
1069
  key: 2,
1102
1070
  size: l.value
1103
- }, null, 8, ["size"])) : k("", !0), t.value[0] === "GithubBinding" ? (g(), _(Ye, {
1071
+ }, null, 8, ["size"])) : S("", !0), t.value[0] === "GithubBinding" ? (g(), _(Ye, {
1104
1072
  key: 3,
1105
1073
  size: l.value
1106
- }, null, 8, ["size"])) : k("", !0)])])]),
1074
+ }, null, 8, ["size"])) : S("", !0)])])]),
1107
1075
  _: 1
1108
1076
  }, 8, ["visible"]));
1109
1077
  }
1110
- }), pi = /* @__PURE__ */ A(st, [["__scopeId", "data-v-cd51dcec"]]);
1078
+ }), ui = /* @__PURE__ */ I(st, [["__scopeId", "data-v-cd51dcec"]]);
1111
1079
  function nt() {
1112
1080
  re().then(({
1113
- data: i
1081
+ data: a
1114
1082
  }) => {
1115
1083
  const {
1116
- redirectUri: s
1117
- } = i;
1118
- s ? window.location.href = s : console.error("GitHub OAuth 重定向URL为空");
1119
- }).catch((i) => {
1120
- console.error("GitHub OAuth 授权失败:", i);
1084
+ redirectUri: n
1085
+ } = a;
1086
+ n ? window.location.href = n : console.error("GitHub OAuth 重定向URL为空");
1087
+ }).catch((a) => {
1088
+ console.error("GitHub OAuth 授权失败:", a);
1121
1089
  });
1122
1090
  }
1123
1091
  function lt() {
@@ -1131,7 +1099,7 @@ function ot() {
1131
1099
  microsoftAuth: at
1132
1100
  };
1133
1101
  }
1134
- const j = /* @__PURE__ */ z({
1102
+ const D = /* @__PURE__ */ k({
1135
1103
  __name: "AuthkitOAuthItem",
1136
1104
  props: {
1137
1105
  size: {
@@ -1150,19 +1118,19 @@ const j = /* @__PURE__ */ z({
1150
1118
  }
1151
1119
  },
1152
1120
  emits: [],
1153
- setup(i, {
1154
- emit: s
1121
+ setup(a, {
1122
+ emit: n
1155
1123
  }) {
1156
- const u = i;
1157
- return (n, o) => (g(), _(e(U), {
1124
+ const u = a;
1125
+ return (i, r) => (g(), _(e(U), {
1158
1126
  class: "OAuthItem",
1159
1127
  type: "primary",
1160
1128
  size: u.size
1161
1129
  }, {
1162
- icon: m(() => [a(e(Ue), {
1130
+ icon: m(() => [s(e(Ue), {
1163
1131
  icon: u.icon
1164
1132
  }, null, 8, ["icon"])]),
1165
- default: m(() => [w("span", null, B(u.label), 1)]),
1133
+ default: m(() => [b("span", null, B(u.label), 1)]),
1166
1134
  _: 1
1167
1135
  }, 8, ["size"]));
1168
1136
  }
@@ -1170,7 +1138,7 @@ const j = /* @__PURE__ */ z({
1170
1138
  class: "OAuthList"
1171
1139
  }, ut = {
1172
1140
  class: "OAuthList"
1173
- }, dt = /* @__PURE__ */ z({
1141
+ }, dt = /* @__PURE__ */ k({
1174
1142
  __name: "AuthkitOAuthList",
1175
1143
  props: {
1176
1144
  size: {
@@ -1182,47 +1150,47 @@ const j = /* @__PURE__ */ z({
1182
1150
  default: () => ""
1183
1151
  }
1184
1152
  },
1185
- setup(i) {
1153
+ setup(a) {
1186
1154
  const {
1187
- appsData: s
1188
- } = J(), u = i, {
1189
- githubAuth: n,
1190
- googleAuth: o,
1155
+ appsData: n
1156
+ } = J(), u = a, {
1157
+ githubAuth: i,
1158
+ googleAuth: r,
1191
1159
  microsoftAuth: l
1192
- } = ot(), t = T(() => !(!s.value.oauth.google.enabled && !s.value.oauth.microsoft.enabled && !s.value.oauth.github.enabled && !s.value.oauth.wechat.enabled));
1193
- return (r, y) => (g(), P("div", rt, [t.value ? (g(), _(e(ye), {
1160
+ } = ot(), t = T(() => !(!n.value.oauth.google.enabled && !n.value.oauth.microsoft.enabled && !n.value.oauth.github.enabled && !n.value.oauth.wechat.enabled));
1161
+ return (o, y) => (g(), P("div", rt, [t.value ? (g(), _(e(ye), {
1194
1162
  key: 0,
1195
1163
  orientation: "center"
1196
1164
  }, {
1197
- default: m(() => [...y[0] || (y[0] = [S("OAuth登陆", -1)])]),
1165
+ default: m(() => [...y[0] || (y[0] = [z("OAuth登陆", -1)])]),
1198
1166
  _: 1
1199
- })) : k("", !0), w("div", ut, [e(s).oauth.github.enabled ? (g(), _(j, {
1167
+ })) : S("", !0), b("div", ut, [e(n).oauth.github.enabled ? (g(), _(D, {
1200
1168
  key: 0,
1201
1169
  icon: "mdi:github",
1202
1170
  label: "Github",
1203
1171
  size: u.size,
1204
- onClick: e(n)
1205
- }, null, 8, ["size", "onClick"])) : k("", !0), e(s).oauth.google.enabled ? (g(), _(j, {
1172
+ onClick: e(i)
1173
+ }, null, 8, ["size", "onClick"])) : S("", !0), e(n).oauth.google.enabled ? (g(), _(D, {
1206
1174
  key: 1,
1207
1175
  icon: "mdi:google",
1208
1176
  label: "Google",
1209
1177
  size: u.size,
1210
- onClick: e(o)
1211
- }, null, 8, ["size", "onClick"])) : k("", !0), e(s).oauth.microsoft.enabled ? (g(), _(j, {
1178
+ onClick: e(r)
1179
+ }, null, 8, ["size", "onClick"])) : S("", !0), e(n).oauth.microsoft.enabled ? (g(), _(D, {
1212
1180
  key: 2,
1213
1181
  icon: "mdi:microsoft",
1214
1182
  label: "Microsoft",
1215
1183
  size: u.size,
1216
1184
  onClick: e(l)
1217
- }, null, 8, ["size", "onClick"])) : k("", !0)])]));
1185
+ }, null, 8, ["size", "onClick"])) : S("", !0)])]));
1218
1186
  }
1219
- }), mt = /* @__PURE__ */ A(dt, [["__scopeId", "data-v-49ca3bca"]]), ct = {
1187
+ }), mt = /* @__PURE__ */ I(dt, [["__scopeId", "data-v-49ca3bca"]]), ct = {
1220
1188
  class: "content"
1221
1189
  }, ft = {
1222
1190
  class: "sendVerifyCodeItem"
1223
1191
  }, pt = {
1224
1192
  class: "handle"
1225
- }, vt = /* @__PURE__ */ z({
1193
+ }, vt = /* @__PURE__ */ k({
1226
1194
  __name: "AuthkitPasswordUpdateAndVerify",
1227
1195
  props: {
1228
1196
  size: {
@@ -1236,10 +1204,10 @@ const j = /* @__PURE__ */ z({
1236
1204
  }
1237
1205
  },
1238
1206
  emits: ["signIn", "submit"],
1239
- setup(i, {
1240
- emit: s
1207
+ setup(a, {
1208
+ emit: n
1241
1209
  }) {
1242
- const u = s, n = i, o = h(), l = h(!1), t = h(), r = h({
1210
+ const u = n, i = a, r = h(), l = h(!1), t = h(), o = h({
1243
1211
  email: void 0,
1244
1212
  userToken: void 0,
1245
1213
  emailVerifyId: void 0,
@@ -1249,11 +1217,11 @@ const j = /* @__PURE__ */ z({
1249
1217
  async function y() {
1250
1218
  t.value.validateField(["email"]).then((p) => {
1251
1219
  p || (l.value = !0, Q({
1252
- email: r.value.email
1220
+ email: o.value.email
1253
1221
  }).then(({
1254
1222
  data: d
1255
1223
  }) => {
1256
- l.value = !1, r.value.emailVerifyId = d.emailVerifyId, o.value.startCountFn();
1224
+ l.value = !1, o.value.emailVerifyId = d.emailVerifyId, r.value.startCountFn();
1257
1225
  }).catch(() => {
1258
1226
  l.value = !1;
1259
1227
  }));
@@ -1261,17 +1229,17 @@ const j = /* @__PURE__ */ z({
1261
1229
  }
1262
1230
  async function c() {
1263
1231
  t.value.validate().then((p) => {
1264
- p || u("submit", r.value);
1232
+ p || u("submit", o.value);
1265
1233
  });
1266
1234
  }
1267
- return (p, d) => (g(), P("div", ct, [a(e(O), {
1235
+ return (p, d) => (g(), P("div", ct, [s(e(O), {
1268
1236
  ref_key: "formRef",
1269
1237
  ref: t,
1270
- model: r.value,
1271
- size: n.size,
1238
+ model: o.value,
1239
+ size: i.size,
1272
1240
  "auto-label-width": ""
1273
1241
  }, {
1274
- default: m(() => [a(e(I), {
1242
+ default: m(() => [s(e(A), {
1275
1243
  field: "email",
1276
1244
  label: "邮箱",
1277
1245
  "hide-label": "",
@@ -1283,13 +1251,13 @@ const j = /* @__PURE__ */ z({
1283
1251
  message: "请输入有效的邮箱"
1284
1252
  }]
1285
1253
  }, {
1286
- default: m(() => [a(e(V), {
1287
- modelValue: r.value.email,
1288
- "onUpdate:modelValue": d[0] || (d[0] = (f) => r.value.email = f),
1254
+ default: m(() => [s(e(V), {
1255
+ modelValue: o.value.email,
1256
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => o.value.email = f),
1289
1257
  placeholder: "请输入邮箱"
1290
1258
  }, null, 8, ["modelValue"])]),
1291
1259
  _: 1
1292
- }), a(e(I), {
1260
+ }), s(e(A), {
1293
1261
  field: "userToken",
1294
1262
  label: "验证码",
1295
1263
  "hide-label": "",
@@ -1298,14 +1266,14 @@ const j = /* @__PURE__ */ z({
1298
1266
  message: "请输入验证码"
1299
1267
  }]
1300
1268
  }, {
1301
- default: m(() => [w("div", ft, [a(e(V), {
1302
- modelValue: r.value.userToken,
1303
- "onUpdate:modelValue": d[1] || (d[1] = (f) => r.value.userToken = f),
1269
+ default: m(() => [b("div", ft, [s(e(V), {
1270
+ modelValue: o.value.userToken,
1271
+ "onUpdate:modelValue": d[1] || (d[1] = (f) => o.value.userToken = f),
1304
1272
  placeholder: "请输入验证码"
1305
- }, null, 8, ["modelValue"]), a(X, {
1273
+ }, null, 8, ["modelValue"]), s(X, {
1306
1274
  ref_key: "SendVerifyCodeRef",
1307
- ref: o,
1308
- size: n.size,
1275
+ ref: r,
1276
+ size: i.size,
1309
1277
  loading: l.value,
1310
1278
  style: {
1311
1279
  "margin-left": "10px"
@@ -1313,7 +1281,7 @@ const j = /* @__PURE__ */ z({
1313
1281
  onSend: y
1314
1282
  }, null, 8, ["size", "loading"])])]),
1315
1283
  _: 1
1316
- }), a(e(I), {
1284
+ }), s(e(A), {
1317
1285
  field: "password",
1318
1286
  label: "密码",
1319
1287
  "hide-label": "",
@@ -1325,15 +1293,15 @@ const j = /* @__PURE__ */ z({
1325
1293
  message: "密码不能少于10字符"
1326
1294
  }]
1327
1295
  }, {
1328
- default: m(() => [a(e(V), {
1329
- modelValue: r.value.password,
1330
- "onUpdate:modelValue": d[2] || (d[2] = (f) => r.value.password = f),
1296
+ default: m(() => [s(e(V), {
1297
+ modelValue: o.value.password,
1298
+ "onUpdate:modelValue": d[2] || (d[2] = (f) => o.value.password = f),
1331
1299
  placeholder: "请输入密码",
1332
1300
  type: "password",
1333
1301
  autocomplete: ""
1334
1302
  }, null, 8, ["modelValue"])]),
1335
1303
  _: 1
1336
- }), a(e(I), {
1304
+ }), s(e(A), {
1337
1305
  field: "confirmPassword",
1338
1306
  label: "确认密码",
1339
1307
  "hide-label": "",
@@ -1345,56 +1313,56 @@ const j = /* @__PURE__ */ z({
1345
1313
  message: "确认密码不能少于10字符"
1346
1314
  }, {
1347
1315
  validator: (f, v) => {
1348
- f !== r.value.password ? v("两次密码输入不一致,请重新输入") : v();
1316
+ f !== o.value.password ? v("两次密码输入不一致,请重新输入") : v();
1349
1317
  }
1350
1318
  }]
1351
1319
  }, {
1352
- default: m(() => [a(e(V), {
1353
- modelValue: r.value.confirmPassword,
1354
- "onUpdate:modelValue": d[3] || (d[3] = (f) => r.value.confirmPassword = f),
1320
+ default: m(() => [s(e(V), {
1321
+ modelValue: o.value.confirmPassword,
1322
+ "onUpdate:modelValue": d[3] || (d[3] = (f) => o.value.confirmPassword = f),
1355
1323
  placeholder: "请输入确认密码密码",
1356
1324
  type: "password",
1357
1325
  autocomplete: ""
1358
1326
  }, null, 8, ["modelValue"])]),
1359
1327
  _: 1
1360
- }, 8, ["rules"]), w("div", pt, [a(e(U), {
1328
+ }, 8, ["rules"]), b("div", pt, [s(e(U), {
1361
1329
  type: "primary",
1362
- loading: n.loading,
1330
+ loading: i.loading,
1363
1331
  long: "",
1364
- size: n.size,
1332
+ size: i.size,
1365
1333
  onClick: c
1366
1334
  }, {
1367
- default: m(() => [...d[4] || (d[4] = [S(" 提交 ", -1)])]),
1335
+ default: m(() => [...d[4] || (d[4] = [z(" 提交 ", -1)])]),
1368
1336
  _: 1
1369
1337
  }, 8, ["loading", "size"])])]),
1370
1338
  _: 1
1371
1339
  }, 8, ["model", "size"])]));
1372
1340
  }
1373
- }), gt = /* @__PURE__ */ A(vt, [["__scopeId", "data-v-1c83f44a"]]), yt = {
1341
+ }), gt = /* @__PURE__ */ I(vt, [["__scopeId", "data-v-1c83f44a"]]), yt = {
1374
1342
  class: "SwitchSignIn"
1375
- }, ht = /* @__PURE__ */ z({
1343
+ }, ht = /* @__PURE__ */ k({
1376
1344
  __name: "AuthkitSwitchSignIn",
1377
1345
  emits: ["switchSignIn"],
1378
- setup(i, {
1379
- emit: s
1346
+ setup(a, {
1347
+ emit: n
1380
1348
  }) {
1381
- const u = s;
1382
- function n() {
1349
+ const u = n;
1350
+ function i() {
1383
1351
  u("switchSignIn");
1384
1352
  }
1385
- return (o, l) => (g(), P("div", yt, [w("span", null, [l[1] || (l[1] = w("span", null, "已经有账号?", -1)), a(e(F), {
1353
+ return (r, l) => (g(), P("div", yt, [b("span", null, [l[1] || (l[1] = b("span", null, "已经有账号?", -1)), s(e(N), {
1386
1354
  style: {
1387
1355
  padding: "0px"
1388
1356
  },
1389
- onClick: n
1357
+ onClick: i
1390
1358
  }, {
1391
- default: m(() => [...l[0] || (l[0] = [S("去登陆", -1)])]),
1359
+ default: m(() => [...l[0] || (l[0] = [z("去登陆", -1)])]),
1392
1360
  _: 1
1393
1361
  })])]));
1394
1362
  }
1395
- }), ue = /* @__PURE__ */ A(ht, [["__scopeId", "data-v-fc1d3903"]]), _t = {
1363
+ }), ue = /* @__PURE__ */ I(ht, [["__scopeId", "data-v-fc1d3903"]]), _t = {
1396
1364
  class: "ResetPassword"
1397
- }, wt = /* @__PURE__ */ z({
1365
+ }, bt = /* @__PURE__ */ k({
1398
1366
  __name: "AuthkitResetPassword",
1399
1367
  props: {
1400
1368
  size: {
@@ -1409,56 +1377,56 @@ const j = /* @__PURE__ */ z({
1409
1377
  }
1410
1378
  },
1411
1379
  emits: ["switchSignIn", "submit"],
1412
- setup(i, {
1413
- emit: s
1380
+ setup(a, {
1381
+ emit: n
1414
1382
  }) {
1415
- const u = s, n = i;
1416
- function o() {
1383
+ const u = n, i = a;
1384
+ function r() {
1417
1385
  u("switchSignIn");
1418
1386
  }
1419
1387
  async function l(t) {
1420
1388
  u("submit", t);
1421
1389
  }
1422
- return (t, r) => (g(), P("div", _t, [a(gt, {
1423
- loading: i.loading,
1424
- size: n.size,
1390
+ return (t, o) => (g(), P("div", _t, [s(gt, {
1391
+ loading: a.loading,
1392
+ size: i.size,
1425
1393
  onSubmit: l
1426
- }, null, 8, ["loading", "size"]), a(ue, {
1427
- onSwitchSignIn: o
1394
+ }, null, 8, ["loading", "size"]), s(ue, {
1395
+ onSwitchSignIn: r
1428
1396
  })]));
1429
1397
  }
1430
- }), bt = /* @__PURE__ */ A(wt, [["__scopeId", "data-v-0622cbe3"]]), St = {
1398
+ }), wt = /* @__PURE__ */ I(bt, [["__scopeId", "data-v-0622cbe3"]]), zt = {
1431
1399
  class: "ServiceAgreementAndPrivacyProtection"
1432
- }, kt = /* @__PURE__ */ z({
1400
+ }, St = /* @__PURE__ */ k({
1433
1401
  __name: "AuthkitServiceAgreementAndPrivacyProtection",
1434
1402
  emits: ["toUserServiceAgreement", "toPrivacyPolicy"],
1435
- setup(i, {
1436
- emit: s
1403
+ setup(a, {
1404
+ emit: n
1437
1405
  }) {
1438
- const u = s;
1439
- function n() {
1406
+ const u = n;
1407
+ function i() {
1440
1408
  u("toUserServiceAgreement");
1441
1409
  }
1442
- function o() {
1410
+ function r() {
1443
1411
  u("toPrivacyPolicy");
1444
1412
  }
1445
- return (l, t) => (g(), P("div", St, [t[2] || (t[2] = w("span", null, " 注册登陆即表示同意", -1)), a(e(F), {
1446
- onClick: n
1413
+ return (l, t) => (g(), P("div", zt, [t[2] || (t[2] = b("span", null, " 注册登陆即表示同意", -1)), s(e(N), {
1414
+ onClick: i
1447
1415
  }, {
1448
- default: m(() => [...t[0] || (t[0] = [S("用户服务协议", -1)])]),
1416
+ default: m(() => [...t[0] || (t[0] = [z("用户服务协议", -1)])]),
1449
1417
  _: 1
1450
- }), t[3] || (t[3] = w("span", null, " 和 ", -1)), a(e(F), {
1451
- onClick: o
1418
+ }), t[3] || (t[3] = b("span", null, " 和 ", -1)), s(e(N), {
1419
+ onClick: r
1452
1420
  }, {
1453
- default: m(() => [...t[1] || (t[1] = [S("隐私协议", -1)])]),
1421
+ default: m(() => [...t[1] || (t[1] = [z("隐私协议", -1)])]),
1454
1422
  _: 1
1455
1423
  })]));
1456
1424
  }
1457
- }), zt = /* @__PURE__ */ A(kt, [["__scopeId", "data-v-18e831ec"]]), It = {
1425
+ }), kt = /* @__PURE__ */ I(St, [["__scopeId", "data-v-18e831ec"]]), At = {
1458
1426
  class: "content"
1459
- }, At = {
1427
+ }, It = {
1460
1428
  class: "handle"
1461
- }, Pt = /* @__PURE__ */ z({
1429
+ }, Pt = /* @__PURE__ */ k({
1462
1430
  __name: "AuthkitPasswordAuth",
1463
1431
  props: {
1464
1432
  size: {
@@ -1472,11 +1440,11 @@ const j = /* @__PURE__ */ z({
1472
1440
  }
1473
1441
  },
1474
1442
  emits: ["submit"],
1475
- setup(i, {
1476
- emit: s
1443
+ setup(a, {
1444
+ emit: n
1477
1445
  }) {
1478
- const u = s, n = i;
1479
- async function o(y, c) {
1446
+ const u = n, i = a;
1447
+ async function r(y, c) {
1480
1448
  const p = await Oe({
1481
1449
  password: y
1482
1450
  });
@@ -1491,19 +1459,19 @@ const j = /* @__PURE__ */ z({
1491
1459
  email: void 0,
1492
1460
  password: void 0
1493
1461
  });
1494
- async function r() {
1462
+ async function o() {
1495
1463
  l.value.validate().then((y) => {
1496
1464
  y || u("submit", t.value);
1497
1465
  });
1498
1466
  }
1499
- return (y, c) => (g(), P("div", It, [a(e(O), {
1467
+ return (y, c) => (g(), P("div", At, [s(e(O), {
1500
1468
  ref_key: "formRef",
1501
1469
  ref: l,
1502
1470
  model: t.value,
1503
- size: n.size,
1471
+ size: i.size,
1504
1472
  "auto-label-width": ""
1505
1473
  }, {
1506
- default: m(() => [a(e(I), {
1474
+ default: m(() => [s(e(A), {
1507
1475
  field: "email",
1508
1476
  label: "邮箱",
1509
1477
  "hide-label": "",
@@ -1515,7 +1483,7 @@ const j = /* @__PURE__ */ z({
1515
1483
  message: "请输入有效的邮箱"
1516
1484
  }]
1517
1485
  }, {
1518
- default: m(() => [a(e(V), {
1486
+ default: m(() => [s(e(V), {
1519
1487
  modelValue: t.value.email,
1520
1488
  "onUpdate:modelValue": c[0] || (c[0] = (p) => t.value.email = p),
1521
1489
  placeholder: "请输入邮箱",
@@ -1523,7 +1491,7 @@ const j = /* @__PURE__ */ z({
1523
1491
  type: "email"
1524
1492
  }, null, 8, ["modelValue"])]),
1525
1493
  _: 1
1526
- }), a(e(I), {
1494
+ }), s(e(A), {
1527
1495
  field: "password",
1528
1496
  label: "密码",
1529
1497
  "hide-label": "",
@@ -1531,10 +1499,10 @@ const j = /* @__PURE__ */ z({
1531
1499
  required: !0,
1532
1500
  message: "请输入密码"
1533
1501
  }, {
1534
- validator: o
1502
+ validator: r
1535
1503
  }]
1536
1504
  }, {
1537
- default: m(() => [a(e(V), {
1505
+ default: m(() => [s(e(V), {
1538
1506
  modelValue: t.value.password,
1539
1507
  "onUpdate:modelValue": c[1] || (c[1] = (p) => t.value.password = p),
1540
1508
  placeholder: "请输入密码",
@@ -1542,55 +1510,55 @@ const j = /* @__PURE__ */ z({
1542
1510
  autocomplete: "current-password"
1543
1511
  }, null, 8, ["modelValue"])]),
1544
1512
  _: 1
1545
- }, 8, ["rules"]), w("div", At, [a(e(U), {
1513
+ }, 8, ["rules"]), b("div", It, [s(e(U), {
1546
1514
  type: "primary",
1547
- loading: n.loading,
1515
+ loading: i.loading,
1548
1516
  long: "",
1549
- size: n.size,
1550
- onClick: r
1517
+ size: i.size,
1518
+ onClick: o
1551
1519
  }, {
1552
- default: m(() => [...c[2] || (c[2] = [S(" 登陆 ", -1)])]),
1520
+ default: m(() => [...c[2] || (c[2] = [z(" 登陆 ", -1)])]),
1553
1521
  _: 1
1554
1522
  }, 8, ["loading", "size"])])]),
1555
1523
  _: 1
1556
1524
  }, 8, ["model", "size"])]));
1557
1525
  }
1558
- }), Vt = /* @__PURE__ */ A(Pt, [["__scopeId", "data-v-76d6bc26"]]), Ut = {
1526
+ }), Vt = /* @__PURE__ */ I(Pt, [["__scopeId", "data-v-76d6bc26"]]), Ut = {
1559
1527
  class: "SwitchSignUpOrResetPassword"
1560
- }, $t = /* @__PURE__ */ z({
1528
+ }, $t = /* @__PURE__ */ k({
1561
1529
  __name: "AuthkitSwitchSignUpOrResetPassword",
1562
1530
  emits: ["switchSignUp", "switchResetPassword"],
1563
- setup(i, {
1564
- emit: s
1531
+ setup(a, {
1532
+ emit: n
1565
1533
  }) {
1566
- const u = s;
1567
- function n() {
1534
+ const u = n;
1535
+ function i() {
1568
1536
  u("switchSignUp");
1569
1537
  }
1570
- function o() {
1538
+ function r() {
1571
1539
  u("switchResetPassword");
1572
1540
  }
1573
- return (l, t) => (g(), P("div", Ut, [w("span", null, [t[1] || (t[1] = w("span", null, " 还没有账户?", -1)), a(e(F), {
1541
+ return (l, t) => (g(), P("div", Ut, [b("span", null, [t[1] || (t[1] = b("span", null, " 还没有账户?", -1)), s(e(N), {
1574
1542
  style: {
1575
1543
  padding: "0px"
1576
1544
  },
1577
- onClick: n
1545
+ onClick: i
1578
1546
  }, {
1579
- default: m(() => [...t[0] || (t[0] = [S("去注册?", -1)])]),
1547
+ default: m(() => [...t[0] || (t[0] = [z("去注册?", -1)])]),
1580
1548
  _: 1
1581
- })]), a(e(F), {
1549
+ })]), s(e(N), {
1582
1550
  style: {
1583
1551
  padding: "0px"
1584
1552
  },
1585
- onClick: o
1553
+ onClick: r
1586
1554
  }, {
1587
- default: m(() => [...t[2] || (t[2] = [S(" 忘记密码?", -1)])]),
1555
+ default: m(() => [...t[2] || (t[2] = [z(" 忘记密码?", -1)])]),
1588
1556
  _: 1
1589
1557
  })]));
1590
1558
  }
1591
- }), Ct = /* @__PURE__ */ A($t, [["__scopeId", "data-v-14e3aab2"]]), xt = {
1559
+ }), Ct = /* @__PURE__ */ I($t, [["__scopeId", "data-v-14e3aab2"]]), xt = {
1592
1560
  class: "SignIn"
1593
- }, qt = /* @__PURE__ */ z({
1561
+ }, qt = /* @__PURE__ */ k({
1594
1562
  __name: "AuthkitSignIn",
1595
1563
  props: {
1596
1564
  size: {
@@ -1604,33 +1572,33 @@ const j = /* @__PURE__ */ z({
1604
1572
  }
1605
1573
  },
1606
1574
  emits: ["submit", "switchSignUp", "switchResetPassword"],
1607
- setup(i, {
1608
- emit: s
1575
+ setup(a, {
1576
+ emit: n
1609
1577
  }) {
1610
- const u = s, n = i, o = ve(), l = T(() => !!o.OAuth);
1578
+ const u = n, i = a, r = ve(), l = T(() => !!r.OAuth);
1611
1579
  function t() {
1612
1580
  u("switchSignUp");
1613
1581
  }
1614
- function r() {
1582
+ function o() {
1615
1583
  u("switchResetPassword");
1616
1584
  }
1617
1585
  async function y(c) {
1618
1586
  u("submit", c);
1619
1587
  }
1620
- return (c, p) => (g(), P("div", xt, [k("", !0), a(Vt, {
1621
- loading: n.loading,
1622
- size: n.size,
1588
+ return (c, p) => (g(), P("div", xt, [S("", !0), s(Vt, {
1589
+ loading: i.loading,
1590
+ size: i.size,
1623
1591
  onSubmit: y
1624
1592
  }, null, 8, ["loading", "size"]), l.value ? se(c.$slots, "OAuth", {
1625
1593
  key: 1
1626
- }, void 0, !0) : k("", !0), a(Ct, {
1594
+ }, void 0, !0) : S("", !0), s(Ct, {
1627
1595
  onSwitchSignUp: t,
1628
- onSwitchResetPassword: r
1596
+ onSwitchResetPassword: o
1629
1597
  })]));
1630
1598
  }
1631
- }), Rt = /* @__PURE__ */ A(qt, [["__scopeId", "data-v-f52ce3b3"]]), Tt = {
1599
+ }), Rt = /* @__PURE__ */ I(qt, [["__scopeId", "data-v-f52ce3b3"]]), Tt = {
1632
1600
  class: "SignUp"
1633
- }, Lt = /* @__PURE__ */ z({
1601
+ }, Lt = /* @__PURE__ */ k({
1634
1602
  __name: "AuthkitSignUp",
1635
1603
  props: {
1636
1604
  size: {
@@ -1644,25 +1612,25 @@ const j = /* @__PURE__ */ z({
1644
1612
  }
1645
1613
  },
1646
1614
  emits: ["switchSignIn", "submit"],
1647
- setup(i, {
1648
- emit: s
1615
+ setup(a, {
1616
+ emit: n
1649
1617
  }) {
1650
- const u = s, n = i;
1651
- function o() {
1618
+ const u = n, i = a;
1619
+ function r() {
1652
1620
  u("switchSignIn");
1653
1621
  }
1654
1622
  async function l(t) {
1655
1623
  u("submit", t);
1656
1624
  }
1657
- return (t, r) => (g(), P("div", Tt, [a(oe, {
1658
- size: n.size,
1659
- loading: i.loading,
1625
+ return (t, o) => (g(), P("div", Tt, [s(oe, {
1626
+ size: i.size,
1627
+ loading: a.loading,
1660
1628
  onSubmit: l
1661
- }, null, 8, ["size", "loading"]), a(ue, {
1662
- onSwitchSignIn: o
1629
+ }, null, 8, ["size", "loading"]), s(ue, {
1630
+ onSwitchSignIn: r
1663
1631
  })]));
1664
1632
  }
1665
- }), Bt = /* @__PURE__ */ A(Lt, [["__scopeId", "data-v-058bbbef"]]), Ot = ["src"], Et = /* @__PURE__ */ z({
1633
+ }), Bt = /* @__PURE__ */ I(Lt, [["__scopeId", "data-v-058bbbef"]]), Ot = ["src"], Et = /* @__PURE__ */ k({
1666
1634
  __name: "AuthkitAuthTitle",
1667
1635
  props: {
1668
1636
  size: {
@@ -1681,32 +1649,32 @@ const j = /* @__PURE__ */ z({
1681
1649
  default: 60
1682
1650
  }
1683
1651
  },
1684
- setup(i) {
1685
- const s = i, u = `${s.size}px`, n = `${s.fontSize}px`, o = `${s.lineHeight}px`, {
1652
+ setup(a) {
1653
+ const n = a, u = `${n.size}px`, i = `${n.fontSize}px`, r = `${n.lineHeight}px`, {
1686
1654
  currentView: l
1687
1655
  } = Z(), {
1688
1656
  appsData: t
1689
- } = J(), r = T(() => l.value === "signIn" ? `${t.value.name}登录` : l.value === "signUp" ? `${t.value.name}账号注册` : l.value === "resetPassword" ? `${t.value.name}密码重置` : "");
1657
+ } = J(), o = T(() => l.value === "signIn" ? `${t.value.name}登录` : l.value === "signUp" ? `${t.value.name}账号注册` : l.value === "resetPassword" ? `${t.value.name}密码重置` : "");
1690
1658
  return (y, c) => (g(), P("div", {
1691
1659
  class: "Title",
1692
- style: D({
1693
- fontSize: n,
1694
- lineHeight: o
1660
+ style: j({
1661
+ fontSize: i,
1662
+ lineHeight: r
1695
1663
  })
1696
1664
  }, [e(t).applicationLogoUrl ? (g(), P("img", {
1697
1665
  key: 0,
1698
1666
  src: e(t).applicationLogoUrl,
1699
1667
  srcset: "",
1700
- style: D({
1668
+ style: j({
1701
1669
  width: u
1702
1670
  })
1703
- }, null, 12, Ot)) : k("", !0), w("span", null, B(r.value), 1), se(y.$slots, "default", {}, void 0, !0)], 4));
1671
+ }, null, 12, Ot)) : S("", !0), b("span", null, B(o.value), 1), se(y.$slots, "default", {}, void 0, !0)], 4));
1704
1672
  }
1705
- }), de = /* @__PURE__ */ A(Et, [["__scopeId", "data-v-5576db64"]]), Ft = {
1673
+ }), de = /* @__PURE__ */ I(Et, [["__scopeId", "data-v-5576db64"]]), Nt = {
1706
1674
  class: "Auth"
1707
- }, Nt = {
1675
+ }, Ft = {
1708
1676
  class: "body"
1709
- }, Gt = /* @__PURE__ */ z({
1677
+ }, Gt = /* @__PURE__ */ k({
1710
1678
  __name: "AuthkitAuth",
1711
1679
  props: {
1712
1680
  size: {
@@ -1719,14 +1687,14 @@ const j = /* @__PURE__ */ z({
1719
1687
  }
1720
1688
  },
1721
1689
  emits: ["toPrivacyPolicy", "toUserServiceAgreement"],
1722
- setup(i, {
1723
- emit: s
1690
+ setup(a, {
1691
+ emit: n
1724
1692
  }) {
1725
- const u = i, n = s, {
1726
- signInSubmit: o,
1693
+ const u = a, i = n, {
1694
+ signInSubmit: r,
1727
1695
  signUpSubmit: l,
1728
1696
  resetPasswordSubmit: t,
1729
- currentView: r,
1697
+ currentView: o,
1730
1698
  authSignInLoading: y,
1731
1699
  authSignUpLoading: c,
1732
1700
  resetPasswordLoading: p,
@@ -1734,48 +1702,48 @@ const j = /* @__PURE__ */ z({
1734
1702
  switchResetPassword: f,
1735
1703
  switchSignIn: v
1736
1704
  } = Z(), {
1737
- appsAuthPageInfoApi: b
1705
+ appsAuthPageInfoApi: w
1738
1706
  } = J();
1739
1707
  function $() {
1740
- n("toPrivacyPolicy");
1708
+ i("toPrivacyPolicy");
1741
1709
  }
1742
1710
  function q() {
1743
- n("toUserServiceAgreement");
1711
+ i("toUserServiceAgreement");
1744
1712
  }
1745
- return b(), (R, C) => (g(), P("div", Ft, [i.showTitle ? (g(), _(de, {
1713
+ return w(), (R, C) => (g(), P("div", Nt, [a.showTitle ? (g(), _(de, {
1746
1714
  key: 0,
1747
1715
  size: 32,
1748
1716
  "font-size": 20
1749
- })) : k("", !0), w("div", Nt, [e(r) === "signIn" ? (g(), _(Rt, {
1717
+ })) : S("", !0), b("div", Ft, [e(o) === "signIn" ? (g(), _(Rt, {
1750
1718
  key: 0,
1751
1719
  size: u.size,
1752
1720
  loading: e(y),
1753
1721
  onSwitchSignUp: e(d),
1754
1722
  onSwitchResetPassword: e(f),
1755
- onSubmit: C[0] || (C[0] = (x) => e(o)(x))
1723
+ onSubmit: C[0] || (C[0] = (x) => e(r)(x))
1756
1724
  }, {
1757
- OAuth: m(() => [a(mt, {
1725
+ OAuth: m(() => [s(mt, {
1758
1726
  size: u.size
1759
1727
  }, null, 8, ["size"])]),
1760
1728
  _: 1
1761
- }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(r) === "signUp" ? (g(), _(Bt, {
1729
+ }, 8, ["size", "loading", "onSwitchSignUp", "onSwitchResetPassword"])) : e(o) === "signUp" ? (g(), _(Bt, {
1762
1730
  key: 1,
1763
1731
  size: u.size,
1764
1732
  loading: e(c),
1765
1733
  onSwitchSignIn: e(v),
1766
1734
  onSubmit: C[1] || (C[1] = (x) => e(l)(x))
1767
- }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(r) === "resetPassword" ? (g(), _(bt, {
1735
+ }, null, 8, ["size", "loading", "onSwitchSignIn"])) : e(o) === "resetPassword" ? (g(), _(wt, {
1768
1736
  key: 2,
1769
1737
  size: u.size,
1770
1738
  loading: e(p),
1771
1739
  onSwitchSignIn: e(v),
1772
1740
  onSubmit: C[2] || (C[2] = (x) => e(t)(x))
1773
- }, null, 8, ["size", "loading", "onSwitchSignIn"])) : k("", !0), a(zt, {
1741
+ }, null, 8, ["size", "loading", "onSwitchSignIn"])) : S("", !0), s(kt, {
1774
1742
  onToPrivacyPolicy: $,
1775
1743
  onToUserServiceAgreement: q
1776
1744
  })])]));
1777
1745
  }
1778
- }), Ht = /* @__PURE__ */ A(Gt, [["__scopeId", "data-v-186d2441"]]), Mt = /* @__PURE__ */ z({
1746
+ }), Ht = /* @__PURE__ */ I(Gt, [["__scopeId", "data-v-186d2441"]]), Mt = /* @__PURE__ */ k({
1779
1747
  __name: "AuthkitAuthModal",
1780
1748
  props: {
1781
1749
  size: {
@@ -1788,25 +1756,25 @@ const j = /* @__PURE__ */ z({
1788
1756
  }
1789
1757
  },
1790
1758
  emits: ["confirm", "close", "toPrivacyPolicy", "toUserServiceAgreement"],
1791
- setup(i, {
1792
- emit: s
1759
+ setup(a, {
1760
+ emit: n
1793
1761
  }) {
1794
1762
  const {
1795
1763
  addSignInCallback: u
1796
1764
  } = Z(), {
1797
- show: n
1798
- } = Ve(), o = i, l = s;
1765
+ show: i
1766
+ } = Ie(), r = a, l = n;
1799
1767
  function t(y) {
1800
1768
  y(!0);
1801
1769
  }
1802
- function r() {
1803
- n.value = !1, l("close");
1770
+ function o() {
1771
+ i.value = !1, l("close");
1804
1772
  }
1805
1773
  return u(() => {
1806
- n.value = !1;
1774
+ i.value = !1;
1807
1775
  }), (y, c) => (g(), _(e(le), {
1808
- visible: e(n),
1809
- "onUpdate:visible": c[2] || (c[2] = (p) => ie(n) ? n.value = p : null),
1776
+ visible: e(i),
1777
+ "onUpdate:visible": c[2] || (c[2] = (p) => ie(i) ? i.value = p : null),
1810
1778
  footer: !1,
1811
1779
  "mask-closable": !1,
1812
1780
  "title-align": "center",
@@ -1814,43 +1782,40 @@ const j = /* @__PURE__ */ z({
1814
1782
  width: "auto",
1815
1783
  "modal-class": "SignInModalClass",
1816
1784
  onBeforeOk: t,
1817
- onClose: r
1785
+ onClose: o
1818
1786
  }, {
1819
- title: m(() => [a(de)]),
1820
- default: m(() => [a(Ht, {
1787
+ title: m(() => [s(de)]),
1788
+ default: m(() => [s(Ht, {
1821
1789
  "show-title": !1,
1822
- size: o.size,
1790
+ size: r.size,
1823
1791
  onToPrivacyPolicy: c[0] || (c[0] = (p) => l("toPrivacyPolicy")),
1824
1792
  onToUserServiceAgreement: c[1] || (c[1] = (p) => l("toUserServiceAgreement"))
1825
1793
  }, null, 8, ["size"])]),
1826
1794
  _: 1
1827
1795
  }, 8, ["visible"]));
1828
1796
  }
1829
- }), vi = /* @__PURE__ */ A(Mt, [["__scopeId", "data-v-6fbefff8"]]);
1797
+ }), di = /* @__PURE__ */ I(Mt, [["__scopeId", "data-v-6fbefff8"]]);
1830
1798
  export {
1831
- pi as A,
1799
+ ui as A,
1832
1800
  oe as E,
1833
1801
  mt as O,
1834
1802
  gt as P,
1835
- bt as R,
1803
+ wt as R,
1836
1804
  X as S,
1837
- j as _,
1805
+ D as _,
1838
1806
  Ht as a,
1839
1807
  de as b,
1840
- vi as c,
1808
+ di as c,
1841
1809
  Rt as d,
1842
1810
  Bt as e,
1843
1811
  Vt as f,
1844
1812
  ue as g,
1845
1813
  Ct as h,
1846
- zt as i,
1814
+ kt as i,
1847
1815
  Le as j,
1848
1816
  Y as k,
1849
1817
  Ye as l,
1850
- De as m,
1818
+ je as m,
1851
1819
  Xe as n,
1852
- je as o,
1853
- mi as p,
1854
- ci as q,
1855
- fi as u
1820
+ De as o
1856
1821
  };