@opendesign-plus-test/components 0.0.1-rc.50 → 0.0.1-rc.51
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 +68 -48
- package/dist/components/OHeaderSearch.vue.d.ts +814 -534
- package/dist/components/OThemeSwitcher.vue.d.ts +5 -2
- package/dist/components/activity/index.d.ts +2 -2
- package/dist/components/meeting/index.d.ts +3 -3
- package/dist/components/search/OSearchInput.vue.d.ts +1003 -0
- package/dist/components/search/composables/useImageSearch.d.ts +48 -0
- package/dist/components/search/composables/useKeywordHighlight.d.ts +2 -0
- package/dist/components/search/composables/useSearchHistory.d.ts +14 -0
- package/dist/components/search/index.d.ts +590 -0
- package/dist/components/search/internal/HighlightText.vue.d.ts +9 -0
- package/dist/components/search/internal/SearchImageInput.vue.d.ts +716 -0
- package/dist/components/search/internal/SearchPanel.vue.d.ts +100 -0
- package/dist/components/search/types.d.ts +20 -0
- package/dist/components.cjs.js +42 -42
- package/dist/components.css +1 -1
- package/dist/components.es.js +11517 -10501
- package/dist/index.d.ts +1 -0
- package/package.json +4 -2
- package/src/assets/svg-icons/icon-delete-hover.svg +4 -0
- package/src/assets/svg-icons/icon-delete.svg +5 -1
- package/src/assets/svg-icons/icon-image-close.svg +4 -0
- package/src/assets/svg-icons/icon-image-upload.svg +3 -0
- package/src/assets/svg-icons/icon-image-zoomin.svg +3 -0
- package/src/assets/svg-icons/icon-refresh.svg +3 -0
- package/src/components/OHeaderSearch.vue +437 -415
- package/src/components/OThemeSwitcher.vue +27 -51
- package/src/components/activity/OActivityApproval.vue +6 -10
- package/src/components/activity/OActivityForm.vue +3 -5
- package/src/components/activity/{OActivityMyCalendar.vue → OMyActivityCalendar.vue} +21 -43
- package/src/components/activity/index.ts +4 -4
- package/src/components/events/OEventsApply.vue +1 -2
- package/src/components/events/OEventsCalendar.vue +5 -7
- package/src/components/events/OEventsList.vue +4 -6
- package/src/components/meeting/OMeetingCalendar.vue +12 -15
- package/src/components/meeting/OMeetingForm.vue +10 -16
- package/src/components/meeting/OMeetingPlayback.vue +8 -32
- package/src/components/meeting/{OMeetingMyCalendar.vue → OMyMeetingCalendar.vue} +38 -73
- package/src/components/meeting/{OMeetingSigCalendar.vue → OSigMeetingCalendar.vue} +3 -6
- package/src/components/meeting/components/OMeetingCalendarList.vue +3 -3
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +1 -1
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +9 -10
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +6 -6
- package/src/components/meeting/components/{OMeetingSigAside.vue → OSigMeetingAside.vue} +1 -1
- package/src/components/meeting/config.ts +1 -1
- package/src/components/meeting/index.ts +8 -8
- package/src/components/search/OSearchInput.vue +463 -0
- package/src/components/search/composables/useImageSearch.ts +157 -0
- package/src/components/search/composables/useKeywordHighlight.ts +30 -0
- package/src/components/search/composables/useSearchHistory.ts +75 -0
- package/src/components/search/index.ts +23 -0
- package/src/components/search/internal/HighlightText.vue +37 -0
- package/src/components/search/internal/SearchImageInput.vue +488 -0
- package/src/components/search/internal/SearchPanel.vue +430 -0
- package/src/components/search/types.ts +25 -0
- package/src/i18n/en.ts +12 -2
- package/src/i18n/zh.ts +10 -0
- package/src/index.ts +1 -0
- package/vite.config.ts +5 -1
- package/src/assets/styles/element-plus.scss +0 -204
- /package/dist/components/activity/{OActivityMyCalendar.vue.d.ts → OMyActivityCalendar.vue.d.ts} +0 -0
- /package/dist/components/meeting/{OMeetingMyCalendar.vue.d.ts → OMyMeetingCalendar.vue.d.ts} +0 -0
- /package/dist/components/meeting/{OMeetingSigCalendar.vue.d.ts → OSigMeetingCalendar.vue.d.ts} +0 -0
- /package/dist/components/meeting/components/{OMeetingSigAside.vue.d.ts → OSigMeetingAside.vue.d.ts} +0 -0
|
@@ -704,9 +704,6 @@ defineExpose({
|
|
|
704
704
|
|
|
705
705
|
<style lang="scss">
|
|
706
706
|
.o-meeting-form {
|
|
707
|
-
--meeting-card-radius: var(--o-radius-xs);
|
|
708
|
-
--meeting-input-radius: var(--o-radius-xs);
|
|
709
|
-
--meeting-cell-radius: var(--o-radius-xs);
|
|
710
707
|
.form-wrapper {
|
|
711
708
|
& > .o-form-item {
|
|
712
709
|
max-width: 592px;
|
|
@@ -736,7 +733,7 @@ defineExpose({
|
|
|
736
733
|
}
|
|
737
734
|
|
|
738
735
|
.o-textarea {
|
|
739
|
-
--_box-radius: var(--
|
|
736
|
+
--_box-radius: var(--o-radius-xs);
|
|
740
737
|
}
|
|
741
738
|
|
|
742
739
|
input,
|
|
@@ -744,17 +741,8 @@ defineExpose({
|
|
|
744
741
|
color: var(--o-input-color);
|
|
745
742
|
@include text1;
|
|
746
743
|
|
|
747
|
-
@include respond('phone') {
|
|
748
|
-
@include text2;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
744
|
&::placeholder {
|
|
752
745
|
color: var(--o-placeholder-color);
|
|
753
|
-
@include text1;
|
|
754
|
-
|
|
755
|
-
@include respond('phone') {
|
|
756
|
-
font-size: 14px !important;
|
|
757
|
-
}
|
|
758
746
|
}
|
|
759
747
|
}
|
|
760
748
|
|
|
@@ -866,8 +854,11 @@ defineExpose({
|
|
|
866
854
|
align-items: center;
|
|
867
855
|
|
|
868
856
|
.o-btn {
|
|
857
|
+
height: 40px !important;
|
|
858
|
+
font-size: 16px !important;
|
|
859
|
+
line-height: 24px !important;
|
|
860
|
+
border-radius: 20px !important;
|
|
869
861
|
--btn-min-width: 90px;
|
|
870
|
-
--btn-radius: calc(var(--btn-height) / 2);
|
|
871
862
|
}
|
|
872
863
|
}
|
|
873
864
|
|
|
@@ -876,7 +867,7 @@ defineExpose({
|
|
|
876
867
|
display: flex;
|
|
877
868
|
align-items: center;
|
|
878
869
|
border: 1px solid var(--o-color-control1);
|
|
879
|
-
border-radius: var(--
|
|
870
|
+
border-radius: var(--o-radius-xs);
|
|
880
871
|
padding: 0 15px;
|
|
881
872
|
background-color: var(--o-color-fill2);
|
|
882
873
|
|
|
@@ -908,6 +899,9 @@ defineExpose({
|
|
|
908
899
|
gap: 0;
|
|
909
900
|
}
|
|
910
901
|
|
|
902
|
+
.el-select__placeholder {
|
|
903
|
+
@include text1;
|
|
904
|
+
}
|
|
911
905
|
|
|
912
906
|
.el-select__caret,
|
|
913
907
|
.el-input__prefix-icon {
|
|
@@ -961,7 +955,7 @@ defineExpose({
|
|
|
961
955
|
.repeat-config {
|
|
962
956
|
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
|
|
963
957
|
padding: var(--o-gap-5);
|
|
964
|
-
border-radius: var(--
|
|
958
|
+
border-radius: var(--o-radius-xs);
|
|
965
959
|
@include respond('<=pad_v') {
|
|
966
960
|
padding: var(--o-gap-4);
|
|
967
961
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed, onMounted, onUnmounted, ref, watchEffect } from 'vue';
|
|
3
3
|
import { speakerNum, transformSeconds, transformTime } from './utils';
|
|
4
|
-
import { OOption,
|
|
4
|
+
import { OOption, OSelect, OTab, OTabPane, type SelectValueT } from '@opensig/opendesign';
|
|
5
5
|
import OMeetingPlaybackSubtitles from './components/OMeetingPlaybackSubtitles.vue';
|
|
6
6
|
import OMeetingPlaybackVideo from './components/OMeetingPlaybackVideo.vue';
|
|
7
7
|
import { useI18n } from '@/i18n';
|
|
@@ -203,7 +203,7 @@ onUnmounted(() => {
|
|
|
203
203
|
<OTab v-model="tab">
|
|
204
204
|
<OTabPane v-for="t in tabOptions" :key="t.value" :value="t.value" :label="t.label" />
|
|
205
205
|
</OTab>
|
|
206
|
-
<
|
|
206
|
+
<div class="tab-content">
|
|
207
207
|
<div class="base-info" v-if="tab === tabOptions[0].value">
|
|
208
208
|
<div class="info-item">
|
|
209
209
|
<span>{{ t('meeting.item1') }}</span>
|
|
@@ -252,7 +252,7 @@ onUnmounted(() => {
|
|
|
252
252
|
</div>
|
|
253
253
|
</div>
|
|
254
254
|
</div>
|
|
255
|
-
</
|
|
255
|
+
</div>
|
|
256
256
|
</div>
|
|
257
257
|
</div>
|
|
258
258
|
<div class="right-card card-wrapper" :style="{
|
|
@@ -271,22 +271,15 @@ onUnmounted(() => {
|
|
|
271
271
|
display: flex;
|
|
272
272
|
gap: var(--grid-column-gutter);
|
|
273
273
|
align-items: flex-start;
|
|
274
|
-
--meeting-card-radius: var(--o-radius-xs);
|
|
275
|
-
--meeting-input-radius: var(--o-radius-xs);
|
|
276
|
-
--meeting-cell-radius: var(--o-radius-xs);
|
|
277
274
|
|
|
278
275
|
@include respond('<=pad_v') {
|
|
279
276
|
flex-wrap: wrap;
|
|
280
277
|
}
|
|
281
278
|
|
|
282
279
|
.card-wrapper {
|
|
283
|
-
border-radius: var(--
|
|
280
|
+
border-radius: var(--o-radius-xs);
|
|
284
281
|
background-color: var(--o-color-fill2);
|
|
285
282
|
padding: var(--o-gap-5);
|
|
286
|
-
|
|
287
|
-
&.left-card {
|
|
288
|
-
padding-bottom: 0;
|
|
289
|
-
}
|
|
290
283
|
}
|
|
291
284
|
|
|
292
285
|
.left-card {
|
|
@@ -318,7 +311,6 @@ onUnmounted(() => {
|
|
|
318
311
|
margin-top: var(--o-gap-5);
|
|
319
312
|
|
|
320
313
|
.o-tab {
|
|
321
|
-
--tab-nav-justify: flex-start;
|
|
322
314
|
.o-tab-navs {
|
|
323
315
|
justify-content: flex-start;
|
|
324
316
|
}
|
|
@@ -333,23 +325,9 @@ onUnmounted(() => {
|
|
|
333
325
|
|
|
334
326
|
.tab-content {
|
|
335
327
|
padding-top: var(--o-gap-4);
|
|
336
|
-
height: 280px;
|
|
337
|
-
padding-bottom: 0;
|
|
338
|
-
position: relative;
|
|
339
|
-
|
|
340
|
-
&::after {
|
|
341
|
-
height: 24px;
|
|
342
|
-
content: '';
|
|
343
|
-
position: absolute;
|
|
344
|
-
bottom: 0;
|
|
345
|
-
left: 0;
|
|
346
|
-
right: 0;
|
|
347
|
-
background: linear-gradient(180deg, rgba(var(--o-grey-1), 0), rgba(var(--o-grey-1), 1) 100%);
|
|
348
|
-
}
|
|
349
328
|
|
|
350
329
|
.base-info {
|
|
351
|
-
|
|
352
|
-
@include text1;
|
|
330
|
+
@include tip1;
|
|
353
331
|
|
|
354
332
|
.info-item {
|
|
355
333
|
display: flex;
|
|
@@ -362,7 +340,6 @@ onUnmounted(() => {
|
|
|
362
340
|
span:first-child {
|
|
363
341
|
width: 6em;
|
|
364
342
|
flex-shrink: 0;
|
|
365
|
-
color: var(--o-color-info3);
|
|
366
343
|
}
|
|
367
344
|
|
|
368
345
|
span:last-child {
|
|
@@ -378,7 +355,6 @@ onUnmounted(() => {
|
|
|
378
355
|
.subject-list {
|
|
379
356
|
counter-reset: itemIndex;
|
|
380
357
|
position: relative;
|
|
381
|
-
padding-bottom: var(--o-gap-5);
|
|
382
358
|
|
|
383
359
|
.mouse-current-time {
|
|
384
360
|
position: absolute;
|
|
@@ -386,7 +362,7 @@ onUnmounted(() => {
|
|
|
386
362
|
padding: var(--o-gap-1);
|
|
387
363
|
box-shadow: var(--o-shadow-1);
|
|
388
364
|
z-index: 10;
|
|
389
|
-
border-radius: var(--
|
|
365
|
+
border-radius: var(--o-radius-xs);
|
|
390
366
|
transform: translateY(calc(0px - 100% - 4px));
|
|
391
367
|
color: var(--o-color-info2);
|
|
392
368
|
@include tip1;
|
|
@@ -426,7 +402,7 @@ onUnmounted(() => {
|
|
|
426
402
|
right: 0;
|
|
427
403
|
height: 4px;
|
|
428
404
|
border-radius: 2px;
|
|
429
|
-
background-color: var(--o-color-
|
|
405
|
+
background-color: var(--o-color-fill1);
|
|
430
406
|
}
|
|
431
407
|
|
|
432
408
|
.subject-progress {
|
|
@@ -441,7 +417,7 @@ onUnmounted(() => {
|
|
|
441
417
|
position: absolute;
|
|
442
418
|
top: 0;
|
|
443
419
|
bottom: 0;
|
|
444
|
-
border-radius: var(--
|
|
420
|
+
border-radius: var(--o-radius-xs);
|
|
445
421
|
left: calc(var(--start) * 100%);
|
|
446
422
|
right: calc((1 - var(--end)) * 100%);
|
|
447
423
|
z-index: 9;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import {
|
|
3
|
-
DialogActionT,
|
|
3
|
+
DialogActionT,
|
|
4
4
|
OCollapse,
|
|
5
5
|
OCollapseItem,
|
|
6
6
|
ODialog,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import { ElCalendar } from 'element-plus';
|
|
21
21
|
import { computed, nextTick, onMounted, ref, onUnmounted, watch } from 'vue';
|
|
22
22
|
import OMeetingDetail from './components/OMeetingDetail.vue';
|
|
23
|
-
import {
|
|
23
|
+
import { MeetingGroupType, MeetingItemT, PageParamsT } from './types.ts';
|
|
24
24
|
import dayjs from 'dayjs';
|
|
25
25
|
import IconMeeting from '~icons/meeting/icon-meet.svg';
|
|
26
26
|
import { INTERVAL_DAY, INTERVAL_MONTH, INTERVAL_WEEK } from './config.ts';
|
|
@@ -40,7 +40,7 @@ const list = ref<MeetingItemT[]>([]); // 列表数据
|
|
|
40
40
|
const originList = ref<MeetingItemT[]>([]); // 原始数据
|
|
41
41
|
const canLoadMore = computed(() => total.value === null || originList.value.length < total.value);
|
|
42
42
|
const reloadAll = ref(false); // 是否需要清空数据
|
|
43
|
-
const { t, locale, getPointStr,
|
|
43
|
+
const { t, locale, getPointStr, getWeekFromDate } = useMeetingConfig();
|
|
44
44
|
const isEn = computed(() => locale.value === Locales.EN);
|
|
45
45
|
|
|
46
46
|
const props = withDefaults(defineProps<{
|
|
@@ -578,9 +578,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
578
578
|
expired: dayjs(formatDate()).isAfter(dayjs(data.day)),
|
|
579
579
|
'all-deleted': calcIfAllDeleted(data.day),
|
|
580
580
|
}"
|
|
581
|
-
:style="{
|
|
582
|
-
'--dot-bg': `${getConfig(CalendarDataType.MEETING, 'color')}`
|
|
583
|
-
}"
|
|
584
581
|
>
|
|
585
582
|
<div class="date-cell-text">
|
|
586
583
|
{{ Number(data.day.split('-')[2]) }}
|
|
@@ -637,14 +634,9 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
637
634
|
>
|
|
638
635
|
<template #title>
|
|
639
636
|
<div class="item-header-left">
|
|
640
|
-
<div
|
|
641
|
-
class="meeting-icon"
|
|
642
|
-
:style="{
|
|
643
|
-
backgroundColor: `${getConfig(CalendarDataType.MEETING, 'color')}`
|
|
644
|
-
}"
|
|
645
|
-
>
|
|
637
|
+
<div class="meeting-icon">
|
|
646
638
|
<OIcon>
|
|
647
|
-
<
|
|
639
|
+
<IconMeeting />
|
|
648
640
|
</OIcon>
|
|
649
641
|
</div>
|
|
650
642
|
<div class="header-info">
|
|
@@ -675,7 +667,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
675
667
|
</div>
|
|
676
668
|
<div class="item-header-right" v-if="!row.is_delete">
|
|
677
669
|
<OLink
|
|
678
|
-
:hover-underline="false"
|
|
679
670
|
v-if="!row.isExpired"
|
|
680
671
|
target="_blank"
|
|
681
672
|
:href="row.join_url"
|
|
@@ -689,12 +680,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
689
680
|
</template>
|
|
690
681
|
</OLink>
|
|
691
682
|
<template v-else>
|
|
692
|
-
<OLink
|
|
693
|
-
:hover-underline="false"
|
|
694
|
-
target="_blank"
|
|
695
|
-
v-if="row.etherpad"
|
|
696
|
-
:href="row.etherpad"
|
|
697
|
-
>
|
|
683
|
+
<OLink target="_blank" v-if="row.etherpad" :href="row.etherpad">
|
|
698
684
|
{{ t('meeting.meetingSummary') }}
|
|
699
685
|
<template #suffix>
|
|
700
686
|
<OIcon>
|
|
@@ -703,7 +689,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
703
689
|
</template>
|
|
704
690
|
</OLink>
|
|
705
691
|
<OLink
|
|
706
|
-
:hover-underline="false"
|
|
707
692
|
target="_blank"
|
|
708
693
|
:href="`/${locale}/video/${row.group_name}/${row.mid}/${row.date}`"
|
|
709
694
|
v-if="row.hasObsData">
|
|
@@ -728,12 +713,10 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
728
713
|
from="my"
|
|
729
714
|
/>
|
|
730
715
|
<div class="meeting-btn" v-if="!row.isExpired && !row.is_delete">
|
|
731
|
-
<
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
{{ t('meeting.cancelMeeting') }}
|
|
736
|
-
</OButton>
|
|
716
|
+
<OLink @click="handleItem(row, 'edit')">{{ t('meeting.editMeeting') }}
|
|
717
|
+
</OLink>
|
|
718
|
+
<OLink @click="handleItem(row, 'cancel')">{{ t('meeting.cancelMeeting') }}
|
|
719
|
+
</OLink>
|
|
737
720
|
</div>
|
|
738
721
|
</div>
|
|
739
722
|
</OCollapseItem>
|
|
@@ -762,7 +745,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
762
745
|
>
|
|
763
746
|
<template #header>
|
|
764
747
|
{{
|
|
765
|
-
t('meeting.meetingHandleText', [handleDialogType === 'edit' ? t('meeting.edit') : t('meeting.
|
|
748
|
+
t('meeting.meetingHandleText', [handleDialogType === 'edit' ? t('meeting.edit') : t('meeting.cancel2')])
|
|
766
749
|
}}
|
|
767
750
|
</template>
|
|
768
751
|
<ORadioGroup v-model="handleType">
|
|
@@ -779,9 +762,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
779
762
|
|
|
780
763
|
<style lang="scss">
|
|
781
764
|
.o-my-meeting-calendar {
|
|
782
|
-
--meeting-card-radius: var(--o-radius-xs);
|
|
783
|
-
--meeting-input-radius: var(--o-radius-xs);
|
|
784
|
-
--meeting-cell-radius: var(--o-radius-xs);
|
|
785
765
|
|
|
786
766
|
.header {
|
|
787
767
|
display: flex;
|
|
@@ -897,7 +877,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
897
877
|
.el-calendar {
|
|
898
878
|
min-height: 460px;
|
|
899
879
|
height: calc(100% - 54px);
|
|
900
|
-
border-radius: var(--
|
|
880
|
+
border-radius: var(--o-radius-xs);
|
|
901
881
|
background-color: transparent;
|
|
902
882
|
|
|
903
883
|
.el-calendar__header {
|
|
@@ -931,7 +911,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
931
911
|
|
|
932
912
|
.el-calendar__body {
|
|
933
913
|
.el-calendar-table {
|
|
934
|
-
display: table;
|
|
935
914
|
|
|
936
915
|
th {
|
|
937
916
|
text-align: center;
|
|
@@ -976,9 +955,8 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
976
955
|
.date-cell-text {
|
|
977
956
|
font-size: 14px;
|
|
978
957
|
line-height: 36px;
|
|
979
|
-
border-radius: var(--
|
|
958
|
+
border-radius: var(--o-radius-xs);
|
|
980
959
|
background-color: var(--o-color-control2-light);
|
|
981
|
-
border: 1px solid transparent;
|
|
982
960
|
}
|
|
983
961
|
|
|
984
962
|
.date-cell-text {
|
|
@@ -1017,14 +995,14 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1017
995
|
|
|
1018
996
|
&.is-selected {
|
|
1019
997
|
.date-cell-text {
|
|
1020
|
-
|
|
1021
|
-
|
|
998
|
+
color: #fff;
|
|
999
|
+
background-color: var(--o-color-primary1);
|
|
1022
1000
|
}
|
|
1023
1001
|
}
|
|
1024
1002
|
|
|
1025
1003
|
&.clickable {
|
|
1026
1004
|
&::after {
|
|
1027
|
-
background-color: var(--
|
|
1005
|
+
background-color: var(--o-color-primary1);
|
|
1028
1006
|
}
|
|
1029
1007
|
|
|
1030
1008
|
&.expired::after {
|
|
@@ -1229,20 +1207,31 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1229
1207
|
display: flex;
|
|
1230
1208
|
flex-direction: column;
|
|
1231
1209
|
|
|
1210
|
+
.o-collapse-item {
|
|
1211
|
+
&.last-item {
|
|
1212
|
+
.o-collapse-item-header {
|
|
1213
|
+
border-bottom: none;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1232
1218
|
.o-collapse-item-expanded + .o-collapse-item-expanded {
|
|
1233
1219
|
margin-top: var(--o-gap-4);
|
|
1234
1220
|
}
|
|
1235
1221
|
|
|
1236
1222
|
.height-placeholder {
|
|
1237
|
-
height:
|
|
1223
|
+
height: 0;
|
|
1224
|
+
transition: margin var(--o-easing-standard) var(--o-duration-s);
|
|
1238
1225
|
}
|
|
1239
1226
|
|
|
1227
|
+
.o-collapse-item-expanded + .height-placeholder {
|
|
1228
|
+
height: var(--o-gap-4);
|
|
1229
|
+
}
|
|
1240
1230
|
|
|
1241
1231
|
.o-collapse-item {
|
|
1242
1232
|
padding: var(--o-gap-4) var(--o-gap-5);
|
|
1243
|
-
padding-bottom: calc(var(--o-gap-5) - var(--o-gap-4));
|
|
1244
1233
|
border-top: none;
|
|
1245
|
-
border-radius: var(--
|
|
1234
|
+
border-radius: var(--o-radius-xs);
|
|
1246
1235
|
transition: margin var(--o-easing-standard) var(--o-duration-s);
|
|
1247
1236
|
--copy-display: none;
|
|
1248
1237
|
--icon-size: 24px;
|
|
@@ -1250,42 +1239,30 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1250
1239
|
padding: var(--o-gap-3) var(--o-gap-4);
|
|
1251
1240
|
}
|
|
1252
1241
|
|
|
1253
|
-
@include respond('phone') {
|
|
1254
|
-
--icon-size: 20px;
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
1242
|
&:hover {
|
|
1258
|
-
.title-text {
|
|
1259
|
-
color: var(--o-color-primary1);
|
|
1260
|
-
}
|
|
1261
1243
|
@include respond('>pad_v') {
|
|
1262
1244
|
--copy-display: inline-flex;
|
|
1263
1245
|
}
|
|
1264
1246
|
}
|
|
1265
1247
|
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
border-bottom: none;
|
|
1269
|
-
}
|
|
1248
|
+
@include respond('phone') {
|
|
1249
|
+
--icon-size: 20px;
|
|
1270
1250
|
}
|
|
1271
1251
|
&.o-collapse-item-expanded {
|
|
1272
|
-
border-bottom: none;
|
|
1273
|
-
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent) !important;
|
|
1274
|
-
|
|
1275
1252
|
@include respond('<=pad_v') {
|
|
1276
1253
|
--copy-display: inline-flex;
|
|
1277
1254
|
}
|
|
1255
|
+
}
|
|
1278
1256
|
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
}
|
|
1257
|
+
&.o-collapse-item-expanded {
|
|
1258
|
+
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent) !important;
|
|
1282
1259
|
}
|
|
1283
1260
|
}
|
|
1284
1261
|
|
|
1285
1262
|
.o-collapse-item-header {
|
|
1286
|
-
border-bottom:
|
|
1263
|
+
border-bottom: 1px solid var(--o-color-control4);
|
|
1287
1264
|
padding-top: 0;
|
|
1288
|
-
padding-bottom: var(--o-gap-
|
|
1265
|
+
padding-bottom: var(--o-gap-2);
|
|
1289
1266
|
display: flex;
|
|
1290
1267
|
align-items: center;
|
|
1291
1268
|
gap: var(--o-gap-4);
|
|
@@ -1357,11 +1334,7 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1357
1334
|
|
|
1358
1335
|
&.is-delete,
|
|
1359
1336
|
&.is-end {
|
|
1360
|
-
color: var(--o-color-
|
|
1361
|
-
|
|
1362
|
-
.title-text {
|
|
1363
|
-
color: var(--o-color-info4) !important;
|
|
1364
|
-
}
|
|
1337
|
+
color: var(--o-color-info3);
|
|
1365
1338
|
}
|
|
1366
1339
|
|
|
1367
1340
|
.tag-wrapper {
|
|
@@ -1407,12 +1380,10 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1407
1380
|
padding-left: calc(var(--o-gap-3) + var(--icon-size));
|
|
1408
1381
|
gap: var(--o-gap-4);
|
|
1409
1382
|
width: 100%;
|
|
1410
|
-
font-weight: 400;
|
|
1411
1383
|
|
|
1412
1384
|
.o-link {
|
|
1413
1385
|
font-size: 14px;
|
|
1414
1386
|
line-height: 21px;
|
|
1415
|
-
--link-color: var(--o-color-info2);
|
|
1416
1387
|
}
|
|
1417
1388
|
.o-icon {
|
|
1418
1389
|
font-size: 16px;
|
|
@@ -1428,7 +1399,6 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1428
1399
|
height: 18px;
|
|
1429
1400
|
width: 18px;
|
|
1430
1401
|
display: var(--copy-display);
|
|
1431
|
-
color: var(--o-color-info1);
|
|
1432
1402
|
@include respond('phone') {
|
|
1433
1403
|
bottom: var(--o-gap-2);
|
|
1434
1404
|
right: calc(20px + var(--o-gap-2))
|
|
@@ -1461,15 +1431,10 @@ const cancelActions = computed<DialogActionT[]>(() => {
|
|
|
1461
1431
|
border-top: 1px solid var(--o-color-control4);
|
|
1462
1432
|
margin-top: var(--o-gap-5);
|
|
1463
1433
|
padding-top: var(--o-gap-4);
|
|
1464
|
-
padding-bottom: var(--o-gap-4);
|
|
1465
1434
|
display: flex;
|
|
1466
1435
|
align-items: center;
|
|
1467
1436
|
justify-content: flex-end;
|
|
1468
1437
|
gap: var(--o-gap-5);
|
|
1469
|
-
|
|
1470
|
-
.o-link {
|
|
1471
|
-
--link-color: inherit;
|
|
1472
|
-
}
|
|
1473
1438
|
}
|
|
1474
1439
|
}
|
|
1475
1440
|
}
|
|
@@ -3,7 +3,7 @@ import { ref, onMounted, computed, nextTick, watch } from 'vue';
|
|
|
3
3
|
import { ODivider, OPopover, OIcon, OTabPane, OTab, OScroller } from '@opensig/opendesign';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
5
|
import IconTips from '~icons/components/icon-tips.svg';
|
|
6
|
-
import
|
|
6
|
+
import OSigMeetingAside from './components/OSigMeetingAside.vue';
|
|
7
7
|
import { CalendarDataType, MeetingEventsItemT, MeetingItemT } from './types.ts';
|
|
8
8
|
import { useScreen } from '@opendesign-plus/composables';
|
|
9
9
|
import { useMeetingConfig } from './composables/useMeetingConfig';
|
|
@@ -281,7 +281,7 @@ onMounted(() => {
|
|
|
281
281
|
<ODivider class="meeting-divider" v-if="!lePadV || (lePadV && dateList.length)" />
|
|
282
282
|
<div class="meeting-card-content">
|
|
283
283
|
<template v-if="!lePadV && monthIdx !== -1">
|
|
284
|
-
<
|
|
284
|
+
<OSigMeetingAside
|
|
285
285
|
:data="dateMapList.slice(monthIdx, monthIdx + 1)"
|
|
286
286
|
:meetingDates="tabType !== CalendarDataType.EVENTS ? meetingDates :[] "
|
|
287
287
|
:eventsDates="tabType !== CalendarDataType.MEETING ? eventsDates : []"
|
|
@@ -308,12 +308,9 @@ onMounted(() => {
|
|
|
308
308
|
|
|
309
309
|
<style lang="scss">
|
|
310
310
|
.o-sig-meeting-calendar {
|
|
311
|
-
--meeting-card-radius: var(--o-radius-xs);
|
|
312
|
-
--meeting-input-radius: var(--o-radius-xs);
|
|
313
|
-
--meeting-cell-radius: var(--o-radius-xs);
|
|
314
311
|
width: 100%;
|
|
315
312
|
background-color: var(--o-color-fill2);
|
|
316
|
-
border-radius: var(--
|
|
313
|
+
border-radius: var(--o-radius-xs);
|
|
317
314
|
margin-top: var(--o-gap-5);
|
|
318
315
|
@include respond('phone') {
|
|
319
316
|
.meeting-card-header {
|
|
@@ -165,8 +165,8 @@ const computedList = computed<any[]>(() => {
|
|
|
165
165
|
<div class="meet-title" :title="item.topic || item.name">
|
|
166
166
|
<OIcon
|
|
167
167
|
:style="{
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
backgroundColor: `${getConfig(item.type, 'color')}`
|
|
169
|
+
}"
|
|
170
170
|
>
|
|
171
171
|
<component :is="getConfig(item.type, 'icon')" />
|
|
172
172
|
</OIcon>
|
|
@@ -389,7 +389,7 @@ const computedList = computed<any[]>(() => {
|
|
|
389
389
|
flex-direction: column;
|
|
390
390
|
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
|
|
391
391
|
padding: 16px 16px 16px calc(var(--icon-right) + var(--icon-size2) + var(--o-gap-5) - 12px);
|
|
392
|
-
border-radius: var(--
|
|
392
|
+
border-radius: var(--o-radius-xs);
|
|
393
393
|
@include tip1;
|
|
394
394
|
|
|
395
395
|
@include respond('<=pad_v') {
|
|
@@ -173,7 +173,7 @@ const removeTag = (val: number) => {
|
|
|
173
173
|
justify-content: center;
|
|
174
174
|
background-color: var(--o-color-fill2);
|
|
175
175
|
color: var(--o-color-info1);
|
|
176
|
-
border-radius: var(--
|
|
176
|
+
border-radius: var(--o-radius-xs);
|
|
177
177
|
|
|
178
178
|
&:hover,
|
|
179
179
|
&.is-checked {
|
|
@@ -363,7 +363,7 @@ watch(
|
|
|
363
363
|
height: 100%;
|
|
364
364
|
min-height: calc(var(--layout-content-min-height) - 104px);
|
|
365
365
|
background-color: var(--o-color-fill2);
|
|
366
|
-
border-radius: var(--
|
|
366
|
+
border-radius: var(--o-radius-xs);
|
|
367
367
|
|
|
368
368
|
.search-captions {
|
|
369
369
|
display: flex;
|
|
@@ -371,8 +371,8 @@ watch(
|
|
|
371
371
|
gap: var(--o-gap-4);
|
|
372
372
|
|
|
373
373
|
.input-captions {
|
|
374
|
-
--input-radius: var(--
|
|
375
|
-
--_box-radius: var(--
|
|
374
|
+
--input-radius: var(--o-radius-xs);
|
|
375
|
+
--_box-radius: var(--o-radius-xs);
|
|
376
376
|
flex-grow: 1;
|
|
377
377
|
|
|
378
378
|
.o-icon {
|
|
@@ -443,7 +443,6 @@ watch(
|
|
|
443
443
|
.o-tab {
|
|
444
444
|
margin-top: var(--o-gap-5);
|
|
445
445
|
height: calc(100% - 64px);
|
|
446
|
-
--tab-nav-justify: flex-start;
|
|
447
446
|
|
|
448
447
|
.o-tab-navs {
|
|
449
448
|
justify-content: flex-start;
|
|
@@ -457,7 +456,7 @@ watch(
|
|
|
457
456
|
height: calc(100% - var(--o-line_height-text2) - var(--o-gap-4));
|
|
458
457
|
.o-tab-pane {
|
|
459
458
|
height: 100%;
|
|
460
|
-
padding-top: var(--o-gap-
|
|
459
|
+
padding-top: var(--o-gap-4);
|
|
461
460
|
|
|
462
461
|
.o-scroller {
|
|
463
462
|
height: 100%;
|
|
@@ -484,7 +483,7 @@ watch(
|
|
|
484
483
|
.captions-item {
|
|
485
484
|
padding: 4px 8px;
|
|
486
485
|
cursor: pointer;
|
|
487
|
-
border-radius: var(--
|
|
486
|
+
border-radius: var(--o-radius-xs);
|
|
488
487
|
@include hover {
|
|
489
488
|
background-color: rgba(var(--o-blue-6), 0.1);
|
|
490
489
|
}
|
|
@@ -501,7 +500,7 @@ watch(
|
|
|
501
500
|
width: 18px;
|
|
502
501
|
height: 18px;
|
|
503
502
|
border-radius: 50%;
|
|
504
|
-
background-color: var(--o-color-
|
|
503
|
+
background-color: var(--o-color-primary2);
|
|
505
504
|
color: var(--o-color-info1-inverse);
|
|
506
505
|
display: flex;
|
|
507
506
|
justify-content: center;
|
|
@@ -510,13 +509,13 @@ watch(
|
|
|
510
509
|
}
|
|
511
510
|
|
|
512
511
|
.speaker {
|
|
513
|
-
color: var(--o-color-
|
|
512
|
+
color: var(--o-color-info4);
|
|
514
513
|
margin-left: 4px;
|
|
515
514
|
@include tip2;
|
|
516
515
|
}
|
|
517
516
|
|
|
518
517
|
.start-time {
|
|
519
|
-
color: var(--o-color-
|
|
518
|
+
color: var(--o-color-info4);
|
|
520
519
|
margin-left: 16px;
|
|
521
520
|
@include tip2;
|
|
522
521
|
}
|
|
@@ -535,7 +534,7 @@ watch(
|
|
|
535
534
|
.text {
|
|
536
535
|
color: var(--o-color-info2);
|
|
537
536
|
margin-top: 8px;
|
|
538
|
-
@include
|
|
537
|
+
@include tip1;
|
|
539
538
|
|
|
540
539
|
.light-keyword {
|
|
541
540
|
background-color: rgba(var(--o-blue-6), 0.2);
|