2019-09-26 21:46:38 +08:00
|
|
|
import { AntdComponent } from './component';
|
2019-11-26 22:00:30 +08:00
|
|
|
import Vue 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 {
|
2019-11-26 22:00:30 +08:00
|
|
|
getPopupContainer?: (triggerNode: HTMLElement, dialogContext?: Vue | null) => HTMLElement;
|
2019-09-26 22:05:24 +08:00
|
|
|
getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => string;
|
|
|
|
renderEmpty: Function;
|
|
|
|
csp?: CSPConfig;
|
|
|
|
autoInsertSpaceInButton?: boolean;
|
2020-04-23 15:40:17 +08:00
|
|
|
transformCellText?: Function;
|
2019-09-26 21:46:38 +08:00
|
|
|
}
|