amis 1.3.5-beta.7 → 1.4.2-beta.11
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.
- package/README.md +1 -1
- package/lib/Schema.d.ts +26 -2
- package/lib/Schema.js.map +1 -1
- package/lib/components/Alert.js +3 -1
- package/lib/components/Alert.js.map +2 -2
- package/lib/components/AnchorNav.d.ts +22 -21
- package/lib/components/AnchorNav.js +7 -3
- package/lib/components/AnchorNav.js.map +2 -2
- package/lib/components/ArrayInput.d.ts +84 -84
- package/lib/components/AssociatedSelection.d.ts +930 -0
- package/lib/components/AssociatedSelection.js +89 -0
- package/lib/components/AssociatedSelection.js.map +13 -0
- package/lib/components/Badge.d.ts +16 -3
- package/lib/components/Badge.js +54 -5
- package/lib/components/Badge.js.map +2 -2
- package/lib/components/Button.d.ts +24 -22
- package/lib/components/Button.js +13 -7
- package/lib/components/Button.js.map +2 -2
- package/lib/components/{ChainedCheckboxes.d.ts → ChainedSelection.d.ts} +267 -98
- package/lib/components/{ChainedCheckboxes.js → ChainedSelection.js} +30 -24
- package/lib/components/ChainedSelection.js.map +13 -0
- package/lib/components/Checkbox.d.ts +1 -1
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/Checkbox.js.map +2 -2
- package/lib/components/Collapse.js +1 -1
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/ColorPicker.d.ts +84 -84
- package/lib/components/DatePicker.d.ts +84 -84
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +84 -84
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Drawer.js.map +2 -2
- package/lib/components/Editor.d.ts +84 -84
- package/lib/components/GroupedSelection.d.ts +907 -0
- package/lib/components/GroupedSelection.js +48 -0
- package/lib/components/GroupedSelection.js.map +13 -0
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/Link.d.ts +84 -0
- package/lib/components/Link.js +43 -0
- package/lib/components/Link.js.map +13 -0
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/Modal.js +1 -1
- package/lib/components/Modal.js.map +2 -2
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/ModalManager.js.map +2 -2
- package/lib/components/MonthRangePicker.d.ts +84 -84
- package/lib/components/MonthRangePicker.js +1 -1
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/NumberInput.d.ts +20 -20
- package/lib/components/PickerColumn.d.ts +514 -0
- package/lib/components/PickerColumn.js +279 -0
- package/lib/components/PickerColumn.js.map +13 -0
- package/lib/components/PickerContainer.d.ts +513 -0
- package/lib/components/PickerContainer.js +96 -0
- package/lib/components/PickerContainer.js.map +13 -0
- package/lib/components/Radios.d.ts +22 -21
- package/lib/components/Radios.js +1 -0
- package/lib/components/Radios.js.map +2 -2
- package/lib/components/Rating.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +84 -84
- package/lib/components/RichText.d.ts +6 -1
- package/lib/components/RichText.js +207 -8
- package/lib/components/RichText.js.map +2 -2
- package/lib/components/SearchBox.d.ts +84 -84
- package/lib/components/SearchBox.js +4 -4
- package/lib/components/SearchBox.js.map +2 -2
- package/lib/components/Select.d.ts +252 -237
- package/lib/components/Select.js +28 -4
- package/lib/components/Select.js.map +2 -2
- package/lib/components/{Checkboxes.d.ts → Selection.d.ts} +273 -98
- package/lib/components/Selection.js +134 -0
- package/lib/components/Selection.js.map +13 -0
- package/lib/components/SparkLine.d.ts +85 -84
- package/lib/components/SparkLine.js +2 -2
- package/lib/components/SparkLine.js.map +2 -2
- package/lib/components/Steps.d.ts +3 -3
- package/lib/components/Steps.js.map +1 -1
- package/lib/components/{TableCheckboxes.d.ts → TableSelection.d.ts} +266 -96
- package/lib/components/{TableCheckboxes.js → TableSelection.js} +30 -30
- package/lib/components/TableSelection.js.map +13 -0
- package/lib/components/Tabs.d.ts +20 -20
- package/lib/components/TabsTransfer.d.ts +84 -84
- package/lib/components/TabsTransfer.js +9 -9
- package/lib/components/TabsTransfer.js.map +2 -2
- package/lib/components/TabsTransferPicker.d.ts +489 -0
- package/lib/components/TabsTransferPicker.js +60 -0
- package/lib/components/TabsTransferPicker.js.map +13 -0
- package/lib/components/Toast.js +2 -2
- package/lib/components/Toast.js.map +2 -2
- package/lib/components/Transfer.d.ts +908 -274
- package/lib/components/Transfer.js +31 -24
- package/lib/components/Transfer.js.map +2 -2
- package/lib/components/TransferDropDown.d.ts +487 -0
- package/lib/components/TransferDropDown.js +59 -0
- package/lib/components/TransferDropDown.js.map +13 -0
- package/lib/components/TransferPicker.d.ts +489 -0
- package/lib/components/TransferPicker.js +60 -0
- package/lib/components/TransferPicker.js.map +13 -0
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/Tree.js +5 -3
- package/lib/components/Tree.js.map +2 -2
- package/lib/components/{TreeCheckboxes.d.ts → TreeSelection.d.ts} +269 -99
- package/lib/components/{TreeCheckboxes.js → TreeSelection.js} +36 -32
- package/lib/components/TreeSelection.js.map +13 -0
- package/lib/components/WithRemoteConfig.d.ts +8 -0
- package/lib/components/WithRemoteConfig.js +29 -3
- package/lib/components/WithRemoteConfig.js.map +2 -2
- package/lib/components/calendar/DaysView.js +2 -2
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/components/condition-builder/Field.js +5 -3
- package/lib/components/condition-builder/Field.js.map +2 -2
- package/lib/components/condition-builder/Func.js +2 -2
- package/lib/components/condition-builder/Func.js.map +2 -2
- package/lib/components/condition-builder/InputSwitch.js +2 -2
- package/lib/components/condition-builder/InputSwitch.js.map +2 -2
- package/lib/components/condition-builder/Item.js +3 -3
- package/lib/components/condition-builder/Item.js.map +2 -2
- package/lib/components/condition-builder/Value.js +2 -1
- package/lib/components/condition-builder/Value.js.map +2 -2
- package/lib/components/condition-builder/types.d.ts +5 -0
- package/lib/components/condition-builder/types.js.map +1 -1
- package/lib/components/icons.js +14 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +8 -8
- package/lib/components/index.js +16 -16
- package/lib/components/index.js.map +2 -2
- package/lib/envOverwrite.js.map +2 -2
- package/lib/factory.d.ts +9 -1
- package/lib/factory.js +13 -6
- package/lib/factory.js.map +2 -2
- package/lib/helper.css.map +1 -1
- package/lib/hooks/index.d.ts +5 -0
- package/lib/hooks/index.js +14 -0
- package/lib/hooks/index.js.map +13 -0
- package/lib/hooks/use-set-state.d.ts +2 -0
- package/lib/hooks/use-set-state.js +15 -0
- package/lib/hooks/use-set-state.js.map +13 -0
- package/lib/hooks/use-touch.d.ts +16 -0
- package/lib/hooks/use-touch.js +73 -0
- package/lib/hooks/use-touch.js.map +13 -0
- package/lib/hooks/use-update-effect.d.ts +3 -0
- package/lib/hooks/use-update-effect.js +17 -0
- package/lib/hooks/use-update-effect.js.map +13 -0
- package/lib/icons/clock.js +10 -0
- package/lib/icons/loading-outline.js +7 -0
- package/lib/icons/status-close.js +11 -0
- package/lib/icons/status-fail.js +11 -0
- package/lib/icons/status-info.js +10 -0
- package/lib/icons/status-success.js +11 -0
- package/lib/icons/status-warning.js +10 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +4 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +5 -0
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +6 -1
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +9 -4
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.d.ts +17 -1
- package/lib/renderers/Action.js +21 -8
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/AnchorNav.d.ts +1 -0
- package/lib/renderers/AnchorNav.js +2 -2
- package/lib/renderers/AnchorNav.js.map +2 -2
- package/lib/renderers/Avatar.js +3 -3
- package/lib/renderers/Avatar.js.map +2 -2
- package/lib/renderers/Breadcrumb.js +1 -1
- package/lib/renderers/Breadcrumb.js.map +2 -2
- package/lib/renderers/CRUD.d.ts +9 -0
- package/lib/renderers/CRUD.js +48 -23
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Card.d.ts +4 -0
- package/lib/renderers/Card.js +29 -23
- package/lib/renderers/Card.js.map +2 -2
- package/lib/renderers/Chart.js +1 -1
- package/lib/renderers/Chart.js.map +2 -2
- package/lib/renderers/Collapse.d.ts +1 -1
- package/lib/renderers/Collapse.js +8 -3
- package/lib/renderers/Collapse.js.map +2 -2
- package/lib/renderers/Dialog.d.ts +0 -252
- package/lib/renderers/Dialog.js +1 -4
- package/lib/renderers/Dialog.js.map +2 -2
- package/lib/renderers/Drawer.js +0 -3
- package/lib/renderers/Drawer.js.map +2 -2
- package/lib/renderers/DropDownButton.d.ts +13 -1
- package/lib/renderers/DropDownButton.js +9 -5
- package/lib/renderers/DropDownButton.js.map +2 -2
- package/lib/renderers/Form/Checkbox.d.ts +5 -0
- package/lib/renderers/Form/Checkbox.js +4 -0
- package/lib/renderers/Form/Checkbox.js.map +2 -2
- package/lib/renderers/Form/Combo.js +2 -2
- package/lib/renderers/Form/Combo.js.map +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +4 -5
- package/lib/renderers/Form/Editor.d.ts +3 -4
- package/lib/renderers/Form/Editor.js +1 -1
- package/lib/renderers/Form/Editor.js.map +2 -2
- package/lib/renderers/Form/InputCity.d.ts +84 -84
- package/lib/renderers/Form/InputCity.js +7 -6
- package/lib/renderers/Form/InputCity.js.map +2 -2
- package/lib/renderers/Form/InputColor.d.ts +84 -84
- package/lib/renderers/Form/InputExcel.d.ts +5 -0
- package/lib/renderers/Form/InputExcel.js +24 -3
- package/lib/renderers/Form/InputExcel.js.map +2 -2
- package/lib/renderers/Form/InputFile.js +12 -6
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputImage.d.ts +8 -0
- package/lib/renderers/Form/InputImage.js +18 -8
- package/lib/renderers/Form/InputImage.js.map +2 -2
- package/lib/renderers/Form/InputTable.d.ts +23 -5
- package/lib/renderers/Form/InputTable.js +32 -3
- package/lib/renderers/Form/InputTable.js.map +2 -2
- package/lib/renderers/Form/Item.d.ts +1 -1
- package/lib/renderers/Form/Item.js.map +1 -1
- package/lib/renderers/Form/Options.js +19 -6
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Picker.js +2 -2
- package/lib/renderers/Form/Picker.js.map +2 -2
- package/lib/renderers/Form/Select.d.ts +41 -4
- package/lib/renderers/Form/Select.js +23 -3
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/TabsTransferPicker.d.ts +48 -0
- package/lib/renderers/Form/TabsTransferPicker.js +29 -0
- package/lib/renderers/Form/TabsTransferPicker.js.map +13 -0
- package/lib/renderers/Form/Transfer.js +3 -2
- package/lib/renderers/Form/Transfer.js.map +2 -2
- package/lib/renderers/Form/TransferPicker.d.ts +48 -0
- package/lib/renderers/Form/TransferPicker.js +29 -0
- package/lib/renderers/Form/TransferPicker.js.map +13 -0
- package/lib/renderers/Form/TreeSelect.js +2 -2
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Form/index.js +1 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Form/wrapControl.js +15 -3
- package/lib/renderers/Form/wrapControl.js.map +2 -2
- package/lib/renderers/IFrame.js +3 -5
- package/lib/renderers/IFrame.js.map +2 -2
- package/lib/renderers/Image.d.ts +1 -0
- package/lib/renderers/Image.js +15 -1
- package/lib/renderers/Image.js.map +2 -2
- package/lib/renderers/Json.d.ts +4 -0
- package/lib/renderers/Json.js +7 -12
- package/lib/renderers/Json.js.map +2 -2
- package/lib/renderers/Link.d.ts +18 -3
- package/lib/renderers/Link.js +27 -15
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/List.js +1 -1
- package/lib/renderers/List.js.map +2 -2
- package/lib/renderers/Log.d.ts +2 -2
- package/lib/renderers/Log.js +7 -1
- package/lib/renderers/Log.js.map +2 -2
- package/lib/renderers/Mapping.d.ts +9 -2
- package/lib/renderers/Mapping.js +18 -6
- package/lib/renderers/Mapping.js.map +2 -2
- package/lib/renderers/Nav.d.ts +81 -25
- package/lib/renderers/Nav.js +292 -31
- package/lib/renderers/Nav.js.map +2 -2
- package/lib/renderers/Page.js +4 -1
- package/lib/renderers/Page.js.map +2 -2
- package/lib/renderers/Portlet.d.ts +125 -0
- package/lib/renderers/Portlet.js +156 -0
- package/lib/renderers/Portlet.js.map +13 -0
- package/lib/renderers/Property.js +2 -1
- package/lib/renderers/Property.js.map +2 -2
- package/lib/renderers/SearchBox.d.ts +6 -1
- package/lib/renderers/SearchBox.js +19 -5
- package/lib/renderers/SearchBox.js.map +2 -2
- package/lib/renderers/Service.d.ts +10 -1
- package/lib/renderers/Service.js +85 -3
- package/lib/renderers/Service.js.map +2 -2
- package/lib/renderers/SparkLine.d.ts +4 -0
- package/lib/renderers/SparkLine.js.map +2 -2
- package/lib/renderers/Steps.d.ts +4 -4
- package/lib/renderers/Steps.js +5 -2
- package/lib/renderers/Steps.js.map +2 -2
- package/lib/renderers/Table/ColumnToggler.d.ts +113 -0
- package/lib/renderers/Table/ColumnToggler.js +216 -0
- package/lib/renderers/Table/ColumnToggler.js.map +13 -0
- package/lib/renderers/Table/ItemActionsWrapper.d.ts +11 -0
- package/lib/renderers/Table/ItemActionsWrapper.js +31 -0
- package/lib/renderers/Table/ItemActionsWrapper.js.map +13 -0
- package/lib/renderers/Table/TableBody.d.ts +5 -1
- package/lib/renderers/Table/TableBody.js.map +1 -1
- package/lib/renderers/Table/TableCell.js +3 -1
- package/lib/renderers/Table/TableCell.js.map +2 -2
- package/lib/renderers/Table/TableContent.d.ts +5 -2
- package/lib/renderers/Table/TableContent.js +21 -1
- package/lib/renderers/Table/TableContent.js.map +2 -2
- package/lib/renderers/Table/index.d.ts +27 -5
- package/lib/renderers/Table/index.js +251 -101
- package/lib/renderers/Table/index.js.map +2 -2
- package/lib/renderers/Tabs.js +9 -1
- package/lib/renderers/Tabs.js.map +2 -2
- package/lib/renderers/WebComponent.js +1 -1
- package/lib/renderers/WebComponent.js.map +2 -2
- package/lib/store/app.d.ts +0 -1
- package/lib/store/combo.d.ts +2 -18
- package/lib/store/crud.d.ts +0 -1
- package/lib/store/crud.js +3 -7
- package/lib/store/crud.js.map +2 -2
- package/lib/store/form.d.ts +1 -2
- package/lib/store/form.js +5 -6
- package/lib/store/form.js.map +2 -2
- package/lib/store/modal.d.ts +1 -1
- package/lib/store/modal.js +4 -0
- package/lib/store/modal.js.map +2 -2
- package/lib/store/root.d.ts +0 -1
- package/lib/store/service.d.ts +0 -1
- package/lib/store/service.js +5 -17
- package/lib/store/service.js.map +2 -2
- package/lib/store/table.d.ts +260 -5
- package/lib/store/table.js +83 -7
- package/lib/store/table.js.map +2 -2
- package/lib/themes/ang-ie11.css +1360 -244
- package/lib/themes/ang.css +1360 -244
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +1360 -244
- package/lib/themes/antd.css +1360 -244
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +1960 -517
- package/lib/themes/cxd.css +1960 -517
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +1360 -244
- package/lib/themes/dark.css +1360 -244
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +1960 -517
- package/lib/themes/default.css.map +1 -1
- package/lib/types.d.ts +37 -0
- package/lib/types.js +0 -5
- package/lib/types.js.map +2 -2
- package/lib/utils/api.d.ts +3 -2
- package/lib/utils/api.js +43 -15
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/attachmentAdpator.d.ts +7 -0
- package/lib/utils/attachmentAdpator.js +82 -0
- package/lib/utils/attachmentAdpator.js.map +13 -0
- package/lib/utils/dom.d.ts +4 -0
- package/lib/utils/dom.js +11 -1
- package/lib/utils/dom.js.map +2 -2
- package/lib/utils/handleAction.d.ts +7 -0
- package/lib/utils/handleAction.js +30 -0
- package/lib/utils/handleAction.js.map +13 -0
- package/lib/utils/helper.d.ts +3 -1
- package/lib/utils/helper.js +14 -5
- package/lib/utils/helper.js.map +2 -2
- package/lib/utils/icon.js +3 -0
- package/lib/utils/icon.js.map +2 -2
- package/lib/utils/tpl-builtin.d.ts +1 -1
- package/lib/utils/tpl-builtin.js +25 -15
- package/lib/utils/tpl-builtin.js.map +2 -2
- package/lib/utils/validations.js +62 -5
- package/lib/utils/validations.js.map +2 -2
- package/package.json +1 -2
- package/schema.json +3638 -1030
- package/scss/_mixins.scss +27 -0
- package/scss/_properties.scss +88 -13
- package/scss/_utilities.scss +4 -0
- package/scss/base/_normalize.scss +2 -0
- package/scss/components/_anchor-nav.scss +88 -29
- package/scss/components/_badge.scss +67 -2
- package/scss/components/_button.scss +34 -3
- package/scss/components/_card.scss +8 -14
- package/scss/components/_collapse.scss +41 -8
- package/scss/components/_column-toggler.scss +234 -0
- package/scss/components/_dropdown.scss +2 -1
- package/scss/components/_image-gallery.scss +1 -1
- package/scss/components/_images.scss +2 -1
- package/scss/components/_link.scss +6 -0
- package/scss/components/_mapping.scss +6 -0
- package/scss/components/_markdown.scss +266 -0
- package/scss/components/_nav.scss +236 -154
- package/scss/components/_page.scss +5 -4
- package/scss/components/_picker-columns.scss +123 -0
- package/scss/components/_popover.scss +17 -0
- package/scss/components/_portlet.scss +51 -0
- package/scss/components/_progress.scss +2 -0
- package/scss/components/_spinner.scss +6 -2
- package/scss/components/_status.scss +1 -1
- package/scss/components/_steps.scss +1 -1
- package/scss/components/_table.scss +51 -1
- package/scss/components/form/_checks.scss +0 -351
- package/scss/components/form/_color.scss +1 -0
- package/scss/components/form/_date-range.scss +2 -0
- package/scss/components/form/_date.scss +2 -0
- package/scss/components/form/_fieldset.scss +6 -3
- package/scss/components/form/_file.scss +5 -4
- package/scss/components/form/_group.scss +4 -0
- package/scss/components/form/_image.scss +7 -2
- package/scss/components/form/_list.scss +1 -0
- package/scss/components/form/_location.scss +1 -1
- package/scss/components/form/_selection.scss +354 -0
- package/scss/components/form/_text.scss +13 -0
- package/scss/components/form/_textarea.scss +10 -0
- package/scss/components/form/_transfer.scss +77 -18
- package/scss/themes/_common.scss +7 -0
- package/scss/themes/_cxd-colors.scss +56 -0
- package/scss/themes/_cxd-variables.scss +219 -91
- package/scss/themes/cxd.scss +370 -0
- package/sdk/ang-ie11.css +1752 -431
- package/sdk/ang.css +1706 -323
- package/sdk/antd-ie11.css +1739 -420
- package/sdk/antd.css +1706 -323
- package/sdk/charts.js +13 -13
- package/sdk/color-picker.js +65 -69
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +3015 -1397
- package/sdk/cxd.css +2402 -651
- package/sdk/dark-ie11.css +1750 -429
- package/sdk/dark.css +1706 -323
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css.map +1 -1
- package/sdk/ie11-patch.css +1 -0
- package/sdk/locale/de-DE.js +5 -0
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +20 -30
- package/sdk/rich-text.js +62 -64
- package/sdk/sdk-ie11.css +3015 -1397
- package/sdk/sdk.css +2402 -651
- package/sdk/sdk.js +1278 -1220
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/Schema.ts +32 -0
- package/src/components/Alert.tsx +3 -1
- package/src/components/AnchorNav.tsx +15 -4
- package/src/components/{AssociatedCheckboxes.tsx → AssociatedSelection.tsx} +41 -37
- package/src/components/Badge.tsx +126 -23
- package/src/components/Button.tsx +23 -7
- package/src/components/{ChainedCheckboxes.tsx → ChainedSelection.tsx} +57 -40
- package/src/components/Checkbox.tsx +5 -2
- package/src/components/Collapse.tsx +14 -9
- package/src/components/DatePicker.tsx +1 -1
- package/src/components/DateRangePicker.tsx +23 -11
- package/src/components/Drawer.tsx +3 -2
- package/src/components/{ListCheckboxes.tsx → GroupedSelection.tsx} +26 -21
- package/src/components/InputBox.tsx +1 -1
- package/src/components/Link.tsx +85 -0
- package/src/components/Modal.tsx +3 -2
- package/src/components/ModalManager.ts +1 -1
- package/src/components/MonthRangePicker.tsx +10 -2
- package/src/components/PickerColumn.tsx +429 -0
- package/src/components/PickerContainer.tsx +128 -0
- package/src/components/Radios.tsx +3 -8
- package/src/components/RichText.tsx +244 -3
- package/src/components/SearchBox.tsx +4 -5
- package/src/components/Select.tsx +61 -5
- package/src/components/{Checkboxes.tsx → Selection.tsx} +75 -21
- package/src/components/SparkLine.tsx +4 -1
- package/src/components/Steps.tsx +3 -3
- package/src/components/{TableCheckboxes.tsx → TableSelection.tsx} +46 -25
- package/src/components/TabsTransfer.tsx +13 -7
- package/src/components/TabsTransferPicker.tsx +85 -0
- package/src/components/Toast.tsx +5 -5
- package/src/components/Transfer.tsx +71 -50
- package/src/components/TransferDropDown.tsx +117 -0
- package/src/components/TransferPicker.tsx +84 -0
- package/src/components/Tree.tsx +6 -8
- package/src/components/{TreeCheckboxes.tsx → TreeSelection.tsx} +33 -26
- package/src/components/WithRemoteConfig.tsx +44 -4
- package/src/components/calendar/DaysView.tsx +2 -2
- package/src/components/condition-builder/Field.tsx +6 -7
- package/src/components/condition-builder/Func.tsx +3 -3
- package/src/components/condition-builder/InputSwitch.tsx +3 -3
- package/src/components/condition-builder/Item.tsx +5 -12
- package/src/components/condition-builder/Value.tsx +3 -0
- package/src/components/condition-builder/types.ts +6 -0
- package/src/components/icons.tsx +15 -0
- package/src/components/index.tsx +13 -13
- package/src/envOverwrite.ts +0 -1
- package/src/factory.tsx +31 -6
- package/src/hooks/index.ts +5 -0
- package/src/hooks/use-set-state.ts +19 -0
- package/src/hooks/use-touch.ts +100 -0
- package/src/hooks/use-update-effect.ts +16 -0
- package/src/icons/clock.svg +1 -0
- package/src/icons/loading-outline.svg +4 -0
- package/src/icons/status-close.svg +10 -0
- package/src/icons/status-fail.svg +10 -0
- package/src/icons/status-info.svg +8 -0
- package/src/icons/status-success.svg +10 -0
- package/src/icons/status-warning.svg +8 -0
- package/src/index.tsx +3 -0
- package/src/locale/de-DE.ts +5 -0
- package/src/locale/en-US.ts +6 -1
- package/src/locale/zh-CN.ts +9 -4
- package/src/renderers/Action.tsx +99 -15
- package/src/renderers/AnchorNav.tsx +4 -0
- package/src/renderers/Avatar.tsx +8 -4
- package/src/renderers/Breadcrumb.tsx +5 -1
- package/src/renderers/CRUD.tsx +70 -56
- package/src/renderers/Card.tsx +63 -34
- package/src/renderers/Chart.tsx +6 -2
- package/src/renderers/Collapse.tsx +9 -3
- package/src/renderers/Dialog.tsx +1 -5
- package/src/renderers/Drawer.tsx +0 -4
- package/src/renderers/DropDownButton.tsx +34 -12
- package/src/renderers/Form/Checkbox.tsx +8 -0
- package/src/renderers/Form/Combo.tsx +2 -3
- package/src/renderers/Form/Editor.tsx +19 -20
- package/src/renderers/Form/InputCity.tsx +4 -8
- package/src/renderers/Form/InputExcel.tsx +28 -3
- package/src/renderers/Form/InputFile.tsx +30 -20
- package/src/renderers/Form/InputImage.tsx +39 -13
- package/src/renderers/Form/InputTable.tsx +88 -9
- package/src/renderers/Form/Item.tsx +1 -1
- package/src/renderers/Form/Options.tsx +32 -7
- package/src/renderers/Form/Picker.tsx +3 -2
- package/src/renderers/Form/Select.tsx +144 -21
- package/src/renderers/Form/TabsTransferPicker.tsx +123 -0
- package/src/renderers/Form/Transfer.tsx +3 -2
- package/src/renderers/Form/TransferPicker.tsx +123 -0
- package/src/renderers/Form/TreeSelect.tsx +25 -0
- package/src/renderers/Form/index.tsx +1 -1
- package/src/renderers/Form/wrapControl.tsx +28 -3
- package/src/renderers/IFrame.tsx +4 -5
- package/src/renderers/Image.tsx +10 -0
- package/src/renderers/Json.tsx +19 -10
- package/src/renderers/Link.tsx +53 -14
- package/src/renderers/List.tsx +1 -1
- package/src/renderers/Log.tsx +16 -3
- package/src/renderers/Mapping.tsx +27 -11
- package/src/renderers/Nav.tsx +392 -60
- package/src/renderers/Page.tsx +3 -1
- package/src/renderers/Portlet.tsx +423 -0
- package/src/renderers/Property.tsx +3 -2
- package/src/renderers/SearchBox.tsx +23 -4
- package/src/renderers/Service.tsx +101 -3
- package/src/renderers/SparkLine.tsx +5 -0
- package/src/renderers/Steps.tsx +12 -9
- package/src/renderers/Table/ColumnToggler.tsx +544 -0
- package/src/renderers/Table/ItemActionsWrapper.tsx +44 -0
- package/src/renderers/Table/TableBody.tsx +1 -1
- package/src/renderers/Table/TableCell.tsx +16 -1
- package/src/renderers/Table/TableContent.tsx +41 -3
- package/src/renderers/Table/index.tsx +318 -92
- package/src/renderers/Tabs.tsx +9 -1
- package/src/renderers/WebComponent.tsx +2 -2
- package/src/store/crud.ts +3 -8
- package/src/store/form.ts +5 -10
- package/src/store/modal.ts +4 -0
- package/src/store/service.ts +5 -23
- package/src/store/table.ts +103 -4
- package/src/types.ts +57 -0
- package/src/utils/api.ts +63 -23
- package/src/utils/attachmentAdpator.ts +90 -0
- package/src/utils/dom.tsx +12 -0
- package/src/utils/handleAction.ts +41 -0
- package/src/utils/helper.ts +12 -3
- package/src/utils/icon.tsx +4 -0
- package/src/utils/tpl-builtin.ts +48 -17
- package/src/utils/validations.ts +80 -12
- package/dump.rdb +0 -0
- package/lib/components/AssociatedCheckboxes.d.ts +0 -762
- package/lib/components/AssociatedCheckboxes.js +0 -90
- package/lib/components/AssociatedCheckboxes.js.map +0 -13
- package/lib/components/ChainedCheckboxes.js.map +0 -13
- package/lib/components/Checkboxes.js +0 -101
- package/lib/components/Checkboxes.js.map +0 -13
- package/lib/components/ListCheckboxes.d.ts +0 -739
- package/lib/components/ListCheckboxes.js +0 -48
- package/lib/components/ListCheckboxes.js.map +0 -13
- package/lib/components/ListRadios.d.ts +0 -763
- package/lib/components/ListRadios.js +0 -86
- package/lib/components/ListRadios.js.map +0 -13
- package/lib/components/TableCheckboxes.js.map +0 -13
- package/lib/components/TreeCheckboxes.js.map +0 -13
- package/lib/components/TreeRadios.d.ts +0 -838
- package/lib/components/TreeRadios.js +0 -116
- package/lib/components/TreeRadios.js.map +0 -13
- package/src/components/ListRadios.tsx +0 -159
- package/src/components/TreeRadios.tsx +0 -202
@@ -34,13 +34,13 @@ 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" | "
|
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<{
|
38
38
|
mini: boolean;
|
39
39
|
searchImediately: boolean;
|
40
40
|
}, never>> & {
|
41
41
|
locale?: string | undefined;
|
42
42
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
43
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
43
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | 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<{
|
44
44
|
mini: boolean;
|
45
45
|
searchImediately: boolean;
|
46
46
|
}, never>> & {
|
@@ -49,7 +49,7 @@ declare const _default: {
|
|
49
49
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
50
50
|
render(): JSX.Element;
|
51
51
|
context: any;
|
52
|
-
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" | "
|
52
|
+
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<{
|
53
53
|
mini: boolean;
|
54
54
|
searchImediately: boolean;
|
55
55
|
}, never>> & {
|
@@ -57,7 +57,7 @@ declare const _default: {
|
|
57
57
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
58
58
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
59
59
|
forceUpdate(callback?: (() => void) | undefined): void;
|
60
|
-
readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
60
|
+
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<{
|
61
61
|
mini: boolean;
|
62
62
|
searchImediately: boolean;
|
63
63
|
}, never>> & {
|
@@ -71,7 +71,7 @@ declare const _default: {
|
|
71
71
|
[key: string]: React.ReactInstance;
|
72
72
|
};
|
73
73
|
componentDidMount?(): void;
|
74
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
74
|
+
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<{
|
75
75
|
mini: boolean;
|
76
76
|
searchImediately: boolean;
|
77
77
|
}, never>> & {
|
@@ -80,14 +80,14 @@ declare const _default: {
|
|
80
80
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
81
81
|
componentWillUnmount?(): void;
|
82
82
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
83
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
83
|
+
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<{
|
84
84
|
mini: boolean;
|
85
85
|
searchImediately: boolean;
|
86
86
|
}, never>> & {
|
87
87
|
locale?: string | undefined;
|
88
88
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
89
89
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
90
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
90
|
+
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<{
|
91
91
|
mini: boolean;
|
92
92
|
searchImediately: boolean;
|
93
93
|
}, never>> & {
|
@@ -96,28 +96,28 @@ declare const _default: {
|
|
96
96
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
97
97
|
componentWillMount?(): void;
|
98
98
|
UNSAFE_componentWillMount?(): void;
|
99
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
99
|
+
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<{
|
100
100
|
mini: boolean;
|
101
101
|
searchImediately: boolean;
|
102
102
|
}, never>> & {
|
103
103
|
locale?: string | undefined;
|
104
104
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
105
105
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
106
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
106
|
+
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<{
|
107
107
|
mini: boolean;
|
108
108
|
searchImediately: boolean;
|
109
109
|
}, never>> & {
|
110
110
|
locale?: string | undefined;
|
111
111
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
112
112
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
113
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
113
|
+
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<{
|
114
114
|
mini: boolean;
|
115
115
|
searchImediately: boolean;
|
116
116
|
}, never>> & {
|
117
117
|
locale?: string | undefined;
|
118
118
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
119
119
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
120
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
120
|
+
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<{
|
121
121
|
mini: boolean;
|
122
122
|
searchImediately: boolean;
|
123
123
|
}, never>> & {
|
@@ -125,7 +125,7 @@ declare const _default: {
|
|
125
125
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
126
126
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
127
127
|
};
|
128
|
-
new (props: Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
128
|
+
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<{
|
129
129
|
mini: boolean;
|
130
130
|
searchImediately: boolean;
|
131
131
|
}, never>> & {
|
@@ -134,7 +134,7 @@ declare const _default: {
|
|
134
134
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
135
135
|
render(): JSX.Element;
|
136
136
|
context: any;
|
137
|
-
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" | "
|
137
|
+
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<{
|
138
138
|
mini: boolean;
|
139
139
|
searchImediately: boolean;
|
140
140
|
}, never>> & {
|
@@ -142,7 +142,7 @@ declare const _default: {
|
|
142
142
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
143
143
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
144
144
|
forceUpdate(callback?: (() => void) | undefined): void;
|
145
|
-
readonly props: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
145
|
+
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<{
|
146
146
|
mini: boolean;
|
147
147
|
searchImediately: boolean;
|
148
148
|
}, never>> & {
|
@@ -156,7 +156,7 @@ declare const _default: {
|
|
156
156
|
[key: string]: React.ReactInstance;
|
157
157
|
};
|
158
158
|
componentDidMount?(): void;
|
159
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
159
|
+
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<{
|
160
160
|
mini: boolean;
|
161
161
|
searchImediately: boolean;
|
162
162
|
}, never>> & {
|
@@ -165,14 +165,14 @@ declare const _default: {
|
|
165
165
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
166
166
|
componentWillUnmount?(): void;
|
167
167
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
168
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
168
|
+
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<{
|
169
169
|
mini: boolean;
|
170
170
|
searchImediately: boolean;
|
171
171
|
}, never>> & {
|
172
172
|
locale?: string | undefined;
|
173
173
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
174
174
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
175
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
175
|
+
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<{
|
176
176
|
mini: boolean;
|
177
177
|
searchImediately: boolean;
|
178
178
|
}, never>> & {
|
@@ -181,28 +181,28 @@ declare const _default: {
|
|
181
181
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
182
182
|
componentWillMount?(): void;
|
183
183
|
UNSAFE_componentWillMount?(): void;
|
184
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
184
|
+
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<{
|
185
185
|
mini: boolean;
|
186
186
|
searchImediately: boolean;
|
187
187
|
}, never>> & {
|
188
188
|
locale?: string | undefined;
|
189
189
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
190
190
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
191
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
191
|
+
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<{
|
192
192
|
mini: boolean;
|
193
193
|
searchImediately: boolean;
|
194
194
|
}, never>> & {
|
195
195
|
locale?: string | undefined;
|
196
196
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
197
197
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
198
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
198
|
+
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<{
|
199
199
|
mini: boolean;
|
200
200
|
searchImediately: boolean;
|
201
201
|
}, never>> & {
|
202
202
|
locale?: string | undefined;
|
203
203
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
204
204
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
205
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
205
|
+
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<{
|
206
206
|
mini: boolean;
|
207
207
|
searchImediately: boolean;
|
208
208
|
}, never>> & {
|
@@ -213,13 +213,13 @@ declare const _default: {
|
|
213
213
|
displayName: string;
|
214
214
|
contextType: React.Context<string>;
|
215
215
|
ComposedComponent: React.ComponentType<{
|
216
|
-
new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
216
|
+
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<{
|
217
217
|
mini: boolean;
|
218
218
|
searchImediately: boolean;
|
219
219
|
}, never>> & {
|
220
220
|
locale?: string | undefined;
|
221
221
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
222
|
-
}) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
222
|
+
}) | 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<{
|
223
223
|
mini: boolean;
|
224
224
|
searchImediately: boolean;
|
225
225
|
}, never>> & {
|
@@ -228,7 +228,7 @@ declare const _default: {
|
|
228
228
|
}>): {
|
229
229
|
render(): JSX.Element;
|
230
230
|
context: any;
|
231
|
-
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" | "
|
231
|
+
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<{
|
232
232
|
mini: boolean;
|
233
233
|
searchImediately: boolean;
|
234
234
|
}, never>> & {
|
@@ -236,7 +236,7 @@ declare const _default: {
|
|
236
236
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
237
237
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
238
238
|
forceUpdate(callback?: (() => void) | undefined): void;
|
239
|
-
readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
239
|
+
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<{
|
240
240
|
mini: boolean;
|
241
241
|
searchImediately: boolean;
|
242
242
|
}, never>> & {
|
@@ -250,7 +250,7 @@ declare const _default: {
|
|
250
250
|
[key: string]: React.ReactInstance;
|
251
251
|
};
|
252
252
|
componentDidMount?(): void;
|
253
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
253
|
+
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<{
|
254
254
|
mini: boolean;
|
255
255
|
searchImediately: boolean;
|
256
256
|
}, never>> & {
|
@@ -259,14 +259,14 @@ declare const _default: {
|
|
259
259
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
260
260
|
componentWillUnmount?(): void;
|
261
261
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
262
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
262
|
+
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<{
|
263
263
|
mini: boolean;
|
264
264
|
searchImediately: boolean;
|
265
265
|
}, never>> & {
|
266
266
|
locale?: string | undefined;
|
267
267
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
268
268
|
}>, prevState: Readonly<{}>): any;
|
269
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
269
|
+
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<{
|
270
270
|
mini: boolean;
|
271
271
|
searchImediately: boolean;
|
272
272
|
}, never>> & {
|
@@ -275,28 +275,28 @@ declare const _default: {
|
|
275
275
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
276
276
|
componentWillMount?(): void;
|
277
277
|
UNSAFE_componentWillMount?(): void;
|
278
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
278
|
+
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<{
|
279
279
|
mini: boolean;
|
280
280
|
searchImediately: boolean;
|
281
281
|
}, never>> & {
|
282
282
|
locale?: string | undefined;
|
283
283
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
284
284
|
}>, nextContext: any): void;
|
285
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
285
|
+
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<{
|
286
286
|
mini: boolean;
|
287
287
|
searchImediately: boolean;
|
288
288
|
}, never>> & {
|
289
289
|
locale?: string | undefined;
|
290
290
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
291
291
|
}>, nextContext: any): void;
|
292
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
292
|
+
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<{
|
293
293
|
mini: boolean;
|
294
294
|
searchImediately: boolean;
|
295
295
|
}, never>> & {
|
296
296
|
locale?: string | undefined;
|
297
297
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
298
298
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
299
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
299
|
+
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<{
|
300
300
|
mini: boolean;
|
301
301
|
searchImediately: boolean;
|
302
302
|
}, never>> & {
|
@@ -304,7 +304,7 @@ declare const _default: {
|
|
304
304
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
305
305
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
306
306
|
};
|
307
|
-
new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
307
|
+
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<{
|
308
308
|
mini: boolean;
|
309
309
|
searchImediately: boolean;
|
310
310
|
}, never>> & {
|
@@ -313,7 +313,7 @@ declare const _default: {
|
|
313
313
|
}, context: any): {
|
314
314
|
render(): JSX.Element;
|
315
315
|
context: any;
|
316
|
-
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" | "
|
316
|
+
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<{
|
317
317
|
mini: boolean;
|
318
318
|
searchImediately: boolean;
|
319
319
|
}, never>> & {
|
@@ -321,7 +321,7 @@ declare const _default: {
|
|
321
321
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
322
322
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
323
323
|
forceUpdate(callback?: (() => void) | undefined): void;
|
324
|
-
readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
324
|
+
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<{
|
325
325
|
mini: boolean;
|
326
326
|
searchImediately: boolean;
|
327
327
|
}, never>> & {
|
@@ -335,7 +335,7 @@ declare const _default: {
|
|
335
335
|
[key: string]: React.ReactInstance;
|
336
336
|
};
|
337
337
|
componentDidMount?(): void;
|
338
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
338
|
+
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<{
|
339
339
|
mini: boolean;
|
340
340
|
searchImediately: boolean;
|
341
341
|
}, never>> & {
|
@@ -344,14 +344,14 @@ declare const _default: {
|
|
344
344
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
345
345
|
componentWillUnmount?(): void;
|
346
346
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
347
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
347
|
+
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<{
|
348
348
|
mini: boolean;
|
349
349
|
searchImediately: boolean;
|
350
350
|
}, never>> & {
|
351
351
|
locale?: string | undefined;
|
352
352
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
353
353
|
}>, prevState: Readonly<{}>): any;
|
354
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
354
|
+
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<{
|
355
355
|
mini: boolean;
|
356
356
|
searchImediately: boolean;
|
357
357
|
}, never>> & {
|
@@ -360,28 +360,28 @@ declare const _default: {
|
|
360
360
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
361
361
|
componentWillMount?(): void;
|
362
362
|
UNSAFE_componentWillMount?(): void;
|
363
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
363
|
+
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<{
|
364
364
|
mini: boolean;
|
365
365
|
searchImediately: boolean;
|
366
366
|
}, never>> & {
|
367
367
|
locale?: string | undefined;
|
368
368
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
369
369
|
}>, nextContext: any): void;
|
370
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
370
|
+
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<{
|
371
371
|
mini: boolean;
|
372
372
|
searchImediately: boolean;
|
373
373
|
}, never>> & {
|
374
374
|
locale?: string | undefined;
|
375
375
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
376
376
|
}>, nextContext: any): void;
|
377
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
377
|
+
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<{
|
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
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
384
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
384
|
+
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<{
|
385
385
|
mini: boolean;
|
386
386
|
searchImediately: boolean;
|
387
387
|
}, never>> & {
|
@@ -396,13 +396,13 @@ declare const _default: {
|
|
396
396
|
ComposedComponent: typeof SearchBox;
|
397
397
|
}>;
|
398
398
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
399
|
-
new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
399
|
+
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<{
|
400
400
|
mini: boolean;
|
401
401
|
searchImediately: boolean;
|
402
402
|
}, never>> & {
|
403
403
|
locale?: string | undefined;
|
404
404
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
405
|
-
}) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
405
|
+
}) | 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<{
|
406
406
|
mini: boolean;
|
407
407
|
searchImediately: boolean;
|
408
408
|
}, never>> & {
|
@@ -411,7 +411,7 @@ declare const _default: {
|
|
411
411
|
}>): {
|
412
412
|
render(): JSX.Element;
|
413
413
|
context: any;
|
414
|
-
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" | "
|
414
|
+
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<{
|
415
415
|
mini: boolean;
|
416
416
|
searchImediately: boolean;
|
417
417
|
}, never>> & {
|
@@ -419,7 +419,7 @@ declare const _default: {
|
|
419
419
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
420
420
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
421
421
|
forceUpdate(callback?: (() => void) | undefined): void;
|
422
|
-
readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
422
|
+
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<{
|
423
423
|
mini: boolean;
|
424
424
|
searchImediately: boolean;
|
425
425
|
}, never>> & {
|
@@ -433,7 +433,7 @@ declare const _default: {
|
|
433
433
|
[key: string]: React.ReactInstance;
|
434
434
|
};
|
435
435
|
componentDidMount?(): void;
|
436
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
436
|
+
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<{
|
437
437
|
mini: boolean;
|
438
438
|
searchImediately: boolean;
|
439
439
|
}, never>> & {
|
@@ -442,14 +442,14 @@ declare const _default: {
|
|
442
442
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
443
443
|
componentWillUnmount?(): void;
|
444
444
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
445
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
445
|
+
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<{
|
446
446
|
mini: boolean;
|
447
447
|
searchImediately: boolean;
|
448
448
|
}, never>> & {
|
449
449
|
locale?: string | undefined;
|
450
450
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
451
451
|
}>, prevState: Readonly<{}>): any;
|
452
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
452
|
+
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<{
|
453
453
|
mini: boolean;
|
454
454
|
searchImediately: boolean;
|
455
455
|
}, never>> & {
|
@@ -458,28 +458,28 @@ declare const _default: {
|
|
458
458
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
459
459
|
componentWillMount?(): void;
|
460
460
|
UNSAFE_componentWillMount?(): void;
|
461
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
461
|
+
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<{
|
462
462
|
mini: boolean;
|
463
463
|
searchImediately: boolean;
|
464
464
|
}, never>> & {
|
465
465
|
locale?: string | undefined;
|
466
466
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
467
467
|
}>, nextContext: any): void;
|
468
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
468
|
+
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<{
|
469
469
|
mini: boolean;
|
470
470
|
searchImediately: boolean;
|
471
471
|
}, never>> & {
|
472
472
|
locale?: string | undefined;
|
473
473
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
474
474
|
}>, nextContext: any): void;
|
475
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
475
|
+
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<{
|
476
476
|
mini: boolean;
|
477
477
|
searchImediately: boolean;
|
478
478
|
}, never>> & {
|
479
479
|
locale?: string | undefined;
|
480
480
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
481
481
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
482
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
482
|
+
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<{
|
483
483
|
mini: boolean;
|
484
484
|
searchImediately: boolean;
|
485
485
|
}, never>> & {
|
@@ -487,7 +487,7 @@ declare const _default: {
|
|
487
487
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
488
488
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
489
489
|
};
|
490
|
-
new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
490
|
+
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<{
|
491
491
|
mini: boolean;
|
492
492
|
searchImediately: boolean;
|
493
493
|
}, never>> & {
|
@@ -496,7 +496,7 @@ declare const _default: {
|
|
496
496
|
}, context: any): {
|
497
497
|
render(): JSX.Element;
|
498
498
|
context: any;
|
499
|
-
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" | "
|
499
|
+
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<{
|
500
500
|
mini: boolean;
|
501
501
|
searchImediately: boolean;
|
502
502
|
}, never>> & {
|
@@ -504,7 +504,7 @@ declare const _default: {
|
|
504
504
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
505
505
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
506
506
|
forceUpdate(callback?: (() => void) | undefined): void;
|
507
|
-
readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
507
|
+
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<{
|
508
508
|
mini: boolean;
|
509
509
|
searchImediately: boolean;
|
510
510
|
}, never>> & {
|
@@ -518,7 +518,7 @@ declare const _default: {
|
|
518
518
|
[key: string]: React.ReactInstance;
|
519
519
|
};
|
520
520
|
componentDidMount?(): void;
|
521
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
521
|
+
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<{
|
522
522
|
mini: boolean;
|
523
523
|
searchImediately: boolean;
|
524
524
|
}, never>> & {
|
@@ -527,14 +527,14 @@ declare const _default: {
|
|
527
527
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
528
528
|
componentWillUnmount?(): void;
|
529
529
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
530
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
530
|
+
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<{
|
531
531
|
mini: boolean;
|
532
532
|
searchImediately: boolean;
|
533
533
|
}, never>> & {
|
534
534
|
locale?: string | undefined;
|
535
535
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
536
536
|
}>, prevState: Readonly<{}>): any;
|
537
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
537
|
+
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<{
|
538
538
|
mini: boolean;
|
539
539
|
searchImediately: boolean;
|
540
540
|
}, never>> & {
|
@@ -543,28 +543,28 @@ declare const _default: {
|
|
543
543
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
544
544
|
componentWillMount?(): void;
|
545
545
|
UNSAFE_componentWillMount?(): void;
|
546
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
546
|
+
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<{
|
547
547
|
mini: boolean;
|
548
548
|
searchImediately: boolean;
|
549
549
|
}, never>> & {
|
550
550
|
locale?: string | undefined;
|
551
551
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
552
552
|
}>, nextContext: any): void;
|
553
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
553
|
+
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<{
|
554
554
|
mini: boolean;
|
555
555
|
searchImediately: boolean;
|
556
556
|
}, never>> & {
|
557
557
|
locale?: string | undefined;
|
558
558
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
559
559
|
}>, nextContext: any): void;
|
560
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
560
|
+
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<{
|
561
561
|
mini: boolean;
|
562
562
|
searchImediately: boolean;
|
563
563
|
}, never>> & {
|
564
564
|
locale?: string | undefined;
|
565
565
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
566
566
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
567
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
567
|
+
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<{
|
568
568
|
mini: boolean;
|
569
569
|
searchImediately: boolean;
|
570
570
|
}, never>> & {
|
@@ -579,13 +579,13 @@ declare const _default: {
|
|
579
579
|
ComposedComponent: typeof SearchBox;
|
580
580
|
}, {}> & {
|
581
581
|
ComposedComponent: {
|
582
|
-
new (props: (Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
582
|
+
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<{
|
583
583
|
mini: boolean;
|
584
584
|
searchImediately: boolean;
|
585
585
|
}, never>> & {
|
586
586
|
locale?: string | undefined;
|
587
587
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
588
|
-
}) | Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
588
|
+
}) | 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<{
|
589
589
|
mini: boolean;
|
590
590
|
searchImediately: boolean;
|
591
591
|
}, never>> & {
|
@@ -594,7 +594,7 @@ declare const _default: {
|
|
594
594
|
}>): {
|
595
595
|
render(): JSX.Element;
|
596
596
|
context: any;
|
597
|
-
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" | "
|
597
|
+
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<{
|
598
598
|
mini: boolean;
|
599
599
|
searchImediately: boolean;
|
600
600
|
}, never>> & {
|
@@ -602,7 +602,7 @@ declare const _default: {
|
|
602
602
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
603
603
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
604
604
|
forceUpdate(callback?: (() => void) | undefined): void;
|
605
|
-
readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
605
|
+
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<{
|
606
606
|
mini: boolean;
|
607
607
|
searchImediately: boolean;
|
608
608
|
}, never>> & {
|
@@ -616,7 +616,7 @@ declare const _default: {
|
|
616
616
|
[key: string]: React.ReactInstance;
|
617
617
|
};
|
618
618
|
componentDidMount?(): void;
|
619
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
619
|
+
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<{
|
620
620
|
mini: boolean;
|
621
621
|
searchImediately: boolean;
|
622
622
|
}, never>> & {
|
@@ -625,14 +625,14 @@ declare const _default: {
|
|
625
625
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
626
626
|
componentWillUnmount?(): void;
|
627
627
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
628
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
628
|
+
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<{
|
629
629
|
mini: boolean;
|
630
630
|
searchImediately: boolean;
|
631
631
|
}, never>> & {
|
632
632
|
locale?: string | undefined;
|
633
633
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
634
634
|
}>, prevState: Readonly<{}>): any;
|
635
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
635
|
+
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<{
|
636
636
|
mini: boolean;
|
637
637
|
searchImediately: boolean;
|
638
638
|
}, never>> & {
|
@@ -641,28 +641,28 @@ declare const _default: {
|
|
641
641
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
642
642
|
componentWillMount?(): void;
|
643
643
|
UNSAFE_componentWillMount?(): void;
|
644
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
644
|
+
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<{
|
645
645
|
mini: boolean;
|
646
646
|
searchImediately: boolean;
|
647
647
|
}, never>> & {
|
648
648
|
locale?: string | undefined;
|
649
649
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
650
650
|
}>, nextContext: any): void;
|
651
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
651
|
+
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<{
|
652
652
|
mini: boolean;
|
653
653
|
searchImediately: boolean;
|
654
654
|
}, never>> & {
|
655
655
|
locale?: string | undefined;
|
656
656
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
657
657
|
}>, nextContext: any): void;
|
658
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
658
|
+
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<{
|
659
659
|
mini: boolean;
|
660
660
|
searchImediately: boolean;
|
661
661
|
}, never>> & {
|
662
662
|
locale?: string | undefined;
|
663
663
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
664
664
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
665
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
665
|
+
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<{
|
666
666
|
mini: boolean;
|
667
667
|
searchImediately: boolean;
|
668
668
|
}, never>> & {
|
@@ -670,7 +670,7 @@ declare const _default: {
|
|
670
670
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
671
671
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
672
672
|
};
|
673
|
-
new (props: Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
673
|
+
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<{
|
674
674
|
mini: boolean;
|
675
675
|
searchImediately: boolean;
|
676
676
|
}, never>> & {
|
@@ -679,7 +679,7 @@ declare const _default: {
|
|
679
679
|
}, context: any): {
|
680
680
|
render(): JSX.Element;
|
681
681
|
context: any;
|
682
|
-
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" | "
|
682
|
+
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<{
|
683
683
|
mini: boolean;
|
684
684
|
searchImediately: boolean;
|
685
685
|
}, never>> & {
|
@@ -687,7 +687,7 @@ declare const _default: {
|
|
687
687
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
688
688
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
689
689
|
forceUpdate(callback?: (() => void) | undefined): void;
|
690
|
-
readonly props: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
690
|
+
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<{
|
691
691
|
mini: boolean;
|
692
692
|
searchImediately: boolean;
|
693
693
|
}, never>> & {
|
@@ -701,7 +701,7 @@ declare const _default: {
|
|
701
701
|
[key: string]: React.ReactInstance;
|
702
702
|
};
|
703
703
|
componentDidMount?(): void;
|
704
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
704
|
+
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<{
|
705
705
|
mini: boolean;
|
706
706
|
searchImediately: boolean;
|
707
707
|
}, never>> & {
|
@@ -710,14 +710,14 @@ declare const _default: {
|
|
710
710
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
711
711
|
componentWillUnmount?(): void;
|
712
712
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
713
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
713
|
+
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<{
|
714
714
|
mini: boolean;
|
715
715
|
searchImediately: boolean;
|
716
716
|
}, never>> & {
|
717
717
|
locale?: string | undefined;
|
718
718
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
719
719
|
}>, prevState: Readonly<{}>): any;
|
720
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
720
|
+
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<{
|
721
721
|
mini: boolean;
|
722
722
|
searchImediately: boolean;
|
723
723
|
}, never>> & {
|
@@ -726,28 +726,28 @@ declare const _default: {
|
|
726
726
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
727
727
|
componentWillMount?(): void;
|
728
728
|
UNSAFE_componentWillMount?(): void;
|
729
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
729
|
+
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<{
|
730
730
|
mini: boolean;
|
731
731
|
searchImediately: boolean;
|
732
732
|
}, never>> & {
|
733
733
|
locale?: string | undefined;
|
734
734
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
735
735
|
}>, nextContext: any): void;
|
736
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
736
|
+
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<{
|
737
737
|
mini: boolean;
|
738
738
|
searchImediately: boolean;
|
739
739
|
}, never>> & {
|
740
740
|
locale?: string | undefined;
|
741
741
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
742
742
|
}>, nextContext: any): void;
|
743
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
743
|
+
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<{
|
744
744
|
mini: boolean;
|
745
745
|
searchImediately: boolean;
|
746
746
|
}, never>> & {
|
747
747
|
locale?: string | undefined;
|
748
748
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
749
749
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
750
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SearchBoxProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "defaultValue" | "disabled" | "name" | "active" | "placeholder" | "onChange" | "
|
750
|
+
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<{
|
751
751
|
mini: boolean;
|
752
752
|
searchImediately: boolean;
|
753
753
|
}, never>> & {
|