@kengic/vue 0.28.2-beta.20 → 0.28.2-beta.22
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/clock-circle-outline.c90a0ae1.mjs +8 -0
- package/dist/file-text-outline.bae206dd.mjs +8 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +24823 -23505
- package/dist/src/api/WMS/Controllers/SqlClientController/ExecutePage.d.ts +16 -0
- package/dist/src/api/WMS/Controllers/SqlClientController/index.d.ts +1 -0
- package/dist/src/api/WMS/models.d.ts +2 -0
- package/dist/src/component/KgCanvas/KgCanvas.d.ts +9 -3
- package/dist/src/component/KgCanvas/KgCanvas.service.d.ts +2 -2
- package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
- package/dist/src/component/KgVar/KgVar.hooks.d.ts +11 -1
- package/dist/src/component/KgVar/KgVar.store.d.ts +47 -32
- package/dist/src/config/config.hooks.d.ts +10 -0
- package/dist/src/config/config.store.d.ts +3 -1
- package/dist/src/const/const.vm.d.ts +20 -0
- package/dist/src/i18n/cs_CZ.d.ts +9 -0
- package/dist/src/i18n/en.d.ts +10 -1
- package/dist/src/i18n/es_ES.d.ts +9 -0
- package/dist/src/i18n/fr_FR.d.ts +9 -0
- package/dist/src/i18n/km_KH.d.ts +9 -0
- package/dist/src/i18n/ko_KR.d.ts +9 -0
- package/dist/src/i18n/vi_VN.d.ts +9 -0
- package/dist/src/i18n/zh_CN.d.ts +22 -13
- package/dist/src/page/KgCircleVis/KgPageCircleVis.d.ts +11 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.AreaSelect.d.ts +5 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.d.ts +5 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Canvas.service.d.ts +36 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Legend.d.ts +5 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.Offline.d.ts +5 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.d.ts +5 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.hooks.d.ts +29 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.store.d.ts +226 -0
- package/dist/src/page/KgCircleVis/components/KgCircleVis.vm.d.ts +110 -0
- package/dist/src/page/KgCircleVis/index.d.ts +1 -0
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Editor.d.ts +3 -1
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Toolbar.Top.d.ts +7 -0
- package/dist/src/page/index.d.ts +1 -0
- package/dist/src/project/src/api/sys/menu.d.ts +2 -2
- package/dist/src/store/index.d.ts +1 -1
- package/package.json +2 -1
- package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Toolbar.d.ts +0 -7
@@ -0,0 +1,29 @@
|
|
1
|
+
import { Q } from '@thymine/xunee';
|
2
|
+
import { IKgCircleVisProps, IKgCircleVisStore } from './KgCircleVis.store';
|
3
|
+
import { MapDTO, StatusDTO } from './KgCircleVis.vm';
|
4
|
+
export declare type IUseKgCircleVis = {
|
5
|
+
/**
|
6
|
+
* 画布对象.
|
7
|
+
*/
|
8
|
+
graph: Q.Graph | null;
|
9
|
+
/**
|
10
|
+
* 取下一个地图数据. 从地图数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
|
11
|
+
*/
|
12
|
+
popCanvasMapData(): MapDTO | null;
|
13
|
+
/**
|
14
|
+
* 取下一个状态数据. 从状态数据列表队首取一个数据, 并且从列表中删除该数据. 如果列表为空, 则返回空.
|
15
|
+
*/
|
16
|
+
popCanvasStatusData(): StatusDTO | null;
|
17
|
+
/**
|
18
|
+
* 设置参数.
|
19
|
+
*
|
20
|
+
* @param props 参数.
|
21
|
+
*/
|
22
|
+
setProps(props: IKgCircleVisProps | null | undefined): void;
|
23
|
+
/** 状态数据. */
|
24
|
+
store: IKgCircleVisStore;
|
25
|
+
};
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
*/
|
29
|
+
export declare function useKgCircleVis(): IUseKgCircleVis;
|
@@ -0,0 +1,226 @@
|
|
1
|
+
import { Q } from '@thymine/xunee';
|
2
|
+
import { StoreDefinition } from 'pinia';
|
3
|
+
import { MapDTO, StatusDTO, StatusRgvVO } from './KgCircleVis.vm';
|
4
|
+
export declare type IKgCircleVisProps = {
|
5
|
+
/**
|
6
|
+
* 接口地址.
|
7
|
+
*/
|
8
|
+
api?: {
|
9
|
+
/**
|
10
|
+
* 图形地图数据.
|
11
|
+
*
|
12
|
+
* @default /apigateway/wasserver/api/v1/CircleRgvMap/GetMap
|
13
|
+
*/
|
14
|
+
GetMap?: string;
|
15
|
+
/**
|
16
|
+
* 小车信息汇总.
|
17
|
+
*
|
18
|
+
* @default /apigateway/circle-rgv-system/getRgvStatus
|
19
|
+
*/
|
20
|
+
GetRgvStatus?: string;
|
21
|
+
/**
|
22
|
+
* 任务信息汇总.
|
23
|
+
*
|
24
|
+
* @default /apigateway/circle-rgv-system/getRgvTasks
|
25
|
+
*/
|
26
|
+
GetRgvTasks?: string;
|
27
|
+
/**
|
28
|
+
* 小车状态信息.
|
29
|
+
*
|
30
|
+
* @default /apigateway/wasserver/api/v1/CircleRgvState/GetSingleRgvState
|
31
|
+
*/
|
32
|
+
GetSingleRgvState?: string;
|
33
|
+
/**
|
34
|
+
* 小车任务信息.
|
35
|
+
*
|
36
|
+
* @default /apigateway/wasserver/api/v1/CircleRgvState/GetSingleRgvTask
|
37
|
+
*/
|
38
|
+
GetSingleRgvTask?: string;
|
39
|
+
/**
|
40
|
+
* 图形状态数据.
|
41
|
+
*
|
42
|
+
* @default /apigateway/wasserver/api/v1/CircleRgvState/GetState
|
43
|
+
*/
|
44
|
+
GetState?: string;
|
45
|
+
/**
|
46
|
+
* 创建环穿任务.
|
47
|
+
*
|
48
|
+
* @default /apigateway/wasserver/api/v1/CircleRgvState/ManualCreateWorkTask
|
49
|
+
*/
|
50
|
+
ManualCreateWorkTask?: string;
|
51
|
+
/**
|
52
|
+
* 日志.
|
53
|
+
*
|
54
|
+
* @default /kengic-boot/wcs/wmsApi/ReceiveMoveTask
|
55
|
+
*/
|
56
|
+
ReceiveMoveTask?: string;
|
57
|
+
/**
|
58
|
+
* 小车上线下线.
|
59
|
+
*
|
60
|
+
* @default /apigateway/wasserver/api/v1/CircleRgvState/RgvOnlineOrOffline
|
61
|
+
*/
|
62
|
+
RgvOnlineOrOffline?: string;
|
63
|
+
/**
|
64
|
+
* 任务操作.
|
65
|
+
*
|
66
|
+
* @default /apigateway/wasserver/api/v1/CircleRgvState/RgvTaskOperate
|
67
|
+
*/
|
68
|
+
RgvTaskOperate?: string;
|
69
|
+
};
|
70
|
+
/**
|
71
|
+
* 是否支持缩放以及拖拽.
|
72
|
+
*
|
73
|
+
* @default true
|
74
|
+
*/
|
75
|
+
isScalable?: boolean;
|
76
|
+
/**
|
77
|
+
* 请求状态数据的时间间隔.
|
78
|
+
*
|
79
|
+
* @default 1000 毫秒.
|
80
|
+
*/
|
81
|
+
requestStatusInterval?: number;
|
82
|
+
/**
|
83
|
+
* 小车不同状态时的颜色.
|
84
|
+
*/
|
85
|
+
rgvStatusColor?: {
|
86
|
+
/**
|
87
|
+
* 驱赶.
|
88
|
+
*
|
89
|
+
* @default '#ffd262'
|
90
|
+
*/
|
91
|
+
drive: string;
|
92
|
+
/**
|
93
|
+
* 取货.
|
94
|
+
*
|
95
|
+
* @default #2ecc27
|
96
|
+
*/
|
97
|
+
get: string;
|
98
|
+
/**
|
99
|
+
* 空闲.
|
100
|
+
*
|
101
|
+
* @default '#000000'
|
102
|
+
*/
|
103
|
+
idle: string;
|
104
|
+
/**
|
105
|
+
* 手动.
|
106
|
+
*
|
107
|
+
* @default '#765708'
|
108
|
+
*/
|
109
|
+
manual: string;
|
110
|
+
/**
|
111
|
+
* 离线.
|
112
|
+
*
|
113
|
+
* @default '#7f7f7f'
|
114
|
+
*/
|
115
|
+
offline: string;
|
116
|
+
/**
|
117
|
+
* 放货.
|
118
|
+
*
|
119
|
+
* @default '#1890ff'
|
120
|
+
*/
|
121
|
+
put: string;
|
122
|
+
/**
|
123
|
+
* 报警.
|
124
|
+
*
|
125
|
+
* @default '#ff3a3a'
|
126
|
+
*/
|
127
|
+
warn: string;
|
128
|
+
};
|
129
|
+
/**
|
130
|
+
* 绘制图形时的线宽.
|
131
|
+
*
|
132
|
+
* @default 10.
|
133
|
+
*/
|
134
|
+
strokeLineWidth?: number;
|
135
|
+
/**
|
136
|
+
* 更新状态数据的时间间隔.
|
137
|
+
*
|
138
|
+
* @default 100 毫秒.
|
139
|
+
*/
|
140
|
+
updateStatusInterval?: number;
|
141
|
+
};
|
142
|
+
export interface IKgCircleVisStoreState {
|
143
|
+
/**
|
144
|
+
* 库区下拉列表:是否正在请求数据.
|
145
|
+
*/
|
146
|
+
areaSelectIsRequesting: boolean;
|
147
|
+
/**
|
148
|
+
* 库区下拉列表:当前选中的值.
|
149
|
+
*/
|
150
|
+
areaSelectValue: string | null;
|
151
|
+
/**
|
152
|
+
* 画布:图形地图数据列表. 等待被绘制的地图数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
|
153
|
+
*/
|
154
|
+
canvasMapDataList: Array<MapDTO>;
|
155
|
+
/**
|
156
|
+
* 画布:是否正在请求地图数据.
|
157
|
+
*/
|
158
|
+
canvasMapIsRequesting: boolean;
|
159
|
+
/**
|
160
|
+
* 画布:最新图形状态数据.
|
161
|
+
*/
|
162
|
+
canvasStatusData: StatusDTO | null;
|
163
|
+
/**
|
164
|
+
* 画布:图形状态数据列表. 等待被绘制的状态数据列表, 每次绘制都从队首取一个数据进行绘制, 当队列为空时暂停绘制.
|
165
|
+
*/
|
166
|
+
canvasStatusDataList: Array<StatusDTO>;
|
167
|
+
/**
|
168
|
+
* 画布:是否正在请求状态数据.
|
169
|
+
*/
|
170
|
+
canvasStatusIsRequesting: boolean;
|
171
|
+
/**
|
172
|
+
* 画布对象.
|
173
|
+
*/
|
174
|
+
graph: Q.Graph | null;
|
175
|
+
/**
|
176
|
+
* 图例:是否显示.
|
177
|
+
*/
|
178
|
+
legendIsVisible: boolean;
|
179
|
+
/**
|
180
|
+
* 参数.
|
181
|
+
*/
|
182
|
+
props: IKgCircleVisProps | null;
|
183
|
+
}
|
184
|
+
export interface IKgCircleVisStoreGetters {
|
185
|
+
getAreaSelectIsRequesting(): boolean;
|
186
|
+
getAreaSelectValue(): string | null;
|
187
|
+
getCanvasMapDataList(): Array<MapDTO>;
|
188
|
+
getCanvasMapIsRequesting(): boolean;
|
189
|
+
getCanvasStatusData(): StatusDTO | null;
|
190
|
+
getCanvasStatusDataList(): Array<StatusDTO>;
|
191
|
+
getCanvasStatusIsRequesting(): boolean;
|
192
|
+
getGraph(): Q.Graph | null;
|
193
|
+
getLegendIsVisible(): boolean;
|
194
|
+
/**
|
195
|
+
* 离线小车列表.
|
196
|
+
*/
|
197
|
+
getOfflineRgvList(): Array<StatusRgvVO>;
|
198
|
+
getProps(): IKgCircleVisProps | null;
|
199
|
+
}
|
200
|
+
export interface IKgCircleVisStoreActions {
|
201
|
+
/**
|
202
|
+
* 往列尾插入一个数据.
|
203
|
+
*
|
204
|
+
* @param value 要插入的数据.
|
205
|
+
*/
|
206
|
+
pushCanvasMapDataList(value: MapDTO | null | undefined): void;
|
207
|
+
/**
|
208
|
+
* 往列尾插入一个数据.
|
209
|
+
*
|
210
|
+
* @param value 要插入的数据.
|
211
|
+
*/
|
212
|
+
pushCanvasStatusDataList(value: StatusDTO | null | undefined): void;
|
213
|
+
setAreaSelectIsRequesting(value: boolean | null | undefined): void;
|
214
|
+
setAreaSelectValue(value: string | null | undefined): void;
|
215
|
+
setCanvasMapDataList(value: Array<MapDTO> | null | undefined): void;
|
216
|
+
setCanvasMapIsRequesting(value: boolean | null | undefined): void;
|
217
|
+
setCanvasStatusData(value: StatusDTO | null | undefined): void;
|
218
|
+
setCanvasStatusDataList(value: Array<StatusDTO> | null | undefined): void;
|
219
|
+
setCanvasStatusIsRequesting(value: boolean | null | undefined): void;
|
220
|
+
setGraph(value: Q.Graph | null | undefined): void;
|
221
|
+
setLegendIsVisible(value: boolean | null | undefined): void;
|
222
|
+
setProps(value: IKgCircleVisProps | null | undefined): void;
|
223
|
+
}
|
224
|
+
export declare type IUseKgCircleVisStore = StoreDefinition<'KgCircleVis', IKgCircleVisStoreState, IKgCircleVisStoreGetters, IKgCircleVisStoreActions>;
|
225
|
+
export declare type IKgCircleVisStore = ReturnType<IUseKgCircleVisStore>;
|
226
|
+
export declare const useKgCircleVisStore: IUseKgCircleVisStore;
|
@@ -0,0 +1,110 @@
|
|
1
|
+
export declare type MapMapDTO = {
|
2
|
+
/** 终点坐标 */
|
3
|
+
destinationCoordinate: number;
|
4
|
+
/** 运行方向 0:顺时针,1:逆时针 */
|
5
|
+
direction: number;
|
6
|
+
/** 长 */
|
7
|
+
length: number;
|
8
|
+
/** 轨道线宽 */
|
9
|
+
lineWidth: number;
|
10
|
+
/** 定位坐标(下侧轨道中心点) */
|
11
|
+
offset: number;
|
12
|
+
/** 起点坐标 */
|
13
|
+
sourceCoordinate: number;
|
14
|
+
/** 宽 */
|
15
|
+
width: number;
|
16
|
+
};
|
17
|
+
export declare type MapConveyorDTO = {
|
18
|
+
/** 线体编号. */
|
19
|
+
conveyorNo: string;
|
20
|
+
/** 线体坐标(线体相对环穿轨道的位置). */
|
21
|
+
coordinate: number;
|
22
|
+
/** 站点方向 0:朝向车,1:背离车. */
|
23
|
+
direction: number;
|
24
|
+
/** 线体长度. */
|
25
|
+
length: number;
|
26
|
+
/** 站点编号. */
|
27
|
+
stationNo: string;
|
28
|
+
/** 线体名称. */
|
29
|
+
name: string;
|
30
|
+
/** 线体宽度 */
|
31
|
+
width: number;
|
32
|
+
};
|
33
|
+
/**
|
34
|
+
* 地图数据.
|
35
|
+
*/
|
36
|
+
export declare type MapDTO = {
|
37
|
+
/** 站点. */
|
38
|
+
conveyor: Array<MapConveyorDTO>;
|
39
|
+
/** 轨道. */
|
40
|
+
map: MapMapDTO;
|
41
|
+
};
|
42
|
+
/**
|
43
|
+
* 状态数据.
|
44
|
+
*/
|
45
|
+
export declare type StatusDTO = {
|
46
|
+
conveyorState: Array<StatusStationDTO>;
|
47
|
+
rgvState: Array<StatusRgvVO>;
|
48
|
+
};
|
49
|
+
export declare type StatusStationDTO = {
|
50
|
+
/**
|
51
|
+
* 线体编号.
|
52
|
+
*/
|
53
|
+
conveyorNo: string;
|
54
|
+
/**
|
55
|
+
* 托盘号.
|
56
|
+
*/
|
57
|
+
containerId: string;
|
58
|
+
/**
|
59
|
+
* 占位信息 1:有托盘 0:无托盘.
|
60
|
+
*/
|
61
|
+
occupiedFlag: number;
|
62
|
+
};
|
63
|
+
export declare type StatusRgvDTO = {
|
64
|
+
/**
|
65
|
+
* 小车编号.
|
66
|
+
*/
|
67
|
+
rgvNo: string;
|
68
|
+
/**
|
69
|
+
* 小车长度.
|
70
|
+
*/
|
71
|
+
length: number;
|
72
|
+
/**
|
73
|
+
* 小车宽度.
|
74
|
+
*/
|
75
|
+
width: number;
|
76
|
+
/**
|
77
|
+
* 车所在坐标.
|
78
|
+
*/
|
79
|
+
position: number;
|
80
|
+
/**
|
81
|
+
* 站点编号.
|
82
|
+
*/
|
83
|
+
stationId: string;
|
84
|
+
/**
|
85
|
+
* 起始站点.
|
86
|
+
*/
|
87
|
+
sourceStation: string;
|
88
|
+
/**
|
89
|
+
* 目的站点.
|
90
|
+
*/
|
91
|
+
destinationStation: string;
|
92
|
+
/**
|
93
|
+
* 小车状态(0:离线(灰色、离线区)、1:报警(红色)、2:手动(棕色) 3:空闲(黑色) 4:取货(绿色) 5:放货(蓝色) 6:赶车(橙色)
|
94
|
+
*/
|
95
|
+
state: number;
|
96
|
+
/**
|
97
|
+
* 托盘号.
|
98
|
+
*/
|
99
|
+
containerId: string;
|
100
|
+
/**
|
101
|
+
* 负载状态 1:有托盘 0:无托盘.
|
102
|
+
*/
|
103
|
+
loadState: number;
|
104
|
+
};
|
105
|
+
export declare type StatusRgvVO = StatusRgvDTO & {
|
106
|
+
/**
|
107
|
+
* 上次绘制时的刻度.
|
108
|
+
*/
|
109
|
+
PREVIOUS_COORDINATE?: number | null | undefined;
|
110
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as KgPageCircleVis } from './KgPageCircleVis';
|
@@ -8,4 +8,6 @@ export interface KgSqlClientEditorRef {
|
|
8
8
|
/**
|
9
9
|
* <p>数据库客户端:编辑器.</p>
|
10
10
|
*/
|
11
|
-
export declare const KgSqlClientEditor: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
11
|
+
export declare const KgSqlClientEditor: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "execute"[], "execute", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
12
|
+
onExecute?: ((...args: any[]) => any) | undefined;
|
13
|
+
}, {}>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import './KgSqlClient.css';
|
2
|
+
/**
|
3
|
+
* <p>数据库客户端:工具栏:顶部.</p>
|
4
|
+
*/
|
5
|
+
export declare const KgSqlClientToolbarTop: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "execute"[], "execute", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
6
|
+
onExecute?: ((...args: any[]) => any) | undefined;
|
7
|
+
}, {}>;
|
package/dist/src/page/index.d.ts
CHANGED
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.22",
|
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",
|
@@ -14,6 +14,7 @@
|
|
14
14
|
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
15
15
|
"copy-to:luotao:smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
|
16
16
|
"bump-to:luotao:smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
|
17
|
+
"copy-to:luotao:smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run use-node && npm run build:dev && tsx script/copy-to.luotao.smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
|
17
18
|
"----- --------------------------------------------": "更新组件库的版本",
|
18
19
|
"bump:major": "npm run use-node && tsx script/bump.ts major",
|
19
20
|
"bump:minor": "npm run use-node && tsx script/bump.ts minor",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import './KgSqlClient.css';
|
2
|
-
/**
|
3
|
-
* <p>数据库客户端:工具栏.</p>
|
4
|
-
*/
|
5
|
-
export declare const KgSqlClientToolbar: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "execute"[], "execute", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
6
|
-
onExecute?: ((...args: any[]) => any) | undefined;
|
7
|
-
}, {}>;
|