@huyooo/ui 1.0.3 → 1.0.5

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 (188) hide show
  1. package/dist/AuthkitAppSetting-BN8-xgNq.js +2674 -0
  2. package/dist/{Contact-M6iyuyNL.js → Contact-BWuVR9ho.js} +105 -113
  3. package/dist/CustomTable-BzGfaAVH.js +276 -0
  4. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-B9BqGWm8.js +1480 -0
  5. package/dist/LandingPageDescription-BczWZHKy.js +12 -0
  6. package/dist/{LandingPageLinkGroup-DDNRivMt.js → LandingPageLinkGroup-BZJ48Yss.js} +87 -88
  7. package/dist/{LandingPageFAQ-CZJXvor9.js → LandingPageSectionHeader-3hiuw6G0.js} +44 -25
  8. package/dist/{LandingPageSectionTabs-Ce3_Rc2L.js → LandingPageSectionTabs-jRjkWlM-.js} +475 -375
  9. package/dist/LegalDocViewer-DM8FYBpf.js +2501 -0
  10. package/dist/Menu-uCexrsKP.js +199 -0
  11. package/dist/MessageHandle-mEkCsv9e.js +1173 -0
  12. package/dist/MessageList-Ce-_LNTk.js +244 -0
  13. package/dist/PaySubscriptions-CXkEjqr2.js +1326 -0
  14. package/dist/PricingPlans-CV97ck9p.js +427 -0
  15. package/dist/ReferrerReferees-DgygiIiE.js +237 -0
  16. package/dist/{Upload.vue_vue_type_script_setup_true_lang-B6NOZjK0.js → Upload.vue_vue_type_script_setup_true_lang-VGh2V4o0.js} +1 -1
  17. package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-zgjpFVln.js +592 -0
  18. package/dist/WidthContainer-PeWkCK0p.js +721 -0
  19. package/dist/{apiClients-DrGX2iJy.js → apiClients-BcXOLuYu.js} +131 -98
  20. package/dist/authkit.d.ts +6 -2
  21. package/dist/authkit.js +53 -44
  22. package/dist/common/authProviderIcons.d.ts +12 -0
  23. package/dist/common/globalConfig.d.ts +5 -0
  24. package/dist/common/tableColumnWidths.d.ts +11 -0
  25. package/dist/common.js +3 -3
  26. package/dist/components/AuthProviderIcon.vue.d.ts +12 -0
  27. package/dist/components/Authkit/AppSetting/AuthkitEmailVerify.vue.d.ts +2 -2
  28. package/dist/components/Authkit/AppSetting/AuthkitOAuthBinding.vue.d.ts +2 -1
  29. package/dist/components/Authkit/AppSetting/AuthkitPasskeyBinding.vue.d.ts +14 -0
  30. package/dist/components/Authkit/AppSetting/AuthkitPasswordUpdate.vue.d.ts +11 -1
  31. package/dist/components/Authkit/AppSetting/AuthkitPersonalInformation.vue.d.ts +1 -3
  32. package/dist/components/Authkit/AppSetting/AuthkitPhoneVerify.vue.d.ts +13 -3
  33. package/dist/components/Authkit/Auth/AuthkitBindEmail.vue.d.ts +29 -2
  34. package/dist/components/Authkit/Auth/AuthkitBindPhone.vue.d.ts +2 -2
  35. package/dist/components/Authkit/Auth/AuthkitEmailUpdate.vue.d.ts +2 -2
  36. package/dist/components/Authkit/Auth/AuthkitOauthItem.vue.d.ts +37 -9
  37. package/dist/components/Authkit/Auth/AuthkitOauthList.vue.d.ts +7 -11
  38. package/dist/components/Authkit/Auth/AuthkitPasswordUpdateAndVerify.vue.d.ts +2 -2
  39. package/dist/components/Authkit/Auth/AuthkitPhonePasswordUpdateAndVerify.vue.d.ts +2 -2
  40. package/dist/components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts +11 -7
  41. package/dist/components/Authkit/Auth/AuthkitSignInEmailCode.vue.d.ts +2 -2
  42. package/dist/components/Authkit/Auth/AuthkitSignInPhone.vue.d.ts +3 -62
  43. package/dist/components/Authkit/Auth/AuthkitSignUpPhone.vue.d.ts +2 -2
  44. package/dist/components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue.d.ts +9 -0
  45. package/dist/components/Authkit/AuthkitAuth.vue.d.ts +2 -8
  46. package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +0 -4
  47. package/dist/components/Authkit/AuthkitProvider.vue.d.ts +5 -2
  48. package/dist/components/Authkit/AuthkitSendVerifyCode.vue.d.ts +2 -1
  49. package/dist/components/CustomTable.vue.d.ts +27 -1
  50. package/dist/components/Ellipsis.vue.d.ts +2 -6
  51. package/dist/components/Feedback/FeedbackList.vue.d.ts +4 -1
  52. package/dist/components/Gradientbackground.vue.d.ts +2 -2
  53. package/dist/components/HeaderMenus.vue.d.ts +4 -1
  54. package/dist/components/InfiniteLoading.vue.d.ts +1 -1
  55. package/dist/components/LandingPage/LandingPageButton.vue.d.ts +2 -2
  56. package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +2 -2
  57. package/dist/components/LandingPage/LandingPageFeaturePanels.vue.d.ts +19 -0
  58. package/dist/components/LandingPage/LandingPageHero.vue.d.ts +9 -0
  59. package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +2 -2
  60. package/dist/components/LandingPage/LandingPageSectionHeader.vue.d.ts +1 -14
  61. package/dist/components/LandingPage/LandingPageSections.vue.d.ts +1 -1
  62. package/dist/components/LegalDoc/LegalDocViewer.vue.d.ts +7 -0
  63. package/dist/components/Menu.vue.d.ts +2 -1
  64. package/dist/components/MenuItem.vue.d.ts +3 -1
  65. package/dist/components/Message/MessageAppMessage.vue.d.ts +12 -2
  66. package/dist/components/Message/MessageDetails.vue.d.ts +9 -161
  67. package/dist/components/Message/MessageHandle.vue.d.ts +16 -4
  68. package/dist/components/Message/MessageList.vue.d.ts +4 -3
  69. package/dist/components/Message/MessageNotificationDetails.vue.d.ts +13 -0
  70. package/dist/components/Message/messageBody/DescriptionsMessageBody.vue.d.ts +3 -0
  71. package/dist/components/Message/messageBody/JsonMessageBodyFallback.vue.d.ts +3 -0
  72. package/dist/components/Message/messageBody/TextMessageBody.vue.d.ts +3 -0
  73. package/dist/components/Message/messageBody/descriptionRows.d.ts +14 -0
  74. package/dist/components/Message/messageBody/descriptionsMessageBody.d.ts +32 -0
  75. package/dist/components/Message/messageBody/descriptionsValueRender.d.ts +4 -0
  76. package/dist/components/Message/messageBody/messageBodyRegistry.d.ts +9 -0
  77. package/dist/components/Message/messageBody/registerBuiltinMessageBodies.d.ts +2 -0
  78. package/dist/components/Message/messageBody/types.d.ts +7 -0
  79. package/dist/components/Referrer/ReferrerRefereeCell.vue.d.ts +7 -0
  80. package/dist/components/Referrer/ReferrerReferees.vue.d.ts +1 -0
  81. package/dist/components/UserMenu/UserAccountMenu.vue.d.ts +1 -16
  82. package/dist/components/UserMenu/UserMenuItem.vue.d.ts +4 -0
  83. package/dist/components/UserMenu/UserMenuModals.vue.d.ts +18 -4
  84. package/dist/components/UserMenu/parts/UserAvatar.vue.d.ts +6 -0
  85. package/dist/components/UserMenu/parts/UserBasicInformation.vue.d.ts +7 -2
  86. package/dist/composables/Authkit/fetchAuthPageAboutUs.d.ts +3 -0
  87. package/dist/composables/Authkit/resolveRoutePermission.d.ts +2 -0
  88. package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +16 -0
  89. package/dist/composables/Authkit/useAuthkitAuth.d.ts +2 -0
  90. package/dist/composables/Authkit/useAuthkitPasskey.d.ts +10 -0
  91. package/dist/composables/Authkit/useLegalDocHostActions.d.ts +6 -0
  92. package/dist/composables/Authkit/useLegalDocs.d.ts +19 -0
  93. package/dist/composables/Authkit/useOauth.d.ts +17 -4
  94. package/dist/composables/Authkit/useRegistrationTerms.d.ts +24 -0
  95. package/dist/composables/Authkit/verifyCodeCooldown.d.ts +19 -0
  96. package/dist/composables/Billing/useBillingPlans.d.ts +0 -4
  97. package/dist/composables/Billing/useBillingStatusOptions.d.ts +2 -6
  98. package/dist/composables/Billing/useBillingSubscriptionSummary.d.ts +16 -0
  99. package/dist/composables/Billing/usePaidProductOptions.d.ts +5 -0
  100. package/dist/composables/Message/messageCenterBadgeCounts.d.ts +28 -0
  101. package/dist/composables/UserMenu/useUserMenuBadgeCounts.d.ts +9 -0
  102. package/dist/composables/useInfiniteList.d.ts +19 -0
  103. package/dist/composables/useMessageNotifications.d.ts +3 -6
  104. package/dist/composables.d.ts +4 -2
  105. package/dist/composables.js +50 -45
  106. package/dist/feedback.d.ts +1 -0
  107. package/dist/feedback.js +12 -11
  108. package/dist/fetchAuthPageAboutUs-dzTSwRsB.js +25 -0
  109. package/dist/{Clipboard-Bo7gdpR6.js → index-BkLvw1PU.js} +1 -1
  110. package/dist/landingPage.d.ts +1 -0
  111. package/dist/landingPage.js +41 -40
  112. package/dist/legalDocs/buildBuiltinUrl.d.ts +3 -0
  113. package/dist/{utils/legalLinks.d.ts → legalDocs/constants.d.ts} +0 -10
  114. package/dist/legalDocs/index.d.ts +7 -0
  115. package/dist/legalDocs/isConfigured.d.ts +7 -0
  116. package/dist/legalDocs/open.d.ts +3 -0
  117. package/dist/legalDocs/resolveAppId.d.ts +8 -0
  118. package/dist/legalDocs/resolveTarget.d.ts +4 -0
  119. package/dist/legalDocs/types.d.ts +12 -0
  120. package/dist/main.js +321 -308
  121. package/dist/message.d.ts +3 -0
  122. package/dist/message.js +301 -21
  123. package/dist/pay.d.ts +1 -1
  124. package/dist/pay.js +14 -17
  125. package/dist/privateCom.js +1 -1
  126. package/dist/referrer.js +1 -1
  127. package/dist/style.css +1 -1
  128. package/dist/types/api/auth.generated.d.ts +1385 -328
  129. package/dist/types/api/billing.generated.d.ts +907 -76
  130. package/dist/types/api/ones.generated.d.ts +131 -2
  131. package/dist/types/api.d.ts +1 -0
  132. package/dist/types/app.d.ts +10 -0
  133. package/dist/types/user.d.ts +1 -0
  134. package/dist/upload.js +2 -2
  135. package/dist/{useAuthkitAppsAuthPageInfo-C2yKgl8t.js → useAuthkitAppsAuthPageInfo-CNudJd04.js} +18 -17
  136. package/dist/useAuthkitAuth-3m0yW6uP.js +267 -0
  137. package/dist/{useAuthkitCreateAndUpdate-oo9517Gj.js → useAuthkitCreateAndUpdate-BsINsI-E.js} +1 -1
  138. package/dist/{useAuthkitUsersProfile-BZDk21c8.js → useAuthkitUsersProfile-DJlMsftY.js} +3 -3
  139. package/dist/useBillingStatusOptions-CfHQOFNw.js +71 -0
  140. package/dist/{useEnsureAuthenticated-BuIbxqsO.js → useEnsureAuthenticated-DNkCCy_Y.js} +2 -2
  141. package/dist/useLegalDocs-DQP_Yq6B.js +106 -0
  142. package/dist/{useMessageNotifications-D85_-mDq.js → useMessageNotifications-CAphguOm.js} +21 -24
  143. package/dist/useRoutePermission-CEiya9AM.js +218 -0
  144. package/dist/useSEO-CDWxbk8B.js +221 -0
  145. package/dist/useSubscriptionCheckout-d_M_rKRa.js +368 -0
  146. package/dist/{useUploadCos-BRKRzSy3.js → useUploadCos-C8BqFPkx.js} +1 -1
  147. package/dist/user.js +1 -1
  148. package/dist/userMenuModal-D-nDaYqM.js +66 -0
  149. package/dist/utils/apiMiddlewares.d.ts +5 -5
  150. package/dist/utils/apiResponse.d.ts +11 -0
  151. package/dist/utils/authProviderIcon.d.ts +3 -0
  152. package/dist/utils/authkit.d.ts +20 -7
  153. package/dist/utils/formatPoints.d.ts +8 -0
  154. package/dist/utils/messageNotificationContent.d.ts +4 -0
  155. package/dist/utils/messageTextLink.d.ts +9 -0
  156. package/dist/utils/passkeySupport.d.ts +8 -0
  157. package/dist/utils/pointsFlowTypes.d.ts +10 -0
  158. package/dist/utils/pointsHistoryDisplay.d.ts +8 -0
  159. package/dist/utils/refundStatusDisplay.d.ts +1 -0
  160. package/dist/utils/subscriptionDisplay.d.ts +7 -0
  161. package/dist/utils/userDisplay.d.ts +41 -0
  162. package/package.json +11 -3
  163. package/dist/AuthkitAppSetting-C-0uuLSg.js +0 -1921
  164. package/dist/AuthkitGithubBinding-C5zEy9zN.js +0 -2207
  165. package/dist/CustomTable-nsxN4Ja4.js +0 -276
  166. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js +0 -1396
  167. package/dist/LandingPageSectionHeader-D_74W4My.js +0 -69
  168. package/dist/Menu-Cy2ZPeaz.js +0 -170
  169. package/dist/MessageHandle-BG12aX0i.js +0 -924
  170. package/dist/MessageList-CrCF8mU6.js +0 -233
  171. package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-gsjL6yAe.js +0 -142
  172. package/dist/PaySubscriptions-lWnEioX5.js +0 -1241
  173. package/dist/PricingPlans-DFcjOMWS.js +0 -404
  174. package/dist/ReferrerReferees-Cn7KaO8z.js +0 -106
  175. package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-P0X1Exyu.js +0 -520
  176. package/dist/WidthContainer-CF3qOLWW.js +0 -688
  177. package/dist/common/authPanelWidth.d.ts +0 -2
  178. package/dist/components/Feedback/FeedbackDetails.vue.d.ts +0 -178
  179. package/dist/composables/Authkit/useLegalLinks.d.ts +0 -34
  180. package/dist/index-D3Kp6R4z.js +0 -4
  181. package/dist/useAuthkitAuth-DmS-H7M2.js +0 -175
  182. package/dist/useBillingStatusOptions-B7xLU3fs.js +0 -145
  183. package/dist/useLegalLinks-Cwr45PBT.js +0 -60
  184. package/dist/useRoutePermission-CaWtjLRA.js +0 -212
  185. package/dist/useSEO-BSMQdBR9.js +0 -158
  186. package/dist/useSubscriptionCheckout-BRk5h9aC.js +0 -365
  187. package/dist/useTableHandle-BdujaiNX.js +0 -69
  188. /package/dist/components/{Feedback/FeedbackVideoPreview.vue.d.ts → VideoPreview.vue.d.ts} +0 -0
@@ -1,8 +1,8 @@
1
- import { eden as n, defineMiddleware as c, createClient as S } from "@vafast/api-client";
2
- import { ref as h, computed as m } from "vue";
1
+ import { eden as n, defineMiddleware as f, createClient as B } from "@vafast/api-client";
2
+ import { ref as b, computed as w } from "vue";
3
3
  /* empty css */
4
- import { Message as j } from "@arco-design/web-vue";
5
- function ee(e, r = 3) {
4
+ import { Message as O } from "@arco-design/web-vue";
5
+ function h(e, r = 3) {
6
6
  const t = e.indexOf("@");
7
7
  if (t > 1) {
8
8
  const i = e.slice(0, r), a = e.slice(t);
@@ -10,44 +10,73 @@ function ee(e, r = 3) {
10
10
  }
11
11
  return e;
12
12
  }
13
- const f = /* @__PURE__ */ new Set();
14
- function re(e) {
15
- return f.add(e), () => {
16
- f.delete(e);
13
+ function z(e) {
14
+ const r = e.trim();
15
+ return r.length < 7 ? r : `${r.slice(0, 3)}****${r.slice(-4)}`;
16
+ }
17
+ const D = {
18
+ normal: "正常",
19
+ pending: "待完善",
20
+ forbidden: "已禁用",
21
+ deleted: "已注销"
22
+ };
23
+ function se(e) {
24
+ return e ? D[e] ?? e : "-";
25
+ }
26
+ function le(e) {
27
+ var t, i, a, c, u, d, v, x, y;
28
+ const r = [];
29
+ if ((t = e.email) != null && t.trim() && r.push(h(e.email.trim())), (i = e.phone) != null && i.trim() && r.push(z(e.phone.trim())), e.wechat) {
30
+ const T = (a = e.wechat.nickname) == null ? void 0 : a.trim();
31
+ r.push(T ? `微信(${T})` : "微信");
32
+ }
33
+ return (u = (c = e.github) == null ? void 0 : c.login) != null && u.trim() && r.push(`GitHub(${e.github.login.trim()})`), (v = (d = e.google) == null ? void 0 : d.email) != null && v.trim() && r.push(h(e.google.email.trim())), (y = (x = e.microsoft) == null ? void 0 : x.email) != null && y.trim() && r.push(h(e.microsoft.email.trim())), r.length > 0 ? r.join(" / ") : "-";
34
+ }
35
+ const k = /* @__PURE__ */ new Set();
36
+ function ce(e) {
37
+ return k.add(e), () => {
38
+ k.delete(e);
17
39
  };
18
40
  }
19
- function E() {
41
+ function L() {
20
42
  try {
21
43
  localStorage.removeItem("jwtToken"), localStorage.removeItem("refreshToken");
22
44
  } catch (e) {
23
45
  console.warn("Failed to clear localStorage:", e);
24
46
  }
25
- f.forEach((e) => e());
47
+ k.forEach((e) => e());
48
+ }
49
+ function ue(e) {
50
+ try {
51
+ localStorage.setItem("jwtToken", e.jwtToken), localStorage.setItem("refreshToken", e.refreshToken);
52
+ } catch (r) {
53
+ console.warn("Failed to set localStorage:", r);
54
+ }
26
55
  }
27
- function B() {
56
+ function K() {
28
57
  try {
29
58
  return localStorage.getItem("refreshToken");
30
59
  } catch (e) {
31
60
  return console.warn("Failed to get refreshToken from localStorage:", e), null;
32
61
  }
33
62
  }
34
- function O(e) {
63
+ function _(e) {
35
64
  try {
36
65
  localStorage.setItem("jwtToken", e);
37
66
  } catch (r) {
38
67
  console.warn("Failed to update jwtToken in localStorage:", r);
39
68
  }
40
69
  }
41
- const v = h(void 0);
42
- function x(e) {
70
+ const S = b(void 0);
71
+ function R(e) {
43
72
  var r, t;
44
73
  return e === "system" ? typeof window < "u" && ((t = (r = window.matchMedia) == null ? void 0 : r.call(window, "(prefers-color-scheme: dark)")) != null && t.matches) ? "dark" : "light" : e;
45
74
  }
46
- function g(e) {
75
+ function j(e) {
47
76
  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")));
48
77
  }
49
- function te(e) {
50
- v.value = e, g(x(e));
78
+ function de(e) {
79
+ S.value = e, j(R(e));
51
80
  }
52
81
  let o = {
53
82
  appId: "",
@@ -63,76 +92,77 @@ let o = {
63
92
  feedbackBucketId: "6826e4db6888f565dc775dce",
64
93
  bucket: "ones-1358549778",
65
94
  region: "ap-beijing",
66
- web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753"
67
- }, M = {};
68
- function oe(e) {
69
- Object.assign(M, e);
95
+ web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753",
96
+ legalDocsMode: "builtin"
97
+ }, F = {};
98
+ function fe(e) {
99
+ Object.assign(F, e);
70
100
  }
71
- function ie(e) {
72
- o.appId = e.appId, e.theme !== void 0 && (v.value = e.theme, g(x(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", (e.onesPrefixUrl !== void 0 || e.prefixUrl !== void 0) && (o.onesPrefixUrl = e.onesPrefixUrl ?? e.prefixUrl ?? o.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.pricingUrl !== void 0 && (o.pricingUrl = e.pricingUrl || "/Pricing"), e.openPricing !== void 0 && (o.openPricing = e.openPricing), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/`), 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);
101
+ function he(e) {
102
+ o.appId = e.appId, e.theme !== void 0 && (S.value = e.theme, j(R(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", (e.onesPrefixUrl !== void 0 || e.prefixUrl !== void 0) && (o.onesPrefixUrl = e.onesPrefixUrl ?? e.prefixUrl ?? o.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.pricingUrl !== void 0 && (o.pricingUrl = e.pricingUrl || "/Pricing"), e.openPricing !== void 0 && (o.openPricing = e.openPricing), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/`), 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), e.legalDocsMode !== void 0 && (o.legalDocsMode = e.legalDocsMode);
73
103
  }
74
- function $(e) {
104
+ function N(e) {
75
105
  return n(e);
76
106
  }
77
- function z(e) {
107
+ function q(e) {
78
108
  return n(e);
79
109
  }
80
- function K(e) {
110
+ function G(e) {
81
111
  return n(e);
82
112
  }
83
- function L(e) {
113
+ function H(e) {
84
114
  return n(e);
85
115
  }
86
- function _(e) {
116
+ function J(e) {
87
117
  return n(e);
88
118
  }
89
- function D(e) {
119
+ function V(e) {
90
120
  return n(e);
91
121
  }
92
- const p = h(!1), y = h("signIn");
93
- function N(e) {
94
- e != null && e.view && (y.value = e.view), p.value = !0;
122
+ const g = b(!1), U = b("signIn");
123
+ function W(e) {
124
+ e != null && e.view && (U.value = e.view), g.value = !0;
95
125
  }
96
- function F() {
97
- p.value = !1;
126
+ function X() {
127
+ g.value = !1, U.value = "signIn";
98
128
  }
99
- function q() {
129
+ function Z() {
100
130
  return {
101
- open: N,
102
- close: F,
103
- isOpen: m(() => p.value),
104
- view: m(() => y.value)
131
+ open: W,
132
+ close: X,
133
+ isOpen: w(() => g.value),
134
+ view: w(() => U.value)
105
135
  };
106
136
  }
107
- const k = 40101, U = 401;
108
- function G(e) {
137
+ const P = 40101, I = 401;
138
+ function Q(e) {
109
139
  var r;
110
- return e.status === U || ((r = e.error) == null ? void 0 : r.code) === U;
140
+ return e.status === I || ((r = e.error) == null ? void 0 : r.code) === I;
111
141
  }
112
- function H(e) {
142
+ function Y(e) {
113
143
  var r;
114
- return G(e) && ((r = e.error) == null ? void 0 : r.code) !== k;
144
+ return Q(e) && ((r = e.error) == null ? void 0 : r.code) !== P;
115
145
  }
116
- function J() {
146
+ function C() {
117
147
  const {
118
148
  open: e
119
- } = q();
149
+ } = Z();
120
150
  e();
121
151
  }
122
- function T() {
123
- E(), J();
152
+ function M() {
153
+ L(), C();
124
154
  }
125
- let u = !1, d = [];
126
- function P(e, r = null) {
127
- d.forEach(({
155
+ let m = !1, p = [];
156
+ function A(e, r = null) {
157
+ p.forEach(({
128
158
  resolve: t,
129
159
  reject: i
130
160
  }) => {
131
161
  e ? i(e) : r && t(r);
132
- }), d = [];
162
+ }), p = [];
133
163
  }
134
- async function V() {
135
- const e = B();
164
+ async function ee() {
165
+ const e = K();
136
166
  if (!e)
137
167
  throw new Error("No refresh token available");
138
168
  try {
@@ -147,63 +177,63 @@ async function V() {
147
177
  })
148
178
  })).json();
149
179
  if (t.jwtToken)
150
- return O(t.jwtToken), t.refreshToken && localStorage.setItem("refreshToken", t.refreshToken), t.jwtToken;
180
+ return _(t.jwtToken), t.refreshToken && localStorage.setItem("refreshToken", t.refreshToken), t.jwtToken;
151
181
  throw new Error(t.message || "Token refresh failed");
152
182
  } catch (r) {
153
183
  throw console.error("Token refresh failed:", r), r;
154
184
  }
155
185
  }
156
- const W = c(async (e, r) => (e.headers.set("app-id", o.appId), r()), {
186
+ const re = f(async (e, r) => (e.headers.set("app-id", o.appId), r()), {
157
187
  name: "app-id"
158
- }), X = c(async (e, r) => {
188
+ }), te = f(async (e, r) => {
159
189
  const t = localStorage.getItem("jwtToken");
160
190
  return t && e.headers.set("authorization", `Bearer ${t}`), r();
161
191
  }, {
162
192
  name: "token"
163
- }), w = c(async (e, r) => {
193
+ }), E = f(async (e, r) => {
164
194
  var i;
165
195
  const t = await r();
166
- if (((i = t.error) == null ? void 0 : i.code) === k) {
167
- if (u)
168
- return new Promise((a, b) => {
169
- d.push({
170
- resolve: async (I) => {
171
- e.headers.set("authorization", `Bearer ${I}`);
172
- const R = await r();
173
- a(R);
196
+ if (((i = t.error) == null ? void 0 : i.code) === P) {
197
+ if (m)
198
+ return new Promise((a, c) => {
199
+ p.push({
200
+ resolve: async (u) => {
201
+ e.headers.set("authorization", `Bearer ${u}`);
202
+ const d = await r();
203
+ a(d);
174
204
  },
175
205
  reject: () => {
176
- b(t);
206
+ c(t);
177
207
  }
178
208
  });
179
209
  });
180
- u = !0;
210
+ m = !0;
181
211
  try {
182
- const a = await V();
183
- return P(null, a), e.headers.set("authorization", `Bearer ${a}`), await r();
212
+ const a = await ee();
213
+ return A(null, a), e.headers.set("authorization", `Bearer ${a}`), await r();
184
214
  } catch (a) {
185
- return P(a, null), T(), t;
215
+ return A(a, null), M(), t;
186
216
  } finally {
187
- u = !1;
217
+ m = !1;
188
218
  }
189
219
  }
190
220
  return t;
191
221
  }, {
192
222
  name: "token-refresh"
193
- }), A = c(async (e, r) => {
223
+ }), $ = f(async (e, r) => {
194
224
  const t = await r();
195
- return H(t) ? (T(), t) : (t.error && t.error.code !== k && j.error(t.error.message || "请求失败"), t);
225
+ return Y(t) ? (M(), t) : (t.error && t.error.code !== P && O.error(t.error.message || "请求失败"), t);
196
226
  }, {
197
227
  name: "error-message"
198
228
  });
199
- function ae(e) {
200
- return e.use(w).use(A);
229
+ function me(e) {
230
+ return e.use(E).use($);
201
231
  }
202
232
  function s(e) {
203
- return S({
233
+ return B({
204
234
  baseURL: e,
205
235
  timeout: 3e4
206
- }).use(W).use(X).use(w).use(A);
236
+ }).use(re).use(te).use(E).use($);
207
237
  }
208
238
  function l(e) {
209
239
  let r = null;
@@ -213,27 +243,30 @@ function l(e) {
213
243
  }
214
244
  });
215
245
  }
216
- const ne = l(() => z(s(o.authPrefixUrl))), se = l(() => K(s(o.billingPrefixUrl))), le = l(() => _(s(o.onesPrefixUrl))), ce = l(() => L(s(o.logPrefixUrl))), ue = l(() => $(s(o.aiPrefixUrl))), fe = l(() => D(s(o.webhookPrefixUrl)));
246
+ const ke = l(() => q(s(o.authPrefixUrl))), pe = l(() => G(s(o.billingPrefixUrl))), be = l(() => J(s(o.onesPrefixUrl))), ge = l(() => H(s(o.logPrefixUrl))), Ue = l(() => N(s(o.aiPrefixUrl))), Pe = l(() => V(s(o.webhookPrefixUrl)));
217
247
  export {
218
- M as a,
219
- v as b,
220
- oe as c,
221
- te as d,
222
- ne as e,
223
- re as f,
248
+ F as a,
249
+ S as b,
250
+ fe as c,
251
+ de as d,
252
+ ke as e,
253
+ pe as f,
224
254
  o as g,
225
- se as h,
226
- W as i,
227
- w as j,
228
- A as k,
255
+ re as h,
256
+ E as i,
257
+ $ as j,
258
+ ce as k,
229
259
  ue as l,
230
- ce as m,
231
- ae as n,
232
- le as o,
233
- ee as p,
234
- E as r,
235
- ie as s,
236
- X as t,
237
- q as u,
238
- fe as w
260
+ Ue as m,
261
+ ge as n,
262
+ be as o,
263
+ me as p,
264
+ se as q,
265
+ L as r,
266
+ he as s,
267
+ te as t,
268
+ Z as u,
269
+ le as v,
270
+ Pe as w,
271
+ h as x
239
272
  };
package/dist/authkit.d.ts CHANGED
@@ -33,14 +33,18 @@ export { default as AuthkitSetPassword } from './components/Authkit/AppSetting/A
33
33
  export { default as AuthkitEmailBinding } from './components/Authkit/AppSetting/AuthkitEmailBinding.vue';
34
34
  export { default as AuthkitPhoneBinding } from './components/Authkit/AppSetting/AuthkitPhoneBinding.vue';
35
35
  export { default as AuthkitPasswordUpdate } from './components/Authkit/AppSetting/AuthkitPasswordUpdate.vue';
36
+ export { default as AuthkitPasskeyBinding } from './components/Authkit/AppSetting/AuthkitPasskeyBinding.vue';
36
37
  export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
37
38
  export { useAuthkitAuth, type SignInResult, } from './composables/Authkit/useAuthkitAuth';
38
39
  export { useAuthkitAuthModal, type AuthModalView, type OpenAuthModalOptions, type UseAuthkitAuthModalReturn, } from './composables/Authkit/useAuthkitAuthModal';
39
40
  export { useEnsureAuthenticated, type UseEnsureAuthenticatedReturn, } from './composables/Authkit/useEnsureAuthenticated';
40
- export { useLegalLinks, type LegalLink, type UseLegalLinksReturn, } from './composables/Authkit/useLegalLinks';
41
+ export { useLegalDocs, type LegalDocLink, type UseLegalDocsReturn, } from './composables/Authkit/useLegalDocs';
42
+ export { default as LegalDocViewer } from './components/LegalDoc/LegalDocViewer.vue';
43
+ export { fetchAuthPageAboutUs } from './composables/Authkit/fetchAuthPageAboutUs';
44
+ export { LEGAL_DOCS, LEGAL_DOC_KEYS, buildBuiltinLegalDocUrl, isLegalDocConfigured, resolveLegalAppId, resolveLegalDocTargetFromData, openLegalDocTarget, type LegalDocKey, type LegalDocTarget, type LegalDocsMode, } from './legalDocs';
41
45
  export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersProfile';
42
46
  export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
43
47
  export { useOauth } from './composables/Authkit/useOauth';
44
- export { LEGAL_DOCS, LEGAL_DOC_KEYS, buildLegalLinkUrl, type LegalDocKey } from './utils/legalLinks';
48
+ export { useAuthkitPasskey } from './composables/Authkit/useAuthkitPasskey';
45
49
  export type * from './types/auth';
46
50
  export type { AppsData, PublicRoute } from './types/app';
package/dist/authkit.js CHANGED
@@ -1,57 +1,66 @@
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-C-0uuLSg.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-C5zEy9zN.js";
3
- import { u as q } from "./useAuthkitAppsAuthPageInfo-C2yKgl8t.js";
4
- import { u as K } from "./useAuthkitAuth-DmS-H7M2.js";
5
- import { u as Y } from "./apiClients-DrGX2iJy.js";
6
- import { u as H } from "./useEnsureAuthenticated-BuIbxqsO.js";
7
- import { L as N, a as Q, b as W, u as X } from "./useLegalLinks-Cwr45PBT.js";
8
- import { u as $ } from "./useAuthkitUsersProfile-BZDk21c8.js";
9
- import { u as it } from "./useAuthkitCreateAndUpdate-oo9517Gj.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 k, e as n, f as d, S as g, g as l, u as p, h as P } from "./AuthkitAppSetting-BN8-xgNq.js";
2
+ import { A as m, a as c, b as S, c as L, d as O, E as U, e as w, _ as x, f as B, O as D, g as E, P as b, h as y, i as C, j as I, R as v, S as V, k as _, l as G, m as R, n as T, o as M, p as j, L as z } from "./LegalDocViewer-DM8FYBpf.js";
3
+ import { u as K } from "./useAuthkitAppsAuthPageInfo-CNudJd04.js";
4
+ import { u as q } from "./useAuthkitAuth-3m0yW6uP.js";
5
+ import { u as J } from "./apiClients-BcXOLuYu.js";
6
+ import { u as Q } from "./useEnsureAuthenticated-DNkCCy_Y.js";
7
+ import { L as X, a as Z, b as $, i as tt, o as at, r as st, c as it, u as et } from "./useLegalDocs-DQP_Yq6B.js";
8
+ import { f as ht } from "./fetchAuthPageAboutUs-dzTSwRsB.js";
9
+ import { u as ot } from "./useAuthkitUsersProfile-DJlMsftY.js";
10
+ import { u as kt } from "./useAuthkitCreateAndUpdate-BsINsI-E.js";
10
11
  export {
11
- a as AuthkitAppSetting,
12
- l as AuthkitAuth,
13
- m as AuthkitAuthContainer,
14
- g as AuthkitAuthModal,
15
- S as AuthkitAuthTitle,
12
+ s as AuthkitAppSetting,
13
+ m as AuthkitAuth,
14
+ c as AuthkitAuthContainer,
15
+ S as AuthkitAuthModal,
16
+ L as AuthkitAuthTitle,
16
17
  O as AuthkitAuthorize,
17
- c as AuthkitBindEmail,
18
- s as AuthkitBindPhone,
18
+ i as AuthkitBindEmail,
19
+ e as AuthkitBindPhone,
19
20
  u as AuthkitEmailBinding,
20
- e as AuthkitEmailUpdate,
21
+ U as AuthkitEmailUpdate,
21
22
  h as AuthkitEmailVerify,
22
- L as AuthkitGithubBinding,
23
+ w as AuthkitGithubBinding,
23
24
  A as AuthkitOAuthBinding,
24
- U as AuthkitOAuthCallbackProvider,
25
- w as AuthkitOauthCallback,
26
- x as AuthkitOauthItem,
25
+ x as AuthkitOAuthCallbackProvider,
26
+ B as AuthkitOauthCallback,
27
+ D as AuthkitOauthItem,
27
28
  E as AuthkitOauthList,
29
+ o as AuthkitPasskeyBinding,
28
30
  b as AuthkitPasswordAuth,
29
31
  r as AuthkitPasswordUpdate,
30
- B as AuthkitPasswordUpdateAndVerify,
31
- o as AuthkitPersonalInformation,
32
- k as AuthkitPhoneBinding,
32
+ y as AuthkitPasswordUpdateAndVerify,
33
+ k as AuthkitPersonalInformation,
34
+ n as AuthkitPhoneBinding,
33
35
  C as AuthkitPhonePasswordUpdateAndVerify,
34
- n as AuthkitPhoneVerify,
35
- y as AuthkitProvider,
36
- I as AuthkitResetPassword,
37
- d as AuthkitSendVerifyCode,
36
+ d as AuthkitPhoneVerify,
37
+ I as AuthkitProvider,
38
+ v as AuthkitResetPassword,
39
+ g as AuthkitSendVerifyCode,
38
40
  V as AuthkitServiceAgreementAndPrivacyProtection,
39
- p as AuthkitSetPassword,
41
+ l as AuthkitSetPassword,
40
42
  _ as AuthkitSignIn,
41
- v as AuthkitSignInPhone,
42
- G as AuthkitSignUp,
43
- R as AuthkitSignUpPhone,
44
- D as AuthkitSwitchSignIn,
45
- M as AuthkitSwitchSignUpOrResetPassword,
46
- N as LEGAL_DOCS,
47
- Q as LEGAL_DOC_KEYS,
48
- W as buildLegalLinkUrl,
49
- q as useAuthkitAppsAuthPageInfo,
50
- K as useAuthkitAuth,
51
- Y as useAuthkitAuthModal,
52
- it as useAuthkitCreateAndUpdate,
53
- $ as useAuthkitUsersProfile,
54
- H as useEnsureAuthenticated,
55
- X as useLegalLinks,
43
+ G as AuthkitSignInPhone,
44
+ R as AuthkitSignUp,
45
+ T as AuthkitSignUpPhone,
46
+ M as AuthkitSwitchSignIn,
47
+ j as AuthkitSwitchSignUpOrResetPassword,
48
+ X as LEGAL_DOCS,
49
+ Z as LEGAL_DOC_KEYS,
50
+ z as LegalDocViewer,
51
+ $ as buildBuiltinLegalDocUrl,
52
+ ht as fetchAuthPageAboutUs,
53
+ tt as isLegalDocConfigured,
54
+ at as openLegalDocTarget,
55
+ st as resolveLegalAppId,
56
+ it as resolveLegalDocTargetFromData,
57
+ K as useAuthkitAppsAuthPageInfo,
58
+ q as useAuthkitAuth,
59
+ J as useAuthkitAuthModal,
60
+ kt as useAuthkitCreateAndUpdate,
61
+ p as useAuthkitPasskey,
62
+ ot as useAuthkitUsersProfile,
63
+ Q as useEnsureAuthenticated,
64
+ et as useLegalDocs,
56
65
  P as useOauth
57
66
  };
@@ -0,0 +1,12 @@
1
+ /** 第三方登录与 Passkey 品牌图标(Iconify selfhst soft 彩色) */
2
+ export type OAuthProviderKey = 'github' | 'google' | 'microsoft' | 'wechat';
3
+ export declare const oauthProviderIcons: Record<OAuthProviderKey, string>;
4
+ export declare const passkeyProviderIcon = "selfhst:ksuite-kpaste";
5
+ /** 登录区图标尺寸 */
6
+ export declare const oauthLoginIconSize = 32;
7
+ export declare const oauthLoginTouchPadding = 2;
8
+ export declare const oauthLoginTouchSize: number;
9
+ export declare const oauthLoginIconGap = 12;
10
+ /** 设置/列表区品牌图标 */
11
+ export declare const oauthSettingIconSize = 24;
12
+ export declare const oauthProviderLabels: Record<OAuthProviderKey, string>;
@@ -1,3 +1,4 @@
1
+ import { LegalDocsMode } from '../legalDocs/types';
1
2
  export type GlobalTheme = 'light' | 'dark' | 'system';
2
3
  export interface GlobalSEOConfig {
3
4
  /** 网站名称 */
@@ -40,6 +41,8 @@ export interface HuyoooUIConfig {
40
41
  region: string;
41
42
  /** Web3Forms 访问密钥 */
42
43
  web3formsAccessKey: string;
44
+ /** 法律文档导航:builtin 走 /AboutUsDetails,delegate 由应用监听事件自行处理 */
45
+ legalDocsMode: LegalDocsMode;
43
46
  }
44
47
  export declare let globalConfig: HuyoooUIConfig;
45
48
  /** 全局 SEO 配置(独立对象) */
@@ -80,5 +83,7 @@ export interface SetGlobalConfigOptions {
80
83
  region?: string;
81
84
  /** Web3Forms 访问密钥 */
82
85
  web3formsAccessKey?: string;
86
+ /** 法律文档导航:builtin 走 /AboutUsDetails,delegate 由应用监听事件自行处理 */
87
+ legalDocsMode?: LegalDocsMode;
83
88
  }
84
89
  export declare function setGlobalConfig(newConfig: SetGlobalConfigOptions): void;
@@ -0,0 +1,11 @@
1
+ /** 表格列 minWidth / width 统一常量(与 ones Space 后台对齐) */
2
+ export declare const TABLE_MIN_WIDTH: {
3
+ readonly status: 100;
4
+ readonly shortLabel: 200;
5
+ readonly datetime: 180;
6
+ readonly name: 240;
7
+ /** 单按钮操作列(移除等) */
8
+ readonly actionsSingle: 100;
9
+ /** 双按钮操作列(重命名 + 删除等) */
10
+ readonly actionsDual: 200;
11
+ };
package/dist/common.js CHANGED
@@ -1,8 +1,8 @@
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-CF3qOLWW.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-PeWkCK0p.js";
2
2
  import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
3
- import { C as x, E as b } from "./CustomTable-nsxN4Ja4.js";
3
+ import { C as x, E as b } from "./CustomTable-BzGfaAVH.js";
4
4
  import { L } from "./Logo-D7fyXyB-.js";
5
- import { M as g, a as A } from "./Menu-Cy2ZPeaz.js";
5
+ import { M as g, a as A } from "./Menu-uCexrsKP.js";
6
6
  export {
7
7
  s as AppLayout,
8
8
  o as AppSidebar,
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ icon: string;
3
+ size?: number | string;
4
+ alt?: string;
5
+ class?: string;
6
+ };
7
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ size: number | string;
9
+ class: string;
10
+ alt: string;
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -41,7 +41,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
41
41
  }>> & Readonly<{
42
42
  onSend?: ((...args: any[]) => any) | undefined;
43
43
  }>, {
44
- startCountFn: () => void;
44
+ startCountFn: (seconds: number) => void;
45
45
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
46
  send: (...args: any[]) => void;
47
47
  }, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -64,7 +64,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
64
64
  }>> & Readonly<{
65
65
  onSend?: ((...args: any[]) => any) | undefined;
66
66
  }>, {
67
- startCountFn: () => void;
67
+ startCountFn: (seconds: number) => void;
68
68
  }, {}, {}, {}, {}> | null;
69
69
  }, any>;
70
70
  export default _default;
@@ -1,6 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { FormSizeType } from '../../../types/auth';
3
- type OAuthProvider = "github" | "google" | "microsoft" | "wechat";
3
+ import { OAuthProviderKey } from '../../../common/authProviderIcons';
4
+ type OAuthProvider = OAuthProviderKey;
4
5
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
6
  provider: {
6
7
  type: PropType<OAuthProvider>;
@@ -0,0 +1,14 @@
1
+ import { PropType } from 'vue';
2
+ import { FormSizeType } from '../../../types/auth';
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ size: {
5
+ type: PropType<FormSizeType>;
6
+ required: true;
7
+ };
8
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
9
+ size: {
10
+ type: PropType<FormSizeType>;
11
+ required: true;
12
+ };
13
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
14
+ export default _default;
@@ -5,6 +5,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
5
5
  type: PropType<FormSizeType>;
6
6
  required: true;
7
7
  };
8
+ requireOldPassword: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
8
12
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
13
  submit: (...args: any[]) => void;
10
14
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -12,9 +16,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
12
16
  type: PropType<FormSizeType>;
13
17
  required: true;
14
18
  };
19
+ requireOldPassword: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
15
23
  }>> & Readonly<{
16
24
  onSubmit?: ((...args: any[]) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
25
+ }>, {
26
+ requireOldPassword: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
18
28
  formRef: any;
19
29
  }, any>;
20
30
  export default _default;
@@ -14,7 +14,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
14
14
  };
15
15
  }>> & Readonly<{
16
16
  onSubmit?: ((...args: any[]) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
18
- formRef: any;
19
- }, any>;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
20
18
  export default _default;