UNPKG

d-render

Version:

基于 Element Plus 二次封装的数据驱动渲染组件库 - 表单、搜索表单、表格配置化渲染

12 lines (11 loc) 590 B
import type { Ref, ComputedRef } from 'vue'; import type { TSearchFormProps } from './props'; import type { IAnyObject, IFieldItem, TSearchFormConfig } from '@d-render/shared'; export declare const useExpand: (props: TSearchFormProps, gridCount: Ref<number>, searchFormProps: ComputedRef<IAnyObject>, operationSpan: Ref<number>) => { isExpand: Ref<boolean, boolean>; toggleExpand: () => void; spanSum: ComputedRef<number>; haveExpand: ComputedRef<boolean>; showFieldList: ComputedRef<IFieldItem<TSearchFormConfig>[]>; lastRowSpan: ComputedRef<number>; };