@huyooo/ui 0.10.4 → 0.11.0

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 (65) hide show
  1. package/dist/AuthkitSignInPhone-BWPCpUie.js +3034 -0
  2. package/dist/{Clipboard-CMm8I4Rb.js → Clipboard-CK_nROjb.js} +1 -1
  3. package/dist/CollapseItem-DUzZA6tx.js +124 -0
  4. package/dist/{Contact-Dgn8_it4.js → Contact-CpHU1bJ7.js} +2 -2
  5. package/dist/{CustomTable-CVZ4mFzi.js → CustomTable-1W5byjgJ.js} +3 -2
  6. package/dist/FeedbackModal-qAJLL3V3.js +1535 -0
  7. package/dist/{LandingPageSectionTabs-Dv_xOLqR.js → LandingPageSectionTabs-B6ZVxR47.js} +1 -1
  8. package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-D109kT8_.js +1282 -0
  9. package/dist/{PaySubscriptions-W6GJ28uE.js → PaySubscriptions-C4Een__-.js} +17 -16
  10. package/dist/{ReferrerReferees-C5Sjn7aD.js → ReferrerReferees-DIassvGO.js} +8 -8
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-C4-In_x4.js → Upload.vue_vue_type_script_setup_true_lang-DA8VZBrl.js} +1 -1
  12. package/dist/UserAccountMenu-BIRTtjLb.js +266 -0
  13. package/dist/UserSubscriptionBaseInformation-BUs3qiHd.js +60 -0
  14. package/dist/WidthContainer-TXsvW1ut.js +673 -0
  15. package/dist/{apiClients-DJchWBAG.js → apiClients-ANEApCyY.js} +84 -75
  16. package/dist/authkit.d.ts +5 -6
  17. package/dist/authkit.js +43 -43
  18. package/dist/common.js +3 -3
  19. package/dist/components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts +5 -5
  20. package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +13 -31
  21. package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +1 -1
  22. package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +1 -1
  23. package/dist/components/User/UserButton.vue.d.ts +1 -36
  24. package/dist/components/User/UserPanel.vue.d.ts +26 -201
  25. package/dist/components/User/UserPanelItem.vue.d.ts +38 -0
  26. package/dist/composables/Authkit/useAuthkitAuth.d.ts +34 -10
  27. package/dist/composables/Authkit/useAuthkitAuthModal.d.ts +22 -3
  28. package/dist/composables/Authkit/useLegalLinks.d.ts +34 -0
  29. package/dist/composables/Authkit/useOauth.d.ts +0 -1
  30. package/dist/composables.d.ts +3 -2
  31. package/dist/composables.js +27 -25
  32. package/dist/{useUploadCos-BO3W_uqs.js → cos-js-sdk-v5-BJ5AlBRu.js} +2232 -2469
  33. package/dist/feedback.js +15 -16
  34. package/dist/landingPage.js +1 -1
  35. package/dist/main.js +177 -177
  36. package/dist/message.js +9 -10
  37. package/dist/pay.js +1 -1
  38. package/dist/privateCom.js +1 -1
  39. package/dist/referrer.js +1 -1
  40. package/dist/style.css +1 -1
  41. package/dist/upload.js +2 -2
  42. package/dist/{useAuthkitAppsAuthPageInfo-C3EHOtlk.js → useAuthkitAppsAuthPageInfo-Da2yJTT-.js} +1 -1
  43. package/dist/{useAuthkitCreateAndUpdate-CPkogY7K.js → useAuthkitCreateAndUpdate-BLs5vQOu.js} +1 -1
  44. package/dist/useAuthkitUsersProfile-Cx8NXjlt.js +186 -0
  45. package/dist/{useDownloads-COXmopbe.js → useDownloads-DT5W2af6.js} +1 -1
  46. package/dist/useLegalLinks-BIF45kUt.js +60 -0
  47. package/dist/{useMessageNotifications-SIM85vdb.js → useMessageNotifications-CavBmgO7.js} +1 -1
  48. package/dist/{useSEO-DeAU9YEc.js → useSEO-MPXQf0dn.js} +2 -2
  49. package/dist/{useTableHandle-CWu0LbeI.js → useTableHandle--NSbZ-57.js} +1 -1
  50. package/dist/useUploadCos-D6y0INvP.js +242 -0
  51. package/dist/user.d.ts +1 -0
  52. package/dist/user.js +9 -7
  53. package/dist/utils/legalLinks.d.ts +22 -0
  54. package/package.json +1 -1
  55. package/dist/AuthkitAuthModal-De0eEWOC.js +0 -2112
  56. package/dist/AuthkitSignInPhone-DEUVn3Rq.js +0 -920
  57. package/dist/CollapseItem-BAuejDBZ.js +0 -57
  58. package/dist/FeedbackItem-CRiLkWMh.js +0 -495
  59. package/dist/FeedbackModal-B8WLPCy_.js +0 -1053
  60. package/dist/MessageHandle-DpIUeQ7U.js +0 -1147
  61. package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BbtfWRUD.js +0 -142
  62. package/dist/UserAccountMenu-OdwonGFa.js +0 -633
  63. package/dist/WidthContainer-Cpdc67hQ.js +0 -652
  64. package/dist/index-CUfrjRxu.js +0 -73
  65. package/dist/useAuthkitUsersProfile-BqW74gfs.js +0 -172
@@ -1,17 +1,17 @@
1
- import { eden as s, defineMiddleware as f, createClient as T } from "@vafast/api-client";
2
- import { ref as k } from "vue";
1
+ import { eden as n, defineMiddleware as u, createClient as g } from "@vafast/api-client";
2
+ import { ref as h, computed as p } from "vue";
3
3
  /* empty css */
4
- import { Message as p } from "@arco-design/web-vue";
5
- const b = k(void 0);
6
- function m(e) {
4
+ import { Message as m } from "@arco-design/web-vue";
5
+ const P = h(void 0);
6
+ function U(e) {
7
7
  var t, r;
8
8
  return e === "system" ? typeof window < "u" && ((r = (t = window.matchMedia) == null ? void 0 : t.call(window, "(prefers-color-scheme: dark)")) != null && r.matches) ? "dark" : "light" : e;
9
9
  }
10
- function P(e) {
10
+ function v(e) {
11
11
  typeof document > "u" || (e === "dark" ? (document.body.setAttribute("arco-theme", "dark"), document.body.classList.add("dark")) : (document.body.removeAttribute("arco-theme"), document.body.classList.remove("dark")));
12
12
  }
13
- function q(e) {
14
- b.value = e, P(m(e));
13
+ function H(e) {
14
+ P.value = e, v(U(e));
15
15
  }
16
16
  let o = {
17
17
  appId: "",
@@ -27,32 +27,32 @@ let o = {
27
27
  bucket: "ones-1358549778",
28
28
  region: "ap-beijing",
29
29
  web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753"
30
- }, w = {};
31
- function J(e) {
32
- Object.assign(w, e);
33
- }
34
- function V(e) {
35
- o.appId = e.appId, e.theme !== void 0 && (b.value = e.theme, P(m(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", e.onesPrefixUrl !== void 0 && (o.onesPrefixUrl = e.onesPrefixUrl), e.billingPrefixUrl !== void 0 && (o.billingPrefixUrl = e.billingPrefixUrl), e.logPrefixUrl !== void 0 && (o.logPrefixUrl = e.logPrefixUrl), e.aiPrefixUrl !== void 0 && (o.aiPrefixUrl = e.aiPrefixUrl), e.webhookPrefixUrl !== void 0 && (o.webhookPrefixUrl = e.webhookPrefixUrl), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/auth/callback`), e.avatarBucketId !== void 0 && (o.avatarBucketId = e.avatarBucketId), e.feedbackBucketId !== void 0 && (o.feedbackBucketId = e.feedbackBucketId), e.bucket !== void 0 && (o.bucket = e.bucket), e.region !== void 0 && (o.region = e.region), e.web3formsAccessKey !== void 0 && (o.web3formsAccessKey = e.web3formsAccessKey);
36
- }
37
- function g(e) {
38
- return s(e);
30
+ }, I = {};
31
+ function Q(e) {
32
+ Object.assign(I, e);
39
33
  }
40
- function v(e) {
41
- return s(e);
42
- }
43
- function I(e) {
44
- return s(e);
34
+ function Y(e) {
35
+ o.appId = e.appId, e.theme !== void 0 && (P.value = e.theme, v(U(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", e.onesPrefixUrl !== void 0 && (o.onesPrefixUrl = e.onesPrefixUrl), e.billingPrefixUrl !== void 0 && (o.billingPrefixUrl = e.billingPrefixUrl), e.logPrefixUrl !== void 0 && (o.logPrefixUrl = e.logPrefixUrl), e.aiPrefixUrl !== void 0 && (o.aiPrefixUrl = e.aiPrefixUrl), e.webhookPrefixUrl !== void 0 && (o.webhookPrefixUrl = e.webhookPrefixUrl), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/auth/callback`), e.avatarBucketId !== void 0 && (o.avatarBucketId = e.avatarBucketId), e.feedbackBucketId !== void 0 && (o.feedbackBucketId = e.feedbackBucketId), e.bucket !== void 0 && (o.bucket = e.bucket), e.region !== void 0 && (o.region = e.region), e.web3formsAccessKey !== void 0 && (o.web3formsAccessKey = e.web3formsAccessKey);
45
36
  }
46
37
  function A(e) {
47
- return s(e);
38
+ return n(e);
48
39
  }
49
40
  function R(e) {
50
- return s(e);
41
+ return n(e);
51
42
  }
52
43
  function E(e) {
53
- return s(e);
44
+ return n(e);
45
+ }
46
+ function S(e) {
47
+ return n(e);
54
48
  }
55
- function W(e, t = 3) {
49
+ function j(e) {
50
+ return n(e);
51
+ }
52
+ function O(e) {
53
+ return n(e);
54
+ }
55
+ function Z(e, t = 3) {
56
56
  const r = e.indexOf("@");
57
57
  if (r > 1) {
58
58
  const a = e.slice(0, t), i = e.slice(r);
@@ -60,38 +60,47 @@ function W(e, t = 3) {
60
60
  }
61
61
  return e;
62
62
  }
63
- function S() {
63
+ function B() {
64
64
  try {
65
65
  localStorage.removeItem("jwtToken"), localStorage.removeItem("refreshToken");
66
66
  } catch (e) {
67
67
  console.warn("Failed to clear localStorage:", e);
68
68
  }
69
69
  }
70
- function j() {
70
+ function M() {
71
71
  try {
72
72
  return localStorage.getItem("refreshToken");
73
73
  } catch (e) {
74
74
  return console.warn("Failed to get refreshToken from localStorage:", e), null;
75
75
  }
76
76
  }
77
- function B(e) {
77
+ function $(e) {
78
78
  try {
79
79
  localStorage.setItem("jwtToken", e);
80
80
  } catch (t) {
81
81
  console.warn("Failed to update jwtToken in localStorage:", t);
82
82
  }
83
83
  }
84
- const M = k(!1);
85
- function O() {
84
+ const k = h(!1), x = h("signIn");
85
+ function _(e) {
86
+ e != null && e.view && (x.value = e.view), k.value = !0;
87
+ }
88
+ function L() {
89
+ k.value = !1;
90
+ }
91
+ function D() {
86
92
  return {
87
- show: M
93
+ open: _,
94
+ close: L,
95
+ isOpen: p(() => k.value),
96
+ view: p(() => x.value)
88
97
  };
89
98
  }
90
- const U = 40101, $ = {
99
+ const y = 40101, G = {
91
100
  LOGIN_EXPIRED: "登录已过期,请重新登录"
92
101
  };
93
- let u = !1, d = [];
94
- function h(e, t = null) {
102
+ let f = !1, d = [];
103
+ function b(e, t = null) {
95
104
  d.forEach(({
96
105
  resolve: r,
97
106
  reject: a
@@ -99,8 +108,8 @@ function h(e, t = null) {
99
108
  e ? a(e) : t && r(t);
100
109
  }), d = [];
101
110
  }
102
- async function _() {
103
- const e = j();
111
+ async function K() {
112
+ const e = M();
104
113
  if (!e)
105
114
  throw new Error("No refresh token available");
106
115
  try {
@@ -115,66 +124,66 @@ async function _() {
115
124
  })
116
125
  })).json();
117
126
  if (r.jwtToken)
118
- return B(r.jwtToken), r.refreshToken && localStorage.setItem("refreshToken", r.refreshToken), r.jwtToken;
127
+ return $(r.jwtToken), r.refreshToken && localStorage.setItem("refreshToken", r.refreshToken), r.jwtToken;
119
128
  throw new Error(r.message || "Token refresh failed");
120
129
  } catch (t) {
121
130
  throw console.error("Token refresh failed:", t), t;
122
131
  }
123
132
  }
124
- const L = f(async (e, t) => (e.headers.set("app-id", o.appId), t()), {
133
+ const N = u(async (e, t) => (e.headers.set("app-id", o.appId), t()), {
125
134
  name: "app-id"
126
- }), D = f(async (e, t) => {
135
+ }), z = u(async (e, t) => {
127
136
  const r = localStorage.getItem("jwtToken");
128
137
  return r && e.headers.set("authorization", `Bearer ${r}`), t();
129
138
  }, {
130
139
  name: "token"
131
- }), G = f(async (e, t) => {
140
+ }), F = u(async (e, t) => {
132
141
  var a;
133
142
  const r = await t();
134
- if (((a = r.error) == null ? void 0 : a.code) === U) {
135
- if (u)
143
+ if (((a = r.error) == null ? void 0 : a.code) === y) {
144
+ if (f)
136
145
  return new Promise((i, c) => {
137
146
  d.push({
138
- resolve: async (x) => {
139
- e.headers.set("authorization", `Bearer ${x}`);
140
- const y = await t();
141
- i(y);
147
+ resolve: async (w) => {
148
+ e.headers.set("authorization", `Bearer ${w}`);
149
+ const T = await t();
150
+ i(T);
142
151
  },
143
152
  reject: () => {
144
153
  c(r);
145
154
  }
146
155
  });
147
156
  });
148
- u = !0;
157
+ f = !0;
149
158
  try {
150
- const i = await _();
151
- return h(null, i), e.headers.set("authorization", `Bearer ${i}`), await t();
159
+ const i = await K();
160
+ return b(null, i), e.headers.set("authorization", `Bearer ${i}`), await t();
152
161
  } catch (i) {
153
- h(i, null), S();
162
+ b(i, null), B();
154
163
  const {
155
- show: c
156
- } = O();
157
- return c.value = !0, p.error($.LOGIN_EXPIRED), r;
164
+ open: c
165
+ } = D();
166
+ return c(), m.error(G.LOGIN_EXPIRED), r;
158
167
  } finally {
159
- u = !1;
168
+ f = !1;
160
169
  }
161
170
  }
162
171
  return r;
163
172
  }, {
164
173
  name: "token-refresh"
165
- }), K = f(async (e, t) => {
174
+ }), X = u(async (e, t) => {
166
175
  const r = await t();
167
- return r.error && r.error.code !== U && p.error(r.error.message || "请求失败"), r;
176
+ return r.error && r.error.code !== y && m.error(r.error.message || "请求失败"), r;
168
177
  }, {
169
178
  name: "error-message"
170
179
  });
171
- function n(e) {
172
- return T({
180
+ function l(e) {
181
+ return g({
173
182
  baseURL: e,
174
183
  timeout: 3e4
175
- }).use(L).use(D).use(G).use(K);
184
+ }).use(N).use(z).use(F).use(X);
176
185
  }
177
- function l(e) {
186
+ function s(e) {
178
187
  let t = null;
179
188
  return new Proxy({}, {
180
189
  get(r, a) {
@@ -182,20 +191,20 @@ function l(e) {
182
191
  }
183
192
  });
184
193
  }
185
- const H = l(() => v(n(o.authPrefixUrl))), Q = l(() => I(n(o.billingPrefixUrl))), Y = l(() => R(n(o.onesPrefixUrl))), Z = l(() => A(n(o.logPrefixUrl))), C = l(() => g(n(o.aiPrefixUrl))), ee = l(() => E(n(o.webhookPrefixUrl)));
194
+ const C = s(() => R(l(o.authPrefixUrl))), ee = s(() => E(l(o.billingPrefixUrl))), re = s(() => j(l(o.onesPrefixUrl))), te = s(() => S(l(o.logPrefixUrl))), oe = s(() => A(l(o.aiPrefixUrl))), ae = s(() => O(l(o.webhookPrefixUrl)));
186
195
  export {
187
- w as a,
188
- b,
189
- J as c,
190
- q as d,
191
- H as e,
192
- Q as f,
196
+ I as a,
197
+ P as b,
198
+ Q as c,
199
+ H as d,
200
+ C as e,
201
+ ee as f,
193
202
  o as g,
194
- C as h,
195
- W as i,
196
- Z as l,
197
- Y as o,
198
- V as s,
199
- O as u,
200
- ee as w
203
+ oe as h,
204
+ Z as i,
205
+ te as l,
206
+ re as o,
207
+ Y as s,
208
+ D as u,
209
+ ae as w
201
210
  };
package/dist/authkit.d.ts CHANGED
@@ -21,9 +21,6 @@ export { default as AuthkitBindPhone } from './components/Authkit/Auth/AuthkitBi
21
21
  export { default as AuthkitSignUpPhone } from './components/Authkit/Auth/AuthkitSignUpPhone.vue';
22
22
  export { default as AuthkitSignInPhone } from './components/Authkit/Auth/AuthkitSignInPhone.vue';
23
23
  export { default as AuthkitServiceAgreementAndPrivacyProtection } from './components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue';
24
- export { default as AuthkitOAuthItem } from './components/Authkit/Auth/AuthkitOauthItem.vue';
25
- export { default as AuthkitOAuthList } from './components/Authkit/Auth/AuthkitOauthList.vue';
26
- export { default as AuthkitOAuthCallback } from './components/Authkit/Auth/AuthkitOauthCallback.vue';
27
24
  export { default as AuthkitPersonalInformation } from './components/Authkit/AppSetting/AuthkitPersonalInformation.vue';
28
25
  export { default as AuthkitEmailVerify } from './components/Authkit/AppSetting/AuthkitEmailVerify.vue';
29
26
  export { default as AuthkitGithubBinding } from './components/Authkit/AppSetting/AuthkitGithubBinding.vue';
@@ -31,10 +28,12 @@ export { default as AuthkitSetPassword } from './components/Authkit/AppSetting/A
31
28
  export { default as AuthkitEmailBinding } from './components/Authkit/AppSetting/AuthkitEmailBinding.vue';
32
29
  export { default as AuthkitPasswordUpdate } from './components/Authkit/AppSetting/AuthkitPasswordUpdate.vue';
33
30
  export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
34
- export { useAuthkitAuth } from './composables/Authkit/useAuthkitAuth';
35
- export { useAuthkitAuthModal } from './composables/Authkit/useAuthkitAuthModal';
31
+ export { useAuthkitAuth, type SignInResult, } from './composables/Authkit/useAuthkitAuth';
32
+ export { useAuthkitAuthModal, type AuthModalView, type OpenAuthModalOptions, type UseAuthkitAuthModalReturn, } from './composables/Authkit/useAuthkitAuthModal';
33
+ export { useLegalLinks, type LegalLink, type UseLegalLinksReturn, } from './composables/Authkit/useLegalLinks';
36
34
  export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersProfile';
37
35
  export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
38
- export { useOauth, useAuthkitOAuth } from './composables/Authkit/useOauth';
36
+ export { useOauth } from './composables/Authkit/useOauth';
37
+ export { LEGAL_DOCS, LEGAL_DOC_KEYS, buildLegalLinkUrl, type LegalDocKey } from './utils/legalLinks';
39
38
  export type * from './types/auth';
40
39
  export type { AppsData, PublicRoute } from './types/app';
package/dist/authkit.js CHANGED
@@ -1,47 +1,47 @@
1
- import { A as i, a as u, b as s, c as h, E as A, d as e, e as k, _ as o, f as r, O as n, f as d, O as p, P as f, g as m, h as P, i as l, R as S, S as g, j as O, k as c, l as w, m as U, n as I, o as x, u as b, p as C } from "./AuthkitAuthModal-De0eEWOC.js";
2
- import { A as y, a as B, b as R, c as V, d as v, d as L, e as M, f as j } from "./AuthkitSignInPhone-DEUVn3Rq.js";
3
- import { u as G } from "./useAuthkitAppsAuthPageInfo-C3EHOtlk.js";
4
- import { u as _, a as q } from "./useAuthkitUsersProfile-BqW74gfs.js";
5
- import { u as F } from "./apiClients-DJchWBAG.js";
6
- import { u as J } from "./useAuthkitCreateAndUpdate-CPkogY7K.js";
1
+ import { A as i, a as s, b as u, c as h, d as A, e, f as k, g as r, E as n, h as o, i as d, _ as p, j as l, k as P, O as S, P as g, l as m, m as f, n as L, R as w, S as U, o as E, p as O, q as c, r as x, s as C, t as I, u as b, v as y, w as B } from "./AuthkitSignInPhone-BWPCpUie.js";
2
+ import { u as v } from "./useAuthkitAppsAuthPageInfo-Da2yJTT-.js";
3
+ import { u as R, a as V } from "./useAuthkitUsersProfile-Cx8NXjlt.js";
4
+ import { u as M } from "./apiClients-ANEApCyY.js";
5
+ import { L as q, a as z, b as K, u as T } from "./useLegalLinks-BIF45kUt.js";
6
+ import { u as F } from "./useAuthkitCreateAndUpdate-BLs5vQOu.js";
7
7
  export {
8
8
  i as AuthkitAppSetting,
9
- u as AuthkitAuth,
10
- y as AuthkitAuthContainer,
11
- s as AuthkitAuthModal,
12
- h as AuthkitAuthTitle,
13
- B as AuthkitAuthorize,
14
- R as AuthkitBindEmail,
15
- V as AuthkitBindPhone,
16
- A as AuthkitEmailBinding,
17
- e as AuthkitEmailUpdate,
18
- k as AuthkitEmailVerify,
19
- o as AuthkitGithubBinding,
20
- v as AuthkitOAuthCallback,
21
- r as AuthkitOAuthItem,
22
- n as AuthkitOAuthList,
23
- L as AuthkitOauthCallback,
24
- d as AuthkitOauthItem,
25
- p as AuthkitOauthList,
26
- f as AuthkitPasswordAuth,
9
+ s as AuthkitAuth,
10
+ u as AuthkitAuthContainer,
11
+ h as AuthkitAuthModal,
12
+ A as AuthkitAuthTitle,
13
+ e as AuthkitAuthorize,
14
+ k as AuthkitBindEmail,
15
+ r as AuthkitBindPhone,
16
+ n as AuthkitEmailBinding,
17
+ o as AuthkitEmailUpdate,
18
+ d as AuthkitEmailVerify,
19
+ p as AuthkitGithubBinding,
20
+ l as AuthkitOauthCallback,
21
+ P as AuthkitOauthItem,
22
+ S as AuthkitOauthList,
23
+ g as AuthkitPasswordAuth,
27
24
  m as AuthkitPasswordUpdate,
28
- P as AuthkitPasswordUpdateAndVerify,
29
- l as AuthkitPersonalInformation,
30
- S as AuthkitResetPassword,
31
- g as AuthkitSendVerifyCode,
32
- O as AuthkitServiceAgreementAndPrivacyProtection,
33
- c as AuthkitSetPassword,
34
- w as AuthkitSignIn,
35
- M as AuthkitSignInPhone,
36
- U as AuthkitSignUp,
37
- j as AuthkitSignUpPhone,
38
- I as AuthkitSwitchSignIn,
39
- x as AuthkitSwitchSignUpOrResetPassword,
40
- G as useAuthkitAppsAuthPageInfo,
41
- _ as useAuthkitAuth,
42
- F as useAuthkitAuthModal,
43
- J as useAuthkitCreateAndUpdate,
44
- b as useAuthkitOAuth,
45
- q as useAuthkitUsersProfile,
46
- C as useOauth
25
+ f as AuthkitPasswordUpdateAndVerify,
26
+ L as AuthkitPersonalInformation,
27
+ w as AuthkitResetPassword,
28
+ U as AuthkitSendVerifyCode,
29
+ E as AuthkitServiceAgreementAndPrivacyProtection,
30
+ O as AuthkitSetPassword,
31
+ c as AuthkitSignIn,
32
+ x as AuthkitSignInPhone,
33
+ C as AuthkitSignUp,
34
+ I as AuthkitSignUpPhone,
35
+ b as AuthkitSwitchSignIn,
36
+ y as AuthkitSwitchSignUpOrResetPassword,
37
+ q as LEGAL_DOCS,
38
+ z as LEGAL_DOC_KEYS,
39
+ K as buildLegalLinkUrl,
40
+ v as useAuthkitAppsAuthPageInfo,
41
+ R as useAuthkitAuth,
42
+ M as useAuthkitAuthModal,
43
+ F as useAuthkitCreateAndUpdate,
44
+ V as useAuthkitUsersProfile,
45
+ T as useLegalLinks,
46
+ B as useOauth
47
47
  };
package/dist/common.js CHANGED
@@ -1,6 +1,6 @@
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-Cpdc67hQ.js";
2
- import { C as d, a as f } from "./CollapseItem-BAuejDBZ.js";
3
- import { C as x, E as b } from "./CustomTable-CVZ4mFzi.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-TXsvW1ut.js";
2
+ import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
+ import { C as x, E as b } from "./CustomTable-1W5byjgJ.js";
4
4
  import { L } from "./Logo-D7fyXyB-.js";
5
5
  import { M as g, a as A } from "./Menu-Cy2ZPeaz.js";
6
6
  export {
@@ -1,8 +1,8 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- toUserServiceAgreement: (...args: any[]) => void;
3
- toPrivacyPolicy: (...args: any[]) => void;
2
+ toUserServiceAgreement: () => any;
3
+ toPrivacyPolicy: () => any;
4
4
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
5
- onToUserServiceAgreement?: ((...args: any[]) => any) | undefined;
6
- onToPrivacyPolicy?: ((...args: any[]) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
5
+ onToUserServiceAgreement?: (() => any) | undefined;
6
+ onToPrivacyPolicy?: (() => any) | undefined;
7
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
8
  export default _default;
@@ -1,34 +1,16 @@
1
1
  import { FormSizeType } from '../../types/auth';
2
- import { PropType } from 'vue';
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- size: {
5
- type: PropType<FormSizeType>;
6
- required: true;
7
- };
8
- appId: {
9
- type: StringConstructor;
10
- default: () => string;
11
- };
12
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
- confirm: (...args: any[]) => void;
14
- close: (...args: any[]) => void;
15
- toUserServiceAgreement: (...args: any[]) => void;
16
- toPrivacyPolicy: (...args: any[]) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
- size: {
19
- type: PropType<FormSizeType>;
20
- required: true;
21
- };
22
- appId: {
23
- type: StringConstructor;
24
- default: () => string;
25
- };
26
- }>> & Readonly<{
27
- onConfirm?: ((...args: any[]) => any) | undefined;
28
- onClose?: ((...args: any[]) => any) | undefined;
29
- onToUserServiceAgreement?: ((...args: any[]) => any) | undefined;
30
- onToPrivacyPolicy?: ((...args: any[]) => any) | undefined;
2
+ type __VLS_Props = {
3
+ size?: FormSizeType;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ close: () => any;
7
+ toUserServiceAgreement: () => any;
8
+ toPrivacyPolicy: () => any;
9
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onClose?: (() => any) | undefined;
11
+ onToUserServiceAgreement?: (() => any) | undefined;
12
+ onToPrivacyPolicy?: (() => any) | undefined;
31
13
  }>, {
32
- appId: string;
33
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ size: FormSizeType;
15
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
16
  export default _default;
@@ -62,8 +62,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
62
62
  onRefresh?: ((...args: any[]) => any) | undefined;
63
63
  }>, {
64
64
  value: string;
65
- avatarUrl: string;
66
65
  type: string;
66
+ avatarUrl: string;
67
67
  bubbleStyle: Record<string, any>;
68
68
  showRefresh: boolean;
69
69
  showClipboard: boolean;
@@ -54,8 +54,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
54
54
  "onFooter-click"?: ((...args: any[]) => any) | undefined;
55
55
  }>, {
56
56
  value: string;
57
- avatarUrl: string;
58
57
  type: string;
58
+ avatarUrl: string;
59
59
  bubbleStyle: Record<string, any>;
60
60
  showClipboard: boolean;
61
61
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,37 +1,2 @@
1
- type __VLS_Props = {
2
- position?: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
3
- dropdownOffsetX?: string;
4
- dropdownOffsetY?: string;
5
- };
6
- type __VLS_PublicProps = {
7
- modelValue?: boolean;
8
- } & __VLS_Props;
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- DoptionList?(_: {}): any;
13
- };
14
- refs: {};
15
- rootEl: any;
16
- };
17
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- enterSystem: (...args: any[]) => void;
20
- toSignIn: (...args: any[]) => void;
21
- "update:modelValue": (value: boolean) => void;
22
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
24
- onEnterSystem?: ((...args: any[]) => any) | undefined;
25
- onToSignIn?: ((...args: any[]) => any) | undefined;
26
- }>, {
27
- position: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
28
- dropdownOffsetX: string;
29
- dropdownOffsetY: string;
30
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
2
  export default _default;
33
- type __VLS_WithTemplateSlots<T, S> = T & {
34
- new (): {
35
- $slots: S;
36
- };
37
- };