@huyooo/ui 0.11.11 → 0.11.13

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.
@@ -1014,7 +1014,7 @@ const Se = ["title", "aria-label"], ke = /* @__PURE__ */ z({
1014
1014
  onSwitchResetPassword: m
1015
1015
  }, null, 8, ["show-sign-up"])]));
1016
1016
  }
1017
- }), vt = /* @__PURE__ */ P(ft, [["__scopeId", "data-v-cf331a08"]]), gt = {
1017
+ }), vt = /* @__PURE__ */ P(ft, [["__scopeId", "data-v-08b42828"]]), gt = {
1018
1018
  class: "SignUpPhone"
1019
1019
  }, ht = {
1020
1020
  class: "content"
@@ -1,5 +1,5 @@
1
- import { defineComponent as V, computed as B, openBlock as i, createBlock as $, withCtx as f, createVNode as m, onMounted as ne, resolveDirective as le, createElementBlock as s, withDirectives as re, unref as t, normalizeClass as p, createElementVNode as n, toDisplayString as l, Fragment as P, renderList as g, createCommentVNode as c, createTextVNode as N } from "vue";
2
- import { L as ae, a as ce } from "./LandingPageFAQ-CZJXvor9.js";
1
+ import { defineComponent as V, computed as B, openBlock as i, createBlock as $, withCtx as f, createVNode as m, onMounted as ne, resolveDirective as le, createElementBlock as s, withDirectives as ae, unref as t, normalizeClass as p, createElementVNode as n, toDisplayString as l, Fragment as P, renderList as g, createCommentVNode as c, createTextVNode as N } from "vue";
2
+ import { L as re, a as ce } from "./LandingPageFAQ-CZJXvor9.js";
3
3
  import { L as oe } from "./LandingPageSectionHeader-D_74W4My.js";
4
4
  import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  /* empty css */
@@ -51,7 +51,7 @@ const ge = /* @__PURE__ */ V({
51
51
  question: "使用订阅服务有什么限制?",
52
52
  answer: "请按正常业务场景使用服务,禁止共享、转售订阅或用于违法违规场景。严重滥用可能导致服务受限或账户终止。"
53
53
  }], h = o, y = B(() => h.faqItems ?? v);
54
- return (I, k) => (i(), $(ae, {
54
+ return (I, k) => (i(), $(re, {
55
55
  class: "PricingFAQ"
56
56
  }, {
57
57
  BlockHeader: f(() => [m(oe, {
@@ -155,17 +155,17 @@ const ge = /* @__PURE__ */ V({
155
155
  loadCurrentSubscription: U,
156
156
  refresh: W
157
157
  } = _e(v.defaultInterval), _ = B(() => {
158
- var r;
159
- for (const a of h.value) {
160
- const d = a.prices.find((e) => e.type === "free");
158
+ var a;
159
+ for (const r of h.value) {
160
+ const d = r.prices.find((e) => e.type === "free");
161
161
  if (d)
162
162
  return {
163
- ...a,
164
- features: (r = d.features) != null && r.length ? d.features : a.features,
163
+ ...r,
164
+ features: (a = d.features) != null && a.length ? d.features : r.features,
165
165
  selectedPrice: d
166
166
  };
167
167
  }
168
- }), b = B(() => y.value.filter((r) => !M(r))), {
168
+ }), b = B(() => y.value.filter((a) => !M(a))), {
169
169
  checkout: X,
170
170
  isCheckingOut: Y
171
171
  } = de({
@@ -174,26 +174,26 @@ const ge = /* @__PURE__ */ V({
174
174
  }), {
175
175
  ensureAuthenticated: Z
176
176
  } = Pe();
177
- function ee(r) {
178
- return r === 1 ? "适合团队协作与更高频使用" : "适合个人和轻量团队使用";
177
+ function ee(a) {
178
+ return a === 1 ? "适合团队协作与更高频使用" : "适合个人和轻量团队使用";
179
179
  }
180
- function T(r) {
181
- return S(r.features).flatMap((a) => a.items).slice(0, 3);
180
+ function T(a) {
181
+ return S(a.features).flatMap((r) => r.items).slice(0, 3);
182
182
  }
183
- function te(r) {
184
- return (r.description || A(r, 0)).replace(/^\s*\d+\s*天(?:免费)?体验[,,、\s]*/, "").replace(/^\s*免费体验[,,、\s]*/, "").trim();
183
+ function te(a) {
184
+ return (a.description || A(a, 0)).replace(/^\s*\d+\s*天(?:免费)?体验[,,、\s]*/, "").replace(/^\s*免费体验[,,、\s]*/, "").trim();
185
185
  }
186
186
  function ie() {
187
- return "注册即试用";
187
+ return "立即体验";
188
188
  }
189
189
  function se() {
190
190
  Z();
191
191
  }
192
192
  return ne(() => {
193
193
  W();
194
- }), (r, a) => {
194
+ }), (a, r) => {
195
195
  const d = le("motion-slide-top");
196
- return i(), s("section", me, [re((i(), $(t(ue), {
196
+ return i(), s("section", me, [ae((i(), $(t(ue), {
197
197
  loading: t(k),
198
198
  tip: "数据加载中",
199
199
  class: "PricingPlans__spin"
@@ -231,7 +231,7 @@ const ge = /* @__PURE__ */ V({
231
231
  }, [n("div", qe, [(i(!0), s(P, null, g(t(j)(e), (u) => (i(), s("span", {
232
232
  key: u.type,
233
233
  class: p(["PricingPlans__badge", `is-${u.type}`])
234
- }, l(u.label), 3))), 128))]), n("div", Le, [n("h2", null, l(e.name), 1), n("p", null, l(e.description || ee(C)), 1)]), n("div", we, [t(D)(e) ? (i(), s("span", De, " ¥" + l(t(D)(e)), 1)) : c("", !0), a[0] || (a[0] = n("span", {
234
+ }, l(u.label), 3))), 128))]), n("div", Le, [n("h2", null, l(e.name), 1), n("p", null, l(e.description || ee(C)), 1)]), n("div", we, [t(D)(e) ? (i(), s("span", De, " ¥" + l(t(D)(e)), 1)) : c("", !0), r[0] || (r[0] = n("span", {
235
235
  class: "PricingPlans__currency"
236
236
  }, "¥", -1)), n("span", Fe, l(t(O)(e)), 1), n("span", Ae, l(t(R)(e)), 1)]), t(F)(e) ? (i(), s("p", Se, l(t(F)(e)), 1)) : c("", !0), n("p", Te, l(t(A)(e, C)), 1), m(t(E), {
237
237
  long: "",
@@ -244,7 +244,7 @@ const ge = /* @__PURE__ */ V({
244
244
  }, {
245
245
  default: f(() => [N(l(t(J)(e)), 1)]),
246
246
  _: 2
247
- }, 1032, ["type", "loading", "disabled", "onClick"]), a[1] || (a[1] = n("div", {
247
+ }, 1032, ["type", "loading", "disabled", "onClick"]), r[1] || (r[1] = n("div", {
248
248
  class: "PricingPlans__divider"
249
249
  }, null, -1)), n("div", xe, [(i(!0), s(P, null, g(t(S)(e.features), (u) => (i(), s("section", {
250
250
  key: u.title,
@@ -259,7 +259,7 @@ const ge = /* @__PURE__ */ V({
259
259
  }, 8, ["loading"])), [[d]])]);
260
260
  };
261
261
  }
262
- }), We = /* @__PURE__ */ z(Qe, [["__scopeId", "data-v-423ff23c"]]);
262
+ }), We = /* @__PURE__ */ z(Qe, [["__scopeId", "data-v-da05021f"]]);
263
263
  export {
264
264
  Ue as P,
265
265
  We as a
package/dist/authkit.js CHANGED
@@ -1,5 +1,5 @@
1
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-DrX6fwKt.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-r2oVuCSV.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-B3GHsKLa.js";
3
3
  import { u as q } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
4
4
  import { u as K } from "./useAuthkitAuth-Doj5VYjK.js";
5
5
  import { u as Y } from "./apiClients-KFp-rs-C.js";
package/dist/main.js CHANGED
@@ -19,7 +19,7 @@ import { u as d4 } from "./useUploadCos-keDKcs0j.js";
19
19
  import { u as f4 } from "./useUserMenu-ClPBlvaM.js";
20
20
  import { u as h4, a as _4 } from "./useSubscriptionCheckout-DmxORGSV.js";
21
21
  import { A as m4, B as L4, E as y4, a as w4, b as F4, O as M4, P as k4, c as v4, _ as x4, d as H4, S as Z4, e as V4, u as E4 } from "./AuthkitAppSetting-DrX6fwKt.js";
22
- import { A as b4, a as S4, b as A4, c as G4, d as P4, e as D4, f as T4, _ as O4, g as B4, O as I4, h as $4, P as N4, i as W4, j as j4, k as R4, R as z4, S as q4, l as K4, m as J4, n as Q4, o as Y4, p as X4, q as e6 } from "./AuthkitGithubBinding-r2oVuCSV.js";
22
+ import { A as b4, a as S4, b as A4, c as G4, d as P4, e as D4, f as T4, _ as O4, g as B4, O as I4, h as $4, P as N4, i as W4, j as j4, k as R4, R as z4, S as q4, l as K4, m as J4, n as Q4, o as Y4, p as X4, q as e6 } from "./AuthkitGithubBinding-B3GHsKLa.js";
23
23
  import { u as o6 } from "./useEnsureAuthenticated-D78tsddF.js";
24
24
  import { A as a6, C as i6, _ as n6, a as r6, D as c6, E as l6, b as C6, M as d6, N as p6, c as f6, d as u6 } from "./MessageHandle-BcRjYeVi.js";
25
25
  import { I as _6, M as g6 } from "./MessageList-Bo6YCfRO.js";
@@ -37,7 +37,7 @@ import { C as J7, a as Q7 } from "./CollapseItem-DUzZA6tx.js";
37
37
  import { C as X7, E as e5 } from "./CustomTable-BUkwlbzN.js";
38
38
  import { M as o5, a as s5 } from "./Menu-Cy2ZPeaz.js";
39
39
  import { P as i5, u as n5 } from "./PaySubscriptions-BsU0XmXf.js";
40
- import { P as c5, a as l5 } from "./PricingPlans-YroHYNiM.js";
40
+ import { P as c5, a as l5 } from "./PricingPlans-C3a622rv.js";
41
41
  import { R as d5 } from "./ReferrerReferees-B-ISyXHw.js";
42
42
  import { _ as f5 } from "./Upload.vue_vue_type_script_setup_true_lang-CDWyo3RL.js";
43
43
  import { U as h5, a as _5, b as g5, c as m5, d as L5, _ as y5, e as w5, f as F5, g as M5, h as k5, i as v5, j as x5, k as H5, l as Z5, m as V5 } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Czix4_tj.js";
package/dist/pay.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { P as a, u as r } from "./PaySubscriptions-BsU0XmXf.js";
2
- import { P as u, a as n } from "./PricingPlans-YroHYNiM.js";
2
+ import { P as u, a as n } from "./PricingPlans-C3a622rv.js";
3
3
  import { u as t, a as P } from "./useSubscriptionCheckout-DmxORGSV.js";
4
4
  export {
5
5
  a as PaySubscriptions,