@opendesign-plus-test/components 0.0.1-rc.60 → 0.0.1-rc.62
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 +150 -150
- package/dist/components/activity/OActivityApproval.vue.d.ts +8 -8
- package/dist/components/activity/OActivityForm.vue.d.ts +6 -6
- package/dist/components/activity/OActivityMyCalendar.vue.d.ts +2 -2
- package/dist/components/activity/index.d.ts +14 -14
- package/dist/components/banner/OBanner.vue.d.ts +13 -0
- package/dist/components/banner/OBannerContent.vue.d.ts +7 -0
- package/dist/components/banner/index.d.ts +68 -0
- package/dist/components/banner/types.d.ts +31 -0
- package/dist/components/{OPlusConfigProvider.vue.d.ts → config-provider/OPlusConfigProvider.vue.d.ts} +2 -2
- package/dist/components/config-provider/index.d.ts +27 -0
- package/dist/components/cookie-notice/OCookieNotice.vue.d.ts +17 -0
- package/dist/components/cookie-notice/index.d.ts +53 -0
- package/dist/components/{OFooter.vue.d.ts → footer/OFooter.vue.d.ts} +3 -3
- package/dist/components/footer/index.d.ts +89 -0
- package/dist/components/header/OHeaderLanguageSwitcher.vue.d.ts +49 -0
- package/dist/components/{OHeaderSearch.vue.d.ts → header/OHeaderSearch.vue.d.ts} +145 -145
- package/dist/components/header/OHeaderSourceCode.vue.d.ts +18 -0
- package/dist/components/header/OHeaderTheme.vue.d.ts +25 -0
- package/dist/components/{OHeaderUser.vue.d.ts → header/OHeaderUser.vue.d.ts} +6 -6
- package/dist/components/header/index.d.ts +805 -1
- package/dist/components/header/types.d.ts +1 -0
- package/dist/components/meeting/OMeetingForm.vue.d.ts +4 -6
- package/dist/components/meeting/OMeetingMyCalendar.vue.d.ts +2 -2
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +4 -4
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +1 -1
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +7 -13
- package/dist/components/meeting/types.d.ts +2 -4
- package/dist/components/search/OSearchInput.vue.d.ts +34 -34
- package/dist/components/search/index.d.ts +22 -22
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +21 -21
- package/dist/components/search/internal/SearchPanel.vue.d.ts +1 -1
- package/dist/components/{OSection.vue.d.ts → section/OSection.vue.d.ts} +4 -4
- package/dist/components/section/index.d.ts +47 -0
- package/dist/components.cjs.js +38 -38
- package/dist/components.css +1 -1
- package/dist/components.es.js +16822 -16615
- package/dist/index.d.ts +5 -14
- package/docs/design.md +2 -2
- package/package.json +3 -3
- package/scripts/generate-components-index.js +2 -44
- package/src/components/activity/OActivityMyCalendar.vue +1 -1
- package/src/components/banner/OBanner.vue +288 -0
- package/src/components/banner/OBannerContent.vue +175 -0
- package/src/components/banner/index.ts +18 -0
- package/src/components/banner/types.ts +39 -0
- package/src/components/common/ClientOnly.vue +13 -0
- package/src/components/{OPlusConfigProvider.vue → config-provider/OPlusConfigProvider.vue} +2 -2
- package/src/components/config-provider/index.ts +10 -0
- package/src/components/{OCookieNotice.vue → cookie-notice/OCookieNotice.vue} +1 -1
- package/src/components/cookie-notice/index.ts +10 -0
- package/src/components/element-plus/OElCookieNotice.vue +1 -1
- package/src/components/events/OEventsApply.vue +87 -1
- package/src/components/events/OEventsList.vue +47 -2
- package/src/components/{OFooter.vue → footer/OFooter.vue} +4 -4
- package/src/components/footer/index.ts +10 -0
- package/src/components/header/OHeaderLanguageSwitcher.vue +211 -0
- package/src/components/{OHeaderSearch.vue → header/OHeaderSearch.vue} +5 -5
- package/src/components/{OSourceCode.vue → header/OHeaderSourceCode.vue} +2 -2
- package/src/components/{OThemeSwitcher.vue → header/OHeaderTheme.vue} +4 -4
- package/src/components/{OHeaderUser.vue → header/OHeaderUser.vue} +4 -4
- package/src/components/header/index.ts +38 -1
- package/src/components/header/types.ts +1 -0
- package/src/components/meeting/OMeetingCalendar.vue +23 -4
- package/src/components/meeting/OMeetingForm.vue +21 -13
- package/src/components/meeting/OMeetingMyCalendar.vue +3 -9
- package/src/components/meeting/components/OMeetingCalendarList.vue +7 -2
- package/src/components/meeting/components/OMeetingDetail.vue +17 -3
- package/src/components/meeting/types.ts +2 -4
- package/src/components/search/OSearchInput.vue +1 -1
- package/src/components/{OSection.vue → section/OSection.vue} +1 -1
- package/src/components/section/index.ts +10 -0
- package/src/i18n/en.ts +1 -1
- package/src/i18n/zh.ts +3 -1
- package/src/index.ts +5 -38
- package/dist/components/OBanner.vue.d.ts +0 -11
- package/dist/components/OCookieNotice.vue.d.ts +0 -17
- package/dist/components/OSourceCode.vue.d.ts +0 -18
- package/dist/components/OThemeSwitcher.vue.d.ts +0 -25
- package/src/components/OBanner.vue +0 -398
- package/src/components/common/ClientOnlyWrapper.ts +0 -21
|
@@ -1,24 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useScreen as
|
|
3
|
-
import { isUndefined as
|
|
4
|
-
import { ElIcon as
|
|
5
|
-
import { useVModel as
|
|
6
|
-
const
|
|
7
|
-
const l = o.__vccOpts || o;
|
|
8
|
-
for (const [f, k] of m)
|
|
9
|
-
l[f] = k;
|
|
10
|
-
return l;
|
|
11
|
-
}, ue = (o) => {
|
|
12
|
-
const m = b(!1);
|
|
13
|
-
return Y(() => {
|
|
14
|
-
m.value = !0;
|
|
15
|
-
}), () => m.value && o.default ? o.default() : null;
|
|
16
|
-
}, ve = $({
|
|
17
|
-
setup(o, { slots: m }) {
|
|
18
|
-
const l = Z("ClientOnly");
|
|
19
|
-
return l && typeof l != "string" ? () => Q(l, null, { default: () => m.default ? m.default() : null }) : ue(m);
|
|
20
|
-
}
|
|
21
|
-
}), ye = {
|
|
1
|
+
import { ref as b, getCurrentInstance as Q, inject as X, computed as _, defineComponent as H, onMounted as Y, renderSlot as K, createCommentVNode as I, watch as ee, openBlock as v, createBlock as z, withCtx as m, Teleport as te, unref as e, createElementBlock as f, createElementVNode as t, normalizeClass as F, Fragment as P, createVNode as c, createTextVNode as u, toDisplayString as a, nextTick as ie } from "vue";
|
|
2
|
+
import { useScreen as ne } from "@opendesign-plus/composables";
|
|
3
|
+
import { isUndefined as ae, isString as oe } from "@opensig/opendesign";
|
|
4
|
+
import { ElIcon as $, ElButton as T, ElDialog as me, ElSwitch as se, ElDivider as ce } from "element-plus";
|
|
5
|
+
import { useVModel as ge } from "@vueuse/core";
|
|
6
|
+
const le = {
|
|
22
7
|
search: "搜索",
|
|
23
8
|
"search.hot": "热门搜索",
|
|
24
9
|
"search.placeholder": "搜索",
|
|
@@ -165,7 +150,7 @@ const de = (o, m) => {
|
|
|
165
150
|
"meeting.groups": "工作组",
|
|
166
151
|
"meeting.activityAddress": "活动地点",
|
|
167
152
|
"meeting.livePlatform": "直播平台",
|
|
168
|
-
"meeting.meetingTopic": "
|
|
153
|
+
"meeting.meetingTopic": "会议主题",
|
|
169
154
|
"meeting.meetingDetail": "会议详情",
|
|
170
155
|
"meeting.meetingEtherpad": "会议纪要",
|
|
171
156
|
"meeting.meetingReplay": "智能回放",
|
|
@@ -185,6 +170,8 @@ const de = (o, m) => {
|
|
|
185
170
|
"common.more": "更多",
|
|
186
171
|
"cookie.desc": "我们使用cookie来确保您的高速浏览体验。继续浏览本站,即表示您同意我们使用cookie。",
|
|
187
172
|
"cookie.about": "查看详情",
|
|
173
|
+
"cookie.acceptAll": "全部接受",
|
|
174
|
+
"cookie.saveSetting": "保存设置",
|
|
188
175
|
"meeting.create": "创建",
|
|
189
176
|
"meeting.createMeeting": "创建会议",
|
|
190
177
|
"meeting.createActivity": "创建活动",
|
|
@@ -281,7 +268,7 @@ const de = (o, m) => {
|
|
|
281
268
|
"events.searchPlaceholder": "搜索活动名称、地点",
|
|
282
269
|
"common.collapse": "收起",
|
|
283
270
|
"common.expand": "展开"
|
|
284
|
-
},
|
|
271
|
+
}, re = {
|
|
285
272
|
search: "Search",
|
|
286
273
|
"search.hot": "Top search",
|
|
287
274
|
"search.placeholder": "Please enter the content",
|
|
@@ -429,7 +416,7 @@ const de = (o, m) => {
|
|
|
429
416
|
"meeting.groups": "Groups",
|
|
430
417
|
"meeting.activityAddress": "Address",
|
|
431
418
|
"meeting.livePlatform": "Live Platform",
|
|
432
|
-
"meeting.meetingTopic": "Topics
|
|
419
|
+
"meeting.meetingTopic": "Topics",
|
|
433
420
|
"meeting.meetingDetail": "Details",
|
|
434
421
|
"meeting.meetingEtherpad": "Etherpad",
|
|
435
422
|
"meeting.meetingReplay": "Playback",
|
|
@@ -556,47 +543,60 @@ const de = (o, m) => {
|
|
|
556
543
|
"events.searchPlaceholder": "Enter search...",
|
|
557
544
|
"common.collapse": "Collapse",
|
|
558
545
|
"common.expand": "Expand"
|
|
559
|
-
},
|
|
560
|
-
zh:
|
|
561
|
-
en:
|
|
546
|
+
}, de = Symbol("provide-config-provider"), ve = b({
|
|
547
|
+
zh: le,
|
|
548
|
+
en: re
|
|
562
549
|
});
|
|
563
|
-
var
|
|
564
|
-
function
|
|
565
|
-
const
|
|
550
|
+
var ue = /* @__PURE__ */ ((o) => (o.ZH = "zh", o.EN = "en", o))(ue || {});
|
|
551
|
+
function ye() {
|
|
552
|
+
const g = Q() ? X(de) : null, y = _(() => (g == null ? void 0 : g.locale) || "zh");
|
|
566
553
|
return {
|
|
567
|
-
locale:
|
|
568
|
-
t: (k, ...
|
|
569
|
-
const i =
|
|
570
|
-
if (
|
|
554
|
+
locale: y,
|
|
555
|
+
t: (k, ...l) => {
|
|
556
|
+
const i = ve.value[y.value][k];
|
|
557
|
+
if (ae(i))
|
|
571
558
|
return console.warn(`Cannot translate the value of keypath '${k}'`), k;
|
|
572
|
-
if (
|
|
573
|
-
if (
|
|
574
|
-
const
|
|
575
|
-
return i.replace(/{(\w+)}/g, (A, E) =>
|
|
559
|
+
if (l.length > 0 && oe(i)) {
|
|
560
|
+
if (l.length === 1 && typeof l[0] == "object" && l[0] !== null) {
|
|
561
|
+
const r = l[0];
|
|
562
|
+
return i.replace(/{(\w+)}/g, (A, E) => r[E] ?? A);
|
|
576
563
|
}
|
|
577
|
-
return i.replace(/{(\d+)}/g, (
|
|
564
|
+
return i.replace(/{(\d+)}/g, (r, A) => l[A] ?? r);
|
|
578
565
|
}
|
|
579
566
|
return i;
|
|
580
567
|
}
|
|
581
568
|
};
|
|
582
569
|
}
|
|
583
|
-
const
|
|
570
|
+
const pe = (o, g) => {
|
|
571
|
+
const y = o.__vccOpts || o;
|
|
572
|
+
for (const [p, k] of g)
|
|
573
|
+
y[p] = k;
|
|
574
|
+
return y;
|
|
575
|
+
}, he = /* @__PURE__ */ H({
|
|
576
|
+
__name: "ClientOnly",
|
|
577
|
+
setup(o) {
|
|
578
|
+
const g = b(!1);
|
|
579
|
+
return Y(() => {
|
|
580
|
+
g.value = !0;
|
|
581
|
+
}), (y, p) => g.value ? K(y.$slots, "default", { key: 0 }) : I("", !0);
|
|
582
|
+
}
|
|
583
|
+
}), fe = { class: "cookie-notice-content" }, ke = ["type"], Ae = { class: "cookie-title" }, we = {
|
|
584
584
|
style: { width: "1em", height: "1em" },
|
|
585
585
|
xmlns: "http://www.w3.org/2000/svg",
|
|
586
586
|
version: "1.1",
|
|
587
587
|
width: "24",
|
|
588
588
|
height: "24",
|
|
589
589
|
viewBox: "0 0 24 24"
|
|
590
|
-
},
|
|
590
|
+
}, Te = {
|
|
591
591
|
class: "cookie-zh-title",
|
|
592
592
|
style: { "margin-top": "0" }
|
|
593
|
-
},
|
|
593
|
+
}, Se = ["href"], De = {
|
|
594
594
|
key: 1,
|
|
595
595
|
class: "cookie-en-title"
|
|
596
|
-
},
|
|
596
|
+
}, Ce = {
|
|
597
597
|
key: 0,
|
|
598
598
|
class: "cookie-en-content"
|
|
599
|
-
},
|
|
599
|
+
}, Ee = { class: "cookie-en-desc" }, Me = ["href"], be = { class: "cookie-notice-right" }, Re = { class: "dlg-title" }, xe = { class: "cookie-dlg-content" }, _e = { class: "content-item" }, Ie = { class: "item-header" }, Ne = { class: "item-title" }, Ue = { class: "item-extra" }, Le = { class: "item-detail" }, Pe = { class: "content-item" }, Ge = { class: "item-header" }, Be = { class: "item-title" }, Oe = { class: "item-extra" }, je = { class: "item-detail" }, Ve = "0", W = "1", ze = "2", x = "3", Fe = "agreed-cookiepolicy-zh", $e = "agreed-cookiepolicy-en", We = /* @__PURE__ */ H({
|
|
600
600
|
__name: "OElCookieNotice",
|
|
601
601
|
props: {
|
|
602
602
|
visible: { type: Boolean },
|
|
@@ -606,61 +606,61 @@ const we = { class: "cookie-notice-content" }, Te = ["type"], Se = { class: "coo
|
|
|
606
606
|
cookieDomain: {}
|
|
607
607
|
},
|
|
608
608
|
emits: ["update:visible"],
|
|
609
|
-
setup(o, { expose:
|
|
610
|
-
const
|
|
611
|
-
const n = document.cookie.split(";").find((
|
|
609
|
+
setup(o, { expose: g, emit: y }) {
|
|
610
|
+
const p = o, k = y, { lePadV: l } = ne(), { locale: R, t: i } = ye(), r = _(() => R.value === "zh"), A = b(), E = _(() => A.value ? !!getComputedStyle(A.value).getPropertyValue("--grid-content-width") : !1), h = _(() => r.value ? Fe : $e), w = b(!1), S = ge(p, "visible", k, { defaultValue: !1 }), M = (s) => {
|
|
611
|
+
const n = document.cookie.split(";").find((d) => d.split("=")[0].trim() === encodeURIComponent(s));
|
|
612
612
|
return n ? decodeURIComponent(n.split("=")[1]) : null;
|
|
613
|
-
},
|
|
614
|
-
const
|
|
615
|
-
document.cookie = `${encodeURIComponent(
|
|
616
|
-
}, D = (
|
|
617
|
-
typeof
|
|
618
|
-
!S.value &&
|
|
613
|
+
}, N = (s, n, d, J) => {
|
|
614
|
+
const Z = `; max-age=${d * 24 * 60 * 60}`;
|
|
615
|
+
document.cookie = `${encodeURIComponent(s)}=${encodeURIComponent(n)}${Z}; path=/; domain=${J}`;
|
|
616
|
+
}, D = (s) => {
|
|
617
|
+
typeof s == "boolean" ? S.value = s : S.value = !S.value, ie(() => {
|
|
618
|
+
!S.value && r.value && M(h.value) !== x && N(h.value, x, 180, p.cookieDomain ?? location.hostname);
|
|
619
619
|
});
|
|
620
|
-
}, C = b(!1),
|
|
621
|
-
typeof
|
|
622
|
-
},
|
|
620
|
+
}, C = b(!1), U = (s) => {
|
|
621
|
+
typeof s == "boolean" ? C.value = s : C.value = !C.value;
|
|
622
|
+
}, G = () => r.value ? M(h.value) !== x : (M(h.value) ?? "0") === Ve, B = () => r.value ? M(h.value) === x : M(h.value) === W;
|
|
623
623
|
Y(() => {
|
|
624
|
-
|
|
625
|
-
}),
|
|
626
|
-
D(
|
|
624
|
+
G() && D(!0);
|
|
625
|
+
}), ee(R, () => {
|
|
626
|
+
D(G());
|
|
627
627
|
});
|
|
628
|
-
const
|
|
629
|
-
w.value = !0,
|
|
628
|
+
const L = () => {
|
|
629
|
+
w.value = !0, N(h.value, W, 180, p.cookieDomain ?? location.hostname), D(!1);
|
|
630
630
|
}, O = () => {
|
|
631
|
-
w.value = !1,
|
|
631
|
+
w.value = !1, N(h.value, ze, 180, p.cookieDomain ?? location.hostname), D(!1);
|
|
632
632
|
}, j = () => {
|
|
633
|
-
w.value ?
|
|
633
|
+
w.value ? L() : O(), U(!1);
|
|
634
634
|
}, V = () => {
|
|
635
|
-
w.value = !0,
|
|
636
|
-
},
|
|
637
|
-
w.value =
|
|
635
|
+
w.value = !0, L(), U(!1);
|
|
636
|
+
}, q = () => {
|
|
637
|
+
w.value = B();
|
|
638
638
|
};
|
|
639
|
-
return
|
|
639
|
+
return g({
|
|
640
640
|
check() {
|
|
641
|
-
|
|
641
|
+
B() === S.value && D();
|
|
642
642
|
}
|
|
643
|
-
}), (
|
|
644
|
-
default:
|
|
645
|
-
(v(), z(
|
|
643
|
+
}), (s, n) => (v(), z(he, null, {
|
|
644
|
+
default: m(() => [
|
|
645
|
+
(v(), z(te, {
|
|
646
646
|
to: o.wrapper || "#app"
|
|
647
647
|
}, [
|
|
648
|
-
e(S) ? (v(),
|
|
648
|
+
e(S) ? (v(), f("div", {
|
|
649
649
|
key: 0,
|
|
650
650
|
ref_key: "cookieNoticeRef",
|
|
651
651
|
ref: A,
|
|
652
652
|
class: "cookie-notice"
|
|
653
653
|
}, [
|
|
654
|
-
t("div",
|
|
654
|
+
t("div", fe, [
|
|
655
655
|
t("div", {
|
|
656
656
|
type: e(R),
|
|
657
657
|
class: F({ "cookie-notice-wrap-grid": E.value, "cookie-notice-wrap": !E.value })
|
|
658
658
|
}, [
|
|
659
|
-
t("div",
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
default:
|
|
663
|
-
(v(),
|
|
659
|
+
t("div", Ae, [
|
|
660
|
+
r.value ? (v(), f(P, { key: 0 }, [
|
|
661
|
+
c(e($), { style: { transform: "rotate(180deg)", "font-size": "24px", "margin-right": "4px" } }, {
|
|
662
|
+
default: m(() => [
|
|
663
|
+
(v(), f("svg", we, [...n[5] || (n[5] = [
|
|
664
664
|
t("path", {
|
|
665
665
|
fill: "#002fa7",
|
|
666
666
|
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"
|
|
@@ -673,21 +673,21 @@ const we = { class: "cookie-notice-content" }, Te = ["type"], Se = { class: "coo
|
|
|
673
673
|
]),
|
|
674
674
|
_: 1
|
|
675
675
|
}),
|
|
676
|
-
t("p",
|
|
677
|
-
|
|
676
|
+
t("p", Te, [
|
|
677
|
+
u(a(e(i)("cookie.desc")) + " ", 1),
|
|
678
678
|
t("a", {
|
|
679
679
|
href: o.detailUrl,
|
|
680
680
|
target: "_blank",
|
|
681
681
|
rel: "noopener noreferrer"
|
|
682
|
-
}, a(e(i)("cookie.about")), 9,
|
|
682
|
+
}, a(e(i)("cookie.about")), 9, Se)
|
|
683
683
|
])
|
|
684
|
-
], 64)) : (v(),
|
|
685
|
-
|
|
684
|
+
], 64)) : (v(), f("p", De, a(e(i)("cookie.title", [o.community])), 1)),
|
|
685
|
+
c(e($), {
|
|
686
686
|
class: "cookie-notice-close",
|
|
687
|
-
onClick: n[0] || (n[0] = (
|
|
687
|
+
onClick: n[0] || (n[0] = (d) => D(!1))
|
|
688
688
|
}, {
|
|
689
|
-
default:
|
|
690
|
-
|
|
689
|
+
default: m(() => [
|
|
690
|
+
K(s.$slots, "close-icon", {}, () => [
|
|
691
691
|
n[6] || (n[6] = t("svg", {
|
|
692
692
|
xmlns: "http://www.w3.org/2000/svg",
|
|
693
693
|
viewBox: "0 0 24 24"
|
|
@@ -702,64 +702,64 @@ const we = { class: "cookie-notice-content" }, Te = ["type"], Se = { class: "coo
|
|
|
702
702
|
_: 3
|
|
703
703
|
})
|
|
704
704
|
]),
|
|
705
|
-
|
|
706
|
-
t("p",
|
|
707
|
-
|
|
705
|
+
r.value ? I("", !0) : (v(), f("div", Ce, [
|
|
706
|
+
t("p", Ee, [
|
|
707
|
+
u(a(e(i)("cookie.desc")) + " ", 1),
|
|
708
708
|
t("a", {
|
|
709
709
|
href: o.detailUrl,
|
|
710
710
|
target: "_blank",
|
|
711
711
|
rel: "noopener noreferrer"
|
|
712
|
-
}, a(e(i)("cookie.about")), 9,
|
|
713
|
-
n[7] || (n[7] =
|
|
712
|
+
}, a(e(i)("cookie.about")), 9, Me),
|
|
713
|
+
n[7] || (n[7] = u(". ", -1))
|
|
714
714
|
]),
|
|
715
|
-
t("div",
|
|
716
|
-
|
|
715
|
+
t("div", be, [
|
|
716
|
+
c(e(T), {
|
|
717
717
|
round: "",
|
|
718
718
|
type: "primary",
|
|
719
|
-
onClick:
|
|
719
|
+
onClick: L
|
|
720
720
|
}, {
|
|
721
|
-
default:
|
|
722
|
-
|
|
721
|
+
default: m(() => [
|
|
722
|
+
u(a(e(i)("cookie.acceptAll")), 1)
|
|
723
723
|
]),
|
|
724
724
|
_: 1
|
|
725
725
|
}),
|
|
726
|
-
|
|
726
|
+
c(e(T), {
|
|
727
727
|
round: "",
|
|
728
728
|
type: "primary",
|
|
729
729
|
onClick: O
|
|
730
730
|
}, {
|
|
731
|
-
default:
|
|
732
|
-
|
|
731
|
+
default: m(() => [
|
|
732
|
+
u(a(e(i)("cookie.rejectAll")), 1)
|
|
733
733
|
]),
|
|
734
734
|
_: 1
|
|
735
735
|
}),
|
|
736
|
-
|
|
736
|
+
c(e(T), {
|
|
737
737
|
round: "",
|
|
738
738
|
type: "primary",
|
|
739
|
-
onClick: n[1] || (n[1] = (
|
|
739
|
+
onClick: n[1] || (n[1] = (d) => U(!0))
|
|
740
740
|
}, {
|
|
741
|
-
default:
|
|
742
|
-
|
|
741
|
+
default: m(() => [
|
|
742
|
+
u(a(e(i)("cookie.manage")), 1)
|
|
743
743
|
]),
|
|
744
744
|
_: 1
|
|
745
745
|
})
|
|
746
746
|
])
|
|
747
747
|
]))
|
|
748
|
-
], 10,
|
|
748
|
+
], 10, ke)
|
|
749
749
|
]),
|
|
750
|
-
|
|
750
|
+
c(e(me), {
|
|
751
751
|
"show-close": !1,
|
|
752
|
-
class: F({ "cookie-dlg-bottom": e(
|
|
752
|
+
class: F({ "cookie-dlg-bottom": e(l), "grid-width-dlg": E.value }),
|
|
753
753
|
modelValue: C.value,
|
|
754
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
754
|
+
"onUpdate:modelValue": n[4] || (n[4] = (d) => C.value = d),
|
|
755
755
|
"destroy-on-close": "",
|
|
756
|
-
onOpen:
|
|
756
|
+
onOpen: q
|
|
757
757
|
}, {
|
|
758
|
-
header:
|
|
759
|
-
e(
|
|
758
|
+
header: m(() => [
|
|
759
|
+
e(l) ? I("", !0) : (v(), f("div", {
|
|
760
760
|
key: 0,
|
|
761
761
|
class: "dlg-close-icon",
|
|
762
|
-
onClick: n[2] || (n[2] = (
|
|
762
|
+
onClick: n[2] || (n[2] = (d) => C.value = !1)
|
|
763
763
|
}, [...n[8] || (n[8] = [
|
|
764
764
|
t("svg", {
|
|
765
765
|
viewBox: "0 0 24 24",
|
|
@@ -771,92 +771,92 @@ const we = { class: "cookie-notice-content" }, Te = ["type"], Se = { class: "coo
|
|
|
771
771
|
})
|
|
772
772
|
], -1)
|
|
773
773
|
])])),
|
|
774
|
-
t("span",
|
|
774
|
+
t("span", Re, a(e(i)("cookie.manage")), 1)
|
|
775
775
|
]),
|
|
776
|
-
footer:
|
|
777
|
-
e(
|
|
778
|
-
|
|
776
|
+
footer: m(() => [
|
|
777
|
+
e(l) ? (v(), f(P, { key: 0 }, [
|
|
778
|
+
c(e(T), {
|
|
779
779
|
type: "text",
|
|
780
780
|
onClick: j
|
|
781
781
|
}, {
|
|
782
|
-
default:
|
|
783
|
-
|
|
782
|
+
default: m(() => [
|
|
783
|
+
u(a(e(i)("cookie.saveSetting")), 1)
|
|
784
784
|
]),
|
|
785
785
|
_: 1
|
|
786
786
|
}),
|
|
787
|
-
|
|
787
|
+
c(e(ce), {
|
|
788
788
|
direction: "vertical",
|
|
789
789
|
style: { margin: "0 24px" }
|
|
790
790
|
}),
|
|
791
|
-
|
|
791
|
+
c(e(T), {
|
|
792
792
|
type: "text",
|
|
793
793
|
onClick: V
|
|
794
794
|
}, {
|
|
795
|
-
default:
|
|
796
|
-
|
|
795
|
+
default: m(() => [
|
|
796
|
+
u(a(e(i)("cookie.acceptAll")), 1)
|
|
797
797
|
]),
|
|
798
798
|
_: 1
|
|
799
799
|
})
|
|
800
|
-
], 64)) : (v(),
|
|
801
|
-
|
|
800
|
+
], 64)) : (v(), f(P, { key: 1 }, [
|
|
801
|
+
c(e(T), {
|
|
802
802
|
round: "",
|
|
803
803
|
type: "primary",
|
|
804
804
|
onClick: j
|
|
805
805
|
}, {
|
|
806
|
-
default:
|
|
807
|
-
|
|
806
|
+
default: m(() => [
|
|
807
|
+
u(a(e(i)("cookie.saveSetting")), 1)
|
|
808
808
|
]),
|
|
809
809
|
_: 1
|
|
810
810
|
}),
|
|
811
|
-
|
|
811
|
+
c(e(T), {
|
|
812
812
|
round: "",
|
|
813
813
|
type: "primary",
|
|
814
814
|
onClick: V
|
|
815
815
|
}, {
|
|
816
|
-
default:
|
|
817
|
-
|
|
816
|
+
default: m(() => [
|
|
817
|
+
u(a(e(i)("cookie.acceptAll")), 1)
|
|
818
818
|
]),
|
|
819
819
|
_: 1
|
|
820
820
|
})
|
|
821
821
|
], 64))
|
|
822
822
|
]),
|
|
823
|
-
default:
|
|
824
|
-
t("div",
|
|
825
|
-
t("div",
|
|
826
|
-
t("div",
|
|
827
|
-
t("span",
|
|
828
|
-
t("span",
|
|
823
|
+
default: m(() => [
|
|
824
|
+
t("div", xe, [
|
|
825
|
+
t("div", _e, [
|
|
826
|
+
t("div", Ie, [
|
|
827
|
+
t("span", Ne, a(e(i)("cookie.necessaryCookie")), 1),
|
|
828
|
+
t("span", Ue, a(e(i)("cookie.alwaysOn")), 1)
|
|
829
829
|
]),
|
|
830
|
-
t("div",
|
|
830
|
+
t("div", Le, a(e(i)("cookie.necessaryCookieDetail")), 1)
|
|
831
831
|
]),
|
|
832
|
-
t("div",
|
|
833
|
-
t("div",
|
|
834
|
-
t("span",
|
|
835
|
-
t("span",
|
|
836
|
-
|
|
832
|
+
t("div", Pe, [
|
|
833
|
+
t("div", Ge, [
|
|
834
|
+
t("span", Be, a(e(i)("cookie.analyticalCookie")), 1),
|
|
835
|
+
t("span", Oe, [
|
|
836
|
+
c(e(se), {
|
|
837
837
|
modelValue: w.value,
|
|
838
|
-
"onUpdate:modelValue": n[3] || (n[3] = (
|
|
838
|
+
"onUpdate:modelValue": n[3] || (n[3] = (d) => w.value = d)
|
|
839
839
|
}, null, 8, ["modelValue"])
|
|
840
840
|
])
|
|
841
841
|
]),
|
|
842
|
-
t("div",
|
|
842
|
+
t("div", je, a(e(i)("cookie.analyticalCookieDetail")), 1)
|
|
843
843
|
])
|
|
844
844
|
])
|
|
845
845
|
]),
|
|
846
846
|
_: 1
|
|
847
847
|
}, 8, ["class", "modelValue"])
|
|
848
|
-
], 512)) :
|
|
848
|
+
], 512)) : I("", !0)
|
|
849
849
|
], 8, ["to"]))
|
|
850
850
|
]),
|
|
851
851
|
_: 3
|
|
852
852
|
}));
|
|
853
853
|
}
|
|
854
|
-
}),
|
|
854
|
+
}), Ze = /* @__PURE__ */ pe(We, [["__scopeId", "data-v-a1abee53"]]);
|
|
855
855
|
export {
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
856
|
+
ue as L,
|
|
857
|
+
Ze as O,
|
|
858
|
+
pe as _,
|
|
859
|
+
he as a,
|
|
860
|
+
de as c,
|
|
861
|
+
ye as u
|
|
862
862
|
};
|
|
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
|
|
|
16
16
|
readonly hasRequired: boolean;
|
|
17
17
|
readonly layout: "v" | "h" | "inline";
|
|
18
18
|
readonly model?: Record<string, any> | undefined;
|
|
19
|
-
readonly labelAlign?: "
|
|
20
|
-
readonly labelJustify?: "
|
|
19
|
+
readonly labelAlign?: "top" | "center" | "bottom" | undefined;
|
|
20
|
+
readonly labelJustify?: "center" | "left" | "right" | undefined;
|
|
21
21
|
readonly labelWidth?: string | undefined;
|
|
22
22
|
readonly onClear?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
23
23
|
readonly onReset?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
@@ -34,7 +34,7 @@ declare function __VLS_template(): {
|
|
|
34
34
|
$root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
35
35
|
$parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
36
36
|
$host: Element | null;
|
|
37
|
-
$emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "
|
|
37
|
+
$emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "validate", results: import('@opensig/opendesign').FieldResultT[]) => void) & ((event: "reset", filed?: string | string[] | undefined) => void) & ((event: "submit", results: import('@opensig/opendesign').FieldResultT[]) => void);
|
|
38
38
|
$el: HTMLFormElement;
|
|
39
39
|
$options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
40
40
|
model: {
|
|
@@ -123,7 +123,7 @@ declare function __VLS_template(): {
|
|
|
123
123
|
onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
|
|
124
124
|
onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
125
125
|
onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
126
|
-
}>, "
|
|
126
|
+
}>, "hasRequired" | "layout" | "validate" | "resetFields" | "clearValidate"> & {
|
|
127
127
|
validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
|
|
128
128
|
resetFields: (filed?: string | string[]) => void;
|
|
129
129
|
clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
|
|
@@ -147,8 +147,8 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
|
|
|
147
147
|
readonly hasRequired: boolean;
|
|
148
148
|
readonly layout: "v" | "h" | "inline";
|
|
149
149
|
readonly model?: Record<string, any> | undefined;
|
|
150
|
-
readonly labelAlign?: "
|
|
151
|
-
readonly labelJustify?: "
|
|
150
|
+
readonly labelAlign?: "top" | "center" | "bottom" | undefined;
|
|
151
|
+
readonly labelJustify?: "center" | "left" | "right" | undefined;
|
|
152
152
|
readonly labelWidth?: string | undefined;
|
|
153
153
|
readonly onClear?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
154
154
|
readonly onReset?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
@@ -165,7 +165,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
|
|
|
165
165
|
$root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
166
166
|
$parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
167
167
|
$host: Element | null;
|
|
168
|
-
$emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "
|
|
168
|
+
$emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "validate", results: import('@opensig/opendesign').FieldResultT[]) => void) & ((event: "reset", filed?: string | string[] | undefined) => void) & ((event: "submit", results: import('@opensig/opendesign').FieldResultT[]) => void);
|
|
169
169
|
$el: HTMLFormElement;
|
|
170
170
|
$options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
171
171
|
model: {
|
|
@@ -254,7 +254,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
|
|
|
254
254
|
onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
|
|
255
255
|
onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
256
256
|
onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
257
|
-
}>, "
|
|
257
|
+
}>, "hasRequired" | "layout" | "validate" | "resetFields" | "clearValidate"> & {
|
|
258
258
|
validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
|
|
259
259
|
resetFields: (filed?: string | string[]) => void;
|
|
260
260
|
clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
|
|
@@ -2,11 +2,11 @@ import { ActivityFormPropsT } from './types';
|
|
|
2
2
|
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<ActivityFormPropsT, {
|
|
3
3
|
confirm: (val: boolean) => Promise<void>;
|
|
4
4
|
}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
5
|
-
close: (...args: any[]) => void;
|
|
6
5
|
confirm: (...args: any[]) => void;
|
|
6
|
+
close: (...args: any[]) => void;
|
|
7
7
|
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<ActivityFormPropsT> & Readonly<{
|
|
8
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
9
8
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {
|
|
11
11
|
formRef: ({
|
|
12
12
|
$: import('../../../vue/dist/vue.esm-bundler.js').ComponentInternalInstance;
|
|
@@ -18,8 +18,8 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
18
18
|
readonly hasRequired: boolean;
|
|
19
19
|
readonly layout: "v" | "h" | "inline";
|
|
20
20
|
readonly model?: Record<string, any> | undefined;
|
|
21
|
-
readonly labelAlign?: "
|
|
22
|
-
readonly labelJustify?: "
|
|
21
|
+
readonly labelAlign?: "top" | "center" | "bottom" | undefined;
|
|
22
|
+
readonly labelJustify?: "center" | "left" | "right" | undefined;
|
|
23
23
|
readonly labelWidth?: string | undefined;
|
|
24
24
|
readonly onClear?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
25
25
|
readonly onReset?: ((filed?: string | string[] | undefined) => any) | undefined | undefined;
|
|
@@ -36,7 +36,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
36
36
|
$root: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
37
37
|
$parent: import('../../../vue/dist/vue.esm-bundler.js').ComponentPublicInstance | null;
|
|
38
38
|
$host: Element | null;
|
|
39
|
-
$emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "
|
|
39
|
+
$emit: ((event: "clear", filed?: string | string[] | undefined) => void) & ((event: "validate", results: import('@opensig/opendesign').FieldResultT[]) => void) & ((event: "reset", filed?: string | string[] | undefined) => void) & ((event: "submit", results: import('@opensig/opendesign').FieldResultT[]) => void);
|
|
40
40
|
$el: HTMLFormElement;
|
|
41
41
|
$options: import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
42
42
|
model: {
|
|
@@ -125,7 +125,7 @@ declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineCom
|
|
|
125
125
|
onReset?: ((filed?: string | string[] | undefined) => any) | undefined;
|
|
126
126
|
onSubmit?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
127
127
|
onValidate?: ((results: import('@opensig/opendesign').FieldResultT[]) => any) | undefined;
|
|
128
|
-
}>, "
|
|
128
|
+
}>, "hasRequired" | "layout" | "validate" | "resetFields" | "clearValidate"> & {
|
|
129
129
|
validate: (filed?: string | string[]) => Promise<import('@opensig/opendesign').FieldResultT[]>;
|
|
130
130
|
resetFields: (filed?: string | string[]) => void;
|
|
131
131
|
clearValidate: (filed?: string | string[], onClear?: (filed: import('@opensig/opendesign').FiledInfoT) => void) => void;
|
|
@@ -155,7 +155,7 @@ declare function __VLS_template(): {
|
|
|
155
155
|
readonly duration: number;
|
|
156
156
|
readonly disabledX: boolean;
|
|
157
157
|
readonly disabledY: boolean;
|
|
158
|
-
readonly showType: "
|
|
158
|
+
readonly showType: "auto" | "hover" | "always" | "never";
|
|
159
159
|
readonly autoUpdateOnScrollSize: boolean;
|
|
160
160
|
readonly wrapClass?: string | {
|
|
161
161
|
[k: string]: boolean;
|
|
@@ -467,7 +467,7 @@ declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').De
|
|
|
467
467
|
readonly duration: number;
|
|
468
468
|
readonly disabledX: boolean;
|
|
469
469
|
readonly disabledY: boolean;
|
|
470
|
-
readonly showType: "
|
|
470
|
+
readonly showType: "auto" | "hover" | "always" | "never";
|
|
471
471
|
readonly autoUpdateOnScrollSize: boolean;
|
|
472
472
|
readonly wrapClass?: string | {
|
|
473
473
|
[k: string]: boolean;
|