@opendesign-plus/components 0.0.1-rc.39 → 0.0.1-rc.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +52 -54
- package/dist/components/header/OHeader.vue.d.ts +7 -1
- package/dist/components/header/OHeaderMobile.vue.d.ts +6 -14
- package/dist/components/header/components/HeaderFlatten.vue.d.ts +19 -0
- package/dist/components/header/components/HeaderNav.vue.d.ts +3 -0
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +0 -2
- package/dist/components/header/index.d.ts +18 -10
- package/dist/components/header/types.d.ts +8 -4
- package/dist/components/header-search/OHeaderSearch.vue.d.ts +5 -2
- package/dist/components/header-search/index.d.ts +3 -0
- package/dist/components/header-user/OHeaderUser.vue.d.ts +2 -6
- package/dist/components/header-user/index.d.ts +3 -18
- package/dist/components/meeting/OMeetingCalendar.vue.d.ts +6 -1
- package/dist/components/meeting/index.d.ts +18 -5
- package/dist/components/meeting/types.d.ts +1 -0
- package/dist/components.cjs.js +39 -39
- package/dist/components.css +1 -1
- package/dist/components.es.js +10188 -9853
- package/dist/treeshaking/_virtual/icon-avatar-line.mjs +1 -2
- package/dist/treeshaking/_virtual/icon-chevron-right.mjs +4 -1
- package/dist/treeshaking/_virtual/icon-header-search.mjs +4 -10
- package/dist/treeshaking/_virtual/icon-locale.mjs +0 -1
- package/dist/treeshaking/_virtual/icon-moon.mjs +0 -1
- package/dist/treeshaking/_virtual/icon-sun.mjs +0 -1
- package/dist/treeshaking/components/element-plus/OElCookieNotice.vue.mjs +1 -1
- package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +145 -145
- package/dist/treeshaking/components/header/OHeader.css +42 -11
- package/dist/treeshaking/components/header/OHeader.vue.d.ts +7 -1
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +66 -41
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +6 -14
- package/dist/treeshaking/components/header/OHeaderMobile.vue2.mjs +2 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +317 -555
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +170 -137
- package/dist/treeshaking/components/header/components/HeaderFlatten.css +267 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.d.ts +19 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +7 -0
- package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +298 -0
- package/dist/treeshaking/components/header/components/HeaderNav.css +93 -34
- package/dist/treeshaking/components/header/components/HeaderNav.vue.d.ts +3 -0
- package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +20 -7
- package/dist/treeshaking/components/header/components/HeaderNavMobile.css +108 -130
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +0 -2
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +128 -123
- package/dist/treeshaking/components/header/index.d.ts +18 -10
- package/dist/treeshaking/components/header/types.d.ts +8 -4
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.css +45 -38
- package/dist/treeshaking/components/header-language-switcher/OHeaderLanguageSwitcher.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.css +65 -38
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +5 -2
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.mjs +1 -1
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue2.mjs +25 -10
- package/dist/treeshaking/components/header-search/index.d.ts +3 -0
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.css +87 -50
- package/dist/treeshaking/components/header-source-code/OHeaderSourceCode.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.css +105 -50
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.d.ts +2 -6
- package/dist/treeshaking/components/header-user/OHeaderUser.vue.mjs +1 -1
- package/dist/treeshaking/components/header-user/OHeaderUser.vue2.mjs +46 -33
- package/dist/treeshaking/components/header-user/OHeaderUser2.css +5 -41
- package/dist/treeshaking/components/header-user/index.d.ts +3 -18
- package/dist/treeshaking/components/meeting/OMeetingCalendar.css +30 -1
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.d.ts +6 -1
- package/dist/treeshaking/components/meeting/OMeetingCalendar.vue.mjs +58 -33
- package/dist/treeshaking/components/meeting/OMeetingForm.vue.mjs +2 -2
- package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +4 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +10 -16
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +25 -72
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.css +6 -1
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +105 -92
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.css +6 -1
- package/dist/treeshaking/components/meeting/components/OMeetingSigAside.vue.mjs +59 -50
- package/dist/treeshaking/components/meeting/index.d.ts +18 -5
- package/dist/treeshaking/components/meeting/types.d.ts +1 -0
- package/dist/treeshaking/components/search/internal/SearchImageInput.css +66 -40
- package/dist/treeshaking/components/search/internal/SearchImageInput.vue.mjs +1 -1
- package/dist/treeshaking/components/search/internal/SearchPanel.css +221 -115
- package/dist/treeshaking/components/search/internal/SearchPanel.vue.mjs +1 -1
- package/dist/treeshaking/components/search/internal/SearchPanel.vue2.mjs +49 -43
- package/dist/treeshaking/i18n/en.mjs +6 -7
- package/dist/treeshaking/i18n/zh.mjs +6 -7
- package/package.json +1 -1
|
@@ -1,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-aef9f468"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderContent as default
|
|
7
7
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveDirective, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock,
|
|
2
|
-
import { OScroller, OIcon,
|
|
3
|
-
import ContentWrapper from "../../common/ContentWrapper.vue.mjs";
|
|
1
|
+
import { defineComponent, ref, resolveDirective, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createVNode, withCtx, Fragment, renderList, toDisplayString, withDirectives, createBlock, createTextVNode, createCommentVNode, resolveDynamicComponent } from "vue";
|
|
2
|
+
import { OScroller, OTag, OIcon, OPopover } from "@opensig/opendesign";
|
|
4
3
|
import { useTheme } from "../../../shared/theme.mjs";
|
|
5
4
|
import { useI18n } from "../../../i18n/index.mjs";
|
|
6
|
-
const _hoisted_1 = { class: "
|
|
7
|
-
const _hoisted_2 = { class: "content
|
|
8
|
-
const _hoisted_3 = { class: "content-
|
|
9
|
-
const _hoisted_4 = { class: "content-
|
|
10
|
-
const _hoisted_5 =
|
|
11
|
-
const _hoisted_6 =
|
|
12
|
-
const _hoisted_7 = {
|
|
5
|
+
const _hoisted_1 = { class: "header-content-nav" };
|
|
6
|
+
const _hoisted_2 = { class: "nav-sub-content" };
|
|
7
|
+
const _hoisted_3 = { class: "content-left" };
|
|
8
|
+
const _hoisted_4 = { class: "content-label" };
|
|
9
|
+
const _hoisted_5 = { class: "content-container" };
|
|
10
|
+
const _hoisted_6 = ["href", "target"];
|
|
11
|
+
const _hoisted_7 = { class: "item-name" };
|
|
12
|
+
const _hoisted_8 = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "desc-container"
|
|
15
15
|
};
|
|
16
|
-
const
|
|
17
|
-
const
|
|
16
|
+
const _hoisted_9 = { class: "popover-item-desc" };
|
|
17
|
+
const _hoisted_10 = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "split-line"
|
|
20
20
|
};
|
|
21
|
-
const
|
|
21
|
+
const _hoisted_11 = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "content-right"
|
|
24
24
|
};
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
25
|
+
const _hoisted_12 = { class: "content-label" };
|
|
26
|
+
const _hoisted_13 = ["href", "target"];
|
|
27
|
+
const _hoisted_14 = { class: "popover-shortcut" };
|
|
28
|
+
const _hoisted_15 = ["href", "target"];
|
|
29
|
+
const _hoisted_16 = ["src"];
|
|
30
|
+
const _hoisted_17 = { class: "review-content" };
|
|
31
|
+
const _hoisted_18 = { class: "review-label" };
|
|
32
|
+
const _hoisted_19 = { class: "review-property" };
|
|
33
33
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
34
34
|
__name: "HeaderContent",
|
|
35
35
|
props: {
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
const emit = __emit;
|
|
46
46
|
const props = __props;
|
|
47
47
|
const { locale } = useI18n();
|
|
48
|
-
const { theme } = useTheme();
|
|
48
|
+
const { theme, isDark } = useTheme();
|
|
49
49
|
const navVisible = ref(false);
|
|
50
50
|
const onMouseEnter = () => {
|
|
51
51
|
var _a;
|
|
@@ -107,128 +107,161 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
class: "nav-background-right",
|
|
108
108
|
style: normalizeStyle({ backgroundImage: `url(${props.bgRight})` })
|
|
109
109
|
}, null, 4),
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
createElementVNode("div",
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
110
|
+
createElementVNode("div", _hoisted_1, [
|
|
111
|
+
createVNode(unref(OScroller), {
|
|
112
|
+
class: "nav-scroller",
|
|
113
|
+
"show-type": "always",
|
|
114
|
+
size: "small",
|
|
115
|
+
"disabled-y": ""
|
|
116
|
+
}, {
|
|
117
|
+
default: withCtx(() => {
|
|
118
|
+
var _a2, _b2, _c2, _d, _e, _f, _g, _h;
|
|
119
|
+
return [
|
|
120
|
+
createElementVNode("div", _hoisted_2, [
|
|
121
|
+
createElementVNode("div", _hoisted_3, [
|
|
122
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList((_a2 = props.itemData) == null ? void 0 : _a2.children, (sub, s) => {
|
|
123
|
+
return openBlock(), createElementBlock("div", {
|
|
124
|
+
class: "item-sub",
|
|
125
|
+
key: s
|
|
126
|
+
}, [
|
|
127
|
+
createElementVNode("span", _hoisted_4, toDisplayString(sub.label), 1),
|
|
128
|
+
createElementVNode("div", _hoisted_5, [
|
|
129
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(sub.children, (subItem) => {
|
|
130
|
+
return openBlock(), createElementBlock("div", {
|
|
131
|
+
key: subItem.label,
|
|
132
|
+
class: normalizeClass(["content-item", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
|
|
133
|
+
}, [
|
|
134
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
135
|
+
href: subItem.href,
|
|
136
|
+
target: (subItem == null ? void 0 : subItem.target) || "_self",
|
|
137
|
+
rel: "noopener noreferrer",
|
|
138
|
+
class: "item-label"
|
|
134
139
|
}, [
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
createTextVNode(toDisplayString(subItem.tag), 1)
|
|
157
|
-
]),
|
|
158
|
-
_: 2
|
|
159
|
-
}, 1024)) : createCommentVNode("", true)
|
|
160
|
-
], 8, _hoisted_5)), [
|
|
161
|
-
[_directive_analytics, () => onClickNavHref(sub, subItem)]
|
|
162
|
-
]),
|
|
163
|
-
subItem.description ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
164
|
-
createElementVNode("p", {
|
|
165
|
-
class: "item-desc",
|
|
166
|
-
title: showDesc.value ? subItem.description : void 0,
|
|
167
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => descMouseenter($event))
|
|
168
|
-
}, toDisplayString(subItem.description), 41, _hoisted_8)
|
|
169
|
-
])) : createCommentVNode("", true)
|
|
170
|
-
]);
|
|
171
|
-
}), 128))
|
|
172
|
-
])
|
|
173
|
-
]);
|
|
174
|
-
}), 128))
|
|
175
|
-
]),
|
|
176
|
-
((_c2 = (_b2 = props.itemData) == null ? void 0 : _b2.shortcut) == null ? void 0 : _c2.length) ? (openBlock(), createElementBlock("div", _hoisted_9)) : createCommentVNode("", true),
|
|
177
|
-
((_e = (_d = props.itemData) == null ? void 0 : _d.shortcut) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
178
|
-
createElementVNode("span", _hoisted_11, toDisplayString(unref(locale) === "zh" ? "快捷链接" : "Quick Link"), 1),
|
|
179
|
-
!((_f = props.itemData) == null ? void 0 : _f.withPicture) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList((_g = props.itemData) == null ? void 0 : _g.shortcut, (shortcut) => {
|
|
180
|
-
return openBlock(), createElementBlock("div", {
|
|
181
|
-
key: shortcut.label,
|
|
182
|
-
class: "shortcut"
|
|
183
|
-
}, [
|
|
184
|
-
withDirectives((openBlock(), createElementBlock("a", {
|
|
185
|
-
href: shortcut.href,
|
|
186
|
-
target: (shortcut == null ? void 0 : shortcut.target) || "_self",
|
|
187
|
-
rel: "noopener noreferrer",
|
|
188
|
-
class: "shortcut-link"
|
|
189
|
-
}, [
|
|
190
|
-
createElementVNode("span", {
|
|
191
|
-
title: shortcut.label
|
|
192
|
-
}, toDisplayString(shortcut.label), 9, _hoisted_13),
|
|
193
|
-
shortcut.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
|
|
194
|
-
default: withCtx(() => [
|
|
195
|
-
(openBlock(), createBlock(resolveDynamicComponent(shortcut.icon)))
|
|
140
|
+
createElementVNode("span", _hoisted_7, toDisplayString(subItem.label), 1),
|
|
141
|
+
subItem.tag ? (openBlock(), createBlock(unref(OTag), {
|
|
142
|
+
key: 0,
|
|
143
|
+
round: "pill",
|
|
144
|
+
color: "danger",
|
|
145
|
+
size: "small",
|
|
146
|
+
class: "content-tag"
|
|
147
|
+
}, {
|
|
148
|
+
default: withCtx(() => [
|
|
149
|
+
createTextVNode(toDisplayString(subItem.tag), 1)
|
|
150
|
+
]),
|
|
151
|
+
_: 2
|
|
152
|
+
}, 1024)) : createCommentVNode("", true),
|
|
153
|
+
subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 1 }, {
|
|
154
|
+
default: withCtx(() => [
|
|
155
|
+
(openBlock(), createBlock(resolveDynamicComponent(subItem.icon)))
|
|
156
|
+
]),
|
|
157
|
+
_: 2
|
|
158
|
+
}, 1024)) : createCommentVNode("", true)
|
|
159
|
+
], 8, _hoisted_6)), [
|
|
160
|
+
[_directive_analytics, () => onClickNavHref(sub, subItem)]
|
|
196
161
|
]),
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
162
|
+
subItem.description ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
163
|
+
showDesc.value ? (openBlock(), createBlock(unref(OPopover), {
|
|
164
|
+
key: 0,
|
|
165
|
+
trigger: "hover",
|
|
166
|
+
position: "bottom",
|
|
167
|
+
"adjust-min-width": false,
|
|
168
|
+
"adjust-width": false
|
|
169
|
+
}, {
|
|
170
|
+
target: withCtx(() => [
|
|
171
|
+
createElementVNode("p", {
|
|
172
|
+
class: normalizeClass(["item-desc", [`item-desc-line-${subItem == null ? void 0 : subItem.line}`]]),
|
|
173
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => descMouseenter($event))
|
|
174
|
+
}, toDisplayString(subItem.description), 35)
|
|
175
|
+
]),
|
|
176
|
+
default: withCtx(() => [
|
|
177
|
+
createElementVNode("p", _hoisted_9, toDisplayString(subItem.description), 1)
|
|
178
|
+
]),
|
|
179
|
+
_: 2
|
|
180
|
+
}, 1024)) : (openBlock(), createElementBlock("p", {
|
|
181
|
+
key: 1,
|
|
182
|
+
class: normalizeClass(["item-desc", [`item-desc-line-${subItem == null ? void 0 : subItem.line}`]]),
|
|
183
|
+
onMouseenter: _cache[1] || (_cache[1] = ($event) => descMouseenter($event))
|
|
184
|
+
}, toDisplayString(subItem.description), 35))
|
|
185
|
+
])) : createCommentVNode("", true)
|
|
186
|
+
], 2);
|
|
187
|
+
}), 128))
|
|
188
|
+
])
|
|
189
|
+
]);
|
|
190
|
+
}), 128))
|
|
191
|
+
]),
|
|
192
|
+
((_c2 = (_b2 = props.itemData) == null ? void 0 : _b2.shortcut) == null ? void 0 : _c2.length) ? (openBlock(), createElementBlock("div", _hoisted_10)) : createCommentVNode("", true),
|
|
193
|
+
((_e = (_d = props.itemData) == null ? void 0 : _d.shortcut) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
194
|
+
createElementVNode("span", _hoisted_12, toDisplayString(unref(locale) === "zh" ? "快捷链接" : "Quick Link"), 1),
|
|
195
|
+
!((_f = props.itemData) == null ? void 0 : _f.withPicture) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList((_g = props.itemData) == null ? void 0 : _g.shortcut, (shortcut) => {
|
|
196
|
+
return openBlock(), createElementBlock("div", {
|
|
197
|
+
key: shortcut.label,
|
|
198
|
+
class: "shortcut"
|
|
199
|
+
}, [
|
|
200
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
206
201
|
href: shortcut.href,
|
|
207
202
|
target: (shortcut == null ? void 0 : shortcut.target) || "_self",
|
|
208
203
|
rel: "noopener noreferrer",
|
|
209
|
-
class: "
|
|
204
|
+
class: "shortcut-link"
|
|
210
205
|
}, [
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
206
|
+
showDesc.value ? (openBlock(), createBlock(unref(OPopover), {
|
|
207
|
+
key: 0,
|
|
208
|
+
trigger: "hover",
|
|
209
|
+
position: "bottom",
|
|
210
|
+
"adjust-min-width": false,
|
|
211
|
+
"adjust-width": false
|
|
212
|
+
}, {
|
|
213
|
+
target: withCtx(() => [
|
|
214
|
+
createElementVNode("p", {
|
|
215
|
+
class: "shortcut-title",
|
|
216
|
+
onMouseenter: _cache[2] || (_cache[2] = ($event) => descMouseenter($event))
|
|
217
|
+
}, toDisplayString(shortcut.label), 33)
|
|
218
|
+
]),
|
|
219
|
+
default: withCtx(() => [
|
|
220
|
+
createElementVNode("p", _hoisted_14, toDisplayString(shortcut.label), 1)
|
|
221
|
+
]),
|
|
222
|
+
_: 2
|
|
223
|
+
}, 1024)) : (openBlock(), createElementBlock("p", {
|
|
224
|
+
key: 1,
|
|
225
|
+
class: "shortcut-title",
|
|
226
|
+
onMouseenter: _cache[3] || (_cache[3] = ($event) => descMouseenter($event))
|
|
227
|
+
}, toDisplayString(shortcut.label), 33)),
|
|
228
|
+
shortcut.icon ? (openBlock(), createBlock(unref(OIcon), { key: 2 }, {
|
|
229
|
+
default: withCtx(() => [
|
|
230
|
+
(openBlock(), createBlock(resolveDynamicComponent(shortcut.icon)))
|
|
231
|
+
]),
|
|
232
|
+
_: 2
|
|
233
|
+
}, 1024)) : createCommentVNode("", true)
|
|
234
|
+
], 8, _hoisted_13)), [
|
|
220
235
|
[_directive_analytics, () => onClickShortcut(shortcut)]
|
|
221
|
-
])
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
236
|
+
])
|
|
237
|
+
]);
|
|
238
|
+
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList((_h = props.itemData) == null ? void 0 : _h.shortcut, (shortcut) => {
|
|
239
|
+
return withDirectives((openBlock(), createElementBlock("a", {
|
|
240
|
+
key: shortcut.label,
|
|
241
|
+
href: shortcut.href,
|
|
242
|
+
target: (shortcut == null ? void 0 : shortcut.target) || "_self",
|
|
243
|
+
rel: "noopener noreferrer",
|
|
244
|
+
class: "review"
|
|
245
|
+
}, [
|
|
246
|
+
createElementVNode("img", {
|
|
247
|
+
src: unref(isDark) && (shortcut == null ? void 0 : shortcut.pictureDark) ? shortcut == null ? void 0 : shortcut.pictureDark : shortcut.picture,
|
|
248
|
+
class: "review-picture"
|
|
249
|
+
}, null, 8, _hoisted_16),
|
|
250
|
+
createElementVNode("div", _hoisted_17, [
|
|
251
|
+
createElementVNode("p", _hoisted_18, toDisplayString(shortcut.label), 1),
|
|
252
|
+
createElementVNode("div", _hoisted_19, toDisplayString(shortcut.remark), 1)
|
|
253
|
+
])
|
|
254
|
+
], 8, _hoisted_15)), [
|
|
255
|
+
[_directive_analytics, () => onClickShortcut(shortcut)]
|
|
256
|
+
]);
|
|
257
|
+
}), 128))
|
|
258
|
+
])) : createCommentVNode("", true)
|
|
259
|
+
])
|
|
260
|
+
];
|
|
261
|
+
}),
|
|
262
|
+
_: 1
|
|
263
|
+
})
|
|
264
|
+
])
|
|
232
265
|
], 2)) : createCommentVNode("", true)
|
|
233
266
|
], 32);
|
|
234
267
|
};
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
.hover-icon-rotate .o-icon[data-v-a4e6916a] {
|
|
2
|
+
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
+
}
|
|
4
|
+
@media (hover: hover) {
|
|
5
|
+
.hover-icon-rotate:hover .o-icon[data-v-a4e6916a] {
|
|
6
|
+
transform: rotate(-180deg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.header-nav-wrap[data-v-a4e6916a] {
|
|
10
|
+
height: 100%;
|
|
11
|
+
}
|
|
12
|
+
.header-nav-wrap .header-nav[data-v-a4e6916a] {
|
|
13
|
+
height: 100%;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
width: calc(100% - 64px);
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
.header-nav-wrap .header-nav-scroll[data-v-a4e6916a] {
|
|
20
|
+
width: calc(100% - 64px - 24px);
|
|
21
|
+
}
|
|
22
|
+
.o-nav[data-v-a4e6916a] {
|
|
23
|
+
--o-before-left: 0;
|
|
24
|
+
height: 100%;
|
|
25
|
+
position: relative;
|
|
26
|
+
overflow-y: hidden;
|
|
27
|
+
overflow-x: auto;
|
|
28
|
+
}
|
|
29
|
+
.o-nav[data-v-a4e6916a]::after, .o-nav[data-v-a4e6916a]::before {
|
|
30
|
+
content: "";
|
|
31
|
+
position: absolute;
|
|
32
|
+
width: 50px;
|
|
33
|
+
height: 100%;
|
|
34
|
+
top: 0;
|
|
35
|
+
z-index: 9;
|
|
36
|
+
}
|
|
37
|
+
.o-nav[data-v-a4e6916a]::after {
|
|
38
|
+
right: 0;
|
|
39
|
+
background-image: linear-gradient(90deg, rgba(var(--o-grey-1), 0) 0%, rgba(var(--o-grey-1), 1) 100%);
|
|
40
|
+
}
|
|
41
|
+
.o-nav[data-v-a4e6916a]::before {
|
|
42
|
+
background-image: linear-gradient(0, rgba(var(--o-grey-1), 0) 0%, rgba(var(--o-grey-1), 1) 100%);
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
.o-nav[data-v-a4e6916a]::-webkit-scrollbar {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
.right-icon[data-v-a4e6916a] {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
width: 16px;
|
|
53
|
+
height: 16px;
|
|
54
|
+
border-radius: var(--o-radius-xs);
|
|
55
|
+
}
|
|
56
|
+
.right-icon .o-icon[data-v-a4e6916a] {
|
|
57
|
+
--icon-size: 16px;
|
|
58
|
+
}
|
|
59
|
+
@media (hover: hover) {
|
|
60
|
+
.right-icon[data-v-a4e6916a]:hover {
|
|
61
|
+
background-color: var(--o-color-control2-light);
|
|
62
|
+
color: var(--o-color-link2);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.right-icon[data-v-a4e6916a]:active {
|
|
66
|
+
color: var(--o-color-link3);
|
|
67
|
+
}
|
|
68
|
+
[data-o-theme*=dark] .o-nav[data-v-a4e6916a]::after, [data-o-theme*=dark] .o-nav[data-v-a4e6916a]::before {
|
|
69
|
+
background-image: linear-gradient(90deg, rgba(var(--o-grey-4), 0) 0%, rgba(var(--o-grey-4), 1) 100%);
|
|
70
|
+
}
|
|
71
|
+
.o-nav-scroll[data-v-a4e6916a]::after {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
.o-nav-scroll[data-v-a4e6916a]::before {
|
|
75
|
+
left: var(--o-before-left);
|
|
76
|
+
display: block;
|
|
77
|
+
}
|
|
78
|
+
.nav-list[data-v-a4e6916a] {
|
|
79
|
+
display: flex;
|
|
80
|
+
height: 100%;
|
|
81
|
+
width: fit-content;
|
|
82
|
+
flex-wrap: nowrap;
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
padding: 0;
|
|
85
|
+
margin: 0;
|
|
86
|
+
}
|
|
87
|
+
.nav-item-li[data-v-a4e6916a] {
|
|
88
|
+
position: relative;
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
height: 100%;
|
|
92
|
+
color: var(--o-color-info1);
|
|
93
|
+
pointer-events: auto;
|
|
94
|
+
transition: color var(--o-duration-s) var(--o-easing-standard);
|
|
95
|
+
}
|
|
96
|
+
.nav-item-li .nav-item[data-v-a4e6916a] {
|
|
97
|
+
cursor: default;
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
padding: 22px var(--o-gap-4);
|
|
101
|
+
font-size: 16px;
|
|
102
|
+
line-height: 24px;
|
|
103
|
+
}
|
|
104
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
105
|
+
.nav-item-li .nav-item[data-v-a4e6916a] {
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
line-height: 22px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
111
|
+
.nav-item-li .nav-item[data-v-a4e6916a] {
|
|
112
|
+
font-size: 14px;
|
|
113
|
+
line-height: 22px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
117
|
+
.nav-item-li .nav-item[data-v-a4e6916a] {
|
|
118
|
+
font-size: 14px;
|
|
119
|
+
line-height: 22px;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
@media (max-width: 600px) {
|
|
123
|
+
.nav-item-li .nav-item[data-v-a4e6916a] {
|
|
124
|
+
font-size: 12px;
|
|
125
|
+
line-height: 18px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@media (max-width: 1440px) {
|
|
129
|
+
.nav-item-li .nav-item[data-v-a4e6916a] {
|
|
130
|
+
padding: 18px 12px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
134
|
+
.nav-item-li .nav-item[data-v-a4e6916a] {
|
|
135
|
+
padding: 14px 8px;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
.nav-item-li .nav-text[data-v-a4e6916a] {
|
|
139
|
+
position: relative;
|
|
140
|
+
}
|
|
141
|
+
.nav-item-li .nav-text[data-v-a4e6916a]::after {
|
|
142
|
+
content: "";
|
|
143
|
+
position: absolute;
|
|
144
|
+
left: 0;
|
|
145
|
+
opacity: 0;
|
|
146
|
+
bottom: -24px;
|
|
147
|
+
width: 100%;
|
|
148
|
+
height: 2px;
|
|
149
|
+
border-radius: 1px;
|
|
150
|
+
background: var(--o-color-primary1);
|
|
151
|
+
transition: all var(--o-duration-s) var(--o-easing-standard);
|
|
152
|
+
}
|
|
153
|
+
@media (max-width: 1440px) {
|
|
154
|
+
.nav-item-li .nav-text[data-v-a4e6916a]::after {
|
|
155
|
+
bottom: -21px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
@media (max-width: 1200px) {
|
|
159
|
+
.nav-item-li .nav-text[data-v-a4e6916a]::after {
|
|
160
|
+
bottom: -17px;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
.nav-item-li .nav-item-link[data-v-a4e6916a] {
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
}
|
|
166
|
+
.nav-item-li.is-selected .nav-text[data-v-a4e6916a], .nav-item-li.is-active .nav-text[data-v-a4e6916a] {
|
|
167
|
+
color: var(--o-color-primary1);
|
|
168
|
+
z-index: 99;
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
}
|
|
171
|
+
.nav-item-li.is-selected .nav-text[data-v-a4e6916a]::after, .nav-item-li.is-active .nav-text[data-v-a4e6916a]::after {
|
|
172
|
+
opacity: 1;
|
|
173
|
+
}
|
|
174
|
+
.nav-item-li.is-disabled[data-v-a4e6916a] {
|
|
175
|
+
color: var(--o-color-info4);
|
|
176
|
+
pointer-events: none;
|
|
177
|
+
}
|
|
178
|
+
.dropdown-wrapper[data-v-a4e6916a] {
|
|
179
|
+
position: absolute;
|
|
180
|
+
top: calc(100% - 4px);
|
|
181
|
+
left: 0;
|
|
182
|
+
display: none;
|
|
183
|
+
padding-top: 8px;
|
|
184
|
+
transition: opacity var(--o-duration-s) var(--o-easing-standard);
|
|
185
|
+
}
|
|
186
|
+
.dropdown-wrapper .dropdown-body[data-v-a4e6916a] {
|
|
187
|
+
padding: 6px;
|
|
188
|
+
background-color: var(--o-color-fill2);
|
|
189
|
+
border-radius: var(--o-radius-xs);
|
|
190
|
+
box-shadow: var(--o-shadow-2);
|
|
191
|
+
}
|
|
192
|
+
.dropdown-wrapper .dropdown-item[data-v-a4e6916a] {
|
|
193
|
+
font-weight: 400;
|
|
194
|
+
white-space: nowrap;
|
|
195
|
+
display: flex;
|
|
196
|
+
align-items: center;
|
|
197
|
+
padding: 6px 12px;
|
|
198
|
+
min-width: 100px;
|
|
199
|
+
border-radius: var(--o-radius-xs);
|
|
200
|
+
color: var(--o-color-info2);
|
|
201
|
+
background-color: transparent;
|
|
202
|
+
transition: background-color var(--o-duration-s) var(--o-easing-standard);
|
|
203
|
+
cursor: pointer;
|
|
204
|
+
font-size: 16px;
|
|
205
|
+
line-height: 24px;
|
|
206
|
+
}
|
|
207
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
208
|
+
.dropdown-wrapper .dropdown-item[data-v-a4e6916a] {
|
|
209
|
+
font-size: 14px;
|
|
210
|
+
line-height: 22px;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
214
|
+
.dropdown-wrapper .dropdown-item[data-v-a4e6916a] {
|
|
215
|
+
font-size: 14px;
|
|
216
|
+
line-height: 22px;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
220
|
+
.dropdown-wrapper .dropdown-item[data-v-a4e6916a] {
|
|
221
|
+
font-size: 14px;
|
|
222
|
+
line-height: 22px;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
@media (max-width: 600px) {
|
|
226
|
+
.dropdown-wrapper .dropdown-item[data-v-a4e6916a] {
|
|
227
|
+
font-size: 12px;
|
|
228
|
+
line-height: 18px;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
@media (hover: hover) {
|
|
232
|
+
.dropdown-wrapper .dropdown-item[data-v-a4e6916a]:hover {
|
|
233
|
+
background-color: var(--o-color-control2-light);
|
|
234
|
+
color: var(--o-color-primary1);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
.dropdown-wrapper .dropdown-item-disabled[data-v-a4e6916a] {
|
|
238
|
+
color: var(--o-color-info4);
|
|
239
|
+
pointer-events: none;
|
|
240
|
+
}
|
|
241
|
+
.dropdown-wrapper .dropdown-link[data-v-a4e6916a] {
|
|
242
|
+
color: inherit;
|
|
243
|
+
display: flex;
|
|
244
|
+
align-items: center;
|
|
245
|
+
width: 100%;
|
|
246
|
+
}
|
|
247
|
+
.dropdown-wrapper .dropdown-link .o-tag[data-v-a4e6916a] {
|
|
248
|
+
margin-left: var(--o-gap-2);
|
|
249
|
+
transform: scale(0.75);
|
|
250
|
+
transform-origin: left center;
|
|
251
|
+
}
|
|
252
|
+
.dropdown-wrapper[data-v-a4e6916a] .jump-out-icon {
|
|
253
|
+
font-size: 16px;
|
|
254
|
+
margin-left: 4px;
|
|
255
|
+
}
|
|
256
|
+
.dropdown-wrapper[data-v-a4e6916a] .jump-out-icon path {
|
|
257
|
+
fill: currentColor;
|
|
258
|
+
stroke: transparent;
|
|
259
|
+
}
|
|
260
|
+
.dropdown-wrapper[data-v-a4e6916a] .jump-out-icon path[fill=none] {
|
|
261
|
+
display: none;
|
|
262
|
+
}
|
|
263
|
+
@media (hover: hover) {
|
|
264
|
+
.nav-item:hover .dropdown-wrapper[data-v-a4e6916a] {
|
|
265
|
+
display: block;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NavLiT } from '../types.ts';
|
|
2
|
+
export interface OHeaderEmitsT {
|
|
3
|
+
(e: 'handle-mouseenter', val: any): void;
|
|
4
|
+
(e: 'handle-mouseleave', val: any): void;
|
|
5
|
+
(e: 'handle-click', val: any): void;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<NavLiT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
"handle-mouseenter": (val: any) => any;
|
|
9
|
+
"handle-mouseleave": (val: any) => any;
|
|
10
|
+
"handle-click": (val: any) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<NavLiT> & Readonly<{
|
|
12
|
+
"onHandle-mouseenter"?: ((val: any) => any) | undefined;
|
|
13
|
+
"onHandle-mouseleave"?: ((val: any) => any) | undefined;
|
|
14
|
+
"onHandle-click"?: ((val: any) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
+
navRef: HTMLDivElement;
|
|
17
|
+
navListRef: HTMLUListElement;
|
|
18
|
+
}, HTMLElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./HeaderFlatten.vue2.mjs";
|
|
2
|
+
import './HeaderFlatten.css';
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const HeaderFlatten = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4e6916a"]]);
|
|
5
|
+
export {
|
|
6
|
+
HeaderFlatten as default
|
|
7
|
+
};
|