amis-ui 3.4.2 → 3.4.3
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.d.ts +1 -0
- package/esm/components/Alert.js +4 -2
- 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/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.js +5 -3
- 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 +2 -2
- 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.js +1 -1
- package/esm/components/ContextMenu.d.ts +1 -0
- package/esm/components/ContextMenu.js +4 -2
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.js +3 -2
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +7 -4
- 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 +3 -2
- 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.d.ts +10 -10
- 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 +6 -11
- 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.d.ts +2 -1
- package/esm/components/ResultList.js +12 -3
- 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/SelectMobile.js +7 -4
- package/esm/components/Selection.d.ts +2 -1
- package/esm/components/Selection.js +11 -4
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +8 -4
- 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.js +1 -1
- 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 +5 -5
- 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 +3 -2
- 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/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/Input.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +7 -6
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +17 -17
- 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/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/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 +3 -3
- package/esm/components/table/ColGroup.d.ts +19 -0
- package/esm/components/table/ColGroup.js +52 -0
- 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.d.ts +56 -3
- package/esm/components/table/index.js +149 -89
- 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.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/if.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/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 +41 -40
- package/lib/components/Alert.js +4 -2
- package/lib/components/Alert2.d.ts +10 -10
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +20 -20
- 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 +80 -80
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +70 -70
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +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 +30 -30
- 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 +100 -100
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +5 -3
- 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 +120 -120
- package/lib/components/Collapse.js +2 -2
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +80 -80
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +80 -80
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +1 -0
- package/lib/components/ContextMenu.js +4 -2
- package/lib/components/DatePicker.d.ts +81 -81
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +120 -120
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +3 -2
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +7 -4
- 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 +3 -2
- 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 +80 -80
- 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 +80 -80
- package/lib/components/Modal.js +6 -11
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +120 -120
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +20 -20
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +80 -80
- 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 +120 -120
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +50 -50
- 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 +80 -80
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +42 -41
- package/lib/components/ResultList.js +12 -3
- package/lib/components/ResultTableList.d.ts +80 -80
- 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 +80 -80
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1160 -1160
- package/lib/components/Select.js +1 -1
- package/lib/components/SelectMobile.js +7 -4
- package/lib/components/Selection.d.ts +82 -81
- package/lib/components/Selection.js +11 -4
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +50 -50
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +8 -4
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +80 -80
- 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 +40 -40
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +60 -60
- 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.d.ts +10 -10
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +80 -80
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +30 -30
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +169 -169
- package/lib/components/Transfer.js +5 -5
- package/lib/components/TransferDropDown.d.ts +160 -160
- 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 +160 -160
- package/lib/components/Tree.js +3 -2
- package/lib/components/TreeSelection.d.ts +80 -80
- package/lib/components/TreeSelection.js +3 -2
- 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/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.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/Input.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 +7 -6
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +17 -17
- 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/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +60 -60
- package/lib/components/menu/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 +3 -3
- package/lib/components/table/ColGroup.d.ts +19 -0
- package/lib/components/table/ColGroup.js +64 -0
- 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 +136 -83
- package/lib/components/table/index.js +149 -88
- 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.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/if.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/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 +187 -127
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +187 -127
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +187 -127
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +187 -127
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +187 -127
- package/package.json +4 -4
- package/scss/_components.scss +9 -2
- package/scss/components/_collapse.scss +31 -1
- package/scss/components/_divider.scss +37 -2
- package/scss/components/_formula.scss +2 -1
- package/scss/components/_menu.scss +6 -3
- package/scss/components/_modal.scss +5 -5
- package/scss/components/_table.scss +7 -1
- package/scss/components/_table2.scss +4 -15
- package/scss/components/form/_combo.scss +9 -2
- package/scss/components/form/_icon-select.scss +0 -1
- package/scss/components/form/_result-list.scss +1 -0
- package/scss/components/form/_selection.scss +7 -0
- package/scss/components/form/_textarea.scss +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.4.
|
|
2
|
+
* amis-ui v3.4.3
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -29,9 +29,15 @@ var BaseSelection = /** @class */ (function (_super) {
|
|
|
29
29
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
30
30
|
}
|
|
31
31
|
BaseSelection.itemRender = function (option, states) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
var label = option[(states === null || states === void 0 ? void 0 : states.labelField) || 'label'];
|
|
33
|
+
var tip = option.tip || '';
|
|
34
|
+
var classnames = states.classnames;
|
|
35
|
+
var canlabelTitle = typeof label === 'string' || typeof label === 'number';
|
|
36
|
+
var canTipTitle = typeof tip === 'string' || typeof label === 'number';
|
|
37
|
+
var title = canlabelTitle && canTipTitle ? "".concat(label, " ").concat(tip) : '';
|
|
38
|
+
return (_J$X_("span", { title: title, className: "".concat(cx__default["default"]({ 'is-invalid': option === null || option === void 0 ? void 0 : option.__unmatched }), " ").concat(classnames('Selection-ellipsis-line')) },
|
|
39
|
+
label,
|
|
40
|
+
tip));
|
|
35
41
|
};
|
|
36
42
|
BaseSelection.value2array = function (value, options, option2value, valueField) {
|
|
37
43
|
if (option2value === void 0) { option2value = function (option) { return option; }; }
|
|
@@ -128,6 +134,7 @@ var BaseSelection = /** @class */ (function (_super) {
|
|
|
128
134
|
checked: !!~valueArray.indexOf(option),
|
|
129
135
|
onChange: function () { return _this.toggleOption(option); },
|
|
130
136
|
labelField: labelField,
|
|
137
|
+
classnames: cx,
|
|
131
138
|
disabled: disabled || option.disabled
|
|
132
139
|
}))); });
|
|
133
140
|
}
|
|
@@ -24,7 +24,7 @@ export declare class SparkLine extends React.Component<SparkLineProps> {
|
|
|
24
24
|
render(): React.JSX.Element;
|
|
25
25
|
}
|
|
26
26
|
declare const _default: {
|
|
27
|
-
new (props: Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
27
|
+
new (props: Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
28
28
|
width?: number | undefined;
|
|
29
29
|
height?: number | undefined;
|
|
30
30
|
} & {} & {
|
|
@@ -36,7 +36,7 @@ declare const _default: {
|
|
|
36
36
|
getWrappedInstance(): any;
|
|
37
37
|
render(): React.JSX.Element;
|
|
38
38
|
context: unknown;
|
|
39
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
39
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
40
40
|
width?: number | undefined;
|
|
41
41
|
height?: number | undefined;
|
|
42
42
|
} & {} & {
|
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
|
44
44
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
45
45
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
46
46
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
47
|
-
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
47
|
+
readonly props: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
48
48
|
width?: number | undefined;
|
|
49
49
|
height?: number | undefined;
|
|
50
50
|
} & {} & {
|
|
@@ -56,7 +56,7 @@ declare const _default: {
|
|
|
56
56
|
[key: string]: React.ReactInstance;
|
|
57
57
|
};
|
|
58
58
|
componentDidMount?(): void;
|
|
59
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
59
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
60
60
|
width?: number | undefined;
|
|
61
61
|
height?: number | undefined;
|
|
62
62
|
} & {} & {
|
|
@@ -65,14 +65,14 @@ declare const _default: {
|
|
|
65
65
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
66
66
|
componentWillUnmount?(): void;
|
|
67
67
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
68
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
68
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
69
69
|
width?: number | undefined;
|
|
70
70
|
height?: number | undefined;
|
|
71
71
|
} & {} & {
|
|
72
72
|
locale?: string | undefined;
|
|
73
73
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
74
74
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
75
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
75
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
76
76
|
width?: number | undefined;
|
|
77
77
|
height?: number | undefined;
|
|
78
78
|
} & {} & {
|
|
@@ -81,28 +81,28 @@ declare const _default: {
|
|
|
81
81
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
82
82
|
componentWillMount?(): void;
|
|
83
83
|
UNSAFE_componentWillMount?(): void;
|
|
84
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
84
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
85
85
|
width?: number | undefined;
|
|
86
86
|
height?: number | undefined;
|
|
87
87
|
} & {} & {
|
|
88
88
|
locale?: string | undefined;
|
|
89
89
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
90
90
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
91
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
91
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
92
92
|
width?: number | undefined;
|
|
93
93
|
height?: number | undefined;
|
|
94
94
|
} & {} & {
|
|
95
95
|
locale?: string | undefined;
|
|
96
96
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
97
97
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
98
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
98
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
99
99
|
width?: number | undefined;
|
|
100
100
|
height?: number | undefined;
|
|
101
101
|
} & {} & {
|
|
102
102
|
locale?: string | undefined;
|
|
103
103
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
104
104
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
105
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
105
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
106
106
|
width?: number | undefined;
|
|
107
107
|
height?: number | undefined;
|
|
108
108
|
} & {} & {
|
|
@@ -113,7 +113,7 @@ declare const _default: {
|
|
|
113
113
|
displayName: string;
|
|
114
114
|
contextType: React.Context<string>;
|
|
115
115
|
ComposedComponent: React.ComponentType<{
|
|
116
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
116
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
117
117
|
width?: number | undefined;
|
|
118
118
|
height?: number | undefined;
|
|
119
119
|
} & {} & {
|
|
@@ -125,7 +125,7 @@ declare const _default: {
|
|
|
125
125
|
getWrappedInstance(): any;
|
|
126
126
|
render(): React.JSX.Element;
|
|
127
127
|
context: unknown;
|
|
128
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
128
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
129
129
|
width?: number | undefined;
|
|
130
130
|
height?: number | undefined;
|
|
131
131
|
} & {} & {
|
|
@@ -133,7 +133,7 @@ declare const _default: {
|
|
|
133
133
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
134
134
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
135
135
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
136
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
136
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
137
137
|
width?: number | undefined;
|
|
138
138
|
height?: number | undefined;
|
|
139
139
|
} & {} & {
|
|
@@ -145,7 +145,7 @@ declare const _default: {
|
|
|
145
145
|
[key: string]: React.ReactInstance;
|
|
146
146
|
};
|
|
147
147
|
componentDidMount?(): void;
|
|
148
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
148
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
149
149
|
width?: number | undefined;
|
|
150
150
|
height?: number | undefined;
|
|
151
151
|
} & {} & {
|
|
@@ -154,14 +154,14 @@ declare const _default: {
|
|
|
154
154
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
155
155
|
componentWillUnmount?(): void;
|
|
156
156
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
157
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
157
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
158
158
|
width?: number | undefined;
|
|
159
159
|
height?: number | undefined;
|
|
160
160
|
} & {} & {
|
|
161
161
|
locale?: string | undefined;
|
|
162
162
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
163
163
|
}>, prevState: Readonly<{}>): any;
|
|
164
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
164
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
165
165
|
width?: number | undefined;
|
|
166
166
|
height?: number | undefined;
|
|
167
167
|
} & {} & {
|
|
@@ -170,28 +170,28 @@ declare const _default: {
|
|
|
170
170
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
171
171
|
componentWillMount?(): void;
|
|
172
172
|
UNSAFE_componentWillMount?(): void;
|
|
173
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
173
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
174
174
|
width?: number | undefined;
|
|
175
175
|
height?: number | undefined;
|
|
176
176
|
} & {} & {
|
|
177
177
|
locale?: string | undefined;
|
|
178
178
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
179
179
|
}>, nextContext: any): void;
|
|
180
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
180
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
181
181
|
width?: number | undefined;
|
|
182
182
|
height?: number | undefined;
|
|
183
183
|
} & {} & {
|
|
184
184
|
locale?: string | undefined;
|
|
185
185
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
186
186
|
}>, nextContext: any): void;
|
|
187
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
187
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
188
188
|
width?: number | undefined;
|
|
189
189
|
height?: number | undefined;
|
|
190
190
|
} & {} & {
|
|
191
191
|
locale?: string | undefined;
|
|
192
192
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
193
193
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
194
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
194
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
195
195
|
width?: number | undefined;
|
|
196
196
|
height?: number | undefined;
|
|
197
197
|
} & {} & {
|
|
@@ -206,7 +206,7 @@ declare const _default: {
|
|
|
206
206
|
ComposedComponent: typeof SparkLine;
|
|
207
207
|
}>;
|
|
208
208
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
209
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
209
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
210
210
|
width?: number | undefined;
|
|
211
211
|
height?: number | undefined;
|
|
212
212
|
} & {} & {
|
|
@@ -218,7 +218,7 @@ declare const _default: {
|
|
|
218
218
|
getWrappedInstance(): any;
|
|
219
219
|
render(): React.JSX.Element;
|
|
220
220
|
context: unknown;
|
|
221
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
221
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
222
222
|
width?: number | undefined;
|
|
223
223
|
height?: number | undefined;
|
|
224
224
|
} & {} & {
|
|
@@ -226,7 +226,7 @@ declare const _default: {
|
|
|
226
226
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
227
227
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
228
228
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
229
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
229
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
230
230
|
width?: number | undefined;
|
|
231
231
|
height?: number | undefined;
|
|
232
232
|
} & {} & {
|
|
@@ -238,7 +238,7 @@ declare const _default: {
|
|
|
238
238
|
[key: string]: React.ReactInstance;
|
|
239
239
|
};
|
|
240
240
|
componentDidMount?(): void;
|
|
241
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
241
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
242
242
|
width?: number | undefined;
|
|
243
243
|
height?: number | undefined;
|
|
244
244
|
} & {} & {
|
|
@@ -247,14 +247,14 @@ declare const _default: {
|
|
|
247
247
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
248
248
|
componentWillUnmount?(): void;
|
|
249
249
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
250
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
250
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
251
251
|
width?: number | undefined;
|
|
252
252
|
height?: number | undefined;
|
|
253
253
|
} & {} & {
|
|
254
254
|
locale?: string | undefined;
|
|
255
255
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
256
256
|
}>, prevState: Readonly<{}>): any;
|
|
257
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
257
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
258
258
|
width?: number | undefined;
|
|
259
259
|
height?: number | undefined;
|
|
260
260
|
} & {} & {
|
|
@@ -263,28 +263,28 @@ declare const _default: {
|
|
|
263
263
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
264
264
|
componentWillMount?(): void;
|
|
265
265
|
UNSAFE_componentWillMount?(): void;
|
|
266
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
266
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
267
267
|
width?: number | undefined;
|
|
268
268
|
height?: number | undefined;
|
|
269
269
|
} & {} & {
|
|
270
270
|
locale?: string | undefined;
|
|
271
271
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
272
272
|
}>, nextContext: any): void;
|
|
273
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
273
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
274
274
|
width?: number | undefined;
|
|
275
275
|
height?: number | undefined;
|
|
276
276
|
} & {} & {
|
|
277
277
|
locale?: string | undefined;
|
|
278
278
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
279
279
|
}>, nextContext: any): void;
|
|
280
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
280
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
281
281
|
width?: number | undefined;
|
|
282
282
|
height?: number | undefined;
|
|
283
283
|
} & {} & {
|
|
284
284
|
locale?: string | undefined;
|
|
285
285
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
286
286
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
287
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
287
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
288
288
|
width?: number | undefined;
|
|
289
289
|
height?: number | undefined;
|
|
290
290
|
} & {} & {
|
|
@@ -299,7 +299,7 @@ declare const _default: {
|
|
|
299
299
|
ComposedComponent: typeof SparkLine;
|
|
300
300
|
}, {}> & {
|
|
301
301
|
ComposedComponent: {
|
|
302
|
-
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
302
|
+
new (props: Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
303
303
|
width?: number | undefined;
|
|
304
304
|
height?: number | undefined;
|
|
305
305
|
} & {} & {
|
|
@@ -311,7 +311,7 @@ declare const _default: {
|
|
|
311
311
|
getWrappedInstance(): any;
|
|
312
312
|
render(): React.JSX.Element;
|
|
313
313
|
context: unknown;
|
|
314
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
314
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
315
315
|
width?: number | undefined;
|
|
316
316
|
height?: number | undefined;
|
|
317
317
|
} & {} & {
|
|
@@ -319,7 +319,7 @@ declare const _default: {
|
|
|
319
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
320
320
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
321
321
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
322
|
-
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
322
|
+
readonly props: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
323
323
|
width?: number | undefined;
|
|
324
324
|
height?: number | undefined;
|
|
325
325
|
} & {} & {
|
|
@@ -331,7 +331,7 @@ declare const _default: {
|
|
|
331
331
|
[key: string]: React.ReactInstance;
|
|
332
332
|
};
|
|
333
333
|
componentDidMount?(): void;
|
|
334
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
334
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
335
335
|
width?: number | undefined;
|
|
336
336
|
height?: number | undefined;
|
|
337
337
|
} & {} & {
|
|
@@ -340,14 +340,14 @@ declare const _default: {
|
|
|
340
340
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
341
341
|
componentWillUnmount?(): void;
|
|
342
342
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
343
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
343
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
344
344
|
width?: number | undefined;
|
|
345
345
|
height?: number | undefined;
|
|
346
346
|
} & {} & {
|
|
347
347
|
locale?: string | undefined;
|
|
348
348
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
349
349
|
}>, prevState: Readonly<{}>): any;
|
|
350
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
350
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
351
351
|
width?: number | undefined;
|
|
352
352
|
height?: number | undefined;
|
|
353
353
|
} & {} & {
|
|
@@ -356,28 +356,28 @@ declare const _default: {
|
|
|
356
356
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
357
357
|
componentWillMount?(): void;
|
|
358
358
|
UNSAFE_componentWillMount?(): void;
|
|
359
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
359
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
360
360
|
width?: number | undefined;
|
|
361
361
|
height?: number | undefined;
|
|
362
362
|
} & {} & {
|
|
363
363
|
locale?: string | undefined;
|
|
364
364
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
365
365
|
}>, nextContext: any): void;
|
|
366
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
366
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
367
367
|
width?: number | undefined;
|
|
368
368
|
height?: number | undefined;
|
|
369
369
|
} & {} & {
|
|
370
370
|
locale?: string | undefined;
|
|
371
371
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
372
372
|
}>, nextContext: any): void;
|
|
373
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
373
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
374
374
|
width?: number | undefined;
|
|
375
375
|
height?: number | undefined;
|
|
376
376
|
} & {} & {
|
|
377
377
|
locale?: string | undefined;
|
|
378
378
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
379
379
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
380
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "
|
|
380
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SparkLineProps, keyof LocaleProps>, "style" | "className" | "classPrefix" | "onClick" | "value" | "classnames" | "theme" | "mobileUI" | "placeholder"> & {
|
|
381
381
|
width?: number | undefined;
|
|
382
382
|
height?: number | undefined;
|
|
383
383
|
} & {} & {
|
|
@@ -69,16 +69,16 @@ declare const _default: {
|
|
|
69
69
|
new (props: Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
70
70
|
icon?: React.ReactNode;
|
|
71
71
|
size?: "" | "sm" | "lg" | undefined;
|
|
72
|
-
overlay?: boolean | undefined;
|
|
73
72
|
show?: boolean | undefined;
|
|
74
|
-
|
|
75
|
-
spinnerClassName?: string | undefined;
|
|
76
|
-
tip?: string | undefined;
|
|
77
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
73
|
+
overlay?: boolean | undefined;
|
|
78
74
|
loadingConfig?: {
|
|
79
75
|
root?: string | undefined;
|
|
80
76
|
show?: boolean | undefined;
|
|
81
77
|
} | undefined;
|
|
78
|
+
tip?: string | undefined;
|
|
79
|
+
spinnerClassName?: string | undefined;
|
|
80
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
81
|
+
delay?: number | undefined;
|
|
82
82
|
} & {
|
|
83
83
|
className?: string | undefined;
|
|
84
84
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
@@ -90,16 +90,16 @@ declare const _default: {
|
|
|
90
90
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
91
91
|
icon?: React.ReactNode;
|
|
92
92
|
size?: "" | "sm" | "lg" | undefined;
|
|
93
|
-
overlay?: boolean | undefined;
|
|
94
93
|
show?: boolean | undefined;
|
|
95
|
-
|
|
96
|
-
spinnerClassName?: string | undefined;
|
|
97
|
-
tip?: string | undefined;
|
|
98
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
94
|
+
overlay?: boolean | undefined;
|
|
99
95
|
loadingConfig?: {
|
|
100
96
|
root?: string | undefined;
|
|
101
97
|
show?: boolean | undefined;
|
|
102
98
|
} | undefined;
|
|
99
|
+
tip?: string | undefined;
|
|
100
|
+
spinnerClassName?: string | undefined;
|
|
101
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
102
|
+
delay?: number | undefined;
|
|
103
103
|
} & {
|
|
104
104
|
className?: string | undefined;
|
|
105
105
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
@@ -107,16 +107,16 @@ declare const _default: {
|
|
|
107
107
|
readonly props: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
108
108
|
icon?: React.ReactNode;
|
|
109
109
|
size?: "" | "sm" | "lg" | undefined;
|
|
110
|
-
overlay?: boolean | undefined;
|
|
111
110
|
show?: boolean | undefined;
|
|
112
|
-
|
|
113
|
-
spinnerClassName?: string | undefined;
|
|
114
|
-
tip?: string | undefined;
|
|
115
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
111
|
+
overlay?: boolean | undefined;
|
|
116
112
|
loadingConfig?: {
|
|
117
113
|
root?: string | undefined;
|
|
118
114
|
show?: boolean | undefined;
|
|
119
115
|
} | undefined;
|
|
116
|
+
tip?: string | undefined;
|
|
117
|
+
spinnerClassName?: string | undefined;
|
|
118
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
119
|
+
delay?: number | undefined;
|
|
120
120
|
} & {
|
|
121
121
|
className?: string | undefined;
|
|
122
122
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
@@ -128,16 +128,16 @@ declare const _default: {
|
|
|
128
128
|
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
129
129
|
icon?: React.ReactNode;
|
|
130
130
|
size?: "" | "sm" | "lg" | undefined;
|
|
131
|
-
overlay?: boolean | undefined;
|
|
132
131
|
show?: boolean | undefined;
|
|
133
|
-
|
|
134
|
-
spinnerClassName?: string | undefined;
|
|
135
|
-
tip?: string | undefined;
|
|
136
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
132
|
+
overlay?: boolean | undefined;
|
|
137
133
|
loadingConfig?: {
|
|
138
134
|
root?: string | undefined;
|
|
139
135
|
show?: boolean | undefined;
|
|
140
136
|
} | undefined;
|
|
137
|
+
tip?: string | undefined;
|
|
138
|
+
spinnerClassName?: string | undefined;
|
|
139
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
140
|
+
delay?: number | undefined;
|
|
141
141
|
} & {
|
|
142
142
|
className?: string | undefined;
|
|
143
143
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
@@ -146,32 +146,32 @@ declare const _default: {
|
|
|
146
146
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
147
147
|
icon?: React.ReactNode;
|
|
148
148
|
size?: "" | "sm" | "lg" | undefined;
|
|
149
|
-
overlay?: boolean | undefined;
|
|
150
149
|
show?: boolean | undefined;
|
|
151
|
-
|
|
152
|
-
spinnerClassName?: string | undefined;
|
|
153
|
-
tip?: string | undefined;
|
|
154
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
150
|
+
overlay?: boolean | undefined;
|
|
155
151
|
loadingConfig?: {
|
|
156
152
|
root?: string | undefined;
|
|
157
153
|
show?: boolean | undefined;
|
|
158
154
|
} | undefined;
|
|
155
|
+
tip?: string | undefined;
|
|
156
|
+
spinnerClassName?: string | undefined;
|
|
157
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
158
|
+
delay?: number | undefined;
|
|
159
159
|
} & {
|
|
160
160
|
className?: string | undefined;
|
|
161
161
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
162
162
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
163
163
|
icon?: React.ReactNode;
|
|
164
164
|
size?: "" | "sm" | "lg" | undefined;
|
|
165
|
-
overlay?: boolean | undefined;
|
|
166
165
|
show?: boolean | undefined;
|
|
167
|
-
|
|
168
|
-
spinnerClassName?: string | undefined;
|
|
169
|
-
tip?: string | undefined;
|
|
170
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
166
|
+
overlay?: boolean | undefined;
|
|
171
167
|
loadingConfig?: {
|
|
172
168
|
root?: string | undefined;
|
|
173
169
|
show?: boolean | undefined;
|
|
174
170
|
} | undefined;
|
|
171
|
+
tip?: string | undefined;
|
|
172
|
+
spinnerClassName?: string | undefined;
|
|
173
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
174
|
+
delay?: number | undefined;
|
|
175
175
|
} & {
|
|
176
176
|
className?: string | undefined;
|
|
177
177
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
@@ -180,64 +180,64 @@ declare const _default: {
|
|
|
180
180
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
181
181
|
icon?: React.ReactNode;
|
|
182
182
|
size?: "" | "sm" | "lg" | undefined;
|
|
183
|
-
overlay?: boolean | undefined;
|
|
184
183
|
show?: boolean | undefined;
|
|
185
|
-
|
|
186
|
-
spinnerClassName?: string | undefined;
|
|
187
|
-
tip?: string | undefined;
|
|
188
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
184
|
+
overlay?: boolean | undefined;
|
|
189
185
|
loadingConfig?: {
|
|
190
186
|
root?: string | undefined;
|
|
191
187
|
show?: boolean | undefined;
|
|
192
188
|
} | undefined;
|
|
189
|
+
tip?: string | undefined;
|
|
190
|
+
spinnerClassName?: string | undefined;
|
|
191
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
192
|
+
delay?: number | undefined;
|
|
193
193
|
} & {
|
|
194
194
|
className?: string | undefined;
|
|
195
195
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
196
196
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
197
197
|
icon?: React.ReactNode;
|
|
198
198
|
size?: "" | "sm" | "lg" | undefined;
|
|
199
|
-
overlay?: boolean | undefined;
|
|
200
199
|
show?: boolean | undefined;
|
|
201
|
-
|
|
202
|
-
spinnerClassName?: string | undefined;
|
|
203
|
-
tip?: string | undefined;
|
|
204
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
200
|
+
overlay?: boolean | undefined;
|
|
205
201
|
loadingConfig?: {
|
|
206
202
|
root?: string | undefined;
|
|
207
203
|
show?: boolean | undefined;
|
|
208
204
|
} | undefined;
|
|
205
|
+
tip?: string | undefined;
|
|
206
|
+
spinnerClassName?: string | undefined;
|
|
207
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
208
|
+
delay?: number | undefined;
|
|
209
209
|
} & {
|
|
210
210
|
className?: string | undefined;
|
|
211
211
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
212
212
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
213
213
|
icon?: React.ReactNode;
|
|
214
214
|
size?: "" | "sm" | "lg" | undefined;
|
|
215
|
-
overlay?: boolean | undefined;
|
|
216
215
|
show?: boolean | undefined;
|
|
217
|
-
|
|
218
|
-
spinnerClassName?: string | undefined;
|
|
219
|
-
tip?: string | undefined;
|
|
220
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
216
|
+
overlay?: boolean | undefined;
|
|
221
217
|
loadingConfig?: {
|
|
222
218
|
root?: string | undefined;
|
|
223
219
|
show?: boolean | undefined;
|
|
224
220
|
} | undefined;
|
|
221
|
+
tip?: string | undefined;
|
|
222
|
+
spinnerClassName?: string | undefined;
|
|
223
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
224
|
+
delay?: number | undefined;
|
|
225
225
|
} & {
|
|
226
226
|
className?: string | undefined;
|
|
227
227
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
228
228
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SpinnerProps, keyof ThemeProps>, "mode"> & {
|
|
229
229
|
icon?: React.ReactNode;
|
|
230
230
|
size?: "" | "sm" | "lg" | undefined;
|
|
231
|
-
overlay?: boolean | undefined;
|
|
232
231
|
show?: boolean | undefined;
|
|
233
|
-
|
|
234
|
-
spinnerClassName?: string | undefined;
|
|
235
|
-
tip?: string | undefined;
|
|
236
|
-
tipPlacement?: "left" | "right" | "bottom" | "top" | undefined;
|
|
232
|
+
overlay?: boolean | undefined;
|
|
237
233
|
loadingConfig?: {
|
|
238
234
|
root?: string | undefined;
|
|
239
235
|
show?: boolean | undefined;
|
|
240
236
|
} | undefined;
|
|
237
|
+
tip?: string | undefined;
|
|
238
|
+
spinnerClassName?: string | undefined;
|
|
239
|
+
tipPlacement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
240
|
+
delay?: number | undefined;
|
|
241
241
|
} & {
|
|
242
242
|
className?: string | undefined;
|
|
243
243
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|