UNPKG

d-render

Version:

数据渲染库 - form、table、search-form

8 lines (7 loc) 491 B
import { ComputedRef } from 'vue'; import type { Ref } from 'vue'; import type { IAnyObject, TFormConfig } from '@d-render/shared'; export declare const useRules: (config: ComputedRef<TFormConfig>, isReadonly: Ref<boolean>, status: ComputedRef<'read' | 'read-write' | 'hidden'>, otherValue: ComputedRef<unknown>, dependOnValues: Ref<IAnyObject>, outDependOnValues: Ref<IAnyObject>) => { usingRules: ComputedRef<boolean>; rules: ComputedRef<import("element-plus").FormItemRule[]>; };