@kengic/vue 0.13.1 → 0.13.2
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.
@@ -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
|
-
|
226
|
-
/**
|
227
|
-
|
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
|
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
|
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 参数的原始值.
|