@kengic/vue 0.28.3-beta.6 → 0.29.1-beta.1

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.
@@ -97,12 +97,35 @@ declare const _default: {
97
97
  'LTE-desc': string;
98
98
  NE: string;
99
99
  'NE-desc': string;
100
+ EMPTY: string;
101
+ 'EMPTY-desc': string;
102
+ NOT_EMPTY: string;
103
+ 'NOT_EMPTY-desc': string;
100
104
  START_WITH: string;
101
105
  'START_WITH-desc': string;
102
106
  close: string;
103
107
  formTitle: string;
104
108
  pleaseSelectVarProfileMaster: string;
105
109
  };
110
+ KgSqlClient: {
111
+ ResultTab: {
112
+ resultStatusLabel: string;
113
+ ellapseLabel: string;
114
+ rowsTotalLabel: string;
115
+ messageLabel: string;
116
+ tabTitlePrefix: string;
117
+ rowsAffected: string;
118
+ };
119
+ Toolbar: {
120
+ Top: {
121
+ deleteCurrentTemplate: string;
122
+ saveAsTemplate: string;
123
+ saveCurrentTemplate: string;
124
+ viewHistory: string;
125
+ viewTemplate: string;
126
+ };
127
+ };
128
+ };
106
129
  KgTable: {
107
130
  apiNotSupportDynamicQuery: string;
108
131
  column: string;
@@ -182,25 +205,6 @@ declare const _default: {
182
205
  VarButton: string;
183
206
  VarButtonConfig: string;
184
207
  };
185
- KgSqlClient: {
186
- ResultTab: {
187
- resultStatusLabel: string;
188
- ellapseLabel: string;
189
- rowsTotalLabel: string;
190
- messageLabel: string;
191
- tabTitlePrefix: string;
192
- rowsAffected: string;
193
- };
194
- Toolbar: {
195
- Top: {
196
- deleteCurrentTemplate: string;
197
- saveAsTemplate: string;
198
- saveCurrentTemplate: string;
199
- viewHistory: string;
200
- viewTemplate: string;
201
- };
202
- };
203
- };
204
208
  KgVarConfigModalChild: {
205
209
  childVarName: string;
206
210
  childVarNameDuplicate: string;
@@ -262,20 +266,19 @@ declare const _default: {
262
266
  emptyText: string;
263
267
  execute: string;
264
268
  executeSuccess: string;
265
- fail: string;
266
269
  export: string;
267
270
  exportSuccess: string;
271
+ fail: string;
268
272
  formId: string;
269
- millisecond: string;
270
273
  formName: string;
271
274
  formValidationFail: string;
272
275
  import: string;
273
276
  'import-template': string;
274
277
  importSuccess: string;
275
278
  importTemplate: string;
276
- success: string;
277
279
  loading: string;
278
280
  lookup: string;
281
+ millisecond: string;
279
282
  no: string;
280
283
  ok: string;
281
284
  query: string;
@@ -287,6 +290,7 @@ declare const _default: {
287
290
  selectAll: string;
288
291
  show: string;
289
292
  succeed: string;
293
+ success: string;
290
294
  tip: string;
291
295
  update: string;
292
296
  updateSuccess: string;
@@ -98,6 +98,10 @@ declare const _default: {
98
98
  'LTE-desc': string;
99
99
  NE: string;
100
100
  'NE-desc': string;
101
+ EMPTY: string;
102
+ 'EMPTY-desc': string;
103
+ NOT_EMPTY: string;
104
+ 'NOT_EMPTY-desc': string;
101
105
  START_WITH: string;
102
106
  'START_WITH-desc': string;
103
107
  close: string;
@@ -4,12 +4,18 @@ export declare const NODE_KEY: {
4
4
  PATH: string;
5
5
  /** 小车. */
6
6
  RGV: string;
7
+ /** 小车:目的路线. */
8
+ RGV_DST_PATH: string;
9
+ /** 小车:起始路线. */
10
+ RGV_SRC_PATH: string;
7
11
  /** 小车:托盘. */
8
12
  RGV_UI_CONTAINER: string;
9
13
  /** 小车:选中. */
10
14
  RGV_UI_SELECT: string;
11
15
  /** 小车:小车编号. */
12
16
  RGV_UI_TEXT: string;
17
+ /** 小车:小车编号背景. */
18
+ RGV_UI_TEXT_BACKGROUND: string;
13
19
  /** 站点. */
14
20
  STATION: string;
15
21
  /** 站点:方向. */
@@ -0,0 +1,5 @@
1
+ import './KgCircleVis.css';
2
+ /**
3
+ * 环穿可视化:设置面板.
4
+ */
5
+ export declare const KgCircleVisSetting: 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<{}>>, {}>;
@@ -160,6 +160,18 @@ export interface IKgCircleVisStoreState {
160
160
  * 库区下拉列表:当前选中的值.
161
161
  */
162
162
  $AreaSelect$value: string | null;
163
+ /**
164
+ * 画布:设置:是否绘制巷道.
165
+ */
166
+ $Canvas$Setting$isAisleVisible: boolean;
167
+ /**
168
+ * 画布:设置:是否绘制小车路线.
169
+ */
170
+ $Canvas$Setting$isRgvPathVisible: boolean;
171
+ /**
172
+ * 画布:设置:轨道宽度倍数, 即轨道绘制宽度是轨道实际宽度的几倍.
173
+ */
174
+ $Canvas$Setting$pathWidthX: number;
163
175
  /**
164
176
  * 画布:当前选中的小车列表.
165
177
  */
@@ -196,6 +208,10 @@ export interface IKgCircleVisStoreState {
196
208
  * 图例:是否显示.
197
209
  */
198
210
  $Legend$isVisible: boolean;
211
+ /**
212
+ * 设置:是否显示.
213
+ */
214
+ $Setting$isVisible: boolean;
199
215
  /**
200
216
  * 标签页:当前标签页.
201
217
  */
@@ -216,6 +232,9 @@ export interface IKgCircleVisStoreState {
216
232
  export interface IKgCircleVisStoreGetters {
217
233
  $AreaSelect$getIsRequesting(): boolean;
218
234
  $AreaSelect$getValue(): string | null;
235
+ $Canvas$Setting$getIsAisleVisible(): boolean;
236
+ $Canvas$Setting$getIsRgvPathVisible(): boolean;
237
+ $Canvas$Setting$getPathWidthX(): number;
219
238
  $Canvas$getCurrentRgvList(): Array<StatusRgvVO>;
220
239
  $Canvas$getCurrentStationList(): Array<MapStationVO>;
221
240
  $Canvas$getMapData(): MapDTO | null;
@@ -229,6 +248,7 @@ export interface IKgCircleVisStoreGetters {
229
248
  * 离线区:离线小车列表.
230
249
  */
231
250
  $Offline$getRgvList(): Array<StatusRgvVO>;
251
+ $Setting$getIsVisible(): boolean;
232
252
  $Tab$getActiveKey(): string | number;
233
253
  $Tab$getRgvList(): Array<StatusRgvVO>;
234
254
  getGraph(): Q.Graph | null;
@@ -237,6 +257,9 @@ export interface IKgCircleVisStoreGetters {
237
257
  export interface IKgCircleVisStoreActions {
238
258
  $AreaSelect$setIsRequesting(value: boolean | null | undefined): void;
239
259
  $AreaSelect$setValue(value: string | null | undefined): void;
260
+ $Canvas$Setting$setIsAisleVisible(value: boolean | null | undefined): void;
261
+ $Canvas$Setting$setIsRgvPathVisible(value: boolean | null | undefined): void;
262
+ $Canvas$Setting$setPathWidthX(value: number | null | undefined): void;
240
263
  /**
241
264
  * 画布:往地图数据列尾插入一个数据.
242
265
  *
@@ -258,6 +281,7 @@ export interface IKgCircleVisStoreActions {
258
281
  $Canvas$setStatusDataList(value: Array<StatusDTO> | null | undefined): void;
259
282
  $Canvas$setStatusIsRequesting(value: boolean | null | undefined): void;
260
283
  $Legend$setIsVisible(value: boolean | null | undefined): void;
284
+ $Setting$setIsVisible(value: boolean | null | undefined): void;
261
285
  /**
262
286
  * 标签页:从标签页列表中删除某个小车.
263
287
  *
@@ -38,7 +38,7 @@ export declare type MapStationDTO = {
38
38
  * 地图数据.
39
39
  */
40
40
  export declare type MapDTO = {
41
- /** 站点. */
41
+ /** 站点列表. */
42
42
  conveyor: Array<MapStationVO>;
43
43
  /** 轨道. */
44
44
  map: MapMapDTO;
@@ -1,6 +1,5 @@
1
1
  import { AxiosInstance, type AxiosRequestConfig } from 'axios';
2
2
  import dayjs from 'dayjs';
3
- import { KG_DYNAMIC_QUERY_OPERATOR } from '../const';
4
3
  import { UploadFileCallBack, UploadFileParams } from '../project/types/axios';
5
4
  interface IHttpClient {
6
5
  axiosInstance: AxiosInstance;
@@ -43,7 +42,7 @@ interface IRequestOption {
43
42
  * <p>如果该参数不为空, 表示该请求启用了高级查询.</p>
44
43
  * <p>其中的 key 表示参数名, 对应的 value 表示该参数的高级查询操作符(>,=,<...).</p>
45
44
  */
46
- dynamicQueryOperatorModel?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
45
+ dynamicQueryOperatorModel?: Record<string, string>;
47
46
  /**
48
47
  * 错误消息提示类型
49
48
  */
@@ -90,5 +89,6 @@ interface IRequestOption {
90
89
  */
91
90
  withToken?: boolean;
92
91
  }
92
+ /** @deprecated 已弃用, 请使用 {@link IRequestOption} */
93
93
  declare type IRequestOptions = IRequestOption;
94
94
  export { kgSetupHttpClient, httpClient, type IRequestConfig, type IRequestOption, type IRequestOptions };
@@ -284,6 +284,11 @@ export declare class KgUtil {
284
284
  sql: string;
285
285
  whereObjectJSON: string;
286
286
  whereSql: string;
287
+ whereSql01: string;
288
+ whereSql02: string;
289
+ whereSql03: string;
290
+ whereSql04: string;
291
+ whereSql05: string;
287
292
  } | {
288
293
  /**
289
294
  * 查询操作符对象的 JSON 字符串.
@@ -294,13 +299,34 @@ export declare class KgUtil {
294
299
  */
295
300
  orderBySql: string;
296
301
  /**
297
- * 查询字段的 WHERE 片段对象的 JSON 字符串.
302
+ * <p>查询字段的 WHERE 片段对象的 JSON 字符串.</p>
303
+ * <p>该对象中, 每一个 key 表示字段名, 每一个 value 表示该字段对应的 SQL 片段</p>
298
304
  */
299
305
  whereObjectJSON: string;
300
306
  /**
301
307
  * WHERE SQL.
302
308
  */
303
309
  whereSql: string;
310
+ /**
311
+ * WHERE SQL.
312
+ */
313
+ whereSql01: string;
314
+ /**
315
+ * WHERE SQL.
316
+ */
317
+ whereSql02: string;
318
+ /**
319
+ * WHERE SQL.
320
+ */
321
+ whereSql03: string;
322
+ /**
323
+ * WHERE SQL.
324
+ */
325
+ whereSql04: string;
326
+ /**
327
+ * WHERE SQL.
328
+ */
329
+ whereSql05: string;
304
330
  sql?: undefined;
305
331
  };
306
332
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.28.3-beta.6",
3
+ "version": "0.29.1-beta.1",
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",