UNPKG

@opensig/opendesign

Version:

20 lines (19 loc) 661 B
import { InjectionKey, Ref } from 'vue'; import { default as MenuTree } from './menu'; import { MenuSizeT } from './types.ts'; export declare const menuInjectKey: InjectionKey<{ size: Ref<MenuSizeT>; accordion: Ref<boolean>; realValue: Ref<string>; activeNodes: Ref<Array<string | undefined>>; realExpanded: Ref<Array<string>>; arrowPosition: Ref<'left' | 'right' | undefined>; menuTree: MenuTree; notifyTreeChange: () => void; updateModelValue: (val: string) => void; updateExpanded: (val: Array<string>) => void; }>; export declare const subMenuInjectKey: InjectionKey<{ value: string; parentDepth: number; }>;