amis-ui 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/_virtual/index.js +8 -0
- package/esm/_virtual/react-is.development.js +8 -0
- package/esm/_virtual/react-is.production.min.js +8 -0
- package/esm/components/404.js +2 -2
- package/esm/components/Alert.js +2 -2
- package/esm/components/Alert2.js +2 -2
- package/esm/components/AnchorNav.js +2 -2
- package/esm/components/ArrayInput.js +2 -2
- package/esm/components/AsideNav.js +2 -2
- package/esm/components/AssociatedSelection.js +2 -2
- package/esm/components/Avatar.js +2 -2
- package/esm/components/Badge.js +2 -2
- package/esm/components/BaiduMapPicker.js +2 -2
- package/esm/components/BarCode.js +2 -2
- package/esm/components/Breadcrumb.js +2 -2
- package/esm/components/Button.js +2 -2
- package/esm/components/CalendarMobile.js +2 -2
- package/esm/components/Card.js +2 -2
- package/esm/components/Cascader.js +2 -2
- package/esm/components/ChainedSelection.js +2 -2
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.js +2 -2
- package/esm/components/CityDB.js +2 -2
- package/esm/components/CodeMirror.js +2 -2
- package/esm/components/Collapse.js +5 -3
- package/esm/components/CollapseGroup.js +2 -2
- package/esm/components/ColorPicker.js +2 -2
- package/esm/components/Combo.js +2 -2
- package/esm/components/ConfirmBox.js +2 -2
- package/esm/components/ContextMenu.js +2 -2
- package/esm/components/DatePicker.js +7 -2
- package/esm/components/DateRangePicker.d.ts +7 -4
- package/esm/components/DateRangePicker.js +5 -6
- package/esm/components/DndContainer.d.ts +293 -0
- package/esm/components/DndContainer.js +25 -0
- package/esm/components/Drawer.js +2 -2
- package/esm/components/Editor.js +2 -2
- package/esm/components/Form.js +2 -2
- package/esm/components/FormField.js +2 -2
- package/esm/components/GridNav.js +2 -2
- package/esm/components/GroupedSelection.js +4 -4
- package/esm/components/Html.js +2 -2
- package/esm/components/ImageGallery.d.ts +6 -5
- package/esm/components/ImageGallery.js +26 -10
- package/esm/components/Input.js +2 -2
- package/esm/components/InputBox.js +2 -2
- package/esm/components/InputBoxWithSuggestion.js +2 -2
- package/esm/components/InputTable.js +2 -2
- package/esm/components/Layout.js +2 -2
- package/esm/components/Link.js +2 -2
- package/esm/components/ListGroup.js +2 -2
- package/esm/components/ListMenu.js +2 -2
- package/esm/components/LocationPicker.js +2 -2
- package/esm/components/Markdown.js +2 -2
- package/esm/components/Modal.js +2 -2
- package/esm/components/ModalManager.js +2 -2
- package/esm/components/MultilineText.js +2 -2
- package/esm/components/NumberInput.js +4 -4
- package/esm/components/Pagination.js +2 -2
- package/esm/components/Picker.js +2 -2
- package/esm/components/PickerColumn.js +2 -2
- package/esm/components/PickerContainer.js +2 -2
- package/esm/components/PopOverContainer.js +2 -2
- package/esm/components/PopUp.js +2 -2
- package/esm/components/Progress.js +2 -2
- package/esm/components/PullRefresh.js +2 -2
- package/esm/components/Radios.js +2 -2
- package/esm/components/Range.js +2 -2
- package/esm/components/Rating.d.ts +12 -55
- package/esm/components/Rating.js +32 -16
- package/esm/components/ResultBox.d.ts +41 -40
- package/esm/components/ResultBox.js +16 -7
- package/esm/components/ResultList.d.ts +41 -40
- package/esm/components/ResultList.js +4 -4
- package/esm/components/ResultTableList.js +2 -2
- package/esm/components/ResultTreeList.js +2 -2
- package/esm/components/RichText.js +2 -2
- package/esm/components/SearchBox.js +2 -2
- package/esm/components/Select.d.ts +194 -193
- package/esm/components/Select.js +12 -8
- package/esm/components/Selection.js +2 -2
- package/esm/components/SparkLine.js +2 -2
- package/esm/components/Spinner.js +2 -2
- package/esm/components/Steps.js +2 -2
- package/esm/components/Switch.js +2 -2
- package/esm/components/TableSelection.js +2 -2
- package/esm/components/Tabs.js +16 -12
- package/esm/components/TabsTransfer.d.ts +40 -40
- package/esm/components/TabsTransfer.js +2 -2
- package/esm/components/TabsTransferPicker.js +2 -2
- package/esm/components/Tag.d.ts +14 -10
- package/esm/components/Tag.js +22 -2
- package/esm/components/Textarea.js +2 -2
- package/esm/components/Timeline.js +2 -2
- package/esm/components/TimelineItem.js +2 -2
- package/esm/components/Tinymce.js +2 -2
- package/esm/components/TitleBar.js +2 -2
- package/esm/components/Toast.js +3 -3
- package/esm/components/Tooltip.js +2 -2
- package/esm/components/TooltipWrapper.js +2 -2
- package/esm/components/Transfer.d.ts +41 -40
- package/esm/components/Transfer.js +4 -4
- package/esm/components/TransferDropDown.d.ts +40 -40
- package/esm/components/TransferDropDown.js +4 -4
- package/esm/components/TransferPicker.js +2 -2
- package/esm/components/TransferSearch.js +2 -2
- package/esm/components/Tree.js +21 -8
- package/esm/components/TreeSelection.js +2 -2
- package/esm/components/UserSelect.js +4 -2
- package/esm/components/UserTabSelect.js +4 -2
- package/esm/components/WithRemoteConfig.js +7 -6
- package/esm/components/WithStore.js +2 -2
- package/esm/components/calendar/Calendar.js +2 -2
- package/esm/components/calendar/CalendarContainer.js +2 -2
- package/esm/components/calendar/DaysView.js +2 -2
- package/esm/components/calendar/MonthsView.js +2 -2
- package/esm/components/calendar/QuartersView.js +2 -2
- package/esm/components/calendar/TimeView.js +2 -2
- package/esm/components/calendar/YearsView.js +2 -2
- package/esm/components/condition-builder/Expression.js +2 -2
- package/esm/components/condition-builder/Field.js +2 -2
- package/esm/components/condition-builder/Formula.js +2 -2
- package/esm/components/condition-builder/Func.js +2 -2
- package/esm/components/condition-builder/Group.js +2 -2
- package/esm/components/condition-builder/GroupOrItem.js +2 -2
- package/esm/components/condition-builder/InputSwitch.js +2 -2
- package/esm/components/condition-builder/Item.js +2 -2
- package/esm/components/condition-builder/Value.js +2 -2
- package/esm/components/condition-builder/config.js +2 -2
- package/esm/components/condition-builder/index.js +2 -2
- package/esm/components/formula/Editor.js +2 -2
- package/esm/components/formula/FuncList.js +2 -2
- package/esm/components/formula/Picker.js +2 -2
- package/esm/components/formula/VariableList.js +2 -2
- package/esm/components/formula/plugin.js +2 -2
- package/esm/components/icons.d.ts +2 -1
- package/esm/components/icons.js +31 -15
- package/esm/components/index.d.ts +3 -1
- package/esm/components/json-schema/Array.js +2 -2
- package/esm/components/json-schema/Item.js +2 -2
- package/esm/components/json-schema/Object.js +2 -2
- package/esm/components/json-schema/index.js +2 -2
- package/esm/components/menu/MenuContext.d.ts +73 -0
- package/esm/components/menu/MenuContext.js +25 -0
- package/esm/components/menu/MenuItem.d.ts +84 -0
- package/esm/components/menu/MenuItem.js +125 -0
- package/esm/components/menu/SubMenu.d.ts +88 -0
- package/esm/components/menu/SubMenu.js +141 -0
- package/esm/components/menu/index.d.ts +246 -0
- package/esm/components/menu/index.js +315 -0
- package/esm/components/schema-editor/Array.js +2 -2
- package/esm/components/schema-editor/Common.js +2 -2
- package/esm/components/schema-editor/Item.js +2 -2
- package/esm/components/schema-editor/Object.js +2 -2
- package/esm/components/schema-editor/SchemaVariableList.js +2 -2
- package/esm/components/schema-editor/SchemaVariableListPicker.js +2 -2
- package/esm/components/schema-editor/index.js +2 -2
- package/esm/components/table/Cell.js +2 -2
- package/esm/components/table/HeadCellDropDown.js +2 -2
- package/esm/components/table/HeadCellFilter.js +2 -2
- package/esm/components/table/HeadCellSelect.js +2 -2
- package/esm/components/table/HeadCellSort.d.ts +2 -0
- package/esm/components/table/HeadCellSort.js +25 -17
- package/esm/components/table/ItemActionsWrapper.js +2 -2
- package/esm/components/table/index.d.ts +1 -0
- package/esm/components/table/index.js +16 -9
- package/esm/components/virtual-list/AutoSizer.js +2 -2
- package/esm/components/virtual-list/SizeAndPositionManager.js +2 -2
- package/esm/components/virtual-list/constants.js +2 -2
- package/esm/components/virtual-list/index.js +2 -2
- package/esm/hooks/use-set-state.js +2 -2
- package/esm/hooks/use-sub-form.js +2 -2
- package/esm/hooks/use-touch.js +2 -2
- package/esm/hooks/use-update-effect.js +2 -2
- package/esm/hooks/use-validation-resolver.js +2 -2
- package/esm/icons/alert-danger.svg.js +2 -2
- package/esm/icons/alert-info.svg.js +2 -2
- package/esm/icons/alert-success.svg.js +2 -2
- package/esm/icons/alert-warning.svg.js +2 -2
- package/esm/icons/back.svg.js +2 -2
- package/esm/icons/calendar.svg.js +2 -2
- package/esm/icons/caret.svg.js +2 -2
- package/esm/icons/check.svg.js +2 -2
- package/esm/icons/clock.svg.js +2 -2
- package/esm/icons/close-small.svg.js +2 -2
- package/esm/icons/close.svg.js +2 -2
- package/esm/icons/cloud-upload.svg.js +7 -16
- package/esm/icons/column-filter.svg.js +2 -2
- package/esm/icons/columns.svg.js +2 -2
- package/esm/icons/compress-alt.svg.js +2 -2
- package/esm/icons/copy.svg.js +2 -2
- package/esm/icons/date.svg.js +2 -2
- package/esm/icons/department.svg.js +2 -2
- package/esm/icons/desk-empty.svg.js +2 -2
- package/esm/icons/dot.svg.js +2 -2
- package/esm/icons/down-arrow-bold.svg.js +2 -2
- package/esm/icons/down.svg.js +2 -2
- package/esm/icons/download.svg.js +2 -2
- package/esm/icons/drag-bar.svg.js +2 -2
- package/esm/icons/drag.svg.js +2 -2
- package/esm/icons/edit.svg.js +2 -2
- package/esm/icons/ellipsis-v.svg.js +2 -2
- package/esm/icons/enter.svg.js +2 -2
- package/esm/icons/exchange.svg.js +2 -2
- package/esm/icons/expand-alt.svg.js +2 -2
- package/esm/icons/fail.svg.js +12 -10
- package/esm/icons/file.svg.js +2 -2
- package/esm/icons/filter.svg.js +2 -2
- package/esm/icons/folder.svg.js +2 -2
- package/esm/icons/function.svg.js +2 -2
- package/esm/icons/home.svg.js +2 -2
- package/esm/icons/image.svg.js +2 -2
- package/esm/icons/info-circle.svg.js +2 -2
- package/esm/icons/info.svg.js +2 -2
- package/esm/icons/input-clear.svg.js +2 -2
- package/esm/icons/invisible.svg.js +2 -2
- package/esm/icons/left-arrow.svg.js +2 -2
- package/esm/icons/loading-outline.svg.js +2 -2
- package/esm/icons/location.svg.js +2 -2
- package/esm/icons/menu.svg.js +2 -2
- package/esm/icons/minus.svg.js +2 -2
- package/esm/icons/move.svg.js +2 -2
- package/esm/icons/mute.svg.js +2 -2
- package/esm/icons/new-edit.svg.js +2 -2
- package/esm/icons/pause.svg.js +2 -2
- package/esm/icons/pencil.svg.js +2 -2
- package/esm/icons/play.svg.js +2 -2
- package/esm/icons/plus-cicle.svg.js +2 -2
- package/esm/icons/plus-fine.svg.js +2 -2
- package/esm/icons/plus.svg.js +2 -2
- package/esm/icons/post.svg.js +2 -2
- package/esm/icons/question-mark.svg.js +2 -2
- package/esm/icons/question.svg.js +2 -2
- package/esm/icons/redo.svg.js +2 -2
- package/esm/icons/refresh.svg.js +2 -2
- package/esm/icons/reload.svg.js +2 -2
- package/esm/icons/remove.svg.js +2 -2
- package/esm/icons/retry.svg.js +2 -2
- package/esm/icons/right-arrow-bold.svg.js +2 -2
- package/esm/icons/right-arrow.svg.js +2 -2
- package/esm/icons/right-double-arrow.svg.js +2 -2
- package/esm/icons/role.svg.js +2 -2
- package/esm/icons/rotate-left.svg.js +2 -2
- package/esm/icons/rotate-right.svg.js +2 -2
- package/esm/icons/scale-origin.svg.js +2 -2
- package/esm/icons/schedule.svg.js +2 -2
- package/esm/icons/search.svg.js +2 -2
- package/esm/icons/setting.svg.js +2 -2
- package/esm/icons/slider-handle-icon.svg.js +2 -2
- package/esm/icons/sort-asc.svg.js +2 -2
- package/esm/icons/sort-default.svg.js +2 -2
- package/esm/icons/sort-desc.svg.js +2 -2
- package/esm/icons/star.svg.js +2 -2
- package/esm/icons/status-close.svg.js +2 -2
- package/esm/icons/steps-finsh.svg.js +2 -2
- package/esm/icons/success.svg.js +14 -12
- package/esm/icons/transparent.svg.js +2 -2
- package/esm/icons/trash.svg.js +2 -2
- package/esm/icons/tree-down.svg.js +2 -2
- package/esm/icons/undo.svg.js +2 -2
- package/esm/icons/upload.svg.js +2 -2
- package/esm/icons/user-remove.svg.js +2 -2
- package/esm/icons/view.svg.js +2 -2
- package/esm/icons/volume.svg.js +2 -2
- package/esm/icons/warning-mark.svg.js +2 -2
- package/esm/icons/warning.svg.js +2 -2
- package/esm/icons/window-restore.svg.js +2 -2
- package/esm/icons/zoom-in.svg.js +2 -2
- package/esm/icons/zoom-out.svg.js +2 -2
- package/esm/index.js +4 -2
- package/esm/locale/de-DE.js +2 -2
- package/esm/locale/en-US.js +2 -2
- package/esm/locale/zh-CN.js +2 -2
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +14 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +10 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +13 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +12 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +26 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +25 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +23 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +21 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +13 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +25 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +18 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +36 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +10 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +30 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +24 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +19 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +18 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +14 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +15 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +19 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +14 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +16 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +17 -0
- package/esm/node_modules/rc-overflow/es/Item.js +90 -0
- package/esm/node_modules/rc-overflow/es/Overflow.js +341 -0
- package/esm/node_modules/rc-overflow/es/RawItem.js +48 -0
- package/esm/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +51 -0
- package/esm/node_modules/rc-overflow/es/index.js +7 -0
- package/esm/node_modules/rc-resize-observer/es/Collection.js +41 -0
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +37 -0
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +108 -0
- package/esm/node_modules/rc-resize-observer/es/index.js +37 -0
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +48 -0
- package/esm/node_modules/rc-util/es/Children/toArray.js +28 -0
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +10 -0
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +22 -0
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +14 -0
- package/esm/node_modules/rc-util/es/hooks/useState.js +35 -0
- package/esm/node_modules/rc-util/es/raf.js +55 -0
- package/esm/node_modules/rc-util/es/ref.js +55 -0
- package/esm/node_modules/rc-util/es/warning.js +15 -0
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +195 -0
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +31 -0
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +17 -0
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +933 -0
- package/esm/themes/ang.js +2 -2
- package/esm/themes/antd.js +2 -2
- package/esm/themes/cxd.js +2 -2
- package/esm/themes/dark.js +2 -2
- package/lib/_virtual/index.js +12 -0
- package/lib/_virtual/react-is.development.js +12 -0
- package/lib/_virtual/react-is.production.min.js +12 -0
- package/lib/components/404.js +2 -2
- package/lib/components/Alert.d.ts +40 -40
- package/lib/components/Alert.js +2 -2
- package/lib/components/Alert2.d.ts +10 -10
- package/lib/components/Alert2.js +2 -2
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +2 -2
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +2 -2
- package/lib/components/AsideNav.d.ts +10 -10
- package/lib/components/AsideNav.js +2 -2
- package/lib/components/AssociatedSelection.d.ts +40 -40
- package/lib/components/AssociatedSelection.js +2 -2
- package/lib/components/Avatar.d.ts +10 -10
- package/lib/components/Avatar.js +2 -2
- package/lib/components/Badge.js +2 -2
- package/lib/components/BaiduMapPicker.js +2 -2
- package/lib/components/BarCode.js +2 -2
- package/lib/components/Breadcrumb.js +2 -2
- package/lib/components/Button.d.ts +10 -10
- package/lib/components/Button.js +2 -2
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +2 -2
- package/lib/components/Card.d.ts +10 -10
- package/lib/components/Card.js +2 -2
- package/lib/components/Cascader.js +2 -2
- package/lib/components/ChainedSelection.d.ts +40 -40
- package/lib/components/ChainedSelection.js +2 -2
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.js +2 -2
- package/lib/components/CityDB.js +2 -2
- package/lib/components/CodeMirror.js +2 -2
- package/lib/components/Collapse.d.ts +10 -10
- package/lib/components/Collapse.js +5 -3
- package/lib/components/CollapseGroup.d.ts +10 -10
- package/lib/components/CollapseGroup.js +2 -2
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +2 -2
- package/lib/components/Combo.js +2 -2
- package/lib/components/ConfirmBox.d.ts +40 -40
- package/lib/components/ConfirmBox.js +2 -2
- package/lib/components/ContextMenu.js +2 -2
- package/lib/components/DatePicker.d.ts +81 -81
- package/lib/components/DatePicker.js +7 -2
- package/lib/components/DateRangePicker.d.ts +47 -44
- package/lib/components/DateRangePicker.js +5 -6
- package/lib/components/DndContainer.d.ts +293 -0
- package/lib/components/DndContainer.js +34 -0
- package/lib/components/Drawer.d.ts +10 -10
- package/lib/components/Drawer.js +2 -2
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +2 -2
- package/lib/components/Form.js +2 -2
- package/lib/components/FormField.js +2 -2
- package/lib/components/GridNav.js +2 -2
- package/lib/components/GroupedSelection.d.ts +40 -40
- package/lib/components/GroupedSelection.js +4 -4
- package/lib/components/Html.js +2 -2
- package/lib/components/ImageGallery.d.ts +46 -45
- package/lib/components/ImageGallery.js +26 -10
- package/lib/components/Input.js +2 -2
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +2 -2
- package/lib/components/InputBoxWithSuggestion.js +2 -2
- package/lib/components/InputTable.js +2 -2
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +2 -2
- package/lib/components/Link.js +2 -2
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +2 -2
- package/lib/components/ListMenu.d.ts +40 -40
- package/lib/components/ListMenu.js +2 -2
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +2 -2
- package/lib/components/Markdown.js +2 -2
- package/lib/components/Modal.d.ts +40 -40
- package/lib/components/Modal.js +2 -2
- package/lib/components/ModalManager.js +2 -2
- package/lib/components/MonthRangePicker.d.ts +40 -40
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +2 -2
- package/lib/components/NumberInput.d.ts +10 -10
- package/lib/components/NumberInput.js +4 -4
- package/lib/components/Pagination.d.ts +40 -40
- package/lib/components/Pagination.js +2 -2
- package/lib/components/Picker.js +2 -2
- package/lib/components/PickerColumn.js +2 -2
- package/lib/components/PickerContainer.js +2 -2
- package/lib/components/PopOverContainer.js +2 -2
- package/lib/components/PopUp.d.ts +40 -40
- package/lib/components/PopUp.js +2 -2
- package/lib/components/Progress.d.ts +10 -10
- package/lib/components/Progress.js +2 -2
- package/lib/components/PullRefresh.js +2 -2
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/Radios.js +2 -2
- package/lib/components/Range.js +2 -2
- package/lib/components/Rating.d.ts +22 -65
- package/lib/components/Rating.js +32 -16
- package/lib/components/ResultBox.d.ts +41 -40
- package/lib/components/ResultBox.js +16 -7
- package/lib/components/ResultList.d.ts +41 -40
- package/lib/components/ResultList.js +4 -4
- package/lib/components/ResultTableList.d.ts +40 -40
- package/lib/components/ResultTableList.js +2 -2
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +2 -2
- package/lib/components/RichText.js +2 -2
- package/lib/components/SearchBox.d.ts +40 -40
- package/lib/components/SearchBox.js +2 -2
- package/lib/components/Select.d.ts +194 -193
- package/lib/components/Select.js +12 -8
- package/lib/components/Selection.d.ts +40 -40
- package/lib/components/Selection.js +2 -2
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +2 -2
- package/lib/components/Spinner.d.ts +10 -10
- package/lib/components/Spinner.js +2 -2
- package/lib/components/Steps.js +2 -2
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +2 -2
- package/lib/components/TableSelection.d.ts +40 -40
- package/lib/components/TableSelection.js +2 -2
- package/lib/components/Tabs.d.ts +40 -40
- package/lib/components/Tabs.js +16 -12
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +2 -2
- package/lib/components/TabsTransferPicker.js +2 -2
- package/lib/components/Tag.d.ts +14 -10
- package/lib/components/Tag.js +22 -2
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +2 -2
- package/lib/components/Timeline.js +2 -2
- package/lib/components/TimelineItem.js +2 -2
- package/lib/components/Tinymce.js +2 -2
- package/lib/components/TitleBar.js +2 -2
- package/lib/components/Toast.d.ts +40 -40
- package/lib/components/Toast.js +3 -3
- package/lib/components/Tooltip.js +2 -2
- package/lib/components/TooltipWrapper.d.ts +10 -10
- package/lib/components/TooltipWrapper.js +2 -2
- package/lib/components/Transfer.d.ts +50 -49
- package/lib/components/Transfer.js +4 -4
- package/lib/components/TransferDropDown.d.ts +40 -40
- package/lib/components/TransferDropDown.js +4 -4
- package/lib/components/TransferPicker.js +2 -2
- package/lib/components/TransferSearch.js +2 -2
- package/lib/components/Tree.d.ts +40 -40
- package/lib/components/Tree.js +21 -8
- package/lib/components/TreeSelection.d.ts +40 -40
- package/lib/components/TreeSelection.js +2 -2
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +4 -2
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +4 -2
- package/lib/components/WithRemoteConfig.js +7 -6
- package/lib/components/WithStore.js +2 -2
- package/lib/components/calendar/Calendar.js +2 -2
- package/lib/components/calendar/CalendarContainer.js +2 -2
- package/lib/components/calendar/DaysView.js +2 -2
- package/lib/components/calendar/MonthsView.js +2 -2
- package/lib/components/calendar/QuartersView.js +2 -2
- package/lib/components/calendar/TimeView.js +2 -2
- package/lib/components/calendar/YearsView.js +2 -2
- package/lib/components/condition-builder/Expression.js +2 -2
- package/lib/components/condition-builder/Field.js +2 -2
- package/lib/components/condition-builder/Formula.js +2 -2
- package/lib/components/condition-builder/Func.js +2 -2
- package/lib/components/condition-builder/Group.js +2 -2
- package/lib/components/condition-builder/GroupOrItem.js +2 -2
- package/lib/components/condition-builder/InputSwitch.js +2 -2
- package/lib/components/condition-builder/Item.js +2 -2
- package/lib/components/condition-builder/Value.js +2 -2
- package/lib/components/condition-builder/config.js +2 -2
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +2 -2
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +2 -2
- package/lib/components/formula/FuncList.js +2 -2
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +2 -2
- package/lib/components/formula/VariableList.js +2 -2
- package/lib/components/formula/plugin.js +2 -2
- package/lib/components/icons.d.ts +2 -1
- package/lib/components/icons.js +30 -14
- package/lib/components/index.d.ts +3 -1
- package/lib/components/json-schema/Array.js +2 -2
- package/lib/components/json-schema/Item.js +2 -2
- package/lib/components/json-schema/Object.js +2 -2
- package/lib/components/json-schema/index.js +2 -2
- package/lib/components/menu/MenuContext.d.ts +73 -0
- package/lib/components/menu/MenuContext.js +29 -0
- package/lib/components/menu/MenuItem.d.ts +84 -0
- package/lib/components/menu/MenuItem.js +135 -0
- package/lib/components/menu/SubMenu.d.ts +88 -0
- package/lib/components/menu/SubMenu.js +151 -0
- package/lib/components/menu/index.d.ts +246 -0
- package/lib/components/menu/index.js +328 -0
- package/lib/components/schema-editor/Array.js +2 -2
- package/lib/components/schema-editor/Common.js +2 -2
- package/lib/components/schema-editor/Item.js +2 -2
- package/lib/components/schema-editor/Object.js +2 -2
- package/lib/components/schema-editor/SchemaVariableList.js +2 -2
- package/lib/components/schema-editor/SchemaVariableListPicker.js +2 -2
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +2 -2
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +2 -2
- package/lib/components/table/HeadCellDropDown.js +2 -2
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +2 -2
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +2 -2
- package/lib/components/table/HeadCellSort.d.ts +2 -0
- package/lib/components/table/HeadCellSort.js +25 -17
- package/lib/components/table/ItemActionsWrapper.js +2 -2
- package/lib/components/table/index.d.ts +41 -40
- package/lib/components/table/index.js +16 -9
- package/lib/components/virtual-list/AutoSizer.js +2 -2
- package/lib/components/virtual-list/SizeAndPositionManager.js +2 -2
- package/lib/components/virtual-list/constants.js +2 -2
- package/lib/components/virtual-list/index.js +2 -2
- package/lib/hooks/use-set-state.js +2 -2
- package/lib/hooks/use-sub-form.js +2 -2
- package/lib/hooks/use-touch.js +2 -2
- package/lib/hooks/use-update-effect.js +2 -2
- package/lib/hooks/use-validation-resolver.js +2 -2
- package/lib/icons/alert-danger.svg.js +2 -2
- package/lib/icons/alert-info.svg.js +2 -2
- package/lib/icons/alert-success.svg.js +2 -2
- package/lib/icons/alert-warning.svg.js +2 -2
- package/lib/icons/back.svg.js +2 -2
- package/lib/icons/calendar.svg.js +2 -2
- package/lib/icons/caret.svg.js +2 -2
- package/lib/icons/check.svg.js +2 -2
- package/lib/icons/clock.svg.js +2 -2
- package/lib/icons/close-small.svg.js +2 -2
- package/lib/icons/close.svg.js +2 -2
- package/lib/icons/cloud-upload.svg.js +7 -16
- package/lib/icons/column-filter.svg.js +2 -2
- package/lib/icons/columns.svg.js +2 -2
- package/lib/icons/compress-alt.svg.js +2 -2
- package/lib/icons/copy.svg.js +2 -2
- package/lib/icons/date.svg.js +2 -2
- package/lib/icons/department.svg.js +2 -2
- package/lib/icons/desk-empty.svg.js +2 -2
- package/lib/icons/dot.svg.js +2 -2
- package/lib/icons/down-arrow-bold.svg.js +2 -2
- package/lib/icons/down.svg.js +2 -2
- package/lib/icons/download.svg.js +2 -2
- package/lib/icons/drag-bar.svg.js +2 -2
- package/lib/icons/drag.svg.js +2 -2
- package/lib/icons/edit.svg.js +2 -2
- package/lib/icons/ellipsis-v.svg.js +2 -2
- package/lib/icons/enter.svg.js +2 -2
- package/lib/icons/exchange.svg.js +2 -2
- package/lib/icons/expand-alt.svg.js +2 -2
- package/lib/icons/fail.svg.js +12 -10
- package/lib/icons/file.svg.js +2 -2
- package/lib/icons/filter.svg.js +2 -2
- package/lib/icons/folder.svg.js +2 -2
- package/lib/icons/function.svg.js +2 -2
- package/lib/icons/home.svg.js +2 -2
- package/lib/icons/image.svg.js +2 -2
- package/lib/icons/info-circle.svg.js +2 -2
- package/lib/icons/info.svg.js +2 -2
- package/lib/icons/input-clear.svg.js +2 -2
- package/lib/icons/invisible.svg.js +2 -2
- package/lib/icons/left-arrow.svg.js +2 -2
- package/lib/icons/loading-outline.svg.js +2 -2
- package/lib/icons/location.svg.js +2 -2
- package/lib/icons/menu.svg.js +2 -2
- package/lib/icons/minus.svg.js +2 -2
- package/lib/icons/move.svg.js +2 -2
- package/lib/icons/mute.svg.js +2 -2
- package/lib/icons/new-edit.svg.js +2 -2
- package/lib/icons/pause.svg.js +2 -2
- package/lib/icons/pencil.svg.js +2 -2
- package/lib/icons/play.svg.js +2 -2
- package/lib/icons/plus-cicle.svg.js +2 -2
- package/lib/icons/plus-fine.svg.js +2 -2
- package/lib/icons/plus.svg.js +2 -2
- package/lib/icons/post.svg.js +2 -2
- package/lib/icons/question-mark.svg.js +2 -2
- package/lib/icons/question.svg.js +2 -2
- package/lib/icons/redo.svg.js +2 -2
- package/lib/icons/refresh.svg.js +2 -2
- package/lib/icons/reload.svg.js +2 -2
- package/lib/icons/remove.svg.js +2 -2
- package/lib/icons/retry.svg.js +2 -2
- package/lib/icons/right-arrow-bold.svg.js +2 -2
- package/lib/icons/right-arrow.svg.js +2 -2
- package/lib/icons/right-double-arrow.svg.js +2 -2
- package/lib/icons/role.svg.js +2 -2
- package/lib/icons/rotate-left.svg.js +2 -2
- package/lib/icons/rotate-right.svg.js +2 -2
- package/lib/icons/scale-origin.svg.js +2 -2
- package/lib/icons/schedule.svg.js +2 -2
- package/lib/icons/search.svg.js +2 -2
- package/lib/icons/setting.svg.js +2 -2
- package/lib/icons/slider-handle-icon.svg.js +2 -2
- package/lib/icons/sort-asc.svg.js +2 -2
- package/lib/icons/sort-default.svg.js +2 -2
- package/lib/icons/sort-desc.svg.js +2 -2
- package/lib/icons/star.svg.js +2 -2
- package/lib/icons/status-close.svg.js +2 -2
- package/lib/icons/steps-finsh.svg.js +2 -2
- package/lib/icons/success.svg.js +29 -27
- package/lib/icons/transparent.svg.js +2 -2
- package/lib/icons/trash.svg.js +2 -2
- package/lib/icons/tree-down.svg.js +2 -2
- package/lib/icons/undo.svg.js +2 -2
- package/lib/icons/upload.svg.js +2 -2
- package/lib/icons/user-remove.svg.js +2 -2
- package/lib/icons/view.svg.js +2 -2
- package/lib/icons/volume.svg.js +2 -2
- package/lib/icons/warning-mark.svg.js +2 -2
- package/lib/icons/warning.svg.js +2 -2
- package/lib/icons/window-restore.svg.js +2 -2
- package/lib/icons/zoom-in.svg.js +2 -2
- package/lib/icons/zoom-out.svg.js +2 -2
- package/lib/index.js +6 -2
- package/lib/locale/de-DE.js +2 -2
- package/lib/locale/en-US.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +18 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +14 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +17 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +16 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +30 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +29 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +27 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +25 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +17 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +29 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +22 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +40 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +14 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +34 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +28 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +23 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +22 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +18 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +19 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +23 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +18 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +20 -0
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +21 -0
- package/lib/node_modules/rc-overflow/es/Item.js +117 -0
- package/lib/node_modules/rc-overflow/es/Overflow.js +368 -0
- package/lib/node_modules/rc-overflow/es/RawItem.js +75 -0
- package/lib/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +55 -0
- package/lib/node_modules/rc-overflow/es/index.js +14 -0
- package/lib/node_modules/rc-resize-observer/es/Collection.js +66 -0
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +61 -0
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +132 -0
- package/lib/node_modules/rc-resize-observer/es/index.js +61 -0
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +53 -0
- package/lib/node_modules/rc-util/es/Children/toArray.js +36 -0
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +14 -0
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +31 -0
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +38 -0
- package/lib/node_modules/rc-util/es/hooks/useState.js +59 -0
- package/lib/node_modules/rc-util/es/raf.js +59 -0
- package/lib/node_modules/rc-util/es/ref.js +61 -0
- package/lib/node_modules/rc-util/es/warning.js +19 -0
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +199 -0
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +35 -0
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +19 -0
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +937 -0
- package/lib/{scss → packages/amis-ui/scss}/helper.scss.js +2 -2
- package/lib/{scss → packages/amis-ui/scss}/themes/ang.scss.js +2 -2
- package/lib/{scss → packages/amis-ui/scss}/themes/antd.scss.js +2 -2
- package/lib/{scss → packages/amis-ui/scss}/themes/cxd.scss.js +2 -2
- package/lib/{scss → packages/amis-ui/scss}/themes/dark.scss.js +2 -2
- package/lib/{scss → packages/amis-ui/scss}/themes/default.scss.js +2 -2
- package/lib/themes/ang.css +4130 -873
- package/lib/themes/ang.js +2 -2
- package/lib/themes/antd.css +4130 -873
- package/lib/themes/antd.js +2 -2
- package/lib/themes/cxd.css +4131 -873
- package/lib/themes/cxd.js +2 -2
- package/lib/themes/dark.css +4130 -873
- package/lib/themes/dark.js +2 -2
- package/lib/themes/default.css +4131 -873
- package/package.json +5 -3
- package/scss/_components.scss +1752 -72
- package/scss/_mixins.scss +15 -6
- package/scss/_properties.scss +60 -314
- package/scss/base/_typography.scss +13 -0
- package/scss/components/_anchor-nav.scss +3 -3
- package/scss/components/_array-input.scss +1 -0
- package/scss/components/_button.scss +5 -0
- package/scss/components/_collapse-group.scss +2 -1
- package/scss/components/_collapse.scss +49 -35
- package/scss/components/_divider.scss +3 -3
- package/scss/components/_formula.scss +9 -1
- package/scss/components/_link.scss +15 -1
- package/scss/components/_menu.scss +1153 -0
- package/scss/components/_nav.scss +137 -82
- package/scss/components/_panel.scss +44 -17
- package/scss/components/_result-box.scss +4 -0
- package/scss/components/_tabs.scss +405 -137
- package/scss/components/form/_checks.scss +174 -14
- package/scss/components/form/_combo.scss +1 -0
- package/scss/components/form/_file.scss +59 -14
- package/scss/components/form/_form.scss +27 -28
- package/scss/components/form/_image.scss +95 -50
- package/scss/components/form/_list.scss +84 -1
- package/scss/components/form/_number.scss +247 -25
- package/scss/components/form/_range.scss +35 -13
- package/scss/components/form/_rating.scss +9 -3
- package/scss/components/form/_switch.scss +45 -47
- package/scss/components/form/_tag.scss +1 -0
- package/scss/components/form/_text.scss +189 -13
- package/scss/components/form/_textarea.scss +7 -9
- package/scss/components/form/_tree.scss +7 -2
- package/scss/themes/_ang-variables.scss +50 -50
- package/scss/themes/_antd-variables.scss +50 -50
- package/scss/themes/_common.scss +1 -0
- package/scss/themes/_cxd-variables.scss +51 -50
- package/scss/themes/_dark-variables.scss +50 -50
- package/esm/icons/check-circle.svg.js +0 -29
- package/esm/icons/status-fail.svg.js +0 -22
- package/esm/icons/status-info.svg.js +0 -26
- package/esm/icons/status-success.svg.js +0 -22
- package/esm/icons/status-warning.svg.js +0 -26
- package/lib/icons/check-circle.svg.js +0 -53
- package/lib/icons/status-fail.svg.js +0 -46
- package/lib/icons/status-info.svg.js +0 -50
- package/lib/icons/status-success.svg.js +0 -46
- package/lib/icons/status-warning.svg.js +0 -50
|
@@ -163,7 +163,7 @@ export declare class DateRangePicker extends React.Component<DateRangePickerProp
|
|
|
163
163
|
render(): JSX.Element;
|
|
164
164
|
}
|
|
165
165
|
declare const _default: {
|
|
166
|
-
new (props: Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
166
|
+
new (props: Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
167
167
|
startPlaceholder: string;
|
|
168
168
|
endPlaceholder: string;
|
|
169
169
|
format: string;
|
|
@@ -183,9 +183,9 @@ declare const _default: {
|
|
|
183
183
|
ref: any;
|
|
184
184
|
childRef(ref: any): void;
|
|
185
185
|
getWrappedInstance(): any;
|
|
186
|
-
render(): JSX.Element;
|
|
186
|
+
render(): JSX.Element;
|
|
187
187
|
context: any;
|
|
188
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
188
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
189
189
|
startPlaceholder: string;
|
|
190
190
|
endPlaceholder: string;
|
|
191
191
|
format: string;
|
|
@@ -203,7 +203,7 @@ declare const _default: {
|
|
|
203
203
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
204
204
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
205
205
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
206
|
-
readonly props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
206
|
+
readonly props: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
207
207
|
startPlaceholder: string;
|
|
208
208
|
endPlaceholder: string;
|
|
209
209
|
format: string;
|
|
@@ -227,7 +227,7 @@ declare const _default: {
|
|
|
227
227
|
[key: string]: React.ReactInstance;
|
|
228
228
|
};
|
|
229
229
|
componentDidMount?(): void;
|
|
230
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
230
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
231
231
|
startPlaceholder: string;
|
|
232
232
|
endPlaceholder: string;
|
|
233
233
|
format: string;
|
|
@@ -246,7 +246,7 @@ declare const _default: {
|
|
|
246
246
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
247
247
|
componentWillUnmount?(): void;
|
|
248
248
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
249
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
249
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
250
250
|
startPlaceholder: string;
|
|
251
251
|
endPlaceholder: string;
|
|
252
252
|
format: string;
|
|
@@ -263,7 +263,7 @@ declare const _default: {
|
|
|
263
263
|
locale?: string | undefined;
|
|
264
264
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
265
265
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
266
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
266
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
267
267
|
startPlaceholder: string;
|
|
268
268
|
endPlaceholder: string;
|
|
269
269
|
format: string;
|
|
@@ -282,7 +282,7 @@ declare const _default: {
|
|
|
282
282
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
283
283
|
componentWillMount?(): void;
|
|
284
284
|
UNSAFE_componentWillMount?(): void;
|
|
285
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
285
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
286
286
|
startPlaceholder: string;
|
|
287
287
|
endPlaceholder: string;
|
|
288
288
|
format: string;
|
|
@@ -299,7 +299,7 @@ declare const _default: {
|
|
|
299
299
|
locale?: string | undefined;
|
|
300
300
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
301
301
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
302
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
302
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
303
303
|
startPlaceholder: string;
|
|
304
304
|
endPlaceholder: string;
|
|
305
305
|
format: string;
|
|
@@ -316,7 +316,7 @@ declare const _default: {
|
|
|
316
316
|
locale?: string | undefined;
|
|
317
317
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
318
318
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
319
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
319
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
320
320
|
startPlaceholder: string;
|
|
321
321
|
endPlaceholder: string;
|
|
322
322
|
format: string;
|
|
@@ -333,7 +333,7 @@ declare const _default: {
|
|
|
333
333
|
locale?: string | undefined;
|
|
334
334
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
335
335
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
336
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
336
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
337
337
|
startPlaceholder: string;
|
|
338
338
|
endPlaceholder: string;
|
|
339
339
|
format: string;
|
|
@@ -354,7 +354,7 @@ declare const _default: {
|
|
|
354
354
|
displayName: string;
|
|
355
355
|
contextType: React.Context<string>;
|
|
356
356
|
ComposedComponent: React.ComponentType<{
|
|
357
|
-
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
357
|
+
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
358
358
|
startPlaceholder: string;
|
|
359
359
|
endPlaceholder: string;
|
|
360
360
|
format: string;
|
|
@@ -376,7 +376,7 @@ declare const _default: {
|
|
|
376
376
|
getWrappedInstance(): any;
|
|
377
377
|
render(): JSX.Element;
|
|
378
378
|
context: any;
|
|
379
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
379
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
380
380
|
startPlaceholder: string;
|
|
381
381
|
endPlaceholder: string;
|
|
382
382
|
format: string;
|
|
@@ -394,7 +394,7 @@ declare const _default: {
|
|
|
394
394
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
395
395
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
396
396
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
397
|
-
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
397
|
+
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
398
398
|
startPlaceholder: string;
|
|
399
399
|
endPlaceholder: string;
|
|
400
400
|
format: string;
|
|
@@ -409,16 +409,17 @@ declare const _default: {
|
|
|
409
409
|
endDateOpenedFirst: boolean;
|
|
410
410
|
}, "endDateOpenedFirst">> & {
|
|
411
411
|
locale?: string | undefined;
|
|
412
|
+
/** 开始时间 */
|
|
412
413
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
413
414
|
}> & Readonly<{
|
|
414
|
-
children?: React.ReactNode;
|
|
415
|
+
children?: React.ReactNode; /** 最近一次confirm的结束时间 */
|
|
415
416
|
}>;
|
|
416
417
|
state: Readonly<{}>;
|
|
417
418
|
refs: {
|
|
418
419
|
[key: string]: React.ReactInstance;
|
|
419
420
|
};
|
|
420
421
|
componentDidMount?(): void;
|
|
421
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
422
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
422
423
|
startPlaceholder: string;
|
|
423
424
|
endPlaceholder: string;
|
|
424
425
|
format: string;
|
|
@@ -437,7 +438,7 @@ declare const _default: {
|
|
|
437
438
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
438
439
|
componentWillUnmount?(): void;
|
|
439
440
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
440
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
441
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
441
442
|
startPlaceholder: string;
|
|
442
443
|
endPlaceholder: string;
|
|
443
444
|
format: string;
|
|
@@ -454,7 +455,7 @@ declare const _default: {
|
|
|
454
455
|
locale?: string | undefined;
|
|
455
456
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
456
457
|
}>, prevState: Readonly<{}>): any;
|
|
457
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
458
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
458
459
|
startPlaceholder: string;
|
|
459
460
|
endPlaceholder: string;
|
|
460
461
|
format: string;
|
|
@@ -473,7 +474,7 @@ declare const _default: {
|
|
|
473
474
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
474
475
|
componentWillMount?(): void;
|
|
475
476
|
UNSAFE_componentWillMount?(): void;
|
|
476
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
477
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
477
478
|
startPlaceholder: string;
|
|
478
479
|
endPlaceholder: string;
|
|
479
480
|
format: string;
|
|
@@ -490,7 +491,7 @@ declare const _default: {
|
|
|
490
491
|
locale?: string | undefined;
|
|
491
492
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
492
493
|
}>, nextContext: any): void;
|
|
493
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
494
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
494
495
|
startPlaceholder: string;
|
|
495
496
|
endPlaceholder: string;
|
|
496
497
|
format: string;
|
|
@@ -507,7 +508,7 @@ declare const _default: {
|
|
|
507
508
|
locale?: string | undefined;
|
|
508
509
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
509
510
|
}>, nextContext: any): void;
|
|
510
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
511
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
511
512
|
startPlaceholder: string;
|
|
512
513
|
endPlaceholder: string;
|
|
513
514
|
format: string;
|
|
@@ -524,7 +525,7 @@ declare const _default: {
|
|
|
524
525
|
locale?: string | undefined;
|
|
525
526
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
526
527
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
527
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
528
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
528
529
|
startPlaceholder: string;
|
|
529
530
|
endPlaceholder: string;
|
|
530
531
|
format: string;
|
|
@@ -549,7 +550,7 @@ declare const _default: {
|
|
|
549
550
|
ComposedComponent: typeof DateRangePicker;
|
|
550
551
|
}>;
|
|
551
552
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
552
|
-
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
553
|
+
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
553
554
|
startPlaceholder: string;
|
|
554
555
|
endPlaceholder: string;
|
|
555
556
|
format: string;
|
|
@@ -571,7 +572,7 @@ declare const _default: {
|
|
|
571
572
|
getWrappedInstance(): any;
|
|
572
573
|
render(): JSX.Element;
|
|
573
574
|
context: any;
|
|
574
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
575
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
575
576
|
startPlaceholder: string;
|
|
576
577
|
endPlaceholder: string;
|
|
577
578
|
format: string;
|
|
@@ -589,7 +590,7 @@ declare const _default: {
|
|
|
589
590
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
590
591
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
591
592
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
592
|
-
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
593
|
+
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
593
594
|
startPlaceholder: string;
|
|
594
595
|
endPlaceholder: string;
|
|
595
596
|
format: string;
|
|
@@ -604,16 +605,17 @@ declare const _default: {
|
|
|
604
605
|
endDateOpenedFirst: boolean;
|
|
605
606
|
}, "endDateOpenedFirst">> & {
|
|
606
607
|
locale?: string | undefined;
|
|
608
|
+
/** 开始时间 */
|
|
607
609
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
608
610
|
}> & Readonly<{
|
|
609
|
-
children?: React.ReactNode;
|
|
611
|
+
children?: React.ReactNode; /** 最近一次confirm的结束时间 */
|
|
610
612
|
}>;
|
|
611
613
|
state: Readonly<{}>;
|
|
612
614
|
refs: {
|
|
613
615
|
[key: string]: React.ReactInstance;
|
|
614
616
|
};
|
|
615
617
|
componentDidMount?(): void;
|
|
616
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
618
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
617
619
|
startPlaceholder: string;
|
|
618
620
|
endPlaceholder: string;
|
|
619
621
|
format: string;
|
|
@@ -632,7 +634,7 @@ declare const _default: {
|
|
|
632
634
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
633
635
|
componentWillUnmount?(): void;
|
|
634
636
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
635
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
637
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
636
638
|
startPlaceholder: string;
|
|
637
639
|
endPlaceholder: string;
|
|
638
640
|
format: string;
|
|
@@ -649,7 +651,7 @@ declare const _default: {
|
|
|
649
651
|
locale?: string | undefined;
|
|
650
652
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
651
653
|
}>, prevState: Readonly<{}>): any;
|
|
652
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
654
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
653
655
|
startPlaceholder: string;
|
|
654
656
|
endPlaceholder: string;
|
|
655
657
|
format: string;
|
|
@@ -668,7 +670,7 @@ declare const _default: {
|
|
|
668
670
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
669
671
|
componentWillMount?(): void;
|
|
670
672
|
UNSAFE_componentWillMount?(): void;
|
|
671
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
673
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
672
674
|
startPlaceholder: string;
|
|
673
675
|
endPlaceholder: string;
|
|
674
676
|
format: string;
|
|
@@ -685,7 +687,7 @@ declare const _default: {
|
|
|
685
687
|
locale?: string | undefined;
|
|
686
688
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
687
689
|
}>, nextContext: any): void;
|
|
688
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
690
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
689
691
|
startPlaceholder: string;
|
|
690
692
|
endPlaceholder: string;
|
|
691
693
|
format: string;
|
|
@@ -702,7 +704,7 @@ declare const _default: {
|
|
|
702
704
|
locale?: string | undefined;
|
|
703
705
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
704
706
|
}>, nextContext: any): void;
|
|
705
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
707
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
706
708
|
startPlaceholder: string;
|
|
707
709
|
endPlaceholder: string;
|
|
708
710
|
format: string;
|
|
@@ -719,7 +721,7 @@ declare const _default: {
|
|
|
719
721
|
locale?: string | undefined;
|
|
720
722
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
721
723
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
722
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
724
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
723
725
|
startPlaceholder: string;
|
|
724
726
|
endPlaceholder: string;
|
|
725
727
|
format: string;
|
|
@@ -744,7 +746,7 @@ declare const _default: {
|
|
|
744
746
|
ComposedComponent: typeof DateRangePicker;
|
|
745
747
|
}, {}> & {
|
|
746
748
|
ComposedComponent: {
|
|
747
|
-
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
749
|
+
new (props: Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
748
750
|
startPlaceholder: string;
|
|
749
751
|
endPlaceholder: string;
|
|
750
752
|
format: string;
|
|
@@ -766,7 +768,7 @@ declare const _default: {
|
|
|
766
768
|
getWrappedInstance(): any;
|
|
767
769
|
render(): JSX.Element;
|
|
768
770
|
context: any;
|
|
769
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
771
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
770
772
|
startPlaceholder: string;
|
|
771
773
|
endPlaceholder: string;
|
|
772
774
|
format: string;
|
|
@@ -784,7 +786,7 @@ declare const _default: {
|
|
|
784
786
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
785
787
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
786
788
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
787
|
-
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
789
|
+
readonly props: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
788
790
|
startPlaceholder: string;
|
|
789
791
|
endPlaceholder: string;
|
|
790
792
|
format: string;
|
|
@@ -799,16 +801,17 @@ declare const _default: {
|
|
|
799
801
|
endDateOpenedFirst: boolean;
|
|
800
802
|
}, "endDateOpenedFirst">> & {
|
|
801
803
|
locale?: string | undefined;
|
|
804
|
+
/** 开始时间 */
|
|
802
805
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
803
806
|
}> & Readonly<{
|
|
804
|
-
children?: React.ReactNode;
|
|
807
|
+
children?: React.ReactNode; /** 最近一次confirm的结束时间 */
|
|
805
808
|
}>;
|
|
806
809
|
state: Readonly<{}>;
|
|
807
810
|
refs: {
|
|
808
811
|
[key: string]: React.ReactInstance;
|
|
809
812
|
};
|
|
810
813
|
componentDidMount?(): void;
|
|
811
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
814
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
812
815
|
startPlaceholder: string;
|
|
813
816
|
endPlaceholder: string;
|
|
814
817
|
format: string;
|
|
@@ -827,7 +830,7 @@ declare const _default: {
|
|
|
827
830
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
828
831
|
componentWillUnmount?(): void;
|
|
829
832
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
830
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
833
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
831
834
|
startPlaceholder: string;
|
|
832
835
|
endPlaceholder: string;
|
|
833
836
|
format: string;
|
|
@@ -844,7 +847,7 @@ declare const _default: {
|
|
|
844
847
|
locale?: string | undefined;
|
|
845
848
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
846
849
|
}>, prevState: Readonly<{}>): any;
|
|
847
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
850
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
848
851
|
startPlaceholder: string;
|
|
849
852
|
endPlaceholder: string;
|
|
850
853
|
format: string;
|
|
@@ -863,7 +866,7 @@ declare const _default: {
|
|
|
863
866
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
864
867
|
componentWillMount?(): void;
|
|
865
868
|
UNSAFE_componentWillMount?(): void;
|
|
866
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
869
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
867
870
|
startPlaceholder: string;
|
|
868
871
|
endPlaceholder: string;
|
|
869
872
|
format: string;
|
|
@@ -880,7 +883,7 @@ declare const _default: {
|
|
|
880
883
|
locale?: string | undefined;
|
|
881
884
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
882
885
|
}>, nextContext: any): void;
|
|
883
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
886
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
884
887
|
startPlaceholder: string;
|
|
885
888
|
endPlaceholder: string;
|
|
886
889
|
format: string;
|
|
@@ -897,7 +900,7 @@ declare const _default: {
|
|
|
897
900
|
locale?: string | undefined;
|
|
898
901
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
899
902
|
}>, nextContext: any): void;
|
|
900
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
903
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
901
904
|
startPlaceholder: string;
|
|
902
905
|
endPlaceholder: string;
|
|
903
906
|
format: string;
|
|
@@ -914,7 +917,7 @@ declare const _default: {
|
|
|
914
917
|
locale?: string | undefined;
|
|
915
918
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
916
919
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
917
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "
|
|
920
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "data" | "embed" | "label" | "style" | "disabled" | "className" | "onFocus" | "onBlur" | "onChange" | "classPrefix" | "classnames" | "popOverContainer" | "type" | "theme" | "value" | "viewMode" | "popoverClassName" | "timeFormat" | "minDate" | "maxDate" | "utc" | "dateFormat" | "borderMode" | "useMobileUI" | "onRef" | "minDuration" | "maxDuration" | "animation"> & Partial<Pick<Omit<DateRangePickerProps, keyof LocaleProps>, "clearable" | "inputFormat" | "format" | "closeOnSelect" | "overlayPlacement" | "startPlaceholder" | "endPlaceholder" | "ranges" | "joinValues" | "delimiter" | "resetValue">> & Partial<Pick<{
|
|
918
921
|
startPlaceholder: string;
|
|
919
922
|
endPlaceholder: string;
|
|
920
923
|
format: string;
|