@kengic/vue 0.13.1 → 0.13.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,7 +52,10 @@ declare const _default: {
52
52
  canNotUpdateSystemVarGridMaster: string;
53
53
  column: string;
54
54
  config: string;
55
+ 'dynamic-query-is-off-in-server': string;
55
56
  emptyText: string;
57
+ 'request-fail-error': string;
58
+ 'request-fail-no-data': string;
56
59
  rowHeight: string;
57
60
  rowHeightH: string;
58
61
  rowHeightL: string;
@@ -52,7 +52,10 @@ declare const _default: {
52
52
  canNotUpdateSystemVarGridMaster: string;
53
53
  column: string;
54
54
  config: string;
55
+ 'dynamic-query-is-off-in-server': string;
55
56
  emptyText: string;
57
+ 'request-fail-error': string;
58
+ 'request-fail-no-data': string;
56
59
  rowHeight: string;
57
60
  rowHeightH: string;
58
61
  rowHeightL: string;
@@ -222,7 +222,9 @@ export declare enum KG_DYNAMIC_QUERY_OPERATOR {
222
222
  /** 请求头部. */
223
223
  export declare enum KG_HTTP_HEADERS {
224
224
  /** 是否启用高级查询. */
225
- KG_DYNAMIC_QUERY_ON = "Kg-Dynamic-Query-On",
226
- /** 高级查询拼接后的 SQL. */
227
- KG_DYNAMIC_QUERY_SQL = "Kg-Dynamic-Query-Sql"
225
+ KG_DYNAMIC_QUERY = "Kg-Dynamic-Query",
226
+ /** 拼接后的查询 SQL. */
227
+ KG_QUERY_SQL = "Kg-Query-Sql"
228
228
  }
229
+ /** 特殊属性:请求返回的原始响应数据 */
230
+ export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
@@ -38,7 +38,7 @@ export declare class KgUtil {
38
38
  */
39
39
  static parseParams(params?: Record<string, any> | null, formID?: string | null, $dayjs?: typeof dayjs): any;
40
40
  /**
41
- * <p>处理高级查询时的请求参数, 最终拼接为一个 SQL 格式如下: `WHERE ... ORDER BY ...`.</p>
41
+ * <p>处理查询参数, 最终拼接为一个 SQL 格式如下: `WHERE ... ORDER BY ...`.</p>
42
42
  * <ol>
43
43
  * <li>填充通用参数的值:
44
44
  * <ul>
@@ -51,7 +51,7 @@ export declare class KgUtil {
51
51
  * @param $dayjs dayjs.
52
52
  * @return 拼接好的 SQL.
53
53
  */
54
- static parseParamsForDynamicQuery(params: Record<string, any> | null | undefined, formID: string | null | undefined, $dayjs: typeof dayjs): string;
54
+ static getQuerySql(params: Record<string, any> | null | undefined, formID: string | null | undefined, $dayjs: typeof dayjs): string;
55
55
  /**
56
56
  * 处理请求参数: 解析字符串类型的参数值.
57
57
  * @param value 参数的原始值.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",