@opendesign-plus-test/components 0.0.1-rc.129 → 0.0.1-rc.130

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.
@@ -2,15 +2,12 @@ import { NavLiItemT } from '../types.ts';
2
2
  export interface OHeaderEmitsT {
3
3
  (e: 'handle-mouseenter-sub', val: any): void;
4
4
  (e: 'handle-mouseleave-sub', val: any): void;
5
- (e: 'handle-click-link'): void;
6
5
  }
7
6
  declare const _default: import('vue').DefineComponent<NavLiItemT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
8
7
  "handle-mouseenter-sub": (val: any) => any;
9
8
  "handle-mouseleave-sub": (val: any) => any;
10
- "handle-click-link": () => any;
11
9
  }, string, import('vue').PublicProps, Readonly<NavLiItemT> & Readonly<{
12
10
  "onHandle-mouseenter-sub"?: ((val: any) => any) | undefined;
13
11
  "onHandle-mouseleave-sub"?: ((val: any) => any) | undefined;
14
- "onHandle-click-link"?: (() => any) | undefined;
15
12
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
13
  export default _default;
@@ -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-716addc0"]]);
4
+ const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b3e261fa"]]);
5
5
  export {
6
6
  HeaderContent as default
7
7
  };
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  bgRight: {},
41
41
  hoverIndex: {}
42
42
  },
43
- emits: ["handle-mouseenter-sub", "handle-mouseleave-sub", "handle-click-link"],
43
+ emits: ["handle-mouseenter-sub", "handle-mouseleave-sub"],
44
44
  setup(__props, { emit: __emit }) {
45
45
  const emit = __emit;
46
46
  const props = __props;
@@ -51,10 +51,8 @@ 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");
55
54
  };
56
55
  const onMouseLeave = () => {
57
- console.log("onMouseLeave");
58
56
  emit("handle-mouseleave-sub", "");
59
57
  navVisible.value = false;
60
58
  };
@@ -75,6 +73,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
73
  showTitle.value = target.clientHeight < target.scrollHeight;
76
74
  };
77
75
  const hoveringNavLiName = inject("hoveringNavLiName");
76
+ const injectCloseNavPanel = inject("closeNavPanel");
77
+ const closeNavPanel = () => {
78
+ injectCloseNavPanel == null ? void 0 : injectCloseNavPanel();
79
+ navVisible.value = false;
80
+ };
78
81
  const navFirstHoverTime = inject("navFirstHoverTime");
79
82
  const navStepCount = inject("navStepCount");
80
83
  const onClickNavHref = (item, sub) => {
@@ -114,11 +117,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
114
117
  return (url == null ? void 0 : url.startsWith("http")) ? "_blank" : "_self";
115
118
  }
116
119
  };
117
- const onClickLink = () => {
118
- console.log("onClickLink");
119
- navVisible.value = false;
120
- emit("handle-click-link");
121
- };
122
120
  return (_ctx, _cache) => {
123
121
  var _a, _b, _c;
124
122
  const _directive_analytics = resolveDirective("analytics");
@@ -168,7 +166,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
168
166
  target: linkTarget(subItem.href, subItem == null ? void 0 : subItem.target),
169
167
  rel: "noopener noreferrer",
170
168
  class: "item-label",
171
- onClick: onClickLink
169
+ onClick: closeNavPanel
172
170
  }, [
173
171
  showTitle.value ? (openBlock(), createBlock(unref(OPopover), {
174
172
  key: 0,
@@ -255,7 +253,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
255
253
  target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
256
254
  rel: "noopener noreferrer",
257
255
  class: "shortcut-link",
258
- onClick: onClickLink
256
+ onClick: closeNavPanel
259
257
  }, [
260
258
  showDesc.value ? (openBlock(), createBlock(unref(OPopover), {
261
259
  key: 0,
@@ -296,7 +294,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
296
294
  target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
297
295
  rel: "noopener noreferrer",
298
296
  class: "review",
299
- onClick: onClickLink
297
+ onClick: closeNavPanel
300
298
  }, [
301
299
  createElementVNode("img", {
302
300
  src: unref(isDark) && (shortcut == null ? void 0 : shortcut.pictureDark) ? shortcut == null ? void 0 : shortcut.pictureDark : shortcut.picture,
@@ -146,6 +146,9 @@
146
146
  .o-sig-meeting-calendar .meeting-card-header .o-tab {
147
147
  width: 65%;
148
148
  }
149
+ .o-sig-meeting-calendar .meeting-card-header .o-tab.full-width {
150
+ width: 100%;
151
+ }
149
152
  .o-sig-meeting-calendar .meeting-card-header .o-tab .o-tab-nav {
150
153
  padding-bottom: var(--o-gap-3);
151
154
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, Fragment, renderList, createBlock, resolveDynamicComponent, createTextVNode, renderSlot } from "vue";
1
+ import { defineComponent, computed, ref, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createVNode, withCtx, createCommentVNode, normalizeClass, Fragment, renderList, createBlock, resolveDynamicComponent, createTextVNode, renderSlot } from "vue";
2
2
  import { isClient, OPopover, OIcon, OTab, OTabPane, OSelect, OOption, ODivider, OScroller, OResult, OFigure } from "@opensig/opendesign";
3
3
  import dayjs from "dayjs";
4
4
  import IconTips from "../../_virtual/icon-tips.mjs";
@@ -255,7 +255,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
255
255
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => tabType.value = $event),
256
256
  onChange: selectTab,
257
257
  line: false,
258
- "max-show": 9999
258
+ "max-show": 9999,
259
+ class: normalizeClass({ "full-width": !latestDate.value })
259
260
  }, {
260
261
  default: withCtx(() => [
261
262
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(meetingTabs).slice(0, -1), (item) => {
@@ -277,7 +278,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
277
278
  }), 128))
278
279
  ]),
279
280
  _: 1
280
- }, 8, ["modelValue"])
281
+ }, 8, ["modelValue", "class"])
281
282
  ])) : createCommentVNode("", true),
282
283
  unref(lePadV) ? (openBlock(), createElementBlock("div", _hoisted_3, [
283
284
  createElementVNode("div", _hoisted_4, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.129",
3
+ "version": "0.0.1-rc.130",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",