@scalar/api-client
Version:
the open source API testing client
43 lines • 1.61 kB
TypeScript
import { type Icon } from '@scalar/components';
import { type DraggableProps, type DraggingItem, type HoveredItem } from '@scalar/draggable';
import { type RouteLocationRaw } from 'vue-router';
type __VLS_Props = {
variable: {
uid: string;
name: string;
color?: string;
icon?: Icon;
isDefault?: boolean;
};
warningMessage?: string;
to: RouteLocationRaw;
isDeletable?: boolean;
isCopyable?: boolean;
isRenameable?: boolean;
/**
* Toggle dragging on and off
*
* @default false
*/
isDraggable?: boolean;
/**
* Prevents items from being hovered and dropped into
*
* @default false
*/
isDroppable?: DraggableProps['isDroppable'];
collectionId?: string;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
delete: (id: string) => any;
onDragEnd: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => any;
colorModal: (id: string) => any;
rename: (id: string) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onDelete?: ((id: string) => any) | undefined;
onOnDragEnd?: ((draggingItem: DraggingItem, hoveredItem: HoveredItem) => any) | undefined;
onColorModal?: ((id: string) => any) | undefined;
onRename?: ((id: string) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=SidebarListElement.vue.d.ts.map