@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,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./HeaderContent.vue2.mjs";
|
|
2
2
|
import './HeaderContent.css';
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-60b3e03d"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderContent as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, inject, resolveDirective, openBlock, createElementBlock, normalizeClass, unref,
|
|
1
|
+
import { defineComponent, computed, ref, inject, resolveDirective, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, createCommentVNode, createTextVNode } from "vue";
|
|
2
2
|
import { OScroller, OPopover, OIcon, OTag } from "@opensig/opendesign";
|
|
3
3
|
import { useTheme } from "../../../shared/theme.mjs";
|
|
4
4
|
import { useI18n } from "../../../i18n/index.mjs";
|
|
@@ -46,15 +46,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
const props = __props;
|
|
47
47
|
const { locale, t } = useI18n();
|
|
48
48
|
const { theme, isDark } = useTheme();
|
|
49
|
-
const
|
|
49
|
+
const navDisplay = computed(() => Boolean(props.hoverIndex === props.itemData.id && props.itemVisible && props.itemData.children.length));
|
|
50
50
|
const onMouseEnter = () => {
|
|
51
51
|
var _a;
|
|
52
52
|
emit("handle-mouseenter-sub", (_a = props.itemData) == null ? void 0 : _a.id);
|
|
53
|
-
navVisible.value = true;
|
|
54
53
|
};
|
|
55
54
|
const onMouseLeave = () => {
|
|
56
55
|
emit("handle-mouseleave-sub", "");
|
|
57
|
-
navVisible.value = false;
|
|
58
56
|
};
|
|
59
57
|
const showDesc = ref(false);
|
|
60
58
|
const descMouseenter = (e) => {
|
|
@@ -76,7 +74,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76
74
|
const injectCloseNavPanel = inject("closeNavPanel");
|
|
77
75
|
const closeNavPanel = () => {
|
|
78
76
|
injectCloseNavPanel == null ? void 0 : injectCloseNavPanel();
|
|
79
|
-
navVisible.value = false;
|
|
80
77
|
};
|
|
81
78
|
const navFirstHoverTime = inject("navFirstHoverTime");
|
|
82
79
|
const navStepCount = inject("navStepCount");
|
|
@@ -118,15 +115,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
118
115
|
}
|
|
119
116
|
};
|
|
120
117
|
return (_ctx, _cache) => {
|
|
121
|
-
var _a
|
|
118
|
+
var _a;
|
|
122
119
|
const _directive_analytics = resolveDirective("analytics");
|
|
123
120
|
return openBlock(), createElementBlock("div", {
|
|
124
121
|
onMouseenter: onMouseEnter,
|
|
125
122
|
onMouseleave: onMouseLeave
|
|
126
123
|
}, [
|
|
127
|
-
(
|
|
128
|
-
|
|
129
|
-
class: normalizeClass(["nav-content", [(_c = props.community) == null ? void 0 : _c.toLowerCase(), props.hoverIndex, unref(theme), `${props.hoverIndex}-${unref(locale)}`]])
|
|
124
|
+
createElementVNode("div", {
|
|
125
|
+
class: normalizeClass(["nav-content", navDisplay.value ? "display" : "", (_a = props.community) == null ? void 0 : _a.toLowerCase(), props.hoverIndex, unref(theme), `${props.hoverIndex}-${unref(locale)}`])
|
|
130
126
|
}, [
|
|
131
127
|
createElementVNode("div", {
|
|
132
128
|
class: "nav-background-left",
|
|
@@ -144,7 +140,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
144
140
|
"disabled-y": ""
|
|
145
141
|
}, {
|
|
146
142
|
default: withCtx(() => {
|
|
147
|
-
var _a2,
|
|
143
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
148
144
|
return [
|
|
149
145
|
createElementVNode("div", _hoisted_2, [
|
|
150
146
|
createElementVNode("div", _hoisted_3, [
|
|
@@ -240,7 +236,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
240
236
|
]);
|
|
241
237
|
}), 128))
|
|
242
238
|
]),
|
|
243
|
-
((
|
|
239
|
+
((_c = (_b = props.itemData) == null ? void 0 : _b.shortcut) == null ? void 0 : _c.length) ? (openBlock(), createElementBlock("div", _hoisted_10)) : createCommentVNode("", true),
|
|
244
240
|
((_e = (_d = props.itemData) == null ? void 0 : _d.shortcut) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
245
241
|
createElementVNode("span", _hoisted_12, toDisplayString(unref(t)("header.quickLink")), 1),
|
|
246
242
|
!((_f = props.itemData) == null ? void 0 : _f.withPicture) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList((_g = props.itemData) == null ? void 0 : _g.shortcut, (shortcut) => {
|
|
@@ -357,7 +353,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
357
353
|
_: 1
|
|
358
354
|
})
|
|
359
355
|
])
|
|
360
|
-
], 2)
|
|
356
|
+
], 2)
|
|
361
357
|
], 32);
|
|
362
358
|
};
|
|
363
359
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-a31862a5] {
|
|
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-a31862a5] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.header-nav-wrap[data-v-
|
|
9
|
+
.header-nav-wrap[data-v-a31862a5] {
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
|
-
.header-nav-wrap .header-nav[data-v-
|
|
12
|
+
.header-nav-wrap .header-nav[data-v-a31862a5] {
|
|
13
13
|
height: 100%;
|
|
14
14
|
display: flex;
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
width: calc(100% - 64px);
|
|
17
17
|
align-items: center;
|
|
18
18
|
}
|
|
19
|
-
.header-nav-wrap .header-nav-scroll[data-v-
|
|
19
|
+
.header-nav-wrap .header-nav-scroll[data-v-a31862a5] {
|
|
20
20
|
width: calc(100% - 64px - 24px);
|
|
21
21
|
}
|
|
22
|
-
.o-nav[data-v-
|
|
22
|
+
.o-nav[data-v-a31862a5] {
|
|
23
23
|
--o-before-left: 0;
|
|
24
24
|
height: 100%;
|
|
25
25
|
position: relative;
|
|
26
26
|
z-index: 8;
|
|
27
27
|
}
|
|
28
|
-
.o-nav[data-v-
|
|
28
|
+
.o-nav[data-v-a31862a5]::-webkit-scrollbar {
|
|
29
29
|
display: none;
|
|
30
30
|
}
|
|
31
|
-
.left-icon[data-v-
|
|
32
|
-
.right-icon[data-v-
|
|
31
|
+
.left-icon[data-v-a31862a5],
|
|
32
|
+
.right-icon[data-v-a31862a5] {
|
|
33
33
|
display: flex;
|
|
34
34
|
align-items: center;
|
|
35
35
|
cursor: pointer;
|
|
@@ -38,24 +38,24 @@
|
|
|
38
38
|
height: 16px;
|
|
39
39
|
border-radius: var(--o-radius-xs);
|
|
40
40
|
}
|
|
41
|
-
.left-icon .o-icon[data-v-
|
|
42
|
-
.right-icon .o-icon[data-v-
|
|
41
|
+
.left-icon .o-icon[data-v-a31862a5],
|
|
42
|
+
.right-icon .o-icon[data-v-a31862a5] {
|
|
43
43
|
--icon-size: 16px;
|
|
44
44
|
position: relative;
|
|
45
45
|
z-index: 11;
|
|
46
46
|
}
|
|
47
47
|
@media (hover: hover) {
|
|
48
|
-
.left-icon[data-v-
|
|
49
|
-
.right-icon[data-v-
|
|
48
|
+
.left-icon[data-v-a31862a5]:hover,
|
|
49
|
+
.right-icon[data-v-a31862a5]:hover {
|
|
50
50
|
background-color: var(--o-color-control2-light);
|
|
51
51
|
color: var(--o-color-link2);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
.left-icon[data-v-
|
|
55
|
-
.right-icon[data-v-
|
|
54
|
+
.left-icon[data-v-a31862a5]:active,
|
|
55
|
+
.right-icon[data-v-a31862a5]:active {
|
|
56
56
|
color: var(--o-color-link3);
|
|
57
57
|
}
|
|
58
|
-
.left-icon[data-v-
|
|
58
|
+
.left-icon[data-v-a31862a5]::before {
|
|
59
59
|
content: "";
|
|
60
60
|
position: absolute;
|
|
61
61
|
width: 50px;
|
|
@@ -67,16 +67,16 @@
|
|
|
67
67
|
cursor: default;
|
|
68
68
|
}
|
|
69
69
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
70
|
-
.left-icon[data-v-
|
|
70
|
+
.left-icon[data-v-a31862a5]::before {
|
|
71
71
|
top: -24px;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
@media (max-width: 1200px) {
|
|
75
|
-
.left-icon[data-v-
|
|
75
|
+
.left-icon[data-v-a31862a5]::before {
|
|
76
76
|
top: -20px;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
.right-icon[data-v-
|
|
79
|
+
.right-icon[data-v-a31862a5]::before {
|
|
80
80
|
content: "";
|
|
81
81
|
position: absolute;
|
|
82
82
|
width: 50px;
|
|
@@ -88,29 +88,29 @@
|
|
|
88
88
|
cursor: default;
|
|
89
89
|
}
|
|
90
90
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
91
|
-
.right-icon[data-v-
|
|
91
|
+
.right-icon[data-v-a31862a5]::before {
|
|
92
92
|
top: -24px;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
@media (max-width: 1200px) {
|
|
96
|
-
.right-icon[data-v-
|
|
96
|
+
.right-icon[data-v-a31862a5]::before {
|
|
97
97
|
top: -20px;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
[data-o-theme*=dark] .left-icon[data-v-
|
|
100
|
+
[data-o-theme*=dark] .left-icon[data-v-a31862a5] {
|
|
101
101
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 1) 0%, rgba(var(--o-grey-4), 0) 100%);
|
|
102
102
|
}
|
|
103
|
-
[data-o-theme*=dark] .right-icon[data-v-
|
|
103
|
+
[data-o-theme*=dark] .right-icon[data-v-a31862a5] {
|
|
104
104
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 0) 0%, rgba(var(--o-grey-4), 1) 100%);
|
|
105
105
|
}
|
|
106
|
-
.o-nav-scroll[data-v-
|
|
106
|
+
.o-nav-scroll[data-v-a31862a5]::after {
|
|
107
107
|
display: none;
|
|
108
108
|
}
|
|
109
|
-
.o-nav-scroll[data-v-
|
|
109
|
+
.o-nav-scroll[data-v-a31862a5]::before {
|
|
110
110
|
left: var(--o-before-left);
|
|
111
111
|
display: block;
|
|
112
112
|
}
|
|
113
|
-
.nav-list[data-v-
|
|
113
|
+
.nav-list[data-v-a31862a5] {
|
|
114
114
|
display: flex;
|
|
115
115
|
height: 100%;
|
|
116
116
|
width: fit-content;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
padding: 0;
|
|
120
120
|
margin: 0;
|
|
121
121
|
}
|
|
122
|
-
.nav-item-li[data-v-
|
|
122
|
+
.nav-item-li[data-v-a31862a5] {
|
|
123
123
|
position: relative;
|
|
124
124
|
display: flex;
|
|
125
125
|
align-items: center;
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
pointer-events: auto;
|
|
129
129
|
transition: color var(--o-duration-s) var(--o-easing-standard);
|
|
130
130
|
}
|
|
131
|
-
.nav-item-li .nav-item[data-v-
|
|
131
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
132
132
|
cursor: default;
|
|
133
133
|
display: flex;
|
|
134
134
|
align-items: center;
|
|
@@ -141,45 +141,45 @@
|
|
|
141
141
|
line-height: 24px;
|
|
142
142
|
}
|
|
143
143
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
144
|
-
.nav-item-li .nav-item[data-v-
|
|
144
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
145
145
|
font-size: 14px;
|
|
146
146
|
line-height: 22px;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
150
|
-
.nav-item-li .nav-item[data-v-
|
|
150
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
151
151
|
font-size: 14px;
|
|
152
152
|
line-height: 22px;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
156
|
-
.nav-item-li .nav-item[data-v-
|
|
156
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
157
157
|
font-size: 14px;
|
|
158
158
|
line-height: 22px;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
@media (max-width: 600px) {
|
|
162
|
-
.nav-item-li .nav-item[data-v-
|
|
162
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
163
163
|
font-size: 12px;
|
|
164
164
|
line-height: 18px;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
@media (max-width: 1680px) {
|
|
168
|
-
.nav-item-li .nav-item[data-v-
|
|
168
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
169
169
|
--padding-x: var(--o-gap-4);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
@media (max-width: 1440px) {
|
|
173
|
-
.nav-item-li .nav-item[data-v-
|
|
173
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
174
174
|
--padding-x: var(--o-gap-3);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
178
|
-
.nav-item-li .nav-item[data-v-
|
|
178
|
+
.nav-item-li .nav-item[data-v-a31862a5] {
|
|
179
179
|
--padding-x: var(--o-gap-2);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
.nav-item-li .nav-item[data-v-
|
|
182
|
+
.nav-item-li .nav-item[data-v-a31862a5]::after {
|
|
183
183
|
content: "";
|
|
184
184
|
position: absolute;
|
|
185
185
|
left: var(--padding-x);
|
|
@@ -191,25 +191,25 @@
|
|
|
191
191
|
background: var(--o-color-primary1);
|
|
192
192
|
transition: all var(--o-duration-s) var(--o-easing-standard);
|
|
193
193
|
}
|
|
194
|
-
.nav-item-li .nav-item-link[data-v-
|
|
194
|
+
.nav-item-li .nav-item-link[data-v-a31862a5] {
|
|
195
195
|
cursor: pointer;
|
|
196
196
|
}
|
|
197
|
-
.nav-item-li.is-active .nav-item[data-v-
|
|
197
|
+
.nav-item-li.is-active .nav-item[data-v-a31862a5]::after {
|
|
198
198
|
opacity: 1;
|
|
199
199
|
}
|
|
200
|
-
.nav-item-li.is-active .nav-text[data-v-
|
|
200
|
+
.nav-item-li.is-active .nav-text[data-v-a31862a5] {
|
|
201
201
|
color: var(--o-color-primary1);
|
|
202
202
|
font-weight: 600;
|
|
203
203
|
}
|
|
204
|
-
.nav-item-li.is-selected .nav-text[data-v-
|
|
204
|
+
.nav-item-li.is-selected .nav-text[data-v-a31862a5] {
|
|
205
205
|
color: var(--o-color-primary2);
|
|
206
206
|
font-weight: 600;
|
|
207
207
|
}
|
|
208
|
-
.nav-item-li.is-disabled[data-v-
|
|
208
|
+
.nav-item-li.is-disabled[data-v-a31862a5] {
|
|
209
209
|
color: var(--o-color-info4);
|
|
210
210
|
pointer-events: none;
|
|
211
211
|
}
|
|
212
|
-
.dropdown-wrapper[data-v-
|
|
212
|
+
.dropdown-wrapper[data-v-a31862a5] {
|
|
213
213
|
position: absolute;
|
|
214
214
|
top: calc(100% - 4px);
|
|
215
215
|
left: 0;
|
|
@@ -217,13 +217,13 @@
|
|
|
217
217
|
padding-top: 8px;
|
|
218
218
|
transition: opacity var(--o-duration-s) var(--o-easing-standard);
|
|
219
219
|
}
|
|
220
|
-
.dropdown-wrapper .dropdown-body[data-v-
|
|
220
|
+
.dropdown-wrapper .dropdown-body[data-v-a31862a5] {
|
|
221
221
|
padding: 6px;
|
|
222
222
|
background-color: var(--o-color-fill2);
|
|
223
223
|
border-radius: var(--o-radius-xs);
|
|
224
224
|
box-shadow: var(--o-shadow-2);
|
|
225
225
|
}
|
|
226
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
226
|
+
.dropdown-wrapper .dropdown-item[data-v-a31862a5] {
|
|
227
227
|
font-weight: 400;
|
|
228
228
|
white-space: nowrap;
|
|
229
229
|
display: flex;
|
|
@@ -239,63 +239,63 @@
|
|
|
239
239
|
line-height: 24px;
|
|
240
240
|
}
|
|
241
241
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
242
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
242
|
+
.dropdown-wrapper .dropdown-item[data-v-a31862a5] {
|
|
243
243
|
font-size: 14px;
|
|
244
244
|
line-height: 22px;
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
248
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
248
|
+
.dropdown-wrapper .dropdown-item[data-v-a31862a5] {
|
|
249
249
|
font-size: 14px;
|
|
250
250
|
line-height: 22px;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
254
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
254
|
+
.dropdown-wrapper .dropdown-item[data-v-a31862a5] {
|
|
255
255
|
font-size: 14px;
|
|
256
256
|
line-height: 22px;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
@media (max-width: 600px) {
|
|
260
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
260
|
+
.dropdown-wrapper .dropdown-item[data-v-a31862a5] {
|
|
261
261
|
font-size: 12px;
|
|
262
262
|
line-height: 18px;
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
@media (hover: hover) {
|
|
266
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
266
|
+
.dropdown-wrapper .dropdown-item[data-v-a31862a5]:hover {
|
|
267
267
|
background-color: var(--o-color-control2-light);
|
|
268
268
|
color: var(--o-color-primary1);
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
.dropdown-wrapper .dropdown-item-disabled[data-v-
|
|
271
|
+
.dropdown-wrapper .dropdown-item-disabled[data-v-a31862a5] {
|
|
272
272
|
color: var(--o-color-info4);
|
|
273
273
|
pointer-events: none;
|
|
274
274
|
}
|
|
275
|
-
.dropdown-wrapper .dropdown-link[data-v-
|
|
275
|
+
.dropdown-wrapper .dropdown-link[data-v-a31862a5] {
|
|
276
276
|
color: inherit;
|
|
277
277
|
display: flex;
|
|
278
278
|
align-items: center;
|
|
279
279
|
width: 100%;
|
|
280
280
|
}
|
|
281
|
-
.dropdown-wrapper .dropdown-link .o-tag[data-v-
|
|
281
|
+
.dropdown-wrapper .dropdown-link .o-tag[data-v-a31862a5] {
|
|
282
282
|
margin-left: var(--o-gap-2);
|
|
283
283
|
transform: scale(0.75);
|
|
284
284
|
transform-origin: left center;
|
|
285
285
|
}
|
|
286
|
-
.dropdown-wrapper[data-v-
|
|
286
|
+
.dropdown-wrapper[data-v-a31862a5] .jump-out-icon {
|
|
287
287
|
font-size: 16px;
|
|
288
288
|
margin-left: 4px;
|
|
289
289
|
}
|
|
290
|
-
.dropdown-wrapper[data-v-
|
|
290
|
+
.dropdown-wrapper[data-v-a31862a5] .jump-out-icon path {
|
|
291
291
|
fill: currentColor;
|
|
292
292
|
stroke: transparent;
|
|
293
293
|
}
|
|
294
|
-
.dropdown-wrapper[data-v-
|
|
294
|
+
.dropdown-wrapper[data-v-a31862a5] .jump-out-icon path[fill=none] {
|
|
295
295
|
display: none;
|
|
296
296
|
}
|
|
297
297
|
@media (hover: hover) {
|
|
298
|
-
.nav-item:hover .dropdown-wrapper[data-v-
|
|
298
|
+
.nav-item:hover .dropdown-wrapper[data-v-a31862a5] {
|
|
299
299
|
display: block;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./HeaderFlatten.vue2.mjs";
|
|
2
2
|
import './HeaderFlatten.css';
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const HeaderFlatten = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const HeaderFlatten = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a31862a5"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderFlatten as default
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, onMounted, nextTick, onUnmounted, resolveDirectiv
|
|
|
2
2
|
import { OIcon, OTag } from "@opensig/opendesign";
|
|
3
3
|
import IconCaretLeft from "../../../_virtual/icon-caret-left.mjs";
|
|
4
4
|
import IconCaretRight from "../../../_virtual/icon-caret-right.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { useVModel } from "@vueuse/core";
|
|
6
6
|
const _hoisted_1 = { class: "header-nav-wrap" };
|
|
7
7
|
const _hoisted_2 = {
|
|
8
8
|
key: 0,
|
|
@@ -38,17 +38,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
setup(__props, { emit: __emit }) {
|
|
39
39
|
const emit = __emit;
|
|
40
40
|
const props = __props;
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
|
|
41
|
+
const hoverIdVModel = useVModel(props, "hoverId");
|
|
42
|
+
const toggle = (item, id) => {
|
|
43
|
+
hoverIdVModel.value = item == null ? void 0 : item.id;
|
|
44
44
|
if (id === "mouseenter") {
|
|
45
45
|
emit("handle-mouseenter", item);
|
|
46
46
|
}
|
|
47
47
|
if (id === "mouseleave") {
|
|
48
|
-
|
|
48
|
+
hoverIdVModel.value = "";
|
|
49
49
|
emit("handle-mouseleave", item);
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
};
|
|
52
52
|
const handleClick = (item) => {
|
|
53
53
|
emit("handle-click", item);
|
|
54
54
|
};
|
|
@@ -165,12 +165,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
165
165
|
key: item.id,
|
|
166
166
|
id: item.id,
|
|
167
167
|
class: normalizeClass(["nav-item-li", {
|
|
168
|
-
"is-selected":
|
|
168
|
+
"is-selected": unref(hoverIdVModel) === item.id,
|
|
169
169
|
"is-active": props.activeIndex === idx || props.activeIndex === item.id,
|
|
170
170
|
"is-disabled": item == null ? void 0 : item.disabled
|
|
171
171
|
}]),
|
|
172
|
-
onMouseenter: ($event) =>
|
|
173
|
-
onMouseleave: ($event) =>
|
|
172
|
+
onMouseenter: ($event) => toggle(item, "mouseenter"),
|
|
173
|
+
onMouseleave: ($event) => toggle(item, "mouseleave")
|
|
174
174
|
}, [
|
|
175
175
|
!item.href && !((_a = item.children) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", {
|
|
176
176
|
key: 0,
|