amis-ui 3.5.2 → 3.6.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/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +11 -10
- package/esm/components/Alert2.js +3 -2
- 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.d.ts +40 -40
- package/esm/components/AssociatedSelection.js +7 -7
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +3 -1
- package/esm/components/BaiduMapPicker.js +37 -18
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +10 -10
- package/esm/components/Button.js +1 -1
- 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.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +40 -40
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +40 -40
- package/esm/components/ChainedSelection.js +6 -6
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +52 -41
- package/esm/components/DatePicker.js +114 -27
- package/esm/components/DateRangePicker.d.ts +18 -10
- package/esm/components/DateRangePicker.js +39 -11
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +3 -2
- package/esm/components/DropDownSelection.d.ts +40 -40
- package/esm/components/DropDownSelection.js +1 -1
- 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.d.ts +40 -40
- 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 +10 -10
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +84 -40
- package/esm/components/LocationPicker.js +7 -6
- package/esm/components/Markdown.js +11 -1
- package/esm/components/Modal.d.ts +54 -0
- package/esm/components/Modal.js +93 -7
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.d.ts +40 -41
- package/esm/components/Pagination.js +9 -18
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +9 -3
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +40 -40
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +40 -40
- 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 +13 -4
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +4 -0
- package/esm/components/Select.js +44 -40
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.d.ts +41 -40
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +44 -42
- package/esm/components/SparkLine.js +4 -4
- package/esm/components/Spinner.d.ts +13 -0
- package/esm/components/Spinner.js +8 -6
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +15 -10
- package/esm/components/Switch.js +13 -5
- package/esm/components/TableSelection.d.ts +40 -40
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +1 -0
- package/esm/components/Tabs.js +2 -2
- package/esm/components/TabsTransfer.d.ts +40 -40
- package/esm/components/TabsTransfer.js +3 -3
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +6 -2
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.d.ts +2 -1
- package/esm/components/Tinymce.js +30 -15
- 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 +11 -10
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +96 -40
- package/esm/components/Transfer.js +25 -11
- package/esm/components/TransferDropDown.d.ts +40 -40
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +51 -3
- package/esm/components/Tree.js +12 -11
- package/esm/components/TreeSelection.d.ts +40 -40
- package/esm/components/TreeSelection.js +11 -11
- package/esm/components/UserSelect.d.ts +42 -0
- package/esm/components/UserSelect.js +5 -4
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +14 -2
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +9 -1
- package/esm/components/calendar/Calendar.js +27 -5
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +11 -0
- package/esm/components/calendar/DaysView.js +44 -8
- package/esm/components/calendar/MonthsView.d.ts +5 -0
- package/esm/components/calendar/MonthsView.js +18 -3
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +6 -2
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +7 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +2 -2
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +23 -6
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +17 -17
- package/esm/components/menu/index.js +5 -4
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +3 -455
- package/esm/components/table/Cell.js +6 -8
- package/esm/components/table/ColGroup.d.ts +8 -3
- package/esm/components/table/ColGroup.js +28 -22
- package/esm/components/table/Head.d.ts +42 -0
- package/esm/components/table/Head.js +142 -0
- package/esm/components/table/HeadCellDropDown.d.ts +1 -1
- package/esm/components/table/HeadCellDropDown.js +5 -3
- package/esm/components/table/HeadCellFilter.d.ts +41 -41
- package/esm/components/table/HeadCellFilter.js +2 -2
- package/esm/components/table/HeadCellSelect.d.ts +1 -1
- package/esm/components/table/HeadCellSelect.js +2 -2
- package/esm/components/table/HeadCellSort.d.ts +1 -1
- package/esm/components/table/HeadCellSort.js +2 -2
- package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
- package/esm/components/table/ItemActionsWrapper.js +2 -2
- package/esm/components/table/Row.d.ts +60 -0
- package/esm/components/table/Row.js +183 -0
- package/esm/components/table/SummaryRow.d.ts +28 -0
- package/esm/components/table/SummaryRow.js +73 -0
- package/esm/components/table/index.d.ts +62 -67
- package/esm/components/table/index.js +347 -646
- package/esm/components/table/util.d.ts +54 -0
- package/esm/components/table/util.js +207 -0
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +4 -1
- package/esm/locale/en-US.js +4 -1
- package/esm/locale/zh-CN.js +4 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +120 -120
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +21 -20
- package/lib/components/Alert2.js +3 -2
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +7 -7
- package/lib/components/Avatar.d.ts +90 -90
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +3 -1
- package/lib/components/BaiduMapPicker.js +37 -18
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +100 -100
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +6 -6
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +120 -120
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +80 -80
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +132 -121
- package/lib/components/DatePicker.js +112 -25
- package/lib/components/DateRangePicker.d.ts +338 -330
- package/lib/components/DateRangePicker.js +39 -11
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +3 -2
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +1 -1
- 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 +80 -80
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +80 -80
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +84 -40
- package/lib/components/LocationPicker.js +7 -6
- package/lib/components/Markdown.js +11 -1
- package/lib/components/Modal.d.ts +134 -80
- package/lib/components/Modal.js +93 -5
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +160 -160
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +30 -30
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +80 -81
- package/lib/components/Pagination.js +8 -17
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +80 -80
- 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.js +1 -1
- package/lib/components/Radios.d.ts +40 -40
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +9 -3
- package/lib/components/Rating.d.ts +20 -20
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +80 -80
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +13 -4
- package/lib/components/SearchBox.d.ts +120 -120
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1741 -1738
- package/lib/components/Select.js +44 -40
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +81 -80
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +44 -42
- package/lib/components/SparkLine.js +3 -3
- package/lib/components/Spinner.d.ts +73 -60
- package/lib/components/Spinner.js +8 -6
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +15 -10
- package/lib/components/Switch.js +13 -5
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +81 -80
- package/lib/components/Tabs.js +2 -2
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +3 -3
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +60 -60
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +6 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.d.ts +2 -1
- package/lib/components/Tinymce.js +29 -14
- package/lib/components/TitleBar.d.ts +10 -10
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +80 -80
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +31 -30
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +225 -169
- package/lib/components/Transfer.js +25 -11
- package/lib/components/TransferDropDown.d.ts +160 -160
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +291 -243
- package/lib/components/Tree.js +12 -11
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +11 -11
- package/lib/components/UserSelect.d.ts +82 -40
- package/lib/components/UserSelect.js +5 -4
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +0 -1
- package/lib/components/WithRemoteConfig.js +14 -2
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +9 -1
- package/lib/components/calendar/Calendar.js +27 -5
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +11 -0
- package/lib/components/calendar/DaysView.js +44 -8
- package/lib/components/calendar/MonthsView.d.ts +5 -0
- package/lib/components/calendar/MonthsView.js +18 -3
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +6 -2
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +7 -1
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +2 -2
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +22 -5
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +77 -77
- package/lib/components/menu/index.js +5 -5
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +3 -455
- package/lib/components/table/Cell.js +6 -9
- package/lib/components/table/ColGroup.d.ts +8 -3
- package/lib/components/table/ColGroup.js +28 -23
- package/lib/components/table/Head.d.ts +42 -0
- package/lib/components/table/Head.js +149 -0
- package/lib/components/table/HeadCellDropDown.d.ts +1 -1
- package/lib/components/table/HeadCellDropDown.js +5 -3
- package/lib/components/table/HeadCellFilter.d.ts +81 -81
- package/lib/components/table/HeadCellFilter.js +2 -2
- package/lib/components/table/HeadCellSelect.d.ts +41 -41
- package/lib/components/table/HeadCellSelect.js +2 -2
- package/lib/components/table/HeadCellSort.d.ts +1 -1
- package/lib/components/table/HeadCellSort.js +2 -2
- package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
- package/lib/components/table/ItemActionsWrapper.js +2 -2
- package/lib/components/table/Row.d.ts +60 -0
- package/lib/components/table/Row.js +190 -0
- package/lib/components/table/SummaryRow.d.ts +28 -0
- package/lib/components/table/SummaryRow.js +81 -0
- package/lib/components/table/index.d.ts +62 -67
- package/lib/components/table/index.js +344 -644
- package/lib/components/table/util.d.ts +54 -0
- package/lib/components/table/util.js +227 -0
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +4 -1
- package/lib/locale/en-US.js +4 -1
- package/lib/locale/zh-CN.js +4 -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 +220 -69
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +222 -71
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +220 -69
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +220 -69
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +220 -69
- package/package.json +5 -6
- package/scss/_components.scss +22 -14
- package/scss/_properties.scss +7 -11
- package/scss/base/_common.scss +8 -0
- package/scss/components/_alert.scss +4 -0
- package/scss/components/_audio.scss +1 -1
- package/scss/components/_card.scss +2 -1
- package/scss/components/_dropdown.scss +4 -2
- package/scss/components/_menu.scss +7 -2
- package/scss/components/_modal.scss +4 -0
- package/scss/components/_page.scss +6 -6
- package/scss/components/_pagination.scss +41 -44
- package/scss/components/_progress.scss +1 -1
- package/scss/components/_spinner.scss +12 -0
- package/scss/components/_steps.scss +7 -5
- package/scss/components/_table.scss +16 -2
- package/scss/components/_table2.scss +7 -0
- package/scss/components/_tabs.scss +21 -24
- package/scss/components/form/_combo.scss +6 -0
- package/scss/components/form/_date-range.scss +3 -6
- package/scss/components/form/_date.scss +3 -5
- package/scss/components/form/_excel.scss +2 -2
- package/scss/components/form/_fieldset.scss +1 -1
- package/scss/components/form/_form.scss +2 -0
- package/scss/components/form/_location.scss +19 -1
- package/scss/components/form/_nested-select.scss +20 -7
- package/scss/components/form/_picker.scss +3 -1
- package/scss/components/form/_range.scss +2 -2
- package/scss/components/form/_rating.scss +17 -3
- package/scss/components/form/_select.scss +0 -11
- package/scss/components/form/_selection.scss +2 -1
- package/scss/components/form/_switch.scss +38 -0
- package/scss/components/form/_text.scss +9 -8
- package/scss/components/form/_textarea.scss +4 -0
- package/scss/components/form/_transfer.scss +40 -0
- package/scss/themes/_ang-variables.scss +63 -61
- package/scss/themes/_antd-variables.scss +63 -61
- package/scss/themes/_cxd-variables.scss +64 -61
- package/scss/themes/_dark-variables.scss +63 -61
|
@@ -19,6 +19,7 @@ export interface UserSelectProps extends ThemeProps, LocaleProps, SpinnerExtraPr
|
|
|
19
19
|
selection?: Array<Option>;
|
|
20
20
|
valueField?: string;
|
|
21
21
|
labelField?: string;
|
|
22
|
+
deferField?: string;
|
|
22
23
|
multi?: boolean;
|
|
23
24
|
multiple?: boolean;
|
|
24
25
|
isDep?: boolean;
|
|
@@ -57,6 +58,7 @@ export declare class UserSelect extends React.Component<UserSelectProps, UserSel
|
|
|
57
58
|
showResultBox: boolean;
|
|
58
59
|
labelField: string;
|
|
59
60
|
valueField: string;
|
|
61
|
+
deferField: string;
|
|
60
62
|
};
|
|
61
63
|
componentDidMount(): void;
|
|
62
64
|
componentDidUpdate(prevProps: UserSelectProps): void;
|
|
@@ -90,6 +92,7 @@ declare const _default: {
|
|
|
90
92
|
new (props: Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
91
93
|
labelField?: string | undefined;
|
|
92
94
|
valueField?: string | undefined;
|
|
95
|
+
deferField?: string | undefined;
|
|
93
96
|
showResultBox?: boolean | undefined;
|
|
94
97
|
} & {} & {
|
|
95
98
|
locale?: string | undefined;
|
|
@@ -103,6 +106,7 @@ declare const _default: {
|
|
|
103
106
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
104
107
|
labelField?: string | undefined;
|
|
105
108
|
valueField?: string | undefined;
|
|
109
|
+
deferField?: string | undefined;
|
|
106
110
|
showResultBox?: boolean | undefined;
|
|
107
111
|
} & {} & {
|
|
108
112
|
locale?: string | undefined;
|
|
@@ -112,6 +116,7 @@ declare const _default: {
|
|
|
112
116
|
readonly props: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
113
117
|
labelField?: string | undefined;
|
|
114
118
|
valueField?: string | undefined;
|
|
119
|
+
deferField?: string | undefined;
|
|
115
120
|
showResultBox?: boolean | undefined;
|
|
116
121
|
} & {} & {
|
|
117
122
|
locale?: string | undefined;
|
|
@@ -125,6 +130,7 @@ declare const _default: {
|
|
|
125
130
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
126
131
|
labelField?: string | undefined;
|
|
127
132
|
valueField?: string | undefined;
|
|
133
|
+
deferField?: string | undefined;
|
|
128
134
|
showResultBox?: boolean | undefined;
|
|
129
135
|
} & {} & {
|
|
130
136
|
locale?: string | undefined;
|
|
@@ -135,6 +141,7 @@ declare const _default: {
|
|
|
135
141
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
136
142
|
labelField?: string | undefined;
|
|
137
143
|
valueField?: string | undefined;
|
|
144
|
+
deferField?: string | undefined;
|
|
138
145
|
showResultBox?: boolean | undefined;
|
|
139
146
|
} & {} & {
|
|
140
147
|
locale?: string | undefined;
|
|
@@ -143,6 +150,7 @@ declare const _default: {
|
|
|
143
150
|
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
144
151
|
labelField?: string | undefined;
|
|
145
152
|
valueField?: string | undefined;
|
|
153
|
+
deferField?: string | undefined;
|
|
146
154
|
showResultBox?: boolean | undefined;
|
|
147
155
|
} & {} & {
|
|
148
156
|
locale?: string | undefined;
|
|
@@ -153,6 +161,7 @@ declare const _default: {
|
|
|
153
161
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
154
162
|
labelField?: string | undefined;
|
|
155
163
|
valueField?: string | undefined;
|
|
164
|
+
deferField?: string | undefined;
|
|
156
165
|
showResultBox?: boolean | undefined;
|
|
157
166
|
} & {} & {
|
|
158
167
|
locale?: string | undefined;
|
|
@@ -161,6 +170,7 @@ declare const _default: {
|
|
|
161
170
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
162
171
|
labelField?: string | undefined;
|
|
163
172
|
valueField?: string | undefined;
|
|
173
|
+
deferField?: string | undefined;
|
|
164
174
|
showResultBox?: boolean | undefined;
|
|
165
175
|
} & {} & {
|
|
166
176
|
locale?: string | undefined;
|
|
@@ -169,6 +179,7 @@ declare const _default: {
|
|
|
169
179
|
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
170
180
|
labelField?: string | undefined;
|
|
171
181
|
valueField?: string | undefined;
|
|
182
|
+
deferField?: string | undefined;
|
|
172
183
|
showResultBox?: boolean | undefined;
|
|
173
184
|
} & {} & {
|
|
174
185
|
locale?: string | undefined;
|
|
@@ -177,6 +188,7 @@ declare const _default: {
|
|
|
177
188
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
178
189
|
labelField?: string | undefined;
|
|
179
190
|
valueField?: string | undefined;
|
|
191
|
+
deferField?: string | undefined;
|
|
180
192
|
showResultBox?: boolean | undefined;
|
|
181
193
|
} & {} & {
|
|
182
194
|
locale?: string | undefined;
|
|
@@ -189,6 +201,7 @@ declare const _default: {
|
|
|
189
201
|
new (props: Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
190
202
|
labelField?: string | undefined;
|
|
191
203
|
valueField?: string | undefined;
|
|
204
|
+
deferField?: string | undefined;
|
|
192
205
|
showResultBox?: boolean | undefined;
|
|
193
206
|
} & {} & {
|
|
194
207
|
locale?: string | undefined;
|
|
@@ -202,6 +215,7 @@ declare const _default: {
|
|
|
202
215
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
203
216
|
labelField?: string | undefined;
|
|
204
217
|
valueField?: string | undefined;
|
|
218
|
+
deferField?: string | undefined;
|
|
205
219
|
showResultBox?: boolean | undefined;
|
|
206
220
|
} & {} & {
|
|
207
221
|
locale?: string | undefined;
|
|
@@ -211,6 +225,7 @@ declare const _default: {
|
|
|
211
225
|
readonly props: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
212
226
|
labelField?: string | undefined;
|
|
213
227
|
valueField?: string | undefined;
|
|
228
|
+
deferField?: string | undefined;
|
|
214
229
|
showResultBox?: boolean | undefined;
|
|
215
230
|
} & {} & {
|
|
216
231
|
locale?: string | undefined;
|
|
@@ -224,6 +239,7 @@ declare const _default: {
|
|
|
224
239
|
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
225
240
|
labelField?: string | undefined;
|
|
226
241
|
valueField?: string | undefined;
|
|
242
|
+
deferField?: string | undefined;
|
|
227
243
|
showResultBox?: boolean | undefined;
|
|
228
244
|
} & {} & {
|
|
229
245
|
locale?: string | undefined;
|
|
@@ -234,6 +250,7 @@ declare const _default: {
|
|
|
234
250
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
235
251
|
labelField?: string | undefined;
|
|
236
252
|
valueField?: string | undefined;
|
|
253
|
+
deferField?: string | undefined;
|
|
237
254
|
showResultBox?: boolean | undefined;
|
|
238
255
|
} & {} & {
|
|
239
256
|
locale?: string | undefined;
|
|
@@ -242,6 +259,7 @@ declare const _default: {
|
|
|
242
259
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
243
260
|
labelField?: string | undefined;
|
|
244
261
|
valueField?: string | undefined;
|
|
262
|
+
deferField?: string | undefined;
|
|
245
263
|
showResultBox?: boolean | undefined;
|
|
246
264
|
} & {} & {
|
|
247
265
|
locale?: string | undefined;
|
|
@@ -252,6 +270,7 @@ declare const _default: {
|
|
|
252
270
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
253
271
|
labelField?: string | undefined;
|
|
254
272
|
valueField?: string | undefined;
|
|
273
|
+
deferField?: string | undefined;
|
|
255
274
|
showResultBox?: boolean | undefined;
|
|
256
275
|
} & {} & {
|
|
257
276
|
locale?: string | undefined;
|
|
@@ -260,6 +279,7 @@ declare const _default: {
|
|
|
260
279
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
261
280
|
labelField?: string | undefined;
|
|
262
281
|
valueField?: string | undefined;
|
|
282
|
+
deferField?: string | undefined;
|
|
263
283
|
showResultBox?: boolean | undefined;
|
|
264
284
|
} & {} & {
|
|
265
285
|
locale?: string | undefined;
|
|
@@ -268,6 +288,7 @@ declare const _default: {
|
|
|
268
288
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
269
289
|
labelField?: string | undefined;
|
|
270
290
|
valueField?: string | undefined;
|
|
291
|
+
deferField?: string | undefined;
|
|
271
292
|
showResultBox?: boolean | undefined;
|
|
272
293
|
} & {} & {
|
|
273
294
|
locale?: string | undefined;
|
|
@@ -276,6 +297,7 @@ declare const _default: {
|
|
|
276
297
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
277
298
|
labelField?: string | undefined;
|
|
278
299
|
valueField?: string | undefined;
|
|
300
|
+
deferField?: string | undefined;
|
|
279
301
|
showResultBox?: boolean | undefined;
|
|
280
302
|
} & {} & {
|
|
281
303
|
locale?: string | undefined;
|
|
@@ -292,6 +314,7 @@ declare const _default: {
|
|
|
292
314
|
new (props: Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
293
315
|
labelField?: string | undefined;
|
|
294
316
|
valueField?: string | undefined;
|
|
317
|
+
deferField?: string | undefined;
|
|
295
318
|
showResultBox?: boolean | undefined;
|
|
296
319
|
} & {} & {
|
|
297
320
|
locale?: string | undefined;
|
|
@@ -305,6 +328,7 @@ declare const _default: {
|
|
|
305
328
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
306
329
|
labelField?: string | undefined;
|
|
307
330
|
valueField?: string | undefined;
|
|
331
|
+
deferField?: string | undefined;
|
|
308
332
|
showResultBox?: boolean | undefined;
|
|
309
333
|
} & {} & {
|
|
310
334
|
locale?: string | undefined;
|
|
@@ -314,6 +338,7 @@ declare const _default: {
|
|
|
314
338
|
readonly props: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
315
339
|
labelField?: string | undefined;
|
|
316
340
|
valueField?: string | undefined;
|
|
341
|
+
deferField?: string | undefined;
|
|
317
342
|
showResultBox?: boolean | undefined;
|
|
318
343
|
} & {} & {
|
|
319
344
|
locale?: string | undefined;
|
|
@@ -327,6 +352,7 @@ declare const _default: {
|
|
|
327
352
|
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
328
353
|
labelField?: string | undefined;
|
|
329
354
|
valueField?: string | undefined;
|
|
355
|
+
deferField?: string | undefined;
|
|
330
356
|
showResultBox?: boolean | undefined;
|
|
331
357
|
} & {} & {
|
|
332
358
|
locale?: string | undefined;
|
|
@@ -337,6 +363,7 @@ declare const _default: {
|
|
|
337
363
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
338
364
|
labelField?: string | undefined;
|
|
339
365
|
valueField?: string | undefined;
|
|
366
|
+
deferField?: string | undefined;
|
|
340
367
|
showResultBox?: boolean | undefined;
|
|
341
368
|
} & {} & {
|
|
342
369
|
locale?: string | undefined;
|
|
@@ -345,6 +372,7 @@ declare const _default: {
|
|
|
345
372
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
346
373
|
labelField?: string | undefined;
|
|
347
374
|
valueField?: string | undefined;
|
|
375
|
+
deferField?: string | undefined;
|
|
348
376
|
showResultBox?: boolean | undefined;
|
|
349
377
|
} & {} & {
|
|
350
378
|
locale?: string | undefined;
|
|
@@ -355,6 +383,7 @@ declare const _default: {
|
|
|
355
383
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
356
384
|
labelField?: string | undefined;
|
|
357
385
|
valueField?: string | undefined;
|
|
386
|
+
deferField?: string | undefined;
|
|
358
387
|
showResultBox?: boolean | undefined;
|
|
359
388
|
} & {} & {
|
|
360
389
|
locale?: string | undefined;
|
|
@@ -363,6 +392,7 @@ declare const _default: {
|
|
|
363
392
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
364
393
|
labelField?: string | undefined;
|
|
365
394
|
valueField?: string | undefined;
|
|
395
|
+
deferField?: string | undefined;
|
|
366
396
|
showResultBox?: boolean | undefined;
|
|
367
397
|
} & {} & {
|
|
368
398
|
locale?: string | undefined;
|
|
@@ -371,6 +401,7 @@ declare const _default: {
|
|
|
371
401
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
372
402
|
labelField?: string | undefined;
|
|
373
403
|
valueField?: string | undefined;
|
|
404
|
+
deferField?: string | undefined;
|
|
374
405
|
showResultBox?: boolean | undefined;
|
|
375
406
|
} & {} & {
|
|
376
407
|
locale?: string | undefined;
|
|
@@ -379,6 +410,7 @@ declare const _default: {
|
|
|
379
410
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
380
411
|
labelField?: string | undefined;
|
|
381
412
|
valueField?: string | undefined;
|
|
413
|
+
deferField?: string | undefined;
|
|
382
414
|
showResultBox?: boolean | undefined;
|
|
383
415
|
} & {} & {
|
|
384
416
|
locale?: string | undefined;
|
|
@@ -395,6 +427,7 @@ declare const _default: {
|
|
|
395
427
|
new (props: Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
396
428
|
labelField?: string | undefined;
|
|
397
429
|
valueField?: string | undefined;
|
|
430
|
+
deferField?: string | undefined;
|
|
398
431
|
showResultBox?: boolean | undefined;
|
|
399
432
|
} & {} & {
|
|
400
433
|
locale?: string | undefined;
|
|
@@ -408,6 +441,7 @@ declare const _default: {
|
|
|
408
441
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
409
442
|
labelField?: string | undefined;
|
|
410
443
|
valueField?: string | undefined;
|
|
444
|
+
deferField?: string | undefined;
|
|
411
445
|
showResultBox?: boolean | undefined;
|
|
412
446
|
} & {} & {
|
|
413
447
|
locale?: string | undefined;
|
|
@@ -417,6 +451,7 @@ declare const _default: {
|
|
|
417
451
|
readonly props: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
418
452
|
labelField?: string | undefined;
|
|
419
453
|
valueField?: string | undefined;
|
|
454
|
+
deferField?: string | undefined;
|
|
420
455
|
showResultBox?: boolean | undefined;
|
|
421
456
|
} & {} & {
|
|
422
457
|
locale?: string | undefined;
|
|
@@ -430,6 +465,7 @@ declare const _default: {
|
|
|
430
465
|
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
431
466
|
labelField?: string | undefined;
|
|
432
467
|
valueField?: string | undefined;
|
|
468
|
+
deferField?: string | undefined;
|
|
433
469
|
showResultBox?: boolean | undefined;
|
|
434
470
|
} & {} & {
|
|
435
471
|
locale?: string | undefined;
|
|
@@ -440,6 +476,7 @@ declare const _default: {
|
|
|
440
476
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
441
477
|
labelField?: string | undefined;
|
|
442
478
|
valueField?: string | undefined;
|
|
479
|
+
deferField?: string | undefined;
|
|
443
480
|
showResultBox?: boolean | undefined;
|
|
444
481
|
} & {} & {
|
|
445
482
|
locale?: string | undefined;
|
|
@@ -448,6 +485,7 @@ declare const _default: {
|
|
|
448
485
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
449
486
|
labelField?: string | undefined;
|
|
450
487
|
valueField?: string | undefined;
|
|
488
|
+
deferField?: string | undefined;
|
|
451
489
|
showResultBox?: boolean | undefined;
|
|
452
490
|
} & {} & {
|
|
453
491
|
locale?: string | undefined;
|
|
@@ -458,6 +496,7 @@ declare const _default: {
|
|
|
458
496
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
459
497
|
labelField?: string | undefined;
|
|
460
498
|
valueField?: string | undefined;
|
|
499
|
+
deferField?: string | undefined;
|
|
461
500
|
showResultBox?: boolean | undefined;
|
|
462
501
|
} & {} & {
|
|
463
502
|
locale?: string | undefined;
|
|
@@ -466,6 +505,7 @@ declare const _default: {
|
|
|
466
505
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
467
506
|
labelField?: string | undefined;
|
|
468
507
|
valueField?: string | undefined;
|
|
508
|
+
deferField?: string | undefined;
|
|
469
509
|
showResultBox?: boolean | undefined;
|
|
470
510
|
} & {} & {
|
|
471
511
|
locale?: string | undefined;
|
|
@@ -474,6 +514,7 @@ declare const _default: {
|
|
|
474
514
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
475
515
|
labelField?: string | undefined;
|
|
476
516
|
valueField?: string | undefined;
|
|
517
|
+
deferField?: string | undefined;
|
|
477
518
|
showResultBox?: boolean | undefined;
|
|
478
519
|
} & {} & {
|
|
479
520
|
locale?: string | undefined;
|
|
@@ -482,6 +523,7 @@ declare const _default: {
|
|
|
482
523
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<UserSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "loadingConfig" | "options" | "placeholder" | "multiple" | "multi" | "searchable" | "selection" | "searchPlaceholder" | "onSearch" | "deferLoad" | "showNav" | "navTitle" | "isDep" | "isRef" | "controlled" | "displayFields" | "isTab" | "fetcher"> & {
|
|
483
524
|
labelField?: string | undefined;
|
|
484
525
|
valueField?: string | undefined;
|
|
526
|
+
deferField?: string | undefined;
|
|
485
527
|
showResultBox?: boolean | undefined;
|
|
486
528
|
} & {} & {
|
|
487
529
|
locale?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.
|
|
2
|
+
* amis-ui v3.6.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -398,7 +398,7 @@ var UserSelect = /** @class */ (function (_super) {
|
|
|
398
398
|
UserSelect.prototype.renderList = function (options, key, isSearch) {
|
|
399
399
|
var _this = this;
|
|
400
400
|
if (options === void 0) { options = []; }
|
|
401
|
-
var _a = this.props, cx = _a.classnames, _b = _a.valueField, valueField = _b === void 0 ? 'value' : _b; _a.labelField; var isDep = _a.isDep, isRef = _a.isRef, __ = _a.translate, controlled = _a.controlled, displayFields = _a.displayFields, isTab = _a.isTab, multiple = _a.multiple;
|
|
401
|
+
var _a = this.props, cx = _a.classnames, _b = _a.valueField, valueField = _b === void 0 ? 'value' : _b; _a.labelField; var isDep = _a.isDep, isRef = _a.isRef, __ = _a.translate, controlled = _a.controlled, displayFields = _a.displayFields, isTab = _a.isTab, multiple = _a.multiple, _d = _a.deferField, deferField = _d === void 0 ? 'defer' : _d;
|
|
402
402
|
var selection = controlled
|
|
403
403
|
? this.props.selection || []
|
|
404
404
|
: this.state.selection;
|
|
@@ -407,7 +407,7 @@ var UserSelect = /** @class */ (function (_super) {
|
|
|
407
407
|
React__default.createElement("ul", { className: cx("UserSelect-memberList"), key: key }, options.map(function (option, index) {
|
|
408
408
|
var _a, _b;
|
|
409
409
|
var hasChildren = (isRef && !option.isRef) ||
|
|
410
|
-
(isDep && (option
|
|
410
|
+
(isDep && (option[deferField] || ((_a = option.children) === null || _a === void 0 ? void 0 : _a.length)));
|
|
411
411
|
var checkVisible = (isDep && isRef) ||
|
|
412
412
|
(isRef && option.isRef) ||
|
|
413
413
|
(isDep && !isRef) ||
|
|
@@ -572,7 +572,8 @@ var UserSelect = /** @class */ (function (_super) {
|
|
|
572
572
|
UserSelect.defaultProps = {
|
|
573
573
|
showResultBox: true,
|
|
574
574
|
labelField: 'label',
|
|
575
|
-
valueField: 'value'
|
|
575
|
+
valueField: 'value',
|
|
576
|
+
deferField: 'defer'
|
|
576
577
|
};
|
|
577
578
|
__decorate([
|
|
578
579
|
autobind,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.
|
|
2
|
+
* amis-ui v3.6.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -22,6 +22,7 @@ var Store = types
|
|
|
22
22
|
})
|
|
23
23
|
.actions(function (self) {
|
|
24
24
|
var component = undefined;
|
|
25
|
+
var fetchCancel = null;
|
|
25
26
|
var load = flow(function (env, api, ctx, config) {
|
|
26
27
|
var ret, data, options, e_1;
|
|
27
28
|
var _a;
|
|
@@ -30,10 +31,21 @@ var Store = types
|
|
|
30
31
|
switch (_b.label) {
|
|
31
32
|
case 0:
|
|
32
33
|
_b.trys.push([0, 2, 3, 4]);
|
|
34
|
+
if (fetchCancel) {
|
|
35
|
+
fetchCancel === null || fetchCancel === void 0 ? void 0 : fetchCancel('remote load request cancelled.');
|
|
36
|
+
fetchCancel = null;
|
|
37
|
+
self.fetching = false;
|
|
38
|
+
}
|
|
39
|
+
if (self.fetching) {
|
|
40
|
+
return [2 /*return*/];
|
|
41
|
+
}
|
|
33
42
|
self.fetching = true;
|
|
34
|
-
return [4 /*yield*/, env.fetcher(api, ctx
|
|
43
|
+
return [4 /*yield*/, env.fetcher(api, ctx, {
|
|
44
|
+
cancelExecutor: function (executor) { return (fetchCancel = executor); }
|
|
45
|
+
})];
|
|
35
46
|
case 1:
|
|
36
47
|
ret = _b.sent();
|
|
48
|
+
fetchCancel = null;
|
|
37
49
|
if (!isAlive(self)) {
|
|
38
50
|
return [2 /*return*/];
|
|
39
51
|
}
|
|
@@ -6,9 +6,14 @@ import moment from 'moment';
|
|
|
6
6
|
import 'moment/locale/zh-cn';
|
|
7
7
|
import 'moment/locale/de';
|
|
8
8
|
import type { RendererEnv } from 'amis-core';
|
|
9
|
+
import type { unitOfTime } from 'moment';
|
|
9
10
|
/** 视图模式 */
|
|
10
11
|
export type ViewMode = 'days' | 'months' | 'years' | 'time' | 'quarters';
|
|
11
12
|
export type DateType = 'year' | 'month' | 'date' | 'hours' | 'minutes' | 'seconds';
|
|
13
|
+
/** 底层View组件修改的值类型:time时间、days日期 */
|
|
14
|
+
export type ChangeEventViewMode = Extract<ViewMode, 'time' | 'days'>;
|
|
15
|
+
/** 可改变的时间单位 */
|
|
16
|
+
export type MutableUnitOfTime = Extract<unitOfTime.All, 'date' | 'hour' | 'minute' | 'second' | 'millisecond'>;
|
|
12
17
|
export interface BoundaryObject {
|
|
13
18
|
max: number;
|
|
14
19
|
min: number;
|
|
@@ -36,8 +41,11 @@ interface BaseDatePickerProps {
|
|
|
36
41
|
isValidDate?: (currentDate: moment.Moment, selected?: moment.Moment) => boolean;
|
|
37
42
|
onViewModeChange?: (type: string) => void;
|
|
38
43
|
requiredConfirm?: boolean;
|
|
44
|
+
onClick?: (date: moment.Moment) => any;
|
|
45
|
+
onMouseEnter?: (date: moment.Moment) => any;
|
|
46
|
+
onMouseLeave?: (date: moment.Moment) => any;
|
|
39
47
|
onClose?: () => void;
|
|
40
|
-
onChange?: (value: any, viewMode?:
|
|
48
|
+
onChange?: (value: any, viewMode?: ChangeEventViewMode) => void;
|
|
41
49
|
isEndDate?: boolean;
|
|
42
50
|
minDate?: moment.Moment;
|
|
43
51
|
maxDate?: moment.Moment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.
|
|
2
|
+
* amis-ui v3.6.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -64,7 +64,10 @@ var BaseDatePicker = /** @class */ (function (_super) {
|
|
|
64
64
|
'subtractTime',
|
|
65
65
|
'updateSelectedDate',
|
|
66
66
|
'localMoment',
|
|
67
|
-
'handleClickOutside'
|
|
67
|
+
'handleClickOutside',
|
|
68
|
+
'onClick',
|
|
69
|
+
'onMouseEnter',
|
|
70
|
+
'onMouseLeave'
|
|
68
71
|
]
|
|
69
72
|
};
|
|
70
73
|
_this.showView = function (view) {
|
|
@@ -120,8 +123,7 @@ var BaseDatePicker = /** @class */ (function (_super) {
|
|
|
120
123
|
});
|
|
121
124
|
};
|
|
122
125
|
};
|
|
123
|
-
_this.
|
|
124
|
-
var that = _this;
|
|
126
|
+
_this.getTargetDate = function (e) {
|
|
125
127
|
var target = e.currentTarget, modifier = 0, viewDate = _this.state.viewDate, currentDate = _this.state.selectedDate || viewDate, date;
|
|
126
128
|
if (target.className.indexOf('rdtDay') !== -1) {
|
|
127
129
|
if (target.className.indexOf('rdtNew') !== -1)
|
|
@@ -154,6 +156,11 @@ var BaseDatePicker = /** @class */ (function (_super) {
|
|
|
154
156
|
.year(parseInt(target.getAttribute('data-value'), 10));
|
|
155
157
|
}
|
|
156
158
|
date === null || date === void 0 ? void 0 : date.hours(currentDate.hours()).minutes(currentDate.minutes()).seconds(currentDate.seconds()).milliseconds(currentDate.milliseconds());
|
|
159
|
+
return date;
|
|
160
|
+
};
|
|
161
|
+
_this.updateSelectedDate = function (e, close) {
|
|
162
|
+
var that = _this;
|
|
163
|
+
var date = that.getTargetDate(e);
|
|
157
164
|
if (!_this.props.value) {
|
|
158
165
|
var open = !(_this.props.closeOnSelect && close);
|
|
159
166
|
if (!open) {
|
|
@@ -176,7 +183,7 @@ var BaseDatePicker = /** @class */ (function (_super) {
|
|
|
176
183
|
that.closeCalendar();
|
|
177
184
|
}
|
|
178
185
|
}
|
|
179
|
-
that.props.onChange(date);
|
|
186
|
+
that.props.onChange(date, 'days');
|
|
180
187
|
};
|
|
181
188
|
_this.getDateBoundary = function (currentDate) {
|
|
182
189
|
var _a, _b;
|
|
@@ -256,6 +263,9 @@ var BaseDatePicker = /** @class */ (function (_super) {
|
|
|
256
263
|
? _this.props.viewMode || state.updateOn || 'days'
|
|
257
264
|
: _this.props.viewMode || 'time';
|
|
258
265
|
_this.state = state;
|
|
266
|
+
_this.onClick = _this.onClick.bind(_this);
|
|
267
|
+
_this.onMouseEnter = _this.onMouseEnter.bind(_this);
|
|
268
|
+
_this.onMouseLeave = _this.onMouseLeave.bind(_this);
|
|
259
269
|
return _this;
|
|
260
270
|
}
|
|
261
271
|
BaseDatePicker.prototype.getFormats = function (props) {
|
|
@@ -452,6 +462,18 @@ var BaseDatePicker = /** @class */ (function (_super) {
|
|
|
452
462
|
update[date] = this.state[date].clone()[op](amount, type);
|
|
453
463
|
this.setState(update);
|
|
454
464
|
};
|
|
465
|
+
BaseDatePicker.prototype.onClick = function (e) {
|
|
466
|
+
var date = this.getTargetDate(e);
|
|
467
|
+
this.props.onClick && this.props.onClick(date);
|
|
468
|
+
};
|
|
469
|
+
BaseDatePicker.prototype.onMouseEnter = function (e) {
|
|
470
|
+
var date = this.getTargetDate(e);
|
|
471
|
+
this.props.onMouseEnter && this.props.onMouseEnter(date);
|
|
472
|
+
};
|
|
473
|
+
BaseDatePicker.prototype.onMouseLeave = function (e) {
|
|
474
|
+
var date = this.getTargetDate(e);
|
|
475
|
+
this.props.onMouseLeave && this.props.onMouseLeave(date);
|
|
476
|
+
};
|
|
455
477
|
BaseDatePicker.prototype.render = function () {
|
|
456
478
|
var _a;
|
|
457
479
|
var _b = this.props, viewMode = _b.viewMode, timeFormat = _b.timeFormat, dateFormat = _b.dateFormat, timeRangeHeader = _b.timeRangeHeader, mobileUI = _b.mobileUI;
|
|
@@ -5,6 +5,7 @@ import { LocaleProps, ClassNamesFn } from 'amis-core';
|
|
|
5
5
|
import type { RendererEnv } from 'amis-core';
|
|
6
6
|
import { PickerOption } from '../PickerColumn';
|
|
7
7
|
import { DateType } from './Calendar';
|
|
8
|
+
import type { Moment } from 'moment';
|
|
8
9
|
import type { TimeScale } from './TimeView';
|
|
9
10
|
import type { ViewMode } from './Calendar';
|
|
10
11
|
interface CustomDaysViewProps extends LocaleProps {
|
|
@@ -23,6 +24,9 @@ interface CustomDaysViewProps extends LocaleProps {
|
|
|
23
24
|
renderDay?: Function;
|
|
24
25
|
onClose?: () => void;
|
|
25
26
|
onChange: (value: moment.Moment, viewMode?: Extract<ViewMode, 'time'>) => void;
|
|
27
|
+
onClick: (event: React.MouseEvent<any>) => void;
|
|
28
|
+
onMouseEnter: (event: React.MouseEvent<any>) => void;
|
|
29
|
+
onMouseLeave: (event: React.MouseEvent<any>) => void;
|
|
26
30
|
onConfirm?: (value: number[], types: DateType[]) => void;
|
|
27
31
|
setDateTimeState: (state: any) => void;
|
|
28
32
|
showTime: () => void;
|
|
@@ -86,6 +90,13 @@ export declare class CustomDaysView extends React.Component<CustomDaysViewProps>
|
|
|
86
90
|
renderDays(): React.DetailedReactHTMLElement<React.HTMLAttributes<HTMLElement>, HTMLElement>[];
|
|
87
91
|
constructor(props: any);
|
|
88
92
|
componentDidMount(): void;
|
|
93
|
+
componentDidUpdate(prevProps: Readonly<CustomDaysViewProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
94
|
+
setupTime(date: Moment, timeFormat: string, mode?: 'init'): void;
|
|
95
|
+
getColumnsWithUnit(columns: {
|
|
96
|
+
options: PickerOption[];
|
|
97
|
+
}[]): {
|
|
98
|
+
options: PickerOption[];
|
|
99
|
+
}[];
|
|
89
100
|
updateSelectedDate: (event: React.MouseEvent<any>) => void;
|
|
90
101
|
showTime: () => React.JSX.Element;
|
|
91
102
|
setTime: (type: 'hours' | 'minutes' | 'seconds' | 'milliseconds', value: number) => void;
|