2019-01-01 12:13:51 +08:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
|
|
|
import { AntdComponent } from './component';
|
|
|
|
|
2019-09-26 22:05:24 +08:00
|
|
|
export interface ModalLocale {
|
|
|
|
okText: string;
|
|
|
|
cancelText: string;
|
|
|
|
justOkText: string;
|
|
|
|
}
|
|
|
|
export interface Locale {
|
|
|
|
locale: string;
|
|
|
|
Pagination?: Object;
|
|
|
|
DatePicker?: Object;
|
|
|
|
TimePicker?: Object;
|
|
|
|
Calendar?: Object;
|
|
|
|
Table?: Object;
|
|
|
|
Modal?: ModalLocale;
|
|
|
|
Popconfirm?: Object;
|
|
|
|
Transfer?: Object;
|
|
|
|
Select?: Object;
|
|
|
|
Upload?: Object;
|
|
|
|
}
|
|
|
|
|
2019-01-01 12:13:51 +08:00
|
|
|
export declare class LocaleProvider extends AntdComponent {
|
|
|
|
/**
|
|
|
|
* language package setting, you can find the packages in this path: antd/lib/locale-provider/
|
|
|
|
* @type object
|
|
|
|
*/
|
|
|
|
locale: object;
|
|
|
|
}
|