1 | import type { PropType, ExtractPropTypes, CSSProperties } from 'vue';
|
2 | export declare type CollapseType = 'clickTrigger' | 'responsive';
|
3 | export declare const siderProps: {
|
4 | prefixCls: import("vue-types").VueTypeValidableDef<string> & {
|
5 | default: string;
|
6 | };
|
7 | collapsible: import("vue-types").VueTypeValidableDef<boolean>;
|
8 | collapsed: import("vue-types").VueTypeValidableDef<boolean>;
|
9 | defaultCollapsed: import("vue-types").VueTypeValidableDef<boolean>;
|
10 | reverseArrow: import("vue-types").VueTypeValidableDef<boolean>;
|
11 | zeroWidthTriggerStyle: import("vue-types").VueTypeValidableDef<CSSProperties>;
|
12 | trigger: import("vue-types").VueTypeValidableDef<any>;
|
13 | width: import("vue-types").VueTypeDef<string | number>;
|
14 | collapsedWidth: import("vue-types").VueTypeDef<string | number>;
|
15 | breakpoint: import("vue-types").VueTypeDef<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs">;
|
16 | theme: import("vue-types").VueTypeDef<"dark" | "light"> & {
|
17 | default: "dark" | "light";
|
18 | };
|
19 | onBreakpoint: PropType<(broken: boolean) => void>;
|
20 | onCollapse: PropType<(collapsed: boolean, type: CollapseType) => void>;
|
21 | };
|
22 | export declare type SiderProps = Partial<ExtractPropTypes<typeof siderProps>>;
|
23 | export interface SiderContextProps {
|
24 | sCollapsed?: boolean;
|
25 | collapsedWidth?: string | number;
|
26 | }
|
27 | declare const _default: import("vue").DefineComponent<{
|
28 | prefixCls: import("vue-types").VueTypeValidableDef<string> & {
|
29 | default: string;
|
30 | };
|
31 | collapsible: import("vue-types").VueTypeValidableDef<boolean>;
|
32 | collapsed: import("vue-types").VueTypeValidableDef<boolean>;
|
33 | defaultCollapsed: import("vue-types").VueTypeValidableDef<boolean>;
|
34 | reverseArrow: import("vue-types").VueTypeValidableDef<boolean>;
|
35 | zeroWidthTriggerStyle: import("vue-types").VueTypeValidableDef<CSSProperties>;
|
36 | trigger: import("vue-types").VueTypeValidableDef<any>;
|
37 | width: import("vue-types").VueTypeDef<string | number>;
|
38 | collapsedWidth: import("vue-types").VueTypeDef<string | number>;
|
39 | breakpoint: import("vue-types").VueTypeDef<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs">;
|
40 | theme: import("vue-types").VueTypeDef<"dark" | "light"> & {
|
41 | default: "dark" | "light";
|
42 | };
|
43 | onBreakpoint: PropType<(broken: boolean) => void>;
|
44 | onCollapse: PropType<(collapsed: boolean, type: CollapseType) => void>;
|
45 | }, () => 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<ExtractPropTypes<{
|
46 | prefixCls: import("vue-types").VueTypeValidableDef<string> & {
|
47 | default: string;
|
48 | };
|
49 | collapsible: import("vue-types").VueTypeValidableDef<boolean>;
|
50 | collapsed: import("vue-types").VueTypeValidableDef<boolean>;
|
51 | defaultCollapsed: import("vue-types").VueTypeValidableDef<boolean>;
|
52 | reverseArrow: import("vue-types").VueTypeValidableDef<boolean>;
|
53 | zeroWidthTriggerStyle: import("vue-types").VueTypeValidableDef<CSSProperties>;
|
54 | trigger: import("vue-types").VueTypeValidableDef<any>;
|
55 | width: import("vue-types").VueTypeDef<string | number>;
|
56 | collapsedWidth: import("vue-types").VueTypeDef<string | number>;
|
57 | breakpoint: import("vue-types").VueTypeDef<"xxxl" | "xxl" | "xl" | "lg" | "md" | "sm" | "xs">;
|
58 | theme: import("vue-types").VueTypeDef<"dark" | "light"> & {
|
59 | default: "dark" | "light";
|
60 | };
|
61 | onBreakpoint: PropType<(broken: boolean) => void>;
|
62 | onCollapse: PropType<(collapsed: boolean, type: CollapseType) => void>;
|
63 | }>> & {
|
64 | onBreakpoint?: (...args: any[]) => any;
|
65 | onCollapse?: (...args: any[]) => any;
|
66 | "onUpdate:collapsed"?: (...args: any[]) => any;
|
67 | }, {
|
68 | prefixCls: string;
|
69 | theme: "dark" | "light";
|
70 | }>;
|
71 | export default _default;
|