amis-ui 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/_virtual/index.js +1 -1
- package/esm/_virtual/react-is.development.js +1 -1
- package/esm/_virtual/react-is.production.min.js +1 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +27 -23
- 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.d.ts +41 -40
- package/esm/components/CalendarMobile.js +21 -5
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +4 -3
- package/esm/components/Cascader.js +106 -105
- package/esm/components/ChainedDropdownSelection.d.ts +559 -0
- package/esm/components/ChainedDropdownSelection.js +104 -0
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +11 -10
- package/esm/components/Checkbox.js +3 -2
- package/esm/components/CityArea.js +3 -3
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +22 -0
- package/esm/components/Collapse.js +10 -6
- package/esm/components/CollapseGroup.d.ts +23 -1
- package/esm/components/CollapseGroup.js +19 -14
- package/esm/components/ColorPicker.d.ts +4 -0
- package/esm/components/ColorPicker.js +32 -5
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +42 -41
- package/esm/components/ConfirmBox.js +11 -4
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +43 -40
- package/esm/components/DatePicker.js +5 -5
- package/esm/components/DateRangePicker.d.ts +40 -40
- package/esm/components/DateRangePicker.js +41 -20
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.d.ts +555 -0
- package/esm/components/DropDownSelection.js +77 -0
- 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 +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +11 -10
- package/esm/components/InputBox.js +5 -3
- package/esm/components/InputBoxWithSuggestion.d.ts +1 -0
- package/esm/components/InputBoxWithSuggestion.js +3 -3
- package/esm/components/InputTable.js +3 -3
- 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 +41 -40
- package/esm/components/ListMenu.js +6 -5
- package/esm/components/LocationPicker.d.ts +44 -40
- package/esm/components/LocationPicker.js +35 -8
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +12 -15
- package/esm/components/NumberInput.js +9 -5
- package/esm/components/Pagination.d.ts +46 -41
- package/esm/components/Pagination.js +13 -4
- package/esm/components/Picker.js +3 -3
- package/esm/components/PickerColumn.d.ts +1 -1
- package/esm/components/PickerColumn.js +2 -2
- package/esm/components/PickerContainer.d.ts +1 -0
- package/esm/components/PickerContainer.js +4 -4
- package/esm/components/PopOverContainer.d.ts +3 -0
- package/esm/components/PopOverContainer.js +14 -3
- package/esm/components/PopUp.js +3 -3
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +10 -10
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +2 -1
- package/esm/components/Range.js +65 -14
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +83 -41
- package/esm/components/ResultBox.js +6 -5
- package/esm/components/ResultList.js +1 -1
- 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 +41 -40
- package/esm/components/SearchBox.js +5 -4
- package/esm/components/Select.d.ts +580 -580
- package/esm/components/Select.js +13 -8
- package/esm/components/SelectMobile.d.ts +37 -0
- package/esm/components/SelectMobile.js +362 -0
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +52 -40
- package/esm/components/Tabs.js +87 -12
- package/esm/components/TabsTransfer.d.ts +41 -40
- package/esm/components/TabsTransfer.js +7 -6
- package/esm/components/TabsTransferPicker.d.ts +2 -0
- package/esm/components/TabsTransferPicker.js +8 -8
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +41 -40
- 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.d.ts +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +94 -92
- package/esm/components/Transfer.js +20 -15
- package/esm/components/TransferDropDown.d.ts +84 -80
- package/esm/components/TransferDropDown.js +52 -18
- package/esm/components/TransferPicker.d.ts +2 -0
- package/esm/components/TransferPicker.js +8 -8
- package/esm/components/TransferSearch.js +2 -2
- package/esm/components/Tree.d.ts +41 -40
- package/esm/components/Tree.js +25 -16
- package/esm/components/TreeSelection.js +3 -3
- package/esm/components/UserSelect.d.ts +40 -40
- package/esm/components/UserSelect.js +17 -9
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +7 -7
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -0
- package/esm/components/calendar/Calendar.js +8 -4
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +3 -0
- package/esm/components/calendar/DaysView.js +17 -5
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.d.ts +11 -0
- package/esm/components/calendar/QuartersView.js +47 -5
- package/esm/components/calendar/TimeView.js +4 -2
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +3 -7
- package/esm/components/condition-builder/Field.js +14 -72
- package/esm/components/condition-builder/Formula.js +2 -2
- package/esm/components/condition-builder/Func.js +2 -2
- package/esm/components/condition-builder/Group.d.ts +10 -1
- package/esm/components/condition-builder/Group.js +9 -5
- package/esm/components/condition-builder/GroupOrItem.d.ts +10 -1
- package/esm/components/condition-builder/GroupOrItem.js +9 -6
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +1 -1
- package/esm/components/condition-builder/Item.js +5 -6
- package/esm/components/condition-builder/Value.js +7 -7
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +10 -1
- package/esm/components/condition-builder/index.js +8 -4
- package/esm/components/formula/Editor.d.ts +54 -40
- package/esm/components/formula/Editor.js +94 -21
- package/esm/components/formula/FuncList.js +19 -9
- package/esm/components/formula/Picker.d.ts +43 -41
- package/esm/components/formula/Picker.js +39 -17
- package/esm/components/formula/VariableList.d.ts +1 -0
- package/esm/components/formula/VariableList.js +107 -23
- package/esm/components/formula/plugin.d.ts +4 -2
- package/esm/components/formula/plugin.js +49 -25
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.js +5 -3
- package/esm/components/json-schema/Item.js +4 -4
- package/esm/components/json-schema/Object.js +8 -4
- package/esm/components/json-schema/index.d.ts +1 -0
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +3 -2
- package/esm/components/menu/SubMenu.js +3 -3
- package/esm/components/menu/index.d.ts +15 -10
- package/esm/components/menu/index.js +34 -14
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.d.ts +1 -0
- package/esm/components/schema-editor/Common.js +7 -7
- package/esm/components/schema-editor/Item.d.ts +1 -0
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +5 -5
- 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 +41 -40
- package/esm/components/schema-editor/index.js +3 -3
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +5 -2
- package/esm/components/table/HeadCellSort.js +11 -11
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +1 -1
- package/esm/components/table/index.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/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 +3 -1
- package/esm/locale/en-US.js +3 -1
- package/esm/locale/zh-CN.js +4 -2
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/esm/node_modules/rc-overflow/es/Item.js +1 -1
- package/esm/node_modules/rc-overflow/es/Overflow.js +4 -3
- package/esm/node_modules/rc-overflow/es/RawItem.js +2 -2
- package/esm/node_modules/rc-overflow/es/context.js +10 -0
- package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/esm/node_modules/rc-overflow/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +16 -2
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +1 -1
- package/esm/node_modules/rc-util/es/warning.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.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/_virtual/index.js +1 -1
- package/lib/_virtual/react-is.development.js +1 -1
- package/lib/_virtual/react-is.production.min.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +120 -120
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +20 -20
- 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.d.ts +10 -10
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +120 -120
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +110 -110
- 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 +27 -23
- 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 +41 -40
- package/lib/components/CalendarMobile.js +21 -5
- package/lib/components/Card.d.ts +100 -100
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +4 -3
- package/lib/components/Cascader.js +105 -104
- package/lib/components/ChainedDropdownSelection.d.ts +559 -0
- package/lib/components/ChainedDropdownSelection.js +114 -0
- package/lib/components/ChainedSelection.d.ts +120 -120
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +11 -10
- package/lib/components/Checkbox.js +2 -1
- package/lib/components/CityArea.js +3 -3
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +152 -130
- package/lib/components/Collapse.js +9 -5
- package/lib/components/CollapseGroup.d.ts +53 -31
- package/lib/components/CollapseGroup.js +18 -13
- package/lib/components/ColorPicker.d.ts +84 -80
- package/lib/components/ColorPicker.js +32 -5
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +82 -81
- package/lib/components/ConfirmBox.js +10 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +124 -121
- package/lib/components/DatePicker.js +5 -5
- package/lib/components/DateRangePicker.d.ts +280 -280
- package/lib/components/DateRangePicker.js +40 -19
- 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 +555 -0
- package/lib/components/DropDownSelection.js +85 -0
- package/lib/components/Editor.d.ts +120 -120
- 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 +120 -120
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +21 -20
- package/lib/components/InputBox.js +4 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +1 -0
- package/lib/components/InputBoxWithSuggestion.js +3 -3
- package/lib/components/InputTable.js +3 -3
- 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 +81 -80
- package/lib/components/ListMenu.js +5 -4
- package/lib/components/LocationPicker.d.ts +84 -80
- package/lib/components/LocationPicker.js +34 -7
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +80 -80
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +200 -200
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +28 -31
- package/lib/components/NumberInput.js +8 -4
- package/lib/components/Pagination.d.ts +86 -81
- package/lib/components/Pagination.js +12 -3
- package/lib/components/Picker.js +3 -3
- package/lib/components/PickerColumn.d.ts +1 -1
- package/lib/components/PickerColumn.js +2 -2
- package/lib/components/PickerContainer.d.ts +1 -0
- package/lib/components/PickerContainer.js +4 -4
- package/lib/components/PopOverContainer.d.ts +3 -0
- package/lib/components/PopOverContainer.js +14 -3
- package/lib/components/PopUp.d.ts +80 -80
- package/lib/components/PopUp.js +3 -3
- package/lib/components/Progress.d.ts +60 -60
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +30 -30
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +2 -1
- package/lib/components/Range.js +64 -13
- package/lib/components/Rating.d.ts +30 -30
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +123 -81
- package/lib/components/ResultBox.js +6 -5
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +120 -120
- 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 +81 -80
- package/lib/components/SearchBox.js +4 -3
- package/lib/components/Select.d.ts +1738 -1738
- package/lib/components/Select.js +12 -7
- package/lib/components/SelectMobile.d.ts +37 -0
- package/lib/components/SelectMobile.js +371 -0
- package/lib/components/Selection.d.ts +120 -120
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +70 -70
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +120 -120
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +92 -80
- package/lib/components/Tabs.js +86 -11
- package/lib/components/TabsTransfer.d.ts +41 -40
- package/lib/components/TabsTransfer.js +6 -5
- package/lib/components/TabsTransferPicker.d.ts +2 -0
- package/lib/components/TabsTransferPicker.js +7 -7
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +41 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +80 -80
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +31 -31
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +134 -132
- package/lib/components/Transfer.js +19 -14
- package/lib/components/TransferDropDown.d.ts +124 -120
- package/lib/components/TransferDropDown.js +52 -18
- package/lib/components/TransferPicker.d.ts +2 -0
- package/lib/components/TransferPicker.js +7 -7
- package/lib/components/TransferSearch.js +2 -2
- package/lib/components/Tree.d.ts +161 -160
- package/lib/components/Tree.js +24 -15
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +3 -3
- package/lib/components/UserSelect.d.ts +80 -80
- package/lib/components/UserSelect.js +16 -8
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +1 -0
- package/lib/components/WithRemoteConfig.js +7 -7
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -0
- package/lib/components/calendar/Calendar.js +7 -3
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +3 -0
- package/lib/components/calendar/DaysView.js +17 -5
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.d.ts +11 -0
- package/lib/components/calendar/QuartersView.js +45 -3
- package/lib/components/calendar/TimeView.js +4 -2
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +3 -7
- package/lib/components/condition-builder/Field.js +13 -71
- package/lib/components/condition-builder/Formula.js +2 -2
- package/lib/components/condition-builder/Func.js +2 -2
- package/lib/components/condition-builder/Group.d.ts +10 -1
- package/lib/components/condition-builder/Group.js +9 -5
- package/lib/components/condition-builder/GroupOrItem.d.ts +10 -1
- package/lib/components/condition-builder/GroupOrItem.js +8 -5
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +1 -1
- package/lib/components/condition-builder/Item.js +4 -5
- package/lib/components/condition-builder/Value.js +7 -7
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +10 -1
- package/lib/components/condition-builder/index.js +8 -4
- package/lib/components/formula/Editor.d.ts +54 -40
- package/lib/components/formula/Editor.js +92 -19
- package/lib/components/formula/FuncList.js +19 -9
- package/lib/components/formula/Picker.d.ts +44 -42
- package/lib/components/formula/Picker.js +38 -16
- package/lib/components/formula/VariableList.d.ts +1 -0
- package/lib/components/formula/VariableList.js +104 -20
- package/lib/components/formula/plugin.d.ts +4 -2
- package/lib/components/formula/plugin.js +48 -24
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.js +4 -2
- package/lib/components/json-schema/Item.js +4 -4
- package/lib/components/json-schema/Object.js +7 -3
- package/lib/components/json-schema/index.d.ts +1 -0
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +3 -2
- package/lib/components/menu/SubMenu.js +3 -3
- package/lib/components/menu/index.d.ts +85 -80
- package/lib/components/menu/index.js +34 -14
- package/lib/components/schema-editor/Array.js +3 -3
- package/lib/components/schema-editor/Common.d.ts +1 -0
- package/lib/components/schema-editor/Common.js +7 -7
- package/lib/components/schema-editor/Item.d.ts +1 -0
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +5 -5
- 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 +41 -40
- package/lib/components/schema-editor/index.js +3 -3
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +5 -2
- package/lib/components/table/HeadCellSort.js +11 -11
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +81 -81
- package/lib/components/table/index.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/helper.css +9569 -1234
- 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/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 +3 -1
- package/lib/locale/en-US.js +3 -1
- package/lib/locale/zh-CN.js +4 -2
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/lib/node_modules/rc-overflow/es/Item.js +1 -1
- package/lib/node_modules/rc-overflow/es/Overflow.js +5 -5
- package/lib/node_modules/rc-overflow/es/RawItem.js +7 -7
- package/lib/node_modules/rc-overflow/es/context.js +18 -0
- package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/lib/node_modules/rc-overflow/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +16 -2
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +1 -1
- package/lib/node_modules/rc-util/es/warning.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +1177 -442
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +1177 -442
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +1177 -442
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +1177 -442
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +1177 -442
- package/package.json +9 -4
- package/scss/_components.scss +13 -3
- package/scss/_properties.scss +24 -0
- package/scss/components/_button-group.scss +1 -0
- package/scss/components/_calendar.scss +24 -14
- package/scss/components/_cascader.scss +26 -3
- package/scss/components/_city-area.scss +6 -0
- package/scss/components/_collapse-group.scss +11 -1
- package/scss/components/_collapse.scss +34 -1
- package/scss/components/_column-toggler.scss +7 -5
- package/scss/components/_condition-builder.scss +29 -3
- package/scss/components/_crud.scss +22 -12
- package/scss/components/_dropdown.scss +8 -5
- package/scss/components/_formula.scss +100 -34
- package/scss/components/_input-box.scss +24 -0
- package/scss/components/_json-schema.scss +28 -0
- package/scss/components/_list-menu.scss +40 -0
- package/scss/components/_nav.scss +1 -0
- package/scss/components/_panel.scss +1 -1
- package/scss/components/_picker-columns.scss +2 -4
- package/scss/components/_popup.scss +8 -1
- package/scss/components/_result-box.scss +5 -0
- package/scss/components/_search-box.scss +6 -0
- package/scss/components/_table.scss +23 -0
- package/scss/components/_tabs.scss +12 -0
- package/scss/components/form/_checks.scss +8 -0
- package/scss/components/form/_color.scss +31 -5
- package/scss/components/form/_combo.scss +27 -0
- package/scss/components/form/_date-range.scss +24 -5
- package/scss/components/form/_date.scss +10 -10
- package/scss/components/form/_editor.scss +4 -0
- package/scss/components/form/_fieldset.scss +13 -0
- package/scss/components/form/_form.scss +253 -110
- package/scss/components/form/_input-group.scss +6 -0
- package/scss/components/form/_location.scss +39 -0
- package/scss/components/form/_matrix.scss +2 -0
- package/scss/components/form/_nested-select.scss +6 -1
- package/scss/components/form/_number.scss +8 -0
- package/scss/components/form/_picker.scss +12 -0
- package/scss/components/form/_range.scss +47 -5
- package/scss/components/form/_select.scss +39 -1
- package/scss/components/form/_selection.scss +38 -2
- package/scss/components/form/_text.scss +5 -6
- package/scss/components/form/_transfer.scss +50 -1
- package/scss/components/form/_tree.scss +34 -4
- package/scss/components/react-datetime.scss +8 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.
|
|
2
|
+
* amis-ui v3.2.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -66,7 +66,7 @@ var ResultBox = /** @class */ (function (_super) {
|
|
|
66
66
|
};
|
|
67
67
|
ResultBox.prototype.renderMultipeTags = function (tags) {
|
|
68
68
|
var _this = this;
|
|
69
|
-
var _a = this.props, maxTagCount = _a.maxTagCount, overflowTagPopover = _a.overflowTagPopover, itemRender = _a.itemRender, cx = _a.classnames, showInvalidMatch = _a.showInvalidMatch;
|
|
69
|
+
var _a = this.props, maxTagCount = _a.maxTagCount, overflowTagPopover = _a.overflowTagPopover, itemRender = _a.itemRender, cx = _a.classnames, showInvalidMatch = _a.showInvalidMatch, popOverContainer = _a.popOverContainer;
|
|
70
70
|
if (maxTagCount != null &&
|
|
71
71
|
isInteger(Math.floor(maxTagCount)) &&
|
|
72
72
|
Math.floor(maxTagCount) >= 0 &&
|
|
@@ -77,7 +77,7 @@ var ResultBox = /** @class */ (function (_super) {
|
|
|
77
77
|
{ label: "+ ".concat(tags.length - maxVisibleCount_1, " ...") }
|
|
78
78
|
], false).map(function (item, index) {
|
|
79
79
|
var isShowInvalid = showInvalidMatch && (item === null || item === void 0 ? void 0 : item.__unmatched);
|
|
80
|
-
return index === maxVisibleCount_1 ? (React__default.createElement(TooltipWrapper, { key: tags.length, tooltip: __assign(__assign({}, tooltipProps_1), { children: function () { return (React__default.createElement("div", { className: cx('ResultBox-overflow-wrapper') }, tags
|
|
80
|
+
return index === maxVisibleCount_1 ? (React__default.createElement(TooltipWrapper, { key: tags.length, container: popOverContainer, tooltip: __assign(__assign({}, tooltipProps_1), { children: function () { return (React__default.createElement("div", { className: cx('ResultBox-overflow-wrapper') }, tags
|
|
81
81
|
.slice(maxVisibleCount_1, tags.length)
|
|
82
82
|
.map(function (item, index) {
|
|
83
83
|
var itemIndex = index + maxVisibleCount_1;
|
|
@@ -109,7 +109,7 @@ var ResultBox = /** @class */ (function (_super) {
|
|
|
109
109
|
ResultBox.prototype.render = function () {
|
|
110
110
|
var _a;
|
|
111
111
|
/** 不需要透传给Input的属性要解构出来 */
|
|
112
|
-
var _b = this.props, className = _b.className, cx = _b.classnames; _b.classPrefix; var clearable = _b.clearable, disabled = _b.disabled, hasError = _b.hasError, result = _b.result, value = _b.value, placeholder = _b.placeholder, children = _b.children, itemRender = _b.itemRender, allowInput = _b.allowInput, inputPlaceholder = _b.inputPlaceholder; _b.onResultChange; _b.onChange; var onResultClick = _b.onResultClick, __ = _b.translate; _b.locale; var onKeyPress = _b.onKeyPress, onFocus = _b.onFocus, onBlur = _b.onBlur, borderMode = _b.borderMode, useMobileUI = _b.useMobileUI, hasDropDownArrow = _b.hasDropDownArrow, actions = _b.actions; _b.onClear; _b.maxTagCount; _b.overflowTagPopover; var rest = __rest(_b, ["className", "classnames", "classPrefix", "clearable", "disabled", "hasError", "result", "value", "placeholder", "children", "itemRender", "allowInput", "inputPlaceholder", "onResultChange", "onChange", "onResultClick", "translate", "locale", "onKeyPress", "onFocus", "onBlur", "borderMode", "useMobileUI", "hasDropDownArrow", "actions", "onClear", "maxTagCount", "overflowTagPopover"]);
|
|
112
|
+
var _b = this.props, className = _b.className, cx = _b.classnames; _b.classPrefix; var clearable = _b.clearable, disabled = _b.disabled, hasError = _b.hasError, result = _b.result, value = _b.value, placeholder = _b.placeholder, children = _b.children, itemRender = _b.itemRender, allowInput = _b.allowInput, inputPlaceholder = _b.inputPlaceholder; _b.onResultChange; _b.onChange; var onResultClick = _b.onResultClick, __ = _b.translate; _b.locale; var onKeyPress = _b.onKeyPress, onFocus = _b.onFocus, onBlur = _b.onBlur, borderMode = _b.borderMode, useMobileUI = _b.useMobileUI, hasDropDownArrow = _b.hasDropDownArrow, actions = _b.actions; _b.onClear; _b.maxTagCount; _b.overflowTagPopover; var showArrow = _b.showArrow; _b.popOverContainer; var rest = __rest(_b, ["className", "classnames", "classPrefix", "clearable", "disabled", "hasError", "result", "value", "placeholder", "children", "itemRender", "allowInput", "inputPlaceholder", "onResultChange", "onChange", "onResultClick", "translate", "locale", "onKeyPress", "onFocus", "onBlur", "borderMode", "useMobileUI", "hasDropDownArrow", "actions", "onClear", "maxTagCount", "overflowTagPopover", "showArrow", "popOverContainer"]);
|
|
113
113
|
var isFocused = this.state.isFocused;
|
|
114
114
|
var mobileUI = useMobileUI && isMobile();
|
|
115
115
|
return (React__default.createElement("div", { className: cx('ResultBox', className, (_a = {
|
|
@@ -146,13 +146,14 @@ var ResultBox = /** @class */ (function (_super) {
|
|
|
146
146
|
actions,
|
|
147
147
|
hasDropDownArrow && !mobileUI && (React__default.createElement("span", { className: cx('ResultBox-pc-arrow') },
|
|
148
148
|
React__default.createElement(Icon, { icon: "right-arrow-bold", className: "icon" }))),
|
|
149
|
-
!allowInput && mobileUI ? (React__default.createElement("span", { className: cx('ResultBox-arrow') },
|
|
149
|
+
!allowInput && mobileUI && showArrow ? (React__default.createElement("span", { className: cx('ResultBox-arrow') },
|
|
150
150
|
React__default.createElement(Icon, { icon: "caret", className: "icon" }))) : null)));
|
|
151
151
|
};
|
|
152
152
|
ResultBox.defaultProps = {
|
|
153
153
|
clearable: false,
|
|
154
154
|
placeholder: 'placeholder.noData',
|
|
155
155
|
inputPlaceholder: 'placeholder.enter',
|
|
156
|
+
showArrow: true,
|
|
156
157
|
itemRender: function (option) { return (React__default.createElement("span", null, "".concat(option.scopeLabel || '').concat(option.label))); }
|
|
157
158
|
};
|
|
158
159
|
__decorate([
|
|
@@ -51,7 +51,7 @@ export declare class BaseResultTreeList extends React.Component<ResultTreeListPr
|
|
|
51
51
|
render(): React.JSX.Element;
|
|
52
52
|
}
|
|
53
53
|
declare const _default: {
|
|
54
|
-
new (props: Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
54
|
+
new (props: Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
55
55
|
placeholder?: string | undefined;
|
|
56
56
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
57
57
|
} & {} & {
|
|
@@ -63,7 +63,7 @@ declare const _default: {
|
|
|
63
63
|
getWrappedInstance(): any;
|
|
64
64
|
render(): React.JSX.Element;
|
|
65
65
|
context: unknown;
|
|
66
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
66
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
67
67
|
placeholder?: string | undefined;
|
|
68
68
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
69
69
|
} & {} & {
|
|
@@ -71,7 +71,7 @@ declare const _default: {
|
|
|
71
71
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
72
72
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
73
73
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
74
|
-
readonly props: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
74
|
+
readonly props: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
75
75
|
placeholder?: string | undefined;
|
|
76
76
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
77
77
|
} & {} & {
|
|
@@ -83,7 +83,7 @@ declare const _default: {
|
|
|
83
83
|
[key: string]: React.ReactInstance;
|
|
84
84
|
};
|
|
85
85
|
componentDidMount?(): void;
|
|
86
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
86
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
87
87
|
placeholder?: string | undefined;
|
|
88
88
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
89
89
|
} & {} & {
|
|
@@ -92,14 +92,14 @@ declare const _default: {
|
|
|
92
92
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
93
93
|
componentWillUnmount?(): void;
|
|
94
94
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
95
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
95
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
96
96
|
placeholder?: string | undefined;
|
|
97
97
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
98
98
|
} & {} & {
|
|
99
99
|
locale?: string | undefined;
|
|
100
100
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
101
101
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
102
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
102
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
103
103
|
placeholder?: string | undefined;
|
|
104
104
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
105
105
|
} & {} & {
|
|
@@ -108,28 +108,28 @@ declare const _default: {
|
|
|
108
108
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
109
109
|
componentWillMount?(): void;
|
|
110
110
|
UNSAFE_componentWillMount?(): void;
|
|
111
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
111
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
112
112
|
placeholder?: string | undefined;
|
|
113
113
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
114
114
|
} & {} & {
|
|
115
115
|
locale?: string | undefined;
|
|
116
116
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
117
117
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
118
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
118
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
119
119
|
placeholder?: string | undefined;
|
|
120
120
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
121
121
|
} & {} & {
|
|
122
122
|
locale?: string | undefined;
|
|
123
123
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
124
124
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
125
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
125
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
126
126
|
placeholder?: string | undefined;
|
|
127
127
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
128
128
|
} & {} & {
|
|
129
129
|
locale?: string | undefined;
|
|
130
130
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
131
131
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
132
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
132
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
133
133
|
placeholder?: string | undefined;
|
|
134
134
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
135
135
|
} & {} & {
|
|
@@ -140,7 +140,7 @@ declare const _default: {
|
|
|
140
140
|
displayName: string;
|
|
141
141
|
contextType: React.Context<string>;
|
|
142
142
|
ComposedComponent: React.ComponentType<{
|
|
143
|
-
new (props: Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
143
|
+
new (props: Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
144
144
|
placeholder?: string | undefined;
|
|
145
145
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
146
146
|
} & {} & {
|
|
@@ -152,7 +152,7 @@ declare const _default: {
|
|
|
152
152
|
getWrappedInstance(): any;
|
|
153
153
|
render(): React.JSX.Element;
|
|
154
154
|
context: unknown;
|
|
155
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
155
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
156
156
|
placeholder?: string | undefined;
|
|
157
157
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
158
158
|
} & {} & {
|
|
@@ -160,7 +160,7 @@ declare const _default: {
|
|
|
160
160
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
161
161
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
162
162
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
163
|
-
readonly props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
163
|
+
readonly props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
164
164
|
placeholder?: string | undefined;
|
|
165
165
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
166
166
|
} & {} & {
|
|
@@ -172,7 +172,7 @@ declare const _default: {
|
|
|
172
172
|
[key: string]: React.ReactInstance;
|
|
173
173
|
};
|
|
174
174
|
componentDidMount?(): void;
|
|
175
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
175
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
176
176
|
placeholder?: string | undefined;
|
|
177
177
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
178
178
|
} & {} & {
|
|
@@ -181,14 +181,14 @@ declare const _default: {
|
|
|
181
181
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
182
182
|
componentWillUnmount?(): void;
|
|
183
183
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
184
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
184
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
185
185
|
placeholder?: string | undefined;
|
|
186
186
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
187
187
|
} & {} & {
|
|
188
188
|
locale?: string | undefined;
|
|
189
189
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
190
190
|
}>, prevState: Readonly<{}>): any;
|
|
191
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
191
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
192
192
|
placeholder?: string | undefined;
|
|
193
193
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
194
194
|
} & {} & {
|
|
@@ -197,28 +197,28 @@ declare const _default: {
|
|
|
197
197
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
198
198
|
componentWillMount?(): void;
|
|
199
199
|
UNSAFE_componentWillMount?(): void;
|
|
200
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
200
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
201
201
|
placeholder?: string | undefined;
|
|
202
202
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
203
203
|
} & {} & {
|
|
204
204
|
locale?: string | undefined;
|
|
205
205
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
206
206
|
}>, nextContext: any): void;
|
|
207
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
207
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
208
208
|
placeholder?: string | undefined;
|
|
209
209
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
210
210
|
} & {} & {
|
|
211
211
|
locale?: string | undefined;
|
|
212
212
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
213
213
|
}>, nextContext: any): void;
|
|
214
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
214
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
215
215
|
placeholder?: string | undefined;
|
|
216
216
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
217
217
|
} & {} & {
|
|
218
218
|
locale?: string | undefined;
|
|
219
219
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
220
220
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
221
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
221
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
222
222
|
placeholder?: string | undefined;
|
|
223
223
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
224
224
|
} & {} & {
|
|
@@ -233,7 +233,7 @@ declare const _default: {
|
|
|
233
233
|
ComposedComponent: typeof BaseResultTreeList;
|
|
234
234
|
}>;
|
|
235
235
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
236
|
-
new (props: Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
236
|
+
new (props: Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
237
237
|
placeholder?: string | undefined;
|
|
238
238
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
239
239
|
} & {} & {
|
|
@@ -245,7 +245,7 @@ declare const _default: {
|
|
|
245
245
|
getWrappedInstance(): any;
|
|
246
246
|
render(): React.JSX.Element;
|
|
247
247
|
context: unknown;
|
|
248
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
248
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
249
249
|
placeholder?: string | undefined;
|
|
250
250
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
251
251
|
} & {} & {
|
|
@@ -253,7 +253,7 @@ declare const _default: {
|
|
|
253
253
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
254
254
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
255
255
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
256
|
-
readonly props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
256
|
+
readonly props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
257
257
|
placeholder?: string | undefined;
|
|
258
258
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
259
259
|
} & {} & {
|
|
@@ -265,7 +265,7 @@ declare const _default: {
|
|
|
265
265
|
[key: string]: React.ReactInstance;
|
|
266
266
|
};
|
|
267
267
|
componentDidMount?(): void;
|
|
268
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
268
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
269
269
|
placeholder?: string | undefined;
|
|
270
270
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
271
271
|
} & {} & {
|
|
@@ -274,14 +274,14 @@ declare const _default: {
|
|
|
274
274
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
275
275
|
componentWillUnmount?(): void;
|
|
276
276
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
277
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
277
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
278
278
|
placeholder?: string | undefined;
|
|
279
279
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
280
280
|
} & {} & {
|
|
281
281
|
locale?: string | undefined;
|
|
282
282
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
283
283
|
}>, prevState: Readonly<{}>): any;
|
|
284
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
284
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
285
285
|
placeholder?: string | undefined;
|
|
286
286
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
287
287
|
} & {} & {
|
|
@@ -290,28 +290,28 @@ declare const _default: {
|
|
|
290
290
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
291
291
|
componentWillMount?(): void;
|
|
292
292
|
UNSAFE_componentWillMount?(): void;
|
|
293
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
293
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
294
294
|
placeholder?: string | undefined;
|
|
295
295
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
296
296
|
} & {} & {
|
|
297
297
|
locale?: string | undefined;
|
|
298
298
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
299
299
|
}>, nextContext: any): void;
|
|
300
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
300
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
301
301
|
placeholder?: string | undefined;
|
|
302
302
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
303
303
|
} & {} & {
|
|
304
304
|
locale?: string | undefined;
|
|
305
305
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
306
306
|
}>, nextContext: any): void;
|
|
307
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
307
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
308
308
|
placeholder?: string | undefined;
|
|
309
309
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
310
310
|
} & {} & {
|
|
311
311
|
locale?: string | undefined;
|
|
312
312
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
313
313
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
314
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
314
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
315
315
|
placeholder?: string | undefined;
|
|
316
316
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
317
317
|
} & {} & {
|
|
@@ -326,7 +326,7 @@ declare const _default: {
|
|
|
326
326
|
ComposedComponent: typeof BaseResultTreeList;
|
|
327
327
|
}, {}> & {
|
|
328
328
|
ComposedComponent: {
|
|
329
|
-
new (props: Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
329
|
+
new (props: Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
330
330
|
placeholder?: string | undefined;
|
|
331
331
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
332
332
|
} & {} & {
|
|
@@ -338,7 +338,7 @@ declare const _default: {
|
|
|
338
338
|
getWrappedInstance(): any;
|
|
339
339
|
render(): React.JSX.Element;
|
|
340
340
|
context: unknown;
|
|
341
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
341
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
342
342
|
placeholder?: string | undefined;
|
|
343
343
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
344
344
|
} & {} & {
|
|
@@ -346,7 +346,7 @@ declare const _default: {
|
|
|
346
346
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
347
347
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
348
348
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
349
|
-
readonly props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
349
|
+
readonly props: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
350
350
|
placeholder?: string | undefined;
|
|
351
351
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
352
352
|
} & {} & {
|
|
@@ -358,7 +358,7 @@ declare const _default: {
|
|
|
358
358
|
[key: string]: React.ReactInstance;
|
|
359
359
|
};
|
|
360
360
|
componentDidMount?(): void;
|
|
361
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
361
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
362
362
|
placeholder?: string | undefined;
|
|
363
363
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
364
364
|
} & {} & {
|
|
@@ -367,14 +367,14 @@ declare const _default: {
|
|
|
367
367
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
368
368
|
componentWillUnmount?(): void;
|
|
369
369
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
370
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
370
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
371
371
|
placeholder?: string | undefined;
|
|
372
372
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
373
373
|
} & {} & {
|
|
374
374
|
locale?: string | undefined;
|
|
375
375
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
376
376
|
}>, prevState: Readonly<{}>): any;
|
|
377
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
377
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
378
378
|
placeholder?: string | undefined;
|
|
379
379
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
380
380
|
} & {} & {
|
|
@@ -383,28 +383,28 @@ declare const _default: {
|
|
|
383
383
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
384
384
|
componentWillMount?(): void;
|
|
385
385
|
UNSAFE_componentWillMount?(): void;
|
|
386
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
386
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
387
387
|
placeholder?: string | undefined;
|
|
388
388
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
389
389
|
} & {} & {
|
|
390
390
|
locale?: string | undefined;
|
|
391
391
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
392
392
|
}>, nextContext: any): void;
|
|
393
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
393
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
394
394
|
placeholder?: string | undefined;
|
|
395
395
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
396
396
|
} & {} & {
|
|
397
397
|
locale?: string | undefined;
|
|
398
398
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
399
399
|
}>, nextContext: any): void;
|
|
400
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
400
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
401
401
|
placeholder?: string | undefined;
|
|
402
402
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
403
403
|
} & {} & {
|
|
404
404
|
locale?: string | undefined;
|
|
405
405
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
406
406
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
407
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "
|
|
407
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ResultTreeListProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "title" | "disabled" | "value" | "multiple" | "onChange" | "onClick" | "inline" | "loadingConfig" | "itemClassName" | "labelClassName" | "labelField" | "valueField" | "itemHeight" | "options" | "clearable" | "searchable" | "checkAll" | "checkAllLabel" | "virtualThreshold" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "virtualListHeight" | "placeholderRender" | "onSearch" | "searchPlaceholder" | "cellRender"> & {
|
|
408
408
|
placeholder?: string | undefined;
|
|
409
409
|
itemRender?: ((option: Option, states: ItemRenderStates) => JSX.Element) | undefined;
|
|
410
410
|
} & {} & {
|