UNPKG

@scalar/api-client

Version:

the open source API testing client

42 lines 1.71 kB
import { type DraggableProps, type DraggingItem, type HoveredItem } from '@scalar/draggable'; import type { SidebarMenuItem } from '../../views/Request/types/index.js'; type __VLS_Props = { /** * Toggle dragging on and off * * @default false */ isDraggable?: boolean; /** * Prevents items from being hovered and dropped into * * @default false */ isDroppable?: DraggableProps['isDroppable']; /** Both indicate the level and provide a way to traverse upwards */ parentUids: string[]; /** uid of a Collection, Tag, Request or RequestExample */ uid: string; /** To keep track of the menu being open */ menuItem: SidebarMenuItem; }; type __VLS_Slots = { leftIcon(): void; }; declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { onDragEnd: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => any; newTab: (name: string, uid: string) => any; openMenu: (menuItem: SidebarMenuItem) => any; }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onOnDragEnd?: ((draggingItem: DraggingItem, hoveredItem: HoveredItem) => any) | undefined; onNewTab?: ((name: string, uid: string) => any) | undefined; onOpenMenu?: ((menuItem: SidebarMenuItem) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; }; //# sourceMappingURL=RequestSidebarItem.vue.d.ts.map