@kengic/vue 0.28.1-beta.26 → 0.28.1-beta.27

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.
Files changed (33) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/kengic-vue.js +12706 -12365
  3. package/dist/src/api/WMS/models.d.ts +33 -1
  4. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +1 -1
  5. package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
  6. package/dist/src/component/KgVar/KgVar.VarConfigDescription.store.d.ts +12 -0
  7. package/dist/src/component/KgVar/KgVar.VarGridConfig.store.d.ts +10 -0
  8. package/dist/src/component/KgVar/KgVar.VarGridMaster.store.d.ts +10 -0
  9. package/dist/src/component/KgVar/KgVar.hooks.d.ts +25 -5
  10. package/dist/src/component/KgVar/KgVar.store.d.ts +1 -7
  11. package/dist/src/const/const.vm.d.ts +0 -4
  12. package/dist/src/const/form-id.const.d.ts +1 -0
  13. package/dist/src/i18n/cs_CZ.d.ts +13 -0
  14. package/dist/src/i18n/en.d.ts +13 -0
  15. package/dist/src/i18n/es_ES.d.ts +13 -0
  16. package/dist/src/i18n/fr_FR.d.ts +13 -0
  17. package/dist/src/i18n/km_KH.d.ts +13 -0
  18. package/dist/src/i18n/ko_KR.d.ts +13 -0
  19. package/dist/src/i18n/vi_VN.d.ts +13 -0
  20. package/dist/src/i18n/zh_CN.d.ts +13 -0
  21. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Editor.d.ts +11 -0
  22. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.ResultTab.d.ts +36 -0
  23. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.Toolbar.d.ts +7 -0
  24. package/dist/src/page/KgPageSqlClient/components/KgSqlClient.d.ts +5 -0
  25. package/dist/src/util/kg.util.d.ts +15 -2
  26. package/package.json +2 -2
  27. /package/dist/{caret-right-outlined-Btgsw6a_.3fd5f3ed.mjs → caret-right-outlined-Btgsw6a_.0434903b.mjs} +0 -0
  28. /package/dist/{close-outlined-DMcSQWxQ.ccb0e901.mjs → close-outlined-DMcSQWxQ.5c3bee6f.mjs} +0 -0
  29. /package/dist/{exclamation-circle-outlined-DZrXCnvM.7b96920b.mjs → exclamation-circle-outlined-DZrXCnvM.d94561db.mjs} +0 -0
  30. /package/dist/{fullscreen-exit-outlined-X1iYkFc4.c58828b7.mjs → fullscreen-exit-outlined-X1iYkFc4.a1640595.mjs} +0 -0
  31. /package/dist/{fullscreen-outlined-DDBrsRcy.e7e35f4d.mjs → fullscreen-outlined-DDBrsRcy.b9f9d4a1.mjs} +0 -0
  32. /package/dist/{search-outlined-Od1M_oxf.f01a7bfb.mjs → search-outlined-Od1M_oxf.71fb0c01.mjs} +0 -0
  33. /package/dist/{three-dots-loading-bIlrTJYR.6217dc5e.mjs → three-dots-loading-bIlrTJYR.f189f620.mjs} +0 -0
@@ -140,16 +140,48 @@ export declare class DescriptionDTO {
140
140
  }
141
141
  /** 执行语句的参数. */
142
142
  export declare class ExecuteQuery {
143
- /** SQL. */
143
+ /** 当前页码. */
144
+ pageIndex?: number | null;
145
+ /** 每页大小. */
146
+ pageSize?: number | null;
147
+ /** 执行的 SQL. */
144
148
  sql?: string | null;
145
149
  constructor(obj?: ExecuteQuery);
146
150
  }
151
+ /** 查询结果的列的元数据. */
152
+ export declare class ExecuteResultColumn {
153
+ /** 列的描述. */
154
+ columnDesc?: string | null;
155
+ /** 列的别名. */
156
+ columnLabel?: string | null;
157
+ /** 列名. */
158
+ columnName?: string | null;
159
+ /** 列的类型. */
160
+ columnType?: string | null;
161
+ /** 表名. */
162
+ tableName?: string | null;
163
+ constructor(obj?: ExecuteResultColumn);
164
+ }
147
165
  /** 执行语句的结果. */
148
166
  export declare class ExecuteResultDTO {
167
+ /** 查询结果的列. */
168
+ columns?: Array<ExecuteResultColumn> | null;
169
+ /** 耗时(毫秒). */
170
+ elapse?: number | null;
149
171
  /** 执行结果消息. */
150
172
  message?: string | null;
173
+ /** 当前页码. */
174
+ pageIndex?: number | null;
175
+ /** 每页大小. */
176
+ pageSize?: number | null;
177
+ /** 查询结果的行. */
178
+ rows?: Array<object> | null;
179
+ /** 受影响的行数. */
180
+ rowsTotal?: number | null;
151
181
  /** 该结果对应的语句. */
152
182
  sql?: string | null;
183
+ /** 是否执行成功. */
184
+ success?: boolean | null;
153
185
  constructor(obj?: ExecuteResultDTO);
154
186
  }
155
187
  /** 获取 SQL 查询结果的元数据. */
@@ -9,7 +9,7 @@ import { IKgSubmitStore } from './KgSubmit.store';
9
9
  export interface IUseKgSubmit {
10
10
  /**
11
11
  * <p>添加一个「提交表单字段」.</p>
12
- * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
12
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加变量配置数据.</p>
13
13
  *
14
14
  * @param varSubmitDetail 要添加的「提交表单字段」.
15
15
  */
@@ -1,8 +1,8 @@
1
1
  import { ColumnsType } from 'ant-design-vue/es/table';
2
2
  import { SorterResult } from 'ant-design-vue/es/table/interface';
3
3
  import { ComputedRef, Ref, UnwrapRef } from 'vue';
4
- import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from './KgTable.vm';
5
4
  import { IKgTableProps } from './KgTable';
5
+ import { IKgTableRow, KG_TABLE_CELL_CONTEXT } from './KgTable.vm';
6
6
  export declare function _useRenderBodyCell(): {
7
7
  renderBodyCell: (args: any, context?: KG_TABLE_CELL_CONTEXT) => any;
8
8
  };
@@ -0,0 +1,12 @@
1
+ import { StoreDefinition } from 'pinia';
2
+ import { VarConfigDescription } from '../../api/WMS/models';
3
+ export declare type IUseVarConfigDescriptionStoreState = {};
4
+ export declare type IUseVarConfigDescriptionStoreGetters = {
5
+ t$$(): (formID: string | null | undefined, varName: string | null | undefined) => string;
6
+ };
7
+ export declare type IUseVarConfigDescriptionStoreActions = {
8
+ createVarConfigDescription(varConfigDescription: VarConfigDescription): void;
9
+ setVarConfigDescriptionList(formID: string | null | undefined, varConfigDescriptionList: Array<VarConfigDescription>): void;
10
+ };
11
+ export declare type IUseVarConfigDescriptionStore = StoreDefinition<'VarConfigDescription', IUseVarConfigDescriptionStoreState, IUseVarConfigDescriptionStoreGetters, IUseVarConfigDescriptionStoreActions>;
12
+ export declare const useVarConfigDescriptionStore: IUseVarConfigDescriptionStore;
@@ -0,0 +1,10 @@
1
+ import { StoreDefinition } from 'pinia';
2
+ import { VarGridConfig } from '../../api/WMS/models';
3
+ export declare type IUseVarGridConfigStoreState = {};
4
+ export declare type IUseVarGridConfigStoreGetters = {};
5
+ export declare type IUseVarGridConfigStoreActions = {
6
+ createVarGridConfig(varGridConfig: VarGridConfig): void;
7
+ setVarGridConfig(formID: string | null | undefined, varGridConfig: VarGridConfig | null): void;
8
+ };
9
+ export declare type IUseVarGridConfigStore = StoreDefinition<'VarGridConfig', IUseVarGridConfigStoreState, IUseVarGridConfigStoreGetters, IUseVarGridConfigStoreActions>;
10
+ export declare const useVarGridConfigStore: IUseVarGridConfigStore;
@@ -0,0 +1,10 @@
1
+ import { StoreDefinition } from 'pinia';
2
+ import { VarGridMaster } from '../../api/WMS/models';
3
+ export declare type IUseVarGridMasterStoreState = {};
4
+ export declare type IUseVarGridMasterStoreGetters = {};
5
+ export declare type IUseVarGridMasterStoreActions = {
6
+ createVarGridMaster(varGridMaster: VarGridMaster): void;
7
+ setVarGridMasterList(formID: string | null | undefined, varGridMasterList: Array<VarGridMaster>): void;
8
+ };
9
+ export declare type IUseVarGridMasterStore = StoreDefinition<'VarGridMaster', IUseVarGridMasterStoreState, IUseVarGridMasterStoreGetters, IUseVarGridMasterStoreActions>;
10
+ export declare const useVarGridMasterStore: IUseVarGridMasterStore;
@@ -1,6 +1,6 @@
1
1
  import { IRemoveEventListener } from '@kengic/core.core';
2
2
  import { ComputedRef } from 'vue';
3
- import { VarButton, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigPossibility, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileMasterDTO, VarVariable } from '../../api/WMS/models';
3
+ import { VarButton, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigPossibility, VarDda, VarGridConfig, VarGridDetail, VarGridMaster, VarGridMasterDTO, VarProfileConfig, VarProfileMasterDTO, VarVariable } from '../../api/WMS/models';
4
4
  import { IKgVarGridConfigProperties, KG__VAR_BUTTON__TYPE } from '../../const';
5
5
  import { IUseKgButton } from '../KgButton';
6
6
  import { IUseKgForm } from '../KgForm';
@@ -14,25 +14,39 @@ import { IKgProps, IKgSlots } from './KgVar.vm';
14
14
  export declare type IUseKgVar = {
15
15
  /**
16
16
  * <p>添加一个「变量配置:表单控件」.</p>
17
- * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
17
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加变量配置数据.</p>
18
18
  *
19
19
  * @param varConfigControl 要添加的「变量配置:表单控件」.
20
20
  */
21
21
  createVarConfigControl(varConfigControl: VarConfigControl): void;
22
22
  /**
23
23
  * <p>添加一个「变量配置:变量翻译」.</p>
24
- * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
24
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加变量配置数据.</p>
25
25
  *
26
26
  * @param varConfigDescription 要添加的「变量配置:变量翻译」.
27
27
  */
28
28
  createVarConfigDescription(varConfigDescription: VarConfigDescription): void;
29
29
  /**
30
30
  * <p>添加一个「变量配置:列表数据」.</p>
31
- * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加表单字段.</p>
31
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加变量配置数据.</p>
32
32
  *
33
33
  * @param varConfigPossibility 要添加的「变量配置:列表数据」.
34
34
  */
35
35
  createVarConfigPossibility(varConfigPossibility: VarConfigPossibility): void;
36
+ /**
37
+ * <p>添加一个「表格配置」.</p>
38
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加变量配置数据.</p>
39
+ *
40
+ * @param varGridConfig 要添加的「表格配置」.
41
+ */
42
+ createVarGridConfig(varGridConfig: VarGridConfig): void;
43
+ /**
44
+ * <p>添加一个「表格视图」.</p>
45
+ * <p>使用场景: 一般用于开发自定义页面时, 需要动态添加变量配置数据.</p>
46
+ *
47
+ * @param varGridMaster 要添加的「表格视图」.
48
+ */
49
+ createVarGridMaster(varGridMaster: VarGridMaster): void;
36
50
  /** 当前的 VarGridDetail 列表. */
37
51
  currentVarGridDetails: ComputedRef<Array<VarGridDetail> | null>;
38
52
  /** 当前的 VarGridMaster ID. */
@@ -169,7 +183,7 @@ export declare type IUseKgVar = {
169
183
  * 修改「按钮」的部分属性.
170
184
  *
171
185
  * @param param
172
- * @param param.varName 变量名称.
186
+ * @param param.varName 按钮的变量名称.
173
187
  * @param param.properties 要修改的部分属性.
174
188
  */
175
189
  patchVarButton(param: {
@@ -227,6 +241,12 @@ export declare type IUseKgVar = {
227
241
  * @param varName 变量名称.
228
242
  */
229
243
  t(varName: string | null | undefined): ComputedRef<string>;
244
+ /**
245
+ * <p>根据变量名称获取对应翻译.</p>
246
+ *
247
+ * @param varName 变量名称.
248
+ */
249
+ t2(varName: string | null | undefined): string;
230
250
  varButtonCopy: ComputedRef<VarButton | null>;
231
251
  varButtonCreate: ComputedRef<VarButton | null>;
232
252
  varButtonDelete: ComputedRef<VarButton | null>;
@@ -1,5 +1,5 @@
1
1
  import { StoreDefinition } from 'pinia';
2
- import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigDescription, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../api/WMS/models';
2
+ import { VarButton, VarButtonConfig, VarChildDetail, VarConfigControl, VarConfigInput, VarConfigLookup, VarConfigPossibility, VarConfigTip, VarDda, VarGridConfig, VarGridDetail, VarGridMasterDTO, VarProfileConfig, VarProfileDetail, VarProfileMasterDTO, VarSubmitConfig, VarSubmitDetail, VarVariable } from '../../api/WMS/models';
3
3
  import { KG__VAR_BUTTON__TYPE } from '../../const';
4
4
  import { IUseKgVar } from './KgVar.hooks';
5
5
  import { IKgProps, IKgSlots } from './KgVar.vm';
@@ -34,7 +34,6 @@ export interface IUseKgVarStoreState {
34
34
  varButtonMap: Map<string, Array<VarButton>>;
35
35
  varChildDetailMap: Map<string, Array<VarChildDetail>>;
36
36
  varConfigControlMap: Map<string, Array<VarConfigControl>>;
37
- varConfigDescriptionMap: Map<string, Array<VarConfigDescription>>;
38
37
  varConfigInputMap: Map<string, Array<VarConfigInput>>;
39
38
  varConfigLookupMap: Map<string, Array<VarConfigLookup>>;
40
39
  varConfigPossibilityMap: Map<string, Array<VarConfigPossibility>>;
@@ -140,14 +139,9 @@ export interface IUseKgVarStoreGetters {
140
139
  getVarGridDetail(): (formID: string | null | undefined, param: {
141
140
  varName: string | null | undefined;
142
141
  }) => VarGridDetail | null;
143
- /**
144
- * 翻译变量.
145
- */
146
- t(): (formID: string | null | undefined, varName: string | null | undefined) => string;
147
142
  }
148
143
  export interface IUseKgVarStoreActions {
149
144
  createVarConfigControl(formID: string | null | undefined, varConfigControl: VarConfigControl): void;
150
- createVarConfigDescription(formID: string | null | undefined, varConfigDescription: VarConfigDescription): void;
151
145
  createVarConfigPossibility(formID: string | null | undefined, varConfigPossibility: VarConfigPossibility): void;
152
146
  /**
153
147
  * <p>离开一个界面, 即销毁一个界面.</p>
@@ -552,10 +552,6 @@ export declare enum KG_HTTP_HEADERS {
552
552
  KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
553
553
  /** 查询语句中的 ORDER BY 片段. */
554
554
  KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql",
555
- /** 查询语句中的 OFFSET 片段. */
556
- KG_QUERY_OFFSET_SQL = "Kg-Query-Offset-Sql",
557
- /** 查询语句中的 WHERE + ORDER BY + OFFSET 片段. */
558
- KG_QUERY_SQL = "Kg-Query-Sql",
559
555
  /**
560
556
  * <p>高级查询时, 每个查询字段的操作符(=,>,<...).</p>
561
557
  * <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export declare const FORM_IDS: {
5
5
  KG_PAGE_DDA__CREATE__BUTTON: string;
6
+ KG_SQL_CLIENT__RESULT_TAB: string;
6
7
  /**
7
8
  * 变量配置弹窗:按钮:按钮管理.
8
9
  */
@@ -104,6 +104,16 @@ declare const _default: {
104
104
  formTitle: string;
105
105
  pleaseSelectVarProfileMaster: string;
106
106
  };
107
+ KgSqlClient: {
108
+ ResultTab: {
109
+ resultStatusLabel: string;
110
+ ellapseLabel: string;
111
+ rowsTotalLabel: string;
112
+ messageLabel: string;
113
+ tabTitlePrefix: string;
114
+ rowsAffected: string;
115
+ };
116
+ };
107
117
  KgTable: {
108
118
  apiNotSupportDynamicQuery: string;
109
119
  column: string;
@@ -246,6 +256,7 @@ declare const _default: {
246
256
  executeSuccess: string;
247
257
  export: string;
248
258
  exportSuccess: string;
259
+ fail: string;
249
260
  formId: string;
250
261
  formName: string;
251
262
  formValidationFail: string;
@@ -255,6 +266,7 @@ declare const _default: {
255
266
  importTemplate: string;
256
267
  loading: string;
257
268
  lookup: string;
269
+ millisecond: string;
258
270
  no: string;
259
271
  ok: string;
260
272
  query: string;
@@ -266,6 +278,7 @@ declare const _default: {
266
278
  selectAll: string;
267
279
  show: string;
268
280
  succeed: string;
281
+ success: string;
269
282
  tip: string;
270
283
  update: string;
271
284
  updateSuccess: string;
@@ -103,6 +103,16 @@ declare const _default: {
103
103
  formTitle: string;
104
104
  pleaseSelectVarProfileMaster: string;
105
105
  };
106
+ KgSqlClient: {
107
+ ResultTab: {
108
+ resultStatusLabel: string;
109
+ ellapseLabel: string;
110
+ rowsTotalLabel: string;
111
+ messageLabel: string;
112
+ tabTitlePrefix: string;
113
+ rowsAffected: string;
114
+ };
115
+ };
106
116
  KgTable: {
107
117
  apiNotSupportDynamicQuery: string;
108
118
  column: string;
@@ -254,6 +264,8 @@ declare const _default: {
254
264
  importTemplate: string;
255
265
  loading: string;
256
266
  lookup: string;
267
+ fail: string;
268
+ millisecond: string;
257
269
  no: string;
258
270
  ok: string;
259
271
  query: string;
@@ -265,6 +277,7 @@ declare const _default: {
265
277
  selectAll: string;
266
278
  show: string;
267
279
  succeed: string;
280
+ success: string;
268
281
  tip: string;
269
282
  update: string;
270
283
  updateSuccess: string;
@@ -215,6 +215,16 @@ declare const _default: {
215
215
  KgVarConfigSelectFormIdModal: {
216
216
  title: string;
217
217
  };
218
+ KgSqlClient: {
219
+ ResultTab: {
220
+ resultStatusLabel: string;
221
+ ellapseLabel: string;
222
+ rowsTotalLabel: string;
223
+ messageLabel: string;
224
+ tabTitlePrefix: string;
225
+ rowsAffected: string;
226
+ };
227
+ };
218
228
  KgWarehouse: {
219
229
  reloadMessage: string;
220
230
  selectWarehouse: string;
@@ -228,11 +238,13 @@ declare const _default: {
228
238
  button: string;
229
239
  cancel: string;
230
240
  close: string;
241
+ fail: string;
231
242
  confirm: string;
232
243
  confirmDelete: string;
233
244
  copy: string;
234
245
  copySuccess: string;
235
246
  create: string;
247
+ millisecond: string;
236
248
  createSuccess: string;
237
249
  default: string;
238
250
  delete: string;
@@ -250,6 +262,7 @@ declare const _default: {
250
262
  formValidationFail: string;
251
263
  import: string;
252
264
  'import-template': string;
265
+ success: string;
253
266
  importSuccess: string;
254
267
  importTemplate: string;
255
268
  loading: string;
@@ -215,6 +215,16 @@ declare const _default: {
215
215
  KgVarConfigSelectFormIdModal: {
216
216
  title: string;
217
217
  };
218
+ KgSqlClient: {
219
+ ResultTab: {
220
+ resultStatusLabel: string;
221
+ ellapseLabel: string;
222
+ rowsTotalLabel: string;
223
+ messageLabel: string;
224
+ tabTitlePrefix: string;
225
+ rowsAffected: string;
226
+ };
227
+ };
218
228
  KgWarehouse: {
219
229
  reloadMessage: string;
220
230
  selectWarehouse: string;
@@ -243,10 +253,12 @@ declare const _default: {
243
253
  emptyText: string;
244
254
  execute: string;
245
255
  executeSuccess: string;
256
+ fail: string;
246
257
  export: string;
247
258
  exportSuccess: string;
248
259
  formId: string;
249
260
  formName: string;
261
+ millisecond: string;
250
262
  formValidationFail: string;
251
263
  import: string;
252
264
  'import-template': string;
@@ -261,6 +273,7 @@ declare const _default: {
261
273
  required: string;
262
274
  reset: string;
263
275
  save: string;
276
+ success: string;
264
277
  search: string;
265
278
  selectAll: string;
266
279
  show: string;
@@ -182,6 +182,16 @@ declare const _default: {
182
182
  VarButton: string;
183
183
  VarButtonConfig: string;
184
184
  };
185
+ KgSqlClient: {
186
+ ResultTab: {
187
+ resultStatusLabel: string;
188
+ ellapseLabel: string;
189
+ rowsTotalLabel: string;
190
+ messageLabel: string;
191
+ tabTitlePrefix: string;
192
+ rowsAffected: string;
193
+ };
194
+ };
185
195
  KgVarConfigModalChild: {
186
196
  childVarName: string;
187
197
  childVarNameDuplicate: string;
@@ -237,6 +247,7 @@ declare const _default: {
237
247
  default: string;
238
248
  delete: string;
239
249
  deleteSuccess: string;
250
+ fail: string;
240
251
  desc: string;
241
252
  edit: string;
242
253
  empty: string;
@@ -250,10 +261,12 @@ declare const _default: {
250
261
  formValidationFail: string;
251
262
  import: string;
252
263
  'import-template': string;
264
+ millisecond: string;
253
265
  importSuccess: string;
254
266
  importTemplate: string;
255
267
  loading: string;
256
268
  lookup: string;
269
+ success: string;
257
270
  no: string;
258
271
  ok: string;
259
272
  query: string;
@@ -182,6 +182,16 @@ declare const _default: {
182
182
  VarButton: string;
183
183
  VarButtonConfig: string;
184
184
  };
185
+ KgSqlClient: {
186
+ ResultTab: {
187
+ resultStatusLabel: string;
188
+ ellapseLabel: string;
189
+ rowsTotalLabel: string;
190
+ messageLabel: string;
191
+ tabTitlePrefix: string;
192
+ rowsAffected: string;
193
+ };
194
+ };
185
195
  KgVarConfigModalChild: {
186
196
  childVarName: string;
187
197
  childVarNameDuplicate: string;
@@ -241,11 +251,13 @@ declare const _default: {
241
251
  edit: string;
242
252
  empty: string;
243
253
  emptyText: string;
254
+ fail: string;
244
255
  execute: string;
245
256
  executeSuccess: string;
246
257
  export: string;
247
258
  exportSuccess: string;
248
259
  formId: string;
260
+ millisecond: string;
249
261
  formName: string;
250
262
  formValidationFail: string;
251
263
  import: string;
@@ -254,6 +266,7 @@ declare const _default: {
254
266
  importTemplate: string;
255
267
  loading: string;
256
268
  lookup: string;
269
+ success: string;
257
270
  no: string;
258
271
  ok: string;
259
272
  query: string;
@@ -182,6 +182,16 @@ declare const _default: {
182
182
  VarButton: string;
183
183
  VarButtonConfig: string;
184
184
  };
185
+ KgSqlClient: {
186
+ ResultTab: {
187
+ resultStatusLabel: string;
188
+ ellapseLabel: string;
189
+ rowsTotalLabel: string;
190
+ messageLabel: string;
191
+ tabTitlePrefix: string;
192
+ rowsAffected: string;
193
+ };
194
+ };
185
195
  KgVarConfigModalChild: {
186
196
  childVarName: string;
187
197
  childVarNameDuplicate: string;
@@ -243,15 +253,18 @@ declare const _default: {
243
253
  emptyText: string;
244
254
  execute: string;
245
255
  executeSuccess: string;
256
+ fail: string;
246
257
  export: string;
247
258
  exportSuccess: string;
248
259
  formId: string;
260
+ millisecond: string;
249
261
  formName: string;
250
262
  formValidationFail: string;
251
263
  import: string;
252
264
  'import-template': string;
253
265
  importSuccess: string;
254
266
  importTemplate: string;
267
+ success: string;
255
268
  loading: string;
256
269
  lookup: string;
257
270
  no: string;
@@ -222,6 +222,16 @@ declare const _default: {
222
222
  title: string;
223
223
  warehouse: string;
224
224
  };
225
+ KgSqlClient: {
226
+ ResultTab: {
227
+ resultStatusLabel: string;
228
+ ellapseLabel: string;
229
+ rowsTotalLabel: string;
230
+ messageLabel: string;
231
+ tabTitlePrefix: string;
232
+ rowsAffected: string;
233
+ };
234
+ };
225
235
  action: string;
226
236
  add: string;
227
237
  allUser: string;
@@ -248,11 +258,14 @@ declare const _default: {
248
258
  exportSuccess: string;
249
259
  formId: string;
250
260
  formName: string;
261
+ millisecond: string;
262
+ fail: string;
251
263
  formValidationFail: string;
252
264
  import: string;
253
265
  'import-template': string;
254
266
  importSuccess: string;
255
267
  importTemplate: string;
268
+ success: string;
256
269
  loading: string;
257
270
  lookup: string;
258
271
  no: string;
@@ -0,0 +1,11 @@
1
+ import './KgSqlClient.css';
2
+ export interface KgSqlClientEditorRef {
3
+ /**
4
+ * 获取待执行的文本.
5
+ */
6
+ getSqlTextForExecute(): string;
7
+ }
8
+ /**
9
+ * <p>数据库客户端:编辑器.</p>
10
+ */
11
+ export declare const KgSqlClientEditor: 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,36 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import './KgSqlClient.css';
3
+ import { ExecuteResultDTO } from '../../../api/WMS/models';
4
+ export declare const getProps: () => {
5
+ /**
6
+ * 执行结果.
7
+ */
8
+ executeResult: PropType<ExecuteResultDTO>;
9
+ /**
10
+ * 当前索引, 即当前是第几个执行结果, 从 0 开始.
11
+ */
12
+ index: PropType<number>;
13
+ };
14
+ export declare type KgSqlClientResultTabProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
15
+ /**
16
+ * <p>数据库客户端:执行结果的标签页.</p>
17
+ */
18
+ export declare const KgSqlClientResultTab: import("vue").DefineComponent<{
19
+ /**
20
+ * 执行结果.
21
+ */
22
+ executeResult: PropType<ExecuteResultDTO>;
23
+ /**
24
+ * 当前索引, 即当前是第几个执行结果, 从 0 开始.
25
+ */
26
+ index: PropType<number>;
27
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
28
+ /**
29
+ * 执行结果.
30
+ */
31
+ executeResult: PropType<ExecuteResultDTO>;
32
+ /**
33
+ * 当前索引, 即当前是第几个执行结果, 从 0 开始.
34
+ */
35
+ index: PropType<number>;
36
+ }>>, {}>;
@@ -0,0 +1,7 @@
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
+ }, {}>;
@@ -0,0 +1,5 @@
1
+ import './KgSqlClient.css';
2
+ /**
3
+ * <p>数据库客户端.</p>
4
+ */
5
+ export declare const KgSqlClient: 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<{}>>, {}>;
@@ -268,7 +268,7 @@ export declare class KgUtil {
268
268
  static insertHashToDynamicQueryParams(params: any): void;
269
269
  /**
270
270
  * <p>根据查询条件拼接 SQL 语句片段.</p>
271
- * <p>根据查询参数拼接 SQL, 格式如下: `WHERE ... ORDER BY ...OFFSET...`, 每一个片段会单独作为一个属性返回.</p>
271
+ * <p>根据查询参数拼接 SQL, 格式如下: `WHERE ... ORDER BY ...`, 每一个片段会单独作为一个属性返回.</p>
272
272
  * <ul>
273
273
  * <li>如果 dynamicQueryOperatorModel 传值, 表示直接使用传入的 dynamicQueryOperatorModel 作为高级查询操作符.</li>
274
274
  * <li>如果 dynamicQueryOperatorModel 没有传值, 但是 formID 传值, 表示通过变量配置获取高级查询操作符.</li>
@@ -287,11 +287,24 @@ export declare class KgUtil {
287
287
  kgSearchFormID: string | null | undefined;
288
288
  params: Record<string, any> | null | undefined;
289
289
  }): {
290
- offsetSql: string;
291
290
  operatorJSON: string;
292
291
  orderBySql: string;
293
292
  sql: string;
294
293
  whereSql: string;
294
+ } | {
295
+ /**
296
+ * 查询操作符的 JSON 字符串.
297
+ */
298
+ operatorJSON: string;
299
+ /**
300
+ * ORDER BY.
301
+ */
302
+ orderBySql: string;
303
+ /**
304
+ * WHERE .
305
+ */
306
+ whereSql: string;
307
+ sql?: undefined;
295
308
  };
296
309
  }
297
310
  export declare type ModalFunc = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.28.1-beta.26",
3
+ "version": "0.28.1-beta.27",
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",
@@ -39,7 +39,7 @@
39
39
  "@iconify-icons/ph": "1.2.5",
40
40
  "@iconify/vue": "4.1.2",
41
41
  "@kengic/core.core": "0.0.1-beta.22",
42
- "@kengic/core.react": "0.0.2-beta.39",
42
+ "@kengic/core.react": "0.0.2-beta.42",
43
43
  "@kengic/pont": "1.2.17-beta.5",
44
44
  "@rys-fe/vite-plugin-theme": "0.8.6",
45
45
  "@thymine/xunee": "0.4.9-beta.8",