@kengic/vue 0.6.14 → 0.6.16
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,9 @@ import { IKgTableRow } from '../KgTable';
|
|
12
12
|
*/
|
13
13
|
export declare type IKgButtonEvent = 'click' | 'updateBeforeClick' | 'deleteOk' | 'submitSave' | 'submitCancel';
|
14
14
|
/** 事件监听函数: click. */
|
15
|
+
export declare type IKgButtonClickCbParam = {
|
16
|
+
button: VarButton;
|
17
|
+
};
|
15
18
|
export declare type IKgButtonClickCb = ((button: VarButton) => Promise<boolean>) & IKgEventCb;
|
16
19
|
/** 事件监听函数: updateBeforeClick. */
|
17
20
|
export declare type IKgButtonUpdateBeforeClickCbParam = {
|
@@ -33,5 +33,6 @@ export declare function _useCommon(): {
|
|
33
33
|
minHeight: import("vue").ComputedRef<1 | 42>;
|
34
34
|
};
|
35
35
|
export declare function _useFormModel(formRef: Ref<FormInstance | null>, kgResizableProps: Ref<IKgResizableProps>): {
|
36
|
-
|
36
|
+
/** 设置表单的初始值. */
|
37
|
+
initFormModel(): void;
|
37
38
|
};
|
@@ -233,9 +233,16 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
233
233
|
* 修改 VarGridDetail 的部分属性.
|
234
234
|
* @param frm_id 界面标识.
|
235
235
|
* @param var_nam 变量名称.
|
236
|
-
* @param properties
|
236
|
+
* @param properties 要修改的部分属性.
|
237
237
|
*/
|
238
|
-
patchVarGridDetail(frm_id: string, var_nam: string | null | undefined, properties: VarGridDetail): void
|
238
|
+
patchVarGridDetail(frm_id: string, var_nam: string | null | undefined, properties: VarGridDetail): Promise<void>;
|
239
|
+
/**
|
240
|
+
* 修改 VarProfileDetail 的部分属性.
|
241
|
+
* @param frm_id 界面标识.
|
242
|
+
* @param var_nam 变量名称.
|
243
|
+
* @param properties 要修改的部分属性.
|
244
|
+
*/
|
245
|
+
patchVarProfileDetail(frm_id: string, var_nam: string | null | undefined, properties: VarProfileDetail): Promise<void>;
|
239
246
|
/**
|
240
247
|
* 设置某个 VarPossibility 配置.
|
241
248
|
* @param frm_id 界面标识.
|
@@ -247,14 +254,14 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
247
254
|
* 修改 VarSubmitField 的部分属性.
|
248
255
|
* @param frm_id 界面标识.
|
249
256
|
* @param var_nam 变量名称
|
250
|
-
* @param properties
|
257
|
+
* @param properties 要修改的部分属性.
|
251
258
|
*/
|
252
259
|
patchVarSubmitField(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: VarSubmitField): void;
|
253
260
|
/**
|
254
261
|
* 修改 VarPossibility 的接口参数 cmd_prm 的部分属性.
|
255
262
|
* @param frm_id 界面标识.
|
256
263
|
* @param var_nam 变量名称
|
257
|
-
* @param properties
|
264
|
+
* @param properties 要修改的部分属性.
|
258
265
|
*/
|
259
266
|
patchVarPossibilityCommandParameter(frm_id: string | null | undefined, var_nam: string | null | undefined, properties: Record<string, any>): void;
|
260
267
|
}>;
|