@opendesign-plus/components 0.0.1-rc.21 → 0.0.1-rc.23
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 +3 -3
- package/dist/components/OHeaderSearch.vue.d.ts +58 -14
- package/dist/components/OThemeSwitcher.vue.d.ts +2 -5
- package/dist/components/activity/{OMyActivityCalendar.vue.d.ts → OActivityMyCalendar.vue.d.ts} +86 -24
- package/dist/components/activity/index.d.ts +45 -14
- package/dist/components/meeting/{OMyMeetingCalendar.vue.d.ts → OMeetingMyCalendar.vue.d.ts} +86 -24
- package/dist/components/meeting/index.d.ts +15 -301
- package/dist/components.cjs.js +36 -36
- package/dist/components.css +1 -1
- package/dist/components.es.js +7156 -7126
- package/package.json +3 -3
- package/src/assets/styles/element-plus.scss +204 -0
- package/src/components/OBanner.vue +18 -18
- package/src/components/OCookieNotice.vue +21 -21
- package/src/components/OFooter.vue +18 -17
- package/src/components/OHeaderSearch.vue +19 -19
- package/src/components/OHeaderUser.vue +3 -2
- package/src/components/OSection.vue +4 -4
- package/src/components/OThemeSwitcher.vue +51 -27
- package/src/components/activity/OActivityApproval.vue +14 -10
- package/src/components/activity/OActivityForm.vue +7 -5
- package/src/components/activity/{OMyActivityCalendar.vue → OActivityMyCalendar.vue} +69 -47
- package/src/components/activity/config.ts +1 -1
- package/src/components/activity/index.ts +4 -4
- package/src/components/common/ContentWrapper.vue +3 -3
- package/src/components/element-plus/OElCookieNotice.vue +26 -26
- package/src/components/events/OEventsApply.vue +46 -45
- package/src/components/events/OEventsCalendar.vue +21 -19
- package/src/components/events/OEventsList.vue +22 -20
- package/src/components/header/OHeader.vue +2 -2
- package/src/components/header/components/HeaderContent.vue +60 -60
- package/src/components/header/components/HeaderNav.vue +4 -4
- package/src/components/header/components/HeaderNavMobile.vue +3 -3
- package/src/components/meeting/OMeetingCalendar.vue +42 -39
- package/src/components/meeting/OMeetingForm.vue +32 -26
- package/src/components/meeting/{OMyMeetingCalendar.vue → OMeetingMyCalendar.vue} +97 -62
- package/src/components/meeting/OMeetingPlayback.vue +36 -12
- package/src/components/meeting/{OSigMeetingCalendar.vue → OMeetingSigCalendar.vue} +9 -6
- package/src/components/meeting/components/OMeetingCalendarList.vue +12 -12
- package/src/components/meeting/components/OMeetingCalendarSelector.vue +1 -1
- package/src/components/meeting/components/OMeetingDetail.vue +2 -2
- package/src/components/meeting/components/OMeetingPlaybackSubtitles.vue +11 -10
- package/src/components/meeting/components/OMeetingPlaybackVideo.vue +11 -11
- package/src/components/meeting/components/{OSigMeetingAside.vue → OMeetingSigAside.vue} +7 -7
- package/src/components/meeting/config.ts +1 -1
- package/src/components/meeting/index.ts +6 -6
- package/src/draft/Banner.vue +6 -6
- package/src/draft/ButtonCards.vue +1 -1
- package/src/draft/Feature.vue +6 -6
- package/src/draft/Footer.vue +29 -22
- package/src/draft/HorizontalAnchor.vue +4 -4
- package/src/draft/ItemSwiper.vue +2 -2
- package/src/draft/Logo.vue +3 -3
- package/src/draft/LogoCard.vue +2 -2
- package/src/draft/MultiCard.vue +1 -1
- package/src/draft/MultiIconCard.vue +1 -1
- package/src/draft/OInfoCard.vue +4 -4
- package/src/draft/Section.vue +4 -4
- package/src/draft/SingleTabCard.vue +1 -1
- package/src/draft/SliderCard.vue +4 -3
- package/src/i18n/en.ts +2 -2
- package/vite.config.ts +2 -2
- /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
|
@@ -21,7 +21,6 @@ import dayjs from 'dayjs';
|
|
|
21
21
|
import { useDebounceFn } from '@vueuse/core';
|
|
22
22
|
|
|
23
23
|
import IconCopy from '~icons/meeting/icon-copy.svg';
|
|
24
|
-
import IconEvent from '~icons/meeting/icon-event.svg';
|
|
25
24
|
|
|
26
25
|
import type { ActivityItemT, MyActivityCalendarPropsT, ParamsItemT } from './types';
|
|
27
26
|
import { useScreen } from '@opendesign-plus/composables';
|
|
@@ -30,10 +29,12 @@ import { useActivityConfig } from './composables/useActivityConfig';
|
|
|
30
29
|
import { CalendarDataType, MeetingItemT, PageParamsT } from '../meeting/types';
|
|
31
30
|
import OMeetingDetail from '@/components/meeting/components/OMeetingDetail.vue';
|
|
32
31
|
import { useI18n, Locales } from '@/i18n';
|
|
32
|
+
import { useMeetingConfig } from '@/components/meeting/composables/useMeetingConfig.ts';
|
|
33
33
|
|
|
34
34
|
const { t, locale } = useI18n();
|
|
35
35
|
const isZh = computed(() => locale.value === Locales.ZH);
|
|
36
36
|
const { statusMap, activityTypeMap } = useActivityConfig();
|
|
37
|
+
const { getConfig } = useMeetingConfig();
|
|
37
38
|
|
|
38
39
|
const formatMonthYear = (date: string | Date) => {
|
|
39
40
|
const d = dayjs(date || new Date());
|
|
@@ -545,6 +546,9 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
545
546
|
clickable: allDateList.includes(data.day),
|
|
546
547
|
approved: calcIfApproved(data.day),
|
|
547
548
|
}"
|
|
549
|
+
:style="{
|
|
550
|
+
'--dot-bg': `${getConfig(CalendarDataType.EVENTS, 'color')}`
|
|
551
|
+
}"
|
|
548
552
|
>
|
|
549
553
|
<div class="date-cell-text">
|
|
550
554
|
{{ Number(data.day.split('-')[2]) }}
|
|
@@ -602,9 +606,14 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
602
606
|
>
|
|
603
607
|
<template #title>
|
|
604
608
|
<div class="item-header-left">
|
|
605
|
-
<div
|
|
609
|
+
<div
|
|
610
|
+
class="act-icon"
|
|
611
|
+
:style="{
|
|
612
|
+
backgroundColor: `${getConfig(CalendarDataType.EVENTS, 'color')}`
|
|
613
|
+
}"
|
|
614
|
+
>
|
|
606
615
|
<OIcon>
|
|
607
|
-
<
|
|
616
|
+
<component :is="getConfig(CalendarDataType.EVENTS, 'icon')" />
|
|
608
617
|
</OIcon>
|
|
609
618
|
</div>
|
|
610
619
|
<div class="header-info">
|
|
@@ -634,7 +643,12 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
634
643
|
</div>
|
|
635
644
|
<div class="item-header-right"
|
|
636
645
|
v-if="row.content_url && !row.is_delete && [3,4,5,6].includes(row.status)">
|
|
637
|
-
<OLink
|
|
646
|
+
<OLink
|
|
647
|
+
:hover-underline="false"
|
|
648
|
+
v-if="row.content_url"
|
|
649
|
+
:href="row.content_url"
|
|
650
|
+
target="_blank"
|
|
651
|
+
rel="noopener noreferrer">
|
|
638
652
|
{{ t('meeting.activityDetail') }}
|
|
639
653
|
<template #suffix>
|
|
640
654
|
<OIcon>
|
|
@@ -643,6 +657,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
643
657
|
</template>
|
|
644
658
|
</OLink>
|
|
645
659
|
<OLink
|
|
660
|
+
:hover-underline="false"
|
|
646
661
|
v-if="
|
|
647
662
|
row.register_url && (
|
|
648
663
|
row.status === 3 ||
|
|
@@ -735,6 +750,8 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
735
750
|
<style lang="scss">
|
|
736
751
|
|
|
737
752
|
.o-my-activity-calendar {
|
|
753
|
+
--activity-card-radius: var(--o-radius-xs);
|
|
754
|
+
--activity-cell-radius: var(--o-radius-xs);
|
|
738
755
|
height: 100%;
|
|
739
756
|
display: flex;
|
|
740
757
|
flex-direction: column;
|
|
@@ -763,11 +780,11 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
763
780
|
gap: var(--o-gap-4);
|
|
764
781
|
height: 100%;
|
|
765
782
|
--phone-padding-top: 0;
|
|
766
|
-
@include respond
|
|
783
|
+
@include respond('pad_v') {
|
|
767
784
|
flex-direction: column;
|
|
768
785
|
gap: var(--o-gap-4);
|
|
769
786
|
}
|
|
770
|
-
@include respond
|
|
787
|
+
@include respond('phone') {
|
|
771
788
|
flex-direction: column;
|
|
772
789
|
gap: var(--o-gap-3);
|
|
773
790
|
--phone-padding-top: calc(var(--o-gap-5) + var(--o-gap-3) + var(--o-gap-3));
|
|
@@ -808,7 +825,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
808
825
|
}
|
|
809
826
|
}
|
|
810
827
|
|
|
811
|
-
@include respond
|
|
828
|
+
@include respond('phone') {
|
|
812
829
|
padding-top: var(--o-gap-7);
|
|
813
830
|
background-color: var(--o-color-ubmc-bg);
|
|
814
831
|
padding-bottom: var(--o-gap-4);
|
|
@@ -826,7 +843,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
826
843
|
.left-calendar {
|
|
827
844
|
width: 336px;
|
|
828
845
|
flex-shrink: 0;
|
|
829
|
-
@include respond
|
|
846
|
+
@include respond('pad_h') {
|
|
830
847
|
.el-calendar {
|
|
831
848
|
.el-calendar__body {
|
|
832
849
|
padding-left: 12px;
|
|
@@ -844,18 +861,18 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
844
861
|
}
|
|
845
862
|
}
|
|
846
863
|
}
|
|
847
|
-
@include respond
|
|
864
|
+
@include respond('pad_v') {
|
|
848
865
|
width: 100%;
|
|
849
866
|
}
|
|
850
|
-
@include respond
|
|
867
|
+
@include respond('phone') {
|
|
851
868
|
display: none;
|
|
852
869
|
}
|
|
853
870
|
|
|
854
871
|
.el-calendar {
|
|
855
872
|
min-height: 460px;
|
|
856
|
-
height:
|
|
873
|
+
height: 100%;
|
|
857
874
|
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
|
|
858
|
-
border-radius: var(--
|
|
875
|
+
border-radius: var(--activity-card-radius);
|
|
859
876
|
|
|
860
877
|
.el-calendar__header {
|
|
861
878
|
border-bottom: 1px solid var(--o-color-control4);
|
|
@@ -884,6 +901,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
884
901
|
|
|
885
902
|
.el-calendar__body {
|
|
886
903
|
.el-calendar-table {
|
|
904
|
+
display: table;
|
|
887
905
|
width: 100%;
|
|
888
906
|
|
|
889
907
|
th {
|
|
@@ -929,7 +947,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
929
947
|
.date-cell-text {
|
|
930
948
|
font-size: 14px;
|
|
931
949
|
line-height: 36px;
|
|
932
|
-
border-radius: var(--
|
|
950
|
+
border-radius: var(--activity-cell-radius);
|
|
933
951
|
background-color: var(--o-color-control2-light);
|
|
934
952
|
border: 1px solid transparent;
|
|
935
953
|
}
|
|
@@ -977,19 +995,19 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
977
995
|
|
|
978
996
|
&.clickable {
|
|
979
997
|
&::after {
|
|
980
|
-
background-color: rgb(var(--o-
|
|
998
|
+
background-color: rgb(var(--o-grey-6));
|
|
981
999
|
}
|
|
982
1000
|
|
|
983
1001
|
&.approved::after {
|
|
984
|
-
background-color:
|
|
1002
|
+
background-color: var(--dot-bg);
|
|
985
1003
|
}
|
|
986
1004
|
|
|
987
1005
|
&.expired::after {
|
|
988
|
-
background-color: rgb(var(--o-
|
|
1006
|
+
background-color: rgb(var(--o-grey-6));
|
|
989
1007
|
}
|
|
990
1008
|
|
|
991
1009
|
&.all-deleted::after {
|
|
992
|
-
background-color: rgb(var(--o-
|
|
1010
|
+
background-color: rgb(var(--o-grey-6));
|
|
993
1011
|
}
|
|
994
1012
|
}
|
|
995
1013
|
}
|
|
@@ -1008,7 +1026,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1008
1026
|
flex-grow: 1;
|
|
1009
1027
|
background-color: var(--o-color-fill2);
|
|
1010
1028
|
|
|
1011
|
-
@include respond
|
|
1029
|
+
@include respond('phone') {
|
|
1012
1030
|
margin-top: calc(var(--phone-padding-top) - var(--o-gap-4));
|
|
1013
1031
|
}
|
|
1014
1032
|
|
|
@@ -1028,7 +1046,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1028
1046
|
.scroller-container {
|
|
1029
1047
|
height: 100%;
|
|
1030
1048
|
max-height: calc(var(--layout-left-height, 900px) - 4 * var(--o-gap-5) - var(--header-height) * 1px);
|
|
1031
|
-
@include respond
|
|
1049
|
+
@include respond('phone') {
|
|
1032
1050
|
max-height: fit-content;
|
|
1033
1051
|
}
|
|
1034
1052
|
|
|
@@ -1040,7 +1058,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1040
1058
|
flex-grow: 1;
|
|
1041
1059
|
}
|
|
1042
1060
|
|
|
1043
|
-
@include respond
|
|
1061
|
+
@include respond('phone') {
|
|
1044
1062
|
padding-left: var(--o-gap-2);
|
|
1045
1063
|
}
|
|
1046
1064
|
|
|
@@ -1069,13 +1087,13 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1069
1087
|
width: 16px;
|
|
1070
1088
|
height: 26px;
|
|
1071
1089
|
position: relative;
|
|
1072
|
-
@include respond
|
|
1090
|
+
@include respond('laptop') {
|
|
1073
1091
|
height: 24px;
|
|
1074
1092
|
}
|
|
1075
|
-
@include respond
|
|
1093
|
+
@include respond('pad_h') {
|
|
1076
1094
|
height: 22px;
|
|
1077
1095
|
}
|
|
1078
|
-
@include respond
|
|
1096
|
+
@include respond('<=pad_v') {
|
|
1079
1097
|
height: 22px;
|
|
1080
1098
|
}
|
|
1081
1099
|
|
|
@@ -1128,7 +1146,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1128
1146
|
margin-bottom: var(--o-gap-2);
|
|
1129
1147
|
color: var(--o-color-info1);
|
|
1130
1148
|
@include text2;
|
|
1131
|
-
@include respond
|
|
1149
|
+
@include respond('phone') {
|
|
1132
1150
|
padding-left: var(--o-gap-5);
|
|
1133
1151
|
}
|
|
1134
1152
|
|
|
@@ -1143,7 +1161,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1143
1161
|
.list-body {
|
|
1144
1162
|
height: 100%;
|
|
1145
1163
|
|
|
1146
|
-
@include respond
|
|
1164
|
+
@include respond('phone') {
|
|
1147
1165
|
height: fit-content;
|
|
1148
1166
|
padding: var(--o-gap-4) !important;
|
|
1149
1167
|
}
|
|
@@ -1158,7 +1176,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1158
1176
|
@include hover {
|
|
1159
1177
|
--btn-color: var(--o-color-primary2);
|
|
1160
1178
|
}
|
|
1161
|
-
@include respond
|
|
1179
|
+
@include respond('phone') {
|
|
1162
1180
|
display: none;
|
|
1163
1181
|
}
|
|
1164
1182
|
|
|
@@ -1194,49 +1212,49 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1194
1212
|
}
|
|
1195
1213
|
|
|
1196
1214
|
.height-placeholder {
|
|
1197
|
-
height: 0;
|
|
1198
|
-
transition: margin var(--o-easing-standard) var(--o-duration-s);
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
.o-collapse-item-expanded + .height-placeholder {
|
|
1202
1215
|
height: var(--o-gap-4);
|
|
1203
1216
|
}
|
|
1204
1217
|
|
|
1205
1218
|
.o-collapse-item {
|
|
1206
1219
|
padding: var(--o-gap-4) var(--o-gap-5);
|
|
1220
|
+
padding-bottom: calc(var(--o-gap-5) - var(--o-gap-4));
|
|
1207
1221
|
border-top: none;
|
|
1208
|
-
border-radius: var(--
|
|
1222
|
+
border-radius: var(--activity-card-radius);
|
|
1209
1223
|
transition: margin var(--o-easing-standard) var(--o-duration-s);
|
|
1210
1224
|
--copy-display: none;
|
|
1211
1225
|
--icon-size: 24px;
|
|
1212
|
-
@include respond
|
|
1226
|
+
@include respond('<=pad_v') {
|
|
1213
1227
|
padding: var(--o-gap-3) var(--o-gap-4);
|
|
1214
1228
|
}
|
|
1215
1229
|
|
|
1216
1230
|
&:hover {
|
|
1217
|
-
|
|
1231
|
+
.title-text {
|
|
1232
|
+
color: var(--o-color-primary1);
|
|
1233
|
+
}
|
|
1234
|
+
@include respond('>pad_v') {
|
|
1218
1235
|
--copy-display: inline-flex;
|
|
1219
1236
|
}
|
|
1220
1237
|
}
|
|
1221
1238
|
|
|
1222
|
-
@include respond
|
|
1239
|
+
@include respond('phone') {
|
|
1223
1240
|
--icon-size: 20px;
|
|
1224
1241
|
}
|
|
1225
1242
|
|
|
1226
1243
|
&.o-collapse-item-expanded {
|
|
1227
|
-
|
|
1244
|
+
border-bottom: none;
|
|
1245
|
+
background-color: color-mix(in srgb, var(--o-color-control2-light) 40%, transparent);
|
|
1246
|
+
@include respond('<=pad_v') {
|
|
1228
1247
|
--copy-display: inline-flex;
|
|
1229
1248
|
}
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
1249
|
|
|
1233
|
-
|
|
1234
|
-
|
|
1250
|
+
.o-collapse-item-header {
|
|
1251
|
+
border-bottom: 1px solid var(--o-color-control4);
|
|
1252
|
+
}
|
|
1235
1253
|
}
|
|
1236
1254
|
}
|
|
1237
1255
|
|
|
1238
1256
|
.o-collapse-item-header {
|
|
1239
|
-
border-bottom:
|
|
1257
|
+
border-bottom: none;
|
|
1240
1258
|
padding-top: 0;
|
|
1241
1259
|
padding-bottom: var(--o-gap-4);
|
|
1242
1260
|
display: flex;
|
|
@@ -1248,7 +1266,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1248
1266
|
position: relative;
|
|
1249
1267
|
top: 4px;
|
|
1250
1268
|
flex-shrink: 0;
|
|
1251
|
-
@include respond
|
|
1269
|
+
@include respond('phone') {
|
|
1252
1270
|
position: absolute;
|
|
1253
1271
|
right: 0;
|
|
1254
1272
|
width: 20px;
|
|
@@ -1275,7 +1293,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1275
1293
|
gap: var(--o-gap-3);
|
|
1276
1294
|
width: 100%;
|
|
1277
1295
|
padding-right: 48px;
|
|
1278
|
-
@include respond
|
|
1296
|
+
@include respond('phone') {
|
|
1279
1297
|
flex-grow: 1;
|
|
1280
1298
|
width: 100%;
|
|
1281
1299
|
align-self: stretch;
|
|
@@ -1325,7 +1343,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1325
1343
|
|
|
1326
1344
|
.o-tag {
|
|
1327
1345
|
margin-left: 8px;
|
|
1328
|
-
--tag-radius:
|
|
1346
|
+
--tag-radius: var(--activity-cell-radius);
|
|
1329
1347
|
font-weight: 500;
|
|
1330
1348
|
padding: 0 8px;
|
|
1331
1349
|
height: 24px;
|
|
@@ -1368,6 +1386,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1368
1386
|
color: var(--o-color-info3);
|
|
1369
1387
|
display: flex;
|
|
1370
1388
|
align-items: center;
|
|
1389
|
+
font-weight: 400;
|
|
1371
1390
|
@include tip1;
|
|
1372
1391
|
|
|
1373
1392
|
.date-range {
|
|
@@ -1386,6 +1405,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1386
1405
|
gap: var(--o-gap-4);
|
|
1387
1406
|
margin-top: var(--o-gap-2);
|
|
1388
1407
|
width: 100%;
|
|
1408
|
+
font-weight: 400;
|
|
1389
1409
|
|
|
1390
1410
|
.o-link {
|
|
1391
1411
|
font-size: 14px;
|
|
@@ -1409,7 +1429,8 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1409
1429
|
height: 18px;
|
|
1410
1430
|
width: 18px;
|
|
1411
1431
|
display: var(--copy-display);
|
|
1412
|
-
|
|
1432
|
+
color: var(--o-color-info1);
|
|
1433
|
+
@include respond('phone') {
|
|
1413
1434
|
bottom: var(--o-gap-2);
|
|
1414
1435
|
transform: revert;
|
|
1415
1436
|
top: revert;
|
|
@@ -1435,7 +1456,7 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1435
1456
|
|
|
1436
1457
|
.activity-detail {
|
|
1437
1458
|
padding-left: calc(var(--o-gap-3) + var(--icon-size));
|
|
1438
|
-
@include respond
|
|
1459
|
+
@include respond('phone') {
|
|
1439
1460
|
padding-left: 0;
|
|
1440
1461
|
}
|
|
1441
1462
|
|
|
@@ -1483,8 +1504,9 @@ const deleteActions = computed<DialogActionT[]>(() => {
|
|
|
1483
1504
|
|
|
1484
1505
|
<style lang="scss">
|
|
1485
1506
|
.handle-dialog-active {
|
|
1507
|
+
--activity-card-radius: var(--o-radius-xs);
|
|
1486
1508
|
width: 450px;
|
|
1487
|
-
--dlg-radius: var(--
|
|
1509
|
+
--dlg-radius: var(--activity-card-radius);
|
|
1488
1510
|
|
|
1489
1511
|
.o-dlg-header {
|
|
1490
1512
|
margin-bottom: var(--o-gap-5);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const WEBSITE_REGEXP = /^
|
|
1
|
+
export const WEBSITE_REGEXP = /^https?:\/\/\S+/;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _OActivityForm from './OActivityForm.vue';
|
|
2
2
|
import _OActivityApproval from './OActivityApproval.vue';
|
|
3
|
-
import
|
|
3
|
+
import _OActivityMyCalendar from './OActivityMyCalendar.vue';
|
|
4
4
|
import type { App } from 'vue';
|
|
5
5
|
|
|
6
6
|
|
|
@@ -14,11 +14,11 @@ const OActivityApproval = Object.assign(_OActivityApproval, {
|
|
|
14
14
|
app.component('OActivityApproval', _OActivityApproval);
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
|
-
const
|
|
17
|
+
const OActivityMyCalendar = Object.assign(_OActivityMyCalendar, {
|
|
18
18
|
install(app: App) {
|
|
19
|
-
app.component('
|
|
19
|
+
app.component('OActivityMyCalendar', OActivityMyCalendar);
|
|
20
20
|
},
|
|
21
21
|
});
|
|
22
22
|
|
|
23
|
-
export { OActivityForm, OActivityApproval,
|
|
23
|
+
export { OActivityForm, OActivityApproval, OActivityMyCalendar };
|
|
24
24
|
export * from './types';
|
|
@@ -59,16 +59,16 @@ const paddingBottom = computed(() => {
|
|
|
59
59
|
--layout-content-padding: 64px;
|
|
60
60
|
--layout-header-height: 80px;
|
|
61
61
|
|
|
62
|
-
@include respond
|
|
62
|
+
@include respond('<=laptop') {
|
|
63
63
|
--layout-content-max-width: 100%;
|
|
64
64
|
--layout-content-padding: 40px;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
@include respond
|
|
67
|
+
@include respond('<=pad') {
|
|
68
68
|
--layout-content-padding: 32px;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
@include respond
|
|
71
|
+
@include respond('phone') {
|
|
72
72
|
--layout-content-padding: 24px;
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -291,7 +291,7 @@ defineExpose({
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
.cookie-notice-content {
|
|
294
|
-
background-color: rgba(var(--o-
|
|
294
|
+
background-color: rgba(var(--o-grey-1), 0.9);
|
|
295
295
|
backdrop-filter: blur(5px);
|
|
296
296
|
box-shadow: var(--o-shadow-1);
|
|
297
297
|
}
|
|
@@ -304,13 +304,13 @@ defineExpose({
|
|
|
304
304
|
@media (1680px >= width >= 1201px) {
|
|
305
305
|
padding: 12px var(--layout-content-padding);
|
|
306
306
|
}
|
|
307
|
-
@include respond
|
|
307
|
+
@include respond('pad_h') {
|
|
308
308
|
padding: 8px var(--layout-content-padding);
|
|
309
309
|
}
|
|
310
310
|
@media (max-width: 840px) {
|
|
311
311
|
padding: 16px var(--layout-content-padding);
|
|
312
312
|
}
|
|
313
|
-
@include respond
|
|
313
|
+
@include respond('phone') {
|
|
314
314
|
padding: 16px var(--layout-content-padding);
|
|
315
315
|
}
|
|
316
316
|
&:not([type='zh']) {
|
|
@@ -327,13 +327,13 @@ defineExpose({
|
|
|
327
327
|
@media (1680px >= width >= 1201px) {
|
|
328
328
|
padding: 12px 0;
|
|
329
329
|
}
|
|
330
|
-
@include respond
|
|
330
|
+
@include respond('pad_h') {
|
|
331
331
|
padding: 8px 0;
|
|
332
332
|
}
|
|
333
333
|
@media (max-width: 840px) {
|
|
334
334
|
padding: 16px 0;
|
|
335
335
|
}
|
|
336
|
-
@include respond
|
|
336
|
+
@include respond('phone') {
|
|
337
337
|
padding: 16px 0;
|
|
338
338
|
}
|
|
339
339
|
&:not([type='zh']) {
|
|
@@ -353,13 +353,13 @@ defineExpose({
|
|
|
353
353
|
@media (max-width: 1680px) {
|
|
354
354
|
font-size: 14px;
|
|
355
355
|
}
|
|
356
|
-
@include respond
|
|
356
|
+
@include respond('<=pad_v') {
|
|
357
357
|
text-align: center;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
.cookie-en-title {
|
|
362
|
-
@include respond
|
|
362
|
+
@include respond('<=pad_v') {
|
|
363
363
|
margin-left: auto;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
@@ -369,7 +369,7 @@ defineExpose({
|
|
|
369
369
|
line-height: 22px;
|
|
370
370
|
margin-right: 8px;
|
|
371
371
|
text-align: start;
|
|
372
|
-
@include respond
|
|
372
|
+
@include respond('<=pad_v') {
|
|
373
373
|
font-size: 12px;
|
|
374
374
|
line-height: 18px;
|
|
375
375
|
}
|
|
@@ -379,7 +379,7 @@ defineExpose({
|
|
|
379
379
|
display: flex;
|
|
380
380
|
width: 100%;
|
|
381
381
|
margin-top: 8px;
|
|
382
|
-
@include respond
|
|
382
|
+
@include respond('<=pad_v') {
|
|
383
383
|
flex-direction: column;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
@@ -394,10 +394,10 @@ defineExpose({
|
|
|
394
394
|
@media (1680px >= width >= 1201px) {
|
|
395
395
|
margin-right: 40px;
|
|
396
396
|
}
|
|
397
|
-
@include respond
|
|
397
|
+
@include respond('pad') {
|
|
398
398
|
margin-right: 24px;
|
|
399
399
|
}
|
|
400
|
-
@include respond
|
|
400
|
+
@include respond('<=pad_v') {
|
|
401
401
|
margin: 0;
|
|
402
402
|
}
|
|
403
403
|
}
|
|
@@ -411,7 +411,7 @@ defineExpose({
|
|
|
411
411
|
@media (1680px >= width >= 1201px) {
|
|
412
412
|
margin-left: 12px;
|
|
413
413
|
}
|
|
414
|
-
@include respond
|
|
414
|
+
@include respond('pad_h') {
|
|
415
415
|
margin-left: 8px;
|
|
416
416
|
}
|
|
417
417
|
@media (min-width: 841px) {
|
|
@@ -419,7 +419,7 @@ defineExpose({
|
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
@include respond
|
|
422
|
+
@include respond('<=pad_v') {
|
|
423
423
|
margin-top: 16px;
|
|
424
424
|
width: 100%;
|
|
425
425
|
display: grid;
|
|
@@ -464,7 +464,7 @@ defineExpose({
|
|
|
464
464
|
@media (1680px >= width >= 1201px) {
|
|
465
465
|
margin-top: 16px;
|
|
466
466
|
}
|
|
467
|
-
@include respond
|
|
467
|
+
@include respond('<=pad') {
|
|
468
468
|
margin-top: 12px;
|
|
469
469
|
}
|
|
470
470
|
&:nth-child(2) {
|
|
@@ -485,7 +485,7 @@ defineExpose({
|
|
|
485
485
|
@media (1680px >= width >= 1201px) {
|
|
486
486
|
font-size: 18px;
|
|
487
487
|
}
|
|
488
|
-
@include respond
|
|
488
|
+
@include respond('<=pad') {
|
|
489
489
|
font-size: 16px;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
@@ -494,7 +494,7 @@ defineExpose({
|
|
|
494
494
|
font-size: 14px;
|
|
495
495
|
color: var(--o-color-info3);
|
|
496
496
|
margin-left: 24px;
|
|
497
|
-
@include respond
|
|
497
|
+
@include respond('<=pad') {
|
|
498
498
|
font-size: 12px;
|
|
499
499
|
}
|
|
500
500
|
}
|
|
@@ -508,7 +508,7 @@ defineExpose({
|
|
|
508
508
|
margin-top: 12px;
|
|
509
509
|
font-size: 14px;
|
|
510
510
|
}
|
|
511
|
-
@include respond
|
|
511
|
+
@include respond('<=pad') {
|
|
512
512
|
margin-top: 8px;
|
|
513
513
|
}
|
|
514
514
|
@media (max-width: 840px) {
|
|
@@ -524,7 +524,7 @@ defineExpose({
|
|
|
524
524
|
@media (1680px >= width >= 1201px) {
|
|
525
525
|
font-size: 20px;
|
|
526
526
|
}
|
|
527
|
-
@include respond
|
|
527
|
+
@include respond('<=pad') {
|
|
528
528
|
font-size: 18px;
|
|
529
529
|
}
|
|
530
530
|
}
|
|
@@ -550,29 +550,29 @@ defineExpose({
|
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
:deep(.el-dialog) {
|
|
553
|
-
@include respond
|
|
553
|
+
@include respond('<=pad_v') {
|
|
554
554
|
--el-dialog-width: 100vw;
|
|
555
555
|
}
|
|
556
556
|
&.grid-width-dlg {
|
|
557
|
-
@include respond
|
|
557
|
+
@include respond('>pad') {
|
|
558
558
|
--el-dialog-width: var(--grid-14);
|
|
559
559
|
}
|
|
560
|
-
@include respond
|
|
560
|
+
@include respond('pad_h') {
|
|
561
561
|
--el-dialog-width: var(--grid-8);
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
:deep(.el-dialog) {
|
|
567
|
-
--el-bg-color: var(--o-color-
|
|
567
|
+
--el-bg-color: var(--o-color-control5-light);
|
|
568
568
|
--el-dialog-padding-primary: 32px;
|
|
569
|
-
@include respond
|
|
569
|
+
@include respond('laptop') {
|
|
570
570
|
--el-dialog-padding-primary: 24px;
|
|
571
571
|
}
|
|
572
|
-
@include respond
|
|
572
|
+
@include respond('pad_h') {
|
|
573
573
|
--el-dialog-padding-primary: 16px;
|
|
574
574
|
}
|
|
575
|
-
@include respond
|
|
575
|
+
@include respond('phone') {
|
|
576
576
|
--el-dialog-padding-primary: 16px 24px;
|
|
577
577
|
}
|
|
578
578
|
.el-dialog__header {
|
|
@@ -586,7 +586,7 @@ defineExpose({
|
|
|
586
586
|
@media (1680px >= width >= 1201px) {
|
|
587
587
|
margin-top: 16px;
|
|
588
588
|
}
|
|
589
|
-
@include respond
|
|
589
|
+
@include respond('<=pad_h') {
|
|
590
590
|
margin-top: 12px;
|
|
591
591
|
}
|
|
592
592
|
.el-button+.el-button {
|