2020-08-31 14:59:56 +08:00
|
|
|
import { AntdComponent, AntdProps } from './component';
|
2020-08-20 21:27:28 +08:00
|
|
|
import { App, VNodeChild } from 'vue';
|
2019-09-26 21:46:38 +08:00
|
|
|
|
2019-09-28 20:45:07 +08:00
|
|
|
import { Locale } from './locale-provider';
|
2019-09-26 22:05:24 +08:00
|
|
|
|
|
|
|
export interface CSPConfig {
|
|
|
|
nonce?: string;
|
|
|
|
}
|
|
|
|
|
2019-09-26 21:46:38 +08:00
|
|
|
export declare class ConfigProvider extends AntdComponent {
|
2020-08-31 14:59:56 +08:00
|
|
|
$props: AntdProps & {
|
2020-08-20 21:27:28 +08:00
|
|
|
getPopupContainer?: (triggerNode: HTMLElement, dialogContext?: App | null) => HTMLElement;
|
|
|
|
getPrefixCls?: (suffixCls: string, customizePrefixCls?: string) => string;
|
|
|
|
renderEmpty?: Function | VNodeChild | JSX.Element;
|
|
|
|
csp?: CSPConfig;
|
|
|
|
autoInsertSpaceInButton?: boolean;
|
|
|
|
transformCellText?: Function | VNodeChild | JSX.Element;
|
|
|
|
locale: Locale | object;
|
|
|
|
};
|
2019-09-26 21:46:38 +08:00
|
|
|
}
|