amis 1.3.5-beta.7 → 1.4.2-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/Schema.d.ts +26 -2
- package/lib/Schema.js.map +1 -1
- package/lib/components/Alert.js +3 -1
- package/lib/components/Alert.js.map +2 -2
- package/lib/components/AnchorNav.d.ts +22 -21
- package/lib/components/AnchorNav.js +7 -3
- package/lib/components/AnchorNav.js.map +2 -2
- package/lib/components/ArrayInput.d.ts +84 -84
- package/lib/components/AssociatedSelection.d.ts +930 -0
- package/lib/components/AssociatedSelection.js +89 -0
- package/lib/components/AssociatedSelection.js.map +13 -0
- package/lib/components/Badge.d.ts +16 -3
- package/lib/components/Badge.js +54 -5
- package/lib/components/Badge.js.map +2 -2
- package/lib/components/Button.d.ts +24 -22
- package/lib/components/Button.js +13 -7
- package/lib/components/Button.js.map +2 -2
- package/lib/components/{ChainedCheckboxes.d.ts → ChainedSelection.d.ts} +267 -98
- package/lib/components/{ChainedCheckboxes.js → ChainedSelection.js} +30 -24
- package/lib/components/ChainedSelection.js.map +13 -0
- package/lib/components/Checkbox.d.ts +1 -1
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/Checkbox.js.map +2 -2
- package/lib/components/Collapse.js +1 -1
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/ColorPicker.d.ts +84 -84
- package/lib/components/DatePicker.d.ts +84 -84
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DatePicker.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +84 -84
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Drawer.js.map +2 -2
- package/lib/components/Editor.d.ts +84 -84
- package/lib/components/GroupedSelection.d.ts +907 -0
- package/lib/components/GroupedSelection.js +48 -0
- package/lib/components/GroupedSelection.js.map +13 -0
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/Link.d.ts +84 -0
- package/lib/components/Link.js +43 -0
- package/lib/components/Link.js.map +13 -0
- package/lib/components/ListGroup.d.ts +21 -21
- package/lib/components/Modal.js +1 -1
- package/lib/components/Modal.js.map +2 -2
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/ModalManager.js.map +2 -2
- package/lib/components/MonthRangePicker.d.ts +84 -84
- package/lib/components/MonthRangePicker.js +1 -1
- package/lib/components/MonthRangePicker.js.map +2 -2
- package/lib/components/NumberInput.d.ts +20 -20
- package/lib/components/PickerColumn.d.ts +514 -0
- package/lib/components/PickerColumn.js +279 -0
- package/lib/components/PickerColumn.js.map +13 -0
- package/lib/components/PickerContainer.d.ts +513 -0
- package/lib/components/PickerContainer.js +96 -0
- package/lib/components/PickerContainer.js.map +13 -0
- package/lib/components/Radios.d.ts +22 -21
- package/lib/components/Radios.js +1 -0
- package/lib/components/Radios.js.map +2 -2
- package/lib/components/Rating.d.ts +21 -21
- package/lib/components/ResultBox.d.ts +84 -84
- package/lib/components/RichText.d.ts +6 -1
- package/lib/components/RichText.js +207 -8
- package/lib/components/RichText.js.map +2 -2
- package/lib/components/SearchBox.d.ts +84 -84
- package/lib/components/SearchBox.js +4 -4
- package/lib/components/SearchBox.js.map +2 -2
- package/lib/components/Select.d.ts +252 -237
- package/lib/components/Select.js +28 -4
- package/lib/components/Select.js.map +2 -2
- package/lib/components/{Checkboxes.d.ts → Selection.d.ts} +273 -98
- package/lib/components/Selection.js +134 -0
- package/lib/components/Selection.js.map +13 -0
- package/lib/components/SparkLine.d.ts +85 -84
- package/lib/components/SparkLine.js +2 -2
- package/lib/components/SparkLine.js.map +2 -2
- package/lib/components/Steps.d.ts +3 -3
- package/lib/components/Steps.js.map +1 -1
- package/lib/components/{TableCheckboxes.d.ts → TableSelection.d.ts} +266 -96
- package/lib/components/{TableCheckboxes.js → TableSelection.js} +30 -30
- package/lib/components/TableSelection.js.map +13 -0
- package/lib/components/Tabs.d.ts +20 -20
- package/lib/components/TabsTransfer.d.ts +84 -84
- package/lib/components/TabsTransfer.js +9 -9
- package/lib/components/TabsTransfer.js.map +2 -2
- package/lib/components/TabsTransferPicker.d.ts +489 -0
- package/lib/components/TabsTransferPicker.js +60 -0
- package/lib/components/TabsTransferPicker.js.map +13 -0
- package/lib/components/Toast.js +2 -2
- package/lib/components/Toast.js.map +2 -2
- package/lib/components/Transfer.d.ts +908 -274
- package/lib/components/Transfer.js +31 -24
- package/lib/components/Transfer.js.map +2 -2
- package/lib/components/TransferDropDown.d.ts +487 -0
- package/lib/components/TransferDropDown.js +59 -0
- package/lib/components/TransferDropDown.js.map +13 -0
- package/lib/components/TransferPicker.d.ts +489 -0
- package/lib/components/TransferPicker.js +60 -0
- package/lib/components/TransferPicker.js.map +13 -0
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/Tree.js +5 -3
- package/lib/components/Tree.js.map +2 -2
- package/lib/components/{TreeCheckboxes.d.ts → TreeSelection.d.ts} +269 -99
- package/lib/components/{TreeCheckboxes.js → TreeSelection.js} +36 -32
- package/lib/components/TreeSelection.js.map +13 -0
- package/lib/components/WithRemoteConfig.d.ts +8 -0
- package/lib/components/WithRemoteConfig.js +29 -3
- package/lib/components/WithRemoteConfig.js.map +2 -2
- package/lib/components/calendar/DaysView.js +2 -2
- package/lib/components/calendar/DaysView.js.map +2 -2
- package/lib/components/condition-builder/Field.js +5 -3
- package/lib/components/condition-builder/Field.js.map +2 -2
- package/lib/components/condition-builder/Func.js +2 -2
- package/lib/components/condition-builder/Func.js.map +2 -2
- package/lib/components/condition-builder/InputSwitch.js +2 -2
- package/lib/components/condition-builder/InputSwitch.js.map +2 -2
- package/lib/components/condition-builder/Item.js +3 -3
- package/lib/components/condition-builder/Item.js.map +2 -2
- package/lib/components/condition-builder/Value.js +2 -1
- package/lib/components/condition-builder/Value.js.map +2 -2
- package/lib/components/condition-builder/types.d.ts +5 -0
- package/lib/components/condition-builder/types.js.map +1 -1
- package/lib/components/icons.js +14 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +8 -8
- package/lib/components/index.js +16 -16
- package/lib/components/index.js.map +2 -2
- package/lib/envOverwrite.js.map +2 -2
- package/lib/factory.d.ts +9 -1
- package/lib/factory.js +13 -6
- package/lib/factory.js.map +2 -2
- package/lib/helper.css.map +1 -1
- package/lib/hooks/index.d.ts +5 -0
- package/lib/hooks/index.js +14 -0
- package/lib/hooks/index.js.map +13 -0
- package/lib/hooks/use-set-state.d.ts +2 -0
- package/lib/hooks/use-set-state.js +15 -0
- package/lib/hooks/use-set-state.js.map +13 -0
- package/lib/hooks/use-touch.d.ts +16 -0
- package/lib/hooks/use-touch.js +73 -0
- package/lib/hooks/use-touch.js.map +13 -0
- package/lib/hooks/use-update-effect.d.ts +3 -0
- package/lib/hooks/use-update-effect.js +17 -0
- package/lib/hooks/use-update-effect.js.map +13 -0
- package/lib/icons/clock.js +10 -0
- package/lib/icons/loading-outline.js +7 -0
- package/lib/icons/status-close.js +11 -0
- package/lib/icons/status-fail.js +11 -0
- package/lib/icons/status-info.js +10 -0
- package/lib/icons/status-success.js +11 -0
- package/lib/icons/status-warning.js +10 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +4 -1
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +5 -0
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +6 -1
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +9 -4
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.d.ts +17 -1
- package/lib/renderers/Action.js +21 -8
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/AnchorNav.d.ts +1 -0
- package/lib/renderers/AnchorNav.js +2 -2
- package/lib/renderers/AnchorNav.js.map +2 -2
- package/lib/renderers/Avatar.js +3 -3
- package/lib/renderers/Avatar.js.map +2 -2
- package/lib/renderers/Breadcrumb.js +1 -1
- package/lib/renderers/Breadcrumb.js.map +2 -2
- package/lib/renderers/CRUD.d.ts +9 -0
- package/lib/renderers/CRUD.js +48 -23
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Card.d.ts +4 -0
- package/lib/renderers/Card.js +29 -23
- package/lib/renderers/Card.js.map +2 -2
- package/lib/renderers/Chart.js +1 -1
- package/lib/renderers/Chart.js.map +2 -2
- package/lib/renderers/Collapse.d.ts +1 -1
- package/lib/renderers/Collapse.js +8 -3
- package/lib/renderers/Collapse.js.map +2 -2
- package/lib/renderers/Dialog.d.ts +0 -252
- package/lib/renderers/Dialog.js +1 -4
- package/lib/renderers/Dialog.js.map +2 -2
- package/lib/renderers/Drawer.js +0 -3
- package/lib/renderers/Drawer.js.map +2 -2
- package/lib/renderers/DropDownButton.d.ts +13 -1
- package/lib/renderers/DropDownButton.js +9 -5
- package/lib/renderers/DropDownButton.js.map +2 -2
- package/lib/renderers/Form/Checkbox.d.ts +5 -0
- package/lib/renderers/Form/Checkbox.js +4 -0
- package/lib/renderers/Form/Checkbox.js.map +2 -2
- package/lib/renderers/Form/Combo.js +2 -2
- package/lib/renderers/Form/Combo.js.map +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +4 -5
- package/lib/renderers/Form/Editor.d.ts +3 -4
- package/lib/renderers/Form/Editor.js +1 -1
- package/lib/renderers/Form/Editor.js.map +2 -2
- package/lib/renderers/Form/InputCity.d.ts +84 -84
- package/lib/renderers/Form/InputCity.js +7 -6
- package/lib/renderers/Form/InputCity.js.map +2 -2
- package/lib/renderers/Form/InputColor.d.ts +84 -84
- package/lib/renderers/Form/InputExcel.d.ts +5 -0
- package/lib/renderers/Form/InputExcel.js +24 -3
- package/lib/renderers/Form/InputExcel.js.map +2 -2
- package/lib/renderers/Form/InputFile.js +12 -6
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputImage.d.ts +8 -0
- package/lib/renderers/Form/InputImage.js +18 -8
- package/lib/renderers/Form/InputImage.js.map +2 -2
- package/lib/renderers/Form/InputTable.d.ts +23 -5
- package/lib/renderers/Form/InputTable.js +32 -3
- package/lib/renderers/Form/InputTable.js.map +2 -2
- package/lib/renderers/Form/Item.d.ts +1 -1
- package/lib/renderers/Form/Item.js.map +1 -1
- package/lib/renderers/Form/Options.js +19 -6
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Picker.js +2 -2
- package/lib/renderers/Form/Picker.js.map +2 -2
- package/lib/renderers/Form/Select.d.ts +41 -4
- package/lib/renderers/Form/Select.js +23 -3
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/TabsTransferPicker.d.ts +48 -0
- package/lib/renderers/Form/TabsTransferPicker.js +29 -0
- package/lib/renderers/Form/TabsTransferPicker.js.map +13 -0
- package/lib/renderers/Form/Transfer.js +3 -2
- package/lib/renderers/Form/Transfer.js.map +2 -2
- package/lib/renderers/Form/TransferPicker.d.ts +48 -0
- package/lib/renderers/Form/TransferPicker.js +29 -0
- package/lib/renderers/Form/TransferPicker.js.map +13 -0
- package/lib/renderers/Form/TreeSelect.js +2 -2
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Form/index.js +1 -1
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Form/wrapControl.js +15 -3
- package/lib/renderers/Form/wrapControl.js.map +2 -2
- package/lib/renderers/IFrame.js +3 -5
- package/lib/renderers/IFrame.js.map +2 -2
- package/lib/renderers/Image.d.ts +1 -0
- package/lib/renderers/Image.js +15 -1
- package/lib/renderers/Image.js.map +2 -2
- package/lib/renderers/Json.d.ts +4 -0
- package/lib/renderers/Json.js +7 -12
- package/lib/renderers/Json.js.map +2 -2
- package/lib/renderers/Link.d.ts +18 -3
- package/lib/renderers/Link.js +27 -15
- package/lib/renderers/Link.js.map +2 -2
- package/lib/renderers/List.js +1 -1
- package/lib/renderers/List.js.map +2 -2
- package/lib/renderers/Log.d.ts +2 -2
- package/lib/renderers/Log.js +7 -1
- package/lib/renderers/Log.js.map +2 -2
- package/lib/renderers/Mapping.d.ts +9 -2
- package/lib/renderers/Mapping.js +18 -6
- package/lib/renderers/Mapping.js.map +2 -2
- package/lib/renderers/Nav.d.ts +81 -25
- package/lib/renderers/Nav.js +292 -31
- package/lib/renderers/Nav.js.map +2 -2
- package/lib/renderers/Page.js +4 -1
- package/lib/renderers/Page.js.map +2 -2
- package/lib/renderers/Portlet.d.ts +125 -0
- package/lib/renderers/Portlet.js +156 -0
- package/lib/renderers/Portlet.js.map +13 -0
- package/lib/renderers/Property.js +2 -1
- package/lib/renderers/Property.js.map +2 -2
- package/lib/renderers/SearchBox.d.ts +6 -1
- package/lib/renderers/SearchBox.js +19 -5
- package/lib/renderers/SearchBox.js.map +2 -2
- package/lib/renderers/Service.d.ts +10 -1
- package/lib/renderers/Service.js +85 -3
- package/lib/renderers/Service.js.map +2 -2
- package/lib/renderers/SparkLine.d.ts +4 -0
- package/lib/renderers/SparkLine.js.map +2 -2
- package/lib/renderers/Steps.d.ts +4 -4
- package/lib/renderers/Steps.js +5 -2
- package/lib/renderers/Steps.js.map +2 -2
- package/lib/renderers/Table/ColumnToggler.d.ts +113 -0
- package/lib/renderers/Table/ColumnToggler.js +216 -0
- package/lib/renderers/Table/ColumnToggler.js.map +13 -0
- package/lib/renderers/Table/ItemActionsWrapper.d.ts +11 -0
- package/lib/renderers/Table/ItemActionsWrapper.js +31 -0
- package/lib/renderers/Table/ItemActionsWrapper.js.map +13 -0
- package/lib/renderers/Table/TableBody.d.ts +5 -1
- package/lib/renderers/Table/TableBody.js.map +1 -1
- package/lib/renderers/Table/TableCell.js +3 -1
- package/lib/renderers/Table/TableCell.js.map +2 -2
- package/lib/renderers/Table/TableContent.d.ts +5 -2
- package/lib/renderers/Table/TableContent.js +21 -1
- package/lib/renderers/Table/TableContent.js.map +2 -2
- package/lib/renderers/Table/index.d.ts +27 -5
- package/lib/renderers/Table/index.js +251 -101
- package/lib/renderers/Table/index.js.map +2 -2
- package/lib/renderers/Tabs.js +9 -1
- package/lib/renderers/Tabs.js.map +2 -2
- package/lib/renderers/WebComponent.js +1 -1
- package/lib/renderers/WebComponent.js.map +2 -2
- package/lib/store/app.d.ts +0 -1
- package/lib/store/combo.d.ts +2 -18
- package/lib/store/crud.d.ts +0 -1
- package/lib/store/crud.js +3 -7
- package/lib/store/crud.js.map +2 -2
- package/lib/store/form.d.ts +1 -2
- package/lib/store/form.js +5 -6
- package/lib/store/form.js.map +2 -2
- package/lib/store/modal.d.ts +1 -1
- package/lib/store/modal.js +4 -0
- package/lib/store/modal.js.map +2 -2
- package/lib/store/root.d.ts +0 -1
- package/lib/store/service.d.ts +0 -1
- package/lib/store/service.js +5 -17
- package/lib/store/service.js.map +2 -2
- package/lib/store/table.d.ts +260 -5
- package/lib/store/table.js +83 -7
- package/lib/store/table.js.map +2 -2
- package/lib/themes/ang-ie11.css +1360 -244
- package/lib/themes/ang.css +1360 -244
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +1360 -244
- package/lib/themes/antd.css +1360 -244
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +1960 -517
- package/lib/themes/cxd.css +1960 -517
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +1360 -244
- package/lib/themes/dark.css +1360 -244
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +1960 -517
- package/lib/themes/default.css.map +1 -1
- package/lib/types.d.ts +37 -0
- package/lib/types.js +0 -5
- package/lib/types.js.map +2 -2
- package/lib/utils/api.d.ts +3 -2
- package/lib/utils/api.js +43 -15
- package/lib/utils/api.js.map +2 -2
- package/lib/utils/attachmentAdpator.d.ts +7 -0
- package/lib/utils/attachmentAdpator.js +82 -0
- package/lib/utils/attachmentAdpator.js.map +13 -0
- package/lib/utils/dom.d.ts +4 -0
- package/lib/utils/dom.js +11 -1
- package/lib/utils/dom.js.map +2 -2
- package/lib/utils/handleAction.d.ts +7 -0
- package/lib/utils/handleAction.js +30 -0
- package/lib/utils/handleAction.js.map +13 -0
- package/lib/utils/helper.d.ts +3 -1
- package/lib/utils/helper.js +14 -5
- package/lib/utils/helper.js.map +2 -2
- package/lib/utils/icon.js +3 -0
- package/lib/utils/icon.js.map +2 -2
- package/lib/utils/tpl-builtin.d.ts +1 -1
- package/lib/utils/tpl-builtin.js +25 -15
- package/lib/utils/tpl-builtin.js.map +2 -2
- package/lib/utils/validations.js +62 -5
- package/lib/utils/validations.js.map +2 -2
- package/package.json +1 -2
- package/schema.json +3638 -1030
- package/scss/_mixins.scss +27 -0
- package/scss/_properties.scss +88 -13
- package/scss/_utilities.scss +4 -0
- package/scss/base/_normalize.scss +2 -0
- package/scss/components/_anchor-nav.scss +88 -29
- package/scss/components/_badge.scss +67 -2
- package/scss/components/_button.scss +34 -3
- package/scss/components/_card.scss +8 -14
- package/scss/components/_collapse.scss +41 -8
- package/scss/components/_column-toggler.scss +234 -0
- package/scss/components/_dropdown.scss +2 -1
- package/scss/components/_image-gallery.scss +1 -1
- package/scss/components/_images.scss +2 -1
- package/scss/components/_link.scss +6 -0
- package/scss/components/_mapping.scss +6 -0
- package/scss/components/_markdown.scss +266 -0
- package/scss/components/_nav.scss +236 -154
- package/scss/components/_page.scss +5 -4
- package/scss/components/_picker-columns.scss +123 -0
- package/scss/components/_popover.scss +17 -0
- package/scss/components/_portlet.scss +51 -0
- package/scss/components/_progress.scss +2 -0
- package/scss/components/_spinner.scss +6 -2
- package/scss/components/_status.scss +1 -1
- package/scss/components/_steps.scss +1 -1
- package/scss/components/_table.scss +51 -1
- package/scss/components/form/_checks.scss +0 -351
- package/scss/components/form/_color.scss +1 -0
- package/scss/components/form/_date-range.scss +2 -0
- package/scss/components/form/_date.scss +2 -0
- package/scss/components/form/_fieldset.scss +6 -3
- package/scss/components/form/_file.scss +5 -4
- package/scss/components/form/_group.scss +4 -0
- package/scss/components/form/_image.scss +7 -2
- package/scss/components/form/_list.scss +1 -0
- package/scss/components/form/_location.scss +1 -1
- package/scss/components/form/_selection.scss +354 -0
- package/scss/components/form/_text.scss +13 -0
- package/scss/components/form/_textarea.scss +10 -0
- package/scss/components/form/_transfer.scss +77 -18
- package/scss/themes/_common.scss +7 -0
- package/scss/themes/_cxd-colors.scss +56 -0
- package/scss/themes/_cxd-variables.scss +219 -91
- package/scss/themes/cxd.scss +370 -0
- package/sdk/ang-ie11.css +1752 -431
- package/sdk/ang.css +1706 -323
- package/sdk/antd-ie11.css +1739 -420
- package/sdk/antd.css +1706 -323
- package/sdk/charts.js +13 -13
- package/sdk/color-picker.js +65 -69
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +3015 -1397
- package/sdk/cxd.css +2402 -651
- package/sdk/dark-ie11.css +1750 -429
- package/sdk/dark.css +1706 -323
- package/sdk/exceljs.js +1 -1
- package/sdk/helper.css.map +1 -1
- package/sdk/ie11-patch.css +1 -0
- package/sdk/locale/de-DE.js +5 -0
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +20 -30
- package/sdk/rich-text.js +62 -64
- package/sdk/sdk-ie11.css +3015 -1397
- package/sdk/sdk.css +2402 -651
- package/sdk/sdk.js +1278 -1220
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/Schema.ts +32 -0
- package/src/components/Alert.tsx +3 -1
- package/src/components/AnchorNav.tsx +15 -4
- package/src/components/{AssociatedCheckboxes.tsx → AssociatedSelection.tsx} +41 -37
- package/src/components/Badge.tsx +126 -23
- package/src/components/Button.tsx +23 -7
- package/src/components/{ChainedCheckboxes.tsx → ChainedSelection.tsx} +57 -40
- package/src/components/Checkbox.tsx +5 -2
- package/src/components/Collapse.tsx +14 -9
- package/src/components/DatePicker.tsx +1 -1
- package/src/components/DateRangePicker.tsx +23 -11
- package/src/components/Drawer.tsx +3 -2
- package/src/components/{ListCheckboxes.tsx → GroupedSelection.tsx} +26 -21
- package/src/components/InputBox.tsx +1 -1
- package/src/components/Link.tsx +85 -0
- package/src/components/Modal.tsx +3 -2
- package/src/components/ModalManager.ts +1 -1
- package/src/components/MonthRangePicker.tsx +10 -2
- package/src/components/PickerColumn.tsx +429 -0
- package/src/components/PickerContainer.tsx +128 -0
- package/src/components/Radios.tsx +3 -8
- package/src/components/RichText.tsx +244 -3
- package/src/components/SearchBox.tsx +4 -5
- package/src/components/Select.tsx +61 -5
- package/src/components/{Checkboxes.tsx → Selection.tsx} +75 -21
- package/src/components/SparkLine.tsx +4 -1
- package/src/components/Steps.tsx +3 -3
- package/src/components/{TableCheckboxes.tsx → TableSelection.tsx} +46 -25
- package/src/components/TabsTransfer.tsx +13 -7
- package/src/components/TabsTransferPicker.tsx +85 -0
- package/src/components/Toast.tsx +5 -5
- package/src/components/Transfer.tsx +71 -50
- package/src/components/TransferDropDown.tsx +117 -0
- package/src/components/TransferPicker.tsx +84 -0
- package/src/components/Tree.tsx +6 -8
- package/src/components/{TreeCheckboxes.tsx → TreeSelection.tsx} +33 -26
- package/src/components/WithRemoteConfig.tsx +44 -4
- package/src/components/calendar/DaysView.tsx +2 -2
- package/src/components/condition-builder/Field.tsx +6 -7
- package/src/components/condition-builder/Func.tsx +3 -3
- package/src/components/condition-builder/InputSwitch.tsx +3 -3
- package/src/components/condition-builder/Item.tsx +5 -12
- package/src/components/condition-builder/Value.tsx +3 -0
- package/src/components/condition-builder/types.ts +6 -0
- package/src/components/icons.tsx +15 -0
- package/src/components/index.tsx +13 -13
- package/src/envOverwrite.ts +0 -1
- package/src/factory.tsx +31 -6
- package/src/hooks/index.ts +5 -0
- package/src/hooks/use-set-state.ts +19 -0
- package/src/hooks/use-touch.ts +100 -0
- package/src/hooks/use-update-effect.ts +16 -0
- package/src/icons/clock.svg +1 -0
- package/src/icons/loading-outline.svg +4 -0
- package/src/icons/status-close.svg +10 -0
- package/src/icons/status-fail.svg +10 -0
- package/src/icons/status-info.svg +8 -0
- package/src/icons/status-success.svg +10 -0
- package/src/icons/status-warning.svg +8 -0
- package/src/index.tsx +3 -0
- package/src/locale/de-DE.ts +5 -0
- package/src/locale/en-US.ts +6 -1
- package/src/locale/zh-CN.ts +9 -4
- package/src/renderers/Action.tsx +99 -15
- package/src/renderers/AnchorNav.tsx +4 -0
- package/src/renderers/Avatar.tsx +8 -4
- package/src/renderers/Breadcrumb.tsx +5 -1
- package/src/renderers/CRUD.tsx +70 -56
- package/src/renderers/Card.tsx +63 -34
- package/src/renderers/Chart.tsx +6 -2
- package/src/renderers/Collapse.tsx +9 -3
- package/src/renderers/Dialog.tsx +1 -5
- package/src/renderers/Drawer.tsx +0 -4
- package/src/renderers/DropDownButton.tsx +34 -12
- package/src/renderers/Form/Checkbox.tsx +8 -0
- package/src/renderers/Form/Combo.tsx +2 -3
- package/src/renderers/Form/Editor.tsx +19 -20
- package/src/renderers/Form/InputCity.tsx +4 -8
- package/src/renderers/Form/InputExcel.tsx +28 -3
- package/src/renderers/Form/InputFile.tsx +30 -20
- package/src/renderers/Form/InputImage.tsx +39 -13
- package/src/renderers/Form/InputTable.tsx +88 -9
- package/src/renderers/Form/Item.tsx +1 -1
- package/src/renderers/Form/Options.tsx +32 -7
- package/src/renderers/Form/Picker.tsx +3 -2
- package/src/renderers/Form/Select.tsx +144 -21
- package/src/renderers/Form/TabsTransferPicker.tsx +123 -0
- package/src/renderers/Form/Transfer.tsx +3 -2
- package/src/renderers/Form/TransferPicker.tsx +123 -0
- package/src/renderers/Form/TreeSelect.tsx +25 -0
- package/src/renderers/Form/index.tsx +1 -1
- package/src/renderers/Form/wrapControl.tsx +28 -3
- package/src/renderers/IFrame.tsx +4 -5
- package/src/renderers/Image.tsx +10 -0
- package/src/renderers/Json.tsx +19 -10
- package/src/renderers/Link.tsx +53 -14
- package/src/renderers/List.tsx +1 -1
- package/src/renderers/Log.tsx +16 -3
- package/src/renderers/Mapping.tsx +27 -11
- package/src/renderers/Nav.tsx +392 -60
- package/src/renderers/Page.tsx +3 -1
- package/src/renderers/Portlet.tsx +423 -0
- package/src/renderers/Property.tsx +3 -2
- package/src/renderers/SearchBox.tsx +23 -4
- package/src/renderers/Service.tsx +101 -3
- package/src/renderers/SparkLine.tsx +5 -0
- package/src/renderers/Steps.tsx +12 -9
- package/src/renderers/Table/ColumnToggler.tsx +544 -0
- package/src/renderers/Table/ItemActionsWrapper.tsx +44 -0
- package/src/renderers/Table/TableBody.tsx +1 -1
- package/src/renderers/Table/TableCell.tsx +16 -1
- package/src/renderers/Table/TableContent.tsx +41 -3
- package/src/renderers/Table/index.tsx +318 -92
- package/src/renderers/Tabs.tsx +9 -1
- package/src/renderers/WebComponent.tsx +2 -2
- package/src/store/crud.ts +3 -8
- package/src/store/form.ts +5 -10
- package/src/store/modal.ts +4 -0
- package/src/store/service.ts +5 -23
- package/src/store/table.ts +103 -4
- package/src/types.ts +57 -0
- package/src/utils/api.ts +63 -23
- package/src/utils/attachmentAdpator.ts +90 -0
- package/src/utils/dom.tsx +12 -0
- package/src/utils/handleAction.ts +41 -0
- package/src/utils/helper.ts +12 -3
- package/src/utils/icon.tsx +4 -0
- package/src/utils/tpl-builtin.ts +48 -17
- package/src/utils/validations.ts +80 -12
- package/dump.rdb +0 -0
- package/lib/components/AssociatedCheckboxes.d.ts +0 -762
- package/lib/components/AssociatedCheckboxes.js +0 -90
- package/lib/components/AssociatedCheckboxes.js.map +0 -13
- package/lib/components/ChainedCheckboxes.js.map +0 -13
- package/lib/components/Checkboxes.js +0 -101
- package/lib/components/Checkboxes.js.map +0 -13
- package/lib/components/ListCheckboxes.d.ts +0 -739
- package/lib/components/ListCheckboxes.js +0 -48
- package/lib/components/ListCheckboxes.js.map +0 -13
- package/lib/components/ListRadios.d.ts +0 -763
- package/lib/components/ListRadios.js +0 -86
- package/lib/components/ListRadios.js.map +0 -13
- package/lib/components/TableCheckboxes.js.map +0 -13
- package/lib/components/TreeCheckboxes.js.map +0 -13
- package/lib/components/TreeRadios.d.ts +0 -838
- package/lib/components/TreeRadios.js +0 -116
- package/lib/components/TreeRadios.js.map +0 -13
- package/src/components/ListRadios.tsx +0 -159
- package/src/components/TreeRadios.tsx +0 -202
@@ -11,6 +11,7 @@ export interface SparkLineProps extends ThemeProps, LocaleProps {
|
|
11
11
|
value: number;
|
12
12
|
label?: string;
|
13
13
|
}>;
|
14
|
+
placeholder?: string;
|
14
15
|
onClick?: (e: React.MouseEvent, value?: PlainObject) => void;
|
15
16
|
}
|
16
17
|
export declare class SparkLine extends React.Component<SparkLineProps> {
|
@@ -23,13 +24,13 @@ export declare class SparkLine extends React.Component<SparkLineProps> {
|
|
23
24
|
render(): JSX.Element;
|
24
25
|
}
|
25
26
|
declare const _default: {
|
26
|
-
new (props: (Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
27
|
+
new (props: (Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
27
28
|
width: number;
|
28
29
|
height: number;
|
29
30
|
}, never>> & {
|
30
31
|
locale?: string | undefined;
|
31
32
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
32
|
-
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
33
|
+
}, keyof ThemeProps> & import("../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
33
34
|
width: number;
|
34
35
|
height: number;
|
35
36
|
}, never>> & {
|
@@ -38,7 +39,7 @@ declare const _default: {
|
|
38
39
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>): {
|
39
40
|
render(): JSX.Element;
|
40
41
|
context: any;
|
41
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
42
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
42
43
|
width: number;
|
43
44
|
height: number;
|
44
45
|
}, never>> & {
|
@@ -46,7 +47,7 @@ declare const _default: {
|
|
46
47
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
47
48
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
48
49
|
forceUpdate(callback?: (() => void) | undefined): void;
|
49
|
-
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
50
|
+
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
50
51
|
width: number;
|
51
52
|
height: number;
|
52
53
|
}, never>> & {
|
@@ -60,7 +61,7 @@ declare const _default: {
|
|
60
61
|
[key: string]: React.ReactInstance;
|
61
62
|
};
|
62
63
|
componentDidMount?(): void;
|
63
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
64
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
64
65
|
width: number;
|
65
66
|
height: number;
|
66
67
|
}, never>> & {
|
@@ -69,14 +70,14 @@ declare const _default: {
|
|
69
70
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
70
71
|
componentWillUnmount?(): void;
|
71
72
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
72
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
73
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
73
74
|
width: number;
|
74
75
|
height: number;
|
75
76
|
}, never>> & {
|
76
77
|
locale?: string | undefined;
|
77
78
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
78
79
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
79
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
80
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
80
81
|
width: number;
|
81
82
|
height: number;
|
82
83
|
}, never>> & {
|
@@ -85,28 +86,28 @@ declare const _default: {
|
|
85
86
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
86
87
|
componentWillMount?(): void;
|
87
88
|
UNSAFE_componentWillMount?(): void;
|
88
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
89
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
89
90
|
width: number;
|
90
91
|
height: number;
|
91
92
|
}, never>> & {
|
92
93
|
locale?: string | undefined;
|
93
94
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
94
95
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
95
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
96
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
96
97
|
width: number;
|
97
98
|
height: number;
|
98
99
|
}, never>> & {
|
99
100
|
locale?: string | undefined;
|
100
101
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
101
102
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
102
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
103
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
103
104
|
width: number;
|
104
105
|
height: number;
|
105
106
|
}, never>> & {
|
106
107
|
locale?: string | undefined;
|
107
108
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
108
109
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
109
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
110
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
110
111
|
width: number;
|
111
112
|
height: number;
|
112
113
|
}, never>> & {
|
@@ -114,7 +115,7 @@ declare const _default: {
|
|
114
115
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
115
116
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
116
117
|
};
|
117
|
-
new (props: Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
118
|
+
new (props: Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
118
119
|
width: number;
|
119
120
|
height: number;
|
120
121
|
}, never>> & {
|
@@ -123,7 +124,7 @@ declare const _default: {
|
|
123
124
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps, context: any): {
|
124
125
|
render(): JSX.Element;
|
125
126
|
context: any;
|
126
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
127
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
127
128
|
width: number;
|
128
129
|
height: number;
|
129
130
|
}, never>> & {
|
@@ -131,7 +132,7 @@ declare const _default: {
|
|
131
132
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
132
133
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
133
134
|
forceUpdate(callback?: (() => void) | undefined): void;
|
134
|
-
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
135
|
+
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
135
136
|
width: number;
|
136
137
|
height: number;
|
137
138
|
}, never>> & {
|
@@ -145,7 +146,7 @@ declare const _default: {
|
|
145
146
|
[key: string]: React.ReactInstance;
|
146
147
|
};
|
147
148
|
componentDidMount?(): void;
|
148
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
149
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
149
150
|
width: number;
|
150
151
|
height: number;
|
151
152
|
}, never>> & {
|
@@ -154,14 +155,14 @@ declare const _default: {
|
|
154
155
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
155
156
|
componentWillUnmount?(): void;
|
156
157
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
157
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
158
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
158
159
|
width: number;
|
159
160
|
height: number;
|
160
161
|
}, never>> & {
|
161
162
|
locale?: string | undefined;
|
162
163
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
163
164
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
164
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
165
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
165
166
|
width: number;
|
166
167
|
height: number;
|
167
168
|
}, never>> & {
|
@@ -170,28 +171,28 @@ declare const _default: {
|
|
170
171
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
171
172
|
componentWillMount?(): void;
|
172
173
|
UNSAFE_componentWillMount?(): void;
|
173
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
174
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
174
175
|
width: number;
|
175
176
|
height: number;
|
176
177
|
}, never>> & {
|
177
178
|
locale?: string | undefined;
|
178
179
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
179
180
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
180
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
181
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
181
182
|
width: number;
|
182
183
|
height: number;
|
183
184
|
}, never>> & {
|
184
185
|
locale?: string | undefined;
|
185
186
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
186
187
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
187
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
188
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
188
189
|
width: number;
|
189
190
|
height: number;
|
190
191
|
}, never>> & {
|
191
192
|
locale?: string | undefined;
|
192
193
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
193
194
|
}, keyof ThemeProps> & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
194
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
195
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
195
196
|
width: number;
|
196
197
|
height: number;
|
197
198
|
}, never>> & {
|
@@ -202,13 +203,13 @@ declare const _default: {
|
|
202
203
|
displayName: string;
|
203
204
|
contextType: React.Context<string>;
|
204
205
|
ComposedComponent: React.ComponentType<{
|
205
|
-
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
206
|
+
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
206
207
|
width: number;
|
207
208
|
height: number;
|
208
209
|
}, never>> & {
|
209
210
|
locale?: string | undefined;
|
210
211
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
211
|
-
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
212
|
+
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
212
213
|
width: number;
|
213
214
|
height: number;
|
214
215
|
}, never>> & {
|
@@ -217,7 +218,7 @@ declare const _default: {
|
|
217
218
|
}>): {
|
218
219
|
render(): JSX.Element;
|
219
220
|
context: any;
|
220
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
221
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
221
222
|
width: number;
|
222
223
|
height: number;
|
223
224
|
}, never>> & {
|
@@ -225,7 +226,7 @@ declare const _default: {
|
|
225
226
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
226
227
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
227
228
|
forceUpdate(callback?: (() => void) | undefined): void;
|
228
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
229
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
229
230
|
width: number;
|
230
231
|
height: number;
|
231
232
|
}, never>> & {
|
@@ -239,7 +240,7 @@ declare const _default: {
|
|
239
240
|
[key: string]: React.ReactInstance;
|
240
241
|
};
|
241
242
|
componentDidMount?(): void;
|
242
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
243
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
243
244
|
width: number;
|
244
245
|
height: number;
|
245
246
|
}, never>> & {
|
@@ -248,14 +249,14 @@ declare const _default: {
|
|
248
249
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
249
250
|
componentWillUnmount?(): void;
|
250
251
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
251
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
252
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
252
253
|
width: number;
|
253
254
|
height: number;
|
254
255
|
}, never>> & {
|
255
256
|
locale?: string | undefined;
|
256
257
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
257
258
|
}>, prevState: Readonly<{}>): any;
|
258
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
259
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
259
260
|
width: number;
|
260
261
|
height: number;
|
261
262
|
}, never>> & {
|
@@ -264,28 +265,28 @@ declare const _default: {
|
|
264
265
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
265
266
|
componentWillMount?(): void;
|
266
267
|
UNSAFE_componentWillMount?(): void;
|
267
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
268
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
268
269
|
width: number;
|
269
270
|
height: number;
|
270
271
|
}, never>> & {
|
271
272
|
locale?: string | undefined;
|
272
273
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
273
274
|
}>, nextContext: any): void;
|
274
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
275
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
275
276
|
width: number;
|
276
277
|
height: number;
|
277
278
|
}, never>> & {
|
278
279
|
locale?: string | undefined;
|
279
280
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
280
281
|
}>, nextContext: any): void;
|
281
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
282
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
282
283
|
width: number;
|
283
284
|
height: number;
|
284
285
|
}, never>> & {
|
285
286
|
locale?: string | undefined;
|
286
287
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
287
288
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
288
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
289
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
289
290
|
width: number;
|
290
291
|
height: number;
|
291
292
|
}, never>> & {
|
@@ -293,7 +294,7 @@ declare const _default: {
|
|
293
294
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
294
295
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
295
296
|
};
|
296
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
297
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
297
298
|
width: number;
|
298
299
|
height: number;
|
299
300
|
}, never>> & {
|
@@ -302,7 +303,7 @@ declare const _default: {
|
|
302
303
|
}, context: any): {
|
303
304
|
render(): JSX.Element;
|
304
305
|
context: any;
|
305
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
306
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
306
307
|
width: number;
|
307
308
|
height: number;
|
308
309
|
}, never>> & {
|
@@ -310,7 +311,7 @@ declare const _default: {
|
|
310
311
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
311
312
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
312
313
|
forceUpdate(callback?: (() => void) | undefined): void;
|
313
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
314
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
314
315
|
width: number;
|
315
316
|
height: number;
|
316
317
|
}, never>> & {
|
@@ -324,7 +325,7 @@ declare const _default: {
|
|
324
325
|
[key: string]: React.ReactInstance;
|
325
326
|
};
|
326
327
|
componentDidMount?(): void;
|
327
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
328
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
328
329
|
width: number;
|
329
330
|
height: number;
|
330
331
|
}, never>> & {
|
@@ -333,14 +334,14 @@ declare const _default: {
|
|
333
334
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
334
335
|
componentWillUnmount?(): void;
|
335
336
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
336
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
337
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
337
338
|
width: number;
|
338
339
|
height: number;
|
339
340
|
}, never>> & {
|
340
341
|
locale?: string | undefined;
|
341
342
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
342
343
|
}>, prevState: Readonly<{}>): any;
|
343
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
344
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
344
345
|
width: number;
|
345
346
|
height: number;
|
346
347
|
}, never>> & {
|
@@ -349,28 +350,28 @@ declare const _default: {
|
|
349
350
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
350
351
|
componentWillMount?(): void;
|
351
352
|
UNSAFE_componentWillMount?(): void;
|
352
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
353
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
353
354
|
width: number;
|
354
355
|
height: number;
|
355
356
|
}, never>> & {
|
356
357
|
locale?: string | undefined;
|
357
358
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
358
359
|
}>, nextContext: any): void;
|
359
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
360
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
360
361
|
width: number;
|
361
362
|
height: number;
|
362
363
|
}, never>> & {
|
363
364
|
locale?: string | undefined;
|
364
365
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
365
366
|
}>, nextContext: any): void;
|
366
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
367
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
367
368
|
width: number;
|
368
369
|
height: number;
|
369
370
|
}, never>> & {
|
370
371
|
locale?: string | undefined;
|
371
372
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
372
373
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
373
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
374
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
374
375
|
width: number;
|
375
376
|
height: number;
|
376
377
|
}, never>> & {
|
@@ -385,13 +386,13 @@ declare const _default: {
|
|
385
386
|
ComposedComponent: typeof SparkLine;
|
386
387
|
}>;
|
387
388
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
388
|
-
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
389
|
+
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
389
390
|
width: number;
|
390
391
|
height: number;
|
391
392
|
}, never>> & {
|
392
393
|
locale?: string | undefined;
|
393
394
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
394
|
-
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
395
|
+
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
395
396
|
width: number;
|
396
397
|
height: number;
|
397
398
|
}, never>> & {
|
@@ -400,7 +401,7 @@ declare const _default: {
|
|
400
401
|
}>): {
|
401
402
|
render(): JSX.Element;
|
402
403
|
context: any;
|
403
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
404
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
404
405
|
width: number;
|
405
406
|
height: number;
|
406
407
|
}, never>> & {
|
@@ -408,7 +409,7 @@ declare const _default: {
|
|
408
409
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
409
410
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
410
411
|
forceUpdate(callback?: (() => void) | undefined): void;
|
411
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
412
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
412
413
|
width: number;
|
413
414
|
height: number;
|
414
415
|
}, never>> & {
|
@@ -422,7 +423,7 @@ declare const _default: {
|
|
422
423
|
[key: string]: React.ReactInstance;
|
423
424
|
};
|
424
425
|
componentDidMount?(): void;
|
425
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
426
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
426
427
|
width: number;
|
427
428
|
height: number;
|
428
429
|
}, never>> & {
|
@@ -431,14 +432,14 @@ declare const _default: {
|
|
431
432
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
432
433
|
componentWillUnmount?(): void;
|
433
434
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
434
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
435
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
435
436
|
width: number;
|
436
437
|
height: number;
|
437
438
|
}, never>> & {
|
438
439
|
locale?: string | undefined;
|
439
440
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
440
441
|
}>, prevState: Readonly<{}>): any;
|
441
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
442
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
442
443
|
width: number;
|
443
444
|
height: number;
|
444
445
|
}, never>> & {
|
@@ -447,28 +448,28 @@ declare const _default: {
|
|
447
448
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
448
449
|
componentWillMount?(): void;
|
449
450
|
UNSAFE_componentWillMount?(): void;
|
450
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
451
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
451
452
|
width: number;
|
452
453
|
height: number;
|
453
454
|
}, never>> & {
|
454
455
|
locale?: string | undefined;
|
455
456
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
456
457
|
}>, nextContext: any): void;
|
457
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
458
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
458
459
|
width: number;
|
459
460
|
height: number;
|
460
461
|
}, never>> & {
|
461
462
|
locale?: string | undefined;
|
462
463
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
463
464
|
}>, nextContext: any): void;
|
464
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
465
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
465
466
|
width: number;
|
466
467
|
height: number;
|
467
468
|
}, never>> & {
|
468
469
|
locale?: string | undefined;
|
469
470
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
470
471
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
471
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
472
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
472
473
|
width: number;
|
473
474
|
height: number;
|
474
475
|
}, never>> & {
|
@@ -476,7 +477,7 @@ declare const _default: {
|
|
476
477
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
477
478
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
478
479
|
};
|
479
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
480
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
480
481
|
width: number;
|
481
482
|
height: number;
|
482
483
|
}, never>> & {
|
@@ -485,7 +486,7 @@ declare const _default: {
|
|
485
486
|
}, context: any): {
|
486
487
|
render(): JSX.Element;
|
487
488
|
context: any;
|
488
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
489
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
489
490
|
width: number;
|
490
491
|
height: number;
|
491
492
|
}, never>> & {
|
@@ -493,7 +494,7 @@ declare const _default: {
|
|
493
494
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
494
495
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
495
496
|
forceUpdate(callback?: (() => void) | undefined): void;
|
496
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
497
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
497
498
|
width: number;
|
498
499
|
height: number;
|
499
500
|
}, never>> & {
|
@@ -507,7 +508,7 @@ declare const _default: {
|
|
507
508
|
[key: string]: React.ReactInstance;
|
508
509
|
};
|
509
510
|
componentDidMount?(): void;
|
510
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
511
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
511
512
|
width: number;
|
512
513
|
height: number;
|
513
514
|
}, never>> & {
|
@@ -516,14 +517,14 @@ declare const _default: {
|
|
516
517
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
517
518
|
componentWillUnmount?(): void;
|
518
519
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
519
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
520
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
520
521
|
width: number;
|
521
522
|
height: number;
|
522
523
|
}, never>> & {
|
523
524
|
locale?: string | undefined;
|
524
525
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
525
526
|
}>, prevState: Readonly<{}>): any;
|
526
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
527
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
527
528
|
width: number;
|
528
529
|
height: number;
|
529
530
|
}, never>> & {
|
@@ -532,28 +533,28 @@ declare const _default: {
|
|
532
533
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
533
534
|
componentWillMount?(): void;
|
534
535
|
UNSAFE_componentWillMount?(): void;
|
535
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
536
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
536
537
|
width: number;
|
537
538
|
height: number;
|
538
539
|
}, never>> & {
|
539
540
|
locale?: string | undefined;
|
540
541
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
541
542
|
}>, nextContext: any): void;
|
542
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
543
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
543
544
|
width: number;
|
544
545
|
height: number;
|
545
546
|
}, never>> & {
|
546
547
|
locale?: string | undefined;
|
547
548
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
548
549
|
}>, nextContext: any): void;
|
549
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
550
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
550
551
|
width: number;
|
551
552
|
height: number;
|
552
553
|
}, never>> & {
|
553
554
|
locale?: string | undefined;
|
554
555
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
555
556
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
556
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
557
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
557
558
|
width: number;
|
558
559
|
height: number;
|
559
560
|
}, never>> & {
|
@@ -568,13 +569,13 @@ declare const _default: {
|
|
568
569
|
ComposedComponent: typeof SparkLine;
|
569
570
|
}, {}> & {
|
570
571
|
ComposedComponent: {
|
571
|
-
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
572
|
+
new (props: (Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
572
573
|
width: number;
|
573
574
|
height: number;
|
574
575
|
}, never>> & {
|
575
576
|
locale?: string | undefined;
|
576
577
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
577
|
-
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
578
|
+
}) | Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
578
579
|
width: number;
|
579
580
|
height: number;
|
580
581
|
}, never>> & {
|
@@ -583,7 +584,7 @@ declare const _default: {
|
|
583
584
|
}>): {
|
584
585
|
render(): JSX.Element;
|
585
586
|
context: any;
|
586
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
587
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
587
588
|
width: number;
|
588
589
|
height: number;
|
589
590
|
}, never>> & {
|
@@ -591,7 +592,7 @@ declare const _default: {
|
|
591
592
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
592
593
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
593
594
|
forceUpdate(callback?: (() => void) | undefined): void;
|
594
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
595
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
595
596
|
width: number;
|
596
597
|
height: number;
|
597
598
|
}, never>> & {
|
@@ -605,7 +606,7 @@ declare const _default: {
|
|
605
606
|
[key: string]: React.ReactInstance;
|
606
607
|
};
|
607
608
|
componentDidMount?(): void;
|
608
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
609
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
609
610
|
width: number;
|
610
611
|
height: number;
|
611
612
|
}, never>> & {
|
@@ -614,14 +615,14 @@ declare const _default: {
|
|
614
615
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
615
616
|
componentWillUnmount?(): void;
|
616
617
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
617
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
618
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
618
619
|
width: number;
|
619
620
|
height: number;
|
620
621
|
}, never>> & {
|
621
622
|
locale?: string | undefined;
|
622
623
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
623
624
|
}>, prevState: Readonly<{}>): any;
|
624
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
625
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
625
626
|
width: number;
|
626
627
|
height: number;
|
627
628
|
}, never>> & {
|
@@ -630,28 +631,28 @@ declare const _default: {
|
|
630
631
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
631
632
|
componentWillMount?(): void;
|
632
633
|
UNSAFE_componentWillMount?(): void;
|
633
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
634
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
634
635
|
width: number;
|
635
636
|
height: number;
|
636
637
|
}, never>> & {
|
637
638
|
locale?: string | undefined;
|
638
639
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
639
640
|
}>, nextContext: any): void;
|
640
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
641
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
641
642
|
width: number;
|
642
643
|
height: number;
|
643
644
|
}, never>> & {
|
644
645
|
locale?: string | undefined;
|
645
646
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
646
647
|
}>, nextContext: any): void;
|
647
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
648
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
648
649
|
width: number;
|
649
650
|
height: number;
|
650
651
|
}, never>> & {
|
651
652
|
locale?: string | undefined;
|
652
653
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
653
654
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
654
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
655
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
655
656
|
width: number;
|
656
657
|
height: number;
|
657
658
|
}, never>> & {
|
@@ -659,7 +660,7 @@ declare const _default: {
|
|
659
660
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
660
661
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
661
662
|
};
|
662
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
663
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
663
664
|
width: number;
|
664
665
|
height: number;
|
665
666
|
}, never>> & {
|
@@ -668,7 +669,7 @@ declare const _default: {
|
|
668
669
|
}, context: any): {
|
669
670
|
render(): JSX.Element;
|
670
671
|
context: any;
|
671
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
672
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
672
673
|
width: number;
|
673
674
|
height: number;
|
674
675
|
}, never>> & {
|
@@ -676,7 +677,7 @@ declare const _default: {
|
|
676
677
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
677
678
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
678
679
|
forceUpdate(callback?: (() => void) | undefined): void;
|
679
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
680
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
680
681
|
width: number;
|
681
682
|
height: number;
|
682
683
|
}, never>> & {
|
@@ -690,7 +691,7 @@ declare const _default: {
|
|
690
691
|
[key: string]: React.ReactInstance;
|
691
692
|
};
|
692
693
|
componentDidMount?(): void;
|
693
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
694
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
694
695
|
width: number;
|
695
696
|
height: number;
|
696
697
|
}, never>> & {
|
@@ -699,14 +700,14 @@ declare const _default: {
|
|
699
700
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
700
701
|
componentWillUnmount?(): void;
|
701
702
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
702
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
703
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
703
704
|
width: number;
|
704
705
|
height: number;
|
705
706
|
}, never>> & {
|
706
707
|
locale?: string | undefined;
|
707
708
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
708
709
|
}>, prevState: Readonly<{}>): any;
|
709
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
710
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
710
711
|
width: number;
|
711
712
|
height: number;
|
712
713
|
}, never>> & {
|
@@ -715,28 +716,28 @@ declare const _default: {
|
|
715
716
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
716
717
|
componentWillMount?(): void;
|
717
718
|
UNSAFE_componentWillMount?(): void;
|
718
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
719
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
719
720
|
width: number;
|
720
721
|
height: number;
|
721
722
|
}, never>> & {
|
722
723
|
locale?: string | undefined;
|
723
724
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
724
725
|
}>, nextContext: any): void;
|
725
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
726
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
726
727
|
width: number;
|
727
728
|
height: number;
|
728
729
|
}, never>> & {
|
729
730
|
locale?: string | undefined;
|
730
731
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
731
732
|
}>, nextContext: any): void;
|
732
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
733
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
733
734
|
width: number;
|
734
735
|
height: number;
|
735
736
|
}, never>> & {
|
736
737
|
locale?: string | undefined;
|
737
738
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
738
739
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
739
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
740
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "value" | "onClick" | "placeholder"> & Partial<Pick<Omit<SparkLineProps, keyof LocaleProps>, "height" | "width">> & Partial<Pick<{
|
740
741
|
width: number;
|
741
742
|
height: number;
|
742
743
|
}, never>> & {
|