UNPKG

3.77 kBTypeScriptView Raw
1import { sizePropValidator } from '../../mixins';
2import { Classes } from '../../types';
3declare const _default: import("vue").DefineComponent<{
4 /**
5 * The aria-label of the sidebar
6 * @type String
7 * @default Sidebar
8 * @name ariaLabel
9 */
10 ariaLabel: {
11 type: StringConstructor;
12 default: string;
13 };
14 /**
15 * Determines if the sidebar should close when clicking a sidebar item
16 * @type Boolean
17 * @default true
18 * @name collapseOnItemClick
19 */
20 collapseOnItemClick: {
21 type: BooleanConstructor;
22 default: boolean;
23 };
24 /**
25 * Determines if the sidebar should close when clicking outside, on the overlay
26 * @type Boolean
27 * @default true
28 * @name collapseOnClickOutside
29 */
30 collapseOnClickOutside: {
31 type: BooleanConstructor;
32 default: boolean;
33 };
34 /**
35 * The collapse position of the sidebar
36 * @type fixed | absolute | relative
37 * @default absolute
38 * @name collapsePosition
39 */
40 collapsePosition: {
41 type: StringConstructor;
42 default: string;
43 };
44 /**
45 * The color variant of the sidebar
46 * @type light | dark
47 * @default light
48 * @name color
49 */
50 color: {
51 type: StringConstructor;
52 default: () => string;
53 };
54 /**
55 * The placement of the sidebar
56 * @type left | right
57 * @default left
58 * @name placement
59 */
60 placement: {
61 type: StringConstructor;
62 default: string;
63 };
64 /**
65 * The size variant of the navbar
66 * @type sm | md | lg
67 * @default md
68 * @name size
69 */
70 size: {
71 type: StringConstructor;
72 default: () => string;
73 validator: typeof sizePropValidator;
74 };
75}, unknown, unknown, {
76 classes(): Classes;
77 sidebarWrapperTransition(): string;
78 sidebarTransition(): string;
79}, {
80 onItemClick(): void;
81 onOverlayClick(): void;
82}, import("vue").DefineComponent<{
83 collapse: {
84 type: (StringConstructor | BooleanConstructor)[];
85 default: string;
86 };
87 modelValue: {
88 type: BooleanConstructor;
89 default: boolean;
90 };
91}, unknown, {
92 open: boolean;
93 windowWidth: number;
94}, {
95 collapsibleClasses(): Classes;
96 collapsible(): boolean;
97}, {
98 setOpen(value: boolean): void;
99 toggleOpen(): void;
100 onWindowResize(): void;
101}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
102 collapse?: unknown;
103 modelValue?: unknown;
104} & {
105 modelValue: boolean;
106 collapse: string | boolean;
107} & {}> & {
108 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
109}, {
110 modelValue: boolean;
111 collapse: string | boolean;
112}>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
113 ariaLabel?: unknown;
114 collapseOnItemClick?: unknown;
115 collapseOnClickOutside?: unknown;
116 collapsePosition?: unknown;
117 color?: unknown;
118 placement?: unknown;
119 size?: unknown;
120} & {
121 color: string;
122 size: string;
123 placement: string;
124 ariaLabel: string;
125 collapseOnItemClick: boolean;
126 collapseOnClickOutside: boolean;
127 collapsePosition: string;
128} & {}> & {
129 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
130}, {
131 color: string;
132 size: string;
133 placement: string;
134 ariaLabel: string;
135 collapseOnItemClick: boolean;
136 collapseOnClickOutside: boolean;
137 collapsePosition: string;
138}>;
139export default _default;
140
\No newline at end of file