@huyooo/ui 4.0.3 → 4.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 (48) hide show
  1. package/dist/{AuthkitAppSetting-Mt0Npsrg.js → AuthkitAppSetting-B7xyx5Kb.js} +7 -7
  2. package/dist/{CustomTable-DWiyrYnW.js → CustomTable-FlfUde4Q.js} +2 -2
  3. package/dist/{FeedbackModal.vue_vue_type_script_setup_true_lang-Cw2KkPEV.js → FeedbackModal.vue_vue_type_script_setup_true_lang-BBmobezM.js} +4 -4
  4. package/dist/{LandingPageLinkGroup-CVktmuZn.js → LandingPageLinkGroup-DBhikoiz.js} +190 -209
  5. package/dist/{LandingPageSectionTabs-dSiKXmAa.js → LandingPageSectionTabs-BwStYRXA.js} +362 -366
  6. package/dist/{LegalDocViewer-Dg5IUUsW.js → LegalDocViewer-BPbrJ2tj.js} +10 -10
  7. package/dist/{PaySubscriptions-D1jt316F.js → PaySubscriptions-CPH1wESx.js} +4 -4
  8. package/dist/{PricingPlans-DuVbKs34.js → PricingPlans-Cb2qrkmu.js} +3 -3
  9. package/dist/{ReferrerReferees-QPRxJ-CP.js → ReferrerReferees-B2OR30NV.js} +3 -3
  10. package/dist/{Report-DjNFwR2V.js → Report-C5RbZNpM.js} +105 -112
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-BIRnaBoz.js → Upload.vue_vue_type_script_setup_true_lang-BygtAblQ.js} +1 -1
  12. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-CGWtJ2il.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DxvHvsQm.js} +6 -6
  13. package/dist/{WidthContainer-BwYM1SLO.js → WidthContainer-DtKLf5Ub.js} +10 -10
  14. package/dist/authkit.js +8 -8
  15. package/dist/common/globalConfig.d.ts +5 -0
  16. package/dist/common.js +2 -2
  17. package/dist/components/LandingPage/LandingPageFooterContact.vue.d.ts +0 -20
  18. package/dist/composables/Authkit/useLegalDocs.d.ts +1 -1
  19. package/dist/composables.d.ts +2 -0
  20. package/dist/composables.js +60 -54
  21. package/dist/feedback.js +2 -2
  22. package/dist/{fetchAuthPageAboutUs-D_l0X2Xq.js → fetchAuthPageAboutUs-DD-MwyiG.js} +2 -2
  23. package/dist/{index-C81Mrlvt.js → index-ClOjruo3.js} +1 -1
  24. package/dist/{index-hjdpP8PD.js → index-CncbUu-V.js} +1 -1
  25. package/dist/landingPage.js +2 -2
  26. package/dist/legalDocs/buildBuiltinUrl.d.ts +1 -1
  27. package/dist/main.js +306 -300
  28. package/dist/pay.js +3 -3
  29. package/dist/privateCom.js +1 -1
  30. package/dist/publicReport-ZlMy0xQf.js +32 -0
  31. package/dist/referrer.js +1 -1
  32. package/dist/{runtime-DgASwLjo.js → runtime-CfbHkmk9.js} +2 -1
  33. package/dist/style.css +1 -1
  34. package/dist/types/api/auth.generated.d.ts +250 -43
  35. package/dist/upload.js +2 -2
  36. package/dist/{useAccessPosture-DZj1K8tj.js → useAccessPosture-NSPnmu0I.js} +2 -2
  37. package/dist/{useAuthkitAppsAuthPageInfo-Dmm9xVjp.js → useAuthkitAppsAuthPageInfo-Cg40bxCJ.js} +1 -1
  38. package/dist/{useAuthkitAuth-DkP0hwv-.js → useAuthkitAuth-C5oUnl8U.js} +1 -1
  39. package/dist/{useAuthkitUsersProfile-CR4lcY7Y.js → useAuthkitUsersProfile-BWNVk2UM.js} +1 -1
  40. package/dist/{useEnsureAuthenticated-DV2hKAPd.js → useEnsureAuthenticated-CQWINiHB.js} +1 -1
  41. package/dist/useLegalDocs-ky2EzBke.js +114 -0
  42. package/dist/{usePageSEO-DEFnaFKf.js → usePageSEO-CWLQAmET.js} +1 -1
  43. package/dist/{useRoutePermission-BicvPoLI.js → useRoutePermission-K-Eu4pRD.js} +3 -3
  44. package/dist/{useSubscriptionCheckout-BCGpYG5C.js → useSubscriptionCheckout-BcN8cRMV.js} +1 -1
  45. package/dist/user.js +1 -1
  46. package/dist/utils/requiredFooterLinks.d.ts +11 -0
  47. package/package.json +1 -1
  48. package/dist/useLegalDocs-DAxt9_gM.js +0 -107
@@ -1,107 +0,0 @@
1
- import { computed as f } from "vue";
2
- import { u as d } from "./useAuthkitAppsAuthPageInfo-Dmm9xVjp.js";
3
- import { g as L } from "./runtime-DgASwLjo.js";
4
- const c = {
5
- userServiceAgreement: "用户服务协议",
6
- privacyPolicy: "隐私协议",
7
- personalInformationCollectionList: "个人信息收集清单",
8
- thirdPartyInformationSharingList: "第三方信息共享清单",
9
- licenseInformation: "证照信息",
10
- complaintReportingRules: "投诉举报处理规则"
11
- }, b = Object.keys(c);
12
- function A(e) {
13
- typeof window > "u" || window.open(e, "_blank", "noopener,noreferrer");
14
- }
15
- function l(e) {
16
- A(e.url);
17
- }
18
- function D(e) {
19
- var u, a, o;
20
- if ((u = e == null ? void 0 : e.appId) != null && u.trim())
21
- return e.appId.trim();
22
- const n = (o = (a = e == null ? void 0 : e.route) == null ? void 0 : a.query) == null ? void 0 : o.appId;
23
- return typeof n == "string" && n.trim() ? n.trim() : L().config.appId;
24
- }
25
- function I(e, n) {
26
- const u = typeof window < "u" ? `${window.location.origin}/AboutUsDetails` : "/AboutUsDetails", a = new URLSearchParams({
27
- type: e,
28
- appId: n
29
- });
30
- return `${u}?${a.toString()}`;
31
- }
32
- function y(e) {
33
- if (!(e != null && e.content) || !Array.isArray(e.content) || e.content.length === 0)
34
- return !1;
35
- const n = e.content[0];
36
- return !(e.content.length === 1 && typeof n == "object" && n !== null && "type" in n && n.type === "paragraph" && !("content" in n && Array.isArray(n.content) && n.content.length));
37
- }
38
- function v(e, n, u) {
39
- var o;
40
- const a = (o = n.aboutUs) == null ? void 0 : o[e];
41
- if (y(a))
42
- return {
43
- key: e,
44
- label: c[e],
45
- url: I(e, u),
46
- configured: !0
47
- };
48
- }
49
- function w(e) {
50
- return {
51
- ...e,
52
- open: () => l(e)
53
- };
54
- }
55
- function R(e) {
56
- const {
57
- appsData: n
58
- } = d();
59
- function u() {
60
- return D({
61
- route: e == null ? void 0 : e.route,
62
- appId: e == null ? void 0 : e.appId
63
- });
64
- }
65
- function a(t) {
66
- var r;
67
- return v(t, {
68
- aboutUs: (r = n.value) == null ? void 0 : r.aboutUs
69
- }, u());
70
- }
71
- function o(t) {
72
- const r = a(t);
73
- return r ? w(r) : {
74
- key: t,
75
- label: c[t],
76
- url: "",
77
- configured: !1,
78
- open: () => {
79
- }
80
- };
81
- }
82
- const i = f(() => b.map(o)), s = f(() => i.value.filter((t) => t.configured));
83
- function g(t) {
84
- const r = i.value.find((m) => m.key === t);
85
- return r != null && r.configured ? r : void 0;
86
- }
87
- function p(t) {
88
- const r = a(t);
89
- r && l(r);
90
- }
91
- return {
92
- all: i,
93
- items: s,
94
- getLink: g,
95
- openLegalDoc: p
96
- };
97
- }
98
- export {
99
- c as L,
100
- b as a,
101
- I as b,
102
- v as c,
103
- y as i,
104
- l as o,
105
- D as r,
106
- R as u
107
- };