UNPKG

16.3 kBTypeScriptView Raw
1import type { App } from 'vue';
2export type { BasicProps as LayoutProps } from './layout';
3export type { SiderProps } from './Sider';
4export declare const LayoutHeader: import("vue").DefineComponent<{
5 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
6 default: string;
7 };
8 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
9 tagName: import("vue-types").VueTypeValidableDef<string> & {
10 default: string;
11 };
12}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
14 default: string;
15 };
16 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
17 tagName: import("vue-types").VueTypeValidableDef<string> & {
18 default: string;
19 };
20}>>, {
21 prefixCls: string;
22 tagName: string;
23}>;
24export declare const LayoutFooter: import("vue").DefineComponent<{
25 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
26 default: string;
27 };
28 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
29 tagName: import("vue-types").VueTypeValidableDef<string> & {
30 default: string;
31 };
32}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
34 default: string;
35 };
36 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
37 tagName: import("vue-types").VueTypeValidableDef<string> & {
38 default: string;
39 };
40}>>, {
41 prefixCls: string;
42 tagName: string;
43}>;
44export declare const LayoutSider: import("vue").DefineComponent<{
45 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
46 default: string;
47 };
48 collapsible: import("vue-types").VueTypeValidableDef<boolean>;
49 collapsed: import("vue-types").VueTypeValidableDef<boolean>;
50 defaultCollapsed: import("vue-types").VueTypeValidableDef<boolean>;
51 reverseArrow: import("vue-types").VueTypeValidableDef<boolean>;
52 zeroWidthTriggerStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
53 trigger: import("vue-types").VueTypeValidableDef<any>;
54 width: import("vue-types").VueTypeDef<string | number>;
55 collapsedWidth: import("vue-types").VueTypeDef<string | number>;
56 breakpoint: import("vue-types").VueTypeDef<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs">;
57 theme: import("vue-types").VueTypeDef<"dark" | "light"> & {
58 default: "dark" | "light";
59 };
60 onBreakpoint: import("vue").PropType<(broken: boolean) => void>;
61 onCollapse: import("vue").PropType<(collapsed: boolean, type: import("./Sider").CollapseType) => void>;
62}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("collapse" | "breakpoint" | "update:collapsed")[], "collapse" | "breakpoint" | "update:collapsed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
64 default: string;
65 };
66 collapsible: import("vue-types").VueTypeValidableDef<boolean>;
67 collapsed: import("vue-types").VueTypeValidableDef<boolean>;
68 defaultCollapsed: import("vue-types").VueTypeValidableDef<boolean>;
69 reverseArrow: import("vue-types").VueTypeValidableDef<boolean>;
70 zeroWidthTriggerStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
71 trigger: import("vue-types").VueTypeValidableDef<any>;
72 width: import("vue-types").VueTypeDef<string | number>;
73 collapsedWidth: import("vue-types").VueTypeDef<string | number>;
74 breakpoint: import("vue-types").VueTypeDef<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs">;
75 theme: import("vue-types").VueTypeDef<"dark" | "light"> & {
76 default: "dark" | "light";
77 };
78 onBreakpoint: import("vue").PropType<(broken: boolean) => void>;
79 onCollapse: import("vue").PropType<(collapsed: boolean, type: import("./Sider").CollapseType) => void>;
80}>> & {
81 onBreakpoint?: (...args: any[]) => any;
82 onCollapse?: (...args: any[]) => any;
83 "onUpdate:collapsed"?: (...args: any[]) => any;
84}, {
85 prefixCls: string;
86 theme: "dark" | "light";
87}>;
88export declare const LayoutContent: import("vue").DefineComponent<{
89 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
90 default: string;
91 };
92 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
93 tagName: import("vue-types").VueTypeValidableDef<string> & {
94 default: string;
95 };
96}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
97 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
98 default: string;
99 };
100 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
101 tagName: import("vue-types").VueTypeValidableDef<string> & {
102 default: string;
103 };
104}>>, {
105 prefixCls: string;
106 tagName: string;
107}>;
108declare const _default: {
109 new (...args: any[]): {
110 $: import("vue").ComponentInternalInstance;
111 $data: {};
112 $props: Partial<{
113 prefixCls: string;
114 tagName: string;
115 }> & Omit<Readonly<import("vue").ExtractPropTypes<{
116 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
117 default: string;
118 };
119 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
120 tagName: import("vue-types").VueTypeValidableDef<string> & {
121 default: string;
122 };
123 }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "prefixCls" | "tagName">;
124 $attrs: {
125 [x: string]: unknown;
126 };
127 $refs: {
128 [x: string]: unknown;
129 };
130 $slots: Readonly<{
131 [name: string]: import("vue").Slot;
132 }>;
133 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
134 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
135 $emit: (event: string, ...args: any[]) => void;
136 $el: any;
137 $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
138 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
139 default: string;
140 };
141 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
142 tagName: import("vue-types").VueTypeValidableDef<string> & {
143 default: string;
144 };
145 }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
146 prefixCls: string;
147 tagName: string;
148 }> & {
149 beforeCreate?: (() => void) | (() => void)[];
150 created?: (() => void) | (() => void)[];
151 beforeMount?: (() => void) | (() => void)[];
152 mounted?: (() => void) | (() => void)[];
153 beforeUpdate?: (() => void) | (() => void)[];
154 updated?: (() => void) | (() => void)[];
155 activated?: (() => void) | (() => void)[];
156 deactivated?: (() => void) | (() => void)[];
157 beforeDestroy?: (() => void) | (() => void)[];
158 beforeUnmount?: (() => void) | (() => void)[];
159 destroyed?: (() => void) | (() => void)[];
160 unmounted?: (() => void) | (() => void)[];
161 renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
162 renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
163 errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
164 };
165 $forceUpdate: () => void;
166 $nextTick: typeof import("vue").nextTick;
167 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
168 } & Readonly<import("vue").ExtractPropTypes<{
169 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
170 default: string;
171 };
172 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
173 tagName: import("vue-types").VueTypeValidableDef<string> & {
174 default: string;
175 };
176 }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
177 __isFragment?: never;
178 __isTeleport?: never;
179 __isSuspense?: never;
180} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
181 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
182 default: string;
183 };
184 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
185 tagName: import("vue-types").VueTypeValidableDef<string> & {
186 default: string;
187 };
188}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
189 prefixCls: string;
190 tagName: string;
191}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
192 Header: import("vue").DefineComponent<{
193 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
194 default: string;
195 };
196 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
197 tagName: import("vue-types").VueTypeValidableDef<string> & {
198 default: string;
199 };
200 }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
201 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
202 default: string;
203 };
204 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
205 tagName: import("vue-types").VueTypeValidableDef<string> & {
206 default: string;
207 };
208 }>>, {
209 prefixCls: string;
210 tagName: string;
211 }>;
212 Footer: import("vue").DefineComponent<{
213 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
214 default: string;
215 };
216 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
217 tagName: import("vue-types").VueTypeValidableDef<string> & {
218 default: string;
219 };
220 }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
221 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
222 default: string;
223 };
224 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
225 tagName: import("vue-types").VueTypeValidableDef<string> & {
226 default: string;
227 };
228 }>>, {
229 prefixCls: string;
230 tagName: string;
231 }>;
232 Content: import("vue").DefineComponent<{
233 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
234 default: string;
235 };
236 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
237 tagName: import("vue-types").VueTypeValidableDef<string> & {
238 default: string;
239 };
240 }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
241 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
242 default: string;
243 };
244 hasSider: import("vue-types").VueTypeValidableDef<boolean>;
245 tagName: import("vue-types").VueTypeValidableDef<string> & {
246 default: string;
247 };
248 }>>, {
249 prefixCls: string;
250 tagName: string;
251 }>;
252 Sider: import("vue").DefineComponent<{
253 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
254 default: string;
255 };
256 collapsible: import("vue-types").VueTypeValidableDef<boolean>;
257 collapsed: import("vue-types").VueTypeValidableDef<boolean>;
258 defaultCollapsed: import("vue-types").VueTypeValidableDef<boolean>;
259 reverseArrow: import("vue-types").VueTypeValidableDef<boolean>;
260 zeroWidthTriggerStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
261 trigger: import("vue-types").VueTypeValidableDef<any>;
262 width: import("vue-types").VueTypeDef<string | number>;
263 collapsedWidth: import("vue-types").VueTypeDef<string | number>;
264 breakpoint: import("vue-types").VueTypeDef<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs">;
265 theme: import("vue-types").VueTypeDef<"dark" | "light"> & {
266 default: "dark" | "light";
267 };
268 onBreakpoint: import("vue").PropType<(broken: boolean) => void>;
269 onCollapse: import("vue").PropType<(collapsed: boolean, type: import("./Sider").CollapseType) => void>;
270 }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("collapse" | "breakpoint" | "update:collapsed")[], "collapse" | "breakpoint" | "update:collapsed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
271 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
272 default: string;
273 };
274 collapsible: import("vue-types").VueTypeValidableDef<boolean>;
275 collapsed: import("vue-types").VueTypeValidableDef<boolean>;
276 defaultCollapsed: import("vue-types").VueTypeValidableDef<boolean>;
277 reverseArrow: import("vue-types").VueTypeValidableDef<boolean>;
278 zeroWidthTriggerStyle: import("vue-types").VueTypeValidableDef<import("vue").CSSProperties>;
279 trigger: import("vue-types").VueTypeValidableDef<any>;
280 width: import("vue-types").VueTypeDef<string | number>;
281 collapsedWidth: import("vue-types").VueTypeDef<string | number>;
282 breakpoint: import("vue-types").VueTypeDef<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs">;
283 theme: import("vue-types").VueTypeDef<"dark" | "light"> & {
284 default: "dark" | "light";
285 };
286 onBreakpoint: import("vue").PropType<(broken: boolean) => void>;
287 onCollapse: import("vue").PropType<(collapsed: boolean, type: import("./Sider").CollapseType) => void>;
288 }>> & {
289 onBreakpoint?: (...args: any[]) => any;
290 onCollapse?: (...args: any[]) => any;
291 "onUpdate:collapsed"?: (...args: any[]) => any;
292 }, {
293 prefixCls: string;
294 theme: "dark" | "light";
295 }>;
296 install: (app: App) => App<any>;
297};
298export default _default;