@kengic/vue 0.26.6-beta.132 → 0.26.6-beta.134
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +13959 -13937
- package/dist/src/component/KgForm/index.store.d.ts +7 -1
- package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +0 -2
- package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +4 -6
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +2 -0
- package/dist/src/component/KgSubmit/index.hooks.d.ts +1 -1
- package/dist/src/component/KgVar/index.event.d.ts +1 -1
- package/dist/src/util/kg-var.util.d.ts +14 -0
- package/package.json +4 -4
- /package/dist/{close-outlined-DMcSQWxQ.1edc9323.mjs → close-outlined-DMcSQWxQ.ecd794e3.mjs} +0 -0
- /package/dist/{fullscreen-exit-outlined-X1iYkFc4.cb8f38db.mjs → fullscreen-exit-outlined-X1iYkFc4.81ef5f5d.mjs} +0 -0
- /package/dist/{fullscreen-outlined-DDBrsRcy.04cbb1b8.mjs → fullscreen-outlined-DDBrsRcy.678cfca5.mjs} +0 -0
@@ -45,10 +45,12 @@ export declare type IKgFormOnBlurEventListenerParameter = {
|
|
45
45
|
* 表单控件所处环境.
|
46
46
|
*/
|
47
47
|
context: KG_FORM_CONTEXT;
|
48
|
+
/** @deprecated */
|
49
|
+
value: any;
|
48
50
|
/**
|
49
51
|
* 表单控件当前数据.
|
50
52
|
*/
|
51
|
-
|
53
|
+
values: Array<any>;
|
52
54
|
/**
|
53
55
|
* 变量名称.
|
54
56
|
*/
|
@@ -152,6 +154,8 @@ export declare type IKgFormLookupBeforeOkEventListenerParameter = {
|
|
152
154
|
/** 勾选的所有值. */
|
153
155
|
values?: Array<any> | null;
|
154
156
|
/** 变量. */
|
157
|
+
varNam: string;
|
158
|
+
/** @deprecated. */
|
155
159
|
var_nam: string;
|
156
160
|
};
|
157
161
|
export declare type IKgFormLookupBeforeOkEventListener = ((param: IKgFormLookupBeforeOkEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
@@ -179,6 +183,8 @@ export declare type IKgFormLookupOkEventListenerParameter = {
|
|
179
183
|
/** 勾选的所有值. */
|
180
184
|
values?: Array<any> | null;
|
181
185
|
/** 变量. */
|
186
|
+
varNam: string;
|
187
|
+
/** @deprecated. */
|
182
188
|
var_nam: string;
|
183
189
|
};
|
184
190
|
export declare type IKgFormLookupOkEventListener = ((param: IKgFormLookupOkEventListenerParameter) => Promise<boolean>) & IKgEventListener;
|
@@ -19,7 +19,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
20
20
|
default: boolean;
|
21
21
|
};
|
22
|
-
/** 是否全选. */
|
23
22
|
kgAllowClear: {
|
24
23
|
type: import("vue").PropType<boolean>;
|
25
24
|
default: undefined;
|
@@ -61,7 +60,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
61
60
|
type: import("vue").PropType<boolean>;
|
62
61
|
default: boolean;
|
63
62
|
};
|
64
|
-
/** 是否全选. */
|
65
63
|
kgAllowClear: {
|
66
64
|
type: import("vue").PropType<boolean>;
|
67
65
|
default: undefined;
|
@@ -15,11 +15,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
15
15
|
kgSpan: import("vue").PropType<number>;
|
16
16
|
kgPlaceholder: import("vue").PropType<string>;
|
17
17
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
18
|
-
/** 初始. */
|
19
18
|
kgShowLabel: {
|
20
19
|
type: import("vue").PropType<boolean>;
|
21
|
-
default: boolean;
|
22
|
-
};
|
20
|
+
default: boolean; /** 初始. */
|
21
|
+
}; /** 初始. */
|
23
22
|
kgAllowClear: {
|
24
23
|
type: import("vue").PropType<boolean>;
|
25
24
|
default: undefined;
|
@@ -57,11 +56,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
57
56
|
kgSpan: import("vue").PropType<number>;
|
58
57
|
kgPlaceholder: import("vue").PropType<string>;
|
59
58
|
kgMode: import("vue").PropType<"multiple" | "tags">;
|
60
|
-
/** 初始. */
|
61
59
|
kgShowLabel: {
|
62
60
|
type: import("vue").PropType<boolean>;
|
63
|
-
default: boolean;
|
64
|
-
};
|
61
|
+
default: boolean; /** 初始. */
|
62
|
+
}; /** 初始. */
|
65
63
|
kgAllowClear: {
|
66
64
|
type: import("vue").PropType<boolean>;
|
67
65
|
default: undefined;
|
@@ -28,6 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
28
28
|
default: undefined;
|
29
29
|
};
|
30
30
|
kgPicker: {
|
31
|
+
/** 是否允许清空. */
|
31
32
|
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
32
33
|
default: undefined;
|
33
34
|
};
|
@@ -69,6 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
69
70
|
default: undefined;
|
70
71
|
};
|
71
72
|
kgPicker: {
|
73
|
+
/** 是否允许清空. */
|
72
74
|
type: import("vue").PropType<import("ant-design-vue/lib/vc-picker/interface").PickerMode>;
|
73
75
|
default: undefined;
|
74
76
|
};
|
@@ -241,7 +241,7 @@ export interface IUseKgSubmit {
|
|
241
241
|
* <p>由于提交表单肯定是关联某个按钮的, 因此需要先确认是哪个按钮, 确认逻辑如下:</p>
|
242
242
|
* <ul>
|
243
243
|
* <li>
|
244
|
-
* <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.
|
244
|
+
* <p>如果参数 {@link param.buttonVarName} === <code>undefined</code> && {@link param.buttonType} === <code>undefined</code>, 表示修改的是「当前按钮」.</p>
|
245
245
|
* </li>
|
246
246
|
* <li>
|
247
247
|
* <p>如果参数 {@link param.buttonVarName} !== <code>undefined</code>, 则忽略参数 {@link param.buttonType}, 根据 {@link param.buttonVarName} 和 {@link VarButton.var_nam} 是否匹配来确认按钮.</p>
|
@@ -19,7 +19,7 @@ export declare type IKgVarOnSetupEventListenerParameter = {
|
|
19
19
|
*/
|
20
20
|
formID: string;
|
21
21
|
};
|
22
|
-
export declare type IKgVarOnSetupEventListener = ((param: IKgVarOnSetupEventListenerParameter) =>
|
22
|
+
export declare type IKgVarOnSetupEventListener = ((param: IKgVarOnSetupEventListenerParameter) => void) & IKgEventListener;
|
23
23
|
export declare type IKgVarOnUnmountedEventListenerParameter = {
|
24
24
|
/**
|
25
25
|
* 界面标识.
|
@@ -28,6 +28,20 @@ export declare class KgVarUtil {
|
|
28
28
|
value: any;
|
29
29
|
varName: string;
|
30
30
|
}): any;
|
31
|
+
/**
|
32
|
+
* 计算某个列表数据的文本.
|
33
|
+
*
|
34
|
+
* <p>
|
35
|
+
* labelColumn 可以是一个 JS 表达式, 组件库会解析该表达式, 并得到真正的值. 比如表达式 \`${row.id}\` 表示获取该行的 id 列的值. 表达式中可以使用下列变量:
|
36
|
+
* <ul>
|
37
|
+
* <li>row: 表示该行数据,</li>
|
38
|
+
* </ul>
|
39
|
+
* </p>
|
40
|
+
*
|
41
|
+
* @param row 该行数据.
|
42
|
+
* @param labelColumn 文本对应的字段或者表达式.
|
43
|
+
*/
|
44
|
+
static evaluateVarConfigPossibilityLabel(row: any, labelColumn: string): string;
|
31
45
|
/**
|
32
46
|
* 根据控件类型, 将任意的高级查询操作符(可能非法)转换为合法的值.
|
33
47
|
*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.26.6-beta.
|
3
|
+
"version": "0.26.6-beta.134",
|
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,8 +39,8 @@
|
|
39
39
|
"@iconify-icons/mdi": "1.2.48",
|
40
40
|
"@iconify-icons/ph": "1.2.5",
|
41
41
|
"@iconify/vue": "4.1.2",
|
42
|
-
"@kengic/core.core": "0.0.1-beta.
|
43
|
-
"@kengic/core.react": "0.0.1-beta.
|
42
|
+
"@kengic/core.core": "0.0.1-beta.17",
|
43
|
+
"@kengic/core.react": "0.0.1-beta.23",
|
44
44
|
"@kengic/pont": "1.2.17-beta.1",
|
45
45
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
46
46
|
"@thymine/xunee": "0.4.9-beta.8",
|
@@ -122,7 +122,7 @@
|
|
122
122
|
}
|
123
123
|
}
|
124
124
|
],
|
125
|
-
"printWidth":
|
125
|
+
"printWidth": 200,
|
126
126
|
"semi": true,
|
127
127
|
"singleAttributePerLine": true,
|
128
128
|
"singleQuote": true,
|
File without changes
|
File without changes
|
File without changes
|