@kengic/vue 0.26.6-beta.25 → 0.26.6-beta.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ export declare type IKgCanvasContextMenu = {
28
28
  export declare const getProps: () => {
29
29
  eid: PropType<string>;
30
30
  kgElement: PropType<Q.Element<any>>;
31
- kgElementUI: PropType<Q.ElementUI>;
31
+ kgElementUi: PropType<Q.ElementUI>;
32
32
  kgGraph: PropType<Q.Graph>;
33
33
  /**
34
34
  * 是否显示.
@@ -44,7 +44,7 @@ export declare const getProps: () => {
44
44
  */
45
45
  kgMenus: PropType<IKgCanvasContextMenu[]>;
46
46
  /**
47
- * 鼠标右键点击事件对象.
47
+ * 鼠标事件对象.
48
48
  */
49
49
  kgMouseEvent: PropType<MouseEvent>;
50
50
  kgUi: PropType<Q.BaseUI>;
@@ -54,7 +54,7 @@ export declare type KgCanvasContextMenuProps = Partial<ExtractPropTypes<ReturnTy
54
54
  declare const _default: import("vue").DefineComponent<{
55
55
  eid: PropType<string>;
56
56
  kgElement: PropType<Q.Element<any>>;
57
- kgElementUI: PropType<Q.ElementUI>;
57
+ kgElementUi: PropType<Q.ElementUI>;
58
58
  kgGraph: PropType<Q.Graph>;
59
59
  /**
60
60
  * 是否显示.
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
70
70
  */
71
71
  kgMenus: PropType<IKgCanvasContextMenu[]>;
72
72
  /**
73
- * 鼠标右键点击事件对象.
73
+ * 鼠标事件对象.
74
74
  */
75
75
  kgMouseEvent: PropType<MouseEvent>;
76
76
  kgUi: PropType<Q.BaseUI>;
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
78
78
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:kgIsVisible"[], "update:kgIsVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
79
79
  eid: PropType<string>;
80
80
  kgElement: PropType<Q.Element<any>>;
81
- kgElementUI: PropType<Q.ElementUI>;
81
+ kgElementUi: PropType<Q.ElementUI>;
82
82
  kgGraph: PropType<Q.Graph>;
83
83
  /**
84
84
  * 是否显示.
@@ -94,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
94
94
  */
95
95
  kgMenus: PropType<IKgCanvasContextMenu[]>;
96
96
  /**
97
- * 鼠标右键点击事件对象.
97
+ * 鼠标事件对象.
98
98
  */
99
99
  kgMouseEvent: PropType<MouseEvent>;
100
100
  kgUi: PropType<Q.BaseUI>;
@@ -0,0 +1,31 @@
1
+ import { Q } from '@thymine/xunee';
2
+ import { ExtractPropTypes, PropType } from 'vue';
3
+ import './KgCanvas.css';
4
+ export declare const getProps: () => {
5
+ kgElement: PropType<Q.Element<any>>;
6
+ kgElementUi: PropType<Q.ElementUI>;
7
+ kgGraph: PropType<Q.Graph>;
8
+ /**
9
+ * 鼠标事件对象.
10
+ */
11
+ kgMouseEvent: PropType<MouseEvent>;
12
+ };
13
+ export declare type KgCanvasTooltipProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
14
+ declare const _default: import("vue").DefineComponent<{
15
+ kgElement: PropType<Q.Element<any>>;
16
+ kgElementUi: PropType<Q.ElementUI>;
17
+ kgGraph: PropType<Q.Graph>;
18
+ /**
19
+ * 鼠标事件对象.
20
+ */
21
+ kgMouseEvent: PropType<MouseEvent>;
22
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
23
+ kgElement: PropType<Q.Element<any>>;
24
+ kgElementUi: PropType<Q.ElementUI>;
25
+ kgGraph: PropType<Q.Graph>;
26
+ /**
27
+ * 鼠标事件对象.
28
+ */
29
+ kgMouseEvent: PropType<MouseEvent>;
30
+ }>>, {}>;
31
+ export default _default;
@@ -1,6 +1,9 @@
1
1
  import { Q } from '@thymine/xunee';
2
2
  import { Ref } from 'vue';
3
3
  import { IKgCanvasContextMenu, KgCanvasContextMenuProps } from './KgCanvas.ContextMenu';
4
+ /**
5
+ * 用户属性.
6
+ */
4
7
  export declare type IKgCanvasElementProperties = {
5
8
  /**
6
9
  * 编码, 全局唯一.
@@ -10,6 +13,10 @@ export declare type IKgCanvasElementProperties = {
10
13
  * 数据.
11
14
  */
12
15
  data?: any;
16
+ /**
17
+ * 是否启用提示文本.
18
+ */
19
+ isEnableTooltip?: boolean;
13
20
  /**
14
21
  * 样式.
15
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.6-beta.25",
3
+ "version": "0.26.6-beta.26",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",