@huyooo/ui 0.4.54 → 0.4.55

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.
@@ -2,7 +2,7 @@
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
- import { defineComponent as _, createElementBlock as v, openBlock as l, normalizeStyle as H, normalizeClass as F, createElementVNode as p, computed as D, createBlock as y, createCommentVNode as M, createVNode as i, unref as n, withCtx as a, createTextVNode as m, toDisplayString as C, renderSlot as me, ref as f, Fragment as ke } from "vue";
5
+ import { defineComponent as _, createElementBlock as v, openBlock as l, normalizeStyle as H, normalizeClass as F, createElementVNode as p, computed as D, createBlock as y, createCommentVNode as M, createVNode as i, unref as n, withCtx as a, createTextVNode as k, toDisplayString as C, renderSlot as me, ref as f, Fragment as ke } from "vue";
6
6
  import { Tag as ve, Button as V, Avatar as O, Dropdown as ye, Divider as q, Doption as g } from "@arco-design/web-vue";
7
7
  import { S as ge } from "./PaySubscriptions-B42IdT-5.js";
8
8
  import { R as _e } from "./ReferrerReferees-CvuUodDZ.js";
@@ -61,7 +61,7 @@ const Be = _({
61
61
  };
62
62
  }
63
63
  }), xe = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
64
- function Ue(e, t, o, s, u, k) {
64
+ function Ue(e, t, o, s, u, m) {
65
65
  return l(), v("svg", {
66
66
  viewBox: "0 0 48 48",
67
67
  fill: "none",
@@ -128,7 +128,7 @@ const De = Object.assign(w, {
128
128
  };
129
129
  }
130
130
  }), Pe = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
131
- function we(e, t, o, s, u, k) {
131
+ function we(e, t, o, s, u, m) {
132
132
  return l(), v("svg", {
133
133
  viewBox: "0 0 48 48",
134
134
  fill: "none",
@@ -181,13 +181,13 @@ const Ae = Object.assign(A, {
181
181
  function u() {
182
182
  s("upgradeHandle");
183
183
  }
184
- return (k, r) => (l(), v("div", Re, [p("div", ze, [p("div", Ne, [r[0] || (r[0] = p("span", null, "我的订阅:", -1)), i(n(ve), {
184
+ return (m, r) => (l(), v("div", Re, [p("div", ze, [p("div", Ne, [r[0] || (r[0] = p("span", null, "我的订阅:", -1)), i(n(ve), {
185
185
  color: "arcoblue",
186
186
  style: {
187
187
  "border-radius": "6px"
188
188
  }
189
189
  }, {
190
- default: a(() => [m(C(o.currentVersionName), 1)]),
190
+ default: a(() => [k(C(o.currentVersionName), 1)]),
191
191
  _: 1
192
192
  })]), o.canUpgrade ? (l(), y(n(V), {
193
193
  key: 0,
@@ -196,7 +196,7 @@ const Ae = Object.assign(A, {
196
196
  class: "updatePricing",
197
197
  onClick: u
198
198
  }, {
199
- default: a(() => r[1] || (r[1] = [m(" 升级 ")])),
199
+ default: a(() => r[1] || (r[1] = [k(" 升级 ")])),
200
200
  _: 1,
201
201
  __: [1]
202
202
  })) : M("", !0)]), p("span", null, "有效期至: " + C(o.expireDate), 1)]));
@@ -279,7 +279,7 @@ const Ae = Object.assign(A, {
279
279
  userProfile: s,
280
280
  isLoggedIn: u
281
281
  } = E();
282
- function k() {
282
+ function m() {
283
283
  o("toSignIn");
284
284
  }
285
285
  return (r, $) => n(u) ? (l(), y(n(ye), {
@@ -315,9 +315,9 @@ const Ae = Object.assign(A, {
315
315
  key: 0,
316
316
  type: "primary",
317
317
  class: "handle",
318
- onClick: k
318
+ onClick: m
319
319
  }, {
320
- default: a(() => $[0] || ($[0] = [m(" 登陆 ")])),
320
+ default: a(() => $[0] || ($[0] = [k(" 登陆 ")])),
321
321
  _: 1,
322
322
  __: [0]
323
323
  }));
@@ -326,11 +326,11 @@ const Ae = Object.assign(A, {
326
326
  class: "UserPanel"
327
327
  }, tt = /* @__PURE__ */ _({
328
328
  __name: "UserPanel",
329
- emits: ["toHomePage", "signOut"],
329
+ emits: ["toHomePage", "signOut", "toSignIn"],
330
330
  setup(e, {
331
331
  emit: t
332
332
  }) {
333
- const o = f(), s = f(), u = f(Symbol("key")), k = t, {
333
+ const o = f(), s = f(), u = f(Symbol("key")), m = t, {
334
334
  fetchUserProfile: r,
335
335
  clearUserProfile: $,
336
336
  isLoggedIn: d
@@ -359,7 +359,7 @@ const Ae = Object.assign(A, {
359
359
  U.value = Symbol("key");
360
360
  }
361
361
  function S() {
362
- Z.value = !0;
362
+ Z.value = !0, m("toSignIn");
363
363
  }
364
364
  h(() => {
365
365
  r();
@@ -412,10 +412,10 @@ const Ae = Object.assign(A, {
412
412
  R.value.setData(!0);
413
413
  }
414
414
  function fe() {
415
- k("toHomePage");
415
+ m("toHomePage");
416
416
  }
417
417
  async function pe() {
418
- $(), x(), k("signOut");
418
+ $(), x(), m("signOut");
419
419
  }
420
420
  return (j, c) => (l(), v("div", et, [i(Ze, {
421
421
  onToSignIn: S
@@ -425,7 +425,7 @@ const Ae = Object.assign(A, {
425
425
  class: "Doption",
426
426
  onClick: le
427
427
  }, {
428
- icon: a(() => c[0] || (c[0] = [m("消息中心")])),
428
+ icon: a(() => c[0] || (c[0] = [k("消息中心")])),
429
429
  default: a(() => [i(n(b))]),
430
430
  _: 1
431
431
  }), i(n(g), {
@@ -433,7 +433,7 @@ const Ae = Object.assign(A, {
433
433
  class: "Doption",
434
434
  onClick: ae
435
435
  }, {
436
- icon: a(() => c[1] || (c[1] = [m("系统设置 ")])),
436
+ icon: a(() => c[1] || (c[1] = [k("系统设置 ")])),
437
437
  default: a(() => [i(n(b))]),
438
438
  _: 1
439
439
  }), i(n(g), {
@@ -441,7 +441,7 @@ const Ae = Object.assign(A, {
441
441
  class: "Doption",
442
442
  onClick: ce
443
443
  }, {
444
- icon: a(() => c[2] || (c[2] = [m("订阅信息 ")])),
444
+ icon: a(() => c[2] || (c[2] = [k("订阅信息 ")])),
445
445
  default: a(() => [i(n(b))]),
446
446
  _: 1
447
447
  }), i(n(g), {
@@ -449,7 +449,7 @@ const Ae = Object.assign(A, {
449
449
  class: "Doption",
450
450
  onClick: ue
451
451
  }, {
452
- icon: a(() => c[3] || (c[3] = [m("系统反馈 ")])),
452
+ icon: a(() => c[3] || (c[3] = [k("系统反馈 ")])),
453
453
  default: a(() => [i(n(b))]),
454
454
  _: 1
455
455
  }), i(n(g), {
@@ -457,7 +457,7 @@ const Ae = Object.assign(A, {
457
457
  class: "Doption",
458
458
  onClick: de
459
459
  }, {
460
- icon: a(() => c[4] || (c[4] = [m("邀请 ")])),
460
+ icon: a(() => c[4] || (c[4] = [k("邀请 ")])),
461
461
  default: a(() => [i(n(b))]),
462
462
  _: 1
463
463
  }), i(n(q), {
@@ -469,7 +469,7 @@ const Ae = Object.assign(A, {
469
469
  class: "Doption",
470
470
  onClick: fe
471
471
  }, {
472
- icon: a(() => c[5] || (c[5] = [m("主页 ")])),
472
+ icon: a(() => c[5] || (c[5] = [k("主页 ")])),
473
473
  default: a(() => [i(n(Ae))]),
474
474
  _: 1
475
475
  }), i(n(g), {
@@ -477,7 +477,7 @@ const Ae = Object.assign(A, {
477
477
  class: "Doption",
478
478
  onClick: pe
479
479
  }, {
480
- icon: a(() => c[6] || (c[6] = [m("退出登陆 ")])),
480
+ icon: a(() => c[6] || (c[6] = [k("退出登陆 ")])),
481
481
  default: a(() => [i(n(De))]),
482
482
  _: 1
483
483
  })]),
@@ -520,7 +520,7 @@ const Ae = Object.assign(A, {
520
520
  onCancel: oe
521
521
  }))], 64)) : M("", !0)]));
522
522
  }
523
- }), Ct = /* @__PURE__ */ I(tt, [["__scopeId", "data-v-124c6ca6"]]);
523
+ }), Ct = /* @__PURE__ */ I(tt, [["__scopeId", "data-v-116c9a73"]]);
524
524
  export {
525
525
  je as S,
526
526
  Ct as U,
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 l } from "./CustomTable-JflAYS8i.js";
4
4
  import { I as x } from "./MessageHandle-Dt6rb0rg.js";
5
5
  import { M as d, a as b } from "./Menu-Cxo8Rpu3.js";
6
- import { S as U, b as g, c as I, a as S, U as v } from "./UserPanel-CxvIQbC4.js";
6
+ import { S as U, b as g, c as I, a as S, U as v } from "./UserPanel-BfwmCJ7B.js";
7
7
  import { S as B } from "./PaySubscriptions-B42IdT-5.js";
8
8
  import { R as M } from "./ReferrerReferees-CvuUodDZ.js";
9
9
  import { _ as H } from "./Upload.vue_vue_type_script_setup_true_lang-Bw3IlEUj.js";
@@ -1,7 +1,9 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
+ toSignIn: (...args: any[]) => void;
2
3
  toHomePage: (...args: any[]) => void;
3
4
  signOut: (...args: any[]) => void;
4
5
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
6
+ onToSignIn?: ((...args: any[]) => any) | undefined;
5
7
  onToHomePage?: ((...args: any[]) => any) | undefined;
6
8
  onSignOut?: ((...args: any[]) => any) | undefined;
7
9
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import { C as ds, a as us } from "./CollapseItem-Cw1vcdLu.js";
14
14
  import { C as Ps, G as cs, S as Ls, W as fs } from "./WidthContainer-D795bWdT.js";
15
15
  import { C as ps, E as ms } from "./CustomTable-JflAYS8i.js";
16
16
  import { M as ls, a as bs } from "./Menu-Cxo8Rpu3.js";
17
- import { S as Ms, b as Ss, c as xs, a as Fs, U as Is, S as Us } from "./UserPanel-CxvIQbC4.js";
17
+ import { S as Ms, b as Ss, c as xs, a as Fs, U as Is, S as Us } from "./UserPanel-BfwmCJ7B.js";
18
18
  import { S as Bs, S as Ns } from "./PaySubscriptions-B42IdT-5.js";
19
19
  import { R as ws, R as Ds } from "./ReferrerReferees-CvuUodDZ.js";
20
20
  import { _ as vs } from "./Upload.vue_vue_type_script_setup_true_lang-Bw3IlEUj.js";