@huyooo/ui 0.16.0 → 0.17.1

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 (52) hide show
  1. package/dist/{AuthkitAppSetting-v80fEiq0.js → AuthkitAppSetting-jfSU-9BO.js} +655 -646
  2. package/dist/{AuthkitGithubBinding-CVhCM6AX.js → AuthkitGithubBinding-Co5Z_cD0.js} +260 -255
  3. package/dist/{Clipboard-R3AURqvU.js → Clipboard-Bo7gdpR6.js} +1 -1
  4. package/dist/{Contact-B3AMSHoN.js → Contact-B09Z0y_t.js} +2 -2
  5. package/dist/{FeedbackModal.vue_vue_type_script_setup_true_lang-CAGBbiZD.js → FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js} +3 -3
  6. package/dist/{MessageHandle-BMhGWVHD.js → MessageHandle-BG12aX0i.js} +2 -2
  7. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-ByB_YaVb.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-gsjL6yAe.js} +2 -2
  8. package/dist/{PaySubscriptions-D3g1OhiA.js → PaySubscriptions-BFq89DCI.js} +4 -4
  9. package/dist/{PricingPlans-DXea7rl0.js → PricingPlans-TZT6j_Jq.js} +4 -4
  10. package/dist/{ReferrerReferees-BxmZ1w_L.js → ReferrerReferees-jWOIvXrk.js} +18 -18
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CXr8D4VG.js → Upload.vue_vue_type_script_setup_true_lang-B6NOZjK0.js} +1 -1
  12. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-6xQNhFk3.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BVtXbwch.js} +57 -57
  13. package/dist/{WidthContainer-DVZQV6sM.js → WidthContainer-Ct44rKyS.js} +9 -9
  14. package/dist/{apiClients-DT7o0IpO.js → apiClients-DrGX2iJy.js} +81 -78
  15. package/dist/authkit.js +9 -9
  16. package/dist/common/authPanelWidth.d.ts +2 -0
  17. package/dist/common.js +1 -1
  18. package/dist/components/UserMenu/parts/UserBasicInformation.vue.d.ts +2 -2
  19. package/dist/composables/Authkit/readInviteCodeFromLocation.d.ts +2 -0
  20. package/dist/composables/Authkit/useAuthkitAuth.d.ts +1 -1
  21. package/dist/composables/Authkit/useOauth.d.ts +5 -9
  22. package/dist/composables.js +13 -13
  23. package/dist/feedback.js +2 -2
  24. package/dist/main.js +29 -29
  25. package/dist/message.js +3 -3
  26. package/dist/pay.js +4 -4
  27. package/dist/privateCom.js +1 -1
  28. package/dist/referrer.js +1 -1
  29. package/dist/style.css +1 -1
  30. package/dist/types/api/ai.generated.d.ts +764 -94
  31. package/dist/types/api/auth.generated.d.ts +24 -20
  32. package/dist/types/api/billing.generated.d.ts +206 -514
  33. package/dist/types/api/ones.generated.d.ts +4 -0
  34. package/dist/types/api.d.ts +1 -1
  35. package/dist/types/user.d.ts +1 -1
  36. package/dist/upload.js +2 -2
  37. package/dist/{useAuthkitAppsAuthPageInfo-DScDQfj5.js → useAuthkitAppsAuthPageInfo-DWd0bDP-.js} +1 -1
  38. package/dist/{useAuthkitAuth-DpdKRuJm.js → useAuthkitAuth-DmS-H7M2.js} +60 -53
  39. package/dist/{useAuthkitCreateAndUpdate-MzA4qtTh.js → useAuthkitCreateAndUpdate-oo9517Gj.js} +1 -1
  40. package/dist/{useAuthkitUsersProfile-aw_A7IWb.js → useAuthkitUsersProfile-BZDk21c8.js} +2 -2
  41. package/dist/{useBillingStatusOptions-CAsu1hrf.js → useBillingStatusOptions-B7xLU3fs.js} +1 -1
  42. package/dist/{useEnsureAuthenticated-BEKhtQAl.js → useEnsureAuthenticated-BuIbxqsO.js} +2 -2
  43. package/dist/{useLegalLinks-BijRF_ZD.js → useLegalLinks--qFGF7lO.js} +2 -2
  44. package/dist/{useMessageNotifications-CFku0c2R.js → useMessageNotifications-D85_-mDq.js} +1 -1
  45. package/dist/{useRoutePermission-v4_0B-aO.js → useRoutePermission-chEi45Nb.js} +2 -2
  46. package/dist/{useSEO-CbHCw4gq.js → useSEO-C6DLicfe.js} +1 -1
  47. package/dist/{useSubscriptionCheckout-BjPiHSjA.js → useSubscriptionCheckout-BRk5h9aC.js} +3 -3
  48. package/dist/{useTableHandle-TDJa_Czn.js → useTableHandle-BdujaiNX.js} +1 -1
  49. package/dist/{useUploadCos-DOHnz2MP.js → useUploadCos-BRKRzSy3.js} +1 -1
  50. package/dist/user.js +1 -1
  51. package/dist/utils/apiMiddlewares.d.ts +4 -4
  52. package/package.json +2 -1
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import "./apiClients-DT7o0IpO.js";
2
+ import "./apiClients-DrGX2iJy.js";
3
3
  import { defineComponent as X, ref as J, openBlock as K, createBlock as Q, unref as W } from "vue";
4
4
  import { Message as Z } from "@arco-design/web-vue";
5
5
  import { Icon as $ } from "@iconify/vue";
@@ -2,8 +2,8 @@ import { defineComponent as P, ref as q, openBlock as Q, createElementBlock as t
2
2
  import { e as n, d as y, g as G, f as R, L as Z, c as h, j as b, k as J, i as S, a as O, b as d } from "./LandingPageLinkGroup-DDNRivMt.js";
3
3
  import { L as Y } from "./LandingPageSectionHeader-D_74W4My.js";
4
4
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { u as M } from "./useAuthkitAppsAuthPageInfo-DScDQfj5.js";
6
- import { g as L } from "./apiClients-DT7o0IpO.js";
5
+ import { u as M } from "./useAuthkitAppsAuthPageInfo-DWd0bDP-.js";
6
+ import { g as L } from "./apiClients-DrGX2iJy.js";
7
7
  import { c as x } from "./index-D56hUMeD.js";
8
8
  const j = {
9
9
  class: "Footer"
@@ -8,14 +8,14 @@ import { M as st } from "./Menu-Cy2ZPeaz.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
- import { g as ye, o as j } from "./apiClients-DT7o0IpO.js";
11
+ import { g as ye, o as j } from "./apiClients-DrGX2iJy.js";
12
12
  /* empty css */
13
- import { g as nt, u as lt } from "./useUploadCos-DOHnz2MP.js";
13
+ import { g as nt, u as lt } from "./useUploadCos-BRKRzSy3.js";
14
14
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  import { M as it } from "./MessageList-CrCF8mU6.js";
16
16
  import { f as Y } from "./index-D56hUMeD.js";
17
17
  import { Bubble as he, Sender as rt } from "ant-design-x-vue";
18
- import { C as re } from "./Clipboard-R3AURqvU.js";
18
+ import { C as re } from "./Clipboard-Bo7gdpR6.js";
19
19
  import { Icon as ot } from "@iconify/vue";
20
20
  import { _ as ut, g as ct, i as dt } from "./plugin-vue_export-helper-LjDO2Zua.js";
21
21
  const vt = D({
@@ -5,11 +5,11 @@ import { U as ee } from "./index-D3Kp6R4z.js";
5
5
  /* empty css */
6
6
  import { M as q } from "./MessageList-CrCF8mU6.js";
7
7
  import { Spin as te, Breadcrumb as K, BreadcrumbItem as I, Tag as D, Modal as ae } from "@arco-design/web-vue";
8
- import { o as x } from "./apiClients-DT7o0IpO.js";
8
+ import { o as x } from "./apiClients-DrGX2iJy.js";
9
9
  import { TiptapEditor as se, TiptapTitle as ne } from "@huyooo/vue-tiptap";
10
10
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  import { Icon as le } from "@iconify/vue";
12
- import { u as ie } from "./useAuthkitCreateAndUpdate-MzA4qtTh.js";
12
+ import { u as ie } from "./useAuthkitCreateAndUpdate-oo9517Gj.js";
13
13
  import { M as oe } from "./Menu-Cy2ZPeaz.js";
14
14
  function J(h, u = {}) {
15
15
  const {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as f, ref as p, openBlock as t, createElementBlock as i, normalizeClass as K, createBlock as d, unref as S, createCommentVNode as v, createElementVNode as _, toDisplayString as A, Fragment as h, renderList as N } from "vue";
2
2
  import { Icon as D } from "@iconify/vue";
3
3
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { o as $ } from "./apiClients-DT7o0IpO.js";
5
- import { D as x } from "./MessageHandle-BMhGWVHD.js";
4
+ import { o as $ } from "./apiClients-DrGX2iJy.js";
5
+ import { D as x } from "./MessageHandle-BG12aX0i.js";
6
6
  const b = /* @__PURE__ */ f({
7
7
  __name: "MessageMenuItem",
8
8
  props: {
@@ -6,13 +6,13 @@
6
6
  import { U as Ct } from "./index-D3Kp6R4z.js";
7
7
  /* empty css */
8
8
  /* empty css */
9
- import { h as B, g as X } from "./apiClients-DT7o0IpO.js";
9
+ import { h as B, g as X } from "./apiClients-DrGX2iJy.js";
10
10
  import { ref as g, computed as A, onUnmounted as Ae, defineComponent as It, openBlock as l, createElementBlock as u, Fragment as te, createVNode as r, unref as n, isRef as xt, withCtx as s, createElementVNode as a, toDisplayString as o, createBlock as q, createTextVNode as v, createCommentVNode as z, renderList as Ne, normalizeClass as Oe } from "vue";
11
11
  import { Message as S, Modal as We, Button as k, Popconfirm as ae, Tabs as Nt, TabPane as ne, Spin as me, Empty as Te, Progress as Ot, Tag as Q, Tooltip as Wt } from "@arco-design/web-vue";
12
- import { u as Tt, b as zt, a as At } from "./useBillingStatusOptions-CAsu1hrf.js";
13
- import { u as Et } from "./useAuthkitCreateAndUpdate-MzA4qtTh.js";
12
+ import { u as Tt, b as zt, a as At } from "./useBillingStatusOptions-B7xLU3fs.js";
13
+ import { u as Et } from "./useAuthkitCreateAndUpdate-oo9517Gj.js";
14
14
  import { C as fe } from "./CustomTable-BT-cnhLR.js";
15
- import { C as Lt } from "./Clipboard-R3AURqvU.js";
15
+ import { C as Lt } from "./Clipboard-Bo7gdpR6.js";
16
16
  import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  function ze() {
18
18
  return {
@@ -1,17 +1,17 @@
1
1
  /* empty css */
2
2
  import "./index-D3Kp6R4z.js";
3
- import "./apiClients-DT7o0IpO.js";
3
+ import "./apiClients-DrGX2iJy.js";
4
4
  /* empty css */
5
5
  import { defineComponent as z, computed as k, onMounted as te, onUnmounted as Pe, openBlock as t, createElementBlock as s, createElementVNode as i, unref as e, createBlock as H, toDisplayString as r, createVNode as v, withCtx as b, createTextVNode as L, resolveDirective as me, withDirectives as fe, normalizeClass as B, Fragment as I, renderList as w, createCommentVNode as p } from "vue";
6
6
  import { Spin as ne, Button as R, Message as Z } from "@arco-design/web-vue";
7
7
  import { useRoute as pe, useRouter as ve } from "vue-router";
8
- import { b as ye } from "./PaySubscriptions-D3g1OhiA.js";
8
+ import { b as ye } from "./PaySubscriptions-BFq89DCI.js";
9
9
  import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { L as he, a as ke } from "./LandingPageFAQ-CZJXvor9.js";
11
11
  import { L as be } from "./LandingPageSectionHeader-D_74W4My.js";
12
12
  import { Icon as ee } from "@iconify/vue";
13
- import { u as Te, a as Ie } from "./useSubscriptionCheckout-BjPiHSjA.js";
14
- import { u as we } from "./useEnsureAuthenticated-BEKhtQAl.js";
13
+ import { u as Te, a as Ie } from "./useSubscriptionCheckout-BRk5h9aC.js";
14
+ import { u as we } from "./useEnsureAuthenticated-BuIbxqsO.js";
15
15
  const pt = "/Pay/Return";
16
16
  function V(a) {
17
17
  const u = typeof a.scene == "string" ? a.scene : null, l = typeof a.orderId == "string" ? a.orderId : null, c = typeof a.returnTo == "string" ? a.returnTo.trim() : null, _ = c != null && c.startsWith("/") && !c.startsWith("//") ? c : null;
@@ -1,13 +1,13 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  import { U as P } from "./index-D3Kp6R4z.js";
4
- import { defineComponent as w, ref as d, openBlock as p, createBlock as v, unref as a, withCtx as g, createElementVNode as n, toDisplayString as _, createCommentVNode as z, createVNode as A, createTextVNode as U } from "vue";
4
+ import { defineComponent as w, ref as p, openBlock as d, createBlock as v, unref as a, withCtx as g, createElementVNode as r, toDisplayString as _, createCommentVNode as z, createVNode as A, createTextVNode as U } from "vue";
5
5
  import { Modal as D } from "@arco-design/web-vue";
6
- import { e as T } from "./apiClients-DT7o0IpO.js";
7
- import { u as V } from "./useTableHandle-TDJa_Czn.js";
6
+ import { e as T } from "./apiClients-DrGX2iJy.js";
7
+ import { u as V } from "./useTableHandle-BdujaiNX.js";
8
8
  import { C as y } from "./CustomTable-BT-cnhLR.js";
9
- import { C as E } from "./Clipboard-R3AURqvU.js";
10
- import { u as M } from "./useAuthkitUsersProfile-aw_A7IWb.js";
9
+ import { C as E } from "./Clipboard-Bo7gdpR6.js";
10
+ import { u as M } from "./useAuthkitUsersProfile-BZDk21c8.js";
11
11
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const H = {
13
13
  class: "invite-code-section"
@@ -18,9 +18,9 @@ const H = {
18
18
  emits: ["cancel"],
19
19
  setup(W, {
20
20
  expose: C,
21
- emit: b
21
+ emit: h
22
22
  }) {
23
- const h = b, {
23
+ const b = h, {
24
24
  pagination: t,
25
25
  dataSource: c,
26
26
  setPage: f
@@ -38,7 +38,7 @@ const H = {
38
38
  title: "创建日期",
39
39
  ellipsis: !0,
40
40
  tooltip: !0
41
- }], o = d(!1);
41
+ }], o = p(!1);
42
42
  async function u() {
43
43
  o.value = !0;
44
44
  const {
@@ -55,18 +55,18 @@ const H = {
55
55
  function S(e) {
56
56
  f(t.value.current, e), u();
57
57
  }
58
- const r = d(!1);
58
+ const i = p(!1);
59
59
  function k() {
60
- r.value = !1, h("cancel");
60
+ i.value = !1, b("cancel");
61
61
  }
62
62
  function N(e) {
63
- r.value = e, e && u();
63
+ i.value = e, e && u();
64
64
  }
65
65
  return C({
66
66
  setData: N
67
- }), (e, i) => (p(), v(a(D), {
68
- visible: r.value,
69
- "onUpdate:visible": i[0] || (i[0] = (l) => r.value = l),
67
+ }), (e, n) => (d(), v(a(D), {
68
+ visible: i.value,
69
+ "onUpdate:visible": n[0] || (n[0] = (l) => i.value = l),
70
70
  title: "被邀请人详情",
71
71
  width: a(P),
72
72
  "ok-loading": o.value,
@@ -77,11 +77,11 @@ const H = {
77
77
  }, {
78
78
  default: g(() => {
79
79
  var l, m;
80
- return [n("div", H, [i[1] || (i[1] = n("div", {
80
+ return [r("div", H, [n[1] || (n[1] = r("div", {
81
81
  class: "invite-code-label"
82
- }, "我的邀请码:", -1)), n("div", L, [n("span", null, _(((l = a(s)) == null ? void 0 : l.referrerId) || "-"), 1), (m = a(s)) != null && m.referrerId ? (p(), v(E, {
82
+ }, "我的邀请码:", -1)), r("div", L, [r("span", null, _(((l = a(s)) == null ? void 0 : l.personalInviteCode) || "-"), 1), (m = a(s)) != null && m.personalInviteCode ? (d(), v(E, {
83
83
  key: 0,
84
- value: a(s).referrerId,
84
+ value: a(s).personalInviteCode,
85
85
  message: "邀请码复制成功"
86
86
  }, null, 8, ["value"])) : z("", !0)])]), A(y, {
87
87
  columns: x,
@@ -100,7 +100,7 @@ const H = {
100
100
  _: 1
101
101
  }, 8, ["visible", "width", "ok-loading"]));
102
102
  }
103
- }), ee = /* @__PURE__ */ B(O, [["__scopeId", "data-v-2bd03b9c"]]);
103
+ }), ee = /* @__PURE__ */ B(O, [["__scopeId", "data-v-44239639"]]);
104
104
  export {
105
105
  ee as R
106
106
  };
@@ -6,7 +6,7 @@
6
6
  /* empty css */
7
7
  import { defineComponent as g, openBlock as F, createBlock as h, unref as q, mergeProps as y, createSlots as I, withCtx as p, renderSlot as u } from "vue";
8
8
  import { Upload as S } from "@arco-design/web-vue";
9
- import { u as _ } from "./useUploadCos-DOHnz2MP.js";
9
+ import { u as _ } from "./useUploadCos-BRKRzSy3.js";
10
10
  const N = /* @__PURE__ */ g({
11
11
  __name: "Upload",
12
12
  props: {
@@ -1,21 +1,21 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { defineComponent as m, openBlock as r, createElementBlock as p, toDisplayString as U, createCommentVNode as k, createVNode as d, unref as s, createBlock as _, withCtx as v, createTextVNode as $, createElementVNode as l, ref as h, computed as A, onMounted as J, Fragment as L, renderSlot as C, normalizeClass as K, watch as x } from "vue";
4
+ import { defineComponent as m, openBlock as i, createElementBlock as p, toDisplayString as U, createCommentVNode as k, createVNode as d, unref as s, createBlock as _, withCtx as v, createTextVNode as $, createElementVNode as l, ref as h, computed as C, onMounted as J, Fragment as L, renderSlot as A, normalizeClass as K, watch as x } from "vue";
5
5
  import { Avatar as j, Button as D, Dropdown as Q } from "@arco-design/web-vue";
6
- import { u as R } from "./useAuthkitUsersProfile-aw_A7IWb.js";
6
+ import { u as R } from "./useAuthkitUsersProfile-BZDk21c8.js";
7
7
  import { u as y } from "./useUserMenu-ClPBlvaM.js";
8
8
  /* empty css */
9
9
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  /* empty css */
11
- import { u as W } from "./apiClients-DT7o0IpO.js";
12
- import { u as Z, o as ee, P as ne } from "./PaySubscriptions-D3g1OhiA.js";
13
- import { d as te } from "./useBillingStatusOptions-CAsu1hrf.js";
14
- import { C as se } from "./Clipboard-R3AURqvU.js";
15
- import { A as ae } from "./AuthkitAppSetting-v80fEiq0.js";
16
- import { c as oe } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-CAGBbiZD.js";
17
- import { M as re } from "./MessageHandle-BMhGWVHD.js";
18
- import { R as ie } from "./ReferrerReferees-BxmZ1w_L.js";
11
+ import { u as W } from "./apiClients-DrGX2iJy.js";
12
+ import { u as Z, o as ee, P as ne } from "./PaySubscriptions-BFq89DCI.js";
13
+ import { d as te } from "./useBillingStatusOptions-B7xLU3fs.js";
14
+ import { C as se } from "./Clipboard-Bo7gdpR6.js";
15
+ import { A as ae } from "./AuthkitAppSetting-jfSU-9BO.js";
16
+ import { c as oe } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js";
17
+ import { M as ie } from "./MessageHandle-BG12aX0i.js";
18
+ import { R as re } from "./ReferrerReferees-jWOIvXrk.js";
19
19
  import { Icon as F } from "@iconify/vue";
20
20
  const le = {
21
21
  class: "UserAvatar"
@@ -33,7 +33,7 @@ const le = {
33
33
  }
34
34
  },
35
35
  setup(e) {
36
- return (n, o) => (r(), p("div", le, [e.nickname ? (r(), p("span", ue, U(e.nickname), 1)) : k("", !0), d(s(j), {
36
+ return (n, o) => (i(), p("div", le, [e.nickname ? (i(), p("span", ue, U(e.nickname), 1)) : k("", !0), d(s(j), {
37
37
  "image-url": e.avatar,
38
38
  size: 32,
39
39
  "object-fit": "cover"
@@ -45,7 +45,7 @@ const le = {
45
45
  const {
46
46
  open: n
47
47
  } = W();
48
- return (o, t) => (r(), _(s(D), {
48
+ return (o, t) => (i(), _(s(D), {
49
49
  type: "primary",
50
50
  class: "UserSignInButton",
51
51
  onClick: t[0] || (t[0] = (a) => s(n)())
@@ -59,7 +59,7 @@ const le = {
59
59
  role: "separator"
60
60
  };
61
61
  function ve(e, n) {
62
- return r(), p("div", _e);
62
+ return i(), p("div", _e);
63
63
  }
64
64
  const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97"]]), be = {
65
65
  class: "UserBasicInformation"
@@ -84,29 +84,29 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
84
84
  avatarUrl: {
85
85
  default: ""
86
86
  },
87
- referrerId: {
87
+ personalInviteCode: {
88
88
  default: ""
89
89
  }
90
90
  },
91
91
  setup(e) {
92
- return (n, o) => (r(), p("div", be, [d(s(j), {
92
+ return (n, o) => (i(), p("div", be, [d(s(j), {
93
93
  "image-url": e.avatarUrl,
94
94
  size: 42,
95
95
  "object-fit": "cover"
96
- }, null, 8, ["image-url"]), l("div", Ue, [l("span", ke, U(e.nickname), 1), l("span", ye, U(e.email), 1), e.referrerId ? (r(), p("span", Ie, [l("span", null, "我的邀请码:" + U(e.referrerId), 1), d(se, {
97
- value: e.referrerId,
96
+ }, null, 8, ["image-url"]), l("div", Ue, [l("span", ke, U(e.nickname), 1), l("span", ye, U(e.email), 1), e.personalInviteCode ? (i(), p("span", Ie, [l("span", null, "我的邀请码:" + U(e.personalInviteCode), 1), d(se, {
97
+ value: e.personalInviteCode,
98
98
  message: "邀请码复制成功"
99
99
  }, null, 8, ["value"])])) : k("", !0)])]));
100
100
  }
101
- }), Be = /* @__PURE__ */ M($e, [["__scopeId", "data-v-cc49789c"]]), Me = {
101
+ }), Be = /* @__PURE__ */ M($e, [["__scopeId", "data-v-0e109acc"]]), Me = {
102
102
  class: "UserSubscriptionBaseInformation"
103
103
  }, Se = {
104
104
  class: "UserSubscriptionBaseInformation__row"
105
105
  }, he = {
106
106
  class: "UserSubscriptionBaseInformation__info"
107
- }, Ae = {
108
- class: "UserSubscriptionBaseInformation__plan"
109
107
  }, Ce = {
108
+ class: "UserSubscriptionBaseInformation__plan"
109
+ }, Ae = {
110
110
  key: 0
111
111
  }, xe = {
112
112
  key: 1,
@@ -142,9 +142,9 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
142
142
  emit: n
143
143
  }) {
144
144
  const o = n;
145
- return (t, a) => (r(), p("div", Me, [l("div", Se, [l("div", he, [a[3] || (a[3] = l("span", {
145
+ return (t, a) => (i(), p("div", Me, [l("div", Se, [l("div", he, [a[3] || (a[3] = l("span", {
146
146
  class: "UserSubscriptionBaseInformation__label"
147
- }, "当前权益:", -1)), l("span", Ae, U(e.currentVersionName), 1)]), e.canUpgrade ? (r(), _(s(D), {
147
+ }, "当前权益:", -1)), l("span", Ce, U(e.currentVersionName), 1)]), e.canUpgrade ? (i(), _(s(D), {
148
148
  key: 0,
149
149
  type: "primary",
150
150
  size: "mini",
@@ -154,7 +154,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
154
154
  }, {
155
155
  default: v(() => [$(U(e.actionLabel), 1)]),
156
156
  _: 1
157
- }, 8, ["loading"])) : k("", !0)]), e.expireDate ? (r(), p("span", Ce, "有效期至: " + U(e.expireDate), 1)) : k("", !0), typeof e.pointsBalance == "number" ? (r(), p("div", xe, [l("span", null, "积分余额: " + U(e.pointsBalance), 1), d(s(D), {
157
+ }, 8, ["loading"])) : k("", !0)]), e.expireDate ? (i(), p("span", Ae, "有效期至: " + U(e.expireDate), 1)) : k("", !0), typeof e.pointsBalance == "number" ? (i(), p("div", xe, [l("span", null, "积分余额: " + U(e.pointsBalance), 1), d(s(D), {
158
158
  type: "text",
159
159
  size: "mini",
160
160
  class: "UserSubscriptionBaseInformation__pointsAction",
@@ -163,7 +163,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
163
163
  }, {
164
164
  default: v(() => [...a[4] || (a[4] = [$(" 充值 ", -1)])]),
165
165
  _: 1
166
- }, 8, ["loading"])])) : k("", !0), typeof e.pendingInvoiceTotal == "number" && e.pendingInvoiceTotal > 0 ? (r(), p("div", we, [a[6] || (a[6] = l("span", {
166
+ }, 8, ["loading"])])) : k("", !0), typeof e.pendingInvoiceTotal == "number" && e.pendingInvoiceTotal > 0 ? (i(), p("div", we, [a[6] || (a[6] = l("span", {
167
167
  class: "UserSubscriptionBaseInformation__warning"
168
168
  }, " 有待支付订阅账单 ", -1)), d(s(D), {
169
169
  type: "primary",
@@ -203,19 +203,19 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
203
203
  } = y(), {
204
204
  entitlement: a,
205
205
  pointsBalance: c,
206
- pendingInvoice: i,
206
+ pendingInvoice: r,
207
207
  loading: g,
208
208
  refresh: I
209
- } = Z(), S = h(0), B = A(() => a.value), P = A(() => {
209
+ } = Z(), S = h(0), B = C(() => a.value), P = C(() => {
210
210
  var f, b;
211
211
  return n.currentVersionName ? n.currentVersionName : ((f = B.value) == null ? void 0 : f.type) === "trial" ? "免费试用" : ((b = B.value) == null ? void 0 : b.productName) || "未订阅";
212
- }), u = A(() => {
212
+ }), u = C(() => {
213
213
  var f;
214
214
  return n.expireDate || ((f = B.value) == null ? void 0 : f.endAt) || "";
215
- }), H = A(() => {
215
+ }), H = C(() => {
216
216
  var f, b;
217
217
  return ((f = B.value) == null ? void 0 : f.type) === "trial" ? S.value > 0 ? "升级" : "" : ((b = B.value) == null ? void 0 : b.type) === "subscription" ? S.value > 1 ? "修改订阅" : "" : S.value > 0 ? "订阅" : "";
218
- }), X = A(() => n.canUpgrade && !!H.value);
218
+ }), X = C(() => n.canUpgrade && !!H.value);
219
219
  function Y() {
220
220
  ee();
221
221
  }
@@ -227,17 +227,17 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
227
227
  n.showSubscription && (I(), q());
228
228
  }), (f, b) => {
229
229
  var N, O, V, T, z, E;
230
- return r(), p(L, null, [d(Be, {
230
+ return i(), p(L, null, [d(Be, {
231
231
  "avatar-url": (N = s(o)) == null ? void 0 : N.avatarUrl,
232
232
  nickname: (O = s(o)) == null ? void 0 : O.nickname,
233
233
  email: (V = s(o)) == null ? void 0 : V.email,
234
- "referrer-id": (T = s(o)) == null ? void 0 : T.referrerId
235
- }, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]), e.showSubscription ? (r(), _(De, {
234
+ "personal-invite-code": (T = s(o)) == null ? void 0 : T.personalInviteCode
235
+ }, null, 8, ["avatar-url", "nickname", "email", "personal-invite-code"]), e.showSubscription ? (i(), _(De, {
236
236
  key: 0,
237
237
  "current-version-name": P.value,
238
238
  "expire-date": u.value,
239
239
  "points-balance": (z = s(c)) == null ? void 0 : z.totalPoints,
240
- "pending-invoice-total": (E = s(i)) == null ? void 0 : E.total,
240
+ "pending-invoice-total": (E = s(r)) == null ? void 0 : E.total,
241
241
  loading: s(g),
242
242
  "can-upgrade": X.value,
243
243
  "action-label": H.value,
@@ -275,11 +275,11 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
275
275
  } = R(), {
276
276
  isOpen: t,
277
277
  setOpen: a
278
- } = y(), c = A({
278
+ } = y(), c = C({
279
279
  get: () => t.value,
280
- set: (i) => a(i)
280
+ set: (r) => a(r)
281
281
  });
282
- return (i, g) => s(o) ? (r(), _(s(Q), {
282
+ return (r, g) => s(o) ? (i(), _(s(Q), {
283
283
  key: 1,
284
284
  "popup-visible": c.value,
285
285
  "onUpdate:popupVisible": g[0] || (g[0] = (I) => c.value = I),
@@ -291,12 +291,12 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
291
291
  "--user-menu-translate-y": e.dropdownOffsetY ?? "0"
292
292
  }
293
293
  }, {
294
- content: v(() => [l("div", Re, [l("div", Ne, [C(i.$slots, "header", {
294
+ content: v(() => [l("div", Re, [l("div", Ne, [A(r.$slots, "header", {
295
295
  user: s(n)
296
- }, () => [d(He)], !0)]), i.$slots.items ? (r(), _(ge, {
296
+ }, () => [d(He)], !0)]), r.$slots.items ? (i(), _(ge, {
297
297
  key: 0
298
- })) : k("", !0), C(i.$slots, "items", {}, void 0, !0)])]),
299
- default: v(() => [C(i.$slots, "trigger", {
298
+ })) : k("", !0), A(r.$slots, "items", {}, void 0, !0)])]),
299
+ default: v(() => [A(r.$slots, "trigger", {
300
300
  user: s(n)
301
301
  }, () => {
302
302
  var I;
@@ -305,7 +305,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
305
305
  }, null, 8, ["avatar"])];
306
306
  }, !0)]),
307
307
  _: 3
308
- }, 8, ["popup-visible", "position", "popup-style"])) : (r(), _(me, {
308
+ }, 8, ["popup-visible", "position", "popup-style"])) : (i(), _(me, {
309
309
  key: 0
310
310
  }));
311
311
  }
@@ -340,10 +340,10 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
340
340
  const o = e, t = n, {
341
341
  close: a
342
342
  } = y();
343
- function c(i) {
344
- i.stopPropagation(), !o.disabled && (o.closeOnClick && a(), t("click", i));
343
+ function c(r) {
344
+ r.stopPropagation(), !o.disabled && (o.closeOnClick && a(), t("click", r));
345
345
  }
346
- return (i, g) => (r(), p("button", {
346
+ return (r, g) => (i(), p("button", {
347
347
  type: "button",
348
348
  class: K(["UserMenuItem", {
349
349
  "is-danger": e.danger,
@@ -351,7 +351,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
351
351
  }]),
352
352
  disabled: e.disabled,
353
353
  onClick: c
354
- }, [l("span", Te, [C(i.$slots, "default", {}, void 0, !0)]), i.$slots.icon || e.icon ? (r(), p("span", ze, [C(i.$slots, "icon", {}, () => [e.icon ? (r(), _(s(F), {
354
+ }, [l("span", Te, [A(r.$slots, "default", {}, void 0, !0)]), r.$slots.icon || e.icon ? (i(), p("span", ze, [A(r.$slots, "icon", {}, () => [e.icon ? (i(), _(s(F), {
355
355
  key: 0,
356
356
  icon: e.icon,
357
357
  width: 16,
@@ -367,7 +367,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
367
367
  subscriptionsOptions: t,
368
368
  messagesTrigger: a,
369
369
  feedbackTrigger: c,
370
- invitationsTrigger: i
370
+ invitationsTrigger: r
371
371
  } = y(), g = h(null), I = h(null), S = h(null), B = h(null), P = h(null);
372
372
  return x(n, () => {
373
373
  var u;
@@ -381,22 +381,22 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
381
381
  }), x(c, () => {
382
382
  var u;
383
383
  (u = B.value) == null || u.setData(!0);
384
- }), x(i, () => {
384
+ }), x(r, () => {
385
385
  var u;
386
386
  (u = P.value) == null || u.setData(!0);
387
- }), (u, H) => (r(), p(L, null, [d(ae, {
387
+ }), (u, H) => (i(), p(L, null, [d(ae, {
388
388
  ref_key: "appSettingRef",
389
389
  ref: g
390
390
  }, null, 512), d(ne, {
391
391
  ref_key: "paySubsRef",
392
392
  ref: I
393
- }, null, 512), d(re, {
393
+ }, null, 512), d(ie, {
394
394
  ref_key: "messageHandleRef",
395
395
  ref: S
396
396
  }, null, 512), d(oe, {
397
397
  ref_key: "feedbackModalRef",
398
398
  ref: B
399
- }, null, 512), d(ie, {
399
+ }, null, 512), d(re, {
400
400
  ref_key: "refereesRef",
401
401
  ref: P
402
402
  }, null, 512)], 64));
@@ -420,8 +420,8 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
420
420
  toggle: o
421
421
  } = y();
422
422
  return (t, a) => {
423
- var c, i;
424
- return r(), p("div", Le, [l("div", je, [C(t.$slots, "avatar", {}, void 0, !0)]), l("div", Fe, [l("div", Xe, U(((c = s(n)) == null ? void 0 : c.nickname) || ""), 1), l("div", Ye, U(((i = s(n)) == null ? void 0 : i.email) || ""), 1)]), l("div", {
423
+ var c, r;
424
+ return i(), p("div", Le, [l("div", je, [A(t.$slots, "avatar", {}, void 0, !0)]), l("div", Fe, [l("div", Xe, U(((c = s(n)) == null ? void 0 : c.nickname) || ""), 1), l("div", Ye, U(((r = s(n)) == null ? void 0 : r.email) || ""), 1)]), l("div", {
425
425
  class: "UserAccountMenu__arrow",
426
426
  onClick: a[0] || (a[0] = //@ts-ignore
427
427
  (...g) => s(o) && s(o)(...g))
@@ -436,7 +436,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
436
436
  const {
437
437
  openMessages: n
438
438
  } = y();
439
- return (o, t) => (r(), _(w, {
439
+ return (o, t) => (i(), _(w, {
440
440
  icon: "lucide:chevron-right",
441
441
  onClick: s(n)
442
442
  }, {
@@ -450,7 +450,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
450
450
  const {
451
451
  openSetting: n
452
452
  } = y();
453
- return (o, t) => (r(), _(w, {
453
+ return (o, t) => (i(), _(w, {
454
454
  icon: "lucide:user-round",
455
455
  onClick: s(n)
456
456
  }, {
@@ -464,7 +464,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
464
464
  const {
465
465
  openSubscriptions: n
466
466
  } = y();
467
- return (o, t) => (r(), _(w, {
467
+ return (o, t) => (i(), _(w, {
468
468
  icon: "lucide:chevron-right",
469
469
  onClick: t[0] || (t[0] = (a) => s(n)())
470
470
  }, {
@@ -478,7 +478,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
478
478
  const {
479
479
  openFeedback: n
480
480
  } = y();
481
- return (o, t) => (r(), _(w, {
481
+ return (o, t) => (i(), _(w, {
482
482
  icon: "lucide:chevron-right",
483
483
  onClick: s(n)
484
484
  }, {
@@ -492,7 +492,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
492
492
  const {
493
493
  openInvitations: n
494
494
  } = y();
495
- return (o, t) => (r(), _(w, {
495
+ return (o, t) => (i(), _(w, {
496
496
  icon: "lucide:chevron-right",
497
497
  onClick: s(n)
498
498
  }, {
@@ -2,20 +2,20 @@
2
2
  import "./index-D3Kp6R4z.js";
3
3
  import { defineComponent as P, ref as U, watch as V, openBlock as n, createElementBlock as o, createElementVNode as r, createVNode as a, unref as i, withCtx as x, createTextVNode as z, renderSlot as G, toDisplayString as I, createCommentVNode as $, onMounted as j, onUnmounted as me, normalizeClass as S, Fragment as L, renderList as D, createBlock as he, computed as B, onBeforeUnmount as pe, normalizeStyle as W } from "vue";
4
4
  import { Spin as q } from "@arco-design/web-vue";
5
- import { u as F } from "./useAuthkitAuth-DpdKRuJm.js";
6
- import { d as fe, b as _e } from "./apiClients-DT7o0IpO.js";
7
- import { u as N } from "./useAuthkitAppsAuthPageInfo-DScDQfj5.js";
8
- import { u as J } from "./useAuthkitUsersProfile-aw_A7IWb.js";
9
- import { b as Q, f as X, w as O, a as Y, c as Z } from "./useRoutePermission-v4_0B-aO.js";
10
- import "./useUploadCos-DOHnz2MP.js";
5
+ import { u as F } from "./useAuthkitAuth-DmS-H7M2.js";
6
+ import { d as fe, b as _e } from "./apiClients-DrGX2iJy.js";
7
+ import { u as N } from "./useAuthkitAppsAuthPageInfo-DWd0bDP-.js";
8
+ import { u as J } from "./useAuthkitUsersProfile-BZDk21c8.js";
9
+ import { b as Q, f as X, w as O, a as Y, c as Z } from "./useRoutePermission-chEi45Nb.js";
10
+ import "./useUploadCos-BRKRzSy3.js";
11
11
  import { useRouter as ee, useRoute as te } from "vue-router";
12
12
  import "@unhead/vue";
13
13
  import "./useUserMenu-ClPBlvaM.js";
14
- import "./useBillingStatusOptions-CAsu1hrf.js";
15
- import { U as ve, c as ne, h as oe, k as se, _ as ae, f as re, j as ie, d as ue, g as K, i as le } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-6xQNhFk3.js";
14
+ import "./useBillingStatusOptions-B7xLU3fs.js";
15
+ import { U as ve, c as ne, h as oe, k as se, _ as ae, f as re, j as ie, d as ue, g as K, i as le } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BVtXbwch.js";
16
16
  /* empty css */
17
17
  import { Icon as R } from "@iconify/vue";
18
- import "./Clipboard-R3AURqvU.js";
18
+ import "./Clipboard-Bo7gdpR6.js";
19
19
  /* empty css */
20
20
  import { M as ge } from "./Menu-Cy2ZPeaz.js";
21
21
  import "./CollapseItem-DUzZA6tx.js";