@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.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +262 -194
- package/dist/components/OCookieNotice.vue.d.ts +3 -2
- package/dist/components/OFooter.vue.d.ts +22 -1
- package/dist/components/OHeaderUser.vue.d.ts +0 -2
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +6 -6
- package/dist/components/activity/index.d.ts +3 -3
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +6 -3
- package/dist/components/{OHeader.vue.d.ts → header/OHeader.vue.d.ts} +2 -1
- package/dist/components/{OHeaderMoblie.vue.d.ts → header/OHeaderMoblie.vue.d.ts} +2 -2
- package/dist/components/header/components/HeaderContent.vue.d.ts +6 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +7 -0
- package/dist/components/header/components/HeaderNavMoblie.vue.d.ts +17 -0
- package/dist/components/header/components/HeaderUbmcNav.vue.d.ts +2 -0
- package/dist/components/header/index.d.ts +22 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +3 -15
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +6 -6
- package/dist/components/meeting/types.d.ts +11 -4
- package/dist/components.cjs.js +47 -47
- package/dist/components.css +1 -1
- package/dist/components.es.js +17957 -17829
- package/dist/index.d.ts +2 -3
- package/package.json +1 -1
- package/src/assets/svg-icons/icon-chevron-down.svg +1 -1
- package/src/components/OCookieNotice.vue +270 -118
- package/src/components/OFooter.vue +11 -1
- package/src/components/OHeaderUser.vue +14 -81
- package/src/components/OSourceCode.vue +1 -1
- package/src/components/activity/OMyActivityCalendar.vue +14 -13
- package/src/components/common/MoreText.vue +3 -2
- package/src/components/element-plus/OElCookieNotice.vue +306 -115
- package/src/components/events/OEventsApply.vue +16 -0
- package/src/components/events/OEventsList.vue +3 -0
- package/src/components/header/OHeader.vue +175 -0
- package/src/components/{OHeaderMoblie.vue → header/OHeaderMoblie.vue} +6 -3
- package/src/components/{common/HeaderEulerNav.vue → header/components/HeaderContent.vue} +375 -551
- package/src/components/header/components/HeaderNav.vue +280 -0
- package/src/components/{common → header/components}/HeaderNavMoblie.vue +20 -18
- package/src/components/{common → header/components}/HeaderUbmcNav.vue +6 -63
- package/src/components/header/index.ts +16 -0
- package/src/components/meeting/OMeetingCalendar.vue +16 -2
- package/src/components/meeting/OMeetingForm.vue +17 -24
- package/src/components/meeting/OMeetingPlayback.vue +1 -1
- package/src/components/meeting/OMyMeetingCalendar.vue +5 -6
- package/src/components/meeting/components/OMeetingCalendarList.vue +1 -1
- package/src/components/meeting/types.ts +11 -5
- package/src/index.ts +2 -5
- package/dist/components/activity/data.d.ts +0 -51
- package/src/components/OHeader.vue +0 -97
- package/src/components/activity/data.ts +0 -365
- package/src/components/meeting/components/OMyCalendarWrapper.vue +0 -160
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useScreen as
|
|
3
|
-
import { isUndefined as
|
|
4
|
-
import {
|
|
5
|
-
import { useVModel as
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
for (const [
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
},
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
}), () =>
|
|
16
|
-
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
return
|
|
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
|
-
}),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
334
|
-
zh:
|
|
335
|
-
en:
|
|
333
|
+
}, ke = Symbol("provide-config-provider"), ve = _({
|
|
334
|
+
zh: he,
|
|
335
|
+
en: fe
|
|
336
336
|
});
|
|
337
|
-
var
|
|
338
|
-
function
|
|
339
|
-
const
|
|
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:
|
|
342
|
-
t: (
|
|
343
|
-
const
|
|
344
|
-
if (
|
|
345
|
-
return console.warn(`Cannot translate the value of keypath '${
|
|
346
|
-
if (
|
|
347
|
-
if (
|
|
348
|
-
const
|
|
349
|
-
return
|
|
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
|
|
351
|
+
return h.replace(/{(\d+)}/g, (i, d) => r[d] ?? i);
|
|
352
352
|
}
|
|
353
|
-
return
|
|
353
|
+
return h;
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
const
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
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
|
-
},
|
|
367
|
+
}, we = ["href"], _e = {
|
|
368
|
+
key: 1,
|
|
369
|
+
class: "cookie-en-title"
|
|
370
|
+
}, Ae = {
|
|
365
371
|
key: 0,
|
|
366
|
-
class: "cookie-
|
|
367
|
-
},
|
|
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(
|
|
379
|
-
const
|
|
380
|
-
const
|
|
381
|
-
return
|
|
382
|
-
},
|
|
383
|
-
const
|
|
384
|
-
document.cookie = `${encodeURIComponent(
|
|
385
|
-
},
|
|
386
|
-
typeof
|
|
387
|
-
!
|
|
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 =
|
|
390
|
-
typeof
|
|
391
|
-
},
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
}),
|
|
395
|
-
|
|
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
|
|
398
|
-
|
|
399
|
-
},
|
|
400
|
-
|
|
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
|
-
|
|
403
|
-
},
|
|
404
|
-
|
|
405
|
-
}, Y = () => {
|
|
406
|
-
r.value = N();
|
|
409
|
+
C.value = !0, R(), N(!1);
|
|
410
|
+
}, Z = () => {
|
|
411
|
+
C.value = O();
|
|
407
412
|
};
|
|
408
|
-
return
|
|
413
|
+
return m({
|
|
409
414
|
check() {
|
|
410
|
-
|
|
415
|
+
O() === M.value && D();
|
|
411
416
|
}
|
|
412
|
-
}), (
|
|
413
|
-
default:
|
|
414
|
-
(
|
|
415
|
-
to:
|
|
417
|
+
}), (l, n) => (y(), z(e(pe), null, {
|
|
418
|
+
default: s(() => [
|
|
419
|
+
(y(), z(ie, {
|
|
420
|
+
to: a.wrapper || "#app"
|
|
416
421
|
}, [
|
|
417
|
-
e(
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
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
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
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
|
-
},
|
|
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
|
-
|
|
445
|
-
p
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
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:
|
|
451
|
-
|
|
556
|
+
default: s(() => [
|
|
557
|
+
p(o(e(i)("cookie.saveSetting")), 1)
|
|
452
558
|
]),
|
|
453
559
|
_: 1
|
|
454
560
|
}),
|
|
455
|
-
|
|
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:
|
|
578
|
+
onClick: V
|
|
459
579
|
}, {
|
|
460
|
-
default:
|
|
461
|
-
|
|
580
|
+
default: s(() => [
|
|
581
|
+
p(o(e(i)("cookie.saveSetting")), 1)
|
|
462
582
|
]),
|
|
463
583
|
_: 1
|
|
464
584
|
}),
|
|
465
|
-
|
|
585
|
+
c(e(S), {
|
|
466
586
|
round: "",
|
|
467
587
|
type: "primary",
|
|
468
|
-
onClick:
|
|
588
|
+
onClick: j
|
|
469
589
|
}, {
|
|
470
|
-
default:
|
|
471
|
-
|
|
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:
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
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
|
-
|
|
604
|
+
t("div", Pe, o(e(i)("cookie.necessaryCookieDetail")), 1)
|
|
537
605
|
]),
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
modelValue:
|
|
544
|
-
"onUpdate:modelValue":
|
|
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
|
-
|
|
616
|
+
t("div", $e, o(e(i)("cookie.analyticalCookieDetail")), 1)
|
|
549
617
|
])
|
|
550
618
|
])
|
|
551
619
|
]),
|
|
552
620
|
_: 1
|
|
553
|
-
}, 8, ["
|
|
554
|
-
])) :
|
|
621
|
+
}, 8, ["class", "modelValue"])
|
|
622
|
+
], 512)) : G("", !0)
|
|
555
623
|
], 8, ["to"]))
|
|
556
624
|
]),
|
|
557
625
|
_: 3
|
|
558
626
|
}));
|
|
559
627
|
}
|
|
560
|
-
}),
|
|
628
|
+
}), tt = /* @__PURE__ */ ue(Ze, [["__scopeId", "data-v-415d4b9a"]]);
|
|
561
629
|
export {
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
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, {
|
|
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<
|
|
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;
|