menu-item.vue.d.ts 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. import { MenuItemRegistered, MenuProvider } from "./types.js";
  2. import { MenuItemProps } from "./menu-item.js";
  3. import * as _$vue from "vue";
  4. //#region ../../packages/components/menu/src/menu-item.vue.d.ts
  5. declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {}, __VLS_14: {};
  6. type __VLS_Slots = {} & {
  7. title?: (props: typeof __VLS_8) => any;
  8. } & {
  9. default?: (props: typeof __VLS_10) => any;
  10. } & {
  11. default?: (props: typeof __VLS_12) => any;
  12. } & {
  13. title?: (props: typeof __VLS_14) => any;
  14. };
  15. declare const __VLS_base: _$vue.DefineComponent<MenuItemProps, {
  16. parentMenu: _$vue.ComputedRef<_$vue.ComponentInternalInstance>;
  17. rootMenu: MenuProvider;
  18. active: _$vue.ComputedRef<boolean>;
  19. nsMenu: {
  20. namespace: _$vue.ComputedRef<string>;
  21. b: (blockSuffix?: string) => string;
  22. e: (element?: string) => string;
  23. m: (modifier?: string) => string;
  24. be: (blockSuffix?: string, element?: string) => string;
  25. em: (element?: string, modifier?: string) => string;
  26. bm: (blockSuffix?: string, modifier?: string) => string;
  27. bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
  28. is: {
  29. (name: string, state: boolean | undefined): string;
  30. (name: string): string;
  31. };
  32. cssVar: (object: Record<string, string>) => Record<string, string>;
  33. cssVarName: (name: string) => string;
  34. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  35. cssVarBlockName: (name: string) => string;
  36. };
  37. nsMenuItem: {
  38. namespace: _$vue.ComputedRef<string>;
  39. b: (blockSuffix?: string) => string;
  40. e: (element?: string) => string;
  41. m: (modifier?: string) => string;
  42. be: (blockSuffix?: string, element?: string) => string;
  43. em: (element?: string, modifier?: string) => string;
  44. bm: (blockSuffix?: string, modifier?: string) => string;
  45. bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
  46. is: {
  47. (name: string, state: boolean | undefined): string;
  48. (name: string): string;
  49. };
  50. cssVar: (object: Record<string, string>) => Record<string, string>;
  51. cssVarName: (name: string) => string;
  52. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  53. cssVarBlockName: (name: string) => string;
  54. };
  55. handleClick: () => void;
  56. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
  57. click: (item: MenuItemRegistered) => void;
  58. }, string, _$vue.PublicProps, Readonly<MenuItemProps> & Readonly<{
  59. onClick?: ((item: MenuItemRegistered) => any) | undefined;
  60. }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
  61. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  62. declare const _default: typeof __VLS_export;
  63. type __VLS_WithSlots<T, S> = T & {
  64. new (): {
  65. $slots: S;
  66. };
  67. };
  68. //#endregion
  69. export { _default as default };