@kengic/vue 0.6.1 → 0.6.2-beta.0
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.
@@ -1,4 +1,7 @@
|
|
1
|
+
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
2
|
+
import { Ref } from 'vue';
|
1
3
|
import { VarProfileDetail } from '../../apis/WMS/models';
|
4
|
+
import { IKgResizableProps } from '../KgResizable';
|
2
5
|
/** 头部高度. */
|
3
6
|
export declare const HEADER_HEIGHT = 42;
|
4
7
|
/** 一个查询字段的高度. */
|
@@ -20,3 +23,15 @@ export declare function getDefaultHeight(varProfileDetails?: Array<VarProfileDet
|
|
20
23
|
export declare function getMaxHeight(varProfileDetails?: Array<VarProfileDetail> | null, headerTeleport?: boolean | null): number;
|
21
24
|
export declare type IUseLayoutHeaderResizeObserver = {};
|
22
25
|
export declare function _useLayoutHeaderResizeObserver(): IUseLayoutHeaderResizeObserver;
|
26
|
+
export declare function _useCommon(): {
|
27
|
+
isVisible: import("vue").ComputedRef<boolean>;
|
28
|
+
isResizable: import("vue").ComputedRef<boolean>;
|
29
|
+
isHeaderTeleport: import("vue").ComputedRef<boolean>;
|
30
|
+
formLevel: import("vue").ComputedRef<number>;
|
31
|
+
defaultHeight: import("vue").ComputedRef<number>;
|
32
|
+
maxHeight: import("vue").ComputedRef<number>;
|
33
|
+
minHeight: import("vue").ComputedRef<1 | 42>;
|
34
|
+
};
|
35
|
+
export declare function _useFormModel(formRef: Ref<FormInstance | null>, kgResizableProps: Ref<IKgResizableProps>): {
|
36
|
+
model: Ref<Record<string, any>>;
|
37
|
+
};
|