@huyooo/ui 0.4.13 → 0.4.16

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.
@@ -8,7 +8,7 @@ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  import { List as w, ListItem as d, ListItemMeta as p, Avatar as c, Button as x } from "@arco-design/web-vue";
11
- import { d as $, o as T } from "./useAuthkitProps-DB04dGw9.js";
11
+ import { d as $, o as T } from "./useAuthkitProps-BM6B7mZP.js";
12
12
  const U = {
13
13
  class: "header"
14
14
  }, B = ["href"], L = {
@@ -2,22 +2,22 @@
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
- import { defineComponent as _, createElementBlock as g, openBlock as l, normalizeStyle as L, normalizeClass as H, createElementVNode as d, computed as P, createBlock as v, createCommentVNode as V, createVNode as r, unref as t, withCtx as s, createTextVNode as f, toDisplayString as I, renderSlot as ye, ref as p } from "vue";
6
- import { Tag as ge, Button as F, Avatar as T, Dropdown as _e, Divider as O, Doption as y } from "@arco-design/web-vue";
7
- import { S as Se } from "./PaySubscriptions-MYoi8Ob_.js";
8
- import { R as be } from "./ReferrerReferees-CFwb0s28.js";
9
- import { a as q, u as Ce, c as $e, b as Ie } from "./useAuthkitProps-DB04dGw9.js";
10
- import { u as he } from "./useUserPanelProps-C5W72fZJ.js";
11
- import { b as xe, a as Pe } from "./AuthkitAppSetting-iL2SVGkm.js";
12
- import { d as Ue } from "./FeedbackModal-QpDXtZBf.js";
13
- import { M as we } from "./MessageHandle-cZ2FXsJ5.js";
5
+ import { defineComponent as _, createElementBlock as y, openBlock as l, normalizeStyle as V, normalizeClass as F, createElementVNode as d, computed as A, createBlock as v, createCommentVNode as O, createVNode as r, unref as t, withCtx as s, createTextVNode as f, toDisplayString as U, renderSlot as Se, ref as p } from "vue";
6
+ import { Tag as be, Button as q, Avatar as E, Dropdown as Ce, Divider as K, Doption as g } from "@arco-design/web-vue";
7
+ import { S as he } from "./PaySubscriptions-MYoi8Ob_.js";
8
+ import { R as $e } from "./ReferrerReferees-CFwb0s28.js";
9
+ import { a as T, u as Ie, c as xe, b as Ue } from "./useAuthkitProps-BM6B7mZP.js";
10
+ import { u as Pe } from "./useUserPanelProps-C5W72fZJ.js";
11
+ import { b as Be, a as Ae } from "./AuthkitAppSetting-MYrqMZAf.js";
12
+ import { d as De } from "./FeedbackModal-QpDXtZBf.js";
13
+ import { M as Me } from "./MessageHandle-cZ2FXsJ5.js";
14
14
  /* empty css */
15
15
  /* empty css */
16
- import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  /* empty css */
18
- import { I as $ } from "./index-Cr5RQSnA.js";
19
- import { _ as E, g as K, i as W } from "./plugin-vue_export-helper-LjDO2Zua.js";
20
- const Be = _({
18
+ import { I as x } from "./index-Cr5RQSnA.js";
19
+ import { _ as W, g as G, i as J } from "./plugin-vue_export-helper-LjDO2Zua.js";
20
+ const we = _({
21
21
  name: "IconExport",
22
22
  props: {
23
23
  size: {
@@ -46,11 +46,11 @@ const Be = _({
46
46
  setup(e, {
47
47
  emit: n
48
48
  }) {
49
- const i = K("icon"), a = P(() => [i, `${i}-export`, {
49
+ const i = G("icon"), a = A(() => [i, `${i}-export`, {
50
50
  [`${i}-spin`]: e.spin
51
- }]), c = P(() => {
51
+ }]), c = A(() => {
52
52
  const o = {};
53
- return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
53
+ return e.size && (o.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
54
54
  });
55
55
  return {
56
56
  cls: a,
@@ -60,31 +60,31 @@ const Be = _({
60
60
  }
61
61
  };
62
62
  }
63
- }), De = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
64
- function Me(e, n, i, a, c, m) {
65
- return l(), g("svg", {
63
+ }), Re = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
64
+ function ze(e, n, i, a, c, m) {
65
+ return l(), y("svg", {
66
66
  viewBox: "0 0 48 48",
67
67
  fill: "none",
68
68
  xmlns: "http://www.w3.org/2000/svg",
69
69
  stroke: "currentColor",
70
- class: H(e.cls),
71
- style: L(e.innerStyle),
70
+ class: F(e.cls),
71
+ style: V(e.innerStyle),
72
72
  "stroke-width": e.strokeWidth,
73
73
  "stroke-linecap": e.strokeLinecap,
74
74
  "stroke-linejoin": e.strokeLinejoin,
75
75
  onClick: n[0] || (n[0] = (...o) => e.onClick && e.onClick(...o))
76
76
  }, n[1] || (n[1] = [d("path", {
77
77
  d: "M31.928 33.072 41 24.002l-9.072-9.072M16.858 24h24M31 41H7V7h24"
78
- }, null, -1)]), 14, De);
78
+ }, null, -1)]), 14, Re);
79
79
  }
80
- var w = /* @__PURE__ */ E(Be, [["render", Me]]);
81
- const Re = Object.assign(w, {
80
+ var M = /* @__PURE__ */ W(we, [["render", ze]]);
81
+ const Ne = Object.assign(M, {
82
82
  install: (e, n) => {
83
83
  var i;
84
84
  const a = (i = n == null ? void 0 : n.iconPrefix) != null ? i : "";
85
- e.component(a + w.name, w);
85
+ e.component(a + M.name, M);
86
86
  }
87
- }), Ae = _({
87
+ }), Le = _({
88
88
  name: "IconLaunch",
89
89
  props: {
90
90
  size: {
@@ -113,11 +113,11 @@ const Re = Object.assign(w, {
113
113
  setup(e, {
114
114
  emit: n
115
115
  }) {
116
- const i = K("icon"), a = P(() => [i, `${i}-launch`, {
116
+ const i = G("icon"), a = A(() => [i, `${i}-launch`, {
117
117
  [`${i}-spin`]: e.spin
118
- }]), c = P(() => {
118
+ }]), c = A(() => {
119
119
  const o = {};
120
- return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
120
+ return e.size && (o.fontSize = J(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
121
121
  });
122
122
  return {
123
123
  cls: a,
@@ -127,37 +127,37 @@ const Re = Object.assign(w, {
127
127
  }
128
128
  };
129
129
  }
130
- }), ze = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
131
- function Ne(e, n, i, a, c, m) {
132
- return l(), g("svg", {
130
+ }), je = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
131
+ function He(e, n, i, a, c, m) {
132
+ return l(), y("svg", {
133
133
  viewBox: "0 0 48 48",
134
134
  fill: "none",
135
135
  stroke: "currentColor",
136
136
  xmlns: "http://www.w3.org/2000/svg",
137
- class: H(e.cls),
138
- style: L(e.innerStyle),
137
+ class: F(e.cls),
138
+ style: V(e.innerStyle),
139
139
  "stroke-width": e.strokeWidth,
140
140
  "stroke-linecap": e.strokeLinecap,
141
141
  "stroke-linejoin": e.strokeLinejoin,
142
142
  onClick: n[0] || (n[0] = (...o) => e.onClick && e.onClick(...o))
143
143
  }, n[1] || (n[1] = [d("path", {
144
144
  d: "M41 26v14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h14M19.822 28.178 39.899 8.1M41 20V7H28"
145
- }, null, -1)]), 14, ze);
145
+ }, null, -1)]), 14, je);
146
146
  }
147
- var B = /* @__PURE__ */ E(Ae, [["render", Ne]]);
148
- const je = Object.assign(B, {
147
+ var w = /* @__PURE__ */ W(Le, [["render", He]]);
148
+ const Ve = Object.assign(w, {
149
149
  install: (e, n) => {
150
150
  var i;
151
151
  const a = (i = n == null ? void 0 : n.iconPrefix) != null ? i : "";
152
- e.component(a + B.name, B);
152
+ e.component(a + w.name, w);
153
153
  }
154
- }), Le = {
154
+ }), Fe = {
155
155
  class: "pricing"
156
- }, He = {
156
+ }, Oe = {
157
157
  class: "base"
158
- }, Ve = {
158
+ }, qe = {
159
159
  class: "pricingInfo"
160
- }, Fe = /* @__PURE__ */ _({
160
+ }, Ee = /* @__PURE__ */ _({
161
161
  __name: "UserSubscriptionBaseInformation",
162
162
  props: {
163
163
  currentVersionName: {
@@ -181,15 +181,15 @@ const je = Object.assign(B, {
181
181
  function c() {
182
182
  a("upgradeHandle");
183
183
  }
184
- return (m, o) => (l(), g("div", Le, [d("div", He, [d("div", Ve, [o[0] || (o[0] = d("span", null, "我的订阅:", -1)), r(t(ge), {
184
+ return (m, o) => (l(), y("div", Fe, [d("div", Oe, [d("div", qe, [o[0] || (o[0] = d("span", null, "我的订阅:", -1)), r(t(be), {
185
185
  color: "arcoblue",
186
186
  style: {
187
187
  "border-radius": "6px"
188
188
  }
189
189
  }, {
190
- default: s(() => [f(I(i.currentVersionName), 1)]),
190
+ default: s(() => [f(U(i.currentVersionName), 1)]),
191
191
  _: 1
192
- })]), i.canUpgrade ? (l(), v(t(F), {
192
+ })]), i.canUpgrade ? (l(), v(t(q), {
193
193
  key: 0,
194
194
  type: "primary",
195
195
  size: "mini",
@@ -199,14 +199,14 @@ const je = Object.assign(B, {
199
199
  default: s(() => o[1] || (o[1] = [f(" 升级 ")])),
200
200
  _: 1,
201
201
  __: [1]
202
- })) : V("", !0)]), d("span", null, "有效期至: " + I(i.expireDate), 1)]));
202
+ })) : O("", !0)]), d("span", null, "有效期至: " + U(i.expireDate), 1)]));
203
203
  }
204
- }), Te = /* @__PURE__ */ h(Fe, [["__scopeId", "data-v-1e32fa72"]]), Oe = {
204
+ }), Ke = /* @__PURE__ */ P(Ee, [["__scopeId", "data-v-1e32fa72"]]), Te = {
205
205
  class: "userInfo"
206
- }, qe = {
206
+ }, We = {
207
207
  key: 0,
208
208
  class: "userName"
209
- }, Ee = /* @__PURE__ */ _({
209
+ }, Ge = /* @__PURE__ */ _({
210
210
  __name: "UserAvatar",
211
211
  props: {
212
212
  nickname: {
@@ -220,21 +220,21 @@ const je = Object.assign(B, {
220
220
  },
221
221
  setup(e) {
222
222
  const n = e;
223
- return (i, a) => (l(), g("div", Oe, [n.nickname ? (l(), g("span", qe, I(n.nickname), 1)) : V("", !0), r(t(T), {
223
+ return (i, a) => (l(), y("div", Te, [n.nickname ? (l(), y("span", We, U(n.nickname), 1)) : O("", !0), r(t(E), {
224
224
  "image-url": n.avatar,
225
225
  size: 32,
226
226
  "object-fit": "cover"
227
227
  }, null, 8, ["image-url"])]));
228
228
  }
229
- }), Ke = /* @__PURE__ */ h(Ee, [["__scopeId", "data-v-a7a47cc4"]]), We = {
229
+ }), Je = /* @__PURE__ */ P(Ge, [["__scopeId", "data-v-a7a47cc4"]]), Qe = {
230
230
  class: "userInfo"
231
- }, Ge = {
231
+ }, Xe = {
232
232
  class: "extra"
233
- }, Je = {
233
+ }, Ye = {
234
234
  class: "userName"
235
- }, Qe = {
235
+ }, Ze = {
236
236
  class: "email"
237
- }, Xe = /* @__PURE__ */ _({
237
+ }, et = /* @__PURE__ */ _({
238
238
  __name: "UserBasicInformation",
239
239
  props: {
240
240
  nickname: {
@@ -252,70 +252,71 @@ const je = Object.assign(B, {
252
252
  },
253
253
  setup(e) {
254
254
  const n = e;
255
- return (i, a) => (l(), g("div", We, [r(t(T), {
255
+ return (i, a) => (l(), y("div", Qe, [r(t(E), {
256
256
  "image-url": n.avatarUrl,
257
257
  size: 42,
258
258
  "object-fit": "cover"
259
- }, null, 8, ["image-url"]), d("div", Ge, [d("span", Je, I(n.nickname), 1), d("span", Qe, I(n.email), 1)])]));
259
+ }, null, 8, ["image-url"]), d("div", Xe, [d("span", Ye, U(n.nickname), 1), d("span", Ze, U(n.email), 1)])]));
260
260
  }
261
- }), Ye = /* @__PURE__ */ h(Xe, [["__scopeId", "data-v-611a1dda"]]), Ze = {
261
+ }), tt = /* @__PURE__ */ P(et, [["__scopeId", "data-v-611a1dda"]]), nt = {
262
262
  class: "dropdownContent"
263
- }, et = {
263
+ }, ot = {
264
264
  class: "header"
265
- }, tt = /* @__PURE__ */ _({
265
+ }, it = /* @__PURE__ */ _({
266
266
  __name: "UserButton",
267
267
  emits: ["enterSystem", "toSignIn"],
268
268
  setup(e, {
269
269
  emit: n
270
270
  }) {
271
271
  const i = n, {
272
- userProfile: a
273
- } = q();
274
- function c() {
272
+ userProfile: a,
273
+ isLoggedIn: c
274
+ } = T();
275
+ function m() {
275
276
  i("toSignIn");
276
277
  }
277
- return (m, o) => t(a) ? (l(), v(t(_e), {
278
+ return (o, b) => t(c) ? (l(), v(t(Ce), {
278
279
  key: 1,
279
280
  class: "DropdownUserInfo",
280
281
  position: "bl"
281
282
  }, {
282
283
  content: s(() => {
283
- var k, S, b;
284
- return [d("div", Ze, [d("div", et, [r(Ye, {
284
+ var k, C, h;
285
+ return [d("div", nt, [d("div", ot, [r(tt, {
285
286
  "avatar-url": (k = t(a)) == null ? void 0 : k.avatarUrl,
286
- nickname: (S = t(a)) == null ? void 0 : S.nickname,
287
- email: (b = t(a)) == null ? void 0 : b.email
288
- }, null, 8, ["avatar-url", "nickname", "email"]), r(Te, {
287
+ nickname: (C = t(a)) == null ? void 0 : C.nickname,
288
+ email: (h = t(a)) == null ? void 0 : h.email
289
+ }, null, 8, ["avatar-url", "nickname", "email"]), r(Ke, {
289
290
  currentVersionName: "免费版本",
290
291
  "expire-date": "2025-01-01",
291
292
  "can-upgrade": !0
292
- })]), r(t(O), {
293
+ })]), r(t(K), {
293
294
  style: {
294
295
  margin: "10px 0px"
295
296
  }
296
- }), ye(m.$slots, "DoptionList", {}, void 0, !0)])];
297
+ }), Se(o.$slots, "DoptionList", {}, void 0, !0)])];
297
298
  }),
298
299
  default: s(() => {
299
300
  var k;
300
- return [r(Ke, {
301
+ return [r(Je, {
301
302
  avatar: (k = t(a)) == null ? void 0 : k.avatarUrl
302
303
  }, null, 8, ["avatar"])];
303
304
  }),
304
305
  _: 3
305
- })) : (l(), v(t(F), {
306
+ })) : (l(), v(t(q), {
306
307
  key: 0,
307
308
  type: "primary",
308
309
  class: "handle",
309
- onClick: c
310
+ onClick: m
310
311
  }, {
311
- default: s(() => o[0] || (o[0] = [f(" 登陆 ")])),
312
+ default: s(() => b[0] || (b[0] = [f(" 登陆 ")])),
312
313
  _: 1,
313
314
  __: [0]
314
315
  }));
315
316
  }
316
- }), nt = /* @__PURE__ */ h(tt, [["__scopeId", "data-v-8f2cb031"]]), ot = {
317
+ }), rt = /* @__PURE__ */ P(it, [["__scopeId", "data-v-320eb42e"]]), at = {
317
318
  class: "UserPanel"
318
- }, it = /* @__PURE__ */ _({
319
+ }, st = /* @__PURE__ */ _({
319
320
  __name: "UserPanel",
320
321
  emits: ["toHomePage", "signOut"],
321
322
  setup(e, {
@@ -323,188 +324,211 @@ const je = Object.assign(B, {
323
324
  }) {
324
325
  const i = p(), a = p(), c = p(Symbol("key")), m = n, {
325
326
  prefixUrl: o,
326
- bucketId: k,
327
- bucket: S,
328
- region: b,
329
- appId: D
330
- } = he(), {
331
- fetchUserProfile: M,
332
- userProfile: G
333
- } = q(), {
334
- addSignInCallback: J
335
- } = Ce();
336
- localStorage.getItem("jwtToken") && M();
337
- const R = p(), A = p(Symbol("key")), z = p(), N = p(), Q = p(Symbol("key")), X = p(), Y = p(Symbol("key"));
338
- function Z(j) {
339
- }
340
- function ee(j) {
341
- }
342
- const C = $e(), {
343
- show: te
327
+ bucketId: b,
328
+ bucket: k,
329
+ region: C,
330
+ appId: h
331
+ } = Pe(), {
332
+ fetchUserProfile: R,
333
+ clearUserProfile: Q,
334
+ isLoggedIn: $
335
+ } = T(), {
336
+ addSignInCallback: X,
337
+ initializeAuth: Y,
338
+ clearAuth: Z
344
339
  } = Ie();
345
- C.appId.value = D.value, C.prefixUrl.value = o.value, C.bucketId.value = k.value, C.bucket.value = S.value, C.region.value = b.value;
346
- function ne() {
347
- A.value = Symbol("key");
340
+ Y() && R();
341
+ const z = p(), N = p(Symbol("key")), L = p(), j = p(), ee = p(Symbol("key")), te = p(), ne = p(Symbol("key"));
342
+ function oe(H) {
348
343
  }
349
- const U = p(), x = p(Symbol("key"));
350
- function oe() {
351
- x.value = Symbol("key");
344
+ function ie(H) {
352
345
  }
353
- function ie() {
354
- x.value = Symbol("key");
355
- }
356
- function re() {
357
- te.value = !0;
358
- }
359
- J(() => {
360
- M();
361
- });
346
+ const I = xe(), {
347
+ show: re
348
+ } = Ue();
349
+ I.appId.value = h.value, I.prefixUrl.value = o.value, I.bucketId.value = b.value, I.bucket.value = k.value, I.region.value = C.value;
362
350
  function ae() {
363
- c.value = Symbol("key");
351
+ N.value = Symbol("key");
364
352
  }
353
+ const D = p(), B = p(Symbol("key"));
365
354
  function se() {
366
- a.value.show = !1;
355
+ B.value = Symbol("key");
367
356
  }
368
357
  function le() {
369
- x.value = Symbol("key");
358
+ B.value = Symbol("key");
359
+ }
360
+ function S() {
361
+ re.value = !0;
370
362
  }
363
+ X(() => {
364
+ R();
365
+ });
371
366
  function ue() {
372
- U.value.setData(null, !0);
367
+ c.value = Symbol("key");
373
368
  }
374
369
  function ce() {
375
- U.value.setData(null, !0);
370
+ a.value.show = !1;
376
371
  }
377
372
  function pe() {
378
- z.value.openNotification();
373
+ B.value = Symbol("key");
379
374
  }
380
375
  function de() {
381
- N.value.setData(null, !0);
376
+ D.value.setData(null, !0);
382
377
  }
383
378
  function fe() {
384
- i.value.setData(!0);
379
+ if (!$.value) {
380
+ S();
381
+ return;
382
+ }
383
+ D.value.setData(null, !0);
385
384
  }
386
385
  function me() {
387
- R.value.setData(!0);
386
+ if (!$.value) {
387
+ S();
388
+ return;
389
+ }
390
+ L.value.openNotification();
388
391
  }
389
392
  function ke() {
393
+ if (!$.value) {
394
+ S();
395
+ return;
396
+ }
397
+ j.value.setData(null, !0);
398
+ }
399
+ function ve() {
400
+ if (!$.value) {
401
+ S();
402
+ return;
403
+ }
404
+ i.value.setData(!0);
405
+ }
406
+ function ge() {
407
+ if (!$.value) {
408
+ S();
409
+ return;
410
+ }
411
+ z.value.setData(!0);
412
+ }
413
+ function ye() {
390
414
  m("toHomePage");
391
415
  }
392
- async function ve() {
393
- G.value = null, localStorage.removeItem("jwtToken"), m("signOut");
416
+ async function _e() {
417
+ Q(), Z(), m("signOut");
394
418
  }
395
- return (j, u) => (l(), g("div", ot, [r(nt, {
396
- onToSignIn: re
419
+ return (H, u) => (l(), y("div", at, [r(rt, {
420
+ onToSignIn: S
397
421
  }, {
398
- DoptionList: s(() => [r(t(y), {
422
+ DoptionList: s(() => [r(t(g), {
399
423
  value: "messages",
400
424
  class: "Doption",
401
- onClick: pe
425
+ onClick: me
402
426
  }, {
403
427
  icon: s(() => u[0] || (u[0] = [f("消息中心")])),
404
- default: s(() => [r(t($))]),
428
+ default: s(() => [r(t(x))]),
405
429
  _: 1
406
- }), r(t(y), {
430
+ }), r(t(g), {
407
431
  value: "setting",
408
432
  class: "Doption",
409
- onClick: ce
433
+ onClick: fe
410
434
  }, {
411
435
  icon: s(() => u[1] || (u[1] = [f("系统设置 ")])),
412
- default: s(() => [r(t($))]),
436
+ default: s(() => [r(t(x))]),
413
437
  _: 1
414
- }), r(t(y), {
438
+ }), r(t(g), {
415
439
  value: "subscription",
416
440
  class: "Doption",
417
- onClick: de
441
+ onClick: ke
418
442
  }, {
419
443
  icon: s(() => u[2] || (u[2] = [f("订阅信息 ")])),
420
- default: s(() => [r(t($))]),
444
+ default: s(() => [r(t(x))]),
421
445
  _: 1
422
- }), r(t(y), {
446
+ }), r(t(g), {
423
447
  value: "feedBack",
424
448
  class: "Doption",
425
- onClick: fe
449
+ onClick: ve
426
450
  }, {
427
451
  icon: s(() => u[3] || (u[3] = [f("系统反馈 ")])),
428
- default: s(() => [r(t($))]),
452
+ default: s(() => [r(t(x))]),
429
453
  _: 1
430
- }), r(t(y), {
454
+ }), r(t(g), {
431
455
  value: "invitations",
432
456
  class: "Doption",
433
- onClick: me
457
+ onClick: ge
434
458
  }, {
435
459
  icon: s(() => u[4] || (u[4] = [f("邀请 ")])),
436
- default: s(() => [r(t($))]),
460
+ default: s(() => [r(t(x))]),
437
461
  _: 1
438
- }), r(t(O), {
462
+ }), r(t(K), {
439
463
  style: {
440
464
  margin: "10px 0px"
441
465
  }
442
- }), r(t(y), {
466
+ }), r(t(g), {
443
467
  value: "homePage",
444
468
  class: "Doption",
445
- onClick: ke
469
+ onClick: ye
446
470
  }, {
447
471
  icon: s(() => u[5] || (u[5] = [f("主页 ")])),
448
- default: s(() => [r(t(je))]),
472
+ default: s(() => [r(t(Ve))]),
449
473
  _: 1
450
- }), r(t(y), {
474
+ }), r(t(g), {
451
475
  value: "signOut",
452
476
  class: "Doption",
453
- onClick: ve
477
+ onClick: _e
454
478
  }, {
455
479
  icon: s(() => u[6] || (u[6] = [f("退出登陆 ")])),
456
- default: s(() => [r(t(Re))]),
480
+ default: s(() => [r(t(Ne))]),
457
481
  _: 1
458
482
  })]),
459
483
  _: 1
460
- }), (l(), v(xe, {
484
+ }), (l(), v(Be, {
461
485
  ref_key: "AppSettingRef",
462
- ref: U,
463
- key: x.value,
464
- onConfirm: ue,
465
- onCancel: le
466
- })), (l(), v(be, {
486
+ ref: D,
487
+ key: B.value,
488
+ onConfirm: de,
489
+ onCancel: pe
490
+ })), (l(), v($e, {
467
491
  ref_key: "RefereesRef",
468
- ref: R,
469
- key: A.value,
492
+ ref: z,
493
+ key: N.value,
470
494
  "prefix-url": t(o),
471
- onCancel: ne
472
- }, null, 8, ["prefix-url"])), (l(), v(Se, {
495
+ onCancel: ae
496
+ }, null, 8, ["prefix-url"])), (l(), v(he, {
473
497
  ref_key: "SubscriptionsRef",
474
- ref: N,
475
- key: Q.value,
498
+ ref: j,
499
+ key: ee.value,
476
500
  title: "订阅详情",
477
- onConfirm: oe,
478
- onCancel: ie
479
- })), (l(), v(Pe, {
501
+ onConfirm: se,
502
+ onCancel: le
503
+ })), (l(), v(Ae, {
480
504
  ref_key: "AuthModalRef",
481
- ref: X,
482
- key: Y.value,
505
+ ref: te,
506
+ key: ne.value,
483
507
  size: "large",
484
- onToPrivacyPolicy: Z,
485
- onToUserServiceAgreement: ee
486
- })), r(we, {
508
+ onToPrivacyPolicy: oe,
509
+ onToUserServiceAgreement: ie
510
+ })), r(Me, {
487
511
  ref_key: "MessageHandleRef",
488
- ref: z,
512
+ ref: L,
489
513
  "prefix-url": t(o)
490
- }, null, 8, ["prefix-url"]), (l(), v(Ue, {
514
+ }, null, 8, ["prefix-url"]), (l(), v(De, {
491
515
  ref_key: "FeedBackModalRef",
492
516
  ref: i,
493
517
  key: c.value,
494
- "app-id": t(D),
518
+ "app-id": t(h),
495
519
  "prefix-url": t(o),
496
- "bucket-id": t(k),
497
- bucket: t(S),
498
- region: t(b),
499
- onConfirm: se,
500
- onCancel: ae
520
+ "bucket-id": t(b),
521
+ bucket: t(k),
522
+ region: t(C),
523
+ onConfirm: ce,
524
+ onCancel: ue
501
525
  }, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))]));
502
526
  }
503
- }), ht = /* @__PURE__ */ h(it, [["__scopeId", "data-v-717262cd"]]);
527
+ }), Ut = /* @__PURE__ */ P(st, [["__scopeId", "data-v-6036a087"]]);
504
528
  export {
505
- Te as S,
506
- ht as U,
507
- nt as a,
508
- Ke as b,
509
- Ye as c
529
+ Ke as S,
530
+ Ut as U,
531
+ rt as a,
532
+ Je as b,
533
+ tt as c
510
534
  };
package/dist/authkit.js CHANGED
@@ -1,6 +1,6 @@
1
- import { b as s, A as a, a as u, c as A, n as h, E as e, k, l as r, _ as o, O as n, f as d, o as p, P, j as f, R as m, S, i as g, m as l, d as U, e as w, g as c, h as I } from "./AuthkitAppSetting-iL2SVGkm.js";
2
- import { A as y, a as E } from "./AuthkitAuthorize-CLG8uEWI.js";
3
- import { U as b, u as C, b as R, c as V, a as v } from "./useAuthkitProps-DB04dGw9.js";
1
+ import { b as s, A as a, a as u, c as A, n as h, E as e, k, l as r, _ as o, O as n, f as d, o as p, P, j as f, R as m, S, i as g, m as l, d as U, e as w, g as c, h as I } from "./AuthkitAppSetting-MYrqMZAf.js";
2
+ import { A as y, a as E } from "./AuthkitAuthorize-CCSa1q9E.js";
3
+ import { U as b, u as C, b as R, c as V, a as v } from "./useAuthkitProps-BM6B7mZP.js";
4
4
  import { u as M } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
5
5
  export {
6
6
  s as AuthkitAppSetting,
package/dist/common.js CHANGED
@@ -3,7 +3,7 @@ import { C as t, G as n, S as p, W as m } from "./WidthContainer-D795bWdT.js";
3
3
  import { C as i, E as u } from "./CustomTable-DbiCOvmO.js";
4
4
  import { I as x } from "./InfiniteLoading-BOurBPUR.js";
5
5
  import { M as d, a as U } from "./Menu-MZJINp6f.js";
6
- import { S as I, b, c as S, a as g, U as v } from "./UserPanel-CsWfMpZO.js";
6
+ import { S as I, b, c as S, a as g, U as v } from "./UserPanel-CvWoQ9nn.js";
7
7
  import { S as B } from "./PaySubscriptions-MYoi8Ob_.js";
8
8
  import { R as P } from "./ReferrerReferees-CFwb0s28.js";
9
9
  import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-uy8hhi_o.js";