@kengic/vue 0.26.3-beta.2 → 0.26.3-beta.3
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.
- package/dist/kengic-vue.js +1704 -1706
- package/dist/src/services/http-client.d.ts +9 -1
- package/dist/src/utils/kg-var.util.d.ts +6 -9
- package/package.json +2 -2
@@ -37,11 +37,19 @@ interface IRequestOptions {
|
|
37
37
|
/** 是否使用模拟数据. */
|
38
38
|
mock?: boolean;
|
39
39
|
/**
|
40
|
-
* <p
|
40
|
+
* <p>高级查询时, 各个请求参数的高级查询操作符.</p>
|
41
41
|
* <p>如果该参数不为空, 表示该请求启用了高级查询.</p>
|
42
42
|
* <p>其中的 key 表示参数名, 对应的 value 表示该参数的高级查询操作符(>,=,<...).</p>
|
43
43
|
*/
|
44
44
|
dynamicQueryOperatorModel?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
|
45
|
+
/**
|
46
|
+
* <p>高级查询时, 对应的界面标识.</p>
|
47
|
+
*/
|
48
|
+
dynamicQueryFormID?: string;
|
49
|
+
/**
|
50
|
+
* <p>高级查询时, 对应的查询条件界面标识.</p>
|
51
|
+
*/
|
52
|
+
dynamicQueryKgSearchFormID?: string;
|
45
53
|
/**
|
46
54
|
* dayjs 实例, 必须跟 {@link IRequestOptions.dynamicQueryOperatorModel} 同时传值. 即如果参数 {@link IRequestOptions.dynamicQueryOperatorModel} 不为空, 则参数 {@link IRequestOptions.dayjs} 也必须不为空.
|
47
55
|
*/
|
@@ -61,15 +61,12 @@ export declare class KgVarUtil {
|
|
61
61
|
*/
|
62
62
|
static getDynamicQueryOperatorSelectOptions(controlType: KG__VAR_CONFIG_CONTROL__CONTROL_TYPE | null | undefined): any;
|
63
63
|
/**
|
64
|
-
* <p
|
65
|
-
* <p
|
66
|
-
* <
|
67
|
-
*
|
68
|
-
* <
|
69
|
-
*
|
70
|
-
* <li>如果 dynamicQueryOperators 传值, 表示直接使用传入的 dynamicQueryOperatorModel 作为高级查询操作符.</li>
|
71
|
-
* </ul>
|
72
|
-
* </p>
|
64
|
+
* <p>根据查询条件拼接 SQL 语句片段.</p>
|
65
|
+
* <p>根据查询参数拼接 SQL, 格式如下: `WHERE ... ORDER BY ...OFFSET...`, 每一个片段会单独作为一个属性返回.</p>
|
66
|
+
* <ul>
|
67
|
+
* <li>如果 dynamicQueryOperatorModel 传值, 表示直接使用传入的 dynamicQueryOperatorModel 作为高级查询操作符.</li>
|
68
|
+
* <li>如果 dynamicQueryOperatorModel 没有传值, 但是 formID 传值, 表示通过变量配置获取高级查询操作符.</li>
|
69
|
+
* </ul>
|
73
70
|
*
|
74
71
|
* @param param.$dayjs dayjs.
|
75
72
|
* @param param.dynamicQueryOperatorModel 各个字段的高级查询操作符.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.26.3-beta.
|
3
|
+
"version": "0.26.3-beta.3",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"@iconify-icons/mdi": "1.2.48",
|
44
44
|
"@iconify-icons/ph": "1.2.5",
|
45
45
|
"@iconify/vue": "4.1.1",
|
46
|
-
"@kengic/pont": "1.2.
|
46
|
+
"@kengic/pont": "1.2.14",
|
47
47
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
48
48
|
"@types/crypto-js": "4.1.1",
|
49
49
|
"@types/fs-extra": "9.0.13",
|