@opendesign-plus-test/components 0.0.1-rc.145 → 0.0.1-rc.147
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 +55 -37
- package/dist/components/activity/OActivityApproval.vue.d.ts +1 -144
- package/dist/components/activity/index.d.ts +1 -6
- package/dist/components/logo-swiper/OLogoSwiper.vue.d.ts +1 -0
- package/dist/components/logo-swiper/OLogoSwiperItems.vue.d.ts +1 -0
- package/dist/components/logo-swiper/index.d.ts +4 -0
- package/dist/components/logo-swiper/types.d.ts +1 -0
- package/dist/components/video/OVideoDetail.vue.d.ts +7 -0
- package/dist/components/video/index.d.ts +27 -0
- package/dist/components/video/types.d.ts +24 -0
- package/dist/components.cjs.js +37 -37
- package/dist/components.css +1 -1
- package/dist/components.es.js +10968 -10882
- package/dist/index.d.ts +1 -0
- package/dist/treeshaking/_virtual/icon-chevron-right.mjs +2 -2
- package/dist/treeshaking/_virtual/icon-material.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-video.mjs +28 -0
- package/dist/treeshaking/components/activity/OActivityApproval.css +114 -407
- package/dist/treeshaking/components/activity/OActivityApproval.vue.d.ts +1 -144
- package/dist/treeshaking/components/activity/OActivityApproval.vue.mjs +198 -244
- package/dist/treeshaking/components/activity/OActivityApproval2.css +0 -288
- package/dist/treeshaking/components/activity/OActivityMyCalendar.css +441 -297
- package/dist/treeshaking/components/activity/OActivityMyCalendar.vue.mjs +110 -107
- package/dist/treeshaking/components/activity/OActivityMyCalendar2.css +10 -3
- package/dist/treeshaking/components/activity/index.d.ts +1 -6
- package/dist/treeshaking/components/common/WordAvatar.css +3 -2
- package/dist/treeshaking/components/common/WordAvatar.vue.mjs +19 -3
- package/dist/treeshaking/components/float-poster/OFloatPoster.css +25 -11
- package/dist/treeshaking/components/float-poster/OFloatPoster.vue.mjs +1 -1
- package/dist/treeshaking/components/footer/components/FooterList.css +109 -96
- package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +185 -185
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/logo-swiper/OLogoSwiper.css +22 -8
- package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue.d.ts +1 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue.mjs +2 -9
- package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue2.mjs +21 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.css +39 -26
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.d.ts +1 -0
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.mjs +1 -1
- package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue2.mjs +12 -8
- package/dist/treeshaking/components/logo-swiper/index.d.ts +4 -0
- package/dist/treeshaking/components/logo-swiper/types.d.ts +1 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +3 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +3 -2
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +5 -5
- package/dist/treeshaking/components/section/OSection.vue2.mjs +2 -2
- package/dist/treeshaking/components/video/OVideoDetail.css +754 -0
- package/dist/treeshaking/components/video/OVideoDetail.vue.d.ts +7 -0
- package/dist/treeshaking/components/video/OVideoDetail.vue.mjs +318 -0
- package/dist/treeshaking/components/video/OVideoDetail.vue3.mjs +5 -0
- package/dist/treeshaking/components/video/index.d.ts +27 -0
- package/dist/treeshaking/components/video/index.mjs +10 -0
- package/dist/treeshaking/components/video/types.d.ts +24 -0
- package/dist/treeshaking/i18n/en.mjs +10 -1
- package/dist/treeshaking/i18n/zh.mjs +10 -1
- package/dist/treeshaking/index.d.ts +1 -0
- package/dist/treeshaking/index.mjs +2 -0
- package/package.json +1 -1
- package/dist/treeshaking/_virtual/icon-filter.mjs +0 -21
- package/dist/treeshaking/components/common/ThFilter.css +0 -146
- package/dist/treeshaking/components/common/ThFilter.vue.mjs +0 -270
- package/dist/treeshaking/components/common/ThFilter.vue3.mjs +0 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CourseCollectionT } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
data: CourseCollectionT;
|
|
4
|
+
layout?: 'horizontal' | 'vertical';
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, Fragment, createElementVNode, createVNode, unref, normalizeStyle, withCtx, toDisplayString, createCommentVNode, normalizeClass, createBlock, renderList, createTextVNode, createSlots } from "vue";
|
|
2
|
+
import { OCard, ODivider, OScroller, OMenu, OMenuItem, OIcon, OLink, ODialog } from "@opensig/opendesign";
|
|
3
|
+
import IconVideo from "../../_virtual/icon-video.mjs";
|
|
4
|
+
import IconMaterial from "../../_virtual/icon-material.mjs";
|
|
5
|
+
import IconRight from "../../_virtual/icon-chevron-right.mjs";
|
|
6
|
+
import { useScreen } from "@opendesign-plus/composables";
|
|
7
|
+
import { useI18n } from "../../i18n/index.mjs";
|
|
8
|
+
import _sfc_main$1 from "../common/WordAvatar.vue.mjs";
|
|
9
|
+
import '../common/WordAvatar.css';
|
|
10
|
+
const _hoisted_1 = { class: "o-video-detail-content-wrapper" };
|
|
11
|
+
const _hoisted_2 = { class: "o-video-card-item-header" };
|
|
12
|
+
const _hoisted_3 = { class: "o-video-card-item-content o-video-info-desc" };
|
|
13
|
+
const _hoisted_4 = { class: "o-video-card-item-content-font" };
|
|
14
|
+
const _hoisted_5 = { class: "o-video-card-item-header" };
|
|
15
|
+
const _hoisted_6 = { class: "o-video-card-item-header-title" };
|
|
16
|
+
const _hoisted_7 = ["title"];
|
|
17
|
+
const _hoisted_8 = { class: "o-video-course-main-header" };
|
|
18
|
+
const _hoisted_9 = ["src"];
|
|
19
|
+
const _hoisted_10 = { class: "o-video-course-info-wrapper" };
|
|
20
|
+
const _hoisted_11 = { class: "o-video-course-info-title" };
|
|
21
|
+
const _hoisted_12 = { class: "o-video-course-info-avatar" };
|
|
22
|
+
const _hoisted_13 = { class: "o-video-info-detail-wrapper" };
|
|
23
|
+
const _hoisted_14 = { class: "o-video-info-detail-name" };
|
|
24
|
+
const _hoisted_15 = { class: "o-video-info-detail-position" };
|
|
25
|
+
const _hoisted_16 = { class: "o-video-course-info-content-title" };
|
|
26
|
+
const _hoisted_17 = { class: "o-video-course-info-content" };
|
|
27
|
+
const _hoisted_18 = { class: "o-video-material-download-wrapper" };
|
|
28
|
+
const _hoisted_19 = { class: "o-video-material-download-info" };
|
|
29
|
+
const _hoisted_20 = { class: "o-video-material-download-tip" };
|
|
30
|
+
const _hoisted_21 = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "o-video-material-download-size"
|
|
33
|
+
};
|
|
34
|
+
const _hoisted_22 = { class: "o-video-dlg-title" };
|
|
35
|
+
const _hoisted_23 = { class: "o-video-dlg-body" };
|
|
36
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
37
|
+
__name: "OVideoDetail",
|
|
38
|
+
props: {
|
|
39
|
+
data: {},
|
|
40
|
+
layout: {}
|
|
41
|
+
},
|
|
42
|
+
setup(__props) {
|
|
43
|
+
var _a, _b, _c;
|
|
44
|
+
const props = __props;
|
|
45
|
+
const { lePadV } = useScreen();
|
|
46
|
+
const { t } = useI18n();
|
|
47
|
+
const videoUrl = ref(((_c = (_b = (_a = props.data) == null ? void 0 : _a.courseList) == null ? void 0 : _b[0]) == null ? void 0 : _c.link) || "");
|
|
48
|
+
const currentCourse = computed(() => {
|
|
49
|
+
var _a2, _b2;
|
|
50
|
+
return (_b2 = (_a2 = props.data) == null ? void 0 : _a2.courseList) == null ? void 0 : _b2.find((item) => item.link === videoUrl.value);
|
|
51
|
+
});
|
|
52
|
+
const hasMenu = computed(() => {
|
|
53
|
+
var _a2, _b2;
|
|
54
|
+
return (((_b2 = (_a2 = props.data) == null ? void 0 : _a2.courseList) == null ? void 0 : _b2.length) || 0) > 1;
|
|
55
|
+
});
|
|
56
|
+
const showDialog = ref(false);
|
|
57
|
+
const toggleDialog = (val) => {
|
|
58
|
+
showDialog.value = val;
|
|
59
|
+
};
|
|
60
|
+
return (_ctx, _cache) => {
|
|
61
|
+
var _a2;
|
|
62
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
63
|
+
createElementVNode("div", _hoisted_1, [
|
|
64
|
+
createVNode(unref(OCard), {
|
|
65
|
+
class: "o-video-card-item",
|
|
66
|
+
style: normalizeStyle({ "--video-banner-url": ((_a2 = props.data) == null ? void 0 : _a2.banner) ? `url(${props.data.banner})` : "none" })
|
|
67
|
+
}, {
|
|
68
|
+
header: withCtx(() => {
|
|
69
|
+
var _a3;
|
|
70
|
+
return [
|
|
71
|
+
createElementVNode("div", _hoisted_2, toDisplayString((_a3 = props.data) == null ? void 0 : _a3.title), 1)
|
|
72
|
+
];
|
|
73
|
+
}),
|
|
74
|
+
footer: withCtx(() => {
|
|
75
|
+
var _a3, _b2, _c2, _d;
|
|
76
|
+
return [
|
|
77
|
+
createElementVNode("div", _hoisted_3, [
|
|
78
|
+
((_a3 = props.data) == null ? void 0 : _a3.editorName) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
79
|
+
createElementVNode("span", _hoisted_4, toDisplayString(unref(t)("video.editor")) + " " + toDisplayString((_b2 = props.data) == null ? void 0 : _b2.editorName) + "(" + toDisplayString((_c2 = props.data) == null ? void 0 : _c2.editorEmail) + ") ", 1),
|
|
80
|
+
createVNode(unref(ODivider), { direction: "v" })
|
|
81
|
+
], 64)) : createCommentVNode("", true),
|
|
82
|
+
createElementVNode("span", null, toDisplayString(unref(t)("video.lastUpdated")) + " " + toDisplayString((_d = props.data) == null ? void 0 : _d.lastUpdated), 1)
|
|
83
|
+
])
|
|
84
|
+
];
|
|
85
|
+
}),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["style"]),
|
|
88
|
+
createElementVNode("div", {
|
|
89
|
+
class: normalizeClass(["o-video-card-video-list", [
|
|
90
|
+
`o-video-card-video-list--${props.layout || "horizontal"}`,
|
|
91
|
+
{ "o-video-card-video-list--no-menu": !hasMenu.value }
|
|
92
|
+
]])
|
|
93
|
+
}, [
|
|
94
|
+
hasMenu.value ? (openBlock(), createBlock(unref(OCard), {
|
|
95
|
+
key: 0,
|
|
96
|
+
class: "o-video-course-menu-card"
|
|
97
|
+
}, {
|
|
98
|
+
header: withCtx(() => {
|
|
99
|
+
var _a3, _b2;
|
|
100
|
+
return [
|
|
101
|
+
createElementVNode("div", _hoisted_5, [
|
|
102
|
+
createElementVNode("div", _hoisted_6, toDisplayString(unref(t)("video.sessionList")), 1),
|
|
103
|
+
createElementVNode("div", {
|
|
104
|
+
class: "o-video-card-item-header-menu-wrapper",
|
|
105
|
+
onClick: _cache[0] || (_cache[0] = ($event) => toggleDialog(true))
|
|
106
|
+
}, [
|
|
107
|
+
createElementVNode("div", {
|
|
108
|
+
class: "o-video-card-item-header-menu",
|
|
109
|
+
title: (_a3 = currentCourse.value) == null ? void 0 : _a3.title
|
|
110
|
+
}, toDisplayString((_b2 = currentCourse.value) == null ? void 0 : _b2.title), 9, _hoisted_7),
|
|
111
|
+
createVNode(unref(OIcon), null, {
|
|
112
|
+
default: withCtx(() => [
|
|
113
|
+
createVNode(unref(IconRight))
|
|
114
|
+
]),
|
|
115
|
+
_: 1
|
|
116
|
+
})
|
|
117
|
+
])
|
|
118
|
+
])
|
|
119
|
+
];
|
|
120
|
+
}),
|
|
121
|
+
default: withCtx(() => [
|
|
122
|
+
createVNode(unref(OScroller), {
|
|
123
|
+
"disabled-x": "",
|
|
124
|
+
"show-type": "always",
|
|
125
|
+
size: "small",
|
|
126
|
+
class: "o-video-video-scroller"
|
|
127
|
+
}, {
|
|
128
|
+
default: withCtx(() => [
|
|
129
|
+
createVNode(unref(OMenu), {
|
|
130
|
+
modelValue: videoUrl.value,
|
|
131
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => videoUrl.value = $event)
|
|
132
|
+
}, {
|
|
133
|
+
default: withCtx(() => {
|
|
134
|
+
var _a3;
|
|
135
|
+
return [
|
|
136
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList((_a3 = props.data) == null ? void 0 : _a3.courseList, (item) => {
|
|
137
|
+
return openBlock(), createBlock(unref(OMenuItem), {
|
|
138
|
+
key: item.id,
|
|
139
|
+
value: item.link,
|
|
140
|
+
title: item.title
|
|
141
|
+
}, {
|
|
142
|
+
icon: withCtx(() => [
|
|
143
|
+
createVNode(unref(OIcon), null, {
|
|
144
|
+
default: withCtx(() => [
|
|
145
|
+
createVNode(unref(IconVideo))
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
})
|
|
149
|
+
]),
|
|
150
|
+
default: withCtx(() => [
|
|
151
|
+
createTextVNode(" " + toDisplayString(item.title), 1)
|
|
152
|
+
]),
|
|
153
|
+
_: 2
|
|
154
|
+
}, 1032, ["value", "title"]);
|
|
155
|
+
}), 128))
|
|
156
|
+
];
|
|
157
|
+
}),
|
|
158
|
+
_: 1
|
|
159
|
+
}, 8, ["modelValue"])
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
})
|
|
163
|
+
]),
|
|
164
|
+
_: 1
|
|
165
|
+
})) : createCommentVNode("", true),
|
|
166
|
+
createVNode(unref(OCard), { class: "o-video-course-video-card" }, {
|
|
167
|
+
header: withCtx(() => {
|
|
168
|
+
var _a3;
|
|
169
|
+
return [
|
|
170
|
+
createElementVNode("div", _hoisted_8, toDisplayString((_a3 = currentCourse.value) == null ? void 0 : _a3.title), 1)
|
|
171
|
+
];
|
|
172
|
+
}),
|
|
173
|
+
default: withCtx(() => [
|
|
174
|
+
createElementVNode("video", {
|
|
175
|
+
controls: "",
|
|
176
|
+
muted: "",
|
|
177
|
+
preload: "auto",
|
|
178
|
+
class: "o-video-video-player",
|
|
179
|
+
src: videoUrl.value
|
|
180
|
+
}, null, 8, _hoisted_9)
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
}),
|
|
184
|
+
createVNode(unref(OCard), { class: "o-video-course-info-card" }, createSlots({
|
|
185
|
+
default: withCtx(() => {
|
|
186
|
+
var _a3, _b2, _c2, _d;
|
|
187
|
+
return [
|
|
188
|
+
createElementVNode("div", _hoisted_10, [
|
|
189
|
+
createElementVNode("div", _hoisted_11, toDisplayString(unref(t)("video.featuredSpeaker")), 1),
|
|
190
|
+
createElementVNode("div", _hoisted_12, [
|
|
191
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList((_a3 = currentCourse.value) == null ? void 0 : _a3.speakers, (speaker) => {
|
|
192
|
+
return openBlock(), createElementBlock("div", {
|
|
193
|
+
key: speaker.id,
|
|
194
|
+
class: "o-video-course-info-avatar-item"
|
|
195
|
+
}, [
|
|
196
|
+
createVNode(_sfc_main$1, {
|
|
197
|
+
name: speaker.name,
|
|
198
|
+
src: speaker.image,
|
|
199
|
+
style: { width: "var(--avatar-size)", height: "var(--avatar-size)" }
|
|
200
|
+
}, null, 8, ["name", "src"]),
|
|
201
|
+
createElementVNode("div", _hoisted_13, [
|
|
202
|
+
createElementVNode("div", _hoisted_14, toDisplayString(speaker.name), 1),
|
|
203
|
+
createElementVNode("div", _hoisted_15, toDisplayString(speaker.title), 1)
|
|
204
|
+
])
|
|
205
|
+
]);
|
|
206
|
+
}), 128))
|
|
207
|
+
]),
|
|
208
|
+
createElementVNode("div", _hoisted_16, toDisplayString(unref(t)("video.abstract")), 1),
|
|
209
|
+
createElementVNode("div", _hoisted_17, toDisplayString((_b2 = currentCourse.value) == null ? void 0 : _b2.description), 1),
|
|
210
|
+
createElementVNode("div", _hoisted_18, [
|
|
211
|
+
createElementVNode("div", _hoisted_19, [
|
|
212
|
+
createVNode(unref(OIcon), null, {
|
|
213
|
+
default: withCtx(() => [
|
|
214
|
+
createVNode(unref(IconMaterial))
|
|
215
|
+
]),
|
|
216
|
+
_: 1
|
|
217
|
+
}),
|
|
218
|
+
createElementVNode("div", _hoisted_20, toDisplayString(unref(t)("video.downloadCourseware")), 1),
|
|
219
|
+
((_c2 = currentCourse.value) == null ? void 0 : _c2.materialSize) ? (openBlock(), createElementBlock("span", _hoisted_21, toDisplayString(currentCourse.value.materialSize), 1)) : createCommentVNode("", true)
|
|
220
|
+
]),
|
|
221
|
+
createVNode(unref(OLink), {
|
|
222
|
+
color: "primary",
|
|
223
|
+
target: "_self",
|
|
224
|
+
href: (_d = currentCourse.value) == null ? void 0 : _d.material
|
|
225
|
+
}, {
|
|
226
|
+
default: withCtx(() => [
|
|
227
|
+
createTextVNode(toDisplayString(unref(t)("video.download")), 1)
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
}, 8, ["href"])
|
|
231
|
+
])
|
|
232
|
+
])
|
|
233
|
+
];
|
|
234
|
+
}),
|
|
235
|
+
_: 2
|
|
236
|
+
}, [
|
|
237
|
+
__props.layout === "vertical" ? {
|
|
238
|
+
name: "header",
|
|
239
|
+
fn: withCtx(() => [
|
|
240
|
+
_cache[6] || (_cache[6] = createElementVNode("div", { class: "o-video-card-item-header" }, toDisplayString("视频介绍材料"), -1))
|
|
241
|
+
]),
|
|
242
|
+
key: "0"
|
|
243
|
+
} : void 0
|
|
244
|
+
]), 1024)
|
|
245
|
+
], 2)
|
|
246
|
+
]),
|
|
247
|
+
createVNode(unref(ODialog), {
|
|
248
|
+
visible: showDialog.value,
|
|
249
|
+
"onUpdate:visible": _cache[5] || (_cache[5] = ($event) => showDialog.value = $event),
|
|
250
|
+
"phone-half-full": unref(lePadV),
|
|
251
|
+
scrollbar: true,
|
|
252
|
+
class: "o-video-courses-dialog-mb"
|
|
253
|
+
}, {
|
|
254
|
+
header: withCtx(() => [
|
|
255
|
+
createElementVNode("p", _hoisted_22, toDisplayString(unref(t)("video.sessionList")), 1)
|
|
256
|
+
]),
|
|
257
|
+
footer: withCtx(() => [
|
|
258
|
+
createElementVNode("div", {
|
|
259
|
+
class: "o-video-dlg-action",
|
|
260
|
+
onClick: _cache[4] || (_cache[4] = ($event) => toggleDialog(false)),
|
|
261
|
+
style: { "cursor": "pointer" }
|
|
262
|
+
}, toDisplayString(unref(t)("video.cancel")), 1)
|
|
263
|
+
]),
|
|
264
|
+
default: withCtx(() => [
|
|
265
|
+
createElementVNode("div", _hoisted_23, [
|
|
266
|
+
createVNode(unref(OScroller), {
|
|
267
|
+
"disabled-x": "",
|
|
268
|
+
"show-type": "always",
|
|
269
|
+
size: "small",
|
|
270
|
+
class: "o-video-video-scroller"
|
|
271
|
+
}, {
|
|
272
|
+
default: withCtx(() => [
|
|
273
|
+
createVNode(unref(OMenu), {
|
|
274
|
+
modelValue: videoUrl.value,
|
|
275
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => videoUrl.value = $event)
|
|
276
|
+
}, {
|
|
277
|
+
default: withCtx(() => {
|
|
278
|
+
var _a3;
|
|
279
|
+
return [
|
|
280
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList((_a3 = props.data) == null ? void 0 : _a3.courseList, (item) => {
|
|
281
|
+
return openBlock(), createBlock(unref(OMenuItem), {
|
|
282
|
+
key: item.id,
|
|
283
|
+
value: item.link,
|
|
284
|
+
title: item.title,
|
|
285
|
+
onClick: _cache[2] || (_cache[2] = ($event) => toggleDialog(false))
|
|
286
|
+
}, {
|
|
287
|
+
icon: withCtx(() => [
|
|
288
|
+
createVNode(unref(OIcon), null, {
|
|
289
|
+
default: withCtx(() => [
|
|
290
|
+
createVNode(unref(IconVideo))
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
})
|
|
294
|
+
]),
|
|
295
|
+
default: withCtx(() => [
|
|
296
|
+
createTextVNode(" " + toDisplayString(item.title), 1)
|
|
297
|
+
]),
|
|
298
|
+
_: 2
|
|
299
|
+
}, 1032, ["value", "title"]);
|
|
300
|
+
}), 128))
|
|
301
|
+
];
|
|
302
|
+
}),
|
|
303
|
+
_: 1
|
|
304
|
+
}, 8, ["modelValue"])
|
|
305
|
+
]),
|
|
306
|
+
_: 1
|
|
307
|
+
})
|
|
308
|
+
])
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
}, 8, ["visible", "phone-half-full"])
|
|
312
|
+
], 64);
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
});
|
|
316
|
+
export {
|
|
317
|
+
_sfc_main as default
|
|
318
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
declare const OVideoDetail: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
+
data: import('./types').CourseCollectionT;
|
|
5
|
+
layout?: "horizontal" | "vertical";
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<{
|
|
14
|
+
data: import('./types').CourseCollectionT;
|
|
15
|
+
layout?: "horizontal" | "vertical";
|
|
16
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
17
|
+
__isFragment?: never;
|
|
18
|
+
__isTeleport?: never;
|
|
19
|
+
__isSuspense?: never;
|
|
20
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
21
|
+
data: import('./types').CourseCollectionT;
|
|
22
|
+
layout?: "horizontal" | "vertical";
|
|
23
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
24
|
+
install(app: App): void;
|
|
25
|
+
};
|
|
26
|
+
export { OVideoDetail };
|
|
27
|
+
export * from './types';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface SpeakerT {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
title: string;
|
|
5
|
+
image?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CourseItemT {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
link: string;
|
|
11
|
+
description: string;
|
|
12
|
+
material: string;
|
|
13
|
+
materialSize?: string;
|
|
14
|
+
speakers: SpeakerT[];
|
|
15
|
+
}
|
|
16
|
+
export interface CourseCollectionT {
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
lastUpdated: string;
|
|
20
|
+
courseList: CourseItemT[];
|
|
21
|
+
banner?: string;
|
|
22
|
+
editorName?: string;
|
|
23
|
+
editorEmail?: string;
|
|
24
|
+
}
|
|
@@ -364,7 +364,16 @@ const en = {
|
|
|
364
364
|
"common.empty": "No data",
|
|
365
365
|
"common.search": "Search",
|
|
366
366
|
"common.filter": "Filter",
|
|
367
|
-
"common.more2": "View More"
|
|
367
|
+
"common.more2": "View More",
|
|
368
|
+
"video.editor": "Editor:",
|
|
369
|
+
"video.lastUpdated": "Last updated:",
|
|
370
|
+
"video.sessionList": "Session List",
|
|
371
|
+
"video.featuredSpeaker": "Featured Speaker",
|
|
372
|
+
"video.abstract": "Abstract",
|
|
373
|
+
"video.downloadCourseware": "Download Courseware",
|
|
374
|
+
"video.download": "Download",
|
|
375
|
+
"video.cancel": "Cancel",
|
|
376
|
+
"logo.tip": "Listed in no particular order"
|
|
368
377
|
};
|
|
369
378
|
export {
|
|
370
379
|
en as default
|
|
@@ -367,7 +367,16 @@ const zh = {
|
|
|
367
367
|
"common.search": "搜索",
|
|
368
368
|
"common.confirm2": "确定",
|
|
369
369
|
"common.filter": "筛选",
|
|
370
|
-
"common.more2": "查看更多"
|
|
370
|
+
"common.more2": "查看更多",
|
|
371
|
+
"video.editor": "责任编辑:",
|
|
372
|
+
"video.lastUpdated": "最近更新:",
|
|
373
|
+
"video.sessionList": "视频列表",
|
|
374
|
+
"video.featuredSpeaker": "主讲嘉宾",
|
|
375
|
+
"video.abstract": "内容简介",
|
|
376
|
+
"video.downloadCourseware": "课件下载",
|
|
377
|
+
"video.download": "下载",
|
|
378
|
+
"video.cancel": "取消",
|
|
379
|
+
"logo.tip": "注:排名不分先后"
|
|
371
380
|
};
|
|
372
381
|
export {
|
|
373
382
|
zh as default
|
|
@@ -19,6 +19,7 @@ import { OMeetingCalendar, OMeetingForm, OMeetingMyCalendar, OMeetingPlayback, O
|
|
|
19
19
|
import { OSearchInput } from "./components/search/index.mjs";
|
|
20
20
|
import { OSection } from "./components/section/index.mjs";
|
|
21
21
|
import { OSigDetail, OSigList } from "./components/sig/index.mjs";
|
|
22
|
+
import { OVideoDetail } from "./components/video/index.mjs";
|
|
22
23
|
import { CalendarDataType, MeetingGroupType } from "./components/meeting/types.mjs";
|
|
23
24
|
import { EventsStatusT } from "./components/events/types.mjs";
|
|
24
25
|
import { NavType } from "./components/header/types.mjs";
|
|
@@ -64,5 +65,6 @@ export {
|
|
|
64
65
|
OSection,
|
|
65
66
|
OSigDetail,
|
|
66
67
|
OSigList,
|
|
68
|
+
OVideoDetail,
|
|
67
69
|
createSvgIcon
|
|
68
70
|
};
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
-
const _hoisted_1 = {
|
|
3
|
-
version: "1.1",
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "24",
|
|
6
|
-
height: "24",
|
|
7
|
-
viewBox: "0 0 24 24"
|
|
8
|
-
};
|
|
9
|
-
function render(_ctx, _cache) {
|
|
10
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
|
-
createElementVNode("path", {
|
|
12
|
-
opacity: "0.8",
|
|
13
|
-
fill: "#000",
|
|
14
|
-
d: "M17.286 5c0.676 0 1.213 0.546 1.213 1.21 0 0.227-0.064 0.449-0.184 0.641l-0.065 0.093-1.24 1.62c-0.149 0.194-0.433 0.236-0.634 0.092-0.181-0.129-0.234-0.364-0.134-0.551l0.039-0.060 1.24-1.62c0.046-0.060 0.071-0.136 0.071-0.214 0-0.169-0.113-0.302-0.253-0.329l-0.054-0.005h-10.573c-0.064 0-0.126 0.022-0.179 0.064-0.126 0.099-0.162 0.281-0.092 0.426l0.036 0.059 4.207 5.495c0.138 0.18 0.221 0.394 0.243 0.617l0.006 0.112 0.015 3.985c0 0.088 0.033 0.171 0.087 0.232l0.045 0.042 1.525 1.158c0.052 0.040 0.114 0.060 0.176 0.060 0.146-0.001 0.274-0.116 0.301-0.275l0.005-0.062-0.020-5.134c-0.001-0.228 0.063-0.452 0.184-0.645l0.065-0.094 1.804-2.357c0.149-0.194 0.433-0.236 0.634-0.092 0.181 0.129 0.234 0.364 0.134 0.551l-0.039 0.060-1.805 2.357c-0.035 0.045-0.058 0.099-0.067 0.157l-0.005 0.059 0.020 5.134c0.003 0.663-0.533 1.212-1.209 1.214-0.23 0.001-0.454-0.063-0.647-0.183l-0.094-0.064-1.525-1.158c-0.267-0.203-0.436-0.506-0.471-0.834l-0.007-0.124-0.015-3.985c-0-0.059-0.015-0.115-0.041-0.165l-0.030-0.047-4.207-5.495c-0.401-0.523-0.308-1.272 0.211-1.682 0.183-0.145 0.405-0.234 0.637-0.256l0.117-0.006h10.573z"
|
|
15
|
-
}, null, -1)
|
|
16
|
-
])]);
|
|
17
|
-
}
|
|
18
|
-
const IconFilter = { name: "components-icon-filter", render };
|
|
19
|
-
export {
|
|
20
|
-
IconFilter as default
|
|
21
|
-
};
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.th-filter-wrapper {
|
|
10
|
-
display: flex;
|
|
11
|
-
column-gap: var(--o-gap-2);
|
|
12
|
-
flex-wrap: nowrap;
|
|
13
|
-
align-items: center;
|
|
14
|
-
}
|
|
15
|
-
.th-filter-wrapper > span:first-child {
|
|
16
|
-
word-break: keep-all;
|
|
17
|
-
}
|
|
18
|
-
.th-filter-wrapper .filter-wrapper {
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
}
|
|
24
|
-
.th-filter-wrapper .filter-wrapper > * {
|
|
25
|
-
flex-shrink: 0;
|
|
26
|
-
}
|
|
27
|
-
.th-filter-wrapper .filter-wrapper .filter-hover-icon {
|
|
28
|
-
display: none;
|
|
29
|
-
}
|
|
30
|
-
.th-filter-wrapper .filter-wrapper .filter-icon {
|
|
31
|
-
font-size: 24px;
|
|
32
|
-
line-height: 32px;
|
|
33
|
-
}
|
|
34
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
35
|
-
.th-filter-wrapper .filter-wrapper .filter-icon {
|
|
36
|
-
font-size: 20px;
|
|
37
|
-
line-height: 28px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
41
|
-
.th-filter-wrapper .filter-wrapper .filter-icon {
|
|
42
|
-
font-size: 18px;
|
|
43
|
-
line-height: 26px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
47
|
-
.th-filter-wrapper .filter-wrapper .filter-icon {
|
|
48
|
-
font-size: 18px;
|
|
49
|
-
line-height: 26px;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
@media (max-width: 600px) {
|
|
53
|
-
.th-filter-wrapper .filter-wrapper .filter-icon {
|
|
54
|
-
font-size: 16px;
|
|
55
|
-
line-height: 24px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
.th-filter-wrapper .filter-wrapper:hover .filter-icon, .th-filter-wrapper .filter-wrapper.has-checked .filter-icon {
|
|
59
|
-
color: var(--o-color-primary1);
|
|
60
|
-
}
|
|
61
|
-
.th-filter-wrapper .filter-wrapper:hover .o-icon path, .th-filter-wrapper .filter-wrapper.has-checked .o-icon path {
|
|
62
|
-
fill: currentColor;
|
|
63
|
-
}
|
|
64
|
-
.th-filter-dropdown .o-dropdown-item {
|
|
65
|
-
min-width: 80px;
|
|
66
|
-
max-width: calc(var(--table-width, 300) * 0.8px);
|
|
67
|
-
--dropdown-item-justify: flex-start;
|
|
68
|
-
--dropdown-item-padding: 7px 12px;
|
|
69
|
-
}
|
|
70
|
-
.th-filter-dropdown .o-dropdown-item.is-active {
|
|
71
|
-
font-weight: 500;
|
|
72
|
-
background-color: var(--dropdown-item-bg-color-hover);
|
|
73
|
-
color: var(--dropdown-item-color-hover);
|
|
74
|
-
}
|
|
75
|
-
.th-filter-popover {
|
|
76
|
-
--popup-radius: var(--o-radius-xs);
|
|
77
|
-
}
|
|
78
|
-
.th-filter-popover .o-popup-body {
|
|
79
|
-
padding: var(--o-gap-2) 0 0 0;
|
|
80
|
-
}
|
|
81
|
-
.th-filter-popover .list-content-wrapper {
|
|
82
|
-
display: flex;
|
|
83
|
-
}
|
|
84
|
-
.th-filter-popover .list-content-wrapper .o-scrollbar-wrapper:first-child {
|
|
85
|
-
border-right: 1px solid rgb(224, 226, 230);
|
|
86
|
-
}
|
|
87
|
-
.th-filter-popover .content-wrapper {
|
|
88
|
-
padding: 0 var(--o-gap-4);
|
|
89
|
-
overflow: auto;
|
|
90
|
-
max-height: 300px;
|
|
91
|
-
}
|
|
92
|
-
.th-filter-popover .content-wrapper .o-checkbox-group {
|
|
93
|
-
flex-shrink: 0;
|
|
94
|
-
}
|
|
95
|
-
.th-filter-popover .content-wrapper .o-checkbox-label {
|
|
96
|
-
flex-grow: 1;
|
|
97
|
-
}
|
|
98
|
-
.th-filter-popover .content-wrapper .o-checkbox-label .label-wrapper {
|
|
99
|
-
cursor: pointer;
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
justify-content: space-between;
|
|
103
|
-
}
|
|
104
|
-
.th-filter-popover .content-wrapper .o-checkbox-label .label-wrapper .o-svg-icon {
|
|
105
|
-
font-size: 24px;
|
|
106
|
-
}
|
|
107
|
-
.th-filter-popover .btn-wrapper {
|
|
108
|
-
min-width: 158px;
|
|
109
|
-
box-sizing: border-box;
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
justify-content: center;
|
|
113
|
-
padding-bottom: var(--o-gap-3);
|
|
114
|
-
font-size: 16px;
|
|
115
|
-
line-height: 24px;
|
|
116
|
-
}
|
|
117
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
118
|
-
.th-filter-popover .btn-wrapper {
|
|
119
|
-
font-size: 14px;
|
|
120
|
-
line-height: 22px;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
124
|
-
.th-filter-popover .btn-wrapper {
|
|
125
|
-
font-size: 14px;
|
|
126
|
-
line-height: 22px;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
130
|
-
.th-filter-popover .btn-wrapper {
|
|
131
|
-
font-size: 14px;
|
|
132
|
-
line-height: 22px;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
@media (max-width: 600px) {
|
|
136
|
-
.th-filter-popover .btn-wrapper {
|
|
137
|
-
font-size: 12px;
|
|
138
|
-
line-height: 18px;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
.th-filter-popover .btn-wrapper .o-link {
|
|
142
|
-
width: 80px;
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
}
|