amis 1.9.1-beta.0 → 1.9.1-beta.1

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 (63) hide show
  1. package/lib/components/Alert2.d.ts +10 -10
  2. package/lib/components/SearchBox.d.ts +40 -40
  3. package/lib/components/calendar/DaysView.js +13 -6
  4. package/lib/components/calendar/DaysView.js.map +2 -2
  5. package/lib/components/calendar/TimeView.js +2 -1
  6. package/lib/components/calendar/TimeView.js.map +2 -2
  7. package/lib/components/formula/Picker.js +4 -4
  8. package/lib/components/formula/Picker.js.map +2 -2
  9. package/lib/helper.css +125 -124
  10. package/lib/helper.css.map +1 -1
  11. package/lib/index.js +1 -1
  12. package/lib/renderers/Log.d.ts +16 -0
  13. package/lib/renderers/Log.js +35 -11
  14. package/lib/renderers/Log.js.map +2 -2
  15. package/lib/themes/ang-ie11.css +15 -3
  16. package/lib/themes/ang.css +15 -3
  17. package/lib/themes/ang.css.map +1 -1
  18. package/lib/themes/antd-ie11.css +15 -3
  19. package/lib/themes/antd.css +15 -3
  20. package/lib/themes/antd.css.map +1 -1
  21. package/lib/themes/cxd-ie11.css +15 -3
  22. package/lib/themes/cxd.css +15 -3
  23. package/lib/themes/cxd.css.map +1 -1
  24. package/lib/themes/dark-ie11.css +15 -3
  25. package/lib/themes/dark.css +15 -3
  26. package/lib/themes/dark.css.map +1 -1
  27. package/lib/themes/default-ie11.css +15 -3
  28. package/lib/themes/default.css +15 -3
  29. package/lib/themes/default.css.map +1 -1
  30. package/package.json +1 -1
  31. package/scss/components/form/_transfer.scss +19 -3
  32. package/scss/helper/background/_background-color.scss +125 -124
  33. package/sdk/ang-ie11.css +19 -3
  34. package/sdk/ang.css +19 -3
  35. package/sdk/antd-ie11.css +19 -3
  36. package/sdk/antd.css +19 -3
  37. package/sdk/barcode.js +51 -51
  38. package/sdk/charts.js +14 -14
  39. package/sdk/codemirror.js +7 -7
  40. package/sdk/color-picker.js +65 -65
  41. package/sdk/cropperjs.js +2 -2
  42. package/sdk/cxd-ie11.css +19 -3
  43. package/sdk/cxd.css +19 -3
  44. package/sdk/dark-ie11.css +19 -3
  45. package/sdk/dark.css +19 -3
  46. package/sdk/exceljs.js +1 -1
  47. package/sdk/helper.css +125 -124
  48. package/sdk/helper.css.map +1 -1
  49. package/sdk/markdown.js +69 -69
  50. package/sdk/papaparse.js +1 -1
  51. package/sdk/renderers/Form/CityDB.js +1 -1
  52. package/sdk/rest.js +16 -16
  53. package/sdk/rich-text.js +62 -62
  54. package/sdk/sdk-ie11.css +19 -3
  55. package/sdk/sdk.css +19 -3
  56. package/sdk/sdk.js +1307 -1305
  57. package/sdk/thirds/hls.js/hls.js +1 -1
  58. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  59. package/sdk/tinymce.js +57 -57
  60. package/src/components/calendar/DaysView.tsx +68 -37
  61. package/src/components/calendar/TimeView.tsx +1 -1
  62. package/src/components/formula/Picker.tsx +2 -1
  63. package/src/renderers/Log.tsx +71 -12
@@ -29,15 +29,15 @@ export declare class Alert extends React.Component<AlertProps, AlertState> {
29
29
  render(): JSX.Element | null;
30
30
  }
31
31
  declare const _default: {
32
- new (props: Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps): {
32
+ new (props: Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps): {
33
33
  ref: any;
34
34
  childRef(ref: any): void;
35
35
  getWrappedInstance(): any;
36
36
  render(): JSX.Element;
37
37
  context: any;
38
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
38
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
39
39
  forceUpdate(callback?: (() => void) | undefined): void;
40
- readonly props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps> & Readonly<{
40
+ readonly props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps> & Readonly<{
41
41
  children?: React.ReactNode;
42
42
  }>;
43
43
  state: Readonly<{}>;
@@ -45,17 +45,17 @@ declare const _default: {
45
45
  [key: string]: React.ReactInstance;
46
46
  };
47
47
  componentDidMount?(): void;
48
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
48
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
49
49
  componentWillUnmount?(): void;
50
50
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
51
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
52
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
51
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
52
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
53
53
  componentWillMount?(): void;
54
54
  UNSAFE_componentWillMount?(): void;
55
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextContext: any): void;
56
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextContext: any): void;
57
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
58
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
55
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextContext: any): void;
56
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextContext: any): void;
57
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
58
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "level" | "showCloseButton">> & Partial<Pick<Pick<AlertProps, "className" | "level" | "showCloseButton">, "className">> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
59
59
  };
60
60
  displayName: string;
61
61
  contextType: React.Context<string>;
@@ -34,7 +34,7 @@ export declare class SearchBox extends React.Component<SearchBoxProps> {
34
34
  render(): JSX.Element;
35
35
  }
36
36
  declare const _default: {
37
- new (props: Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
37
+ new (props: Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
38
38
  mini: boolean;
39
39
  searchImediately: boolean;
40
40
  }, never>> & {
@@ -46,7 +46,7 @@ declare const _default: {
46
46
  getWrappedInstance(): any;
47
47
  render(): JSX.Element;
48
48
  context: any;
49
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
49
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
50
50
  mini: boolean;
51
51
  searchImediately: boolean;
52
52
  }, never>> & {
@@ -54,7 +54,7 @@ declare const _default: {
54
54
  translate?: ((str: string, ...args: any[]) => string) | undefined;
55
55
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
56
56
  forceUpdate(callback?: (() => void) | undefined): void;
57
- readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
57
+ readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
58
58
  mini: boolean;
59
59
  searchImediately: boolean;
60
60
  }, never>> & {
@@ -68,7 +68,7 @@ declare const _default: {
68
68
  [key: string]: React.ReactInstance;
69
69
  };
70
70
  componentDidMount?(): void;
71
- shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
71
+ shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
72
72
  mini: boolean;
73
73
  searchImediately: boolean;
74
74
  }, never>> & {
@@ -77,14 +77,14 @@ declare const _default: {
77
77
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
78
78
  componentWillUnmount?(): void;
79
79
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
80
- getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
80
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
81
81
  mini: boolean;
82
82
  searchImediately: boolean;
83
83
  }, never>> & {
84
84
  locale?: string | undefined;
85
85
  translate?: ((str: string, ...args: any[]) => string) | undefined;
86
86
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
87
- componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
87
+ componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
88
88
  mini: boolean;
89
89
  searchImediately: boolean;
90
90
  }, never>> & {
@@ -93,28 +93,28 @@ declare const _default: {
93
93
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
94
94
  componentWillMount?(): void;
95
95
  UNSAFE_componentWillMount?(): void;
96
- componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
96
+ componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
97
97
  mini: boolean;
98
98
  searchImediately: boolean;
99
99
  }, never>> & {
100
100
  locale?: string | undefined;
101
101
  translate?: ((str: string, ...args: any[]) => string) | undefined;
102
102
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
103
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
103
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
104
104
  mini: boolean;
105
105
  searchImediately: boolean;
106
106
  }, never>> & {
107
107
  locale?: string | undefined;
108
108
  translate?: ((str: string, ...args: any[]) => string) | undefined;
109
109
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
110
- componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
110
+ componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
111
111
  mini: boolean;
112
112
  searchImediately: boolean;
113
113
  }, never>> & {
114
114
  locale?: string | undefined;
115
115
  translate?: ((str: string, ...args: any[]) => string) | undefined;
116
116
  }, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
117
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
117
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
118
118
  mini: boolean;
119
119
  searchImediately: boolean;
120
120
  }, never>> & {
@@ -125,7 +125,7 @@ declare const _default: {
125
125
  displayName: string;
126
126
  contextType: React.Context<string>;
127
127
  ComposedComponent: React.ComponentType<{
128
- new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
128
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
129
129
  mini: boolean;
130
130
  searchImediately: boolean;
131
131
  }, never>> & {
@@ -137,7 +137,7 @@ declare const _default: {
137
137
  getWrappedInstance(): any;
138
138
  render(): JSX.Element;
139
139
  context: any;
140
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
140
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
141
141
  mini: boolean;
142
142
  searchImediately: boolean;
143
143
  }, never>> & {
@@ -145,7 +145,7 @@ declare const _default: {
145
145
  translate?: ((str: string, ...args: any[]) => string) | undefined;
146
146
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
147
147
  forceUpdate(callback?: (() => void) | undefined): void;
148
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
148
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
149
149
  mini: boolean;
150
150
  searchImediately: boolean;
151
151
  }, never>> & {
@@ -159,7 +159,7 @@ declare const _default: {
159
159
  [key: string]: React.ReactInstance;
160
160
  };
161
161
  componentDidMount?(): void;
162
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
162
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
163
163
  mini: boolean;
164
164
  searchImediately: boolean;
165
165
  }, never>> & {
@@ -168,14 +168,14 @@ declare const _default: {
168
168
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
169
169
  componentWillUnmount?(): void;
170
170
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
171
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
171
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
172
172
  mini: boolean;
173
173
  searchImediately: boolean;
174
174
  }, never>> & {
175
175
  locale?: string | undefined;
176
176
  translate?: ((str: string, ...args: any[]) => string) | undefined;
177
177
  }>, prevState: Readonly<{}>): any;
178
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
178
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
179
179
  mini: boolean;
180
180
  searchImediately: boolean;
181
181
  }, never>> & {
@@ -184,28 +184,28 @@ declare const _default: {
184
184
  }>, prevState: Readonly<{}>, snapshot?: any): void;
185
185
  componentWillMount?(): void;
186
186
  UNSAFE_componentWillMount?(): void;
187
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
187
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
188
188
  mini: boolean;
189
189
  searchImediately: boolean;
190
190
  }, never>> & {
191
191
  locale?: string | undefined;
192
192
  translate?: ((str: string, ...args: any[]) => string) | undefined;
193
193
  }>, nextContext: any): void;
194
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
194
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
195
195
  mini: boolean;
196
196
  searchImediately: boolean;
197
197
  }, never>> & {
198
198
  locale?: string | undefined;
199
199
  translate?: ((str: string, ...args: any[]) => string) | undefined;
200
200
  }>, nextContext: any): void;
201
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
201
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
202
202
  mini: boolean;
203
203
  searchImediately: boolean;
204
204
  }, never>> & {
205
205
  locale?: string | undefined;
206
206
  translate?: ((str: string, ...args: any[]) => string) | undefined;
207
207
  }>, nextState: Readonly<{}>, nextContext: any): void;
208
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
208
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
209
209
  mini: boolean;
210
210
  searchImediately: boolean;
211
211
  }, never>> & {
@@ -220,7 +220,7 @@ declare const _default: {
220
220
  ComposedComponent: typeof SearchBox;
221
221
  }>;
222
222
  } & import("hoist-non-react-statics").NonReactStatics<{
223
- new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
223
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
224
224
  mini: boolean;
225
225
  searchImediately: boolean;
226
226
  }, never>> & {
@@ -232,7 +232,7 @@ declare const _default: {
232
232
  getWrappedInstance(): any;
233
233
  render(): JSX.Element;
234
234
  context: any;
235
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
235
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
236
236
  mini: boolean;
237
237
  searchImediately: boolean;
238
238
  }, never>> & {
@@ -240,7 +240,7 @@ declare const _default: {
240
240
  translate?: ((str: string, ...args: any[]) => string) | undefined;
241
241
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
242
242
  forceUpdate(callback?: (() => void) | undefined): void;
243
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
243
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
244
244
  mini: boolean;
245
245
  searchImediately: boolean;
246
246
  }, never>> & {
@@ -254,7 +254,7 @@ declare const _default: {
254
254
  [key: string]: React.ReactInstance;
255
255
  };
256
256
  componentDidMount?(): void;
257
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
257
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
258
258
  mini: boolean;
259
259
  searchImediately: boolean;
260
260
  }, never>> & {
@@ -263,14 +263,14 @@ declare const _default: {
263
263
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
264
264
  componentWillUnmount?(): void;
265
265
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
266
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
266
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
267
267
  mini: boolean;
268
268
  searchImediately: boolean;
269
269
  }, never>> & {
270
270
  locale?: string | undefined;
271
271
  translate?: ((str: string, ...args: any[]) => string) | undefined;
272
272
  }>, prevState: Readonly<{}>): any;
273
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
273
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
274
274
  mini: boolean;
275
275
  searchImediately: boolean;
276
276
  }, never>> & {
@@ -279,28 +279,28 @@ declare const _default: {
279
279
  }>, prevState: Readonly<{}>, snapshot?: any): void;
280
280
  componentWillMount?(): void;
281
281
  UNSAFE_componentWillMount?(): void;
282
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
282
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
283
283
  mini: boolean;
284
284
  searchImediately: boolean;
285
285
  }, never>> & {
286
286
  locale?: string | undefined;
287
287
  translate?: ((str: string, ...args: any[]) => string) | undefined;
288
288
  }>, nextContext: any): void;
289
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
289
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
290
290
  mini: boolean;
291
291
  searchImediately: boolean;
292
292
  }, never>> & {
293
293
  locale?: string | undefined;
294
294
  translate?: ((str: string, ...args: any[]) => string) | undefined;
295
295
  }>, nextContext: any): void;
296
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
296
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
297
297
  mini: boolean;
298
298
  searchImediately: boolean;
299
299
  }, never>> & {
300
300
  locale?: string | undefined;
301
301
  translate?: ((str: string, ...args: any[]) => string) | undefined;
302
302
  }>, nextState: Readonly<{}>, nextContext: any): void;
303
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
303
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
304
304
  mini: boolean;
305
305
  searchImediately: boolean;
306
306
  }, never>> & {
@@ -315,7 +315,7 @@ declare const _default: {
315
315
  ComposedComponent: typeof SearchBox;
316
316
  }, {}> & {
317
317
  ComposedComponent: {
318
- new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
318
+ new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
319
319
  mini: boolean;
320
320
  searchImediately: boolean;
321
321
  }, never>> & {
@@ -327,7 +327,7 @@ declare const _default: {
327
327
  getWrappedInstance(): any;
328
328
  render(): JSX.Element;
329
329
  context: any;
330
- setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
330
+ setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
331
331
  mini: boolean;
332
332
  searchImediately: boolean;
333
333
  }, never>> & {
@@ -335,7 +335,7 @@ declare const _default: {
335
335
  translate?: ((str: string, ...args: any[]) => string) | undefined;
336
336
  }>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
337
337
  forceUpdate(callback?: (() => void) | undefined): void;
338
- readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
338
+ readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
339
339
  mini: boolean;
340
340
  searchImediately: boolean;
341
341
  }, never>> & {
@@ -349,7 +349,7 @@ declare const _default: {
349
349
  [key: string]: React.ReactInstance;
350
350
  };
351
351
  componentDidMount?(): void;
352
- shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
352
+ shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
353
353
  mini: boolean;
354
354
  searchImediately: boolean;
355
355
  }, never>> & {
@@ -358,14 +358,14 @@ declare const _default: {
358
358
  }>, nextState: Readonly<{}>, nextContext: any): boolean;
359
359
  componentWillUnmount?(): void;
360
360
  componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
361
- getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
361
+ getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
362
362
  mini: boolean;
363
363
  searchImediately: boolean;
364
364
  }, never>> & {
365
365
  locale?: string | undefined;
366
366
  translate?: ((str: string, ...args: any[]) => string) | undefined;
367
367
  }>, prevState: Readonly<{}>): any;
368
- componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
368
+ componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
369
369
  mini: boolean;
370
370
  searchImediately: boolean;
371
371
  }, never>> & {
@@ -374,28 +374,28 @@ declare const _default: {
374
374
  }>, prevState: Readonly<{}>, snapshot?: any): void;
375
375
  componentWillMount?(): void;
376
376
  UNSAFE_componentWillMount?(): void;
377
- componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
377
+ componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
378
378
  mini: boolean;
379
379
  searchImediately: boolean;
380
380
  }, never>> & {
381
381
  locale?: string | undefined;
382
382
  translate?: ((str: string, ...args: any[]) => string) | undefined;
383
383
  }>, nextContext: any): void;
384
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
384
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
385
385
  mini: boolean;
386
386
  searchImediately: boolean;
387
387
  }, never>> & {
388
388
  locale?: string | undefined;
389
389
  translate?: ((str: string, ...args: any[]) => string) | undefined;
390
390
  }>, nextContext: any): void;
391
- componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
391
+ componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
392
392
  mini: boolean;
393
393
  searchImediately: boolean;
394
394
  }, never>> & {
395
395
  locale?: string | undefined;
396
396
  translate?: ((str: string, ...args: any[]) => string) | undefined;
397
397
  }>, nextState: Readonly<{}>, nextContext: any): void;
398
- UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch" | "onCancel"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
398
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "onCancel" | "name" | "active" | "placeholder" | "onChange" | "onActiveChange" | "defaultActive" | "onSearch"> & Partial<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "mini" | "searchImediately">> & Partial<Pick<{
399
399
  mini: boolean;
400
400
  searchImediately: boolean;
401
401
  }, never>> & {
@@ -58,8 +58,9 @@ var CustomDaysView = /** @class */ (function (_super) {
58
58
  }
59
59
  };
60
60
  _this.scrollToTop = function (type, value, i, label) {
61
+ var _a;
61
62
  var elf = document.getElementById("".concat(_this.state.uniqueTag, "-").concat(i, "-input"));
62
- elf.parentNode.scrollTo({
63
+ (_a = elf === null || elf === void 0 ? void 0 : elf.parentNode) === null || _a === void 0 ? void 0 : _a.scrollTo({
63
64
  top: value * 28,
64
65
  behavior: label === 'init' ? 'auto' : 'smooth'
65
66
  });
@@ -207,8 +208,12 @@ var CustomDaysView = /** @class */ (function (_super) {
207
208
  }
208
209
  });
209
210
  return (react_1.default.createElement("div", { className: cx('CalendarInputWrapper', 'CalendarInputWrapperMT') },
210
- react_1.default.createElement("div", { className: cx('CalendarInput-sugs', type === 'hours' ? 'CalendarInput-sugsHours' : 'CalendarInput-sugsTimes'), id: "".concat(_this.state.uniqueTag, "-").concat(i, "-input") }, options_1.map(function (option) {
211
- return (react_1.default.createElement("div", { key: option.value, className: cx('CalendarInput-sugsItem', { 'is-highlight': option.value === date.format(formatMap_1[type]) }), onClick: function () {
211
+ react_1.default.createElement("div", { className: cx('CalendarInput-sugs', type === 'hours'
212
+ ? 'CalendarInput-sugsHours'
213
+ : 'CalendarInput-sugsTimes'), id: "".concat(_this.state.uniqueTag, "-").concat(i, "-input") }, options_1.map(function (option) {
214
+ return (react_1.default.createElement("div", { key: option.value, className: cx('CalendarInput-sugsItem', {
215
+ 'is-highlight': option.value === date.format(formatMap_1[type])
216
+ }), onClick: function () {
212
217
  _this.setTime(type, parseInt(option.value, 10));
213
218
  _this.scrollToTop(type, parseInt(option.value, 10), i);
214
219
  closeMenu();
@@ -273,7 +278,7 @@ var CustomDaysView = /** @class */ (function (_super) {
273
278
  columns: columns,
274
279
  types: types,
275
280
  pickerValue: currentDate.toArray(),
276
- uniqueTag: 0,
281
+ uniqueTag: 0
277
282
  };
278
283
  return _this;
279
284
  }
@@ -327,7 +332,7 @@ var CustomDaysView = /** @class */ (function (_super) {
327
332
  return weeks;
328
333
  };
329
334
  CustomDaysView.prototype.componentWillMount = function () {
330
- this.setState({ uniqueTag: (new Date()).valueOf() });
335
+ this.setState({ uniqueTag: new Date().valueOf() });
331
336
  };
332
337
  CustomDaysView.prototype.componentDidMount = function () {
333
338
  var _this = this;
@@ -384,7 +389,9 @@ var CustomDaysView = /** @class */ (function (_super) {
384
389
  return (react_1.default.createElement(react_1.default.Fragment, null,
385
390
  react_1.default.createElement("div", { className: timeFormat ? 'rdtDays' : '' },
386
391
  react_1.default.createElement("table", { className: timeFormat ? 'rdtDaysPart' : '' }, tableChildren),
387
- timeFormat ? (react_1.default.createElement("div", { className: timeFormat.toLowerCase().indexOf('s') > 0 ? "rdtTimePartWithS" : "rdtTimePart" }, this.renderTimes())) : null),
392
+ timeFormat ? (react_1.default.createElement("div", { className: timeFormat.toLowerCase().indexOf('s') > 0
393
+ ? 'rdtTimePartWithS'
394
+ : 'rdtTimePart' }, this.renderTimes())) : null),
388
395
  react_1.default.createElement("table", null, this.renderFooter())));
389
396
  };
390
397
  return CustomDaysView;