@huyooo/ui 0.13.4 → 0.13.8

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 (46) hide show
  1. package/dist/{AuthkitAppSetting-EL2ZvAVT.js → AuthkitAppSetting-u2kUUH6q.js} +7 -7
  2. package/dist/{AuthkitGithubBinding-Ba9sbNEh.js → AuthkitGithubBinding-B-YSWc50.js} +6 -6
  3. package/dist/{Clipboard-CdJtMvg6.js → Clipboard-C8ncjaAJ.js} +1 -1
  4. package/dist/{Contact-Z2VFVeKK.js → Contact-CIMfdt_b.js} +2 -2
  5. package/dist/{FeedbackItem-B_MDdk4s.js → FeedbackItem-C9FQThXG.js} +3 -3
  6. package/dist/{FeedbackModal-qrcBDDQM.js → FeedbackModal-R3NKRxr7.js} +3 -3
  7. package/dist/{MessageHandle-Y96z-IXv.js → MessageHandle-D2dcvWVr.js} +2 -2
  8. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-CfmjFcay.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-CSAIRPOj.js} +2 -2
  9. package/dist/{PaySubscriptions-C75OtmYw.js → PaySubscriptions-BaUlQE-p.js} +4 -4
  10. package/dist/{PricingPlans-DCYIVuuT.js → PricingPlans-B0nt843Q.js} +4 -4
  11. package/dist/{ReferrerReferees-8eSsuPfa.js → ReferrerReferees-B50_V69q.js} +4 -4
  12. package/dist/{Upload.vue_vue_type_script_setup_true_lang-BAibfVEN.js → Upload.vue_vue_type_script_setup_true_lang-dLSky4Yx.js} +1 -1
  13. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BEVmBNlU.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BHXLN2Tu.js} +33 -34
  14. package/dist/{WidthContainer-Dqf_-qGk.js → WidthContainer-BQIboxrg.js} +21 -20
  15. package/dist/api/billingSubscriptionApi.d.ts +3 -0
  16. package/dist/{apiClients-D56ALwwO.js → apiClients-CkI47p36.js} +11 -7
  17. package/dist/authkit.js +9 -9
  18. package/dist/common.js +1 -1
  19. package/dist/composables/useMessageList.d.ts +2 -2
  20. package/dist/composables.js +13 -13
  21. package/dist/feedback.js +3 -3
  22. package/dist/main.js +31 -31
  23. package/dist/message.js +3 -3
  24. package/dist/pay.js +4 -4
  25. package/dist/privateCom.js +1 -1
  26. package/dist/referrer.js +1 -1
  27. package/dist/style.css +1 -1
  28. package/dist/types/api/ai.generated.d.ts +3051 -269
  29. package/dist/types/api/billing.generated.d.ts +1206 -275
  30. package/dist/upload.js +2 -2
  31. package/dist/{useAuthkitAppsAuthPageInfo-RMs8sOwk.js → useAuthkitAppsAuthPageInfo-CjPdpZ64.js} +1 -1
  32. package/dist/{useAuthkitAuth-B8aO6aMa.js → useAuthkitAuth-C--qS6UE.js} +1 -1
  33. package/dist/{useAuthkitCreateAndUpdate-DkiLs143.js → useAuthkitCreateAndUpdate-CsYn-oYu.js} +1 -1
  34. package/dist/{useAuthkitUsersProfile-CWAr0CNv.js → useAuthkitUsersProfile-CIFqG3gd.js} +2 -2
  35. package/dist/useBillingStatusOptions-D5Ehwtbj.js +145 -0
  36. package/dist/{useDownloads-DqF1USJ7.js → useDownloads-CxoyuqyY.js} +1 -1
  37. package/dist/{useEnsureAuthenticated-D99GiwEk.js → useEnsureAuthenticated-C4tsSfv6.js} +2 -2
  38. package/dist/{useLegalLinks-DRTOYp3n.js → useLegalLinks-DHqsVvIK.js} +2 -2
  39. package/dist/{useMessageNotifications-CUpk6zCE.js → useMessageNotifications-BMUx5xfX.js} +1 -1
  40. package/dist/{useSEO-CUKPmGRx.js → useSEO-DypqLVfr.js} +2 -2
  41. package/dist/{useSubscriptionCheckout-CAgy1CFj.js → useSubscriptionCheckout-CHAF20s-.js} +102 -108
  42. package/dist/{useTableHandle-CCKjahT0.js → useTableHandle-9alnSWt0.js} +1 -1
  43. package/dist/{useUploadCos-Bxctd4E6.js → useUploadCos-DGPnLOC9.js} +1 -1
  44. package/dist/user.js +1 -1
  45. package/package.json +3 -3
  46. package/dist/useBillingStatusOptions-CottFcAr.js +0 -127
@@ -4,17 +4,17 @@ import { U as ye } from "./index-D3Kp6R4z.js";
4
4
  import { defineComponent as O, computed as I, openBlock as h, createElementBlock as j, normalizeStyle as be, normalizeClass as ke, createElementVNode as C, ref as y, createBlock as z, unref as e, withCtx as t, createVNode as o, createTextVNode as k, onMounted as ee, onUnmounted as fe, withDirectives as _e, toDisplayString as B, vShow as we, Fragment as J, createCommentVNode as P, renderList as ze, watch as ne, isRef as Ve } from "vue";
5
5
  import { Form as Q, FormItem as U, Avatar as re, Input as N, Textarea as Ce, Button as A, Message as G, Alert as F, Link as Ie, Space as ce, InputPassword as $e, Result as Pe, Modal as Se } from "@arco-design/web-vue";
6
6
  /* empty css */
7
- import { f as x, g as Y, i as me } from "./apiClients-D56ALwwO.js";
7
+ import { e as x, g as Y, m as me } from "./apiClients-CkI47p36.js";
8
8
  /* empty css */
9
- import { u as Ae } from "./useUploadCos-Bxctd4E6.js";
9
+ import { u as Ae } from "./useUploadCos-DGPnLOC9.js";
10
10
  import { _ as Ue, g as xe, i as qe } from "./plugin-vue_export-helper-LjDO2Zua.js";
11
11
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- import { u as te } from "./useAuthkitUsersProfile-CWAr0CNv.js";
12
+ import { u as te } from "./useAuthkitUsersProfile-CIFqG3gd.js";
13
13
  import { Icon as Te } from "@iconify/vue";
14
- import { u as pe } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
15
- import { u as Be } from "./useAuthkitAuth-B8aO6aMa.js";
14
+ import { u as pe } from "./useAuthkitAppsAuthPageInfo-CjPdpZ64.js";
15
+ import { u as Be } from "./useAuthkitAuth-C--qS6UE.js";
16
16
  import { M as Ee } from "./Menu-Cy2ZPeaz.js";
17
- import { u as Re } from "./useAuthkitCreateAndUpdate-DkiLs143.js";
17
+ import { u as Re } from "./useAuthkitCreateAndUpdate-CsYn-oYu.js";
18
18
  const Le = O({
19
19
  name: "IconCamera",
20
20
  props: {
@@ -1464,7 +1464,7 @@ const It = {
1464
1464
  }, null, 8, ["size", "phone"])) : P("", !0)], 64);
1465
1465
  };
1466
1466
  }
1467
- }), xt = /* @__PURE__ */ W(Ut, [["__scopeId", "data-v-6ab5f9c4"]]), qt = {
1467
+ }), xt = /* @__PURE__ */ W(Ut, [["__scopeId", "data-v-596b697b"]]), qt = {
1468
1468
  class: "dependency-list"
1469
1469
  }, Tt = {
1470
1470
  class: "label"
@@ -3,17 +3,17 @@ import { defineComponent as z, openBlock as c, createElementBlock as b, normaliz
3
3
  /* empty css */
4
4
  import "./index-D3Kp6R4z.js";
5
5
  import { Form as L, FormItem as A, Input as V, Button as B, Link as F, Tabs as oe, TabPane as se, Divider as ae, Modal as fe, Message as Z, List as ve, ListItem as X, ListItemMeta as Y, Avatar as E, Alert as le } from "@arco-design/web-vue";
6
- import { u as H } from "./useAuthkitAuth-B8aO6aMa.js";
7
- import { f as T, u as ge, s as he, g as ye } from "./apiClients-D56ALwwO.js";
8
- import { u as M } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
9
- import { u as ue, S as D, a as we, b as _e } from "./AuthkitAppSetting-EL2ZvAVT.js";
6
+ import { u as H } from "./useAuthkitAuth-C--qS6UE.js";
7
+ import { e as T, u as ge, s as he, g as ye } from "./apiClients-CkI47p36.js";
8
+ import { u as M } from "./useAuthkitAppsAuthPageInfo-CjPdpZ64.js";
9
+ import { u as ue, S as D, a as we, b as _e } from "./AuthkitAppSetting-u2kUUH6q.js";
10
10
  import { Icon as de } from "@iconify/vue";
11
11
  import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- import { u as be } from "./useLegalLinks-DRTOYp3n.js";
16
- import { u as J } from "./useAuthkitUsersProfile-CWAr0CNv.js";
15
+ import { u as be } from "./useLegalLinks-DHqsVvIK.js";
16
+ import { u as J } from "./useAuthkitUsersProfile-CIFqG3gd.js";
17
17
  /* empty css */
18
18
  /* empty css */
19
19
  /* empty css */
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import "./apiClients-D56ALwwO.js";
2
+ import "./apiClients-CkI47p36.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-RMs8sOwk.js";
6
- import { g as L } from "./apiClients-D56ALwwO.js";
5
+ import { u as M } from "./useAuthkitAppsAuthPageInfo-CjPdpZ64.js";
6
+ import { g as L } from "./apiClients-CkI47p36.js";
7
7
  import { c as x } from "./index-D56hUMeD.js";
8
8
  const j = {
9
9
  class: "Footer"
@@ -8,9 +8,9 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
- import { u as Z } from "./useUploadCos-Bxctd4E6.js";
12
- import { g as A } from "./apiClients-D56ALwwO.js";
13
- import "./FeedbackModal-qrcBDDQM.js";
11
+ import { u as Z } from "./useUploadCos-DGPnLOC9.js";
12
+ import { g as A } from "./apiClients-CkI47p36.js";
13
+ import "./FeedbackModal-R3NKRxr7.js";
14
14
  import { Icon as Y } from "@iconify/vue";
15
15
  const H = f({
16
16
  name: "IconDown",
@@ -8,16 +8,16 @@ import { M as Oe } from "./Menu-Cy2ZPeaz.js";
8
8
  /* empty css */
9
9
  /* empty css */
10
10
  /* empty css */
11
- import { o as V, g as Te } from "./apiClients-D56ALwwO.js";
11
+ import { o as V, g as Te } from "./apiClients-CkI47p36.js";
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- import { u as je } from "./useUploadCos-Bxctd4E6.js";
15
+ import { u as je } from "./useUploadCos-DGPnLOC9.js";
16
16
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  import { M as Ae } from "./MessageList-Bo6YCfRO.js";
18
18
  import { f as j } from "./index-D56hUMeD.js";
19
19
  import { Bubble as ve, Prompts as Ne, Sender as Pe } from "ant-design-x-vue";
20
- import { C as ye } from "./Clipboard-CdJtMvg6.js";
20
+ import { C as ye } from "./Clipboard-C8ncjaAJ.js";
21
21
  import { Icon as We } from "@iconify/vue";
22
22
  import { _ as ge, g as be, i as ke } from "./plugin-vue_export-helper-LjDO2Zua.js";
23
23
  const Ke = B({
@@ -5,11 +5,11 @@ import { U as ee } from "./index-D3Kp6R4z.js";
5
5
  /* empty css */
6
6
  import { M as q } from "./MessageList-Bo6YCfRO.js";
7
7
  import { Spin as te, Breadcrumb as K, BreadcrumbItem as D, Tag as U, Modal as ae } from "@arco-design/web-vue";
8
- import { o as x } from "./apiClients-D56ALwwO.js";
8
+ import { o as x } from "./apiClients-CkI47p36.js";
9
9
  import { TiptapEditor as se, TiptapTitle as ne } from "@huyooo/vue-tiptap";
10
10
  import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  import { Icon as le } from "@iconify/vue";
12
- import { u as ie } from "./useAuthkitCreateAndUpdate-DkiLs143.js";
12
+ import { u as ie } from "./useAuthkitCreateAndUpdate-CsYn-oYu.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-D56ALwwO.js";
5
- import { D as x } from "./MessageHandle-Y96z-IXv.js";
4
+ import { o as $ } from "./apiClients-CkI47p36.js";
5
+ import { D as x } from "./MessageHandle-D2dcvWVr.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 { e as B, g as Z } from "./apiClients-D56ALwwO.js";
9
+ import { f as B, g as Z } from "./apiClients-CkI47p36.js";
10
10
  import { ref as g, computed as A, onUnmounted as Ae, defineComponent as It, openBlock as l, createElementBlock as r, Fragment as Q, createVNode as u, unref as n, isRef as xt, withCtx as s, createElementVNode as a, toDisplayString as o, createBlock as q, createTextVNode as d, createCommentVNode as T, 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 X, Tooltip as Wt } from "@arco-design/web-vue";
12
- import { u as Tt, b as zt, a as At } from "./useBillingStatusOptions-CottFcAr.js";
13
- import { u as Et } from "./useAuthkitCreateAndUpdate-DkiLs143.js";
12
+ import { u as Tt, b as zt, a as At } from "./useBillingStatusOptions-D5Ehwtbj.js";
13
+ import { u as Et } from "./useAuthkitCreateAndUpdate-CsYn-oYu.js";
14
14
  import { C as fe } from "./CustomTable-BBcd4nNL.js";
15
- import { C as Lt } from "./Clipboard-CdJtMvg6.js";
15
+ import { C as Lt } from "./Clipboard-C8ncjaAJ.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-D56ALwwO.js";
3
+ import "./apiClients-CkI47p36.js";
4
4
  /* empty css */
5
5
  import { defineComponent as z, computed as k, onMounted as te, onUnmounted as Pe, openBlock as n, createElementBlock as s, createElementVNode as i, unref as e, createBlock as H, toDisplayString as r, createVNode as v, withCtx as b, createTextVNode as R, resolveDirective as me, withDirectives as fe, normalizeClass as L, Fragment as w, renderList as C, createCommentVNode as p } from "vue";
6
6
  import { Spin as ne, Button as A, 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-C75OtmYw.js";
8
+ import { b as ye } from "./PaySubscriptions-BaUlQE-p.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-CAgy1CFj.js";
14
- import { u as we } from "./useEnsureAuthenticated-D99GiwEk.js";
13
+ import { u as Te, a as Ie } from "./useSubscriptionCheckout-CHAF20s-.js";
14
+ import { u as we } from "./useEnsureAuthenticated-C4tsSfv6.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;
@@ -3,11 +3,11 @@
3
3
  import { U as P } from "./index-D3Kp6R4z.js";
4
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";
5
5
  import { Modal as D } from "@arco-design/web-vue";
6
- import { f as T } from "./apiClients-D56ALwwO.js";
7
- import { u as V } from "./useTableHandle-CCKjahT0.js";
6
+ import { e as T } from "./apiClients-CkI47p36.js";
7
+ import { u as V } from "./useTableHandle-9alnSWt0.js";
8
8
  import { C as y } from "./CustomTable-BBcd4nNL.js";
9
- import { C as E } from "./Clipboard-CdJtMvg6.js";
10
- import { u as M } from "./useAuthkitUsersProfile-CWAr0CNv.js";
9
+ import { C as E } from "./Clipboard-C8ncjaAJ.js";
10
+ import { u as M } from "./useAuthkitUsersProfile-CIFqG3gd.js";
11
11
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const H = {
13
13
  class: "invite-code-section"
@@ -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-Bxctd4E6.js";
9
+ import { u as _ } from "./useUploadCos-DGPnLOC9.js";
10
10
  const N = /* @__PURE__ */ g({
11
11
  __name: "Upload",
12
12
  props: {
@@ -3,18 +3,19 @@
3
3
  /* empty css */
4
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 F, renderSlot as C, normalizeClass as K, watch as x } from "vue";
5
5
  import { Avatar as L, Button as D, Dropdown as Q } from "@arco-design/web-vue";
6
- import { u as R } from "./useAuthkitUsersProfile-CWAr0CNv.js";
6
+ import { u as R } from "./useAuthkitUsersProfile-CIFqG3gd.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, e as Z } from "./apiClients-D56ALwwO.js";
12
- import { u as ee, o as ne, P as te } from "./PaySubscriptions-C75OtmYw.js";
13
- import { C as se } from "./Clipboard-CdJtMvg6.js";
14
- import { A as ae } from "./AuthkitAppSetting-EL2ZvAVT.js";
15
- import { d as oe } from "./FeedbackModal-qrcBDDQM.js";
16
- import { M as re } from "./MessageHandle-Y96z-IXv.js";
17
- import { R as ie } from "./ReferrerReferees-8eSsuPfa.js";
11
+ import { u as W } from "./apiClients-CkI47p36.js";
12
+ import { u as Z, o as ee, P as ne } from "./PaySubscriptions-BaUlQE-p.js";
13
+ import { d as te } from "./useBillingStatusOptions-D5Ehwtbj.js";
14
+ import { C as se } from "./Clipboard-C8ncjaAJ.js";
15
+ import { A as ae } from "./AuthkitAppSetting-u2kUUH6q.js";
16
+ import { d as oe } from "./FeedbackModal-R3NKRxr7.js";
17
+ import { M as re } from "./MessageHandle-D2dcvWVr.js";
18
+ import { R as ie } from "./ReferrerReferees-B50_V69q.js";
18
19
  import { Icon as j } from "@iconify/vue";
19
20
  const le = {
20
21
  class: "UserAvatar"
@@ -205,7 +206,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
205
206
  pendingInvoice: i,
206
207
  loading: g,
207
208
  refresh: I
208
- } = ee(), S = h(0), B = A(() => a.value), P = A(() => {
209
+ } = Z(), S = h(0), B = A(() => a.value), P = A(() => {
209
210
  var f, b;
210
211
  return n.currentVersionName ? n.currentVersionName : ((f = B.value) == null ? void 0 : f.type) === "trial" ? "免费试用" : ((b = B.value) == null ? void 0 : b.productName) || "未订阅";
211
212
  }), u = A(() => {
@@ -216,22 +217,20 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
216
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 ? "订阅" : "";
217
218
  }), X = A(() => n.canUpgrade && !!H.value);
218
219
  function Y() {
219
- ne();
220
+ ee();
220
221
  }
221
222
  async function q() {
222
- const {
223
- data: f
224
- } = await Z.products.listActive.post();
223
+ const f = await te.productOptions();
225
224
  S.value = Array.isArray(f) ? f.length : 0;
226
225
  }
227
226
  return J(() => {
228
227
  n.showSubscription && (I(), q());
229
228
  }), (f, b) => {
230
- var N, V, O, T, z, E;
229
+ var N, O, V, T, z, E;
231
230
  return r(), p(F, null, [d(Be, {
232
231
  "avatar-url": (N = s(o)) == null ? void 0 : N.avatarUrl,
233
- nickname: (V = s(o)) == null ? void 0 : V.nickname,
234
- email: (O = s(o)) == null ? void 0 : O.email,
232
+ nickname: (O = s(o)) == null ? void 0 : O.nickname,
233
+ email: (V = s(o)) == null ? void 0 : V.email,
235
234
  "referrer-id": (T = s(o)) == null ? void 0 : T.referrerId
236
235
  }, null, 8, ["avatar-url", "nickname", "email", "referrer-id"]), e.showSubscription ? (r(), _(De, {
237
236
  key: 0,
@@ -256,7 +255,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
256
255
  class: "UserMenu__content"
257
256
  }, Ne = {
258
257
  class: "UserMenu__header"
259
- }, Ve = /* @__PURE__ */ m({
258
+ }, Oe = /* @__PURE__ */ m({
260
259
  __name: "UserMenu",
261
260
  props: {
262
261
  position: {
@@ -310,7 +309,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
310
309
  key: 0
311
310
  }));
312
311
  }
313
- }), mn = /* @__PURE__ */ M(Ve, [["__scopeId", "data-v-bbd2c44f"]]), Oe = ["disabled"], Te = {
312
+ }), fn = /* @__PURE__ */ M(Oe, [["__scopeId", "data-v-bbd2c44f"]]), Ve = ["disabled"], Te = {
314
313
  class: "UserMenuItem__label"
315
314
  }, ze = {
316
315
  key: 0,
@@ -357,9 +356,9 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
357
356
  icon: e.icon,
358
357
  width: 16,
359
358
  height: 16
360
- }, null, 8, ["icon"])) : k("", !0)], !0)])) : k("", !0)], 10, Oe));
359
+ }, null, 8, ["icon"])) : k("", !0)], !0)])) : k("", !0)], 10, Ve));
361
360
  }
362
- }), w = /* @__PURE__ */ M(Ee, [["__scopeId", "data-v-d357ac04"]]), fn = /* @__PURE__ */ m({
361
+ }), w = /* @__PURE__ */ M(Ee, [["__scopeId", "data-v-d357ac04"]]), _n = /* @__PURE__ */ m({
363
362
  __name: "UserMenuModals",
364
363
  setup(e) {
365
364
  const {
@@ -388,7 +387,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
388
387
  }), (u, H) => (r(), p(F, null, [d(ae, {
389
388
  ref_key: "appSettingRef",
390
389
  ref: g
391
- }, null, 512), d(te, {
390
+ }, null, 512), d(ne, {
392
391
  ref_key: "paySubsRef",
393
392
  ref: I
394
393
  }, null, 512), d(re, {
@@ -431,7 +430,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
431
430
  })])]);
432
431
  };
433
432
  }
434
- }), _n = /* @__PURE__ */ M(qe, [["__scopeId", "data-v-cc0eb033"]]), vn = /* @__PURE__ */ m({
433
+ }), vn = /* @__PURE__ */ M(qe, [["__scopeId", "data-v-cc0eb033"]]), gn = /* @__PURE__ */ m({
435
434
  __name: "UserMenuMessageItem",
436
435
  setup(e) {
437
436
  const {
@@ -445,7 +444,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
445
444
  _: 1
446
445
  }, 8, ["onClick"]));
447
446
  }
448
- }), gn = /* @__PURE__ */ m({
447
+ }), bn = /* @__PURE__ */ m({
449
448
  __name: "UserMenuSettingItem",
450
449
  setup(e) {
451
450
  const {
@@ -459,7 +458,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
459
458
  _: 1
460
459
  }, 8, ["onClick"]));
461
460
  }
462
- }), bn = /* @__PURE__ */ m({
461
+ }), Un = /* @__PURE__ */ m({
463
462
  __name: "UserMenuSubscriptionItem",
464
463
  setup(e) {
465
464
  const {
@@ -473,7 +472,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
473
472
  _: 1
474
473
  }));
475
474
  }
476
- }), Un = /* @__PURE__ */ m({
475
+ }), kn = /* @__PURE__ */ m({
477
476
  __name: "UserMenuFeedbackItem",
478
477
  setup(e) {
479
478
  const {
@@ -487,7 +486,7 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
487
486
  _: 1
488
487
  }, 8, ["onClick"]));
489
488
  }
490
- }), kn = /* @__PURE__ */ m({
489
+ }), yn = /* @__PURE__ */ m({
491
490
  __name: "UserMenuInvitationsItem",
492
491
  setup(e) {
493
492
  const {
@@ -503,19 +502,19 @@ const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97
503
502
  }
504
503
  });
505
504
  export {
506
- _n as U,
507
- Un as _,
505
+ vn as U,
506
+ kn as _,
508
507
  de as a,
509
508
  Be as b,
510
- mn as c,
509
+ fn as c,
511
510
  ge as d,
512
511
  He as e,
513
- kn as f,
512
+ yn as f,
514
513
  w as g,
515
- vn as h,
516
- fn as i,
517
- gn as j,
518
- bn as k,
514
+ gn as h,
515
+ _n as i,
516
+ bn as j,
517
+ Un as k,
519
518
  me as l,
520
519
  De as m
521
520
  };
@@ -2,18 +2,19 @@
2
2
  import "./index-D3Kp6R4z.js";
3
3
  import { defineComponent as P, ref as U, watch as V, openBlock as t, createElementBlock as n, createElementVNode as s, createVNode as o, unref as u, withCtx as x, createTextVNode as H, renderSlot as N, toDisplayString as I, createCommentVNode as M, onMounted as j, onUnmounted as he, normalizeClass as S, Fragment as L, renderList as E, createBlock as pe, computed as B, onBeforeUnmount as fe, normalizeStyle as W } from "vue";
4
4
  import { Spin as q } from "@arco-design/web-vue";
5
- import { u as F } from "./useAuthkitAuth-B8aO6aMa.js";
6
- import { d as _e, b as ve, a as ge } from "./apiClients-D56ALwwO.js";
7
- import { u as D } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
8
- import { u as J } from "./useAuthkitUsersProfile-CWAr0CNv.js";
9
- import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO-CUKPmGRx.js";
10
- import "./useUploadCos-Bxctd4E6.js";
5
+ import { u as F } from "./useAuthkitAuth-C--qS6UE.js";
6
+ import { d as _e, b as ve, a as ge } from "./apiClients-CkI47p36.js";
7
+ import { u as D } from "./useAuthkitAppsAuthPageInfo-CjPdpZ64.js";
8
+ import { u as J } from "./useAuthkitUsersProfile-CIFqG3gd.js";
9
+ import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO-DypqLVfr.js";
10
+ import "./useUploadCos-DGPnLOC9.js";
11
11
  import { useRouter as te, useRoute as ne } from "vue-router";
12
12
  import "./useUserMenu-ClPBlvaM.js";
13
- import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BEVmBNlU.js";
13
+ import "./useBillingStatusOptions-D5Ehwtbj.js";
14
+ import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BHXLN2Tu.js";
14
15
  /* empty css */
15
16
  import { Icon as R } from "@iconify/vue";
16
- import "./Clipboard-CdJtMvg6.js";
17
+ import "./Clipboard-C8ncjaAJ.js";
17
18
  /* empty css */
18
19
  import { M as be } from "./Menu-Cy2ZPeaz.js";
19
20
  import "./CollapseItem-DUzZA6tx.js";
@@ -157,7 +158,7 @@ const we = {
157
158
  key: 1
158
159
  }, void 0, !0)])])])]));
159
160
  }
160
- }), Yt = /* @__PURE__ */ T(Be, [["__scopeId", "data-v-0eed4f11"]]), He = {
161
+ }), Zt = /* @__PURE__ */ T(Be, [["__scopeId", "data-v-0eed4f11"]]), He = {
161
162
  class: "ContentHead"
162
163
  }, ze = {
163
164
  class: "title"
@@ -182,7 +183,7 @@ const we = {
182
183
  const e = m;
183
184
  return (c, _) => (t(), n("div", He, [s("h1", ze, I(e.title), 1), e.description ? (t(), n("p", Ee, I(e.description), 1)) : M("", !0)]));
184
185
  }
185
- }), Zt = /* @__PURE__ */ T(De, [["__scopeId", "data-v-209a7bef"]]), Ke = {
186
+ }), en = /* @__PURE__ */ T(De, [["__scopeId", "data-v-209a7bef"]]), Ke = {
186
187
  key: 0,
187
188
  class: "desktop-menus"
188
189
  }, Oe = {
@@ -589,7 +590,7 @@ const we = {
589
590
  key: 1
590
591
  }, void 0, !0)])], 6));
591
592
  }
592
- }), en = /* @__PURE__ */ T(_t, [["__scopeId", "data-v-52a72efd"]]), vt = /* @__PURE__ */ P({
593
+ }), tn = /* @__PURE__ */ T(_t, [["__scopeId", "data-v-52a72efd"]]), vt = /* @__PURE__ */ P({
593
594
  __name: "Gradientbackground",
594
595
  props: {
595
596
  width: {
@@ -647,7 +648,7 @@ const we = {
647
648
  style: W(_.value)
648
649
  }, null, 4)], 4));
649
650
  }
650
- }), tn = /* @__PURE__ */ T(vt, [["__scopeId", "data-v-64c41f65"]]), gt = {
651
+ }), nn = /* @__PURE__ */ T(vt, [["__scopeId", "data-v-64c41f65"]]), gt = {
651
652
  class: "SvgIcon"
652
653
  }, yt = ["href", "fill"], kt = /* @__PURE__ */ P({
653
654
  __name: "SvgIcon",
@@ -674,21 +675,21 @@ const we = {
674
675
  fill: e.color
675
676
  }, null, 8, yt)]));
676
677
  }
677
- }), nn = /* @__PURE__ */ T(kt, [["__scopeId", "data-v-9d0b08a0"]]), bt = {}, wt = {
678
+ }), on = /* @__PURE__ */ T(kt, [["__scopeId", "data-v-9d0b08a0"]]), bt = {}, wt = {
678
679
  class: "WidthContainer"
679
680
  };
680
681
  function $t(m, e) {
681
682
  return t(), n("div", wt, [N(m.$slots, "default", {}, void 0, !0)]);
682
683
  }
683
- const on = /* @__PURE__ */ T(bt, [["render", $t], ["__scopeId", "data-v-d06aac1f"]]);
684
+ const sn = /* @__PURE__ */ T(bt, [["render", $t], ["__scopeId", "data-v-d06aac1f"]]);
684
685
  export {
685
- Yt as A,
686
- Zt as C,
687
- en as D,
688
- tn as G,
686
+ Zt as A,
687
+ en as C,
688
+ tn as D,
689
+ nn as G,
689
690
  dt as H,
690
- nn as S,
691
- on as W,
691
+ on as S,
692
+ sn as W,
692
693
  Ie as a,
693
694
  nt as b
694
695
  };
@@ -0,0 +1,3 @@
1
+ export declare const billingSubscriptionApi: {
2
+ productOptions: <T = unknown>() => Promise<T[]>;
3
+ };
@@ -184,13 +184,13 @@ const L = u(async (e, t) => (e.headers.set("app-id", o.appId), t()), {
184
184
  }, {
185
185
  name: "error-message"
186
186
  });
187
- function l(e) {
187
+ function s(e) {
188
188
  return I({
189
189
  baseURL: e,
190
190
  timeout: 3e4
191
191
  }).use(L).use(N).use(q).use(D);
192
192
  }
193
- function s(e) {
193
+ function l(e) {
194
194
  let t = null;
195
195
  return new Proxy({}, {
196
196
  get(r, a) {
@@ -198,20 +198,24 @@ function s(e) {
198
198
  }
199
199
  });
200
200
  }
201
- const Z = s(() => S(l(o.authPrefixUrl))), C = s(() => B(l(o.billingPrefixUrl))), ee = s(() => M(l(o.onesPrefixUrl))), re = s(() => E(l(o.logPrefixUrl))), te = s(() => j(l(o.aiPrefixUrl))), oe = s(() => O(l(o.webhookPrefixUrl)));
201
+ const Z = l(() => S(s(o.authPrefixUrl))), C = l(() => B(s(o.billingPrefixUrl))), ee = l(() => M(s(o.onesPrefixUrl))), re = l(() => E(s(o.logPrefixUrl))), te = l(() => j(s(o.aiPrefixUrl))), oe = l(() => O(s(o.webhookPrefixUrl)));
202
202
  export {
203
203
  R as a,
204
204
  P as b,
205
205
  H as c,
206
206
  X as d,
207
- C as e,
208
- Z as f,
207
+ Z as e,
208
+ C as f,
209
209
  o as g,
210
- te as h,
211
- Y as i,
210
+ L as h,
211
+ q as i,
212
+ D as j,
213
+ te as k,
212
214
  re as l,
215
+ Y as m,
213
216
  ee as o,
214
217
  Q as s,
218
+ N as t,
215
219
  g as u,
216
220
  oe as w
217
221
  };
package/dist/authkit.js CHANGED
@@ -1,12 +1,12 @@
1
- import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-EL2ZvAVT.js";
2
- import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-Ba9sbNEh.js";
3
- import { u as q } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
4
- import { u as K } from "./useAuthkitAuth-B8aO6aMa.js";
5
- import { u as Y } from "./apiClients-D56ALwwO.js";
6
- import { u as H } from "./useEnsureAuthenticated-D99GiwEk.js";
7
- import { L as N, a as Q, b as W, u as X } from "./useLegalLinks-DRTOYp3n.js";
8
- import { u as $ } from "./useAuthkitUsersProfile-CWAr0CNv.js";
9
- import { u as it } from "./useAuthkitCreateAndUpdate-DkiLs143.js";
1
+ import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-u2kUUH6q.js";
2
+ import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-B-YSWc50.js";
3
+ import { u as q } from "./useAuthkitAppsAuthPageInfo-CjPdpZ64.js";
4
+ import { u as K } from "./useAuthkitAuth-C--qS6UE.js";
5
+ import { u as Y } from "./apiClients-CkI47p36.js";
6
+ import { u as H } from "./useEnsureAuthenticated-C4tsSfv6.js";
7
+ import { L as N, a as Q, b as W, u as X } from "./useLegalLinks-DHqsVvIK.js";
8
+ import { u as $ } from "./useAuthkitUsersProfile-CIFqG3gd.js";
9
+ import { u as it } from "./useAuthkitCreateAndUpdate-CsYn-oYu.js";
10
10
  export {
11
11
  a as AuthkitAppSetting,
12
12
  l as AuthkitAuth,
package/dist/common.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-Dqf_-qGk.js";
1
+ import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-BQIboxrg.js";
2
2
  import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
3
  import { C as x, E as b } from "./CustomTable-BBcd4nNL.js";
4
4
  import { L } from "./Logo-D7fyXyB-.js";
@@ -11,12 +11,12 @@ interface FetchResult<T> {
11
11
  count: number;
12
12
  };
13
13
  }
14
- /** 获取数据函数类型 */
14
+ /** 获取数据函数类型(兼容 RequestBuilder) */
15
15
  type FetchFunction<T> = (params: {
16
16
  current: number;
17
17
  pageSize: number;
18
18
  where: Record<string, unknown>;
19
- }) => Promise<FetchResult<T>>;
19
+ }) => PromiseLike<FetchResult<T>>;
20
20
  /**
21
21
  * 消息列表通用 composable
22
22
  * 统一处理列表加载、分页、滚动加载等逻辑
@@ -1,17 +1,17 @@
1
- import { u as a } from "./useAuthkitAuth-B8aO6aMa.js";
2
- import { g as o, a as u, b as r, s as i, c as n, d as f, u as p } from "./apiClients-D56ALwwO.js";
3
- import { u as l } from "./useLegalLinks-DRTOYp3n.js";
4
- import { u as h } from "./useAuthkitUsersProfile-CWAr0CNv.js";
5
- import { u as S } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
6
- import { u as C } from "./useAuthkitCreateAndUpdate-DkiLs143.js";
7
- import { u as c } from "./useMessageNotifications-CUpk6zCE.js";
8
- import { u as T, a as b } from "./useDownloads-DqF1USJ7.js";
9
- import { u as R } from "./useTableHandle-CCKjahT0.js";
10
- import { f as E, a as L, g as k, u as _, b as I, c as M, d as B, e as w, w as F } from "./useSEO-CUKPmGRx.js";
11
- import { u as v } from "./useUploadCos-Bxctd4E6.js";
1
+ import { u as a } from "./useAuthkitAuth-C--qS6UE.js";
2
+ import { g as o, a as u, b as r, s as i, c as n, d as f, u as p } from "./apiClients-CkI47p36.js";
3
+ import { u as l } from "./useLegalLinks-DHqsVvIK.js";
4
+ import { u as h } from "./useAuthkitUsersProfile-CIFqG3gd.js";
5
+ import { u as S } from "./useAuthkitAppsAuthPageInfo-CjPdpZ64.js";
6
+ import { u as C } from "./useAuthkitCreateAndUpdate-CsYn-oYu.js";
7
+ import { u as c } from "./useMessageNotifications-BMUx5xfX.js";
8
+ import { u as T, a as b } from "./useDownloads-CxoyuqyY.js";
9
+ import { u as R } from "./useTableHandle-9alnSWt0.js";
10
+ import { f as E, a as L, g as k, u as _, b as I, c as M, d as B, e as w, w as F } from "./useSEO-DypqLVfr.js";
11
+ import { u as v } from "./useUploadCos-DGPnLOC9.js";
12
12
  import { u as G } from "./useUserMenu-ClPBlvaM.js";
13
- import { u as H, a as V } from "./useSubscriptionCheckout-CAgy1CFj.js";
14
- import { I as j, P as q, R as z, c as J, u as Q, a as W, b as X } from "./useBillingStatusOptions-CottFcAr.js";
13
+ import { u as H, a as V } from "./useSubscriptionCheckout-CHAF20s-.js";
14
+ import { I as j, P as q, R as z, c as J, u as Q, a as W, b as X } from "./useBillingStatusOptions-D5Ehwtbj.js";
15
15
  export {
16
16
  j as INVOICE_STATUS_FALLBACK,
17
17
  q as POINTS_RECHARGE_STATUS_FALLBACK,
package/dist/feedback.js CHANGED
@@ -1,6 +1,6 @@
1
- import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-qrcBDDQM.js";
2
- import { C as r } from "./Clipboard-CdJtMvg6.js";
3
- import { F as m, a as n, b as f, c as i, d as p } from "./FeedbackItem-B_MDdk4s.js";
1
+ import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-R3NKRxr7.js";
2
+ import { C as r } from "./Clipboard-C8ncjaAJ.js";
3
+ import { F as m, a as n, b as f, c as i, d as p } from "./FeedbackItem-C9FQThXG.js";
4
4
  export {
5
5
  r as Clipboard,
6
6
  b as FeedbackBubbleEnd,