@opendesign-plus/components 0.0.1-rc.46 → 0.0.1-rc.47
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 +18 -16
- package/dist/components.cjs.js +34 -34
- package/dist/components.css +1 -1
- package/dist/components.es.js +5855 -5787
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +8 -5
- package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +203 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +89 -16
- package/dist/treeshaking/components/header/components/HeaderNav.css +49 -49
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/i18n/en.mjs +2 -1
- package/dist/treeshaking/i18n/zh.mjs +2 -1
- package/package.json +3 -3
|
@@ -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-2b5c5d7c"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderContent as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, inject, resolveDirective, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock, resolveDynamicComponent, createCommentVNode, createTextVNode } from "vue";
|
|
2
|
-
import { OScroller, OIcon, OTag
|
|
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";
|
|
5
5
|
const _hoisted_1 = { class: "header-content-nav" };
|
|
@@ -8,7 +8,7 @@ const _hoisted_3 = { class: "content-left" };
|
|
|
8
8
|
const _hoisted_4 = { class: "content-label" };
|
|
9
9
|
const _hoisted_5 = { class: "content-container" };
|
|
10
10
|
const _hoisted_6 = ["href", "target"];
|
|
11
|
-
const _hoisted_7 = { class: "
|
|
11
|
+
const _hoisted_7 = { class: "popover-shortcut" };
|
|
12
12
|
const _hoisted_8 = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "desc-container"
|
|
@@ -28,8 +28,8 @@ const _hoisted_14 = { class: "popover-shortcut" };
|
|
|
28
28
|
const _hoisted_15 = ["href", "target"];
|
|
29
29
|
const _hoisted_16 = ["src"];
|
|
30
30
|
const _hoisted_17 = { class: "review-content" };
|
|
31
|
-
const _hoisted_18 = { class: "
|
|
32
|
-
const _hoisted_19 = { class: "
|
|
31
|
+
const _hoisted_18 = { class: "popover-shortcut" };
|
|
32
|
+
const _hoisted_19 = { class: "popover-shortcut" };
|
|
33
33
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
__name: "HeaderContent",
|
|
35
35
|
props: {
|
|
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
44
|
setup(__props, { emit: __emit }) {
|
|
45
45
|
const emit = __emit;
|
|
46
46
|
const props = __props;
|
|
47
|
-
const { locale } = useI18n();
|
|
47
|
+
const { locale, t } = useI18n();
|
|
48
48
|
const { theme, isDark } = useTheme();
|
|
49
49
|
const navVisible = ref(false);
|
|
50
50
|
const onMouseEnter = () => {
|
|
@@ -64,6 +64,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
64
64
|
const target = e.target;
|
|
65
65
|
showDesc.value = target.clientHeight < target.scrollHeight;
|
|
66
66
|
};
|
|
67
|
+
const showTitle = ref(false);
|
|
68
|
+
const titleMouseenter = (e) => {
|
|
69
|
+
if (!e || !e.target) {
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
const target = e.target;
|
|
73
|
+
console.log(target.clientHeight);
|
|
74
|
+
console.log(target.scrollHeight);
|
|
75
|
+
showTitle.value = target.clientHeight < target.scrollHeight;
|
|
76
|
+
};
|
|
67
77
|
const hoveringNavLiName = inject("hoveringNavLiName");
|
|
68
78
|
const onClickNavHref = (item, sub) => {
|
|
69
79
|
const res = {
|
|
@@ -83,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
93
|
properties: {
|
|
84
94
|
module: "navigation",
|
|
85
95
|
level1: (hoveringNavLiName == null ? void 0 : hoveringNavLiName.value) ?? "",
|
|
86
|
-
level2: locale.value === "
|
|
96
|
+
level2: locale.value === t("header.quickLink"),
|
|
87
97
|
level3: item.label,
|
|
88
98
|
target: item.label,
|
|
89
99
|
url: item.href
|
|
@@ -148,15 +158,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
158
|
rel: "noopener noreferrer",
|
|
149
159
|
class: "item-label"
|
|
150
160
|
}, [
|
|
151
|
-
|
|
152
|
-
|
|
161
|
+
showTitle.value ? (openBlock(), createBlock(unref(OPopover), {
|
|
162
|
+
key: 0,
|
|
163
|
+
trigger: "hover",
|
|
164
|
+
position: "bottom",
|
|
165
|
+
"adjust-min-width": false,
|
|
166
|
+
"adjust-width": false
|
|
167
|
+
}, {
|
|
168
|
+
target: withCtx(() => [
|
|
169
|
+
createElementVNode("p", {
|
|
170
|
+
class: "item-name",
|
|
171
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => titleMouseenter($event))
|
|
172
|
+
}, toDisplayString(subItem.label), 33)
|
|
173
|
+
]),
|
|
174
|
+
default: withCtx(() => [
|
|
175
|
+
createElementVNode("p", _hoisted_7, toDisplayString(subItem.label), 1)
|
|
176
|
+
]),
|
|
177
|
+
_: 2
|
|
178
|
+
}, 1024)) : (openBlock(), createElementBlock("p", {
|
|
179
|
+
key: 1,
|
|
180
|
+
class: "item-name",
|
|
181
|
+
onMouseenter: _cache[1] || (_cache[1] = ($event) => titleMouseenter($event))
|
|
182
|
+
}, toDisplayString(subItem.label), 33)),
|
|
183
|
+
subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 2 }, {
|
|
153
184
|
default: withCtx(() => [
|
|
154
185
|
(openBlock(), createBlock(resolveDynamicComponent(subItem.icon)))
|
|
155
186
|
]),
|
|
156
187
|
_: 2
|
|
157
188
|
}, 1024)) : createCommentVNode("", true),
|
|
158
189
|
subItem.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
159
|
-
key:
|
|
190
|
+
key: 3,
|
|
160
191
|
color: "danger",
|
|
161
192
|
size: "small",
|
|
162
193
|
class: normalizeClass(["content-tag", `tag-${(_a3 = subItem == null ? void 0 : subItem.tag) == null ? void 0 : _a3.toLowerCase()}`])
|
|
@@ -180,7 +211,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
180
211
|
target: withCtx(() => [
|
|
181
212
|
createElementVNode("p", {
|
|
182
213
|
class: normalizeClass(["item-desc", [`item-desc-line-${subItem == null ? void 0 : subItem.line}`]]),
|
|
183
|
-
onMouseenter: _cache[
|
|
214
|
+
onMouseenter: _cache[2] || (_cache[2] = ($event) => descMouseenter($event))
|
|
184
215
|
}, toDisplayString(subItem.description), 35)
|
|
185
216
|
]),
|
|
186
217
|
default: withCtx(() => [
|
|
@@ -190,7 +221,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
190
221
|
}, 1024)) : (openBlock(), createElementBlock("p", {
|
|
191
222
|
key: 1,
|
|
192
223
|
class: normalizeClass(["item-desc", [`item-desc-line-${subItem == null ? void 0 : subItem.line}`]]),
|
|
193
|
-
onMouseenter: _cache[
|
|
224
|
+
onMouseenter: _cache[3] || (_cache[3] = ($event) => descMouseenter($event))
|
|
194
225
|
}, toDisplayString(subItem.description), 35))
|
|
195
226
|
])) : createCommentVNode("", true)
|
|
196
227
|
], 2);
|
|
@@ -201,7 +232,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
201
232
|
]),
|
|
202
233
|
((_c2 = (_b2 = props.itemData) == null ? void 0 : _b2.shortcut) == null ? void 0 : _c2.length) ? (openBlock(), createElementBlock("div", _hoisted_10)) : createCommentVNode("", true),
|
|
203
234
|
((_e = (_d = props.itemData) == null ? void 0 : _d.shortcut) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
204
|
-
createElementVNode("span", _hoisted_12, toDisplayString(unref(
|
|
235
|
+
createElementVNode("span", _hoisted_12, toDisplayString(unref(t)("header.quickLink")), 1),
|
|
205
236
|
!((_f = props.itemData) == null ? void 0 : _f.withPicture) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList((_g = props.itemData) == null ? void 0 : _g.shortcut, (shortcut) => {
|
|
206
237
|
return openBlock(), createElementBlock("div", {
|
|
207
238
|
key: shortcut.label,
|
|
@@ -223,7 +254,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
223
254
|
target: withCtx(() => [
|
|
224
255
|
createElementVNode("p", {
|
|
225
256
|
class: "shortcut-title",
|
|
226
|
-
onMouseenter: _cache[
|
|
257
|
+
onMouseenter: _cache[4] || (_cache[4] = ($event) => descMouseenter($event))
|
|
227
258
|
}, toDisplayString(shortcut.label), 33)
|
|
228
259
|
]),
|
|
229
260
|
default: withCtx(() => [
|
|
@@ -233,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
233
264
|
}, 1024)) : (openBlock(), createElementBlock("p", {
|
|
234
265
|
key: 1,
|
|
235
266
|
class: "shortcut-title",
|
|
236
|
-
onMouseenter: _cache[
|
|
267
|
+
onMouseenter: _cache[5] || (_cache[5] = ($event) => descMouseenter($event))
|
|
237
268
|
}, toDisplayString(shortcut.label), 33)),
|
|
238
269
|
shortcut.icon ? (openBlock(), createBlock(unref(OIcon), { key: 2 }, {
|
|
239
270
|
default: withCtx(() => [
|
|
@@ -258,8 +289,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
258
289
|
class: "review-picture"
|
|
259
290
|
}, null, 8, _hoisted_16),
|
|
260
291
|
createElementVNode("div", _hoisted_17, [
|
|
261
|
-
|
|
262
|
-
|
|
292
|
+
showDesc.value ? (openBlock(), createBlock(unref(OPopover), {
|
|
293
|
+
key: 0,
|
|
294
|
+
trigger: "hover",
|
|
295
|
+
position: "bottom",
|
|
296
|
+
"adjust-min-width": false,
|
|
297
|
+
"adjust-width": false
|
|
298
|
+
}, {
|
|
299
|
+
target: withCtx(() => [
|
|
300
|
+
createElementVNode("p", {
|
|
301
|
+
class: "review-label",
|
|
302
|
+
onMouseenter: _cache[6] || (_cache[6] = ($event) => descMouseenter($event))
|
|
303
|
+
}, toDisplayString(shortcut.label), 33)
|
|
304
|
+
]),
|
|
305
|
+
default: withCtx(() => [
|
|
306
|
+
createElementVNode("p", _hoisted_18, toDisplayString(shortcut.label), 1)
|
|
307
|
+
]),
|
|
308
|
+
_: 2
|
|
309
|
+
}, 1024)) : (openBlock(), createElementBlock("p", {
|
|
310
|
+
key: 1,
|
|
311
|
+
class: "review-label",
|
|
312
|
+
onMouseenter: _cache[7] || (_cache[7] = ($event) => descMouseenter($event))
|
|
313
|
+
}, toDisplayString(shortcut.label), 33)),
|
|
314
|
+
showTitle.value ? (openBlock(), createBlock(unref(OPopover), {
|
|
315
|
+
key: 2,
|
|
316
|
+
trigger: "hover",
|
|
317
|
+
position: "bottom",
|
|
318
|
+
"adjust-min-width": false,
|
|
319
|
+
"adjust-width": false
|
|
320
|
+
}, {
|
|
321
|
+
target: withCtx(() => [
|
|
322
|
+
createElementVNode("div", {
|
|
323
|
+
class: "review-property",
|
|
324
|
+
onMouseenter: _cache[8] || (_cache[8] = ($event) => titleMouseenter($event))
|
|
325
|
+
}, toDisplayString(shortcut.remark), 33)
|
|
326
|
+
]),
|
|
327
|
+
default: withCtx(() => [
|
|
328
|
+
createElementVNode("div", _hoisted_19, toDisplayString(shortcut.remark), 1)
|
|
329
|
+
]),
|
|
330
|
+
_: 2
|
|
331
|
+
}, 1024)) : (openBlock(), createElementBlock("div", {
|
|
332
|
+
key: 3,
|
|
333
|
+
class: "review-property",
|
|
334
|
+
onMouseenter: _cache[9] || (_cache[9] = ($event) => titleMouseenter($event))
|
|
335
|
+
}, toDisplayString(shortcut.remark), 33))
|
|
263
336
|
])
|
|
264
337
|
], 8, _hoisted_15)), [
|
|
265
338
|
[_directive_analytics, () => onClickShortcut(shortcut)]
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-11427217] {
|
|
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-11427217] {
|
|
6
6
|
transform: rotate(-180deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.header-nav-wrap[data-v-
|
|
9
|
+
.header-nav-wrap[data-v-11427217] {
|
|
10
10
|
height: 100%;
|
|
11
11
|
--nav-right: 64px;
|
|
12
12
|
}
|
|
13
13
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
14
|
-
.header-nav-wrap[data-v-
|
|
14
|
+
.header-nav-wrap[data-v-11427217] {
|
|
15
15
|
--nav-right: 48px;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
@media (max-width: 1200px) {
|
|
19
|
-
.header-nav-wrap[data-v-
|
|
19
|
+
.header-nav-wrap[data-v-11427217] {
|
|
20
20
|
--nav-right: 32px;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
.header-nav-wrap .header-nav[data-v-
|
|
23
|
+
.header-nav-wrap .header-nav[data-v-11427217] {
|
|
24
24
|
height: 100%;
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: space-between;
|
|
27
27
|
width: calc(100% - var(--nav-right));
|
|
28
28
|
align-items: center;
|
|
29
29
|
}
|
|
30
|
-
.header-nav-wrap .header-nav-scroll[data-v-
|
|
30
|
+
.header-nav-wrap .header-nav-scroll[data-v-11427217] {
|
|
31
31
|
width: calc(100% - var(--nav-right) - 24px);
|
|
32
32
|
}
|
|
33
|
-
.o-nav[data-v-
|
|
33
|
+
.o-nav[data-v-11427217] {
|
|
34
34
|
height: 100%;
|
|
35
35
|
position: relative;
|
|
36
36
|
overflow-y: hidden;
|
|
37
37
|
overflow-x: auto;
|
|
38
38
|
z-index: 8;
|
|
39
39
|
}
|
|
40
|
-
.o-nav[data-v-
|
|
40
|
+
.o-nav[data-v-11427217]::-webkit-scrollbar {
|
|
41
41
|
display: none;
|
|
42
42
|
}
|
|
43
|
-
.left-icon[data-v-
|
|
44
|
-
.right-icon[data-v-
|
|
43
|
+
.left-icon[data-v-11427217],
|
|
44
|
+
.right-icon[data-v-11427217] {
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
cursor: pointer;
|
|
@@ -50,24 +50,24 @@
|
|
|
50
50
|
height: 16px;
|
|
51
51
|
border-radius: var(--o-radius-xs);
|
|
52
52
|
}
|
|
53
|
-
.left-icon .o-icon[data-v-
|
|
54
|
-
.right-icon .o-icon[data-v-
|
|
53
|
+
.left-icon .o-icon[data-v-11427217],
|
|
54
|
+
.right-icon .o-icon[data-v-11427217] {
|
|
55
55
|
--icon-size: 16px;
|
|
56
56
|
position: relative;
|
|
57
57
|
z-index: 11;
|
|
58
58
|
}
|
|
59
59
|
@media (hover: hover) {
|
|
60
|
-
.left-icon[data-v-
|
|
61
|
-
.right-icon[data-v-
|
|
60
|
+
.left-icon[data-v-11427217]:hover,
|
|
61
|
+
.right-icon[data-v-11427217]:hover {
|
|
62
62
|
background-color: var(--o-color-control2-light);
|
|
63
63
|
color: var(--o-color-link2);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
.left-icon[data-v-
|
|
67
|
-
.right-icon[data-v-
|
|
66
|
+
.left-icon[data-v-11427217]:active,
|
|
67
|
+
.right-icon[data-v-11427217]:active {
|
|
68
68
|
color: var(--o-color-link3);
|
|
69
69
|
}
|
|
70
|
-
.left-icon[data-v-
|
|
70
|
+
.left-icon[data-v-11427217]::before {
|
|
71
71
|
content: "";
|
|
72
72
|
position: absolute;
|
|
73
73
|
width: 50px;
|
|
@@ -79,16 +79,16 @@
|
|
|
79
79
|
cursor: default;
|
|
80
80
|
}
|
|
81
81
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
82
|
-
.left-icon[data-v-
|
|
82
|
+
.left-icon[data-v-11427217]::before {
|
|
83
83
|
top: -24px;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
@media (max-width: 1200px) {
|
|
87
|
-
.left-icon[data-v-
|
|
87
|
+
.left-icon[data-v-11427217]::before {
|
|
88
88
|
top: -20px;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
-
.right-icon[data-v-
|
|
91
|
+
.right-icon[data-v-11427217]::before {
|
|
92
92
|
content: "";
|
|
93
93
|
position: absolute;
|
|
94
94
|
width: 50px;
|
|
@@ -100,25 +100,25 @@
|
|
|
100
100
|
cursor: default;
|
|
101
101
|
}
|
|
102
102
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
103
|
-
.right-icon[data-v-
|
|
103
|
+
.right-icon[data-v-11427217]::before {
|
|
104
104
|
top: -24px;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
@media (max-width: 1200px) {
|
|
108
|
-
.right-icon[data-v-
|
|
108
|
+
.right-icon[data-v-11427217]::before {
|
|
109
109
|
top: -20px;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
[data-o-theme*=dark] .left-icon[data-v-
|
|
112
|
+
[data-o-theme*=dark] .left-icon[data-v-11427217]::before {
|
|
113
113
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 1) 0%, rgba(var(--o-grey-4), 0) 100%);
|
|
114
114
|
}
|
|
115
|
-
[data-o-theme*=dark] .right-icon[data-v-
|
|
115
|
+
[data-o-theme*=dark] .right-icon[data-v-11427217]::before {
|
|
116
116
|
background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 0) 0%, rgba(var(--o-grey-4), 1) 100%);
|
|
117
117
|
}
|
|
118
|
-
.o-nav-scroll[data-v-
|
|
118
|
+
.o-nav-scroll[data-v-11427217]::after {
|
|
119
119
|
display: none;
|
|
120
120
|
}
|
|
121
|
-
.o-nav-list[data-v-
|
|
121
|
+
.o-nav-list[data-v-11427217] {
|
|
122
122
|
display: flex;
|
|
123
123
|
height: 100%;
|
|
124
124
|
width: fit-content;
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
padding: 0;
|
|
128
128
|
margin: 0;
|
|
129
129
|
}
|
|
130
|
-
.o-nav-list li[data-v-
|
|
130
|
+
.o-nav-list li[data-v-11427217] {
|
|
131
131
|
position: relative;
|
|
132
132
|
display: flex;
|
|
133
133
|
align-items: center;
|
|
@@ -135,10 +135,10 @@
|
|
|
135
135
|
color: var(--o-color-info1);
|
|
136
136
|
transition: all var(--o-duration-s) var(--o-easing-standard);
|
|
137
137
|
}
|
|
138
|
-
.o-nav-list li .nav-text[data-v-
|
|
138
|
+
.o-nav-list li .nav-text[data-v-11427217] {
|
|
139
139
|
position: relative;
|
|
140
140
|
}
|
|
141
|
-
.o-nav-list li .nav-text[data-v-
|
|
141
|
+
.o-nav-list li .nav-text[data-v-11427217]::after {
|
|
142
142
|
content: "";
|
|
143
143
|
position: absolute;
|
|
144
144
|
left: 0;
|
|
@@ -151,32 +151,32 @@
|
|
|
151
151
|
transition: all var(--o-duration-s) var(--o-easing-standard);
|
|
152
152
|
}
|
|
153
153
|
@media (max-width: 1440px) {
|
|
154
|
-
.o-nav-list li .nav-text[data-v-
|
|
154
|
+
.o-nav-list li .nav-text[data-v-11427217]::after {
|
|
155
155
|
bottom: -21px;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
@media (max-width: 1200px) {
|
|
159
|
-
.o-nav-list li .nav-text[data-v-
|
|
159
|
+
.o-nav-list li .nav-text[data-v-11427217]::after {
|
|
160
160
|
bottom: -17px;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
.o-nav-list li.is-selected .nav-text[data-v-
|
|
163
|
+
.o-nav-list li.is-selected .nav-text[data-v-11427217] {
|
|
164
164
|
color: var(--o-color-primary2);
|
|
165
165
|
}
|
|
166
|
-
.o-nav-list li.is-active .nav-text[data-v-
|
|
166
|
+
.o-nav-list li.is-active .nav-text[data-v-11427217] {
|
|
167
167
|
color: var(--o-color-primary1);
|
|
168
168
|
z-index: 99;
|
|
169
169
|
font-weight: 600;
|
|
170
170
|
}
|
|
171
|
-
.o-nav-list li.is-active .nav-text[data-v-
|
|
171
|
+
.o-nav-list li.is-active .nav-text[data-v-11427217]::after {
|
|
172
172
|
content: "";
|
|
173
173
|
opacity: 1;
|
|
174
174
|
}
|
|
175
|
-
.o-nav-list li.is-disabled[data-v-
|
|
175
|
+
.o-nav-list li.is-disabled[data-v-11427217] {
|
|
176
176
|
color: var(--o-color-info4);
|
|
177
177
|
pointer-events: none;
|
|
178
178
|
}
|
|
179
|
-
.o-nav-list .nav-item[data-v-
|
|
179
|
+
.o-nav-list .nav-item[data-v-11427217] {
|
|
180
180
|
cursor: default;
|
|
181
181
|
display: flex;
|
|
182
182
|
align-items: center;
|
|
@@ -185,60 +185,60 @@
|
|
|
185
185
|
line-height: 24px;
|
|
186
186
|
}
|
|
187
187
|
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
188
|
-
.o-nav-list .nav-item[data-v-
|
|
188
|
+
.o-nav-list .nav-item[data-v-11427217] {
|
|
189
189
|
font-size: 14px;
|
|
190
190
|
line-height: 22px;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
194
|
-
.o-nav-list .nav-item[data-v-
|
|
194
|
+
.o-nav-list .nav-item[data-v-11427217] {
|
|
195
195
|
font-size: 14px;
|
|
196
196
|
line-height: 22px;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
@media (min-width: 601px) and (max-width: 840px) {
|
|
200
|
-
.o-nav-list .nav-item[data-v-
|
|
200
|
+
.o-nav-list .nav-item[data-v-11427217] {
|
|
201
201
|
font-size: 14px;
|
|
202
202
|
line-height: 22px;
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
@media (max-width: 600px) {
|
|
206
|
-
.o-nav-list .nav-item[data-v-
|
|
206
|
+
.o-nav-list .nav-item[data-v-11427217] {
|
|
207
207
|
font-size: 12px;
|
|
208
208
|
line-height: 18px;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
@media (max-width: 1440px) {
|
|
212
|
-
.o-nav-list .nav-item[data-v-
|
|
212
|
+
.o-nav-list .nav-item[data-v-11427217] {
|
|
213
213
|
padding: 18px 12px;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
217
|
-
.o-nav-list .nav-item[data-v-
|
|
217
|
+
.o-nav-list .nav-item[data-v-11427217] {
|
|
218
218
|
padding: 14px 8px;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
@media (min-width: 841px) and (max-width: 1000px) {
|
|
222
|
-
.o-nav-list .nav-item.en[data-v-
|
|
222
|
+
.o-nav-list .nav-item.en[data-v-11427217] {
|
|
223
223
|
padding: var(--o-gap-2);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
.o-nav-list .item-other[data-v-
|
|
226
|
+
.o-nav-list .item-other[data-v-11427217] {
|
|
227
227
|
cursor: pointer;
|
|
228
228
|
}
|
|
229
|
-
.o-nav-list .item-other .content-tag[data-v-
|
|
229
|
+
.o-nav-list .item-other .content-tag[data-v-11427217] {
|
|
230
230
|
margin-left: var(--o-gap-2);
|
|
231
231
|
--layout-pkg-radius: var(--o-radius-xs);
|
|
232
232
|
}
|
|
233
|
-
.o-nav-list .item-other:active .nav-text[data-v-
|
|
233
|
+
.o-nav-list .item-other:active .nav-text[data-v-11427217] {
|
|
234
234
|
color: var(--o-color-primary1);
|
|
235
235
|
z-index: 99;
|
|
236
236
|
font-weight: 600;
|
|
237
237
|
}
|
|
238
|
-
.o-nav-list .item-other:active .nav-text[data-v-
|
|
238
|
+
.o-nav-list .item-other:active .nav-text[data-v-11427217]::after {
|
|
239
239
|
content: "";
|
|
240
240
|
opacity: 1;
|
|
241
241
|
}
|
|
242
|
-
.mindspore .item-other .content-tag[data-v-
|
|
242
|
+
.mindspore .item-other .content-tag[data-v-11427217] {
|
|
243
243
|
--layout-pkg-radius: 100vh;
|
|
244
244
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./HeaderNav.vue2.mjs";
|
|
2
2
|
import './HeaderNav.css';
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const HeaderNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const HeaderNav = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-11427217"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderNav as default
|
|
7
7
|
};
|
|
@@ -288,7 +288,8 @@ const en = {
|
|
|
288
288
|
"feedback.submitDirectly": "Submit",
|
|
289
289
|
"feedback.submitIssue": "Report Issue",
|
|
290
290
|
"feedback.submit": "Submit",
|
|
291
|
-
"feedback.cancel": "Cancel"
|
|
291
|
+
"feedback.cancel": "Cancel",
|
|
292
|
+
"header.quickLink": "Quick Link"
|
|
292
293
|
};
|
|
293
294
|
export {
|
|
294
295
|
en as default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendesign-plus/components",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"vue-dompurify-html": "^3.1.2",
|
|
46
46
|
"vue": "^3.5.13",
|
|
47
47
|
"element-plus": "2.13.1",
|
|
48
|
-
"@opendesign-plus/
|
|
49
|
-
"@opendesign-plus/
|
|
48
|
+
"@opendesign-plus/composables": "0.0.1-rc.10",
|
|
49
|
+
"@opendesign-plus/styles": "0.0.1-rc.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@vitejs/plugin-vue": "^5.2.1",
|