@kengic/vue 0.26.6-beta.0 → 0.26.6-beta.2
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/kengic-vue.js +1700 -1609
- package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +4 -4
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Add.d.ts +1 -1
- package/dist/src/apis/WMS/Controllers/VarGridMasterController/QueryByID.d.ts +2 -2
- package/dist/src/apis/WMS/Controllers/VarProfileMasterController/QueryByID.d.ts +1 -1
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +14 -14
- package/dist/src/apis/WMS/Controllers/WorkstationController/List.d.ts +1 -1
- package/dist/src/apis/WMS/models.d.ts +51 -45
- package/dist/src/components/KgCanvas/KgCanvas.ContextMenu.d.ts +3 -0
- package/dist/src/components/KgCanvas/KgCanvas.service.d.ts +1 -0
- package/dist/src/components/KgCanvas/index.hooks.d.ts +19 -1
- package/dist/src/components/KgCanvas/index.store.d.ts +60 -22
- package/dist/src/components/KgVar/index.hooks.d.ts +8 -0
- package/package.json +2 -2
@@ -8,15 +8,15 @@ export declare class ListQuery {
|
|
8
8
|
codval?: string | null;
|
9
9
|
/** 模块(ProjectName). */
|
10
10
|
grpNam?: string | null;
|
11
|
-
/** id */
|
11
|
+
/** id. */
|
12
12
|
id?: string | null;
|
13
13
|
/** 长描述(LongDescription). */
|
14
14
|
lngDsc?: string | null;
|
15
15
|
/** 语言(LocaleId). */
|
16
16
|
localeId?: string | null;
|
17
|
-
/**
|
17
|
+
/** 修改用户编号. */
|
18
18
|
modUsrCod?: string | null;
|
19
|
-
/**
|
19
|
+
/** 修改日期. */
|
20
20
|
moddte?: string | null;
|
21
21
|
/** 短描述(ShortDescription). */
|
22
22
|
shortDsc?: string | null;
|
@@ -26,7 +26,7 @@ export declare class ListQuery {
|
|
26
26
|
srtseq?: number | null;
|
27
27
|
/** 系统定义. */
|
28
28
|
sysDefFlg?: number | null;
|
29
|
-
/**
|
29
|
+
/** 版本. */
|
30
30
|
version?: number | null;
|
31
31
|
/** 排序字段. */
|
32
32
|
column?: string | null;
|
@@ -2,12 +2,12 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
2
2
|
import * as DEF from '../../../def';
|
3
3
|
/** 请求参数. */
|
4
4
|
export declare class QueryByIDQuery {
|
5
|
-
/** id */
|
5
|
+
/** id. */
|
6
6
|
id: string | null;
|
7
7
|
constructor(obj?: QueryByIDQuery);
|
8
8
|
}
|
9
9
|
/**
|
10
|
-
* 表格视图-通过ID
|
10
|
+
* 表格视图-通过ID查询.
|
11
11
|
*
|
12
12
|
* @param config 请求配置.
|
13
13
|
* @param option 请求选项.
|
@@ -2,33 +2,33 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
2
2
|
import * as DEF from '../../../def';
|
3
3
|
/** 请求参数. */
|
4
4
|
export declare class ListVOQuery {
|
5
|
-
/**
|
5
|
+
/** 是否可用. */
|
6
6
|
activeFlg?: number | null;
|
7
|
-
/**
|
7
|
+
/** 地址编号. */
|
8
8
|
adrId?: string | null;
|
9
|
-
/**
|
9
|
+
/** 地址名. */
|
10
10
|
adrnam?: string | null;
|
11
|
-
/**
|
11
|
+
/** 公司代码. */
|
12
12
|
comCod?: string | null;
|
13
|
-
/**
|
13
|
+
/** 默认仓库. */
|
14
14
|
defWhFlg?: number | null;
|
15
15
|
/** 主键. */
|
16
16
|
id?: string | null;
|
17
|
-
/**
|
17
|
+
/** 所属地/国编号. */
|
18
18
|
orgcod?: string | null;
|
19
|
-
/**
|
19
|
+
/** 永久调整托盘. */
|
20
20
|
permAdjLod?: string | null;
|
21
|
-
/**
|
21
|
+
/** 永久调整箱. */
|
22
22
|
permAdjSub?: string | null;
|
23
|
-
/**
|
23
|
+
/** 永久创建托盘. */
|
24
24
|
permCreLod?: string | null;
|
25
|
-
/**
|
25
|
+
/** 永久创建箱. */
|
26
26
|
permCreSub?: string | null;
|
27
|
-
/**
|
27
|
+
/** 版本. */
|
28
28
|
version?: number | null;
|
29
|
-
/**
|
29
|
+
/** 仓库名称. */
|
30
30
|
whDsc?: string | null;
|
31
|
-
/**
|
31
|
+
/** 仓库编号. */
|
32
32
|
whId?: string | null;
|
33
33
|
/** 排序字段. */
|
34
34
|
column?: string | null;
|
@@ -42,7 +42,7 @@ export declare class ListVOQuery {
|
|
42
42
|
}
|
43
43
|
/**
|
44
44
|
* wh-分页列表查询VO
|
45
|
-
wh-分页列表查询VO
|
45
|
+
wh-分页列表查询VO.
|
46
46
|
*
|
47
47
|
* @param config 请求配置.
|
48
48
|
* @param option 请求选项.
|
@@ -18,7 +18,7 @@ export declare class CreateVarDdaQuery {
|
|
18
18
|
varGridMaster?: VarGridMaster | null;
|
19
19
|
/** 查询条件配置. */
|
20
20
|
varProfileConfig?: VarProfileConfig | null;
|
21
|
-
/**
|
21
|
+
/** 查询条件视图明细. */
|
22
22
|
varProfileDetails?: Array<VarProfileDetail> | null;
|
23
23
|
/** 查询条件视图. */
|
24
24
|
varProfileMaster?: VarProfileMaster | null;
|
@@ -76,15 +76,19 @@ export declare class Description {
|
|
76
76
|
codval?: string | null;
|
77
77
|
/** 模块(ProjectName). */
|
78
78
|
grpNam?: string | null;
|
79
|
-
/** id */
|
79
|
+
/** id. */
|
80
80
|
id?: string | null;
|
81
|
+
/** 插入时间. */
|
82
|
+
insDt?: string | null;
|
83
|
+
/** 插入用户Id. */
|
84
|
+
insUsrId?: string | null;
|
81
85
|
/** 长描述(LongDescription). */
|
82
86
|
lngDsc?: string | null;
|
83
87
|
/** 语言(LocaleId). */
|
84
88
|
localeId?: string | null;
|
85
|
-
/**
|
89
|
+
/** 修改用户编号. */
|
86
90
|
modUsrCod?: string | null;
|
87
|
-
/**
|
91
|
+
/** 修改日期. */
|
88
92
|
moddte?: string | null;
|
89
93
|
/** 短描述(ShortDescription). */
|
90
94
|
shortDsc?: string | null;
|
@@ -92,7 +96,7 @@ export declare class Description {
|
|
92
96
|
srtseq?: number | null;
|
93
97
|
/** 系统定义. */
|
94
98
|
sysDefFlg?: number | null;
|
95
|
-
/**
|
99
|
+
/** 版本. */
|
96
100
|
version?: number | null;
|
97
101
|
constructor(obj?: Description);
|
98
102
|
}
|
@@ -112,15 +116,15 @@ export declare class DescriptionDTO {
|
|
112
116
|
codval?: string | null;
|
113
117
|
/** 模块(ProjectName). */
|
114
118
|
grpNam?: string | null;
|
115
|
-
/** id */
|
119
|
+
/** id. */
|
116
120
|
id?: string | null;
|
117
121
|
/** 长描述(LongDescription). */
|
118
122
|
lngDsc?: string | null;
|
119
123
|
/** 语言(LocaleId). */
|
120
124
|
localeId?: string | null;
|
121
|
-
/**
|
125
|
+
/** 修改用户编号. */
|
122
126
|
modUsrCod?: string | null;
|
123
|
-
/**
|
127
|
+
/** 修改日期. */
|
124
128
|
moddte?: string | null;
|
125
129
|
/** 短描述(ShortDescription). */
|
126
130
|
shortDsc?: string | null;
|
@@ -130,7 +134,7 @@ export declare class DescriptionDTO {
|
|
130
134
|
srtseq?: number | null;
|
131
135
|
/** 系统定义. */
|
132
136
|
sysDefFlg?: number | null;
|
133
|
-
/**
|
137
|
+
/** 版本. */
|
134
138
|
version?: number | null;
|
135
139
|
constructor(obj?: DescriptionDTO);
|
136
140
|
}
|
@@ -333,7 +337,7 @@ export declare class UpdateVarGridMasterQuery {
|
|
333
337
|
grd_var_nam_dsc?: string | null;
|
334
338
|
/** 分组(GroupName). */
|
335
339
|
grp_nam?: string | null;
|
336
|
-
/**
|
340
|
+
/** 主键. */
|
337
341
|
id?: string | null;
|
338
342
|
/** 用户(UserID). */
|
339
343
|
usr_id?: string | null;
|
@@ -871,7 +875,7 @@ export declare class VarSubmitConfig {
|
|
871
875
|
max_width?: number | null;
|
872
876
|
/** 最小宽度. */
|
873
877
|
min_width?: number | null;
|
874
|
-
/**
|
878
|
+
/** 所属查询条件视图的变量名称. */
|
875
879
|
prf_var_nam?: string | null;
|
876
880
|
/** 配置属性. */
|
877
881
|
props?: string | null;
|
@@ -903,7 +907,7 @@ export declare class VarSubmitDetail {
|
|
903
907
|
key_flg?: number | null;
|
904
908
|
/** 占位提示文字(Placeholder). */
|
905
909
|
placeholder?: string | null;
|
906
|
-
/**
|
910
|
+
/** 所属查询条件视图的变量名称. */
|
907
911
|
prf_var_nam?: string | null;
|
908
912
|
/** 是否必填. */
|
909
913
|
required_flag?: number | null;
|
@@ -931,77 +935,79 @@ export declare class VarVariable {
|
|
931
935
|
var_nam?: string | null;
|
932
936
|
constructor(obj?: VarVariable);
|
933
937
|
}
|
934
|
-
/**
|
938
|
+
/** 仓库数据传输对象. */
|
935
939
|
export declare class WhDTO {
|
936
|
-
/**
|
940
|
+
/** 是否可用. */
|
937
941
|
activeFlg?: number | null;
|
938
|
-
/**
|
942
|
+
/** 地址编号. */
|
939
943
|
adrId?: string | null;
|
940
|
-
/**
|
944
|
+
/** 地址名. */
|
941
945
|
adrnam?: string | null;
|
942
|
-
/**
|
946
|
+
/** 公司代码. */
|
943
947
|
comCod?: string | null;
|
944
|
-
/**
|
948
|
+
/** 默认仓库. */
|
945
949
|
defWhFlg?: number | null;
|
946
950
|
/** 主键. */
|
947
951
|
id?: string | null;
|
948
|
-
/**
|
952
|
+
/** 所属地/国编号. */
|
949
953
|
orgcod?: string | null;
|
950
|
-
/**
|
954
|
+
/** 永久调整托盘. */
|
951
955
|
permAdjLod?: string | null;
|
952
|
-
/**
|
956
|
+
/** 永久调整箱. */
|
953
957
|
permAdjSub?: string | null;
|
954
|
-
/**
|
958
|
+
/** 永久创建托盘. */
|
955
959
|
permCreLod?: string | null;
|
956
|
-
/**
|
960
|
+
/** 永久创建箱. */
|
957
961
|
permCreSub?: string | null;
|
958
|
-
/**
|
962
|
+
/** 版本. */
|
959
963
|
version?: number | null;
|
960
|
-
/**
|
964
|
+
/** 仓库名称. */
|
961
965
|
whDsc?: string | null;
|
962
|
-
/**
|
966
|
+
/** 仓库编号. */
|
963
967
|
whId?: string | null;
|
964
968
|
constructor(obj?: WhDTO);
|
965
969
|
}
|
966
|
-
/**
|
970
|
+
/** 工作站区域数据传输对象. */
|
967
971
|
export declare class WorkstationAreaDTO {
|
968
|
-
/**
|
972
|
+
/** 主键. */
|
969
973
|
id?: string | null;
|
970
|
-
/**
|
974
|
+
/** 创建日期. */
|
971
975
|
insDt?: string | null;
|
972
|
-
/**
|
976
|
+
/** 创建用户. */
|
973
977
|
insUsrId?: string | null;
|
974
|
-
/**
|
978
|
+
/** 修改日期. */
|
975
979
|
modUsrId?: string | null;
|
976
|
-
/**
|
980
|
+
/** 修改用户. */
|
977
981
|
moddte?: string | null;
|
978
|
-
/**
|
982
|
+
/** 仓库. */
|
979
983
|
whId?: string | null;
|
980
|
-
/**
|
984
|
+
/** 工作区. */
|
981
985
|
wrkare?: string | null;
|
982
|
-
/**
|
986
|
+
/** 工作区描述. */
|
983
987
|
wrkareDsc?: string | null;
|
984
988
|
constructor(obj?: WorkstationAreaDTO);
|
985
989
|
}
|
986
|
-
/**
|
990
|
+
/** 工作站数据传输对象. */
|
987
991
|
export declare class WorkstationDTO {
|
988
|
-
/**
|
992
|
+
/** 工作站. */
|
989
993
|
devcod?: string | null;
|
990
|
-
/**
|
994
|
+
/** 工作站描述. */
|
995
|
+
devcodDsc?: string | null;
|
996
|
+
/** 主工作区. */
|
991
997
|
hmewrkare?: string | null;
|
992
|
-
/**
|
998
|
+
/** 主键. */
|
993
999
|
id?: string | null;
|
994
|
-
/**
|
1000
|
+
/** 创建日期. */
|
995
1001
|
insDt?: string | null;
|
996
|
-
/**
|
1002
|
+
/** 创建用户. */
|
997
1003
|
insUsrId?: string | null;
|
998
|
-
/**
|
1004
|
+
/** 修改日期. */
|
999
1005
|
modUsrId?: string | null;
|
1000
|
-
/**
|
1006
|
+
/** 修改用户. */
|
1001
1007
|
moddte?: string | null;
|
1002
|
-
/**
|
1008
|
+
/** 仓库. */
|
1003
1009
|
whId?: string | null;
|
1004
|
-
/**
|
1010
|
+
/** 工作站与工作区域关系. */
|
1005
1011
|
workstationAreas?: Array<WorkstationAreaDTO> | null;
|
1006
1012
|
constructor(obj?: WorkstationDTO);
|
1007
1013
|
}
|
@@ -26,6 +26,7 @@ export declare type IKgCanvasContextMenu = {
|
|
26
26
|
name?: string;
|
27
27
|
};
|
28
28
|
export declare const getProps: () => {
|
29
|
+
eid: PropType<string>;
|
29
30
|
kgElement: PropType<Q.Element<any>>;
|
30
31
|
kgElementUI: PropType<Q.ElementUI>;
|
31
32
|
kgGraph: PropType<Q.Graph>;
|
@@ -51,6 +52,7 @@ export declare const getProps: () => {
|
|
51
52
|
};
|
52
53
|
export declare type KgCanvasContextMenuProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
53
54
|
declare const _default: import("vue").DefineComponent<{
|
55
|
+
eid: PropType<string>;
|
54
56
|
kgElement: PropType<Q.Element<any>>;
|
55
57
|
kgElementUI: PropType<Q.ElementUI>;
|
56
58
|
kgGraph: PropType<Q.Graph>;
|
@@ -74,6 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
74
76
|
kgUi: PropType<Q.BaseUI>;
|
75
77
|
'onUpdate:kgIsVisible': PropType<(value: boolean) => void>;
|
76
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
|
+
eid: PropType<string>;
|
77
80
|
kgElement: PropType<Q.Element<any>>;
|
78
81
|
kgElementUI: PropType<Q.ElementUI>;
|
79
82
|
kgGraph: PropType<Q.Graph>;
|
@@ -29,6 +29,7 @@ export declare function _useGlobalContextMenus(param: {
|
|
29
29
|
}): IUseGlobalContextMenus;
|
30
30
|
export declare type IUseResizeObserver = {};
|
31
31
|
export declare function _useResizeObserver(param: {
|
32
|
+
eid: string;
|
32
33
|
graph: () => Q.Graph | null;
|
33
34
|
kgCanvasContextMenuProps: Ref<KgCanvasContextMenuProps>;
|
34
35
|
kgCanvasRef: Ref<HTMLDivElement | null>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IRemoveEventListenerHandler } from '../../consts';
|
2
|
-
import { IKgCanvasOnClickEventListener, IKgCanvasOnInitEventListener, IKgCanvasOnMouseEnterEventListener, IKgCanvasOnMouseLeaveEventListener, IKgCanvasOnMouseMoveEventListener, IKgCanvasOnReloadEventListener, IKgCanvasOnRightClickEventListener, IKgCanvasStore } from './index.store';
|
2
|
+
import { IKgCanvasOnClickEventListener, IKgCanvasOnContextMenuCloseEventListener, IKgCanvasOnContextMenuOpenEventListener, IKgCanvasOnInitEventListener, IKgCanvasOnMouseEnterEventListener, IKgCanvasOnMouseLeaveEventListener, IKgCanvasOnMouseMoveEventListener, IKgCanvasOnReloadEventListener, IKgCanvasOnResizeEventListener, IKgCanvasOnRightClickEventListener, IKgCanvasStore } from './index.store';
|
3
3
|
export declare type IUseKgCanvas = {
|
4
4
|
/**
|
5
5
|
* 监听事件: 单击鼠标左键.
|
@@ -7,6 +7,18 @@ export declare type IUseKgCanvas = {
|
|
7
7
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
8
8
|
*/
|
9
9
|
onClick(listener: IKgCanvasOnClickEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
10
|
+
/**
|
11
|
+
* 监听事件: 右键菜单关闭.
|
12
|
+
* @param listener 事件监听函数.
|
13
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
14
|
+
*/
|
15
|
+
onContextMenuClose(listener: IKgCanvasOnContextMenuCloseEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
16
|
+
/**
|
17
|
+
* 监听事件: 右键菜单打开.
|
18
|
+
* @param listener 事件监听函数.
|
19
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
20
|
+
*/
|
21
|
+
onContextMenuOpen(listener: IKgCanvasOnContextMenuOpenEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
10
22
|
/**
|
11
23
|
* 监听事件: 图形组件初始完成.
|
12
24
|
* @param listener 事件监听函数.
|
@@ -37,6 +49,12 @@ export declare type IUseKgCanvas = {
|
|
37
49
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
38
50
|
*/
|
39
51
|
onReload(listener: IKgCanvasOnReloadEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
52
|
+
/**
|
53
|
+
* 监听事件: 尺寸变化.
|
54
|
+
* @param listener 事件监听函数.
|
55
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
56
|
+
*/
|
57
|
+
onResize(listener: IKgCanvasOnResizeEventListener, isOnce?: boolean): IRemoveEventListenerHandler;
|
40
58
|
/**
|
41
59
|
* 监听事件: 单击鼠标右键.
|
42
60
|
* @param listener 事件监听函数.
|
@@ -5,15 +5,18 @@ import { IKgEventListener } from '../../consts';
|
|
5
5
|
import { type IKgCanvasContextMenu } from './KgCanvas.ContextMenu';
|
6
6
|
/**
|
7
7
|
* 事件类型.
|
8
|
-
* 'onInit':
|
9
|
-
* 'onReload':
|
10
|
-
* '
|
11
|
-
* '
|
12
|
-
* '
|
13
|
-
* '
|
14
|
-
* '
|
8
|
+
* 'onInit': 图形组件初始完成
|
9
|
+
* 'onReload': 重新加载
|
10
|
+
* 'onResize': 尺寸变化
|
11
|
+
* 'onMouseMove': 鼠标移动
|
12
|
+
* 'onMouseEnter': 鼠标进入
|
13
|
+
* 'onMouseLeave': 鼠标离开
|
14
|
+
* 'onClick': 单击鼠标左键
|
15
|
+
* 'onRightClick': 单击鼠标右键
|
16
|
+
* 'onContextMenuOpen': 右键菜单打开
|
17
|
+
* 'onContextMenuClose': 右键菜单关闭
|
15
18
|
*/
|
16
|
-
export declare type IKgCanvasEvent = 'onInit' | 'onReload' | 'onMouseMove' | 'onMouseEnter' | 'onMouseLeave' | 'onClick' | 'onRightClick';
|
19
|
+
export declare type IKgCanvasEvent = 'onInit' | 'onReload' | 'onResize' | 'onMouseMove' | 'onMouseEnter' | 'onMouseLeave' | 'onClick' | 'onRightClick' | 'onContextMenuOpen' | 'onContextMenuClose';
|
17
20
|
export declare type IKgCanvasOnInitEventListenerParameter = {
|
18
21
|
/**
|
19
22
|
* Q.
|
@@ -26,6 +29,38 @@ export declare type IKgCanvasOnInitEventListenerParameter = {
|
|
26
29
|
eid: string;
|
27
30
|
};
|
28
31
|
export declare type IKgCanvasOnInitEventListener = ((param: IKgCanvasOnInitEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
32
|
+
export declare type IKgCanvasOnReloadEventListenerParameter = {
|
33
|
+
/**
|
34
|
+
* Q.
|
35
|
+
*/
|
36
|
+
Q: typeof Q;
|
37
|
+
eid: string;
|
38
|
+
/**
|
39
|
+
* 图形组件对象.
|
40
|
+
*/
|
41
|
+
graph: Q.Graph;
|
42
|
+
};
|
43
|
+
export declare type IKgCanvasOnReloadEventListener = ((param: IKgCanvasOnReloadEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
44
|
+
export declare type IKgCanvasOnResizeEventListenerParameter = {
|
45
|
+
/**
|
46
|
+
* Q.
|
47
|
+
*/
|
48
|
+
Q: typeof Q;
|
49
|
+
eid: string;
|
50
|
+
/**
|
51
|
+
* 图形组件对象.
|
52
|
+
*/
|
53
|
+
graph: Q.Graph;
|
54
|
+
/**
|
55
|
+
* 当前高度.
|
56
|
+
*/
|
57
|
+
height: number;
|
58
|
+
/**
|
59
|
+
* 当前宽度.
|
60
|
+
*/
|
61
|
+
width: number;
|
62
|
+
};
|
63
|
+
export declare type IKgCanvasOnResizeEventListener = ((param: IKgCanvasOnResizeEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
29
64
|
export declare type IKgCanvasOnRightClickEventListenerParameter = {
|
30
65
|
/**
|
31
66
|
* Q.
|
@@ -45,6 +80,10 @@ export declare type IKgCanvasOnRightClickEventListenerParameter = {
|
|
45
80
|
* 图元组件.
|
46
81
|
*/
|
47
82
|
elementUI?: Q.ElementUI;
|
83
|
+
/**
|
84
|
+
* 鼠标事件.
|
85
|
+
*/
|
86
|
+
event: MouseEvent;
|
48
87
|
/**
|
49
88
|
* 图形组件对象.
|
50
89
|
*/
|
@@ -55,18 +94,6 @@ export declare type IKgCanvasOnRightClickEventListenerParameter = {
|
|
55
94
|
ui?: Q.BaseUI;
|
56
95
|
};
|
57
96
|
export declare type IKgCanvasOnRightClickEventListener = ((param: IKgCanvasOnRightClickEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
58
|
-
export declare type IKgCanvasOnReloadEventListenerParameter = {
|
59
|
-
/**
|
60
|
-
* Q.
|
61
|
-
*/
|
62
|
-
Q: typeof Q;
|
63
|
-
eid: string;
|
64
|
-
/**
|
65
|
-
* 图形组件对象.
|
66
|
-
*/
|
67
|
-
graph: Q.Graph;
|
68
|
-
};
|
69
|
-
export declare type IKgCanvasOnReloadEventListener = ((param: IKgCanvasOnReloadEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
70
97
|
export declare type IKgCanvasOnMouseMoveEventListenerParameter = {
|
71
98
|
/**
|
72
99
|
* Q.
|
@@ -163,15 +190,26 @@ export declare type IKgCanvasOnClickEventListenerParameter = {
|
|
163
190
|
ui?: Q.BaseUI;
|
164
191
|
};
|
165
192
|
export declare type IKgCanvasOnClickEventListener = ((param: IKgCanvasOnClickEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
166
|
-
export declare type
|
167
|
-
|
193
|
+
export declare type IKgCanvasOnContextMenuOpenEventListenerParameter = {
|
194
|
+
eid: string;
|
195
|
+
};
|
196
|
+
export declare type IKgCanvasOnContextMenuOpenEventListener = ((param: IKgCanvasOnContextMenuOpenEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
197
|
+
export declare type IKgCanvasOnContextMenuCloseEventListenerParameter = {
|
198
|
+
eid: string;
|
199
|
+
};
|
200
|
+
export declare type IKgCanvasOnContextMenuCloseEventListener = ((param: IKgCanvasOnContextMenuCloseEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
201
|
+
export declare type IKgCanvasEventListenerParameter = IKgCanvasOnInitEventListenerParameter | IKgCanvasOnReloadEventListenerParameter | IKgCanvasOnResizeEventListenerParameter | IKgCanvasOnRightClickEventListenerParameter | IKgCanvasOnMouseMoveEventListenerParameter | IKgCanvasOnMouseEnterEventListenerParameter | IKgCanvasOnMouseLeaveEventListenerParameter | IKgCanvasOnClickEventListenerParameter | IKgCanvasOnContextMenuOpenEventListenerParameter | IKgCanvasOnContextMenuCloseEventListenerParameter;
|
202
|
+
export declare type IKgCanvasEventListener = IKgCanvasOnInitEventListener | IKgCanvasOnReloadEventListener | IKgCanvasOnResizeEventListener | IKgCanvasOnRightClickEventListener | IKgCanvasOnMouseMoveEventListener | IKgCanvasOnMouseEnterEventListener | IKgCanvasOnMouseLeaveEventListener | IKgCanvasOnClickEventListener | IKgCanvasOnContextMenuOpenEventListener | IKgCanvasOnContextMenuCloseEventListener;
|
168
203
|
export interface IUseKgCanvasStoreState {
|
169
204
|
onClickEventListenerMap: Map<string, Array<IKgCanvasOnClickEventListener>>;
|
205
|
+
onContextMenuCloseEventListenerMap: Map<string, Array<IKgCanvasOnContextMenuCloseEventListener>>;
|
206
|
+
onContextMenuOpenEventListenerMap: Map<string, Array<IKgCanvasOnContextMenuOpenEventListener>>;
|
170
207
|
onInitEventListenerMap: Map<string, Array<IKgCanvasOnInitEventListener>>;
|
171
208
|
onMouseEnterEventListenerMap: Map<string, Array<IKgCanvasOnMouseEnterEventListener>>;
|
172
209
|
onMouseLeaveEventListenerMap: Map<string, Array<IKgCanvasOnMouseLeaveEventListener>>;
|
173
210
|
onMouseMoveEventListenerMap: Map<string, Array<IKgCanvasOnMouseMoveEventListener>>;
|
174
211
|
onReloadEventListenerMap: Map<string, Array<IKgCanvasOnReloadEventListener>>;
|
212
|
+
onResizeEventListenerMap: Map<string, Array<IKgCanvasOnResizeEventListener>>;
|
175
213
|
onRightClickEventListenerMap: Map<string, Array<IKgCanvasOnRightClickEventListener>>;
|
176
214
|
}
|
177
215
|
export interface IUseKgCanvasStoreGetters {
|
@@ -69,6 +69,14 @@ export declare type IUseKgVar = {
|
|
69
69
|
buttonVarName?: string | null;
|
70
70
|
varName: string | null | undefined;
|
71
71
|
}): ReturnType<IKgVarStore['getVarConfigControl']>;
|
72
|
+
/**
|
73
|
+
* 获取「变量配置:列表数据」.
|
74
|
+
*
|
75
|
+
* @param param.varName 变量名称.
|
76
|
+
*/
|
77
|
+
getVarConfigPossibility(param: {
|
78
|
+
varName: string;
|
79
|
+
}): VarConfigPossibility | null;
|
72
80
|
/**
|
73
81
|
* 是否正在复制.
|
74
82
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.26.6-beta.
|
3
|
+
"version": "0.26.6-beta.2",
|
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",
|
@@ -40,7 +40,7 @@
|
|
40
40
|
"@iconify-icons/mdi": "1.2.48",
|
41
41
|
"@iconify-icons/ph": "1.2.5",
|
42
42
|
"@iconify/vue": "4.1.1",
|
43
|
-
"@kengic/pont": "1.2.17-beta.
|
43
|
+
"@kengic/pont": "1.2.17-beta.1",
|
44
44
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
45
45
|
"@thymine/xunee": "0.4.9-beta.8",
|
46
46
|
"@types/crypto-js": "4.1.1",
|