77 lines
1.9 KiB
TypeScript
Executable File
77 lines
1.9 KiB
TypeScript
Executable File
/**
|
|
*
|
|
* Sidebar is a panel component displayed as an overlay at the edges of the screen.
|
|
*
|
|
* [Live Demo](https://primevue.org/drawer)
|
|
*
|
|
* @module sidebar
|
|
*
|
|
*/
|
|
import 'vue';
|
|
import * as Drawer from '../drawer';
|
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
|
|
/**
|
|
* Custom passthrough(pt) option method.
|
|
*/
|
|
export interface SidebarPassThroughMethodOptions extends Drawer.DrawerPassThroughMethodOptions {}
|
|
|
|
/**
|
|
* Custom shared passthrough(pt) option method.
|
|
*/
|
|
export interface SidebarSharedPassThroughMethodOptions extends Drawer.DrawerSharedPassThroughMethodOptions {}
|
|
|
|
/**
|
|
* Custom passthrough(pt) options.
|
|
* @see {@link SidebarProps.pt}
|
|
*/
|
|
export interface SidebarPassThroughOptions extends Drawer.DrawerPassThroughOptions {}
|
|
|
|
/**
|
|
* Custom passthrough attributes for each DOM elements
|
|
*/
|
|
export interface SidebarPassThroughAttributes extends Drawer.DrawerPassThroughAttributes {}
|
|
|
|
/**
|
|
* Defines current inline state in Sidebar component.
|
|
*/
|
|
export interface SidebarState extends Drawer.DrawerState {}
|
|
|
|
/**
|
|
* Defines valid properties in Sidebar component.
|
|
*/
|
|
export interface SidebarProps extends Drawer.DrawerProps {}
|
|
|
|
/**
|
|
* Defines valid slots in Sidebar component.
|
|
*/
|
|
export interface SidebarSlots extends Drawer.DrawerSlots {}
|
|
|
|
/**
|
|
* Defines valid emits in Sidebar component.
|
|
*/
|
|
export interface SidebarEmits extends Drawer.DrawerEmits {}
|
|
|
|
/**
|
|
* @deprecated Deprecated since v4. Use Drawer component instead.
|
|
*
|
|
* **PrimeVue - Sidebar**
|
|
*
|
|
* _Sidebar is a panel component displayed as an overlay._
|
|
*
|
|
* [Live Demo](https://www.primevue.org/drawer/)
|
|
* --- ---
|
|
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
|
*
|
|
* @group Component
|
|
*/
|
|
declare class Sidebar extends ClassComponent<SidebarProps, SidebarSlots, SidebarEmits> {}
|
|
|
|
declare module 'vue' {
|
|
export interface GlobalComponents {
|
|
Sidebar: GlobalComponentConstructor<Sidebar>;
|
|
}
|
|
}
|
|
|
|
export default Sidebar;
|