amis-ui 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.d.ts +10 -10
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +10 -10
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +10 -10
- 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 +10 -10
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +10 -10
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +10 -10
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +10 -10
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +10 -10
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +10 -10
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +11 -18
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +11 -11
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +12 -11
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +10 -10
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +10 -10
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +10 -10
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +10 -10
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +10 -10
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.d.ts +10 -10
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +22 -10
- package/esm/components/Collapse.js +5 -3
- package/esm/components/CollapseGroup.d.ts +10 -10
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +10 -10
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +10 -12
- package/esm/components/Combo.js +8 -7
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +10 -10
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +10 -10
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +28 -14
- package/esm/components/DateRangePicker.js +36 -11
- package/esm/components/DndContainer.d.ts +40 -40
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +22 -20
- package/esm/components/Drawer.js +4 -4
- package/esm/components/DropDownSelection.d.ts +10 -10
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.d.ts +10 -10
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +1 -1
- package/esm/components/Form.js +28 -24
- package/esm/components/FormField.d.ts +19 -19
- package/esm/components/FormField.js +9 -6
- package/esm/components/GaodeMapPicker.d.ts +10 -10
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +10 -10
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +10 -10
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +10 -10
- package/esm/components/ImageGallery.js +3 -3
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +2 -2
- package/esm/components/InputBoxWithSuggestion.d.ts +10 -10
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.d.ts +36 -14
- package/esm/components/InputTable.js +33 -14
- package/esm/components/Layout.d.ts +10 -10
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +10 -10
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +20 -20
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +10 -10
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +10 -10
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +92 -90
- package/esm/components/Modal.js +13 -4
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +10 -10
- package/esm/components/MultilineText.d.ts +10 -10
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +10 -10
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.d.ts +12 -12
- package/esm/components/Pagination.js +5 -5
- package/esm/components/Picker.d.ts +10 -10
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +10 -10
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +10 -10
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +10 -10
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +10 -10
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +10 -10
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +10 -10
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +10 -14
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.d.ts +10 -10
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +10 -10
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +10 -10
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +10 -10
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +10 -10
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +10 -10
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +163 -163
- package/esm/components/Select.js +3 -2
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.d.ts +10 -10
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +10 -10
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +10 -10
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.d.ts +10 -10
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +10 -10
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +10 -10
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +60 -60
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +10 -10
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.d.ts +10 -10
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +20 -20
- package/esm/components/Tag.js +3 -3
- package/esm/components/Textarea.d.ts +10 -10
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +10 -10
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +10 -10
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +10 -10
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +10 -10
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.d.ts +10 -10
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +10 -10
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +29 -29
- package/esm/components/Transfer.js +7 -5
- package/esm/components/TransferDropDown.d.ts +10 -10
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +10 -10
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +10 -10
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +10 -10
- package/esm/components/Tree.js +1 -1
- package/esm/components/TreeSelection.d.ts +10 -10
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +10 -10
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +10 -10
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +4 -2
- package/esm/components/calendar/Calendar.js +2 -2
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +2 -1
- package/esm/components/calendar/DaysView.js +5 -4
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +10 -10
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +10 -10
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +10 -10
- package/esm/components/condition-builder/Func.d.ts +10 -10
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +10 -10
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +10 -10
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +10 -10
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +10 -10
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.d.ts +10 -10
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +10 -10
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.d.ts +10 -10
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.d.ts +10 -10
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.d.ts +10 -10
- package/esm/components/formula/Input.js +9 -1
- package/esm/components/formula/Picker.d.ts +13 -10
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.d.ts +10 -10
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +3 -3
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +10 -10
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +10 -10
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.d.ts +11 -10
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +15 -10
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.d.ts +40 -40
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +40 -40
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +10 -10
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +10 -10
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +10 -10
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +10 -10
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +10 -10
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +10 -10
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +10 -10
- package/esm/components/table/index.js +6 -8
- 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 +2 -2
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +4 -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/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +2 -1
- package/esm/locale/en-US.js +2 -1
- package/esm/locale/zh-CN.js +2 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.d.ts +10 -10
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +130 -130
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +30 -30
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +40 -40
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +50 -50
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +20 -20
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +90 -90
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +110 -110
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +10 -10
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +10 -10
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +11 -18
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +31 -31
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +52 -51
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +110 -110
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +10 -10
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +90 -90
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +90 -90
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +20 -20
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.d.ts +10 -10
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +132 -120
- package/lib/components/Collapse.js +5 -3
- package/lib/components/CollapseGroup.d.ts +30 -30
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +90 -90
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +10 -12
- package/lib/components/Combo.js +8 -7
- package/lib/components/ConfirmBox.d.ts +120 -120
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +10 -10
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +131 -131
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +308 -294
- package/lib/components/DateRangePicker.js +36 -11
- package/lib/components/DndContainer.d.ts +40 -40
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +42 -40
- package/lib/components/Drawer.js +4 -4
- package/lib/components/DropDownSelection.d.ts +90 -90
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +130 -130
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +1 -1
- package/lib/components/Form.js +28 -24
- package/lib/components/FormField.d.ts +19 -19
- package/lib/components/FormField.js +14 -7
- package/lib/components/GaodeMapPicker.d.ts +10 -10
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +90 -90
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +10 -10
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +50 -50
- package/lib/components/ImageGallery.js +3 -3
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +26 -26
- package/lib/components/InputBox.js +2 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +10 -10
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.d.ts +36 -14
- package/lib/components/InputTable.js +33 -14
- package/lib/components/Layout.d.ts +20 -20
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +10 -10
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +20 -20
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +90 -90
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +90 -90
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +132 -130
- package/lib/components/Modal.js +13 -4
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +210 -210
- package/lib/components/MultilineText.d.ts +50 -50
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +36 -36
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +92 -92
- package/lib/components/Pagination.js +5 -5
- package/lib/components/Picker.d.ts +10 -10
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +10 -10
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +10 -10
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +90 -90
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +60 -60
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +10 -10
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +40 -40
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +10 -14
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +50 -50
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +130 -130
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +50 -50
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +90 -90
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +50 -50
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +90 -90
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1895 -1895
- package/lib/components/Select.js +3 -2
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +90 -90
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +50 -50
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +76 -76
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.d.ts +10 -10
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +20 -20
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +90 -90
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +180 -180
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +50 -50
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.d.ts +10 -10
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +3 -3
- package/lib/components/Textarea.d.ts +50 -50
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +10 -10
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +10 -10
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +20 -20
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +90 -90
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.d.ts +10 -10
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +36 -36
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +158 -158
- package/lib/components/Transfer.js +7 -5
- package/lib/components/TransferDropDown.d.ts +130 -130
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +10 -10
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +10 -10
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +170 -170
- package/lib/components/Tree.js +1 -1
- package/lib/components/TreeSelection.d.ts +90 -90
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +90 -90
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +50 -50
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +4 -2
- package/lib/components/calendar/Calendar.js +2 -2
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +2 -1
- package/lib/components/calendar/DaysView.js +5 -4
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +10 -10
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +10 -10
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +10 -10
- package/lib/components/condition-builder/Func.d.ts +10 -10
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +10 -10
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +10 -10
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +10 -10
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +10 -10
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.d.ts +10 -10
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +10 -10
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +50 -50
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.d.ts +10 -10
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.d.ts +10 -10
- package/lib/components/formula/Input.js +9 -1
- package/lib/components/formula/Picker.d.ts +53 -50
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.d.ts +10 -10
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +3 -3
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +10 -10
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +10 -10
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.d.ts +11 -10
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +95 -90
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.d.ts +40 -40
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +40 -40
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +50 -50
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +90 -90
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +10 -10
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +50 -50
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +50 -50
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +10 -10
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +130 -130
- package/lib/components/table/index.js +6 -8
- 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 +2 -2
- package/lib/helper.css +1234 -9603
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +4 -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/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +2 -1
- package/lib/locale/en-US.js +2 -1
- package/lib/locale/zh-CN.js +2 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +522 -734
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +522 -734
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +522 -734
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +522 -734
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +522 -734
- package/package.json +5 -5
- package/scss/_components.scss +6 -2
- package/scss/components/_carousel.scss +0 -1
- package/scss/components/_chart.scss +4 -0
- package/scss/components/_collapse.scss +6 -3
- package/scss/components/_divider.scss +25 -4
- package/scss/components/_image-gallery.scss +13 -5
- package/scss/components/_images.scss +9 -0
- package/scss/components/_table.scss +33 -49
- package/scss/components/_tpl.scss +8 -0
- package/scss/components/form/_checks.scss +8 -0
- package/scss/components/form/_editor.scss +48 -48
- package/scss/components/form/_form.scss +36 -0
- package/scss/components/form/_image.scss +0 -27
- package/scss/components/form/_input-table.scss +17 -0
- package/scss/components/form/_select.scss +24 -0
- package/scss/themes/_common.scss +3 -1
package/esm/components/Html.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare class Html extends React.Component<HtmlProps> {
|
|
|
29
29
|
declare const _default: {
|
|
30
30
|
new (props: Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
31
31
|
inline?: boolean | undefined;
|
|
32
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
32
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
33
33
|
ref: any;
|
|
34
34
|
childRef(ref: any): void;
|
|
35
35
|
getWrappedInstance(): any;
|
|
@@ -37,11 +37,11 @@ declare const _default: {
|
|
|
37
37
|
context: unknown;
|
|
38
38
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
39
39
|
inline?: boolean | undefined;
|
|
40
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
40
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
41
41
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
42
42
|
readonly props: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
43
43
|
inline?: boolean | undefined;
|
|
44
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
44
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
45
45
|
state: Readonly<{}>;
|
|
46
46
|
refs: {
|
|
47
47
|
[key: string]: React.ReactInstance;
|
|
@@ -49,29 +49,29 @@ declare const _default: {
|
|
|
49
49
|
componentDidMount?(): void;
|
|
50
50
|
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
51
51
|
inline?: boolean | undefined;
|
|
52
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
52
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
53
53
|
componentWillUnmount?(): void;
|
|
54
54
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
55
55
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
56
56
|
inline?: boolean | undefined;
|
|
57
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
57
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
58
58
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
59
59
|
inline?: boolean | undefined;
|
|
60
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
60
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
61
61
|
componentWillMount?(): void;
|
|
62
62
|
UNSAFE_componentWillMount?(): void;
|
|
63
63
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
64
64
|
inline?: boolean | undefined;
|
|
65
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
65
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
66
66
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
67
67
|
inline?: boolean | undefined;
|
|
68
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
68
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
69
69
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
70
70
|
inline?: boolean | undefined;
|
|
71
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
71
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
72
72
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<HtmlProps, keyof import("amis-core").ThemeProps>, "html" | "wrapperComponent" | "filterHtml"> & {
|
|
73
73
|
inline?: boolean | undefined;
|
|
74
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
74
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
75
75
|
};
|
|
76
76
|
displayName: string;
|
|
77
77
|
contextType: React.Context<string>;
|
package/esm/components/Html.js
CHANGED
|
@@ -90,7 +90,7 @@ declare const _default: {
|
|
|
90
90
|
} & {} & {
|
|
91
91
|
locale?: string | undefined;
|
|
92
92
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
93
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
93
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
94
94
|
ref: any;
|
|
95
95
|
childRef(ref: any): void;
|
|
96
96
|
getWrappedInstance(): any;
|
|
@@ -101,14 +101,14 @@ declare const _default: {
|
|
|
101
101
|
} & {} & {
|
|
102
102
|
locale?: string | undefined;
|
|
103
103
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
104
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
104
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
105
105
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
106
106
|
readonly props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "children" | "modalContainer" | "imageGallaryClassName"> & {
|
|
107
107
|
actions?: ImageAction[] | undefined;
|
|
108
108
|
} & {} & {
|
|
109
109
|
locale?: string | undefined;
|
|
110
110
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
111
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
111
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
112
112
|
state: Readonly<{}>;
|
|
113
113
|
refs: {
|
|
114
114
|
[key: string]: React.ReactInstance;
|
|
@@ -119,7 +119,7 @@ declare const _default: {
|
|
|
119
119
|
} & {} & {
|
|
120
120
|
locale?: string | undefined;
|
|
121
121
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
122
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
122
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
123
123
|
componentWillUnmount?(): void;
|
|
124
124
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
125
125
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "children" | "modalContainer" | "imageGallaryClassName"> & {
|
|
@@ -127,13 +127,13 @@ declare const _default: {
|
|
|
127
127
|
} & {} & {
|
|
128
128
|
locale?: string | undefined;
|
|
129
129
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
130
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
130
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
131
131
|
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "children" | "modalContainer" | "imageGallaryClassName"> & {
|
|
132
132
|
actions?: ImageAction[] | undefined;
|
|
133
133
|
} & {} & {
|
|
134
134
|
locale?: string | undefined;
|
|
135
135
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
136
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
136
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
137
137
|
componentWillMount?(): void;
|
|
138
138
|
UNSAFE_componentWillMount?(): void;
|
|
139
139
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "children" | "modalContainer" | "imageGallaryClassName"> & {
|
|
@@ -141,25 +141,25 @@ declare const _default: {
|
|
|
141
141
|
} & {} & {
|
|
142
142
|
locale?: string | undefined;
|
|
143
143
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
144
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
144
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
145
145
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "children" | "modalContainer" | "imageGallaryClassName"> & {
|
|
146
146
|
actions?: ImageAction[] | undefined;
|
|
147
147
|
} & {} & {
|
|
148
148
|
locale?: string | undefined;
|
|
149
149
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
150
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
150
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
151
151
|
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "children" | "modalContainer" | "imageGallaryClassName"> & {
|
|
152
152
|
actions?: ImageAction[] | undefined;
|
|
153
153
|
} & {} & {
|
|
154
154
|
locale?: string | undefined;
|
|
155
155
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
156
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
156
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
157
157
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classnames" | "classPrefix" | "style" | "className" | "theme" | "mobileUI" | "children" | "modalContainer" | "imageGallaryClassName"> & {
|
|
158
158
|
actions?: ImageAction[] | undefined;
|
|
159
159
|
} & {} & {
|
|
160
160
|
locale?: string | undefined;
|
|
161
161
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
162
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
162
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
163
163
|
};
|
|
164
164
|
displayName: string;
|
|
165
165
|
contextType: React.Context<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.4.
|
|
2
|
+
* amis-ui v3.4.1
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -171,9 +171,9 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
171
171
|
: null,
|
|
172
172
|
items.length > 1 && enlargeWithGallary !== false ? (React__default.createElement(React__default.Fragment, null,
|
|
173
173
|
React__default.createElement("a", { className: cx('ImageGallery-prevBtn', index <= 0 ? 'is-disabled' : ''), onClick: this.prev },
|
|
174
|
-
React__default.createElement(Icon, { icon: "prev", className: "icon" })),
|
|
174
|
+
React__default.createElement(Icon, { icon: "prev", className: "icon", iconContent: "ImageGallery-prevBtn" })),
|
|
175
175
|
React__default.createElement("a", { className: cx('ImageGallery-nextBtn', index >= items.length - 1 ? 'is-disabled' : ''), onClick: this.next },
|
|
176
|
-
React__default.createElement(Icon, { icon: "next", className: "icon" })))) : null))) : null,
|
|
176
|
+
React__default.createElement(Icon, { icon: "next", className: "icon", iconContent: "ImageGallery-nextBtn" })))) : null))) : null,
|
|
177
177
|
items.length > 1 && enlargeWithGallary !== false ? (React__default.createElement("div", { className: cx('ImageGallery-footer') },
|
|
178
178
|
React__default.createElement("a", { className: cx('ImageGallery-prevList is-disabled') },
|
|
179
179
|
React__default.createElement(Icon, { icon: "prev", className: "icon" })),
|
package/esm/components/Input.js
CHANGED
|
@@ -35,7 +35,7 @@ declare const _default: {
|
|
|
35
35
|
new (props: Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
36
36
|
placeholder?: string | undefined;
|
|
37
37
|
clearable?: boolean | undefined;
|
|
38
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
38
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
39
39
|
ref: any;
|
|
40
40
|
childRef(ref: any): void;
|
|
41
41
|
getWrappedInstance(): any;
|
|
@@ -44,12 +44,12 @@ declare const _default: {
|
|
|
44
44
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
45
45
|
placeholder?: string | undefined;
|
|
46
46
|
clearable?: boolean | undefined;
|
|
47
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
47
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
48
48
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
49
49
|
readonly props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
50
50
|
placeholder?: string | undefined;
|
|
51
51
|
clearable?: boolean | undefined;
|
|
52
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
52
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
53
53
|
state: Readonly<{}>;
|
|
54
54
|
refs: {
|
|
55
55
|
[key: string]: React.ReactInstance;
|
|
@@ -58,35 +58,35 @@ declare const _default: {
|
|
|
58
58
|
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
59
59
|
placeholder?: string | undefined;
|
|
60
60
|
clearable?: boolean | undefined;
|
|
61
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
61
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
62
62
|
componentWillUnmount?(): void;
|
|
63
63
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
64
64
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
65
65
|
placeholder?: string | undefined;
|
|
66
66
|
clearable?: boolean | undefined;
|
|
67
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
67
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
68
68
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
69
69
|
placeholder?: string | undefined;
|
|
70
70
|
clearable?: boolean | undefined;
|
|
71
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
71
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
72
72
|
componentWillMount?(): void;
|
|
73
73
|
UNSAFE_componentWillMount?(): void;
|
|
74
74
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
75
75
|
placeholder?: string | undefined;
|
|
76
76
|
clearable?: boolean | undefined;
|
|
77
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
77
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
78
78
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
79
79
|
placeholder?: string | undefined;
|
|
80
80
|
clearable?: boolean | undefined;
|
|
81
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
81
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
82
82
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
83
83
|
placeholder?: string | undefined;
|
|
84
84
|
clearable?: boolean | undefined;
|
|
85
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
85
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
86
86
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "onClick" | "onError" | "disabled" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "readOnly" | "borderMode" | "prefix" | "hasError" | "onClear"> & {
|
|
87
87
|
placeholder?: string | undefined;
|
|
88
88
|
clearable?: boolean | undefined;
|
|
89
|
-
} & {} & import("packages/amis-core/lib/theme").
|
|
89
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
90
90
|
};
|
|
91
91
|
displayName: string;
|
|
92
92
|
contextType: React.Context<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.4.
|
|
2
|
+
* amis-ui v3.4.1
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -61,7 +61,7 @@ var InputBox = /** @class */ (function (_super) {
|
|
|
61
61
|
React__default.createElement(Input, __assign({}, rest, { value: value || '', onChange: this.handleChange, placeholder: placeholder, onFocus: this.handleFocus, onBlur: this.handleBlur, size: 12, disabled: disabled })),
|
|
62
62
|
children,
|
|
63
63
|
clearable && !disabled && value ? (React__default.createElement("a", { onClick: this.clearValue, className: cx('InputBox-clear') },
|
|
64
|
-
React__default.createElement(Icon, { icon: "
|
|
64
|
+
React__default.createElement(Icon, { icon: "input-clear", className: "icon" }))) : null));
|
|
65
65
|
};
|
|
66
66
|
InputBox.defaultProps = {
|
|
67
67
|
clearable: true,
|
|
@@ -24,7 +24,7 @@ declare const _default: {
|
|
|
24
24
|
new (props: Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
25
25
|
locale?: string | undefined;
|
|
26
26
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
27
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
27
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
28
28
|
ref: any;
|
|
29
29
|
childRef(ref: any): void;
|
|
30
30
|
getWrappedInstance(): any;
|
|
@@ -33,12 +33,12 @@ declare const _default: {
|
|
|
33
33
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
34
34
|
locale?: string | undefined;
|
|
35
35
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
36
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
36
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
37
37
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
38
38
|
readonly props: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
39
39
|
locale?: string | undefined;
|
|
40
40
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
41
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
41
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
42
42
|
state: Readonly<{}>;
|
|
43
43
|
refs: {
|
|
44
44
|
[key: string]: React.ReactInstance;
|
|
@@ -47,35 +47,35 @@ declare const _default: {
|
|
|
47
47
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
48
48
|
locale?: string | undefined;
|
|
49
49
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
50
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
50
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
51
51
|
componentWillUnmount?(): void;
|
|
52
52
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
53
53
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
54
54
|
locale?: string | undefined;
|
|
55
55
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
56
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
56
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
57
57
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
58
58
|
locale?: string | undefined;
|
|
59
59
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
60
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
60
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
61
61
|
componentWillMount?(): void;
|
|
62
62
|
UNSAFE_componentWillMount?(): void;
|
|
63
63
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
64
64
|
locale?: string | undefined;
|
|
65
65
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
66
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
66
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
67
67
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
68
68
|
locale?: string | undefined;
|
|
69
69
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
70
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
70
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
71
71
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
72
72
|
locale?: string | undefined;
|
|
73
73
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
74
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
74
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
75
75
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
76
76
|
locale?: string | undefined;
|
|
77
77
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
78
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
78
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
79
79
|
};
|
|
80
80
|
displayName: string;
|
|
81
81
|
contextType: React.Context<string>;
|
|
@@ -3,11 +3,19 @@ import { ClassNamesFn, LocaleProps, ThemeProps, TranslateFn } from 'amis-core';
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Control, UseFieldArrayProps, UseFormReturn } from 'react-hook-form';
|
|
5
5
|
import { FormFieldProps } from './FormField';
|
|
6
|
+
import type { ButtonProps } from './Button';
|
|
7
|
+
export interface tdRenderFunc {
|
|
8
|
+
(methods: UseFormReturn, colIndex: number, rowIndex: number): JSX.Element | null;
|
|
9
|
+
}
|
|
6
10
|
export interface InputTableColumnProps {
|
|
7
11
|
title?: string;
|
|
8
12
|
className?: string;
|
|
9
13
|
thRender?: () => JSX.Element;
|
|
10
|
-
tdRender:
|
|
14
|
+
tdRender: tdRenderFunc;
|
|
15
|
+
}
|
|
16
|
+
interface InputTableScrollProps {
|
|
17
|
+
/** 垂直滚动区域的最大高度 */
|
|
18
|
+
y: number | string;
|
|
11
19
|
}
|
|
12
20
|
export interface InputTabbleProps<T = any> extends ThemeProps, LocaleProps, Omit<FormFieldProps, 'children' | 'errors' | 'hasError' | 'className'>, UseFieldArrayProps {
|
|
13
21
|
control: Control<any>;
|
|
@@ -21,16 +29,30 @@ export interface InputTabbleProps<T = any> extends ThemeProps, LocaleProps, Omit
|
|
|
21
29
|
addable?: boolean;
|
|
22
30
|
addButtonClassName?: string;
|
|
23
31
|
addButtonText?: string;
|
|
32
|
+
addButtonProps?: Partial<Omit<ButtonProps, 'onClick'>>;
|
|
24
33
|
maxLength?: number;
|
|
25
34
|
minLength?: number;
|
|
26
35
|
removable?: boolean;
|
|
36
|
+
/** 表格CSS类名 */
|
|
37
|
+
tableClassName?: string;
|
|
38
|
+
/** 表格头CSS类名 */
|
|
39
|
+
tableHeadClassName?: string;
|
|
40
|
+
/** 表格内容区CSS类名 */
|
|
41
|
+
tableBodyClassName?: string;
|
|
42
|
+
/** 空状态文字 */
|
|
43
|
+
placeholder?: React.ReactNode;
|
|
44
|
+
/** 滚动设置 */
|
|
45
|
+
scroll?: InputTableScrollProps;
|
|
46
|
+
/** 底部工具栏 */
|
|
47
|
+
footer?: () => React.ReactNode;
|
|
48
|
+
onItemAdd?: (values: Record<string, any>) => void;
|
|
27
49
|
}
|
|
28
|
-
export declare function InputTable({ control, name, wrap, mode, label, labelAlign, labelClassName, description, fieldClassName, className, translate: __, classnames: cx, removable, columns, addable, addButtonText, addButtonClassName, scaffold, minLength, maxLength, isRequired, rules }: InputTabbleProps): React.JSX.Element;
|
|
50
|
+
export declare function InputTable({ control, name, wrap, mode, label, labelAlign, labelClassName, description, fieldClassName, className, translate: __, classnames: cx, removable, columns, addable, addButtonText, addButtonClassName, addButtonProps, scaffold, minLength, maxLength, isRequired, rules, tableClassName, tableHeadClassName, tableBodyClassName, placeholder, scroll, footer, onItemAdd }: InputTabbleProps): React.JSX.Element;
|
|
29
51
|
export interface InputTableRowProps {
|
|
30
52
|
value: any;
|
|
31
53
|
control: Control<any>;
|
|
32
54
|
columns: Array<{
|
|
33
|
-
tdRender:
|
|
55
|
+
tdRender: tdRenderFunc;
|
|
34
56
|
className?: string;
|
|
35
57
|
}>;
|
|
36
58
|
update: (index: number, data: Record<string, any>) => void;
|
|
@@ -39,12 +61,12 @@ export interface InputTableRowProps {
|
|
|
39
61
|
classnames: ClassNamesFn;
|
|
40
62
|
formRef: (form: UseFormReturn | null, id: string) => void;
|
|
41
63
|
}
|
|
42
|
-
export declare
|
|
64
|
+
export declare const InputTableRow: React.NamedExoticComponent<InputTableRowProps>;
|
|
43
65
|
declare const _default: {
|
|
44
66
|
new (props: Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
45
67
|
locale?: string | undefined;
|
|
46
68
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
47
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
69
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
48
70
|
ref: any;
|
|
49
71
|
childRef(ref: any): void;
|
|
50
72
|
getWrappedInstance(): any;
|
|
@@ -53,12 +75,12 @@ declare const _default: {
|
|
|
53
75
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
54
76
|
locale?: string | undefined;
|
|
55
77
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
56
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
78
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
57
79
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
58
80
|
readonly props: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
59
81
|
locale?: string | undefined;
|
|
60
82
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
61
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
83
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
62
84
|
state: Readonly<{}>;
|
|
63
85
|
refs: {
|
|
64
86
|
[key: string]: React.ReactInstance;
|
|
@@ -67,35 +89,35 @@ declare const _default: {
|
|
|
67
89
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
68
90
|
locale?: string | undefined;
|
|
69
91
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
70
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
92
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
71
93
|
componentWillUnmount?(): void;
|
|
72
94
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
73
95
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
74
96
|
locale?: string | undefined;
|
|
75
97
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
76
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
98
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
77
99
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
78
100
|
locale?: string | undefined;
|
|
79
101
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
80
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
102
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
81
103
|
componentWillMount?(): void;
|
|
82
104
|
UNSAFE_componentWillMount?(): void;
|
|
83
105
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
84
106
|
locale?: string | undefined;
|
|
85
107
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
86
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
108
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
87
109
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
88
110
|
locale?: string | undefined;
|
|
89
111
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
90
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
112
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
91
113
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
92
114
|
locale?: string | undefined;
|
|
93
115
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
94
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
116
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
95
117
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
96
118
|
locale?: string | undefined;
|
|
97
119
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
98
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
120
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
99
121
|
};
|
|
100
122
|
displayName: string;
|
|
101
123
|
contextType: React.Context<string>;
|