amis-ui 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.d.ts +10 -10
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +10 -10
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +10 -10
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +20 -20
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +10 -10
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +10 -10
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +10 -10
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +10 -10
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +10 -10
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +10 -10
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +11 -18
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +11 -11
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +12 -11
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +10 -10
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +10 -10
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +10 -10
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +10 -10
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +10 -10
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.d.ts +10 -10
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +22 -10
- package/esm/components/Collapse.js +5 -3
- package/esm/components/CollapseGroup.d.ts +10 -10
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +10 -10
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +10 -12
- package/esm/components/Combo.js +8 -7
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +10 -10
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +10 -10
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +28 -14
- package/esm/components/DateRangePicker.js +36 -11
- package/esm/components/DndContainer.d.ts +40 -40
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +22 -20
- package/esm/components/Drawer.js +4 -4
- package/esm/components/DropDownSelection.d.ts +10 -10
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.d.ts +10 -10
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +1 -1
- package/esm/components/Form.js +28 -24
- package/esm/components/FormField.d.ts +19 -19
- package/esm/components/FormField.js +9 -6
- package/esm/components/GaodeMapPicker.d.ts +10 -10
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +10 -10
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +10 -10
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +10 -10
- package/esm/components/ImageGallery.js +3 -3
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +2 -2
- package/esm/components/InputBoxWithSuggestion.d.ts +10 -10
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.d.ts +36 -14
- package/esm/components/InputTable.js +33 -14
- package/esm/components/Layout.d.ts +10 -10
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +10 -10
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +20 -20
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +10 -10
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +10 -10
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +92 -90
- package/esm/components/Modal.js +13 -4
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +10 -10
- package/esm/components/MultilineText.d.ts +10 -10
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +10 -10
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.d.ts +12 -12
- package/esm/components/Pagination.js +5 -5
- package/esm/components/Picker.d.ts +10 -10
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +10 -10
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +10 -10
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +10 -10
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +10 -10
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +10 -10
- 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 +10 -14
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.d.ts +10 -10
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +10 -10
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +10 -10
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +10 -10
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +10 -10
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +10 -10
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +163 -163
- package/esm/components/Select.js +3 -2
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.d.ts +10 -10
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +10 -10
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +10 -10
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.d.ts +10 -10
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +10 -10
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +10 -10
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +60 -60
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +10 -10
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.d.ts +10 -10
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +20 -20
- package/esm/components/Tag.js +3 -3
- package/esm/components/Textarea.d.ts +10 -10
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +10 -10
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +10 -10
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +10 -10
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +10 -10
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.d.ts +10 -10
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +10 -10
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +29 -29
- package/esm/components/Transfer.js +7 -5
- package/esm/components/TransferDropDown.d.ts +10 -10
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +10 -10
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +10 -10
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +10 -10
- package/esm/components/Tree.js +1 -1
- package/esm/components/TreeSelection.d.ts +10 -10
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +10 -10
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +10 -10
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +4 -2
- package/esm/components/calendar/Calendar.js +2 -2
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +2 -1
- package/esm/components/calendar/DaysView.js +5 -4
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +10 -10
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +10 -10
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +10 -10
- package/esm/components/condition-builder/Func.d.ts +10 -10
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +10 -10
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +10 -10
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +10 -10
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +10 -10
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.d.ts +10 -10
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +10 -10
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.d.ts +10 -10
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.d.ts +10 -10
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.d.ts +10 -10
- package/esm/components/formula/Input.js +9 -1
- package/esm/components/formula/Picker.d.ts +13 -10
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.d.ts +10 -10
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +3 -3
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +10 -10
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +10 -10
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.d.ts +11 -10
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +15 -10
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.d.ts +40 -40
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +40 -40
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +10 -10
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +10 -10
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +10 -10
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +10 -10
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +10 -10
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +10 -10
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +10 -10
- package/esm/components/table/index.js +6 -8
- 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 +2 -2
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +4 -2
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +2 -1
- package/esm/locale/en-US.js +2 -1
- package/esm/locale/zh-CN.js +2 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.d.ts +10 -10
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +130 -130
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +30 -30
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +40 -40
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +50 -50
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +20 -20
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +90 -90
- 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.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +10 -10
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +10 -10
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +11 -18
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +31 -31
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +52 -51
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +110 -110
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +10 -10
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +90 -90
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +90 -90
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +20 -20
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.d.ts +10 -10
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +132 -120
- package/lib/components/Collapse.js +5 -3
- package/lib/components/CollapseGroup.d.ts +30 -30
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +90 -90
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +10 -12
- package/lib/components/Combo.js +8 -7
- package/lib/components/ConfirmBox.d.ts +120 -120
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +10 -10
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +131 -131
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +308 -294
- package/lib/components/DateRangePicker.js +36 -11
- package/lib/components/DndContainer.d.ts +40 -40
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +42 -40
- package/lib/components/Drawer.js +4 -4
- package/lib/components/DropDownSelection.d.ts +90 -90
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +130 -130
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +1 -1
- package/lib/components/Form.js +28 -24
- package/lib/components/FormField.d.ts +19 -19
- package/lib/components/FormField.js +14 -7
- package/lib/components/GaodeMapPicker.d.ts +10 -10
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +90 -90
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +10 -10
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +50 -50
- package/lib/components/ImageGallery.js +3 -3
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +26 -26
- package/lib/components/InputBox.js +2 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +10 -10
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.d.ts +36 -14
- package/lib/components/InputTable.js +33 -14
- package/lib/components/Layout.d.ts +20 -20
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +10 -10
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +20 -20
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +90 -90
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +90 -90
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +132 -130
- package/lib/components/Modal.js +13 -4
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +210 -210
- package/lib/components/MultilineText.d.ts +50 -50
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +36 -36
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +92 -92
- package/lib/components/Pagination.js +5 -5
- package/lib/components/Picker.d.ts +10 -10
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +10 -10
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +10 -10
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +90 -90
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +60 -60
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +10 -10
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +40 -40
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +10 -14
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +50 -50
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +130 -130
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +50 -50
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +90 -90
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +50 -50
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +90 -90
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1895 -1895
- package/lib/components/Select.js +3 -2
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +90 -90
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +50 -50
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +76 -76
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.d.ts +10 -10
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +20 -20
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +90 -90
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +180 -180
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +50 -50
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.d.ts +10 -10
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +3 -3
- package/lib/components/Textarea.d.ts +50 -50
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +10 -10
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +10 -10
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +20 -20
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +90 -90
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.d.ts +10 -10
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +36 -36
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +158 -158
- package/lib/components/Transfer.js +7 -5
- package/lib/components/TransferDropDown.d.ts +130 -130
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +10 -10
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +10 -10
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +170 -170
- package/lib/components/Tree.js +1 -1
- package/lib/components/TreeSelection.d.ts +90 -90
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +90 -90
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +50 -50
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +4 -2
- package/lib/components/calendar/Calendar.js +2 -2
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +2 -1
- package/lib/components/calendar/DaysView.js +5 -4
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +10 -10
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +10 -10
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +10 -10
- package/lib/components/condition-builder/Func.d.ts +10 -10
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +10 -10
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +10 -10
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +10 -10
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +10 -10
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.d.ts +10 -10
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +10 -10
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +50 -50
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.d.ts +10 -10
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.d.ts +10 -10
- package/lib/components/formula/Input.js +9 -1
- package/lib/components/formula/Picker.d.ts +53 -50
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.d.ts +10 -10
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +3 -3
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +10 -10
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +10 -10
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.d.ts +11 -10
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +95 -90
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.d.ts +40 -40
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +40 -40
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +50 -50
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +90 -90
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +10 -10
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +50 -50
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +50 -50
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +10 -10
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +130 -130
- package/lib/components/table/index.js +6 -8
- 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 +2 -2
- package/lib/helper.css +1234 -9603
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +4 -2
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +2 -1
- package/lib/locale/en-US.js +2 -1
- package/lib/locale/zh-CN.js +2 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +522 -734
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +522 -734
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +522 -734
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +522 -734
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +522 -734
- package/package.json +5 -5
- package/scss/_components.scss +6 -2
- package/scss/components/_carousel.scss +0 -1
- package/scss/components/_chart.scss +4 -0
- package/scss/components/_collapse.scss +6 -3
- package/scss/components/_divider.scss +25 -4
- package/scss/components/_image-gallery.scss +13 -5
- package/scss/components/_images.scss +9 -0
- package/scss/components/_table.scss +33 -49
- package/scss/components/_tpl.scss +8 -0
- package/scss/components/form/_checks.scss +8 -0
- package/scss/components/form/_editor.scss +48 -48
- package/scss/components/form/_form.scss +36 -0
- package/scss/components/form/_image.scss +0 -27
- package/scss/components/form/_input-table.scss +17 -0
- package/scss/components/form/_select.scss +24 -0
- package/scss/themes/_common.scss +3 -1
|
@@ -63,7 +63,7 @@ declare const _default: {
|
|
|
63
63
|
} & {} & {
|
|
64
64
|
locale?: string | undefined;
|
|
65
65
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
66
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
66
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
67
67
|
ref: any;
|
|
68
68
|
childRef(ref: any): void;
|
|
69
69
|
getWrappedInstance(): any;
|
|
@@ -78,7 +78,7 @@ declare const _default: {
|
|
|
78
78
|
} & {} & {
|
|
79
79
|
locale?: string | undefined;
|
|
80
80
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
81
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
81
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
82
82
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
83
83
|
readonly props: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "showIcon"> & {
|
|
84
84
|
items?: Item[] | undefined;
|
|
@@ -89,7 +89,7 @@ declare const _default: {
|
|
|
89
89
|
} & {} & {
|
|
90
90
|
locale?: string | undefined;
|
|
91
91
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
92
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
92
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
93
93
|
state: Readonly<{}>;
|
|
94
94
|
refs: {
|
|
95
95
|
[key: string]: React.ReactInstance;
|
|
@@ -104,7 +104,7 @@ declare const _default: {
|
|
|
104
104
|
} & {} & {
|
|
105
105
|
locale?: string | undefined;
|
|
106
106
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
107
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
107
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
108
108
|
componentWillUnmount?(): void;
|
|
109
109
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
110
110
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "showIcon"> & {
|
|
@@ -116,7 +116,7 @@ declare const _default: {
|
|
|
116
116
|
} & {} & {
|
|
117
117
|
locale?: string | undefined;
|
|
118
118
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
119
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
119
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
120
120
|
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "showIcon"> & {
|
|
121
121
|
items?: Item[] | undefined;
|
|
122
122
|
position?: "center" | "top-right" | "top-center" | "top-left" | "bottom-center" | "bottom-left" | "bottom-right" | undefined;
|
|
@@ -126,7 +126,7 @@ declare const _default: {
|
|
|
126
126
|
} & {} & {
|
|
127
127
|
locale?: string | undefined;
|
|
128
128
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
129
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
129
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
130
130
|
componentWillMount?(): void;
|
|
131
131
|
UNSAFE_componentWillMount?(): void;
|
|
132
132
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "showIcon"> & {
|
|
@@ -138,7 +138,7 @@ declare const _default: {
|
|
|
138
138
|
} & {} & {
|
|
139
139
|
locale?: string | undefined;
|
|
140
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
141
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
141
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
142
142
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "showIcon"> & {
|
|
143
143
|
items?: Item[] | undefined;
|
|
144
144
|
position?: "center" | "top-right" | "top-center" | "top-left" | "bottom-center" | "bottom-left" | "bottom-right" | undefined;
|
|
@@ -148,7 +148,7 @@ declare const _default: {
|
|
|
148
148
|
} & {} & {
|
|
149
149
|
locale?: string | undefined;
|
|
150
150
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
151
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
151
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
152
152
|
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "showIcon"> & {
|
|
153
153
|
items?: Item[] | undefined;
|
|
154
154
|
position?: "center" | "top-right" | "top-center" | "top-left" | "bottom-center" | "bottom-left" | "bottom-right" | undefined;
|
|
@@ -158,7 +158,7 @@ declare const _default: {
|
|
|
158
158
|
} & {} & {
|
|
159
159
|
locale?: string | undefined;
|
|
160
160
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
161
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
161
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
162
162
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ToastComponentProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "showIcon"> & {
|
|
163
163
|
items?: Item[] | undefined;
|
|
164
164
|
position?: "center" | "top-right" | "top-center" | "top-left" | "bottom-center" | "bottom-left" | "bottom-right" | undefined;
|
|
@@ -168,7 +168,7 @@ declare const _default: {
|
|
|
168
168
|
} & {} & {
|
|
169
169
|
locale?: string | undefined;
|
|
170
170
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
171
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
171
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
172
172
|
};
|
|
173
173
|
displayName: string;
|
|
174
174
|
contextType: React.Context<string>;
|
package/esm/components/Toast.js
CHANGED
|
@@ -29,31 +29,31 @@ export declare class Tooltip extends React.Component<TooltipProps> {
|
|
|
29
29
|
render(): React.JSX.Element;
|
|
30
30
|
}
|
|
31
31
|
declare const _default: {
|
|
32
|
-
new (props: Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
32
|
+
new (props: Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
33
33
|
ref: any;
|
|
34
34
|
childRef(ref: any): void;
|
|
35
35
|
getWrappedInstance(): any;
|
|
36
36
|
render(): React.JSX.Element;
|
|
37
37
|
context: unknown;
|
|
38
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
38
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
39
39
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
40
|
-
readonly props: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
40
|
+
readonly props: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
41
41
|
state: Readonly<{}>;
|
|
42
42
|
refs: {
|
|
43
43
|
[key: string]: React.ReactInstance;
|
|
44
44
|
};
|
|
45
45
|
componentDidMount?(): void;
|
|
46
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
46
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
47
47
|
componentWillUnmount?(): void;
|
|
48
48
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
49
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
50
|
-
componentDidUpdate?(prevProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
49
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
50
|
+
componentDidUpdate?(prevProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
51
51
|
componentWillMount?(): void;
|
|
52
52
|
UNSAFE_componentWillMount?(): void;
|
|
53
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
54
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
55
|
-
componentWillUpdate?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
56
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").
|
|
53
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
54
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
55
|
+
componentWillUpdate?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
56
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TooltipProps, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
57
57
|
};
|
|
58
58
|
displayName: string;
|
|
59
59
|
contextType: React.Context<string>;
|
|
@@ -132,7 +132,7 @@ declare const _default: {
|
|
|
132
132
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
133
133
|
trigger?: Trigger | Trigger[] | undefined;
|
|
134
134
|
rootClose?: boolean | undefined;
|
|
135
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
135
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
136
136
|
ref: any;
|
|
137
137
|
childRef(ref: any): void;
|
|
138
138
|
getWrappedInstance(): any;
|
|
@@ -143,14 +143,14 @@ declare const _default: {
|
|
|
143
143
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
144
144
|
trigger?: Trigger | Trigger[] | undefined;
|
|
145
145
|
rootClose?: boolean | undefined;
|
|
146
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
146
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
147
147
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
148
148
|
readonly props: Readonly<Pick<Omit<TooltipWrapperProps, keyof import("amis-core").ThemeProps>, "children" | "container" | "tooltip" | "overlay" | "tooltipTheme" | "onVisibleChange" | "tooltipClassName"> & {
|
|
149
149
|
delay?: number | undefined;
|
|
150
150
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
151
151
|
trigger?: Trigger | Trigger[] | undefined;
|
|
152
152
|
rootClose?: boolean | undefined;
|
|
153
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
153
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
154
154
|
state: Readonly<{}>;
|
|
155
155
|
refs: {
|
|
156
156
|
[key: string]: React.ReactInstance;
|
|
@@ -161,7 +161,7 @@ declare const _default: {
|
|
|
161
161
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
162
162
|
trigger?: Trigger | Trigger[] | undefined;
|
|
163
163
|
rootClose?: boolean | undefined;
|
|
164
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
164
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
165
165
|
componentWillUnmount?(): void;
|
|
166
166
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
167
167
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TooltipWrapperProps, keyof import("amis-core").ThemeProps>, "children" | "container" | "tooltip" | "overlay" | "tooltipTheme" | "onVisibleChange" | "tooltipClassName"> & {
|
|
@@ -169,13 +169,13 @@ declare const _default: {
|
|
|
169
169
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
170
170
|
trigger?: Trigger | Trigger[] | undefined;
|
|
171
171
|
rootClose?: boolean | undefined;
|
|
172
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
172
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
173
173
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TooltipWrapperProps, keyof import("amis-core").ThemeProps>, "children" | "container" | "tooltip" | "overlay" | "tooltipTheme" | "onVisibleChange" | "tooltipClassName"> & {
|
|
174
174
|
delay?: number | undefined;
|
|
175
175
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
176
176
|
trigger?: Trigger | Trigger[] | undefined;
|
|
177
177
|
rootClose?: boolean | undefined;
|
|
178
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
178
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
179
179
|
componentWillMount?(): void;
|
|
180
180
|
UNSAFE_componentWillMount?(): void;
|
|
181
181
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TooltipWrapperProps, keyof import("amis-core").ThemeProps>, "children" | "container" | "tooltip" | "overlay" | "tooltipTheme" | "onVisibleChange" | "tooltipClassName"> & {
|
|
@@ -183,25 +183,25 @@ declare const _default: {
|
|
|
183
183
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
184
184
|
trigger?: Trigger | Trigger[] | undefined;
|
|
185
185
|
rootClose?: boolean | undefined;
|
|
186
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
186
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
187
187
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TooltipWrapperProps, keyof import("amis-core").ThemeProps>, "children" | "container" | "tooltip" | "overlay" | "tooltipTheme" | "onVisibleChange" | "tooltipClassName"> & {
|
|
188
188
|
delay?: number | undefined;
|
|
189
189
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
190
190
|
trigger?: Trigger | Trigger[] | undefined;
|
|
191
191
|
rootClose?: boolean | undefined;
|
|
192
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
192
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
193
193
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TooltipWrapperProps, keyof import("amis-core").ThemeProps>, "children" | "container" | "tooltip" | "overlay" | "tooltipTheme" | "onVisibleChange" | "tooltipClassName"> & {
|
|
194
194
|
delay?: number | undefined;
|
|
195
195
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
196
196
|
trigger?: Trigger | Trigger[] | undefined;
|
|
197
197
|
rootClose?: boolean | undefined;
|
|
198
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
198
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
199
199
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TooltipWrapperProps, keyof import("amis-core").ThemeProps>, "children" | "container" | "tooltip" | "overlay" | "tooltipTheme" | "onVisibleChange" | "tooltipClassName"> & {
|
|
200
200
|
delay?: number | undefined;
|
|
201
201
|
placement?: "left" | "right" | "top" | "bottom" | undefined;
|
|
202
202
|
trigger?: Trigger | Trigger[] | undefined;
|
|
203
203
|
rootClose?: boolean | undefined;
|
|
204
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
204
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
205
205
|
};
|
|
206
206
|
displayName: string;
|
|
207
207
|
contextType: React.Context<string>;
|
|
@@ -101,7 +101,7 @@ export declare class Transfer<T extends TransferProps = TransferProps> extends R
|
|
|
101
101
|
handleSeachCancel(): void;
|
|
102
102
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
103
103
|
getFlattenArr(options: Array<Option>): Option[];
|
|
104
|
-
handleSearchTreeChange(values: Array<Option>, searchOptions: Array<Option
|
|
104
|
+
handleSearchTreeChange(values: Array<Option>, searchOptions: Array<Option>, props: TransferProps): void;
|
|
105
105
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
106
106
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
107
107
|
renderSelect(props: TransferProps & {
|
|
@@ -124,7 +124,7 @@ declare const _default: {
|
|
|
124
124
|
} & {} & {
|
|
125
125
|
locale?: string | undefined;
|
|
126
126
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
127
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
127
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
128
128
|
ref: any;
|
|
129
129
|
childRef(ref: any): void;
|
|
130
130
|
getWrappedInstance(): any;
|
|
@@ -141,7 +141,7 @@ declare const _default: {
|
|
|
141
141
|
} & {} & {
|
|
142
142
|
locale?: string | undefined;
|
|
143
143
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
144
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
144
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
145
145
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
146
146
|
readonly props: Readonly<Omit<Pick<Omit<TransferProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onClick" | "disabled" | "onChange" | "loadingConfig" | "labelClassName" | "inline" | "options" | "placeholder" | "clearable" | "labelField" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "itemClassName" | "itemHeight" | "virtualListHeight" | "placeholderRender" | "checkAll" | "showArrow" | "onRef" | "showInvalidMatch" | "noResultsText" | "maxTagCount" | "overflowTagPopover" | "onlyChildren" | "selectTitle" | "columns" | "cellRender" | "leftOptions" | "leftMode" | "leftDefaultValue" | "rightMode" | "searchResultMode" | "searchResultColumns" | "searchPlaceholder" | "onSearch" | "selectRender" | "resultTitle" | "resultSearchPlaceholder" | "optionItemRender" | "resultItemRender" | "resultSearchable" | "onResultSearch" | "sortable" | "onSelectAll"> & {
|
|
147
147
|
multiple?: boolean | undefined;
|
|
@@ -154,7 +154,7 @@ declare const _default: {
|
|
|
154
154
|
} & {} & {
|
|
155
155
|
locale?: string | undefined;
|
|
156
156
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
157
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
157
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
158
158
|
state: Readonly<{}>;
|
|
159
159
|
refs: {
|
|
160
160
|
[key: string]: React.ReactInstance;
|
|
@@ -171,7 +171,7 @@ declare const _default: {
|
|
|
171
171
|
} & {} & {
|
|
172
172
|
locale?: string | undefined;
|
|
173
173
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
174
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
174
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
175
175
|
componentWillUnmount?(): void;
|
|
176
176
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
177
177
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TransferProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onClick" | "disabled" | "onChange" | "loadingConfig" | "labelClassName" | "inline" | "options" | "placeholder" | "clearable" | "labelField" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "itemClassName" | "itemHeight" | "virtualListHeight" | "placeholderRender" | "checkAll" | "showArrow" | "onRef" | "showInvalidMatch" | "noResultsText" | "maxTagCount" | "overflowTagPopover" | "onlyChildren" | "selectTitle" | "columns" | "cellRender" | "leftOptions" | "leftMode" | "leftDefaultValue" | "rightMode" | "searchResultMode" | "searchResultColumns" | "searchPlaceholder" | "onSearch" | "selectRender" | "resultTitle" | "resultSearchPlaceholder" | "optionItemRender" | "resultItemRender" | "resultSearchable" | "onResultSearch" | "sortable" | "onSelectAll"> & {
|
|
@@ -185,7 +185,7 @@ declare const _default: {
|
|
|
185
185
|
} & {} & {
|
|
186
186
|
locale?: string | undefined;
|
|
187
187
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
188
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
188
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
189
189
|
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TransferProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onClick" | "disabled" | "onChange" | "loadingConfig" | "labelClassName" | "inline" | "options" | "placeholder" | "clearable" | "labelField" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "itemClassName" | "itemHeight" | "virtualListHeight" | "placeholderRender" | "checkAll" | "showArrow" | "onRef" | "showInvalidMatch" | "noResultsText" | "maxTagCount" | "overflowTagPopover" | "onlyChildren" | "selectTitle" | "columns" | "cellRender" | "leftOptions" | "leftMode" | "leftDefaultValue" | "rightMode" | "searchResultMode" | "searchResultColumns" | "searchPlaceholder" | "onSearch" | "selectRender" | "resultTitle" | "resultSearchPlaceholder" | "optionItemRender" | "resultItemRender" | "resultSearchable" | "onResultSearch" | "sortable" | "onSelectAll"> & {
|
|
190
190
|
multiple?: boolean | undefined;
|
|
191
191
|
valueField?: string | undefined;
|
|
@@ -197,7 +197,7 @@ declare const _default: {
|
|
|
197
197
|
} & {} & {
|
|
198
198
|
locale?: string | undefined;
|
|
199
199
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
200
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
200
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
201
201
|
componentWillMount?(): void;
|
|
202
202
|
UNSAFE_componentWillMount?(): void;
|
|
203
203
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TransferProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onClick" | "disabled" | "onChange" | "loadingConfig" | "labelClassName" | "inline" | "options" | "placeholder" | "clearable" | "labelField" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "itemClassName" | "itemHeight" | "virtualListHeight" | "placeholderRender" | "checkAll" | "showArrow" | "onRef" | "showInvalidMatch" | "noResultsText" | "maxTagCount" | "overflowTagPopover" | "onlyChildren" | "selectTitle" | "columns" | "cellRender" | "leftOptions" | "leftMode" | "leftDefaultValue" | "rightMode" | "searchResultMode" | "searchResultColumns" | "searchPlaceholder" | "onSearch" | "selectRender" | "resultTitle" | "resultSearchPlaceholder" | "optionItemRender" | "resultItemRender" | "resultSearchable" | "onResultSearch" | "sortable" | "onSelectAll"> & {
|
|
@@ -211,7 +211,7 @@ declare const _default: {
|
|
|
211
211
|
} & {} & {
|
|
212
212
|
locale?: string | undefined;
|
|
213
213
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
214
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
214
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
215
215
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TransferProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onClick" | "disabled" | "onChange" | "loadingConfig" | "labelClassName" | "inline" | "options" | "placeholder" | "clearable" | "labelField" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "itemClassName" | "itemHeight" | "virtualListHeight" | "placeholderRender" | "checkAll" | "showArrow" | "onRef" | "showInvalidMatch" | "noResultsText" | "maxTagCount" | "overflowTagPopover" | "onlyChildren" | "selectTitle" | "columns" | "cellRender" | "leftOptions" | "leftMode" | "leftDefaultValue" | "rightMode" | "searchResultMode" | "searchResultColumns" | "searchPlaceholder" | "onSearch" | "selectRender" | "resultTitle" | "resultSearchPlaceholder" | "optionItemRender" | "resultItemRender" | "resultSearchable" | "onResultSearch" | "sortable" | "onSelectAll"> & {
|
|
216
216
|
multiple?: boolean | undefined;
|
|
217
217
|
valueField?: string | undefined;
|
|
@@ -223,7 +223,7 @@ declare const _default: {
|
|
|
223
223
|
} & {} & {
|
|
224
224
|
locale?: string | undefined;
|
|
225
225
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
226
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
226
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
227
227
|
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TransferProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onClick" | "disabled" | "onChange" | "loadingConfig" | "labelClassName" | "inline" | "options" | "placeholder" | "clearable" | "labelField" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "itemClassName" | "itemHeight" | "virtualListHeight" | "placeholderRender" | "checkAll" | "showArrow" | "onRef" | "showInvalidMatch" | "noResultsText" | "maxTagCount" | "overflowTagPopover" | "onlyChildren" | "selectTitle" | "columns" | "cellRender" | "leftOptions" | "leftMode" | "leftDefaultValue" | "rightMode" | "searchResultMode" | "searchResultColumns" | "searchPlaceholder" | "onSearch" | "selectRender" | "resultTitle" | "resultSearchPlaceholder" | "optionItemRender" | "resultItemRender" | "resultSearchable" | "onResultSearch" | "sortable" | "onSelectAll"> & {
|
|
228
228
|
multiple?: boolean | undefined;
|
|
229
229
|
valueField?: string | undefined;
|
|
@@ -235,7 +235,7 @@ declare const _default: {
|
|
|
235
235
|
} & {} & {
|
|
236
236
|
locale?: string | undefined;
|
|
237
237
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
238
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
238
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
239
239
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TransferProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onClick" | "disabled" | "onChange" | "loadingConfig" | "labelClassName" | "inline" | "options" | "placeholder" | "clearable" | "labelField" | "onDeferLoad" | "onLeftDeferLoad" | "option2value" | "itemClassName" | "itemHeight" | "virtualListHeight" | "placeholderRender" | "checkAll" | "showArrow" | "onRef" | "showInvalidMatch" | "noResultsText" | "maxTagCount" | "overflowTagPopover" | "onlyChildren" | "selectTitle" | "columns" | "cellRender" | "leftOptions" | "leftMode" | "leftDefaultValue" | "rightMode" | "searchResultMode" | "searchResultColumns" | "searchPlaceholder" | "onSearch" | "selectRender" | "resultTitle" | "resultSearchPlaceholder" | "optionItemRender" | "resultItemRender" | "resultSearchable" | "onResultSearch" | "sortable" | "onSelectAll"> & {
|
|
240
240
|
multiple?: boolean | undefined;
|
|
241
241
|
valueField?: string | undefined;
|
|
@@ -247,7 +247,7 @@ declare const _default: {
|
|
|
247
247
|
} & {} & {
|
|
248
248
|
locale?: string | undefined;
|
|
249
249
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
250
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
250
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
251
251
|
};
|
|
252
252
|
displayName: string;
|
|
253
253
|
contextType: React.Context<string>;
|
|
@@ -415,7 +415,7 @@ declare const _default: {
|
|
|
415
415
|
handleSeachCancel(): void;
|
|
416
416
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
417
417
|
getFlattenArr(options: Option[]): Option[];
|
|
418
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
418
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
419
419
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
420
420
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
421
421
|
renderSelect(props: TransferProps & {
|
|
@@ -467,7 +467,7 @@ declare const _default: {
|
|
|
467
467
|
handleSeachCancel(): void;
|
|
468
468
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
469
469
|
getFlattenArr(options: Option[]): Option[];
|
|
470
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
470
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
471
471
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
472
472
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
473
473
|
renderSelect(props: TransferProps & {
|
|
@@ -527,7 +527,7 @@ declare const _default: {
|
|
|
527
527
|
handleSeachCancel(): void;
|
|
528
528
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
529
529
|
getFlattenArr(options: Option[]): Option[];
|
|
530
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
530
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
531
531
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
532
532
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
533
533
|
renderSelect(props: TransferProps & {
|
|
@@ -579,7 +579,7 @@ declare const _default: {
|
|
|
579
579
|
handleSeachCancel(): void;
|
|
580
580
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
581
581
|
getFlattenArr(options: Option[]): Option[];
|
|
582
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
582
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
583
583
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
584
584
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
585
585
|
renderSelect(props: TransferProps & {
|
|
@@ -639,7 +639,7 @@ declare const _default: {
|
|
|
639
639
|
handleSeachCancel(): void;
|
|
640
640
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
641
641
|
getFlattenArr(options: Option[]): Option[];
|
|
642
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
642
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
643
643
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
644
644
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
645
645
|
renderSelect(props: TransferProps & {
|
|
@@ -691,7 +691,7 @@ declare const _default: {
|
|
|
691
691
|
handleSeachCancel(): void;
|
|
692
692
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
693
693
|
getFlattenArr(options: Option[]): Option[];
|
|
694
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
694
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
695
695
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
696
696
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
697
697
|
renderSelect(props: TransferProps & {
|
|
@@ -891,7 +891,7 @@ declare const _default: {
|
|
|
891
891
|
handleSeachCancel(): void;
|
|
892
892
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
893
893
|
getFlattenArr(options: Option[]): Option[];
|
|
894
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
894
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
895
895
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
896
896
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
897
897
|
renderSelect(props: TransferProps & {
|
|
@@ -943,7 +943,7 @@ declare const _default: {
|
|
|
943
943
|
handleSeachCancel(): void;
|
|
944
944
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
945
945
|
getFlattenArr(options: Option[]): Option[];
|
|
946
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
946
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
947
947
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
948
948
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
949
949
|
renderSelect(props: TransferProps & {
|
|
@@ -1003,7 +1003,7 @@ declare const _default: {
|
|
|
1003
1003
|
handleSeachCancel(): void;
|
|
1004
1004
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1005
1005
|
getFlattenArr(options: Option[]): Option[];
|
|
1006
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1006
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1007
1007
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1008
1008
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1009
1009
|
renderSelect(props: TransferProps & {
|
|
@@ -1055,7 +1055,7 @@ declare const _default: {
|
|
|
1055
1055
|
handleSeachCancel(): void;
|
|
1056
1056
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1057
1057
|
getFlattenArr(options: Option[]): Option[];
|
|
1058
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1058
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1059
1059
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1060
1060
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1061
1061
|
renderSelect(props: TransferProps & {
|
|
@@ -1115,7 +1115,7 @@ declare const _default: {
|
|
|
1115
1115
|
handleSeachCancel(): void;
|
|
1116
1116
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1117
1117
|
getFlattenArr(options: Option[]): Option[];
|
|
1118
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1118
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1119
1119
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1120
1120
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1121
1121
|
renderSelect(props: TransferProps & {
|
|
@@ -1167,7 +1167,7 @@ declare const _default: {
|
|
|
1167
1167
|
handleSeachCancel(): void;
|
|
1168
1168
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1169
1169
|
getFlattenArr(options: Option[]): Option[];
|
|
1170
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1170
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1171
1171
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1172
1172
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1173
1173
|
renderSelect(props: TransferProps & {
|
|
@@ -1367,7 +1367,7 @@ declare const _default: {
|
|
|
1367
1367
|
handleSeachCancel(): void;
|
|
1368
1368
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1369
1369
|
getFlattenArr(options: Option[]): Option[];
|
|
1370
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1370
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1371
1371
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1372
1372
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1373
1373
|
renderSelect(props: TransferProps & {
|
|
@@ -1419,7 +1419,7 @@ declare const _default: {
|
|
|
1419
1419
|
handleSeachCancel(): void;
|
|
1420
1420
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1421
1421
|
getFlattenArr(options: Option[]): Option[];
|
|
1422
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1422
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1423
1423
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1424
1424
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1425
1425
|
renderSelect(props: TransferProps & {
|
|
@@ -1479,7 +1479,7 @@ declare const _default: {
|
|
|
1479
1479
|
handleSeachCancel(): void;
|
|
1480
1480
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1481
1481
|
getFlattenArr(options: Option[]): Option[];
|
|
1482
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1482
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1483
1483
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1484
1484
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1485
1485
|
renderSelect(props: TransferProps & {
|
|
@@ -1531,7 +1531,7 @@ declare const _default: {
|
|
|
1531
1531
|
handleSeachCancel(): void;
|
|
1532
1532
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1533
1533
|
getFlattenArr(options: Option[]): Option[];
|
|
1534
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1534
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1535
1535
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1536
1536
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1537
1537
|
renderSelect(props: TransferProps & {
|
|
@@ -1591,7 +1591,7 @@ declare const _default: {
|
|
|
1591
1591
|
handleSeachCancel(): void;
|
|
1592
1592
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1593
1593
|
getFlattenArr(options: Option[]): Option[];
|
|
1594
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1594
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1595
1595
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1596
1596
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1597
1597
|
renderSelect(props: TransferProps & {
|
|
@@ -1643,7 +1643,7 @@ declare const _default: {
|
|
|
1643
1643
|
handleSeachCancel(): void;
|
|
1644
1644
|
lazySearch: import("lodash").DebouncedFunc<() => Promise<void>>;
|
|
1645
1645
|
getFlattenArr(options: Option[]): Option[];
|
|
1646
|
-
handleSearchTreeChange(values: Option[], searchOptions: Option[]): void;
|
|
1646
|
+
handleSearchTreeChange(values: Option[], searchOptions: Option[], props: TransferProps): void;
|
|
1647
1647
|
optionItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1648
1648
|
resultItemRender(option: Option, states: ItemRenderStates): React.JSX.Element;
|
|
1649
1649
|
renderSelect(props: TransferProps & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.4.
|
|
2
|
+
* amis-ui v3.4.1
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -201,8 +201,9 @@ var Transfer = /** @class */ (function (_super) {
|
|
|
201
201
|
});
|
|
202
202
|
};
|
|
203
203
|
// 树搜索处理
|
|
204
|
-
Transfer.prototype.handleSearchTreeChange = function (values, searchOptions) {
|
|
205
|
-
|
|
204
|
+
Transfer.prototype.handleSearchTreeChange = function (values, searchOptions, props) {
|
|
205
|
+
/** TransferDropDown的renderSearchResult&renderOptions中对一些属性覆写了 */
|
|
206
|
+
var value = props.value, _a = props.valueField, valueField = _a === void 0 ? 'value' : _a, multiple = props.multiple, onChange = props.onChange;
|
|
206
207
|
var searchAvailableOptions = this.getFlattenArr(searchOptions);
|
|
207
208
|
values = Array.isArray(values) ? values : values ? [values] : [];
|
|
208
209
|
var useArr = intersectionWith(searchAvailableOptions, values, function (a, b) { return a[valueField] === b[valueField]; });
|
|
@@ -282,7 +283,7 @@ var Transfer = /** @class */ (function (_super) {
|
|
|
282
283
|
var treeItemRender = !searchResult || optionItemRender ? this.optionItemRender : undefined;
|
|
283
284
|
var highlightTxt = searchResult ? inputValue : undefined;
|
|
284
285
|
return mode === 'table' ? (React__default.createElement(TableCheckboxes, { placeholder: noResultsText, className: cx('Transfer-selection'), columns: resultColumns, options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, cellRender: cellRender, itemRender: this.optionItemRender, valueField: valueField, multiple: multiple, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight })) : mode === 'tree' ? (React__default.createElement(Tree, { ref: this.domRef, placeholder: noResultsText, className: cx('Transfer-selection'), options: options, value: value, disabled: disabled, onChange: function (value) {
|
|
285
|
-
return _this.handleSearchTreeChange(value, options);
|
|
286
|
+
return _this.handleSearchTreeChange(value, options, props);
|
|
286
287
|
}, joinValues: false, showIcon: false, multiple: multiple, cascade: true, onlyChildren: onlyChildren !== null && onlyChildren !== void 0 ? onlyChildren : !isTreeDeferLoad, highlightTxt: highlightTxt, itemRender: treeItemRender, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, checkAllLabel: checkAllLabel, checkAll: checkAll })) : mode === 'chained' ? (React__default.createElement(ChainedCheckboxes, { placeholder: noResultsText, className: cx('Transfer-selection'), options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, itemRender: this.optionItemRender, multiple: multiple, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, checkAllLabel: checkAllLabel, checkAll: checkAll })) : (React__default.createElement(GroupedSelection, { placeholder: noResultsText, className: cx('Transfer-selection'), options: options, value: value, disabled: disabled, onChange: onChange, option2value: option2value, itemRender: this.optionItemRender, multiple: multiple, labelField: labelField, valueField: valueField, virtualThreshold: virtualThreshold, itemHeight: itemHeight, virtualListHeight: virtualListHeight, checkAllLabel: checkAllLabel, checkAll: checkAll }));
|
|
287
288
|
};
|
|
288
289
|
Transfer.prototype.renderOptions = function (props) {
|
|
@@ -381,7 +382,8 @@ var Transfer = /** @class */ (function (_super) {
|
|
|
381
382
|
__decorate([
|
|
382
383
|
autobind,
|
|
383
384
|
__metadata("design:type", Function),
|
|
384
|
-
__metadata("design:paramtypes", [Array,
|
|
385
|
+
__metadata("design:paramtypes", [Array,
|
|
386
|
+
Array, Object]),
|
|
385
387
|
__metadata("design:returntype", void 0)
|
|
386
388
|
], Transfer.prototype, "handleSearchTreeChange", null);
|
|
387
389
|
__decorate([
|