amis-ui 6.2.2 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/_virtual/_commonjsHelpers.js +10 -0
- package/esm/_virtual/pdf.worker.min.js +8 -0
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +124 -122
- package/esm/components/Alert.js +10 -6
- package/esm/components/Alert2.d.ts +20 -20
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +20 -20
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +40 -40
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +2 -1
- package/esm/components/AsideNav.js +6 -3
- package/esm/components/AssociatedSelection.d.ts +120 -120
- package/esm/components/AssociatedSelection.js +4 -4
- package/esm/components/Avatar.d.ts +140 -140
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +3 -0
- package/esm/components/Breadcrumb.js +7 -6
- package/esm/components/Button.d.ts +32 -31
- package/esm/components/Button.js +4 -4
- package/esm/components/CalendarMobile.d.ts +45 -40
- package/esm/components/CalendarMobile.js +41 -6
- package/esm/components/Card.d.ts +140 -140
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +120 -120
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +120 -120
- package/esm/components/ChainedSelection.js +8 -6
- package/esm/components/Checkbox.d.ts +12 -11
- package/esm/components/Checkbox.js +7 -7
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.d.ts +1 -1
- package/esm/components/CityDB.js +377 -889
- package/esm/components/CodeMirror.d.ts +1 -0
- package/esm/components/CodeMirror.js +16 -5
- package/esm/components/Collapse.d.ts +140 -140
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +30 -30
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +80 -80
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +81 -80
- package/esm/components/ConfirmBox.js +6 -3
- package/esm/components/ContextMenu.d.ts +17 -3
- package/esm/components/ContextMenu.js +72 -20
- package/esm/components/DatePicker.d.ts +84 -82
- package/esm/components/DatePicker.js +12 -12
- package/esm/components/DateRangePicker.d.ts +133 -129
- package/esm/components/DateRangePicker.js +40 -27
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +30 -30
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.d.ts +120 -120
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.d.ts +120 -120
- package/esm/components/Editor.js +3 -3
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +120 -120
- package/esm/components/GroupedSelection.js +5 -4
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +40 -40
- package/esm/components/ImageGallery.js +2 -1
- package/esm/components/Input.d.ts +3 -1
- package/esm/components/Input.js +3 -3
- package/esm/components/InputBox.d.ts +14 -13
- package/esm/components/InputBox.js +7 -7
- package/esm/components/InputBoxWithSuggestion.js +7 -7
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.d.ts +10 -10
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +82 -80
- package/esm/components/ListMenu.js +3 -3
- package/esm/components/LocationPicker.d.ts +40 -40
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +120 -120
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +120 -120
- package/esm/components/MultilineText.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +30 -21
- package/esm/components/NumberInput.js +36 -6
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.d.ts +200 -110
- package/esm/components/Pagination.js +21 -21
- package/esm/components/PdfViewer.d.ts +49 -0
- package/esm/components/PdfViewer.js +85 -0
- package/esm/components/Picker.d.ts +1 -0
- package/esm/components/Picker.js +4 -4
- package/esm/components/PickerColumn.d.ts +1 -0
- package/esm/components/PickerColumn.js +8 -6
- package/esm/components/PickerContainer.d.ts +1 -2
- package/esm/components/PickerContainer.js +26 -16
- package/esm/components/PopOverContainer.d.ts +1 -0
- package/esm/components/PopOverContainer.js +3 -3
- package/esm/components/PopUp.d.ts +120 -120
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +60 -60
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +12 -10
- package/esm/components/Radios.js +4 -3
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.d.ts +20 -20
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +82 -81
- package/esm/components/ResultBox.js +25 -21
- package/esm/components/ResultList.d.ts +42 -40
- package/esm/components/ResultList.js +5 -4
- package/esm/components/ResultTableList.d.ts +120 -120
- package/esm/components/ResultTableList.js +5 -4
- package/esm/components/ResultTreeList.d.ts +40 -40
- package/esm/components/ResultTreeList.js +3 -3
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +82 -81
- package/esm/components/SearchBox.js +8 -8
- package/esm/components/Select.d.ts +1363 -1354
- package/esm/components/Select.js +13 -12
- package/esm/components/SelectMobile.js +22 -19
- package/esm/components/Selection.d.ts +122 -120
- package/esm/components/Selection.js +1 -1
- package/esm/components/Signature.d.ts +280 -0
- package/esm/components/Signature.js +271 -0
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +60 -60
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +12 -12
- package/esm/components/Switch.js +4 -4
- package/esm/components/TableSelection.d.ts +120 -120
- package/esm/components/TableSelection.js +6 -5
- package/esm/components/Tabs.d.ts +83 -81
- package/esm/components/Tabs.js +21 -22
- package/esm/components/TabsTransfer.d.ts +40 -40
- package/esm/components/TabsTransfer.js +16 -14
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +70 -70
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +42 -42
- package/esm/components/Textarea.js +4 -4
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +7 -4
- package/esm/components/TitleBar.d.ts +10 -10
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +120 -120
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +32 -32
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +174 -172
- package/esm/components/Transfer.js +16 -16
- package/esm/components/TransferDropDown.d.ts +160 -160
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +206 -210
- package/esm/components/Tree.js +32 -30
- package/esm/components/TreeSelection.d.ts +120 -120
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +40 -40
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +40 -40
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.d.ts +9 -0
- package/esm/components/WithRemoteConfig.js +19 -3
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -1
- package/esm/components/calendar/Calendar.js +7 -6
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +2 -1
- package/esm/components/calendar/DaysView.js +17 -15
- package/esm/components/calendar/MonthsView.d.ts +2 -0
- package/esm/components/calendar/MonthsView.js +8 -6
- package/esm/components/calendar/QuartersView.d.ts +2 -0
- package/esm/components/calendar/QuartersView.js +7 -6
- package/esm/components/calendar/TimeView.d.ts +2 -0
- package/esm/components/calendar/TimeView.js +8 -7
- package/esm/components/calendar/YearsView.d.ts +2 -0
- package/esm/components/calendar/YearsView.js +6 -5
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.d.ts +1 -0
- package/esm/components/condition-builder/Value.js +30 -14
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/CodeEditor.d.ts +92 -0
- package/esm/components/formula/CodeEditor.js +99 -0
- package/esm/components/formula/Editor.d.ts +64 -69
- package/esm/components/formula/Editor.js +173 -81
- package/esm/components/formula/FuncList.d.ts +1 -1
- package/esm/components/formula/FuncList.js +10 -9
- package/esm/components/formula/Input.d.ts +68 -54
- package/esm/components/formula/Input.js +45 -102
- package/esm/components/formula/Picker.d.ts +74 -60
- package/esm/components/formula/Picker.js +129 -69
- package/esm/components/formula/VariableList.d.ts +1 -1
- package/esm/components/formula/VariableList.js +26 -12
- package/esm/components/formula/plugin.d.ts +28 -7
- package/esm/components/formula/plugin.js +217 -90
- package/esm/components/icons.d.ts +4 -2
- package/esm/components/icons.js +14 -5
- package/esm/components/index.d.ts +5 -3
- package/esm/components/json-schema/Array.js +2 -2
- package/esm/components/json-schema/Item.d.ts +3 -1
- package/esm/components/json-schema/Item.js +35 -9
- package/esm/components/json-schema/Object.d.ts +3 -1
- package/esm/components/json-schema/Object.js +112 -52
- package/esm/components/json-schema/index.d.ts +53 -50
- package/esm/components/json-schema/index.js +14 -5
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +2 -1
- package/esm/components/menu/MenuItem.js +4 -4
- package/esm/components/menu/SubMenu.d.ts +2 -1
- package/esm/components/menu/SubMenu.js +6 -6
- package/esm/components/menu/index.d.ts +66 -63
- package/esm/components/menu/index.js +10 -7
- package/esm/components/schema-editor/Array.js +23 -8
- package/esm/components/schema-editor/Common.d.ts +17 -1
- package/esm/components/schema-editor/Common.js +84 -37
- package/esm/components/schema-editor/Item.js +2 -2
- package/esm/components/schema-editor/Object.d.ts +7 -1
- package/esm/components/schema-editor/Object.js +106 -14
- package/esm/components/schema-editor/SchemaVariableList.d.ts +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +48 -40
- package/esm/components/schema-editor/index.js +4 -4
- package/esm/components/table/Cell.d.ts +2 -0
- package/esm/components/table/Cell.js +4 -4
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.d.ts +2 -0
- package/esm/components/table/Head.js +12 -9
- package/esm/components/table/HeadCellDropDown.d.ts +2 -0
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +42 -40
- package/esm/components/table/HeadCellFilter.js +8 -8
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +2 -0
- package/esm/components/table/HeadCellSort.js +8 -8
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.d.ts +2 -0
- package/esm/components/table/Row.js +4 -3
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.d.ts +162 -160
- package/esm/components/table/index.js +7 -5
- package/esm/components/table/util.d.ts +7 -7
- package/esm/components/table/util.js +4 -2
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/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 +21 -0
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/sub-plus.svg.js +20 -0
- 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 +25 -0
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.svg.js +21 -0
- 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 +4 -2
- package/esm/locale/de-DE.js +27 -11
- package/esm/locale/en-US.js +18 -2
- package/esm/locale/zh-CN.js +19 -3
- package/esm/node_modules/pdfjs-dist/build/pdf.worker.min.js +37 -0
- package/esm/node_modules/smooth-signature/es/index.js +506 -0
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/_virtual/_commonjsHelpers.js +14 -0
- package/lib/_virtual/pdf.worker.min.js +12 -0
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +124 -122
- package/lib/components/Alert.js +10 -6
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +12 -11
- package/lib/components/AsideNav.js +5 -2
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +4 -4
- package/lib/components/Avatar.d.ts +70 -70
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +3 -0
- package/lib/components/Breadcrumb.js +7 -6
- package/lib/components/Button.d.ts +42 -41
- package/lib/components/Button.js +3 -3
- package/lib/components/CalendarMobile.d.ts +85 -80
- package/lib/components/CalendarMobile.js +41 -6
- package/lib/components/Card.d.ts +110 -110
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +8 -6
- package/lib/components/Checkbox.d.ts +12 -11
- package/lib/components/Checkbox.js +6 -6
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.d.ts +1 -1
- package/lib/components/CityDB.js +377 -889
- package/lib/components/CodeMirror.d.ts +1 -0
- package/lib/components/CodeMirror.js +15 -4
- package/lib/components/Collapse.d.ts +140 -140
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +81 -80
- package/lib/components/ConfirmBox.js +6 -3
- package/lib/components/ContextMenu.d.ts +17 -3
- package/lib/components/ContextMenu.js +73 -20
- package/lib/components/DatePicker.d.ts +124 -122
- package/lib/components/DatePicker.js +12 -12
- package/lib/components/DateRangePicker.d.ts +293 -289
- package/lib/components/DateRangePicker.js +40 -27
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +120 -120
- package/lib/components/Editor.js +3 -3
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +5 -4
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +2 -1
- package/lib/components/Input.d.ts +3 -1
- package/lib/components/Input.js +3 -3
- package/lib/components/InputBox.d.ts +14 -13
- package/lib/components/InputBox.js +6 -6
- package/lib/components/InputBoxWithSuggestion.js +7 -7
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +82 -80
- package/lib/components/ListMenu.js +3 -3
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +80 -80
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +160 -160
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +30 -21
- package/lib/components/NumberInput.js +36 -6
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.d.ts +200 -110
- package/lib/components/Pagination.js +20 -20
- package/lib/components/PdfViewer.d.ts +49 -0
- package/lib/components/PdfViewer.js +91 -0
- package/lib/components/Picker.d.ts +1 -0
- package/lib/components/Picker.js +4 -4
- package/lib/components/PickerColumn.d.ts +1 -0
- package/lib/components/PickerColumn.js +7 -5
- package/lib/components/PickerContainer.d.ts +1 -2
- package/lib/components/PickerContainer.js +26 -16
- package/lib/components/PopOverContainer.d.ts +1 -0
- package/lib/components/PopOverContainer.js +3 -3
- package/lib/components/PopUp.d.ts +40 -40
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +50 -50
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +12 -10
- package/lib/components/Radios.js +4 -3
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +10 -10
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +82 -81
- package/lib/components/ResultBox.js +25 -21
- package/lib/components/ResultList.d.ts +42 -40
- package/lib/components/ResultList.js +5 -4
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +5 -4
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +3 -3
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +82 -81
- package/lib/components/SearchBox.js +7 -7
- package/lib/components/Select.d.ts +1366 -1357
- package/lib/components/Select.js +12 -11
- package/lib/components/SelectMobile.js +22 -19
- package/lib/components/Selection.d.ts +82 -80
- package/lib/components/Selection.js +1 -1
- package/lib/components/Signature.d.ts +280 -0
- package/lib/components/Signature.js +275 -0
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +60 -60
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +12 -12
- package/lib/components/Switch.js +3 -3
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +6 -5
- package/lib/components/Tabs.d.ts +83 -81
- package/lib/components/Tabs.js +21 -22
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +16 -14
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +42 -42
- package/lib/components/Textarea.js +3 -3
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +7 -4
- package/lib/components/TitleBar.d.ts +10 -10
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +80 -80
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +42 -42
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +192 -190
- package/lib/components/Transfer.js +16 -16
- package/lib/components/TransferDropDown.d.ts +160 -160
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +286 -290
- package/lib/components/Tree.js +31 -29
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +9 -0
- package/lib/components/WithRemoteConfig.js +19 -3
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -1
- package/lib/components/calendar/Calendar.js +6 -5
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +2 -1
- package/lib/components/calendar/DaysView.js +17 -15
- package/lib/components/calendar/MonthsView.d.ts +2 -0
- package/lib/components/calendar/MonthsView.js +8 -6
- package/lib/components/calendar/QuartersView.d.ts +2 -0
- package/lib/components/calendar/QuartersView.js +7 -6
- package/lib/components/calendar/TimeView.d.ts +2 -0
- package/lib/components/calendar/TimeView.js +8 -7
- package/lib/components/calendar/YearsView.d.ts +2 -0
- package/lib/components/calendar/YearsView.js +6 -5
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.d.ts +1 -0
- package/lib/components/condition-builder/Value.js +28 -12
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/CodeEditor.d.ts +92 -0
- package/lib/components/formula/CodeEditor.js +110 -0
- package/lib/components/formula/Editor.d.ts +64 -69
- package/lib/components/formula/Editor.js +172 -78
- package/lib/components/formula/FuncList.d.ts +1 -1
- package/lib/components/formula/FuncList.js +10 -9
- package/lib/components/formula/Input.d.ts +68 -54
- package/lib/components/formula/Input.js +43 -101
- package/lib/components/formula/Picker.d.ts +74 -60
- package/lib/components/formula/Picker.js +128 -68
- package/lib/components/formula/VariableList.d.ts +1 -1
- package/lib/components/formula/VariableList.js +24 -10
- package/lib/components/formula/plugin.d.ts +28 -7
- package/lib/components/formula/plugin.js +220 -89
- package/lib/components/icons.d.ts +4 -2
- package/lib/components/icons.js +14 -5
- package/lib/components/index.d.ts +5 -3
- package/lib/components/json-schema/Array.js +3 -3
- package/lib/components/json-schema/Item.d.ts +3 -1
- package/lib/components/json-schema/Item.js +39 -8
- package/lib/components/json-schema/Object.d.ts +3 -1
- package/lib/components/json-schema/Object.js +113 -51
- package/lib/components/json-schema/index.d.ts +53 -50
- package/lib/components/json-schema/index.js +18 -5
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +2 -1
- package/lib/components/menu/MenuItem.js +3 -3
- package/lib/components/menu/SubMenu.d.ts +2 -1
- package/lib/components/menu/SubMenu.js +5 -5
- package/lib/components/menu/index.d.ts +86 -83
- package/lib/components/menu/index.js +10 -7
- package/lib/components/schema-editor/Array.js +23 -8
- package/lib/components/schema-editor/Common.d.ts +17 -1
- package/lib/components/schema-editor/Common.js +83 -36
- package/lib/components/schema-editor/Item.js +2 -2
- package/lib/components/schema-editor/Object.d.ts +7 -1
- package/lib/components/schema-editor/Object.js +105 -13
- package/lib/components/schema-editor/SchemaVariableList.d.ts +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +48 -40
- package/lib/components/schema-editor/index.js +4 -4
- package/lib/components/table/Cell.d.ts +2 -0
- package/lib/components/table/Cell.js +4 -4
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.d.ts +2 -0
- package/lib/components/table/Head.js +12 -9
- package/lib/components/table/HeadCellDropDown.d.ts +2 -0
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +82 -80
- package/lib/components/table/HeadCellFilter.js +8 -8
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +2 -0
- package/lib/components/table/HeadCellSort.js +7 -7
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.d.ts +2 -0
- package/lib/components/table/Row.js +4 -3
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.d.ts +122 -120
- package/lib/components/table/index.js +7 -5
- package/lib/components/table/util.d.ts +7 -7
- package/lib/components/table/util.js +4 -2
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/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 +28 -0
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.svg.js +27 -0
- 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 +32 -0
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +28 -0
- 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 +6 -1
- package/lib/locale/de-DE.js +27 -11
- package/lib/locale/en-US.js +18 -2
- package/lib/locale/zh-CN.js +19 -3
- package/lib/node_modules/pdfjs-dist/build/pdf.worker.min.js +41 -0
- package/lib/node_modules/smooth-signature/es/index.js +510 -0
- package/lib/{scss → packages/amis-ui/scss}/helper.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/ang.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/antd.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/cxd.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/dark.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +1032 -38
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +1032 -38
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +1032 -38
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +1032 -38
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +1032 -38
- package/package.json +4 -3
- package/scss/_components.scss +7 -0
- package/scss/_mixins.scss +1 -0
- package/scss/_thirds.scss +3 -0
- package/scss/components/_collapse.scss +1 -1
- package/scss/components/_condition-builder.scss +18 -0
- package/scss/components/_crud2.scss +4 -0
- package/scss/components/_formula.scss +148 -26
- package/scss/components/_image-gallery.scss +7 -1
- package/scss/components/_input-box.scss +6 -0
- package/scss/components/_json-schema-editor.scss +24 -3
- package/scss/components/_json-schema.scss +5 -0
- package/scss/components/_menu.scss +3 -0
- package/scss/components/_pdf_viewer.scss +47 -0
- package/scss/components/_signature.scss +97 -0
- package/scss/components/_table.scss +6 -1
- package/scss/components/_tabs.scss +10 -4
- package/scss/components/form/_combo.scss +1 -0
- package/scss/components/form/_form.scss +10 -0
- package/scss/components/form/_icon-select.scss +3 -0
- package/scss/components/form/_picker.scss +2 -1
- package/scss/components/form/_tag.scss +2 -1
- package/scss/components/form/_text.scss +4 -4
- package/scss/themes/_common.scss +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="hoist-non-react-statics" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { LocaleProps } from 'amis-core';
|
|
3
|
+
import { LocaleProps, TestIdBuilder } from 'amis-core';
|
|
4
4
|
import { ThemeProps } from 'amis-core';
|
|
5
5
|
export type MODE_TYPE = 'simple' | 'normal';
|
|
6
6
|
export declare const enum PaginationWidget {
|
|
@@ -90,6 +90,7 @@ export interface BasicPaginationProps {
|
|
|
90
90
|
}
|
|
91
91
|
export interface PaginationProps extends BasicPaginationProps, ThemeProps, LocaleProps {
|
|
92
92
|
popOverContainer?: any;
|
|
93
|
+
testIdBuilder?: TestIdBuilder;
|
|
93
94
|
}
|
|
94
95
|
export interface PaginationState {
|
|
95
96
|
pageNum: string;
|
|
@@ -153,177 +154,235 @@ export declare class Pagination extends React.Component<PaginationProps, Paginat
|
|
|
153
154
|
render(): React.JSX.Element;
|
|
154
155
|
}
|
|
155
156
|
declare const _default: {
|
|
156
|
-
new (props: Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
157
|
-
mode?: MODE_TYPE | undefined;
|
|
157
|
+
new (props: Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
158
158
|
size?: string | undefined;
|
|
159
159
|
layout?: string | string[] | undefined;
|
|
160
|
+
mode?: MODE_TYPE | undefined;
|
|
160
161
|
maxButtons?: number | undefined;
|
|
161
162
|
activePage?: number | undefined;
|
|
162
163
|
perPage?: number | undefined;
|
|
163
164
|
perPageAvailable?: number[] | undefined;
|
|
164
165
|
ellipsisPageGap?: number | undefined;
|
|
165
166
|
} & {} & {
|
|
166
|
-
locale?: string | undefined;
|
|
167
|
-
|
|
167
|
+
locale?: string | undefined; /**
|
|
168
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
169
|
+
*/
|
|
170
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
171
|
+
* 每页显示条数
|
|
172
|
+
* @default 10
|
|
173
|
+
*/
|
|
168
174
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
169
175
|
ref: any;
|
|
170
176
|
childRef(ref: any): void;
|
|
171
177
|
getWrappedInstance(): any;
|
|
172
178
|
render(): React.JSX.Element;
|
|
173
179
|
context: unknown;
|
|
174
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
175
|
-
mode?: MODE_TYPE | undefined;
|
|
180
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
176
181
|
size?: string | undefined;
|
|
177
182
|
layout?: string | string[] | undefined;
|
|
183
|
+
mode?: MODE_TYPE | undefined;
|
|
178
184
|
maxButtons?: number | undefined;
|
|
179
185
|
activePage?: number | undefined;
|
|
180
186
|
perPage?: number | undefined;
|
|
181
187
|
perPageAvailable?: number[] | undefined;
|
|
182
188
|
ellipsisPageGap?: number | undefined;
|
|
183
189
|
} & {} & {
|
|
184
|
-
locale?: string | undefined;
|
|
185
|
-
|
|
190
|
+
locale?: string | undefined; /**
|
|
191
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
192
|
+
*/
|
|
193
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
194
|
+
* 每页显示条数
|
|
195
|
+
* @default 10
|
|
196
|
+
*/
|
|
186
197
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
187
198
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
188
|
-
readonly props: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
189
|
-
mode?: MODE_TYPE | undefined;
|
|
199
|
+
readonly props: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
190
200
|
size?: string | undefined;
|
|
191
201
|
layout?: string | string[] | undefined;
|
|
202
|
+
mode?: MODE_TYPE | undefined;
|
|
192
203
|
maxButtons?: number | undefined;
|
|
193
204
|
activePage?: number | undefined;
|
|
194
205
|
perPage?: number | undefined;
|
|
195
206
|
perPageAvailable?: number[] | undefined;
|
|
196
207
|
ellipsisPageGap?: number | undefined;
|
|
197
208
|
} & {} & {
|
|
198
|
-
locale?: string | undefined;
|
|
199
|
-
|
|
209
|
+
locale?: string | undefined; /**
|
|
210
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
211
|
+
*/
|
|
212
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
213
|
+
* 每页显示条数
|
|
214
|
+
* @default 10
|
|
215
|
+
*/
|
|
200
216
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
201
217
|
state: Readonly<{}>;
|
|
202
218
|
refs: {
|
|
203
219
|
[key: string]: React.ReactInstance;
|
|
204
220
|
};
|
|
205
221
|
componentDidMount?(): void;
|
|
206
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
207
|
-
mode?: MODE_TYPE | undefined;
|
|
222
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
208
223
|
size?: string | undefined;
|
|
209
224
|
layout?: string | string[] | undefined;
|
|
225
|
+
mode?: MODE_TYPE | undefined;
|
|
210
226
|
maxButtons?: number | undefined;
|
|
211
227
|
activePage?: number | undefined;
|
|
212
228
|
perPage?: number | undefined;
|
|
213
229
|
perPageAvailable?: number[] | undefined;
|
|
214
230
|
ellipsisPageGap?: number | undefined;
|
|
215
231
|
} & {} & {
|
|
216
|
-
locale?: string | undefined;
|
|
217
|
-
|
|
232
|
+
locale?: string | undefined; /**
|
|
233
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
234
|
+
*/
|
|
235
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
236
|
+
* 每页显示条数
|
|
237
|
+
* @default 10
|
|
238
|
+
*/
|
|
218
239
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
219
240
|
componentWillUnmount?(): void;
|
|
220
241
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
221
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
222
|
-
mode?: MODE_TYPE | undefined;
|
|
242
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
223
243
|
size?: string | undefined;
|
|
224
244
|
layout?: string | string[] | undefined;
|
|
245
|
+
mode?: MODE_TYPE | undefined;
|
|
225
246
|
maxButtons?: number | undefined;
|
|
226
247
|
activePage?: number | undefined;
|
|
227
248
|
perPage?: number | undefined;
|
|
228
249
|
perPageAvailable?: number[] | undefined;
|
|
229
250
|
ellipsisPageGap?: number | undefined;
|
|
230
251
|
} & {} & {
|
|
231
|
-
locale?: string | undefined;
|
|
232
|
-
|
|
252
|
+
locale?: string | undefined; /**
|
|
253
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
254
|
+
*/
|
|
255
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
256
|
+
* 每页显示条数
|
|
257
|
+
* @default 10
|
|
258
|
+
*/
|
|
233
259
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
234
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
235
|
-
mode?: MODE_TYPE | undefined;
|
|
260
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
236
261
|
size?: string | undefined;
|
|
237
262
|
layout?: string | string[] | undefined;
|
|
263
|
+
mode?: MODE_TYPE | undefined;
|
|
238
264
|
maxButtons?: number | undefined;
|
|
239
265
|
activePage?: number | undefined;
|
|
240
266
|
perPage?: number | undefined;
|
|
241
267
|
perPageAvailable?: number[] | undefined;
|
|
242
268
|
ellipsisPageGap?: number | undefined;
|
|
243
269
|
} & {} & {
|
|
244
|
-
locale?: string | undefined;
|
|
245
|
-
|
|
270
|
+
locale?: string | undefined; /**
|
|
271
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
272
|
+
*/
|
|
273
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
274
|
+
* 每页显示条数
|
|
275
|
+
* @default 10
|
|
276
|
+
*/
|
|
246
277
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
247
278
|
componentWillMount?(): void;
|
|
248
279
|
UNSAFE_componentWillMount?(): void;
|
|
249
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
250
|
-
mode?: MODE_TYPE | undefined;
|
|
280
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
251
281
|
size?: string | undefined;
|
|
252
282
|
layout?: string | string[] | undefined;
|
|
283
|
+
mode?: MODE_TYPE | undefined;
|
|
253
284
|
maxButtons?: number | undefined;
|
|
254
285
|
activePage?: number | undefined;
|
|
255
286
|
perPage?: number | undefined;
|
|
256
287
|
perPageAvailable?: number[] | undefined;
|
|
257
288
|
ellipsisPageGap?: number | undefined;
|
|
258
289
|
} & {} & {
|
|
259
|
-
locale?: string | undefined;
|
|
260
|
-
|
|
290
|
+
locale?: string | undefined; /**
|
|
291
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
292
|
+
*/
|
|
293
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
294
|
+
* 每页显示条数
|
|
295
|
+
* @default 10
|
|
296
|
+
*/
|
|
261
297
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
262
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
263
|
-
mode?: MODE_TYPE | undefined;
|
|
298
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
264
299
|
size?: string | undefined;
|
|
265
300
|
layout?: string | string[] | undefined;
|
|
301
|
+
mode?: MODE_TYPE | undefined;
|
|
266
302
|
maxButtons?: number | undefined;
|
|
267
303
|
activePage?: number | undefined;
|
|
268
304
|
perPage?: number | undefined;
|
|
269
305
|
perPageAvailable?: number[] | undefined;
|
|
270
306
|
ellipsisPageGap?: number | undefined;
|
|
271
307
|
} & {} & {
|
|
272
|
-
locale?: string | undefined;
|
|
273
|
-
|
|
308
|
+
locale?: string | undefined; /**
|
|
309
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
310
|
+
*/
|
|
311
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
312
|
+
* 每页显示条数
|
|
313
|
+
* @default 10
|
|
314
|
+
*/
|
|
274
315
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
275
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
276
|
-
mode?: MODE_TYPE | undefined;
|
|
316
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
277
317
|
size?: string | undefined;
|
|
278
318
|
layout?: string | string[] | undefined;
|
|
319
|
+
mode?: MODE_TYPE | undefined;
|
|
279
320
|
maxButtons?: number | undefined;
|
|
280
321
|
activePage?: number | undefined;
|
|
281
322
|
perPage?: number | undefined;
|
|
282
323
|
perPageAvailable?: number[] | undefined;
|
|
283
324
|
ellipsisPageGap?: number | undefined;
|
|
284
325
|
} & {} & {
|
|
285
|
-
locale?: string | undefined;
|
|
286
|
-
|
|
326
|
+
locale?: string | undefined; /**
|
|
327
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
328
|
+
*/
|
|
329
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
330
|
+
* 每页显示条数
|
|
331
|
+
* @default 10
|
|
332
|
+
*/
|
|
287
333
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
288
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
289
|
-
mode?: MODE_TYPE | undefined;
|
|
334
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
290
335
|
size?: string | undefined;
|
|
291
336
|
layout?: string | string[] | undefined;
|
|
337
|
+
mode?: MODE_TYPE | undefined;
|
|
292
338
|
maxButtons?: number | undefined;
|
|
293
339
|
activePage?: number | undefined;
|
|
294
340
|
perPage?: number | undefined;
|
|
295
341
|
perPageAvailable?: number[] | undefined;
|
|
296
342
|
ellipsisPageGap?: number | undefined;
|
|
297
343
|
} & {} & {
|
|
298
|
-
locale?: string | undefined;
|
|
299
|
-
|
|
344
|
+
locale?: string | undefined; /**
|
|
345
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
346
|
+
*/
|
|
347
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
348
|
+
* 每页显示条数
|
|
349
|
+
* @default 10
|
|
350
|
+
*/
|
|
300
351
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
301
352
|
};
|
|
302
353
|
displayName: string;
|
|
303
354
|
contextType: React.Context<string>;
|
|
304
355
|
ComposedComponent: React.ComponentType<{
|
|
305
|
-
new (props: Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
306
|
-
mode?: MODE_TYPE | undefined;
|
|
356
|
+
new (props: Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
307
357
|
size?: string | undefined;
|
|
308
358
|
layout?: string | string[] | undefined;
|
|
359
|
+
mode?: MODE_TYPE | undefined;
|
|
309
360
|
maxButtons?: number | undefined;
|
|
310
361
|
activePage?: number | undefined;
|
|
311
362
|
perPage?: number | undefined;
|
|
312
363
|
perPageAvailable?: number[] | undefined;
|
|
313
364
|
ellipsisPageGap?: number | undefined;
|
|
314
365
|
} & {} & {
|
|
315
|
-
locale?: string | undefined;
|
|
316
|
-
|
|
366
|
+
locale?: string | undefined; /**
|
|
367
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
368
|
+
*/
|
|
369
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
370
|
+
* 每页显示条数
|
|
371
|
+
* @default 10
|
|
372
|
+
*/
|
|
317
373
|
}): {
|
|
318
374
|
ref: any;
|
|
319
|
-
childRef(ref: any): void;
|
|
375
|
+
childRef(ref: any): void; /**
|
|
376
|
+
* 是否展示分页切换,也同时受layout控制
|
|
377
|
+
* @default false
|
|
378
|
+
*/
|
|
320
379
|
getWrappedInstance(): any;
|
|
321
380
|
render(): React.JSX.Element;
|
|
322
381
|
context: unknown;
|
|
323
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
324
|
-
mode?: MODE_TYPE | undefined;
|
|
382
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
325
383
|
size?: string | undefined;
|
|
326
384
|
layout?: string | string[] | undefined;
|
|
385
|
+
mode?: MODE_TYPE | undefined;
|
|
327
386
|
maxButtons?: number | undefined;
|
|
328
387
|
activePage?: number | undefined;
|
|
329
388
|
perPage?: number | undefined;
|
|
@@ -333,11 +392,16 @@ declare const _default: {
|
|
|
333
392
|
locale?: string | undefined;
|
|
334
393
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
335
394
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
395
|
+
/**
|
|
396
|
+
* 组件尺寸
|
|
397
|
+
*
|
|
398
|
+
* @default 'md'
|
|
399
|
+
*/
|
|
336
400
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
337
|
-
readonly props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
338
|
-
mode?: MODE_TYPE | undefined;
|
|
401
|
+
readonly props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
339
402
|
size?: string | undefined;
|
|
340
403
|
layout?: string | string[] | undefined;
|
|
404
|
+
mode?: MODE_TYPE | undefined;
|
|
341
405
|
maxButtons?: number | undefined;
|
|
342
406
|
activePage?: number | undefined;
|
|
343
407
|
perPage?: number | undefined;
|
|
@@ -352,10 +416,10 @@ declare const _default: {
|
|
|
352
416
|
[key: string]: React.ReactInstance;
|
|
353
417
|
};
|
|
354
418
|
componentDidMount?(): void;
|
|
355
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
356
|
-
mode?: MODE_TYPE | undefined;
|
|
419
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
357
420
|
size?: string | undefined;
|
|
358
421
|
layout?: string | string[] | undefined;
|
|
422
|
+
mode?: MODE_TYPE | undefined;
|
|
359
423
|
maxButtons?: number | undefined;
|
|
360
424
|
activePage?: number | undefined;
|
|
361
425
|
perPage?: number | undefined;
|
|
@@ -367,10 +431,10 @@ declare const _default: {
|
|
|
367
431
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
368
432
|
componentWillUnmount?(): void;
|
|
369
433
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
370
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
371
|
-
mode?: MODE_TYPE | undefined;
|
|
434
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
372
435
|
size?: string | undefined;
|
|
373
436
|
layout?: string | string[] | undefined;
|
|
437
|
+
mode?: MODE_TYPE | undefined;
|
|
374
438
|
maxButtons?: number | undefined;
|
|
375
439
|
activePage?: number | undefined;
|
|
376
440
|
perPage?: number | undefined;
|
|
@@ -380,10 +444,10 @@ declare const _default: {
|
|
|
380
444
|
locale?: string | undefined;
|
|
381
445
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
382
446
|
}>, prevState: Readonly<{}>): any;
|
|
383
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
384
|
-
mode?: MODE_TYPE | undefined;
|
|
447
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
385
448
|
size?: string | undefined;
|
|
386
449
|
layout?: string | string[] | undefined;
|
|
450
|
+
mode?: MODE_TYPE | undefined;
|
|
387
451
|
maxButtons?: number | undefined;
|
|
388
452
|
activePage?: number | undefined;
|
|
389
453
|
perPage?: number | undefined;
|
|
@@ -395,10 +459,10 @@ declare const _default: {
|
|
|
395
459
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
396
460
|
componentWillMount?(): void;
|
|
397
461
|
UNSAFE_componentWillMount?(): void;
|
|
398
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
399
|
-
mode?: MODE_TYPE | undefined;
|
|
462
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
400
463
|
size?: string | undefined;
|
|
401
464
|
layout?: string | string[] | undefined;
|
|
465
|
+
mode?: MODE_TYPE | undefined;
|
|
402
466
|
maxButtons?: number | undefined;
|
|
403
467
|
activePage?: number | undefined;
|
|
404
468
|
perPage?: number | undefined;
|
|
@@ -408,10 +472,10 @@ declare const _default: {
|
|
|
408
472
|
locale?: string | undefined;
|
|
409
473
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
410
474
|
}>, nextContext: any): void;
|
|
411
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
412
|
-
mode?: MODE_TYPE | undefined;
|
|
475
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
413
476
|
size?: string | undefined;
|
|
414
477
|
layout?: string | string[] | undefined;
|
|
478
|
+
mode?: MODE_TYPE | undefined;
|
|
415
479
|
maxButtons?: number | undefined;
|
|
416
480
|
activePage?: number | undefined;
|
|
417
481
|
perPage?: number | undefined;
|
|
@@ -421,10 +485,10 @@ declare const _default: {
|
|
|
421
485
|
locale?: string | undefined;
|
|
422
486
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
423
487
|
}>, nextContext: any): void;
|
|
424
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
425
|
-
mode?: MODE_TYPE | undefined;
|
|
488
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
426
489
|
size?: string | undefined;
|
|
427
490
|
layout?: string | string[] | undefined;
|
|
491
|
+
mode?: MODE_TYPE | undefined;
|
|
428
492
|
maxButtons?: number | undefined;
|
|
429
493
|
activePage?: number | undefined;
|
|
430
494
|
perPage?: number | undefined;
|
|
@@ -434,10 +498,10 @@ declare const _default: {
|
|
|
434
498
|
locale?: string | undefined;
|
|
435
499
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
436
500
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
437
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
438
|
-
mode?: MODE_TYPE | undefined;
|
|
501
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
439
502
|
size?: string | undefined;
|
|
440
503
|
layout?: string | string[] | undefined;
|
|
504
|
+
mode?: MODE_TYPE | undefined;
|
|
441
505
|
maxButtons?: number | undefined;
|
|
442
506
|
activePage?: number | undefined;
|
|
443
507
|
perPage?: number | undefined;
|
|
@@ -455,28 +519,36 @@ declare const _default: {
|
|
|
455
519
|
ComposedComponent: typeof Pagination;
|
|
456
520
|
}>;
|
|
457
521
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
458
|
-
new (props: Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
459
|
-
mode?: MODE_TYPE | undefined;
|
|
522
|
+
new (props: Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
460
523
|
size?: string | undefined;
|
|
461
524
|
layout?: string | string[] | undefined;
|
|
525
|
+
mode?: MODE_TYPE | undefined;
|
|
462
526
|
maxButtons?: number | undefined;
|
|
463
527
|
activePage?: number | undefined;
|
|
464
528
|
perPage?: number | undefined;
|
|
465
529
|
perPageAvailable?: number[] | undefined;
|
|
466
530
|
ellipsisPageGap?: number | undefined;
|
|
467
531
|
} & {} & {
|
|
468
|
-
locale?: string | undefined;
|
|
469
|
-
|
|
532
|
+
locale?: string | undefined; /**
|
|
533
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
534
|
+
*/
|
|
535
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
536
|
+
* 每页显示条数
|
|
537
|
+
* @default 10
|
|
538
|
+
*/
|
|
470
539
|
}): {
|
|
471
540
|
ref: any;
|
|
472
|
-
childRef(ref: any): void;
|
|
541
|
+
childRef(ref: any): void; /**
|
|
542
|
+
* 是否展示分页切换,也同时受layout控制
|
|
543
|
+
* @default false
|
|
544
|
+
*/
|
|
473
545
|
getWrappedInstance(): any;
|
|
474
546
|
render(): React.JSX.Element;
|
|
475
547
|
context: unknown;
|
|
476
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
477
|
-
mode?: MODE_TYPE | undefined;
|
|
548
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
478
549
|
size?: string | undefined;
|
|
479
550
|
layout?: string | string[] | undefined;
|
|
551
|
+
mode?: MODE_TYPE | undefined;
|
|
480
552
|
maxButtons?: number | undefined;
|
|
481
553
|
activePage?: number | undefined;
|
|
482
554
|
perPage?: number | undefined;
|
|
@@ -486,11 +558,16 @@ declare const _default: {
|
|
|
486
558
|
locale?: string | undefined;
|
|
487
559
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
488
560
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
561
|
+
/**
|
|
562
|
+
* 组件尺寸
|
|
563
|
+
*
|
|
564
|
+
* @default 'md'
|
|
565
|
+
*/
|
|
489
566
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
490
|
-
readonly props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
491
|
-
mode?: MODE_TYPE | undefined;
|
|
567
|
+
readonly props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
492
568
|
size?: string | undefined;
|
|
493
569
|
layout?: string | string[] | undefined;
|
|
570
|
+
mode?: MODE_TYPE | undefined;
|
|
494
571
|
maxButtons?: number | undefined;
|
|
495
572
|
activePage?: number | undefined;
|
|
496
573
|
perPage?: number | undefined;
|
|
@@ -505,10 +582,10 @@ declare const _default: {
|
|
|
505
582
|
[key: string]: React.ReactInstance;
|
|
506
583
|
};
|
|
507
584
|
componentDidMount?(): void;
|
|
508
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
509
|
-
mode?: MODE_TYPE | undefined;
|
|
585
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
510
586
|
size?: string | undefined;
|
|
511
587
|
layout?: string | string[] | undefined;
|
|
588
|
+
mode?: MODE_TYPE | undefined;
|
|
512
589
|
maxButtons?: number | undefined;
|
|
513
590
|
activePage?: number | undefined;
|
|
514
591
|
perPage?: number | undefined;
|
|
@@ -520,10 +597,10 @@ declare const _default: {
|
|
|
520
597
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
521
598
|
componentWillUnmount?(): void;
|
|
522
599
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
523
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
524
|
-
mode?: MODE_TYPE | undefined;
|
|
600
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
525
601
|
size?: string | undefined;
|
|
526
602
|
layout?: string | string[] | undefined;
|
|
603
|
+
mode?: MODE_TYPE | undefined;
|
|
527
604
|
maxButtons?: number | undefined;
|
|
528
605
|
activePage?: number | undefined;
|
|
529
606
|
perPage?: number | undefined;
|
|
@@ -533,10 +610,10 @@ declare const _default: {
|
|
|
533
610
|
locale?: string | undefined;
|
|
534
611
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
535
612
|
}>, prevState: Readonly<{}>): any;
|
|
536
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
537
|
-
mode?: MODE_TYPE | undefined;
|
|
613
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
538
614
|
size?: string | undefined;
|
|
539
615
|
layout?: string | string[] | undefined;
|
|
616
|
+
mode?: MODE_TYPE | undefined;
|
|
540
617
|
maxButtons?: number | undefined;
|
|
541
618
|
activePage?: number | undefined;
|
|
542
619
|
perPage?: number | undefined;
|
|
@@ -548,10 +625,10 @@ declare const _default: {
|
|
|
548
625
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
549
626
|
componentWillMount?(): void;
|
|
550
627
|
UNSAFE_componentWillMount?(): void;
|
|
551
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
552
|
-
mode?: MODE_TYPE | undefined;
|
|
628
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
553
629
|
size?: string | undefined;
|
|
554
630
|
layout?: string | string[] | undefined;
|
|
631
|
+
mode?: MODE_TYPE | undefined;
|
|
555
632
|
maxButtons?: number | undefined;
|
|
556
633
|
activePage?: number | undefined;
|
|
557
634
|
perPage?: number | undefined;
|
|
@@ -561,10 +638,10 @@ declare const _default: {
|
|
|
561
638
|
locale?: string | undefined;
|
|
562
639
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
563
640
|
}>, nextContext: any): void;
|
|
564
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
565
|
-
mode?: MODE_TYPE | undefined;
|
|
641
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
566
642
|
size?: string | undefined;
|
|
567
643
|
layout?: string | string[] | undefined;
|
|
644
|
+
mode?: MODE_TYPE | undefined;
|
|
568
645
|
maxButtons?: number | undefined;
|
|
569
646
|
activePage?: number | undefined;
|
|
570
647
|
perPage?: number | undefined;
|
|
@@ -574,10 +651,10 @@ declare const _default: {
|
|
|
574
651
|
locale?: string | undefined;
|
|
575
652
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
576
653
|
}>, nextContext: any): void;
|
|
577
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
578
|
-
mode?: MODE_TYPE | undefined;
|
|
654
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
579
655
|
size?: string | undefined;
|
|
580
656
|
layout?: string | string[] | undefined;
|
|
657
|
+
mode?: MODE_TYPE | undefined;
|
|
581
658
|
maxButtons?: number | undefined;
|
|
582
659
|
activePage?: number | undefined;
|
|
583
660
|
perPage?: number | undefined;
|
|
@@ -587,10 +664,10 @@ declare const _default: {
|
|
|
587
664
|
locale?: string | undefined;
|
|
588
665
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
589
666
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
590
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
591
|
-
mode?: MODE_TYPE | undefined;
|
|
667
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
592
668
|
size?: string | undefined;
|
|
593
669
|
layout?: string | string[] | undefined;
|
|
670
|
+
mode?: MODE_TYPE | undefined;
|
|
594
671
|
maxButtons?: number | undefined;
|
|
595
672
|
activePage?: number | undefined;
|
|
596
673
|
perPage?: number | undefined;
|
|
@@ -608,28 +685,36 @@ declare const _default: {
|
|
|
608
685
|
ComposedComponent: typeof Pagination;
|
|
609
686
|
}, {}> & {
|
|
610
687
|
ComposedComponent: {
|
|
611
|
-
new (props: Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
612
|
-
mode?: MODE_TYPE | undefined;
|
|
688
|
+
new (props: Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
613
689
|
size?: string | undefined;
|
|
614
690
|
layout?: string | string[] | undefined;
|
|
691
|
+
mode?: MODE_TYPE | undefined;
|
|
615
692
|
maxButtons?: number | undefined;
|
|
616
693
|
activePage?: number | undefined;
|
|
617
694
|
perPage?: number | undefined;
|
|
618
695
|
perPageAvailable?: number[] | undefined;
|
|
619
696
|
ellipsisPageGap?: number | undefined;
|
|
620
697
|
} & {} & {
|
|
621
|
-
locale?: string | undefined;
|
|
622
|
-
|
|
698
|
+
locale?: string | undefined; /**
|
|
699
|
+
* 最后一页,总页数(如果传入了total,会重新计算lastPage)
|
|
700
|
+
*/
|
|
701
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
702
|
+
* 每页显示条数
|
|
703
|
+
* @default 10
|
|
704
|
+
*/
|
|
623
705
|
}): {
|
|
624
706
|
ref: any;
|
|
625
|
-
childRef(ref: any): void;
|
|
707
|
+
childRef(ref: any): void; /**
|
|
708
|
+
* 是否展示分页切换,也同时受layout控制
|
|
709
|
+
* @default false
|
|
710
|
+
*/
|
|
626
711
|
getWrappedInstance(): any;
|
|
627
712
|
render(): React.JSX.Element;
|
|
628
713
|
context: unknown;
|
|
629
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
630
|
-
mode?: MODE_TYPE | undefined;
|
|
714
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
631
715
|
size?: string | undefined;
|
|
632
716
|
layout?: string | string[] | undefined;
|
|
717
|
+
mode?: MODE_TYPE | undefined;
|
|
633
718
|
maxButtons?: number | undefined;
|
|
634
719
|
activePage?: number | undefined;
|
|
635
720
|
perPage?: number | undefined;
|
|
@@ -639,11 +724,16 @@ declare const _default: {
|
|
|
639
724
|
locale?: string | undefined;
|
|
640
725
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
641
726
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
727
|
+
/**
|
|
728
|
+
* 组件尺寸
|
|
729
|
+
*
|
|
730
|
+
* @default 'md'
|
|
731
|
+
*/
|
|
642
732
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
643
|
-
readonly props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
644
|
-
mode?: MODE_TYPE | undefined;
|
|
733
|
+
readonly props: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
645
734
|
size?: string | undefined;
|
|
646
735
|
layout?: string | string[] | undefined;
|
|
736
|
+
mode?: MODE_TYPE | undefined;
|
|
647
737
|
maxButtons?: number | undefined;
|
|
648
738
|
activePage?: number | undefined;
|
|
649
739
|
perPage?: number | undefined;
|
|
@@ -658,10 +748,10 @@ declare const _default: {
|
|
|
658
748
|
[key: string]: React.ReactInstance;
|
|
659
749
|
};
|
|
660
750
|
componentDidMount?(): void;
|
|
661
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
662
|
-
mode?: MODE_TYPE | undefined;
|
|
751
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
663
752
|
size?: string | undefined;
|
|
664
753
|
layout?: string | string[] | undefined;
|
|
754
|
+
mode?: MODE_TYPE | undefined;
|
|
665
755
|
maxButtons?: number | undefined;
|
|
666
756
|
activePage?: number | undefined;
|
|
667
757
|
perPage?: number | undefined;
|
|
@@ -673,10 +763,10 @@ declare const _default: {
|
|
|
673
763
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
674
764
|
componentWillUnmount?(): void;
|
|
675
765
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
676
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
677
|
-
mode?: MODE_TYPE | undefined;
|
|
766
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
678
767
|
size?: string | undefined;
|
|
679
768
|
layout?: string | string[] | undefined;
|
|
769
|
+
mode?: MODE_TYPE | undefined;
|
|
680
770
|
maxButtons?: number | undefined;
|
|
681
771
|
activePage?: number | undefined;
|
|
682
772
|
perPage?: number | undefined;
|
|
@@ -686,10 +776,10 @@ declare const _default: {
|
|
|
686
776
|
locale?: string | undefined;
|
|
687
777
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
688
778
|
}>, prevState: Readonly<{}>): any;
|
|
689
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
690
|
-
mode?: MODE_TYPE | undefined;
|
|
779
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
691
780
|
size?: string | undefined;
|
|
692
781
|
layout?: string | string[] | undefined;
|
|
782
|
+
mode?: MODE_TYPE | undefined;
|
|
693
783
|
maxButtons?: number | undefined;
|
|
694
784
|
activePage?: number | undefined;
|
|
695
785
|
perPage?: number | undefined;
|
|
@@ -701,10 +791,10 @@ declare const _default: {
|
|
|
701
791
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
702
792
|
componentWillMount?(): void;
|
|
703
793
|
UNSAFE_componentWillMount?(): void;
|
|
704
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
705
|
-
mode?: MODE_TYPE | undefined;
|
|
794
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
706
795
|
size?: string | undefined;
|
|
707
796
|
layout?: string | string[] | undefined;
|
|
797
|
+
mode?: MODE_TYPE | undefined;
|
|
708
798
|
maxButtons?: number | undefined;
|
|
709
799
|
activePage?: number | undefined;
|
|
710
800
|
perPage?: number | undefined;
|
|
@@ -714,10 +804,10 @@ declare const _default: {
|
|
|
714
804
|
locale?: string | undefined;
|
|
715
805
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
716
806
|
}>, nextContext: any): void;
|
|
717
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
718
|
-
mode?: MODE_TYPE | undefined;
|
|
807
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
719
808
|
size?: string | undefined;
|
|
720
809
|
layout?: string | string[] | undefined;
|
|
810
|
+
mode?: MODE_TYPE | undefined;
|
|
721
811
|
maxButtons?: number | undefined;
|
|
722
812
|
activePage?: number | undefined;
|
|
723
813
|
perPage?: number | undefined;
|
|
@@ -727,10 +817,10 @@ declare const _default: {
|
|
|
727
817
|
locale?: string | undefined;
|
|
728
818
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
729
819
|
}>, nextContext: any): void;
|
|
730
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
731
|
-
mode?: MODE_TYPE | undefined;
|
|
820
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
732
821
|
size?: string | undefined;
|
|
733
822
|
layout?: string | string[] | undefined;
|
|
823
|
+
mode?: MODE_TYPE | undefined;
|
|
734
824
|
maxButtons?: number | undefined;
|
|
735
825
|
activePage?: number | undefined;
|
|
736
826
|
perPage?: number | undefined;
|
|
@@ -740,10 +830,10 @@ declare const _default: {
|
|
|
740
830
|
locale?: string | undefined;
|
|
741
831
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
742
832
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
743
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "
|
|
744
|
-
mode?: MODE_TYPE | undefined;
|
|
833
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<PaginationProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "testIdBuilder" | "popOverContainer" | "popOverContainerSelector" | "total" | "lastPage" | "showPerPage" | "showPageInput" | "hasNext" | "onPageChange"> & {
|
|
745
834
|
size?: string | undefined;
|
|
746
835
|
layout?: string | string[] | undefined;
|
|
836
|
+
mode?: MODE_TYPE | undefined;
|
|
747
837
|
maxButtons?: number | undefined;
|
|
748
838
|
activePage?: number | undefined;
|
|
749
839
|
perPage?: number | undefined;
|