@opendesign-plus-test/components 0.0.1-rc.102 → 0.0.1-rc.104
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/types.d.ts +2 -2
- package/dist/components.cjs.js +36 -36
- package/dist/components.css +1 -1
- package/dist/components.es.js +5556 -5538
- package/dist/treeshaking/components/header/components/HeaderContent.css +201 -169
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +13 -5
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +49 -49
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +12 -8
- package/dist/treeshaking/components/header/components/HeaderNav.css +51 -39
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +6 -4
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +73 -73
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +17 -14
- package/dist/treeshaking/components/header/types.d.ts +2 -2
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +32 -33
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
- package/package.json +1 -1
|
@@ -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-81fe3128"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderContent as default
|
|
7
7
|
};
|
|
@@ -88,6 +88,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
88
88
|
};
|
|
89
89
|
return res;
|
|
90
90
|
};
|
|
91
|
+
const linkTarget = (url, target) => {
|
|
92
|
+
if (target) {
|
|
93
|
+
return target;
|
|
94
|
+
} else {
|
|
95
|
+
return (url == null ? void 0 : url.startsWith("http")) ? "_blank" : "_self";
|
|
96
|
+
}
|
|
97
|
+
};
|
|
91
98
|
return (_ctx, _cache) => {
|
|
92
99
|
var _a, _b, _c;
|
|
93
100
|
const _directive_analytics = resolveDirective("analytics");
|
|
@@ -127,13 +134,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
134
|
createElementVNode("span", _hoisted_4, toDisplayString(sub.label), 1),
|
|
128
135
|
createElementVNode("div", _hoisted_5, [
|
|
129
136
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sub.children, (subItem) => {
|
|
137
|
+
var _a3;
|
|
130
138
|
return openBlock(), createElementBlock("div", {
|
|
131
139
|
key: subItem.label,
|
|
132
140
|
class: normalizeClass(["content-item", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
|
|
133
141
|
}, [
|
|
134
142
|
withDirectives((openBlock(), createElementBlock("a", {
|
|
135
143
|
href: subItem.href,
|
|
136
|
-
target: (subItem == null ? void 0 : subItem.target)
|
|
144
|
+
target: linkTarget(subItem.href, subItem == null ? void 0 : subItem.target),
|
|
137
145
|
rel: "noopener noreferrer",
|
|
138
146
|
class: "item-label"
|
|
139
147
|
}, [
|
|
@@ -143,13 +151,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
143
151
|
round: "pill",
|
|
144
152
|
color: "danger",
|
|
145
153
|
size: "small",
|
|
146
|
-
class: "content-tag"
|
|
154
|
+
class: normalizeClass(["content-tag", `tag-${(_a3 = subItem == null ? void 0 : subItem.tag) == null ? void 0 : _a3.toLowerCase()}`])
|
|
147
155
|
}, {
|
|
148
156
|
default: withCtx(() => [
|
|
149
157
|
createTextVNode(toDisplayString(subItem.tag), 1)
|
|
150
158
|
]),
|
|
151
159
|
_: 2
|
|
152
|
-
},
|
|
160
|
+
}, 1032, ["class"])) : createCommentVNode("", true),
|
|
153
161
|
subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 1 }, {
|
|
154
162
|
default: withCtx(() => [
|
|
155
163
|
(openBlock(), createBlock(resolveDynamicComponent(subItem.icon)))
|
|
@@ -199,7 +207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
199
207
|
}, [
|
|
200
208
|
withDirectives((openBlock(), createElementBlock("a", {
|
|
201
209
|
href: shortcut.href,
|
|
202
|
-
target: (shortcut == null ? void 0 : shortcut.target)
|
|
210
|
+
target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
|
|
203
211
|
rel: "noopener noreferrer",
|
|
204
212
|
class: "shortcut-link"
|
|
205
213
|
}, [
|
|
@@ -239,7 +247,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
239
247
|
return withDirectives((openBlock(), createElementBlock("a", {
|
|
240
248
|
key: shortcut.label,
|
|
241
249
|
href: shortcut.href,
|
|
242
|
-
target: (shortcut == null ? void 0 : shortcut.target)
|
|
250
|
+
target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
|
|
243
251
|
rel: "noopener noreferrer",
|
|
244
252
|
class: "review"
|
|
245
253
|
}, [
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-9b4a602b] {
|
|
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-9b4a602b] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.header-nav-wrap[data-v-
|
|
9
|
+
.header-nav-wrap[data-v-9b4a602b] {
|
|
10
10
|
height: 100%;
|
|
11
11
|
}
|
|
12
|
-
.header-nav-wrap .header-nav[data-v-
|
|
12
|
+
.header-nav-wrap .header-nav[data-v-9b4a602b] {
|
|
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-9b4a602b] {
|
|
20
20
|
width: calc(100% - 64px - 24px);
|
|
21
21
|
}
|
|
22
|
-
.o-nav[data-v-
|
|
22
|
+
.o-nav[data-v-9b4a602b] {
|
|
23
23
|
--o-before-left: 0;
|
|
24
24
|
height: 100%;
|
|
25
25
|
position: relative;
|
|
26
26
|
overflow-y: hidden;
|
|
27
27
|
overflow-x: auto;
|
|
28
28
|
}
|
|
29
|
-
.o-nav[data-v-
|
|
29
|
+
.o-nav[data-v-9b4a602b]::after, .o-nav[data-v-9b4a602b]::before {
|
|
30
30
|
content: "";
|
|
31
31
|
position: absolute;
|
|
32
32
|
width: 50px;
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
top: 0;
|
|
35
35
|
z-index: 9;
|
|
36
36
|
}
|
|
37
|
-
.o-nav[data-v-
|
|
37
|
+
.o-nav[data-v-9b4a602b]::after {
|
|
38
38
|
right: 0;
|
|
39
39
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-1), 0) 0%, rgba(var(--o-grey-1), 1) 100%);
|
|
40
40
|
}
|
|
41
|
-
.o-nav[data-v-
|
|
41
|
+
.o-nav[data-v-9b4a602b]::before {
|
|
42
42
|
background-image: linear-gradient(0, rgba(var(--o-grey-1), 0) 0%, rgba(var(--o-grey-1), 1) 100%);
|
|
43
43
|
display: none;
|
|
44
44
|
}
|
|
45
|
-
.o-nav[data-v-
|
|
45
|
+
.o-nav[data-v-9b4a602b]::-webkit-scrollbar {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
.right-icon[data-v-
|
|
48
|
+
.right-icon[data-v-9b4a602b] {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
51
|
cursor: pointer;
|
|
@@ -53,29 +53,29 @@
|
|
|
53
53
|
height: 16px;
|
|
54
54
|
border-radius: var(--o-radius-xs);
|
|
55
55
|
}
|
|
56
|
-
.right-icon .o-icon[data-v-
|
|
56
|
+
.right-icon .o-icon[data-v-9b4a602b] {
|
|
57
57
|
--icon-size: 16px;
|
|
58
58
|
}
|
|
59
59
|
@media (hover: hover) {
|
|
60
|
-
.right-icon[data-v-
|
|
60
|
+
.right-icon[data-v-9b4a602b]:hover {
|
|
61
61
|
background-color: var(--o-color-control2-light);
|
|
62
62
|
color: var(--o-color-link2);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
.right-icon[data-v-
|
|
65
|
+
.right-icon[data-v-9b4a602b]:active {
|
|
66
66
|
color: var(--o-color-link3);
|
|
67
67
|
}
|
|
68
|
-
[data-o-theme*=dark] .o-nav[data-v-
|
|
68
|
+
[data-o-theme*=dark] .o-nav[data-v-9b4a602b]::after, [data-o-theme*=dark] .o-nav[data-v-9b4a602b]::before {
|
|
69
69
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 0) 0%, rgba(var(--o-grey-4), 1) 100%);
|
|
70
70
|
}
|
|
71
|
-
.o-nav-scroll[data-v-
|
|
71
|
+
.o-nav-scroll[data-v-9b4a602b]::after {
|
|
72
72
|
display: none;
|
|
73
73
|
}
|
|
74
|
-
.o-nav-scroll[data-v-
|
|
74
|
+
.o-nav-scroll[data-v-9b4a602b]::before {
|
|
75
75
|
left: var(--o-before-left);
|
|
76
76
|
display: block;
|
|
77
77
|
}
|
|
78
|
-
.nav-list[data-v-
|
|
78
|
+
.nav-list[data-v-9b4a602b] {
|
|
79
79
|
display: flex;
|
|
80
80
|
height: 100%;
|
|
81
81
|
width: fit-content;
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
padding: 0;
|
|
85
85
|
margin: 0;
|
|
86
86
|
}
|
|
87
|
-
.nav-item-li[data-v-
|
|
87
|
+
.nav-item-li[data-v-9b4a602b] {
|
|
88
88
|
position: relative;
|
|
89
89
|
display: flex;
|
|
90
90
|
align-items: center;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
pointer-events: auto;
|
|
94
94
|
transition: color var(--o-duration-s) var(--o-easing-standard);
|
|
95
95
|
}
|
|
96
|
-
.nav-item-li .nav-item[data-v-
|
|
96
|
+
.nav-item-li .nav-item[data-v-9b4a602b] {
|
|
97
97
|
cursor: default;
|
|
98
98
|
display: flex;
|
|
99
99
|
align-items: center;
|
|
@@ -102,43 +102,43 @@
|
|
|
102
102
|
line-height: 24px;
|
|
103
103
|
}
|
|
104
104
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
105
|
-
.nav-item-li .nav-item[data-v-
|
|
105
|
+
.nav-item-li .nav-item[data-v-9b4a602b] {
|
|
106
106
|
font-size: 14px;
|
|
107
107
|
line-height: 22px;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
111
|
-
.nav-item-li .nav-item[data-v-
|
|
111
|
+
.nav-item-li .nav-item[data-v-9b4a602b] {
|
|
112
112
|
font-size: 14px;
|
|
113
113
|
line-height: 22px;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
117
|
-
.nav-item-li .nav-item[data-v-
|
|
117
|
+
.nav-item-li .nav-item[data-v-9b4a602b] {
|
|
118
118
|
font-size: 14px;
|
|
119
119
|
line-height: 22px;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
@media (max-width: 600px) {
|
|
123
|
-
.nav-item-li .nav-item[data-v-
|
|
123
|
+
.nav-item-li .nav-item[data-v-9b4a602b] {
|
|
124
124
|
font-size: 12px;
|
|
125
125
|
line-height: 18px;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
@media (max-width: 1440px) {
|
|
129
|
-
.nav-item-li .nav-item[data-v-
|
|
129
|
+
.nav-item-li .nav-item[data-v-9b4a602b] {
|
|
130
130
|
padding: 18px 12px;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
134
|
-
.nav-item-li .nav-item[data-v-
|
|
134
|
+
.nav-item-li .nav-item[data-v-9b4a602b] {
|
|
135
135
|
padding: 14px 8px;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
.nav-item-li .nav-text[data-v-
|
|
138
|
+
.nav-item-li .nav-text[data-v-9b4a602b] {
|
|
139
139
|
position: relative;
|
|
140
140
|
}
|
|
141
|
-
.nav-item-li .nav-text[data-v-
|
|
141
|
+
.nav-item-li .nav-text[data-v-9b4a602b]::after {
|
|
142
142
|
content: "";
|
|
143
143
|
position: absolute;
|
|
144
144
|
left: 0;
|
|
@@ -151,31 +151,31 @@
|
|
|
151
151
|
transition: all var(--o-duration-s) var(--o-easing-standard);
|
|
152
152
|
}
|
|
153
153
|
@media (max-width: 1440px) {
|
|
154
|
-
.nav-item-li .nav-text[data-v-
|
|
154
|
+
.nav-item-li .nav-text[data-v-9b4a602b]::after {
|
|
155
155
|
bottom: -21px;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
@media (max-width: 1200px) {
|
|
159
|
-
.nav-item-li .nav-text[data-v-
|
|
159
|
+
.nav-item-li .nav-text[data-v-9b4a602b]::after {
|
|
160
160
|
bottom: -17px;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
.nav-item-li .nav-item-link[data-v-
|
|
163
|
+
.nav-item-li .nav-item-link[data-v-9b4a602b] {
|
|
164
164
|
cursor: pointer;
|
|
165
165
|
}
|
|
166
|
-
.nav-item-li.is-selected .nav-text[data-v-
|
|
166
|
+
.nav-item-li.is-selected .nav-text[data-v-9b4a602b], .nav-item-li.is-active .nav-text[data-v-9b4a602b] {
|
|
167
167
|
color: var(--o-color-primary1);
|
|
168
168
|
z-index: 99;
|
|
169
169
|
font-weight: 600;
|
|
170
170
|
}
|
|
171
|
-
.nav-item-li.is-selected .nav-text[data-v-
|
|
171
|
+
.nav-item-li.is-selected .nav-text[data-v-9b4a602b]::after, .nav-item-li.is-active .nav-text[data-v-9b4a602b]::after {
|
|
172
172
|
opacity: 1;
|
|
173
173
|
}
|
|
174
|
-
.nav-item-li.is-disabled[data-v-
|
|
174
|
+
.nav-item-li.is-disabled[data-v-9b4a602b] {
|
|
175
175
|
color: var(--o-color-info4);
|
|
176
176
|
pointer-events: none;
|
|
177
177
|
}
|
|
178
|
-
.dropdown-wrapper[data-v-
|
|
178
|
+
.dropdown-wrapper[data-v-9b4a602b] {
|
|
179
179
|
position: absolute;
|
|
180
180
|
top: calc(100% - 4px);
|
|
181
181
|
left: 0;
|
|
@@ -183,13 +183,13 @@
|
|
|
183
183
|
padding-top: 8px;
|
|
184
184
|
transition: opacity var(--o-duration-s) var(--o-easing-standard);
|
|
185
185
|
}
|
|
186
|
-
.dropdown-wrapper .dropdown-body[data-v-
|
|
186
|
+
.dropdown-wrapper .dropdown-body[data-v-9b4a602b] {
|
|
187
187
|
padding: 6px;
|
|
188
188
|
background-color: var(--o-color-fill2);
|
|
189
189
|
border-radius: var(--o-radius-xs);
|
|
190
190
|
box-shadow: var(--o-shadow-2);
|
|
191
191
|
}
|
|
192
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
192
|
+
.dropdown-wrapper .dropdown-item[data-v-9b4a602b] {
|
|
193
193
|
font-weight: 400;
|
|
194
194
|
white-space: nowrap;
|
|
195
195
|
display: flex;
|
|
@@ -205,63 +205,63 @@
|
|
|
205
205
|
line-height: 24px;
|
|
206
206
|
}
|
|
207
207
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
208
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
208
|
+
.dropdown-wrapper .dropdown-item[data-v-9b4a602b] {
|
|
209
209
|
font-size: 14px;
|
|
210
210
|
line-height: 22px;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
214
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
214
|
+
.dropdown-wrapper .dropdown-item[data-v-9b4a602b] {
|
|
215
215
|
font-size: 14px;
|
|
216
216
|
line-height: 22px;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
220
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
220
|
+
.dropdown-wrapper .dropdown-item[data-v-9b4a602b] {
|
|
221
221
|
font-size: 14px;
|
|
222
222
|
line-height: 22px;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
@media (max-width: 600px) {
|
|
226
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
226
|
+
.dropdown-wrapper .dropdown-item[data-v-9b4a602b] {
|
|
227
227
|
font-size: 12px;
|
|
228
228
|
line-height: 18px;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
@media (hover: hover) {
|
|
232
|
-
.dropdown-wrapper .dropdown-item[data-v-
|
|
232
|
+
.dropdown-wrapper .dropdown-item[data-v-9b4a602b]:hover {
|
|
233
233
|
background-color: var(--o-color-control2-light);
|
|
234
234
|
color: var(--o-color-primary1);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
.dropdown-wrapper .dropdown-item-disabled[data-v-
|
|
237
|
+
.dropdown-wrapper .dropdown-item-disabled[data-v-9b4a602b] {
|
|
238
238
|
color: var(--o-color-info4);
|
|
239
239
|
pointer-events: none;
|
|
240
240
|
}
|
|
241
|
-
.dropdown-wrapper .dropdown-link[data-v-
|
|
241
|
+
.dropdown-wrapper .dropdown-link[data-v-9b4a602b] {
|
|
242
242
|
color: inherit;
|
|
243
243
|
display: flex;
|
|
244
244
|
align-items: center;
|
|
245
245
|
width: 100%;
|
|
246
246
|
}
|
|
247
|
-
.dropdown-wrapper .dropdown-link .o-tag[data-v-
|
|
247
|
+
.dropdown-wrapper .dropdown-link .o-tag[data-v-9b4a602b] {
|
|
248
248
|
margin-left: var(--o-gap-2);
|
|
249
249
|
transform: scale(0.75);
|
|
250
250
|
transform-origin: left center;
|
|
251
251
|
}
|
|
252
|
-
.dropdown-wrapper[data-v-
|
|
252
|
+
.dropdown-wrapper[data-v-9b4a602b] .jump-out-icon {
|
|
253
253
|
font-size: 16px;
|
|
254
254
|
margin-left: 4px;
|
|
255
255
|
}
|
|
256
|
-
.dropdown-wrapper[data-v-
|
|
256
|
+
.dropdown-wrapper[data-v-9b4a602b] .jump-out-icon path {
|
|
257
257
|
fill: currentColor;
|
|
258
258
|
stroke: transparent;
|
|
259
259
|
}
|
|
260
|
-
.dropdown-wrapper[data-v-
|
|
260
|
+
.dropdown-wrapper[data-v-9b4a602b] .jump-out-icon path[fill=none] {
|
|
261
261
|
display: none;
|
|
262
262
|
}
|
|
263
263
|
@media (hover: hover) {
|
|
264
|
-
.nav-item:hover .dropdown-wrapper[data-v-
|
|
264
|
+
.nav-item:hover .dropdown-wrapper[data-v-9b4a602b] {
|
|
265
265
|
display: block;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
@@ -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-9b4a602b"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderFlatten as default
|
|
7
7
|
};
|
|
@@ -167,7 +167,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
167
167
|
onMouseleave: onCancelNav
|
|
168
168
|
}, [
|
|
169
169
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.navData, (item, idx) => {
|
|
170
|
-
var _a, _b;
|
|
170
|
+
var _a, _b, _c;
|
|
171
171
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
172
172
|
key: item.id,
|
|
173
173
|
id: item.id,
|
|
@@ -190,14 +190,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
190
190
|
key: 0,
|
|
191
191
|
color: "danger",
|
|
192
192
|
size: "small",
|
|
193
|
-
round: "pill"
|
|
193
|
+
round: "pill",
|
|
194
|
+
class: normalizeClass(`tag-${(_b = item == null ? void 0 : item.tag) == null ? void 0 : _b.toLowerCase()}`)
|
|
194
195
|
}, {
|
|
195
196
|
default: withCtx(() => [
|
|
196
197
|
createTextVNode(toDisplayString(item.tag), 1)
|
|
197
198
|
]),
|
|
198
199
|
_: 2
|
|
199
|
-
},
|
|
200
|
-
], 8, _hoisted_4)) : !((
|
|
200
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
201
|
+
], 8, _hoisted_4)) : !((_c = item.children) == null ? void 0 : _c.length) && item.href ? (openBlock(), createElementBlock("a", {
|
|
201
202
|
key: 1,
|
|
202
203
|
id: "tour_headerNav_" + item.id,
|
|
203
204
|
class: "nav-item nav-item-link",
|
|
@@ -211,6 +212,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
211
212
|
createElementVNode("div", _hoisted_10, [
|
|
212
213
|
createElementVNode("div", _hoisted_11, [
|
|
213
214
|
(openBlock(true), createElementBlock(Fragment, null, renderList(item.children, (childTab, index) => {
|
|
215
|
+
var _a2, _b2;
|
|
214
216
|
return openBlock(), createElementBlock("div", {
|
|
215
217
|
key: index,
|
|
216
218
|
onMouseenter: ($event) => _ctx.onMouseEnter(idx),
|
|
@@ -227,13 +229,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
227
229
|
key: 0,
|
|
228
230
|
color: "danger",
|
|
229
231
|
size: "small",
|
|
230
|
-
round: "pill"
|
|
232
|
+
round: "pill",
|
|
233
|
+
class: normalizeClass(`tag-${(_a2 = childTab == null ? void 0 : childTab.tag) == null ? void 0 : _a2.toLowerCase()}`)
|
|
231
234
|
}, {
|
|
232
235
|
default: withCtx(() => [
|
|
233
236
|
createTextVNode(toDisplayString(childTab.tag), 1)
|
|
234
237
|
]),
|
|
235
238
|
_: 2
|
|
236
|
-
},
|
|
239
|
+
}, 1032, ["class"])) : createCommentVNode("", true)
|
|
237
240
|
], 10, _hoisted_13)) : withDirectives((openBlock(), createElementBlock("div", {
|
|
238
241
|
key: 1,
|
|
239
242
|
class: normalizeClass(["dropdown-item", { "dropdown-item-disabled": childTab == null ? void 0 : childTab.disabled }])
|
|
@@ -249,13 +252,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
252
|
key: 0,
|
|
250
253
|
color: "danger",
|
|
251
254
|
size: "small",
|
|
252
|
-
round: "pill"
|
|
255
|
+
round: "pill",
|
|
256
|
+
class: normalizeClass(`tag-${(_b2 = childTab == null ? void 0 : childTab.tag) == null ? void 0 : _b2.toLowerCase()}`)
|
|
253
257
|
}, {
|
|
254
258
|
default: withCtx(() => [
|
|
255
259
|
createTextVNode(toDisplayString(childTab.tag), 1)
|
|
256
260
|
]),
|
|
257
261
|
_: 2
|
|
258
|
-
},
|
|
262
|
+
}, 1032, ["class"])) : createCommentVNode("", true),
|
|
259
263
|
childTab.jumpOut ? (openBlock(), createBlock(unref(OIcon), {
|
|
260
264
|
key: 1,
|
|
261
265
|
class: "jump-out-icon"
|