@huyooo/ui 2.0.9 → 2.0.10

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.
@@ -1,12 +1,12 @@
1
- import { defineComponent as m, openBlock as i, createElementBlock as o, createVNode as u, unref as h, createElementVNode as e, toDisplayString as l, Fragment as x, renderList as I, createBlock as z, normalizeClass as k, withCtx as C, createTextVNode as f, renderSlot as g, ref as $, withModifiers as q, withDirectives as b, vModelText as L, createCommentVNode as T, normalizeStyle as D } from "vue";
1
+ import { defineComponent as m, openBlock as i, createElementBlock as c, createVNode as u, unref as h, createElementVNode as e, toDisplayString as l, Fragment as x, renderList as I, createBlock as z, normalizeClass as k, withCtx as C, createTextVNode as f, renderSlot as g, ref as $, withModifiers as q, withDirectives as b, vModelText as L, createCommentVNode as T, normalizeStyle as D } from "vue";
2
2
  import { Icon as v } from "@iconify/vue";
3
3
  import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { D as P } from "./LandingPageDescription-BczWZHKy.js";
5
- import { L as V } from "./Logo-B9DFBxDU.js";
6
- const B = {
5
+ import { L as F } from "./Logo-B9DFBxDU.js";
6
+ const V = {
7
7
  description: "",
8
8
  class: "mission-list-item"
9
- }, F = {
9
+ }, B = {
10
10
  class: "mission-list-text"
11
11
  }, A = /* @__PURE__ */ m({
12
12
  __name: "LandingPageListItem",
@@ -17,10 +17,10 @@ const B = {
17
17
  },
18
18
  setup(s) {
19
19
  const t = s;
20
- return (c, a) => (i(), o("div", B, [u(h(v), {
20
+ return (o, a) => (i(), c("div", V, [u(h(v), {
21
21
  icon: "mingcute:check-circle-fill",
22
22
  class: "mission-list-icon"
23
- }), e("span", F, l(t.description), 1)]));
23
+ }), e("span", B, l(t.description), 1)]));
24
24
  }
25
25
  }), N = /* @__PURE__ */ r(A, [["__scopeId", "data-v-60bfd053"]]), U = {
26
26
  class: "mission-container"
@@ -30,17 +30,17 @@ const B = {
30
30
  class: "mission-content"
31
31
  }, O = {
32
32
  class: "mission-title"
33
- }, G = {
33
+ }, R = {
34
34
  class: "mission-title-highlight"
35
- }, E = {
35
+ }, G = {
36
36
  class: "mission-desc"
37
- }, H = {
37
+ }, E = {
38
38
  class: "mission-list"
39
- }, R = {
39
+ }, H = {
40
40
  style: {
41
41
  display: "none"
42
42
  }
43
- }, Y = /* @__PURE__ */ m({
43
+ }, J = /* @__PURE__ */ m({
44
44
  __name: "LandingPageMission",
45
45
  props: {
46
46
  image: {},
@@ -51,7 +51,7 @@ const B = {
51
51
  features: {}
52
52
  },
53
53
  setup(s) {
54
- return (t, c) => (i(), o("div", U, [e("div", M, [c[0] || (c[0] = e("div", {
54
+ return (t, o) => (i(), c("div", U, [e("div", M, [o[0] || (o[0] = e("div", {
55
55
  class: "mission-bg1"
56
56
  }, null, -1)), e("img", {
57
57
  src: s.image,
@@ -60,23 +60,23 @@ const B = {
60
60
  width: "1270",
61
61
  decoding: "async",
62
62
  class: "mission-img"
63
- }, null, 8, j)]), e("div", K, [e("h2", O, [e("span", G, l(s.highlight), 1), e("strong", null, l(s.title), 1)]), e("p", E, l(s.description), 1), e("div", H, [(i(!0), o(x, null, I(s.features, (a, p) => (i(), z(N, {
63
+ }, null, 8, j)]), e("div", K, [e("h2", O, [e("span", R, l(s.highlight), 1), e("strong", null, l(s.title), 1)]), e("p", G, l(s.description), 1), e("div", E, [(i(!0), c(x, null, I(s.features, (a, p) => (i(), z(N, {
64
64
  key: p,
65
65
  description: a
66
- }, null, 8, ["description"]))), 128))])]), (i(), o("svg", R, [...c[1] || (c[1] = [e("symbol", {
66
+ }, null, 8, ["description"]))), 128))])]), (i(), c("svg", H, [...o[1] || (o[1] = [e("symbol", {
67
67
  id: "ai:ph:check-circle-fill"
68
68
  }, [e("path", {
69
69
  fill: "currentColor",
70
70
  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"
71
71
  })], -1)])]))]));
72
72
  }
73
- }), et = /* @__PURE__ */ r(Y, [["__scopeId", "data-v-8d215ca2"]]), J = {
73
+ }), et = /* @__PURE__ */ r(J, [["__scopeId", "data-v-8d215ca2"]]), Q = {
74
74
  class: "team-info-container"
75
- }, Q = {
76
- class: "team-info-title"
77
75
  }, W = {
76
+ class: "team-info-title"
77
+ }, X = {
78
78
  class: "team-info-desc"
79
- }, X = /* @__PURE__ */ m({
79
+ }, Y = /* @__PURE__ */ m({
80
80
  __name: "LandingPageTeamInfo",
81
81
  props: {
82
82
  title: {},
@@ -84,9 +84,9 @@ const B = {
84
84
  },
85
85
  setup(s) {
86
86
  const t = s;
87
- return (c, a) => (i(), o("div", J, [e("div", Q, l(t.title), 1), e("p", W, l(t.description), 1)]));
87
+ return (o, a) => (i(), c("div", Q, [e("div", W, l(t.title), 1), e("p", X, l(t.description), 1)]));
88
88
  }
89
- }), tt = /* @__PURE__ */ r(X, [["__scopeId", "data-v-b6a418e6"]]), Z = {
89
+ }), tt = /* @__PURE__ */ r(Y, [["__scopeId", "data-v-b6a418e6"]]), Z = {
90
90
  class: "grid-container"
91
91
  }, ee = {
92
92
  class: "square"
@@ -104,7 +104,7 @@ const B = {
104
104
  pictureClass: {}
105
105
  },
106
106
  setup(s) {
107
- return (t, c) => (i(), o("div", Z, [(i(!0), o(x, null, I(s.publishedTeamMembers, (a) => (i(), o("div", {
107
+ return (t, o) => (i(), c("div", Z, [(i(!0), c(x, null, I(s.publishedTeamMembers, (a) => (i(), c("div", {
108
108
  key: a.data.name,
109
109
  class: "group"
110
110
  }, [e("div", ee, [e("img", {
@@ -119,9 +119,9 @@ const B = {
119
119
  _: 2
120
120
  }, 1024)])]))), 128))]));
121
121
  }
122
- }), st = /* @__PURE__ */ r(ae, [["__scopeId", "data-v-89ca8f8c"]]), ie = {
122
+ }), st = /* @__PURE__ */ r(ae, [["__scopeId", "data-v-89ca8f8c"]]), oe = {
123
123
  class: "BrandInfo"
124
- }, oe = /* @__PURE__ */ m({
124
+ }, ie = /* @__PURE__ */ m({
125
125
  __name: "LandingPageBrandInfo",
126
126
  props: {
127
127
  icon: {
@@ -152,7 +152,7 @@ const B = {
152
152
  },
153
153
  setup(s) {
154
154
  const t = s;
155
- return (c, a) => (i(), o("div", ie, [u(V, {
155
+ return (o, a) => (i(), c("div", oe, [u(F, {
156
156
  icon: t.icon,
157
157
  name: t.name,
158
158
  color: t.color,
@@ -163,7 +163,7 @@ const B = {
163
163
  _: 1
164
164
  })]));
165
165
  }
166
- }), nt = /* @__PURE__ */ r(oe, [["__scopeId", "data-v-9f0b94b0"]]), ce = {
166
+ }), nt = /* @__PURE__ */ r(ie, [["__scopeId", "data-v-9f0b94b0"]]), ce = {
167
167
  class: "contact-container"
168
168
  }, le = {
169
169
  class: "contact-info-section"
@@ -215,7 +215,7 @@ const B = {
215
215
  },
216
216
  setup(s) {
217
217
  const t = s;
218
- return (c, a) => (i(), o("div", ce, [e("div", le, [e("h2", re, l(t.contact.title), 1), u(P, null, {
218
+ return (o, a) => (i(), c("div", ce, [e("div", le, [e("h2", re, l(t.contact.title), 1), u(P, null, {
219
219
  default: C(() => [f(l(t.contact.description), 1)]),
220
220
  _: 1
221
221
  }), e("div", de, [e("div", ue, [u(h(v), {
@@ -231,7 +231,7 @@ const B = {
231
231
  icon: t.phoneIcon
232
232
  }, null, 8, ["icon"]), e("a", {
233
233
  href: `tel:${s.phone}`
234
- }, l(t.phone), 9, fe)])])]), e("div", ge, [g(c.$slots, "contact-form", {}, void 0, !0)])]));
234
+ }, l(t.phone), 9, fe)])])]), e("div", ge, [g(o.$slots, "contact-form", {}, void 0, !0)])]));
235
235
  }
236
236
  }), at = /* @__PURE__ */ r(he, [["__scopeId", "data-v-d93fc680"]]), ve = ["value"], $e = ["value"], ye = {
237
237
  class: "form-group"
@@ -258,12 +258,12 @@ const B = {
258
258
  }
259
259
  },
260
260
  setup(s) {
261
- const t = s, c = $(!1), a = $(""), p = $(""), d = $({
261
+ const t = s, o = $(!1), a = $(""), p = $(""), d = $({
262
262
  name: "",
263
263
  email: "",
264
264
  message: ""
265
265
  }), y = async (w) => {
266
- c.value = !0;
266
+ o.value = !0;
267
267
  const n = w.target;
268
268
  if (!n.checkValidity()) {
269
269
  n.querySelectorAll(":invalid")[0].focus();
@@ -289,17 +289,17 @@ const B = {
289
289
  } catch {
290
290
  p.value = "text-red", a.value = "发送失败,请稍后再试!";
291
291
  } finally {
292
- n.reset(), c.value = !1, setTimeout(() => {
292
+ n.reset(), o.value = !1, setTimeout(() => {
293
293
  a.value = "";
294
294
  }, 5e3);
295
295
  }
296
296
  };
297
- return (w, n) => (i(), o("form", {
297
+ return (w, n) => (i(), c("form", {
298
298
  id: "form",
299
299
  action: "https://api.web3forms.com/submit",
300
300
  method: "POST",
301
301
  class: k(["contact-form", {
302
- "was-validated": c.value
302
+ "was-validated": o.value
303
303
  }]),
304
304
  novalidate: "",
305
305
  onSubmit: q(y, ["prevent"])
@@ -365,7 +365,7 @@ const B = {
365
365
  rows: "4"
366
366
  }, null, 512), [[L, d.value.message]]), n[9] || (n[9] = e("div", {
367
367
  class: "empty-feedback invalid-feedback form-error"
368
- }, " 请输入您的留言内容。 ", -1))]), e("button", ke, [a.value === "发送中..." ? (i(), o("span", xe, [...n[10] || (n[10] = [e("svg", {
368
+ }, " 请输入您的留言内容。 ", -1))]), e("button", ke, [a.value === "发送中..." ? (i(), c("span", xe, [...n[10] || (n[10] = [e("svg", {
369
369
  class: "spinner",
370
370
  xmlns: "http://www.w3.org/2000/svg",
371
371
  fill: "none",
@@ -381,12 +381,12 @@ const B = {
381
381
  class: "spinner-path",
382
382
  fill: "currentColor",
383
383
  d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
384
- })], -1), f(" 发送中... ", -1)])])) : (i(), o("span", Ie, "发送信息"))]), a.value && a.value !== "发送中..." ? (i(), o("div", {
384
+ })], -1), f(" 发送中... ", -1)])])) : (i(), c("span", Ie, "发送信息"))]), a.value && a.value !== "发送中..." ? (i(), c("div", {
385
385
  key: 0,
386
386
  class: k(["form-result", p.value])
387
387
  }, l(a.value), 3)) : T("", !0)], 34));
388
388
  }
389
- }), it = /* @__PURE__ */ r(Ce, [["__scopeId", "data-v-eb4bc6c4"]]), Pe = /* @__PURE__ */ m({
389
+ }), ot = /* @__PURE__ */ r(Ce, [["__scopeId", "data-v-eb4bc6c4"]]), Pe = /* @__PURE__ */ m({
390
390
  __name: "LandingPageContainer",
391
391
  props: {
392
392
  flexDirection: {
@@ -401,7 +401,7 @@ const B = {
401
401
  },
402
402
  setup(s) {
403
403
  const t = s;
404
- return (c, a) => (i(), o("div", {
404
+ return (o, a) => (i(), c("div", {
405
405
  class: "landing-page-container",
406
406
  style: D({
407
407
  flexDirection: t.flexDirection,
@@ -412,24 +412,28 @@ const B = {
412
412
  padding: t.padding
413
413
  } : {}
414
414
  })
415
- }, [g(c.$slots, "default", {}, void 0, !0)], 4));
415
+ }, [g(o.$slots, "default", {}, void 0, !0)], 4));
416
416
  }
417
- }), ot = /* @__PURE__ */ r(Pe, [["__scopeId", "data-v-d10fd5c6"]]), we = {}, Se = {
417
+ }), it = /* @__PURE__ */ r(Pe, [["__scopeId", "data-v-d10fd5c6"]]), we = {}, Se = {
418
418
  role: "separator",
419
419
  class: "divider divider-horizontal"
420
420
  };
421
421
  function ze(s, t) {
422
- return i(), o("div", Se);
422
+ return i(), c("div", Se);
423
423
  }
424
- const S = /* @__PURE__ */ r(we, [["render", ze], ["__scopeId", "data-v-fc6caeb0"]]), qe = {
424
+ const S = /* @__PURE__ */ r(we, [["render", ze], ["__scopeId", "data-v-fc6caeb0"]]);
425
+ function ct(s, t, o = (/* @__PURE__ */ new Date()).getFullYear()) {
426
+ return `Copyright © ${o > t ? `${t}-${o}` : `${t}`} ${s}`;
427
+ }
428
+ const qe = {
425
429
  class: "bottom"
426
430
  }, Te = {
427
431
  class: "beian-number"
428
432
  }, De = {
429
433
  class: "copyright-text"
430
- }, Ve = {
434
+ }, Fe = {
431
435
  class: "socials"
432
- }, Be = ["onClick"], Fe = /* @__PURE__ */ m({
436
+ }, Ve = ["onClick"], Be = /* @__PURE__ */ m({
433
437
  __name: "LandingPageFooterContact",
434
438
  props: {
435
439
  beianNumber: {
@@ -451,22 +455,22 @@ const S = /* @__PURE__ */ r(we, [["render", ze], ["__scopeId", "data-v-fc6caeb0"
451
455
  },
452
456
  setup(s) {
453
457
  const t = s;
454
- function c() {
458
+ function o() {
455
459
  window.open(t.beianUrl);
456
460
  }
457
- return (a, p) => (i(), o("div", qe, [e("div", {
461
+ return (a, p) => (i(), c("div", qe, [e("div", {
458
462
  class: "beian-text-wrapper",
459
- onClick: c
460
- }, [e("span", Te, l(t.beianNumber), 1), e("span", De, l(t.copyrightText), 1)]), e("div", Ve, [(i(!0), o(x, null, I(s.links, (d, y) => (i(), o("div", {
463
+ onClick: o
464
+ }, [e("span", Te, l(t.beianNumber), 1), e("span", De, l(t.copyrightText), 1)]), e("div", Fe, [(i(!0), c(x, null, I(s.links, (d, y) => (i(), c("div", {
461
465
  key: y,
462
466
  class: "socialItem",
463
467
  onClick: d.select
464
468
  }, [u(h(v), {
465
469
  icon: d.icon,
466
470
  class: "socialIcon"
467
- }, null, 8, ["icon"])], 8, Be))), 128))])]));
471
+ }, null, 8, ["icon"])], 8, Ve))), 128))])]));
468
472
  }
469
- }), ct = /* @__PURE__ */ r(Fe, [["__scopeId", "data-v-f8d2e0df"]]), Ae = {
473
+ }), lt = /* @__PURE__ */ r(Be, [["__scopeId", "data-v-f8d2e0df"]]), Ae = {
470
474
  class: "FooterLayout"
471
475
  }, Ne = {
472
476
  class: "body"
@@ -477,21 +481,21 @@ const S = /* @__PURE__ */ r(we, [["render", ze], ["__scopeId", "data-v-fc6caeb0"
477
481
  }, je = /* @__PURE__ */ m({
478
482
  __name: "LandingPageFooterLayout",
479
483
  setup(s) {
480
- return (t, c) => (i(), o("div", Ae, [u(S), e("div", Ne, [e("div", Ue, [g(t.$slots, "LandingPageBrandInfo", {}, void 0, !0)]), e("div", Me, [g(t.$slots, "LandingPageLinkGroup", {}, void 0, !0)])]), u(S), g(t.$slots, "LandingPageFooterContact", {}, void 0, !0)]));
484
+ return (t, o) => (i(), c("div", Ae, [u(S), e("div", Ne, [e("div", Ue, [g(t.$slots, "LandingPageBrandInfo", {}, void 0, !0)]), e("div", Me, [g(t.$slots, "LandingPageLinkGroup", {}, void 0, !0)])]), u(S), g(t.$slots, "LandingPageFooterContact", {}, void 0, !0)]));
481
485
  }
482
- }), lt = /* @__PURE__ */ r(je, [["__scopeId", "data-v-425841c7"]]), Ke = {}, Oe = {
486
+ }), rt = /* @__PURE__ */ r(je, [["__scopeId", "data-v-425841c7"]]), Ke = {}, Oe = {
483
487
  class: "Description"
484
488
  };
485
- function Ge(s, t) {
486
- return i(), o("div", Oe, [g(s.$slots, "default", {}, void 0, !0)]);
489
+ function Re(s, t) {
490
+ return i(), c("div", Oe, [g(s.$slots, "default", {}, void 0, !0)]);
487
491
  }
488
- const rt = /* @__PURE__ */ r(Ke, [["render", Ge], ["__scopeId", "data-v-302e1437"]]), Ee = {
492
+ const dt = /* @__PURE__ */ r(Ke, [["render", Re], ["__scopeId", "data-v-302e1437"]]), Ge = {
489
493
  class: "list"
490
- }, He = {
494
+ }, Ee = {
491
495
  class: "title"
492
- }, Re = {
496
+ }, He = {
493
497
  class: "listItemContent"
494
- }, Ye = /* @__PURE__ */ m({
498
+ }, Je = /* @__PURE__ */ m({
495
499
  __name: "LandingPageLinkGroup",
496
500
  props: {
497
501
  title: {
@@ -500,21 +504,22 @@ const rt = /* @__PURE__ */ r(Ke, [["render", Ge], ["__scopeId", "data-v-302e1437
500
504
  },
501
505
  setup(s) {
502
506
  const t = s;
503
- return (c, a) => (i(), o("div", Ee, [e("div", He, l(t.title), 1), e("div", Re, [g(c.$slots, "item", {}, void 0, !0)])]));
507
+ return (o, a) => (i(), c("div", Ge, [e("div", Ee, l(t.title), 1), e("div", He, [g(o.$slots, "item", {}, void 0, !0)])]));
504
508
  }
505
- }), dt = /* @__PURE__ */ r(Ye, [["__scopeId", "data-v-4f6d9dca"]]);
509
+ }), ut = /* @__PURE__ */ r(Je, [["__scopeId", "data-v-4f6d9dca"]]);
506
510
  export {
507
511
  S as D,
508
512
  nt as L,
509
513
  at as a,
510
- it as b,
511
- ot as c,
512
- ct as d,
513
- lt as e,
514
- rt as f,
515
- dt as g,
514
+ ot as b,
515
+ it as c,
516
+ lt as d,
517
+ rt as e,
518
+ dt as f,
519
+ ut as g,
516
520
  N as h,
517
521
  et as i,
518
522
  tt as j,
519
- st as k
523
+ st as k,
524
+ ct as l
520
525
  };