amis 1.9.0 → 1.9.1-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/RootRenderer.js +10 -2
- package/lib/RootRenderer.js.map +2 -2
- package/lib/Schema.d.ts +3 -2
- package/lib/Schema.js.map +1 -1
- package/lib/actions/Action.d.ts +1 -0
- package/lib/actions/Action.js +7 -6
- package/lib/actions/Action.js.map +2 -2
- package/lib/components/Button.d.ts +11 -10
- package/lib/components/Button.js +2 -2
- package/lib/components/Button.js.map +2 -2
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/Checkbox.js.map +2 -2
- package/lib/components/ContextMenu.d.ts +4 -0
- package/lib/components/ContextMenu.js +23 -7
- package/lib/components/ContextMenu.js.map +2 -2
- package/lib/components/DatePicker.d.ts +40 -40
- package/lib/components/DateRangePicker.d.ts +40 -40
- package/lib/components/Form.d.ts +22 -0
- package/lib/components/Form.js +44 -0
- package/lib/components/Form.js.map +13 -0
- package/lib/components/FormField.d.ts +65 -0
- package/lib/components/FormField.js +48 -0
- package/lib/components/FormField.js.map +13 -0
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +4 -3
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +280 -0
- package/lib/components/InputBoxWithSuggestion.js +65 -0
- package/lib/components/InputBoxWithSuggestion.js.map +13 -0
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/PickerContainer.d.ts +4 -2
- package/lib/components/PickerContainer.js +28 -5
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/Select.d.ts +195 -202
- package/lib/components/Select.js +7 -3
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Textarea.d.ts +568 -2
- package/lib/components/Textarea.js +129 -1
- package/lib/components/Textarea.js.map +2 -2
- package/lib/components/Toast.js +11 -9
- package/lib/components/Toast.js.map +2 -2
- package/lib/components/UserSelect.d.ts +500 -0
- package/lib/components/UserSelect.js +559 -0
- package/lib/components/UserSelect.js.map +13 -0
- package/lib/components/UserTabSelect.d.ts +320 -0
- package/lib/components/UserTabSelect.js +163 -0
- package/lib/components/UserTabSelect.js.map +13 -0
- package/lib/components/WithRemoteConfig.d.ts +7 -0
- package/lib/components/WithRemoteConfig.js +17 -11
- package/lib/components/WithRemoteConfig.js.map +2 -2
- package/lib/components/calendar/DaysView.d.ts +26 -1
- package/lib/components/calendar/DaysView.js +60 -19
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/components/calendar/TimeView.d.ts +1 -1
- package/lib/components/calendar/TimeView.js +10 -3
- package/lib/components/calendar/TimeView.js.map +2 -2
- package/lib/components/formula/Picker.js +4 -4
- package/lib/components/formula/Picker.js.map +2 -2
- package/lib/components/icons.d.ts +7 -1
- package/lib/components/icons.js +17 -1
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +2 -1
- package/lib/components/index.js +3 -1
- package/lib/components/index.js.map +2 -2
- package/lib/components/json-schema/Array.d.ts +3 -0
- package/lib/components/json-schema/Array.js +125 -0
- package/lib/components/json-schema/Array.js.map +13 -0
- package/lib/components/json-schema/Item.d.ts +3 -0
- package/lib/components/json-schema/Item.js +34 -0
- package/lib/components/json-schema/Item.js.map +13 -0
- package/lib/components/json-schema/Object.d.ts +3 -0
- package/lib/components/json-schema/Object.js +178 -0
- package/lib/components/json-schema/Object.js.map +13 -0
- package/lib/components/json-schema/index.d.ts +279 -0
- package/lib/components/json-schema/index.js +16 -0
- package/lib/components/json-schema/index.js.map +13 -0
- package/lib/components/schema-editor/Array.js +2 -2
- package/lib/components/schema-editor/Array.js.map +2 -2
- package/lib/components/schema-editor/Common.d.ts +2 -0
- package/lib/components/schema-editor/Common.js +39 -3
- package/lib/components/schema-editor/Common.js.map +2 -2
- package/lib/components/schema-editor/Object.js +2 -2
- package/lib/components/schema-editor/Object.js.map +2 -2
- package/lib/components/schema-editor/index.d.ts +45 -41
- package/lib/components/schema-editor/index.js +5 -5
- package/lib/components/schema-editor/index.js.map +2 -2
- package/lib/helper.css +125 -124
- package/lib/helper.css.map +1 -1
- package/lib/hooks/use-validation-resolver.d.ts +1 -0
- package/lib/hooks/use-validation-resolver.js +49 -0
- package/lib/hooks/use-validation-resolver.js.map +13 -0
- package/lib/icons/department.js +17 -0
- package/lib/icons/menu.js +9 -0
- package/lib/icons/post.js +15 -0
- package/lib/icons/role.js +14 -0
- package/lib/icons/user-remove.js +12 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +11 -1
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +12 -1
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +14 -3
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.js +25 -11
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/CRUD.js +5 -1
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Dialog.js +9 -3
- package/lib/renderers/Dialog.js.map +2 -2
- package/lib/renderers/Drawer.js +5 -1
- package/lib/renderers/Drawer.js.map +2 -2
- package/lib/renderers/Form/InputDate.d.ts +2 -2
- package/lib/renderers/Form/InputDate.js.map +2 -2
- package/lib/renderers/Form/InputFile.js +5 -12
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputText.d.ts +1 -1
- package/lib/renderers/Form/InputText.js.map +1 -1
- package/lib/renderers/Form/JSONSchema.d.ts +23 -0
- package/lib/renderers/Form/JSONSchema.js +44 -0
- package/lib/renderers/Form/JSONSchema.js.map +13 -0
- package/lib/renderers/Form/JSONSchemaEditor.d.ts +2 -3
- package/lib/renderers/Form/JSONSchemaEditor.js +9 -24
- package/lib/renderers/Form/JSONSchemaEditor.js.map +2 -2
- package/lib/renderers/Form/Textarea.d.ts +1 -8
- package/lib/renderers/Form/Textarea.js +11 -75
- package/lib/renderers/Form/Textarea.js.map +2 -2
- package/lib/renderers/Form/UserSelect.d.ts +54 -0
- package/lib/renderers/Form/UserSelect.js +197 -0
- package/lib/renderers/Form/UserSelect.js.map +13 -0
- package/lib/renderers/Form/index.d.ts +1 -1
- package/lib/renderers/Form/index.js +88 -42
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Link.d.ts +1 -1
- package/lib/renderers/Link.js +15 -29
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/Log.d.ts +28 -0
- package/lib/renderers/Log.js +110 -20
- package/lib/renderers/Log.js.map +2 -2
- package/lib/renderers/Page.js +5 -1
- package/lib/renderers/Page.js.map +2 -2
- package/lib/renderers/Service.js +5 -1
- package/lib/renderers/Service.js.map +2 -2
- package/lib/renderers/Wizard.js +37 -14
- package/lib/renderers/Wizard.js.map +2 -2
- package/lib/store/form.js +65 -45
- package/lib/store/form.js.map +2 -2
- package/lib/themes/ang-ie11.css +576 -24
- package/lib/themes/ang.css +553 -12
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +576 -24
- package/lib/themes/antd.css +553 -12
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +576 -24
- package/lib/themes/cxd.css +553 -12
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +576 -24
- package/lib/themes/dark.css +553 -12
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default-ie11.css +576 -24
- package/lib/themes/default.css +553 -12
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/api.js +1 -1
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/renderer-event.js.map +2 -2
- package/package.json +2 -1
- package/schema.json +542 -4
- package/scss/_properties.scss +20 -8
- package/scss/components/_input-box.scss +22 -1
- package/scss/components/_json-schema.scss +124 -0
- package/scss/components/_log.scss +37 -5
- package/scss/components/form/_date-range.scss +1 -0
- package/scss/components/form/_select.scss +9 -0
- package/scss/components/form/_transfer.scss +19 -3
- package/scss/components/form/_user-select.scss +422 -0
- package/scss/helper/background/_background-color.scss +125 -124
- package/scss/themes/_common.scss +2 -0
- package/sdk/ang-ie11.css +670 -24
- package/sdk/ang.css +647 -12
- package/sdk/antd-ie11.css +670 -24
- package/sdk/antd.css +647 -12
- package/sdk/barcode.js +51 -51
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +670 -24
- package/sdk/cxd.css +647 -12
- package/sdk/dark-ie11.css +670 -24
- package/sdk/dark.css +647 -12
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css +125 -124
- package/sdk/helper.css.map +1 -1
- package/sdk/locale/de-DE.js +11 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +16 -16
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +670 -24
- package/sdk/sdk.css +647 -12
- package/sdk/sdk.js +1651 -1637
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/RootRenderer.tsx +27 -15
- package/src/Schema.ts +5 -1
- package/src/actions/Action.ts +5 -4
- package/src/components/Button.tsx +3 -0
- package/src/components/Checkbox.tsx +2 -1
- package/src/components/ContextMenu.tsx +25 -7
- package/src/components/Form.tsx +70 -0
- package/src/components/FormField.tsx +127 -0
- package/src/components/InputBox.tsx +4 -1
- package/src/components/InputBoxWithSuggestion.tsx +113 -0
- package/src/components/PickerContainer.tsx +20 -5
- package/src/components/Select.tsx +18 -10
- package/src/components/Textarea.tsx +234 -2
- package/src/components/Toast.tsx +19 -18
- package/src/components/UserSelect.tsx +850 -0
- package/src/components/UserTabSelect.tsx +261 -0
- package/src/components/WithRemoteConfig.tsx +22 -7
- package/src/components/calendar/DaysView.tsx +117 -49
- package/src/components/calendar/TimeView.tsx +11 -6
- package/src/components/formula/Picker.tsx +2 -1
- package/src/components/icons.tsx +17 -1
- package/src/components/index.tsx +3 -1
- package/src/components/json-schema/Array.tsx +216 -0
- package/src/components/json-schema/Item.tsx +47 -0
- package/src/components/json-schema/Object.tsx +339 -0
- package/src/components/json-schema/index.tsx +44 -0
- package/src/components/schema-editor/Array.tsx +3 -1
- package/src/components/schema-editor/Common.tsx +61 -4
- package/src/components/schema-editor/Object.tsx +3 -1
- package/src/components/schema-editor/index.tsx +12 -5
- package/src/hooks/use-validation-resolver.ts +45 -0
- package/src/icons/department.svg +17 -0
- package/src/icons/menu.svg +2 -0
- package/src/icons/post.svg +15 -0
- package/src/icons/role.svg +14 -0
- package/src/icons/user-remove.svg +12 -0
- package/src/index.tsx +2 -0
- package/src/locale/de-DE.ts +11 -1
- package/src/locale/en-US.ts +12 -1
- package/src/locale/zh-CN.ts +14 -3
- package/src/renderers/Action.tsx +10 -9
- package/src/renderers/CRUD.tsx +5 -1
- package/src/renderers/Dialog.tsx +9 -3
- package/src/renderers/Drawer.tsx +5 -1
- package/src/renderers/Form/InputDate.tsx +9 -4
- package/src/renderers/Form/InputFile.tsx +5 -15
- package/src/renderers/Form/InputText.tsx +1 -1
- package/src/renderers/Form/JSONSchema.tsx +56 -0
- package/src/renderers/Form/JSONSchemaEditor.tsx +8 -27
- package/src/renderers/Form/Textarea.tsx +7 -117
- package/src/renderers/Form/UserSelect.tsx +263 -0
- package/src/renderers/Form/index.tsx +28 -18
- package/src/renderers/Link.tsx +5 -17
- package/src/renderers/Log.tsx +213 -19
- package/src/renderers/Page.tsx +6 -1
- package/src/renderers/Service.tsx +5 -1
- package/src/renderers/Wizard.tsx +24 -10
- package/src/store/form.ts +24 -17
- package/src/utils/api.ts +1 -1
- package/src/utils/renderer-event.ts +0 -2
@@ -1,2 +1,568 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/// <reference types="hoist-non-react-statics" />
|
2
|
+
import React from 'react';
|
3
|
+
import { LocaleProps } from '../locale';
|
4
|
+
import { ThemeProps } from '../theme';
|
5
|
+
export interface TextAreaProps extends ThemeProps, LocaleProps {
|
6
|
+
/**
|
7
|
+
* 最大行数
|
8
|
+
*/
|
9
|
+
maxRows?: number;
|
10
|
+
/**
|
11
|
+
* 最小行数
|
12
|
+
*/
|
13
|
+
minRows?: number;
|
14
|
+
/**
|
15
|
+
* 是否只读
|
16
|
+
*/
|
17
|
+
readOnly?: boolean;
|
18
|
+
/**
|
19
|
+
* 边框模式,全边框,还是半边框,或者没边框。
|
20
|
+
*/
|
21
|
+
borderMode?: 'full' | 'half' | 'none';
|
22
|
+
/**
|
23
|
+
* 限制文字个数
|
24
|
+
*/
|
25
|
+
maxLength?: number;
|
26
|
+
/**
|
27
|
+
* 是否显示计数
|
28
|
+
*/
|
29
|
+
showCounter?: boolean;
|
30
|
+
/**
|
31
|
+
* 输入内容是否可清除
|
32
|
+
*/
|
33
|
+
clearable?: boolean;
|
34
|
+
/**
|
35
|
+
* 重置值
|
36
|
+
*/
|
37
|
+
resetValue?: string;
|
38
|
+
trimContents?: boolean;
|
39
|
+
value?: any;
|
40
|
+
onChange?: (value: any) => void;
|
41
|
+
onFocus?: (e: any) => void;
|
42
|
+
onBlur?: (e: any) => void;
|
43
|
+
placeholder?: string;
|
44
|
+
name?: string;
|
45
|
+
disabled?: boolean;
|
46
|
+
}
|
47
|
+
export interface TextAreaState {
|
48
|
+
focused: boolean;
|
49
|
+
}
|
50
|
+
export declare class Textarea extends React.Component<TextAreaProps, TextAreaState> {
|
51
|
+
static defaultProps: {
|
52
|
+
minRows: number;
|
53
|
+
maxRows: number;
|
54
|
+
trimContents: boolean;
|
55
|
+
resetValue: string;
|
56
|
+
clearable: boolean;
|
57
|
+
};
|
58
|
+
state: {
|
59
|
+
focused: boolean;
|
60
|
+
};
|
61
|
+
input?: HTMLInputElement;
|
62
|
+
inputRef: (ref: any) => HTMLInputElement;
|
63
|
+
valueToString(value: any): string;
|
64
|
+
focus(): void;
|
65
|
+
handleChange(e: React.ChangeEvent<HTMLTextAreaElement>): void;
|
66
|
+
handleFocus(e: React.FocusEvent<HTMLTextAreaElement>): void;
|
67
|
+
handleBlur(e: React.FocusEvent<HTMLTextAreaElement>): void;
|
68
|
+
handleClear(): Promise<void>;
|
69
|
+
render(): JSX.Element;
|
70
|
+
}
|
71
|
+
declare const _default: {
|
72
|
+
new (props: Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
73
|
+
minRows: number;
|
74
|
+
maxRows: number;
|
75
|
+
trimContents: boolean;
|
76
|
+
resetValue: string;
|
77
|
+
clearable: boolean;
|
78
|
+
}, never>> & {
|
79
|
+
locale?: string | undefined;
|
80
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
81
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps): {
|
82
|
+
ref: any;
|
83
|
+
childRef(ref: any): void;
|
84
|
+
getWrappedInstance(): any;
|
85
|
+
render(): JSX.Element;
|
86
|
+
context: any;
|
87
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
88
|
+
minRows: number;
|
89
|
+
maxRows: number;
|
90
|
+
trimContents: boolean;
|
91
|
+
resetValue: string;
|
92
|
+
clearable: boolean;
|
93
|
+
}, never>> & {
|
94
|
+
locale?: string | undefined;
|
95
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
96
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
97
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
98
|
+
readonly props: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
99
|
+
minRows: number;
|
100
|
+
maxRows: number;
|
101
|
+
trimContents: boolean;
|
102
|
+
resetValue: string;
|
103
|
+
clearable: boolean;
|
104
|
+
}, never>> & {
|
105
|
+
locale?: string | undefined;
|
106
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
107
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
|
108
|
+
children?: React.ReactNode;
|
109
|
+
}>;
|
110
|
+
state: Readonly<{}>;
|
111
|
+
refs: {
|
112
|
+
[key: string]: React.ReactInstance;
|
113
|
+
};
|
114
|
+
componentDidMount?(): void;
|
115
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
116
|
+
minRows: number;
|
117
|
+
maxRows: number;
|
118
|
+
trimContents: boolean;
|
119
|
+
resetValue: string;
|
120
|
+
clearable: boolean;
|
121
|
+
}, never>> & {
|
122
|
+
locale?: string | undefined;
|
123
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
124
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
125
|
+
componentWillUnmount?(): void;
|
126
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
127
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
128
|
+
minRows: number;
|
129
|
+
maxRows: number;
|
130
|
+
trimContents: boolean;
|
131
|
+
resetValue: string;
|
132
|
+
clearable: boolean;
|
133
|
+
}, never>> & {
|
134
|
+
locale?: string | undefined;
|
135
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
136
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
137
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
138
|
+
minRows: number;
|
139
|
+
maxRows: number;
|
140
|
+
trimContents: boolean;
|
141
|
+
resetValue: string;
|
142
|
+
clearable: boolean;
|
143
|
+
}, never>> & {
|
144
|
+
locale?: string | undefined;
|
145
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
146
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
147
|
+
componentWillMount?(): void;
|
148
|
+
UNSAFE_componentWillMount?(): void;
|
149
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
150
|
+
minRows: number;
|
151
|
+
maxRows: number;
|
152
|
+
trimContents: boolean;
|
153
|
+
resetValue: string;
|
154
|
+
clearable: boolean;
|
155
|
+
}, never>> & {
|
156
|
+
locale?: string | undefined;
|
157
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
158
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
159
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
160
|
+
minRows: number;
|
161
|
+
maxRows: number;
|
162
|
+
trimContents: boolean;
|
163
|
+
resetValue: string;
|
164
|
+
clearable: boolean;
|
165
|
+
}, never>> & {
|
166
|
+
locale?: string | undefined;
|
167
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
168
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
169
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
170
|
+
minRows: number;
|
171
|
+
maxRows: number;
|
172
|
+
trimContents: boolean;
|
173
|
+
resetValue: string;
|
174
|
+
clearable: boolean;
|
175
|
+
}, never>> & {
|
176
|
+
locale?: string | undefined;
|
177
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
178
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
179
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
180
|
+
minRows: number;
|
181
|
+
maxRows: number;
|
182
|
+
trimContents: boolean;
|
183
|
+
resetValue: string;
|
184
|
+
clearable: boolean;
|
185
|
+
}, never>> & {
|
186
|
+
locale?: string | undefined;
|
187
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
188
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
189
|
+
};
|
190
|
+
displayName: string;
|
191
|
+
contextType: React.Context<string>;
|
192
|
+
ComposedComponent: React.ComponentType<{
|
193
|
+
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
194
|
+
minRows: number;
|
195
|
+
maxRows: number;
|
196
|
+
trimContents: boolean;
|
197
|
+
resetValue: string;
|
198
|
+
clearable: boolean;
|
199
|
+
}, never>> & {
|
200
|
+
locale?: string | undefined;
|
201
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
202
|
+
}): {
|
203
|
+
ref: any;
|
204
|
+
childRef(ref: any): void;
|
205
|
+
getWrappedInstance(): any;
|
206
|
+
render(): JSX.Element;
|
207
|
+
context: any;
|
208
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
209
|
+
minRows: number;
|
210
|
+
maxRows: number;
|
211
|
+
trimContents: boolean;
|
212
|
+
resetValue: string;
|
213
|
+
clearable: boolean;
|
214
|
+
}, never>> & {
|
215
|
+
locale?: string | undefined;
|
216
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
217
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
218
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
219
|
+
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
220
|
+
minRows: number;
|
221
|
+
maxRows: number;
|
222
|
+
trimContents: boolean;
|
223
|
+
resetValue: string;
|
224
|
+
clearable: boolean;
|
225
|
+
}, never>> & {
|
226
|
+
locale?: string | undefined;
|
227
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
228
|
+
}> & Readonly<{
|
229
|
+
children?: React.ReactNode;
|
230
|
+
}>;
|
231
|
+
state: Readonly<{}>;
|
232
|
+
refs: {
|
233
|
+
[key: string]: React.ReactInstance;
|
234
|
+
};
|
235
|
+
componentDidMount?(): void;
|
236
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
237
|
+
minRows: number;
|
238
|
+
maxRows: number;
|
239
|
+
trimContents: boolean;
|
240
|
+
resetValue: string;
|
241
|
+
clearable: boolean;
|
242
|
+
}, never>> & {
|
243
|
+
locale?: string | undefined;
|
244
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
245
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
246
|
+
componentWillUnmount?(): void;
|
247
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
248
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
249
|
+
minRows: number;
|
250
|
+
maxRows: number;
|
251
|
+
trimContents: boolean;
|
252
|
+
resetValue: string;
|
253
|
+
clearable: boolean;
|
254
|
+
}, never>> & {
|
255
|
+
locale?: string | undefined;
|
256
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
257
|
+
}>, prevState: Readonly<{}>): any;
|
258
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
259
|
+
minRows: number;
|
260
|
+
maxRows: number;
|
261
|
+
trimContents: boolean;
|
262
|
+
resetValue: string;
|
263
|
+
clearable: boolean;
|
264
|
+
}, never>> & {
|
265
|
+
locale?: string | undefined;
|
266
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
267
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
268
|
+
componentWillMount?(): void;
|
269
|
+
UNSAFE_componentWillMount?(): void;
|
270
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
271
|
+
minRows: number;
|
272
|
+
maxRows: number;
|
273
|
+
trimContents: boolean;
|
274
|
+
resetValue: string;
|
275
|
+
clearable: boolean;
|
276
|
+
}, never>> & {
|
277
|
+
locale?: string | undefined;
|
278
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
279
|
+
}>, nextContext: any): void;
|
280
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
281
|
+
minRows: number;
|
282
|
+
maxRows: number;
|
283
|
+
trimContents: boolean;
|
284
|
+
resetValue: string;
|
285
|
+
clearable: boolean;
|
286
|
+
}, never>> & {
|
287
|
+
locale?: string | undefined;
|
288
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
289
|
+
}>, nextContext: any): void;
|
290
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
291
|
+
minRows: number;
|
292
|
+
maxRows: number;
|
293
|
+
trimContents: boolean;
|
294
|
+
resetValue: string;
|
295
|
+
clearable: boolean;
|
296
|
+
}, never>> & {
|
297
|
+
locale?: string | undefined;
|
298
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
299
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
300
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
301
|
+
minRows: number;
|
302
|
+
maxRows: number;
|
303
|
+
trimContents: boolean;
|
304
|
+
resetValue: string;
|
305
|
+
clearable: boolean;
|
306
|
+
}, never>> & {
|
307
|
+
locale?: string | undefined;
|
308
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
309
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
310
|
+
};
|
311
|
+
displayName: string;
|
312
|
+
contextType: React.Context<string>;
|
313
|
+
ComposedComponent: React.ComponentType<typeof Textarea>;
|
314
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Textarea, {}> & {
|
315
|
+
ComposedComponent: typeof Textarea;
|
316
|
+
}>;
|
317
|
+
} & import("hoist-non-react-statics").NonReactStatics<{
|
318
|
+
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
319
|
+
minRows: number;
|
320
|
+
maxRows: number;
|
321
|
+
trimContents: boolean;
|
322
|
+
resetValue: string;
|
323
|
+
clearable: boolean;
|
324
|
+
}, never>> & {
|
325
|
+
locale?: string | undefined;
|
326
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
327
|
+
}): {
|
328
|
+
ref: any;
|
329
|
+
childRef(ref: any): void;
|
330
|
+
getWrappedInstance(): any;
|
331
|
+
render(): JSX.Element;
|
332
|
+
context: any;
|
333
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
334
|
+
minRows: number;
|
335
|
+
maxRows: number;
|
336
|
+
trimContents: boolean;
|
337
|
+
resetValue: string;
|
338
|
+
clearable: boolean;
|
339
|
+
}, never>> & {
|
340
|
+
locale?: string | undefined;
|
341
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
342
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
343
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
344
|
+
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
345
|
+
minRows: number;
|
346
|
+
maxRows: number;
|
347
|
+
trimContents: boolean;
|
348
|
+
resetValue: string;
|
349
|
+
clearable: boolean;
|
350
|
+
}, never>> & {
|
351
|
+
locale?: string | undefined;
|
352
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
353
|
+
}> & Readonly<{
|
354
|
+
children?: React.ReactNode;
|
355
|
+
}>;
|
356
|
+
state: Readonly<{}>;
|
357
|
+
refs: {
|
358
|
+
[key: string]: React.ReactInstance;
|
359
|
+
};
|
360
|
+
componentDidMount?(): void;
|
361
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
362
|
+
minRows: number;
|
363
|
+
maxRows: number;
|
364
|
+
trimContents: boolean;
|
365
|
+
resetValue: string;
|
366
|
+
clearable: boolean;
|
367
|
+
}, never>> & {
|
368
|
+
locale?: string | undefined;
|
369
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
370
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
371
|
+
componentWillUnmount?(): void;
|
372
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
373
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
374
|
+
minRows: number;
|
375
|
+
maxRows: number;
|
376
|
+
trimContents: boolean;
|
377
|
+
resetValue: string;
|
378
|
+
clearable: boolean;
|
379
|
+
}, never>> & {
|
380
|
+
locale?: string | undefined;
|
381
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
382
|
+
}>, prevState: Readonly<{}>): any;
|
383
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
384
|
+
minRows: number;
|
385
|
+
maxRows: number;
|
386
|
+
trimContents: boolean;
|
387
|
+
resetValue: string;
|
388
|
+
clearable: boolean;
|
389
|
+
}, never>> & {
|
390
|
+
locale?: string | undefined;
|
391
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
392
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
393
|
+
componentWillMount?(): void;
|
394
|
+
UNSAFE_componentWillMount?(): void;
|
395
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
396
|
+
minRows: number;
|
397
|
+
maxRows: number;
|
398
|
+
trimContents: boolean;
|
399
|
+
resetValue: string;
|
400
|
+
clearable: boolean;
|
401
|
+
}, never>> & {
|
402
|
+
locale?: string | undefined;
|
403
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
404
|
+
}>, nextContext: any): void;
|
405
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
406
|
+
minRows: number;
|
407
|
+
maxRows: number;
|
408
|
+
trimContents: boolean;
|
409
|
+
resetValue: string;
|
410
|
+
clearable: boolean;
|
411
|
+
}, never>> & {
|
412
|
+
locale?: string | undefined;
|
413
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
414
|
+
}>, nextContext: any): void;
|
415
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
416
|
+
minRows: number;
|
417
|
+
maxRows: number;
|
418
|
+
trimContents: boolean;
|
419
|
+
resetValue: string;
|
420
|
+
clearable: boolean;
|
421
|
+
}, never>> & {
|
422
|
+
locale?: string | undefined;
|
423
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
424
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
425
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
426
|
+
minRows: number;
|
427
|
+
maxRows: number;
|
428
|
+
trimContents: boolean;
|
429
|
+
resetValue: string;
|
430
|
+
clearable: boolean;
|
431
|
+
}, never>> & {
|
432
|
+
locale?: string | undefined;
|
433
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
434
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
435
|
+
};
|
436
|
+
displayName: string;
|
437
|
+
contextType: React.Context<string>;
|
438
|
+
ComposedComponent: React.ComponentType<typeof Textarea>;
|
439
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Textarea, {}> & {
|
440
|
+
ComposedComponent: typeof Textarea;
|
441
|
+
}, {}> & {
|
442
|
+
ComposedComponent: {
|
443
|
+
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
444
|
+
minRows: number;
|
445
|
+
maxRows: number;
|
446
|
+
trimContents: boolean;
|
447
|
+
resetValue: string;
|
448
|
+
clearable: boolean;
|
449
|
+
}, never>> & {
|
450
|
+
locale?: string | undefined;
|
451
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
452
|
+
}): {
|
453
|
+
ref: any;
|
454
|
+
childRef(ref: any): void;
|
455
|
+
getWrappedInstance(): any;
|
456
|
+
render(): JSX.Element;
|
457
|
+
context: any;
|
458
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
459
|
+
minRows: number;
|
460
|
+
maxRows: number;
|
461
|
+
trimContents: boolean;
|
462
|
+
resetValue: string;
|
463
|
+
clearable: boolean;
|
464
|
+
}, never>> & {
|
465
|
+
locale?: string | undefined;
|
466
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
467
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
468
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
469
|
+
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
470
|
+
minRows: number;
|
471
|
+
maxRows: number;
|
472
|
+
trimContents: boolean;
|
473
|
+
resetValue: string;
|
474
|
+
clearable: boolean;
|
475
|
+
}, never>> & {
|
476
|
+
locale?: string | undefined;
|
477
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
478
|
+
}> & Readonly<{
|
479
|
+
children?: React.ReactNode;
|
480
|
+
}>;
|
481
|
+
state: Readonly<{}>;
|
482
|
+
refs: {
|
483
|
+
[key: string]: React.ReactInstance;
|
484
|
+
};
|
485
|
+
componentDidMount?(): void;
|
486
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
487
|
+
minRows: number;
|
488
|
+
maxRows: number;
|
489
|
+
trimContents: boolean;
|
490
|
+
resetValue: string;
|
491
|
+
clearable: boolean;
|
492
|
+
}, never>> & {
|
493
|
+
locale?: string | undefined;
|
494
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
495
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
496
|
+
componentWillUnmount?(): void;
|
497
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
498
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
499
|
+
minRows: number;
|
500
|
+
maxRows: number;
|
501
|
+
trimContents: boolean;
|
502
|
+
resetValue: string;
|
503
|
+
clearable: boolean;
|
504
|
+
}, never>> & {
|
505
|
+
locale?: string | undefined;
|
506
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
507
|
+
}>, prevState: Readonly<{}>): any;
|
508
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
509
|
+
minRows: number;
|
510
|
+
maxRows: number;
|
511
|
+
trimContents: boolean;
|
512
|
+
resetValue: string;
|
513
|
+
clearable: boolean;
|
514
|
+
}, never>> & {
|
515
|
+
locale?: string | undefined;
|
516
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
517
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
518
|
+
componentWillMount?(): void;
|
519
|
+
UNSAFE_componentWillMount?(): void;
|
520
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
521
|
+
minRows: number;
|
522
|
+
maxRows: number;
|
523
|
+
trimContents: boolean;
|
524
|
+
resetValue: string;
|
525
|
+
clearable: boolean;
|
526
|
+
}, never>> & {
|
527
|
+
locale?: string | undefined;
|
528
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
529
|
+
}>, nextContext: any): void;
|
530
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
531
|
+
minRows: number;
|
532
|
+
maxRows: number;
|
533
|
+
trimContents: boolean;
|
534
|
+
resetValue: string;
|
535
|
+
clearable: boolean;
|
536
|
+
}, never>> & {
|
537
|
+
locale?: string | undefined;
|
538
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
539
|
+
}>, nextContext: any): void;
|
540
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
541
|
+
minRows: number;
|
542
|
+
maxRows: number;
|
543
|
+
trimContents: boolean;
|
544
|
+
resetValue: string;
|
545
|
+
clearable: boolean;
|
546
|
+
}, never>> & {
|
547
|
+
locale?: string | undefined;
|
548
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
549
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
550
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "maxLength" | "name" | "placeholder" | "readOnly" | "onFocus" | "onBlur" | "onChange" | "borderMode" | "showCounter"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "resetValue" | "clearable" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
551
|
+
minRows: number;
|
552
|
+
maxRows: number;
|
553
|
+
trimContents: boolean;
|
554
|
+
resetValue: string;
|
555
|
+
clearable: boolean;
|
556
|
+
}, never>> & {
|
557
|
+
locale?: string | undefined;
|
558
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
559
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
560
|
+
};
|
561
|
+
displayName: string;
|
562
|
+
contextType: React.Context<string>;
|
563
|
+
ComposedComponent: React.ComponentType<typeof Textarea>;
|
564
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Textarea, {}> & {
|
565
|
+
ComposedComponent: typeof Textarea;
|
566
|
+
};
|
567
|
+
};
|
568
|
+
export default _default;
|