@opendesign-plus-test/components 0.0.1-rc.163 → 0.0.1-rc.165
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/components/header/OHeader.vue.d.ts +4 -4
- package/dist/components/header/components/HeaderNav.vue.d.ts +9 -1
- package/dist/components/header/index.d.ts +2 -2
- package/dist/components/header-user/OHeaderUser.vue.d.ts +89 -1
- package/dist/components/header-user/index.d.ts +88 -1
- package/dist/components.cjs.js +40 -40
- package/dist/components.css +1 -1
- package/dist/components.es.js +11942 -11867
- package/dist/treeshaking/components/header/OHeader.css +17 -17
- package/dist/treeshaking/components/header/OHeader.vue.d.ts +4 -4
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +66 -18
- package/dist/treeshaking/components/header/components/HeaderContent.css +188 -186
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +8 -12
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +56 -56
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +9 -9
- package/dist/treeshaking/components/header/components/HeaderNav.css +67 -54
- package/dist/treeshaking/components/header/components/HeaderNav.vue.d.ts +9 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +81 -55
- package/dist/treeshaking/components/header/index.d.ts +2 -2
- package/dist/treeshaking/components/header-search/OHeaderSearch.css +42 -48
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +6 -4
- package/dist/treeshaking/components/header-user/OHeaderUser.css +40 -40
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +89 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +49 -24
- package/dist/treeshaking/components/header-user/index.d.ts +88 -1
- package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.css +17 -17
- package/dist/treeshaking/components/meeting/OMeetingMinutesCopyDetail.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.css +42 -42
- package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +3 -3
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +1 -1
- package/package.json +4 -4
|
@@ -1,60 +1,59 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-bf46f1ee] {
|
|
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-bf46f1ee] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.o-header-search[data-v-
|
|
9
|
+
.o-header-search[data-v-bf46f1ee] {
|
|
10
10
|
position: relative;
|
|
11
11
|
width: 160px;
|
|
12
12
|
height: 32px;
|
|
13
13
|
}
|
|
14
14
|
@media (max-width: 1440px) {
|
|
15
|
-
.o-header-search[data-v-
|
|
16
|
-
width: 120px;
|
|
15
|
+
.o-header-search[data-v-bf46f1ee] {
|
|
17
16
|
height: 32px;
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
19
|
@media (max-width: 840px) {
|
|
21
|
-
.o-header-search[data-v-
|
|
20
|
+
.o-header-search[data-v-bf46f1ee] {
|
|
22
21
|
width: 24px;
|
|
23
22
|
height: 24px;
|
|
24
23
|
margin-left: auto;
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
|
-
.o-header-search-pos[data-v-
|
|
26
|
+
.o-header-search-pos[data-v-bf46f1ee] {
|
|
28
27
|
position: absolute;
|
|
29
28
|
top: 0;
|
|
30
29
|
width: fit-content;
|
|
31
30
|
background-color: var(--o-color-fill2);
|
|
32
31
|
z-index: 100;
|
|
33
32
|
}
|
|
34
|
-
.o-header-search-pos.is-left[data-v-
|
|
33
|
+
.o-header-search-pos.is-left[data-v-bf46f1ee] {
|
|
35
34
|
right: 0;
|
|
36
35
|
}
|
|
37
|
-
.o-header-search-pos.is-right[data-v-
|
|
36
|
+
.o-header-search-pos.is-right[data-v-bf46f1ee] {
|
|
38
37
|
left: 0;
|
|
39
38
|
}
|
|
40
|
-
.o-header-search-pos.is-mobile[data-v-
|
|
39
|
+
.o-header-search-pos.is-mobile[data-v-bf46f1ee] {
|
|
41
40
|
display: none;
|
|
42
41
|
}
|
|
43
|
-
.o-header-search-pos.is-simple[data-v-
|
|
42
|
+
.o-header-search-pos.is-simple[data-v-bf46f1ee] {
|
|
44
43
|
display: none;
|
|
45
44
|
}
|
|
46
|
-
.o-header-search-pos.is-pc.is-focus[data-v-
|
|
45
|
+
.o-header-search-pos.is-pc.is-focus[data-v-bf46f1ee] {
|
|
47
46
|
box-shadow: var(--o-shadow-2);
|
|
48
47
|
top: calc(-1 * var(--o-gap-4));
|
|
49
48
|
border-radius: var(--o-radius-xs);
|
|
50
49
|
}
|
|
51
|
-
.o-header-search-pos.is-simple.is-focus[data-v-
|
|
50
|
+
.o-header-search-pos.is-simple.is-focus[data-v-bf46f1ee] {
|
|
52
51
|
display: block;
|
|
53
52
|
box-shadow: var(--o-shadow-2);
|
|
54
53
|
top: calc(-1 * var(--o-gap-4));
|
|
55
54
|
border-radius: var(--o-radius-xs);
|
|
56
55
|
}
|
|
57
|
-
.o-header-search-pos.is-mobile.is-focus[data-v-
|
|
56
|
+
.o-header-search-pos.is-mobile.is-focus[data-v-bf46f1ee] {
|
|
58
57
|
position: fixed;
|
|
59
58
|
top: 0;
|
|
60
59
|
right: 0;
|
|
@@ -67,57 +66,52 @@
|
|
|
67
66
|
z-index: 100;
|
|
68
67
|
overflow-y: auto;
|
|
69
68
|
}
|
|
70
|
-
.o-header-search-row[data-v-
|
|
69
|
+
.o-header-search-row[data-v-bf46f1ee] {
|
|
71
70
|
display: flex;
|
|
72
71
|
align-items: start;
|
|
73
72
|
}
|
|
74
|
-
.o-header-search-row.is-focus[data-v-
|
|
73
|
+
.o-header-search-row.is-focus[data-v-bf46f1ee] {
|
|
75
74
|
padding: var(--o-gap-4);
|
|
76
75
|
border-radius: var(--o-radius-xs);
|
|
77
76
|
}
|
|
78
77
|
@media (max-width: 840px) {
|
|
79
|
-
.o-header-search-row.is-focus[data-v-
|
|
78
|
+
.o-header-search-row.is-focus[data-v-bf46f1ee] {
|
|
80
79
|
align-items: center;
|
|
81
80
|
gap: var(--o-gap-4);
|
|
82
81
|
padding: 10px var(--o-gap-4) var(--o-gap-4) var(--o-gap-4);
|
|
83
82
|
border-radius: unset;
|
|
84
83
|
}
|
|
85
84
|
}
|
|
86
|
-
.o-header-search-input[data-v-
|
|
85
|
+
.o-header-search-input[data-v-bf46f1ee] {
|
|
87
86
|
width: 160px;
|
|
88
87
|
transition: width var(--o-duration-m2) var(--o-easing-standard-in);
|
|
89
88
|
}
|
|
90
|
-
|
|
91
|
-
.o-header-search-input[data-v-426c3515] {
|
|
92
|
-
width: 120px;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
.o-header-search-row.is-focus .o-header-search-input[data-v-426c3515] {
|
|
89
|
+
.o-header-search-row.is-focus .o-header-search-input[data-v-bf46f1ee] {
|
|
96
90
|
width: 480px;
|
|
97
91
|
}
|
|
98
92
|
@media (min-width: 1201px) and (max-width: 1440px) {
|
|
99
|
-
.o-header-search-row.is-focus .o-header-search-input[data-v-
|
|
93
|
+
.o-header-search-row.is-focus .o-header-search-input[data-v-bf46f1ee] {
|
|
100
94
|
width: 360px;
|
|
101
95
|
}
|
|
102
96
|
}
|
|
103
97
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
104
|
-
.o-header-search-row.is-focus .o-header-search-input[data-v-
|
|
98
|
+
.o-header-search-row.is-focus .o-header-search-input[data-v-bf46f1ee] {
|
|
105
99
|
width: 272px;
|
|
106
100
|
}
|
|
107
101
|
}
|
|
108
102
|
@media (max-width: 840px) {
|
|
109
|
-
.o-header-search-row.is-focus .o-header-search-input[data-v-
|
|
103
|
+
.o-header-search-row.is-focus .o-header-search-input[data-v-bf46f1ee] {
|
|
110
104
|
flex: 1;
|
|
111
105
|
width: auto;
|
|
112
106
|
}
|
|
113
107
|
}
|
|
114
|
-
.o-header-search-back-icon[data-v-
|
|
108
|
+
.o-header-search-back-icon[data-v-bf46f1ee] {
|
|
115
109
|
cursor: pointer;
|
|
116
110
|
color: var(--o-color-info1);
|
|
117
111
|
font-size: 20px;
|
|
118
112
|
height: 30px;
|
|
119
113
|
}
|
|
120
|
-
.o-header-search-text[data-v-
|
|
114
|
+
.o-header-search-text[data-v-bf46f1ee] {
|
|
121
115
|
white-space: nowrap;
|
|
122
116
|
font-size: 16px;
|
|
123
117
|
line-height: 24px;
|
|
@@ -126,11 +120,11 @@
|
|
|
126
120
|
height: 30px;
|
|
127
121
|
}
|
|
128
122
|
@media (hover: hover) {
|
|
129
|
-
.o-header-search-text[data-v-
|
|
123
|
+
.o-header-search-text[data-v-bf46f1ee]:hover {
|
|
130
124
|
color: var(--o-color-primary1);
|
|
131
125
|
}
|
|
132
126
|
}
|
|
133
|
-
.o-header-search-drawer[data-v-
|
|
127
|
+
.o-header-search-drawer[data-v-bf46f1ee] {
|
|
134
128
|
position: absolute;
|
|
135
129
|
width: 100%;
|
|
136
130
|
padding: var(--o-gap-4);
|
|
@@ -140,7 +134,7 @@
|
|
|
140
134
|
border-radius: 0 0 var(--o-radius-xs) var(--o-radius-xs);
|
|
141
135
|
}
|
|
142
136
|
@media (max-width: 840px) {
|
|
143
|
-
.o-header-search-drawer[data-v-
|
|
137
|
+
.o-header-search-drawer[data-v-bf46f1ee] {
|
|
144
138
|
position: static;
|
|
145
139
|
height: calc(100vh - 50px);
|
|
146
140
|
padding-top: 0;
|
|
@@ -149,7 +143,7 @@
|
|
|
149
143
|
border-radius: unset;
|
|
150
144
|
}
|
|
151
145
|
}
|
|
152
|
-
.o-header-search-drawer[data-v-
|
|
146
|
+
.o-header-search-drawer[data-v-bf46f1ee]::before {
|
|
153
147
|
content: "";
|
|
154
148
|
position: absolute;
|
|
155
149
|
left: 0;
|
|
@@ -159,11 +153,11 @@
|
|
|
159
153
|
background-color: var(--o-color-fill2);
|
|
160
154
|
}
|
|
161
155
|
@media (max-width: 840px) {
|
|
162
|
-
.o-header-search-drawer[data-v-
|
|
156
|
+
.o-header-search-drawer[data-v-bf46f1ee]::before {
|
|
163
157
|
display: none;
|
|
164
158
|
}
|
|
165
159
|
}
|
|
166
|
-
.o-header-search-mobile-icon[data-v-
|
|
160
|
+
.o-header-search-mobile-icon[data-v-bf46f1ee] {
|
|
167
161
|
font-size: 24px;
|
|
168
162
|
line-height: 28px;
|
|
169
163
|
color: var(--o-color-info2);
|
|
@@ -171,34 +165,34 @@
|
|
|
171
165
|
display: none;
|
|
172
166
|
}
|
|
173
167
|
@media (max-width: 840px) {
|
|
174
|
-
.o-header-search-mobile-icon[data-v-
|
|
168
|
+
.o-header-search-mobile-icon[data-v-bf46f1ee] {
|
|
175
169
|
display: block;
|
|
176
170
|
}
|
|
177
171
|
}
|
|
178
|
-
.o-header-search-drawer-enter-active[data-v-
|
|
172
|
+
.o-header-search-drawer-enter-active[data-v-bf46f1ee] {
|
|
179
173
|
transition: opacity var(--o-duration-m1);
|
|
180
174
|
}
|
|
181
|
-
.o-header-search-drawer-enter-from[data-v-
|
|
175
|
+
.o-header-search-drawer-enter-from[data-v-bf46f1ee] {
|
|
182
176
|
opacity: 0;
|
|
183
177
|
}
|
|
184
|
-
.o-header-search.is-mobile-mode[data-v-
|
|
178
|
+
.o-header-search.is-mobile-mode[data-v-bf46f1ee] {
|
|
185
179
|
width: 24px;
|
|
186
180
|
height: 24px;
|
|
187
181
|
}
|
|
188
|
-
.o-header-search.is-mobile-mode .o-header-search-mobile-icon[data-v-
|
|
182
|
+
.o-header-search.is-mobile-mode .o-header-search-mobile-icon[data-v-bf46f1ee] {
|
|
189
183
|
display: block;
|
|
190
184
|
}
|
|
191
|
-
.o-header-search.is-mobile-mode .o-header-search-row.is-focus[data-v-
|
|
185
|
+
.o-header-search.is-mobile-mode .o-header-search-row.is-focus[data-v-bf46f1ee] {
|
|
192
186
|
align-items: center;
|
|
193
187
|
gap: var(--o-gap-4);
|
|
194
188
|
padding: 10px var(--o-gap-4) var(--o-gap-4) var(--o-gap-4);
|
|
195
189
|
border-radius: unset;
|
|
196
190
|
}
|
|
197
|
-
.o-header-search.is-mobile-mode .o-header-search-row.is-focus .o-header-search-input[data-v-
|
|
191
|
+
.o-header-search.is-mobile-mode .o-header-search-row.is-focus .o-header-search-input[data-v-bf46f1ee] {
|
|
198
192
|
flex: 1;
|
|
199
193
|
width: auto;
|
|
200
194
|
}
|
|
201
|
-
.o-header-search.is-mobile-mode .o-header-search-drawer[data-v-
|
|
195
|
+
.o-header-search.is-mobile-mode .o-header-search-drawer[data-v-bf46f1ee] {
|
|
202
196
|
position: static;
|
|
203
197
|
height: calc(100vh - 50px);
|
|
204
198
|
padding-top: 0;
|
|
@@ -206,21 +200,21 @@
|
|
|
206
200
|
box-shadow: unset;
|
|
207
201
|
border-radius: unset;
|
|
208
202
|
}
|
|
209
|
-
.o-header-search.is-mobile-mode .o-header-search-drawer[data-v-
|
|
203
|
+
.o-header-search.is-mobile-mode .o-header-search-drawer[data-v-bf46f1ee]::before {
|
|
210
204
|
display: none;
|
|
211
205
|
}
|
|
212
|
-
.o-header-search.is-simple[data-v-
|
|
206
|
+
.o-header-search.is-simple[data-v-bf46f1ee] {
|
|
213
207
|
width: 24px;
|
|
214
208
|
height: 24px;
|
|
215
209
|
}
|
|
216
|
-
.o-header-search.is-simple .o-header-search-mobile-icon[data-v-
|
|
210
|
+
.o-header-search.is-simple .o-header-search-mobile-icon[data-v-bf46f1ee] {
|
|
217
211
|
display: block;
|
|
218
212
|
}
|
|
219
|
-
[data-v-
|
|
213
|
+
[data-v-bf46f1ee] .o-input.o_box-medium {
|
|
220
214
|
--_box-height: 32px;
|
|
221
215
|
}
|
|
222
216
|
@media (max-width: 840px) {
|
|
223
|
-
[data-v-
|
|
217
|
+
[data-v-bf46f1ee] .o-input.o_box-medium {
|
|
224
218
|
--_box-height: 40px;
|
|
225
219
|
}
|
|
226
220
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./OHeaderSearch.vue2.mjs";
|
|
2
2
|
import './OHeaderSearch.css';
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const _OHeaderSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const _OHeaderSearch = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bf46f1ee"]]);
|
|
5
5
|
export {
|
|
6
6
|
_OHeaderSearch as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, toRef, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, unref, withCtx, createVNode, createCommentVNode, createSlots, renderSlot, normalizeProps, guardReactiveProps, toDisplayString, Transition } from "vue";
|
|
1
|
+
import { defineComponent, computed, inject, ref, toRef, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, unref, withCtx, createVNode, createCommentVNode, createSlots, renderSlot, normalizeProps, guardReactiveProps, toDisplayString, Transition } from "vue";
|
|
2
2
|
import { OIcon } from "@opensig/opendesign";
|
|
3
3
|
import { useDebounceFn, onClickOutside } from "@vueuse/core";
|
|
4
4
|
import { useScreen } from "@opendesign-plus/composables";
|
|
@@ -58,6 +58,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
const { lePadV } = useScreen();
|
|
59
59
|
const { t } = useI18n();
|
|
60
60
|
const isMobileMode = computed(() => props.mobile === true || lePadV.value);
|
|
61
|
+
const isSearchHidden = inject("isSearchHidden");
|
|
62
|
+
const autoSimple = computed(() => props.simple || (isSearchHidden == null ? void 0 : isSearchHidden.value));
|
|
61
63
|
const wrapperRef = ref(null);
|
|
62
64
|
const inputRef = ref();
|
|
63
65
|
const isShowDrawer = ref(false);
|
|
@@ -224,7 +226,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
224
226
|
});
|
|
225
227
|
return (_ctx, _cache) => {
|
|
226
228
|
return openBlock(), createElementBlock("div", {
|
|
227
|
-
class: normalizeClass(["o-header-search", { "is-mobile-mode": isMobileMode.value, "is-simple":
|
|
229
|
+
class: normalizeClass(["o-header-search", { "is-mobile-mode": isMobileMode.value, "is-simple": autoSimple.value && !isMobileMode.value }])
|
|
228
230
|
}, [
|
|
229
231
|
createElementVNode("div", {
|
|
230
232
|
ref_key: "wrapperRef",
|
|
@@ -232,7 +234,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
232
234
|
class: normalizeClass(["o-header-search-pos", {
|
|
233
235
|
"is-pc": !isMobileMode.value,
|
|
234
236
|
"is-mobile": isMobileMode.value,
|
|
235
|
-
"is-simple":
|
|
237
|
+
"is-simple": autoSimple.value && !isMobileMode.value,
|
|
236
238
|
"is-left": __props.expandDirection === "left",
|
|
237
239
|
"is-right": __props.expandDirection === "right",
|
|
238
240
|
"is-focus": isShowDrawer.value
|
|
@@ -415,7 +417,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
415
417
|
_: 3
|
|
416
418
|
})
|
|
417
419
|
], 2),
|
|
418
|
-
isMobileMode.value ||
|
|
420
|
+
isMobileMode.value || autoSimple.value ? (openBlock(), createBlock(unref(OIcon), {
|
|
419
421
|
key: 0,
|
|
420
422
|
class: "o-header-search-mobile-icon",
|
|
421
423
|
onClick: openDrawer
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-ae66f77a] {
|
|
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-ae66f77a] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.header-user[data-v-
|
|
9
|
+
.header-user[data-v-ae66f77a] {
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
height: 100%;
|
|
@@ -14,56 +14,56 @@
|
|
|
14
14
|
opacity: 1;
|
|
15
15
|
transition: opacity 0.15s;
|
|
16
16
|
}
|
|
17
|
-
.avatar-icon[data-v-
|
|
17
|
+
.avatar-icon[data-v-ae66f77a] {
|
|
18
18
|
font-size: 24px;
|
|
19
19
|
color: var(--o-color-info2);
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
}
|
|
22
22
|
@media (hover: hover) {
|
|
23
|
-
.avatar-icon[data-v-
|
|
23
|
+
.avatar-icon[data-v-ae66f77a]:hover {
|
|
24
24
|
color: var(--o-color-primary2);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
.avatar-icon[data-v-
|
|
27
|
+
.avatar-icon[data-v-ae66f77a]:active {
|
|
28
28
|
color: var(--o-color-primary3);
|
|
29
29
|
}
|
|
30
30
|
@media (max-width: 1200px) {
|
|
31
|
-
.avatar-icon[data-v-
|
|
31
|
+
.avatar-icon[data-v-ae66f77a] {
|
|
32
32
|
font-size: var(--o-icon_size_control-s);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
.user-info[data-v-
|
|
35
|
+
.user-info[data-v-ae66f77a] {
|
|
36
36
|
height: 100%;
|
|
37
37
|
min-width: 32px;
|
|
38
38
|
display: flex;
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
}
|
|
41
|
-
.info-wrap[data-v-
|
|
41
|
+
.info-wrap[data-v-ae66f77a] {
|
|
42
42
|
height: calc(100% - 10px);
|
|
43
43
|
margin: 5px 0;
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
46
|
}
|
|
47
|
-
.info-wrap .icon[data-v-
|
|
47
|
+
.info-wrap .icon[data-v-ae66f77a] {
|
|
48
48
|
margin-left: 4px;
|
|
49
49
|
}
|
|
50
|
-
.user-avatar[data-v-
|
|
50
|
+
.user-avatar[data-v-ae66f77a] {
|
|
51
51
|
margin-right: 4px;
|
|
52
52
|
}
|
|
53
|
-
.user-avatar[data-v-
|
|
53
|
+
.user-avatar[data-v-ae66f77a] .o-badge-content {
|
|
54
54
|
--badge-dot-size: 6px;
|
|
55
55
|
right: 6px;
|
|
56
56
|
top: 2px;
|
|
57
57
|
}
|
|
58
|
-
.o-badge[data-v-
|
|
58
|
+
.o-badge[data-v-ae66f77a] {
|
|
59
59
|
display: flex;
|
|
60
60
|
}
|
|
61
|
-
.o-dropdown[data-v-
|
|
61
|
+
.o-dropdown[data-v-ae66f77a] {
|
|
62
62
|
height: 100%;
|
|
63
63
|
display: flex;
|
|
64
64
|
align-items: center;
|
|
65
65
|
}
|
|
66
|
-
.o-dropdown-item[data-v-
|
|
66
|
+
.o-dropdown-item[data-v-ae66f77a] {
|
|
67
67
|
white-space: nowrap;
|
|
68
68
|
background: var(--o-color-control5-light);
|
|
69
69
|
--dropdown-item-color: var(--o-color-info2);
|
|
@@ -73,19 +73,19 @@
|
|
|
73
73
|
--dropdown-item-text-height: 22px;
|
|
74
74
|
}
|
|
75
75
|
@media (hover: hover) {
|
|
76
|
-
.o-dropdown-item[data-v-
|
|
76
|
+
.o-dropdown-item[data-v-ae66f77a]:hover {
|
|
77
77
|
background: var(--o-color-control2-light);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
.o-dropdown-item[data-v-
|
|
80
|
+
.o-dropdown-item[data-v-ae66f77a]:active {
|
|
81
81
|
color: var(--o-color-primary1);
|
|
82
82
|
background: var(--o-color-control3-light);
|
|
83
83
|
font-weight: 600;
|
|
84
84
|
}
|
|
85
|
-
.notice-not[data-v-
|
|
85
|
+
.notice-not[data-v-ae66f77a] .o-badge-content {
|
|
86
86
|
display: none;
|
|
87
87
|
}
|
|
88
|
-
.user-account[data-v-
|
|
88
|
+
.user-account[data-v-ae66f77a] {
|
|
89
89
|
color: var(--o-color-info1);
|
|
90
90
|
max-width: 96px;
|
|
91
91
|
font-weight: 500;
|
|
@@ -93,30 +93,30 @@
|
|
|
93
93
|
line-height: 22px;
|
|
94
94
|
}
|
|
95
95
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
96
|
-
.user-account[data-v-
|
|
96
|
+
.user-account[data-v-ae66f77a] {
|
|
97
97
|
font-size: 14px;
|
|
98
98
|
line-height: 18px;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
102
|
-
.user-account[data-v-
|
|
102
|
+
.user-account[data-v-ae66f77a] {
|
|
103
103
|
font-size: 12px;
|
|
104
104
|
line-height: 18px;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
108
|
-
.user-account[data-v-
|
|
108
|
+
.user-account[data-v-ae66f77a] {
|
|
109
109
|
font-size: 12px;
|
|
110
110
|
line-height: 18px;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
@media (max-width: 600px) {
|
|
114
|
-
.user-account[data-v-
|
|
114
|
+
.user-account[data-v-ae66f77a] {
|
|
115
115
|
font-size: 12px;
|
|
116
116
|
line-height: 18px;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
.user-account[data-v-
|
|
119
|
+
.user-account[data-v-ae66f77a] {
|
|
120
120
|
overflow: hidden;
|
|
121
121
|
text-overflow: ellipsis;
|
|
122
122
|
word-break: break-all;
|
|
@@ -125,83 +125,83 @@
|
|
|
125
125
|
-webkit-line-clamp: 1;
|
|
126
126
|
}
|
|
127
127
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
128
|
-
.user-account[data-v-
|
|
128
|
+
.user-account[data-v-ae66f77a] {
|
|
129
129
|
font-size: 16px;
|
|
130
130
|
line-height: 24px;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
134
|
-
.user-account[data-v-
|
|
134
|
+
.user-account[data-v-ae66f77a] {
|
|
135
135
|
font-size: 14px;
|
|
136
136
|
line-height: 22px;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 841px) and (max-width: 1200px) {
|
|
140
|
-
.user-account[data-v-
|
|
140
|
+
.user-account[data-v-ae66f77a] {
|
|
141
141
|
font-size: 14px;
|
|
142
142
|
line-height: 22px;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
@media (min-width: 1201px) and (max-width: 1680px) and (min-width: 601px) and (max-width: 840px) {
|
|
146
|
-
.user-account[data-v-
|
|
146
|
+
.user-account[data-v-ae66f77a] {
|
|
147
147
|
font-size: 14px;
|
|
148
148
|
line-height: 22px;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
@media (min-width: 1201px) and (max-width: 1680px) and (max-width: 600px) {
|
|
152
|
-
.user-account[data-v-
|
|
152
|
+
.user-account[data-v-ae66f77a] {
|
|
153
153
|
font-size: 12px;
|
|
154
154
|
line-height: 18px;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
@media (max-width: 1200px) {
|
|
158
|
-
.user-account[data-v-
|
|
158
|
+
.user-account[data-v-ae66f77a] {
|
|
159
159
|
font-size: 18px;
|
|
160
160
|
line-height: 26px;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
@media (max-width: 1200px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
164
|
-
.user-account[data-v-
|
|
164
|
+
.user-account[data-v-ae66f77a] {
|
|
165
165
|
font-size: 16px;
|
|
166
166
|
line-height: 24px;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
@media (max-width: 1200px) and (min-width: 841px) and (max-width: 1200px) {
|
|
170
|
-
.user-account[data-v-
|
|
170
|
+
.user-account[data-v-ae66f77a] {
|
|
171
171
|
font-size: 14px;
|
|
172
172
|
line-height: 22px;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
@media (max-width: 1200px) and (min-width: 601px) and (max-width: 840px) {
|
|
176
|
-
.user-account[data-v-
|
|
176
|
+
.user-account[data-v-ae66f77a] {
|
|
177
177
|
font-size: 14px;
|
|
178
178
|
line-height: 22px;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
@media (max-width: 1200px) and (max-width: 600px) {
|
|
182
|
-
.user-account[data-v-
|
|
182
|
+
.user-account[data-v-ae66f77a] {
|
|
183
183
|
font-size: 14px;
|
|
184
184
|
line-height: 22px;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
@media (max-width: 840px) {
|
|
188
|
-
.header-user[data-v-
|
|
188
|
+
.header-user[data-v-ae66f77a] {
|
|
189
189
|
min-width: auto;
|
|
190
190
|
}
|
|
191
|
-
.header-user .user-info[data-v-
|
|
191
|
+
.header-user .user-info[data-v-ae66f77a] {
|
|
192
192
|
min-width: 24px;
|
|
193
193
|
}
|
|
194
|
-
.header-user .user-info .info-wrap[data-v-
|
|
194
|
+
.header-user .user-info .info-wrap[data-v-ae66f77a] {
|
|
195
195
|
height: auto;
|
|
196
196
|
margin: 0;
|
|
197
197
|
}
|
|
198
|
-
.header-user .user-info .info-wrap .user-avatar[data-v-
|
|
198
|
+
.header-user .user-info .info-wrap .user-avatar[data-v-ae66f77a] {
|
|
199
199
|
margin-right: 0;
|
|
200
200
|
}
|
|
201
|
-
.header-user .user-info .info-wrap .user-account[data-v-
|
|
201
|
+
.header-user .user-info .info-wrap .user-account[data-v-ae66f77a] {
|
|
202
202
|
display: none;
|
|
203
203
|
}
|
|
204
|
-
.header-user .user-info .info-wrap .icon[data-v-
|
|
204
|
+
.header-user .user-info .info-wrap .icon[data-v-ae66f77a] {
|
|
205
205
|
display: none;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nextTick } from 'vue';
|
|
1
2
|
export interface UserInfoT {
|
|
2
3
|
photo: string;
|
|
3
4
|
username: string;
|
|
@@ -35,5 +36,92 @@ declare const _default: import('vue').DefineComponent<UserPropsT, {}, {}, {}, {}
|
|
|
35
36
|
simple: boolean;
|
|
36
37
|
itemRadius: number;
|
|
37
38
|
customSize: number;
|
|
38
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
40
|
+
headerUserRef: HTMLDivElement;
|
|
41
|
+
userNameRef: HTMLParagraphElement;
|
|
42
|
+
userIconRef: ({
|
|
43
|
+
$: import('vue').ComponentInternalInstance;
|
|
44
|
+
$data: {};
|
|
45
|
+
$props: Partial<{
|
|
46
|
+
button: boolean;
|
|
47
|
+
disabled: boolean;
|
|
48
|
+
loading: boolean;
|
|
49
|
+
}> & Omit<{
|
|
50
|
+
readonly loading: boolean;
|
|
51
|
+
readonly disabled: boolean;
|
|
52
|
+
readonly button: boolean;
|
|
53
|
+
readonly icon?: import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any> | undefined;
|
|
54
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "disabled" | "button">;
|
|
55
|
+
$attrs: import('vue').Attrs;
|
|
56
|
+
$refs: {
|
|
57
|
+
[x: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
$slots: Readonly<{
|
|
60
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
63
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
64
|
+
$host: Element | null;
|
|
65
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
66
|
+
$el: HTMLDivElement;
|
|
67
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
68
|
+
icon: {
|
|
69
|
+
type: import('vue').PropType<import('vue').Component>;
|
|
70
|
+
};
|
|
71
|
+
button: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
};
|
|
74
|
+
disabled: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
};
|
|
77
|
+
loading: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
81
|
+
button: boolean;
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
loading: boolean;
|
|
84
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
85
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
86
|
+
created?: (() => void) | (() => void)[];
|
|
87
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
88
|
+
mounted?: (() => void) | (() => void)[];
|
|
89
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
90
|
+
updated?: (() => void) | (() => void)[];
|
|
91
|
+
activated?: (() => void) | (() => void)[];
|
|
92
|
+
deactivated?: (() => void) | (() => void)[];
|
|
93
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
94
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
95
|
+
destroyed?: (() => void) | (() => void)[];
|
|
96
|
+
unmounted?: (() => void) | (() => void)[];
|
|
97
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
98
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
99
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
100
|
+
};
|
|
101
|
+
$forceUpdate: () => void;
|
|
102
|
+
$nextTick: typeof nextTick;
|
|
103
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
104
|
+
} & Readonly<{
|
|
105
|
+
button: boolean;
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
loading: boolean;
|
|
108
|
+
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
109
|
+
icon: {
|
|
110
|
+
type: import('vue').PropType<import('vue').Component>;
|
|
111
|
+
};
|
|
112
|
+
button: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
};
|
|
115
|
+
disabled: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
};
|
|
118
|
+
loading: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
};
|
|
121
|
+
}>> & Readonly<{}>, "loading" | "disabled" | "button"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
122
|
+
$slots: {
|
|
123
|
+
default?(_: {}): any;
|
|
124
|
+
};
|
|
125
|
+
}) | null;
|
|
126
|
+
}, HTMLDivElement>;
|
|
39
127
|
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-ae66f77a"]]);
|
|
6
6
|
export {
|
|
7
7
|
_OHeaderUser as default
|
|
8
8
|
};
|