@opendesign-plus-test/components 0.0.1-rc.51 → 0.0.1-rc.53
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 +49 -69
- package/dist/components/OHeaderSearch.vue.d.ts +534 -814
- package/dist/components/OThemeSwitcher.vue.d.ts +2 -5
- package/dist/components/activity/index.d.ts +2 -2
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +3 -1
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +50 -1
- package/dist/components/meeting/components/OMeetingPlaybackSubtitles.vue.d.ts +16 -1
- package/dist/components/meeting/composables/useMeetingConfig.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +17 -7
- package/dist/components/meeting/types.d.ts +1 -1
- package/dist/components.cjs.js +42 -42
- package/dist/components.css +1 -1
- package/dist/components.es.js +10590 -11551
- package/dist/index.d.ts +0 -1
- package/package.json +2 -4
- package/src/assets/styles/element-plus.scss +211 -0
- package/src/assets/svg-icons/icon-delete.svg +1 -5
- package/src/components/OHeaderSearch.vue +415 -437
- package/src/components/OThemeSwitcher.vue +51 -27
- package/src/components/activity/OActivityApproval.vue +10 -6
- package/src/components/activity/OActivityForm.vue +12 -6
- package/src/components/activity/{OMyActivityCalendar.vue → OActivityMyCalendar.vue} +59 -28
- package/src/components/activity/index.ts +4 -4
- package/src/components/events/OEventsApply.vue +2 -1
- package/src/components/events/OEventsCalendar.vue +7 -5
- package/src/components/events/OEventsList.vue +6 -4
- package/src/components/meeting/OMeetingCalendar.vue +26 -18
- package/src/components/meeting/OMeetingForm.vue +61 -17
- package/src/components/meeting/{OMyMeetingCalendar.vue → OMeetingMyCalendar.vue} +90 -52
- package/src/components/meeting/OMeetingPlayback.vue +42 -12
- package/src/components/meeting/{OSigMeetingCalendar.vue → OMeetingSigCalendar.vue} +7 -4
- package/src/components/meeting/components/OMeetingCalendarList.vue +60 -24
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +12 -9
- package/src/components/meeting/components/OMeetingDetail.vue +1 -1
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +17 -13
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +6 -6
- package/src/components/meeting/components/{OSigMeetingAside.vue → OMeetingSigAside.vue} +1 -1
- package/src/components/meeting/composables/useMeetingConfig.ts +5 -5
- package/src/components/meeting/config.ts +1 -1
- package/src/components/meeting/index.ts +8 -8
- package/src/components/meeting/types.ts +1 -1
- package/src/i18n/en.ts +2 -12
- package/src/i18n/zh.ts +1 -11
- package/src/index.ts +0 -1
- package/vite.config.ts +1 -5
- package/dist/components/search/OSearchInput.vue.d.ts +0 -1003
- package/dist/components/search/composables/useImageSearch.d.ts +0 -48
- package/dist/components/search/composables/useKeywordHighlight.d.ts +0 -2
- package/dist/components/search/composables/useSearchHistory.d.ts +0 -14
- package/dist/components/search/index.d.ts +0 -590
- package/dist/components/search/internal/HighlightText.vue.d.ts +0 -9
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +0 -716
- package/dist/components/search/internal/SearchPanel.vue.d.ts +0 -100
- package/dist/components/search/types.d.ts +0 -20
- package/src/assets/svg-icons/icon-delete-hover.svg +0 -4
- package/src/assets/svg-icons/icon-image-close.svg +0 -4
- package/src/assets/svg-icons/icon-image-upload.svg +0 -3
- package/src/assets/svg-icons/icon-image-zoomin.svg +0 -3
- package/src/assets/svg-icons/icon-refresh.svg +0 -3
- package/src/components/search/OSearchInput.vue +0 -463
- package/src/components/search/composables/useImageSearch.ts +0 -157
- package/src/components/search/composables/useKeywordHighlight.ts +0 -30
- package/src/components/search/composables/useSearchHistory.ts +0 -75
- package/src/components/search/index.ts +0 -23
- package/src/components/search/internal/HighlightText.vue +0 -37
- package/src/components/search/internal/SearchImageInput.vue +0 -488
- package/src/components/search/internal/SearchPanel.vue +0 -430
- package/src/components/search/types.ts +0 -25
- /package/dist/components/activity/{OMyActivityCalendar.vue.d.ts → OActivityMyCalendar.vue.d.ts} +0 -0
- /package/dist/components/meeting/{OMyMeetingCalendar.vue.d.ts → OMeetingMyCalendar.vue.d.ts} +0 -0
- /package/dist/components/meeting/{OSigMeetingCalendar.vue.d.ts → OMeetingSigCalendar.vue.d.ts} +0 -0
- /package/dist/components/meeting/components/{OSigMeetingAside.vue.d.ts → OMeetingSigAside.vue.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { OCollapse, OCollapseItem, ODivider, OIcon, OLink, OTag, useMessage } from '@opensig/opendesign';
|
|
2
|
+
import { isClient, OCollapse, OCollapseItem, ODivider, OIcon, OLink, OTag, useMessage } from '@opensig/opendesign';
|
|
3
3
|
import OMeetingDetail from './OMeetingDetail.vue';
|
|
4
4
|
import { computed, nextTick, ref, watch } from 'vue';
|
|
5
5
|
import IconCopy from '~icons/meeting/icon-copy.svg';
|
|
@@ -44,29 +44,36 @@ const i18n = computed(() => {
|
|
|
44
44
|
|
|
45
45
|
// -------------------- 监听尺寸变化 --------------------
|
|
46
46
|
const meetInfoRef = ref<HTMLDivElement[]>();
|
|
47
|
-
const resizeObserver = new ResizeObserver((entries) => {
|
|
48
|
-
for (let entry of entries) {
|
|
49
|
-
const { height } = entry.contentRect;
|
|
50
|
-
entry.target.classList.remove('hidden-divider');
|
|
51
|
-
if (height >= 30) {
|
|
52
|
-
entry.target.classList.add('hidden-divider');
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
47
|
|
|
48
|
+
let resizeObserver: ResizeObserver | null = null;
|
|
57
49
|
watch(
|
|
58
|
-
() => props.list,
|
|
50
|
+
[() => props.list, () => isClient],
|
|
59
51
|
() => {
|
|
60
52
|
if (props.list.length === 1) {
|
|
61
53
|
collapseNames.value = [props.list[0].id];
|
|
62
54
|
} else {
|
|
63
55
|
collapseNames.value = [];
|
|
64
56
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
resizeObserver
|
|
57
|
+
if (isClient) {
|
|
58
|
+
nextTick(() => {
|
|
59
|
+
if (!resizeObserver) {
|
|
60
|
+
resizeObserver = new ResizeObserver((entries) => {
|
|
61
|
+
for (let entry of entries) {
|
|
62
|
+
const { height } = entry.contentRect;
|
|
63
|
+
entry.target.classList.remove('hidden-divider');
|
|
64
|
+
if (height >= 30) {
|
|
65
|
+
entry.target.classList.add('hidden-divider');
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
} else {
|
|
70
|
+
resizeObserver.disconnect();
|
|
71
|
+
}
|
|
72
|
+
meetInfoRef.value?.forEach((targetDiv) => {
|
|
73
|
+
resizeObserver!.observe(targetDiv);
|
|
74
|
+
});
|
|
68
75
|
});
|
|
69
|
-
}
|
|
76
|
+
}
|
|
70
77
|
},
|
|
71
78
|
);
|
|
72
79
|
|
|
@@ -165,8 +172,8 @@ const computedList = computed<any[]>(() => {
|
|
|
165
172
|
<div class="meet-title" :title="item.topic || item.name">
|
|
166
173
|
<OIcon
|
|
167
174
|
:style="{
|
|
168
|
-
|
|
169
|
-
|
|
175
|
+
backgroundColor: `${getConfig(item.type, 'color')}`
|
|
176
|
+
}"
|
|
170
177
|
>
|
|
171
178
|
<component :is="getConfig(item.type, 'icon')" />
|
|
172
179
|
</OIcon>
|
|
@@ -187,7 +194,13 @@ const computedList = computed<any[]>(() => {
|
|
|
187
194
|
<template v-if="item.activity_type">{{ item.activity_type }}</template>
|
|
188
195
|
</div>
|
|
189
196
|
</div>
|
|
190
|
-
<OLink
|
|
197
|
+
<OLink
|
|
198
|
+
:hover-underline="false"
|
|
199
|
+
v-if="item.url"
|
|
200
|
+
:href="item.url"
|
|
201
|
+
target="_blank"
|
|
202
|
+
class="jump-detail-link"
|
|
203
|
+
>
|
|
191
204
|
<span>{{ i18n.LEARN_MORE }}</span>
|
|
192
205
|
<template #suffix>
|
|
193
206
|
<OIcon>
|
|
@@ -195,7 +208,13 @@ const computedList = computed<any[]>(() => {
|
|
|
195
208
|
</OIcon>
|
|
196
209
|
</template>
|
|
197
210
|
</OLink>
|
|
198
|
-
<OLink
|
|
211
|
+
<OLink
|
|
212
|
+
:hover-underline="false"
|
|
213
|
+
v-if="item.join_url"
|
|
214
|
+
:href="item.join_url"
|
|
215
|
+
target="_blank"
|
|
216
|
+
class="jump-detail-link"
|
|
217
|
+
>
|
|
199
218
|
<span>{{ i18n.JOIN_MEETING }}</span>
|
|
200
219
|
<template #suffix>
|
|
201
220
|
<OIcon>
|
|
@@ -203,7 +222,13 @@ const computedList = computed<any[]>(() => {
|
|
|
203
222
|
</OIcon>
|
|
204
223
|
</template>
|
|
205
224
|
</OLink>
|
|
206
|
-
<OLink
|
|
225
|
+
<OLink
|
|
226
|
+
:hover-underline="false"
|
|
227
|
+
v-if="item.content_url"
|
|
228
|
+
:href="item.content_url"
|
|
229
|
+
target="_blank"
|
|
230
|
+
class="jump-detail-link"
|
|
231
|
+
>
|
|
207
232
|
<span>{{ i18n.DETAILS }}</span>
|
|
208
233
|
<template #suffix>
|
|
209
234
|
<OIcon>
|
|
@@ -211,7 +236,13 @@ const computedList = computed<any[]>(() => {
|
|
|
211
236
|
</OIcon>
|
|
212
237
|
</template>
|
|
213
238
|
</OLink>
|
|
214
|
-
<OLink
|
|
239
|
+
<OLink
|
|
240
|
+
:hover-underline="false"
|
|
241
|
+
v-if="item.register_url"
|
|
242
|
+
:href="item.register_url"
|
|
243
|
+
target="_blank"
|
|
244
|
+
class="jump-detail-link"
|
|
245
|
+
>
|
|
215
246
|
<span>{{ i18n.SIGN }}</span>
|
|
216
247
|
<template #suffix>
|
|
217
248
|
<OIcon>
|
|
@@ -226,7 +257,8 @@ const computedList = computed<any[]>(() => {
|
|
|
226
257
|
</template>
|
|
227
258
|
<div class="calendar-info">
|
|
228
259
|
<OMeetingDetail
|
|
229
|
-
:show="collapseNames.includes(item.id)"
|
|
260
|
+
:show="collapseNames.includes(item.id)"
|
|
261
|
+
:data="item"
|
|
230
262
|
:ref="(insRef) => (detailRefs[index] = insRef)"
|
|
231
263
|
from="home"
|
|
232
264
|
/>
|
|
@@ -241,6 +273,7 @@ const computedList = computed<any[]>(() => {
|
|
|
241
273
|
|
|
242
274
|
|
|
243
275
|
&.is-empty {
|
|
276
|
+
min-height: 400px;
|
|
244
277
|
height: 100%;
|
|
245
278
|
display: flex;
|
|
246
279
|
align-items: center;
|
|
@@ -264,6 +297,7 @@ const computedList = computed<any[]>(() => {
|
|
|
264
297
|
.o-collapse-item {
|
|
265
298
|
position: relative;
|
|
266
299
|
border-top: none;
|
|
300
|
+
border-bottom: none;
|
|
267
301
|
|
|
268
302
|
&::after {
|
|
269
303
|
position: absolute;
|
|
@@ -353,6 +387,7 @@ const computedList = computed<any[]>(() => {
|
|
|
353
387
|
display: inline-flex;
|
|
354
388
|
opacity: 0;
|
|
355
389
|
visibility: hidden;
|
|
390
|
+
color: var(--o-color-info1);
|
|
356
391
|
|
|
357
392
|
&:hover {
|
|
358
393
|
color: var(--o-color-primary1);
|
|
@@ -389,7 +424,7 @@ const computedList = computed<any[]>(() => {
|
|
|
389
424
|
flex-direction: column;
|
|
390
425
|
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
|
|
391
426
|
padding: 16px 16px 16px calc(var(--icon-right) + var(--icon-size2) + var(--o-gap-5) - 12px);
|
|
392
|
-
border-radius: var(--
|
|
427
|
+
border-radius: var(--meeting-card-radius);
|
|
393
428
|
@include tip1;
|
|
394
429
|
|
|
395
430
|
@include respond('<=pad_v') {
|
|
@@ -420,6 +455,7 @@ const computedList = computed<any[]>(() => {
|
|
|
420
455
|
padding-left: calc(var(--icon-right) + var(--icon-size2));
|
|
421
456
|
margin-top: var(--o-gap-2);
|
|
422
457
|
color: var(--o-color-info2);
|
|
458
|
+
font-weight: 400;
|
|
423
459
|
@include tip1;
|
|
424
460
|
|
|
425
461
|
&:hover {
|
|
@@ -442,7 +478,7 @@ const computedList = computed<any[]>(() => {
|
|
|
442
478
|
.meet-title {
|
|
443
479
|
display: flex;
|
|
444
480
|
align-items: center;
|
|
445
|
-
width:
|
|
481
|
+
width: 100%;
|
|
446
482
|
color: var(--o-color-info2);
|
|
447
483
|
@include text2;
|
|
448
484
|
|
|
@@ -79,10 +79,10 @@ const removeTag = (val: number) => {
|
|
|
79
79
|
</script>
|
|
80
80
|
|
|
81
81
|
<template>
|
|
82
|
-
<div class="calendar-selector" :class="!multiple && 'is-single'">
|
|
82
|
+
<div class="o-meeting-calendar-selector" :class="!multiple && 'is-single'">
|
|
83
83
|
<ElSelect
|
|
84
84
|
ref="selectorRef"
|
|
85
|
-
popper-class="calendar-selector-popper"
|
|
85
|
+
popper-class="o-meeting-calendar-selector-popper"
|
|
86
86
|
:placeholder="t('meeting.selectRepeatDate')"
|
|
87
87
|
size="large"
|
|
88
88
|
multiple
|
|
@@ -106,11 +106,11 @@ const removeTag = (val: number) => {
|
|
|
106
106
|
</div>
|
|
107
107
|
</template>
|
|
108
108
|
|
|
109
|
-
<style
|
|
110
|
-
.calendar-selector {
|
|
109
|
+
<style lang="scss">
|
|
110
|
+
.o-meeting-calendar-selector {
|
|
111
111
|
width: 100%;
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
.el-select {
|
|
114
114
|
.el-select__placeholder {
|
|
115
115
|
@include text1;
|
|
116
116
|
}
|
|
@@ -134,7 +134,7 @@ const removeTag = (val: number) => {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
&.is-single {
|
|
137
|
-
|
|
137
|
+
.el-select {
|
|
138
138
|
.el-select__selection {
|
|
139
139
|
margin-left: 0;
|
|
140
140
|
}
|
|
@@ -154,8 +154,11 @@ const removeTag = (val: number) => {
|
|
|
154
154
|
}
|
|
155
155
|
</style>
|
|
156
156
|
<style lang="scss">
|
|
157
|
-
.calendar-selector-popper {
|
|
158
|
-
|
|
157
|
+
.o-meeting-calendar-selector-popper {
|
|
158
|
+
--meeting-card-radius: var(--o-radius-xs);
|
|
159
|
+
--meeting-input-radius: var(--o-radius-xs);
|
|
160
|
+
--meeting-cell-radius: var(--o-radius-xs);
|
|
161
|
+
padding: 0 var(--o-gap-5);
|
|
159
162
|
|
|
160
163
|
.el-select-dropdown__list {
|
|
161
164
|
padding: 16px 0;
|
|
@@ -173,7 +176,7 @@ const removeTag = (val: number) => {
|
|
|
173
176
|
justify-content: center;
|
|
174
177
|
background-color: var(--o-color-fill2);
|
|
175
178
|
color: var(--o-color-info1);
|
|
176
|
-
border-radius: var(--
|
|
179
|
+
border-radius: var(--meeting-cell-radius);
|
|
177
180
|
|
|
178
181
|
&:hover,
|
|
179
182
|
&.is-checked {
|
|
@@ -329,7 +329,7 @@ watch(
|
|
|
329
329
|
</ElSelect>
|
|
330
330
|
</div>
|
|
331
331
|
</div>
|
|
332
|
-
<OTab v-model="activeTab" variant="text" class="captions-tab" @change="changeTab">
|
|
332
|
+
<OTab v-model="activeTab" variant="text" class="captions-tab" @change="changeTab" :max-show="9999">
|
|
333
333
|
<OTabPane :value="0" :label="t('meeting.audioToText')">
|
|
334
334
|
<OScroller v-if="computedCaptions.length" id="captionsScrollDom" class="captions-scroller" show-type="hover"
|
|
335
335
|
size="small" disabled-x>
|
|
@@ -350,8 +350,9 @@ watch(
|
|
|
350
350
|
</OCol>
|
|
351
351
|
</ORow>
|
|
352
352
|
</OScroller>
|
|
353
|
-
<div v-else>
|
|
354
|
-
|
|
353
|
+
<div v-else>
|
|
354
|
+
<slot name="empty"></slot>
|
|
355
|
+
</div>
|
|
355
356
|
</OTabPane>
|
|
356
357
|
</OTab>
|
|
357
358
|
</div>
|
|
@@ -363,7 +364,7 @@ watch(
|
|
|
363
364
|
height: 100%;
|
|
364
365
|
min-height: calc(var(--layout-content-min-height) - 104px);
|
|
365
366
|
background-color: var(--o-color-fill2);
|
|
366
|
-
border-radius: var(--
|
|
367
|
+
border-radius: var(--meeting-card-radius);
|
|
367
368
|
|
|
368
369
|
.search-captions {
|
|
369
370
|
display: flex;
|
|
@@ -371,8 +372,8 @@ watch(
|
|
|
371
372
|
gap: var(--o-gap-4);
|
|
372
373
|
|
|
373
374
|
.input-captions {
|
|
374
|
-
--input-radius: var(--
|
|
375
|
-
--_box-radius: var(--
|
|
375
|
+
--input-radius: var(--meeting-input-radius);
|
|
376
|
+
--_box-radius: var(--meeting-input-radius);
|
|
376
377
|
flex-grow: 1;
|
|
377
378
|
|
|
378
379
|
.o-icon {
|
|
@@ -443,9 +444,12 @@ watch(
|
|
|
443
444
|
.o-tab {
|
|
444
445
|
margin-top: var(--o-gap-5);
|
|
445
446
|
height: calc(100% - 64px);
|
|
447
|
+
--tab-nav-justify: flex-start;
|
|
446
448
|
|
|
449
|
+
.o-tab-nav-list {
|
|
450
|
+
width: 100%;
|
|
451
|
+
}
|
|
447
452
|
.o-tab-navs {
|
|
448
|
-
justify-content: flex-start;
|
|
449
453
|
|
|
450
454
|
.o-tab-nav {
|
|
451
455
|
padding-bottom: var(--o-gap-4);
|
|
@@ -456,7 +460,7 @@ watch(
|
|
|
456
460
|
height: calc(100% - var(--o-line_height-text2) - var(--o-gap-4));
|
|
457
461
|
.o-tab-pane {
|
|
458
462
|
height: 100%;
|
|
459
|
-
padding-top: var(--o-gap-
|
|
463
|
+
padding-top: var(--o-gap-5);
|
|
460
464
|
|
|
461
465
|
.o-scroller {
|
|
462
466
|
height: 100%;
|
|
@@ -483,7 +487,7 @@ watch(
|
|
|
483
487
|
.captions-item {
|
|
484
488
|
padding: 4px 8px;
|
|
485
489
|
cursor: pointer;
|
|
486
|
-
border-radius: var(--
|
|
490
|
+
border-radius: var(--meeting-cell-radius);
|
|
487
491
|
@include hover {
|
|
488
492
|
background-color: rgba(var(--o-blue-6), 0.1);
|
|
489
493
|
}
|
|
@@ -500,7 +504,7 @@ watch(
|
|
|
500
504
|
width: 18px;
|
|
501
505
|
height: 18px;
|
|
502
506
|
border-radius: 50%;
|
|
503
|
-
background-color: var(--o-color-
|
|
507
|
+
background-color: var(--o-color-primary1);
|
|
504
508
|
color: var(--o-color-info1-inverse);
|
|
505
509
|
display: flex;
|
|
506
510
|
justify-content: center;
|
|
@@ -509,13 +513,13 @@ watch(
|
|
|
509
513
|
}
|
|
510
514
|
|
|
511
515
|
.speaker {
|
|
512
|
-
color: var(--o-color-
|
|
516
|
+
color: var(--o-color-info3);
|
|
513
517
|
margin-left: 4px;
|
|
514
518
|
@include tip2;
|
|
515
519
|
}
|
|
516
520
|
|
|
517
521
|
.start-time {
|
|
518
|
-
color: var(--o-color-
|
|
522
|
+
color: var(--o-color-info3);
|
|
519
523
|
margin-left: 16px;
|
|
520
524
|
@include tip2;
|
|
521
525
|
}
|
|
@@ -534,7 +538,7 @@ watch(
|
|
|
534
538
|
.text {
|
|
535
539
|
color: var(--o-color-info2);
|
|
536
540
|
margin-top: 8px;
|
|
537
|
-
@include
|
|
541
|
+
@include text1;
|
|
538
542
|
|
|
539
543
|
.light-keyword {
|
|
540
544
|
background-color: rgba(var(--o-blue-6), 0.2);
|
|
@@ -264,7 +264,7 @@ defineExpose({
|
|
|
264
264
|
min-height: calc(var(--layout-content-min-height) - 104px);
|
|
265
265
|
background-color: var(--o-color-fill2);
|
|
266
266
|
position: relative;
|
|
267
|
-
border-radius: var(--
|
|
267
|
+
border-radius: var(--meeting-card-radius);
|
|
268
268
|
overflow: hidden;
|
|
269
269
|
|
|
270
270
|
.video-placeholder {
|
|
@@ -443,7 +443,7 @@ defineExpose({
|
|
|
443
443
|
width: calc(100% + 5em);
|
|
444
444
|
max-height: 22em;
|
|
445
445
|
padding: 8px 16px;
|
|
446
|
-
border-radius: var(--
|
|
446
|
+
border-radius: var(--meeting-cell-radius);
|
|
447
447
|
margin-left: -2.5em;
|
|
448
448
|
background-color: var(--o-color-info2);
|
|
449
449
|
box-shadow: 0 3px 9px 0 rgba(var(--o-kleinblue-10), 0.08);
|
|
@@ -509,7 +509,7 @@ defineExpose({
|
|
|
509
509
|
input {
|
|
510
510
|
order: 1;
|
|
511
511
|
margin-right: 12px;
|
|
512
|
-
border-radius:
|
|
512
|
+
border-radius: var(--meeting-input-radius);
|
|
513
513
|
cursor: inherit;
|
|
514
514
|
position: relative;
|
|
515
515
|
top: -1px;
|
|
@@ -598,7 +598,7 @@ defineExpose({
|
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
.vjs-volume-control {
|
|
601
|
-
border-radius: var(--
|
|
601
|
+
border-radius: var(--meeting-cell-radius);
|
|
602
602
|
background-color: var(--o-color-info2);
|
|
603
603
|
box-shadow: 0 3px 9px 0 rgba(var(--o-kleinblue-10), 0.08);
|
|
604
604
|
backdrop-filter: blur(13.59);
|
|
@@ -647,7 +647,7 @@ defineExpose({
|
|
|
647
647
|
left: 0;
|
|
648
648
|
|
|
649
649
|
div {
|
|
650
|
-
border-radius:
|
|
650
|
+
border-radius: var(--meeting-cell-radius);
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
.vjs-progress-holder {
|
|
@@ -692,7 +692,7 @@ defineExpose({
|
|
|
692
692
|
width: fit-content !important;
|
|
693
693
|
color: var(--o-color-info1-inverse) !important;
|
|
694
694
|
background-color: rgba(0, 0, 0, 0.4) !important;
|
|
695
|
-
border-radius: var(--
|
|
695
|
+
border-radius: var(--meeting-cell-radius);
|
|
696
696
|
display: block !important;
|
|
697
697
|
padding: var(--o-gap-1) var(--o-gap-4);
|
|
698
698
|
@include tip1;
|
|
@@ -49,16 +49,16 @@ export const useMeetingConfig = () => {
|
|
|
49
49
|
return list;
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
const getPointStr = (cycleType: number, points: number[]) => {
|
|
52
|
+
const getPointStr = (cycleType: number, points: (number | string)[]) => {
|
|
53
53
|
if (cycleType === INTERVAL_WEEK) {
|
|
54
54
|
return points
|
|
55
55
|
.sort((a, b) => {
|
|
56
|
-
const aIdx = intervalWeekOptions.value.findIndex((v) => v.value === a);
|
|
57
|
-
const bIdx = intervalWeekOptions.value.findIndex((v) => v.value === b);
|
|
56
|
+
const aIdx = intervalWeekOptions.value.findIndex((v) => v.value === a || v.value.toString() === a);
|
|
57
|
+
const bIdx = intervalWeekOptions.value.findIndex((v) => v.value === b || v.value.toString() === b);
|
|
58
58
|
return aIdx - bIdx;
|
|
59
59
|
})
|
|
60
|
-
.map((point: number) => {
|
|
61
|
-
const opt = intervalWeekOptions.value.find((v) => v.value === point);
|
|
60
|
+
.map((point: number | string) => {
|
|
61
|
+
const opt = intervalWeekOptions.value.find((v) => v.value === point || v.value.toString() === point);
|
|
62
62
|
return opt?.label || String(point);
|
|
63
63
|
})
|
|
64
64
|
.join(t('meeting.cycleSplit'));
|
|
@@ -7,7 +7,7 @@ import IconSummit from '~icons/meeting/icon-summit.svg';
|
|
|
7
7
|
export const TYPE_COLOR_MAP = {
|
|
8
8
|
summit: 'rgba(var(--o-orange-6))',
|
|
9
9
|
events: 'rgba(var(--o-cyan-6))',
|
|
10
|
-
meeting: 'rgba(var(--o-
|
|
10
|
+
meeting: 'rgba(var(--o-deepblue-6))',
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export const INTERVAL_DAY = 0;
|
|
@@ -2,8 +2,8 @@ import type { App } from 'vue';
|
|
|
2
2
|
import _OMeetingCalendar from './OMeetingCalendar.vue';
|
|
3
3
|
import _OMeetingForm from './OMeetingForm.vue';
|
|
4
4
|
import _OMeetingPlayback from './OMeetingPlayback.vue';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import _OMeetingSigCalendar from './OMeetingSigCalendar.vue';
|
|
6
|
+
import _OMeetingMyCalendar from './OMeetingMyCalendar.vue';
|
|
7
7
|
|
|
8
8
|
const OMeetingCalendar = Object.assign(_OMeetingCalendar, {
|
|
9
9
|
install(app: App) {
|
|
@@ -22,15 +22,15 @@ const OMeetingPlayback = Object.assign(_OMeetingPlayback, {
|
|
|
22
22
|
},
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
const
|
|
25
|
+
const OMeetingSigCalendar = Object.assign(_OMeetingSigCalendar, {
|
|
26
26
|
install(app: App) {
|
|
27
|
-
app.component('
|
|
27
|
+
app.component('OMeetingSigCalendar', _OMeetingSigCalendar);
|
|
28
28
|
},
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
const
|
|
31
|
+
const OMeetingMyCalendar = Object.assign(_OMeetingMyCalendar, {
|
|
32
32
|
install(app: App) {
|
|
33
|
-
app.component('
|
|
33
|
+
app.component('OMeetingMyCalendar', _OMeetingMyCalendar);
|
|
34
34
|
},
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -38,8 +38,8 @@ export {
|
|
|
38
38
|
OMeetingCalendar,
|
|
39
39
|
OMeetingForm,
|
|
40
40
|
OMeetingPlayback,
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
OMeetingSigCalendar,
|
|
42
|
+
OMeetingMyCalendar,
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
export * from './types';
|
package/src/i18n/en.ts
CHANGED
|
@@ -4,16 +4,6 @@ export default {
|
|
|
4
4
|
'search.placeholder': 'Please enter the content',
|
|
5
5
|
'search.expandedPlaceholder': 'Please enter the content',
|
|
6
6
|
'search.history': 'History',
|
|
7
|
-
'search.imagePlaceholder': 'Search by text or upload image of any error',
|
|
8
|
-
'search.extendedPlaceholder': 'Press Enter to start, or refine your search with more info',
|
|
9
|
-
'search.imageUploadTooltip': 'JPG, PNG, JPEG supported (max 10 MB)',
|
|
10
|
-
'search.imageUploadFailed': 'Upload failed. Check connection and try again.',
|
|
11
|
-
'search.imageSizeExceeded': 'Image size exceeds the limit',
|
|
12
|
-
'search.imageInvalidType': 'Please upload an image file',
|
|
13
|
-
'search.onestep': 'Quick Navigation',
|
|
14
|
-
'search.suggest': 'Suggestions',
|
|
15
|
-
'search.noData': 'No data',
|
|
16
|
-
'search.suggestListLabel': 'Did you mean: ',
|
|
17
7
|
'meeting.audioToText': 'Speech to Text',
|
|
18
8
|
'meeting.item1': 'Convener: ',
|
|
19
9
|
'meeting.item2': 'SIG: ',
|
|
@@ -32,8 +22,8 @@ export default {
|
|
|
32
22
|
'meeting.sunday': 'Sunday',
|
|
33
23
|
'meeting.sigGroup': 'The {0} group',
|
|
34
24
|
'meeting.invite': ' invites you to',
|
|
35
|
-
'meeting.edit': '
|
|
36
|
-
'meeting.cancel': '
|
|
25
|
+
'meeting.edit': ' modify',
|
|
26
|
+
'meeting.cancel': ' cancel',
|
|
37
27
|
'meeting.dateTime': ' {1} on {0}',
|
|
38
28
|
'meeting.meeting': ' the meeting',
|
|
39
29
|
'meeting.cycleMeeting': ' the recurring meeting',
|
package/src/i18n/zh.ts
CHANGED
|
@@ -4,16 +4,6 @@ export default {
|
|
|
4
4
|
'search.placeholder': '搜索',
|
|
5
5
|
'search.expandedPlaceholder': '请输入搜索内容',
|
|
6
6
|
'search.history': '历史搜索',
|
|
7
|
-
'search.imagePlaceholder': '输入文字搜索,支持粘贴或上传报错截图',
|
|
8
|
-
'search.extendedPlaceholder': '按下回车立即搜索,或补充更多信息进行搜索',
|
|
9
|
-
'search.imageUploadTooltip': '报错截图搜索,支持jpg、png、jpeg等,最大10M',
|
|
10
|
-
'search.imageUploadFailed': '图片上传失败,请检查网络后重试',
|
|
11
|
-
'search.imageSizeExceeded': '图片大小超出限制',
|
|
12
|
-
'search.imageInvalidType': '请上传图片文件',
|
|
13
|
-
'search.onestep': '导航搜索直达',
|
|
14
|
-
'search.suggest': '搜索建议',
|
|
15
|
-
'search.noData': '暂无数据',
|
|
16
|
-
'search.suggestListLabel': '您是不是在寻找:',
|
|
17
7
|
'meeting.audioToText': '语音转文字',
|
|
18
8
|
'meeting.item1': '发起人:',
|
|
19
9
|
'meeting.item2': 'SIG组:',
|
|
@@ -42,7 +32,7 @@ export default {
|
|
|
42
32
|
'meeting.cycleMeetingText': '{startDate} 至 {endDate} {cycleType} {startTime} 到 {endTime}的周期会议',
|
|
43
33
|
'meeting.cycleMeetingText2': '{cycleType} {startTime} 到 {endTime} (UTC+08:00)Beijing 有效期从{startDate} 至 {endDate}',
|
|
44
34
|
'meeting.cycleDay': '每天',
|
|
45
|
-
'meeting.cycleWeek.one': '
|
|
35
|
+
'meeting.cycleWeek.one': '每周{0}',
|
|
46
36
|
'meeting.cycleWeek.other': '每{1}周{0}',
|
|
47
37
|
'meeting.cycleSplit': '、',
|
|
48
38
|
'meeting.cycleMonth': '每月{0}号',
|
package/src/index.ts
CHANGED
package/vite.config.ts
CHANGED
|
@@ -36,10 +36,6 @@ export default defineConfig(({ mode }) => {
|
|
|
36
36
|
) {
|
|
37
37
|
return false;
|
|
38
38
|
}
|
|
39
|
-
// locale 子路径打包进库,避免消费方路径解析问题
|
|
40
|
-
if (id.startsWith('@opensig/opendesign/es/locale/')) {
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
39
|
// element-plus JS 保持外部化
|
|
44
40
|
if (/^element-plus/.test(id)) return true;
|
|
45
41
|
// 其他外部依赖
|
|
@@ -83,7 +79,7 @@ export default defineConfig(({ mode }) => {
|
|
|
83
79
|
@use "@opendesign-plus/styles/mixin/font.scss" as *;
|
|
84
80
|
@use "@opendesign-plus/styles/mixin/common.scss" as *;
|
|
85
81
|
@use "@opendesign-plus/styles/mixin/gap.scss" as *;
|
|
86
|
-
@use "
|
|
82
|
+
@use "@/assets/styles/element-plus.scss" as *;
|
|
87
83
|
`,
|
|
88
84
|
},
|
|
89
85
|
},
|