@opendesign-plus-test/components 0.0.1-rc.26 → 0.0.1-rc.27

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 (51) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +262 -194
  3. package/dist/components/OCookieNotice.vue.d.ts +3 -2
  4. package/dist/components/OFooter.vue.d.ts +22 -1
  5. package/dist/components/OHeaderUser.vue.d.ts +0 -2
  6. package/dist/components/activity/OMyActivityCalendar.vue.d.ts +6 -6
  7. package/dist/components/activity/index.d.ts +3 -3
  8. package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
  9. package/dist/components/{OHeader.vue.d.ts → header/OHeader.vue.d.ts} +2 -1
  10. package/dist/components/{OHeaderMoblie.vue.d.ts → header/OHeaderMoblie.vue.d.ts} +2 -2
  11. package/dist/components/header/components/HeaderContent.vue.d.ts +6 -0
  12. package/dist/components/header/components/HeaderNav.vue.d.ts +7 -0
  13. package/dist/components/header/components/HeaderNavMoblie.vue.d.ts +17 -0
  14. package/dist/components/header/components/HeaderUbmcNav.vue.d.ts +2 -0
  15. package/dist/components/header/index.d.ts +22 -0
  16. package/dist/components/meeting/OMeetingForm.vue.d.ts +3 -15
  17. package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +6 -6
  18. package/dist/components/meeting/types.d.ts +11 -4
  19. package/dist/components.cjs.js +47 -47
  20. package/dist/components.css +1 -1
  21. package/dist/components.es.js +17957 -17829
  22. package/dist/index.d.ts +2 -3
  23. package/package.json +1 -1
  24. package/src/assets/svg-icons/icon-chevron-down.svg +1 -1
  25. package/src/components/OCookieNotice.vue +270 -118
  26. package/src/components/OFooter.vue +11 -1
  27. package/src/components/OHeaderUser.vue +14 -81
  28. package/src/components/OSourceCode.vue +1 -1
  29. package/src/components/activity/OMyActivityCalendar.vue +14 -13
  30. package/src/components/common/MoreText.vue +3 -2
  31. package/src/components/element-plus/OElCookieNotice.vue +306 -115
  32. package/src/components/events/OEventsApply.vue +16 -0
  33. package/src/components/events/OEventsList.vue +3 -0
  34. package/src/components/header/OHeader.vue +175 -0
  35. package/src/components/{OHeaderMoblie.vue → header/OHeaderMoblie.vue} +6 -3
  36. package/src/components/{common/HeaderEulerNav.vue → header/components/HeaderContent.vue} +375 -551
  37. package/src/components/header/components/HeaderNav.vue +280 -0
  38. package/src/components/{common → header/components}/HeaderNavMoblie.vue +20 -18
  39. package/src/components/{common → header/components}/HeaderUbmcNav.vue +6 -63
  40. package/src/components/header/index.ts +16 -0
  41. package/src/components/meeting/OMeetingCalendar.vue +16 -2
  42. package/src/components/meeting/OMeetingForm.vue +17 -24
  43. package/src/components/meeting/OMeetingPlayback.vue +1 -1
  44. package/src/components/meeting/OMyMeetingCalendar.vue +5 -6
  45. package/src/components/meeting/components/OMeetingCalendarList.vue +1 -1
  46. package/src/components/meeting/types.ts +11 -5
  47. package/src/index.ts +2 -5
  48. package/dist/components/activity/data.d.ts +0 -51
  49. package/src/components/OHeader.vue +0 -97
  50. package/src/components/activity/data.ts +0 -365
  51. package/src/components/meeting/components/OMyCalendarWrapper.vue +0 -160
@@ -1,24 +1,24 @@
1
- import { defineComponent as P, resolveComponent as W, h as K, ref as A, onMounted as V, getCurrentInstance as F, inject as Z, computed as B, watch as q, createBlock as L, openBlock as S, unref as e, withCtx as u, Teleport as J, createElementBlock as E, createCommentVNode as U, createElementVNode as n, createVNode as p, normalizeClass as Q, createTextVNode as h, toDisplayString as m, Fragment as X, renderSlot as ee, nextTick as te } from "vue";
2
- import { useScreen as ne } from "@opendesign-plus/composables";
3
- import { isUndefined as ie, isString as oe } from "@opensig/opendesign";
4
- import { ElButton as D, ElIcon as me, ElDialog as ae, ElSwitch as se } from "element-plus";
5
- import { useVModel as ge } from "@vueuse/core";
6
- const ce = (i, a) => {
7
- const c = i.__vccOpts || i;
8
- for (const [k, f] of a)
9
- c[k] = f;
10
- return c;
11
- }, le = (i) => {
12
- const a = A(!1);
13
- return V(() => {
14
- a.value = !0;
15
- }), () => a.value && i.default ? i.default() : null;
16
- }, re = P({
17
- setup(i, { slots: a }) {
18
- const c = W("ClientOnly");
19
- return c && typeof c != "string" ? () => K(c, null, { default: () => a.default ? a.default() : null }) : le(a);
1
+ import { defineComponent as W, resolveComponent as Q, h as X, ref as _, onMounted as K, getCurrentInstance as ee, inject as te, computed as x, watch as ne, createBlock as z, openBlock as y, unref as e, withCtx as s, Teleport as ie, createElementBlock as k, createCommentVNode as G, createElementVNode as t, createVNode as c, normalizeClass as H, Fragment as L, createTextVNode as p, toDisplayString as o, renderSlot as oe, nextTick as ae } from "vue";
2
+ import { useScreen as me } from "@opendesign-plus/composables";
3
+ import { isUndefined as se, isString as le } from "@opensig/opendesign";
4
+ import { ElIcon as $, ElButton as S, ElDialog as ce, ElSwitch as ge, ElDivider as re } from "element-plus";
5
+ import { useVModel as de } from "@vueuse/core";
6
+ const ue = (a, m) => {
7
+ const g = a.__vccOpts || a;
8
+ for (const [v, T] of m)
9
+ g[v] = T;
10
+ return g;
11
+ }, ye = (a) => {
12
+ const m = _(!1);
13
+ return K(() => {
14
+ m.value = !0;
15
+ }), () => m.value && a.default ? a.default() : null;
16
+ }, pe = W({
17
+ setup(a, { slots: m }) {
18
+ const g = Q("ClientOnly");
19
+ return g && typeof g != "string" ? () => X(g, null, { default: () => m.default ? m.default() : null }) : ye(m);
20
20
  }
21
- }), de = {
21
+ }), he = {
22
22
  search: "搜索",
23
23
  "search.hot": "热门搜索",
24
24
  "search.placeholder": "搜索",
@@ -171,7 +171,7 @@ const ce = (i, a) => {
171
171
  "events.statusIng": "进行中",
172
172
  "events.statusFinish": "已结束",
173
173
  "events.searchPlaceholder": "搜索活动名称、地点"
174
- }, ue = {
174
+ }, fe = {
175
175
  search: "Search",
176
176
  "search.hot": "Top search",
177
177
  "search.placeholder": "Please enter the content",
@@ -330,239 +330,307 @@ const ce = (i, a) => {
330
330
  "cookie.analyticalCookieDetail": "We will use these cookies only with your consent. These cookies help us make improvements by collecting statistics such as the number of visits and traffic sources.",
331
331
  "cookie.saveSetting": "Save Settings",
332
332
  "cookie.setting": "Cookie settings"
333
- }, ye = Symbol("provide-config-provider"), pe = A({
334
- zh: de,
335
- en: ue
333
+ }, ke = Symbol("provide-config-provider"), ve = _({
334
+ zh: he,
335
+ en: fe
336
336
  });
337
- var he = /* @__PURE__ */ ((i) => (i.ZH = "zh", i.EN = "en", i))(he || {});
338
- function ke() {
339
- const a = F() ? Z(ye) : null, c = B(() => (a == null ? void 0 : a.locale) || "zh");
337
+ var Te = /* @__PURE__ */ ((a) => (a.ZH = "zh", a.EN = "en", a))(Te || {});
338
+ function Ce() {
339
+ const m = ee() ? te(ke) : null, g = x(() => (m == null ? void 0 : m.locale) || "zh");
340
340
  return {
341
- locale: c,
342
- t: (f, ...y) => {
343
- const t = pe.value[c.value][f];
344
- if (ie(t))
345
- return console.warn(`Cannot translate the value of keypath '${f}'`), f;
346
- if (y.length > 0 && oe(t)) {
347
- if (y.length === 1 && typeof y[0] == "object" && y[0] !== null) {
348
- const l = y[0];
349
- return t.replace(/{(\w+)}/g, (s, r) => l[r] ?? s);
341
+ locale: g,
342
+ t: (T, ...r) => {
343
+ const h = ve.value[g.value][T];
344
+ if (se(h))
345
+ return console.warn(`Cannot translate the value of keypath '${T}'`), T;
346
+ if (r.length > 0 && le(h)) {
347
+ if (r.length === 1 && typeof r[0] == "object" && r[0] !== null) {
348
+ const i = r[0];
349
+ return h.replace(/{(\w+)}/g, (d, E) => i[E] ?? d);
350
350
  }
351
- return t.replace(/{(\d+)}/g, (l, s) => y[s] ?? l);
351
+ return h.replace(/{(\d+)}/g, (i, d) => r[d] ?? i);
352
352
  }
353
- return t;
353
+ return h;
354
354
  }
355
355
  };
356
356
  }
357
- const fe = {
358
- key: 0,
359
- class: "cookie-notice"
360
- }, ve = { class: "cookie-notice-content" }, Te = ["type"], Se = { class: "cookie-notice-left" }, Ce = {
361
- key: 0,
362
- class: "cookie-desc",
357
+ const Se = { class: "cookie-notice-content" }, Me = ["type"], De = { class: "cookie-title" }, be = {
358
+ style: { width: "1em", height: "1em" },
359
+ xmlns: "http://www.w3.org/2000/svg",
360
+ version: "1.1",
361
+ width: "24",
362
+ height: "24",
363
+ viewBox: "0 0 24 24"
364
+ }, Ee = {
365
+ class: "cookie-zh-title",
363
366
  style: { "margin-top": "0" }
364
- }, Me = ["href"], be = { class: "cookie-title" }, De = { class: "cookie-desc" }, Ee = ["href"], we = {
367
+ }, we = ["href"], _e = {
368
+ key: 1,
369
+ class: "cookie-en-title"
370
+ }, Ae = {
365
371
  key: 0,
366
- class: "cookie-notice-right"
367
- }, Ae = { class: "cookie-dlg-content" }, _e = { class: "content-item" }, Ie = { class: "item-header" }, xe = { class: "item-title" }, Be = { class: "item-extra" }, Ge = { class: "item-detail" }, Ne = { class: "content-item" }, Re = { class: "item-header" }, Le = { class: "item-title" }, Ue = { class: "item-extra" }, Oe = { class: "item-detail" }, Pe = "0", O = "1", Ve = "2", w = "3", je = "agreed-cookiepolicy-zh", He = "agreed-cookiepolicy-en", Ye = /* @__PURE__ */ P({
372
+ class: "cookie-en-content"
373
+ }, xe = { class: "cookie-en-desc" }, Ie = ["href"], Be = { class: "cookie-notice-right" }, Ne = { class: "dlg-title" }, Re = { class: "cookie-dlg-content" }, Ge = { class: "content-item" }, Le = { class: "item-header" }, Ue = { class: "item-title" }, Oe = { class: "item-extra" }, Pe = { class: "item-detail" }, Ve = { class: "content-item" }, je = { class: "item-header" }, ze = { class: "item-title" }, He = { class: "item-extra" }, $e = { class: "item-detail" }, Ye = "0", Y = "1", We = "2", A = "3", Ke = "agreed-cookiepolicy-zh", Fe = "agreed-cookiepolicy-en", Ze = /* @__PURE__ */ W({
368
374
  __name: "OElCookieNotice",
369
375
  props: {
370
376
  visible: { type: Boolean },
371
- enableGrid: { type: Boolean },
372
377
  community: {},
373
378
  detailUrl: {},
374
379
  wrapper: {},
375
380
  cookieDomain: {}
376
381
  },
377
382
  emits: ["update:visible"],
378
- setup(i, { expose: a, emit: c }) {
379
- const k = i, f = c, { lePadV: y } = ne(), { locale: C, t } = ke(), l = B(() => C.value === "zh"), s = B(() => l.value ? je : He), r = A(!1), v = ge(k, "visible", f, { defaultValue: !1 }), M = (g) => {
380
- const o = document.cookie.split(";").find((d) => d.split("=")[0].trim() === encodeURIComponent(g));
381
- return o ? decodeURIComponent(o.split("=")[1]) : null;
382
- }, _ = (g, o, d, $) => {
383
- const z = `; max-age=${d * 24 * 60 * 60}`;
384
- document.cookie = `${encodeURIComponent(g)}=${encodeURIComponent(o)}${z}; path=/; domain=${$}`;
385
- }, T = (g) => {
386
- typeof g == "boolean" ? v.value = g : v.value = !v.value, te(() => {
387
- !v.value && l.value && M(s.value) !== w && _(s.value, w, 180, k.cookieDomain ?? location.hostname);
383
+ setup(a, { expose: m, emit: g }) {
384
+ const v = a, T = g, { lePadV: r, isPhone: F } = me(), { locale: h, t: i } = Ce(), d = x(() => h.value === "zh"), E = _(), I = x(() => E.value ? !!getComputedStyle(E.value).getPropertyValue("--grid-content-width") : !1), f = x(() => d.value ? Ke : Fe), C = _(!1), M = de(v, "visible", T, { defaultValue: !1 }), w = (l) => {
385
+ const n = document.cookie.split(";").find((u) => u.split("=")[0].trim() === encodeURIComponent(l));
386
+ return n ? decodeURIComponent(n.split("=")[1]) : null;
387
+ }, B = (l, n, u, q) => {
388
+ const J = `; max-age=${u * 24 * 60 * 60}`;
389
+ document.cookie = `${encodeURIComponent(l)}=${encodeURIComponent(n)}${J}; path=/; domain=${q}`;
390
+ }, D = (l) => {
391
+ typeof l == "boolean" ? M.value = l : M.value = !M.value, ae(() => {
392
+ !M.value && d.value && w(f.value) !== A && B(f.value, A, 180, v.cookieDomain ?? location.hostname);
388
393
  });
389
- }, b = A(!1), I = (g) => {
390
- typeof g == "boolean" ? b.value = g : b.value = !b.value;
391
- }, G = () => l.value ? M(s.value) !== w : (M(s.value) ?? "0") === Pe, N = () => l.value ? M(s.value) === w : M(s.value) === O;
392
- V(() => {
393
- G() && T(!0);
394
- }), q(C, () => {
395
- T(G());
394
+ }, b = _(!1), N = (l) => {
395
+ typeof l == "boolean" ? b.value = l : b.value = !b.value;
396
+ }, U = () => d.value ? w(f.value) !== A : (w(f.value) ?? "0") === Ye, O = () => d.value ? w(f.value) === A : w(f.value) === Y;
397
+ K(() => {
398
+ U() && D(!0);
399
+ }), ne(h, () => {
400
+ D(U());
396
401
  });
397
- const x = () => {
398
- r.value = !0, _(s.value, O, 180, k.cookieDomain ?? location.hostname), T(!1);
399
- }, R = () => {
400
- r.value = !1, _(s.value, Ve, 180, k.cookieDomain ?? location.hostname), T(!1);
402
+ const R = () => {
403
+ C.value = !0, B(f.value, Y, 180, v.cookieDomain ?? location.hostname), D(!1);
404
+ }, P = () => {
405
+ C.value = !1, B(f.value, We, 180, v.cookieDomain ?? location.hostname), D(!1);
406
+ }, V = () => {
407
+ C.value ? R() : P(), N(!1);
401
408
  }, j = () => {
402
- r.value ? x() : R(), I(!1);
403
- }, H = () => {
404
- r.value = !0, x(), I(!1);
405
- }, Y = () => {
406
- r.value = N();
409
+ C.value = !0, R(), N(!1);
410
+ }, Z = () => {
411
+ C.value = O();
407
412
  };
408
- return a({
413
+ return m({
409
414
  check() {
410
- N() === v.value && T();
415
+ O() === M.value && D();
411
416
  }
412
- }), (g, o) => (S(), L(e(re), null, {
413
- default: u(() => [
414
- (S(), L(J, {
415
- to: i.wrapper || "#app"
417
+ }), (l, n) => (y(), z(e(pe), null, {
418
+ default: s(() => [
419
+ (y(), z(ie, {
420
+ to: a.wrapper || "#app"
416
421
  }, [
417
- e(v) ? (S(), E("div", fe, [
418
- n("div", ve, [
419
- n("div", {
420
- type: e(C),
421
- class: Q({ "cookie-notice-wrap-grid": i.enableGrid, "cookie-notice-wrap": !i.enableGrid })
422
+ e(M) ? (y(), k("div", {
423
+ key: 0,
424
+ ref_key: "cookieNoticeRef",
425
+ ref: E,
426
+ class: "cookie-notice"
427
+ }, [
428
+ t("div", Se, [
429
+ t("div", {
430
+ type: e(h),
431
+ class: H({ "cookie-notice-wrap-grid": I.value, "cookie-notice-wrap": !I.value })
422
432
  }, [
423
- n("div", Se, [
424
- l.value ? (S(), E("p", Ce, [
425
- h(m(e(t)("cookie.desc")) + " ", 1),
426
- n("a", {
427
- href: i.detailUrl,
428
- target: "_blank",
429
- rel: "noopener noreferrer"
430
- }, m(e(t)("cookie.about")), 9, Me)
431
- ])) : (S(), E(X, { key: 1 }, [
432
- n("p", be, m(e(t)("cookie.title", [i.community])), 1),
433
- n("p", De, [
434
- h(m(e(t)("cookie.desc")) + " ", 1),
435
- n("a", {
436
- href: i.detailUrl,
433
+ t("div", De, [
434
+ d.value ? (y(), k(L, { key: 0 }, [
435
+ c(e($), { style: { transform: "rotate(180deg)", "font-size": "24px", "margin-right": "4px" } }, {
436
+ default: s(() => [
437
+ (y(), k("svg", be, [...n[5] || (n[5] = [
438
+ t("path", {
439
+ fill: "#002fa7",
440
+ d: "M21 12c0 4.971-4.029 9-9 9s-9-4.029-9-9c0-4.971 4.029-9 9-9s9 4.029 9 9z"
441
+ }, null, -1),
442
+ t("path", {
443
+ fill: "#fff",
444
+ d: "M12 9.4c0.552 0 1-0.448 1-1s-0.448-1-1-1c-0.552 0-1 0.448-1 1s0.448 1 1 1zM12.492 10.943c-0.042-0.233-0.246-0.41-0.492-0.41-0.276 0-0.5 0.224-0.5 0.5v5.5l0.008 0.090c0.042 0.233 0.246 0.41 0.492 0.41 0.276 0 0.5-0.224 0.5-0.5v-5.5l-0.008-0.090z"
445
+ }, null, -1)
446
+ ])]))
447
+ ]),
448
+ _: 1
449
+ }),
450
+ t("p", Ee, [
451
+ p(o(e(i)("cookie.desc")) + " ", 1),
452
+ t("a", {
453
+ href: a.detailUrl,
437
454
  target: "_blank",
438
455
  rel: "noopener noreferrer"
439
- }, m(e(t)("cookie.about")), 9, Ee),
440
- o[4] || (o[4] = h(". ", -1))
456
+ }, o(e(i)("cookie.about")), 9, we)
441
457
  ])
442
- ], 64))
458
+ ], 64)) : (y(), k("p", _e, o(e(i)("cookie.title", [a.community])), 1)),
459
+ c(e($), {
460
+ class: "cookie-notice-close",
461
+ onClick: n[0] || (n[0] = (u) => D(!1))
462
+ }, {
463
+ default: s(() => [
464
+ oe(l.$slots, "close-icon", {}, () => [
465
+ n[6] || (n[6] = t("svg", {
466
+ xmlns: "http://www.w3.org/2000/svg",
467
+ viewBox: "0 0 24 24"
468
+ }, [
469
+ t("path", {
470
+ fill: "currentColor",
471
+ d: "M18.528 5.472a.7.7 0 0 1 .074.903l-.074.087L12.988 12l.006.006-.989.989-.006-.006-5.538 5.54a.7.7 0 0 1-1.064-.903l.074-.087L11.009 12 5.471 6.462l-.074-.087a.7.7 0 0 1 .977-.977l.087.074 5.538 5.539 5.539-5.539a.7.7 0 0 1 .99 0m-3.977 8.089 3.978 3.978.074.087a.7.7 0 0 1-.977.977l-.087-.074-3.978-3.978a.7.7 0 0 1 .99-.99"
472
+ })
473
+ ], -1))
474
+ ], !0)
475
+ ]),
476
+ _: 3
477
+ })
443
478
  ]),
444
- l.value ? U("", !0) : (S(), E("div", we, [
445
- p(e(D), {
446
- round: "",
447
- type: "primary",
448
- onClick: x
479
+ d.value ? G("", !0) : (y(), k("div", Ae, [
480
+ t("p", xe, [
481
+ p(o(e(i)("cookie.desc")) + " ", 1),
482
+ t("a", {
483
+ href: a.detailUrl,
484
+ target: "_blank",
485
+ rel: "noopener noreferrer"
486
+ }, o(e(i)("cookie.about")), 9, Ie),
487
+ n[7] || (n[7] = p(". ", -1))
488
+ ]),
489
+ t("div", Be, [
490
+ c(e(S), {
491
+ round: "",
492
+ type: "primary",
493
+ onClick: R
494
+ }, {
495
+ default: s(() => [
496
+ p(o(e(i)("cookie.acceptAll")), 1)
497
+ ]),
498
+ _: 1
499
+ }),
500
+ c(e(S), {
501
+ round: "",
502
+ type: "primary",
503
+ onClick: P
504
+ }, {
505
+ default: s(() => [
506
+ p(o(e(i)("cookie.rejectAll")), 1)
507
+ ]),
508
+ _: 1
509
+ }),
510
+ c(e(S), {
511
+ round: "",
512
+ type: "primary",
513
+ onClick: n[1] || (n[1] = (u) => N(!0))
514
+ }, {
515
+ default: s(() => [
516
+ p(o(e(i)("cookie.manage")), 1)
517
+ ]),
518
+ _: 1
519
+ })
520
+ ])
521
+ ]))
522
+ ], 10, Me)
523
+ ]),
524
+ c(e(ce), {
525
+ "show-close": !1,
526
+ class: H({ "cookie-dlg-bottom": e(r), "grid-width-dlg": I.value }),
527
+ modelValue: b.value,
528
+ "onUpdate:modelValue": n[4] || (n[4] = (u) => b.value = u),
529
+ "destroy-on-close": "",
530
+ onOpen: Z
531
+ }, {
532
+ header: s(() => [
533
+ e(r) ? G("", !0) : (y(), k("div", {
534
+ key: 0,
535
+ class: "dlg-close-icon",
536
+ onClick: n[2] || (n[2] = (u) => b.value = !1)
537
+ }, [...n[8] || (n[8] = [
538
+ t("svg", {
539
+ viewBox: "0 0 24 24",
540
+ class: "o-icon-close"
541
+ }, [
542
+ t("path", {
543
+ fill: "currentColor",
544
+ d: "M18.528 5.472a.7.7 0 0 1 .074.903l-.074.087L12.988 12l.006.006-.989.989-.006-.006-5.538 5.54a.7.7 0 0 1-1.064-.903l.074-.087L11.009 12 5.471 6.462l-.074-.087a.7.7 0 0 1 .977-.977l.087.074 5.538 5.539 5.539-5.539a.7.7 0 0 1 .99 0m-3.977 8.089 3.978 3.978.074.087a.7.7 0 0 1-.977.977l-.087-.074-3.978-3.978a.7.7 0 0 1 .99-.99"
545
+ })
546
+ ], -1)
547
+ ])])),
548
+ t("span", Ne, o(e(i)("cookie.manage")), 1)
549
+ ]),
550
+ footer: s(() => [
551
+ e(r) ? (y(), k(L, { key: 0 }, [
552
+ c(e(S), {
553
+ type: "text",
554
+ onClick: V
449
555
  }, {
450
- default: u(() => [
451
- h(m(e(t)("cookie.acceptAll")), 1)
556
+ default: s(() => [
557
+ p(o(e(i)("cookie.saveSetting")), 1)
452
558
  ]),
453
559
  _: 1
454
560
  }),
455
- p(e(D), {
561
+ c(e(re), {
562
+ direction: "vertical",
563
+ style: { margin: "0 24px" }
564
+ }),
565
+ c(e(S), {
566
+ type: "text",
567
+ onClick: j
568
+ }, {
569
+ default: s(() => [
570
+ p(o(e(i)("cookie.acceptAll")), 1)
571
+ ]),
572
+ _: 1
573
+ })
574
+ ], 64)) : (y(), k(L, { key: 1 }, [
575
+ c(e(S), {
456
576
  round: "",
457
577
  type: "primary",
458
- onClick: R
578
+ onClick: V
459
579
  }, {
460
- default: u(() => [
461
- h(m(e(t)("cookie.rejectAll")), 1)
580
+ default: s(() => [
581
+ p(o(e(i)("cookie.saveSetting")), 1)
462
582
  ]),
463
583
  _: 1
464
584
  }),
465
- p(e(D), {
585
+ c(e(S), {
466
586
  round: "",
467
587
  type: "primary",
468
- onClick: o[0] || (o[0] = (d) => I(!0))
588
+ onClick: j
469
589
  }, {
470
- default: u(() => [
471
- h(m(e(t)("cookie.manage")), 1)
590
+ default: s(() => [
591
+ p(o(e(i)("cookie.acceptAll")), 1)
472
592
  ]),
473
593
  _: 1
474
594
  })
475
- ])),
476
- p(e(me), {
477
- class: "cookie-notice-close",
478
- type: e(C),
479
- onClick: o[1] || (o[1] = (d) => T(!1))
480
- }, {
481
- default: u(() => [
482
- ee(g.$slots, "close-icon", {}, () => [
483
- o[5] || (o[5] = n("svg", {
484
- xmlns: "http://www.w3.org/2000/svg",
485
- viewBox: "0 0 1024 1024"
486
- }, [
487
- n("path", {
488
- fill: "currentColor",
489
- d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
490
- })
491
- ], -1))
492
- ], !0)
493
- ]),
494
- _: 3
495
- }, 8, ["type"])
496
- ], 10, Te)
497
- ]),
498
- p(e(ae), {
499
- modelValue: b.value,
500
- "onUpdate:modelValue": o[3] || (o[3] = (d) => b.value = d),
501
- width: e(y) ? "90%" : "50%",
502
- title: e(t)("cookie.manage"),
503
- "destroy-on-close": "",
504
- onOpen: Y
505
- }, {
506
- footer: u(() => [
507
- p(e(D), {
508
- round: "",
509
- type: "primary",
510
- onClick: j,
511
- style: { "margin-right": "16px" }
512
- }, {
513
- default: u(() => [
514
- h(m(e(t)("cookie.saveSetting")), 1)
515
- ]),
516
- _: 1
517
- }),
518
- p(e(D), {
519
- round: "",
520
- type: "primary",
521
- onClick: H
522
- }, {
523
- default: u(() => [
524
- h(m(e(t)("cookie.acceptAll")), 1)
525
- ]),
526
- _: 1
527
- })
595
+ ], 64))
528
596
  ]),
529
- default: u(() => [
530
- n("div", Ae, [
531
- n("div", _e, [
532
- n("div", Ie, [
533
- n("span", xe, m(e(t)("cookie.necessaryCookie")), 1),
534
- n("span", Be, m(e(t)("cookie.alwaysOn")), 1)
597
+ default: s(() => [
598
+ t("div", Re, [
599
+ t("div", Ge, [
600
+ t("div", Le, [
601
+ t("span", Ue, o(e(i)("cookie.necessaryCookie")), 1),
602
+ t("span", Oe, o(e(i)("cookie.alwaysOn")), 1)
535
603
  ]),
536
- n("div", Ge, m(e(t)("cookie.necessaryCookieDetail")), 1)
604
+ t("div", Pe, o(e(i)("cookie.necessaryCookieDetail")), 1)
537
605
  ]),
538
- n("div", Ne, [
539
- n("div", Re, [
540
- n("span", Le, m(e(t)("cookie.analyticalCookie")), 1),
541
- n("span", Ue, [
542
- p(e(se), {
543
- modelValue: r.value,
544
- "onUpdate:modelValue": o[2] || (o[2] = (d) => r.value = d)
606
+ t("div", Ve, [
607
+ t("div", je, [
608
+ t("span", ze, o(e(i)("cookie.analyticalCookie")), 1),
609
+ t("span", He, [
610
+ c(e(ge), {
611
+ modelValue: C.value,
612
+ "onUpdate:modelValue": n[3] || (n[3] = (u) => C.value = u)
545
613
  }, null, 8, ["modelValue"])
546
614
  ])
547
615
  ]),
548
- n("div", Oe, m(e(t)("cookie.analyticalCookieDetail")), 1)
616
+ t("div", $e, o(e(i)("cookie.analyticalCookieDetail")), 1)
549
617
  ])
550
618
  ])
551
619
  ]),
552
620
  _: 1
553
- }, 8, ["modelValue", "width", "title"])
554
- ])) : U("", !0)
621
+ }, 8, ["class", "modelValue"])
622
+ ], 512)) : G("", !0)
555
623
  ], 8, ["to"]))
556
624
  ]),
557
625
  _: 3
558
626
  }));
559
627
  }
560
- }), Ze = /* @__PURE__ */ ce(Ye, [["__scopeId", "data-v-f3d20b01"]]);
628
+ }), tt = /* @__PURE__ */ ue(Ze, [["__scopeId", "data-v-415d4b9a"]]);
561
629
  export {
562
- re as C,
563
- he as L,
564
- Ze as O,
565
- ce as _,
566
- ye as c,
567
- ke as u
630
+ pe as C,
631
+ Te as L,
632
+ tt as O,
633
+ ue as _,
634
+ ke as c,
635
+ Ce as u
568
636
  };
@@ -1,6 +1,5 @@
1
1
  type __VLS_Props = {
2
2
  visible?: boolean;
3
- enableGrid?: boolean;
4
3
  community: string;
5
4
  detailUrl: string;
6
5
  wrapper?: string | HTMLElement;
@@ -12,5 +11,7 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
12
11
  "update:visible": (value: boolean) => any;
13
12
  }, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
13
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, any>;
14
+ }>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
15
+ cookieNoticeRef: HTMLDivElement;
16
+ }, any>;
16
17
  export default _default;
@@ -1,3 +1,14 @@
1
+ type __VLS_Props = {
2
+ simple: any;
3
+ atom: any;
4
+ lang: any;
5
+ quickNav: any;
6
+ friendshipLink: any;
7
+ footerLogo: any;
8
+ footerOption: any;
9
+ qrcode: any;
10
+ footerBg: any;
11
+ };
1
12
  declare function __VLS_template(): {
2
13
  attrs: Partial<{}>;
3
14
  slots: {
@@ -15,7 +26,17 @@ declare function __VLS_template(): {
15
26
  rootEl: HTMLDivElement;
16
27
  };
17
28
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<{}, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
29
+ declare const __VLS_component: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
30
+ simple: any;
31
+ atom: any;
32
+ lang: any;
33
+ quickNav: any;
34
+ friendshipLink: any;
35
+ footerLogo: any;
36
+ footerOption: any;
37
+ qrcode: any;
38
+ footerBg: any;
39
+ }, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
40
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
41
  export default _default;
21
42
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -16,7 +16,6 @@ interface UserPropsT {
16
16
  lang?: string;
17
17
  noticeTotal?: number;
18
18
  userInfo?: UserInfoT;
19
- userInfoVisible?: boolean;
20
19
  options?: OptionsItemT[];
21
20
  }
22
21
  export interface OHeaderUserEmitsT {
@@ -35,6 +34,5 @@ declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineCompon
35
34
  token: string;
36
35
  noticeTotal: number;
37
36
  userInfo: UserInfoT;
38
- userInfoVisible: boolean;
39
37
  }, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
40
38
  export default _default;