@opendesign-plus-test/components 0.0.1-rc.42 → 0.0.1-rc.43
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 +111 -111
- package/dist/components/OHeaderSearch.vue.d.ts +6 -10
- package/dist/components/OSourceCode.vue.d.ts +4 -6
- package/dist/components/activity/OActivityApproval.vue.d.ts +6 -10
- package/dist/components/activity/OActivityForm.vue.d.ts +3 -5
- package/dist/components/activity/OMyActivityCalendar.vue.d.ts +16 -24
- package/dist/components/activity/index.d.ts +14 -22
- package/dist/components/activity/types.d.ts +8 -1
- package/dist/components/events/config.d.ts +5 -18
- package/dist/components/events/types.d.ts +4 -1
- package/dist/components/header/OHeaderMobile.vue.d.ts +18 -11
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +4 -1
- package/dist/components/header/index.d.ts +12 -5
- package/dist/components/header/types.d.ts +4 -0
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +8 -12
- package/dist/components/meeting/OMeetingForm.vue.d.ts +3 -5
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +45 -0
- package/dist/components/meeting/OMyMeetingCalendar.vue.d.ts +16 -24
- package/dist/components/meeting/components/OMeetingCalendarList.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +786 -0
- package/dist/components/meeting/types.d.ts +82 -17
- package/dist/components/meeting/utils.d.ts +1 -1
- package/dist/components.cjs.js +38 -38
- package/dist/components.css +1 -1
- package/dist/components.es.js +6726 -6656
- package/package.json +2 -2
- package/src/components/OSourceCode.vue +8 -10
- package/src/components/activity/OActivityApproval.vue +28 -28
- package/src/components/activity/OActivityForm.vue +3 -3
- package/src/components/activity/OMyActivityCalendar.vue +40 -24
- package/src/components/activity/types.ts +8 -1
- package/src/components/common/MoreText.vue +1 -1
- package/src/components/common/ThFilter.vue +7 -7
- package/src/components/element-plus/OElCookieNotice.vue +1 -1
- package/src/components/events/OEventsList.vue +37 -10
- package/src/components/events/config.ts +1 -1
- package/src/components/events/types.ts +4 -1
- package/src/components/header/OHeaderMobile.vue +8 -1
- package/src/components/header/components/HeaderContent.vue +7 -3
- package/src/components/header/components/HeaderNavMobile.vue +5 -2
- package/src/components/header/types.ts +4 -0
- package/src/components/meeting/OMeetingCalendar.vue +39 -27
- package/src/components/meeting/OMeetingForm.vue +54 -35
- package/src/components/meeting/OMeetingPlayback.vue +4 -4
- package/src/components/meeting/OMyMeetingCalendar.vue +31 -20
- package/src/components/meeting/OSigMeetingCalendar.vue +29 -26
- package/src/components/meeting/components/OMeetingCalendarList.vue +22 -17
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +10 -6
- package/src/components/meeting/components/OMeetingDetail.vue +30 -16
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +7 -7
- package/src/components/meeting/components/OSigMeetingAside.vue +2 -3
- package/src/components/meeting/types.ts +88 -17
- package/vite.config.ts +3 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { OIcon, OIconArrowLeft, OIconArrowRight } from '@opensig/opendesign';
|
|
3
|
-
import IconMeetinging from '~icons/meeting/icon-meet.svg';
|
|
4
3
|
import { useMeetingConfig } from '@/components/meeting/composables/useMeetingConfig';
|
|
5
4
|
import { CalendarDataType } from '@/components/meeting';
|
|
6
5
|
|
|
@@ -18,11 +17,11 @@ const props = defineProps<{
|
|
|
18
17
|
const STEP = 1;
|
|
19
18
|
|
|
20
19
|
const emits = defineEmits(['click-date', 'change-month']);
|
|
21
|
-
const clickDate = (date) => {
|
|
20
|
+
const clickDate = (date: string) => {
|
|
22
21
|
emits('click-date', date);
|
|
23
22
|
};
|
|
24
23
|
|
|
25
|
-
const changeMonth = (step) => {
|
|
24
|
+
const changeMonth = (step: number) => {
|
|
26
25
|
if (props.current + step >= props.total || props.current + step < 0) return;
|
|
27
26
|
emits('change-month', step);
|
|
28
27
|
};
|
|
@@ -32,10 +32,12 @@ export interface CalendarOtherDataT {
|
|
|
32
32
|
export interface OptionItemT {
|
|
33
33
|
label: string;
|
|
34
34
|
value: string | number;
|
|
35
|
+
|
|
36
|
+
[key: string]: any;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
|
|
38
|
-
export type PlatformT = 'welink' | 'tencent';
|
|
40
|
+
export type PlatformT = 'welink' | 'tencent' | 'zoom' | 'WELINK' | 'TENCENT' | 'ZOOM';
|
|
39
41
|
|
|
40
42
|
export enum MeetingGroupType {
|
|
41
43
|
SIG = 'sig',
|
|
@@ -54,11 +56,12 @@ export interface MeetingCalendarPropsT {
|
|
|
54
56
|
groupType: MeetingGroupType;
|
|
55
57
|
groups: string[];
|
|
56
58
|
}
|
|
59
|
+
|
|
57
60
|
// 会议新增、修改
|
|
58
61
|
export interface MeetingPostT {
|
|
59
62
|
id?: number; // 会议id
|
|
60
63
|
topic: string; // 会议主题 128
|
|
61
|
-
sponsor
|
|
64
|
+
sponsor?: string; // 会议发起人 20
|
|
62
65
|
group_name: string; // 所属SIG 64
|
|
63
66
|
platform: PlatformT; // 会议平台
|
|
64
67
|
date: string; // 会议日期
|
|
@@ -71,14 +74,16 @@ export interface MeetingPostT {
|
|
|
71
74
|
email_list: string; // 通知邮件列表 1020
|
|
72
75
|
is_record: boolean; // 会议录制
|
|
73
76
|
is_cycle: boolean; // 是否重复
|
|
74
|
-
cycle_start_date
|
|
75
|
-
cycle_end_date
|
|
76
|
-
cycle_start
|
|
77
|
-
cycle_end
|
|
77
|
+
cycle_start_date?: string;
|
|
78
|
+
cycle_end_date?: string;
|
|
79
|
+
cycle_start?: string;
|
|
80
|
+
cycle_end?: string;
|
|
78
81
|
cycle_interval: number; // 重复周期, 当intervalType为month时固定为1
|
|
79
82
|
cycle_type: typeof INTERVAL_DAY | typeof INTERVAL_WEEK | typeof INTERVAL_MONTH; // 重复类型,默认为INTERVAL_DAY
|
|
80
83
|
cycle_point: number[]; // 重复节点,当intervalType为week|month时存在值
|
|
81
84
|
is_notify?: boolean;
|
|
85
|
+
mid?: string;
|
|
86
|
+
sub_id?: string;
|
|
82
87
|
}
|
|
83
88
|
|
|
84
89
|
export interface MeetingFormPropsT {
|
|
@@ -96,6 +101,29 @@ export interface MeetingFormPropsT {
|
|
|
96
101
|
bookText?: string
|
|
97
102
|
}
|
|
98
103
|
|
|
104
|
+
export interface ObsDataItemT {
|
|
105
|
+
id: number;
|
|
106
|
+
mid: string;
|
|
107
|
+
sub_id: string;
|
|
108
|
+
status: number;
|
|
109
|
+
text_vtt_url: string;
|
|
110
|
+
text_json_url: string;
|
|
111
|
+
text_video_url: string;
|
|
112
|
+
text_picture_url: string;
|
|
113
|
+
topic_url: string;
|
|
114
|
+
meeting_id: number;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface CycleSubItemT {
|
|
118
|
+
id: number;
|
|
119
|
+
mid: string;
|
|
120
|
+
sub_id: string;
|
|
121
|
+
date: string;
|
|
122
|
+
start: string;
|
|
123
|
+
end: string;
|
|
124
|
+
meeting_id: number;
|
|
125
|
+
}
|
|
126
|
+
|
|
99
127
|
// 会议详情
|
|
100
128
|
export interface MeetingItemT extends MeetingPostT {
|
|
101
129
|
id: number;
|
|
@@ -108,9 +136,55 @@ export interface MeetingItemT extends MeetingPostT {
|
|
|
108
136
|
is_delete: boolean; // 是否取消
|
|
109
137
|
update_time: string;
|
|
110
138
|
time: string; // 处理一下时间范围
|
|
111
|
-
cycle_sub:
|
|
139
|
+
cycle_sub: CycleSubItemT[];
|
|
112
140
|
live_url?: string;
|
|
113
141
|
type: CalendarDataType;
|
|
142
|
+
obs_data?: ObsDataItemT[]; // 回放数据
|
|
143
|
+
isExpired?: boolean; // 处理数据,是否过期
|
|
144
|
+
sub_id: string; // 处理数据,周期会议平铺之后的id
|
|
145
|
+
dateRange?: string; // 计算属性
|
|
146
|
+
hasObsData?: boolean; // 计算属性
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export interface MeetingEventsItemT {
|
|
150
|
+
id: number;
|
|
151
|
+
title: string;
|
|
152
|
+
start_date: string;
|
|
153
|
+
end_date: string;
|
|
154
|
+
activity_type: number;
|
|
155
|
+
synopsis: string;
|
|
156
|
+
create_time: string;
|
|
157
|
+
address: string;
|
|
158
|
+
status: number;
|
|
159
|
+
sponsor: string;
|
|
160
|
+
is_delete: number;
|
|
161
|
+
start: string;
|
|
162
|
+
end: string;
|
|
163
|
+
register_url: string;
|
|
164
|
+
content_url: string;
|
|
165
|
+
live_url: null;
|
|
166
|
+
register_end_date: string;
|
|
167
|
+
update_activity_id: null;
|
|
168
|
+
approver: string;
|
|
169
|
+
organizer: string;
|
|
170
|
+
email_list: string;
|
|
171
|
+
dates?: string[]; // 处理数据,如果时跨天活动,有多个元素
|
|
172
|
+
type: CalendarDataType;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export interface SummitItemT {
|
|
176
|
+
id: string;
|
|
177
|
+
name: string;
|
|
178
|
+
url: string;
|
|
179
|
+
dates: string[];
|
|
180
|
+
location: string;
|
|
181
|
+
address: string;
|
|
182
|
+
start_date: string;
|
|
183
|
+
end_date: string;
|
|
184
|
+
start: string;
|
|
185
|
+
end: string;
|
|
186
|
+
activity_type: number;
|
|
187
|
+
type: CalendarDataType;
|
|
114
188
|
}
|
|
115
189
|
|
|
116
190
|
export interface PageParamsT {
|
|
@@ -118,14 +192,9 @@ export interface PageParamsT {
|
|
|
118
192
|
size: number;
|
|
119
193
|
}
|
|
120
194
|
|
|
121
|
-
export interface OptionItemT {
|
|
122
|
-
label: string;
|
|
123
|
-
value: string | number;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
195
|
export interface meetingTabT {
|
|
127
196
|
label: string;
|
|
128
|
-
value:
|
|
197
|
+
value: CalendarDataType;
|
|
129
198
|
icon: any;
|
|
130
199
|
color?: string;
|
|
131
200
|
zIndex?: number;
|
|
@@ -133,7 +202,7 @@ export interface meetingTabT {
|
|
|
133
202
|
|
|
134
203
|
|
|
135
204
|
// -------------------- 会议回放 --------------------
|
|
136
|
-
interface MeetingPlaybackPropsDetailT {
|
|
205
|
+
export interface MeetingPlaybackPropsDetailT {
|
|
137
206
|
topic: string; // 会议主题
|
|
138
207
|
date: string; // 会议日期
|
|
139
208
|
start: string; // 会议开始时间
|
|
@@ -143,7 +212,7 @@ interface MeetingPlaybackPropsDetailT {
|
|
|
143
212
|
groupName: string; // 会议所属sig组
|
|
144
213
|
}
|
|
145
214
|
|
|
146
|
-
interface MeetingPlaybackPropsDataT {
|
|
215
|
+
export interface MeetingPlaybackPropsDataT {
|
|
147
216
|
mid: string; // 会议ID
|
|
148
217
|
subId?: string; //子会议ID
|
|
149
218
|
textJson: string; // 字幕json文件
|
|
@@ -161,8 +230,10 @@ export interface MeetingPlaybackPropsT {
|
|
|
161
230
|
|
|
162
231
|
export interface SubjectItemT {
|
|
163
232
|
title: string; // 议题
|
|
164
|
-
startTime: string
|
|
165
|
-
endTime: string
|
|
233
|
+
startTime: string; // 议题开始时间 【时:分:秒】格式
|
|
234
|
+
endTime: string; // 议题结束时间 【时:分:秒】格式
|
|
235
|
+
startTimeNumber: number;
|
|
236
|
+
endTimeNumber: number;
|
|
166
237
|
}
|
|
167
238
|
|
|
168
239
|
|
package/vite.config.ts
CHANGED
|
@@ -67,6 +67,7 @@ export default defineConfig(({ mode }) => {
|
|
|
67
67
|
alias: {
|
|
68
68
|
vue: 'vue/dist/vue.esm-bundler.js',
|
|
69
69
|
'@': path.resolve(__dirname, 'src'),
|
|
70
|
+
'@opendesign-plus/styles': path.resolve(__dirname, '../styles/src'),
|
|
70
71
|
},
|
|
71
72
|
},
|
|
72
73
|
css: {
|
|
@@ -78,7 +79,7 @@ export default defineConfig(({ mode }) => {
|
|
|
78
79
|
@use "@opendesign-plus/styles/mixin/font.scss" as *;
|
|
79
80
|
@use "@opendesign-plus/styles/mixin/common.scss" as *;
|
|
80
81
|
@use "@opendesign-plus/styles/mixin/gap.scss" as *;
|
|
81
|
-
@use "@opendesign-plus/styles/element-plus.
|
|
82
|
+
@use "@opendesign-plus/styles/element-plus.scss" as *;
|
|
82
83
|
`,
|
|
83
84
|
},
|
|
84
85
|
},
|
|
@@ -94,7 +95,7 @@ export default defineConfig(({ mode }) => {
|
|
|
94
95
|
},
|
|
95
96
|
}) as any,
|
|
96
97
|
dts({
|
|
97
|
-
include: ['./src/components/**/*', './src/index.ts'],
|
|
98
|
+
include: ['./src/components/**/*', './src/index.ts', './src/*.d.ts'],
|
|
98
99
|
exclude: ['./src/components/common/**/*']
|
|
99
100
|
}),
|
|
100
101
|
Icons({
|