amis-ui 3.4.1 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +1 -0
- package/esm/components/Alert.js +4 -2
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.js +5 -3
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +2 -2
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +1 -0
- package/esm/components/ContextMenu.js +4 -2
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +46 -43
- package/esm/components/DateRangePicker.js +9 -2
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.js +3 -2
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +7 -4
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +3 -2
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.js +6 -11
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +2 -1
- package/esm/components/ResultList.js +12 -3
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +5 -2
- package/esm/components/SelectMobile.js +7 -4
- package/esm/components/Selection.d.ts +2 -1
- package/esm/components/Selection.js +11 -4
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +8 -4
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +42 -40
- package/esm/components/TabsTransfer.js +9 -8
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +5 -5
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.js +3 -2
- package/esm/components/TreeSelection.js +3 -2
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +7 -6
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +17 -17
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +3 -3
- package/esm/components/table/ColGroup.d.ts +19 -0
- package/esm/components/table/ColGroup.js +52 -0
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +56 -3
- package/esm/components/table/index.js +149 -89
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +1 -1
- package/esm/locale/en-US.js +1 -1
- package/esm/locale/zh-CN.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +121 -120
- package/lib/components/Alert.js +4 -2
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +10 -10
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +100 -100
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +30 -30
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +70 -70
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +5 -3
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +70 -70
- package/lib/components/Collapse.js +2 -2
- package/lib/components/CollapseGroup.d.ts +40 -40
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +80 -80
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +80 -80
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +1 -0
- package/lib/components/ContextMenu.js +4 -2
- package/lib/components/DatePicker.d.ts +80 -80
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +206 -203
- package/lib/components/DateRangePicker.js +8 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +3 -2
- package/lib/components/Editor.d.ts +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 +7 -4
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +20 -20
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +3 -2
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +40 -40
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +80 -80
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +120 -120
- package/lib/components/Modal.js +6 -11
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +200 -200
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +30 -30
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +80 -80
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +80 -80
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +70 -70
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +30 -30
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +40 -40
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +80 -80
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +42 -41
- package/lib/components/ResultList.js +12 -3
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +40 -40
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +2515 -2515
- package/lib/components/Select.js +5 -2
- package/lib/components/SelectMobile.js +7 -4
- package/lib/components/Selection.d.ts +82 -81
- package/lib/components/Selection.js +11 -4
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +50 -50
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +8 -4
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +120 -120
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +42 -40
- package/lib/components/TabsTransfer.js +9 -8
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +80 -80
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +40 -40
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +20 -20
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +89 -89
- package/lib/components/Transfer.js +5 -5
- package/lib/components/TransferDropDown.d.ts +80 -80
- 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 +240 -240
- package/lib/components/Tree.js +3 -2
- package/lib/components/TreeSelection.d.ts +80 -80
- package/lib/components/TreeSelection.js +3 -2
- package/lib/components/UserSelect.d.ts +80 -80
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +7 -6
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +17 -17
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +50 -50
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +80 -80
- package/lib/components/table/Cell.js +3 -3
- package/lib/components/table/ColGroup.d.ts +19 -0
- package/lib/components/table/ColGroup.js +64 -0
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +176 -123
- package/lib/components/table/index.js +149 -88
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +101 -28
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +101 -28
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +101 -28
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +101 -28
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +101 -28
- package/package.json +4 -4
- package/scss/_components.scss +9 -2
- package/scss/components/_collapse.scss +31 -1
- package/scss/components/_condition-builder.scss +4 -0
- package/scss/components/_divider.scss +37 -2
- package/scss/components/_formula.scss +2 -1
- package/scss/components/_menu.scss +6 -3
- package/scss/components/_modal.scss +5 -5
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_table.scss +7 -1
- package/scss/components/_table2.scss +4 -15
- package/scss/components/form/_combo.scss +9 -2
- package/scss/components/form/_icon-select.scss +0 -1
- package/scss/components/form/_result-list.scss +1 -0
- package/scss/components/form/_selection.scss +7 -0
- package/scss/components/form/_textarea.scss +5 -5
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import moment, { unitOfTime } from 'moment';
|
|
9
9
|
import { ShortCuts } from './DatePicker';
|
|
10
|
+
import type { Moment } from 'moment';
|
|
10
11
|
import type { PlainObject, ThemeProps, LocaleProps } from 'amis-core';
|
|
11
12
|
import type { ViewMode } from './calendar/Calendar';
|
|
12
13
|
export interface DateRangePickerProps extends ThemeProps, LocaleProps {
|
|
@@ -54,6 +55,8 @@ export interface DateRangePickerProps extends ThemeProps, LocaleProps {
|
|
|
54
55
|
label?: string | false;
|
|
55
56
|
/** 是否开启游标动画 */
|
|
56
57
|
animation?: boolean;
|
|
58
|
+
/** 日期处理函数,通常用于自定义处理绑定日期的值 */
|
|
59
|
+
transform?: string;
|
|
57
60
|
}
|
|
58
61
|
export interface DateRangePickerState {
|
|
59
62
|
isOpened: boolean;
|
|
@@ -185,7 +188,7 @@ export declare class DateRangePicker extends React.Component<DateRangePickerProp
|
|
|
185
188
|
render(): React.JSX.Element;
|
|
186
189
|
}
|
|
187
190
|
declare const _default: {
|
|
188
|
-
new (props: Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
191
|
+
new (props: Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
189
192
|
clearable?: boolean | undefined;
|
|
190
193
|
inputFormat?: string | undefined;
|
|
191
194
|
format?: string | undefined;
|
|
@@ -209,7 +212,7 @@ declare const _default: {
|
|
|
209
212
|
getWrappedInstance(): any;
|
|
210
213
|
render(): React.JSX.Element;
|
|
211
214
|
context: unknown;
|
|
212
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
215
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
213
216
|
clearable?: boolean | undefined;
|
|
214
217
|
inputFormat?: string | undefined;
|
|
215
218
|
format?: string | undefined;
|
|
@@ -229,7 +232,7 @@ declare const _default: {
|
|
|
229
232
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
230
233
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
231
234
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
232
|
-
readonly props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
235
|
+
readonly props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
233
236
|
clearable?: boolean | undefined;
|
|
234
237
|
inputFormat?: string | undefined;
|
|
235
238
|
format?: string | undefined;
|
|
@@ -253,7 +256,7 @@ declare const _default: {
|
|
|
253
256
|
[key: string]: React.ReactInstance;
|
|
254
257
|
};
|
|
255
258
|
componentDidMount?(): void;
|
|
256
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
259
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
257
260
|
clearable?: boolean | undefined;
|
|
258
261
|
inputFormat?: string | undefined;
|
|
259
262
|
format?: string | undefined;
|
|
@@ -274,7 +277,7 @@ declare const _default: {
|
|
|
274
277
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
275
278
|
componentWillUnmount?(): void;
|
|
276
279
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
277
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
280
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
278
281
|
clearable?: boolean | undefined;
|
|
279
282
|
inputFormat?: string | undefined;
|
|
280
283
|
format?: string | undefined;
|
|
@@ -293,7 +296,7 @@ declare const _default: {
|
|
|
293
296
|
locale?: string | undefined;
|
|
294
297
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
295
298
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
296
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
299
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
297
300
|
clearable?: boolean | undefined;
|
|
298
301
|
inputFormat?: string | undefined;
|
|
299
302
|
format?: string | undefined;
|
|
@@ -314,7 +317,7 @@ declare const _default: {
|
|
|
314
317
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
315
318
|
componentWillMount?(): void;
|
|
316
319
|
UNSAFE_componentWillMount?(): void;
|
|
317
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
320
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
318
321
|
clearable?: boolean | undefined;
|
|
319
322
|
inputFormat?: string | undefined;
|
|
320
323
|
format?: string | undefined;
|
|
@@ -333,7 +336,7 @@ declare const _default: {
|
|
|
333
336
|
locale?: string | undefined;
|
|
334
337
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
335
338
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
336
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
339
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
337
340
|
clearable?: boolean | undefined;
|
|
338
341
|
inputFormat?: string | undefined;
|
|
339
342
|
format?: string | undefined;
|
|
@@ -352,7 +355,7 @@ declare const _default: {
|
|
|
352
355
|
locale?: string | undefined;
|
|
353
356
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
354
357
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
355
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
358
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
356
359
|
clearable?: boolean | undefined;
|
|
357
360
|
inputFormat?: string | undefined;
|
|
358
361
|
format?: string | undefined;
|
|
@@ -371,7 +374,7 @@ declare const _default: {
|
|
|
371
374
|
locale?: string | undefined;
|
|
372
375
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
373
376
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
374
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
377
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
375
378
|
clearable?: boolean | undefined;
|
|
376
379
|
inputFormat?: string | undefined;
|
|
377
380
|
format?: string | undefined;
|
|
@@ -394,7 +397,7 @@ declare const _default: {
|
|
|
394
397
|
displayName: string;
|
|
395
398
|
contextType: React.Context<string>;
|
|
396
399
|
ComposedComponent: React.ComponentType<{
|
|
397
|
-
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
400
|
+
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
398
401
|
clearable?: boolean | undefined;
|
|
399
402
|
inputFormat?: string | undefined;
|
|
400
403
|
format?: string | undefined;
|
|
@@ -418,7 +421,7 @@ declare const _default: {
|
|
|
418
421
|
getWrappedInstance(): any;
|
|
419
422
|
render(): React.JSX.Element;
|
|
420
423
|
context: unknown;
|
|
421
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
424
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
422
425
|
clearable?: boolean | undefined;
|
|
423
426
|
inputFormat?: string | undefined;
|
|
424
427
|
format?: string | undefined;
|
|
@@ -438,7 +441,7 @@ declare const _default: {
|
|
|
438
441
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
439
442
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
440
443
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
441
|
-
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
444
|
+
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
442
445
|
clearable?: boolean | undefined;
|
|
443
446
|
inputFormat?: string | undefined;
|
|
444
447
|
format?: string | undefined;
|
|
@@ -461,8 +464,8 @@ declare const _default: {
|
|
|
461
464
|
refs: {
|
|
462
465
|
[key: string]: React.ReactInstance;
|
|
463
466
|
};
|
|
464
|
-
componentDidMount?(): void;
|
|
465
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
467
|
+
componentDidMount?(): void; /** 结束时间 */
|
|
468
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
466
469
|
clearable?: boolean | undefined;
|
|
467
470
|
inputFormat?: string | undefined;
|
|
468
471
|
format?: string | undefined;
|
|
@@ -483,7 +486,7 @@ declare const _default: {
|
|
|
483
486
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
484
487
|
componentWillUnmount?(): void;
|
|
485
488
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
486
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
489
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
487
490
|
clearable?: boolean | undefined;
|
|
488
491
|
inputFormat?: string | undefined;
|
|
489
492
|
format?: string | undefined;
|
|
@@ -502,7 +505,7 @@ declare const _default: {
|
|
|
502
505
|
locale?: string | undefined;
|
|
503
506
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
504
507
|
}>, prevState: Readonly<{}>): any;
|
|
505
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
508
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
506
509
|
clearable?: boolean | undefined;
|
|
507
510
|
inputFormat?: string | undefined;
|
|
508
511
|
format?: string | undefined;
|
|
@@ -523,7 +526,7 @@ declare const _default: {
|
|
|
523
526
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
524
527
|
componentWillMount?(): void;
|
|
525
528
|
UNSAFE_componentWillMount?(): void;
|
|
526
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
529
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
527
530
|
clearable?: boolean | undefined;
|
|
528
531
|
inputFormat?: string | undefined;
|
|
529
532
|
format?: string | undefined;
|
|
@@ -542,7 +545,7 @@ declare const _default: {
|
|
|
542
545
|
locale?: string | undefined;
|
|
543
546
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
544
547
|
}>, nextContext: any): void;
|
|
545
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
548
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
546
549
|
clearable?: boolean | undefined;
|
|
547
550
|
inputFormat?: string | undefined;
|
|
548
551
|
format?: string | undefined;
|
|
@@ -561,7 +564,7 @@ declare const _default: {
|
|
|
561
564
|
locale?: string | undefined;
|
|
562
565
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
563
566
|
}>, nextContext: any): void;
|
|
564
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
567
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
565
568
|
clearable?: boolean | undefined;
|
|
566
569
|
inputFormat?: string | undefined;
|
|
567
570
|
format?: string | undefined;
|
|
@@ -580,7 +583,7 @@ declare const _default: {
|
|
|
580
583
|
locale?: string | undefined;
|
|
581
584
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
582
585
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
583
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
586
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
584
587
|
clearable?: boolean | undefined;
|
|
585
588
|
inputFormat?: string | undefined;
|
|
586
589
|
format?: string | undefined;
|
|
@@ -607,7 +610,7 @@ declare const _default: {
|
|
|
607
610
|
ComposedComponent: typeof DateRangePicker;
|
|
608
611
|
}>;
|
|
609
612
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
610
|
-
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
613
|
+
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
611
614
|
clearable?: boolean | undefined;
|
|
612
615
|
inputFormat?: string | undefined;
|
|
613
616
|
format?: string | undefined;
|
|
@@ -631,7 +634,7 @@ declare const _default: {
|
|
|
631
634
|
getWrappedInstance(): any;
|
|
632
635
|
render(): React.JSX.Element;
|
|
633
636
|
context: unknown;
|
|
634
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
637
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
635
638
|
clearable?: boolean | undefined;
|
|
636
639
|
inputFormat?: string | undefined;
|
|
637
640
|
format?: string | undefined;
|
|
@@ -651,7 +654,7 @@ declare const _default: {
|
|
|
651
654
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
652
655
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
653
656
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
654
|
-
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
657
|
+
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
655
658
|
clearable?: boolean | undefined;
|
|
656
659
|
inputFormat?: string | undefined;
|
|
657
660
|
format?: string | undefined;
|
|
@@ -674,8 +677,8 @@ declare const _default: {
|
|
|
674
677
|
refs: {
|
|
675
678
|
[key: string]: React.ReactInstance;
|
|
676
679
|
};
|
|
677
|
-
componentDidMount?(): void;
|
|
678
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
680
|
+
componentDidMount?(): void; /** 结束时间 */
|
|
681
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
679
682
|
clearable?: boolean | undefined;
|
|
680
683
|
inputFormat?: string | undefined;
|
|
681
684
|
format?: string | undefined;
|
|
@@ -696,7 +699,7 @@ declare const _default: {
|
|
|
696
699
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
697
700
|
componentWillUnmount?(): void;
|
|
698
701
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
699
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
702
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
700
703
|
clearable?: boolean | undefined;
|
|
701
704
|
inputFormat?: string | undefined;
|
|
702
705
|
format?: string | undefined;
|
|
@@ -715,7 +718,7 @@ declare const _default: {
|
|
|
715
718
|
locale?: string | undefined;
|
|
716
719
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
717
720
|
}>, prevState: Readonly<{}>): any;
|
|
718
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
721
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
719
722
|
clearable?: boolean | undefined;
|
|
720
723
|
inputFormat?: string | undefined;
|
|
721
724
|
format?: string | undefined;
|
|
@@ -736,7 +739,7 @@ declare const _default: {
|
|
|
736
739
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
737
740
|
componentWillMount?(): void;
|
|
738
741
|
UNSAFE_componentWillMount?(): void;
|
|
739
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
742
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
740
743
|
clearable?: boolean | undefined;
|
|
741
744
|
inputFormat?: string | undefined;
|
|
742
745
|
format?: string | undefined;
|
|
@@ -755,7 +758,7 @@ declare const _default: {
|
|
|
755
758
|
locale?: string | undefined;
|
|
756
759
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
757
760
|
}>, nextContext: any): void;
|
|
758
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
761
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
759
762
|
clearable?: boolean | undefined;
|
|
760
763
|
inputFormat?: string | undefined;
|
|
761
764
|
format?: string | undefined;
|
|
@@ -774,7 +777,7 @@ declare const _default: {
|
|
|
774
777
|
locale?: string | undefined;
|
|
775
778
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
776
779
|
}>, nextContext: any): void;
|
|
777
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
780
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
778
781
|
clearable?: boolean | undefined;
|
|
779
782
|
inputFormat?: string | undefined;
|
|
780
783
|
format?: string | undefined;
|
|
@@ -793,7 +796,7 @@ declare const _default: {
|
|
|
793
796
|
locale?: string | undefined;
|
|
794
797
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
795
798
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
796
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
799
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
797
800
|
clearable?: boolean | undefined;
|
|
798
801
|
inputFormat?: string | undefined;
|
|
799
802
|
format?: string | undefined;
|
|
@@ -820,7 +823,7 @@ declare const _default: {
|
|
|
820
823
|
ComposedComponent: typeof DateRangePicker;
|
|
821
824
|
}, {}> & {
|
|
822
825
|
ComposedComponent: {
|
|
823
|
-
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
826
|
+
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
824
827
|
clearable?: boolean | undefined;
|
|
825
828
|
inputFormat?: string | undefined;
|
|
826
829
|
format?: string | undefined;
|
|
@@ -844,7 +847,7 @@ declare const _default: {
|
|
|
844
847
|
getWrappedInstance(): any;
|
|
845
848
|
render(): React.JSX.Element;
|
|
846
849
|
context: unknown;
|
|
847
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
850
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
848
851
|
clearable?: boolean | undefined;
|
|
849
852
|
inputFormat?: string | undefined;
|
|
850
853
|
format?: string | undefined;
|
|
@@ -864,7 +867,7 @@ declare const _default: {
|
|
|
864
867
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
865
868
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
866
869
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
867
|
-
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
870
|
+
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
868
871
|
clearable?: boolean | undefined;
|
|
869
872
|
inputFormat?: string | undefined;
|
|
870
873
|
format?: string | undefined;
|
|
@@ -887,8 +890,8 @@ declare const _default: {
|
|
|
887
890
|
refs: {
|
|
888
891
|
[key: string]: React.ReactInstance;
|
|
889
892
|
};
|
|
890
|
-
componentDidMount?(): void;
|
|
891
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
893
|
+
componentDidMount?(): void; /** 结束时间 */
|
|
894
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
892
895
|
clearable?: boolean | undefined;
|
|
893
896
|
inputFormat?: string | undefined;
|
|
894
897
|
format?: string | undefined;
|
|
@@ -909,7 +912,7 @@ declare const _default: {
|
|
|
909
912
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
910
913
|
componentWillUnmount?(): void;
|
|
911
914
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
912
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
915
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
913
916
|
clearable?: boolean | undefined;
|
|
914
917
|
inputFormat?: string | undefined;
|
|
915
918
|
format?: string | undefined;
|
|
@@ -928,7 +931,7 @@ declare const _default: {
|
|
|
928
931
|
locale?: string | undefined;
|
|
929
932
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
930
933
|
}>, prevState: Readonly<{}>): any;
|
|
931
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
934
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
932
935
|
clearable?: boolean | undefined;
|
|
933
936
|
inputFormat?: string | undefined;
|
|
934
937
|
format?: string | undefined;
|
|
@@ -949,7 +952,7 @@ declare const _default: {
|
|
|
949
952
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
950
953
|
componentWillMount?(): void;
|
|
951
954
|
UNSAFE_componentWillMount?(): void;
|
|
952
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
955
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
953
956
|
clearable?: boolean | undefined;
|
|
954
957
|
inputFormat?: string | undefined;
|
|
955
958
|
format?: string | undefined;
|
|
@@ -968,7 +971,7 @@ declare const _default: {
|
|
|
968
971
|
locale?: string | undefined;
|
|
969
972
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
970
973
|
}>, nextContext: any): void;
|
|
971
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
974
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
972
975
|
clearable?: boolean | undefined;
|
|
973
976
|
inputFormat?: string | undefined;
|
|
974
977
|
format?: string | undefined;
|
|
@@ -987,7 +990,7 @@ declare const _default: {
|
|
|
987
990
|
locale?: string | undefined;
|
|
988
991
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
989
992
|
}>, nextContext: any): void;
|
|
990
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
993
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
991
994
|
clearable?: boolean | undefined;
|
|
992
995
|
inputFormat?: string | undefined;
|
|
993
996
|
format?: string | undefined;
|
|
@@ -1006,7 +1009,7 @@ declare const _default: {
|
|
|
1006
1009
|
locale?: string | undefined;
|
|
1007
1010
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
1008
1011
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1009
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation"> & {
|
|
1012
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "classnames" | "classPrefix" | "type" | "data" | "embed" | "label" | "style" | "className" | "theme" | "mobileUI" | "value" | "disabled" | "onFocus" | "onBlur" | "onChange" | "viewMode" | "popoverClassName" | "displayFormat" | "timeFormat" | "valueFormat" | "minDate" | "maxDate" | "minDateRaw" | "maxDateRaw" | "utc" | "dateFormat" | "popOverContainer" | "borderMode" | "onRef" | "minDuration" | "maxDuration" | "animation" | "transform"> & {
|
|
1010
1013
|
clearable?: boolean | undefined;
|
|
1011
1014
|
inputFormat?: string | undefined;
|
|
1012
1015
|
format?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.4.
|
|
2
|
+
* amis-ui v3.4.3
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ import { findDOMNode } from 'react-dom';
|
|
|
9
9
|
import moment from 'moment';
|
|
10
10
|
import omit from 'lodash/omit';
|
|
11
11
|
import kebabCase from 'lodash/kebabCase';
|
|
12
|
-
import { filterDate, noop, isExpression, FormulaExec, getComputedStyle, ucFirst, Overlay, PopOver, themeable, localeable } from 'amis-core';
|
|
12
|
+
import { str2function, filterDate, noop, isExpression, FormulaExec, getComputedStyle, ucFirst, Overlay, PopOver, themeable, localeable } from 'amis-core';
|
|
13
13
|
import { Icon } from './icons.js';
|
|
14
14
|
import Calendar from './calendar/Calendar.js';
|
|
15
15
|
import PopUp from './PopUp.js';
|
|
@@ -658,6 +658,10 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
658
658
|
type: 'start'
|
|
659
659
|
}, type = _a.type, originValue = _a.originValue, timeFormat = _a.timeFormat, subControlViewMode = _a.subControlViewMode;
|
|
660
660
|
var value = date.clone();
|
|
661
|
+
var _b = this.props, transform = _b.transform, data = _b.data;
|
|
662
|
+
var transformFn = transform && typeof transform === 'string'
|
|
663
|
+
? str2function(transform, 'value', 'config', 'props', 'data', 'moment')
|
|
664
|
+
: transform;
|
|
661
665
|
/** 日期时间选择器组件支持用户选择时间,如果用户手动选择了时间,则不需要走默认处理 */
|
|
662
666
|
if (subControlViewMode && subControlViewMode === 'time') {
|
|
663
667
|
return value;
|
|
@@ -681,6 +685,9 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
681
685
|
else {
|
|
682
686
|
value = value[type === 'start' ? 'startOf' : 'endOf']('day');
|
|
683
687
|
}
|
|
688
|
+
if (typeof transformFn === 'function') {
|
|
689
|
+
value = transformFn(value, { type: type, originValue: originValue, timeFormat: timeFormat }, this.props, data, moment);
|
|
690
|
+
}
|
|
684
691
|
return value;
|
|
685
692
|
};
|
|
686
693
|
DateRangePicker.prototype.handleDateChange = function (newValue) {
|
package/esm/components/Drawer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.4.
|
|
2
|
+
* amis-ui v3.4.3
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -39,7 +39,8 @@ var DropDownSelection = /** @class */ (function (_super) {
|
|
|
39
39
|
return filterTree(options, function (option, key, level, paths) {
|
|
40
40
|
return !!((Array.isArray(option.children) && option.children.length) ||
|
|
41
41
|
!!matchSorter([option].concat(paths), text, {
|
|
42
|
-
keys: [labelField || 'label', valueField || 'value']
|
|
42
|
+
keys: [labelField || 'label', valueField || 'value'],
|
|
43
|
+
threshold: matchSorter.rankings.CONTAINS
|
|
43
44
|
}).length);
|
|
44
45
|
}, 0, true);
|
|
45
46
|
};
|
package/esm/components/Editor.js
CHANGED
package/esm/components/Form.js
CHANGED