@opendesign-plus/components 0.0.1-rc.39 → 0.0.1-rc.40
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 +52 -54
- package/dist/components/header/OHeader.vue.d.ts +7 -1
- package/dist/components/header/OHeaderMobile.vue.d.ts +6 -14
- package/dist/components/header/components/HeaderFlatten.vue.d.ts +19 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +3 -0
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +0 -2
- package/dist/components/header/index.d.ts +18 -10
- package/dist/components/header/types.d.ts +8 -4
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +5 -2
- package/dist/components/header-search/index.d.ts +3 -0
- package/dist/components/header-user/OHeaderUser.vue.d.ts +2 -6
- package/dist/components/header-user/index.d.ts +3 -18
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +6 -1
- package/dist/components/meeting/index.d.ts +18 -5
- package/dist/components/meeting/types.d.ts +1 -0
- package/dist/components.cjs.js +39 -39
- package/dist/components.css +1 -1
- package/dist/components.es.js +10188 -9853
- package/dist/treeshaking/_virtual/icon-avatar-line.mjs +1 -2
- package/dist/treeshaking/_virtual/icon-chevron-right.mjs +4 -1
- package/dist/treeshaking/_virtual/icon-header-search.mjs +4 -10
- package/dist/treeshaking/_virtual/icon-locale.mjs +0 -1
- package/dist/treeshaking/_virtual/icon-moon.mjs +0 -1
- package/dist/treeshaking/_virtual/icon-sun.mjs +0 -1
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.mjs +1 -1
- package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +145 -145
- package/dist/treeshaking/components/header/OHeader.css +42 -11
- package/dist/treeshaking/components/header/OHeader.vue.d.ts +7 -1
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +66 -41
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +6 -14
- package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +2 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +317 -555
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +170 -137
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +267 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.d.ts +19 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +7 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +298 -0
- package/dist/treeshaking/components/header/components/HeaderNav.css +93 -34
- package/dist/treeshaking/components/header/components/HeaderNav.vue.d.ts +3 -0
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +20 -7
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +108 -130
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +0 -2
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +128 -123
- package/dist/treeshaking/components/header/index.d.ts +18 -10
- package/dist/treeshaking/components/header/types.d.ts +8 -4
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +45 -38
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.css +65 -38
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +5 -2
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +25 -10
- package/dist/treeshaking/components/header-search/index.d.ts +3 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +87 -50
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.css +105 -50
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +2 -6
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +46 -33
- package/dist/treeshaking/components/header-user/OHeaderUser2.css +5 -41
- package/dist/treeshaking/components/header-user/index.d.ts +3 -18
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +30 -1
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +6 -1
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +58 -33
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +2 -2
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +4 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +10 -16
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +25 -72
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +6 -1
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +105 -92
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.css +6 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.mjs +59 -50
- package/dist/treeshaking/components/meeting/index.d.ts +18 -5
- package/dist/treeshaking/components/meeting/types.d.ts +1 -0
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +66 -40
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
- package/dist/treeshaking/components/search/internal/SearchPanel.css +221 -115
- package/dist/treeshaking/components/search/internal/SearchPanel.vue.mjs +1 -1
- package/dist/treeshaking/components/search/internal/SearchPanel.vue2.mjs +49 -43
- package/dist/treeshaking/i18n/en.mjs +6 -7
- package/dist/treeshaking/i18n/zh.mjs +6 -7
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-3a35e509] {
|
|
2
2
|
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
3
|
}
|
|
4
4
|
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-3a35e509] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.header-user[data-v-
|
|
9
|
+
.header-user[data-v-3a35e509] {
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
height: 100%;
|
|
@@ -14,70 +14,61 @@
|
|
|
14
14
|
opacity: 1;
|
|
15
15
|
transition: opacity 0.15s;
|
|
16
16
|
}
|
|
17
|
-
.user-info[data-v-
|
|
17
|
+
.user-info[data-v-3a35e509] {
|
|
18
18
|
height: 100%;
|
|
19
19
|
min-width: 32px;
|
|
20
20
|
display: flex;
|
|
21
21
|
cursor: pointer;
|
|
22
22
|
}
|
|
23
|
-
.info-wrap[data-v-
|
|
23
|
+
.info-wrap[data-v-3a35e509] {
|
|
24
24
|
height: calc(100% - 10px);
|
|
25
25
|
margin: 5px 0;
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: center;
|
|
28
28
|
}
|
|
29
|
-
.info-wrap .icon[data-v-
|
|
29
|
+
.info-wrap .icon[data-v-3a35e509] {
|
|
30
30
|
margin-left: 4px;
|
|
31
31
|
}
|
|
32
|
-
.user-avatar[data-v-
|
|
32
|
+
.user-avatar[data-v-3a35e509] {
|
|
33
33
|
margin-right: 4px;
|
|
34
34
|
}
|
|
35
|
-
.user-avatar[data-v-
|
|
35
|
+
.user-avatar[data-v-3a35e509] .o-badge-content {
|
|
36
36
|
--badge-dot-size: 6px;
|
|
37
37
|
right: 7px;
|
|
38
38
|
top: 2px;
|
|
39
39
|
}
|
|
40
|
-
.o-
|
|
41
|
-
|
|
42
|
-
--dropdown-item-color: var(--o-color-info1);
|
|
43
|
-
--dropdown-item-padding: 5px 12px;
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
line-height: 22px;
|
|
46
|
-
}
|
|
47
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
48
|
-
.o-dropdown-item[data-v-22ffeea2] {
|
|
49
|
-
font-size: 12px;
|
|
50
|
-
line-height: 18px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
54
|
-
.o-dropdown-item[data-v-22ffeea2] {
|
|
55
|
-
font-size: 12px;
|
|
56
|
-
line-height: 18px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
60
|
-
.o-dropdown-item[data-v-22ffeea2] {
|
|
61
|
-
font-size: 12px;
|
|
62
|
-
line-height: 18px;
|
|
63
|
-
}
|
|
40
|
+
.o-badge[data-v-3a35e509] {
|
|
41
|
+
display: flex;
|
|
64
42
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
43
|
+
.o-dropdown[data-v-3a35e509] {
|
|
44
|
+
height: 100%;
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
69
47
|
}
|
|
48
|
+
.o-dropdown-item[data-v-3a35e509] {
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
background: var(--o-color-control5-light);
|
|
51
|
+
--dropdown-item-color: var(--o-color-info2);
|
|
52
|
+
border-radius: var(--o-radius_control-xs);
|
|
53
|
+
padding: var(--o-gap-1) var(--o-gap-3);
|
|
54
|
+
height: 32px;
|
|
55
|
+
--dropdown-item-text-size: 14px;
|
|
56
|
+
--dropdown-item-text-height: 22px;
|
|
70
57
|
}
|
|
71
58
|
@media (hover: hover) {
|
|
72
|
-
.o-dropdown-item[data-v-
|
|
73
|
-
color: var(--o-color-primary1);
|
|
59
|
+
.o-dropdown-item[data-v-3a35e509]:hover {
|
|
74
60
|
background: var(--o-color-control2-light);
|
|
75
61
|
}
|
|
76
62
|
}
|
|
77
|
-
.
|
|
63
|
+
.o-dropdown-item[data-v-3a35e509]:active {
|
|
64
|
+
color: var(--o-color-primary1);
|
|
65
|
+
background: var(--o-color-control3-light);
|
|
66
|
+
font-weight: 600;
|
|
67
|
+
}
|
|
68
|
+
.notice-not[data-v-3a35e509] .o-badge-content {
|
|
78
69
|
display: none;
|
|
79
70
|
}
|
|
80
|
-
.user-account[data-v-
|
|
71
|
+
.user-account[data-v-3a35e509] {
|
|
81
72
|
color: var(--o-color-info1);
|
|
82
73
|
max-width: 96px;
|
|
83
74
|
font-weight: 500;
|
|
@@ -85,30 +76,30 @@
|
|
|
85
76
|
line-height: 22px;
|
|
86
77
|
}
|
|
87
78
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
88
|
-
.user-account[data-v-
|
|
79
|
+
.user-account[data-v-3a35e509] {
|
|
89
80
|
font-size: 12px;
|
|
90
81
|
line-height: 18px;
|
|
91
82
|
}
|
|
92
83
|
}
|
|
93
84
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
94
|
-
.user-account[data-v-
|
|
85
|
+
.user-account[data-v-3a35e509] {
|
|
95
86
|
font-size: 12px;
|
|
96
87
|
line-height: 18px;
|
|
97
88
|
}
|
|
98
89
|
}
|
|
99
90
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
100
|
-
.user-account[data-v-
|
|
91
|
+
.user-account[data-v-3a35e509] {
|
|
101
92
|
font-size: 12px;
|
|
102
93
|
line-height: 18px;
|
|
103
94
|
}
|
|
104
95
|
}
|
|
105
96
|
@media (max-width: 600px) {
|
|
106
|
-
.user-account[data-v-
|
|
97
|
+
.user-account[data-v-3a35e509] {
|
|
107
98
|
font-size: 12px;
|
|
108
99
|
line-height: 18px;
|
|
109
100
|
}
|
|
110
101
|
}
|
|
111
|
-
.user-account[data-v-
|
|
102
|
+
.user-account[data-v-3a35e509] {
|
|
112
103
|
overflow: hidden;
|
|
113
104
|
text-overflow: ellipsis;
|
|
114
105
|
word-break: break-all;
|
|
@@ -116,20 +107,84 @@
|
|
|
116
107
|
-webkit-box-orient: vertical;
|
|
117
108
|
-webkit-line-clamp: 1;
|
|
118
109
|
}
|
|
110
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
111
|
+
.user-account[data-v-3a35e509] {
|
|
112
|
+
font-size: 16px;
|
|
113
|
+
line-height: 24px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
117
|
+
.user-account[data-v-3a35e509] {
|
|
118
|
+
font-size: 14px;
|
|
119
|
+
line-height: 22px;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 841px) and (max-width: 1200px) {
|
|
123
|
+
.user-account[data-v-3a35e509] {
|
|
124
|
+
font-size: 14px;
|
|
125
|
+
line-height: 22px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 601px) and (max-width: 840px) {
|
|
129
|
+
.user-account[data-v-3a35e509] {
|
|
130
|
+
font-size: 14px;
|
|
131
|
+
line-height: 22px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
@media (min-width: 1201px) and (max-width: 1680px) and (max-width: 600px) {
|
|
135
|
+
.user-account[data-v-3a35e509] {
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
line-height: 18px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
@media (max-width: 1200px) {
|
|
141
|
+
.user-account[data-v-3a35e509] {
|
|
142
|
+
font-size: 18px;
|
|
143
|
+
line-height: 26px;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
@media (max-width: 1200px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
147
|
+
.user-account[data-v-3a35e509] {
|
|
148
|
+
font-size: 16px;
|
|
149
|
+
line-height: 24px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
@media (max-width: 1200px) and (min-width: 841px) and (max-width: 1200px) {
|
|
153
|
+
.user-account[data-v-3a35e509] {
|
|
154
|
+
font-size: 14px;
|
|
155
|
+
line-height: 22px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
@media (max-width: 1200px) and (min-width: 601px) and (max-width: 840px) {
|
|
159
|
+
.user-account[data-v-3a35e509] {
|
|
160
|
+
font-size: 14px;
|
|
161
|
+
line-height: 22px;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
@media (max-width: 1200px) and (max-width: 600px) {
|
|
165
|
+
.user-account[data-v-3a35e509] {
|
|
166
|
+
font-size: 14px;
|
|
167
|
+
line-height: 22px;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
119
170
|
@media (max-width: 840px) {
|
|
120
|
-
.header-user[data-v-
|
|
171
|
+
.header-user[data-v-3a35e509] {
|
|
121
172
|
min-width: auto;
|
|
122
173
|
}
|
|
123
|
-
.header-user .user-info[data-v-
|
|
174
|
+
.header-user .user-info[data-v-3a35e509] {
|
|
124
175
|
min-width: 24px;
|
|
125
176
|
}
|
|
126
|
-
.header-user .user-info .info-wrap
|
|
177
|
+
.header-user .user-info .info-wrap[data-v-3a35e509] {
|
|
178
|
+
height: auto;
|
|
179
|
+
margin: 0;
|
|
180
|
+
}
|
|
181
|
+
.header-user .user-info .info-wrap .user-avatar[data-v-3a35e509] {
|
|
127
182
|
margin-right: 0;
|
|
128
183
|
}
|
|
129
|
-
.header-user .user-info .info-wrap .user-account[data-v-
|
|
184
|
+
.header-user .user-info .info-wrap .user-account[data-v-3a35e509] {
|
|
130
185
|
display: none;
|
|
131
186
|
}
|
|
132
|
-
.header-user .user-info .info-wrap .icon[data-v-
|
|
187
|
+
.header-user .user-info .info-wrap .icon[data-v-3a35e509] {
|
|
133
188
|
display: none;
|
|
134
189
|
}
|
|
135
190
|
}
|
|
@@ -18,6 +18,7 @@ export interface UserPropsT {
|
|
|
18
18
|
userInfo?: UserInfoT;
|
|
19
19
|
options?: OptionsItemT[];
|
|
20
20
|
customSize?: number;
|
|
21
|
+
simple?: boolean;
|
|
21
22
|
}
|
|
22
23
|
export interface OHeaderUserEmitsT {
|
|
23
24
|
(e: 'login'): void;
|
|
@@ -30,11 +31,6 @@ declare const _default: import('vue').DefineComponent<UserPropsT, {}, {}, {}, {}
|
|
|
30
31
|
onLogin?: (() => any) | undefined;
|
|
31
32
|
onLogout?: (() => any) | undefined;
|
|
32
33
|
}>, {
|
|
33
|
-
|
|
34
|
-
lang: string;
|
|
35
|
-
customSize: number;
|
|
36
|
-
token: string;
|
|
37
|
-
noticeTotal: number;
|
|
38
|
-
userInfo: UserInfoT;
|
|
34
|
+
simple: boolean;
|
|
39
35
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
36
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import _sfc_main from "./OHeaderUser.vue2.mjs";
|
|
|
2
2
|
import './OHeaderUser.css';
|
|
3
3
|
import './OHeaderUser2.css';
|
|
4
4
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const _OHeaderUser = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
const _OHeaderUser = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3a35e509"]]);
|
|
6
6
|
export {
|
|
7
7
|
_OHeaderUser as default
|
|
8
8
|
};
|
|
@@ -10,17 +10,21 @@ const _hoisted_2 = {
|
|
|
10
10
|
class: "user-info"
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_3 = { class: "info-wrap hover-icon-rotate" };
|
|
13
|
-
const _hoisted_4 = {
|
|
13
|
+
const _hoisted_4 = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "user-account"
|
|
16
|
+
};
|
|
14
17
|
const _hoisted_5 = { key: 1 };
|
|
15
18
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
19
|
__name: "OHeaderUser",
|
|
17
20
|
props: {
|
|
18
|
-
token: {
|
|
19
|
-
lang: {
|
|
20
|
-
noticeTotal: {
|
|
21
|
-
userInfo: {
|
|
22
|
-
options: {
|
|
23
|
-
customSize: {
|
|
21
|
+
token: {},
|
|
22
|
+
lang: {},
|
|
23
|
+
noticeTotal: {},
|
|
24
|
+
userInfo: {},
|
|
25
|
+
options: {},
|
|
26
|
+
customSize: {},
|
|
27
|
+
simple: { type: Boolean, default: false }
|
|
24
28
|
},
|
|
25
29
|
emits: ["login", "logout"],
|
|
26
30
|
setup(__props, { emit: __emit }) {
|
|
@@ -80,32 +84,41 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
84
|
}, 1032, ["onClick"]);
|
|
81
85
|
}), 128))
|
|
82
86
|
]),
|
|
83
|
-
default: withCtx(() =>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
]),
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
87
|
+
default: withCtx(() => {
|
|
88
|
+
var _a, _b, _c;
|
|
89
|
+
return [
|
|
90
|
+
createElementVNode("div", _hoisted_3, [
|
|
91
|
+
createVNode(unref(OBadge), {
|
|
92
|
+
value: __props.noticeTotal,
|
|
93
|
+
dot: true,
|
|
94
|
+
color: "danger",
|
|
95
|
+
class: normalizeClass(["header-message user-avatar", { "notice-not": !__props.noticeTotal }])
|
|
96
|
+
}, {
|
|
97
|
+
default: withCtx(() => {
|
|
98
|
+
var _a2, _b2;
|
|
99
|
+
return [
|
|
100
|
+
createVNode(AppAvatar, {
|
|
101
|
+
avatar: (_a2 = __props.userInfo) == null ? void 0 : _a2.photo,
|
|
102
|
+
name: (_b2 = __props.userInfo) == null ? void 0 : _b2.username,
|
|
103
|
+
"custom-size": __props.customSize
|
|
104
|
+
}, null, 8, ["avatar", "name", "custom-size"])
|
|
105
|
+
];
|
|
106
|
+
}),
|
|
107
|
+
_: 1
|
|
108
|
+
}, 8, ["value", "class"]),
|
|
109
|
+
!__props.simple && !unref(lePadV) && ((_a = __props.userInfo) == null ? void 0 : _a.username) ? (openBlock(), createElementBlock("p", _hoisted_4, toDisplayString((_b = __props.userInfo) == null ? void 0 : _b.username), 1)) : createCommentVNode("", true),
|
|
110
|
+
!__props.simple && !unref(lePadV) && ((_c = __props.userInfo) == null ? void 0 : _c.username) ? (openBlock(), createBlock(unref(OIcon), {
|
|
111
|
+
key: 1,
|
|
112
|
+
class: "icon"
|
|
113
|
+
}, {
|
|
114
|
+
default: withCtx(() => [
|
|
115
|
+
createVNode(unref(IconChevronDown))
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
})) : createCommentVNode("", true)
|
|
119
|
+
])
|
|
120
|
+
];
|
|
121
|
+
}),
|
|
109
122
|
_: 1
|
|
110
123
|
}, 8, ["trigger", "optionPosition", "option-wrap-class"])
|
|
111
124
|
])) : createCommentVNode("", true)
|
|
@@ -6,54 +6,18 @@
|
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.user-dropdown {
|
|
10
|
-
--dropdown-list-radius: var(--o-radius-xs);
|
|
11
|
-
}
|
|
12
|
-
.user-dropdown .o-dropdown-item {
|
|
13
|
-
padding-left: 12px;
|
|
14
|
-
padding-right: 12px;
|
|
15
|
-
font-size: 14px;
|
|
16
|
-
line-height: 22px;
|
|
17
|
-
}
|
|
18
|
-
@media (max-width: 840px) {
|
|
19
|
-
.user-dropdown .o-dropdown-item {
|
|
20
|
-
font-size: 14px;
|
|
21
|
-
line-height: 22px;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
@media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
25
|
-
.user-dropdown .o-dropdown-item {
|
|
26
|
-
font-size: 12px;
|
|
27
|
-
line-height: 18px;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
@media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
|
|
31
|
-
.user-dropdown .o-dropdown-item {
|
|
32
|
-
font-size: 12px;
|
|
33
|
-
line-height: 18px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
@media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
|
|
37
|
-
.user-dropdown .o-dropdown-item {
|
|
38
|
-
font-size: 12px;
|
|
39
|
-
line-height: 18px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
@media (max-width: 840px) and (max-width: 600px) {
|
|
43
|
-
.user-dropdown .o-dropdown-item {
|
|
44
|
-
font-size: 12px;
|
|
45
|
-
line-height: 18px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
9
|
.avatar-icon {
|
|
49
10
|
font-size: 24px;
|
|
50
|
-
color: var(--o-color-
|
|
11
|
+
color: var(--o-color-info2);
|
|
51
12
|
cursor: pointer;
|
|
52
13
|
}
|
|
53
14
|
@media (hover: hover) {
|
|
54
15
|
.avatar-icon:hover {
|
|
55
|
-
color: var(--o-color-
|
|
16
|
+
color: var(--o-color-primary2);
|
|
17
|
+
}
|
|
56
18
|
}
|
|
19
|
+
.avatar-icon:active {
|
|
20
|
+
color: var(--o-color-primary3);
|
|
57
21
|
}
|
|
58
22
|
@media (max-width: 1200px) {
|
|
59
23
|
.avatar-icon {
|
|
@@ -7,12 +7,7 @@ declare const OHeaderUser: {
|
|
|
7
7
|
login: () => any;
|
|
8
8
|
logout: () => any;
|
|
9
9
|
}, import('vue').PublicProps, {
|
|
10
|
-
|
|
11
|
-
lang: string;
|
|
12
|
-
customSize: number;
|
|
13
|
-
token: string;
|
|
14
|
-
noticeTotal: number;
|
|
15
|
-
userInfo: import('./OHeaderUser.vue').UserInfoT;
|
|
10
|
+
simple: boolean;
|
|
16
11
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
17
12
|
P: {};
|
|
18
13
|
B: {};
|
|
@@ -24,12 +19,7 @@ declare const OHeaderUser: {
|
|
|
24
19
|
onLogin?: (() => any) | undefined;
|
|
25
20
|
onLogout?: (() => any) | undefined;
|
|
26
21
|
}>, {}, {}, {}, {}, {
|
|
27
|
-
|
|
28
|
-
lang: string;
|
|
29
|
-
customSize: number;
|
|
30
|
-
token: string;
|
|
31
|
-
noticeTotal: number;
|
|
32
|
-
userInfo: import('./OHeaderUser.vue').UserInfoT;
|
|
22
|
+
simple: boolean;
|
|
33
23
|
}>;
|
|
34
24
|
__isFragment?: never;
|
|
35
25
|
__isTeleport?: never;
|
|
@@ -41,12 +31,7 @@ declare const OHeaderUser: {
|
|
|
41
31
|
login: () => any;
|
|
42
32
|
logout: () => any;
|
|
43
33
|
}, string, {
|
|
44
|
-
|
|
45
|
-
lang: string;
|
|
46
|
-
customSize: number;
|
|
47
|
-
token: string;
|
|
48
|
-
noticeTotal: number;
|
|
49
|
-
userInfo: import('./OHeaderUser.vue').UserInfoT;
|
|
34
|
+
simple: boolean;
|
|
50
35
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
51
36
|
install(app: App): void;
|
|
52
37
|
};
|
|
@@ -302,6 +302,35 @@
|
|
|
302
302
|
--meeting-input-radius: var(--o-radius-xs);
|
|
303
303
|
--meeting-cell-radius: var(--o-radius-xs);
|
|
304
304
|
}
|
|
305
|
+
.o-meeting-calendar .o-meeting-calendar-desc {
|
|
306
|
+
display: flex;
|
|
307
|
+
justify-content: flex-end;
|
|
308
|
+
align-items: center;
|
|
309
|
+
color: var(--o-color-info2);
|
|
310
|
+
--gap: var(--o-gap-5);
|
|
311
|
+
column-gap: var(--gap);
|
|
312
|
+
margin-bottom: var(--gap);
|
|
313
|
+
}
|
|
314
|
+
@media (max-width: 1680px) {
|
|
315
|
+
.o-meeting-calendar .o-meeting-calendar-desc {
|
|
316
|
+
--gap: var(--o-gap-4);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
@media (max-width: 840px) {
|
|
320
|
+
.o-meeting-calendar .o-meeting-calendar-desc {
|
|
321
|
+
--gap: var(--o-gap-2);
|
|
322
|
+
row-gap: var(--gap);
|
|
323
|
+
flex-direction: column-reverse;
|
|
324
|
+
justify-content: center;
|
|
325
|
+
margin-bottom: var(--o-gap-3);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
.o-meeting-calendar .o-meeting-calendar-desc .o-btn {
|
|
329
|
+
flex-shrink: 0;
|
|
330
|
+
}
|
|
331
|
+
.o-meeting-calendar .o-meeting-calendar-desc span {
|
|
332
|
+
color: var(--o-color-info2);
|
|
333
|
+
}
|
|
305
334
|
.o-meeting-calendar .o-select {
|
|
306
335
|
flex-grow: 1;
|
|
307
336
|
max-width: 320px;
|
|
@@ -626,7 +655,7 @@
|
|
|
626
655
|
.o-meeting-calendar .calendar-body .calender .el-calendar-day .out-box .day-box {
|
|
627
656
|
display: flex;
|
|
628
657
|
flex-direction: column;
|
|
629
|
-
justify-content:
|
|
658
|
+
justify-content: flex-start;
|
|
630
659
|
height: 100%;
|
|
631
660
|
}
|
|
632
661
|
.o-meeting-calendar .calendar-body .calender .el-calendar-day .out-box .icon-box {
|
|
@@ -146,13 +146,18 @@ declare function __VLS_template(): {
|
|
|
146
146
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
147
147
|
declare const __VLS_component: import('vue').DefineComponent<MeetingCalendarPropsT, {
|
|
148
148
|
refresh: (day?: string) => Promise<void>;
|
|
149
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
149
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
150
|
+
create: (...args: any[]) => void;
|
|
151
|
+
}, string, import('vue').PublicProps, Readonly<MeetingCalendarPropsT> & Readonly<{
|
|
152
|
+
onCreate?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
}>, {
|
|
150
154
|
groupType: MeetingGroupType;
|
|
151
155
|
getSummitListRequest: any;
|
|
152
156
|
getEventsListRequest: any;
|
|
153
157
|
hiddenEvents: boolean;
|
|
154
158
|
hiddenSummit: boolean;
|
|
155
159
|
groups: string[];
|
|
160
|
+
showDesc: boolean;
|
|
156
161
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
157
162
|
calendar: ({
|
|
158
163
|
$: import('vue').ComponentInternalInstance;
|