@huyooo/ui 3.0.0 → 4.0.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 (64) hide show
  1. package/dist/{AuthkitAppSetting-DhLRYlL_.js → AuthkitAppSetting-Cg8j3nES.js} +41 -42
  2. package/dist/{Contact-CNLjyOCR.js → Contact-D9NRguTE.js} +4 -4
  3. package/dist/{CustomTable-B1KjkixL.js → CustomTable-C15Dgbks.js} +4 -4
  4. package/dist/{FeedbackItem-BP-SiJ2u.js → FeedbackItem-hnJ7YXdE.js} +1 -1
  5. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-Ddy1jcdL.js +1526 -0
  6. package/dist/{LandingPageSectionTabs-BEAnU8B0.js → LandingPageSectionTabs-BJQeq3V5.js} +515 -402
  7. package/dist/{LegalDocViewer-DkVW9tCh.js → LegalDocViewer-BuzKCAfO.js} +44 -45
  8. package/dist/{Menu-uCexrsKP.js → Menu-C6NA8hCs.js} +1 -1
  9. package/dist/{MessageHandle-BKMBtqZM.js → MessageHandle-Cu23QspL.js} +13 -14
  10. package/dist/{MessageList-BK4u5DCH.js → MessageList-DdDKl9wk.js} +6 -7
  11. package/dist/{PaySubscriptions-tJSQUmhE.js → PaySubscriptions-ZSvRTG2i.js} +14 -15
  12. package/dist/{PricingPlans-BhcDv8uk.js → PricingPlans-DTGJ-_us.js} +13 -14
  13. package/dist/{ReferrerReferees-QTZnOCJB.js → ReferrerReferees-gkKtDau-.js} +25 -26
  14. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CZjNlns_.js → Upload.vue_vue_type_script_setup_true_lang-C6B5_Hjo.js} +2 -2
  15. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BQgy_CeZ.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BH6l-SKs.js} +34 -35
  16. package/dist/{WidthContainer-BEeYYOat.js → WidthContainer-DXwIiG2x.js} +32 -32
  17. package/dist/{apiClients-8_c5cDW5.js → apiClients-5u4_uxFE.js} +47 -48
  18. package/dist/authkit.js +10 -10
  19. package/dist/common/globalConfig.d.ts +4 -4
  20. package/dist/common.js +3 -3
  21. package/dist/components/LandingPage/LandingPageHero.vue.d.ts +22 -0
  22. package/dist/components/Pay/PricingPlans.vue.d.ts +1 -1
  23. package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +21 -0
  24. package/dist/composables/useAccessPosture.d.ts +31 -0
  25. package/dist/composables.d.ts +1 -0
  26. package/dist/composables.js +53 -49
  27. package/dist/feedback.js +3 -3
  28. package/dist/{fetchAuthPageAboutUs--dArFYk6.js → fetchAuthPageAboutUs-C-jQ44QK.js} +2 -2
  29. package/dist/{index-D9YtlhTa.js → index-5OR_BVTz.js} +4 -5
  30. package/dist/{index-D56hUMeD.js → index-BIxwv9Xs.js} +1 -1
  31. package/dist/landingPage.js +1 -1
  32. package/dist/legalDocs/constants.d.ts +1 -0
  33. package/dist/main.js +266 -262
  34. package/dist/message.js +36 -37
  35. package/dist/pay.js +5 -5
  36. package/dist/privateCom.js +1 -1
  37. package/dist/referrer.js +1 -1
  38. package/dist/{runtime-CDEl4QQl.js → runtime-B-tHI8-q.js} +191 -186
  39. package/dist/style.css +1 -1
  40. package/dist/types/api/auth.generated.d.ts +188 -37
  41. package/dist/types/api/ones.generated.d.ts +1512 -364
  42. package/dist/types/app.d.ts +9 -0
  43. package/dist/types/auth.d.ts +2 -1
  44. package/dist/upload.js +2 -2
  45. package/dist/useAccessPosture-DBNTLWQn.js +219 -0
  46. package/dist/{useAuthkitAppsAuthPageInfo-mv7hOnhi.js → useAuthkitAppsAuthPageInfo-CsivtUQH.js} +40 -33
  47. package/dist/{useAuthkitAuth-CO61XogP.js → useAuthkitAuth-CV60Hc3o.js} +56 -51
  48. package/dist/useAuthkitCreateAndUpdate-DJIn96EE.js +24 -0
  49. package/dist/{useAuthkitUsersProfile-CF7t2Y7T.js → useAuthkitUsersProfile-CQOLEAxC.js} +3 -3
  50. package/dist/{useBillingStatusOptions-C8fwW-AI.js → useBillingStatusOptions-BHVLZhEB.js} +1 -1
  51. package/dist/{useBillingSubscriptionSummary-C2E3p68U.js → useBillingSubscriptionSummary-DakAVL-3.js} +1 -1
  52. package/dist/{useEnsureAuthenticated-Q7EHguY4.js → useEnsureAuthenticated-BYGI2uYZ.js} +2 -2
  53. package/dist/{useLegalDocs-DUbab5R9.js → useLegalDocs-BrYWCDh3.js} +6 -5
  54. package/dist/{useMessageNotifications-BXimltcx.js → useMessageNotifications-Dcl8TXr-.js} +1 -1
  55. package/dist/{usePageSEO-D8CocvOJ.js → usePageSEO-BHYaXnDU.js} +12 -13
  56. package/dist/useRoutePermission-BkWHsFxN.js +212 -0
  57. package/dist/{useSubscriptionCheckout-Bic8vKgm.js → useSubscriptionCheckout-QSNro05_.js} +17 -18
  58. package/dist/user.js +1 -1
  59. package/dist/{userMenuModal-D-nDaYqM.js → userMenuModal-B4m4CHlW.js} +1 -1
  60. package/package.json +1 -1
  61. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-BXqxUXuu.js +0 -1516
  62. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  63. package/dist/useAuthkitCreateAndUpdate-CYIcEuub.js +0 -25
  64. package/dist/useRoutePermission-Bvn-J8bp.js +0 -249
@@ -1,26 +1,25 @@
1
1
  import { defineComponent as V, computed as $, openBlock as o, createElementBlock as S, normalizeStyle as G, normalizeClass as ye, renderSlot as Z, createBlock as z, unref as e, createCommentVNode as I, createElementVNode as _, ref as A, createVNode as i, withCtx as p, createTextVNode as q, watchEffect as re, Fragment as D, renderList as ue, useModel as Ue, watch as we, toDisplayString as M, mergeModels as $e, useSlots as Re, onMounted as H, onUnmounted as de, Teleport as Te } from "vue";
2
2
  import { useRouter as be, useRoute as qe } from "vue-router";
3
+ import { g as x, u as _e } from "./apiClients-5u4_uxFE.js";
3
4
  /* empty css */
4
- /* empty css */
5
- import "./userMenuModal-D-nDaYqM.js";
6
- import { Message as oe, Form as E, FormItem as P, Input as C, Button as x, Link as Y, Tabs as ce, TabPane as pe, Checkbox as Oe, Modal as Le, List as xe, ListItem as le, ListItemMeta as ne, Avatar as se, Alert as ve, Spin as Be, Empty as Me } from "@arco-design/web-vue";
7
- import { a as F, u as N } from "./useAuthkitAuth-CO61XogP.js";
8
- import { g as B, u as _e } from "./apiClients-8_c5cDW5.js";
9
- import { u as j } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
10
- import { o as ge, j as Fe, k as he, l as ke, u as De, m as He, n as X, p as Ee, i as Se, S as K, q as W, r as ze, s as Ie, t as te, v as Ge, w as Ne, b as je } from "./AuthkitAppSetting-DhLRYlL_.js";
5
+ import "./userMenuModal-B4m4CHlW.js";
6
+ import { Message as oe, Form as E, FormItem as P, Input as C, Button as B, Link as Y, Tabs as ce, TabPane as pe, Checkbox as Oe, Modal as Le, List as xe, ListItem as le, ListItemMeta as ne, Avatar as se, Alert as ve, Spin as Be, Empty as Me } from "@arco-design/web-vue";
7
+ import { a as F, u as N } from "./useAuthkitAuth-CV60Hc3o.js";
8
+ import { u as j } from "./useAuthkitAppsAuthPageInfo-CsivtUQH.js";
9
+ import { o as ge, j as Fe, k as he, l as ke, u as De, m as He, n as X, p as Ee, i as Se, S as K, q as W, r as ze, s as Ie, t as te, v as Ge, w as Ne, b as je } from "./AuthkitAppSetting-Cg8j3nES.js";
11
10
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
11
  /* empty css */
13
- import "./index-D9YtlhTa.js";
12
+ import "./index-5OR_BVTz.js";
14
13
  /* empty css */
15
- import { u as Ae, L as Ke, i as We } from "./useLegalDocs-DUbab5R9.js";
16
- import { u as me, g as Je } from "./runtime-CDEl4QQl.js";
17
- import { u as Pe } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
14
+ import { u as Ae, L as Ke, i as We } from "./useLegalDocs-BrYWCDh3.js";
15
+ import { u as me, g as Je } from "./runtime-B-tHI8-q.js";
16
+ import { u as Pe } from "./useAuthkitUsersProfile-CQOLEAxC.js";
18
17
  /* empty css */
19
18
  /* empty css */
20
- import "./CustomTable-B1KjkixL.js";
19
+ import "./CustomTable-C15Dgbks.js";
21
20
  /* empty css */
22
21
  import { TiptapEditor as Qe, TiptapTitle as Xe } from "@huyooo/vue-tiptap";
23
- import { f as Ye } from "./fetchAuthPageAboutUs--dArFYk6.js";
22
+ import { f as Ye } from "./fetchAuthPageAboutUs-C-jQ44QK.js";
24
23
  const Ze = ["title", "aria-label", "disabled"], et = {
25
24
  key: 0,
26
25
  class: "OAuthItem__spinner"
@@ -196,7 +195,7 @@ const Ze = ["title", "aria-label", "disabled"], et = {
196
195
  async function d() {
197
196
  if (!await a.value.validateField(["email"])) {
198
197
  v.value = !0;
199
- const m = await B().auth.verify.email.retry.post({
198
+ const m = await x().auth.verify.email.retry.post({
200
199
  email: s.value.email,
201
200
  purpose: "resetPassword"
202
201
  });
@@ -301,7 +300,7 @@ const Ze = ["title", "aria-label", "disabled"], et = {
301
300
  autocomplete: ""
302
301
  }, null, 8, ["modelValue"])]),
303
302
  _: 1
304
- }, 8, ["rules"]), _("div", rt, [i(e(x), {
303
+ }, 8, ["rules"]), _("div", rt, [i(e(B), {
305
304
  type: "primary",
306
305
  loading: n.loading,
307
306
  long: "",
@@ -358,7 +357,7 @@ const Ze = ["title", "aria-label", "disabled"], et = {
358
357
  async function b() {
359
358
  if (!await a.value.validateField(["phone"])) {
360
359
  v.value = !0;
361
- const r = await B().auth.verify.sms.send.post({
360
+ const r = await x().auth.verify.sms.send.post({
362
361
  phone: s.value.phone,
363
362
  purpose: "resetPassword"
364
363
  });
@@ -461,7 +460,7 @@ const Ze = ["title", "aria-label", "disabled"], et = {
461
460
  autocomplete: "new-password"
462
461
  }, null, 8, ["modelValue"])]),
463
462
  _: 1
464
- }), i(e(x), {
463
+ }), i(e(B), {
465
464
  type: "primary",
466
465
  loading: n.loading,
467
466
  long: "",
@@ -742,7 +741,7 @@ const It = {
742
741
  autocomplete: "current-password"
743
742
  }, null, 8, ["modelValue"])]),
744
743
  _: 1
745
- }), _("div", Vt, [i(e(x), {
744
+ }), _("div", Vt, [i(e(B), {
746
745
  type: "primary",
747
746
  loading: a.loading,
748
747
  long: "",
@@ -805,7 +804,7 @@ const It = {
805
804
  async function m() {
806
805
  if (!await b.value.validateField(["phone"])) {
807
806
  d.value = !0;
808
- const c = await B().auth.verify.sms.send.post({
807
+ const c = await x().auth.verify.sms.send.post({
809
808
  phone: t.value.phone,
810
809
  purpose: "signIn"
811
810
  });
@@ -873,7 +872,7 @@ const It = {
873
872
  onSend: m
874
873
  }, null, 8, ["size", "loading"])])]),
875
874
  _: 1
876
- }), _("div", qt, [i(e(x), {
875
+ }), _("div", qt, [i(e(B), {
877
876
  type: "primary",
878
877
  loading: a.loading,
879
878
  long: "",
@@ -936,7 +935,7 @@ const It = {
936
935
  var c;
937
936
  if (!await b.value.validateField(["email"])) {
938
937
  d.value = !0;
939
- const f = await B().auth.verify.email.retry.post({
938
+ const f = await x().auth.verify.email.retry.post({
940
939
  email: t.value.email,
941
940
  purpose: "signIn"
942
941
  });
@@ -1002,7 +1001,7 @@ const It = {
1002
1001
  onSend: m
1003
1002
  }, null, 8, ["size", "loading"])])]),
1004
1003
  _: 1
1005
- }), _("div", Mt, [i(e(x), {
1004
+ }), _("div", Mt, [i(e(B), {
1006
1005
  type: "primary",
1007
1006
  loading: a.loading,
1008
1007
  long: "",
@@ -1210,7 +1209,7 @@ const It = {
1210
1209
  async function m() {
1211
1210
  if (!await b.value.validateField(["email"])) {
1212
1211
  d.value = !0;
1213
- const c = await B().auth.verify.email.retry.post({
1212
+ const c = await x().auth.verify.email.retry.post({
1214
1213
  email: t.value.email,
1215
1214
  purpose: a.purpose
1216
1215
  });
@@ -1333,7 +1332,7 @@ const It = {
1333
1332
  autocomplete: "off"
1334
1333
  }, null, 8, ["modelValue"])]),
1335
1334
  _: 1
1336
- }), _("div", Yt, [i(e(x), {
1335
+ }), _("div", Yt, [i(e(B), {
1337
1336
  type: "primary",
1338
1337
  loading: a.loading,
1339
1338
  long: "",
@@ -1419,7 +1418,7 @@ const It = {
1419
1418
  async function w() {
1420
1419
  if (!await b.value.validateField(["phone"])) {
1421
1420
  d.value = !0;
1422
- const h = await B().auth.verify.sms.send.post({
1421
+ const h = await x().auth.verify.sms.send.post({
1423
1422
  phone: t.value.phone,
1424
1423
  purpose: "signUp"
1425
1424
  });
@@ -1540,7 +1539,7 @@ const It = {
1540
1539
  autocomplete: "off"
1541
1540
  }, null, 8, ["modelValue"])]),
1542
1541
  _: 1
1543
- }), _("div", as, [i(e(x), {
1542
+ }), _("div", as, [i(e(B), {
1544
1543
  type: "primary",
1545
1544
  loading: a.loading,
1546
1545
  long: "",
@@ -1886,7 +1885,7 @@ const ks = {
1886
1885
  class: "AuthkitOAuthCallbackOverlay__text"
1887
1886
  }, "正在登录...")], -1)])])) : I("", !0)]));
1888
1887
  }
1889
- }), zs = /* @__PURE__ */ U(Ss, [["__scopeId", "data-v-7162b776"]]), gi = /* @__PURE__ */ V({
1888
+ }), zs = /* @__PURE__ */ U(Ss, [["__scopeId", "data-v-7162b776"]]), vi = /* @__PURE__ */ V({
1890
1889
  __name: "AuthkitProvider",
1891
1890
  props: {
1892
1891
  handleOAuthCallback: {
@@ -2058,7 +2057,7 @@ const ks = {
2058
2057
  })
2059
2058
  }, " 返回主页 ", 12, As)) : I("", !0)]), _("div", Ps, [Z(n.$slots, "default", {}, void 0, !0)])], 4));
2060
2059
  }
2061
- }), hi = /* @__PURE__ */ U(Vs, [["__scopeId", "data-v-0e13d3ff"]]), Cs = {
2060
+ }), gi = /* @__PURE__ */ U(Vs, [["__scopeId", "data-v-0e13d3ff"]]), Cs = {
2062
2061
  class: "box"
2063
2062
  }, Us = {
2064
2063
  class: "title"
@@ -2130,7 +2129,7 @@ const ks = {
2130
2129
  const {
2131
2130
  data: a,
2132
2131
  error: s
2133
- } = await B().auth.apps.authPageInfo.post({
2132
+ } = await x().auth.apps.authPageInfo.post({
2134
2133
  clientKey: Je().config.clientKey
2135
2134
  });
2136
2135
  s || !a || (n.value = {
@@ -2146,7 +2145,7 @@ const ks = {
2146
2145
  const {
2147
2146
  data: a,
2148
2147
  error: s
2149
- } = await B().auth.oauth2.authorize.post({
2148
+ } = await x().auth.oauth2.authorize.post({
2150
2149
  client_id: l.clientId,
2151
2150
  response_type: l.responseType,
2152
2151
  scope: l.scope,
@@ -2213,7 +2212,7 @@ const ks = {
2213
2212
  _: 1
2214
2213
  })]),
2215
2214
  _: 1
2216
- }), i(e(x), {
2215
+ }), i(e(B), {
2217
2216
  type: "primary",
2218
2217
  size: l.size,
2219
2218
  loading: u.value,
@@ -2225,7 +2224,7 @@ const ks = {
2225
2224
  class: "redirect-hint"
2226
2225
  }, "授权后将跳转至", -1)), _("div", Ts, M(n.value.authorizationCallback), 1)])])]));
2227
2226
  }
2228
- }), yi = /* @__PURE__ */ U(qs, [["__scopeId", "data-v-11c1752e"]]), Os = {
2227
+ }), hi = /* @__PURE__ */ U(qs, [["__scopeId", "data-v-11c1752e"]]), Os = {
2229
2228
  class: "oauth-callback"
2230
2229
  }, Ls = {
2231
2230
  key: 0,
@@ -2290,7 +2289,7 @@ const ks = {
2290
2289
  class: "success-icon"
2291
2290
  }, "✓", -1)), _("p", null, M(g.value), 1)]))]));
2292
2291
  }
2293
- }), wi = /* @__PURE__ */ U(Ms, [["__scopeId", "data-v-f022e372"]]), Fs = {
2292
+ }), yi = /* @__PURE__ */ U(Ms, [["__scopeId", "data-v-f022e372"]]), Fs = {
2294
2293
  class: "oauth-binding-account"
2295
2294
  }, Ds = {
2296
2295
  key: 1,
@@ -2333,7 +2332,7 @@ const ks = {
2333
2332
  const {
2334
2333
  data: h,
2335
2334
  error: k
2336
- } = await B().auth.oauth.github.login.get({
2335
+ } = await x().auth.oauth.github.login.get({
2337
2336
  appId: f,
2338
2337
  mode: "bind",
2339
2338
  redirectUri: b()
@@ -2343,7 +2342,7 @@ const ks = {
2343
2342
  async function r() {
2344
2343
  const {
2345
2344
  error: f
2346
- } = await B().auth.users.unbind.oauth.post({
2345
+ } = await x().auth.users.unbind.oauth.post({
2347
2346
  provider: "github"
2348
2347
  });
2349
2348
  f || (oe.success("解绑成功"), g.value = "hidden", n());
@@ -2364,7 +2363,7 @@ const ks = {
2364
2363
  key: 0,
2365
2364
  title: "绑定GitHub"
2366
2365
  }, {
2367
- action: p(() => [i(e(x), {
2366
+ action: p(() => [i(e(B), {
2368
2367
  size: s.size,
2369
2368
  type: "primary",
2370
2369
  onClick: h[0] || (h[0] = (R) => t("bind"))
@@ -2378,7 +2377,7 @@ const ks = {
2378
2377
  key: 1,
2379
2378
  title: "解绑GitHub"
2380
2379
  }, {
2381
- action: p(() => [i(e(x), {
2380
+ action: p(() => [i(e(B), {
2382
2381
  size: s.size,
2383
2382
  type: "primary",
2384
2383
  onClick: h[1] || (h[1] = (R) => t("unbind"))
@@ -2410,7 +2409,7 @@ const ks = {
2410
2409
  }, null, 8, ["size", "email"])) : I("", !0)], 64);
2411
2410
  };
2412
2411
  }
2413
- }), bi = /* @__PURE__ */ U(Gs, [["__scopeId", "data-v-1cfa8892"]]), Ns = /* @__PURE__ */ V({
2412
+ }), wi = /* @__PURE__ */ U(Gs, [["__scopeId", "data-v-1cfa8892"]]), Ns = /* @__PURE__ */ V({
2414
2413
  __name: "LegalDocViewer",
2415
2414
  props: {
2416
2415
  type: {},
@@ -2458,23 +2457,23 @@ const ks = {
2458
2457
  description: "暂无内容"
2459
2458
  }));
2460
2459
  }
2461
- }), _i = /* @__PURE__ */ U(Ns, [["__scopeId", "data-v-fe9a3621"]]);
2460
+ }), bi = /* @__PURE__ */ U(Ns, [["__scopeId", "data-v-fe9a3621"]]);
2462
2461
  export {
2463
2462
  ws as A,
2464
2463
  es as E,
2465
- _i as L,
2464
+ bi as L,
2466
2465
  Q as O,
2467
2466
  Ut as P,
2468
2467
  _t as R,
2469
2468
  ee as S,
2470
- gi as _,
2471
- hi as a,
2469
+ vi as _,
2470
+ gi as a,
2472
2471
  _s as b,
2473
2472
  Ve as c,
2474
- yi as d,
2475
- bi as e,
2473
+ hi as d,
2474
+ wi as e,
2476
2475
  zs as f,
2477
- wi as g,
2476
+ yi as g,
2478
2477
  ot as h,
2479
2478
  dt as i,
2480
2479
  ft as j,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as W, openBlock as u, createElementBlock as i, normalizeClass as k, unref as p, createBlock as h, createCommentVNode as v, createElementVNode as f, toDisplayString as A, ref as F, watch as S, Fragment as y, renderList as $, createVNode as E, Transition as O, withCtx as R, withDirectives as j, vShow as G } from "vue";
2
2
  import { Icon as b } from "@iconify/vue";
3
- /* empty css */
3
+ import "./apiClients-5u4_uxFE.js";
4
4
  import { Badge as L } from "@arco-design/web-vue";
5
5
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const P = ["logos:", "simple-icons:", "selfhst:"];
@@ -1,16 +1,15 @@
1
1
  import { defineComponent as $, computed as D, openBlock as p, createElementBlock as S, toDisplayString as B, createBlock as b, unref as _, ref as f, withCtx as y, createVNode as C, createCommentVNode as h, Fragment as Z, renderList as se, normalizeClass as ee, watch as te, createElementVNode as V, createTextVNode as z, resolveDynamicComponent as ie, useModel as oe, isRef as le, mergeModels as Q } from "vue";
2
+ import { g as A } from "./apiClients-5u4_uxFE.js";
2
3
  /* empty css */
4
+ import { U as re } from "./userMenuModal-B4m4CHlW.js";
3
5
  /* empty css */
4
- import { U as re } from "./userMenuModal-D-nDaYqM.js";
5
- /* empty css */
6
- import { M as q, a as j, u as ue } from "./MessageList-BK4u5DCH.js";
6
+ import { M as q, a as j, u as ue } from "./MessageList-DdDKl9wk.js";
7
7
  import { Descriptions as ce, Spin as ae, Breadcrumb as F, BreadcrumbItem as E, Tag as K, Modal as de } from "@arco-design/web-vue";
8
- import { g as A } from "./apiClients-8_c5cDW5.js";
9
8
  import { TiptapEditor as pe, TiptapTitle as fe } from "@huyooo/vue-tiptap";
10
9
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
10
  import { Icon as ge } from "@iconify/vue";
12
- import { u as ve } from "./useAuthkitCreateAndUpdate-CYIcEuub.js";
13
- import { M as ye } from "./Menu-uCexrsKP.js";
11
+ import { u as ve } from "./useAuthkitCreateAndUpdate-DJIn96EE.js";
12
+ import { M as ye } from "./Menu-C6NA8hCs.js";
14
13
  function P(a, t, u) {
15
14
  if (a == null || a === "")
16
15
  return "—";
@@ -80,18 +79,18 @@ const _e = {
80
79
  }, null, 8, ["data"])) : (p(), S("pre", he, B(o.value), 1))]));
81
80
  }
82
81
  }), X = /* @__PURE__ */ R(Ae, [["__scopeId", "data-v-e61c87e4"]]), J = /* @__PURE__ */ new Map();
83
- function bt(a, t) {
82
+ function _t(a, t) {
84
83
  const u = a.trim();
85
84
  u && J.set(u, t);
86
85
  }
87
- function ht(a) {
86
+ function bt(a) {
88
87
  return J.has(a.trim());
89
88
  }
90
89
  function Ce(a) {
91
90
  const t = a.trim();
92
91
  return t ? J.get(t) ?? X : X;
93
92
  }
94
- function At() {
93
+ function ht() {
95
94
  return [...J.keys()];
96
95
  }
97
96
  const Se = /* @__PURE__ */ $({
@@ -1212,12 +1211,12 @@ const Fe = {
1212
1211
  onCancel: d
1213
1212
  }, null, 8, ["selected-keys", "menus"]));
1214
1213
  }
1215
- }), Ct = /* @__PURE__ */ R(it, [["__scopeId", "data-v-2e2a72d0"]]);
1214
+ }), At = /* @__PURE__ */ R(it, [["__scopeId", "data-v-2e2a72d0"]]);
1216
1215
  export {
1217
1216
  Oe as C,
1218
1217
  G as D,
1219
1218
  je as E,
1220
- Ct as M,
1219
+ At as M,
1221
1220
  tt as N,
1222
1221
  st as _,
1223
1222
  ke as a,
@@ -1227,7 +1226,7 @@ export {
1227
1226
  Qe as e,
1228
1227
  H as f,
1229
1228
  Ce as g,
1230
- ht as h,
1231
- At as l,
1232
- bt as r
1229
+ bt as h,
1230
+ ht as l,
1231
+ _t as r
1233
1232
  };
@@ -1,7 +1,6 @@
1
1
  import { ref as z, computed as I, readonly as V, defineComponent as b, openBlock as i, createElementBlock as v, normalizeClass as M, createElementVNode as m, createCommentVNode as k, renderSlot as r, toDisplayString as B, createBlock as g, unref as f, withCtx as l, createTextVNode as c, createVNode as N, Fragment as S, renderList as L, createSlots as _, mergeProps as p } from "vue";
2
- import { g as C } from "./apiClients-8_c5cDW5.js";
3
- /* empty css */
4
- import { I as E } from "./userMenuModal-D-nDaYqM.js";
2
+ import { g as C } from "./apiClients-5u4_uxFE.js";
3
+ import { I as E } from "./userMenuModal-B4m4CHlW.js";
5
4
  import { Tag as $, Button as P, Empty as U } from "@arco-design/web-vue";
6
5
  /* empty css */
7
6
  /* empty css */
@@ -58,7 +57,7 @@ function j(e) {
58
57
  const o = F[e];
59
58
  return o ? n.value[o] : 0;
60
59
  }
61
- function me() {
60
+ function le() {
62
61
  return {
63
62
  counts: V(n),
64
63
  messageCenterUnreadTotal: A,
@@ -234,11 +233,11 @@ const q = {
234
233
  onInfinite: y[0] || (y[0] = (d) => s.$emit("loadMore"))
235
234
  }, null, 8, ["loading", "finished"])], 64))]));
236
235
  }
237
- }), de = /* @__PURE__ */ R(ee, [["__scopeId", "data-v-6e67bdb5"]]);
236
+ }), me = /* @__PURE__ */ R(ee, [["__scopeId", "data-v-6e67bdb5"]]);
238
237
  export {
239
- de as M,
238
+ me as M,
240
239
  T as a,
241
240
  A as m,
242
241
  D as r,
243
- me as u
242
+ le as u
244
243
  };
@@ -1,25 +1,24 @@
1
+ import { g as I } from "./apiClients-5u4_uxFE.js";
1
2
  /* empty css */
2
3
  /* empty css */
3
4
  /* empty css */
4
5
  /* empty css */
6
+ import { U as Ut } from "./userMenuModal-B4m4CHlW.js";
5
7
  /* empty css */
6
- import { U as Ut } from "./userMenuModal-D-nDaYqM.js";
7
8
  /* empty css */
8
- /* empty css */
9
- import { g as I } from "./apiClients-8_c5cDW5.js";
10
- import { C as Be } from "./index-D9YtlhTa.js";
9
+ import { C as Be } from "./index-5OR_BVTz.js";
11
10
  import { ref as y, onUnmounted as je, defineComponent as Et, computed as $, openBlock as u, createElementBlock as d, Fragment as G, createVNode as p, unref as n, isRef as Rt, withCtx as s, createElementVNode as a, toDisplayString as o, createBlock as V, createTextVNode as m, createCommentVNode as O, renderList as Me, normalizeClass as $e } from "vue";
12
11
  import { Modal as He, Button as w, Popconfirm as ae, Tabs as Bt, TabPane as ie, Spin as ge, Empty as Ye, Progress as Mt, Tooltip as ye, Tag as J, InputNumber as $t, Message as H } from "@arco-design/web-vue";
13
- import { useBillingSubscriptionSummary as Ht } from "./useBillingSubscriptionSummary-C2E3p68U.js";
14
- import { u as Yt, b as Dt, a as Vt } from "./useBillingStatusOptions-C8fwW-AI.js";
15
- import { u as qt } from "./useAuthkitCreateAndUpdate-CYIcEuub.js";
16
- import { g as jt } from "./runtime-CDEl4QQl.js";
17
- import { C as be } from "./CustomTable-B1KjkixL.js";
12
+ import { useBillingSubscriptionSummary as Ht } from "./useBillingSubscriptionSummary-DakAVL-3.js";
13
+ import { u as Yt, b as Dt, a as Vt } from "./useBillingStatusOptions-BHVLZhEB.js";
14
+ import { u as qt } from "./useAuthkitCreateAndUpdate-DJIn96EE.js";
15
+ import { g as jt } from "./runtime-B-tHI8-q.js";
16
+ import { C as be } from "./CustomTable-C15Dgbks.js";
18
17
  import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
18
  function Gt(i, c) {
20
19
  return i ? i.acquiredBy === "subscribe" ? c > 0 ? "修改订阅" : "" : c > 0 ? "升级" : "" : c > 0 ? "订阅" : "查看价格方案";
21
20
  }
22
- function $a(i, c, f = !0) {
21
+ function Ma(i, c, f = !0) {
23
22
  return f ? i ? !!Gt(i, c) : !0 : !1;
24
23
  }
25
24
  function De(i, c) {
@@ -203,7 +202,7 @@ function Ge() {
203
202
  verifyNow: b
204
203
  };
205
204
  }
206
- function Ha(i) {
205
+ function $a(i) {
207
206
  const c = y("loading"), f = y("正在确认支付结果..."), {
208
207
  checking: g,
209
208
  statusText: b,
@@ -1371,14 +1370,14 @@ const cn = {
1371
1370
  _: 1
1372
1371
  }, 8, ["visible"])], 64));
1373
1372
  }
1374
- }), Ya = /* @__PURE__ */ Kt(ka, [["__scopeId", "data-v-590e0748"]]);
1373
+ }), Ha = /* @__PURE__ */ Kt(ka, [["__scopeId", "data-v-590e0748"]]);
1375
1374
  export {
1376
- Ya as P,
1377
- Ha as a,
1375
+ Ha as P,
1376
+ $a as a,
1378
1377
  Gt as b,
1379
1378
  _e as f,
1380
1379
  De as g,
1381
- $a as s,
1380
+ Ma as s,
1382
1381
  Ge as u,
1383
1382
  nn as v
1384
1383
  };
@@ -1,17 +1,16 @@
1
- /* empty css */
2
- import "./userMenuModal-D-nDaYqM.js";
3
- import { g as ee } from "./apiClients-8_c5cDW5.js";
1
+ import { g as ee } from "./apiClients-5u4_uxFE.js";
2
+ import "./userMenuModal-B4m4CHlW.js";
4
3
  /* empty css */
5
4
  import { defineComponent as O, computed as B, onMounted as se, onUnmounted as me, openBlock as n, createElementBlock as s, createElementVNode as i, unref as e, createBlock as U, toDisplayString as l, createVNode as m, withCtx as y, createTextVNode as R, ref as te, watch as ve, resolveDirective as pe, withDirectives as ye, normalizeClass as w, Fragment as T, renderList as I, createCommentVNode as p } from "vue";
6
5
  import { Spin as ie, Button as S, Message as ae } from "@arco-design/web-vue";
7
6
  import { useRoute as he, useRouter as ke } from "vue-router";
8
- import { a as be } from "./PaySubscriptions-tJSQUmhE.js";
7
+ import { a as be } from "./PaySubscriptions-ZSvRTG2i.js";
9
8
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
9
  import { L as Ce, a as we, b as Te } from "./LandingPageSectionHeader-3hiuw6G0.js";
11
10
  import { Icon as ne } from "@iconify/vue";
12
- import { u as Ie, a as Be } from "./useSubscriptionCheckout-Bic8vKgm.js";
13
- import { u as Re } from "./useEnsureAuthenticated-Q7EHguY4.js";
14
- const ht = "/Pay/Return";
11
+ import { u as Ie, a as Be } from "./useSubscriptionCheckout-QSNro05_.js";
12
+ import { u as Re } from "./useEnsureAuthenticated-BYGI2uYZ.js";
13
+ const yt = "/Pay/Return";
15
14
  function K(r) {
16
15
  const P = typeof r.scene == "string" ? r.scene : null, u = typeof r.orderId == "string" ? r.orderId : null, d = typeof r.returnTo == "string" ? r.returnTo.trim() : null, _ = d != null && d.startsWith("/") && !d.startsWith("//") ? d : null;
17
16
  return P !== "subscription" && P !== "recharge" && P !== "agreement" ? {
@@ -130,7 +129,7 @@ const Ae = {
130
129
  _: 1
131
130
  })]))])]));
132
131
  }
133
- }), kt = /* @__PURE__ */ W(Ne, [["__scopeId", "data-v-65b534f9"]]), xe = /* @__PURE__ */ O({
132
+ }), ht = /* @__PURE__ */ W(Ne, [["__scopeId", "data-v-65b534f9"]]), xe = /* @__PURE__ */ O({
134
133
  __name: "PricingFAQ",
135
134
  props: {
136
135
  title: {
@@ -186,7 +185,7 @@ const Ae = {
186
185
  _: 1
187
186
  }));
188
187
  }
189
- }), bt = /* @__PURE__ */ W(xe, [["__scopeId", "data-v-fcab2f05"]]), Ee = {
188
+ }), kt = /* @__PURE__ */ W(xe, [["__scopeId", "data-v-fcab2f05"]]), Ee = {
190
189
  class: "PricingPlans"
191
190
  }, ze = {
192
191
  class: "PricingPlans__trialMain"
@@ -437,12 +436,12 @@ const Ae = {
437
436
  }, 8, ["loading"])), [[k]])]);
438
437
  };
439
438
  }
440
- }), Ct = /* @__PURE__ */ W(rt, [["__scopeId", "data-v-3764965c"]]);
439
+ }), bt = /* @__PURE__ */ W(rt, [["__scopeId", "data-v-3764965c"]]);
441
440
  export {
442
- ht as P,
443
- kt as a,
444
- bt as b,
445
- Ct as c,
441
+ yt as P,
442
+ ht as a,
443
+ kt as b,
444
+ bt as c,
446
445
  K as p,
447
446
  Se as r
448
447
  };
@@ -1,14 +1,13 @@
1
+ import { g as V } from "./apiClients-5u4_uxFE.js";
1
2
  /* empty css */
2
- /* empty css */
3
- import { U as V } from "./userMenuModal-D-nDaYqM.js";
3
+ import { U as W } from "./userMenuModal-B4m4CHlW.js";
4
4
  import { defineComponent as U, computed as k, openBlock as M, createElementBlock as R, createVNode as b, unref as o, withCtx as I, createTextVNode as A, toDisplayString as g, createElementVNode as m, createCommentVNode as w, ref as _, createBlock as x } from "vue";
5
- import { Avatar as W, Modal as z } from "@arco-design/web-vue";
6
- import { g as B } from "./apiClients-8_c5cDW5.js";
7
- import { C as P } from "./CustomTable-B1KjkixL.js";
8
- import { C as G } from "./index-D9YtlhTa.js";
5
+ import { Avatar as z, Modal as B } from "@arco-design/web-vue";
6
+ import { C as P } from "./CustomTable-C15Dgbks.js";
7
+ import { C as G } from "./index-5OR_BVTz.js";
9
8
  /* empty css */
10
9
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { u as H } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
10
+ import { u as H } from "./useAuthkitUsersProfile-CQOLEAxC.js";
12
11
  const j = {
13
12
  email: "邮箱",
14
13
  phone: "手机",
@@ -34,11 +33,11 @@ function L(e, t) {
34
33
  function S(e) {
35
34
  return i(e.email) || i(e.phone);
36
35
  }
37
- function ge(e) {
36
+ function _e(e) {
38
37
  const t = S(e);
39
38
  return L(e.nickname, e.userId) ? i(e.nickname) : t || i(e.nickname);
40
39
  }
41
- function he(e) {
40
+ function ge(e) {
42
41
  const t = S(e);
43
42
  return !L(e.nickname, e.userId) || !t ? "" : t;
44
43
  }
@@ -76,7 +75,7 @@ const X = {
76
75
  },
77
76
  setup(e) {
78
77
  const t = e, r = k(() => T(t.user, t.userId)), a = k(() => J(t.user)), n = k(() => K(t.user, t.userId)), l = k(() => Q(t.user));
79
- return (c, p) => (M(), R("div", X, [b(o(W), {
78
+ return (c, v) => (M(), R("div", X, [b(o(z), {
80
79
  size: 32,
81
80
  "image-url": l.value,
82
81
  "object-fit": "cover"
@@ -88,7 +87,7 @@ const X = {
88
87
  }), te = /* @__PURE__ */ D(ee, [["__scopeId", "data-v-8e8704b9"]]);
89
88
  function re(e, t = {}) {
90
89
  const r = t.pageSize ?? 10, a = _([]), n = _(!1), l = _(!1), c = _(1);
91
- async function p() {
90
+ async function v() {
92
91
  if (!n.value) {
93
92
  c.value = 1, l.value = !1, n.value = !0;
94
93
  try {
@@ -120,7 +119,7 @@ function re(e, t = {}) {
120
119
  items: a,
121
120
  loading: n,
122
121
  finished: l,
123
- refresh: p,
122
+ refresh: v,
124
123
  loadMore: N
125
124
  };
126
125
  }
@@ -158,19 +157,19 @@ const ae = {
158
157
  tooltip: !0
159
158
  }], {
160
159
  items: c,
161
- loading: p,
160
+ loading: v,
162
161
  finished: N,
163
162
  refresh: s,
164
163
  loadMore: f
165
164
  } = re(async ({
166
- current: v,
165
+ current: p,
167
166
  pageSize: d
168
167
  }) => {
169
168
  const {
170
169
  data: u,
171
170
  error: C
172
- } = await B().auth.referrer.referees.post({
173
- current: v,
171
+ } = await V().auth.referrer.referees.post({
172
+ current: p,
174
173
  pageSize: d
175
174
  });
176
175
  return C || !u ? {
@@ -182,18 +181,18 @@ const ae = {
182
181
  function $() {
183
182
  h.value = !1, a("cancel");
184
183
  }
185
- function E(v) {
186
- h.value = v, v && s();
184
+ function E(p) {
185
+ h.value = p, p && s();
187
186
  }
188
187
  return t({
189
188
  setData: E,
190
189
  refresh: s
191
- }), (v, d) => (M(), x(o(z), {
190
+ }), (p, d) => (M(), x(o(B), {
192
191
  visible: h.value,
193
192
  "onUpdate:visible": d[0] || (d[0] = (u) => h.value = u),
194
193
  title: "我的邀请",
195
- width: o(V),
196
- "ok-loading": o(p),
194
+ width: o(W),
195
+ "ok-loading": o(v),
197
196
  footer: !1,
198
197
  "mask-closable": !1,
199
198
  "unmount-on-close": "",
@@ -210,7 +209,7 @@ const ae = {
210
209
  }, null, 8, ["value"])) : w("", !0)])]), b(P, {
211
210
  columns: l,
212
211
  data: o(c),
213
- loading: o(p),
212
+ loading: o(v),
214
213
  "infinite-scroll": "",
215
214
  finished: o(N),
216
215
  onLoadMore: o(f)
@@ -230,9 +229,9 @@ const ae = {
230
229
  _: 1
231
230
  }, 8, ["visible", "width", "ok-loading"]));
232
231
  }
233
- }), Ce = /* @__PURE__ */ D(oe, [["__scopeId", "data-v-2a9dbbaf"]]);
232
+ }), he = /* @__PURE__ */ D(oe, [["__scopeId", "data-v-2a9dbbaf"]]);
234
233
  export {
235
- Ce as R,
236
- he as a,
237
- ge as g
234
+ he as R,
235
+ ge as a,
236
+ _e as g
238
237
  };
@@ -1,4 +1,4 @@
1
- /* empty css */
1
+ import "./apiClients-5u4_uxFE.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -6,7 +6,7 @@
6
6
  /* empty css */
7
7
  import { defineComponent as k, openBlock as h, createBlock as y, unref as S, mergeProps as q, createSlots as v, withCtx as p, renderSlot as a } from "vue";
8
8
  import { Upload as I } from "@arco-design/web-vue";
9
- import { u as _ } from "./runtime-CDEl4QQl.js";
9
+ import { u as _ } from "./runtime-B-tHI8-q.js";
10
10
  const j = /* @__PURE__ */ k({
11
11
  __name: "Upload",
12
12
  props: {