2020-08-31 06:59:56 +00:00
|
|
|
import { AntdComponent, AntdProps } from './component';
|
2020-08-20 13:27:28 +00:00
|
|
|
import { App, VNodeChild } from 'vue';
|
2019-09-26 13:46:38 +00:00
|
|
|
|
2019-09-28 12:45:07 +00:00
|
|
|
import { Locale } from './locale-provider';
|
2019-09-26 14:05:24 +00:00
|
|
|
|
|
|
|
export interface CSPConfig {
|
|
|
|
nonce?: string;
|
|
|
|
}
|
|
|
|
|
2019-09-26 13:46:38 +00:00
|
|
|
export declare class ConfigProvider extends AntdComponent {
|
2020-08-31 06:59:56 +00:00
|
|
|
$props: AntdProps & {
|
2020-08-20 13:27:28 +00: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 13:46:38 +00:00
|
|
|
}
|