@kengic/vue 0.30.1-beta.36 → 0.30.1-beta.38

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.
@@ -76,6 +76,50 @@ export declare class Agent {
76
76
  z?: number | null;
77
77
  constructor(obj?: Agent);
78
78
  }
79
+ /** Agent创建消息. */
80
+ export declare class AgentCreatedMessage {
81
+ /** Agent ID. */
82
+ agentId?: string | null;
83
+ /** 角度. */
84
+ angle?: number | null;
85
+ /** Data. */
86
+ data?: any | null;
87
+ /** Message Id. */
88
+ messageId?: string | null;
89
+ /** 场景ID. */
90
+ sceneId?: string | null;
91
+ /** 目标站点ID. */
92
+ targetStationId?: string | null;
93
+ /** 时间戳. */
94
+ timestamp?: string | null;
95
+ /** 消息类型. */
96
+ type?: string | null;
97
+ /** X坐标. */
98
+ x?: number | null;
99
+ /** Y坐标. */
100
+ y?: number | null;
101
+ /** Z坐标. */
102
+ z?: number | null;
103
+ constructor(obj?: AgentCreatedMessage);
104
+ }
105
+ /** Agent销毁消息. */
106
+ export declare class AgentDestroyedMessage {
107
+ /** Agent ID. */
108
+ agentId?: string | null;
109
+ /** Data. */
110
+ data?: any | null;
111
+ /** 销毁者ID. */
112
+ destroyerId?: string | null;
113
+ /** Message Id. */
114
+ messageId?: string | null;
115
+ /** 场景ID. */
116
+ sceneId?: string | null;
117
+ /** 时间戳. */
118
+ timestamp?: string | null;
119
+ /** 消息类型. */
120
+ type?: string | null;
121
+ constructor(obj?: AgentDestroyedMessage);
122
+ }
79
123
  /** RGV代理实体。
80
124
  * 从PLC下发命令执行动作的都算Agent。动作包括不限于移动,转弯、加速、减速等. */
81
125
  export declare class AgentDto {
@@ -161,6 +205,17 @@ export declare class AgentStatusUpdateRequest {
161
205
  z?: number | null;
162
206
  constructor(obj?: AgentStatusUpdateRequest);
163
207
  }
208
+ export declare class AgentStatusUpdateRequestWebSocketMessage {
209
+ /** Data. */
210
+ data?: any | null;
211
+ /** Message Id. */
212
+ messageId?: string | null;
213
+ /** Timestamp. */
214
+ timestamp?: string | null;
215
+ /** Type. */
216
+ type?: string | null;
217
+ constructor(obj?: AgentStatusUpdateRequestWebSocketMessage);
218
+ }
164
219
  /** 代理任务实体. */
165
220
  export declare class AgentTask {
166
221
  /** Agent Task Type. */
@@ -369,8 +424,6 @@ export declare class CreatorDto {
369
424
  length?: number | null;
370
425
  /** 所属场景ID. */
371
426
  sceneId?: string | null;
372
- /** 所属站点Id. */
373
- stationId?: string | null;
374
427
  /** 创建者宽度,对应X轴. */
375
428
  width?: number | null;
376
429
  /** 坐标X. */
@@ -448,8 +501,6 @@ export declare class DestroyerDto {
448
501
  length?: number | null;
449
502
  /** 所属场景ID. */
450
503
  sceneId?: string | null;
451
- /** 所属站点Id. */
452
- stationId?: string | null;
453
504
  /** 销毁者宽度,对应X轴. */
454
505
  width?: number | null;
455
506
  /** 坐标X. */
@@ -807,6 +858,33 @@ export declare class PhotoelectricSensorDto {
807
858
  z?: number | null;
808
859
  constructor(obj?: PhotoelectricSensorDto);
809
860
  }
861
+ export declare class PlcActionRequestWebSocketMessage {
862
+ /** Action Type. */
863
+ actionType?: string | null;
864
+ /** Data. */
865
+ data?: any | null;
866
+ /** Message Id. */
867
+ messageId?: string | null;
868
+ /** Timestamp. */
869
+ timestamp?: string | null;
870
+ /** Type. */
871
+ type?: string | null;
872
+ constructor(obj?: PlcActionRequestWebSocketMessage);
873
+ }
874
+ /** 用于前端生成类型定义. */
875
+ export declare class PontRequest {
876
+ /** Agent Created Message. */
877
+ agentCreatedMessage?: AgentCreatedMessage | null;
878
+ /** Agent Destroyed Message. */
879
+ agentDestroyedMessage?: AgentDestroyedMessage | null;
880
+ /** Agent Status Update Request Web Socket Message. */
881
+ agentStatusUpdateRequestWebSocketMessage?: AgentStatusUpdateRequestWebSocketMessage | null;
882
+ /** Plc Action Request Web Socket Message. */
883
+ plcActionRequestWebSocketMessage?: PlcActionRequestWebSocketMessage | null;
884
+ /** Web Socket Message. */
885
+ webSocketMessage?: WebSocketMessage | null;
886
+ constructor(obj?: PontRequest);
887
+ }
810
888
  export declare class Result<T0> {
811
889
  /** Code. */
812
890
  code?: number | null;
@@ -1049,6 +1127,18 @@ export declare class UpdateSceneStatusRequest {
1049
1127
  status?: 0 | 1 | 2 | 3 | 4 | 5 | null;
1050
1128
  constructor(obj?: UpdateSceneStatusRequest);
1051
1129
  }
1130
+ /** WebSocket消息类型. */
1131
+ export declare class WebSocketMessage {
1132
+ /** Data. */
1133
+ data?: any | null;
1134
+ /** Message Id. */
1135
+ messageId?: string | null;
1136
+ /** Timestamp. */
1137
+ timestamp?: string | null;
1138
+ /** Type. */
1139
+ type?: string | null;
1140
+ constructor(obj?: WebSocketMessage);
1141
+ }
1052
1142
  /**
1053
1143
  * 获取对象的属性名数组.
1054
1144
  * @param obj 对象.
@@ -1057,39 +1147,39 @@ export declare function keys<C extends object>(obj: C): Array<keyof C>;
1057
1147
  /**
1058
1148
  * 创建一个新的对象, 并给部分属性设置默认值.
1059
1149
  *
1060
- * @param station 要覆盖的部分属性.
1150
+ * @param creator 要覆盖的部分属性.
1061
1151
  */
1062
- export declare function newPTSSJ(station?: Station): Station;
1152
+ export declare function newCreator(creator?: Creator): Creator;
1063
1153
  /**
1064
1154
  * 创建一个新的对象, 并给部分属性设置默认值.
1065
1155
  *
1066
- * @param station 要覆盖的部分属性.
1156
+ * @param destroyer 要覆盖的部分属性.
1067
1157
  */
1068
- export declare function newDSYZJ(station?: JackUpTransferStation): JackUpTransferStation;
1158
+ export declare function newDestroyer(destroyer?: Destroyer): Destroyer;
1069
1159
  /**
1070
1160
  * 创建一个新的对象, 并给部分属性设置默认值.
1071
1161
  *
1072
1162
  * @param station 要覆盖的部分属性.
1073
1163
  */
1074
- export declare function newDPJ(station?: PalletStackerStation): PalletStackerStation;
1164
+ export declare function newPTSSJ(station?: Station): Station;
1075
1165
  /**
1076
1166
  * 创建一个新的对象, 并给部分属性设置默认值.
1077
1167
  *
1078
1168
  * @param station 要覆盖的部分属性.
1079
1169
  */
1080
- export declare function newGDCGQ(station?: PhotoelectricSensor): PhotoelectricSensor;
1170
+ export declare function newDSYZJ(station?: JackUpTransferStation): JackUpTransferStation;
1081
1171
  /**
1082
1172
  * 创建一个新的对象, 并给部分属性设置默认值.
1083
1173
  *
1084
- * @param creator 要覆盖的部分属性.
1174
+ * @param station 要覆盖的部分属性.
1085
1175
  */
1086
- export declare function newCreator(creator?: Creator): Creator;
1176
+ export declare function newDPJ(station?: PalletStackerStation): PalletStackerStation;
1087
1177
  /**
1088
1178
  * 创建一个新的对象, 并给部分属性设置默认值.
1089
1179
  *
1090
- * @param destroyer 要覆盖的部分属性.
1180
+ * @param station 要覆盖的部分属性.
1091
1181
  */
1092
- export declare function newDestroyer(destroyer?: Destroyer): Destroyer;
1182
+ export declare function newGDCGQ(station?: PhotoelectricSensor): PhotoelectricSensor;
1093
1183
  /**
1094
1184
  * 创建一个新的对象, 并给部分属性设置默认值.
1095
1185
  *
@@ -1120,14 +1210,50 @@ export declare type IDragDataTransferData = {
1120
1210
  */
1121
1211
  export declare type INodeProperty = {
1122
1212
  /**
1123
- * 对象.
1213
+ * 代理者--移动--移动方向.
1124
1214
  */
1125
- data: Record<string, any>;
1215
+ $Agent$Move$Direction?: 'UP' | 'DOWN' | 'LEFT' | 'RIGHT';
1216
+ /**
1217
+ * 代理者--移动--是否正在移动.
1218
+ */
1219
+ $Agent$Move$IsMoving?: boolean;
1220
+ /**
1221
+ * 代理者--移动--目标 X.
1222
+ */
1223
+ $Agent$Move$ToX?: number;
1224
+ /**
1225
+ * 代理者--移动--目标 Y.
1226
+ */
1227
+ $Agent$Move$ToY?: number;
1126
1228
  /**
1127
- * <p>连线长度.</p>
1128
- * <p>如果是节点, 则该属性为 undefined,</p>
1229
+ * 创建者--计时器.
1129
1230
  */
1130
- length?: number;
1231
+ $Creator$Timer?: number;
1232
+ /**
1233
+ * 顶升移栽机--是否正在下降.
1234
+ */
1235
+ $DSYZJ$IsDownDoing?: boolean;
1236
+ /**
1237
+ * 顶升移栽机--是否正在上升.
1238
+ */
1239
+ $DSYZJ$IsUpDoing?: boolean;
1240
+ /**
1241
+ * 顶升移栽机--当前位置.
1242
+ */
1243
+ $DSYZJ$Position?: 'UP' | 'DOWN';
1244
+ /**
1245
+ * 创建者--计时器.
1246
+ */
1247
+ $Destroyer$Timer?: number;
1248
+ /**
1249
+ * <p>连线--长度.</p>
1250
+ * <p>如果不是连线, 则该属性为 undefined,</p>
1251
+ */
1252
+ $Edge$length?: number;
1253
+ /**
1254
+ * 对象.
1255
+ */
1256
+ data: Record<string, any>;
1131
1257
  /**
1132
1258
  * 对象类型.
1133
1259
  *
@@ -1213,6 +1339,14 @@ export declare const NODE_UI_KEY: {
1213
1339
  * 顶升移载机--编号.
1214
1340
  */
1215
1341
  DSYZJ_CODE: string;
1342
+ /**
1343
+ * 顶升移载机--下降箭头.
1344
+ */
1345
+ DSYZJ_DOWN_ARROW: string;
1346
+ /**
1347
+ * 顶升移载机--上升箭头.
1348
+ */
1349
+ DSYZJ_UP_ARROW: string;
1216
1350
  /**
1217
1351
  * 连线--编号.
1218
1352
  */
@@ -1233,7 +1367,7 @@ export declare const NODE_UI_KEY: {
1233
1367
  /**
1234
1368
  * WEBSOCKET 发起请求消息类型.
1235
1369
  */
1236
- export declare const WEBSOCKET_REQUEST_TYPE: {
1370
+ export declare const WEBSOCKET_PING_TYPE: {
1237
1371
  /**
1238
1372
  * 更新代理状态.
1239
1373
  */
@@ -1242,7 +1376,7 @@ export declare const WEBSOCKET_REQUEST_TYPE: {
1242
1376
  /**
1243
1377
  * WEBSOCKET 接收响应消息类型.
1244
1378
  */
1245
- export declare const WEBSOCKET_RESPONSE_TYPE: {
1379
+ export declare const WEBSOCKET_PONG_TYPE: {
1246
1380
  /**
1247
1381
  * 代理创建成功.
1248
1382
  */
@@ -3,144 +3,168 @@ import { WebSocketResult } from '@vueuse/core';
3
3
  import { KgStoreDefinition } from '../../const';
4
4
  import { IToolbarPlacement, Scene } from './KgSimulator.model';
5
5
  export interface IKgSimulatorStoreGetters {
6
+ /**
7
+ * 配置--环形输送线--代理者--全局加速度.
8
+ *
9
+ * @default 16 m/min/s, 16000/(60*1000*1000) mm/ms^2
10
+ */
11
+ $Config$CircularConveyor$Agent$GlobalAcceleration: number;
12
+ /**
13
+ * 配置--环形输送线--代理者--全局最大速度.
14
+ *
15
+ * @default 16 m/min, 16000/(60*1000) mm/ms
16
+ */
17
+ $Config$CircularConveyor$Agent$GlobalMaxVelocity: number;
18
+ /**
19
+ * 配置--环形输送线--接口地址--创建代理者.
20
+ *
21
+ * @default '/Agent/CreateAgent'
22
+ */
23
+ $Config$CircularConveyor$Api$CreateAgent: string;
6
24
  /**
7
25
  * 配置--环形输送线--接口地址--创建场景.
8
26
  *
9
27
  * @default '/Scene/CreateScene'
10
28
  */
11
- $config$circularConveyor$api$createScene: string;
29
+ $Config$CircularConveyor$Api$CreateScene: string;
30
+ /**
31
+ * 配置--环形输送线--接口地址--销毁代理者.
32
+ *
33
+ * @default '/Agent/DestroyAgent'
34
+ */
35
+ $Config$CircularConveyor$Api$DestroyAgent: string;
12
36
  /**
13
37
  * 配置--环形输送线--接口地址--查询场景列表.
14
38
  *
15
39
  * @default '/Scene/GetScenes'
16
40
  */
17
- $config$circularConveyor$api$requestSceneList: string;
41
+ $Config$CircularConveyor$Api$RequestSceneList: string;
18
42
  /**
19
43
  * 配置--环形输送线--接口地址--更新场景.
20
44
  *
21
45
  * @default '/Scene/SaveScene'
22
46
  */
23
- $config$circularConveyor$api$updateScene: string;
47
+ $Config$CircularConveyor$Api$UpdateScene: string;
24
48
  /**
25
49
  * 配置--环形输送线--接口地址--WEBSOCKET.
26
50
  *
27
51
  * @default '/Scene/GetScenes'
28
52
  */
29
- $config$circularConveyor$api$ws: string;
53
+ $Config$CircularConveyor$Api$WebSocket: string;
30
54
  /**
31
55
  * 配置--环境--是否是环形输送线.
32
56
  *
33
57
  * @default true
34
58
  */
35
- $config$env$isCircularConveyor: boolean;
59
+ $Config$Env$IsCircularConveyor: boolean;
36
60
  /**
37
61
  * 配置--环境--是否是环形穿梭车.
38
62
  *
39
63
  * @default false
40
64
  */
41
- $config$env$isCircularShuttle: boolean;
65
+ $Config$Env$IsCircularShuttle: boolean;
42
66
  /**
43
67
  * 配置--工具栏--预制组件--是否打开.
44
68
  *
45
69
  * @default true
46
70
  */
47
- $config$toolbar$prefab$isOpen: boolean;
71
+ $Config$Toolbar$Prefab$IsOpen: boolean;
48
72
  /**
49
73
  * 配置--工具栏--预制组件--是否显示.
50
74
  *
51
75
  * @default true
52
76
  */
53
- $config$toolbar$prefab$isVisible: boolean;
77
+ $Config$Toolbar$Prefab$IsVisible: boolean;
54
78
  /**
55
79
  * 配置--工具栏--预制组件--位置.
56
80
  *
57
81
  * @default 'LEFT_TOP'
58
82
  */
59
- $config$toolbar$prefab$placement: IToolbarPlacement;
83
+ $Config$Toolbar$Prefab$Placement: IToolbarPlacement;
60
84
  /**
61
85
  * 配置--工具栏--属性--是否打开.
62
86
  *
63
87
  * @default true
64
88
  */
65
- $config$toolbar$property$isOpen: boolean;
89
+ $Config$Toolbar$Property$IsOpen: boolean;
66
90
  /**
67
91
  * 配置--工具栏--属性--是否显示.
68
92
  *
69
93
  * @default true
70
94
  */
71
- $config$toolbar$property$isVisible: boolean;
95
+ $Config$Toolbar$Property$IsVisible: boolean;
72
96
  /**
73
97
  * 配置--工具栏--属性--位置.
74
98
  *
75
99
  * @default 'RIGHT_TOP'
76
100
  */
77
- $config$toolbar$property$placement: IToolbarPlacement;
101
+ $Config$Toolbar$Property$Placement: IToolbarPlacement;
78
102
  /**
79
103
  * 配置--工具栏--场景--是否打开.
80
104
  *
81
105
  * @default true
82
106
  */
83
- $config$toolbar$scene$isOpen: boolean;
107
+ $Config$Toolbar$Scene$IsOpen: boolean;
84
108
  /**
85
109
  * 配置--工具栏--场景--是否显示.
86
110
  *
87
111
  * @default true
88
112
  */
89
- $config$toolbar$scene$isVisible: boolean;
113
+ $Config$Toolbar$Scene$IsVisible: boolean;
90
114
  /**
91
115
  * 配置--工具栏--场景--位置.
92
116
  *
93
117
  * @default 'LEFT_TOP'
94
118
  */
95
- $config$toolbar$scene$placement: IToolbarPlacement;
119
+ $Config$Toolbar$Scene$Placement: IToolbarPlacement;
96
120
  /**
97
121
  * 环境--环形输送线--当前场景.
98
122
  */
99
- $env$circularConveyor$currentScene: Scene | null;
123
+ $Env$CircularConveyor$CurrentScene: Scene | null;
100
124
  /**
101
125
  * 环境--环形输送线--当前场景--是否已经保存.
102
126
  */
103
- $env$circularConveyor$currentScene$isSave: boolean;
127
+ $Env$CircularConveyor$CurrentScene$IsSave: boolean;
104
128
  /**
105
129
  * 环境--环形输送线--当前场景--是否正在保存.
106
130
  */
107
- $env$circularConveyor$currentScene$isSaving: boolean;
131
+ $Env$CircularConveyor$CurrentScene$IsSaving: boolean;
108
132
  /**
109
133
  * 环境--环形穿梭车--当前场景.
110
134
  */
111
- $env$circularShuttle$currentScene: any | null;
135
+ $Env$CircularShuttle$CurrentScene: any | null;
112
136
  /**
113
137
  * 环境--环形穿梭车--当前场景--是否已经保存.
114
138
  */
115
- $env$circularShuttle$currentScene$isSave: boolean;
139
+ $Env$CircularShuttle$CurrentScene$IsSave: boolean;
116
140
  /**
117
141
  * 环境--环形穿梭车--当前场景--是否正在保存.
118
142
  */
119
- $env$circularShuttle$currentScene$isSaving: boolean;
143
+ $Env$CircularShuttle$CurrentScene$IsSaving: boolean;
120
144
  /**
121
145
  * 模式--是否是编辑模式.
122
146
  *
123
147
  * @default true
124
148
  */
125
- $mode$isEdit: boolean;
149
+ $Mode$IsEdit: boolean;
126
150
  /**
127
151
  * 模式--是否是监控模式.
128
152
  *
129
153
  * @default false
130
154
  */
131
- $mode$isMonitor: boolean;
155
+ $Mode$IsMonitor: boolean;
132
156
  /**
133
157
  * 配置--模式--是否是仿真模式.
134
158
  *
135
159
  * @default false
136
160
  */
137
- $mode$isSimulate: boolean;
161
+ $Mode$IsSimulate: boolean;
138
162
  /**
139
163
  * 配置--模式--仿真模式--正在运行.
140
164
  *
141
165
  * @default false
142
166
  */
143
- $mode$simulate$isRunning: boolean;
167
+ $Mode$Simulate$IsRunning: boolean;
144
168
  }
145
169
  export interface IKgSimulatorStoreActions {
146
170
  /**
@@ -160,10 +184,14 @@ export interface IKgSimulatorStoreActions {
160
184
  * 保存场景.
161
185
  */
162
186
  saveScene(): Promise<void>;
163
- set$config$circularConveyor$api$createScene(value: string | null | undefined): void;
164
- set$config$circularConveyor$api$requestSceneList(value: string | null | undefined): void;
165
- set$config$circularConveyor$api$updateScene(value: string | null | undefined): void;
166
- set$config$circularConveyor$api$ws(value: string | null | undefined): void;
187
+ set$Config$CircularConveyor$Agent$GlobalAcceleration(value: number | null | undefined): void;
188
+ set$Config$CircularConveyor$Agent$GlobalMaxVelocity(value: number | null | undefined): void;
189
+ set$Config$CircularConveyor$Api$CreateAgent(value: string | null | undefined): void;
190
+ set$Config$CircularConveyor$Api$CreateScene(value: string | null | undefined): void;
191
+ set$Config$CircularConveyor$Api$DestroyAgent(value: string | null | undefined): void;
192
+ set$Config$CircularConveyor$Api$RequestSceneList(value: string | null | undefined): void;
193
+ set$Config$CircularConveyor$Api$UpdateScene(value: string | null | undefined): void;
194
+ set$Config$CircularConveyor$Api$WebSocket(value: string | null | undefined): void;
167
195
  /**
168
196
  * <p>设置环境.</p>
169
197
  * <ul>
@@ -173,7 +201,7 @@ export interface IKgSimulatorStoreActions {
173
201
  *
174
202
  * @param value
175
203
  */
176
- set$config$env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
204
+ set$Config$Env(value: 'CIRCULAR_CONVEYOR' | 'CIRCULAR_SHUTTLE' | null | undefined): void;
177
205
  /**
178
206
  * <p>设置模式. 默认为编辑模式.</p>
179
207
  * <ul>
@@ -184,23 +212,23 @@ export interface IKgSimulatorStoreActions {
184
212
  *
185
213
  * @param value
186
214
  */
187
- set$config$mode(value: 'EDIT' | 'MONITOR' | 'SIMULATE' | null | undefined): void;
188
- set$config$toolbar$prefab$isOpen(value: boolean | null | undefined): void;
189
- set$config$toolbar$prefab$isVisible(value: boolean | null | undefined): void;
190
- set$config$toolbar$prefab$placement(value: IToolbarPlacement | null | undefined): void;
191
- set$config$toolbar$property$isOpen(value: boolean | null | undefined): void;
192
- set$config$toolbar$property$isVisible(value: boolean | null | undefined): void;
193
- set$config$toolbar$property$placement(value: IToolbarPlacement | null | undefined): void;
194
- set$config$toolbar$scene$isOpen(value: boolean | null | undefined): void;
195
- set$config$toolbar$scene$isVisible(value: boolean | null | undefined): void;
196
- set$config$toolbar$scene$placement(value: IToolbarPlacement | null | undefined): void;
197
- set$env$circularConveyor$currentScene(value: Scene | null | undefined): void;
198
- set$env$circularConveyor$currentScene$isSave(value: boolean | null | undefined): void;
199
- set$env$circularConveyor$currentScene$isSaving(value: boolean | null | undefined): void;
200
- set$env$circularShuttle$currentScene(value: any | null | undefined): void;
201
- set$env$circularShuttle$currentScene$isSave(value: boolean | null | undefined): void;
202
- set$env$circularShuttle$currentScene$isSaving(value: boolean | null | undefined): void;
215
+ set$Config$Mode(value: 'EDIT' | 'MONITOR' | 'SIMULATE' | null | undefined): void;
216
+ set$Config$Toolbar$Prefab$IsOpen(value: boolean | null | undefined): void;
217
+ set$Config$Toolbar$Prefab$IsVisible(value: boolean | null | undefined): void;
218
+ set$Config$Toolbar$Prefab$Placement(value: IToolbarPlacement | null | undefined): void;
219
+ set$Config$Toolbar$Property$IsOpen(value: boolean | null | undefined): void;
220
+ set$Config$Toolbar$Property$IsVisible(value: boolean | null | undefined): void;
221
+ set$Config$Toolbar$Property$Placement(value: IToolbarPlacement | null | undefined): void;
222
+ set$Config$Toolbar$Scene$IsOpen(value: boolean | null | undefined): void;
223
+ set$Config$Toolbar$Scene$IsVisible(value: boolean | null | undefined): void;
224
+ set$Config$Toolbar$Scene$Placement(value: IToolbarPlacement | null | undefined): void;
225
+ set$Env$CircularConveyor$CurrentScene(value: Scene | null | undefined): void;
226
+ set$Env$CircularConveyor$CurrentScene$IsSave(value: boolean | null | undefined): void;
227
+ set$Env$CircularConveyor$CurrentScene$IsSaving(value: boolean | null | undefined): void;
228
+ set$Env$CircularShuttle$CurrentScene(value: any | null | undefined): void;
229
+ set$Env$CircularShuttle$CurrentScene$IsSave(value: boolean | null | undefined): void;
230
+ set$Env$CircularShuttle$CurrentScene$IsSaving(value: boolean | null | undefined): void;
231
+ set$Mode$Simulate$IsRunning(value: boolean | null | undefined): void;
203
232
  set$graph(value: Q.Graph | null | undefined): void;
204
- set$mode$simulate$isRunning(value: boolean | null | undefined): void;
205
233
  }
206
234
  export declare function buildKgSimulatorStore(id: string | null | undefined): KgStoreDefinition<IKgSimulatorStoreGetters, IKgSimulatorStoreActions>;
@@ -0,0 +1,21 @@
1
+ import { Q } from '@thymine/xunee';
2
+ /**
3
+ * 判断是不是同一个点, 考虑一定误差.
4
+ */
5
+ export declare function isSamePoint(x1: number | null | undefined, x2: number | null | undefined): boolean;
6
+ /**
7
+ * 获取时间戳.
8
+ */
9
+ export declare function timestamp(): string;
10
+ /**
11
+ * 获取节点下的界面元素.
12
+ *
13
+ * @param param.code 编号.
14
+ * @param param.node 节点.
15
+ */
16
+ export declare function getNodeUiByCode<T extends Q.BaseUI>(param: {
17
+ code: string;
18
+ node: Q.Node;
19
+ }): {
20
+ ui: T;
21
+ };
@@ -70,18 +70,21 @@ 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
- };
77
73
  id: {
78
74
  type: import("vue").PropType<string>;
79
- required: boolean; /**
80
- * 表单.
75
+ /**
76
+ * 组件参数.
81
77
  */
82
- }; /**
83
- * 表单.
84
- */
78
+ required: boolean;
79
+ };
80
+ kg$ContextMenu$Reload$IsAvailable: {
81
+ type: import("vue").PropType<boolean>;
82
+ default: boolean;
83
+ };
84
+ kg$KgCanvasToolbarButtonMode$IsAvailable: {
85
+ type: import("vue").PropType<boolean>;
86
+ default: boolean;
87
+ };
85
88
  kgCanvasToolbarFullscreen: {
86
89
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
87
90
  kgIsShowText: {
@@ -91,13 +94,12 @@ export declare const KG: {
91
94
  }>>>;
92
95
  };
93
96
  kgIsEditable: {
94
- type: import("vue").PropType<boolean>;
95
- default: boolean; /**
96
- * formRef.
97
+ /**
98
+ * 表单控件.
97
99
  */
98
- }; /**
99
- * formRef.
100
- */
100
+ type: import("vue").PropType<boolean>;
101
+ default: boolean;
102
+ };
101
103
  kgIsEnableOverview: {
102
104
  type: import("vue").PropType<boolean>;
103
105
  default: boolean;
@@ -432,18 +434,21 @@ export declare const KG_CONST: {
432
434
  * 组件参数.
433
435
  */
434
436
  PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
435
- KgCanvasToolbarButtonMode$isAvailable: {
436
- type: import("vue").PropType<boolean>;
437
- default: boolean;
438
- };
439
437
  id: {
440
438
  type: import("vue").PropType<string>;
441
- required: boolean; /**
442
- * 表单.
439
+ /**
440
+ * 组件参数.
443
441
  */
444
- }; /**
445
- * 表单.
446
- */
442
+ required: boolean;
443
+ };
444
+ kg$ContextMenu$Reload$IsAvailable: {
445
+ type: import("vue").PropType<boolean>;
446
+ default: boolean;
447
+ };
448
+ kg$KgCanvasToolbarButtonMode$IsAvailable: {
449
+ type: import("vue").PropType<boolean>;
450
+ default: boolean;
451
+ };
447
452
  kgCanvasToolbarFullscreen: {
448
453
  type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
449
454
  kgIsShowText: {
@@ -453,13 +458,12 @@ export declare const KG_CONST: {
453
458
  }>>>;
454
459
  };
455
460
  kgIsEditable: {
456
- type: import("vue").PropType<boolean>;
457
- default: boolean; /**
458
- * formRef.
461
+ /**
462
+ * 表单控件.
459
463
  */
460
- }; /**
461
- * formRef.
462
- */
464
+ type: import("vue").PropType<boolean>;
465
+ default: boolean;
466
+ };
463
467
  kgIsEnableOverview: {
464
468
  type: import("vue").PropType<boolean>;
465
469
  default: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.36",
3
+ "version": "0.30.1-beta.38",
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",
@@ -43,7 +43,7 @@
43
43
  "@iconify-icons/mdi": "1.2.48",
44
44
  "@iconify-icons/ph": "1.2.5",
45
45
  "@iconify/vue": "4.1.2",
46
- "@kengic/core.core": "0.0.1-beta.23",
46
+ "@kengic/core.core": "0.0.1-beta.24",
47
47
  "@kengic/core.react": "0.0.2-beta.42",
48
48
  "@kengic/pont": "1.2.17-beta.5",
49
49
  "@rys-fe/vite-plugin-theme": "0.8.6",