@huyooo/ui 3.0.0 → 3.0.2

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.
@@ -7,7 +7,7 @@ import { Avatar as Ce, Input as Q, Textarea as Fe, Button as T, Message as G, Fo
7
7
  import { f as Je, g as U, b as je, h as Re } from "./apiClients-8_c5cDW5.js";
8
8
  import { C as Qe } from "./index-D9YtlhTa.js";
9
9
  /* empty css */
10
- import { u as ne } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
10
+ import { u as ne } from "./useAuthkitUsersProfile-DSd5VA3_.js";
11
11
  import { u as Se, g as Xe } from "./runtime-CDEl4QQl.js";
12
12
  import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  /* empty css */
@@ -16,7 +16,7 @@ import { C as Ze } from "./CustomTable-B1KjkixL.js";
16
16
  import { u as Ve } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
17
17
  import { Icon as et } from "@iconify/vue";
18
18
  import { i as tt, M as it } from "./Menu-uCexrsKP.js";
19
- import { u as nt } from "./useAuthkitAuth-CO61XogP.js";
19
+ import { u as nt } from "./useAuthkitAuth-DSC6QSKm.js";
20
20
  import { u as at } from "./useAuthkitCreateAndUpdate-CYIcEuub.js";
21
21
  const ot = {
22
22
  class: "personal-information"
@@ -15,7 +15,7 @@ import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  import { r as ht, m as Be, a as wt, M as Ct } from "./MessageList-BK4u5DCH.js";
16
16
  import { f as se } from "./index-D56hUMeD.js";
17
17
  import { Bubble as Le, Sender as St } from "ant-design-x-vue";
18
- import { u as Ut } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
18
+ import { u as Ut } from "./useAuthkitUsersProfile-DSd5VA3_.js";
19
19
  import { u as xt } from "./useUserMenu-ClPBlvaM.js";
20
20
  /* empty css */
21
21
  import { Icon as $t } from "@iconify/vue";
@@ -4,17 +4,17 @@ import { useRouter as be, useRoute as qe } from "vue-router";
4
4
  /* empty css */
5
5
  import "./userMenuModal-D-nDaYqM.js";
6
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";
7
+ import { a as F, u as N } from "./useAuthkitAuth-DSC6QSKm.js";
8
8
  import { g as B, u as _e } from "./apiClients-8_c5cDW5.js";
9
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";
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-DNUAV5I8.js";
11
11
  import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  /* empty css */
13
13
  import "./index-D9YtlhTa.js";
14
14
  /* empty css */
15
15
  import { u as Ae, L as Ke, i as We } from "./useLegalDocs-DUbab5R9.js";
16
16
  import { u as me, g as Je } from "./runtime-CDEl4QQl.js";
17
- import { u as Pe } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
17
+ import { u as Pe } from "./useAuthkitUsersProfile-DSd5VA3_.js";
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  import "./CustomTable-B1KjkixL.js";
@@ -9,8 +9,8 @@ import { a as be } from "./PaySubscriptions-tJSQUmhE.js";
9
9
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  import { L as Ce, a as we, b as Te } from "./LandingPageSectionHeader-3hiuw6G0.js";
11
11
  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";
12
+ import { u as Ie, a as Be } from "./useSubscriptionCheckout-LrwlCr84.js";
13
+ import { u as Re } from "./useEnsureAuthenticated-COQKiCLk.js";
14
14
  const ht = "/Pay/Return";
15
15
  function K(r) {
16
16
  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;
@@ -8,7 +8,7 @@ import { C as P } from "./CustomTable-B1KjkixL.js";
8
8
  import { C as G } from "./index-D9YtlhTa.js";
9
9
  /* empty css */
10
10
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { u as H } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
11
+ import { u as H } from "./useAuthkitUsersProfile-DSd5VA3_.js";
12
12
  const j = {
13
13
  email: "邮箱",
14
14
  phone: "手机",
@@ -3,18 +3,18 @@
3
3
  import "./index-D9YtlhTa.js";
4
4
  import { defineComponent as m, computed as b, openBlock as r, createElementBlock as p, toDisplayString as M, createCommentVNode as U, createVNode as _, unref as n, createBlock as v, withCtx as g, createTextVNode as k, ref as x, createElementVNode as d, watch as A, onMounted as ee, Fragment as Y, normalizeClass as q, renderSlot as w } from "vue";
5
5
  import { Avatar as G, Button as N, Dropdown as te, Badge as ne } from "@arco-design/web-vue";
6
- import { u as R } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
6
+ import { u as R } from "./useAuthkitUsersProfile-DSd5VA3_.js";
7
7
  import { u as y } from "./useUserMenu-ClPBlvaM.js";
8
8
  /* empty css */
9
- import { g as J, a as se, R as ae } from "./ReferrerReferees-QTZnOCJB.js";
9
+ import { g as J, a as se, R as ae } from "./ReferrerReferees-DEdEjkFH.js";
10
10
  import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  /* empty css */
12
12
  import { u as oe } from "./apiClients-8_c5cDW5.js";
13
13
  import { useBillingSubscriptionSummary as ie } from "./useBillingSubscriptionSummary-C2E3p68U.js";
14
14
  import { d as re } from "./useBillingStatusOptions-C8fwW-AI.js";
15
15
  import { f as ue, g as le, b as ce, s as de, P as pe } from "./PaySubscriptions-tJSQUmhE.js";
16
- import { A as me } from "./AuthkitAppSetting-DhLRYlL_.js";
17
- import { c as fe, u as K } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-BXqxUXuu.js";
16
+ import { A as me } from "./AuthkitAppSetting-DNUAV5I8.js";
17
+ import { c as fe, u as K } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-DEuryJ4s.js";
18
18
  import { M as _e } from "./MessageHandle-BKMBtqZM.js";
19
19
  import "./Menu-uCexrsKP.js";
20
20
  import { Icon as ve } from "@iconify/vue";
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as x, ref as A, watch as N, openBlock as o, createElementBlock as a, createElementVNode as s, createVNode as r, unref as c, withCtx as P, createTextVNode as H, renderSlot as z, toDisplayString as T, createCommentVNode as I, onMounted as G, onBeforeUnmount as F, normalizeClass as C, Fragment as B, renderList as E, createBlock as J, Teleport as ve, nextTick as q, computed as L, normalizeStyle as O } from "vue";
2
- import { u as Q } from "./useAuthkitAuth-CO61XogP.js";
2
+ import { u as Q } from "./useAuthkitAuth-DSC6QSKm.js";
3
3
  import "./apiClients-8_c5cDW5.js";
4
4
  import { u as ge } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
5
5
  import { s as ye, a as be } from "./runtime-CDEl4QQl.js";
6
6
  import "@vafast/api-client";
7
7
  /* empty css */
8
8
  import "@arco-design/web-vue";
9
- import "./useAuthkitUsersProfile-CF7t2Y7T.js";
9
+ import "./useAuthkitUsersProfile-DSd5VA3_.js";
10
10
  import { useRouter as X, useRoute as Y } from "vue-router";
11
- import { d as Z, e as ee, f as te, w as ne, a as oe, j as se } from "./useRoutePermission-Bvn-J8bp.js";
11
+ import { d as Z, e as ee, f as te, w as ne, a as oe, j as se } from "./useRoutePermission-DgQlbUBI.js";
12
12
  import "@unhead/vue";
13
13
  import "./useUserMenu-ClPBlvaM.js";
14
- import { c as ae, h as re, k as ie, _ as ue, f as le, j as ce, d as de, g as D, U as ke, i as me } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BQgy_CeZ.js";
14
+ import { c as ae, h as re, k as ie, _ as ue, f as le, j as ce, d as de, g as D, U as ke, i as me } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Bal7vFj8.js";
15
15
  import "./useBillingSubscriptionSummary-C2E3p68U.js";
16
16
  /* empty css */
17
17
  /* empty css */
package/dist/authkit.js CHANGED
@@ -1,12 +1,12 @@
1
- import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as n, e as k, f as d, S as g, g as l, h as p, u as P, i as f } from "./AuthkitAppSetting-DhLRYlL_.js";
2
- import { A as m, a as S, b as L, c as O, d as U, E as w, e as x, f as B, g as D, O as E, h as b, P as y, i as C, j as I, _ as v, R as V, S as _, k as R, l as T, m as G, n as M, o as j, p as z, L as F } from "./LegalDocViewer-DkVW9tCh.js";
1
+ import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as n, e as k, f as d, S as g, g as l, h as p, u as P, i as f } from "./AuthkitAppSetting-DNUAV5I8.js";
2
+ import { A as m, a as S, b as L, c as O, d as U, E as w, e as x, f as B, g as D, O as E, h as b, P as y, i as C, j as I, _ as v, R as V, S as _, k as R, l as T, m as G, n as M, o as j, p as z, L as F } from "./LegalDocViewer-B8nGoL2n.js";
3
3
  import { u as Y } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
4
- import { u as H } from "./useAuthkitAuth-CO61XogP.js";
4
+ import { u as H } from "./useAuthkitAuth-DSC6QSKm.js";
5
5
  import { u as N } from "./apiClients-8_c5cDW5.js";
6
- import { u as W } from "./useEnsureAuthenticated-Q7EHguY4.js";
6
+ import { u as W } from "./useEnsureAuthenticated-COQKiCLk.js";
7
7
  import { L as Z, a as $, b as tt, i as at, o as st, r as it, c as et, u as ut } from "./useLegalDocs-DUbab5R9.js";
8
8
  import { f as At } from "./fetchAuthPageAboutUs--dArFYk6.js";
9
- import { u as rt } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
9
+ import { u as rt } from "./useAuthkitUsersProfile-DSd5VA3_.js";
10
10
  import { u as kt } from "./useAuthkitCreateAndUpdate-CYIcEuub.js";
11
11
  export {
12
12
  s as AuthkitAppSetting,
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-BEeYYOat.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-Ck7Cr5Wc.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-B1KjkixL.js";
4
4
  import { L } from "./Logo-B9DFBxDU.js";
@@ -1,16 +1,16 @@
1
- import { u as a } from "./useAuthkitAuth-CO61XogP.js";
1
+ import { u as a } from "./useAuthkitAuth-DSC6QSKm.js";
2
2
  import { u as t } from "./apiClients-8_c5cDW5.js";
3
3
  import { L as r, a as i, b as n, i as p, o as l, r as c, c as f, u as m } from "./useLegalDocs-DUbab5R9.js";
4
4
  import { f as A } from "./fetchAuthPageAboutUs--dArFYk6.js";
5
- import { u as d } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
5
+ import { u as d } from "./useAuthkitUsersProfile-DSd5VA3_.js";
6
6
  import { u as P } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
7
- import { f as L, a as D, g as O, h as R, b as S, i as C, r as M, c as v, u as U, d as k, e as E, j as T, w as y } from "./useRoutePermission-Bvn-J8bp.js";
7
+ import { f as L, a as D, g as O, h as R, b as S, i as C, r as M, c as v, u as U, d as k, e as E, j as T, w as y } from "./useRoutePermission-DgQlbUBI.js";
8
8
  import { u as B } from "./useAuthkitCreateAndUpdate-CYIcEuub.js";
9
9
  import { u as I } from "./useMessageNotifications-BXimltcx.js";
10
10
  import { c as G, g as K, a as j, s as F, u as N } from "./runtime-CDEl4QQl.js";
11
11
  import { u as Y, a as q, b as z, c as J, d as Q } from "./usePageSEO-D8CocvOJ.js";
12
12
  import { u as X } from "./useUserMenu-ClPBlvaM.js";
13
- import { u as $, a as ss } from "./useSubscriptionCheckout-Bic8vKgm.js";
13
+ import { u as $, a as ss } from "./useSubscriptionCheckout-LrwlCr84.js";
14
14
  import { c as as, u as os, a as ts, b as us } from "./useBillingStatusOptions-C8fwW-AI.js";
15
15
  export {
16
16
  r as LEGAL_DOCS,
package/dist/feedback.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as b, a as s, F as d, b as F, _ as o, c, R as t, V as r } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-BXqxUXuu.js";
1
+ import { B as b, a as s, F as d, b as F, _ as o, c, R as t, V as r } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-DEuryJ4s.js";
2
2
  import { C as i } from "./index-D9YtlhTa.js";
3
3
  import { F as m, a as f, b as n, c as p } from "./FeedbackItem-BP-SiJ2u.js";
4
4
  export {
package/dist/main.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "./styles.js";
2
- import { u as R0 } from "./useAuthkitAuth-CO61XogP.js";
2
+ import { u as R0 } from "./useAuthkitAuth-DSC6QSKm.js";
3
3
  import { c as j0, g as z0, u as W0, w as Y0 } from "./apiClients-8_c5cDW5.js";
4
4
  import { L as K0, a as Q0, b as J0, i as X0, o as e3, r as t3, c as o3, u as a3 } from "./useLegalDocs-DUbab5R9.js";
5
5
  import { f as i3 } from "./fetchAuthPageAboutUs--dArFYk6.js";
6
- import { u as r3 } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
6
+ import { u as r3 } from "./useAuthkitUsersProfile-DSd5VA3_.js";
7
7
  import { u as C3 } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
8
- import { f as d3, a as p3, g as f3, h as u3, b as h3, i as g3, r as _3, c as m3, u as L3, d as F3, e as w3, j as y3, w as M3 } from "./useRoutePermission-Bvn-J8bp.js";
8
+ import { f as d3, a as p3, g as f3, h as u3, b as h3, i as g3, r as _3, c as m3, u as L3, d as F3, e as w3, j as y3, w as M3 } from "./useRoutePermission-DgQlbUBI.js";
9
9
  import { u as v3 } from "./useAuthkitCreateAndUpdate-CYIcEuub.js";
10
10
  import { u as V3 } from "./useMessageNotifications-BXimltcx.js";
11
11
  import { g as J } from "./runtime-CDEl4QQl.js";
@@ -13,13 +13,13 @@ import { H as U3, b as E3, d as k3, c as A3, a as S3, s as G3, u as P3 } from ".
13
13
  import { b as R } from "./usePageSEO-D8CocvOJ.js";
14
14
  import { u as b3, a as B3, c as O3, d as T3 } from "./usePageSEO-D8CocvOJ.js";
15
15
  import { u as $3 } from "./useUserMenu-ClPBlvaM.js";
16
- import { u as N3, a as j3 } from "./useSubscriptionCheckout-Bic8vKgm.js";
16
+ import { u as N3, a as j3 } from "./useSubscriptionCheckout-LrwlCr84.js";
17
17
  import { c as W3, u as Y3, a as q3, b as K3 } from "./useBillingStatusOptions-C8fwW-AI.js";
18
- import { A as J3, B as X3, a as e4, _ as t4, b as o4, O as a4, P as s4, c as i4, d as n4, e as r4, f as c4, S as C4, g as l4, h as d4, u as p4, i as f4 } from "./AuthkitAppSetting-DhLRYlL_.js";
19
- import { A as h4, a as g4, b as _4, c as m4, d as L4, E as F4, e as w4, f as y4, g as M4, O as x4, h as v4, P as Z4, i as V4, j as H4, _ as U4, R as E4, S as k4, k as A4, l as S4, m as G4, n as P4, o as D4, p as b4, L as B4 } from "./LegalDocViewer-DkVW9tCh.js";
20
- import { u as T4 } from "./useEnsureAuthenticated-Q7EHguY4.js";
18
+ import { A as J3, B as X3, a as e4, _ as t4, b as o4, O as a4, P as s4, c as i4, d as n4, e as r4, f as c4, S as C4, g as l4, h as d4, u as p4, i as f4 } from "./AuthkitAppSetting-DNUAV5I8.js";
19
+ import { A as h4, a as g4, b as _4, c as m4, d as L4, E as F4, e as w4, f as y4, g as M4, O as x4, h as v4, P as Z4, i as V4, j as H4, _ as U4, R as E4, S as k4, k as A4, l as S4, m as G4, n as P4, o as D4, p as b4, L as B4 } from "./LegalDocViewer-B8nGoL2n.js";
20
+ import { u as T4 } from "./useEnsureAuthenticated-COQKiCLk.js";
21
21
  import { MessageMenu as $4, MessageMenuItem as R4, MessageNoticeNotificationsDetails as N4 } from "./message.js";
22
- import { B as z4, a as W4, F as Y4, b as q4, _ as K4, c as Q4, R as J4, V as X4 } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-BXqxUXuu.js";
22
+ import { B as z4, a as W4, F as Y4, b as q4, _ as K4, c as Q4, R as J4, V as X4 } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-DEuryJ4s.js";
23
23
  import { C as t6 } from "./index-D9YtlhTa.js";
24
24
  import { F as a6, a as s6, b as i6, c as n6 } from "./FeedbackItem-BP-SiJ2u.js";
25
25
  import { L as c6, a as C6, b as l6, B as d6, C as p6, c as f6, d as u6, e as h6, f as g6, g as _6, h as m6, i as L6, j as F6, k as w6, l as y6, m as M6, n as x6, o as v6, p as Z6, q as V6, r as H6, s as U6, t as E6, u as k6, v as A6, T as S6, w as G6, x as P6, y as D6, z as b6, A as B6, P as O6 } from "./LandingPageSectionTabs-BEAnU8B0.js";
@@ -27,16 +27,16 @@ import { L as I6, a as $6, b as R6 } from "./LandingPageSectionHeader-3hiuw6G0.j
27
27
  import { L as j6, a as z6, b as W6, c as Y6, D as q6, d as K6, e as Q6, f as J6, g as X6, h as e7, i as t7, j as o7, k as a7 } from "./LandingPageLinkGroup-B8ERKG5f.js";
28
28
  import { D as i7 } from "./LandingPageDescription-BczWZHKy.js";
29
29
  import { L as r7, L as c7 } from "./Logo-B9DFBxDU.js";
30
- import { A as l7, a as d7, C as p7, D as f7, G as u7, H as h7, b as g7, S as _7, W as m7 } from "./WidthContainer-BEeYYOat.js";
30
+ import { A as l7, a as d7, C as p7, D as f7, G as u7, H as h7, b as g7, S as _7, W as m7 } from "./WidthContainer-Ck7Cr5Wc.js";
31
31
  import { C as F7, a as w7 } from "./CollapseItem-DUzZA6tx.js";
32
32
  import { C as M7, E as x7 } from "./CustomTable-B1KjkixL.js";
33
33
  import { M as Z7, a as V7 } from "./Menu-uCexrsKP.js";
34
34
  import { P as U7, u as E7, a as k7, v as A7 } from "./PaySubscriptions-tJSQUmhE.js";
35
- import { P as G7, a as P7, b as D7, c as b7, p as B7, r as O7 } from "./PricingPlans-BhcDv8uk.js";
35
+ import { P as G7, a as P7, b as D7, c as b7, p as B7, r as O7 } from "./PricingPlans-B3HVDVac.js";
36
36
  import { useBillingSubscriptionSummary as I7 } from "./useBillingSubscriptionSummary-C2E3p68U.js";
37
- import { R as R7 } from "./ReferrerReferees-QTZnOCJB.js";
37
+ import { R as R7 } from "./ReferrerReferees-DEdEjkFH.js";
38
38
  import { _ as j7 } from "./Upload.vue_vue_type_script_setup_true_lang-CZjNlns_.js";
39
- import { U as W7, a as Y7, b as q7, c as K7, d as Q7, _ as J7, e as X7, f as e5, g as t5, h as o5, i as a5, j as s5, k as i5, l as n5, m as r5 } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BQgy_CeZ.js";
39
+ import { U as W7, a as Y7, b as q7, c as K7, d as Q7, _ as J7, e as X7, f as e5, g as t5, h as o5, i as a5, j as s5, k as i5, l as n5, m as r5 } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Bal7vFj8.js";
40
40
  import { defineComponent as x, computed as Z, openBlock as a, createElementBlock as n, normalizeStyle as X, normalizeClass as N, createElementVNode as t, toDisplayString as h, createCommentVNode as g, createVNode as m, unref as _, createTextVNode as j, withModifiers as z, renderSlot as e2, withCtx as D, Fragment as A, renderList as S, createBlock as U, onMounted as W, ref as P, watch as t2, onUnmounted as o2, withDirectives as a2, createStaticVNode as s2, vShow as i2 } from "vue";
41
41
  import { Icon as V } from "@iconify/vue";
42
42
  import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
package/dist/pay.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { P as e, u as t, a as n, v as r } from "./PaySubscriptions-tJSQUmhE.js";
2
- import { P as i, a as o, b as P, c as p, p as m, r as c } from "./PricingPlans-BhcDv8uk.js";
3
- import { u as g, a as y } from "./useSubscriptionCheckout-Bic8vKgm.js";
2
+ import { P as i, a as o, b as P, c as p, p as m, r as c } from "./PricingPlans-B3HVDVac.js";
3
+ import { u as g, a as y } from "./useSubscriptionCheckout-LrwlCr84.js";
4
4
  import { useBillingSubscriptionSummary as R } from "./useBillingSubscriptionSummary-C2E3p68U.js";
5
5
  import { c as b, u as x, a as v, b as O } from "./useBillingStatusOptions-C8fwW-AI.js";
6
6
  export {
package/dist/referrer.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as f } from "./ReferrerReferees-QTZnOCJB.js";
1
+ import { R as f } from "./ReferrerReferees-DEdEjkFH.js";
2
2
  export {
3
3
  f as ReferrerReferees
4
4
  };
@@ -1,7 +1,7 @@
1
- import { ref as i, computed as h, nextTick as M, readonly as $ } from "vue";
2
- import { o as D, g as c, r as G, s as R } from "./apiClients-8_c5cDW5.js";
1
+ import { ref as u, computed as m, nextTick as M, readonly as $ } from "vue";
2
+ import { o as D, g as f, r as G, s as R } from "./apiClients-8_c5cDW5.js";
3
3
  import { u as K } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
4
- const p = i(!1), g = i(!1);
4
+ const p = u(!1), g = u(!1);
5
5
  let I;
6
6
  const N = "请先阅读并同意用户协议与隐私政策", Y = {
7
7
  required: !1,
@@ -33,30 +33,30 @@ function z(e) {
33
33
  function H() {
34
34
  const {
35
35
  appsData: e
36
- } = K(), t = h(() => e.value.registrationTerms ?? Y), r = h(() => {
36
+ } = K(), t = m(() => e.value.registrationTerms ?? Y), r = m(() => {
37
37
  var n;
38
38
  return ((n = e.value.signUpAuth) == null ? void 0 : n.enabled) !== !1;
39
- }), o = h(() => r.value && !t.value.required);
40
- function l() {
39
+ }), o = m(() => r.value && !t.value.required);
40
+ function i() {
41
41
  return r.value && t.value.required;
42
42
  }
43
- function f() {
44
- return l();
43
+ function d() {
44
+ return i();
45
45
  }
46
46
  function T() {
47
47
  p.value = !1;
48
48
  }
49
49
  function v() {
50
- return !f() || p.value ? !0 : (y(), !1);
50
+ return !d() || p.value ? !0 : (y(), !1);
51
51
  }
52
52
  function S(n) {
53
53
  p.value = n;
54
54
  }
55
55
  function k(n) {
56
- const s = h(() => n === "signUp" ? l() : f()), d = h(() => z(() => s.value));
56
+ const s = m(() => n === "signUp" ? i() : d()), h = m(() => z(() => s.value));
57
57
  return {
58
58
  showTermsField: s,
59
- termsRules: d
59
+ termsRules: h
60
60
  };
61
61
  }
62
62
  return {
@@ -65,8 +65,8 @@ function H() {
65
65
  registrationTerms: t,
66
66
  signUpAuthEnabled: r,
67
67
  registrationBlocked: o,
68
- requiresAcceptanceForSignUp: l,
69
- requiresAcceptanceForOAuth: f,
68
+ requiresAcceptanceForSignUp: i,
69
+ requiresAcceptanceForOAuth: d,
70
70
  resetAcceptedTerms: T,
71
71
  shakeTerms: y,
72
72
  syncAcceptedTerms: S,
@@ -74,21 +74,21 @@ function H() {
74
74
  useTermsFormField: k
75
75
  };
76
76
  }
77
- const a = i("signIn"), j = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), u = i(null), V = "jwtToken";
77
+ const c = u("signIn"), j = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), a = u(null), V = "jwtToken";
78
78
  function O() {
79
79
  try {
80
80
  const e = localStorage.getItem(V);
81
81
  if (e)
82
- return u.value = e, !0;
82
+ return a.value = e, !0;
83
83
  } catch (e) {
84
84
  console.warn("Failed to access localStorage:", e);
85
85
  }
86
86
  return !1;
87
87
  }
88
88
  typeof window < "u" && O();
89
- let m = null;
89
+ let l = null;
90
90
  function J() {
91
- return m !== null;
91
+ return l !== null;
92
92
  }
93
93
  function Q(e) {
94
94
  e.searchParams.delete("loginCode"), window.history.replaceState({}, "", `${e.pathname}${e.search}${e.hash}`);
@@ -97,7 +97,7 @@ async function W(e) {
97
97
  const {
98
98
  data: t,
99
99
  error: r
100
- } = await c().auth.auth.oauth.session.exchange.post({
100
+ } = await f().auth.auth.oauth.session.exchange.post({
101
101
  code: e
102
102
  });
103
103
  if (r || !(t != null && t.jwtToken))
@@ -115,25 +115,30 @@ async function W(e) {
115
115
  }) : P(o.jwtToken), _(o), o;
116
116
  }
117
117
  async function q() {
118
- return m || (m = (async () => {
118
+ if (l)
119
+ return l;
120
+ const e = (async () => {
119
121
  try {
120
- const e = new URL(window.location.href), t = e.searchParams.get("loginCode");
121
- if (!t) return null;
122
- const r = await W(t);
123
- return Q(e), r;
124
- } catch (e) {
125
- return console.warn("Failed to handle OAuth callback:", e), null;
122
+ const r = new URL(window.location.href), o = r.searchParams.get("loginCode");
123
+ if (!o) return null;
124
+ const i = await W(o);
125
+ return i ? (Q(r), i) : null;
126
+ } catch (r) {
127
+ return console.warn("Failed to handle OAuth callback:", r), null;
126
128
  }
127
- })(), m);
129
+ })();
130
+ l = e;
131
+ const t = await e;
132
+ return !t && l === e && (l = null), t;
128
133
  }
129
134
  async function X() {
130
135
  return await q() ? !0 : O();
131
136
  }
132
137
  function x() {
133
- return u.value || O() ? u.value : null;
138
+ return a.value || O() ? a.value : null;
134
139
  }
135
140
  function P(e) {
136
- u.value = e;
141
+ a.value = e;
137
142
  try {
138
143
  localStorage.setItem(V, e);
139
144
  } catch (t) {
@@ -147,7 +152,7 @@ function A(e) {
147
152
  }) : P(e.jwtToken), _(e);
148
153
  }
149
154
  function Z() {
150
- u.value = null, re();
155
+ a.value = null, re();
151
156
  }
152
157
  D(Z);
153
158
  function U() {
@@ -158,7 +163,7 @@ async function ee() {
158
163
  return U(), !0;
159
164
  const {
160
165
  error: e
161
- } = await c().auth.auth.signOut.post();
166
+ } = await f().auth.auth.signOut.post();
162
167
  return U(), !e;
163
168
  }
164
169
  function w(e, t) {
@@ -193,42 +198,42 @@ function ue(e) {
193
198
  return w(b, e);
194
199
  }
195
200
  function fe() {
196
- const e = i(!1), t = i(!1), r = i(!1);
201
+ const e = u(!1), t = u(!1), r = u(!1);
197
202
  async function o(n) {
198
203
  e.value = !0;
199
204
  const {
200
205
  data: s,
201
- error: d
202
- } = await c().auth.auth.signIn.unified.post({
206
+ error: h
207
+ } = await f().auth.auth.signIn.unified.post({
203
208
  identifier: n.identifier || n.email || "",
204
209
  password: n.password,
205
210
  code: n.code,
206
211
  emailVerifyId: n.emailVerifyId,
207
212
  method: n.method || "password"
208
213
  });
209
- if (e.value = !1, d || !s)
214
+ if (e.value = !1, h || !s)
210
215
  return;
211
216
  A(s);
212
217
  }
213
- function l(n) {
218
+ function i(n) {
214
219
  A(n);
215
220
  }
216
- async function f(n) {
221
+ async function d(n) {
217
222
  const {
218
223
  resetAcceptedTerms: s,
219
- acceptedTerms: d,
224
+ acceptedTerms: h,
220
225
  requiresAcceptanceForSignUp: C
221
226
  } = H();
222
227
  t.value = !0;
223
- const L = C() ? d.value : void 0, {
228
+ const L = C() ? h.value : void 0, {
224
229
  error: B
225
- } = n.type === "phone" ? await c().auth.auth.signUp.phone.post({
230
+ } = n.type === "phone" ? await f().auth.auth.signUp.phone.post({
226
231
  phone: n.phone || "",
227
232
  code: n.code || "",
228
233
  password: n.password,
229
234
  inviteCode: n.inviteCode,
230
235
  acceptedTerms: L === !0
231
- }) : await c().auth.auth.signUp.post({
236
+ }) : await f().auth.auth.signUp.post({
232
237
  email: n.email || "",
233
238
  userToken: n.userToken || "",
234
239
  emailVerifyId: n.emailVerifyId || "",
@@ -236,13 +241,13 @@ function fe() {
236
241
  inviteCode: n.inviteCode,
237
242
  acceptedTerms: L === !0
238
243
  });
239
- t.value = !1, !B && (s(), a.value = "signIn", ne());
244
+ t.value = !1, !B && (s(), c.value = "signIn", ne());
240
245
  }
241
246
  async function T(n) {
242
247
  r.value = !0;
243
248
  const {
244
249
  error: s
245
- } = await c().auth.auth.resetPassword.post({
250
+ } = await f().auth.auth.resetPassword.post({
246
251
  method: n.method || "email",
247
252
  email: n.email,
248
253
  phone: n.phone,
@@ -251,23 +256,23 @@ function fe() {
251
256
  emailVerifyId: n.emailVerifyId,
252
257
  password: n.password
253
258
  });
254
- r.value = !1, !s && (a.value = "signIn", te());
259
+ r.value = !1, !s && (c.value = "signIn", te());
255
260
  }
256
261
  function v() {
257
- a.value = "signUp";
262
+ c.value = "signUp";
258
263
  }
259
264
  function S() {
260
- a.value = "resetPassword";
265
+ c.value = "resetPassword";
261
266
  }
262
267
  function k() {
263
- a.value = "signIn";
268
+ c.value = "signIn";
264
269
  }
265
270
  return {
266
271
  signInSubmit: o,
267
- passkeySignInSubmit: l,
268
- signUpSubmit: f,
272
+ passkeySignInSubmit: i,
273
+ signUpSubmit: d,
269
274
  resetPasswordSubmit: T,
270
- currentView: a,
275
+ currentView: c,
271
276
  authSignInLoading: e,
272
277
  authSignUpLoading: t,
273
278
  resetPasswordLoading: r,
@@ -278,7 +283,7 @@ function fe() {
278
283
  onSignUp: se,
279
284
  onResetPassword: ie,
280
285
  onSignOut: ue,
281
- jwtToken: $(u),
286
+ jwtToken: $(a),
282
287
  getToken: x,
283
288
  setToken: P,
284
289
  completeSignIn: A,
@@ -1,6 +1,6 @@
1
1
  import { ref as a, computed as i } from "vue";
2
2
  import { g as p } from "./apiClients-8_c5cDW5.js";
3
- import { u as l } from "./useAuthkitAuth-CO61XogP.js";
3
+ import { u as l } from "./useAuthkitAuth-DSC6QSKm.js";
4
4
  const e = a(null), n = a(!1), u = a(!1), s = a(!1);
5
5
  function v() {
6
6
  s.value = !0;
@@ -1,5 +1,5 @@
1
1
  import { computed as f } from "vue";
2
- import { u as r } from "./useAuthkitAuth-CO61XogP.js";
2
+ import { u as r } from "./useAuthkitAuth-DSC6QSKm.js";
3
3
  import { u as d } from "./apiClients-8_c5cDW5.js";
4
4
  const A = "jwtToken";
5
5
  let e = null, i = !1;
@@ -1,7 +1,7 @@
1
1
  import { computed as g, ref as T, watch as k } from "vue";
2
2
  import { useRouter as R, useRoute as $ } from "vue-router";
3
3
  import { u as w } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
4
- import { u as I } from "./useAuthkitUsersProfile-CF7t2Y7T.js";
4
+ import { u as I } from "./useAuthkitUsersProfile-DSd5VA3_.js";
5
5
  import { g as C } from "./runtime-CDEl4QQl.js";
6
6
  function j(e, r = "default") {
7
7
  const t = document;
@@ -3,7 +3,7 @@ import { d as V } from "./useBillingStatusOptions-C8fwW-AI.js";
3
3
  import { g as $ } from "./apiClients-8_c5cDW5.js";
4
4
  /* empty css */
5
5
  import { Message as b } from "@arco-design/web-vue";
6
- import { u as _ } from "./useEnsureAuthenticated-Q7EHguY4.js";
6
+ import { u as _ } from "./useEnsureAuthenticated-COQKiCLk.js";
7
7
  function D(e) {
8
8
  var u;
9
9
  const i = (u = e == null ? void 0 : e.metadata) == null ? void 0 : u.originalPrice;
package/dist/user.js CHANGED
@@ -1,4 +1,4 @@
1
- import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BQgy_CeZ.js";
1
+ import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Bal7vFj8.js";
2
2
  export {
3
3
  a as UserAccountMenu,
4
4
  n as UserAvatar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [