From 38b161e4d52362081bfe78fb5b51fbf384db7ce2 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 06 5月 2025 07:22:21 +0800
Subject: [PATCH] 222

---
 HIAWms/web/src/components/vue3-context-menu/MenuBar.ts |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/HIAWms/web/src/components/vue3-context-menu/MenuBar.ts b/HIAWms/web/src/components/vue3-context-menu/MenuBar.ts
new file mode 100644
index 0000000..f4036d2
--- /dev/null
+++ b/HIAWms/web/src/components/vue3-context-menu/MenuBar.ts
@@ -0,0 +1,16 @@
+import type { MenuOptions, MenuPopDirection } from "./ContextMenuDefine";
+
+export interface MenuBarOptions extends Omit<MenuOptions, 'x'|'y'|'getContainer'> {
+  /**
+   * Set whether the current menu bar is collapsed, default is false.
+   */
+  mini?: boolean;
+  /**
+   * Set the mian menu pop-up direction relative to coordinates. (With collapsed state)
+   * 
+   * Default is `'bl'`
+   * 
+   * @default 'bl'
+   */
+  barPopDirection ?: MenuPopDirection,
+}
\ No newline at end of file

--
Gitblit v1.9.3