choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
24 lines (23 loc) • 790 B
TypeScript
import { ReactNode } from 'react';
import { TextField, TextFieldProps } from '../text-field/TextField';
import { ModalProps } from '../modal/Modal';
export interface IntlFieldProps extends TextFieldProps {
modalProps?: ModalProps;
maxLengths?: object;
}
export default class IntlField extends TextField<IntlFieldProps> {
static displayName: string;
modal: any;
locales?: object;
loading?: boolean;
openModal: () => Promise<void>;
setLoading(loading: any): void;
handleIntlListClose: () => Promise<void>;
handleIntlListOk(): Promise<boolean | undefined>;
handleIntlListCancel(): Promise<void>;
handleKeyDown(e: any): void;
handleBlur(e: any): void;
storeLocales(): void;
getSuffix(): ReactNode;
componentWillUnmount(): void;
}