menu.vue.d.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import Node from "./node.js";
  2. import { CascaderCommonProps } from "./config.js";
  3. import { FixedSizeListInstance } from "../../virtual-list/src/components/fixed-size-list.js";
  4. import * as _$vue from "vue";
  5. //#region ../../packages/components/cascader-panel/src/menu.vue.d.ts
  6. type __VLS_Props = {
  7. nodes: Node[];
  8. index: number;
  9. } & Pick<CascaderCommonProps, 'virtualScroll' | 'itemSize' | 'height'>;
  10. declare var __VLS_28: {}, __VLS_58: {};
  11. type __VLS_Slots = {} & {
  12. empty?: (props: typeof __VLS_28) => any;
  13. } & {
  14. empty?: (props: typeof __VLS_58) => any;
  15. };
  16. declare const __VLS_base: _$vue.DefineComponent<__VLS_Props, {
  17. getActiveNodeIndex: () => number;
  18. getNodeIndexById: (nodeId: string | undefined) => number;
  19. scrollToItem: (index: number) => void;
  20. focusNodeAt: (index: number) => void;
  21. virtualListRef: _$vue.Ref<FixedSizeListInstance | undefined, FixedSizeListInstance | undefined>;
  22. readonly $el: HTMLElement;
  23. }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
  24. height: number;
  25. virtualScroll: boolean;
  26. itemSize: number;
  27. }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
  28. declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
  29. declare const _default: typeof __VLS_export;
  30. type __VLS_WithSlots<T, S> = T & {
  31. new (): {
  32. $slots: S;
  33. };
  34. };
  35. //#endregion
  36. export { _default as default };