@kengic/vue 0.28.2-beta.23 → 0.28.2-beta.25
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 +20519 -20317
- package/dist/src/const/form-id.const.d.ts +20 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.service.d.ts +18 -16
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Log.d.ts +5 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Tab.Rgv.d.ts +33 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.hooks.d.ts +6 -6
- package/dist/src/page/KgCircleVis/components/KgCircleVis.store.d.ts +66 -40
- package/dist/src/page/KgCircleVis/components/KgCircleVis.vm.d.ts +8 -0
- package/package.json +1 -1
@@ -2,6 +2,26 @@
|
|
2
2
|
* DDA 界面标识常量.
|
3
3
|
*/
|
4
4
|
export declare const FORM_IDS: {
|
5
|
+
/**
|
6
|
+
* 环穿可视化:小车信息汇总.
|
7
|
+
*/
|
8
|
+
KG_CIRCLE_VIS__RGV_SUMMARY: string;
|
9
|
+
/**
|
10
|
+
* 环穿可视化:小车:人工创建任务.
|
11
|
+
*/
|
12
|
+
KG_CIRCLE_VIS__RGV__CREATE_TASK: string;
|
13
|
+
/**
|
14
|
+
* 环穿可视化:小车:状态.
|
15
|
+
*/
|
16
|
+
KG_CIRCLE_VIS__RGV__STATUS: string;
|
17
|
+
/**
|
18
|
+
* 环穿可视化:小车:任务.
|
19
|
+
*/
|
20
|
+
KG_CIRCLE_VIS__RGV__TASK: string;
|
21
|
+
/**
|
22
|
+
* 环穿可视化:任务信息汇总.
|
23
|
+
*/
|
24
|
+
KG_CIRCLE_VIS__TASK_SUMMARY: string;
|
5
25
|
KG_PAGE_DDA__CREATE__BUTTON: string;
|
6
26
|
KG_SQL_CLIENT__RESULT_TAB: string;
|
7
27
|
/**
|
@@ -1,13 +1,25 @@
|
|
1
|
-
import { Q } from '@thymine/xunee';
|
2
|
-
import { MapStationDTO, StatusRgvVO } from './KgCircleVis.vm';
|
3
1
|
/** 节点类型. */
|
4
2
|
export declare const NODE_KEY: {
|
5
3
|
/** 轨道. */
|
6
4
|
PATH: string;
|
7
5
|
/** 小车. */
|
8
6
|
RGV: string;
|
9
|
-
/**
|
7
|
+
/** 小车:托盘. */
|
8
|
+
RGV_UI_CONTAINER: string;
|
9
|
+
/** 小车:选中. */
|
10
|
+
RGV_UI_SELECT: string;
|
11
|
+
/** 小车:小车编号. */
|
12
|
+
RGV_UI_TEXT: string;
|
13
|
+
/** 站点. */
|
10
14
|
STATION: string;
|
15
|
+
/** 站点:方向. */
|
16
|
+
STATION_UI_ARROW: string;
|
17
|
+
/** 站点:有货. */
|
18
|
+
STATION_UI_CENTER_RECT: string;
|
19
|
+
/** 站点:选中. */
|
20
|
+
STATION_UI_SELECT: string;
|
21
|
+
/** 站点:线体编号. */
|
22
|
+
STATION_UI_TEXT: string;
|
11
23
|
};
|
12
24
|
export declare type IUseDraw = {
|
13
25
|
/**
|
@@ -15,17 +27,9 @@ export declare type IUseDraw = {
|
|
15
27
|
*/
|
16
28
|
draw(param?: IUseDrawDrawParam): void;
|
17
29
|
/**
|
18
|
-
*
|
19
|
-
*
|
20
|
-
* @param rgv 小车. 如果为空, 表示清空选中.
|
21
|
-
*/
|
22
|
-
selectRgv(rgv: StatusRgvVO | null): void;
|
23
|
-
/**
|
24
|
-
* 选中站点.
|
25
|
-
*
|
26
|
-
* @param station 站点. 如果为空, 表示清空选中.
|
30
|
+
* 选中小车或者选中站点发生变更.
|
27
31
|
*/
|
28
|
-
|
32
|
+
onSelectChange(): void;
|
29
33
|
};
|
30
34
|
declare type IUseDrawDrawParam = {
|
31
35
|
/**
|
@@ -43,7 +47,5 @@ declare type IUseDrawDrawParam = {
|
|
43
47
|
*/
|
44
48
|
type: 'MAP' | 'STATUS';
|
45
49
|
};
|
46
|
-
export declare function useDraw(
|
47
|
-
graph: () => Q.Graph | null;
|
48
|
-
}): IUseDraw;
|
50
|
+
export declare function useDraw(): IUseDraw;
|
49
51
|
export {};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import './KgCircleVis.css';
|
2
|
+
/**
|
3
|
+
* 环穿可视化:日志.
|
4
|
+
*/
|
5
|
+
export declare const KgCircleVisTabLog: 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<{}>>, {}>;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import './KgCircleVis.css';
|
3
|
+
import { StatusRgvVO } from './KgCircleVis.vm';
|
4
|
+
export declare const getProps: () => {
|
5
|
+
/**
|
6
|
+
* 小车.
|
7
|
+
*/
|
8
|
+
rgv: {
|
9
|
+
required: boolean;
|
10
|
+
type: PropType<StatusRgvVO>;
|
11
|
+
};
|
12
|
+
};
|
13
|
+
export declare type KgCircleVisTabRgvProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
14
|
+
/**
|
15
|
+
* 环穿可视化:小车信息.
|
16
|
+
*/
|
17
|
+
export declare const KgCircleVisTabRgv: import("vue").DefineComponent<{
|
18
|
+
/**
|
19
|
+
* 小车.
|
20
|
+
*/
|
21
|
+
rgv: {
|
22
|
+
required: boolean;
|
23
|
+
type: PropType<StatusRgvVO>;
|
24
|
+
};
|
25
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
26
|
+
/**
|
27
|
+
* 小车.
|
28
|
+
*/
|
29
|
+
rgv: {
|
30
|
+
required: boolean;
|
31
|
+
type: PropType<StatusRgvVO>;
|
32
|
+
};
|
33
|
+
}>>, {}>;
|
@@ -3,17 +3,17 @@ import { IKgCircleVisProps, IKgCircleVisStore } from './KgCircleVis.store';
|
|
3
3
|
import { MapDTO, StatusDTO } from './KgCircleVis.vm';
|
4
4
|
export declare type IUseKgCircleVis = {
|
5
5
|
/**
|
6
|
-
*
|
6
|
+
* 画布:取下一个地图数据. 从地图数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
|
7
7
|
*/
|
8
|
-
|
8
|
+
$Canvas$popMapData(): MapDTO | null;
|
9
9
|
/**
|
10
|
-
*
|
10
|
+
* 画布:取下一个状态数据. 从状态数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
|
11
11
|
*/
|
12
|
-
|
12
|
+
$Canvas$popStatusData(): StatusDTO | null;
|
13
13
|
/**
|
14
|
-
*
|
14
|
+
* 画布对象.
|
15
15
|
*/
|
16
|
-
|
16
|
+
graph: Q.Graph | null;
|
17
17
|
/**
|
18
18
|
* 设置参数.
|
19
19
|
*
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Q } from '@thymine/xunee';
|
2
2
|
import { StoreDefinition } from 'pinia';
|
3
|
-
import {
|
3
|
+
import { MapDTO, MapStationDTO, StatusDTO, StatusRgvVO } from './KgCircleVis.vm';
|
4
4
|
export declare type IKgCircleVisProps = {
|
5
5
|
/**
|
6
6
|
* 接口地址.
|
@@ -141,41 +141,49 @@ export declare type IKgCircleVisProps = {
|
|
141
141
|
};
|
142
142
|
export interface IKgCircleVisStoreState {
|
143
143
|
/**
|
144
|
-
*
|
145
|
-
*/
|
146
|
-
areaSelectIsRequesting: boolean;
|
147
|
-
/**
|
148
|
-
* 库区下拉列表:当前选中的值.
|
149
|
-
*/
|
150
|
-
areaSelectValue: string | null;
|
151
|
-
/**
|
152
|
-
* 画布:当前选中的小车.
|
144
|
+
* 画布:当前选中的小车列表.
|
153
145
|
*/
|
154
|
-
|
146
|
+
$Canvas$currentRgvList: Array<StatusRgvVO>;
|
155
147
|
/**
|
156
|
-
*
|
148
|
+
* 画布:当前选中的站点列表.
|
157
149
|
*/
|
158
|
-
|
150
|
+
$Canvas$currentStationList: Array<MapStationDTO>;
|
159
151
|
/**
|
160
152
|
* 画布:图形地图数据列表. 等待被绘制的地图数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
|
161
153
|
*/
|
162
|
-
|
154
|
+
$Canvas$mapDataList: Array<MapDTO>;
|
163
155
|
/**
|
164
156
|
* 画布:是否正在请求地图数据.
|
165
157
|
*/
|
166
|
-
|
158
|
+
$Canvas$mapIsRequesting: boolean;
|
167
159
|
/**
|
168
160
|
* 画布:最新图形状态数据.
|
169
161
|
*/
|
170
|
-
|
162
|
+
$Canvas$statusData: StatusDTO | null;
|
171
163
|
/**
|
172
164
|
* 画布:图形状态数据列表. 等待被绘制的状态数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
|
173
165
|
*/
|
174
|
-
|
166
|
+
$Canvas$statusDataList: Array<StatusDTO>;
|
175
167
|
/**
|
176
168
|
* 画布:是否正在请求状态数据.
|
177
169
|
*/
|
178
|
-
|
170
|
+
$Canvas$statusIsRequesting: boolean;
|
171
|
+
/**
|
172
|
+
* 标签页:当前标签页.
|
173
|
+
*/
|
174
|
+
$Tab$activeKey: string | number;
|
175
|
+
/**
|
176
|
+
* 标签页:小车列表.
|
177
|
+
*/
|
178
|
+
$Tab$rgvList: Array<StatusRgvVO>;
|
179
|
+
/**
|
180
|
+
* 库区下拉列表:是否正在请求数据.
|
181
|
+
*/
|
182
|
+
areaSelectIsRequesting: boolean;
|
183
|
+
/**
|
184
|
+
* 库区下拉列表:当前选中的值.
|
185
|
+
*/
|
186
|
+
areaSelectValue: string | null;
|
179
187
|
/**
|
180
188
|
* 画布对象.
|
181
189
|
*/
|
@@ -190,45 +198,63 @@ export interface IKgCircleVisStoreState {
|
|
190
198
|
props: IKgCircleVisProps | null;
|
191
199
|
}
|
192
200
|
export interface IKgCircleVisStoreGetters {
|
201
|
+
$Canvas$getCurrentRgvList(): Array<StatusRgvVO>;
|
202
|
+
$Canvas$getCurrentStationList(): Array<MapStationDTO>;
|
203
|
+
$Canvas$getMapDataList(): Array<MapDTO>;
|
204
|
+
$Canvas$getMapIsRequesting(): boolean;
|
205
|
+
$Canvas$getStatusData(): StatusDTO | null;
|
206
|
+
$Canvas$getStatusDataList(): Array<StatusDTO>;
|
207
|
+
$Canvas$getStatusIsRequesting(): boolean;
|
208
|
+
/**
|
209
|
+
* 离线区:离线小车列表.
|
210
|
+
*/
|
211
|
+
$Offline$getRgvList(): Array<StatusRgvVO>;
|
212
|
+
$Tab$getActiveKey(): string | number;
|
213
|
+
$Tab$getRgvList(): Array<StatusRgvVO>;
|
193
214
|
getAreaSelectIsRequesting(): boolean;
|
194
215
|
getAreaSelectValue(): string | null;
|
195
|
-
getCanvasCurrentRgv(): StatusRgvVO | null;
|
196
|
-
getCanvasCurrentStation(): MapStationDTO | null;
|
197
|
-
getCanvasMapDataList(): Array<MapDTO>;
|
198
|
-
getCanvasMapIsRequesting(): boolean;
|
199
|
-
getCanvasStatusData(): StatusDTO | null;
|
200
|
-
getCanvasStatusDataList(): Array<StatusDTO>;
|
201
|
-
getCanvasStatusIsRequesting(): boolean;
|
202
216
|
getGraph(): Q.Graph | null;
|
203
217
|
getLegendIsVisible(): boolean;
|
204
|
-
/**
|
205
|
-
* 离线小车列表.
|
206
|
-
*/
|
207
|
-
getOfflineRgvList(): Array<StatusRgvVO>;
|
208
218
|
getProps(): IKgCircleVisProps | null;
|
209
219
|
}
|
210
220
|
export interface IKgCircleVisStoreActions {
|
211
221
|
/**
|
212
|
-
*
|
222
|
+
* 画布:往地图数据列尾插入一个数据.
|
213
223
|
*
|
214
224
|
* @param value 要插入的数据.
|
215
225
|
*/
|
216
|
-
|
226
|
+
$Canvas$pushMapDataList(value: MapDTO | null | undefined): void;
|
217
227
|
/**
|
218
|
-
*
|
228
|
+
* 画布:往状态数据列尾插入一个数据.
|
219
229
|
*
|
220
230
|
* @param value 要插入的数据.
|
221
231
|
*/
|
222
|
-
|
232
|
+
$Canvas$pushStatusDataList(value: StatusDTO | null | undefined): void;
|
233
|
+
$Canvas$setCurrentRgvList(value: Array<StatusRgvVO> | null | undefined): void;
|
234
|
+
$Canvas$setMapDataList(value: Array<MapDTO> | null | undefined): void;
|
235
|
+
$Canvas$setMapIsRequesting(value: boolean | null | undefined): void;
|
236
|
+
$Canvas$setStatusData(value: StatusDTO | null | undefined): void;
|
237
|
+
$Canvas$setStatusDataList(value: Array<StatusDTO> | null | undefined): void;
|
238
|
+
$Canvas$setStatusIsRequesting(value: boolean | null | undefined): void;
|
239
|
+
/**
|
240
|
+
* 标签页:从标签页列表中删除某个小车.
|
241
|
+
*
|
242
|
+
* @param value 要删除的小车.
|
243
|
+
*/
|
244
|
+
$Tab$deleteRgv(value: StatusRgvVO | null | undefined): void;
|
245
|
+
/**
|
246
|
+
* <p>标签页:插入小车列表.</p>
|
247
|
+
* <p>如果某个小车已经存在标签页列表中, 则不插入.</p>
|
248
|
+
* <p>插入完成后, 将新插入的小车列表中的第一个小车的标签页激活.</p>
|
249
|
+
*
|
250
|
+
* @param value 小车列表.
|
251
|
+
*/
|
252
|
+
$Tab$insertRgvList(value: Array<StatusRgvVO> | null | undefined): void;
|
253
|
+
$Tab$setActiveKey(value: string | number | null | undefined): void;
|
254
|
+
$Tab$setRgvList(value: Array<StatusRgvVO> | null | undefined): void;
|
223
255
|
setAreaSelectIsRequesting(value: boolean | null | undefined): void;
|
224
256
|
setAreaSelectValue(value: string | null | undefined): void;
|
225
|
-
|
226
|
-
setCanvasCurrentStation(value: MapStationDTO | null | undefined): void;
|
227
|
-
setCanvasMapDataList(value: Array<MapDTO> | null | undefined): void;
|
228
|
-
setCanvasMapIsRequesting(value: boolean | null | undefined): void;
|
229
|
-
setCanvasStatusData(value: StatusDTO | null | undefined): void;
|
230
|
-
setCanvasStatusDataList(value: Array<StatusDTO> | null | undefined): void;
|
231
|
-
setCanvasStatusIsRequesting(value: boolean | null | undefined): void;
|
257
|
+
setCanvasCurrentStationList(value: Array<MapStationDTO> | null | undefined): void;
|
232
258
|
setGraph(value: Q.Graph | null | undefined): void;
|
233
259
|
setLegendIsVisible(value: boolean | null | undefined): void;
|
234
260
|
setProps(value: IKgCircleVisProps | null | undefined): void;
|
@@ -108,3 +108,11 @@ export declare type StatusRgvVO = StatusRgvDTO & {
|
|
108
108
|
*/
|
109
109
|
PREVIOUS_COORDINATE?: number | null | undefined;
|
110
110
|
};
|
111
|
+
export declare const TAB_KEY: {
|
112
|
+
/** 小车信息汇总. */
|
113
|
+
RGV_SUMMARY: string;
|
114
|
+
/** 任务信息汇总. */
|
115
|
+
TASK_SUMMARY: string;
|
116
|
+
/** 日志. */
|
117
|
+
LOG: string;
|
118
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.28.2-beta.
|
3
|
+
"version": "0.28.2-beta.25",
|
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",
|