UNPKG

ucc-ui

Version:

ucc-ui components library

29 lines (28 loc) 1.58 kB
import { ComponentInternalInstance } from 'vue'; import { DynamicCompCtxFn, DynamicCompDirectives, UDynamicCompProps } from '../types'; interface HandleDirectivesOts { uid: string; instance: ComponentInternalInstance | null; } export default function handleDirectives(this: UDynamicCompProps, opts: HandleDirectivesOts): { directives: { [x: string]: any; "v-bind"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-on"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-if"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-else"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-else-if"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-for"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-show"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-model"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-slot"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-pre"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-cloak"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-once"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; "v-html"?: boolean | DynamicCompCtxFn<boolean, any[]> | undefined; }; setDirective: (directive: string, value: DynamicCompDirectives | DynamicCompCtxFn<DynamicCompDirectives>) => void; onShow: (val?: boolean) => void; onRefresh: (val?: boolean, time?: number) => void; }; export {};