@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
69 lines • 3.08 kB
TypeScript
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & (new () => {
$slots: S;
});
declare const __VLS_component: import('vue').DefineComponent<{}, {
resizePanel: (panelId: string, newPixelSize: number) => void;
collapsePanel: (panelId: string, collapsed: boolean, options?: import('./composables').CollapseOptions) => void;
resetPanels: typeof resetPanels;
state: import('vue').ComputedRef<{
direction: string;
panels: import('./resizable_constants').ResizablePanelState[];
containerSize: number;
isResizing: boolean;
activeHandleId: undefined;
}>;
panelConfigs: import('vue').ComputedRef<unknown[]>;
allocationStrategy: import('vue').ComputedRef<string>;
$emit: (event: "panel-resize" | "panel-collapse" | "resize-start" | "resize-end", ...args: any[]) => void;
class: string | unknown[] | Record<string, any>;
messages: Record<string, any>;
direction: string;
panels: unknown[];
storage: Record<string, any>;
storageKey: string;
offsetElement: string;
offsetAmount: number;
offsetDirection: string;
spaceAllocationStrategy: string;
collapseRules: unknown[];
$props: {
readonly class?: string | unknown[] | Record<string, any> | undefined;
readonly messages?: Record<string, any> | undefined;
readonly direction?: string | undefined;
readonly panels?: unknown[] | undefined;
readonly storage?: Record<string, any> | undefined;
readonly storageKey?: string | undefined;
readonly offsetElement?: string | undefined;
readonly offsetAmount?: number | undefined;
readonly offsetDirection?: string | undefined;
readonly spaceAllocationStrategy?: string | undefined;
readonly collapseRules?: unknown[] | undefined;
};
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
containerRef: HTMLDivElement;
}, HTMLDivElement>;
type __VLS_TemplateResult = {
attrs: Partial<{}>;
slots: {
default?(_: {
panels: ResizablePanelState[];
direction: string;
isResizing: boolean;
spaceAllocationStrategy: string;
resizePanel: (panelId: string, newPixelSize: number) => void;
collapsePanel: (panelId: string, collapsed: boolean, options?: CollapseOptions | undefined) => void;
startResize: typeof startResize;
stopResize: typeof stopResize;
}): any;
};
refs: {
containerRef: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
declare function resetPanels(beforePanelId: any, afterPanelId: any, behavior?: string): void;
declare function startResize(handleId: any): void;
declare function stopResize(): void;
//# sourceMappingURL=resizable.vue.d.ts.map