@kengic/vue 0.13.4 → 0.13.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,11 @@
|
|
1
1
|
import { Rule } from 'ant-design-vue/es/form';
|
2
|
-
import { ComputedRef } from 'vue';
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
3
3
|
import { IKgFormItemProps } from './index.vm';
|
4
4
|
export declare type IUseRules = {
|
5
5
|
/** 表单验证规则. */
|
6
|
-
rules:
|
6
|
+
rules: Ref<Rule[]>;
|
7
|
+
/** 正在计算表单验证规则. */
|
8
|
+
isRulesLoading: Ref<boolean>;
|
7
9
|
};
|
8
10
|
export declare function _useRules(props: IKgFormItemProps): IUseRules;
|
9
11
|
export declare type IUseKgFormItem<T = Record<string, any>> = {
|
@@ -292,8 +292,9 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
292
292
|
* @param frm_id 界面标识.
|
293
293
|
* @param var_nam 变量名称
|
294
294
|
* @param properties 要修改的部分属性.
|
295
|
+
* @param isTriggerEvent 是否触发变更事件.
|
295
296
|
*/
|
296
|
-
patchVarSubmitField(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: VarSubmitField): void;
|
297
|
+
patchVarSubmitField(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: VarSubmitField, isTriggerEvent?: boolean): void;
|
297
298
|
/**
|
298
299
|
* 修改 VarPossibility 的接口参数 cmd_prm 的部分属性.
|
299
300
|
* @param frm_id 界面标识.
|