amis-ui 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +1 -0
- package/esm/components/ConfirmBox.js +11 -8
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +5 -8
- package/esm/components/DateRangePicker.js +9 -8
- package/esm/components/Drawer.js +1 -1
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +2 -0
- package/esm/components/Form.js +22 -7
- package/esm/components/FormField.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +82 -40
- package/esm/components/TabsTransfer.js +8 -6
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.js +3 -2
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check-circle.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/status-fail.svg.js +1 -1
- package/esm/icons/status-info.svg.js +1 -1
- package/esm/icons/status-success.svg.js +1 -1
- package/esm/icons/status-warning.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +1 -1
- package/esm/locale/en-US.js +1 -1
- package/esm/locale/zh-CN.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +40 -40
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +10 -10
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +40 -40
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +10 -10
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +10 -10
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +10 -10
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +40 -40
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +10 -10
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +10 -10
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +41 -40
- package/lib/components/ConfirmBox.js +11 -8
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +81 -81
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +45 -48
- package/lib/components/DateRangePicker.js +9 -8
- package/lib/components/Drawer.d.ts +10 -10
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +2 -0
- package/lib/components/Form.js +21 -6
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +40 -40
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +40 -40
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +40 -40
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +40 -40
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +10 -10
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +40 -40
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +40 -40
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +10 -10
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +10 -10
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +40 -40
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +40 -40
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +193 -193
- package/lib/components/Select.js +1 -1
- package/lib/components/Selection.d.ts +40 -40
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +10 -10
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +40 -40
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +40 -40
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +82 -40
- package/lib/components/TabsTransfer.js +8 -6
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +10 -10
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +40 -40
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +10 -10
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +49 -49
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.d.ts +40 -40
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +40 -40
- package/lib/components/Tree.js +3 -2
- package/lib/components/TreeSelection.d.ts +40 -40
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/index.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check-circle.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/status-fail.svg.js +1 -1
- package/lib/icons/status-info.svg.js +1 -1
- package/lib/icons/status-success.svg.js +1 -1
- package/lib/icons/status-warning.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +63 -44
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +34 -33
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +34 -33
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +34 -33
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +34 -33
- package/package.json +4 -4
- package/scss/_properties.scss +38 -37
- package/scss/components/_badge.scss +9 -8
- package/scss/components/_timeline.scss +1 -2
- package/scss/components/react-datetime.scss +8 -8
- package/scss/themes/_ang-variables.scss +10 -11
- package/scss/themes/ang.scss +20 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.5.
|
|
2
|
+
* amis-ui v2.5.2
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -102,10 +102,10 @@ var TabsTransfer = /** @class */ (function (_super) {
|
|
|
102
102
|
this.handleSeachCancel();
|
|
103
103
|
};
|
|
104
104
|
TabsTransfer.prototype.renderSearchResult = function (searchResult) {
|
|
105
|
-
var _a = this.props, searchResultMode = _a.searchResultMode, noResultsText = _a.noResultsText, searchResultColumns = _a.searchResultColumns, cx = _a.classnames, value = _a.value, disabled = _a.disabled, onChange = _a.onChange, option2value = _a.option2value, cellRender = _a.cellRender, optionItemRender = _a.optionItemRender, itemHeight = _a.itemHeight, virtualThreshold = _a.virtualThreshold;
|
|
105
|
+
var _a = this.props, searchResultMode = _a.searchResultMode, noResultsText = _a.noResultsText, searchResultColumns = _a.searchResultColumns, cx = _a.classnames, value = _a.value, disabled = _a.disabled, onChange = _a.onChange, option2value = _a.option2value, cellRender = _a.cellRender, optionItemRender = _a.optionItemRender, itemHeight = _a.itemHeight, virtualThreshold = _a.virtualThreshold, onlyChildren = _a.onlyChildren;
|
|
106
106
|
var options = searchResult || [];
|
|
107
107
|
var mode = searchResultMode;
|
|
108
|
-
return mode === 'table' ? (React__default["default"].createElement(TableSelection["default"], { placeholder: noResultsText, className: cx('Transfer-checkboxes'), columns: searchResultColumns, options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, cellRender: cellRender, itemHeight: itemHeight, virtualThreshold: virtualThreshold })) : mode === 'tree' ? (React__default["default"].createElement(Tree["default"], { placeholder: noResultsText, className: cx('Transfer-checkboxes'), options: options, value: value, disabled: disabled, onChange: onChange, joinValues: false, showIcon: false, multiple: true, cascade: true, itemRender: optionItemRender
|
|
108
|
+
return mode === 'table' ? (React__default["default"].createElement(TableSelection["default"], { placeholder: noResultsText, className: cx('Transfer-checkboxes'), columns: searchResultColumns, options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, cellRender: cellRender, itemHeight: itemHeight, virtualThreshold: virtualThreshold })) : mode === 'tree' ? (React__default["default"].createElement(Tree["default"], { placeholder: noResultsText, className: cx('Transfer-checkboxes'), options: options, value: value, disabled: disabled, onChange: onChange, joinValues: false, onlyChildren: onlyChildren, showIcon: false, multiple: true, cascade: true, itemRender: optionItemRender
|
|
109
109
|
? function (item, states) {
|
|
110
110
|
return optionItemRender(item, states, {
|
|
111
111
|
panel: 'result'
|
|
@@ -141,8 +141,9 @@ var TabsTransfer = /** @class */ (function (_super) {
|
|
|
141
141
|
: _this.renderOptions(option))); })));
|
|
142
142
|
};
|
|
143
143
|
TabsTransfer.prototype.renderOptions = function (option) {
|
|
144
|
-
var _a
|
|
145
|
-
|
|
144
|
+
var _a;
|
|
145
|
+
var _b = this.props, cx = _b.classnames, value = _b.value, disabled = _b.disabled, multiple = _b.multiple, onChange = _b.onChange, option2value = _b.option2value, onDeferLoad = _b.onDeferLoad, onLeftDeferLoad = _b.onLeftDeferLoad, cellRender = _b.cellRender; _b.translate; var optionItemRender = _b.optionItemRender, itemHeight = _b.itemHeight, virtualThreshold = _b.virtualThreshold, onlyChildren = _b.onlyChildren;
|
|
146
|
+
return option.selectMode === 'table' ? (React__default["default"].createElement(TableSelection["default"], { className: cx('Transfer-checkboxes'), columns: option.columns, options: option.children || [], value: value, multiple: multiple, disabled: disabled, onChange: onChange, option2value: option2value, onDeferLoad: onDeferLoad, cellRender: cellRender, itemHeight: itemHeight, virtualThreshold: virtualThreshold })) : option.selectMode === 'tree' ? (React__default["default"].createElement(Tree["default"], { className: cx('Transfer-checkboxes'), options: option.children || [], value: value, multiple: multiple, disabled: disabled, onChange: onChange, joinValues: false, showIcon: false, onlyChildren: (_a = option.onlyChildren) !== null && _a !== void 0 ? _a : onlyChildren, cascade: true, onDeferLoad: onDeferLoad, itemRender: optionItemRender
|
|
146
147
|
? function (item, states) {
|
|
147
148
|
return optionItemRender(item, states, {
|
|
148
149
|
panel: 'tab',
|
|
@@ -177,7 +178,8 @@ var TabsTransfer = /** @class */ (function (_super) {
|
|
|
177
178
|
return (React__default["default"].createElement(Transfer["default"], tslib.__assign({}, reset, { statistics: false, classnames: cx, className: cx('TabsTransfer', className), selectRender: this.renderSelect })));
|
|
178
179
|
};
|
|
179
180
|
TabsTransfer.defaultProps = {
|
|
180
|
-
multiple: true
|
|
181
|
+
multiple: true,
|
|
182
|
+
onlyChildren: true
|
|
181
183
|
};
|
|
182
184
|
tslib.__decorate([
|
|
183
185
|
amisCore.autobind,
|
package/lib/components/Tag.d.ts
CHANGED
|
@@ -69,15 +69,15 @@ export declare const CheckableTag: {
|
|
|
69
69
|
ComposedComponent: typeof CheckableTagComp;
|
|
70
70
|
};
|
|
71
71
|
declare const _default: {
|
|
72
|
-
new (props: Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
72
|
+
new (props: Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps): {
|
|
73
73
|
ref: any;
|
|
74
74
|
childRef(ref: any): void;
|
|
75
75
|
getWrappedInstance(): any;
|
|
76
76
|
render(): JSX.Element;
|
|
77
77
|
context: any;
|
|
78
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
78
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
79
79
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
80
|
-
readonly props: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
80
|
+
readonly props: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
81
81
|
children?: React.ReactNode;
|
|
82
82
|
}>;
|
|
83
83
|
state: Readonly<{}>;
|
|
@@ -85,17 +85,17 @@ declare const _default: {
|
|
|
85
85
|
[key: string]: React.ReactInstance;
|
|
86
86
|
};
|
|
87
87
|
componentDidMount?(): void;
|
|
88
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
88
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
89
89
|
componentWillUnmount?(): void;
|
|
90
90
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
91
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
92
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
91
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
92
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
93
93
|
componentWillMount?(): void;
|
|
94
94
|
UNSAFE_componentWillMount?(): void;
|
|
95
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
96
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
97
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
98
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "
|
|
95
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
96
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
97
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
98
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TagProps, keyof ThemeProps>, never> & Partial<Pick<Omit<TagProps, keyof ThemeProps>, "label" | "style" | "disabled" | "icon" | "onClose" | "color" | "onClick" | "closable" | "displayMode" | "closeIcon">> & Partial<Pick<Partial<TagProps>, "classPrefix" | "classnames" | "className" | "theme">> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
99
99
|
};
|
|
100
100
|
displayName: string;
|
|
101
101
|
contextType: React.Context<string>;
|
package/lib/components/Tag.js
CHANGED
|
@@ -72,7 +72,7 @@ export declare class Textarea extends React.Component<TextAreaProps, TextAreaSta
|
|
|
72
72
|
render(): JSX.Element;
|
|
73
73
|
}
|
|
74
74
|
declare const _default: {
|
|
75
|
-
new (props: Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
75
|
+
new (props: Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
76
76
|
minRows: number;
|
|
77
77
|
maxRows: number;
|
|
78
78
|
trimContents: boolean;
|
|
@@ -87,7 +87,7 @@ declare const _default: {
|
|
|
87
87
|
getWrappedInstance(): any;
|
|
88
88
|
render(): JSX.Element;
|
|
89
89
|
context: any;
|
|
90
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
90
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
91
91
|
minRows: number;
|
|
92
92
|
maxRows: number;
|
|
93
93
|
trimContents: boolean;
|
|
@@ -98,7 +98,7 @@ declare const _default: {
|
|
|
98
98
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
99
99
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
100
100
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
101
|
-
readonly props: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
101
|
+
readonly props: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
102
102
|
minRows: number;
|
|
103
103
|
maxRows: number;
|
|
104
104
|
trimContents: boolean;
|
|
@@ -115,7 +115,7 @@ declare const _default: {
|
|
|
115
115
|
[key: string]: React.ReactInstance;
|
|
116
116
|
};
|
|
117
117
|
componentDidMount?(): void;
|
|
118
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
118
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
119
119
|
minRows: number;
|
|
120
120
|
maxRows: number;
|
|
121
121
|
trimContents: boolean;
|
|
@@ -127,7 +127,7 @@ declare const _default: {
|
|
|
127
127
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
128
128
|
componentWillUnmount?(): void;
|
|
129
129
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
130
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
130
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
131
131
|
minRows: number;
|
|
132
132
|
maxRows: number;
|
|
133
133
|
trimContents: boolean;
|
|
@@ -137,7 +137,7 @@ declare const _default: {
|
|
|
137
137
|
locale?: string | undefined;
|
|
138
138
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
139
139
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
140
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
140
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
141
141
|
minRows: number;
|
|
142
142
|
maxRows: number;
|
|
143
143
|
trimContents: boolean;
|
|
@@ -149,7 +149,7 @@ declare const _default: {
|
|
|
149
149
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
150
150
|
componentWillMount?(): void;
|
|
151
151
|
UNSAFE_componentWillMount?(): void;
|
|
152
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
152
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
153
153
|
minRows: number;
|
|
154
154
|
maxRows: number;
|
|
155
155
|
trimContents: boolean;
|
|
@@ -159,7 +159,7 @@ declare const _default: {
|
|
|
159
159
|
locale?: string | undefined;
|
|
160
160
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
161
161
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
162
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
162
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
163
163
|
minRows: number;
|
|
164
164
|
maxRows: number;
|
|
165
165
|
trimContents: boolean;
|
|
@@ -169,7 +169,7 @@ declare const _default: {
|
|
|
169
169
|
locale?: string | undefined;
|
|
170
170
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
171
171
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
172
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
172
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
173
173
|
minRows: number;
|
|
174
174
|
maxRows: number;
|
|
175
175
|
trimContents: boolean;
|
|
@@ -179,7 +179,7 @@ declare const _default: {
|
|
|
179
179
|
locale?: string | undefined;
|
|
180
180
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
181
181
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
182
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
182
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
183
183
|
minRows: number;
|
|
184
184
|
maxRows: number;
|
|
185
185
|
trimContents: boolean;
|
|
@@ -193,7 +193,7 @@ declare const _default: {
|
|
|
193
193
|
displayName: string;
|
|
194
194
|
contextType: React.Context<string>;
|
|
195
195
|
ComposedComponent: React.ComponentType<{
|
|
196
|
-
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
196
|
+
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
197
197
|
minRows: number;
|
|
198
198
|
maxRows: number;
|
|
199
199
|
trimContents: boolean;
|
|
@@ -208,7 +208,7 @@ declare const _default: {
|
|
|
208
208
|
getWrappedInstance(): any;
|
|
209
209
|
render(): JSX.Element;
|
|
210
210
|
context: any;
|
|
211
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
211
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
212
212
|
minRows: number;
|
|
213
213
|
maxRows: number;
|
|
214
214
|
trimContents: boolean;
|
|
@@ -219,7 +219,7 @@ declare const _default: {
|
|
|
219
219
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
220
220
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
221
221
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
222
|
-
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
222
|
+
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
223
223
|
minRows: number;
|
|
224
224
|
maxRows: number;
|
|
225
225
|
trimContents: boolean;
|
|
@@ -236,7 +236,7 @@ declare const _default: {
|
|
|
236
236
|
[key: string]: React.ReactInstance;
|
|
237
237
|
};
|
|
238
238
|
componentDidMount?(): void;
|
|
239
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
239
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
240
240
|
minRows: number;
|
|
241
241
|
maxRows: number;
|
|
242
242
|
trimContents: boolean;
|
|
@@ -248,7 +248,7 @@ declare const _default: {
|
|
|
248
248
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
249
249
|
componentWillUnmount?(): void;
|
|
250
250
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
251
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
251
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
252
252
|
minRows: number;
|
|
253
253
|
maxRows: number;
|
|
254
254
|
trimContents: boolean;
|
|
@@ -258,7 +258,7 @@ declare const _default: {
|
|
|
258
258
|
locale?: string | undefined;
|
|
259
259
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
260
260
|
}>, prevState: Readonly<{}>): any;
|
|
261
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
261
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
262
262
|
minRows: number;
|
|
263
263
|
maxRows: number;
|
|
264
264
|
trimContents: boolean;
|
|
@@ -270,7 +270,7 @@ declare const _default: {
|
|
|
270
270
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
271
271
|
componentWillMount?(): void;
|
|
272
272
|
UNSAFE_componentWillMount?(): void;
|
|
273
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
273
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
274
274
|
minRows: number;
|
|
275
275
|
maxRows: number;
|
|
276
276
|
trimContents: boolean;
|
|
@@ -280,7 +280,7 @@ declare const _default: {
|
|
|
280
280
|
locale?: string | undefined;
|
|
281
281
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
282
282
|
}>, nextContext: any): void;
|
|
283
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
283
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
284
284
|
minRows: number;
|
|
285
285
|
maxRows: number;
|
|
286
286
|
trimContents: boolean;
|
|
@@ -290,7 +290,7 @@ declare const _default: {
|
|
|
290
290
|
locale?: string | undefined;
|
|
291
291
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
292
292
|
}>, nextContext: any): void;
|
|
293
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
293
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
294
294
|
minRows: number;
|
|
295
295
|
maxRows: number;
|
|
296
296
|
trimContents: boolean;
|
|
@@ -300,7 +300,7 @@ declare const _default: {
|
|
|
300
300
|
locale?: string | undefined;
|
|
301
301
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
302
302
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
303
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
303
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
304
304
|
minRows: number;
|
|
305
305
|
maxRows: number;
|
|
306
306
|
trimContents: boolean;
|
|
@@ -318,7 +318,7 @@ declare const _default: {
|
|
|
318
318
|
ComposedComponent: typeof Textarea;
|
|
319
319
|
}>;
|
|
320
320
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
321
|
-
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
321
|
+
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
322
322
|
minRows: number;
|
|
323
323
|
maxRows: number;
|
|
324
324
|
trimContents: boolean;
|
|
@@ -333,7 +333,7 @@ declare const _default: {
|
|
|
333
333
|
getWrappedInstance(): any;
|
|
334
334
|
render(): JSX.Element;
|
|
335
335
|
context: any;
|
|
336
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
336
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
337
337
|
minRows: number;
|
|
338
338
|
maxRows: number;
|
|
339
339
|
trimContents: boolean;
|
|
@@ -344,7 +344,7 @@ declare const _default: {
|
|
|
344
344
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
345
345
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
346
346
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
347
|
-
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
347
|
+
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
348
348
|
minRows: number;
|
|
349
349
|
maxRows: number;
|
|
350
350
|
trimContents: boolean;
|
|
@@ -361,7 +361,7 @@ declare const _default: {
|
|
|
361
361
|
[key: string]: React.ReactInstance;
|
|
362
362
|
};
|
|
363
363
|
componentDidMount?(): void;
|
|
364
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
364
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
365
365
|
minRows: number;
|
|
366
366
|
maxRows: number;
|
|
367
367
|
trimContents: boolean;
|
|
@@ -373,7 +373,7 @@ declare const _default: {
|
|
|
373
373
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
374
374
|
componentWillUnmount?(): void;
|
|
375
375
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
376
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
376
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
377
377
|
minRows: number;
|
|
378
378
|
maxRows: number;
|
|
379
379
|
trimContents: boolean;
|
|
@@ -383,7 +383,7 @@ declare const _default: {
|
|
|
383
383
|
locale?: string | undefined;
|
|
384
384
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
385
385
|
}>, prevState: Readonly<{}>): any;
|
|
386
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
386
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
387
387
|
minRows: number;
|
|
388
388
|
maxRows: number;
|
|
389
389
|
trimContents: boolean;
|
|
@@ -395,7 +395,7 @@ declare const _default: {
|
|
|
395
395
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
396
396
|
componentWillMount?(): void;
|
|
397
397
|
UNSAFE_componentWillMount?(): void;
|
|
398
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
398
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
399
399
|
minRows: number;
|
|
400
400
|
maxRows: number;
|
|
401
401
|
trimContents: boolean;
|
|
@@ -405,7 +405,7 @@ declare const _default: {
|
|
|
405
405
|
locale?: string | undefined;
|
|
406
406
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
407
407
|
}>, nextContext: any): void;
|
|
408
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
408
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
409
409
|
minRows: number;
|
|
410
410
|
maxRows: number;
|
|
411
411
|
trimContents: boolean;
|
|
@@ -415,7 +415,7 @@ declare const _default: {
|
|
|
415
415
|
locale?: string | undefined;
|
|
416
416
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
417
417
|
}>, nextContext: any): void;
|
|
418
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
418
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
419
419
|
minRows: number;
|
|
420
420
|
maxRows: number;
|
|
421
421
|
trimContents: boolean;
|
|
@@ -425,7 +425,7 @@ declare const _default: {
|
|
|
425
425
|
locale?: string | undefined;
|
|
426
426
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
427
427
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
428
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
428
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
429
429
|
minRows: number;
|
|
430
430
|
maxRows: number;
|
|
431
431
|
trimContents: boolean;
|
|
@@ -443,7 +443,7 @@ declare const _default: {
|
|
|
443
443
|
ComposedComponent: typeof Textarea;
|
|
444
444
|
}, {}> & {
|
|
445
445
|
ComposedComponent: {
|
|
446
|
-
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
446
|
+
new (props: Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
447
447
|
minRows: number;
|
|
448
448
|
maxRows: number;
|
|
449
449
|
trimContents: boolean;
|
|
@@ -458,7 +458,7 @@ declare const _default: {
|
|
|
458
458
|
getWrappedInstance(): any;
|
|
459
459
|
render(): JSX.Element;
|
|
460
460
|
context: any;
|
|
461
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
461
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
462
462
|
minRows: number;
|
|
463
463
|
maxRows: number;
|
|
464
464
|
trimContents: boolean;
|
|
@@ -469,7 +469,7 @@ declare const _default: {
|
|
|
469
469
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
470
470
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
471
471
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
472
|
-
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
472
|
+
readonly props: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
473
473
|
minRows: number;
|
|
474
474
|
maxRows: number;
|
|
475
475
|
trimContents: boolean;
|
|
@@ -486,7 +486,7 @@ declare const _default: {
|
|
|
486
486
|
[key: string]: React.ReactInstance;
|
|
487
487
|
};
|
|
488
488
|
componentDidMount?(): void;
|
|
489
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
489
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
490
490
|
minRows: number;
|
|
491
491
|
maxRows: number;
|
|
492
492
|
trimContents: boolean;
|
|
@@ -498,7 +498,7 @@ declare const _default: {
|
|
|
498
498
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
499
499
|
componentWillUnmount?(): void;
|
|
500
500
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
501
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
501
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
502
502
|
minRows: number;
|
|
503
503
|
maxRows: number;
|
|
504
504
|
trimContents: boolean;
|
|
@@ -508,7 +508,7 @@ declare const _default: {
|
|
|
508
508
|
locale?: string | undefined;
|
|
509
509
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
510
510
|
}>, prevState: Readonly<{}>): any;
|
|
511
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
511
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
512
512
|
minRows: number;
|
|
513
513
|
maxRows: number;
|
|
514
514
|
trimContents: boolean;
|
|
@@ -520,7 +520,7 @@ declare const _default: {
|
|
|
520
520
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
521
521
|
componentWillMount?(): void;
|
|
522
522
|
UNSAFE_componentWillMount?(): void;
|
|
523
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
523
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
524
524
|
minRows: number;
|
|
525
525
|
maxRows: number;
|
|
526
526
|
trimContents: boolean;
|
|
@@ -530,7 +530,7 @@ declare const _default: {
|
|
|
530
530
|
locale?: string | undefined;
|
|
531
531
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
532
532
|
}>, nextContext: any): void;
|
|
533
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
533
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
534
534
|
minRows: number;
|
|
535
535
|
maxRows: number;
|
|
536
536
|
trimContents: boolean;
|
|
@@ -540,7 +540,7 @@ declare const _default: {
|
|
|
540
540
|
locale?: string | undefined;
|
|
541
541
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
542
542
|
}>, nextContext: any): void;
|
|
543
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
543
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
544
544
|
minRows: number;
|
|
545
545
|
maxRows: number;
|
|
546
546
|
trimContents: boolean;
|
|
@@ -550,7 +550,7 @@ declare const _default: {
|
|
|
550
550
|
locale?: string | undefined;
|
|
551
551
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
552
552
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
553
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "
|
|
553
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TextAreaProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "name" | "disabled" | "value" | "maxLength" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "readOnly" | "borderMode" | "showCounter" | "forwardRef"> & Partial<Pick<Omit<TextAreaProps, keyof LocaleProps>, "clearable" | "resetValue" | "maxRows" | "minRows" | "trimContents">> & Partial<Pick<{
|
|
554
554
|
minRows: number;
|
|
555
555
|
maxRows: number;
|
|
556
556
|
trimContents: boolean;
|