UNPKG

@eslamdevui/ui

Version:

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.

29 lines (28 loc) 1.28 kB
import type { AppConfig } from '@nuxt/schema'; import type { ComponentConfig } from '../types'; import type { UseResizableProps } from '../composables/useResizable'; import theme from '#build/ui/dashboard-panel'; type DashboardPanel = ComponentConfig<typeof theme, AppConfig, 'dashboardPanel'>; export interface DashboardPanelProps extends Pick<UseResizableProps, 'id' | 'minSize' | 'maxSize' | 'defaultSize' | 'resizable'> { class?: any; ui?: DashboardPanel['slots']; } export interface DashboardPanelSlots { 'default'(props?: {}): any; 'header'(props?: {}): any; 'body'(props?: {}): any; 'footer'(props?: {}): any; 'resize-handle'(props: { onMouseDown: (e: MouseEvent) => void; onTouchStart: (e: TouchEvent) => void; }): any; } declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DashboardPanelProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DashboardPanelProps> & Readonly<{}>, { resizable: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, DashboardPanelSlots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };