UNPKG

ant-design-vue

Version:

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

239 lines (238 loc) 9.52 kB
import type { ExtractPropTypes } from 'vue'; export declare const SpinSize: import("vue-types").VueTypeDef<"default" | "small" | "large">; export declare const getSpinProps: () => { prefixCls: import("vue-types").VueTypeValidableDef<string> & { default: string; }; spinning: import("vue-types").VueTypeValidableDef<boolean>; size: import("vue-types").VueTypeDef<"default" | "small" | "large">; wrapperClassName: import("vue-types").VueTypeValidableDef<string> & { default: string; }; tip: import("vue-types").VueTypeValidableDef<string> & { default: string; }; delay: import("vue-types").VueTypeValidableDef<number> & { default: number; }; indicator: import("vue-types").VueTypeValidableDef<any>; }; export declare type SpinProps = Partial<ExtractPropTypes<ReturnType<typeof getSpinProps>>>; export declare function setDefaultIndicator(Content: any): void; declare const _default: import("vue").DefineComponent<{ prefixCls: import("vue-types").VueTypeValidableDef<string> & { default: string; }; spinning: import("vue-types").VueTypeValidableDef<boolean>; size: import("vue-types").VueTypeDef<"default" | "small" | "large">; wrapperClassName: import("vue-types").VueTypeValidableDef<string> & { default: string; }; tip: import("vue-types").VueTypeValidableDef<string> & { default: string; }; delay: import("vue-types").VueTypeValidableDef<number> & { default: number; }; indicator: import("vue-types").VueTypeValidableDef<any>; }, { originalUpdateSpinning: 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; }; }, { sSpinning: boolean; }, {}, { debouncifyUpdateSpinning(props?: any): void; updateSpinning(): void; cancelExistingSpin(): void; renderIndicator(prefixCls: string): JSX.Element; }, { methods: { setState(state: {}, callback: any): void; __emit(...args: any[]): void; }; }, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{ prefixCls?: unknown; spinning?: unknown; size?: unknown; wrapperClassName?: unknown; tip?: unknown; delay?: unknown; indicator?: unknown; } & { prefixCls: string; wrapperClassName: string; tip: string; delay: number; } & { size?: "default" | "small" | "large"; spinning?: boolean; indicator?: any; }>, { prefixCls: string; wrapperClassName: string; tip: string; delay: number; }>; export default _default;