@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,52 +1,57 @@
1
- import { u as a } from "./useAuthkitAuth-DmS-H7M2.js";
2
- import { g as o, a as u, b as r, s as i, c as n, d as f, u as p } from "./apiClients-DrGX2iJy.js";
3
- import { u as l } from "./useLegalLinks-Cwr45PBT.js";
4
- import { u as h } from "./useAuthkitUsersProfile-BZDk21c8.js";
5
- import { u as S } from "./useAuthkitAppsAuthPageInfo-C2yKgl8t.js";
6
- import { u as C } from "./useAuthkitCreateAndUpdate-oo9517Gj.js";
7
- import { u as d } from "./useMessageNotifications-D85_-mDq.js";
8
- import { u as O, a as T, b as P, c as R } from "./useSEO-BSMQdBR9.js";
9
- import { u as E } from "./useTableHandle-BdujaiNX.js";
10
- import { f as k, a as _, g as I, u as M, b as B, c as w, w as F } from "./useRoutePermission-CaWtjLRA.js";
11
- import { u as v } from "./useUploadCos-BRKRzSy3.js";
12
- import { u as G } from "./useUserMenu-ClPBlvaM.js";
13
- import { u as H, a as V } from "./useSubscriptionCheckout-BRk5h9aC.js";
14
- import { I as j, P as q, R as z, c as J, u as Q, a as W, b as X } from "./useBillingStatusOptions-B7xLU3fs.js";
1
+ import { u as a } from "./useAuthkitAuth-3m0yW6uP.js";
2
+ import { g as t, a as u, b as r, s as i, c as n, d as l, u as f } from "./apiClients-BcXOLuYu.js";
3
+ import { L as g, a as c, b as m, i as h, o as A, r as d, c as b, u as x } from "./useLegalDocs-DQP_Yq6B.js";
4
+ import { f as L } from "./fetchAuthPageAboutUs-dzTSwRsB.js";
5
+ import { u as S } from "./useAuthkitUsersProfile-DJlMsftY.js";
6
+ import { u as P } from "./useAuthkitAppsAuthPageInfo-CNudJd04.js";
7
+ import { u as U } from "./useAuthkitCreateAndUpdate-BsINsI-E.js";
8
+ import { u as M } from "./useMessageNotifications-CAphguOm.js";
9
+ import { u as v, a as R, b as w, c as G, d as B } from "./useSEO-CDWxbk8B.js";
10
+ import { f as _, a as y, g as F, u as H, b as K, c as N, w as V } from "./useRoutePermission-CEiya9AM.js";
11
+ import { u as j } from "./useUploadCos-C8BqFPkx.js";
12
+ import { u as z } from "./useUserMenu-ClPBlvaM.js";
13
+ import { u as Q, a as W } from "./useSubscriptionCheckout-d_M_rKRa.js";
14
+ import { c as Z, u as $, a as ss, b as es } from "./useBillingStatusOptions-CfHQOFNw.js";
15
15
  export {
16
- j as INVOICE_STATUS_FALLBACK,
17
- q as POINTS_RECHARGE_STATUS_FALLBACK,
18
- z as REFUND_STATUS_FALLBACK,
19
- J as createBillingStatusOptions,
20
- k as findActiveMenuPath,
21
- _ as findMenuPath,
22
- I as getPathOnly,
23
- o as globalConfig,
16
+ g as LEGAL_DOCS,
17
+ c as LEGAL_DOC_KEYS,
18
+ m as buildBuiltinLegalDocUrl,
19
+ Z as createBillingStatusOptions,
20
+ L as fetchAuthPageAboutUs,
21
+ _ as findActiveMenuPath,
22
+ y as findMenuPath,
23
+ F as getPathOnly,
24
+ t as globalConfig,
24
25
  u as globalSEOConfig,
25
26
  r as globalThemeRef,
27
+ h as isLegalDocConfigured,
28
+ A as openLegalDocTarget,
29
+ d as resolveLegalAppId,
30
+ b as resolveLegalDocTargetFromData,
26
31
  i as setGlobalConfig,
27
32
  n as setGlobalSEOConfig,
28
- f as setTheme,
29
- M as useActiveDoc,
30
- B as useAuthMenu,
31
- S as useAuthkitAppsAuthPageInfo,
33
+ l as setTheme,
34
+ H as useActiveDoc,
35
+ K as useAuthMenu,
36
+ P as useAuthkitAppsAuthPageInfo,
32
37
  a as useAuthkitAuth,
33
- p as useAuthkitAuthModal,
34
- C as useAuthkitCreateAndUpdate,
35
- h as useAuthkitUsersProfile,
36
- H as useBillingPlans,
37
- O as useCommonCreateAndUpdate,
38
- T as useDownloads,
39
- Q as useInvoiceStatusOptions,
40
- l as useLegalLinks,
41
- d as useMessageNotifications,
42
- W as usePointsRechargeStatusOptions,
43
- X as useRefundStatusOptions,
44
- w as useRoutePermission,
45
- P as useRouteSEO,
46
- R as useSEO,
47
- V as useSubscriptionCheckout,
48
- E as useTableHandle,
49
- v as useUploadCos,
50
- G as useUserMenu,
51
- F as withViewTransition
38
+ f as useAuthkitAuthModal,
39
+ U as useAuthkitCreateAndUpdate,
40
+ S as useAuthkitUsersProfile,
41
+ Q as useBillingPlans,
42
+ v as useCommonCreateAndUpdate,
43
+ R as useDownloads,
44
+ $ as useInvoiceStatusOptions,
45
+ x as useLegalDocs,
46
+ M as useMessageNotifications,
47
+ ss as usePointsRechargeStatusOptions,
48
+ es as useRefundStatusOptions,
49
+ N as useRoutePermission,
50
+ w as useRouteSEO,
51
+ G as useSEO,
52
+ W as useSubscriptionCheckout,
53
+ B as useTableHandle,
54
+ j as useUploadCos,
55
+ z as useUserMenu,
56
+ V as withViewTransition
52
57
  };
@@ -10,4 +10,5 @@ export { default as FeedbackList } from './components/Feedback/FeedbackList.vue'
10
10
  export { default as FeedbackModal } from './components/Feedback/FeedbackModal.vue';
11
11
  export { default as FeedbackFloatButton } from './components/Feedback/FeedbackFloatButton.vue';
12
12
  export { default as FeedbackRefresh } from './components/Feedback/FeedbackRefresh.vue';
13
+ export { default as VideoPreview } from './components/VideoPreview.vue';
13
14
  export type * from './types/feedback';
package/dist/feedback.js CHANGED
@@ -1,17 +1,18 @@
1
- import { B as b, a as s, F, b as d, _ as c, c as o, R as t } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js";
2
- import { C as r } from "./Clipboard-Bo7gdpR6.js";
3
- import { F as m, a as f, b as i, c as n } from "./FeedbackItem-BP-SiJ2u.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-B9BqGWm8.js";
2
+ import { C as i } from "./index-BkLvw1PU.js";
3
+ import { F as m, a as f, b as n, c as p } from "./FeedbackItem-BP-SiJ2u.js";
4
4
  export {
5
- r as Clipboard,
5
+ i as Clipboard,
6
6
  b as FeedbackBubbleEnd,
7
7
  s as FeedbackBubbleStart,
8
8
  m as FeedbackContainer,
9
9
  f as FeedbackCustomTabs,
10
- F as FeedbackDetails,
11
- i as FeedbackFloatButton,
12
- d as FeedbackForm,
13
- n as FeedbackItem,
14
- c as FeedbackList,
15
- o as FeedbackModal,
16
- t as FeedbackRefresh
10
+ d as FeedbackDetails,
11
+ n as FeedbackFloatButton,
12
+ F as FeedbackForm,
13
+ p as FeedbackItem,
14
+ o as FeedbackList,
15
+ c as FeedbackModal,
16
+ t as FeedbackRefresh,
17
+ r as VideoPreview
17
18
  };
@@ -0,0 +1,25 @@
1
+ import { g as r } from "./apiClients-BcXOLuYu.js";
2
+ import { n as a } from "./useAuthkitAppsAuthPageInfo-CNudJd04.js";
3
+ async function i(n) {
4
+ if (!n)
5
+ return null;
6
+ try {
7
+ const e = await fetch(`${r.authPrefixUrl}/apps/authPageInfo`, {
8
+ method: "POST",
9
+ headers: {
10
+ "Content-Type": "application/json",
11
+ "app-id": n
12
+ },
13
+ body: "{}"
14
+ });
15
+ if (!e.ok)
16
+ return null;
17
+ const t = await e.json(), o = t == null ? void 0 : t.aboutUs;
18
+ return !o || typeof o != "object" ? null : a(o);
19
+ } catch {
20
+ return null;
21
+ }
22
+ }
23
+ export {
24
+ i as f
25
+ };
@@ -1,5 +1,5 @@
1
1
  /* empty css */
2
- import "./apiClients-DrGX2iJy.js";
2
+ import "./apiClients-BcXOLuYu.js";
3
3
  import { defineComponent as X, ref as J, openBlock as K, createBlock as Q, unref as W } from "vue";
4
4
  import { Message as Z } from "@arco-design/web-vue";
5
5
  import { Icon as $ } from "@iconify/vue";
@@ -30,6 +30,7 @@ export { default as LandingPagePriceGroup } from './components/LandingPage/Landi
30
30
  export { default as LandingPagePricingCard } from './components/LandingPage/LandingPagePricingCard.vue';
31
31
  export { default as LandingPagePricingGrid } from './components/LandingPage/LandingPagePricingGrid.vue';
32
32
  export { default as LandingPageSectionHeader } from './components/LandingPage/LandingPageSectionHeader.vue';
33
+ export { default as LandingPageFeaturePanels } from './components/LandingPage/LandingPageFeaturePanels.vue';
33
34
  export { default as LandingPageSections } from './components/LandingPage/LandingPageSections.vue';
34
35
  export { default as LandingPageShowcase } from './components/LandingPage/LandingPageShowcase.vue';
35
36
  export { default as LandingPageStats } from './components/LandingPage/LandingPageStats.vue';
@@ -1,56 +1,57 @@
1
- import { L as g, a as e, b as i, B as s, C as d, c as L, d as P, e as o, f as t, g as r, h as c, i as u, j as m, k as C, l as p, m as T, n as F, o as f, p as S, q as l, r as b, s as k, t as x, u as B, T as D, v as G, w as H, x as h, y, z as A, P as I } from "./LandingPageSectionTabs-Ce3_Rc2L.js";
2
- import { L as v, a as w } from "./LandingPageFAQ-CZJXvor9.js";
3
- import { L as z, a as M, b as Q, c as E, D as J, d as K, e as N, f as O, g as R, h as U, i as V, j as W, k as X } from "./LandingPageLinkGroup-DDNRivMt.js";
4
- import { D as Z, L as _ } from "./LandingPageSectionHeader-D_74W4My.js";
5
- import { L as aa } from "./Logo-D7fyXyB-.js";
1
+ import { L as g, a as e, b as i, B as s, C as d, c as L, d as P, e as o, f as t, g as r, h as c, i as u, j as m, k as C, l as p, m as F, n as T, o as f, p as l, q as S, r as b, s as k, t as x, u as B, v as A, T as D, w as G, x as H, y as h, z as y, A as I, P as j } from "./LandingPageSectionTabs-jRjkWlM-.js";
2
+ import { L as w, a as q, b as z } from "./LandingPageSectionHeader-3hiuw6G0.js";
3
+ import { L as Q, a as E, b as J, c as K, D as N, d as O, e as R, f as U, g as V, h as W, i as X, j as Y, k as Z } from "./LandingPageLinkGroup-BZJ48Yss.js";
4
+ import { D as $ } from "./LandingPageDescription-BczWZHKy.js";
5
+ import { L as na } from "./Logo-D7fyXyB-.js";
6
6
  export {
7
7
  g as LandingPageAbout,
8
8
  e as LandingPageAside,
9
9
  i as LandingPageBlockHeader,
10
- v as LandingPageBlockLayout,
11
- z as LandingPageBrandInfo,
10
+ w as LandingPageBlockLayout,
11
+ Q as LandingPageBrandInfo,
12
12
  s as LandingPageButton,
13
13
  d as LandingPageCard,
14
- M as LandingPageContact,
15
- Q as LandingPageContactForm,
16
- E as LandingPageContainer,
14
+ E as LandingPageContact,
15
+ J as LandingPageContactForm,
16
+ K as LandingPageContainer,
17
17
  L as LandingPageCta,
18
- Z as LandingPageDescription,
19
- J as LandingPageDivider,
20
- w as LandingPageFAQ,
18
+ $ as LandingPageDescription,
19
+ N as LandingPageDivider,
20
+ q as LandingPageFAQ,
21
21
  P as LandingPageFeatureCard,
22
- o as LandingPageFeatureSectionHeader,
23
- t as LandingPageFeatures,
24
- r as LandingPageFeatures2,
25
- c as LandingPageFeaturesGrid,
26
- u as LandingPageFooter,
27
- K as LandingPageFooterContact,
28
- N as LandingPageFooterLayout,
29
- m as LandingPageHero,
30
- O as LandingPageLink,
31
- R as LandingPageLinkGroup,
32
- U as LandingPageListItem,
33
- aa as LandingPageLogo,
34
- C as LandingPageLogos,
35
- V as LandingPageMission,
36
- p as LandingPagePageContent,
22
+ o as LandingPageFeaturePanels,
23
+ t as LandingPageFeatureSectionHeader,
24
+ r as LandingPageFeatures,
25
+ c as LandingPageFeatures2,
26
+ u as LandingPageFeaturesGrid,
27
+ m as LandingPageFooter,
28
+ O as LandingPageFooterContact,
29
+ R as LandingPageFooterLayout,
30
+ C as LandingPageHero,
31
+ U as LandingPageLink,
32
+ V as LandingPageLinkGroup,
33
+ W as LandingPageListItem,
34
+ na as LandingPageLogo,
35
+ p as LandingPageLogos,
36
+ X as LandingPageMission,
37
+ F as LandingPagePageContent,
37
38
  T as LandingPagePriceGroup,
38
- F as LandingPagePricingCard,
39
- f as LandingPagePricingGrid,
40
- _ as LandingPageSectionHeader,
39
+ f as LandingPagePricingCard,
40
+ l as LandingPagePricingGrid,
41
+ z as LandingPageSectionHeader,
41
42
  S as LandingPageSectionTabs,
42
- l as LandingPageSections,
43
- b as LandingPageShowcase,
44
- k as LandingPageStats,
45
- x as LandingPageSteps,
46
- B as LandingPageSubTitle,
43
+ b as LandingPageSections,
44
+ k as LandingPageShowcase,
45
+ x as LandingPageStats,
46
+ B as LandingPageSteps,
47
+ A as LandingPageSubTitle,
47
48
  D as LandingPageTabs,
48
- W as LandingPageTeamInfo,
49
- X as LandingPageTeamList,
49
+ Y as LandingPageTeamInfo,
50
+ Z as LandingPageTeamList,
50
51
  G as LandingPageTestimonial,
51
52
  H as LandingPageTestimonialCard,
52
53
  h as LandingPageTips,
53
54
  y as LandingPageTitle,
54
- A as LandingPageToc,
55
- I as PageContent
55
+ I as LandingPageToc,
56
+ j as PageContent
56
57
  };
@@ -0,0 +1,3 @@
1
+ import { LegalDocKey } from './constants';
2
+ /** 内置法律文档详情页 URL:同域 /AboutUsDetails?type=&appId= */
3
+ export declare function buildBuiltinLegalDocUrl(type: LegalDocKey, appId: string): string;
@@ -1,9 +1,5 @@
1
1
  /**
2
2
  * 法律 / 协议类文档字典:将后端 aboutUs 的字段名映射到中文标签。
3
- * 维护此处即可同步更新所有展示位(登录页底部、用户面板、关于我们等)。
4
- *
5
- * key ↔ aboutUs 字段名(保持与后端 schema 一致)
6
- * label ↔ UI 展示文案
7
3
  */
8
4
  export declare const LEGAL_DOCS: {
9
5
  readonly userServiceAgreement: "用户服务协议";
@@ -14,9 +10,3 @@ export declare const LEGAL_DOCS: {
14
10
  };
15
11
  export type LegalDocKey = keyof typeof LEGAL_DOCS;
16
12
  export declare const LEGAL_DOC_KEYS: LegalDocKey[];
17
- /**
18
- * 构造法律文档外链。
19
- * @param type 文档类型(与 aboutUs 字段名一致)
20
- * @param appId 当前应用 ID(来自 globalConfig.appId)
21
- */
22
- export declare function buildLegalLinkUrl(type: LegalDocKey, appId: string): string;
@@ -0,0 +1,7 @@
1
+ export { LEGAL_DOCS, LEGAL_DOC_KEYS, type LegalDocKey } from './constants';
2
+ export { buildBuiltinLegalDocUrl } from './buildBuiltinUrl';
3
+ export { isLegalDocConfigured } from './isConfigured';
4
+ export { resolveLegalAppId } from './resolveAppId';
5
+ export { resolveLegalDocTargetFromData } from './resolveTarget';
6
+ export { openInNewTab, openLegalDocTarget } from './open';
7
+ export type { LegalDocTarget, LegalDocSource, LegalDocsMode } from './types';
@@ -0,0 +1,7 @@
1
+ /** TipTap / JSON 文档最小结构 */
2
+ export interface LegalDocContent {
3
+ type?: string;
4
+ content?: unknown[];
5
+ }
6
+ /** 判断内置 TipTap 文档是否已配置有效内容 */
7
+ export declare function isLegalDocConfigured(doc: LegalDocContent | null | undefined): boolean;
@@ -0,0 +1,3 @@
1
+ import { LegalDocTarget } from './types';
2
+ export declare function openInNewTab(url: string): void;
3
+ export declare function openLegalDocTarget(target: LegalDocTarget): void;
@@ -0,0 +1,8 @@
1
+ export interface ResolveLegalAppIdOptions {
2
+ appId?: string;
3
+ route?: {
4
+ query: Record<string, unknown>;
5
+ };
6
+ }
7
+ /** 解析法律文档所属租户 appId:显式参数 → 路由 query → globalConfig */
8
+ export declare function resolveLegalAppId(options?: ResolveLegalAppIdOptions): string;
@@ -0,0 +1,4 @@
1
+ import { LegalDocKey } from './constants';
2
+ import { LegalDocSource, LegalDocTarget } from './types';
3
+ /** 根据 aboutUs 内容解析内置法律文档打开目标 */
4
+ export declare function resolveLegalDocTargetFromData(key: LegalDocKey, data: LegalDocSource, appId: string): LegalDocTarget | undefined;
@@ -0,0 +1,12 @@
1
+ import { LegalDocKey } from './constants';
2
+ import { LegalDocContent } from './isConfigured';
3
+ export interface LegalDocTarget {
4
+ key: LegalDocKey;
5
+ label: string;
6
+ url: string;
7
+ configured: boolean;
8
+ }
9
+ export interface LegalDocSource {
10
+ aboutUs?: Partial<Record<LegalDocKey, LegalDocContent>>;
11
+ }
12
+ export type LegalDocsMode = 'builtin' | 'delegate';