@kengic/vue 0.28.2-beta.22 → 0.28.2-beta.24

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.
@@ -2,6 +2,18 @@
2
2
  * DDA 界面标识常量.
3
3
  */
4
4
  export declare const FORM_IDS: {
5
+ /**
6
+ * 环穿可视化:日志.
7
+ */
8
+ KG_CIRCLE_VIS__LOG: string;
9
+ /**
10
+ * 环穿可视化:小车信息汇总.
11
+ */
12
+ KG_CIRCLE_VIS__RGV_SUMMARY: string;
13
+ /**
14
+ * 环穿可视化:任务信息汇总.
15
+ */
16
+ KG_CIRCLE_VIS__TASK_SUMMARY: string;
5
17
  KG_PAGE_DDA__CREATE__BUTTON: string;
6
18
  KG_SQL_CLIENT__RESULT_TAB: string;
7
19
  /**
@@ -5,14 +5,32 @@ export declare const NODE_KEY: {
5
5
  PATH: string;
6
6
  /** 小车. */
7
7
  RGV: string;
8
- /** 站台. */
8
+ /** 小车:托盘. */
9
+ RGV_UI_CONTAINER: string;
10
+ /** 小车:选中. */
11
+ RGV_UI_SELECT: string;
12
+ /** 小车:小车编号. */
13
+ RGV_UI_TEXT: string;
14
+ /** 站点. */
9
15
  STATION: string;
16
+ /** 站点:方向. */
17
+ STATION_UI_ARROW: string;
18
+ /** 站点:有货. */
19
+ STATION_UI_CENTER_RECT: string;
20
+ /** 站点:选中. */
21
+ STATION_UI_SELECT: string;
22
+ /** 站点:线体编号. */
23
+ STATION_UI_TEXT: string;
10
24
  };
11
25
  export declare type IUseDraw = {
12
26
  /**
13
27
  * 绘制图形.
14
28
  */
15
29
  draw(param?: IUseDrawDrawParam): void;
30
+ /**
31
+ * 选中小车或者选中站点发生变更.
32
+ */
33
+ onSelectChange(): void;
16
34
  };
17
35
  declare type IUseDrawDrawParam = {
18
36
  /**
@@ -0,0 +1,5 @@
1
+ import './KgCircleVis.css';
2
+ /**
3
+ * 环穿可视化:小车信息.
4
+ */
5
+ export declare const KgCircleVisTabRgv: 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<{}>>, {}>;
@@ -1,6 +1,6 @@
1
1
  import { Q } from '@thymine/xunee';
2
2
  import { StoreDefinition } from 'pinia';
3
- import { MapDTO, StatusDTO, StatusRgvVO } from './KgCircleVis.vm';
3
+ import { MapStationDTO, MapDTO, StatusDTO, StatusRgvVO } from './KgCircleVis.vm';
4
4
  export declare type IKgCircleVisProps = {
5
5
  /**
6
6
  * 接口地址.
@@ -148,6 +148,14 @@ export interface IKgCircleVisStoreState {
148
148
  * 库区下拉列表:当前选中的值.
149
149
  */
150
150
  areaSelectValue: string | null;
151
+ /**
152
+ * 画布:当前选中的小车列表.
153
+ */
154
+ canvasCurrentRgvList: Array<StatusRgvVO>;
155
+ /**
156
+ * 画布:当前选中的站点列表.
157
+ */
158
+ canvasCurrentStationList: Array<MapStationDTO>;
151
159
  /**
152
160
  * 画布:图形地图数据列表. 等待被绘制的地图数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
153
161
  */
@@ -184,6 +192,8 @@ export interface IKgCircleVisStoreState {
184
192
  export interface IKgCircleVisStoreGetters {
185
193
  getAreaSelectIsRequesting(): boolean;
186
194
  getAreaSelectValue(): string | null;
195
+ getCanvasCurrentRgvList(): Array<StatusRgvVO>;
196
+ getCanvasCurrentStationList(): Array<MapStationDTO>;
187
197
  getCanvasMapDataList(): Array<MapDTO>;
188
198
  getCanvasMapIsRequesting(): boolean;
189
199
  getCanvasStatusData(): StatusDTO | null;
@@ -212,6 +222,8 @@ export interface IKgCircleVisStoreActions {
212
222
  pushCanvasStatusDataList(value: StatusDTO | null | undefined): void;
213
223
  setAreaSelectIsRequesting(value: boolean | null | undefined): void;
214
224
  setAreaSelectValue(value: string | null | undefined): void;
225
+ setCanvasCurrentRgvList(value: Array<StatusRgvVO> | null | undefined): void;
226
+ setCanvasCurrentStationList(value: Array<MapStationDTO> | null | undefined): void;
215
227
  setCanvasMapDataList(value: Array<MapDTO> | null | undefined): void;
216
228
  setCanvasMapIsRequesting(value: boolean | null | undefined): void;
217
229
  setCanvasStatusData(value: StatusDTO | null | undefined): void;
@@ -14,7 +14,7 @@ export declare type MapMapDTO = {
14
14
  /** 宽 */
15
15
  width: number;
16
16
  };
17
- export declare type MapConveyorDTO = {
17
+ export declare type MapStationDTO = {
18
18
  /** 线体编号. */
19
19
  conveyorNo: string;
20
20
  /** 线体坐标(线体相对环穿轨道的位置). */
@@ -35,7 +35,7 @@ export declare type MapConveyorDTO = {
35
35
  */
36
36
  export declare type MapDTO = {
37
37
  /** 站点. */
38
- conveyor: Array<MapConveyorDTO>;
38
+ conveyor: Array<MapStationDTO>;
39
39
  /** 轨道. */
40
40
  map: MapMapDTO;
41
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.28.2-beta.22",
3
+ "version": "0.28.2-beta.24",
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",