amis-ui 6.14.0-beta.1 → 6.14.0-beta.10
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/HTMLFilterContext.js +1 -1
- package/esm/components/404.d.ts +2 -3
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +206 -207
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +22 -23
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AlphabetIndexer.js +1 -1
- package/esm/components/AnchorNav.d.ts +27 -27
- package/esm/components/AnchorNav.js +4 -4
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.d.ts +166 -167
- package/esm/components/ArrayInput.js +3 -3
- package/esm/components/AsideNav.d.ts +22 -23
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +125 -126
- package/esm/components/AssociatedSelection.js +3 -3
- package/esm/components/AutoFoldedList.d.ts +2 -3
- package/esm/components/AutoFoldedList.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.d.ts +92 -93
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +2 -50
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +2 -4
- package/esm/components/BaiduMapPicker.js +4 -4
- package/esm/components/BarCode.d.ts +2 -3
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +2 -3
- package/esm/components/Breadcrumb.js +3 -3
- package/esm/components/Button.d.ts +22 -23
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +165 -166
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +172 -173
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +2 -3
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +125 -126
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +125 -126
- package/esm/components/ChainedSelection.js +3 -3
- package/esm/components/Checkbox.d.ts +32 -33
- package/esm/components/Checkbox.js +3 -3
- package/esm/components/CityArea.d.ts +88 -89
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +4 -4
- package/esm/components/Collapse.d.ts +152 -153
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +32 -33
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +88 -89
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +94 -89
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +109 -110
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +2 -3
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +246 -247
- package/esm/components/DatePicker.js +2 -3
- package/esm/components/DateRangePicker.d.ts +285 -287
- package/esm/components/DateRangePicker.js +1 -1
- package/esm/components/DiffEditor.js +3 -3
- package/esm/components/DndContainer.d.ts +29 -30
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +24 -25
- package/esm/components/Drawer.js +3 -3
- package/esm/components/DropDownSelection.d.ts +125 -126
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/DropdownContextMenus.d.ts +2 -3
- package/esm/components/DropdownContextMenus.js +1 -1
- package/esm/components/Editor.d.ts +245 -246
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +2 -2
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +88 -89
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.d.ts +2 -4
- package/esm/components/GaodeMapPicker.js +11 -11
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.d.ts +125 -126
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/HorizontalScroll.d.ts +0 -1
- package/esm/components/HorizontalScroll.js +1 -1
- package/esm/components/Html.d.ts +2 -3
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.d.ts +125 -153
- package/esm/components/ImageGallery.js +3 -3
- package/esm/components/Input.js +3 -3
- package/esm/components/InputBox.d.ts +12 -13
- package/esm/components/InputBox.js +3 -3
- package/esm/components/InputBoxWithSuggestion.d.ts +88 -89
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.d.ts +88 -89
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.js +1 -1
- package/esm/components/Layout.d.ts +2 -3
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +2 -3
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +12 -13
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +165 -166
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +125 -126
- package/esm/components/LocationPicker.js +3 -3
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MixedInput.d.ts +2 -3
- package/esm/components/MixedInput.js +1 -1
- package/esm/components/MobileDevTool.js +1 -1
- package/esm/components/Modal.d.ts +448 -448
- package/esm/components/Modal.js +3 -3
- package/esm/components/ModalManager.d.ts +0 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +165 -166
- package/esm/components/MultilineText.d.ts +128 -129
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +22 -23
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.d.ts +2 -3
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.d.ts +245 -246
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.d.ts +2 -3
- package/esm/components/PdfViewer.js +1 -1
- package/esm/components/Picker.d.ts +88 -89
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +2 -3
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +88 -89
- package/esm/components/PickerContainer.js +16 -16
- package/esm/components/PopOverContainer.js +3 -3
- package/esm/components/PopUp.d.ts +125 -126
- package/esm/components/PopUp.js +3 -3
- package/esm/components/Progress.d.ts +42 -43
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +2 -3
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +22 -23
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +2 -3
- package/esm/components/Range.js +3 -3
- package/esm/components/Rating.d.ts +42 -43
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +165 -166
- package/esm/components/ResultBox.js +3 -3
- package/esm/components/ResultList.d.ts +165 -166
- package/esm/components/ResultList.js +3 -3
- package/esm/components/ResultTableList.d.ts +166 -167
- package/esm/components/ResultTableList.js +3 -3
- package/esm/components/ResultTreeList.d.ts +125 -126
- package/esm/components/ResultTreeList.js +3 -3
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +165 -167
- package/esm/components/SearchBox.js +2 -3
- package/esm/components/Select.d.ts +455 -1397
- package/esm/components/Select.js +1 -1
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.d.ts +125 -126
- package/esm/components/Selection.js +3 -3
- package/esm/components/Shape.d.ts +2 -3
- package/esm/components/Shape.js +1 -1
- package/esm/components/Signature.d.ts +88 -89
- package/esm/components/Signature.js +1 -1
- package/esm/components/Slider.d.ts +5 -6
- package/esm/components/Slider.js +1 -1
- package/esm/components/SparkLine.d.ts +125 -126
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +52 -53
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +2 -3
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +32 -33
- package/esm/components/Switch.js +1 -1
- package/esm/components/Tab.js +1 -1
- package/esm/components/Table.js +1 -1
- package/esm/components/TableSelection.d.ts +166 -167
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +156 -157
- package/esm/components/Tabs.js +8 -7
- package/esm/components/TabsTransfer.d.ts +125 -127
- package/esm/components/TabsTransfer.js +3 -3
- package/esm/components/TabsTransferPicker.d.ts +88 -89
- package/esm/components/TabsTransferPicker.js +3 -3
- package/esm/components/Tag.d.ts +54 -55
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +125 -126
- package/esm/components/Textarea.js +3 -3
- package/esm/components/Timeline.d.ts +2 -3
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +397 -426
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +3 -3
- package/esm/components/TitleBar.d.ts +2 -3
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +168 -169
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +2 -3
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +42 -43
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +373 -384
- package/esm/components/Transfer.js +4 -4
- package/esm/components/TransferDropDown.d.ts +165 -166
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +88 -89
- package/esm/components/TransferPicker.js +3 -3
- package/esm/components/TransferSearch.d.ts +88 -90
- package/esm/components/TransferSearch.js +3 -3
- package/esm/components/Tree.d.ts +728 -728
- package/esm/components/Tree.js +47 -31
- package/esm/components/TreeSelection.d.ts +165 -166
- package/esm/components/TreeSelection.js +3 -3
- package/esm/components/UserSelect.d.ts +125 -127
- package/esm/components/UserSelect.js +5 -5
- package/esm/components/UserTabSelect.d.ts +125 -126
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.d.ts +2 -3
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.js +1 -1
- package/esm/components/WithRemoteConfig.d.ts +11 -12
- package/esm/components/WithRemoteConfig.js +33 -34
- package/esm/components/WithStore.d.ts +4 -4
- package/esm/components/WithStore.js +3 -3
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +3 -3
- package/esm/components/calendar/DaysView.d.ts +22 -23
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.d.ts +20 -21
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.d.ts +20 -21
- package/esm/components/calendar/QuartersView.js +3 -3
- package/esm/components/calendar/TimeView.d.ts +21 -22
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +20 -21
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +92 -93
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +88 -89
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +88 -89
- package/esm/components/condition-builder/Func.d.ts +91 -92
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +92 -93
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +5 -6
- package/esm/components/condition-builder/GroupOrItem.js +3 -3
- package/esm/components/condition-builder/InputSwitch.d.ts +2 -3
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +93 -94
- package/esm/components/condition-builder/Item.js +7 -5
- package/esm/components/condition-builder/Value.d.ts +90 -91
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.d.ts +2 -2
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +98 -99
- package/esm/components/condition-builder/index.js +3 -3
- package/esm/components/condition-builder/types.d.ts +4 -4
- package/esm/components/formula/CodeEditor.d.ts +2 -3
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.d.ts +165 -206
- package/esm/components/formula/Editor.js +2 -2
- package/esm/components/formula/FuncList.d.ts +2 -3
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.d.ts +88 -89
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.d.ts +126 -155
- package/esm/components/formula/Picker.js +12 -12
- package/esm/components/formula/VariableList.d.ts +2 -3
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +1 -1
- 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 +2 -1
- package/esm/components/json-schema/index.d.ts +88 -89
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.d.ts +0 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +2 -3
- package/esm/components/menu/MenuItem.js +3 -3
- package/esm/components/menu/PanelMenu.d.ts +2 -3
- package/esm/components/menu/PanelMenu.js +1 -1
- package/esm/components/menu/SubMenu.d.ts +2 -3
- package/esm/components/menu/SubMenu.js +3 -3
- package/esm/components/menu/index.d.ts +62 -63
- package/esm/components/menu/index.js +12 -13
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.d.ts +4 -4
- package/esm/components/schema-editor/Object.js +3 -3
- package/esm/components/schema-editor/SchemaVariableList.d.ts +29 -30
- package/esm/components/schema-editor/SchemaVariableList.js +3 -3
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +29 -30
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +248 -255
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.d.ts +1 -1
- package/esm/components/table/ColGroup.js +36 -20
- package/esm/components/table/Head.js +2 -2
- package/esm/components/table/HeadCellDropDown.d.ts +88 -89
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +128 -129
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +125 -126
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +88 -89
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +2 -2
- package/esm/components/table/SummaryRow.js +3 -3
- package/esm/components/table/index.d.ts +246 -248
- package/esm/components/table/index.js +60 -35
- package/esm/components/table/util.d.ts +53 -22
- package/esm/components/table/util.js +21 -18
- 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.d.ts +1 -1
- package/esm/components/virtual-list/index.js +3 -3
- package/esm/components/withBadge.js +1 -1
- package/esm/hooks/use-click-away.js +1 -1
- package/esm/hooks/use-on-screen.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +2 -2
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.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/fullscreen.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/question2.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/rotate-screen.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/sub-plus.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-normal.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +4 -2
- package/esm/locale/en-US.js +4 -2
- package/esm/locale/zh-CN.js +4 -2
- 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/esm/utils/vectorComputed.js +1 -1
- package/esm/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/HTMLFilterContext.js +1 -1
- package/lib/components/404.d.ts +2 -3
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +206 -207
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +22 -23
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AlphabetIndexer.js +1 -1
- package/lib/components/AnchorNav.d.ts +17 -17
- package/lib/components/AnchorNav.js +3 -3
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.d.ts +166 -167
- package/lib/components/ArrayInput.js +2 -2
- package/lib/components/AsideNav.d.ts +12 -13
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +205 -206
- package/lib/components/AssociatedSelection.js +2 -2
- package/lib/components/AutoFoldedList.d.ts +2 -3
- package/lib/components/AutoFoldedList.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.d.ts +132 -133
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +3 -51
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +2 -4
- package/lib/components/BaiduMapPicker.js +3 -3
- package/lib/components/BarCode.d.ts +2 -3
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +2 -3
- package/lib/components/Breadcrumb.js +2 -2
- package/lib/components/Button.d.ts +32 -33
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +165 -166
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +202 -203
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +2 -3
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +205 -206
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +205 -206
- package/lib/components/ChainedSelection.js +2 -2
- package/lib/components/Checkbox.d.ts +32 -33
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +88 -89
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +3 -3
- package/lib/components/Collapse.d.ts +192 -193
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +62 -63
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +165 -166
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +94 -89
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.d.ts +69 -70
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +2 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +246 -247
- package/lib/components/DatePicker.js +2 -3
- package/lib/components/DateRangePicker.d.ts +485 -487
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DiffEditor.js +2 -2
- package/lib/components/DndContainer.d.ts +29 -30
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +24 -25
- package/lib/components/Drawer.js +2 -2
- package/lib/components/DropDownSelection.d.ts +205 -206
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/DropdownContextMenus.d.ts +2 -3
- package/lib/components/DropdownContextMenus.js +1 -1
- package/lib/components/Editor.d.ts +245 -246
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +2 -2
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +88 -89
- package/lib/components/FormField.js +1 -1
- package/lib/components/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.d.ts +2 -4
- package/lib/components/GaodeMapPicker.js +10 -10
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.d.ts +205 -206
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/HorizontalScroll.d.ts +0 -1
- package/lib/components/HorizontalScroll.js +1 -1
- package/lib/components/Html.d.ts +2 -3
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.d.ts +125 -153
- package/lib/components/ImageGallery.js +2 -2
- package/lib/components/Input.js +2 -2
- package/lib/components/InputBox.d.ts +12 -13
- package/lib/components/InputBox.js +2 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +88 -89
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.d.ts +88 -89
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- package/lib/components/Layout.d.ts +2 -3
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +2 -3
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +12 -13
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +165 -166
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +125 -126
- package/lib/components/LocationPicker.js +2 -2
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MixedInput.d.ts +2 -3
- package/lib/components/MixedInput.js +1 -1
- package/lib/components/MobileDevTool.js +1 -1
- package/lib/components/Modal.d.ts +448 -448
- package/lib/components/Modal.js +2 -2
- package/lib/components/ModalManager.d.ts +0 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +325 -326
- package/lib/components/MultilineText.d.ts +165 -166
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +32 -33
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.d.ts +2 -3
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.d.ts +245 -246
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.d.ts +2 -3
- package/lib/components/PdfViewer.js +1 -1
- package/lib/components/Picker.d.ts +88 -89
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +2 -3
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +88 -89
- package/lib/components/PickerContainer.js +15 -15
- package/lib/components/PopOverContainer.js +2 -2
- package/lib/components/PopUp.d.ts +205 -206
- package/lib/components/PopUp.js +2 -2
- package/lib/components/Progress.d.ts +82 -83
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +2 -3
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +22 -23
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +2 -3
- package/lib/components/Range.js +2 -2
- package/lib/components/Rating.d.ts +42 -43
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +205 -206
- package/lib/components/ResultBox.js +2 -2
- package/lib/components/ResultList.d.ts +205 -206
- package/lib/components/ResultList.js +2 -2
- package/lib/components/ResultTableList.d.ts +246 -247
- package/lib/components/ResultTableList.js +2 -2
- package/lib/components/ResultTreeList.d.ts +125 -126
- package/lib/components/ResultTreeList.js +2 -2
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +205 -207
- package/lib/components/SearchBox.js +2 -3
- package/lib/components/Select.d.ts +2322 -3264
- package/lib/components/Select.js +1 -1
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +205 -206
- package/lib/components/Selection.js +3 -3
- package/lib/components/Shape.d.ts +2 -3
- package/lib/components/Shape.js +1 -1
- package/lib/components/Signature.d.ts +88 -89
- package/lib/components/Signature.js +1 -1
- package/lib/components/Slider.d.ts +5 -6
- package/lib/components/Slider.js +1 -1
- package/lib/components/SparkLine.d.ts +125 -126
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +52 -53
- package/lib/components/Spinner.js +2 -2
- package/lib/components/Steps.d.ts +2 -3
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +32 -33
- package/lib/components/Switch.js +1 -1
- package/lib/components/Tab.js +1 -1
- package/lib/components/Table.js +1 -1
- package/lib/components/TableSelection.d.ts +246 -247
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +156 -157
- package/lib/components/Tabs.js +6 -5
- package/lib/components/TabsTransfer.d.ts +125 -127
- package/lib/components/TabsTransfer.js +2 -2
- package/lib/components/TabsTransferPicker.d.ts +88 -89
- package/lib/components/TabsTransferPicker.js +2 -2
- package/lib/components/Tag.d.ts +94 -95
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +125 -126
- package/lib/components/Textarea.js +2 -2
- package/lib/components/Timeline.d.ts +2 -3
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +397 -426
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +2 -2
- package/lib/components/TitleBar.d.ts +2 -3
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +205 -206
- package/lib/components/Toast.js +4 -4
- package/lib/components/Tooltip.d.ts +2 -3
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +32 -33
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +493 -504
- package/lib/components/Transfer.js +3 -3
- package/lib/components/TransferDropDown.d.ts +285 -286
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +88 -89
- package/lib/components/TransferPicker.js +2 -2
- package/lib/components/TransferSearch.d.ts +88 -90
- package/lib/components/TransferSearch.js +2 -2
- package/lib/components/Tree.d.ts +969 -969
- package/lib/components/Tree.js +47 -31
- package/lib/components/TreeSelection.d.ts +245 -246
- package/lib/components/TreeSelection.js +2 -2
- package/lib/components/UserSelect.d.ts +165 -167
- package/lib/components/UserSelect.js +5 -5
- package/lib/components/UserTabSelect.d.ts +125 -126
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/VerificationCode.d.ts +2 -3
- package/lib/components/VerificationCode.js +1 -1
- package/lib/components/VirtualList.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +11 -12
- package/lib/components/WithRemoteConfig.js +33 -34
- package/lib/components/WithStore.d.ts +4 -4
- package/lib/components/WithStore.js +2 -2
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +2 -2
- package/lib/components/calendar/DaysView.d.ts +22 -23
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.d.ts +20 -21
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.d.ts +20 -21
- package/lib/components/calendar/QuartersView.js +2 -2
- package/lib/components/calendar/TimeView.d.ts +21 -22
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +20 -21
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +92 -93
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +88 -89
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +88 -89
- package/lib/components/condition-builder/Func.d.ts +91 -92
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +92 -93
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +5 -6
- package/lib/components/condition-builder/GroupOrItem.js +2 -2
- package/lib/components/condition-builder/InputSwitch.d.ts +2 -3
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +93 -94
- package/lib/components/condition-builder/Item.js +7 -5
- package/lib/components/condition-builder/Value.d.ts +90 -91
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.d.ts +2 -2
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +98 -99
- package/lib/components/condition-builder/index.js +2 -2
- package/lib/components/condition-builder/types.d.ts +4 -4
- package/lib/components/formula/CodeEditor.d.ts +2 -3
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +165 -206
- package/lib/components/formula/Editor.js +2 -2
- package/lib/components/formula/FuncList.d.ts +2 -3
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.d.ts +88 -89
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +126 -155
- package/lib/components/formula/Picker.js +12 -12
- package/lib/components/formula/VariableList.d.ts +2 -3
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +1 -1
- 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 +2 -1
- package/lib/components/json-schema/index.d.ts +88 -89
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.d.ts +0 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +2 -3
- package/lib/components/menu/MenuItem.js +2 -2
- package/lib/components/menu/PanelMenu.d.ts +2 -3
- package/lib/components/menu/PanelMenu.js +1 -1
- package/lib/components/menu/SubMenu.d.ts +2 -3
- package/lib/components/menu/SubMenu.js +2 -2
- package/lib/components/menu/index.d.ts +82 -83
- package/lib/components/menu/index.js +12 -13
- package/lib/components/schema-editor/Array.js +2 -2
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.d.ts +4 -4
- package/lib/components/schema-editor/Object.js +2 -2
- package/lib/components/schema-editor/SchemaVariableList.d.ts +29 -30
- package/lib/components/schema-editor/SchemaVariableList.js +2 -2
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +29 -30
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +248 -255
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/ColGroup.d.ts +1 -1
- package/lib/components/table/ColGroup.js +36 -20
- package/lib/components/table/Head.js +2 -2
- package/lib/components/table/HeadCellDropDown.d.ts +88 -89
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +165 -166
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +125 -126
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +88 -89
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +2 -2
- package/lib/components/table/SummaryRow.js +2 -2
- package/lib/components/table/index.d.ts +286 -288
- package/lib/components/table/index.js +60 -35
- package/lib/components/table/util.d.ts +53 -22
- package/lib/components/table/util.js +21 -18
- 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.d.ts +1 -1
- package/lib/components/virtual-list/index.js +2 -2
- package/lib/components/withBadge.js +1 -1
- package/lib/hooks/use-click-away.js +1 -1
- package/lib/hooks/use-on-screen.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +2 -2
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.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/fullscreen.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/question2.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/rotate-screen.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/sub-plus.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-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +4 -2
- package/lib/locale/en-US.js +4 -2
- package/lib/locale/zh-CN.js +4 -2
- 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 +27 -11
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +27 -11
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +27 -11
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +27 -11
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +27 -11
- package/lib/utils/vectorComputed.js +1 -1
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +4 -4
- package/scss/components/_anchor-nav.scss +1 -1
- package/scss/components/_condition-builder.scss +20 -0
- package/scss/components/_table2.scss +46 -16
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="hoist-non-react-statics" />
|
|
2
1
|
import React, { ReactNode } from 'react';
|
|
3
2
|
import { ThemeProps, LocaleProps } from 'amis-core';
|
|
4
3
|
import type { IconCheckedSchema } from './index';
|
|
@@ -80,7 +79,7 @@ export declare const isColor: (color?: string) => boolean;
|
|
|
80
79
|
* @param align 对齐方式,可选值有'left'、'center'、'right'、'top'、'bottom'
|
|
81
80
|
* @returns 返回对齐方式,默认根据方向设置,若方向和对齐方式不匹配则根据方向调整对齐方式
|
|
82
81
|
*/
|
|
83
|
-
export declare const getAlignByDirection: (direction:
|
|
82
|
+
export declare const getAlignByDirection: (direction: "vertical" | "horizontal", align?: "left" | "center" | "right" | "top" | "bottom") => "center" | "left" | "right" | "bottom" | "top";
|
|
84
83
|
/**
|
|
85
84
|
* TimelineTime 函数组件,用于展示时间线中的时间节点。
|
|
86
85
|
* @param props 组件的属性
|
|
@@ -109,35 +108,28 @@ declare const _default: {
|
|
|
109
108
|
new (props: Omit<Omit<TimelineItem & {
|
|
110
109
|
direction: "vertical";
|
|
111
110
|
}, keyof LocaleProps> & {
|
|
112
|
-
locale?: string
|
|
113
|
-
translate?: (
|
|
111
|
+
locale?: string;
|
|
112
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
114
113
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
115
114
|
ref: any;
|
|
116
|
-
childRef(ref: any)
|
|
117
|
-
getWrappedInstance()
|
|
115
|
+
childRef: (ref: any) => void;
|
|
116
|
+
getWrappedInstance: () => any;
|
|
118
117
|
render(): React.JSX.Element;
|
|
119
118
|
context: unknown;
|
|
120
119
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<TimelineItem & {
|
|
121
120
|
direction: "vertical";
|
|
122
121
|
}, keyof LocaleProps> & {
|
|
123
|
-
locale?: string
|
|
124
|
-
translate?: (
|
|
122
|
+
locale?: string;
|
|
123
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
125
124
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
126
125
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
127
126
|
readonly props: Readonly<Omit<Omit<TimelineItem & {
|
|
128
127
|
direction: "vertical";
|
|
129
128
|
}, keyof LocaleProps> & {
|
|
130
|
-
locale?: string
|
|
131
|
-
translate?: (
|
|
129
|
+
locale?: string;
|
|
130
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
132
131
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
133
|
-
state: Readonly<{}>;
|
|
134
|
-
* TimelineTime 函数组件,用于展示时间线中的时间节点。
|
|
135
|
-
* @param props 组件的属性
|
|
136
|
-
* @param props.time 时间文本
|
|
137
|
-
* @param props.timeClassName 时间节点的自定义类名
|
|
138
|
-
* @param props.classnames 类名辅助函数,用于动态生成类名字符串
|
|
139
|
-
* @returns 返回包含时间文本的 div 元素
|
|
140
|
-
*/
|
|
132
|
+
state: Readonly<{}>;
|
|
141
133
|
refs: {
|
|
142
134
|
[key: string]: React.ReactInstance;
|
|
143
135
|
};
|
|
@@ -145,48 +137,48 @@ declare const _default: {
|
|
|
145
137
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
146
138
|
direction: "vertical";
|
|
147
139
|
}, keyof LocaleProps> & {
|
|
148
|
-
locale?: string
|
|
149
|
-
translate?: (
|
|
140
|
+
locale?: string;
|
|
141
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
150
142
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
151
143
|
componentWillUnmount?(): void;
|
|
152
144
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
153
145
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem & {
|
|
154
146
|
direction: "vertical";
|
|
155
147
|
}, keyof LocaleProps> & {
|
|
156
|
-
locale?: string
|
|
157
|
-
translate?: (
|
|
148
|
+
locale?: string;
|
|
149
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
158
150
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
159
151
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem & {
|
|
160
152
|
direction: "vertical";
|
|
161
153
|
}, keyof LocaleProps> & {
|
|
162
|
-
locale?: string
|
|
163
|
-
translate?: (
|
|
154
|
+
locale?: string;
|
|
155
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
164
156
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
165
157
|
componentWillMount?(): void;
|
|
166
158
|
UNSAFE_componentWillMount?(): void;
|
|
167
159
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
168
160
|
direction: "vertical";
|
|
169
161
|
}, keyof LocaleProps> & {
|
|
170
|
-
locale?: string
|
|
171
|
-
translate?: (
|
|
162
|
+
locale?: string;
|
|
163
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
172
164
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
173
165
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
174
166
|
direction: "vertical";
|
|
175
167
|
}, keyof LocaleProps> & {
|
|
176
|
-
locale?: string
|
|
177
|
-
translate?: (
|
|
168
|
+
locale?: string;
|
|
169
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
178
170
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
179
171
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
180
172
|
direction: "vertical";
|
|
181
173
|
}, keyof LocaleProps> & {
|
|
182
|
-
locale?: string
|
|
183
|
-
translate?: (
|
|
174
|
+
locale?: string;
|
|
175
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
184
176
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
185
177
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
186
178
|
direction: "vertical";
|
|
187
179
|
}, keyof LocaleProps> & {
|
|
188
|
-
locale?: string
|
|
189
|
-
translate?: (
|
|
180
|
+
locale?: string;
|
|
181
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
190
182
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
191
183
|
};
|
|
192
184
|
displayName: string;
|
|
@@ -195,26 +187,26 @@ declare const _default: {
|
|
|
195
187
|
new (props: Omit<TimelineItem & {
|
|
196
188
|
direction: "vertical";
|
|
197
189
|
}, keyof LocaleProps> & {
|
|
198
|
-
locale?: string
|
|
199
|
-
translate?: (
|
|
190
|
+
locale?: string;
|
|
191
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
200
192
|
}): {
|
|
201
193
|
ref: any;
|
|
202
194
|
childRef(ref: any): void;
|
|
203
195
|
getWrappedInstance(): any;
|
|
204
196
|
render(): React.JSX.Element;
|
|
205
197
|
context: unknown;
|
|
206
|
-
setState<
|
|
198
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem & {
|
|
207
199
|
direction: "vertical";
|
|
208
200
|
}, keyof LocaleProps> & {
|
|
209
|
-
locale?: string
|
|
210
|
-
translate?: (
|
|
211
|
-
}>) => {} | Pick<{},
|
|
201
|
+
locale?: string;
|
|
202
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
203
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
212
204
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
213
205
|
readonly props: Readonly<Omit<TimelineItem & {
|
|
214
206
|
direction: "vertical";
|
|
215
207
|
}, keyof LocaleProps> & {
|
|
216
|
-
locale?: string
|
|
217
|
-
translate?: (
|
|
208
|
+
locale?: string;
|
|
209
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
218
210
|
}>;
|
|
219
211
|
state: Readonly<{}>;
|
|
220
212
|
refs: {
|
|
@@ -224,48 +216,48 @@ declare const _default: {
|
|
|
224
216
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
225
217
|
direction: "vertical";
|
|
226
218
|
}, keyof LocaleProps> & {
|
|
227
|
-
locale?: string
|
|
228
|
-
translate?: (
|
|
219
|
+
locale?: string;
|
|
220
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
229
221
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
230
222
|
componentWillUnmount?(): void;
|
|
231
223
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
232
224
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
233
225
|
direction: "vertical";
|
|
234
226
|
}, keyof LocaleProps> & {
|
|
235
|
-
locale?: string
|
|
236
|
-
translate?: (
|
|
227
|
+
locale?: string;
|
|
228
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
237
229
|
}>, prevState: Readonly<{}>): any;
|
|
238
230
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
239
231
|
direction: "vertical";
|
|
240
232
|
}, keyof LocaleProps> & {
|
|
241
|
-
locale?: string
|
|
242
|
-
translate?: (
|
|
233
|
+
locale?: string;
|
|
234
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
243
235
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
244
236
|
componentWillMount?(): void;
|
|
245
237
|
UNSAFE_componentWillMount?(): void;
|
|
246
238
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
247
239
|
direction: "vertical";
|
|
248
240
|
}, keyof LocaleProps> & {
|
|
249
|
-
locale?: string
|
|
250
|
-
translate?: (
|
|
241
|
+
locale?: string;
|
|
242
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
251
243
|
}>, nextContext: any): void;
|
|
252
244
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
253
245
|
direction: "vertical";
|
|
254
246
|
}, keyof LocaleProps> & {
|
|
255
|
-
locale?: string
|
|
256
|
-
translate?: (
|
|
247
|
+
locale?: string;
|
|
248
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
257
249
|
}>, nextContext: any): void;
|
|
258
250
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
259
251
|
direction: "vertical";
|
|
260
252
|
}, keyof LocaleProps> & {
|
|
261
|
-
locale?: string
|
|
262
|
-
translate?: (
|
|
253
|
+
locale?: string;
|
|
254
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
263
255
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
264
256
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
265
257
|
direction: "vertical";
|
|
266
258
|
}, keyof LocaleProps> & {
|
|
267
|
-
locale?: string
|
|
268
|
-
translate?: (
|
|
259
|
+
locale?: string;
|
|
260
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
269
261
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
270
262
|
};
|
|
271
263
|
displayName: string;
|
|
@@ -278,26 +270,26 @@ declare const _default: {
|
|
|
278
270
|
new (props: Omit<TimelineItem & {
|
|
279
271
|
direction: "vertical";
|
|
280
272
|
}, keyof LocaleProps> & {
|
|
281
|
-
locale?: string
|
|
282
|
-
translate?: (
|
|
273
|
+
locale?: string;
|
|
274
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
283
275
|
}): {
|
|
284
276
|
ref: any;
|
|
285
277
|
childRef(ref: any): void;
|
|
286
278
|
getWrappedInstance(): any;
|
|
287
279
|
render(): React.JSX.Element;
|
|
288
280
|
context: unknown;
|
|
289
|
-
setState<
|
|
281
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem & {
|
|
290
282
|
direction: "vertical";
|
|
291
283
|
}, keyof LocaleProps> & {
|
|
292
|
-
locale?: string
|
|
293
|
-
translate?: (
|
|
294
|
-
}>) => {} | Pick<{},
|
|
284
|
+
locale?: string;
|
|
285
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
286
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
295
287
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
296
288
|
readonly props: Readonly<Omit<TimelineItem & {
|
|
297
289
|
direction: "vertical";
|
|
298
290
|
}, keyof LocaleProps> & {
|
|
299
|
-
locale?: string
|
|
300
|
-
translate?: (
|
|
291
|
+
locale?: string;
|
|
292
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
301
293
|
}>;
|
|
302
294
|
state: Readonly<{}>;
|
|
303
295
|
refs: {
|
|
@@ -307,48 +299,48 @@ declare const _default: {
|
|
|
307
299
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
308
300
|
direction: "vertical";
|
|
309
301
|
}, keyof LocaleProps> & {
|
|
310
|
-
locale?: string
|
|
311
|
-
translate?: (
|
|
302
|
+
locale?: string;
|
|
303
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
312
304
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
313
305
|
componentWillUnmount?(): void;
|
|
314
306
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
315
307
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
316
308
|
direction: "vertical";
|
|
317
309
|
}, keyof LocaleProps> & {
|
|
318
|
-
locale?: string
|
|
319
|
-
translate?: (
|
|
310
|
+
locale?: string;
|
|
311
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
320
312
|
}>, prevState: Readonly<{}>): any;
|
|
321
313
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
322
314
|
direction: "vertical";
|
|
323
315
|
}, keyof LocaleProps> & {
|
|
324
|
-
locale?: string
|
|
325
|
-
translate?: (
|
|
316
|
+
locale?: string;
|
|
317
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
326
318
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
327
319
|
componentWillMount?(): void;
|
|
328
320
|
UNSAFE_componentWillMount?(): void;
|
|
329
321
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
330
322
|
direction: "vertical";
|
|
331
323
|
}, keyof LocaleProps> & {
|
|
332
|
-
locale?: string
|
|
333
|
-
translate?: (
|
|
324
|
+
locale?: string;
|
|
325
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
334
326
|
}>, nextContext: any): void;
|
|
335
327
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
336
328
|
direction: "vertical";
|
|
337
329
|
}, keyof LocaleProps> & {
|
|
338
|
-
locale?: string
|
|
339
|
-
translate?: (
|
|
330
|
+
locale?: string;
|
|
331
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
340
332
|
}>, nextContext: any): void;
|
|
341
333
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
342
334
|
direction: "vertical";
|
|
343
335
|
}, keyof LocaleProps> & {
|
|
344
|
-
locale?: string
|
|
345
|
-
translate?: (
|
|
336
|
+
locale?: string;
|
|
337
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
346
338
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
347
339
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
348
340
|
direction: "vertical";
|
|
349
341
|
}, keyof LocaleProps> & {
|
|
350
|
-
locale?: string
|
|
351
|
-
translate?: (
|
|
342
|
+
locale?: string;
|
|
343
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
352
344
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
353
345
|
};
|
|
354
346
|
displayName: string;
|
|
@@ -361,26 +353,26 @@ declare const _default: {
|
|
|
361
353
|
new (props: Omit<TimelineItem & {
|
|
362
354
|
direction: "vertical";
|
|
363
355
|
}, keyof LocaleProps> & {
|
|
364
|
-
locale?: string
|
|
365
|
-
translate?: (
|
|
356
|
+
locale?: string;
|
|
357
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
366
358
|
}): {
|
|
367
359
|
ref: any;
|
|
368
360
|
childRef(ref: any): void;
|
|
369
361
|
getWrappedInstance(): any;
|
|
370
362
|
render(): React.JSX.Element;
|
|
371
363
|
context: unknown;
|
|
372
|
-
setState<
|
|
364
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem & {
|
|
373
365
|
direction: "vertical";
|
|
374
366
|
}, keyof LocaleProps> & {
|
|
375
|
-
locale?: string
|
|
376
|
-
translate?: (
|
|
377
|
-
}>) => {} | Pick<{},
|
|
367
|
+
locale?: string;
|
|
368
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
369
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
378
370
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
379
371
|
readonly props: Readonly<Omit<TimelineItem & {
|
|
380
372
|
direction: "vertical";
|
|
381
373
|
}, keyof LocaleProps> & {
|
|
382
|
-
locale?: string
|
|
383
|
-
translate?: (
|
|
374
|
+
locale?: string;
|
|
375
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
384
376
|
}>;
|
|
385
377
|
state: Readonly<{}>;
|
|
386
378
|
refs: {
|
|
@@ -390,48 +382,48 @@ declare const _default: {
|
|
|
390
382
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
391
383
|
direction: "vertical";
|
|
392
384
|
}, keyof LocaleProps> & {
|
|
393
|
-
locale?: string
|
|
394
|
-
translate?: (
|
|
385
|
+
locale?: string;
|
|
386
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
395
387
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
396
388
|
componentWillUnmount?(): void;
|
|
397
389
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
398
390
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
399
391
|
direction: "vertical";
|
|
400
392
|
}, keyof LocaleProps> & {
|
|
401
|
-
locale?: string
|
|
402
|
-
translate?: (
|
|
393
|
+
locale?: string;
|
|
394
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
403
395
|
}>, prevState: Readonly<{}>): any;
|
|
404
396
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
405
397
|
direction: "vertical";
|
|
406
398
|
}, keyof LocaleProps> & {
|
|
407
|
-
locale?: string
|
|
408
|
-
translate?: (
|
|
399
|
+
locale?: string;
|
|
400
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
409
401
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
410
402
|
componentWillMount?(): void;
|
|
411
403
|
UNSAFE_componentWillMount?(): void;
|
|
412
404
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
413
405
|
direction: "vertical";
|
|
414
406
|
}, keyof LocaleProps> & {
|
|
415
|
-
locale?: string
|
|
416
|
-
translate?: (
|
|
407
|
+
locale?: string;
|
|
408
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
417
409
|
}>, nextContext: any): void;
|
|
418
410
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
419
411
|
direction: "vertical";
|
|
420
412
|
}, keyof LocaleProps> & {
|
|
421
|
-
locale?: string
|
|
422
|
-
translate?: (
|
|
413
|
+
locale?: string;
|
|
414
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
423
415
|
}>, nextContext: any): void;
|
|
424
416
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
425
417
|
direction: "vertical";
|
|
426
418
|
}, keyof LocaleProps> & {
|
|
427
|
-
locale?: string
|
|
428
|
-
translate?: (
|
|
419
|
+
locale?: string;
|
|
420
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
429
421
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
430
422
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
431
423
|
direction: "vertical";
|
|
432
424
|
}, keyof LocaleProps> & {
|
|
433
|
-
locale?: string
|
|
434
|
-
translate?: (
|
|
425
|
+
locale?: string;
|
|
426
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
435
427
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
436
428
|
};
|
|
437
429
|
displayName: string;
|
|
@@ -444,88 +436,81 @@ declare const _default: {
|
|
|
444
436
|
export default _default;
|
|
445
437
|
export declare const TimelineTimeComponent: {
|
|
446
438
|
new (props: Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
447
|
-
locale?: string
|
|
448
|
-
translate?: (
|
|
439
|
+
locale?: string;
|
|
440
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
449
441
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
450
442
|
ref: any;
|
|
451
|
-
childRef(ref: any)
|
|
452
|
-
getWrappedInstance()
|
|
443
|
+
childRef: (ref: any) => void;
|
|
444
|
+
getWrappedInstance: () => any;
|
|
453
445
|
render(): React.JSX.Element;
|
|
454
446
|
context: unknown;
|
|
455
447
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
456
|
-
locale?: string
|
|
457
|
-
translate?: (
|
|
448
|
+
locale?: string;
|
|
449
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
458
450
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
459
451
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
460
452
|
readonly props: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
461
|
-
locale?: string
|
|
462
|
-
translate?: (
|
|
453
|
+
locale?: string;
|
|
454
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
463
455
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
464
|
-
state: Readonly<{}>;
|
|
465
|
-
* TimelineTime 函数组件,用于展示时间线中的时间节点。
|
|
466
|
-
* @param props 组件的属性
|
|
467
|
-
* @param props.time 时间文本
|
|
468
|
-
* @param props.timeClassName 时间节点的自定义类名
|
|
469
|
-
* @param props.classnames 类名辅助函数,用于动态生成类名字符串
|
|
470
|
-
* @returns 返回包含时间文本的 div 元素
|
|
471
|
-
*/
|
|
456
|
+
state: Readonly<{}>;
|
|
472
457
|
refs: {
|
|
473
458
|
[key: string]: React.ReactInstance;
|
|
474
459
|
};
|
|
475
460
|
componentDidMount?(): void;
|
|
476
461
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
477
|
-
locale?: string
|
|
478
|
-
translate?: (
|
|
462
|
+
locale?: string;
|
|
463
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
479
464
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
480
465
|
componentWillUnmount?(): void;
|
|
481
466
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
482
467
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
483
|
-
locale?: string
|
|
484
|
-
translate?: (
|
|
468
|
+
locale?: string;
|
|
469
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
485
470
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
486
471
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
487
|
-
locale?: string
|
|
488
|
-
translate?: (
|
|
472
|
+
locale?: string;
|
|
473
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
489
474
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
490
475
|
componentWillMount?(): void;
|
|
491
476
|
UNSAFE_componentWillMount?(): void;
|
|
492
477
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
493
|
-
locale?: string
|
|
494
|
-
translate?: (
|
|
478
|
+
locale?: string;
|
|
479
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
495
480
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
496
481
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
497
|
-
locale?: string
|
|
498
|
-
translate?: (
|
|
482
|
+
locale?: string;
|
|
483
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
499
484
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
500
485
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
501
|
-
locale?: string
|
|
502
|
-
translate?: (
|
|
486
|
+
locale?: string;
|
|
487
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
503
488
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
504
489
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
505
|
-
locale?: string
|
|
506
|
-
translate?: (
|
|
490
|
+
locale?: string;
|
|
491
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
507
492
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
508
493
|
};
|
|
509
494
|
displayName: string;
|
|
510
495
|
contextType: React.Context<string>;
|
|
511
496
|
ComposedComponent: React.ComponentType<{
|
|
512
497
|
new (props: Omit<TimelineItem, keyof LocaleProps> & {
|
|
513
|
-
locale?: string
|
|
514
|
-
translate?: (
|
|
498
|
+
locale?: string;
|
|
499
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
515
500
|
}): {
|
|
516
501
|
ref: any;
|
|
517
502
|
childRef(ref: any): void;
|
|
518
503
|
getWrappedInstance(): any;
|
|
519
504
|
render(): React.JSX.Element;
|
|
520
505
|
context: unknown;
|
|
521
|
-
setState<
|
|
522
|
-
locale?: string
|
|
523
|
-
translate?: (
|
|
524
|
-
}>) => {} | Pick<{},
|
|
506
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
507
|
+
locale?: string;
|
|
508
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
509
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
525
510
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
526
511
|
readonly props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
527
|
-
locale?: string
|
|
528
|
-
translate?: (
|
|
512
|
+
locale?: string;
|
|
513
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
529
514
|
}>;
|
|
530
515
|
state: Readonly<{}>;
|
|
531
516
|
refs: {
|
|
@@ -533,36 +518,36 @@ export declare const TimelineTimeComponent: {
|
|
|
533
518
|
};
|
|
534
519
|
componentDidMount?(): void;
|
|
535
520
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
536
|
-
locale?: string
|
|
537
|
-
translate?: (
|
|
521
|
+
locale?: string;
|
|
522
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
538
523
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
539
524
|
componentWillUnmount?(): void;
|
|
540
525
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
541
526
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
542
|
-
locale?: string
|
|
543
|
-
translate?: (
|
|
527
|
+
locale?: string;
|
|
528
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
544
529
|
}>, prevState: Readonly<{}>): any;
|
|
545
530
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
546
|
-
locale?: string
|
|
547
|
-
translate?: (
|
|
531
|
+
locale?: string;
|
|
532
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
548
533
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
549
534
|
componentWillMount?(): void;
|
|
550
535
|
UNSAFE_componentWillMount?(): void;
|
|
551
536
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
552
|
-
locale?: string
|
|
553
|
-
translate?: (
|
|
537
|
+
locale?: string;
|
|
538
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
554
539
|
}>, nextContext: any): void;
|
|
555
540
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
556
|
-
locale?: string
|
|
557
|
-
translate?: (
|
|
541
|
+
locale?: string;
|
|
542
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
558
543
|
}>, nextContext: any): void;
|
|
559
544
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
560
|
-
locale?: string
|
|
561
|
-
translate?: (
|
|
545
|
+
locale?: string;
|
|
546
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
562
547
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
563
548
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
564
|
-
locale?: string
|
|
565
|
-
translate?: (
|
|
549
|
+
locale?: string;
|
|
550
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
566
551
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
567
552
|
};
|
|
568
553
|
displayName: string;
|
|
@@ -573,22 +558,22 @@ export declare const TimelineTimeComponent: {
|
|
|
573
558
|
}>;
|
|
574
559
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
575
560
|
new (props: Omit<TimelineItem, keyof LocaleProps> & {
|
|
576
|
-
locale?: string
|
|
577
|
-
translate?: (
|
|
561
|
+
locale?: string;
|
|
562
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
578
563
|
}): {
|
|
579
564
|
ref: any;
|
|
580
565
|
childRef(ref: any): void;
|
|
581
566
|
getWrappedInstance(): any;
|
|
582
567
|
render(): React.JSX.Element;
|
|
583
568
|
context: unknown;
|
|
584
|
-
setState<
|
|
585
|
-
locale?: string
|
|
586
|
-
translate?: (
|
|
587
|
-
}>) => {} | Pick<{},
|
|
569
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
570
|
+
locale?: string;
|
|
571
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
572
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
588
573
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
589
574
|
readonly props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
590
|
-
locale?: string
|
|
591
|
-
translate?: (
|
|
575
|
+
locale?: string;
|
|
576
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
592
577
|
}>;
|
|
593
578
|
state: Readonly<{}>;
|
|
594
579
|
refs: {
|
|
@@ -596,36 +581,36 @@ export declare const TimelineTimeComponent: {
|
|
|
596
581
|
};
|
|
597
582
|
componentDidMount?(): void;
|
|
598
583
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
599
|
-
locale?: string
|
|
600
|
-
translate?: (
|
|
584
|
+
locale?: string;
|
|
585
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
601
586
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
602
587
|
componentWillUnmount?(): void;
|
|
603
588
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
604
589
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
605
|
-
locale?: string
|
|
606
|
-
translate?: (
|
|
590
|
+
locale?: string;
|
|
591
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
607
592
|
}>, prevState: Readonly<{}>): any;
|
|
608
593
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
609
|
-
locale?: string
|
|
610
|
-
translate?: (
|
|
594
|
+
locale?: string;
|
|
595
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
611
596
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
612
597
|
componentWillMount?(): void;
|
|
613
598
|
UNSAFE_componentWillMount?(): void;
|
|
614
599
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
615
|
-
locale?: string
|
|
616
|
-
translate?: (
|
|
600
|
+
locale?: string;
|
|
601
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
617
602
|
}>, nextContext: any): void;
|
|
618
603
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
619
|
-
locale?: string
|
|
620
|
-
translate?: (
|
|
604
|
+
locale?: string;
|
|
605
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
621
606
|
}>, nextContext: any): void;
|
|
622
607
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
623
|
-
locale?: string
|
|
624
|
-
translate?: (
|
|
608
|
+
locale?: string;
|
|
609
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
625
610
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
626
611
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
627
|
-
locale?: string
|
|
628
|
-
translate?: (
|
|
612
|
+
locale?: string;
|
|
613
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
629
614
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
630
615
|
};
|
|
631
616
|
displayName: string;
|
|
@@ -636,22 +621,22 @@ export declare const TimelineTimeComponent: {
|
|
|
636
621
|
}, {}> & {
|
|
637
622
|
ComposedComponent: {
|
|
638
623
|
new (props: Omit<TimelineItem, keyof LocaleProps> & {
|
|
639
|
-
locale?: string
|
|
640
|
-
translate?: (
|
|
624
|
+
locale?: string;
|
|
625
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
641
626
|
}): {
|
|
642
627
|
ref: any;
|
|
643
628
|
childRef(ref: any): void;
|
|
644
629
|
getWrappedInstance(): any;
|
|
645
630
|
render(): React.JSX.Element;
|
|
646
631
|
context: unknown;
|
|
647
|
-
setState<
|
|
648
|
-
locale?: string
|
|
649
|
-
translate?: (
|
|
650
|
-
}>) => {} | Pick<{},
|
|
632
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
633
|
+
locale?: string;
|
|
634
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
635
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
651
636
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
652
637
|
readonly props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
653
|
-
locale?: string
|
|
654
|
-
translate?: (
|
|
638
|
+
locale?: string;
|
|
639
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
655
640
|
}>;
|
|
656
641
|
state: Readonly<{}>;
|
|
657
642
|
refs: {
|
|
@@ -659,36 +644,36 @@ export declare const TimelineTimeComponent: {
|
|
|
659
644
|
};
|
|
660
645
|
componentDidMount?(): void;
|
|
661
646
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
662
|
-
locale?: string
|
|
663
|
-
translate?: (
|
|
647
|
+
locale?: string;
|
|
648
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
664
649
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
665
650
|
componentWillUnmount?(): void;
|
|
666
651
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
667
652
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
668
|
-
locale?: string
|
|
669
|
-
translate?: (
|
|
653
|
+
locale?: string;
|
|
654
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
670
655
|
}>, prevState: Readonly<{}>): any;
|
|
671
656
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
672
|
-
locale?: string
|
|
673
|
-
translate?: (
|
|
657
|
+
locale?: string;
|
|
658
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
674
659
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
675
660
|
componentWillMount?(): void;
|
|
676
661
|
UNSAFE_componentWillMount?(): void;
|
|
677
662
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
678
|
-
locale?: string
|
|
679
|
-
translate?: (
|
|
663
|
+
locale?: string;
|
|
664
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
680
665
|
}>, nextContext: any): void;
|
|
681
666
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
682
|
-
locale?: string
|
|
683
|
-
translate?: (
|
|
667
|
+
locale?: string;
|
|
668
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
684
669
|
}>, nextContext: any): void;
|
|
685
670
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
686
|
-
locale?: string
|
|
687
|
-
translate?: (
|
|
671
|
+
locale?: string;
|
|
672
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
688
673
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
689
674
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
690
|
-
locale?: string
|
|
691
|
-
translate?: (
|
|
675
|
+
locale?: string;
|
|
676
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
692
677
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
693
678
|
};
|
|
694
679
|
displayName: string;
|
|
@@ -700,114 +685,107 @@ export declare const TimelineTimeComponent: {
|
|
|
700
685
|
};
|
|
701
686
|
export declare const TimelineLineComponent: {
|
|
702
687
|
new (props: Omit<Omit<TimelineItem & {
|
|
703
|
-
direction:
|
|
688
|
+
direction: "vertical" | "horizontal";
|
|
704
689
|
}, keyof LocaleProps> & {
|
|
705
|
-
locale?: string
|
|
706
|
-
translate?: (
|
|
690
|
+
locale?: string;
|
|
691
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
707
692
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
708
693
|
ref: any;
|
|
709
|
-
childRef(ref: any)
|
|
710
|
-
getWrappedInstance()
|
|
694
|
+
childRef: (ref: any) => void;
|
|
695
|
+
getWrappedInstance: () => any;
|
|
711
696
|
render(): React.JSX.Element;
|
|
712
697
|
context: unknown;
|
|
713
698
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<TimelineItem & {
|
|
714
|
-
direction:
|
|
699
|
+
direction: "vertical" | "horizontal";
|
|
715
700
|
}, keyof LocaleProps> & {
|
|
716
|
-
locale?: string
|
|
717
|
-
translate?: (
|
|
701
|
+
locale?: string;
|
|
702
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
718
703
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
719
704
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
720
705
|
readonly props: Readonly<Omit<Omit<TimelineItem & {
|
|
721
|
-
direction:
|
|
706
|
+
direction: "vertical" | "horizontal";
|
|
722
707
|
}, keyof LocaleProps> & {
|
|
723
|
-
locale?: string
|
|
724
|
-
translate?: (
|
|
708
|
+
locale?: string;
|
|
709
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
725
710
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
726
|
-
state: Readonly<{}>;
|
|
727
|
-
* TimelineTime 函数组件,用于展示时间线中的时间节点。
|
|
728
|
-
* @param props 组件的属性
|
|
729
|
-
* @param props.time 时间文本
|
|
730
|
-
* @param props.timeClassName 时间节点的自定义类名
|
|
731
|
-
* @param props.classnames 类名辅助函数,用于动态生成类名字符串
|
|
732
|
-
* @returns 返回包含时间文本的 div 元素
|
|
733
|
-
*/
|
|
711
|
+
state: Readonly<{}>;
|
|
734
712
|
refs: {
|
|
735
713
|
[key: string]: React.ReactInstance;
|
|
736
714
|
};
|
|
737
715
|
componentDidMount?(): void;
|
|
738
716
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
739
|
-
direction:
|
|
717
|
+
direction: "vertical" | "horizontal";
|
|
740
718
|
}, keyof LocaleProps> & {
|
|
741
|
-
locale?: string
|
|
742
|
-
translate?: (
|
|
719
|
+
locale?: string;
|
|
720
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
743
721
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
744
722
|
componentWillUnmount?(): void;
|
|
745
723
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
746
724
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem & {
|
|
747
|
-
direction:
|
|
725
|
+
direction: "vertical" | "horizontal";
|
|
748
726
|
}, keyof LocaleProps> & {
|
|
749
|
-
locale?: string
|
|
750
|
-
translate?: (
|
|
727
|
+
locale?: string;
|
|
728
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
751
729
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
752
730
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem & {
|
|
753
|
-
direction:
|
|
731
|
+
direction: "vertical" | "horizontal";
|
|
754
732
|
}, keyof LocaleProps> & {
|
|
755
|
-
locale?: string
|
|
756
|
-
translate?: (
|
|
733
|
+
locale?: string;
|
|
734
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
757
735
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
758
736
|
componentWillMount?(): void;
|
|
759
737
|
UNSAFE_componentWillMount?(): void;
|
|
760
738
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
761
|
-
direction:
|
|
739
|
+
direction: "vertical" | "horizontal";
|
|
762
740
|
}, keyof LocaleProps> & {
|
|
763
|
-
locale?: string
|
|
764
|
-
translate?: (
|
|
741
|
+
locale?: string;
|
|
742
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
765
743
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
766
744
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
767
|
-
direction:
|
|
745
|
+
direction: "vertical" | "horizontal";
|
|
768
746
|
}, keyof LocaleProps> & {
|
|
769
|
-
locale?: string
|
|
770
|
-
translate?: (
|
|
747
|
+
locale?: string;
|
|
748
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
771
749
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
772
750
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
773
|
-
direction:
|
|
751
|
+
direction: "vertical" | "horizontal";
|
|
774
752
|
}, keyof LocaleProps> & {
|
|
775
|
-
locale?: string
|
|
776
|
-
translate?: (
|
|
753
|
+
locale?: string;
|
|
754
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
777
755
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
778
756
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem & {
|
|
779
|
-
direction:
|
|
757
|
+
direction: "vertical" | "horizontal";
|
|
780
758
|
}, keyof LocaleProps> & {
|
|
781
|
-
locale?: string
|
|
782
|
-
translate?: (
|
|
759
|
+
locale?: string;
|
|
760
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
783
761
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
784
762
|
};
|
|
785
763
|
displayName: string;
|
|
786
764
|
contextType: React.Context<string>;
|
|
787
765
|
ComposedComponent: React.ComponentType<{
|
|
788
766
|
new (props: Omit<TimelineItem & {
|
|
789
|
-
direction:
|
|
767
|
+
direction: "vertical" | "horizontal";
|
|
790
768
|
}, keyof LocaleProps> & {
|
|
791
|
-
locale?: string
|
|
792
|
-
translate?: (
|
|
769
|
+
locale?: string;
|
|
770
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
793
771
|
}): {
|
|
794
772
|
ref: any;
|
|
795
773
|
childRef(ref: any): void;
|
|
796
774
|
getWrappedInstance(): any;
|
|
797
775
|
render(): React.JSX.Element;
|
|
798
776
|
context: unknown;
|
|
799
|
-
setState<
|
|
800
|
-
direction:
|
|
777
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem & {
|
|
778
|
+
direction: "vertical" | "horizontal";
|
|
801
779
|
}, keyof LocaleProps> & {
|
|
802
|
-
locale?: string
|
|
803
|
-
translate?: (
|
|
804
|
-
}>) => {} | Pick<{},
|
|
780
|
+
locale?: string;
|
|
781
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
782
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
805
783
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
806
784
|
readonly props: Readonly<Omit<TimelineItem & {
|
|
807
|
-
direction:
|
|
785
|
+
direction: "vertical" | "horizontal";
|
|
808
786
|
}, keyof LocaleProps> & {
|
|
809
|
-
locale?: string
|
|
810
|
-
translate?: (
|
|
787
|
+
locale?: string;
|
|
788
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
811
789
|
}>;
|
|
812
790
|
state: Readonly<{}>;
|
|
813
791
|
refs: {
|
|
@@ -815,50 +793,50 @@ export declare const TimelineLineComponent: {
|
|
|
815
793
|
};
|
|
816
794
|
componentDidMount?(): void;
|
|
817
795
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
818
|
-
direction:
|
|
796
|
+
direction: "vertical" | "horizontal";
|
|
819
797
|
}, keyof LocaleProps> & {
|
|
820
|
-
locale?: string
|
|
821
|
-
translate?: (
|
|
798
|
+
locale?: string;
|
|
799
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
822
800
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
823
801
|
componentWillUnmount?(): void;
|
|
824
802
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
825
803
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
826
|
-
direction:
|
|
804
|
+
direction: "vertical" | "horizontal";
|
|
827
805
|
}, keyof LocaleProps> & {
|
|
828
|
-
locale?: string
|
|
829
|
-
translate?: (
|
|
806
|
+
locale?: string;
|
|
807
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
830
808
|
}>, prevState: Readonly<{}>): any;
|
|
831
809
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
832
|
-
direction:
|
|
810
|
+
direction: "vertical" | "horizontal";
|
|
833
811
|
}, keyof LocaleProps> & {
|
|
834
|
-
locale?: string
|
|
835
|
-
translate?: (
|
|
812
|
+
locale?: string;
|
|
813
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
836
814
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
837
815
|
componentWillMount?(): void;
|
|
838
816
|
UNSAFE_componentWillMount?(): void;
|
|
839
817
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
840
|
-
direction:
|
|
818
|
+
direction: "vertical" | "horizontal";
|
|
841
819
|
}, keyof LocaleProps> & {
|
|
842
|
-
locale?: string
|
|
843
|
-
translate?: (
|
|
820
|
+
locale?: string;
|
|
821
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
844
822
|
}>, nextContext: any): void;
|
|
845
823
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
846
|
-
direction:
|
|
824
|
+
direction: "vertical" | "horizontal";
|
|
847
825
|
}, keyof LocaleProps> & {
|
|
848
|
-
locale?: string
|
|
849
|
-
translate?: (
|
|
826
|
+
locale?: string;
|
|
827
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
850
828
|
}>, nextContext: any): void;
|
|
851
829
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
852
|
-
direction:
|
|
830
|
+
direction: "vertical" | "horizontal";
|
|
853
831
|
}, keyof LocaleProps> & {
|
|
854
|
-
locale?: string
|
|
855
|
-
translate?: (
|
|
832
|
+
locale?: string;
|
|
833
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
856
834
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
857
835
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
858
|
-
direction:
|
|
836
|
+
direction: "vertical" | "horizontal";
|
|
859
837
|
}, keyof LocaleProps> & {
|
|
860
|
-
locale?: string
|
|
861
|
-
translate?: (
|
|
838
|
+
locale?: string;
|
|
839
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
862
840
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
863
841
|
};
|
|
864
842
|
displayName: string;
|
|
@@ -869,28 +847,28 @@ export declare const TimelineLineComponent: {
|
|
|
869
847
|
}>;
|
|
870
848
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
871
849
|
new (props: Omit<TimelineItem & {
|
|
872
|
-
direction:
|
|
850
|
+
direction: "vertical" | "horizontal";
|
|
873
851
|
}, keyof LocaleProps> & {
|
|
874
|
-
locale?: string
|
|
875
|
-
translate?: (
|
|
852
|
+
locale?: string;
|
|
853
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
876
854
|
}): {
|
|
877
855
|
ref: any;
|
|
878
856
|
childRef(ref: any): void;
|
|
879
857
|
getWrappedInstance(): any;
|
|
880
858
|
render(): React.JSX.Element;
|
|
881
859
|
context: unknown;
|
|
882
|
-
setState<
|
|
883
|
-
direction:
|
|
860
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem & {
|
|
861
|
+
direction: "vertical" | "horizontal";
|
|
884
862
|
}, keyof LocaleProps> & {
|
|
885
|
-
locale?: string
|
|
886
|
-
translate?: (
|
|
887
|
-
}>) => {} | Pick<{},
|
|
863
|
+
locale?: string;
|
|
864
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
865
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
888
866
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
889
867
|
readonly props: Readonly<Omit<TimelineItem & {
|
|
890
|
-
direction:
|
|
868
|
+
direction: "vertical" | "horizontal";
|
|
891
869
|
}, keyof LocaleProps> & {
|
|
892
|
-
locale?: string
|
|
893
|
-
translate?: (
|
|
870
|
+
locale?: string;
|
|
871
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
894
872
|
}>;
|
|
895
873
|
state: Readonly<{}>;
|
|
896
874
|
refs: {
|
|
@@ -898,50 +876,50 @@ export declare const TimelineLineComponent: {
|
|
|
898
876
|
};
|
|
899
877
|
componentDidMount?(): void;
|
|
900
878
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
901
|
-
direction:
|
|
879
|
+
direction: "vertical" | "horizontal";
|
|
902
880
|
}, keyof LocaleProps> & {
|
|
903
|
-
locale?: string
|
|
904
|
-
translate?: (
|
|
881
|
+
locale?: string;
|
|
882
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
905
883
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
906
884
|
componentWillUnmount?(): void;
|
|
907
885
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
908
886
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
909
|
-
direction:
|
|
887
|
+
direction: "vertical" | "horizontal";
|
|
910
888
|
}, keyof LocaleProps> & {
|
|
911
|
-
locale?: string
|
|
912
|
-
translate?: (
|
|
889
|
+
locale?: string;
|
|
890
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
913
891
|
}>, prevState: Readonly<{}>): any;
|
|
914
892
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
915
|
-
direction:
|
|
893
|
+
direction: "vertical" | "horizontal";
|
|
916
894
|
}, keyof LocaleProps> & {
|
|
917
|
-
locale?: string
|
|
918
|
-
translate?: (
|
|
895
|
+
locale?: string;
|
|
896
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
919
897
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
920
898
|
componentWillMount?(): void;
|
|
921
899
|
UNSAFE_componentWillMount?(): void;
|
|
922
900
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
923
|
-
direction:
|
|
901
|
+
direction: "vertical" | "horizontal";
|
|
924
902
|
}, keyof LocaleProps> & {
|
|
925
|
-
locale?: string
|
|
926
|
-
translate?: (
|
|
903
|
+
locale?: string;
|
|
904
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
927
905
|
}>, nextContext: any): void;
|
|
928
906
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
929
|
-
direction:
|
|
907
|
+
direction: "vertical" | "horizontal";
|
|
930
908
|
}, keyof LocaleProps> & {
|
|
931
|
-
locale?: string
|
|
932
|
-
translate?: (
|
|
909
|
+
locale?: string;
|
|
910
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
933
911
|
}>, nextContext: any): void;
|
|
934
912
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
935
|
-
direction:
|
|
913
|
+
direction: "vertical" | "horizontal";
|
|
936
914
|
}, keyof LocaleProps> & {
|
|
937
|
-
locale?: string
|
|
938
|
-
translate?: (
|
|
915
|
+
locale?: string;
|
|
916
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
939
917
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
940
918
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
941
|
-
direction:
|
|
919
|
+
direction: "vertical" | "horizontal";
|
|
942
920
|
}, keyof LocaleProps> & {
|
|
943
|
-
locale?: string
|
|
944
|
-
translate?: (
|
|
921
|
+
locale?: string;
|
|
922
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
945
923
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
946
924
|
};
|
|
947
925
|
displayName: string;
|
|
@@ -952,28 +930,28 @@ export declare const TimelineLineComponent: {
|
|
|
952
930
|
}, {}> & {
|
|
953
931
|
ComposedComponent: {
|
|
954
932
|
new (props: Omit<TimelineItem & {
|
|
955
|
-
direction:
|
|
933
|
+
direction: "vertical" | "horizontal";
|
|
956
934
|
}, keyof LocaleProps> & {
|
|
957
|
-
locale?: string
|
|
958
|
-
translate?: (
|
|
935
|
+
locale?: string;
|
|
936
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
959
937
|
}): {
|
|
960
938
|
ref: any;
|
|
961
939
|
childRef(ref: any): void;
|
|
962
940
|
getWrappedInstance(): any;
|
|
963
941
|
render(): React.JSX.Element;
|
|
964
942
|
context: unknown;
|
|
965
|
-
setState<
|
|
966
|
-
direction:
|
|
943
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem & {
|
|
944
|
+
direction: "vertical" | "horizontal";
|
|
967
945
|
}, keyof LocaleProps> & {
|
|
968
|
-
locale?: string
|
|
969
|
-
translate?: (
|
|
970
|
-
}>) => {} | Pick<{},
|
|
946
|
+
locale?: string;
|
|
947
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
948
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
971
949
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
972
950
|
readonly props: Readonly<Omit<TimelineItem & {
|
|
973
|
-
direction:
|
|
951
|
+
direction: "vertical" | "horizontal";
|
|
974
952
|
}, keyof LocaleProps> & {
|
|
975
|
-
locale?: string
|
|
976
|
-
translate?: (
|
|
953
|
+
locale?: string;
|
|
954
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
977
955
|
}>;
|
|
978
956
|
state: Readonly<{}>;
|
|
979
957
|
refs: {
|
|
@@ -981,50 +959,50 @@ export declare const TimelineLineComponent: {
|
|
|
981
959
|
};
|
|
982
960
|
componentDidMount?(): void;
|
|
983
961
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
984
|
-
direction:
|
|
962
|
+
direction: "vertical" | "horizontal";
|
|
985
963
|
}, keyof LocaleProps> & {
|
|
986
|
-
locale?: string
|
|
987
|
-
translate?: (
|
|
964
|
+
locale?: string;
|
|
965
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
988
966
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
989
967
|
componentWillUnmount?(): void;
|
|
990
968
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
991
969
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
992
|
-
direction:
|
|
970
|
+
direction: "vertical" | "horizontal";
|
|
993
971
|
}, keyof LocaleProps> & {
|
|
994
|
-
locale?: string
|
|
995
|
-
translate?: (
|
|
972
|
+
locale?: string;
|
|
973
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
996
974
|
}>, prevState: Readonly<{}>): any;
|
|
997
975
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem & {
|
|
998
|
-
direction:
|
|
976
|
+
direction: "vertical" | "horizontal";
|
|
999
977
|
}, keyof LocaleProps> & {
|
|
1000
|
-
locale?: string
|
|
1001
|
-
translate?: (
|
|
978
|
+
locale?: string;
|
|
979
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1002
980
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1003
981
|
componentWillMount?(): void;
|
|
1004
982
|
UNSAFE_componentWillMount?(): void;
|
|
1005
983
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
1006
|
-
direction:
|
|
984
|
+
direction: "vertical" | "horizontal";
|
|
1007
985
|
}, keyof LocaleProps> & {
|
|
1008
|
-
locale?: string
|
|
1009
|
-
translate?: (
|
|
986
|
+
locale?: string;
|
|
987
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1010
988
|
}>, nextContext: any): void;
|
|
1011
989
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem & {
|
|
1012
|
-
direction:
|
|
990
|
+
direction: "vertical" | "horizontal";
|
|
1013
991
|
}, keyof LocaleProps> & {
|
|
1014
|
-
locale?: string
|
|
1015
|
-
translate?: (
|
|
992
|
+
locale?: string;
|
|
993
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1016
994
|
}>, nextContext: any): void;
|
|
1017
995
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
1018
|
-
direction:
|
|
996
|
+
direction: "vertical" | "horizontal";
|
|
1019
997
|
}, keyof LocaleProps> & {
|
|
1020
|
-
locale?: string
|
|
1021
|
-
translate?: (
|
|
998
|
+
locale?: string;
|
|
999
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1022
1000
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1023
1001
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem & {
|
|
1024
|
-
direction:
|
|
1002
|
+
direction: "vertical" | "horizontal";
|
|
1025
1003
|
}, keyof LocaleProps> & {
|
|
1026
|
-
locale?: string
|
|
1027
|
-
translate?: (
|
|
1004
|
+
locale?: string;
|
|
1005
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1028
1006
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1029
1007
|
};
|
|
1030
1008
|
displayName: string;
|
|
@@ -1036,88 +1014,81 @@ export declare const TimelineLineComponent: {
|
|
|
1036
1014
|
};
|
|
1037
1015
|
export declare const TimelineContentComponent: {
|
|
1038
1016
|
new (props: Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1039
|
-
locale?: string
|
|
1040
|
-
translate?: (
|
|
1017
|
+
locale?: string;
|
|
1018
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1041
1019
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
1042
1020
|
ref: any;
|
|
1043
|
-
childRef(ref: any)
|
|
1044
|
-
getWrappedInstance()
|
|
1021
|
+
childRef: (ref: any) => void;
|
|
1022
|
+
getWrappedInstance: () => any;
|
|
1045
1023
|
render(): React.JSX.Element;
|
|
1046
1024
|
context: unknown;
|
|
1047
1025
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1048
|
-
locale?: string
|
|
1049
|
-
translate?: (
|
|
1026
|
+
locale?: string;
|
|
1027
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1050
1028
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
1051
1029
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
1052
1030
|
readonly props: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1053
|
-
locale?: string
|
|
1054
|
-
translate?: (
|
|
1031
|
+
locale?: string;
|
|
1032
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1055
1033
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
1056
|
-
state: Readonly<{}>;
|
|
1057
|
-
* TimelineTime 函数组件,用于展示时间线中的时间节点。
|
|
1058
|
-
* @param props 组件的属性
|
|
1059
|
-
* @param props.time 时间文本
|
|
1060
|
-
* @param props.timeClassName 时间节点的自定义类名
|
|
1061
|
-
* @param props.classnames 类名辅助函数,用于动态生成类名字符串
|
|
1062
|
-
* @returns 返回包含时间文本的 div 元素
|
|
1063
|
-
*/
|
|
1034
|
+
state: Readonly<{}>;
|
|
1064
1035
|
refs: {
|
|
1065
1036
|
[key: string]: React.ReactInstance;
|
|
1066
1037
|
};
|
|
1067
1038
|
componentDidMount?(): void;
|
|
1068
1039
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1069
|
-
locale?: string
|
|
1070
|
-
translate?: (
|
|
1040
|
+
locale?: string;
|
|
1041
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1071
1042
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
1072
1043
|
componentWillUnmount?(): void;
|
|
1073
1044
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
1074
1045
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1075
|
-
locale?: string
|
|
1076
|
-
translate?: (
|
|
1046
|
+
locale?: string;
|
|
1047
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1077
1048
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
1078
1049
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1079
|
-
locale?: string
|
|
1080
|
-
translate?: (
|
|
1050
|
+
locale?: string;
|
|
1051
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1081
1052
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1082
1053
|
componentWillMount?(): void;
|
|
1083
1054
|
UNSAFE_componentWillMount?(): void;
|
|
1084
1055
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1085
|
-
locale?: string
|
|
1086
|
-
translate?: (
|
|
1056
|
+
locale?: string;
|
|
1057
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1087
1058
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
1088
1059
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1089
|
-
locale?: string
|
|
1090
|
-
translate?: (
|
|
1060
|
+
locale?: string;
|
|
1061
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1091
1062
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
1092
1063
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1093
|
-
locale?: string
|
|
1094
|
-
translate?: (
|
|
1064
|
+
locale?: string;
|
|
1065
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1095
1066
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1096
1067
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1097
|
-
locale?: string
|
|
1098
|
-
translate?: (
|
|
1068
|
+
locale?: string;
|
|
1069
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1099
1070
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1100
1071
|
};
|
|
1101
1072
|
displayName: string;
|
|
1102
1073
|
contextType: React.Context<string>;
|
|
1103
1074
|
ComposedComponent: React.ComponentType<{
|
|
1104
1075
|
new (props: Omit<TimelineItem, keyof LocaleProps> & {
|
|
1105
|
-
locale?: string
|
|
1106
|
-
translate?: (
|
|
1076
|
+
locale?: string;
|
|
1077
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1107
1078
|
}): {
|
|
1108
1079
|
ref: any;
|
|
1109
1080
|
childRef(ref: any): void;
|
|
1110
1081
|
getWrappedInstance(): any;
|
|
1111
1082
|
render(): React.JSX.Element;
|
|
1112
1083
|
context: unknown;
|
|
1113
|
-
setState<
|
|
1114
|
-
locale?: string
|
|
1115
|
-
translate?: (
|
|
1116
|
-
}>) => {} | Pick<{},
|
|
1084
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1085
|
+
locale?: string;
|
|
1086
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1087
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
1117
1088
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
1118
1089
|
readonly props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1119
|
-
locale?: string
|
|
1120
|
-
translate?: (
|
|
1090
|
+
locale?: string;
|
|
1091
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1121
1092
|
}>;
|
|
1122
1093
|
state: Readonly<{}>;
|
|
1123
1094
|
refs: {
|
|
@@ -1125,36 +1096,36 @@ export declare const TimelineContentComponent: {
|
|
|
1125
1096
|
};
|
|
1126
1097
|
componentDidMount?(): void;
|
|
1127
1098
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1128
|
-
locale?: string
|
|
1129
|
-
translate?: (
|
|
1099
|
+
locale?: string;
|
|
1100
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1130
1101
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
1131
1102
|
componentWillUnmount?(): void;
|
|
1132
1103
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
1133
1104
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1134
|
-
locale?: string
|
|
1135
|
-
translate?: (
|
|
1105
|
+
locale?: string;
|
|
1106
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1136
1107
|
}>, prevState: Readonly<{}>): any;
|
|
1137
1108
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1138
|
-
locale?: string
|
|
1139
|
-
translate?: (
|
|
1109
|
+
locale?: string;
|
|
1110
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1140
1111
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1141
1112
|
componentWillMount?(): void;
|
|
1142
1113
|
UNSAFE_componentWillMount?(): void;
|
|
1143
1114
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1144
|
-
locale?: string
|
|
1145
|
-
translate?: (
|
|
1115
|
+
locale?: string;
|
|
1116
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1146
1117
|
}>, nextContext: any): void;
|
|
1147
1118
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1148
|
-
locale?: string
|
|
1149
|
-
translate?: (
|
|
1119
|
+
locale?: string;
|
|
1120
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1150
1121
|
}>, nextContext: any): void;
|
|
1151
1122
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1152
|
-
locale?: string
|
|
1153
|
-
translate?: (
|
|
1123
|
+
locale?: string;
|
|
1124
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1154
1125
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1155
1126
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1156
|
-
locale?: string
|
|
1157
|
-
translate?: (
|
|
1127
|
+
locale?: string;
|
|
1128
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1158
1129
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1159
1130
|
};
|
|
1160
1131
|
displayName: string;
|
|
@@ -1165,22 +1136,22 @@ export declare const TimelineContentComponent: {
|
|
|
1165
1136
|
}>;
|
|
1166
1137
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
1167
1138
|
new (props: Omit<TimelineItem, keyof LocaleProps> & {
|
|
1168
|
-
locale?: string
|
|
1169
|
-
translate?: (
|
|
1139
|
+
locale?: string;
|
|
1140
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1170
1141
|
}): {
|
|
1171
1142
|
ref: any;
|
|
1172
1143
|
childRef(ref: any): void;
|
|
1173
1144
|
getWrappedInstance(): any;
|
|
1174
1145
|
render(): React.JSX.Element;
|
|
1175
1146
|
context: unknown;
|
|
1176
|
-
setState<
|
|
1177
|
-
locale?: string
|
|
1178
|
-
translate?: (
|
|
1179
|
-
}>) => {} | Pick<{},
|
|
1147
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1148
|
+
locale?: string;
|
|
1149
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1150
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
1180
1151
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
1181
1152
|
readonly props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1182
|
-
locale?: string
|
|
1183
|
-
translate?: (
|
|
1153
|
+
locale?: string;
|
|
1154
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1184
1155
|
}>;
|
|
1185
1156
|
state: Readonly<{}>;
|
|
1186
1157
|
refs: {
|
|
@@ -1188,36 +1159,36 @@ export declare const TimelineContentComponent: {
|
|
|
1188
1159
|
};
|
|
1189
1160
|
componentDidMount?(): void;
|
|
1190
1161
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1191
|
-
locale?: string
|
|
1192
|
-
translate?: (
|
|
1162
|
+
locale?: string;
|
|
1163
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1193
1164
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
1194
1165
|
componentWillUnmount?(): void;
|
|
1195
1166
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
1196
1167
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1197
|
-
locale?: string
|
|
1198
|
-
translate?: (
|
|
1168
|
+
locale?: string;
|
|
1169
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1199
1170
|
}>, prevState: Readonly<{}>): any;
|
|
1200
1171
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1201
|
-
locale?: string
|
|
1202
|
-
translate?: (
|
|
1172
|
+
locale?: string;
|
|
1173
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1203
1174
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1204
1175
|
componentWillMount?(): void;
|
|
1205
1176
|
UNSAFE_componentWillMount?(): void;
|
|
1206
1177
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1207
|
-
locale?: string
|
|
1208
|
-
translate?: (
|
|
1178
|
+
locale?: string;
|
|
1179
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1209
1180
|
}>, nextContext: any): void;
|
|
1210
1181
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1211
|
-
locale?: string
|
|
1212
|
-
translate?: (
|
|
1182
|
+
locale?: string;
|
|
1183
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1213
1184
|
}>, nextContext: any): void;
|
|
1214
1185
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1215
|
-
locale?: string
|
|
1216
|
-
translate?: (
|
|
1186
|
+
locale?: string;
|
|
1187
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1217
1188
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1218
1189
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1219
|
-
locale?: string
|
|
1220
|
-
translate?: (
|
|
1190
|
+
locale?: string;
|
|
1191
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1221
1192
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1222
1193
|
};
|
|
1223
1194
|
displayName: string;
|
|
@@ -1228,22 +1199,22 @@ export declare const TimelineContentComponent: {
|
|
|
1228
1199
|
}, {}> & {
|
|
1229
1200
|
ComposedComponent: {
|
|
1230
1201
|
new (props: Omit<TimelineItem, keyof LocaleProps> & {
|
|
1231
|
-
locale?: string
|
|
1232
|
-
translate?: (
|
|
1202
|
+
locale?: string;
|
|
1203
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1233
1204
|
}): {
|
|
1234
1205
|
ref: any;
|
|
1235
1206
|
childRef(ref: any): void;
|
|
1236
1207
|
getWrappedInstance(): any;
|
|
1237
1208
|
render(): React.JSX.Element;
|
|
1238
1209
|
context: unknown;
|
|
1239
|
-
setState<
|
|
1240
|
-
locale?: string
|
|
1241
|
-
translate?: (
|
|
1242
|
-
}>) => {} | Pick<{},
|
|
1210
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1211
|
+
locale?: string;
|
|
1212
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1213
|
+
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
1243
1214
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
1244
1215
|
readonly props: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1245
|
-
locale?: string
|
|
1246
|
-
translate?: (
|
|
1216
|
+
locale?: string;
|
|
1217
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1247
1218
|
}>;
|
|
1248
1219
|
state: Readonly<{}>;
|
|
1249
1220
|
refs: {
|
|
@@ -1251,36 +1222,36 @@ export declare const TimelineContentComponent: {
|
|
|
1251
1222
|
};
|
|
1252
1223
|
componentDidMount?(): void;
|
|
1253
1224
|
shouldComponentUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1254
|
-
locale?: string
|
|
1255
|
-
translate?: (
|
|
1225
|
+
locale?: string;
|
|
1226
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1256
1227
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
1257
1228
|
componentWillUnmount?(): void;
|
|
1258
1229
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
1259
1230
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1260
|
-
locale?: string
|
|
1261
|
-
translate?: (
|
|
1231
|
+
locale?: string;
|
|
1232
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1262
1233
|
}>, prevState: Readonly<{}>): any;
|
|
1263
1234
|
componentDidUpdate?(prevProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1264
|
-
locale?: string
|
|
1265
|
-
translate?: (
|
|
1235
|
+
locale?: string;
|
|
1236
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1266
1237
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
1267
1238
|
componentWillMount?(): void;
|
|
1268
1239
|
UNSAFE_componentWillMount?(): void;
|
|
1269
1240
|
componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1270
|
-
locale?: string
|
|
1271
|
-
translate?: (
|
|
1241
|
+
locale?: string;
|
|
1242
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1272
1243
|
}>, nextContext: any): void;
|
|
1273
1244
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1274
|
-
locale?: string
|
|
1275
|
-
translate?: (
|
|
1245
|
+
locale?: string;
|
|
1246
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1276
1247
|
}>, nextContext: any): void;
|
|
1277
1248
|
componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1278
|
-
locale?: string
|
|
1279
|
-
translate?: (
|
|
1249
|
+
locale?: string;
|
|
1250
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1280
1251
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1281
1252
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<TimelineItem, keyof LocaleProps> & {
|
|
1282
|
-
locale?: string
|
|
1283
|
-
translate?: (
|
|
1253
|
+
locale?: string;
|
|
1254
|
+
translate?: (str: string, ...args: any[]) => string;
|
|
1284
1255
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
1285
1256
|
};
|
|
1286
1257
|
displayName: string;
|