@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,54 +1,65 @@
1
- import { defineComponent as b, openBlock as o, createElementBlock as i, createVNode as d, unref as m, createElementVNode as s, toDisplayString as f, Fragment as x, renderList as V, createBlock as z, normalizeClass as F, withCtx as v, createTextVNode as D, renderSlot as C, ref as k, createCommentVNode as S, normalizeStyle as Y, computed as O } from "vue";
1
+ import { defineComponent as L, openBlock as o, createElementBlock as i, createVNode as d, unref as m, createElementVNode as s, toDisplayString as f, Fragment as x, renderList as V, createBlock as z, normalizeClass as S, withCtx as v, createTextVNode as D, renderSlot as C, ref as k, createCommentVNode as T, normalizeStyle as Y, computed as O } from "vue";
2
2
  import { Icon as P } from "@iconify/vue";
3
3
  import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { D as R } from "./LandingPageDescription-BczWZHKy.js";
5
5
  import { L as G } from "./Logo-B9DFBxDU.js";
6
6
  import { g as M } from "./apiClients-5u4_uxFE.js";
7
7
  /* empty css */
8
- import "./index-C81Mrlvt.js";
8
+ import "./index-ClOjruo3.js";
9
9
  /* empty css */
10
- import { Form as q, FormItem as w, Input as T, Textarea as N, Button as U, DatePicker as j } from "@arco-design/web-vue";
10
+ import { Form as q, FormItem as w, Input as F, Textarea as N, Button as E, DatePicker as j } from "@arco-design/web-vue";
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  import { useRouter as W } from "vue-router";
14
- const J = {
14
+ const J = /^1[3-9]\d{9}$/, K = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
15
+ function Q(e) {
16
+ return K.test(e.trim());
17
+ }
18
+ function X(e) {
19
+ return J.test(e.trim());
20
+ }
21
+ function Z(e) {
22
+ const t = e.trim();
23
+ return t ? Q(t) || X(t) : !0;
24
+ }
25
+ const ee = {
15
26
  description: "",
16
27
  class: "mission-list-item"
17
- }, K = {
28
+ }, te = {
18
29
  class: "mission-list-text"
19
- }, Q = /* @__PURE__ */ b({
30
+ }, ae = /* @__PURE__ */ L({
20
31
  __name: "LandingPageListItem",
21
32
  props: {
22
33
  description: {
23
34
  default: ""
24
35
  }
25
36
  },
26
- setup(t) {
27
- const e = t;
28
- return (a, r) => (o(), i("div", J, [d(m(P), {
37
+ setup(e) {
38
+ const t = e;
39
+ return (a, r) => (o(), i("div", ee, [d(m(P), {
29
40
  icon: "mingcute:check-circle-fill",
30
41
  class: "mission-list-icon"
31
- }), s("span", K, f(e.description), 1)]));
42
+ }), s("span", te, f(t.description), 1)]));
32
43
  }
33
- }), X = /* @__PURE__ */ y(Q, [["__scopeId", "data-v-60bfd053"]]), Z = {
44
+ }), oe = /* @__PURE__ */ y(ae, [["__scopeId", "data-v-60bfd053"]]), ne = {
34
45
  class: "mission-container"
35
- }, ee = {
46
+ }, se = {
36
47
  class: "mission-image-wrapper"
37
- }, te = ["src", "alt"], ae = {
48
+ }, ie = ["src", "alt"], le = {
38
49
  class: "mission-content"
39
- }, oe = {
50
+ }, re = {
40
51
  class: "mission-title"
41
- }, ne = {
52
+ }, ce = {
42
53
  class: "mission-title-highlight"
43
- }, se = {
54
+ }, de = {
44
55
  class: "mission-desc"
45
- }, ie = {
56
+ }, ue = {
46
57
  class: "mission-list"
47
- }, le = {
58
+ }, me = {
48
59
  style: {
49
60
  display: "none"
50
61
  }
51
- }, re = /* @__PURE__ */ b({
62
+ }, fe = /* @__PURE__ */ L({
52
63
  __name: "LandingPageMission",
53
64
  props: {
54
65
  image: {},
@@ -58,51 +69,51 @@ const J = {
58
69
  description: {},
59
70
  features: {}
60
71
  },
61
- setup(t) {
62
- return (e, a) => (o(), i("div", Z, [s("div", ee, [a[0] || (a[0] = s("div", {
72
+ setup(e) {
73
+ return (t, a) => (o(), i("div", ne, [s("div", se, [a[0] || (a[0] = s("div", {
63
74
  class: "mission-bg1"
64
75
  }, null, -1)), s("img", {
65
- src: t.image,
66
- alt: t.imageAlt,
76
+ src: e.image,
77
+ alt: e.imageAlt,
67
78
  loading: "lazy",
68
79
  width: "1270",
69
80
  decoding: "async",
70
81
  class: "mission-img"
71
- }, null, 8, te)]), s("div", ae, [s("h2", oe, [s("span", ne, f(t.highlight), 1), s("strong", null, f(t.title), 1)]), s("p", se, f(t.description), 1), s("div", ie, [(o(!0), i(x, null, V(t.features, (r, $) => (o(), z(X, {
82
+ }, null, 8, ie)]), s("div", le, [s("h2", re, [s("span", ce, f(e.highlight), 1), s("strong", null, f(e.title), 1)]), s("p", de, f(e.description), 1), s("div", ue, [(o(!0), i(x, null, V(e.features, (r, $) => (o(), z(oe, {
72
83
  key: $,
73
84
  description: r
74
- }, null, 8, ["description"]))), 128))])]), (o(), i("svg", le, [...a[1] || (a[1] = [s("symbol", {
85
+ }, null, 8, ["description"]))), 128))])]), (o(), i("svg", me, [...a[1] || (a[1] = [s("symbol", {
75
86
  id: "ai:ph:check-circle-fill"
76
87
  }, [s("path", {
77
88
  fill: "currentColor",
78
89
  d: "M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m45.66 85.66l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32"
79
90
  })], -1)])]))]));
80
91
  }
81
- }), Pt = /* @__PURE__ */ y(re, [["__scopeId", "data-v-8d215ca2"]]), ce = {
92
+ }), Pt = /* @__PURE__ */ y(fe, [["__scopeId", "data-v-8d215ca2"]]), pe = {
82
93
  class: "team-info-container"
83
- }, de = {
94
+ }, _e = {
84
95
  class: "team-info-title"
85
- }, ue = {
96
+ }, ge = {
86
97
  class: "team-info-desc"
87
- }, me = /* @__PURE__ */ b({
98
+ }, he = /* @__PURE__ */ L({
88
99
  __name: "LandingPageTeamInfo",
89
100
  props: {
90
101
  title: {},
91
102
  description: {}
92
103
  },
93
- setup(t) {
94
- const e = t;
95
- return (a, r) => (o(), i("div", ce, [s("div", de, f(e.title), 1), s("p", ue, f(e.description), 1)]));
104
+ setup(e) {
105
+ const t = e;
106
+ return (a, r) => (o(), i("div", pe, [s("div", _e, f(t.title), 1), s("p", ge, f(t.description), 1)]));
96
107
  }
97
- }), Vt = /* @__PURE__ */ y(me, [["__scopeId", "data-v-b6a418e6"]]), fe = {
108
+ }), Vt = /* @__PURE__ */ y(he, [["__scopeId", "data-v-b6a418e6"]]), ve = {
98
109
  class: "grid-container"
99
- }, pe = {
110
+ }, ye = {
100
111
  class: "square"
101
- }, _e = ["src", "alt", "sizes", "width", "height"], ge = {
112
+ }, $e = ["src", "alt", "sizes", "width", "height"], Le = {
102
113
  class: "footer"
103
- }, he = {
114
+ }, be = {
104
115
  class: "name"
105
- }, ve = /* @__PURE__ */ b({
116
+ }, ke = /* @__PURE__ */ L({
106
117
  __name: "LandingPageTeamList",
107
118
  props: {
108
119
  publishedTeamMembers: {},
@@ -111,25 +122,25 @@ const J = {
111
122
  height: {},
112
123
  pictureClass: {}
113
124
  },
114
- setup(t) {
115
- return (e, a) => (o(), i("div", fe, [(o(!0), i(x, null, V(t.publishedTeamMembers, (r) => (o(), i("div", {
125
+ setup(e) {
126
+ return (t, a) => (o(), i("div", ve, [(o(!0), i(x, null, V(e.publishedTeamMembers, (r) => (o(), i("div", {
116
127
  key: r.data.name,
117
128
  class: "group"
118
- }, [s("div", pe, [s("img", {
129
+ }, [s("div", ye, [s("img", {
119
130
  src: r.data.avatar.src,
120
131
  alt: r.data.avatar.alt,
121
- sizes: t.sizes,
122
- width: t.width,
123
- height: t.height,
124
- class: F(t.pictureClass ? `${t.pictureClass} picture-img` : "picture-img")
125
- }, null, 10, _e)]), s("div", ge, [s("h2", he, f(r.data.name), 1), d(R, null, {
132
+ sizes: e.sizes,
133
+ width: e.width,
134
+ height: e.height,
135
+ class: S(e.pictureClass ? `${e.pictureClass} picture-img` : "picture-img")
136
+ }, null, 10, $e)]), s("div", Le, [s("h2", be, f(r.data.name), 1), d(R, null, {
126
137
  default: v(() => [D(f(r.data.title), 1)]),
127
138
  _: 2
128
139
  }, 1024)])]))), 128))]));
129
140
  }
130
- }), Dt = /* @__PURE__ */ y(ve, [["__scopeId", "data-v-89ca8f8c"]]), ye = {
141
+ }), Dt = /* @__PURE__ */ y(ke, [["__scopeId", "data-v-89ca8f8c"]]), Ie = {
131
142
  class: "BrandInfo"
132
- }, $e = /* @__PURE__ */ b({
143
+ }, Ce = /* @__PURE__ */ L({
133
144
  __name: "LandingPageBrandInfo",
134
145
  props: {
135
146
  icon: {
@@ -158,36 +169,36 @@ const J = {
158
169
  default: "32px"
159
170
  }
160
171
  },
161
- setup(t) {
162
- const e = t;
163
- return (a, r) => (o(), i("div", ye, [d(G, {
164
- icon: e.icon,
165
- name: e.name,
166
- color: e.color,
167
- "font-size": e.fontSize,
168
- "icon-size": e.iconSize
172
+ setup(e) {
173
+ const t = e;
174
+ return (a, r) => (o(), i("div", Ie, [d(G, {
175
+ icon: t.icon,
176
+ name: t.name,
177
+ color: t.color,
178
+ "font-size": t.fontSize,
179
+ "icon-size": t.iconSize
169
180
  }, null, 8, ["icon", "name", "color", "font-size", "icon-size"]), d(R, null, {
170
- default: v(() => [D(f(e.description), 1)]),
181
+ default: v(() => [D(f(t.description), 1)]),
171
182
  _: 1
172
183
  })]));
173
184
  }
174
- }), St = /* @__PURE__ */ y($e, [["__scopeId", "data-v-9f0b94b0"]]), be = {
185
+ }), Tt = /* @__PURE__ */ y(Ce, [["__scopeId", "data-v-9f0b94b0"]]), xe = {
175
186
  class: "contact-container"
176
- }, Le = {
187
+ }, we = {
177
188
  class: "contact-info-section"
178
- }, ke = {
189
+ }, Pe = {
179
190
  class: "contact-title"
180
- }, Ie = {
191
+ }, Ve = {
181
192
  class: "contact-info"
182
- }, Ce = {
193
+ }, De = {
183
194
  class: "contact-info-item"
184
- }, xe = {
195
+ }, Te = {
185
196
  class: "contact-info-item"
186
- }, we = ["href"], Pe = {
197
+ }, Fe = ["href"], Se = {
187
198
  class: "contact-info-item"
188
- }, Ve = ["href"], De = ["href", "target", "rel"], Se = ["onClick"], Te = {
199
+ }, ze = ["href"], Re = ["href", "target", "rel"], Ae = ["onClick"], Be = {
189
200
  class: "contact-form-section"
190
- }, Fe = /* @__PURE__ */ b({
201
+ }, Me = /* @__PURE__ */ L({
191
202
  __name: "LandingPageContact",
192
203
  props: {
193
204
  title: {
@@ -225,95 +236,95 @@ const J = {
225
236
  }
226
237
  },
227
238
  emits: ["extraClick"],
228
- setup(t, {
229
- emit: e
239
+ setup(e, {
240
+ emit: t
230
241
  }) {
231
- const a = t, r = e;
232
- return ($, l) => (o(), i("div", be, [s("div", Le, [s("h2", ke, f(a.contact.title), 1), d(R, null, {
242
+ const a = e, r = t;
243
+ return ($, l) => (o(), i("div", xe, [s("div", we, [s("h2", Pe, f(a.contact.title), 1), d(R, null, {
233
244
  default: v(() => [D(f(a.contact.description), 1)]),
234
245
  _: 1
235
- }), s("div", Ie, [s("div", Ce, [d(m(P), {
246
+ }), s("div", Ve, [s("div", De, [d(m(P), {
236
247
  class: "contact-info-icon",
237
- icon: t.mapIcon
238
- }, null, 8, ["icon"]), s("span", null, f(a.address), 1)]), s("div", xe, [d(m(P), {
248
+ icon: e.mapIcon
249
+ }, null, 8, ["icon"]), s("span", null, f(a.address), 1)]), s("div", Te, [d(m(P), {
239
250
  class: "contact-info-icon",
240
251
  icon: a.emailIcon
241
252
  }, null, 8, ["icon"]), s("a", {
242
- href: `mailto:${t.email}`
243
- }, f(a.email), 9, we)]), s("div", Pe, [d(m(P), {
253
+ href: `mailto:${e.email}`
254
+ }, f(a.email), 9, Fe)]), s("div", Se, [d(m(P), {
244
255
  class: "contact-info-icon",
245
256
  icon: a.phoneIcon
246
257
  }, null, 8, ["icon"]), s("a", {
247
- href: `tel:${t.phone}`
248
- }, f(a.phone), 9, Ve)]), (o(!0), i(x, null, V(t.extraItems, (_) => (o(), i("div", {
249
- key: _.id,
258
+ href: `tel:${e.phone}`
259
+ }, f(a.phone), 9, ze)]), (o(!0), i(x, null, V(e.extraItems, (p) => (o(), i("div", {
260
+ key: p.id,
250
261
  class: "contact-info-item"
251
262
  }, [d(m(P), {
252
263
  class: "contact-info-icon",
253
- icon: _.icon
254
- }, null, 8, ["icon"]), _.href ? (o(), i("a", {
264
+ icon: p.icon
265
+ }, null, 8, ["icon"]), p.href ? (o(), i("a", {
255
266
  key: 0,
256
- href: _.href,
257
- target: _.target,
258
- rel: _.target === "_blank" ? "noopener noreferrer" : void 0
259
- }, f(_.label), 9, De)) : (o(), i("button", {
267
+ href: p.href,
268
+ target: p.target,
269
+ rel: p.target === "_blank" ? "noopener noreferrer" : void 0
270
+ }, f(p.label), 9, Re)) : (o(), i("button", {
260
271
  key: 1,
261
272
  type: "button",
262
273
  class: "contact-info-action",
263
- onClick: (p) => r("extraClick", _.id)
264
- }, f(_.label), 9, Se))]))), 128))])]), s("div", Te, [C($.$slots, "contact-form", {}, void 0, !0)])]));
274
+ onClick: (_) => r("extraClick", p.id)
275
+ }, f(p.label), 9, Ae))]))), 128))])]), s("div", Be, [C($.$slots, "contact-form", {}, void 0, !0)])]));
265
276
  }
266
- }), Tt = /* @__PURE__ */ y(Fe, [["__scopeId", "data-v-e3766943"]]), E = {
277
+ }), Ft = /* @__PURE__ */ y(Me, [["__scopeId", "data-v-e3766943"]]), U = {
267
278
  meta: {
268
279
  silentError: !0
269
280
  }
270
281
  };
271
- async function ze(t) {
272
- return M().ones.feedbackCenter.public.contact.post(t, E);
282
+ async function qe(e) {
283
+ return M().ones.feedbackCenter.public.contact.post(e, U);
273
284
  }
274
- async function Re(t) {
275
- return M().ones.feedbackCenter.public.report.post(t, E);
285
+ async function Ne(e) {
286
+ return M().ones.feedbackCenter.public.report.post(e, U);
276
287
  }
277
- const Ae = /* @__PURE__ */ b({
288
+ const Ee = /* @__PURE__ */ L({
278
289
  __name: "LandingPageContactForm",
279
- setup(t) {
280
- const e = k(), a = k(!1), r = k(""), $ = k(""), l = k({
290
+ setup(e) {
291
+ const t = k(), a = k(!1), r = k(""), $ = k(""), l = k({
281
292
  name: "",
282
293
  email: "",
283
294
  message: ""
284
295
  });
285
- function _() {
296
+ function p() {
286
297
  var n, u;
287
298
  l.value = {
288
299
  name: "",
289
300
  email: "",
290
301
  message: ""
291
- }, (u = (n = e.value) == null ? void 0 : n.resetFields) == null || u.call(n);
302
+ }, (u = (n = t.value) == null ? void 0 : n.resetFields) == null || u.call(n);
292
303
  }
293
- function p(n, u) {
304
+ function _(n, u) {
294
305
  $.value = n ? "text-green" : "text-red", r.value = u, window.setTimeout(() => {
295
306
  r.value = "";
296
307
  }, 5e3);
297
308
  }
298
309
  async function I() {
299
310
  var u;
300
- if (!await ((u = e.value) == null ? void 0 : u.validate())) {
311
+ if (!await ((u = t.value) == null ? void 0 : u.validate())) {
301
312
  a.value = !0;
302
313
  try {
303
314
  const {
304
- error: L
305
- } = await ze({
315
+ error: b
316
+ } = await qe({
306
317
  name: l.value.name.trim(),
307
318
  email: l.value.email.trim(),
308
319
  message: l.value.message.trim()
309
320
  });
310
- if (!L) {
311
- p(!0, "消息发送成功!我们会尽快回复您。"), _();
321
+ if (!b) {
322
+ _(!0, "消息发送成功!我们会尽快回复您。"), p();
312
323
  return;
313
324
  }
314
- p(!1, L.message || "发送失败,请检查网络连接后重试。");
325
+ _(!1, b.message || "发送失败,请检查网络连接后重试。");
315
326
  } catch {
316
- p(!1, "发送失败,请稍后再试!");
327
+ _(!1, "发送失败,请稍后再试!");
317
328
  } finally {
318
329
  a.value = !1;
319
330
  }
@@ -321,7 +332,7 @@ const Ae = /* @__PURE__ */ b({
321
332
  }
322
333
  return (n, u) => (o(), z(m(q), {
323
334
  ref_key: "formRef",
324
- ref: e,
335
+ ref: t,
325
336
  class: "contact-form",
326
337
  model: l.value,
327
338
  layout: "vertical"
@@ -334,9 +345,9 @@ const Ae = /* @__PURE__ */ b({
334
345
  message: "请输入您的姓名"
335
346
  }]
336
347
  }, {
337
- default: v(() => [d(m(T), {
348
+ default: v(() => [d(m(F), {
338
349
  modelValue: l.value.name,
339
- "onUpdate:modelValue": u[0] || (u[0] = (L) => l.value.name = L),
350
+ "onUpdate:modelValue": u[0] || (u[0] = (b) => l.value.name = b),
340
351
  placeholder: "请输入您的姓名",
341
352
  "allow-clear": ""
342
353
  }, null, 8, ["modelValue"])]),
@@ -352,9 +363,9 @@ const Ae = /* @__PURE__ */ b({
352
363
  message: "请输入有效的邮箱地址"
353
364
  }]
354
365
  }, {
355
- default: v(() => [d(m(T), {
366
+ default: v(() => [d(m(F), {
356
367
  modelValue: l.value.email,
357
- "onUpdate:modelValue": u[1] || (u[1] = (L) => l.value.email = L),
368
+ "onUpdate:modelValue": u[1] || (u[1] = (b) => l.value.email = b),
358
369
  placeholder: "请输入您的邮箱地址",
359
370
  "allow-clear": ""
360
371
  }, null, 8, ["modelValue"])]),
@@ -369,7 +380,7 @@ const Ae = /* @__PURE__ */ b({
369
380
  }, {
370
381
  default: v(() => [d(m(N), {
371
382
  modelValue: l.value.message,
372
- "onUpdate:modelValue": u[2] || (u[2] = (L) => l.value.message = L),
383
+ "onUpdate:modelValue": u[2] || (u[2] = (b) => l.value.message = b),
373
384
  placeholder: "请输入您的留言内容",
374
385
  "auto-size": {
375
386
  minRows: 4
@@ -377,7 +388,7 @@ const Ae = /* @__PURE__ */ b({
377
388
  "allow-clear": ""
378
389
  }, null, 8, ["modelValue"])]),
379
390
  _: 1
380
- }), d(m(U), {
391
+ }), d(m(E), {
381
392
  type: "primary",
382
393
  loading: a.value,
383
394
  onClick: I
@@ -386,38 +397,27 @@ const Ae = /* @__PURE__ */ b({
386
397
  _: 1
387
398
  }, 8, ["loading"]), r.value ? (o(), i("div", {
388
399
  key: 0,
389
- class: F(["form-result", $.value])
390
- }, f(r.value), 3)) : S("", !0)]),
400
+ class: S(["form-result", $.value])
401
+ }, f(r.value), 3)) : T("", !0)]),
391
402
  _: 1
392
403
  }, 8, ["model"]));
393
404
  }
394
- }), Ft = /* @__PURE__ */ y(Ae, [["__scopeId", "data-v-7ef1c29b"]]), Be = /^1[3-9]\d{9}$/, Me = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
395
- function qe(t) {
396
- return Me.test(t.trim());
397
- }
398
- function Ne(t) {
399
- return Be.test(t.trim());
400
- }
401
- function Ue(t) {
402
- const e = t.trim();
403
- return e ? qe(e) || Ne(e) : !0;
404
- }
405
- const Ee = /* @__PURE__ */ b({
405
+ }), St = /* @__PURE__ */ y(Ee, [["__scopeId", "data-v-7ef1c29b"]]), Ue = /* @__PURE__ */ L({
406
406
  __name: "LandingPageReportForm",
407
- setup(t) {
408
- const e = k(), a = k(!1), r = k(""), $ = k(""), l = k({
407
+ setup(e) {
408
+ const t = k(), a = k(!1), r = k(""), $ = k(""), l = k({
409
409
  location: "",
410
410
  occurredAt: "",
411
411
  detail: "",
412
412
  contact: ""
413
413
  });
414
- function _(g) {
414
+ function p(g) {
415
415
  const c = /* @__PURE__ */ new Date();
416
416
  c.setHours(0, 0, 0, 0);
417
417
  const h = new Date(g);
418
418
  return h.setHours(0, 0, 0, 0), h.getTime() > c.getTime();
419
419
  }
420
- function p(g, c) {
420
+ function _(g, c) {
421
421
  if (!g) {
422
422
  c();
423
423
  return;
@@ -430,7 +430,7 @@ const Ee = /* @__PURE__ */ b({
430
430
  c();
431
431
  }
432
432
  function I(g, c) {
433
- if (typeof g == "string" && Ue(g)) {
433
+ if (typeof g == "string" && Z(g)) {
434
434
  c();
435
435
  return;
436
436
  }
@@ -443,21 +443,21 @@ const Ee = /* @__PURE__ */ b({
443
443
  occurredAt: "",
444
444
  detail: "",
445
445
  contact: ""
446
- }, (c = (g = e.value) == null ? void 0 : g.resetFields) == null || c.call(g);
446
+ }, (c = (g = t.value) == null ? void 0 : g.resetFields) == null || c.call(g);
447
447
  }
448
448
  function u(g, c) {
449
449
  $.value = g ? "text-green" : "text-red", r.value = c, window.setTimeout(() => {
450
450
  r.value = "";
451
451
  }, 5e3);
452
452
  }
453
- async function L() {
453
+ async function b() {
454
454
  var c;
455
- if (!await ((c = e.value) == null ? void 0 : c.validate())) {
455
+ if (!await ((c = t.value) == null ? void 0 : c.validate())) {
456
456
  a.value = !0;
457
457
  try {
458
458
  const h = l.value.contact.trim(), H = l.value.occurredAt.trim(), {
459
459
  error: A
460
- } = await Re({
460
+ } = await Ne({
461
461
  location: l.value.location.trim(),
462
462
  occurredAt: H || void 0,
463
463
  detail: l.value.detail.trim(),
@@ -477,7 +477,7 @@ const Ee = /* @__PURE__ */ b({
477
477
  }
478
478
  return (g, c) => (o(), z(m(q), {
479
479
  ref_key: "formRef",
480
- ref: e,
480
+ ref: t,
481
481
  class: "contact-form",
482
482
  model: l.value,
483
483
  layout: "vertical"
@@ -490,7 +490,7 @@ const Ee = /* @__PURE__ */ b({
490
490
  message: "请填写被举报内容出现的位置"
491
491
  }]
492
492
  }, {
493
- default: v(() => [d(m(T), {
493
+ default: v(() => [d(m(F), {
494
494
  modelValue: l.value.location,
495
495
  "onUpdate:modelValue": c[0] || (c[0] = (h) => l.value.location = h),
496
496
  placeholder: "页面地址、会话链接或功能名称",
@@ -502,7 +502,7 @@ const Ee = /* @__PURE__ */ b({
502
502
  label: "出现时间",
503
503
  extra: "选填,精确到分钟",
504
504
  rules: [{
505
- validator: p
505
+ validator: _
506
506
  }]
507
507
  }, {
508
508
  default: v(() => [d(m(j), {
@@ -512,7 +512,7 @@ const Ee = /* @__PURE__ */ b({
512
512
  format: "YYYY-MM-DD HH:mm",
513
513
  "value-format": "YYYY-MM-DD HH:mm",
514
514
  placeholder: "请选择出现时间",
515
- "disabled-date": _,
515
+ "disabled-date": p,
516
516
  style: {
517
517
  width: "100%"
518
518
  }
@@ -544,28 +544,28 @@ const Ee = /* @__PURE__ */ b({
544
544
  validator: I
545
545
  }]
546
546
  }, {
547
- default: v(() => [d(m(T), {
547
+ default: v(() => [d(m(F), {
548
548
  modelValue: l.value.contact,
549
549
  "onUpdate:modelValue": c[3] || (c[3] = (h) => l.value.contact = h),
550
550
  placeholder: "邮箱或 11 位手机号",
551
551
  "allow-clear": ""
552
552
  }, null, 8, ["modelValue"])]),
553
553
  _: 1
554
- }, 8, ["rules"]), d(m(U), {
554
+ }, 8, ["rules"]), d(m(E), {
555
555
  type: "primary",
556
556
  loading: a.value,
557
- onClick: L
557
+ onClick: b
558
558
  }, {
559
559
  default: v(() => [...c[4] || (c[4] = [D(" 提交举报 ", -1)])]),
560
560
  _: 1
561
561
  }, 8, ["loading"]), r.value ? (o(), i("div", {
562
562
  key: 0,
563
- class: F(["form-result", $.value])
564
- }, f(r.value), 3)) : S("", !0)]),
563
+ class: S(["form-result", $.value])
564
+ }, f(r.value), 3)) : T("", !0)]),
565
565
  _: 1
566
566
  }, 8, ["model"]));
567
567
  }
568
- }), zt = /* @__PURE__ */ y(Ee, [["__scopeId", "data-v-4e6e6216"]]), He = /* @__PURE__ */ b({
568
+ }), zt = /* @__PURE__ */ y(Ue, [["__scopeId", "data-v-4e6e6216"]]), He = /* @__PURE__ */ L({
569
569
  __name: "LandingPageContainer",
570
570
  props: {
571
571
  flexDirection: {
@@ -578,17 +578,17 @@ const Ee = /* @__PURE__ */ b({
578
578
  default: ""
579
579
  }
580
580
  },
581
- setup(t) {
582
- const e = t;
581
+ setup(e) {
582
+ const t = e;
583
583
  return (a, r) => (o(), i("div", {
584
584
  class: "landing-page-container",
585
585
  style: Y({
586
- flexDirection: e.flexDirection,
587
- ...e.gap ? {
588
- gap: e.gap
586
+ flexDirection: t.flexDirection,
587
+ ...t.gap ? {
588
+ gap: t.gap
589
589
  } : {},
590
- ...e.padding ? {
591
- padding: e.padding
590
+ ...t.padding ? {
591
+ padding: t.padding
592
592
  } : {}
593
593
  })
594
594
  }, [C(a.$slots, "default", {}, void 0, !0)], 4));
@@ -597,12 +597,12 @@ const Ee = /* @__PURE__ */ b({
597
597
  role: "separator",
598
598
  class: "divider divider-horizontal"
599
599
  };
600
- function Ge(t, e) {
600
+ function Ge(e, t) {
601
601
  return o(), i("div", Oe);
602
602
  }
603
603
  const B = /* @__PURE__ */ y(Ye, [["render", Ge], ["__scopeId", "data-v-fc6caeb0"]]);
604
- function At(t, e, a = (/* @__PURE__ */ new Date()).getFullYear()) {
605
- return `Copyright © ${a > e ? `${e}-${a}` : `${e}`} ${t}`;
604
+ function At(e, t, a = (/* @__PURE__ */ new Date()).getFullYear()) {
605
+ return `Copyright © ${a > t ? `${t}-${a}` : `${t}`} ${e}`;
606
606
  }
607
607
  const je = {
608
608
  class: "bottom"
@@ -619,26 +619,17 @@ const je = {
619
619
  }, et = ["title", "onClick"], tt = {
620
620
  key: 0,
621
621
  class: "socialLabel"
622
- }, at = /* @__PURE__ */ b({
622
+ }, at = /* @__PURE__ */ L({
623
623
  __name: "LandingPageFooterContact",
624
624
  props: {
625
625
  filings: {
626
626
  type: Array,
627
627
  default: () => []
628
628
  },
629
- /** @deprecated 仅兼容旧调用;优先用 filings */
630
- beianNumber: {
631
- type: String,
632
- default: ""
633
- },
634
629
  copyrightText: {
635
630
  type: String,
636
631
  required: !0
637
632
  },
638
- beianUrl: {
639
- type: String,
640
- default: ""
641
- },
642
633
  links: {
643
634
  type: Array,
644
635
  required: !0
@@ -648,31 +639,21 @@ const je = {
648
639
  default: () => []
649
640
  }
650
641
  },
651
- setup(t) {
652
- const e = t, a = W(), r = O(() => {
653
- if (e.filings.length)
654
- return e.filings;
655
- const p = e.beianNumber.trim();
656
- return p ? [{
657
- key: "icp",
658
- label: "ICP备案",
659
- value: p,
660
- href: e.beianUrl || void 0
661
- }] : [];
662
- });
663
- function $(p) {
664
- return /^(https?:|mailto:)/i.test(p);
642
+ setup(e) {
643
+ const t = e, a = W(), r = O(() => t.filings);
644
+ function $(_) {
645
+ return /^(https?:|mailto:)/i.test(_);
665
646
  }
666
- function l(p, I) {
667
- $(I) || (p.preventDefault(), p.stopPropagation(), a.push(I));
647
+ function l(_, I) {
648
+ $(I) || (_.preventDefault(), _.stopPropagation(), a.push(I));
668
649
  }
669
- function _(p) {
670
- if (p.type === "image")
650
+ function p(_) {
651
+ if (_.type === "image")
671
652
  return "";
672
- const n = ([p.content, p.url, p.kind === "email" ? p.label : ""].map((u) => typeof u == "string" ? u.trim() : "").find(Boolean) || "").replace(/^mailto:/i, "");
653
+ const n = ([_.content, _.url, _.kind === "email" ? _.label : ""].map((u) => typeof u == "string" ? u.trim() : "").find(Boolean) || "").replace(/^mailto:/i, "");
673
654
  return n.includes("@") && !n.startsWith("http") ? n : "";
674
655
  }
675
- return (p, I) => (o(), i("div", je, [s("div", We, [(o(!0), i(x, null, V(r.value, (n) => (o(), i(x, {
656
+ return (_, I) => (o(), i("div", je, [s("div", We, [(o(!0), i(x, null, V(r.value, (n) => (o(), i(x, {
676
657
  key: n.key
677
658
  }, [n.href ? (o(), i("a", {
678
659
  key: 0,
@@ -680,26 +661,26 @@ const je = {
680
661
  href: n.href,
681
662
  target: "_blank",
682
663
  rel: "noopener noreferrer"
683
- }, f(n.value), 9, Je)) : (o(), i("span", Ke, f(n.value), 1))], 64))), 128)), (o(!0), i(x, null, V(t.extraLinks, (n) => (o(), i("a", {
664
+ }, f(n.value), 9, Je)) : (o(), i("span", Ke, f(n.value), 1))], 64))), 128)), (o(!0), i(x, null, V(e.extraLinks, (n) => (o(), i("a", {
684
665
  key: n.label,
685
666
  class: "extra-link",
686
667
  href: n.href,
687
668
  target: $(n.href) ? "_blank" : void 0,
688
669
  rel: $(n.href) ? "noopener noreferrer" : void 0,
689
670
  onClick: (u) => l(u, n.href)
690
- }, f(n.label), 9, Qe))), 128)), s("span", Xe, f(e.copyrightText), 1)]), t.links.length ? (o(), i("div", Ze, [(o(!0), i(x, null, V(t.links, (n, u) => (o(), i("div", {
671
+ }, f(n.label), 9, Qe))), 128)), s("span", Xe, f(t.copyrightText), 1)]), e.links.length ? (o(), i("div", Ze, [(o(!0), i(x, null, V(e.links, (n, u) => (o(), i("div", {
691
672
  key: u,
692
- class: F(["socialItem", {
693
- socialItemText: !!_(n)
673
+ class: S(["socialItem", {
674
+ socialItemText: !!p(n)
694
675
  }]),
695
- title: n.label || _(n) || void 0,
676
+ title: n.label || p(n) || void 0,
696
677
  onClick: n.select
697
678
  }, [d(m(P), {
698
679
  icon: n.icon,
699
680
  class: "socialIcon"
700
- }, null, 8, ["icon"]), _(n) ? (o(), i("span", tt, f(_(n)), 1)) : S("", !0)], 10, et))), 128))])) : S("", !0)]));
681
+ }, null, 8, ["icon"]), p(n) ? (o(), i("span", tt, f(p(n)), 1)) : T("", !0)], 10, et))), 128))])) : T("", !0)]));
701
682
  }
702
- }), Bt = /* @__PURE__ */ y(at, [["__scopeId", "data-v-c0652711"]]), ot = {
683
+ }), Bt = /* @__PURE__ */ y(at, [["__scopeId", "data-v-80b5c341"]]), ot = {
703
684
  class: "FooterLayout"
704
685
  }, nt = {
705
686
  class: "body"
@@ -707,28 +688,28 @@ const je = {
707
688
  class: "logo"
708
689
  }, it = {
709
690
  class: "links"
710
- }, lt = /* @__PURE__ */ b({
691
+ }, lt = /* @__PURE__ */ L({
711
692
  __name: "LandingPageFooterLayout",
712
- setup(t) {
713
- return (e, a) => (o(), i("div", ot, [d(B), s("div", nt, [s("div", st, [C(e.$slots, "LandingPageBrandInfo", {}, void 0, !0)]), s("div", it, [C(e.$slots, "LandingPageLinkGroup", {}, void 0, !0)])]), d(B), C(e.$slots, "LandingPageFooterContact", {}, void 0, !0)]));
693
+ setup(e) {
694
+ return (t, a) => (o(), i("div", ot, [d(B), s("div", nt, [s("div", st, [C(t.$slots, "LandingPageBrandInfo", {}, void 0, !0)]), s("div", it, [C(t.$slots, "LandingPageLinkGroup", {}, void 0, !0)])]), d(B), C(t.$slots, "LandingPageFooterContact", {}, void 0, !0)]));
714
695
  }
715
- }), Mt = /* @__PURE__ */ y(lt, [["__scopeId", "data-v-425841c7"]]), rt = ["href", "target", "rel"], ct = {
696
+ }), Mt = /* @__PURE__ */ y(lt, [["__scopeId", "data-v-4beca0b2"]]), rt = ["href", "target", "rel"], ct = {
716
697
  key: 1,
717
698
  class: "Description"
718
- }, dt = /* @__PURE__ */ b({
699
+ }, dt = /* @__PURE__ */ L({
719
700
  __name: "LandingPageLink",
720
701
  props: {
721
702
  href: {},
722
703
  target: {}
723
704
  },
724
- setup(t) {
725
- const e = t;
726
- return (a, r) => e.href ? (o(), i("a", {
705
+ setup(e) {
706
+ const t = e;
707
+ return (a, r) => t.href ? (o(), i("a", {
727
708
  key: 0,
728
709
  class: "Description",
729
- href: e.href,
730
- target: e.target,
731
- rel: e.target === "_blank" ? "noopener noreferrer" : void 0
710
+ href: t.href,
711
+ target: t.target,
712
+ rel: t.target === "_blank" ? "noopener noreferrer" : void 0
732
713
  }, [C(a.$slots, "default", {}, void 0, !0)], 8, rt)) : (o(), i("div", ct, [C(a.$slots, "default", {}, void 0, !0)]));
733
714
  }
734
715
  }), qt = /* @__PURE__ */ y(dt, [["__scopeId", "data-v-160922db"]]), ut = {
@@ -737,29 +718,29 @@ const je = {
737
718
  class: "title"
738
719
  }, ft = {
739
720
  class: "listItemContent"
740
- }, pt = /* @__PURE__ */ b({
721
+ }, pt = /* @__PURE__ */ L({
741
722
  __name: "LandingPageLinkGroup",
742
723
  props: {
743
724
  title: {
744
725
  default: ""
745
726
  }
746
727
  },
747
- setup(t) {
748
- const e = t;
749
- return (a, r) => (o(), i("div", ut, [s("div", mt, f(e.title), 1), s("div", ft, [C(a.$slots, "item", {}, void 0, !0)])]));
728
+ setup(e) {
729
+ const t = e;
730
+ return (a, r) => (o(), i("div", ut, [s("div", mt, f(t.title), 1), s("div", ft, [C(a.$slots, "item", {}, void 0, !0)])]));
750
731
  }
751
732
  }), Nt = /* @__PURE__ */ y(pt, [["__scopeId", "data-v-4f6d9dca"]]);
752
733
  export {
753
734
  B as D,
754
- St as L,
755
- Tt as a,
756
- Ft as b,
735
+ Tt as L,
736
+ Ft as a,
737
+ St as b,
757
738
  Rt as c,
758
739
  Bt as d,
759
740
  Mt as e,
760
741
  qt as f,
761
742
  Nt as g,
762
- X as h,
743
+ oe as h,
763
744
  Pt as i,
764
745
  zt as j,
765
746
  Vt as k,