@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
40 lines (39 loc) • 1.55 kB
TypeScript
import { CascadePanel, CascadePanelId } from '../../compositions';
type __VLS_Props = {
panels: CascadePanel[];
panelTransitionName?: string;
transitionName?: string;
};
declare var __VLS_18: string, __VLS_19: {
isOpen: import("vue").Ref<boolean>;
close: () => void;
open: () => void;
toggle: () => void;
};
type __VLS_Slots = {} & {
[K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
close: () => void;
closeAll: () => void;
closePanelById: (id: CascadePanelId) => void;
getPanelById: (id: CascadePanelId) => CascadePanel | undefined;
getPanelIsOpenById: (id: CascadePanelId) => boolean;
isOpen: import("vue").Ref<boolean, boolean>;
open: () => void;
openPanelById: (id: CascadePanelId) => void;
openPanels: import("vue").ComputedRef<CascadePanel[]>;
panels: import("vue").Ref<CascadePanel[], CascadePanel[]>;
toggle: () => void;
togglePanelById: (id: CascadePanelId) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
panelTransitionName: string;
transitionName: string;
}, {}, {}, {}, 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;
};
};