amis-ui 6.14.0-beta.11 → 6.14.0-beta.13
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/HTMLFilterContext.js +1 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +40 -40
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +20 -20
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AlphabetIndexer.js +1 -1
- package/esm/components/AnchorNav.d.ts +10 -10
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.d.ts +40 -40
- package/esm/components/ArrayInput.js +3 -4
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +120 -120
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoFoldedList.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.d.ts +90 -90
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +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.d.ts +30 -30
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +40 -40
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +100 -100
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +120 -120
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +120 -120
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +10 -10
- 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.d.ts +120 -120
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +40 -40
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +40 -40
- package/esm/components/ColorPicker.js +3 -4
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +3 -4
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +80 -80
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +280 -280
- package/esm/components/DateRangePicker.js +3 -4
- package/esm/components/DiffEditor.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +40 -40
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.d.ts +120 -120
- package/esm/components/DropDownSelection.js +3 -4
- package/esm/components/DropdownContextMenus.js +1 -1
- package/esm/components/Editor.d.ts +40 -40
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.d.ts +120 -120
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/HorizontalScroll.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.d.ts +40 -40
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +3 -4
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.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.d.ts +40 -40
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +40 -40
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MixedInput.js +1 -1
- package/esm/components/MobileDevTool.js +1 -1
- package/esm/components/Modal.d.ts +120 -120
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +200 -200
- package/esm/components/MultilineText.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +30 -30
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.js +4 -5
- package/esm/components/Pagination.d.ts +80 -80
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.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 +4 -5
- package/esm/components/PopUp.d.ts +120 -120
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +50 -50
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +20 -20
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +3 -4
- package/esm/components/Rating.d.ts +40 -40
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +80 -80
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +120 -120
- package/esm/components/ResultList.js +3 -4
- package/esm/components/ResultTableList.d.ts +120 -120
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +40 -40
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +120 -120
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +1683 -1683
- package/esm/components/Select.js +3 -4
- package/esm/components/SelectMobile.js +3 -4
- package/esm/components/Selection.d.ts +120 -120
- package/esm/components/Selection.js +1 -1
- package/esm/components/Shape.js +1 -1
- package/esm/components/Signature.js +1 -1
- package/esm/components/Slider.js +1 -1
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +50 -50
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +10 -10
- package/esm/components/Switch.js +1 -1
- package/esm/components/Tab.js +1 -1
- package/esm/components/Table.js +1 -1
- package/esm/components/TableSelection.d.ts +120 -120
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +80 -80
- package/esm/components/Tabs.js +5 -6
- package/esm/components/TabsTransfer.d.ts +40 -40
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +60 -60
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +40 -40
- package/esm/components/Textarea.js +3 -4
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +4 -2
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +120 -120
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +21 -21
- package/esm/components/TooltipWrapper.js +3 -4
- package/esm/components/Transfer.d.ts +280 -280
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.d.ts +280 -280
- 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.d.ts +403 -400
- package/esm/components/Tree.js +22 -8
- package/esm/components/TreeSelection.d.ts +120 -120
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +40 -40
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +40 -40
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.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 +11 -7
- package/esm/components/condition-builder/GroupOrItem.js +4 -2
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +3 -4
- package/esm/components/condition-builder/Value.js +3 -2
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +7 -3
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.d.ts +80 -80
- 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.d.ts +40 -40
- 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/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/PanelMenu.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +80 -80
- 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.d.ts +40 -40
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +3 -4
- package/esm/components/table/HeadCellFilter.d.ts +80 -80
- package/esm/components/table/HeadCellFilter.js +3 -4
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- package/esm/components/table/HeadCellSelect.js +3 -4
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +1 -1
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.d.ts +160 -160
- package/esm/components/table/index.js +4 -5
- package/esm/components/table/util.d.ts +2 -2
- package/esm/components/table/util.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +3 -4
- 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/components/withBadge.js +1 -1
- package/esm/hooks/use-click-away.js +1 -1
- package/esm/hooks/use-on-screen.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/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.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/fullscreen.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/question2.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/rotate-screen.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/sub-plus.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-normal.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.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/esm/utils/vectorComputed.js +1 -1
- package/esm/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/HTMLFilterContext.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +80 -80
- 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/AlphabetIndexer.js +1 -1
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +2 -3
- 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/AutoFoldedList.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- 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 +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 +40 -40
- 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 +1 -1
- 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 +20 -20
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +80 -80
- package/lib/components/ColorPicker.js +3 -4
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.d.ts +40 -40
- package/lib/components/ConfirmBox.js +2 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +120 -120
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +320 -320
- package/lib/components/DateRangePicker.js +3 -4
- package/lib/components/DiffEditor.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +3 -4
- package/lib/components/DropdownContextMenus.js +1 -1
- package/lib/components/Editor.d.ts +80 -80
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/HorizontalScroll.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- 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 +2 -3
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- 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/Menu.js +1 -1
- package/lib/components/MixedInput.js +1 -1
- package/lib/components/MobileDevTool.js +1 -1
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +240 -240
- 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/OverflowTpl.js +4 -5
- package/lib/components/Pagination.d.ts +40 -40
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.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 +3 -4
- 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 +20 -20
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +2 -3
- 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 +80 -80
- package/lib/components/ResultList.js +3 -4
- 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 +1512 -1512
- package/lib/components/Select.js +2 -3
- package/lib/components/SelectMobile.js +3 -4
- package/lib/components/Selection.d.ts +80 -80
- package/lib/components/Selection.js +1 -1
- package/lib/components/Shape.js +1 -1
- package/lib/components/Signature.js +1 -1
- package/lib/components/Slider.js +1 -1
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.js +1 -1
- package/lib/components/Tab.js +1 -1
- package/lib/components/Table.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 +4 -5
- 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.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +3 -4
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +4 -2
- 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 +1 -1
- package/lib/components/TooltipWrapper.js +2 -3
- package/lib/components/Transfer.d.ts +120 -120
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.d.ts +120 -120
- 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 +363 -360
- package/lib/components/Tree.js +22 -8
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +80 -80
- 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/VerificationCode.js +1 -1
- package/lib/components/VirtualList.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 +11 -7
- package/lib/components/condition-builder/GroupOrItem.js +4 -2
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +2 -3
- package/lib/components/condition-builder/Value.js +3 -2
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +7 -3
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +80 -80
- 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 +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/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/PanelMenu.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +20 -20
- 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.js +1 -1
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +2 -3
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +3 -4
- package/lib/components/table/HeadCellSelect.js +2 -3
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +1 -1
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.d.ts +80 -80
- package/lib/components/table/index.js +4 -5
- package/lib/components/table/util.d.ts +5 -5
- package/lib/components/table/util.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +2 -3
- 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/components/withBadge.js +1 -1
- package/lib/hooks/use-click-away.js +1 -1
- package/lib/hooks/use-on-screen.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/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.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/fullscreen.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/question2.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/rotate-screen.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/sub-plus.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-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.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 +5 -1
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +5 -1
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +5 -1
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +5 -1
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +5 -1
- package/lib/utils/vectorComputed.js +1 -1
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +3 -3
- package/scss/components/form/_select.scss +1 -1
- package/scss/components/form/_tree.scss +4 -0
package/lib/components/Tabs.d.ts
CHANGED
|
@@ -185,7 +185,7 @@ export declare class Tabs extends React.Component<TabsProps, any> {
|
|
|
185
185
|
render(): React.JSX.Element | null;
|
|
186
186
|
}
|
|
187
187
|
declare const ThemedTabs: {
|
|
188
|
-
new (props: Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
188
|
+
new (props: Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
189
189
|
contentClassName?: string | undefined;
|
|
190
190
|
mode?: TabsMode | undefined;
|
|
191
191
|
showTip?: boolean | undefined;
|
|
@@ -202,7 +202,7 @@ declare const ThemedTabs: {
|
|
|
202
202
|
getWrappedInstance(): any;
|
|
203
203
|
render(): React.JSX.Element;
|
|
204
204
|
context: unknown;
|
|
205
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
205
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
206
206
|
contentClassName?: string | undefined;
|
|
207
207
|
mode?: TabsMode | undefined;
|
|
208
208
|
showTip?: boolean | undefined;
|
|
@@ -215,7 +215,7 @@ declare const ThemedTabs: {
|
|
|
215
215
|
translate?: (str: string, ...args: any[]) => string;
|
|
216
216
|
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
217
217
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
218
|
-
readonly props: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
218
|
+
readonly props: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
219
219
|
contentClassName?: string | undefined;
|
|
220
220
|
mode?: TabsMode | undefined;
|
|
221
221
|
showTip?: boolean | undefined;
|
|
@@ -232,7 +232,7 @@ declare const ThemedTabs: {
|
|
|
232
232
|
[key: string]: React.ReactInstance;
|
|
233
233
|
};
|
|
234
234
|
componentDidMount?(): void;
|
|
235
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
235
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
236
236
|
contentClassName?: string | undefined;
|
|
237
237
|
mode?: TabsMode | undefined;
|
|
238
238
|
showTip?: boolean | undefined;
|
|
@@ -246,7 +246,7 @@ declare const ThemedTabs: {
|
|
|
246
246
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
247
247
|
componentWillUnmount?(): void;
|
|
248
248
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
249
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
249
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
250
250
|
contentClassName?: string | undefined;
|
|
251
251
|
mode?: TabsMode | undefined;
|
|
252
252
|
showTip?: boolean | undefined;
|
|
@@ -258,7 +258,7 @@ declare const ThemedTabs: {
|
|
|
258
258
|
locale?: string;
|
|
259
259
|
translate?: (str: string, ...args: any[]) => string;
|
|
260
260
|
}>, prevState: Readonly<{}>): any;
|
|
261
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
261
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
262
262
|
contentClassName?: string | undefined;
|
|
263
263
|
mode?: TabsMode | undefined;
|
|
264
264
|
showTip?: boolean | undefined;
|
|
@@ -272,7 +272,7 @@ declare const ThemedTabs: {
|
|
|
272
272
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
273
273
|
componentWillMount?(): void;
|
|
274
274
|
UNSAFE_componentWillMount?(): void;
|
|
275
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
275
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
276
276
|
contentClassName?: string | undefined;
|
|
277
277
|
mode?: TabsMode | undefined;
|
|
278
278
|
showTip?: boolean | undefined;
|
|
@@ -284,7 +284,7 @@ declare const ThemedTabs: {
|
|
|
284
284
|
locale?: string;
|
|
285
285
|
translate?: (str: string, ...args: any[]) => string;
|
|
286
286
|
}>, nextContext: any): void;
|
|
287
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
287
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
288
288
|
contentClassName?: string | undefined;
|
|
289
289
|
mode?: TabsMode | undefined;
|
|
290
290
|
showTip?: boolean | undefined;
|
|
@@ -296,7 +296,7 @@ declare const ThemedTabs: {
|
|
|
296
296
|
locale?: string;
|
|
297
297
|
translate?: (str: string, ...args: any[]) => string;
|
|
298
298
|
}>, nextContext: any): void;
|
|
299
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
299
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
300
300
|
contentClassName?: string | undefined;
|
|
301
301
|
mode?: TabsMode | undefined;
|
|
302
302
|
showTip?: boolean | undefined;
|
|
@@ -308,7 +308,7 @@ declare const ThemedTabs: {
|
|
|
308
308
|
locale?: string;
|
|
309
309
|
translate?: (str: string, ...args: any[]) => string;
|
|
310
310
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
311
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
311
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
312
312
|
contentClassName?: string | undefined;
|
|
313
313
|
mode?: TabsMode | undefined;
|
|
314
314
|
showTip?: boolean | undefined;
|
|
@@ -324,7 +324,7 @@ declare const ThemedTabs: {
|
|
|
324
324
|
displayName: string;
|
|
325
325
|
contextType: React.Context<string>;
|
|
326
326
|
ComposedComponent: React.ComponentType<{
|
|
327
|
-
new (props: Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
327
|
+
new (props: Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
328
328
|
contentClassName?: string | undefined;
|
|
329
329
|
mode?: TabsMode | undefined;
|
|
330
330
|
showTip?: boolean | undefined;
|
|
@@ -338,7 +338,7 @@ declare const ThemedTabs: {
|
|
|
338
338
|
getWrappedInstance: () => any;
|
|
339
339
|
render(): React.JSX.Element;
|
|
340
340
|
context: unknown;
|
|
341
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
341
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
342
342
|
contentClassName?: string | undefined;
|
|
343
343
|
mode?: TabsMode | undefined;
|
|
344
344
|
showTip?: boolean | undefined;
|
|
@@ -348,7 +348,7 @@ declare const ThemedTabs: {
|
|
|
348
348
|
collapseBtnLabel?: string | undefined;
|
|
349
349
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
350
350
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
351
|
-
readonly props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
351
|
+
readonly props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
352
352
|
contentClassName?: string | undefined;
|
|
353
353
|
mode?: TabsMode | undefined;
|
|
354
354
|
showTip?: boolean | undefined;
|
|
@@ -362,7 +362,7 @@ declare const ThemedTabs: {
|
|
|
362
362
|
[key: string]: React.ReactInstance;
|
|
363
363
|
};
|
|
364
364
|
componentDidMount?(): void;
|
|
365
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
365
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
366
366
|
contentClassName?: string | undefined;
|
|
367
367
|
mode?: TabsMode | undefined;
|
|
368
368
|
showTip?: boolean | undefined;
|
|
@@ -373,7 +373,7 @@ declare const ThemedTabs: {
|
|
|
373
373
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
374
374
|
componentWillUnmount?(): void;
|
|
375
375
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
376
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
376
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
377
377
|
contentClassName?: string | undefined;
|
|
378
378
|
mode?: TabsMode | undefined;
|
|
379
379
|
showTip?: boolean | undefined;
|
|
@@ -382,7 +382,7 @@ declare const ThemedTabs: {
|
|
|
382
382
|
addBtnText?: string | undefined;
|
|
383
383
|
collapseBtnLabel?: string | undefined;
|
|
384
384
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
385
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
385
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
386
386
|
contentClassName?: string | undefined;
|
|
387
387
|
mode?: TabsMode | undefined;
|
|
388
388
|
showTip?: boolean | undefined;
|
|
@@ -393,7 +393,7 @@ declare const ThemedTabs: {
|
|
|
393
393
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
394
394
|
componentWillMount?(): void;
|
|
395
395
|
UNSAFE_componentWillMount?(): void;
|
|
396
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
396
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
397
397
|
contentClassName?: string | undefined;
|
|
398
398
|
mode?: TabsMode | undefined;
|
|
399
399
|
showTip?: boolean | undefined;
|
|
@@ -402,7 +402,7 @@ declare const ThemedTabs: {
|
|
|
402
402
|
addBtnText?: string | undefined;
|
|
403
403
|
collapseBtnLabel?: string | undefined;
|
|
404
404
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
405
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
405
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
406
406
|
contentClassName?: string | undefined;
|
|
407
407
|
mode?: TabsMode | undefined;
|
|
408
408
|
showTip?: boolean | undefined;
|
|
@@ -411,7 +411,7 @@ declare const ThemedTabs: {
|
|
|
411
411
|
addBtnText?: string | undefined;
|
|
412
412
|
collapseBtnLabel?: string | undefined;
|
|
413
413
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
414
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
414
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
415
415
|
contentClassName?: string | undefined;
|
|
416
416
|
mode?: TabsMode | undefined;
|
|
417
417
|
showTip?: boolean | undefined;
|
|
@@ -420,7 +420,7 @@ declare const ThemedTabs: {
|
|
|
420
420
|
addBtnText?: string | undefined;
|
|
421
421
|
collapseBtnLabel?: string | undefined;
|
|
422
422
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
423
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
423
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
424
424
|
contentClassName?: string | undefined;
|
|
425
425
|
mode?: TabsMode | undefined;
|
|
426
426
|
showTip?: boolean | undefined;
|
|
@@ -437,7 +437,7 @@ declare const ThemedTabs: {
|
|
|
437
437
|
ComposedComponent: typeof Tabs;
|
|
438
438
|
}>;
|
|
439
439
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
440
|
-
new (props: Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
440
|
+
new (props: Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
441
441
|
contentClassName?: string | undefined;
|
|
442
442
|
mode?: TabsMode | undefined;
|
|
443
443
|
showTip?: boolean | undefined;
|
|
@@ -451,7 +451,7 @@ declare const ThemedTabs: {
|
|
|
451
451
|
getWrappedInstance: () => any;
|
|
452
452
|
render(): React.JSX.Element;
|
|
453
453
|
context: unknown;
|
|
454
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
454
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
455
455
|
contentClassName?: string | undefined;
|
|
456
456
|
mode?: TabsMode | undefined;
|
|
457
457
|
showTip?: boolean | undefined;
|
|
@@ -461,7 +461,7 @@ declare const ThemedTabs: {
|
|
|
461
461
|
collapseBtnLabel?: string | undefined;
|
|
462
462
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
463
463
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
464
|
-
readonly props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
464
|
+
readonly props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
465
465
|
contentClassName?: string | undefined;
|
|
466
466
|
mode?: TabsMode | undefined;
|
|
467
467
|
showTip?: boolean | undefined;
|
|
@@ -475,7 +475,7 @@ declare const ThemedTabs: {
|
|
|
475
475
|
[key: string]: React.ReactInstance;
|
|
476
476
|
};
|
|
477
477
|
componentDidMount?(): void;
|
|
478
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
478
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
479
479
|
contentClassName?: string | undefined;
|
|
480
480
|
mode?: TabsMode | undefined;
|
|
481
481
|
showTip?: boolean | undefined;
|
|
@@ -486,7 +486,7 @@ declare const ThemedTabs: {
|
|
|
486
486
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
487
487
|
componentWillUnmount?(): void;
|
|
488
488
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
489
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
489
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
490
490
|
contentClassName?: string | undefined;
|
|
491
491
|
mode?: TabsMode | undefined;
|
|
492
492
|
showTip?: boolean | undefined;
|
|
@@ -495,7 +495,7 @@ declare const ThemedTabs: {
|
|
|
495
495
|
addBtnText?: string | undefined;
|
|
496
496
|
collapseBtnLabel?: string | undefined;
|
|
497
497
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
498
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
498
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
499
499
|
contentClassName?: string | undefined;
|
|
500
500
|
mode?: TabsMode | undefined;
|
|
501
501
|
showTip?: boolean | undefined;
|
|
@@ -506,7 +506,7 @@ declare const ThemedTabs: {
|
|
|
506
506
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
507
507
|
componentWillMount?(): void;
|
|
508
508
|
UNSAFE_componentWillMount?(): void;
|
|
509
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
509
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
510
510
|
contentClassName?: string | undefined;
|
|
511
511
|
mode?: TabsMode | undefined;
|
|
512
512
|
showTip?: boolean | undefined;
|
|
@@ -515,7 +515,7 @@ declare const ThemedTabs: {
|
|
|
515
515
|
addBtnText?: string | undefined;
|
|
516
516
|
collapseBtnLabel?: string | undefined;
|
|
517
517
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
518
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
518
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
519
519
|
contentClassName?: string | undefined;
|
|
520
520
|
mode?: TabsMode | undefined;
|
|
521
521
|
showTip?: boolean | undefined;
|
|
@@ -524,7 +524,7 @@ declare const ThemedTabs: {
|
|
|
524
524
|
addBtnText?: string | undefined;
|
|
525
525
|
collapseBtnLabel?: string | undefined;
|
|
526
526
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
527
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
527
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
528
528
|
contentClassName?: string | undefined;
|
|
529
529
|
mode?: TabsMode | undefined;
|
|
530
530
|
showTip?: boolean | undefined;
|
|
@@ -533,7 +533,7 @@ declare const ThemedTabs: {
|
|
|
533
533
|
addBtnText?: string | undefined;
|
|
534
534
|
collapseBtnLabel?: string | undefined;
|
|
535
535
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
536
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
536
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
537
537
|
contentClassName?: string | undefined;
|
|
538
538
|
mode?: TabsMode | undefined;
|
|
539
539
|
showTip?: boolean | undefined;
|
|
@@ -550,7 +550,7 @@ declare const ThemedTabs: {
|
|
|
550
550
|
ComposedComponent: typeof Tabs;
|
|
551
551
|
}, {}> & {
|
|
552
552
|
ComposedComponent: {
|
|
553
|
-
new (props: Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
553
|
+
new (props: Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
554
554
|
contentClassName?: string | undefined;
|
|
555
555
|
mode?: TabsMode | undefined;
|
|
556
556
|
showTip?: boolean | undefined;
|
|
@@ -564,7 +564,7 @@ declare const ThemedTabs: {
|
|
|
564
564
|
getWrappedInstance: () => any;
|
|
565
565
|
render(): React.JSX.Element;
|
|
566
566
|
context: unknown;
|
|
567
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
567
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
568
568
|
contentClassName?: string | undefined;
|
|
569
569
|
mode?: TabsMode | undefined;
|
|
570
570
|
showTip?: boolean | undefined;
|
|
@@ -574,7 +574,7 @@ declare const ThemedTabs: {
|
|
|
574
574
|
collapseBtnLabel?: string | undefined;
|
|
575
575
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
576
576
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
577
|
-
readonly props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
577
|
+
readonly props: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
578
578
|
contentClassName?: string | undefined;
|
|
579
579
|
mode?: TabsMode | undefined;
|
|
580
580
|
showTip?: boolean | undefined;
|
|
@@ -588,7 +588,7 @@ declare const ThemedTabs: {
|
|
|
588
588
|
[key: string]: React.ReactInstance;
|
|
589
589
|
};
|
|
590
590
|
componentDidMount?(): void;
|
|
591
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
591
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
592
592
|
contentClassName?: string | undefined;
|
|
593
593
|
mode?: TabsMode | undefined;
|
|
594
594
|
showTip?: boolean | undefined;
|
|
@@ -599,7 +599,7 @@ declare const ThemedTabs: {
|
|
|
599
599
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
600
600
|
componentWillUnmount?(): void;
|
|
601
601
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
602
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
602
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
603
603
|
contentClassName?: string | undefined;
|
|
604
604
|
mode?: TabsMode | undefined;
|
|
605
605
|
showTip?: boolean | undefined;
|
|
@@ -608,7 +608,7 @@ declare const ThemedTabs: {
|
|
|
608
608
|
addBtnText?: string | undefined;
|
|
609
609
|
collapseBtnLabel?: string | undefined;
|
|
610
610
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
611
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
611
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
612
612
|
contentClassName?: string | undefined;
|
|
613
613
|
mode?: TabsMode | undefined;
|
|
614
614
|
showTip?: boolean | undefined;
|
|
@@ -619,7 +619,7 @@ declare const ThemedTabs: {
|
|
|
619
619
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
620
620
|
componentWillMount?(): void;
|
|
621
621
|
UNSAFE_componentWillMount?(): void;
|
|
622
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
622
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
623
623
|
contentClassName?: string | undefined;
|
|
624
624
|
mode?: TabsMode | undefined;
|
|
625
625
|
showTip?: boolean | undefined;
|
|
@@ -628,7 +628,7 @@ declare const ThemedTabs: {
|
|
|
628
628
|
addBtnText?: string | undefined;
|
|
629
629
|
collapseBtnLabel?: string | undefined;
|
|
630
630
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
631
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
631
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
632
632
|
contentClassName?: string | undefined;
|
|
633
633
|
mode?: TabsMode | undefined;
|
|
634
634
|
showTip?: boolean | undefined;
|
|
@@ -637,7 +637,7 @@ declare const ThemedTabs: {
|
|
|
637
637
|
addBtnText?: string | undefined;
|
|
638
638
|
collapseBtnLabel?: string | undefined;
|
|
639
639
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
640
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
640
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
641
641
|
contentClassName?: string | undefined;
|
|
642
642
|
mode?: TabsMode | undefined;
|
|
643
643
|
showTip?: boolean | undefined;
|
|
@@ -646,7 +646,7 @@ declare const ThemedTabs: {
|
|
|
646
646
|
addBtnText?: string | undefined;
|
|
647
647
|
collapseBtnLabel?: string | undefined;
|
|
648
648
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
649
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "
|
|
649
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TabsProps, keyof ThemeProps>, "children" | "testIdBuilder" | "onClose" | "toolbar" | "locale" | "translate" | "draggable" | "onSelect" | "activeKey" | "editable" | "onAdd" | "onEdit" | "tabs" | "popOverContainer" | "tabsMode" | "additionBtns" | "linksClassName" | "titleClassName" | "tabRender" | "addable" | "closable" | "onDragChange" | "scrollable" | "collapseOnExceed"> & {
|
|
650
650
|
contentClassName?: string | undefined;
|
|
651
651
|
mode?: TabsMode | undefined;
|
|
652
652
|
showTip?: boolean | undefined;
|
package/lib/components/Tabs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.14.0-beta.
|
|
2
|
+
* amis-ui v6.14.0-beta.13
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -13,7 +13,6 @@ var amisCore = require('amis-core');
|
|
|
13
13
|
var Transition = require('react-transition-group/Transition');
|
|
14
14
|
var icons = require('./icons.js');
|
|
15
15
|
var debounce = require('lodash/debounce');
|
|
16
|
-
var ReactDOM = require('react-dom');
|
|
17
16
|
var TooltipWrapper = require('./TooltipWrapper.js');
|
|
18
17
|
var PopOverContainer = require('./PopOverContainer.js');
|
|
19
18
|
var Sortable = require('sortablejs');
|
|
@@ -208,7 +207,7 @@ var Tabs = /** @class */ (function (_super) {
|
|
|
208
207
|
var _b = this.props; _b.classPrefix; var activeKey = _b.activeKey, mobileUI = _b.mobileUI;
|
|
209
208
|
if (mobileUI && preProps.activeKey !== activeKey) {
|
|
210
209
|
var ns_1 = this.props.classPrefix;
|
|
211
|
-
var dom =
|
|
210
|
+
var dom = amisCore.findDomCompat(this);
|
|
212
211
|
var activeTab = dom.querySelector(".".concat(ns_1, "Tabs-link.is-active"));
|
|
213
212
|
var parentWidth = ((_a = activeTab.parentNode) === null || _a === void 0 ? void 0 : _a.parentNode).offsetWidth;
|
|
214
213
|
var offsetLeft = activeTab.offsetLeft;
|
|
@@ -337,7 +336,7 @@ var Tabs = /** @class */ (function (_super) {
|
|
|
337
336
|
Tabs.prototype.initDragging = function () {
|
|
338
337
|
var _this = this;
|
|
339
338
|
var _a = this.props, ns = _a.classPrefix, onDragChange = _a.onDragChange;
|
|
340
|
-
var dom =
|
|
339
|
+
var dom = amisCore.findDomCompat(this);
|
|
341
340
|
this.sortable = new Sortable__default["default"](dom.querySelector(".".concat(ns, "Tabs-links")), {
|
|
342
341
|
group: this.id,
|
|
343
342
|
animation: 250,
|
|
@@ -499,7 +498,7 @@ var Tabs = /** @class */ (function (_super) {
|
|
|
499
498
|
collapseOnExceed &&
|
|
500
499
|
doms.length > collapseOnExceed) {
|
|
501
500
|
var rest_1 = doms.splice(collapseOnExceed - 1, doms.length + 1 - collapseOnExceed);
|
|
502
|
-
doms.push(_J$X_(PopOverContainer.PopOverContainer, { key: "togglor", placement: "center-bottom-center-top center-top-center-bottom", popOverClassName: cx('Tabs-PopOver'), popOverContainer: popOverContainer || (function () { return
|
|
501
|
+
doms.push(_J$X_(PopOverContainer.PopOverContainer, { key: "togglor", placement: "center-bottom-center-top center-top-center-bottom", popOverClassName: cx('Tabs-PopOver'), popOverContainer: popOverContainer || (function () { return amisCore.findDomCompat(_this); }), popOverRender: function (_a) {
|
|
503
502
|
var onClose = _a.onClose;
|
|
504
503
|
return (_J$X_("ul", { className: cx('Tabs-PopOverList', 'DropDown-menu'), onClick: onClose }, rest_1));
|
|
505
504
|
} }, function (_a) {
|