amis 1.6.0 → 1.6.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/lib/components/Alert.d.ts +588 -588
  2. package/lib/components/Alert2.d.ts +125 -20
  3. package/lib/components/AnchorNav.d.ts +104 -20
  4. package/lib/components/ArrayInput.d.ts +420 -420
  5. package/lib/components/AsideNav.d.ts +125 -125
  6. package/lib/components/AssociatedSelection.d.ts +504 -504
  7. package/lib/components/Avatar.d.ts +461 -20
  8. package/lib/components/Button.d.ts +167 -20
  9. package/lib/components/CalendarMobile.d.ts +420 -84
  10. package/lib/components/Card.d.ts +671 -20
  11. package/lib/components/ChainedSelection.d.ts +504 -504
  12. package/lib/components/Checkbox.d.ts +104 -20
  13. package/lib/components/Collapse.d.ts +587 -20
  14. package/lib/components/CollapseGroup.d.ts +230 -20
  15. package/lib/components/ColorPicker.d.ts +504 -504
  16. package/lib/components/DatePicker.d.ts +588 -588
  17. package/lib/components/DateRangePicker.d.ts +1008 -1008
  18. package/lib/components/Drawer.d.ts +125 -20
  19. package/lib/components/Editor.d.ts +840 -672
  20. package/lib/components/GroupedSelection.d.ts +504 -504
  21. package/lib/components/Html.d.ts +62 -62
  22. package/lib/components/InputBox.d.ts +83 -83
  23. package/lib/components/Layout.d.ts +146 -146
  24. package/lib/components/ListGroup.d.ts +62 -62
  25. package/lib/components/ListMenu.d.ts +504 -504
  26. package/lib/components/LocationPicker.d.ts +336 -336
  27. package/lib/components/Modal.d.ts +420 -420
  28. package/lib/components/MonthRangePicker.d.ts +924 -924
  29. package/lib/components/NumberInput.d.ts +104 -20
  30. package/lib/components/PopUp.d.ts +672 -672
  31. package/lib/components/Progress.d.ts +440 -20
  32. package/lib/components/Radios.d.ts +167 -167
  33. package/lib/components/Rating.d.ts +272 -314
  34. package/lib/components/ResultBox.d.ts +504 -84
  35. package/lib/components/ResultList.d.ts +336 -84
  36. package/lib/components/SearchBox.d.ts +336 -336
  37. package/lib/components/Select.d.ts +4977 -4977
  38. package/lib/components/Selection.d.ts +504 -504
  39. package/lib/components/SparkLine.d.ts +336 -336
  40. package/lib/components/Spinner.d.ts +146 -146
  41. package/lib/components/Switch.d.ts +83 -83
  42. package/lib/components/TableSelection.d.ts +672 -672
  43. package/lib/components/Tabs.d.ts +83 -20
  44. package/lib/components/TitleBar.d.ts +146 -125
  45. package/lib/components/Toast.d.ts +504 -84
  46. package/lib/components/TooltipWrapper.d.ts +125 -20
  47. package/lib/components/Transfer.d.ts +252 -84
  48. package/lib/components/TransferDropDown.d.ts +252 -84
  49. package/lib/components/Tree.d.ts +2688 -2688
  50. package/lib/components/TreeSelection.d.ts +588 -588
  51. package/lib/components/formula/Editor.d.ts +420 -84
  52. package/lib/index.js +1 -1
  53. package/lib/renderers/Dialog.d.ts +420 -420
  54. package/lib/renderers/Form/InputCity.d.ts +672 -672
  55. package/lib/renderers/Form/InputColor.d.ts +504 -504
  56. package/lib/renderers/Nav.d.ts +62 -62
  57. package/package.json +1 -1
  58. package/sdk/ang-ie11.css +1 -0
  59. package/sdk/ang.css +1 -0
  60. package/sdk/antd-ie11.css +1 -0
  61. package/sdk/antd.css +1 -0
  62. package/sdk/charts.js +14 -14
  63. package/sdk/codemirror.js +7 -7
  64. package/sdk/color-picker.js +65 -65
  65. package/sdk/cropperjs.js +2 -2
  66. package/sdk/cxd-ie11.css +1 -0
  67. package/sdk/cxd.css +1 -0
  68. package/sdk/dark-ie11.css +1 -0
  69. package/sdk/dark.css +1 -0
  70. package/sdk/exceljs.js +1 -1
  71. package/sdk/markdown.js +69 -69
  72. package/sdk/papaparse.js +3 -3
  73. package/sdk/renderers/Form/CityDB.js +1 -1
  74. package/sdk/rest.js +18 -18
  75. package/sdk/rich-text.js +62 -62
  76. package/sdk/sdk-ie11.css +1 -0
  77. package/sdk/sdk.css +1 -0
  78. package/sdk/sdk.js +1318 -1253
  79. package/sdk/thirds/hls.js/hls.js +1 -1
  80. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  81. package/sdk/tinymce.js +57 -57
@@ -27,45 +27,45 @@ export declare class TreeSelection extends BaseSelection<TreeSelectionProps, Tre
27
27
  render(): JSX.Element;
28
28
  }
29
29
  declare const _default: {
30
- new (props: (Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
31
- expand: "first";
32
- placeholder: string;
33
- itemRender: typeof BaseSelection.itemRender;
34
- multiple: boolean;
35
- clearable: boolean;
36
- }, never>> & {
30
+ new (props: (Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
31
+ multiple?: boolean | undefined;
32
+ placeholder?: string | undefined;
33
+ clearable?: boolean | undefined;
34
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
35
+ expand?: "none" | "all" | "first" | "root" | undefined;
36
+ } & {} & {
37
37
  locale?: string | undefined;
38
38
  translate?: ((str: string, ...args: any[]) => string) | undefined;
39
- }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
40
- expand: "first";
41
- placeholder: string;
42
- itemRender: typeof BaseSelection.itemRender;
43
- multiple: boolean;
44
- clearable: boolean;
45
- }, never>> & {
39
+ }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
40
+ multiple?: boolean | undefined;
41
+ placeholder?: string | undefined;
42
+ clearable?: boolean | undefined;
43
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
44
+ expand?: "none" | "all" | "first" | "root" | undefined;
45
+ } & {} & {
46
46
  locale?: string | undefined;
47
47
  translate?: ((str: string, ...args: any[]) => string) | undefined;
48
48
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>): {
49
49
  render(): JSX.Element;
50
50
  context: any;
51
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
52
- expand: "first";
53
- placeholder: string;
54
- itemRender: typeof BaseSelection.itemRender;
55
- multiple: boolean;
56
- clearable: boolean;
57
- }, never>> & {
51
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
52
+ multiple?: boolean | undefined;
53
+ placeholder?: string | undefined;
54
+ clearable?: boolean | undefined;
55
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
56
+ expand?: "none" | "all" | "first" | "root" | undefined;
57
+ } & {} & {
58
58
  locale?: string | undefined;
59
59
  translate?: ((str: string, ...args: any[]) => string) | undefined;
60
60
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
61
61
  forceUpdate(callback?: (() => void) | undefined): void;
62
- readonly props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
63
- expand: "first";
64
- placeholder: string;
65
- itemRender: typeof BaseSelection.itemRender;
66
- multiple: boolean;
67
- clearable: boolean;
68
- }, never>> & {
62
+ readonly props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
63
+ multiple?: boolean | undefined;
64
+ placeholder?: string | undefined;
65
+ clearable?: boolean | undefined;
66
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
67
+ expand?: "none" | "all" | "first" | "root" | undefined;
68
+ } & {} & {
69
69
  locale?: string | undefined;
70
70
  translate?: ((str: string, ...args: any[]) => string) | undefined;
71
71
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -76,111 +76,111 @@ declare const _default: {
76
76
  [key: string]: React.ReactInstance;
77
77
  };
78
78
  componentDidMount?(): void;
79
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
80
- expand: "first";
81
- placeholder: string;
82
- itemRender: typeof BaseSelection.itemRender;
83
- multiple: boolean;
84
- clearable: boolean;
85
- }, never>> & {
79
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
80
+ multiple?: boolean | undefined;
81
+ placeholder?: string | undefined;
82
+ clearable?: boolean | undefined;
83
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
84
+ expand?: "none" | "all" | "first" | "root" | undefined;
85
+ } & {} & {
86
86
  locale?: string | undefined;
87
87
  translate?: ((str: string, ...args: any[]) => string) | undefined;
88
88
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
89
89
  componentWillUnmount?(): void;
90
90
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
91
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
92
- expand: "first";
93
- placeholder: string;
94
- itemRender: typeof BaseSelection.itemRender;
95
- multiple: boolean;
96
- clearable: boolean;
97
- }, never>> & {
91
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
92
+ multiple?: boolean | undefined;
93
+ placeholder?: string | undefined;
94
+ clearable?: boolean | undefined;
95
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
96
+ expand?: "none" | "all" | "first" | "root" | undefined;
97
+ } & {} & {
98
98
  locale?: string | undefined;
99
99
  translate?: ((str: string, ...args: any[]) => string) | undefined;
100
100
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
101
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
102
- expand: "first";
103
- placeholder: string;
104
- itemRender: typeof BaseSelection.itemRender;
105
- multiple: boolean;
106
- clearable: boolean;
107
- }, never>> & {
101
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
102
+ multiple?: boolean | undefined;
103
+ placeholder?: string | undefined;
104
+ clearable?: boolean | undefined;
105
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
106
+ expand?: "none" | "all" | "first" | "root" | undefined;
107
+ } & {} & {
108
108
  locale?: string | undefined;
109
109
  translate?: ((str: string, ...args: any[]) => string) | undefined;
110
110
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
111
111
  componentWillMount?(): void;
112
112
  UNSAFE_componentWillMount?(): void;
113
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
114
- expand: "first";
115
- placeholder: string;
116
- itemRender: typeof BaseSelection.itemRender;
117
- multiple: boolean;
118
- clearable: boolean;
119
- }, never>> & {
113
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
114
+ multiple?: boolean | undefined;
115
+ placeholder?: string | undefined;
116
+ clearable?: boolean | undefined;
117
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
118
+ expand?: "none" | "all" | "first" | "root" | undefined;
119
+ } & {} & {
120
120
  locale?: string | undefined;
121
121
  translate?: ((str: string, ...args: any[]) => string) | undefined;
122
122
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
123
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
124
- expand: "first";
125
- placeholder: string;
126
- itemRender: typeof BaseSelection.itemRender;
127
- multiple: boolean;
128
- clearable: boolean;
129
- }, never>> & {
123
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
124
+ multiple?: boolean | undefined;
125
+ placeholder?: string | undefined;
126
+ clearable?: boolean | undefined;
127
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
128
+ expand?: "none" | "all" | "first" | "root" | undefined;
129
+ } & {} & {
130
130
  locale?: string | undefined;
131
131
  translate?: ((str: string, ...args: any[]) => string) | undefined;
132
132
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
133
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
134
- expand: "first";
135
- placeholder: string;
136
- itemRender: typeof BaseSelection.itemRender;
137
- multiple: boolean;
138
- clearable: boolean;
139
- }, never>> & {
133
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
134
+ multiple?: boolean | undefined;
135
+ placeholder?: string | undefined;
136
+ clearable?: boolean | undefined;
137
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
138
+ expand?: "none" | "all" | "first" | "root" | undefined;
139
+ } & {} & {
140
140
  locale?: string | undefined;
141
141
  translate?: ((str: string, ...args: any[]) => string) | undefined;
142
142
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
143
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
144
- expand: "first";
145
- placeholder: string;
146
- itemRender: typeof BaseSelection.itemRender;
147
- multiple: boolean;
148
- clearable: boolean;
149
- }, never>> & {
143
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
144
+ multiple?: boolean | undefined;
145
+ placeholder?: string | undefined;
146
+ clearable?: boolean | undefined;
147
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
148
+ expand?: "none" | "all" | "first" | "root" | undefined;
149
+ } & {} & {
150
150
  locale?: string | undefined;
151
151
  translate?: ((str: string, ...args: any[]) => string) | undefined;
152
152
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
153
153
  };
154
- new (props: Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
155
- expand: "first";
156
- placeholder: string;
157
- itemRender: typeof BaseSelection.itemRender;
158
- multiple: boolean;
159
- clearable: boolean;
160
- }, never>> & {
154
+ new (props: Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
155
+ multiple?: boolean | undefined;
156
+ placeholder?: string | undefined;
157
+ clearable?: boolean | undefined;
158
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
159
+ expand?: "none" | "all" | "first" | "root" | undefined;
160
+ } & {} & {
161
161
  locale?: string | undefined;
162
162
  translate?: ((str: string, ...args: any[]) => string) | undefined;
163
163
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
164
164
  render(): JSX.Element;
165
165
  context: any;
166
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
167
- expand: "first";
168
- placeholder: string;
169
- itemRender: typeof BaseSelection.itemRender;
170
- multiple: boolean;
171
- clearable: boolean;
172
- }, never>> & {
166
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
167
+ multiple?: boolean | undefined;
168
+ placeholder?: string | undefined;
169
+ clearable?: boolean | undefined;
170
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
171
+ expand?: "none" | "all" | "first" | "root" | undefined;
172
+ } & {} & {
173
173
  locale?: string | undefined;
174
174
  translate?: ((str: string, ...args: any[]) => string) | undefined;
175
175
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
176
176
  forceUpdate(callback?: (() => void) | undefined): void;
177
- readonly props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
178
- expand: "first";
179
- placeholder: string;
180
- itemRender: typeof BaseSelection.itemRender;
181
- multiple: boolean;
182
- clearable: boolean;
183
- }, never>> & {
177
+ readonly props: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
178
+ multiple?: boolean | undefined;
179
+ placeholder?: string | undefined;
180
+ clearable?: boolean | undefined;
181
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
182
+ expand?: "none" | "all" | "first" | "root" | undefined;
183
+ } & {} & {
184
184
  locale?: string | undefined;
185
185
  translate?: ((str: string, ...args: any[]) => string) | undefined;
186
186
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps> & Readonly<{
@@ -191,77 +191,77 @@ declare const _default: {
191
191
  [key: string]: React.ReactInstance;
192
192
  };
193
193
  componentDidMount?(): void;
194
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
195
- expand: "first";
196
- placeholder: string;
197
- itemRender: typeof BaseSelection.itemRender;
198
- multiple: boolean;
199
- clearable: boolean;
200
- }, never>> & {
194
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
195
+ multiple?: boolean | undefined;
196
+ placeholder?: string | undefined;
197
+ clearable?: boolean | undefined;
198
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
199
+ expand?: "none" | "all" | "first" | "root" | undefined;
200
+ } & {} & {
201
201
  locale?: string | undefined;
202
202
  translate?: ((str: string, ...args: any[]) => string) | undefined;
203
203
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
204
204
  componentWillUnmount?(): void;
205
205
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
206
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
207
- expand: "first";
208
- placeholder: string;
209
- itemRender: typeof BaseSelection.itemRender;
210
- multiple: boolean;
211
- clearable: boolean;
212
- }, never>> & {
206
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
207
+ multiple?: boolean | undefined;
208
+ placeholder?: string | undefined;
209
+ clearable?: boolean | undefined;
210
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
211
+ expand?: "none" | "all" | "first" | "root" | undefined;
212
+ } & {} & {
213
213
  locale?: string | undefined;
214
214
  translate?: ((str: string, ...args: any[]) => string) | undefined;
215
215
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
216
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
217
- expand: "first";
218
- placeholder: string;
219
- itemRender: typeof BaseSelection.itemRender;
220
- multiple: boolean;
221
- clearable: boolean;
222
- }, never>> & {
216
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
217
+ multiple?: boolean | undefined;
218
+ placeholder?: string | undefined;
219
+ clearable?: boolean | undefined;
220
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
221
+ expand?: "none" | "all" | "first" | "root" | undefined;
222
+ } & {} & {
223
223
  locale?: string | undefined;
224
224
  translate?: ((str: string, ...args: any[]) => string) | undefined;
225
225
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
226
226
  componentWillMount?(): void;
227
227
  UNSAFE_componentWillMount?(): void;
228
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
229
- expand: "first";
230
- placeholder: string;
231
- itemRender: typeof BaseSelection.itemRender;
232
- multiple: boolean;
233
- clearable: boolean;
234
- }, never>> & {
228
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
229
+ multiple?: boolean | undefined;
230
+ placeholder?: string | undefined;
231
+ clearable?: boolean | undefined;
232
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
233
+ expand?: "none" | "all" | "first" | "root" | undefined;
234
+ } & {} & {
235
235
  locale?: string | undefined;
236
236
  translate?: ((str: string, ...args: any[]) => string) | undefined;
237
237
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
238
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
239
- expand: "first";
240
- placeholder: string;
241
- itemRender: typeof BaseSelection.itemRender;
242
- multiple: boolean;
243
- clearable: boolean;
244
- }, never>> & {
238
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
239
+ multiple?: boolean | undefined;
240
+ placeholder?: string | undefined;
241
+ clearable?: boolean | undefined;
242
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
243
+ expand?: "none" | "all" | "first" | "root" | undefined;
244
+ } & {} & {
245
245
  locale?: string | undefined;
246
246
  translate?: ((str: string, ...args: any[]) => string) | undefined;
247
247
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
248
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
249
- expand: "first";
250
- placeholder: string;
251
- itemRender: typeof BaseSelection.itemRender;
252
- multiple: boolean;
253
- clearable: boolean;
254
- }, never>> & {
248
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
249
+ multiple?: boolean | undefined;
250
+ placeholder?: string | undefined;
251
+ clearable?: boolean | undefined;
252
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
253
+ expand?: "none" | "all" | "first" | "root" | undefined;
254
+ } & {} & {
255
255
  locale?: string | undefined;
256
256
  translate?: ((str: string, ...args: any[]) => string) | undefined;
257
257
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
258
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
259
- expand: "first";
260
- placeholder: string;
261
- itemRender: typeof BaseSelection.itemRender;
262
- multiple: boolean;
263
- clearable: boolean;
264
- }, never>> & {
258
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
259
+ multiple?: boolean | undefined;
260
+ placeholder?: string | undefined;
261
+ clearable?: boolean | undefined;
262
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
263
+ expand?: "none" | "all" | "first" | "root" | undefined;
264
+ } & {} & {
265
265
  locale?: string | undefined;
266
266
  translate?: ((str: string, ...args: any[]) => string) | undefined;
267
267
  }, keyof import("../theme").ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
@@ -269,45 +269,45 @@ declare const _default: {
269
269
  displayName: string;
270
270
  contextType: React.Context<string>;
271
271
  ComposedComponent: React.ComponentType<{
272
- new (props: (Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
273
- expand: "first";
274
- placeholder: string;
275
- itemRender: typeof BaseSelection.itemRender;
276
- multiple: boolean;
277
- clearable: boolean;
278
- }, never>> & {
272
+ new (props: (Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
273
+ multiple?: boolean | undefined;
274
+ placeholder?: string | undefined;
275
+ clearable?: boolean | undefined;
276
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
277
+ expand?: "none" | "all" | "first" | "root" | undefined;
278
+ } & {} & {
279
279
  locale?: string | undefined;
280
280
  translate?: ((str: string, ...args: any[]) => string) | undefined;
281
- }) | Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
282
- expand: "first";
283
- placeholder: string;
284
- itemRender: typeof BaseSelection.itemRender;
285
- multiple: boolean;
286
- clearable: boolean;
287
- }, never>> & {
281
+ }) | Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
282
+ multiple?: boolean | undefined;
283
+ placeholder?: string | undefined;
284
+ clearable?: boolean | undefined;
285
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
286
+ expand?: "none" | "all" | "first" | "root" | undefined;
287
+ } & {} & {
288
288
  locale?: string | undefined;
289
289
  translate?: ((str: string, ...args: any[]) => string) | undefined;
290
290
  }>): {
291
291
  render(): JSX.Element;
292
292
  context: any;
293
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
294
- expand: "first";
295
- placeholder: string;
296
- itemRender: typeof BaseSelection.itemRender;
297
- multiple: boolean;
298
- clearable: boolean;
299
- }, never>> & {
293
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
294
+ multiple?: boolean | undefined;
295
+ placeholder?: string | undefined;
296
+ clearable?: boolean | undefined;
297
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
298
+ expand?: "none" | "all" | "first" | "root" | undefined;
299
+ } & {} & {
300
300
  locale?: string | undefined;
301
301
  translate?: ((str: string, ...args: any[]) => string) | undefined;
302
302
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
303
303
  forceUpdate(callback?: (() => void) | undefined): void;
304
- readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
305
- expand: "first";
306
- placeholder: string;
307
- itemRender: typeof BaseSelection.itemRender;
308
- multiple: boolean;
309
- clearable: boolean;
310
- }, never>> & {
304
+ readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
305
+ multiple?: boolean | undefined;
306
+ placeholder?: string | undefined;
307
+ clearable?: boolean | undefined;
308
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
309
+ expand?: "none" | "all" | "first" | "root" | undefined;
310
+ } & {} & {
311
311
  locale?: string | undefined;
312
312
  translate?: ((str: string, ...args: any[]) => string) | undefined;
313
313
  }> & Readonly<{
@@ -318,111 +318,111 @@ declare const _default: {
318
318
  [key: string]: React.ReactInstance;
319
319
  };
320
320
  componentDidMount?(): void;
321
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
322
- expand: "first";
323
- placeholder: string;
324
- itemRender: typeof BaseSelection.itemRender;
325
- multiple: boolean;
326
- clearable: boolean;
327
- }, never>> & {
321
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
322
+ multiple?: boolean | undefined;
323
+ placeholder?: string | undefined;
324
+ clearable?: boolean | undefined;
325
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
326
+ expand?: "none" | "all" | "first" | "root" | undefined;
327
+ } & {} & {
328
328
  locale?: string | undefined;
329
329
  translate?: ((str: string, ...args: any[]) => string) | undefined;
330
330
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
331
331
  componentWillUnmount?(): void;
332
332
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
333
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
334
- expand: "first";
335
- placeholder: string;
336
- itemRender: typeof BaseSelection.itemRender;
337
- multiple: boolean;
338
- clearable: boolean;
339
- }, never>> & {
333
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
334
+ multiple?: boolean | undefined;
335
+ placeholder?: string | undefined;
336
+ clearable?: boolean | undefined;
337
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
338
+ expand?: "none" | "all" | "first" | "root" | undefined;
339
+ } & {} & {
340
340
  locale?: string | undefined;
341
341
  translate?: ((str: string, ...args: any[]) => string) | undefined;
342
342
  }>, prevState: Readonly<{}>): any;
343
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
344
- expand: "first";
345
- placeholder: string;
346
- itemRender: typeof BaseSelection.itemRender;
347
- multiple: boolean;
348
- clearable: boolean;
349
- }, never>> & {
343
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
344
+ multiple?: boolean | undefined;
345
+ placeholder?: string | undefined;
346
+ clearable?: boolean | undefined;
347
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
348
+ expand?: "none" | "all" | "first" | "root" | undefined;
349
+ } & {} & {
350
350
  locale?: string | undefined;
351
351
  translate?: ((str: string, ...args: any[]) => string) | undefined;
352
352
  }>, prevState: Readonly<{}>, snapshot?: any): void;
353
353
  componentWillMount?(): void;
354
354
  UNSAFE_componentWillMount?(): void;
355
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
356
- expand: "first";
357
- placeholder: string;
358
- itemRender: typeof BaseSelection.itemRender;
359
- multiple: boolean;
360
- clearable: boolean;
361
- }, never>> & {
355
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
356
+ multiple?: boolean | undefined;
357
+ placeholder?: string | undefined;
358
+ clearable?: boolean | undefined;
359
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
360
+ expand?: "none" | "all" | "first" | "root" | undefined;
361
+ } & {} & {
362
362
  locale?: string | undefined;
363
363
  translate?: ((str: string, ...args: any[]) => string) | undefined;
364
364
  }>, nextContext: any): void;
365
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
366
- expand: "first";
367
- placeholder: string;
368
- itemRender: typeof BaseSelection.itemRender;
369
- multiple: boolean;
370
- clearable: boolean;
371
- }, never>> & {
365
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
366
+ multiple?: boolean | undefined;
367
+ placeholder?: string | undefined;
368
+ clearable?: boolean | undefined;
369
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
370
+ expand?: "none" | "all" | "first" | "root" | undefined;
371
+ } & {} & {
372
372
  locale?: string | undefined;
373
373
  translate?: ((str: string, ...args: any[]) => string) | undefined;
374
374
  }>, nextContext: any): void;
375
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
376
- expand: "first";
377
- placeholder: string;
378
- itemRender: typeof BaseSelection.itemRender;
379
- multiple: boolean;
380
- clearable: boolean;
381
- }, never>> & {
375
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
376
+ multiple?: boolean | undefined;
377
+ placeholder?: string | undefined;
378
+ clearable?: boolean | undefined;
379
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
380
+ expand?: "none" | "all" | "first" | "root" | undefined;
381
+ } & {} & {
382
382
  locale?: string | undefined;
383
383
  translate?: ((str: string, ...args: any[]) => string) | undefined;
384
384
  }>, nextState: Readonly<{}>, nextContext: any): void;
385
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
386
- expand: "first";
387
- placeholder: string;
388
- itemRender: typeof BaseSelection.itemRender;
389
- multiple: boolean;
390
- clearable: boolean;
391
- }, never>> & {
385
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
386
+ multiple?: boolean | undefined;
387
+ placeholder?: string | undefined;
388
+ clearable?: boolean | undefined;
389
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
390
+ expand?: "none" | "all" | "first" | "root" | undefined;
391
+ } & {} & {
392
392
  locale?: string | undefined;
393
393
  translate?: ((str: string, ...args: any[]) => string) | undefined;
394
394
  }>, nextState: Readonly<{}>, nextContext: any): void;
395
395
  };
396
- new (props: Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
397
- expand: "first";
398
- placeholder: string;
399
- itemRender: typeof BaseSelection.itemRender;
400
- multiple: boolean;
401
- clearable: boolean;
402
- }, never>> & {
396
+ new (props: Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
397
+ multiple?: boolean | undefined;
398
+ placeholder?: string | undefined;
399
+ clearable?: boolean | undefined;
400
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
401
+ expand?: "none" | "all" | "first" | "root" | undefined;
402
+ } & {} & {
403
403
  locale?: string | undefined;
404
404
  translate?: ((str: string, ...args: any[]) => string) | undefined;
405
405
  }, context: any): {
406
406
  render(): JSX.Element;
407
407
  context: any;
408
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
409
- expand: "first";
410
- placeholder: string;
411
- itemRender: typeof BaseSelection.itemRender;
412
- multiple: boolean;
413
- clearable: boolean;
414
- }, never>> & {
408
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
409
+ multiple?: boolean | undefined;
410
+ placeholder?: string | undefined;
411
+ clearable?: boolean | undefined;
412
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
413
+ expand?: "none" | "all" | "first" | "root" | undefined;
414
+ } & {} & {
415
415
  locale?: string | undefined;
416
416
  translate?: ((str: string, ...args: any[]) => string) | undefined;
417
417
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
418
418
  forceUpdate(callback?: (() => void) | undefined): void;
419
- readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
420
- expand: "first";
421
- placeholder: string;
422
- itemRender: typeof BaseSelection.itemRender;
423
- multiple: boolean;
424
- clearable: boolean;
425
- }, never>> & {
419
+ readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
420
+ multiple?: boolean | undefined;
421
+ placeholder?: string | undefined;
422
+ clearable?: boolean | undefined;
423
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
424
+ expand?: "none" | "all" | "first" | "root" | undefined;
425
+ } & {} & {
426
426
  locale?: string | undefined;
427
427
  translate?: ((str: string, ...args: any[]) => string) | undefined;
428
428
  }> & Readonly<{
@@ -433,77 +433,77 @@ declare const _default: {
433
433
  [key: string]: React.ReactInstance;
434
434
  };
435
435
  componentDidMount?(): void;
436
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
437
- expand: "first";
438
- placeholder: string;
439
- itemRender: typeof BaseSelection.itemRender;
440
- multiple: boolean;
441
- clearable: boolean;
442
- }, never>> & {
436
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
437
+ multiple?: boolean | undefined;
438
+ placeholder?: string | undefined;
439
+ clearable?: boolean | undefined;
440
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
441
+ expand?: "none" | "all" | "first" | "root" | undefined;
442
+ } & {} & {
443
443
  locale?: string | undefined;
444
444
  translate?: ((str: string, ...args: any[]) => string) | undefined;
445
445
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
446
446
  componentWillUnmount?(): void;
447
447
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
448
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
449
- expand: "first";
450
- placeholder: string;
451
- itemRender: typeof BaseSelection.itemRender;
452
- multiple: boolean;
453
- clearable: boolean;
454
- }, never>> & {
448
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
449
+ multiple?: boolean | undefined;
450
+ placeholder?: string | undefined;
451
+ clearable?: boolean | undefined;
452
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
453
+ expand?: "none" | "all" | "first" | "root" | undefined;
454
+ } & {} & {
455
455
  locale?: string | undefined;
456
456
  translate?: ((str: string, ...args: any[]) => string) | undefined;
457
457
  }>, prevState: Readonly<{}>): any;
458
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
459
- expand: "first";
460
- placeholder: string;
461
- itemRender: typeof BaseSelection.itemRender;
462
- multiple: boolean;
463
- clearable: boolean;
464
- }, never>> & {
458
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
459
+ multiple?: boolean | undefined;
460
+ placeholder?: string | undefined;
461
+ clearable?: boolean | undefined;
462
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
463
+ expand?: "none" | "all" | "first" | "root" | undefined;
464
+ } & {} & {
465
465
  locale?: string | undefined;
466
466
  translate?: ((str: string, ...args: any[]) => string) | undefined;
467
467
  }>, prevState: Readonly<{}>, snapshot?: any): void;
468
468
  componentWillMount?(): void;
469
469
  UNSAFE_componentWillMount?(): void;
470
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
471
- expand: "first";
472
- placeholder: string;
473
- itemRender: typeof BaseSelection.itemRender;
474
- multiple: boolean;
475
- clearable: boolean;
476
- }, never>> & {
470
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
471
+ multiple?: boolean | undefined;
472
+ placeholder?: string | undefined;
473
+ clearable?: boolean | undefined;
474
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
475
+ expand?: "none" | "all" | "first" | "root" | undefined;
476
+ } & {} & {
477
477
  locale?: string | undefined;
478
478
  translate?: ((str: string, ...args: any[]) => string) | undefined;
479
479
  }>, nextContext: any): void;
480
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
481
- expand: "first";
482
- placeholder: string;
483
- itemRender: typeof BaseSelection.itemRender;
484
- multiple: boolean;
485
- clearable: boolean;
486
- }, never>> & {
480
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
481
+ multiple?: boolean | undefined;
482
+ placeholder?: string | undefined;
483
+ clearable?: boolean | undefined;
484
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
485
+ expand?: "none" | "all" | "first" | "root" | undefined;
486
+ } & {} & {
487
487
  locale?: string | undefined;
488
488
  translate?: ((str: string, ...args: any[]) => string) | undefined;
489
489
  }>, nextContext: any): void;
490
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
491
- expand: "first";
492
- placeholder: string;
493
- itemRender: typeof BaseSelection.itemRender;
494
- multiple: boolean;
495
- clearable: boolean;
496
- }, never>> & {
490
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
491
+ multiple?: boolean | undefined;
492
+ placeholder?: string | undefined;
493
+ clearable?: boolean | undefined;
494
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
495
+ expand?: "none" | "all" | "first" | "root" | undefined;
496
+ } & {} & {
497
497
  locale?: string | undefined;
498
498
  translate?: ((str: string, ...args: any[]) => string) | undefined;
499
499
  }>, nextState: Readonly<{}>, nextContext: any): void;
500
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
501
- expand: "first";
502
- placeholder: string;
503
- itemRender: typeof BaseSelection.itemRender;
504
- multiple: boolean;
505
- clearable: boolean;
506
- }, never>> & {
500
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
501
+ multiple?: boolean | undefined;
502
+ placeholder?: string | undefined;
503
+ clearable?: boolean | undefined;
504
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
505
+ expand?: "none" | "all" | "first" | "root" | undefined;
506
+ } & {} & {
507
507
  locale?: string | undefined;
508
508
  translate?: ((str: string, ...args: any[]) => string) | undefined;
509
509
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -515,45 +515,45 @@ declare const _default: {
515
515
  ComposedComponent: typeof TreeSelection;
516
516
  }>;
517
517
  } & import("hoist-non-react-statics").NonReactStatics<{
518
- new (props: (Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
519
- expand: "first";
520
- placeholder: string;
521
- itemRender: typeof BaseSelection.itemRender;
522
- multiple: boolean;
523
- clearable: boolean;
524
- }, never>> & {
518
+ new (props: (Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
519
+ multiple?: boolean | undefined;
520
+ placeholder?: string | undefined;
521
+ clearable?: boolean | undefined;
522
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
523
+ expand?: "none" | "all" | "first" | "root" | undefined;
524
+ } & {} & {
525
525
  locale?: string | undefined;
526
526
  translate?: ((str: string, ...args: any[]) => string) | undefined;
527
- }) | Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
528
- expand: "first";
529
- placeholder: string;
530
- itemRender: typeof BaseSelection.itemRender;
531
- multiple: boolean;
532
- clearable: boolean;
533
- }, never>> & {
527
+ }) | Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
528
+ multiple?: boolean | undefined;
529
+ placeholder?: string | undefined;
530
+ clearable?: boolean | undefined;
531
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
532
+ expand?: "none" | "all" | "first" | "root" | undefined;
533
+ } & {} & {
534
534
  locale?: string | undefined;
535
535
  translate?: ((str: string, ...args: any[]) => string) | undefined;
536
536
  }>): {
537
537
  render(): JSX.Element;
538
538
  context: any;
539
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
540
- expand: "first";
541
- placeholder: string;
542
- itemRender: typeof BaseSelection.itemRender;
543
- multiple: boolean;
544
- clearable: boolean;
545
- }, never>> & {
539
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
540
+ multiple?: boolean | undefined;
541
+ placeholder?: string | undefined;
542
+ clearable?: boolean | undefined;
543
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
544
+ expand?: "none" | "all" | "first" | "root" | undefined;
545
+ } & {} & {
546
546
  locale?: string | undefined;
547
547
  translate?: ((str: string, ...args: any[]) => string) | undefined;
548
548
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
549
549
  forceUpdate(callback?: (() => void) | undefined): void;
550
- readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
551
- expand: "first";
552
- placeholder: string;
553
- itemRender: typeof BaseSelection.itemRender;
554
- multiple: boolean;
555
- clearable: boolean;
556
- }, never>> & {
550
+ readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
551
+ multiple?: boolean | undefined;
552
+ placeholder?: string | undefined;
553
+ clearable?: boolean | undefined;
554
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
555
+ expand?: "none" | "all" | "first" | "root" | undefined;
556
+ } & {} & {
557
557
  locale?: string | undefined;
558
558
  translate?: ((str: string, ...args: any[]) => string) | undefined;
559
559
  }> & Readonly<{
@@ -564,111 +564,111 @@ declare const _default: {
564
564
  [key: string]: React.ReactInstance;
565
565
  };
566
566
  componentDidMount?(): void;
567
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
568
- expand: "first";
569
- placeholder: string;
570
- itemRender: typeof BaseSelection.itemRender;
571
- multiple: boolean;
572
- clearable: boolean;
573
- }, never>> & {
567
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
568
+ multiple?: boolean | undefined;
569
+ placeholder?: string | undefined;
570
+ clearable?: boolean | undefined;
571
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
572
+ expand?: "none" | "all" | "first" | "root" | undefined;
573
+ } & {} & {
574
574
  locale?: string | undefined;
575
575
  translate?: ((str: string, ...args: any[]) => string) | undefined;
576
576
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
577
577
  componentWillUnmount?(): void;
578
578
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
579
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
580
- expand: "first";
581
- placeholder: string;
582
- itemRender: typeof BaseSelection.itemRender;
583
- multiple: boolean;
584
- clearable: boolean;
585
- }, never>> & {
579
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
580
+ multiple?: boolean | undefined;
581
+ placeholder?: string | undefined;
582
+ clearable?: boolean | undefined;
583
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
584
+ expand?: "none" | "all" | "first" | "root" | undefined;
585
+ } & {} & {
586
586
  locale?: string | undefined;
587
587
  translate?: ((str: string, ...args: any[]) => string) | undefined;
588
588
  }>, prevState: Readonly<{}>): any;
589
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
590
- expand: "first";
591
- placeholder: string;
592
- itemRender: typeof BaseSelection.itemRender;
593
- multiple: boolean;
594
- clearable: boolean;
595
- }, never>> & {
589
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
590
+ multiple?: boolean | undefined;
591
+ placeholder?: string | undefined;
592
+ clearable?: boolean | undefined;
593
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
594
+ expand?: "none" | "all" | "first" | "root" | undefined;
595
+ } & {} & {
596
596
  locale?: string | undefined;
597
597
  translate?: ((str: string, ...args: any[]) => string) | undefined;
598
598
  }>, prevState: Readonly<{}>, snapshot?: any): void;
599
599
  componentWillMount?(): void;
600
600
  UNSAFE_componentWillMount?(): void;
601
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
602
- expand: "first";
603
- placeholder: string;
604
- itemRender: typeof BaseSelection.itemRender;
605
- multiple: boolean;
606
- clearable: boolean;
607
- }, never>> & {
601
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
602
+ multiple?: boolean | undefined;
603
+ placeholder?: string | undefined;
604
+ clearable?: boolean | undefined;
605
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
606
+ expand?: "none" | "all" | "first" | "root" | undefined;
607
+ } & {} & {
608
608
  locale?: string | undefined;
609
609
  translate?: ((str: string, ...args: any[]) => string) | undefined;
610
610
  }>, nextContext: any): void;
611
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
612
- expand: "first";
613
- placeholder: string;
614
- itemRender: typeof BaseSelection.itemRender;
615
- multiple: boolean;
616
- clearable: boolean;
617
- }, never>> & {
611
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
612
+ multiple?: boolean | undefined;
613
+ placeholder?: string | undefined;
614
+ clearable?: boolean | undefined;
615
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
616
+ expand?: "none" | "all" | "first" | "root" | undefined;
617
+ } & {} & {
618
618
  locale?: string | undefined;
619
619
  translate?: ((str: string, ...args: any[]) => string) | undefined;
620
620
  }>, nextContext: any): void;
621
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
622
- expand: "first";
623
- placeholder: string;
624
- itemRender: typeof BaseSelection.itemRender;
625
- multiple: boolean;
626
- clearable: boolean;
627
- }, never>> & {
621
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
622
+ multiple?: boolean | undefined;
623
+ placeholder?: string | undefined;
624
+ clearable?: boolean | undefined;
625
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
626
+ expand?: "none" | "all" | "first" | "root" | undefined;
627
+ } & {} & {
628
628
  locale?: string | undefined;
629
629
  translate?: ((str: string, ...args: any[]) => string) | undefined;
630
630
  }>, nextState: Readonly<{}>, nextContext: any): void;
631
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
632
- expand: "first";
633
- placeholder: string;
634
- itemRender: typeof BaseSelection.itemRender;
635
- multiple: boolean;
636
- clearable: boolean;
637
- }, never>> & {
631
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
632
+ multiple?: boolean | undefined;
633
+ placeholder?: string | undefined;
634
+ clearable?: boolean | undefined;
635
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
636
+ expand?: "none" | "all" | "first" | "root" | undefined;
637
+ } & {} & {
638
638
  locale?: string | undefined;
639
639
  translate?: ((str: string, ...args: any[]) => string) | undefined;
640
640
  }>, nextState: Readonly<{}>, nextContext: any): void;
641
641
  };
642
- new (props: Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
643
- expand: "first";
644
- placeholder: string;
645
- itemRender: typeof BaseSelection.itemRender;
646
- multiple: boolean;
647
- clearable: boolean;
648
- }, never>> & {
642
+ new (props: Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
643
+ multiple?: boolean | undefined;
644
+ placeholder?: string | undefined;
645
+ clearable?: boolean | undefined;
646
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
647
+ expand?: "none" | "all" | "first" | "root" | undefined;
648
+ } & {} & {
649
649
  locale?: string | undefined;
650
650
  translate?: ((str: string, ...args: any[]) => string) | undefined;
651
651
  }, context: any): {
652
652
  render(): JSX.Element;
653
653
  context: any;
654
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
655
- expand: "first";
656
- placeholder: string;
657
- itemRender: typeof BaseSelection.itemRender;
658
- multiple: boolean;
659
- clearable: boolean;
660
- }, never>> & {
654
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
655
+ multiple?: boolean | undefined;
656
+ placeholder?: string | undefined;
657
+ clearable?: boolean | undefined;
658
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
659
+ expand?: "none" | "all" | "first" | "root" | undefined;
660
+ } & {} & {
661
661
  locale?: string | undefined;
662
662
  translate?: ((str: string, ...args: any[]) => string) | undefined;
663
663
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
664
664
  forceUpdate(callback?: (() => void) | undefined): void;
665
- readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
666
- expand: "first";
667
- placeholder: string;
668
- itemRender: typeof BaseSelection.itemRender;
669
- multiple: boolean;
670
- clearable: boolean;
671
- }, never>> & {
665
+ readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
666
+ multiple?: boolean | undefined;
667
+ placeholder?: string | undefined;
668
+ clearable?: boolean | undefined;
669
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
670
+ expand?: "none" | "all" | "first" | "root" | undefined;
671
+ } & {} & {
672
672
  locale?: string | undefined;
673
673
  translate?: ((str: string, ...args: any[]) => string) | undefined;
674
674
  }> & Readonly<{
@@ -679,77 +679,77 @@ declare const _default: {
679
679
  [key: string]: React.ReactInstance;
680
680
  };
681
681
  componentDidMount?(): void;
682
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
683
- expand: "first";
684
- placeholder: string;
685
- itemRender: typeof BaseSelection.itemRender;
686
- multiple: boolean;
687
- clearable: boolean;
688
- }, never>> & {
682
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
683
+ multiple?: boolean | undefined;
684
+ placeholder?: string | undefined;
685
+ clearable?: boolean | undefined;
686
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
687
+ expand?: "none" | "all" | "first" | "root" | undefined;
688
+ } & {} & {
689
689
  locale?: string | undefined;
690
690
  translate?: ((str: string, ...args: any[]) => string) | undefined;
691
691
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
692
692
  componentWillUnmount?(): void;
693
693
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
694
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
695
- expand: "first";
696
- placeholder: string;
697
- itemRender: typeof BaseSelection.itemRender;
698
- multiple: boolean;
699
- clearable: boolean;
700
- }, never>> & {
694
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
695
+ multiple?: boolean | undefined;
696
+ placeholder?: string | undefined;
697
+ clearable?: boolean | undefined;
698
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
699
+ expand?: "none" | "all" | "first" | "root" | undefined;
700
+ } & {} & {
701
701
  locale?: string | undefined;
702
702
  translate?: ((str: string, ...args: any[]) => string) | undefined;
703
703
  }>, prevState: Readonly<{}>): any;
704
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
705
- expand: "first";
706
- placeholder: string;
707
- itemRender: typeof BaseSelection.itemRender;
708
- multiple: boolean;
709
- clearable: boolean;
710
- }, never>> & {
704
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
705
+ multiple?: boolean | undefined;
706
+ placeholder?: string | undefined;
707
+ clearable?: boolean | undefined;
708
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
709
+ expand?: "none" | "all" | "first" | "root" | undefined;
710
+ } & {} & {
711
711
  locale?: string | undefined;
712
712
  translate?: ((str: string, ...args: any[]) => string) | undefined;
713
713
  }>, prevState: Readonly<{}>, snapshot?: any): void;
714
714
  componentWillMount?(): void;
715
715
  UNSAFE_componentWillMount?(): void;
716
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
717
- expand: "first";
718
- placeholder: string;
719
- itemRender: typeof BaseSelection.itemRender;
720
- multiple: boolean;
721
- clearable: boolean;
722
- }, never>> & {
716
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
717
+ multiple?: boolean | undefined;
718
+ placeholder?: string | undefined;
719
+ clearable?: boolean | undefined;
720
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
721
+ expand?: "none" | "all" | "first" | "root" | undefined;
722
+ } & {} & {
723
723
  locale?: string | undefined;
724
724
  translate?: ((str: string, ...args: any[]) => string) | undefined;
725
725
  }>, nextContext: any): void;
726
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
727
- expand: "first";
728
- placeholder: string;
729
- itemRender: typeof BaseSelection.itemRender;
730
- multiple: boolean;
731
- clearable: boolean;
732
- }, never>> & {
726
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
727
+ multiple?: boolean | undefined;
728
+ placeholder?: string | undefined;
729
+ clearable?: boolean | undefined;
730
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
731
+ expand?: "none" | "all" | "first" | "root" | undefined;
732
+ } & {} & {
733
733
  locale?: string | undefined;
734
734
  translate?: ((str: string, ...args: any[]) => string) | undefined;
735
735
  }>, nextContext: any): void;
736
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
737
- expand: "first";
738
- placeholder: string;
739
- itemRender: typeof BaseSelection.itemRender;
740
- multiple: boolean;
741
- clearable: boolean;
742
- }, never>> & {
736
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
737
+ multiple?: boolean | undefined;
738
+ placeholder?: string | undefined;
739
+ clearable?: boolean | undefined;
740
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
741
+ expand?: "none" | "all" | "first" | "root" | undefined;
742
+ } & {} & {
743
743
  locale?: string | undefined;
744
744
  translate?: ((str: string, ...args: any[]) => string) | undefined;
745
745
  }>, nextState: Readonly<{}>, nextContext: any): void;
746
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
747
- expand: "first";
748
- placeholder: string;
749
- itemRender: typeof BaseSelection.itemRender;
750
- multiple: boolean;
751
- clearable: boolean;
752
- }, never>> & {
746
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
747
+ multiple?: boolean | undefined;
748
+ placeholder?: string | undefined;
749
+ clearable?: boolean | undefined;
750
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
751
+ expand?: "none" | "all" | "first" | "root" | undefined;
752
+ } & {} & {
753
753
  locale?: string | undefined;
754
754
  translate?: ((str: string, ...args: any[]) => string) | undefined;
755
755
  }>, nextState: Readonly<{}>, nextContext: any): void;
@@ -761,45 +761,45 @@ declare const _default: {
761
761
  ComposedComponent: typeof TreeSelection;
762
762
  }, {}> & {
763
763
  ComposedComponent: {
764
- new (props: (Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
765
- expand: "first";
766
- placeholder: string;
767
- itemRender: typeof BaseSelection.itemRender;
768
- multiple: boolean;
769
- clearable: boolean;
770
- }, never>> & {
764
+ new (props: (Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
765
+ multiple?: boolean | undefined;
766
+ placeholder?: string | undefined;
767
+ clearable?: boolean | undefined;
768
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
769
+ expand?: "none" | "all" | "first" | "root" | undefined;
770
+ } & {} & {
771
771
  locale?: string | undefined;
772
772
  translate?: ((str: string, ...args: any[]) => string) | undefined;
773
- }) | Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
774
- expand: "first";
775
- placeholder: string;
776
- itemRender: typeof BaseSelection.itemRender;
777
- multiple: boolean;
778
- clearable: boolean;
779
- }, never>> & {
773
+ }) | Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
774
+ multiple?: boolean | undefined;
775
+ placeholder?: string | undefined;
776
+ clearable?: boolean | undefined;
777
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
778
+ expand?: "none" | "all" | "first" | "root" | undefined;
779
+ } & {} & {
780
780
  locale?: string | undefined;
781
781
  translate?: ((str: string, ...args: any[]) => string) | undefined;
782
782
  }>): {
783
783
  render(): JSX.Element;
784
784
  context: any;
785
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
786
- expand: "first";
787
- placeholder: string;
788
- itemRender: typeof BaseSelection.itemRender;
789
- multiple: boolean;
790
- clearable: boolean;
791
- }, never>> & {
785
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
786
+ multiple?: boolean | undefined;
787
+ placeholder?: string | undefined;
788
+ clearable?: boolean | undefined;
789
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
790
+ expand?: "none" | "all" | "first" | "root" | undefined;
791
+ } & {} & {
792
792
  locale?: string | undefined;
793
793
  translate?: ((str: string, ...args: any[]) => string) | undefined;
794
794
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
795
795
  forceUpdate(callback?: (() => void) | undefined): void;
796
- readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
797
- expand: "first";
798
- placeholder: string;
799
- itemRender: typeof BaseSelection.itemRender;
800
- multiple: boolean;
801
- clearable: boolean;
802
- }, never>> & {
796
+ readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
797
+ multiple?: boolean | undefined;
798
+ placeholder?: string | undefined;
799
+ clearable?: boolean | undefined;
800
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
801
+ expand?: "none" | "all" | "first" | "root" | undefined;
802
+ } & {} & {
803
803
  locale?: string | undefined;
804
804
  translate?: ((str: string, ...args: any[]) => string) | undefined;
805
805
  }> & Readonly<{
@@ -810,111 +810,111 @@ declare const _default: {
810
810
  [key: string]: React.ReactInstance;
811
811
  };
812
812
  componentDidMount?(): void;
813
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
814
- expand: "first";
815
- placeholder: string;
816
- itemRender: typeof BaseSelection.itemRender;
817
- multiple: boolean;
818
- clearable: boolean;
819
- }, never>> & {
813
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
814
+ multiple?: boolean | undefined;
815
+ placeholder?: string | undefined;
816
+ clearable?: boolean | undefined;
817
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
818
+ expand?: "none" | "all" | "first" | "root" | undefined;
819
+ } & {} & {
820
820
  locale?: string | undefined;
821
821
  translate?: ((str: string, ...args: any[]) => string) | undefined;
822
822
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
823
823
  componentWillUnmount?(): void;
824
824
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
825
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
826
- expand: "first";
827
- placeholder: string;
828
- itemRender: typeof BaseSelection.itemRender;
829
- multiple: boolean;
830
- clearable: boolean;
831
- }, never>> & {
825
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
826
+ multiple?: boolean | undefined;
827
+ placeholder?: string | undefined;
828
+ clearable?: boolean | undefined;
829
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
830
+ expand?: "none" | "all" | "first" | "root" | undefined;
831
+ } & {} & {
832
832
  locale?: string | undefined;
833
833
  translate?: ((str: string, ...args: any[]) => string) | undefined;
834
834
  }>, prevState: Readonly<{}>): any;
835
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
836
- expand: "first";
837
- placeholder: string;
838
- itemRender: typeof BaseSelection.itemRender;
839
- multiple: boolean;
840
- clearable: boolean;
841
- }, never>> & {
835
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
836
+ multiple?: boolean | undefined;
837
+ placeholder?: string | undefined;
838
+ clearable?: boolean | undefined;
839
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
840
+ expand?: "none" | "all" | "first" | "root" | undefined;
841
+ } & {} & {
842
842
  locale?: string | undefined;
843
843
  translate?: ((str: string, ...args: any[]) => string) | undefined;
844
844
  }>, prevState: Readonly<{}>, snapshot?: any): void;
845
845
  componentWillMount?(): void;
846
846
  UNSAFE_componentWillMount?(): void;
847
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
848
- expand: "first";
849
- placeholder: string;
850
- itemRender: typeof BaseSelection.itemRender;
851
- multiple: boolean;
852
- clearable: boolean;
853
- }, never>> & {
847
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
848
+ multiple?: boolean | undefined;
849
+ placeholder?: string | undefined;
850
+ clearable?: boolean | undefined;
851
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
852
+ expand?: "none" | "all" | "first" | "root" | undefined;
853
+ } & {} & {
854
854
  locale?: string | undefined;
855
855
  translate?: ((str: string, ...args: any[]) => string) | undefined;
856
856
  }>, nextContext: any): void;
857
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
858
- expand: "first";
859
- placeholder: string;
860
- itemRender: typeof BaseSelection.itemRender;
861
- multiple: boolean;
862
- clearable: boolean;
863
- }, never>> & {
857
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
858
+ multiple?: boolean | undefined;
859
+ placeholder?: string | undefined;
860
+ clearable?: boolean | undefined;
861
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
862
+ expand?: "none" | "all" | "first" | "root" | undefined;
863
+ } & {} & {
864
864
  locale?: string | undefined;
865
865
  translate?: ((str: string, ...args: any[]) => string) | undefined;
866
866
  }>, nextContext: any): void;
867
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
868
- expand: "first";
869
- placeholder: string;
870
- itemRender: typeof BaseSelection.itemRender;
871
- multiple: boolean;
872
- clearable: boolean;
873
- }, never>> & {
867
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
868
+ multiple?: boolean | undefined;
869
+ placeholder?: string | undefined;
870
+ clearable?: boolean | undefined;
871
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
872
+ expand?: "none" | "all" | "first" | "root" | undefined;
873
+ } & {} & {
874
874
  locale?: string | undefined;
875
875
  translate?: ((str: string, ...args: any[]) => string) | undefined;
876
876
  }>, nextState: Readonly<{}>, nextContext: any): void;
877
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
878
- expand: "first";
879
- placeholder: string;
880
- itemRender: typeof BaseSelection.itemRender;
881
- multiple: boolean;
882
- clearable: boolean;
883
- }, never>> & {
877
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
878
+ multiple?: boolean | undefined;
879
+ placeholder?: string | undefined;
880
+ clearable?: boolean | undefined;
881
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
882
+ expand?: "none" | "all" | "first" | "root" | undefined;
883
+ } & {} & {
884
884
  locale?: string | undefined;
885
885
  translate?: ((str: string, ...args: any[]) => string) | undefined;
886
886
  }>, nextState: Readonly<{}>, nextContext: any): void;
887
887
  };
888
- new (props: Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
889
- expand: "first";
890
- placeholder: string;
891
- itemRender: typeof BaseSelection.itemRender;
892
- multiple: boolean;
893
- clearable: boolean;
894
- }, never>> & {
888
+ new (props: Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
889
+ multiple?: boolean | undefined;
890
+ placeholder?: string | undefined;
891
+ clearable?: boolean | undefined;
892
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
893
+ expand?: "none" | "all" | "first" | "root" | undefined;
894
+ } & {} & {
895
895
  locale?: string | undefined;
896
896
  translate?: ((str: string, ...args: any[]) => string) | undefined;
897
897
  }, context: any): {
898
898
  render(): JSX.Element;
899
899
  context: any;
900
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
901
- expand: "first";
902
- placeholder: string;
903
- itemRender: typeof BaseSelection.itemRender;
904
- multiple: boolean;
905
- clearable: boolean;
906
- }, never>> & {
900
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
901
+ multiple?: boolean | undefined;
902
+ placeholder?: string | undefined;
903
+ clearable?: boolean | undefined;
904
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
905
+ expand?: "none" | "all" | "first" | "root" | undefined;
906
+ } & {} & {
907
907
  locale?: string | undefined;
908
908
  translate?: ((str: string, ...args: any[]) => string) | undefined;
909
909
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
910
910
  forceUpdate(callback?: (() => void) | undefined): void;
911
- readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
912
- expand: "first";
913
- placeholder: string;
914
- itemRender: typeof BaseSelection.itemRender;
915
- multiple: boolean;
916
- clearable: boolean;
917
- }, never>> & {
911
+ readonly props: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
912
+ multiple?: boolean | undefined;
913
+ placeholder?: string | undefined;
914
+ clearable?: boolean | undefined;
915
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
916
+ expand?: "none" | "all" | "first" | "root" | undefined;
917
+ } & {} & {
918
918
  locale?: string | undefined;
919
919
  translate?: ((str: string, ...args: any[]) => string) | undefined;
920
920
  }> & Readonly<{
@@ -925,77 +925,77 @@ declare const _default: {
925
925
  [key: string]: React.ReactInstance;
926
926
  };
927
927
  componentDidMount?(): void;
928
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
929
- expand: "first";
930
- placeholder: string;
931
- itemRender: typeof BaseSelection.itemRender;
932
- multiple: boolean;
933
- clearable: boolean;
934
- }, never>> & {
928
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
929
+ multiple?: boolean | undefined;
930
+ placeholder?: string | undefined;
931
+ clearable?: boolean | undefined;
932
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
933
+ expand?: "none" | "all" | "first" | "root" | undefined;
934
+ } & {} & {
935
935
  locale?: string | undefined;
936
936
  translate?: ((str: string, ...args: any[]) => string) | undefined;
937
937
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
938
938
  componentWillUnmount?(): void;
939
939
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
940
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
941
- expand: "first";
942
- placeholder: string;
943
- itemRender: typeof BaseSelection.itemRender;
944
- multiple: boolean;
945
- clearable: boolean;
946
- }, never>> & {
940
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
941
+ multiple?: boolean | undefined;
942
+ placeholder?: string | undefined;
943
+ clearable?: boolean | undefined;
944
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
945
+ expand?: "none" | "all" | "first" | "root" | undefined;
946
+ } & {} & {
947
947
  locale?: string | undefined;
948
948
  translate?: ((str: string, ...args: any[]) => string) | undefined;
949
949
  }>, prevState: Readonly<{}>): any;
950
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
951
- expand: "first";
952
- placeholder: string;
953
- itemRender: typeof BaseSelection.itemRender;
954
- multiple: boolean;
955
- clearable: boolean;
956
- }, never>> & {
950
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
951
+ multiple?: boolean | undefined;
952
+ placeholder?: string | undefined;
953
+ clearable?: boolean | undefined;
954
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
955
+ expand?: "none" | "all" | "first" | "root" | undefined;
956
+ } & {} & {
957
957
  locale?: string | undefined;
958
958
  translate?: ((str: string, ...args: any[]) => string) | undefined;
959
959
  }>, prevState: Readonly<{}>, snapshot?: any): void;
960
960
  componentWillMount?(): void;
961
961
  UNSAFE_componentWillMount?(): void;
962
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
963
- expand: "first";
964
- placeholder: string;
965
- itemRender: typeof BaseSelection.itemRender;
966
- multiple: boolean;
967
- clearable: boolean;
968
- }, never>> & {
962
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
963
+ multiple?: boolean | undefined;
964
+ placeholder?: string | undefined;
965
+ clearable?: boolean | undefined;
966
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
967
+ expand?: "none" | "all" | "first" | "root" | undefined;
968
+ } & {} & {
969
969
  locale?: string | undefined;
970
970
  translate?: ((str: string, ...args: any[]) => string) | undefined;
971
971
  }>, nextContext: any): void;
972
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
973
- expand: "first";
974
- placeholder: string;
975
- itemRender: typeof BaseSelection.itemRender;
976
- multiple: boolean;
977
- clearable: boolean;
978
- }, never>> & {
972
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
973
+ multiple?: boolean | undefined;
974
+ placeholder?: string | undefined;
975
+ clearable?: boolean | undefined;
976
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
977
+ expand?: "none" | "all" | "first" | "root" | undefined;
978
+ } & {} & {
979
979
  locale?: string | undefined;
980
980
  translate?: ((str: string, ...args: any[]) => string) | undefined;
981
981
  }>, nextContext: any): void;
982
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
983
- expand: "first";
984
- placeholder: string;
985
- itemRender: typeof BaseSelection.itemRender;
986
- multiple: boolean;
987
- clearable: boolean;
988
- }, never>> & {
982
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
983
+ multiple?: boolean | undefined;
984
+ placeholder?: string | undefined;
985
+ clearable?: boolean | undefined;
986
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
987
+ expand?: "none" | "all" | "first" | "root" | undefined;
988
+ } & {} & {
989
989
  locale?: string | undefined;
990
990
  translate?: ((str: string, ...args: any[]) => string) | undefined;
991
991
  }>, nextState: Readonly<{}>, nextContext: any): void;
992
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & Partial<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "multiple" | "placeholder" | "clearable" | "itemRender" | "expand">> & Partial<Pick<{
993
- expand: "first";
994
- placeholder: string;
995
- itemRender: typeof BaseSelection.itemRender;
996
- multiple: boolean;
997
- clearable: boolean;
998
- }, never>> & {
992
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TreeSelectionProps, keyof import("../locale").LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "onClick" | "options" | "inline" | "onChange" | "labelClassName" | "onDeferLoad" | "option2value" | "itemClassName"> & {
993
+ multiple?: boolean | undefined;
994
+ placeholder?: string | undefined;
995
+ clearable?: boolean | undefined;
996
+ itemRender?: ((option: Option, states: import("./Selection").ItemRenderStates) => JSX.Element) | undefined;
997
+ expand?: "none" | "all" | "first" | "root" | undefined;
998
+ } & {} & {
999
999
  locale?: string | undefined;
1000
1000
  translate?: ((str: string, ...args: any[]) => string) | undefined;
1001
1001
  }>, nextState: Readonly<{}>, nextContext: any): void;