@opendesign-plus-test/components 0.0.1-rc.125 → 0.0.1-rc.128
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.cjs.js +1 -1
- package/dist/components.css +1 -1
- package/dist/components.es.js +10 -10
- package/dist/treeshaking/components/header/OHeader.css +15 -15
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +2 -0
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +7 -3
- 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-e6e4aedd"]]);
|
|
5
5
|
export {
|
|
6
6
|
HeaderContent as default
|
|
7
7
|
};
|
|
@@ -51,8 +51,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
51
|
var _a;
|
|
52
52
|
emit("handle-mouseenter-sub", (_a = props.itemData) == null ? void 0 : _a.id);
|
|
53
53
|
navVisible.value = true;
|
|
54
|
+
console.log("onMouseEnter");
|
|
54
55
|
};
|
|
55
56
|
const onMouseLeave = () => {
|
|
57
|
+
console.log("onMouseLeave");
|
|
56
58
|
emit("handle-mouseleave-sub", "");
|
|
57
59
|
navVisible.value = false;
|
|
58
60
|
};
|
|
@@ -113,6 +115,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
115
|
}
|
|
114
116
|
};
|
|
115
117
|
const onClickLink = () => {
|
|
118
|
+
console.log("onClickLink");
|
|
119
|
+
navVisible.value = false;
|
|
116
120
|
emit("handle-click-link");
|
|
117
121
|
};
|
|
118
122
|
return (_ctx, _cache) => {
|
|
@@ -159,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
159
163
|
key: subItem.label,
|
|
160
164
|
class: normalizeClass(["content-item", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
|
|
161
165
|
}, [
|
|
162
|
-
withDirectives((openBlock(), createElementBlock("
|
|
166
|
+
withDirectives((openBlock(), createElementBlock("div", {
|
|
163
167
|
href: subItem.href,
|
|
164
168
|
target: linkTarget(subItem.href, subItem == null ? void 0 : subItem.target),
|
|
165
169
|
rel: "noopener noreferrer",
|
|
@@ -246,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
246
250
|
key: shortcut.label,
|
|
247
251
|
class: "shortcut"
|
|
248
252
|
}, [
|
|
249
|
-
withDirectives((openBlock(), createElementBlock("
|
|
253
|
+
withDirectives((openBlock(), createElementBlock("div", {
|
|
250
254
|
href: shortcut.href,
|
|
251
255
|
target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
|
|
252
256
|
rel: "noopener noreferrer",
|
|
@@ -286,7 +290,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
286
290
|
])
|
|
287
291
|
]);
|
|
288
292
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList((_h = props.itemData) == null ? void 0 : _h.shortcut, (shortcut) => {
|
|
289
|
-
return withDirectives((openBlock(), createElementBlock("
|
|
293
|
+
return withDirectives((openBlock(), createElementBlock("div", {
|
|
290
294
|
key: shortcut.label,
|
|
291
295
|
href: shortcut.href,
|
|
292
296
|
target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
|