@kengic/vue 0.30.1-beta.33 → 0.30.1-beta.35
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/index.css +1 -1
- package/dist/kengic-vue.js +29266 -29120
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +28 -0
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Prefab.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Property.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Panel.Scene.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.Panel.d.ts +9 -4
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Prefab.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Property.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.ToolbarButton.Scene.d.ts +1 -1
- package/dist/src/component/KgSimulator/KgSimulator.event.d.ts +11 -3
- package/dist/src/component/KgSimulator/KgSimulator.hooks.d.ts +8 -1
- package/dist/src/component/KgSimulator/KgSimulator.model.d.ts +86 -12
- package/dist/src/component/KgSimulator/KgSimulator.store.d.ts +8 -1
- package/dist/src/const/const.model.d.ts +32 -8
- package/package.json +1 -1
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import './KgCanvas.css';
|
|
3
3
|
export declare const getProps: () => {
|
|
4
|
+
/**
|
|
5
|
+
* 画布--工具按钮--交互模式--是否可用.
|
|
6
|
+
*
|
|
7
|
+
* @default true
|
|
8
|
+
*/
|
|
9
|
+
KgCanvasToolbarButtonMode$isAvailable: {
|
|
10
|
+
type: PropType<boolean>;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
4
13
|
/**
|
|
5
14
|
* 该组件实例的唯一标识.
|
|
6
15
|
*/
|
|
@@ -58,6 +67,15 @@ export declare const getProps: () => {
|
|
|
58
67
|
};
|
|
59
68
|
export declare type KgCanvasProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
60
69
|
declare const _default: import("vue").DefineComponent<{
|
|
70
|
+
/**
|
|
71
|
+
* 画布--工具按钮--交互模式--是否可用.
|
|
72
|
+
*
|
|
73
|
+
* @default true
|
|
74
|
+
*/
|
|
75
|
+
KgCanvasToolbarButtonMode$isAvailable: {
|
|
76
|
+
type: PropType<boolean>;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
61
79
|
/**
|
|
62
80
|
* 该组件实例的唯一标识.
|
|
63
81
|
*/
|
|
@@ -113,6 +131,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
131
|
default: boolean;
|
|
114
132
|
};
|
|
115
133
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
134
|
+
/**
|
|
135
|
+
* 画布--工具按钮--交互模式--是否可用.
|
|
136
|
+
*
|
|
137
|
+
* @default true
|
|
138
|
+
*/
|
|
139
|
+
KgCanvasToolbarButtonMode$isAvailable: {
|
|
140
|
+
type: PropType<boolean>;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
116
143
|
/**
|
|
117
144
|
* 该组件实例的唯一标识.
|
|
118
145
|
*/
|
|
@@ -168,6 +195,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
195
|
default: boolean;
|
|
169
196
|
};
|
|
170
197
|
}>>, {
|
|
198
|
+
KgCanvasToolbarButtonMode$isAvailable: boolean;
|
|
171
199
|
kgIsEditable: boolean;
|
|
172
200
|
kgIsEnableOverview: boolean;
|
|
173
201
|
kgIsGridBackground: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 模拟器--面板--预制组件.
|
|
3
3
|
*/
|
|
4
|
-
export declare const KgSimulatorPanelPrefab: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
|
+
export declare const KgSimulatorPanelPrefab: import("vue").DefineComponent<{}, () => JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 模拟器--面板--属性.
|
|
3
3
|
*/
|
|
4
|
-
export declare const KgSimulatorPanelProperty: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
|
+
export declare const KgSimulatorPanelProperty: import("vue").DefineComponent<{}, () => JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 模拟器--面板--场景.
|
|
3
3
|
*/
|
|
4
|
-
export declare const KgSimulatorPanelScene: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
|
+
export declare const KgSimulatorPanelScene: import("vue").DefineComponent<{}, () => JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -5,7 +5,8 @@ export declare const getProps: () => {
|
|
|
5
5
|
* 样式类名.
|
|
6
6
|
*/
|
|
7
7
|
kgClass: {
|
|
8
|
-
type: PropType<string
|
|
8
|
+
type: PropType<Record<string, boolean>>;
|
|
9
|
+
default: () => {};
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
11
12
|
* 是否打开.
|
|
@@ -38,7 +39,8 @@ export declare const KgSimulatorPanel: import("vue").DefineComponent<{
|
|
|
38
39
|
* 样式类名.
|
|
39
40
|
*/
|
|
40
41
|
kgClass: {
|
|
41
|
-
type: PropType<string
|
|
42
|
+
type: PropType<Record<string, boolean>>;
|
|
43
|
+
default: () => {};
|
|
42
44
|
};
|
|
43
45
|
/**
|
|
44
46
|
* 是否打开.
|
|
@@ -66,7 +68,8 @@ export declare const KgSimulatorPanel: import("vue").DefineComponent<{
|
|
|
66
68
|
* 样式类名.
|
|
67
69
|
*/
|
|
68
70
|
kgClass: {
|
|
69
|
-
type: PropType<string
|
|
71
|
+
type: PropType<Record<string, boolean>>;
|
|
72
|
+
default: () => {};
|
|
70
73
|
};
|
|
71
74
|
/**
|
|
72
75
|
* 是否打开.
|
|
@@ -89,4 +92,6 @@ export declare const KgSimulatorPanel: import("vue").DefineComponent<{
|
|
|
89
92
|
required: boolean;
|
|
90
93
|
};
|
|
91
94
|
'onUpdate:kgIsOpen': PropType<(value: boolean) => void>;
|
|
92
|
-
}>>, {
|
|
95
|
+
}>>, {
|
|
96
|
+
kgClass: Record<string, boolean>;
|
|
97
|
+
}>;
|
|
@@ -4,6 +4,6 @@ export declare type KgSimulatorToolbarButtonPrefabProps = Partial<ExtractPropTyp
|
|
|
4
4
|
/**
|
|
5
5
|
* 模拟器--工具按钮--预制组件.
|
|
6
6
|
*/
|
|
7
|
-
export declare const KgSimulatorToolbarButtonPrefab: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
7
|
+
export declare const KgSimulatorToolbarButtonPrefab: import("vue").DefineComponent<any, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
}>;
|
|
@@ -4,6 +4,6 @@ export declare type KgSimulatorToolbarButtonPropertyProps = Partial<ExtractPropT
|
|
|
4
4
|
/**
|
|
5
5
|
* 模拟器--工具按钮--属性.
|
|
6
6
|
*/
|
|
7
|
-
export declare const KgSimulatorToolbarButtonProperty: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
7
|
+
export declare const KgSimulatorToolbarButtonProperty: import("vue").DefineComponent<any, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
}>;
|
|
@@ -4,6 +4,6 @@ export declare type KgSimulatorToolbarButtonSceneProps = Partial<ExtractPropType
|
|
|
4
4
|
/**
|
|
5
5
|
* 模拟器--工具按钮--场景.
|
|
6
6
|
*/
|
|
7
|
-
export declare const KgSimulatorToolbarButtonScene: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
7
|
+
export declare const KgSimulatorToolbarButtonScene: import("vue").DefineComponent<any, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
}>;
|
|
@@ -2,7 +2,7 @@ import { IKgEventListener } from '@kengic/core.core';
|
|
|
2
2
|
/**
|
|
3
3
|
* 事件类型.
|
|
4
4
|
*/
|
|
5
|
-
export declare type IKgSimulatorEvent = 'on$KgSimulatorCanvas$CreateData' | 'on$KgSimulatorCanvas$DeleteData' | 'on$KgSimulatorCanvas$UpdateData' | 'on$KgSimulatorPanelScene$Click' | 'on$KgSimulatorPanelScene$Delete';
|
|
5
|
+
export declare type IKgSimulatorEvent = 'on$KgSimulatorCanvas$CreateData' | 'on$KgSimulatorCanvas$DeleteData' | 'on$KgSimulatorCanvas$UpdateData' | 'on$KgSimulatorPanelScene$Click' | 'on$KgSimulatorPanelScene$Delete' | 'on$KgSimulatorPanelScene$SelectChange';
|
|
6
6
|
export declare type IKgSimulatorOn$KgSimulatorCanvas$CreateDataEventListenerParameter = {
|
|
7
7
|
/**
|
|
8
8
|
* 对象.
|
|
@@ -40,14 +40,22 @@ export declare type IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListenerPara
|
|
|
40
40
|
deleteIdList: Array<string>;
|
|
41
41
|
};
|
|
42
42
|
export declare type IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListener = ((param: IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
|
43
|
-
export declare type
|
|
44
|
-
|
|
43
|
+
export declare type IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListenerParameter = {
|
|
44
|
+
/**
|
|
45
|
+
* 被选中的主键列表.
|
|
46
|
+
*/
|
|
47
|
+
selectedIdList: Array<string>;
|
|
48
|
+
};
|
|
49
|
+
export declare type IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListener = ((param: IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
|
50
|
+
export declare type IKgSimulatorEventListenerParameter = IKgSimulatorOn$KgSimulatorCanvas$CreateDataEventListenerParameter | IKgSimulatorOn$KgSimulatorCanvas$DeleteDataEventListenerParameter | IKgSimulatorOn$KgSimulatorCanvas$UpdateDataEventListenerParameter | IKgSimulatorOn$KgSimulatorPanelScene$ClickEventListenerParameter | IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListenerParameter | IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListenerParameter;
|
|
51
|
+
export declare type IKgSimulatorEventListener = IKgSimulatorOn$KgSimulatorCanvas$CreateDataEventListener | IKgSimulatorOn$KgSimulatorCanvas$DeleteDataEventListener | IKgSimulatorOn$KgSimulatorCanvas$UpdateDataEventListener | IKgSimulatorOn$KgSimulatorPanelScene$ClickEventListener | IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListener | IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListener;
|
|
45
52
|
export declare const eventListeners: Record<string, {
|
|
46
53
|
on$KgSimulatorCanvas$CreateData: Array<IKgSimulatorOn$KgSimulatorCanvas$CreateDataEventListener>;
|
|
47
54
|
on$KgSimulatorCanvas$DeleteData: Array<IKgSimulatorOn$KgSimulatorCanvas$DeleteDataEventListener>;
|
|
48
55
|
on$KgSimulatorCanvas$UpdateData: Array<IKgSimulatorOn$KgSimulatorCanvas$UpdateDataEventListener>;
|
|
49
56
|
on$KgSimulatorPanelScene$Click: Array<IKgSimulatorOn$KgSimulatorPanelScene$ClickEventListener>;
|
|
50
57
|
on$KgSimulatorPanelScene$Delete: Array<IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListener>;
|
|
58
|
+
on$KgSimulatorPanelScene$SelectChange: Array<IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListener>;
|
|
51
59
|
}>;
|
|
52
60
|
/**
|
|
53
61
|
* 触发事件.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IRemoveEventListener } from '@kengic/core.core';
|
|
2
2
|
import { VarSubmitDetail } from '../../api/WMS/models';
|
|
3
|
-
import { IKgSimulatorOn$KgSimulatorCanvas$CreateDataEventListener, IKgSimulatorOn$KgSimulatorCanvas$DeleteDataEventListener, IKgSimulatorOn$KgSimulatorCanvas$UpdateDataEventListener, IKgSimulatorOn$KgSimulatorPanelScene$ClickEventListener, IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListener } from './KgSimulator.event';
|
|
3
|
+
import { IKgSimulatorOn$KgSimulatorCanvas$CreateDataEventListener, IKgSimulatorOn$KgSimulatorCanvas$DeleteDataEventListener, IKgSimulatorOn$KgSimulatorCanvas$UpdateDataEventListener, IKgSimulatorOn$KgSimulatorPanelScene$ClickEventListener, IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListener, IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListener } from './KgSimulator.event';
|
|
4
4
|
import { buildKgSimulatorStore } from './KgSimulator.store';
|
|
5
5
|
export declare type IUseKgSimulator = {
|
|
6
6
|
/**
|
|
@@ -55,6 +55,13 @@ export declare type IUseKgSimulator = {
|
|
|
55
55
|
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
56
56
|
*/
|
|
57
57
|
on$KgSimulatorPanelScene$Delete(listener: IKgSimulatorOn$KgSimulatorPanelScene$DeleteEventListener, isOnce?: boolean): IRemoveEventListener;
|
|
58
|
+
/**
|
|
59
|
+
* 监听事件: 面板--场景--勾选发生变更.
|
|
60
|
+
*
|
|
61
|
+
* @param listener 事件监听函数.
|
|
62
|
+
* @param isOnce 是否只会触发一次. 默认为 undefined.
|
|
63
|
+
*/
|
|
64
|
+
on$KgSimulatorPanelScene$SelectChange(listener: IKgSimulatorOn$KgSimulatorPanelScene$SelectChangeEventListener, isOnce?: boolean): IRemoveEventListener;
|
|
58
65
|
/**
|
|
59
66
|
* 状态数据.
|
|
60
67
|
*/
|
|
@@ -21,7 +21,7 @@ export declare class Agent {
|
|
|
21
21
|
* </p>.
|
|
22
22
|
*/
|
|
23
23
|
brakingAcceleration?: number | null;
|
|
24
|
-
/**
|
|
24
|
+
/** 代理编码. */
|
|
25
25
|
code?: string | null;
|
|
26
26
|
/**
|
|
27
27
|
* 通信时延.单位s.
|
|
@@ -33,6 +33,8 @@ export declare class Agent {
|
|
|
33
33
|
communicationDelay?: number | null;
|
|
34
34
|
/** 创建时间. */
|
|
35
35
|
createdAt?: string | null;
|
|
36
|
+
/** 代理描述. */
|
|
37
|
+
description?: string | null;
|
|
36
38
|
/** Destination Task. */
|
|
37
39
|
destinationTask?: AgentTask | null;
|
|
38
40
|
/** 最终的目标任务Id. */
|
|
@@ -81,8 +83,12 @@ export declare class AgentDto {
|
|
|
81
83
|
angle?: number | null;
|
|
82
84
|
/** Braking Acceleration. */
|
|
83
85
|
brakingAcceleration?: number | null;
|
|
86
|
+
/** Code. */
|
|
87
|
+
code?: string | null;
|
|
84
88
|
/** Communication Delay. */
|
|
85
89
|
communicationDelay?: number | null;
|
|
90
|
+
/** Description. */
|
|
91
|
+
description?: string | null;
|
|
86
92
|
/** Destination Task Id. */
|
|
87
93
|
destinationTaskId?: string | null;
|
|
88
94
|
/** Height. */
|
|
@@ -137,8 +143,12 @@ export declare class AgentTask {
|
|
|
137
143
|
* 0度表示向右(正X方向),90度表示向上(正Y方向),以此类推.
|
|
138
144
|
*/
|
|
139
145
|
angle?: number | null;
|
|
146
|
+
/** 任务编码. */
|
|
147
|
+
code?: string | null;
|
|
140
148
|
/** 创建时间. */
|
|
141
149
|
createdAt?: string | null;
|
|
150
|
+
/** 任务描述. */
|
|
151
|
+
description?: string | null;
|
|
142
152
|
/** 边绘制的高度,对应Z轴. */
|
|
143
153
|
height?: number | null;
|
|
144
154
|
/** 任务唯一标识符(主键). */
|
|
@@ -184,6 +194,10 @@ export declare class AgentTaskDto {
|
|
|
184
194
|
agentTaskType?: 0 | 1 | 2 | 3 | 4 | 5 | null;
|
|
185
195
|
/** Angle. */
|
|
186
196
|
angle?: number | null;
|
|
197
|
+
/** Code. */
|
|
198
|
+
code?: string | null;
|
|
199
|
+
/** Description. */
|
|
200
|
+
description?: string | null;
|
|
187
201
|
/** Height. */
|
|
188
202
|
height?: number | null;
|
|
189
203
|
/** Id. */
|
|
@@ -215,6 +229,8 @@ export declare class CreateAgentRequest {
|
|
|
215
229
|
angle?: number | null;
|
|
216
230
|
/** Creator Id. */
|
|
217
231
|
creatorId?: string | null;
|
|
232
|
+
/** Destination Task Id. */
|
|
233
|
+
destinationTaskId?: string | null;
|
|
218
234
|
/** Scene Id. */
|
|
219
235
|
sceneId?: string | null;
|
|
220
236
|
/** Station Id. */
|
|
@@ -250,10 +266,12 @@ export declare class Creator {
|
|
|
250
266
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
251
267
|
*/
|
|
252
268
|
angle?: number | null;
|
|
253
|
-
/**
|
|
269
|
+
/** 创建者编码. */
|
|
254
270
|
code?: string | null;
|
|
255
271
|
/** 创建时间. */
|
|
256
272
|
createdAt?: string | null;
|
|
273
|
+
/** 创建者描述. */
|
|
274
|
+
description?: string | null;
|
|
257
275
|
/** 创建者高度,对应Z轴. */
|
|
258
276
|
height?: number | null;
|
|
259
277
|
/** 创建者唯一标识符(主键). */
|
|
@@ -287,6 +305,10 @@ export declare class Creator {
|
|
|
287
305
|
export declare class CreatorDto {
|
|
288
306
|
/** Angle. */
|
|
289
307
|
angle?: number | null;
|
|
308
|
+
/** Code. */
|
|
309
|
+
code?: string | null;
|
|
310
|
+
/** Description. */
|
|
311
|
+
description?: string | null;
|
|
290
312
|
/** Height. */
|
|
291
313
|
height?: number | null;
|
|
292
314
|
/** Id. */
|
|
@@ -322,10 +344,12 @@ export declare class Destroyer {
|
|
|
322
344
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
323
345
|
*/
|
|
324
346
|
angle?: number | null;
|
|
325
|
-
/**
|
|
347
|
+
/** 销毁者编码. */
|
|
326
348
|
code?: string | null;
|
|
327
349
|
/** 创建时间. */
|
|
328
350
|
createdAt?: string | null;
|
|
351
|
+
/** 销毁者描述. */
|
|
352
|
+
description?: string | null;
|
|
329
353
|
/** 销毁者高度,对应Z轴. */
|
|
330
354
|
height?: number | null;
|
|
331
355
|
/** 销毁者唯一标识符(主键). */
|
|
@@ -359,6 +383,10 @@ export declare class Destroyer {
|
|
|
359
383
|
export declare class DestroyerDto {
|
|
360
384
|
/** Angle. */
|
|
361
385
|
angle?: number | null;
|
|
386
|
+
/** Code. */
|
|
387
|
+
code?: string | null;
|
|
388
|
+
/** Description. */
|
|
389
|
+
description?: string | null;
|
|
362
390
|
/** Height. */
|
|
363
391
|
height?: number | null;
|
|
364
392
|
/** Id. */
|
|
@@ -389,14 +417,18 @@ export declare class Edge {
|
|
|
389
417
|
* 注意:因为Y轴向下为正,所以角度旋转正值旋转为顺时针,负值旋转为逆时针.
|
|
390
418
|
*/
|
|
391
419
|
angle?: number | null;
|
|
392
|
-
/**
|
|
420
|
+
/** 线段编码. */
|
|
393
421
|
code?: string | null;
|
|
394
422
|
/** 创建时间. */
|
|
395
423
|
createdAt?: string | null;
|
|
424
|
+
/** 线段描述. */
|
|
425
|
+
description?: string | null;
|
|
396
426
|
/** 边绘制的高度,对应Z轴. */
|
|
397
427
|
height?: number | null;
|
|
398
428
|
/** 线段唯一标识符(主键). */
|
|
399
429
|
id?: string | null;
|
|
430
|
+
/** 是否主线, 否则支线. */
|
|
431
|
+
isPrimary?: boolean | null;
|
|
400
432
|
/** 边绘制的长度,对应Y轴. */
|
|
401
433
|
length?: number | null;
|
|
402
434
|
/** Scene. */
|
|
@@ -424,10 +456,16 @@ export declare class Edge {
|
|
|
424
456
|
export declare class EdgeDto {
|
|
425
457
|
/** Angle. */
|
|
426
458
|
angle?: number | null;
|
|
459
|
+
/** Code. */
|
|
460
|
+
code?: string | null;
|
|
461
|
+
/** Description. */
|
|
462
|
+
description?: string | null;
|
|
427
463
|
/** Height. */
|
|
428
464
|
height?: number | null;
|
|
429
465
|
/** Id. */
|
|
430
466
|
id?: string | null;
|
|
467
|
+
/** Is Primary. */
|
|
468
|
+
isPrimary?: boolean | null;
|
|
431
469
|
/** Length. */
|
|
432
470
|
length?: number | null;
|
|
433
471
|
/** Source. */
|
|
@@ -464,10 +502,12 @@ export declare class JackUpTransferStation {
|
|
|
464
502
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
465
503
|
*/
|
|
466
504
|
angle?: number | null;
|
|
467
|
-
/**
|
|
505
|
+
/** 站点编码. */
|
|
468
506
|
code?: string | null;
|
|
469
507
|
/** 创建时间. */
|
|
470
508
|
createdAt?: string | null;
|
|
509
|
+
/** 顶升移载输送机描述. */
|
|
510
|
+
description?: string | null;
|
|
471
511
|
/** Edge. */
|
|
472
512
|
edge?: Edge | null;
|
|
473
513
|
/** 站点所属边. */
|
|
@@ -505,6 +545,10 @@ export declare class JackUpTransferStation {
|
|
|
505
545
|
export declare class JackUpTransferStationDto {
|
|
506
546
|
/** Angle. */
|
|
507
547
|
angle?: number | null;
|
|
548
|
+
/** Code. */
|
|
549
|
+
code?: string | null;
|
|
550
|
+
/** Description. */
|
|
551
|
+
description?: string | null;
|
|
508
552
|
/** Edge Id. */
|
|
509
553
|
edgeId?: string | null;
|
|
510
554
|
/** Height. */
|
|
@@ -546,10 +590,12 @@ export declare class PalletStackerStation {
|
|
|
546
590
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
547
591
|
*/
|
|
548
592
|
angle?: number | null;
|
|
549
|
-
/**
|
|
593
|
+
/** 站点编码. */
|
|
550
594
|
code?: string | null;
|
|
551
595
|
/** 创建时间. */
|
|
552
596
|
createdAt?: string | null;
|
|
597
|
+
/** 叠盘机描述. */
|
|
598
|
+
description?: string | null;
|
|
553
599
|
/** Edge. */
|
|
554
600
|
edge?: Edge | null;
|
|
555
601
|
/** 站点所属边. */
|
|
@@ -587,6 +633,10 @@ export declare class PalletStackerStation {
|
|
|
587
633
|
export declare class PalletStackerStationDto {
|
|
588
634
|
/** Angle. */
|
|
589
635
|
angle?: number | null;
|
|
636
|
+
/** Code. */
|
|
637
|
+
code?: string | null;
|
|
638
|
+
/** Description. */
|
|
639
|
+
description?: string | null;
|
|
590
640
|
/** Edge Id. */
|
|
591
641
|
edgeId?: string | null;
|
|
592
642
|
/** Height. */
|
|
@@ -620,10 +670,12 @@ export declare class PhotoelectricSensor {
|
|
|
620
670
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
621
671
|
*/
|
|
622
672
|
angle?: number | null;
|
|
623
|
-
/**
|
|
673
|
+
/** 站点编码. */
|
|
624
674
|
code?: string | null;
|
|
625
675
|
/** 创建时间. */
|
|
626
676
|
createdAt?: string | null;
|
|
677
|
+
/** 光电传感器描述. */
|
|
678
|
+
description?: string | null;
|
|
627
679
|
/** Edge. */
|
|
628
680
|
edge?: Edge | null;
|
|
629
681
|
/** 站点所属边. */
|
|
@@ -661,6 +713,10 @@ export declare class PhotoelectricSensor {
|
|
|
661
713
|
export declare class PhotoelectricSensorDto {
|
|
662
714
|
/** Angle. */
|
|
663
715
|
angle?: number | null;
|
|
716
|
+
/** Code. */
|
|
717
|
+
code?: string | null;
|
|
718
|
+
/** Description. */
|
|
719
|
+
description?: string | null;
|
|
664
720
|
/** Edge Id. */
|
|
665
721
|
edgeId?: string | null;
|
|
666
722
|
/** Height. */
|
|
@@ -707,6 +763,8 @@ export declare class SaveSceneRequest {
|
|
|
707
763
|
export declare class Scene {
|
|
708
764
|
/** 场景中的代理. */
|
|
709
765
|
agents?: Array<Agent> | null;
|
|
766
|
+
/** 场景编码. */
|
|
767
|
+
code?: string | null;
|
|
710
768
|
/** 配置JSON. */
|
|
711
769
|
configurationJson?: string | null;
|
|
712
770
|
/** 创建时间. */
|
|
@@ -758,6 +816,8 @@ export declare class Scene {
|
|
|
758
816
|
export declare class SceneDto {
|
|
759
817
|
/** Agents. */
|
|
760
818
|
agents?: Array<AgentDto> | null;
|
|
819
|
+
/** Code. */
|
|
820
|
+
code?: string | null;
|
|
761
821
|
/** Configuration Json. */
|
|
762
822
|
configurationJson?: string | null;
|
|
763
823
|
/** Creators. */
|
|
@@ -778,12 +838,12 @@ export declare class SceneDto {
|
|
|
778
838
|
humidity?: number | null;
|
|
779
839
|
/** 指定则更新,否则后端可生成. */
|
|
780
840
|
id?: string | null;
|
|
781
|
-
/** Jack
|
|
782
|
-
|
|
841
|
+
/** Jack Up Transfer Stations. */
|
|
842
|
+
jackUpTransferStations?: Array<JackUpTransferStationDto> | null;
|
|
783
843
|
/** Name. */
|
|
784
844
|
name?: string | null;
|
|
785
|
-
/** Pallet
|
|
786
|
-
|
|
845
|
+
/** Pallet Stacker Stations. */
|
|
846
|
+
palletStackerStations?: Array<PalletStackerStationDto> | null;
|
|
787
847
|
/** Photoelectric Sensors. */
|
|
788
848
|
photoelectricSensors?: Array<PhotoelectricSensorDto> | null;
|
|
789
849
|
/** Stations. */
|
|
@@ -831,10 +891,12 @@ export declare class Station {
|
|
|
831
891
|
* 0度表示向右(正X方向),90度表示向下(正Y方向),以此类推.
|
|
832
892
|
*/
|
|
833
893
|
angle?: number | null;
|
|
834
|
-
/**
|
|
894
|
+
/** 站点编码. */
|
|
835
895
|
code?: string | null;
|
|
836
896
|
/** 创建时间. */
|
|
837
897
|
createdAt?: string | null;
|
|
898
|
+
/** 站点描述. */
|
|
899
|
+
description?: string | null;
|
|
838
900
|
/** Edge. */
|
|
839
901
|
edge?: Edge | null;
|
|
840
902
|
/** 站点所属边. */
|
|
@@ -872,6 +934,10 @@ export declare class Station {
|
|
|
872
934
|
export declare class StationDto {
|
|
873
935
|
/** Angle. */
|
|
874
936
|
angle?: number | null;
|
|
937
|
+
/** Code. */
|
|
938
|
+
code?: string | null;
|
|
939
|
+
/** Description. */
|
|
940
|
+
description?: string | null;
|
|
875
941
|
/** Edge Id. */
|
|
876
942
|
edgeId?: string | null;
|
|
877
943
|
/** Height. */
|
|
@@ -982,6 +1048,10 @@ export declare const STORE_KEY: {
|
|
|
982
1048
|
* 节点类型.
|
|
983
1049
|
*/
|
|
984
1050
|
export declare const NODE_KEY: {
|
|
1051
|
+
/**
|
|
1052
|
+
* 代理.
|
|
1053
|
+
*/
|
|
1054
|
+
AGENT: string;
|
|
985
1055
|
/**
|
|
986
1056
|
* 创建者.
|
|
987
1057
|
*/
|
|
@@ -1071,6 +1141,10 @@ export declare type INodeProperty = {
|
|
|
1071
1141
|
* 对象.
|
|
1072
1142
|
*/
|
|
1073
1143
|
data: Record<string, any>;
|
|
1144
|
+
/**
|
|
1145
|
+
* 连线长度.
|
|
1146
|
+
*/
|
|
1147
|
+
length?: number;
|
|
1074
1148
|
/**
|
|
1075
1149
|
* 对象类型.
|
|
1076
1150
|
*
|
|
@@ -62,6 +62,12 @@ export interface IKgSimulatorStoreGetters {
|
|
|
62
62
|
* @default true
|
|
63
63
|
*/
|
|
64
64
|
$config$mode$isEdit: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* 配置--模式--是否是监控模式.
|
|
67
|
+
*
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
70
|
+
$config$mode$isMonitor: boolean;
|
|
65
71
|
/**
|
|
66
72
|
* 配置--模式--是否是仿真模式.
|
|
67
73
|
*
|
|
@@ -152,12 +158,13 @@ export interface IKgSimulatorStoreActions {
|
|
|
152
158
|
* <p>设置模式. 默认为编辑模式.</p>
|
|
153
159
|
* <ul>
|
|
154
160
|
* <li>EDIT: 编辑</li>
|
|
161
|
+
* <li>MONITOR: 监控</li>
|
|
155
162
|
* <li>SIMULATE: 仿真</li>
|
|
156
163
|
* </ul>
|
|
157
164
|
*
|
|
158
165
|
* @param value
|
|
159
166
|
*/
|
|
160
|
-
set$config$mode(value: 'EDIT' | 'SIMULATE' | null | undefined): void;
|
|
167
|
+
set$config$mode(value: 'EDIT' | 'MONITOR' | 'SIMULATE' | null | undefined): void;
|
|
161
168
|
set$config$toolbar$prefab$isOpen(value: boolean | null | undefined): void;
|
|
162
169
|
set$config$toolbar$prefab$isVisible(value: boolean | null | undefined): void;
|
|
163
170
|
set$config$toolbar$prefab$placement(value: IToolbarPlacement | null | undefined): void;
|
|
@@ -70,10 +70,18 @@ export declare const KG: {
|
|
|
70
70
|
* 组件参数.
|
|
71
71
|
*/
|
|
72
72
|
PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
|
|
73
|
+
KgCanvasToolbarButtonMode$isAvailable: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
73
77
|
id: {
|
|
74
78
|
type: import("vue").PropType<string>;
|
|
75
|
-
required: boolean;
|
|
76
|
-
|
|
79
|
+
required: boolean; /**
|
|
80
|
+
* 表单.
|
|
81
|
+
*/
|
|
82
|
+
}; /**
|
|
83
|
+
* 表单.
|
|
84
|
+
*/
|
|
77
85
|
kgCanvasToolbarFullscreen: {
|
|
78
86
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
79
87
|
kgIsShowText: {
|
|
@@ -84,8 +92,12 @@ export declare const KG: {
|
|
|
84
92
|
};
|
|
85
93
|
kgIsEditable: {
|
|
86
94
|
type: import("vue").PropType<boolean>;
|
|
87
|
-
default: boolean;
|
|
88
|
-
|
|
95
|
+
default: boolean; /**
|
|
96
|
+
* formRef.
|
|
97
|
+
*/
|
|
98
|
+
}; /**
|
|
99
|
+
* formRef.
|
|
100
|
+
*/
|
|
89
101
|
kgIsEnableOverview: {
|
|
90
102
|
type: import("vue").PropType<boolean>;
|
|
91
103
|
default: boolean;
|
|
@@ -420,10 +432,18 @@ export declare const KG_CONST: {
|
|
|
420
432
|
* 组件参数.
|
|
421
433
|
*/
|
|
422
434
|
PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
|
|
435
|
+
KgCanvasToolbarButtonMode$isAvailable: {
|
|
436
|
+
type: import("vue").PropType<boolean>;
|
|
437
|
+
default: boolean;
|
|
438
|
+
};
|
|
423
439
|
id: {
|
|
424
440
|
type: import("vue").PropType<string>;
|
|
425
|
-
required: boolean;
|
|
426
|
-
|
|
441
|
+
required: boolean; /**
|
|
442
|
+
* 表单.
|
|
443
|
+
*/
|
|
444
|
+
}; /**
|
|
445
|
+
* 表单.
|
|
446
|
+
*/
|
|
427
447
|
kgCanvasToolbarFullscreen: {
|
|
428
448
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
429
449
|
kgIsShowText: {
|
|
@@ -434,8 +454,12 @@ export declare const KG_CONST: {
|
|
|
434
454
|
};
|
|
435
455
|
kgIsEditable: {
|
|
436
456
|
type: import("vue").PropType<boolean>;
|
|
437
|
-
default: boolean;
|
|
438
|
-
|
|
457
|
+
default: boolean; /**
|
|
458
|
+
* formRef.
|
|
459
|
+
*/
|
|
460
|
+
}; /**
|
|
461
|
+
* formRef.
|
|
462
|
+
*/
|
|
439
463
|
kgIsEnableOverview: {
|
|
440
464
|
type: import("vue").PropType<boolean>;
|
|
441
465
|
default: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.35",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build:dev": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
|