amis 1.4.2-beta.6 → 1.5.0
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/lib/Schema.d.ts +11 -3
- package/lib/Schema.js.map +1 -1
- package/lib/components/Alert2.d.ts +26 -21
- package/lib/components/Alert2.js +11 -4
- package/lib/components/Alert2.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.js +2 -2
- package/lib/components/Badge.js.map +2 -2
- package/lib/components/Button.js +1 -1
- 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 +20 -20
- package/lib/components/Collapse.d.ts +51 -23
- package/lib/components/Collapse.js +70 -11
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/CollapseGroup.d.ts +88 -0
- package/lib/components/CollapseGroup.js +81 -0
- package/lib/components/CollapseGroup.js.map +13 -0
- package/lib/components/ColorPicker.d.ts +89 -85
- package/lib/components/ColorPicker.js +17 -4
- package/lib/components/ColorPicker.js.map +2 -2
- package/lib/components/DatePicker.d.ts +84 -84
- package/lib/components/DateRangePicker.d.ts +84 -84
- package/lib/components/Drawer.js +2 -2
- package/lib/components/Drawer.js.map +2 -2
- package/lib/components/Editor.d.ts +84 -84
- package/lib/components/GridNav.d.ts +52 -0
- package/lib/components/GridNav.js +123 -0
- package/lib/components/GridNav.js.map +13 -0
- 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.d.ts +22 -21
- package/lib/components/InputBox.js +10 -2
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/Link.d.ts +29 -36
- package/lib/components/Link.js +14 -15
- package/lib/components/Link.js.map +2 -2
- package/lib/components/ListGroup.d.ts +21 -21
- 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/NumberInput.d.ts +20 -20
- package/lib/components/Overlay.js +5 -0
- package/lib/components/Overlay.js.map +2 -2
- 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/PopOver.d.ts +1 -0
- package/lib/components/PopOver.js +12 -1
- package/lib/components/PopOver.js.map +2 -2
- package/lib/components/Progress.d.ts +85 -0
- package/lib/components/Progress.js +81 -0
- package/lib/components/Progress.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/ResultBox.js +10 -2
- package/lib/components/ResultBox.js.map +2 -2
- package/lib/components/SearchBox.d.ts +84 -84
- package/lib/components/Select.d.ts +245 -237
- package/lib/components/Select.js +25 -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/{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.d.ts +90 -87
- package/lib/components/Toast.js +15 -5
- 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 +488 -0
- package/lib/components/TransferDropDown.js +59 -0
- package/lib/components/TransferDropDown.js.map +13 -0
- package/lib/components/TransferPicker.d.ts +493 -0
- package/lib/components/TransferPicker.js +60 -0
- package/lib/components/TransferPicker.js.map +13 -0
- package/lib/components/Tree.d.ts +115 -84
- package/lib/components/Tree.js +183 -30
- 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/condition-builder/Field.js +4 -2
- 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/icons.js +10 -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.d.ts +1 -1
- package/lib/envOverwrite.js +24 -9
- package/lib/envOverwrite.js.map +2 -2
- package/lib/factory.d.ts +15 -1
- package/lib/factory.js +35 -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/alert-danger.js +7 -0
- package/lib/icons/alert-info.js +7 -0
- package/lib/icons/alert-success.js +7 -0
- package/lib/icons/alert-warning.js +7 -0
- package/lib/icons/download.js +7 -0
- package/lib/icons/drag-bar.js +10 -3
- package/lib/index.d.ts +5 -0
- package/lib/index.js +6 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +2 -0
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +3 -0
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +5 -2
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.d.ts +10 -5
- package/lib/renderers/Action.js +23 -5
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Alert.d.ts +21 -1
- package/lib/renderers/Alert.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 +5 -0
- package/lib/renderers/CRUD.js +25 -4
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Card.d.ts +5 -0
- package/lib/renderers/Card.js +34 -23
- package/lib/renderers/Card.js.map +2 -2
- package/lib/renderers/Collapse.d.ts +25 -20
- package/lib/renderers/Collapse.js +10 -72
- package/lib/renderers/Collapse.js.map +2 -2
- package/lib/renderers/CollapseGroup.d.ts +42 -0
- package/lib/renderers/CollapseGroup.js +33 -0
- package/lib/renderers/CollapseGroup.js.map +13 -0
- package/lib/renderers/Form/ConditionBuilder.js +2 -2
- package/lib/renderers/Form/ConditionBuilder.js.map +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +4 -3
- package/lib/renderers/Form/Editor.d.ts +3 -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 +86 -85
- package/lib/renderers/Form/InputColor.js +1 -1
- package/lib/renderers/Form/InputColor.js.map +2 -2
- package/lib/renderers/Form/InputFile.d.ts +6 -0
- package/lib/renderers/Form/InputFile.js +28 -8
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputImage.js +11 -4
- package/lib/renderers/Form/InputImage.js.map +2 -2
- package/lib/renderers/Form/Item.d.ts +1 -1
- package/lib/renderers/Form/Item.js +2 -1
- package/lib/renderers/Form/Item.js.map +2 -2
- package/lib/renderers/Form/Options.js +25 -4
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.d.ts +42 -4
- package/lib/renderers/Form/Select.js +37 -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 +18 -3
- package/lib/renderers/Form/Transfer.js.map +2 -2
- package/lib/renderers/Form/TransferPicker.d.ts +52 -0
- package/lib/renderers/Form/TransferPicker.js +43 -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.d.ts +5 -0
- package/lib/renderers/Form/index.js +5 -3
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Form/wrapControl.js +13 -1
- package/lib/renderers/Form/wrapControl.js.map +2 -2
- package/lib/renderers/GridNav.d.ts +99 -0
- package/lib/renderers/GridNav.js +82 -0
- package/lib/renderers/GridNav.js.map +13 -0
- package/lib/renderers/IFrame.js +1 -3
- package/lib/renderers/IFrame.js.map +2 -2
- package/lib/renderers/Image.js +7 -5
- package/lib/renderers/Image.js.map +2 -2
- package/lib/renderers/Json.d.ts +4 -0
- package/lib/renderers/Json.js +4 -13
- package/lib/renderers/Json.js.map +2 -2
- package/lib/renderers/Link.d.ts +4 -2
- package/lib/renderers/Link.js +15 -8
- 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/Nav.d.ts +21 -21
- package/lib/renderers/Nav.js +37 -19
- package/lib/renderers/Nav.js.map +2 -2
- package/lib/renderers/Page.d.ts +18 -0
- package/lib/renderers/Page.js +53 -9
- 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/Progress.d.ts +23 -3
- package/lib/renderers/Progress.js +15 -19
- package/lib/renderers/Progress.js.map +2 -2
- package/lib/renderers/Property.js +1 -1
- package/lib/renderers/Property.js.map +2 -2
- package/lib/renderers/Table/ColumnToggler.js +1 -1
- package/lib/renderers/Table/ColumnToggler.js.map +2 -2
- package/lib/renderers/Table/TableContent.d.ts +4 -1
- package/lib/renderers/Table/TableContent.js +21 -1
- package/lib/renderers/Table/TableContent.js.map +2 -2
- package/lib/renderers/Table/index.d.ts +5 -1
- package/lib/renderers/Table/index.js +65 -30
- 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/combo.d.ts +2 -2
- package/lib/store/form.d.ts +1 -1
- package/lib/store/form.js +3 -5
- package/lib/store/form.js.map +2 -2
- package/lib/store/formItem.js +44 -4
- package/lib/store/formItem.js.map +2 -2
- package/lib/store/table.d.ts +3 -2
- package/lib/store/table.js +35 -12
- package/lib/store/table.js.map +2 -2
- package/lib/themes/ang-ie11.css +934 -222
- package/lib/themes/ang.css +934 -222
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +934 -222
- package/lib/themes/antd.css +934 -222
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +970 -260
- package/lib/themes/cxd.css +970 -260
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +934 -222
- package/lib/themes/dark.css +934 -222
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +970 -260
- package/lib/themes/default.css.map +1 -1
- package/lib/types.d.ts +38 -1
- 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 +90 -17
- package/lib/utils/api.js.map +2 -2
- 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/helper.d.ts +12 -23
- package/lib/utils/helper.js +62 -166
- package/lib/utils/helper.js.map +2 -2
- package/lib/utils/tpl-builtin.d.ts +2 -20
- package/lib/utils/tpl-builtin.js +25 -743
- package/lib/utils/tpl-builtin.js.map +2 -2
- package/lib/utils/tpl.js +24 -0
- package/lib/utils/tpl.js.map +2 -2
- package/package.json +5 -2
- package/schema.json +3966 -1263
- package/scss/_mixins.scss +1 -3
- package/scss/_properties.scss +42 -13
- package/scss/base/_common.scss +3 -0
- package/scss/base/_normalize.scss +2 -0
- package/scss/components/_alert.scss +28 -5
- package/scss/components/_anchor-nav.scss +89 -29
- package/scss/components/_button.scss +12 -0
- package/scss/components/_card.scss +9 -15
- package/scss/components/_collapse-group.scss +15 -0
- package/scss/components/_collapse.scss +48 -23
- package/scss/components/_grid-nav.scss +128 -0
- package/scss/components/_images.scss +1 -0
- package/scss/components/_input-box.scss +1 -0
- package/scss/components/_nav.scss +2 -7
- package/scss/components/_page.scss +35 -2
- package/scss/components/_picker-columns.scss +124 -0
- package/scss/components/_popover.scss +13 -0
- package/scss/components/_portlet.scss +51 -0
- package/scss/components/_progress.scss +141 -33
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_spinner.scss +5 -4
- package/scss/components/_status.scss +1 -1
- package/scss/components/_table.scss +32 -0
- package/scss/components/_toast.scss +41 -11
- package/scss/components/form/_checks.scss +0 -351
- package/scss/components/form/_color.scss +32 -3
- package/scss/components/form/_combo.scss +4 -0
- package/scss/components/form/_fieldset.scss +6 -1
- package/scss/components/form/_file.scss +11 -0
- package/scss/components/form/_form.scss +48 -0
- package/scss/components/form/_selection.scss +354 -0
- package/scss/components/form/_transfer.scss +76 -18
- package/scss/components/form/_tree.scss +42 -0
- package/scss/themes/_common.scss +6 -0
- package/scss/themes/_cxd-variables.scss +13 -6
- package/scss/themes/cxd.scss +19 -20
- package/sdk/ang-ie11.css +1065 -246
- package/sdk/ang.css +1069 -230
- package/sdk/antd-ie11.css +1068 -249
- package/sdk/antd.css +1069 -230
- package/sdk/charts.js +17 -17
- package/sdk/color-picker.js +65 -69
- package/sdk/cropperjs.js +3 -3
- package/sdk/cxd-ie11.css +1081 -268
- package/sdk/cxd.css +1116 -279
- package/sdk/dark-ie11.css +1069 -250
- package/sdk/dark.css +1069 -230
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css.map +1 -1
- package/sdk/iconfont.svg +2513 -0
- package/sdk/iconfont.ttf +0 -0
- package/sdk/iconfont.woff +0 -0
- package/sdk/locale/de-DE.js +2 -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 -28
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1081 -268
- package/sdk/sdk.css +1116 -279
- package/sdk/sdk.js +1371 -1189
- package/sdk/thirds/hls.js/hls.js +18 -18
- package/sdk/thirds/mpegts.js/mpegts.js +2 -2
- package/sdk/tinymce.js +57 -57
- package/src/Schema.ts +19 -1
- package/src/components/Alert2.tsx +32 -4
- package/src/components/AnchorNav.tsx +15 -4
- package/src/components/{AssociatedCheckboxes.tsx → AssociatedSelection.tsx} +43 -37
- package/src/components/Badge.tsx +3 -3
- package/src/components/Button.tsx +1 -0
- package/src/components/{ChainedCheckboxes.tsx → ChainedSelection.tsx} +57 -40
- package/src/components/Collapse.tsx +139 -20
- package/src/components/CollapseGroup.tsx +130 -0
- package/src/components/ColorPicker.tsx +32 -10
- package/src/components/Drawer.tsx +8 -6
- package/src/components/GridNav.tsx +233 -0
- package/src/components/{ListCheckboxes.tsx → GroupedSelection.tsx} +26 -21
- package/src/components/InputBox.tsx +10 -9
- package/src/components/Link.tsx +28 -37
- package/src/components/ModalManager.ts +1 -1
- package/src/components/Overlay.tsx +6 -0
- package/src/components/PickerColumn.tsx +429 -0
- package/src/components/PickerContainer.tsx +128 -0
- package/src/components/PopOver.tsx +15 -1
- package/src/components/Progress.tsx +140 -0
- package/src/components/Radios.tsx +3 -8
- package/src/components/ResultBox.tsx +9 -9
- package/src/components/Select.tsx +57 -5
- package/src/components/{Checkboxes.tsx → Selection.tsx} +75 -21
- 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 +48 -21
- package/src/components/Transfer.tsx +71 -50
- package/src/components/TransferDropDown.tsx +120 -0
- package/src/components/TransferPicker.tsx +91 -0
- package/src/components/Tree.tsx +194 -8
- package/src/components/{TreeCheckboxes.tsx → TreeSelection.tsx} +33 -26
- package/src/components/condition-builder/Field.tsx +7 -5
- 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/icons.tsx +10 -0
- package/src/components/index.tsx +13 -13
- package/src/envOverwrite.ts +20 -8
- package/src/factory.tsx +70 -9
- 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/alert-danger.svg +1 -0
- package/src/icons/alert-info.svg +1 -0
- package/src/icons/alert-success.svg +1 -0
- package/src/icons/alert-warning.svg +1 -0
- package/src/icons/download.svg +4 -0
- package/src/icons/drag-bar.svg +12 -6
- package/src/index.tsx +5 -0
- package/src/locale/de-DE.ts +2 -0
- package/src/locale/en-US.ts +3 -0
- package/src/locale/zh-CN.ts +5 -2
- package/src/renderers/Action.tsx +58 -3
- package/src/renderers/Alert.tsx +31 -1
- 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 +29 -3
- package/src/renderers/Card.tsx +76 -36
- package/src/renderers/Collapse.tsx +70 -115
- package/src/renderers/CollapseGroup.tsx +80 -0
- package/src/renderers/Form/ConditionBuilder.tsx +2 -2
- package/src/renderers/Form/InputCity.tsx +4 -8
- package/src/renderers/Form/InputColor.tsx +4 -2
- package/src/renderers/Form/InputFile.tsx +65 -24
- package/src/renderers/Form/InputImage.tsx +11 -3
- package/src/renderers/Form/Item.tsx +3 -2
- package/src/renderers/Form/Options.tsx +29 -3
- package/src/renderers/Form/Select.tsx +162 -21
- package/src/renderers/Form/TabsTransferPicker.tsx +123 -0
- package/src/renderers/Form/Transfer.tsx +19 -4
- package/src/renderers/Form/TransferPicker.tsx +145 -0
- package/src/renderers/Form/TreeSelect.tsx +25 -0
- package/src/renderers/Form/index.tsx +15 -2
- package/src/renderers/Form/wrapControl.tsx +26 -1
- package/src/renderers/GridNav.tsx +204 -0
- package/src/renderers/IFrame.tsx +2 -4
- package/src/renderers/Image.tsx +19 -15
- package/src/renderers/Json.tsx +9 -9
- package/src/renderers/Link.tsx +29 -16
- package/src/renderers/List.tsx +1 -1
- package/src/renderers/Nav.tsx +105 -56
- package/src/renderers/Page.tsx +62 -1
- package/src/renderers/Portlet.tsx +423 -0
- package/src/renderers/Progress.tsx +56 -38
- package/src/renderers/Property.tsx +6 -4
- package/src/renderers/Table/ColumnToggler.tsx +1 -1
- package/src/renderers/Table/TableContent.tsx +40 -2
- package/src/renderers/Table/index.tsx +88 -43
- package/src/renderers/Tabs.tsx +9 -1
- package/src/renderers/WebComponent.tsx +2 -2
- package/src/store/form.ts +3 -9
- package/src/store/formItem.ts +94 -2
- package/src/store/table.ts +55 -14
- package/src/types.ts +58 -1
- package/src/utils/api.ts +120 -26
- package/src/utils/dom.tsx +12 -0
- package/src/utils/helper.ts +55 -185
- package/src/utils/tpl-builtin.ts +40 -866
- package/src/utils/tpl.ts +33 -0
- package/tsconfig-for-declaration.json +1 -1
- 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
@@ -8,6 +8,10 @@ import React from 'react';
|
|
8
8
|
import { ColorResult } from 'react-color';
|
9
9
|
import { ThemeProps } from '../theme';
|
10
10
|
import { LocaleProps } from '../locale';
|
11
|
+
export declare type PresetColor = {
|
12
|
+
color: string;
|
13
|
+
title: string;
|
14
|
+
} | string;
|
11
15
|
export interface ColorProps extends LocaleProps, ThemeProps {
|
12
16
|
placeholder?: string;
|
13
17
|
format: string;
|
@@ -19,7 +23,7 @@ export interface ColorProps extends LocaleProps, ThemeProps {
|
|
19
23
|
placement?: string;
|
20
24
|
value?: any;
|
21
25
|
onChange: (value: any) => void;
|
22
|
-
presetColors?:
|
26
|
+
presetColors?: PresetColor[];
|
23
27
|
resetValue?: string;
|
24
28
|
allowCustomColor?: boolean;
|
25
29
|
}
|
@@ -60,7 +64,7 @@ export declare class ColorControl extends React.PureComponent<ColorProps, ColorC
|
|
60
64
|
render(): JSX.Element;
|
61
65
|
}
|
62
66
|
declare const _default: {
|
63
|
-
new (props: (Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
67
|
+
new (props: (Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
64
68
|
format: string;
|
65
69
|
clearable: boolean;
|
66
70
|
placeholder: string;
|
@@ -68,7 +72,7 @@ declare const _default: {
|
|
68
72
|
}, never>> & {
|
69
73
|
locale?: string | undefined;
|
70
74
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
71
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
75
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
72
76
|
format: string;
|
73
77
|
clearable: boolean;
|
74
78
|
placeholder: string;
|
@@ -79,7 +83,7 @@ declare const _default: {
|
|
79
83
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
80
84
|
render(): JSX.Element;
|
81
85
|
context: any;
|
82
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
86
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
83
87
|
format: string;
|
84
88
|
clearable: boolean;
|
85
89
|
placeholder: string;
|
@@ -89,7 +93,7 @@ declare const _default: {
|
|
89
93
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
90
94
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
91
95
|
forceUpdate(callback?: (() => void) | undefined): void;
|
92
|
-
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
96
|
+
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
93
97
|
format: string;
|
94
98
|
clearable: boolean;
|
95
99
|
placeholder: string;
|
@@ -105,7 +109,7 @@ declare const _default: {
|
|
105
109
|
[key: string]: React.ReactInstance;
|
106
110
|
};
|
107
111
|
componentDidMount?(): void;
|
108
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
112
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
109
113
|
format: string;
|
110
114
|
clearable: boolean;
|
111
115
|
placeholder: string;
|
@@ -116,7 +120,7 @@ declare const _default: {
|
|
116
120
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
117
121
|
componentWillUnmount?(): void;
|
118
122
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
119
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
123
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
120
124
|
format: string;
|
121
125
|
clearable: boolean;
|
122
126
|
placeholder: string;
|
@@ -125,7 +129,7 @@ declare const _default: {
|
|
125
129
|
locale?: string | undefined;
|
126
130
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
127
131
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
128
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
132
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
129
133
|
format: string;
|
130
134
|
clearable: boolean;
|
131
135
|
placeholder: string;
|
@@ -136,7 +140,7 @@ declare const _default: {
|
|
136
140
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
137
141
|
componentWillMount?(): void;
|
138
142
|
UNSAFE_componentWillMount?(): void;
|
139
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
143
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
140
144
|
format: string;
|
141
145
|
clearable: boolean;
|
142
146
|
placeholder: string;
|
@@ -145,7 +149,7 @@ declare const _default: {
|
|
145
149
|
locale?: string | undefined;
|
146
150
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
147
151
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
148
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
152
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
149
153
|
format: string;
|
150
154
|
clearable: boolean;
|
151
155
|
placeholder: string;
|
@@ -154,7 +158,7 @@ declare const _default: {
|
|
154
158
|
locale?: string | undefined;
|
155
159
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
156
160
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
157
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
161
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
158
162
|
format: string;
|
159
163
|
clearable: boolean;
|
160
164
|
placeholder: string;
|
@@ -163,7 +167,7 @@ declare const _default: {
|
|
163
167
|
locale?: string | undefined;
|
164
168
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
165
169
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
166
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
170
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
167
171
|
format: string;
|
168
172
|
clearable: boolean;
|
169
173
|
placeholder: string;
|
@@ -173,7 +177,7 @@ declare const _default: {
|
|
173
177
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
174
178
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
175
179
|
};
|
176
|
-
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
180
|
+
new (props: Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
177
181
|
format: string;
|
178
182
|
clearable: boolean;
|
179
183
|
placeholder: string;
|
@@ -184,7 +188,7 @@ declare const _default: {
|
|
184
188
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
185
189
|
render(): JSX.Element;
|
186
190
|
context: any;
|
187
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
191
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
188
192
|
format: string;
|
189
193
|
clearable: boolean;
|
190
194
|
placeholder: string;
|
@@ -194,7 +198,7 @@ declare const _default: {
|
|
194
198
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
195
199
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
196
200
|
forceUpdate(callback?: (() => void) | undefined): void;
|
197
|
-
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
201
|
+
readonly props: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
198
202
|
format: string;
|
199
203
|
clearable: boolean;
|
200
204
|
placeholder: string;
|
@@ -210,7 +214,7 @@ declare const _default: {
|
|
210
214
|
[key: string]: React.ReactInstance;
|
211
215
|
};
|
212
216
|
componentDidMount?(): void;
|
213
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
217
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
214
218
|
format: string;
|
215
219
|
clearable: boolean;
|
216
220
|
placeholder: string;
|
@@ -221,7 +225,7 @@ declare const _default: {
|
|
221
225
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
222
226
|
componentWillUnmount?(): void;
|
223
227
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
224
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
228
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
225
229
|
format: string;
|
226
230
|
clearable: boolean;
|
227
231
|
placeholder: string;
|
@@ -230,7 +234,7 @@ declare const _default: {
|
|
230
234
|
locale?: string | undefined;
|
231
235
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
232
236
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
233
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
237
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
234
238
|
format: string;
|
235
239
|
clearable: boolean;
|
236
240
|
placeholder: string;
|
@@ -241,7 +245,7 @@ declare const _default: {
|
|
241
245
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
242
246
|
componentWillMount?(): void;
|
243
247
|
UNSAFE_componentWillMount?(): void;
|
244
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
248
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
245
249
|
format: string;
|
246
250
|
clearable: boolean;
|
247
251
|
placeholder: string;
|
@@ -250,7 +254,7 @@ declare const _default: {
|
|
250
254
|
locale?: string | undefined;
|
251
255
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
252
256
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
253
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
257
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
254
258
|
format: string;
|
255
259
|
clearable: boolean;
|
256
260
|
placeholder: string;
|
@@ -259,7 +263,7 @@ declare const _default: {
|
|
259
263
|
locale?: string | undefined;
|
260
264
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
261
265
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
262
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
266
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
263
267
|
format: string;
|
264
268
|
clearable: boolean;
|
265
269
|
placeholder: string;
|
@@ -268,7 +272,7 @@ declare const _default: {
|
|
268
272
|
locale?: string | undefined;
|
269
273
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
270
274
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
271
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
275
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
272
276
|
format: string;
|
273
277
|
clearable: boolean;
|
274
278
|
placeholder: string;
|
@@ -281,7 +285,7 @@ declare const _default: {
|
|
281
285
|
displayName: string;
|
282
286
|
contextType: React.Context<string>;
|
283
287
|
ComposedComponent: React.ComponentType<{
|
284
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
288
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
285
289
|
format: string;
|
286
290
|
clearable: boolean;
|
287
291
|
placeholder: string;
|
@@ -289,7 +293,7 @@ declare const _default: {
|
|
289
293
|
}, never>> & {
|
290
294
|
locale?: string | undefined;
|
291
295
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
292
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
296
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
293
297
|
format: string;
|
294
298
|
clearable: boolean;
|
295
299
|
placeholder: string;
|
@@ -300,7 +304,7 @@ declare const _default: {
|
|
300
304
|
}>): {
|
301
305
|
render(): JSX.Element;
|
302
306
|
context: any;
|
303
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
307
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
304
308
|
format: string;
|
305
309
|
clearable: boolean;
|
306
310
|
placeholder: string;
|
@@ -310,7 +314,7 @@ declare const _default: {
|
|
310
314
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
311
315
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
312
316
|
forceUpdate(callback?: (() => void) | undefined): void;
|
313
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
317
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
314
318
|
format: string;
|
315
319
|
clearable: boolean;
|
316
320
|
placeholder: string;
|
@@ -326,7 +330,7 @@ declare const _default: {
|
|
326
330
|
[key: string]: React.ReactInstance;
|
327
331
|
};
|
328
332
|
componentDidMount?(): void;
|
329
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
333
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
330
334
|
format: string;
|
331
335
|
clearable: boolean;
|
332
336
|
placeholder: string;
|
@@ -337,7 +341,7 @@ declare const _default: {
|
|
337
341
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
338
342
|
componentWillUnmount?(): void;
|
339
343
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
340
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
344
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
341
345
|
format: string;
|
342
346
|
clearable: boolean;
|
343
347
|
placeholder: string;
|
@@ -346,7 +350,7 @@ declare const _default: {
|
|
346
350
|
locale?: string | undefined;
|
347
351
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
348
352
|
}>, prevState: Readonly<{}>): any;
|
349
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
353
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
350
354
|
format: string;
|
351
355
|
clearable: boolean;
|
352
356
|
placeholder: string;
|
@@ -357,7 +361,7 @@ declare const _default: {
|
|
357
361
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
358
362
|
componentWillMount?(): void;
|
359
363
|
UNSAFE_componentWillMount?(): void;
|
360
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
364
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
361
365
|
format: string;
|
362
366
|
clearable: boolean;
|
363
367
|
placeholder: string;
|
@@ -366,7 +370,7 @@ declare const _default: {
|
|
366
370
|
locale?: string | undefined;
|
367
371
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
368
372
|
}>, nextContext: any): void;
|
369
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
373
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
370
374
|
format: string;
|
371
375
|
clearable: boolean;
|
372
376
|
placeholder: string;
|
@@ -375,7 +379,7 @@ declare const _default: {
|
|
375
379
|
locale?: string | undefined;
|
376
380
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
377
381
|
}>, nextContext: any): void;
|
378
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
382
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
379
383
|
format: string;
|
380
384
|
clearable: boolean;
|
381
385
|
placeholder: string;
|
@@ -384,7 +388,7 @@ declare const _default: {
|
|
384
388
|
locale?: string | undefined;
|
385
389
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
386
390
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
387
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
391
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
388
392
|
format: string;
|
389
393
|
clearable: boolean;
|
390
394
|
placeholder: string;
|
@@ -394,7 +398,7 @@ declare const _default: {
|
|
394
398
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
395
399
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
396
400
|
};
|
397
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
401
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
398
402
|
format: string;
|
399
403
|
clearable: boolean;
|
400
404
|
placeholder: string;
|
@@ -405,7 +409,7 @@ declare const _default: {
|
|
405
409
|
}, context: any): {
|
406
410
|
render(): JSX.Element;
|
407
411
|
context: any;
|
408
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
412
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
409
413
|
format: string;
|
410
414
|
clearable: boolean;
|
411
415
|
placeholder: string;
|
@@ -415,7 +419,7 @@ declare const _default: {
|
|
415
419
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
416
420
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
417
421
|
forceUpdate(callback?: (() => void) | undefined): void;
|
418
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
422
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
419
423
|
format: string;
|
420
424
|
clearable: boolean;
|
421
425
|
placeholder: string;
|
@@ -431,7 +435,7 @@ declare const _default: {
|
|
431
435
|
[key: string]: React.ReactInstance;
|
432
436
|
};
|
433
437
|
componentDidMount?(): void;
|
434
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
438
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
435
439
|
format: string;
|
436
440
|
clearable: boolean;
|
437
441
|
placeholder: string;
|
@@ -442,7 +446,7 @@ declare const _default: {
|
|
442
446
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
443
447
|
componentWillUnmount?(): void;
|
444
448
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
445
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
449
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
446
450
|
format: string;
|
447
451
|
clearable: boolean;
|
448
452
|
placeholder: string;
|
@@ -451,7 +455,7 @@ declare const _default: {
|
|
451
455
|
locale?: string | undefined;
|
452
456
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
453
457
|
}>, prevState: Readonly<{}>): any;
|
454
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
458
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
455
459
|
format: string;
|
456
460
|
clearable: boolean;
|
457
461
|
placeholder: string;
|
@@ -462,7 +466,7 @@ declare const _default: {
|
|
462
466
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
463
467
|
componentWillMount?(): void;
|
464
468
|
UNSAFE_componentWillMount?(): void;
|
465
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
469
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
466
470
|
format: string;
|
467
471
|
clearable: boolean;
|
468
472
|
placeholder: string;
|
@@ -471,7 +475,7 @@ declare const _default: {
|
|
471
475
|
locale?: string | undefined;
|
472
476
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
473
477
|
}>, nextContext: any): void;
|
474
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
478
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
475
479
|
format: string;
|
476
480
|
clearable: boolean;
|
477
481
|
placeholder: string;
|
@@ -480,7 +484,7 @@ declare const _default: {
|
|
480
484
|
locale?: string | undefined;
|
481
485
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
482
486
|
}>, nextContext: any): void;
|
483
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
487
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
484
488
|
format: string;
|
485
489
|
clearable: boolean;
|
486
490
|
placeholder: string;
|
@@ -489,7 +493,7 @@ declare const _default: {
|
|
489
493
|
locale?: string | undefined;
|
490
494
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
491
495
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
492
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
496
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
493
497
|
format: string;
|
494
498
|
clearable: boolean;
|
495
499
|
placeholder: string;
|
@@ -506,7 +510,7 @@ declare const _default: {
|
|
506
510
|
ComposedComponent: typeof ColorControl;
|
507
511
|
}>;
|
508
512
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
509
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
513
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
510
514
|
format: string;
|
511
515
|
clearable: boolean;
|
512
516
|
placeholder: string;
|
@@ -514,7 +518,7 @@ declare const _default: {
|
|
514
518
|
}, never>> & {
|
515
519
|
locale?: string | undefined;
|
516
520
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
517
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
521
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
518
522
|
format: string;
|
519
523
|
clearable: boolean;
|
520
524
|
placeholder: string;
|
@@ -525,7 +529,7 @@ declare const _default: {
|
|
525
529
|
}>): {
|
526
530
|
render(): JSX.Element;
|
527
531
|
context: any;
|
528
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
532
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
529
533
|
format: string;
|
530
534
|
clearable: boolean;
|
531
535
|
placeholder: string;
|
@@ -535,7 +539,7 @@ declare const _default: {
|
|
535
539
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
536
540
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
537
541
|
forceUpdate(callback?: (() => void) | undefined): void;
|
538
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
542
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
539
543
|
format: string;
|
540
544
|
clearable: boolean;
|
541
545
|
placeholder: string;
|
@@ -551,7 +555,7 @@ declare const _default: {
|
|
551
555
|
[key: string]: React.ReactInstance;
|
552
556
|
};
|
553
557
|
componentDidMount?(): void;
|
554
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
558
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
555
559
|
format: string;
|
556
560
|
clearable: boolean;
|
557
561
|
placeholder: string;
|
@@ -562,7 +566,7 @@ declare const _default: {
|
|
562
566
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
563
567
|
componentWillUnmount?(): void;
|
564
568
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
565
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
569
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
566
570
|
format: string;
|
567
571
|
clearable: boolean;
|
568
572
|
placeholder: string;
|
@@ -571,7 +575,7 @@ declare const _default: {
|
|
571
575
|
locale?: string | undefined;
|
572
576
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
573
577
|
}>, prevState: Readonly<{}>): any;
|
574
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
578
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
575
579
|
format: string;
|
576
580
|
clearable: boolean;
|
577
581
|
placeholder: string;
|
@@ -582,7 +586,7 @@ declare const _default: {
|
|
582
586
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
583
587
|
componentWillMount?(): void;
|
584
588
|
UNSAFE_componentWillMount?(): void;
|
585
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
589
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
586
590
|
format: string;
|
587
591
|
clearable: boolean;
|
588
592
|
placeholder: string;
|
@@ -591,7 +595,7 @@ declare const _default: {
|
|
591
595
|
locale?: string | undefined;
|
592
596
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
593
597
|
}>, nextContext: any): void;
|
594
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
598
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
595
599
|
format: string;
|
596
600
|
clearable: boolean;
|
597
601
|
placeholder: string;
|
@@ -600,7 +604,7 @@ declare const _default: {
|
|
600
604
|
locale?: string | undefined;
|
601
605
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
602
606
|
}>, nextContext: any): void;
|
603
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
607
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
604
608
|
format: string;
|
605
609
|
clearable: boolean;
|
606
610
|
placeholder: string;
|
@@ -609,7 +613,7 @@ declare const _default: {
|
|
609
613
|
locale?: string | undefined;
|
610
614
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
611
615
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
612
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
616
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
613
617
|
format: string;
|
614
618
|
clearable: boolean;
|
615
619
|
placeholder: string;
|
@@ -619,7 +623,7 @@ declare const _default: {
|
|
619
623
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
620
624
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
621
625
|
};
|
622
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
626
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
623
627
|
format: string;
|
624
628
|
clearable: boolean;
|
625
629
|
placeholder: string;
|
@@ -630,7 +634,7 @@ declare const _default: {
|
|
630
634
|
}, context: any): {
|
631
635
|
render(): JSX.Element;
|
632
636
|
context: any;
|
633
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
637
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
634
638
|
format: string;
|
635
639
|
clearable: boolean;
|
636
640
|
placeholder: string;
|
@@ -640,7 +644,7 @@ declare const _default: {
|
|
640
644
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
641
645
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
642
646
|
forceUpdate(callback?: (() => void) | undefined): void;
|
643
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
647
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
644
648
|
format: string;
|
645
649
|
clearable: boolean;
|
646
650
|
placeholder: string;
|
@@ -656,7 +660,7 @@ declare const _default: {
|
|
656
660
|
[key: string]: React.ReactInstance;
|
657
661
|
};
|
658
662
|
componentDidMount?(): void;
|
659
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
663
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
660
664
|
format: string;
|
661
665
|
clearable: boolean;
|
662
666
|
placeholder: string;
|
@@ -667,7 +671,7 @@ declare const _default: {
|
|
667
671
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
668
672
|
componentWillUnmount?(): void;
|
669
673
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
670
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
674
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
671
675
|
format: string;
|
672
676
|
clearable: boolean;
|
673
677
|
placeholder: string;
|
@@ -676,7 +680,7 @@ declare const _default: {
|
|
676
680
|
locale?: string | undefined;
|
677
681
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
678
682
|
}>, prevState: Readonly<{}>): any;
|
679
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
683
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
680
684
|
format: string;
|
681
685
|
clearable: boolean;
|
682
686
|
placeholder: string;
|
@@ -687,7 +691,7 @@ declare const _default: {
|
|
687
691
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
688
692
|
componentWillMount?(): void;
|
689
693
|
UNSAFE_componentWillMount?(): void;
|
690
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
694
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
691
695
|
format: string;
|
692
696
|
clearable: boolean;
|
693
697
|
placeholder: string;
|
@@ -696,7 +700,7 @@ declare const _default: {
|
|
696
700
|
locale?: string | undefined;
|
697
701
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
698
702
|
}>, nextContext: any): void;
|
699
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
703
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
700
704
|
format: string;
|
701
705
|
clearable: boolean;
|
702
706
|
placeholder: string;
|
@@ -705,7 +709,7 @@ declare const _default: {
|
|
705
709
|
locale?: string | undefined;
|
706
710
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
707
711
|
}>, nextContext: any): void;
|
708
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
712
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
709
713
|
format: string;
|
710
714
|
clearable: boolean;
|
711
715
|
placeholder: string;
|
@@ -714,7 +718,7 @@ declare const _default: {
|
|
714
718
|
locale?: string | undefined;
|
715
719
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
716
720
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
717
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
721
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
718
722
|
format: string;
|
719
723
|
clearable: boolean;
|
720
724
|
placeholder: string;
|
@@ -731,7 +735,7 @@ declare const _default: {
|
|
731
735
|
ComposedComponent: typeof ColorControl;
|
732
736
|
}, {}> & {
|
733
737
|
ComposedComponent: {
|
734
|
-
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
738
|
+
new (props: (Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
735
739
|
format: string;
|
736
740
|
clearable: boolean;
|
737
741
|
placeholder: string;
|
@@ -739,7 +743,7 @@ declare const _default: {
|
|
739
743
|
}, never>> & {
|
740
744
|
locale?: string | undefined;
|
741
745
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
742
|
-
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
746
|
+
}) | Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
743
747
|
format: string;
|
744
748
|
clearable: boolean;
|
745
749
|
placeholder: string;
|
@@ -750,7 +754,7 @@ declare const _default: {
|
|
750
754
|
}>): {
|
751
755
|
render(): JSX.Element;
|
752
756
|
context: any;
|
753
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
757
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
754
758
|
format: string;
|
755
759
|
clearable: boolean;
|
756
760
|
placeholder: string;
|
@@ -760,7 +764,7 @@ declare const _default: {
|
|
760
764
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
761
765
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
762
766
|
forceUpdate(callback?: (() => void) | undefined): void;
|
763
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
767
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
764
768
|
format: string;
|
765
769
|
clearable: boolean;
|
766
770
|
placeholder: string;
|
@@ -776,7 +780,7 @@ declare const _default: {
|
|
776
780
|
[key: string]: React.ReactInstance;
|
777
781
|
};
|
778
782
|
componentDidMount?(): void;
|
779
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
783
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
780
784
|
format: string;
|
781
785
|
clearable: boolean;
|
782
786
|
placeholder: string;
|
@@ -787,7 +791,7 @@ declare const _default: {
|
|
787
791
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
788
792
|
componentWillUnmount?(): void;
|
789
793
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
790
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
794
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
791
795
|
format: string;
|
792
796
|
clearable: boolean;
|
793
797
|
placeholder: string;
|
@@ -796,7 +800,7 @@ declare const _default: {
|
|
796
800
|
locale?: string | undefined;
|
797
801
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
798
802
|
}>, prevState: Readonly<{}>): any;
|
799
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
803
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
800
804
|
format: string;
|
801
805
|
clearable: boolean;
|
802
806
|
placeholder: string;
|
@@ -807,7 +811,7 @@ declare const _default: {
|
|
807
811
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
808
812
|
componentWillMount?(): void;
|
809
813
|
UNSAFE_componentWillMount?(): void;
|
810
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
814
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
811
815
|
format: string;
|
812
816
|
clearable: boolean;
|
813
817
|
placeholder: string;
|
@@ -816,7 +820,7 @@ declare const _default: {
|
|
816
820
|
locale?: string | undefined;
|
817
821
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
818
822
|
}>, nextContext: any): void;
|
819
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
823
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
820
824
|
format: string;
|
821
825
|
clearable: boolean;
|
822
826
|
placeholder: string;
|
@@ -825,7 +829,7 @@ declare const _default: {
|
|
825
829
|
locale?: string | undefined;
|
826
830
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
827
831
|
}>, nextContext: any): void;
|
828
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
832
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
829
833
|
format: string;
|
830
834
|
clearable: boolean;
|
831
835
|
placeholder: string;
|
@@ -834,7 +838,7 @@ declare const _default: {
|
|
834
838
|
locale?: string | undefined;
|
835
839
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
836
840
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
837
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
841
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
838
842
|
format: string;
|
839
843
|
clearable: boolean;
|
840
844
|
placeholder: string;
|
@@ -844,7 +848,7 @@ declare const _default: {
|
|
844
848
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
845
849
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
846
850
|
};
|
847
|
-
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
851
|
+
new (props: Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
848
852
|
format: string;
|
849
853
|
clearable: boolean;
|
850
854
|
placeholder: string;
|
@@ -855,7 +859,7 @@ declare const _default: {
|
|
855
859
|
}, context: any): {
|
856
860
|
render(): JSX.Element;
|
857
861
|
context: any;
|
858
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
862
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
859
863
|
format: string;
|
860
864
|
clearable: boolean;
|
861
865
|
placeholder: string;
|
@@ -865,7 +869,7 @@ declare const _default: {
|
|
865
869
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
866
870
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
867
871
|
forceUpdate(callback?: (() => void) | undefined): void;
|
868
|
-
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
872
|
+
readonly props: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
869
873
|
format: string;
|
870
874
|
clearable: boolean;
|
871
875
|
placeholder: string;
|
@@ -881,7 +885,7 @@ declare const _default: {
|
|
881
885
|
[key: string]: React.ReactInstance;
|
882
886
|
};
|
883
887
|
componentDidMount?(): void;
|
884
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
888
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
885
889
|
format: string;
|
886
890
|
clearable: boolean;
|
887
891
|
placeholder: string;
|
@@ -892,7 +896,7 @@ declare const _default: {
|
|
892
896
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
893
897
|
componentWillUnmount?(): void;
|
894
898
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
895
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
899
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
896
900
|
format: string;
|
897
901
|
clearable: boolean;
|
898
902
|
placeholder: string;
|
@@ -901,7 +905,7 @@ declare const _default: {
|
|
901
905
|
locale?: string | undefined;
|
902
906
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
903
907
|
}>, prevState: Readonly<{}>): any;
|
904
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
908
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
905
909
|
format: string;
|
906
910
|
clearable: boolean;
|
907
911
|
placeholder: string;
|
@@ -912,7 +916,7 @@ declare const _default: {
|
|
912
916
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
913
917
|
componentWillMount?(): void;
|
914
918
|
UNSAFE_componentWillMount?(): void;
|
915
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
919
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
916
920
|
format: string;
|
917
921
|
clearable: boolean;
|
918
922
|
placeholder: string;
|
@@ -921,7 +925,7 @@ declare const _default: {
|
|
921
925
|
locale?: string | undefined;
|
922
926
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
923
927
|
}>, nextContext: any): void;
|
924
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
928
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
925
929
|
format: string;
|
926
930
|
clearable: boolean;
|
927
931
|
placeholder: string;
|
@@ -930,7 +934,7 @@ declare const _default: {
|
|
930
934
|
locale?: string | undefined;
|
931
935
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
932
936
|
}>, nextContext: any): void;
|
933
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
937
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
934
938
|
format: string;
|
935
939
|
clearable: boolean;
|
936
940
|
placeholder: string;
|
@@ -939,7 +943,7 @@ declare const _default: {
|
|
939
943
|
locale?: string | undefined;
|
940
944
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
941
945
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
942
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "
|
946
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ColorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "disabled" | "resetValue" | "placement" | "onChange" | "popoverClassName" | "popOverContainer" | "presetColors"> & Partial<Pick<Omit<ColorProps, keyof LocaleProps>, "placeholder" | "clearable" | "format" | "allowCustomColor">> & Partial<Pick<{
|
943
947
|
format: string;
|
944
948
|
clearable: boolean;
|
945
949
|
placeholder: string;
|