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

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.
@@ -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;
@@ -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.0",
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",