d-render
Version:
数据渲染库 - form、table、search-form
12 lines (11 loc) • 498 B
TypeScript
import type { Ref, ComputedRef } from 'vue';
import type { TSearchFormProps } from './props';
import type { IAnyObject } from '@d-render/shared';
export declare const useExpand: (props: TSearchFormProps, gridCount: Ref<number>, searchFormProps: ComputedRef<IAnyObject>) => {
isExpand: Ref<boolean>;
toggleExpand: () => void;
spanSum: ComputedRef<number>;
haveExpand: ComputedRef<boolean>;
showFieldList: ComputedRef<IFormConfig[]>;
lastRowSpan: ComputedRef<IFormConfig>;
};