UNPKG

@bitrix24/b24ui-nuxt

Version:

Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE

45 lines (44 loc) 1.48 kB
import type { AppConfig } from '@nuxt/schema'; import theme from '#build/b24ui/sidebar-layout'; import type { ComponentConfig } from '../types/utils'; type SidebarLayout = ComponentConfig<typeof theme, AppConfig, 'sidebarLayout'>; export interface SidebarLayoutProps { /** * The element or component this component should render as. * @defaultValue 'div' */ as?: any; useLightContent?: boolean; class?: any; b24ui?: SidebarLayout['slots']; } export interface SidebarLayoutSlots { /** * Menu for all screen sizes. * @param props * @param props.handleClick - Handler for navigation click events */ 'sidebar'(props: { handleClick: () => void; }): any; /** * Menu for mobile screen sizes. */ 'navbar'(props?: {}): any; /** * The page content. */ 'default'(props?: {}): any; 'content-top': (props?: {}) => any; 'content-bottom': (props?: {}) => any; } declare const _default: __VLS_WithSlots<import("vue").DefineComponent<SidebarLayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SidebarLayoutProps> & Readonly<{}>, { as: any; useLightContent: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, SidebarLayoutSlots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };