@kengic/vue 0.32.21-beta.1 → 0.32.21
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.
|
@@ -83,10 +83,10 @@ export declare type IKgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeo
|
|
|
83
83
|
* 插槽参数: control.
|
|
84
84
|
*/
|
|
85
85
|
export declare type IKgFormItemSlotControlParameter = {
|
|
86
|
+
formID: string;
|
|
86
87
|
/** @deprecated */
|
|
87
88
|
frm_id: string;
|
|
88
|
-
|
|
89
|
-
/** @deprecated 已废弃, 请直接使用 KgSubmit.formModel 或者 kgSearch.formModel */
|
|
89
|
+
/** @deprecated 已废弃, 请直接使用 kgSubmit.formModel 或者 kgSearch.formModel */
|
|
90
90
|
model: ComputedRef<Record<string, any>>;
|
|
91
91
|
props: ComputedRef<IKgFormItemProps>;
|
|
92
92
|
varConfigControl: VarConfigControl;
|
|
@@ -22,12 +22,15 @@ export declare type IKgSlots = {
|
|
|
22
22
|
/** 表单. */
|
|
23
23
|
KgSubmit?: {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* <p>某个表单控件.</p>
|
|
26
|
+
* <p>如果返回 undefined, 表示忽略该插槽, 使用默认的渲染.</p>
|
|
26
27
|
*/
|
|
27
28
|
'KgForm.Item.control'?: {
|
|
28
29
|
[variable: string]: (param: IKgFormItemSlotControlParameter) => any;
|
|
29
30
|
};
|
|
30
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* 某个表单控件右侧.
|
|
33
|
+
*/
|
|
31
34
|
'KgForm.Item.controlRight'?: {
|
|
32
35
|
[variable: string]: (param: IKgFormItemSlotControlRightParameter) => any;
|
|
33
36
|
};
|
|
@@ -21,6 +21,13 @@ export declare class KgUtil {
|
|
|
21
21
|
* @return UUID.
|
|
22
22
|
*/
|
|
23
23
|
static uuid: typeof KgCoreUtil.uuid;
|
|
24
|
+
/**
|
|
25
|
+
* 判断元素是否不能响应点击事件.
|
|
26
|
+
* 如果不想让某个元素响应点击事件, 则可以给它的父元素加上 kg-not-clickable 样式类.
|
|
27
|
+
* @param el 元素.
|
|
28
|
+
* @param classes 除了 kg-not-clickable 之外额外需要判断的样式类.
|
|
29
|
+
*/
|
|
30
|
+
static isNotClickable: typeof KgCoreUtil.isNotClickable;
|
|
24
31
|
/**
|
|
25
32
|
* 下载文件.
|
|
26
33
|
* @param data 文件数据.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.32.21
|
|
3
|
+
"version": "0.32.21",
|
|
4
4
|
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "24.14.1",
|