| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import { MenuItemRegistered, MenuProvider } from "./types.js";
- import { MenuItemProps } from "./menu-item.js";
- import * as _$vue from "vue";
- //#region ../../packages/components/menu/src/menu-item.vue.d.ts
- declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
- type __VLS_Slots = {} & {
- title?: (props: typeof __VLS_8) => any;
- } & {
- default?: (props: typeof __VLS_10) => any;
- } & {
- default?: (props: typeof __VLS_12) => any;
- } & {
- title?: (props: typeof __VLS_14) => any;
- };
- declare const __VLS_base: _$vue.DefineComponent<MenuItemProps, {
- parentMenu: _$vue.ComputedRef<_$vue.ComponentInternalInstance>;
- rootMenu: MenuProvider;
- active: _$vue.ComputedRef<boolean>;
- nsMenu: {
- namespace: _$vue.ComputedRef<string>;
- b: (blockSuffix?: string) => string;
- e: (element?: string) => string;
- m: (modifier?: string) => string;
- be: (blockSuffix?: string, element?: string) => string;
- em: (element?: string, modifier?: string) => string;
- bm: (blockSuffix?: string, modifier?: string) => string;
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
- is: {
- (name: string, state: boolean | undefined): string;
- (name: string): string;
- };
- cssVar: (object: Record<string, string>) => Record<string, string>;
- cssVarName: (name: string) => string;
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
- cssVarBlockName: (name: string) => string;
- };
- nsMenuItem: {
- namespace: _$vue.ComputedRef<string>;
- b: (blockSuffix?: string) => string;
- e: (element?: string) => string;
- m: (modifier?: string) => string;
- be: (blockSuffix?: string, element?: string) => string;
- em: (element?: string, modifier?: string) => string;
- bm: (blockSuffix?: string, modifier?: string) => string;
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
- is: {
- (name: string, state: boolean | undefined): string;
- (name: string): string;
- };
- cssVar: (object: Record<string, string>) => Record<string, string>;
- cssVarName: (name: string) => string;
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
- cssVarBlockName: (name: string) => string;
- };
- handleClick: () => void;
- }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
- click: (item: MenuItemRegistered) => void;
- }, string, _$vue.PublicProps, Readonly<MenuItemProps> & Readonly<{
- onClick?: ((item: MenuItemRegistered) => any) | undefined;
- }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
- declare const _default: typeof __VLS_export;
- type __VLS_WithSlots<T, S> = T & {
- new (): {
- $slots: S;
- };
- };
- //#endregion
- export { _default as default };
|