UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

299 lines (298 loc) 11.5 kB
import type { CSSProperties, ExtractPropTypes, PropType } from 'vue'; import type { VueNode } from '../_util/type'; export interface PanelProps { isActive?: boolean; header?: VueNode; className?: string; class?: string; style?: CSSProperties; showArrow?: boolean; forceRender?: boolean; disabled?: boolean; extra?: VueNode; } declare type ActiveKeyType = Array<string | number> | string | number; declare const collapseProps: { prefixCls: import("vue-types").VueTypeValidableDef<string> & { default: string; }; activeKey: { type: PropType<ActiveKeyType>; }; defaultActiveKey: { type: PropType<ActiveKeyType>; }; accordion: import("vue-types").VueTypeValidableDef<boolean>; destroyInactivePanel: import("vue-types").VueTypeValidableDef<boolean>; bordered: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; }; expandIcon: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & { default: (...args: any[]) => any; }; openAnimation: import("vue-types").VueTypeValidableDef<{ [key: string]: any; }> & { default: () => { [key: string]: any; }; } & { default: () => { [key: string]: any; }; }; expandIconPosition: import("vue-types").VueTypeDef<"left" | "right"> & { default: "left" | "right"; }; 'onUpdate:activeKey': import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & { default: (...args: any[]) => any; }; onChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & { default: (...args: any[]) => any; }; }; export declare type CollapseProps = Partial<ExtractPropTypes<typeof collapseProps>>; declare const _default: import("vue").DefineComponent<{ prefixCls: import("vue-types").VueTypeValidableDef<string> & { default: string; }; activeKey: { type: PropType<ActiveKeyType>; }; defaultActiveKey: { type: PropType<ActiveKeyType>; }; accordion: import("vue-types").VueTypeValidableDef<boolean>; destroyInactivePanel: import("vue-types").VueTypeValidableDef<boolean>; bordered: import("vue-types").VueTypeValidableDef<boolean> & { default: boolean; }; expandIcon: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & { default: (...args: any[]) => any; }; openAnimation: import("vue-types").VueTypeValidableDef<{ [key: string]: any; }> & { default: () => { [key: string]: any; }; } & { default: () => { [key: string]: any; }; }; expandIconPosition: import("vue-types").VueTypeDef<"left" | "right"> & { default: "left" | "right"; }; 'onUpdate:activeKey': import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & { default: (...args: any[]) => any; }; onChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & { default: (...args: any[]) => any; }; }, { configProvider: { getTargetContainer?: () => HTMLElement; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; prefixCls?: string; getPrefixCls?: (suffixCls?: string, customizePrefixCls?: string) => string; renderEmpty?: typeof import("../config-provider/renderEmpty").default; transformCellText?: (tableProps: import("../table/interface").TransformCellTextProps) => any; csp?: unknown; autoInsertSpaceInButton?: boolean; locale?: { locale: string; Pagination?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; DatePicker?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; TimePicker?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; Calendar?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; Table?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; Modal?: { okText: string; cancelText: string; justOkText: string; }; Popconfirm?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; Transfer?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; Select?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; Upload?: { constructor: Function; toString: () => string; toLocaleString: () => string; valueOf: () => Object; hasOwnProperty: (v: PropertyKey) => boolean; isPrototypeOf: (v: Object) => boolean; propertyIsEnumerable: (v: PropertyKey) => boolean; }; Form?: { optional?: string; defaultValidateMessages: { default?: string | (() => string); required?: string | (() => string); enum?: string | (() => string); whitespace?: string | (() => string); date?: { format?: string | (() => string); parse?: string | (() => string); invalid?: string | (() => string); }; types?: { string?: string | (() => string); method?: string | (() => string); array?: string | (() => string); object?: string | (() => string); number?: string | (() => string); date?: string | (() => string); boolean?: string | (() => string); integer?: string | (() => string); float?: string | (() => string); regexp?: string | (() => string); email?: string | (() => string); url?: string | (() => string); hex?: string | (() => string); }; string?: { len?: string | (() => string); min?: string | (() => string); max?: string | (() => string); range?: string | (() => string); }; number?: { len?: string | (() => string); min?: string | (() => string); max?: string | (() => string); range?: string | (() => string); }; array?: { len?: string | (() => string); min?: string | (() => string); max?: string | (() => string); range?: string | (() => string); }; pattern?: { mismatch?: string | (() => string); }; }; }; Image?: { preview: string; }; }; pageHeader?: { ghost: boolean; }; componentSize?: import("../config-provider").SizeType; direction?: "ltr" | "rtl"; space?: { size: number | import("../config-provider").SizeType; }; virtual?: boolean; dropdownMatchSelectWidth?: boolean; form?: unknown; }; }, unknown, {}, { renderExpandIcon(panelProps: PanelProps, prefixCls: string): any; handleChange(activeKey: ActiveKeyType): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ prefixCls?: unknown; activeKey?: unknown; defaultActiveKey?: unknown; accordion?: unknown; destroyInactivePanel?: unknown; bordered?: unknown; expandIcon?: unknown; openAnimation?: unknown; expandIconPosition?: unknown; 'onUpdate:activeKey'?: unknown; onChange?: unknown; } & { prefixCls: string; bordered: boolean; openAnimation: { [key: string]: any; }; expandIconPosition: "left" | "right"; } & { onChange?: (...args: any[]) => any; expandIcon?: (...args: any[]) => any; activeKey?: ActiveKeyType; "onUpdate:activeKey"?: (...args: any[]) => any; defaultActiveKey?: ActiveKeyType; accordion?: boolean; destroyInactivePanel?: boolean; }>, { prefixCls: string; onChange: (...args: any[]) => any; bordered: boolean; expandIcon: (...args: any[]) => any; "onUpdate:activeKey": (...args: any[]) => any; openAnimation: { [key: string]: any; }; expandIconPosition: "left" | "right"; }>; export default _default;