@huyooo/ui 4.0.1 → 4.0.3

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 (58) hide show
  1. package/dist/{AuthkitAppSetting-Cg8j3nES.js → AuthkitAppSetting-Mt0Npsrg.js} +20 -17
  2. package/dist/{CustomTable-C15Dgbks.js → CustomTable-DWiyrYnW.js} +14 -14
  3. package/dist/{FeedbackModal.vue_vue_type_script_setup_true_lang-Ddy1jcdL.js → FeedbackModal.vue_vue_type_script_setup_true_lang-Cw2KkPEV.js} +9 -8
  4. package/dist/LandingPageLinkGroup-CVktmuZn.js +768 -0
  5. package/dist/{LandingPageSectionTabs-BJQeq3V5.js → LandingPageSectionTabs-dSiKXmAa.js} +6 -6
  6. package/dist/{LegalDocViewer-BuzKCAfO.js → LegalDocViewer-Dg5IUUsW.js} +24 -21
  7. package/dist/{PaySubscriptions-ZSvRTG2i.js → PaySubscriptions-D1jt316F.js} +22 -21
  8. package/dist/{PricingPlans-DTGJ-_us.js → PricingPlans-DuVbKs34.js} +3 -3
  9. package/dist/{ReferrerReferees-gkKtDau-.js → ReferrerReferees-QPRxJ-CP.js} +3 -3
  10. package/dist/Report-DjNFwR2V.js +324 -0
  11. package/dist/{Upload.vue_vue_type_script_setup_true_lang-C6B5_Hjo.js → Upload.vue_vue_type_script_setup_true_lang-BIRnaBoz.js} +1 -1
  12. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BH6l-SKs.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-CGWtJ2il.js} +6 -6
  13. package/dist/{WidthContainer-DXwIiG2x.js → WidthContainer-BwYM1SLO.js} +10 -10
  14. package/dist/authkit.js +8 -8
  15. package/dist/common/globalConfig.d.ts +0 -5
  16. package/dist/common.js +2 -2
  17. package/dist/components/LandingPage/LandingPageContact.vue.d.ts +14 -1
  18. package/dist/components/LandingPage/LandingPageContactForm.vue.d.ts +3 -8
  19. package/dist/components/LandingPage/LandingPageFooterContact.vue.d.ts +33 -5
  20. package/dist/components/LandingPage/LandingPageLink.vue.d.ts +7 -2
  21. package/dist/components/LandingPage/LandingPageReportForm.vue.d.ts +4 -0
  22. package/dist/components/PrivateCom/Report.vue.d.ts +2 -0
  23. package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +14 -0
  24. package/dist/composables.d.ts +1 -1
  25. package/dist/composables.js +10 -10
  26. package/dist/feedback.js +2 -2
  27. package/dist/{fetchAuthPageAboutUs-C-jQ44QK.js → fetchAuthPageAboutUs-D_l0X2Xq.js} +2 -2
  28. package/dist/{index-BIxwv9Xs.js → index-C81Mrlvt.js} +1 -1
  29. package/dist/{index-5OR_BVTz.js → index-hjdpP8PD.js} +1 -1
  30. package/dist/landingPage.d.ts +1 -0
  31. package/dist/landingPage.js +17 -16
  32. package/dist/main.js +106 -104
  33. package/dist/pay.js +3 -3
  34. package/dist/privateCom.d.ts +1 -0
  35. package/dist/privateCom.js +3 -2
  36. package/dist/referrer.js +1 -1
  37. package/dist/{runtime-B-tHI8-q.js → runtime-DgASwLjo.js} +23 -25
  38. package/dist/style.css +1 -1
  39. package/dist/types/api/ones.generated.d.ts +44 -0
  40. package/dist/types/app.d.ts +9 -0
  41. package/dist/upload.js +2 -2
  42. package/dist/{useAccessPosture-DBNTLWQn.js → useAccessPosture-DZj1K8tj.js} +33 -33
  43. package/dist/{useAuthkitAppsAuthPageInfo-CsivtUQH.js → useAuthkitAppsAuthPageInfo-Dmm9xVjp.js} +25 -23
  44. package/dist/{useAuthkitAuth-CV60Hc3o.js → useAuthkitAuth-DkP0hwv-.js} +1 -1
  45. package/dist/{useAuthkitUsersProfile-CQOLEAxC.js → useAuthkitUsersProfile-CR4lcY7Y.js} +1 -1
  46. package/dist/{useEnsureAuthenticated-BYGI2uYZ.js → useEnsureAuthenticated-DV2hKAPd.js} +1 -1
  47. package/dist/{useLegalDocs-BrYWCDh3.js → useLegalDocs-DAxt9_gM.js} +2 -2
  48. package/dist/{usePageSEO-BHYaXnDU.js → usePageSEO-DEFnaFKf.js} +1 -1
  49. package/dist/{useRoutePermission-BkWHsFxN.js → useRoutePermission-BicvPoLI.js} +3 -3
  50. package/dist/{useSubscriptionCheckout-QSNro05_.js → useSubscriptionCheckout-BCGpYG5C.js} +1 -1
  51. package/dist/user.js +1 -1
  52. package/dist/utils/company.d.ts +2 -0
  53. package/dist/utils/publicFeedbackSubmit.d.ts +13 -0
  54. package/dist/utils/publicReport.d.ts +26 -0
  55. package/dist/utils/reportForm.d.ts +8 -0
  56. package/package.json +1 -1
  57. package/dist/Contact-D9NRguTE.js +0 -222
  58. package/dist/LandingPageLinkGroup-B8ERKG5f.js +0 -527
@@ -1077,6 +1077,31 @@ export type Api = {
1077
1077
  return: any;
1078
1078
  };
1079
1079
  };
1080
+ public: {
1081
+ contact: {
1082
+ /** 未登录用户提交联系我们,写入反馈中心 */
1083
+ post: {
1084
+ body: {
1085
+ name: string;
1086
+ email: string;
1087
+ message: string;
1088
+ };
1089
+ return: any;
1090
+ };
1091
+ };
1092
+ report: {
1093
+ /** 未登录用户提交违法不良信息举报,写入反馈中心 */
1094
+ post: {
1095
+ body: {
1096
+ location: string;
1097
+ occurredAt?: string;
1098
+ detail: string;
1099
+ contact?: string;
1100
+ };
1101
+ return: any;
1102
+ };
1103
+ };
1104
+ };
1080
1105
  delete: {
1081
1106
  /** 删除反馈 */
1082
1107
  post: {
@@ -2764,6 +2789,25 @@ export interface ApiClient {
2764
2789
  })[];
2765
2790
  }, config?: RequestConfig) => RequestBuilder<any>;
2766
2791
  };
2792
+ public: {
2793
+ contact: {
2794
+ /** 未登录用户提交联系我们,写入反馈中心 */
2795
+ post: (body: {
2796
+ name: string;
2797
+ email: string;
2798
+ message: string;
2799
+ }, config?: RequestConfig) => RequestBuilder<any>;
2800
+ };
2801
+ report: {
2802
+ /** 未登录用户提交违法不良信息举报,写入反馈中心 */
2803
+ post: (body: {
2804
+ location: string;
2805
+ occurredAt?: string;
2806
+ detail: string;
2807
+ contact?: string;
2808
+ }, config?: RequestConfig) => RequestBuilder<any>;
2809
+ };
2810
+ };
2767
2811
  delete: {
2768
2812
  /** 删除反馈 */
2769
2813
  post: (body: {
@@ -76,6 +76,13 @@ export interface SocialLinkPublicItem {
76
76
  kind: 'email' | 'url';
77
77
  url?: string;
78
78
  }
79
+ /** 页脚公开备案 / 证照(authPageInfo 下发,空值不下发) */
80
+ export interface FilingPublicItem {
81
+ key: string;
82
+ label: string;
83
+ value: string;
84
+ href?: string;
85
+ }
79
86
  export interface AppsData {
80
87
  id: string;
81
88
  name: string;
@@ -96,4 +103,6 @@ export interface AppsData {
96
103
  aboutUs: AboutUs;
97
104
  brand: Brand;
98
105
  socialLinks?: SocialLinkPublicItem[];
106
+ filings?: FilingPublicItem[];
107
+ organizationName?: string;
99
108
  }
package/dist/upload.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-C6B5_Hjo.js";
2
- import { b as s, d as p } from "./runtime-B-tHI8-q.js";
1
+ import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-BIRnaBoz.js";
2
+ import { b as s, d as p } from "./runtime-DgASwLjo.js";
3
3
  export {
4
4
  o as Upload,
5
5
  s as createBrowserCosTransport,
@@ -1,9 +1,9 @@
1
- import { computed as a, ref as p, onMounted as N } from "vue";
2
- import { useRouter as E } from "vue-router";
3
- import { u as y } from "./useAuthkitAppsAuthPageInfo-CsivtUQH.js";
4
- import { u as A } from "./useAuthkitAuth-CV60Hc3o.js";
1
+ import { computed as a, ref as p, onMounted as E } from "vue";
2
+ import { useRouter as $ } from "vue-router";
3
+ import { u as y } from "./useAuthkitAppsAuthPageInfo-Dmm9xVjp.js";
4
+ import { u as A } from "./useAuthkitAuth-DkP0hwv-.js";
5
5
  import { g as h } from "./apiClients-5u4_uxFE.js";
6
- function $(e, n = "default") {
6
+ function B(e, n = "default") {
7
7
  const t = document;
8
8
  if (t && typeof t.startViewTransition == "function") {
9
9
  const r = document.body;
@@ -18,13 +18,13 @@ function $(e, n = "default") {
18
18
  } else
19
19
  e();
20
20
  }
21
- function B() {
21
+ function M() {
22
22
  const {
23
23
  appsData: e,
24
24
  appsAuthPageInfoSuccess: n
25
- } = y(), t = E(), r = a(() => n.value), s = a(() => r.value && e.value.applicationLogoUrl || ""), o = a(() => r.value && e.value.name || "");
25
+ } = y(), t = $(), r = a(() => n.value), s = a(() => r.value && e.value.applicationLogoUrl || ""), o = a(() => r.value && e.value.name || "");
26
26
  function f() {
27
- $(() => {
27
+ B(() => {
28
28
  t.push("/"), window.scrollTo({
29
29
  top: 0,
30
30
  behavior: "smooth"
@@ -43,18 +43,18 @@ let m = !1;
43
43
  function v(e) {
44
44
  return e === "development" || e === "enterprise" || e === "invite" || e === "public" ? e : null;
45
45
  }
46
- function M(e) {
46
+ function T(e) {
47
47
  var n;
48
48
  return v(e.accessMode) || v((n = e.inviteAccess) == null ? void 0 : n.mode);
49
49
  }
50
- function T(e) {
50
+ function j(e) {
51
51
  var n;
52
52
  return !(e.signUpEnabled === !1 || ((n = e.signUpAuth) == null ? void 0 : n.enabled) === !1);
53
53
  }
54
- function j(e) {
54
+ function D(e) {
55
55
  return typeof e != "object" || e === null || !("granted" in e) ? !1 : e.granted === !0;
56
56
  }
57
- function D(e) {
57
+ function R(e) {
58
58
  if (typeof e != "object" || e === null || !("application" in e))
59
59
  return !1;
60
60
  const n = e.application;
@@ -84,18 +84,18 @@ function L(e) {
84
84
  secondaryLabel: null
85
85
  };
86
86
  }
87
- function R(e) {
87
+ function C(e) {
88
88
  return e === "development" ? "正在开发中" : e === "enterprise" ? "正在进行企业内测" : "正在邀请制内测中";
89
89
  }
90
- function C(e, n) {
91
- const t = n.brandName || "", r = L(n.signUpEnabled), s = R(e), o = n.signUpEnabled ? `${s}。注册时填写邀请码即可开通;没有邀请码也可以先注册,再申请开通。` : `${s}。请使用已开通账号登录。`;
90
+ function F(e, n) {
91
+ const t = n.brandName || "", r = L(n.signUpEnabled), s = C(e), o = n.signUpEnabled ? `${s}。注册时填写邀请码即可开通;没有邀请码也可以先注册,再申请开通。` : `${s}。请使用已开通账号登录。`;
92
92
  return {
93
93
  note: l(t, o),
94
94
  kind: "guest",
95
95
  ...r
96
96
  };
97
97
  }
98
- function F(e) {
98
+ function V(e) {
99
99
  return {
100
100
  note: l(e, "你的账号尚未开通。申请开通通过后即可使用。"),
101
101
  kind: "waitlisted",
@@ -111,7 +111,7 @@ function w(e) {
111
111
  secondaryLabel: null
112
112
  };
113
113
  }
114
- function V(e) {
114
+ function I(e) {
115
115
  const n = e.brandName || "";
116
116
  return e.loggedIn && e.granted ? d() : e.loggedIn && e.applied ? w(n) : e.loggedIn ? {
117
117
  note: l(n, "当前尚未对外开放。你可以申请开通,通过后即可使用。"),
@@ -125,10 +125,10 @@ function V(e) {
125
125
  };
126
126
  }
127
127
  function x(e, n) {
128
- return n.loggedIn && n.granted || !e || e === "public" ? d() : n.loggedIn ? n.applied ? w(n.brandName || "") : F(n.brandName || "") : C(e, n);
128
+ return n.loggedIn && n.granted ? d() : e ? e === "public" ? d() : n.loggedIn ? n.applied ? w(n.brandName || "") : V(n.brandName || "") : F(e, n) : I(n);
129
129
  }
130
130
  function z(e) {
131
- c.value = j(e), u.value = D(e);
131
+ c.value = D(e), u.value = R(e);
132
132
  }
133
133
  async function G() {
134
134
  const {
@@ -141,12 +141,12 @@ async function G() {
141
141
  });
142
142
  n || !e || z(e);
143
143
  }
144
- function I() {
144
+ function P() {
145
145
  c.value = !1, u.value = !1;
146
146
  }
147
- async function P(e) {
147
+ async function k(e) {
148
148
  if (!e) {
149
- I(), i.value = !0;
149
+ P(), i.value = !0;
150
150
  return;
151
151
  }
152
152
  await G(), i.value = !0;
@@ -160,9 +160,9 @@ function H() {
160
160
  onSignOut: n
161
161
  } = A();
162
162
  e(() => {
163
- i.value = !1, P(!0);
163
+ i.value = !1, k(!0);
164
164
  }), n(() => {
165
- I(), i.value = !0;
165
+ P(), i.value = !0;
166
166
  });
167
167
  }
168
168
  async function O() {
@@ -179,32 +179,32 @@ async function O() {
179
179
  function Q() {
180
180
  const {
181
181
  brandName: e
182
- } = B(), {
182
+ } = M(), {
183
183
  jwtToken: n
184
184
  } = A(), {
185
185
  appsData: t,
186
186
  appsAuthPageInfoSuccess: r,
187
187
  appsAuthPageInfoFailed: s
188
188
  } = y();
189
- H(), N(() => {
190
- P(!!n.value);
189
+ H(), E(() => {
190
+ k(!!n.value);
191
191
  });
192
- const o = a(() => M(t.value)), f = a(() => T(t.value)), k = a(() => !!n.value), S = a(() => r.value || s.value), b = a(() => S.value && i.value), U = a(() => {
192
+ const o = a(() => T(t.value)), f = a(() => j(t.value)), S = a(() => !!n.value), U = a(() => r.value || s.value), b = a(() => U.value && i.value), N = a(() => {
193
193
  if (!b.value)
194
194
  return null;
195
195
  const g = {
196
196
  brandName: e.value,
197
- loggedIn: k.value,
197
+ loggedIn: S.value,
198
198
  granted: c.value,
199
199
  applied: u.value,
200
200
  signUpEnabled: f.value
201
201
  };
202
- return s.value ? V(g) : x(o.value, g);
202
+ return s.value ? I(g) : x(o.value, g);
203
203
  });
204
204
  return {
205
205
  accessMode: o,
206
206
  loaded: b,
207
- posture: U,
207
+ posture: N,
208
208
  granted: c,
209
209
  applied: u,
210
210
  applyWaitlist: O
@@ -213,7 +213,7 @@ function Q() {
213
213
  export {
214
214
  x as a,
215
215
  O as b,
216
- B as c,
216
+ M as c,
217
217
  Q as u,
218
- $ as w
218
+ B as w
219
219
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as t } from "vue";
2
2
  import { g as u } from "./apiClients-5u4_uxFE.js";
3
- import { g as c } from "./runtime-B-tHI8-q.js";
3
+ import { g as c } from "./runtime-DgASwLjo.js";
4
4
  function r() {
5
5
  return {
6
6
  type: "doc",
@@ -12,17 +12,17 @@ function r() {
12
12
  function p(e) {
13
13
  return e.type === "doc" && Array.isArray(e.content) && e.content.length > 0;
14
14
  }
15
- function n(e) {
15
+ function o(e) {
16
16
  return typeof e == "string" || e == null ? r() : p(e) ? e : r();
17
17
  }
18
18
  function f(e) {
19
19
  return {
20
- personalInformationCollectionList: n(e.personalInformationCollectionList),
21
- thirdPartyInformationSharingList: n(e.thirdPartyInformationSharingList),
22
- userServiceAgreement: n(e.userServiceAgreement),
23
- privacyPolicy: n(e.privacyPolicy),
24
- licenseInformation: n(e.licenseInformation),
25
- complaintReportingRules: n(e.complaintReportingRules)
20
+ personalInformationCollectionList: o(e.personalInformationCollectionList),
21
+ thirdPartyInformationSharingList: o(e.thirdPartyInformationSharingList),
22
+ userServiceAgreement: o(e.userServiceAgreement),
23
+ privacyPolicy: o(e.privacyPolicy),
24
+ licenseInformation: o(e.licenseInformation),
25
+ complaintReportingRules: o(e.complaintReportingRules)
26
26
  };
27
27
  }
28
28
  function g() {
@@ -36,7 +36,7 @@ function g() {
36
36
  complaintReportingRules: e
37
37
  };
38
38
  }
39
- const o = t({
39
+ const n = t({
40
40
  id: "",
41
41
  name: "",
42
42
  description: "",
@@ -94,13 +94,15 @@ const o = t({
94
94
  backgroundImageUrl: "",
95
95
  backgroundImage: "/66a0d5b35203890887f0e1a4/6714e2458fe86895bf3da8ae/1ef8ed72-1731-6e00-93d1-fa24165f1a3e.webp"
96
96
  },
97
- socialLinks: []
98
- }), a = t(!1), i = t(!1), l = t(!1);
99
- function h(e) {
100
- o.value.id = e.id, o.value.name = e.name, o.value.description = e.description, o.value.homePageUrl = e.homePageUrl, o.value.applicationLogo = e.applicationLogo, o.value.applicationLogoUrl = e.applicationLogoUrl, o.value.publicRoutes = e.publicRoutes || [], o.value.oauth = e.oauth, o.value.authMethods = e.authMethods || o.value.authMethods, o.value.signUpAuth = e.signUpAuth, o.value.inviteAccess = e.inviteAccess, o.value.accessMode = e.accessMode, o.value.signUpEnabled = e.signUpEnabled, o.value.inviteOnly = e.inviteOnly, o.value.registrationTerms = e.registrationTerms, o.value.authorizationCallback = e.authorizationCallback, o.value.aboutUs = f(e.aboutUs), o.value.brand = e.brand, o.value.socialLinks = Array.isArray(e.socialLinks) ? e.socialLinks : [];
97
+ socialLinks: [],
98
+ filings: [],
99
+ organizationName: ""
100
+ }), i = t(!1), a = t(!1), l = t(!1);
101
+ function m(e) {
102
+ n.value.id = e.id, n.value.name = e.name, n.value.description = e.description, n.value.homePageUrl = e.homePageUrl, n.value.applicationLogo = e.applicationLogo, n.value.applicationLogoUrl = e.applicationLogoUrl, n.value.publicRoutes = e.publicRoutes || [], n.value.oauth = e.oauth, n.value.authMethods = e.authMethods || n.value.authMethods, n.value.signUpAuth = e.signUpAuth, n.value.inviteAccess = e.inviteAccess, n.value.accessMode = e.accessMode, n.value.signUpEnabled = e.signUpEnabled, n.value.inviteOnly = e.inviteOnly, n.value.registrationTerms = e.registrationTerms, n.value.authorizationCallback = e.authorizationCallback, n.value.aboutUs = f(e.aboutUs), n.value.brand = e.brand, n.value.socialLinks = Array.isArray(e.socialLinks) ? e.socialLinks : [], n.value.filings = Array.isArray(e.filings) ? e.filings : [], n.value.organizationName = e.organizationName || "";
101
103
  }
102
- async function m() {
103
- a.value = !0, i.value = !1, l.value = !1;
104
+ async function h() {
105
+ i.value = !0, a.value = !1, l.value = !1;
104
106
  const {
105
107
  data: e,
106
108
  error: s
@@ -110,25 +112,25 @@ async function m() {
110
112
  silentError: !0
111
113
  }
112
114
  });
113
- if (a.value = !1, s || !e) {
115
+ if (i.value = !1, s || !e) {
114
116
  l.value = !0;
115
117
  return;
116
118
  }
117
- h(e), i.value = !0;
119
+ m(e), a.value = !0;
118
120
  }
119
- function A() {
121
+ function b() {
120
122
  async function e() {
121
- i.value || a.value || await m();
123
+ a.value || i.value || await h();
122
124
  }
123
125
  return {
124
- appsData: o,
126
+ appsData: n,
125
127
  appsAuthPageInfoApi: e,
126
- appsAuthPageInfoLoading: a,
127
- appsAuthPageInfoSuccess: i,
128
+ appsAuthPageInfoLoading: i,
129
+ appsAuthPageInfoSuccess: a,
128
130
  appsAuthPageInfoFailed: l
129
131
  };
130
132
  }
131
133
  export {
132
134
  f as n,
133
- A as u
135
+ b as u
134
136
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as u, computed as m, nextTick as M, readonly as $ } from "vue";
2
2
  import { o as D, g as f, r as G, s as R } from "./apiClients-5u4_uxFE.js";
3
- import { u as K } from "./useAuthkitAppsAuthPageInfo-CsivtUQH.js";
3
+ import { u as K } from "./useAuthkitAppsAuthPageInfo-Dmm9xVjp.js";
4
4
  const p = u(!1), g = u(!1);
5
5
  let I;
6
6
  const N = "请先阅读并同意用户协议与隐私政策", Y = {
@@ -1,6 +1,6 @@
1
1
  import { ref as a, computed as i } from "vue";
2
2
  import { g as p } from "./apiClients-5u4_uxFE.js";
3
- import { u as l } from "./useAuthkitAuth-CV60Hc3o.js";
3
+ import { u as l } from "./useAuthkitAuth-DkP0hwv-.js";
4
4
  const e = a(null), n = a(!1), u = a(!1), s = a(!1);
5
5
  function v() {
6
6
  s.value = !0;
@@ -1,5 +1,5 @@
1
1
  import { computed as f } from "vue";
2
- import { u as r } from "./useAuthkitAuth-CV60Hc3o.js";
2
+ import { u as r } from "./useAuthkitAuth-DkP0hwv-.js";
3
3
  import { u as d } from "./apiClients-5u4_uxFE.js";
4
4
  const A = "jwtToken";
5
5
  let e = null, i = !1;
@@ -1,6 +1,6 @@
1
1
  import { computed as f } from "vue";
2
- import { u as d } from "./useAuthkitAppsAuthPageInfo-CsivtUQH.js";
3
- import { g as L } from "./runtime-B-tHI8-q.js";
2
+ import { u as d } from "./useAuthkitAppsAuthPageInfo-Dmm9xVjp.js";
3
+ import { g as L } from "./runtime-DgASwLjo.js";
4
4
  const c = {
5
5
  userServiceAgreement: "用户服务协议",
6
6
  privacyPolicy: "隐私协议",
@@ -1,7 +1,7 @@
1
1
  import "./apiClients-5u4_uxFE.js";
2
2
  import { Message as y } from "@arco-design/web-vue";
3
3
  import { ref as a, computed as s, toValue as A } from "vue";
4
- import { u as N } from "./runtime-B-tHI8-q.js";
4
+ import { u as N } from "./runtime-DgASwLjo.js";
5
5
  import { useHead as g, useSeoMeta as w } from "@unhead/vue";
6
6
  import { useRoute as E } from "vue-router";
7
7
  function q(t) {
@@ -1,8 +1,8 @@
1
1
  import { ref as C, computed as M, watch as L } from "vue";
2
2
  import { useRouter as S, useRoute as O } from "vue-router";
3
- import { u as x } from "./useAuthkitAppsAuthPageInfo-CsivtUQH.js";
4
- import { u as I } from "./useAuthkitUsersProfile-CQOLEAxC.js";
5
- import { g as W } from "./runtime-B-tHI8-q.js";
3
+ import { u as x } from "./useAuthkitAppsAuthPageInfo-Dmm9xVjp.js";
4
+ import { u as I } from "./useAuthkitUsersProfile-CR4lcY7Y.js";
5
+ import { g as W } from "./runtime-DgASwLjo.js";
6
6
  const R = C({
7
7
  key: "",
8
8
  name: ""
@@ -2,7 +2,7 @@ import { ref as v, computed as S } from "vue";
2
2
  import { d as V } from "./useBillingStatusOptions-BHVLZhEB.js";
3
3
  import { g as $ } from "./apiClients-5u4_uxFE.js";
4
4
  import { Message as b } from "@arco-design/web-vue";
5
- import { u as _ } from "./useEnsureAuthenticated-BYGI2uYZ.js";
5
+ import { u as _ } from "./useEnsureAuthenticated-DV2hKAPd.js";
6
6
  function D(e) {
7
7
  var u;
8
8
  const i = (u = e == null ? void 0 : e.metadata) == null ? void 0 : u.originalPrice;
package/dist/user.js CHANGED
@@ -1,4 +1,4 @@
1
- import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BH6l-SKs.js";
1
+ import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-CGWtJ2il.js";
2
2
  export {
3
3
  a as UserAccountMenu,
4
4
  n as UserAvatar,
@@ -0,0 +1,2 @@
1
+ /** 与证照、协议一致的登记住所,公开联系页勿写非正式简称 */
2
+ export declare const COMPANY_REGISTERED_ADDRESS = "\u5317\u4EAC\u5E02\u671D\u9633\u533A\u5317\u82D1\u4E1C\u8DEF19\u53F7\u96624\u53F7\u697C12\u5C421212\u5BA401\u53F7";
@@ -0,0 +1,13 @@
1
+ /** 落地页联系我们:写入 ones-server 反馈中心 */
2
+ export declare function submitPublicContact(body: {
3
+ name: string;
4
+ email: string;
5
+ message: string;
6
+ }): Promise<import('@vafast/api-client').ApiResponse<any>>;
7
+ /** 落地页违法不良信息举报:写入 ones-server 反馈中心 */
8
+ export declare function submitPublicReport(body: {
9
+ location: string;
10
+ occurredAt?: string;
11
+ detail: string;
12
+ contact?: string;
13
+ }): Promise<import('@vafast/api-client').ApiResponse<any>>;
@@ -0,0 +1,26 @@
1
+ /** 公开投诉举报渠道:页脚与本站 /Report 共用,不以登录为前提 */
2
+ export declare const SUPPORT_EMAIL = "support@huyooo.com";
3
+ export declare const CYBER_REPORT_URL = "https://www.12377.cn/";
4
+ export declare const CYBER_REPORT_PHONE = "12377";
5
+ export declare const CYBER_REPORT_LABEL = "\u4E2D\u56FD\u4E92\u8054\u7F51\u8FDD\u6CD5\u548C\u4E0D\u826F\u4FE1\u606F\u4E3E\u62A5\u4E2D\u5FC3";
6
+ /** 当前站点站内路径,本地与各 ONES 站点都走自己的源,不跳官网 */
7
+ export declare const REPORT_PATH = "/Report";
8
+ export declare const COMPLAINT_MAIL_SUBJECT = "\u6295\u8BC9\u4E3E\u62A5";
9
+ export type ComplianceFooterLink = {
10
+ label: string;
11
+ href: string;
12
+ };
13
+ /** 生成投诉举报 mailto,邮件主题固定便于客服分拣 */
14
+ export declare function createComplaintMailto(email?: string): string;
15
+ /** 把举报表单拼进邮件正文 */
16
+ export declare function createComplaintMailtoWithBody(body: string, email?: string): string;
17
+ /** 公开举报表单正文,便于按规则核查 */
18
+ export declare function composeReportMailBody(input: {
19
+ location: string;
20
+ time: string;
21
+ detail: string;
22
+ contact: string;
23
+ }): string;
24
+ /** 页脚常驻公示:本站举报入口 + 12377 */
25
+ export declare function createComplianceFooterLinks(reportHref?: string): ComplianceFooterLink[];
26
+ export declare function isExternalComplianceHref(href: string): boolean;
@@ -0,0 +1,8 @@
1
+ export declare function isReportEmail(value: string): boolean;
2
+ export declare function isReportMobile(value: string): boolean;
3
+ /** 选填:空值通过;填写则须是邮箱或 11 位大陆手机号 */
4
+ export declare function isOptionalEmailOrMobile(value: string): boolean;
5
+ /** datetime-local 的 value / max */
6
+ export declare function toDatetimeLocalValue(date: Date): string;
7
+ /** 把 datetime-local 转成邮件里可读的 `YYYY-MM-DD HH:mm` */
8
+ export declare function formatDatetimeLocalForDisplay(value: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [