amis-ui 2.9.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/_virtual/index.js +1 -1
- package/esm/_virtual/react-is.development.js +1 -1
- package/esm/_virtual/react-is.production.min.js +1 -1
- package/esm/components/404.d.ts +2 -2
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +144 -88
- package/esm/components/Alert.js +37 -14
- package/esm/components/Alert2.d.ts +2 -2
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +5 -5
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +47 -47
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +4 -4
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +45 -45
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +2 -2
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +5 -5
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +2 -2
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +2 -2
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +6 -6
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +3 -3
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +10 -10
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +12 -12
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +5 -5
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.d.ts +48 -48
- package/esm/components/ChainedSelection.js +2 -1
- package/esm/components/Checkbox.d.ts +2 -2
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.d.ts +4 -4
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.d.ts +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +12 -12
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +2 -2
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +85 -85
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +6 -9
- package/esm/components/Combo.js +8 -2
- package/esm/components/ConfirmBox.d.ts +45 -45
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +3 -3
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +94 -91
- package/esm/components/DatePicker.js +39 -26
- package/esm/components/DateRangePicker.d.ts +305 -260
- package/esm/components/DateRangePicker.js +73 -43
- package/esm/components/DndContainer.d.ts +4 -4
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +6 -5
- package/esm/components/Drawer.js +26 -10
- package/esm/components/Editor.d.ts +5 -5
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +9 -15
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.d.ts +89 -0
- package/esm/components/GaodeMapPicker.js +204 -0
- package/esm/components/GridNav.d.ts +4 -4
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +46 -46
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +13 -12
- package/esm/components/Html.js +3 -3
- package/esm/components/ImageGallery.d.ts +57 -47
- package/esm/components/ImageGallery.js +8 -5
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +12 -12
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +5 -5
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.d.ts +7 -7
- package/esm/components/InputTable.js +21 -14
- package/esm/components/Layout.d.ts +13 -12
- package/esm/components/Layout.js +8 -6
- package/esm/components/Link.d.ts +2 -2
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +13 -13
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +6 -6
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +45 -45
- package/esm/components/LocationPicker.js +14 -2
- package/esm/components/Markdown.d.ts +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +33 -32
- package/esm/components/Modal.js +25 -9
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +253 -249
- package/esm/components/MultilineText.d.ts +5 -5
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +35 -24
- package/esm/components/NumberInput.js +10 -5
- package/esm/components/Pagination.d.ts +7 -28
- package/esm/components/Pagination.js +4 -3
- package/esm/components/Picker.d.ts +4 -4
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +2 -7
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +6 -5
- package/esm/components/PickerContainer.js +3 -3
- package/esm/components/PopOverContainer.d.ts +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +45 -45
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +3 -3
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +24 -24
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +16 -2
- package/esm/components/Range.js +35 -4
- package/esm/components/Rating.d.ts +5 -5
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +46 -46
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +8 -8
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +47 -47
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +7 -7
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.d.ts +2 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +8 -8
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +416 -408
- package/esm/components/Select.js +7 -6
- package/esm/components/Selection.d.ts +47 -46
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +6 -6
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +3 -3
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +5 -4
- package/esm/components/Steps.js +8 -6
- package/esm/components/Switch.d.ts +2 -2
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +53 -53
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +50 -50
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +49 -48
- package/esm/components/TabsTransfer.js +14 -14
- package/esm/components/TabsTransferPicker.d.ts +5 -5
- package/esm/components/TabsTransferPicker.js +4 -4
- package/esm/components/Tag.d.ts +5 -5
- package/esm/components/Tag.js +20 -4
- package/esm/components/Textarea.d.ts +5 -5
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +2 -2
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +5 -5
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.d.ts +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +8 -6
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +3 -2
- package/esm/components/Tooltip.js +3 -3
- package/esm/components/TooltipWrapper.d.ts +10 -2
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.d.ts +192 -152
- package/esm/components/Transfer.js +20 -18
- package/esm/components/TransferDropDown.d.ts +85 -45
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +5 -5
- package/esm/components/TransferPicker.js +4 -4
- package/esm/components/TransferSearch.d.ts +5 -5
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +91 -89
- package/esm/components/Tree.js +20 -10
- package/esm/components/TreeSelection.d.ts +46 -46
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +49 -49
- package/esm/components/UserSelect.js +7 -96
- package/esm/components/UserTabSelect.d.ts +45 -45
- package/esm/components/UserTabSelect.js +4 -95
- package/esm/components/WithRemoteConfig.d.ts +5 -5
- package/esm/components/WithRemoteConfig.js +7 -3
- package/esm/components/WithStore.d.ts +2 -2
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -0
- package/esm/components/calendar/Calendar.js +3 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +7 -7
- package/esm/components/calendar/DaysView.js +3 -3
- package/esm/components/calendar/MonthsView.d.ts +4 -4
- package/esm/components/calendar/MonthsView.js +8 -8
- package/esm/components/calendar/QuartersView.d.ts +4 -4
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +5 -5
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +4 -4
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +5 -5
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +5 -5
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +5 -5
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +6 -6
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +5 -5
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +2 -2
- 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 +12 -9
- package/esm/components/condition-builder/Value.d.ts +5 -5
- package/esm/components/condition-builder/Value.js +3 -12
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +8 -8
- package/esm/components/condition-builder/index.js +2 -2
- package/esm/components/condition-builder/types.d.ts +1 -1
- package/esm/components/formula/Editor.d.ts +10 -5
- package/esm/components/formula/Editor.js +14 -3
- package/esm/components/formula/FuncList.d.ts +2 -2
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +47 -46
- package/esm/components/formula/Picker.js +3 -3
- package/esm/components/formula/VariableList.d.ts +2 -2
- package/esm/components/formula/VariableList.js +4 -4
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.d.ts +12 -11
- package/esm/components/icons.js +8 -3
- package/esm/components/index.d.ts +6 -3
- package/esm/components/json-schema/Array.d.ts +2 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +2 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +2 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +5 -5
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +3 -6
- package/esm/components/menu/MenuItem.js +5 -24
- package/esm/components/menu/SubMenu.d.ts +3 -6
- package/esm/components/menu/SubMenu.js +13 -28
- package/esm/components/menu/index.d.ts +42 -43
- package/esm/components/menu/index.js +9 -13
- package/esm/components/schema-editor/Array.d.ts +3 -2
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.d.ts +3 -2
- package/esm/components/schema-editor/Common.js +3 -3
- package/esm/components/schema-editor/Item.d.ts +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.d.ts +3 -2
- package/esm/components/schema-editor/Object.js +3 -3
- package/esm/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +55 -45
- package/esm/components/schema-editor/index.js +3 -3
- package/esm/components/table/Cell.d.ts +5 -5
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +5 -5
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +5 -5
- package/esm/components/table/HeadCellFilter.js +5 -2
- package/esm/components/table/HeadCellSelect.d.ts +5 -5
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +5 -5
- package/esm/components/table/HeadCellSort.js +5 -5
- package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +18 -18
- package/esm/components/table/index.js +100 -59
- package/esm/components/virtual-list/AutoSizer.d.ts +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.d.ts +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/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 +2 -2
- 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.d.ts +3 -0
- package/esm/index.js +6 -3
- package/esm/locale/de-DE.js +5 -3
- package/esm/locale/en-US.js +6 -3
- package/esm/locale/zh-CN.js +7 -4
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/esm/node_modules/rc-overflow/es/Item.js +1 -1
- package/esm/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/esm/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/esm/node_modules/rc-overflow/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +1 -1
- package/esm/node_modules/rc-util/es/warning.js +8 -2
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/_virtual/index.js +1 -1
- package/lib/_virtual/react-is.development.js +1 -1
- package/lib/_virtual/react-is.production.min.js +1 -1
- package/lib/components/404.d.ts +2 -2
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +104 -48
- package/lib/components/Alert.js +37 -14
- package/lib/components/Alert2.d.ts +22 -22
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +25 -25
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +47 -47
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +14 -14
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +125 -125
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +112 -112
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +5 -5
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +2 -2
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +2 -2
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +6 -6
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +33 -33
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +50 -50
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +102 -102
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +5 -5
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +128 -128
- package/lib/components/ChainedSelection.js +2 -1
- package/lib/components/Checkbox.d.ts +12 -12
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +4 -4
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.d.ts +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +122 -122
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +32 -32
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +85 -85
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +6 -9
- package/lib/components/Combo.js +8 -2
- package/lib/components/ConfirmBox.d.ts +85 -85
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +3 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +95 -92
- package/lib/components/DatePicker.js +38 -25
- package/lib/components/DateRangePicker.d.ts +265 -220
- package/lib/components/DateRangePicker.js +73 -43
- package/lib/components/DndContainer.d.ts +4 -4
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +36 -35
- package/lib/components/Drawer.js +26 -10
- package/lib/components/Editor.d.ts +125 -125
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +9 -15
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.d.ts +89 -0
- package/lib/components/GaodeMapPicker.js +214 -0
- package/lib/components/GridNav.d.ts +4 -4
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +126 -126
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +13 -12
- package/lib/components/Html.js +3 -3
- package/lib/components/ImageGallery.d.ts +57 -47
- package/lib/components/ImageGallery.js +8 -5
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +22 -22
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +5 -5
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.d.ts +7 -7
- package/lib/components/InputTable.js +21 -14
- package/lib/components/Layout.d.ts +13 -12
- package/lib/components/Layout.js +8 -6
- package/lib/components/Link.d.ts +2 -2
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +13 -13
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +86 -86
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +85 -85
- package/lib/components/LocationPicker.js +14 -2
- package/lib/components/Markdown.d.ts +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +113 -112
- package/lib/components/Modal.js +25 -9
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +213 -209
- package/lib/components/MultilineText.d.ts +45 -45
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +45 -34
- package/lib/components/NumberInput.js +10 -5
- package/lib/components/Pagination.d.ts +87 -108
- package/lib/components/Pagination.js +4 -3
- package/lib/components/Picker.d.ts +4 -4
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +2 -7
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +6 -5
- package/lib/components/PickerContainer.js +3 -3
- package/lib/components/PopOverContainer.d.ts +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +45 -45
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +63 -63
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +34 -34
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +16 -2
- package/lib/components/Range.js +35 -4
- package/lib/components/Rating.d.ts +35 -35
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +86 -86
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +48 -48
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +127 -127
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +47 -47
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.d.ts +2 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +88 -88
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1977 -1969
- package/lib/components/Select.js +7 -5
- package/lib/components/Selection.d.ts +127 -126
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +46 -46
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +73 -73
- package/lib/components/Spinner.js +3 -3
- package/lib/components/Steps.d.ts +5 -4
- package/lib/components/Steps.js +8 -6
- package/lib/components/Switch.d.ts +12 -12
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +133 -133
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +90 -90
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +49 -48
- package/lib/components/TabsTransfer.js +13 -13
- package/lib/components/TabsTransferPicker.d.ts +5 -5
- package/lib/components/TabsTransferPicker.js +4 -4
- package/lib/components/Tag.d.ts +75 -75
- package/lib/components/Tag.js +20 -4
- package/lib/components/Textarea.d.ts +45 -45
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +5 -5
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.d.ts +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +88 -86
- package/lib/components/Toast.js +5 -5
- package/lib/components/Tooltip.d.ts +3 -2
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/TooltipWrapper.d.ts +40 -32
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.d.ts +312 -272
- package/lib/components/Transfer.js +20 -18
- package/lib/components/TransferDropDown.d.ts +205 -165
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +5 -5
- package/lib/components/TransferPicker.js +4 -4
- package/lib/components/TransferSearch.d.ts +5 -5
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +211 -209
- package/lib/components/Tree.js +20 -10
- package/lib/components/TreeSelection.d.ts +126 -126
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +89 -89
- package/lib/components/UserSelect.js +7 -96
- package/lib/components/UserTabSelect.d.ts +45 -45
- package/lib/components/UserTabSelect.js +4 -95
- package/lib/components/WithRemoteConfig.d.ts +5 -6
- package/lib/components/WithRemoteConfig.js +6 -2
- package/lib/components/WithStore.d.ts +2 -2
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -0
- package/lib/components/calendar/Calendar.js +3 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +7 -7
- package/lib/components/calendar/DaysView.js +3 -3
- package/lib/components/calendar/MonthsView.d.ts +4 -4
- package/lib/components/calendar/MonthsView.js +7 -7
- package/lib/components/calendar/QuartersView.d.ts +4 -4
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +5 -5
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +4 -4
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +5 -5
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +5 -5
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +5 -5
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +6 -6
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +5 -5
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +2 -2
- 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 +11 -8
- package/lib/components/condition-builder/Value.d.ts +5 -5
- package/lib/components/condition-builder/Value.js +3 -12
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +8 -8
- package/lib/components/condition-builder/index.js +2 -2
- package/lib/components/condition-builder/types.d.ts +1 -1
- package/lib/components/formula/Editor.d.ts +50 -45
- package/lib/components/formula/Editor.js +13 -2
- package/lib/components/formula/FuncList.d.ts +2 -2
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +47 -46
- package/lib/components/formula/Picker.js +3 -3
- package/lib/components/formula/VariableList.d.ts +2 -2
- package/lib/components/formula/VariableList.js +3 -3
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.d.ts +12 -11
- package/lib/components/icons.js +8 -2
- package/lib/components/index.d.ts +6 -3
- package/lib/components/json-schema/Array.d.ts +2 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +2 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +2 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +5 -5
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +3 -6
- package/lib/components/menu/MenuItem.js +5 -24
- package/lib/components/menu/SubMenu.d.ts +3 -6
- package/lib/components/menu/SubMenu.js +13 -28
- package/lib/components/menu/index.d.ts +92 -93
- package/lib/components/menu/index.js +9 -13
- package/lib/components/schema-editor/Array.d.ts +3 -2
- package/lib/components/schema-editor/Array.js +3 -3
- package/lib/components/schema-editor/Common.d.ts +3 -2
- package/lib/components/schema-editor/Common.js +3 -3
- package/lib/components/schema-editor/Item.d.ts +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.d.ts +3 -2
- package/lib/components/schema-editor/Object.js +3 -3
- package/lib/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +55 -45
- package/lib/components/schema-editor/index.js +3 -3
- package/lib/components/table/Cell.d.ts +45 -45
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +5 -5
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +45 -45
- package/lib/components/table/HeadCellFilter.js +5 -2
- package/lib/components/table/HeadCellSelect.d.ts +45 -45
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +5 -5
- package/lib/components/table/HeadCellSort.js +5 -5
- package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +98 -98
- package/lib/components/table/index.js +100 -59
- package/lib/components/virtual-list/AutoSizer.d.ts +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.d.ts +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/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 +2 -2
- 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.d.ts +3 -0
- package/lib/index.js +11 -4
- package/lib/locale/de-DE.js +5 -3
- package/lib/locale/en-US.js +6 -3
- package/lib/locale/zh-CN.js +7 -4
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/lib/node_modules/rc-overflow/es/Item.js +1 -1
- package/lib/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/lib/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/lib/node_modules/rc-overflow/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +1 -1
- package/lib/node_modules/rc-util/es/warning.js +8 -2
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +2721 -1720
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +2721 -1720
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +2721 -1720
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +2721 -1720
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +2721 -1720
- package/package.json +5 -5
- package/scss/_components.scss +1305 -124
- package/scss/_mixins.scss +33 -1
- package/scss/_properties.scss +5 -374
- package/scss/base/_common.scss +4 -0
- package/scss/components/_alert.scss +30 -9
- package/scss/components/_app.scss +10 -0
- package/scss/components/_button-group.scss +0 -1
- package/scss/components/_button.scss +0 -38
- package/scss/components/_calendar.scss +14 -0
- package/scss/components/_column-toggler.scss +5 -2
- package/scss/components/_condition-builder.scss +38 -22
- package/scss/components/_crud.scss +21 -5
- package/scss/components/_crud2.scss +21 -5
- package/scss/components/_drawer.scss +20 -12
- package/scss/components/_image-gallery.scss +9 -6
- package/scss/components/_images.scss +13 -5
- package/scss/components/_menu.scss +251 -626
- package/scss/components/_modal.scss +23 -13
- package/scss/components/_nav.scss +6 -354
- package/scss/components/_progress.scss +11 -2
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_spinner.scss +7 -5
- package/scss/components/_status.scss +27 -11
- package/scss/components/_steps.scss +68 -20
- package/scss/components/_table.scss +7 -7
- package/scss/components/_table2.scss +84 -40
- package/scss/components/_tag.scss +42 -36
- package/scss/components/_timeline.scss +20 -9
- package/scss/components/_toast.scss +64 -12
- package/scss/components/_wizard.scss +28 -7
- package/scss/components/form/_checks.scss +17 -3
- package/scss/components/form/_color.scss +5 -0
- package/scss/components/form/_combo.scss +28 -18
- package/scss/components/form/_date-range.scss +5 -0
- package/scss/components/form/_date.scss +8 -1
- package/scss/components/form/_fieldset.scss +62 -28
- package/scss/components/form/_form.scss +32 -3
- package/scss/components/form/_icon-select.scss +21 -0
- package/scss/components/form/_image.scss +50 -7
- package/scss/components/form/_nested-select.scss +2 -0
- package/scss/components/form/_number.scss +14 -6
- package/scss/components/form/_picker.scss +105 -12
- package/scss/components/form/_range.scss +6 -0
- package/scss/components/form/_rich-text.scss +81 -35
- package/scss/components/form/_tag.scss +56 -6
- package/scss/components/form/_text.scss +8 -0
- package/scss/components/form/_transfer.scss +18 -26
- package/scss/components/form/_tree.scss +55 -23
- package/scss/layout/_layout.scss +42 -10
|
@@ -29,63 +29,63 @@ export declare class InputBox extends React.Component<InputBoxProps, InputBoxSta
|
|
|
29
29
|
handleChange(e: React.ChangeEvent<HTMLInputElement>): void;
|
|
30
30
|
handleFocus(e: any): void;
|
|
31
31
|
handleBlur(e: any): void;
|
|
32
|
-
render(): JSX.Element;
|
|
32
|
+
render(): React.JSX.Element;
|
|
33
33
|
}
|
|
34
34
|
declare const _default: {
|
|
35
|
-
new (props: Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "
|
|
36
|
-
placeholder?: string | undefined;
|
|
35
|
+
new (props: Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
37
36
|
clearable?: boolean | undefined;
|
|
37
|
+
placeholder?: string | undefined;
|
|
38
38
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps): {
|
|
39
39
|
ref: any;
|
|
40
40
|
childRef(ref: any): void;
|
|
41
41
|
getWrappedInstance(): any;
|
|
42
|
-
render(): JSX.Element;
|
|
42
|
+
render(): React.JSX.Element;
|
|
43
43
|
context: unknown;
|
|
44
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "
|
|
45
|
-
placeholder?: string | undefined;
|
|
44
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
46
45
|
clearable?: boolean | undefined;
|
|
46
|
+
placeholder?: string | undefined;
|
|
47
47
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
48
48
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
49
|
-
readonly props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "
|
|
50
|
-
placeholder?: string | undefined;
|
|
49
|
+
readonly props: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
51
50
|
clearable?: boolean | undefined;
|
|
51
|
+
placeholder?: string | undefined;
|
|
52
52
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>;
|
|
53
53
|
state: Readonly<{}>;
|
|
54
54
|
refs: {
|
|
55
55
|
[key: string]: React.ReactInstance;
|
|
56
56
|
};
|
|
57
57
|
componentDidMount?(): void;
|
|
58
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "
|
|
59
|
-
placeholder?: string | undefined;
|
|
58
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
60
59
|
clearable?: boolean | undefined;
|
|
60
|
+
placeholder?: string | undefined;
|
|
61
61
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
62
62
|
componentWillUnmount?(): void;
|
|
63
63
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
64
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "
|
|
65
|
-
placeholder?: string | undefined;
|
|
64
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
66
65
|
clearable?: boolean | undefined;
|
|
67
|
-
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
68
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "prefix" | "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" | "onError" | "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" | "onClick" | "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" | "value" | "disabled" | "readOnly" | "hasError" | "borderMode" | "onClear"> & {
|
|
69
66
|
placeholder?: string | undefined;
|
|
67
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
68
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
70
69
|
clearable?: boolean | undefined;
|
|
70
|
+
placeholder?: string | undefined;
|
|
71
71
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
72
72
|
componentWillMount?(): void;
|
|
73
73
|
UNSAFE_componentWillMount?(): void;
|
|
74
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "
|
|
75
|
-
placeholder?: string | undefined;
|
|
74
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
76
75
|
clearable?: boolean | undefined;
|
|
77
|
-
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
78
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "prefix" | "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" | "onError" | "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" | "onClick" | "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" | "value" | "disabled" | "readOnly" | "hasError" | "borderMode" | "onClear"> & {
|
|
79
76
|
placeholder?: string | undefined;
|
|
80
|
-
clearable?: boolean | undefined;
|
|
81
77
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
82
|
-
|
|
78
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
79
|
+
clearable?: boolean | undefined;
|
|
83
80
|
placeholder?: string | undefined;
|
|
81
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
82
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
84
83
|
clearable?: boolean | undefined;
|
|
85
|
-
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
86
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "children" | "prefix" | "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" | "onError" | "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" | "onClick" | "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" | "value" | "disabled" | "readOnly" | "hasError" | "borderMode" | "onClear"> & {
|
|
87
84
|
placeholder?: string | undefined;
|
|
85
|
+
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
86
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<InputBoxProps, keyof ThemeProps>, "value" | "children" | "disabled" | "onClick" | "onChange" | "onFocus" | "onBlur" | "borderMode" | "hasError" | "onKeyUp" | "onError" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "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" | "prefix" | "onClear"> & {
|
|
88
87
|
clearable?: boolean | undefined;
|
|
88
|
+
placeholder?: string | undefined;
|
|
89
89
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
90
90
|
};
|
|
91
91
|
displayName: string;
|
|
@@ -18,7 +18,7 @@ export declare class InputBoxWithSuggestion extends React.Component<InputBoxWith
|
|
|
18
18
|
onSearch(text: string): void;
|
|
19
19
|
filterOptions(options: any[]): any[];
|
|
20
20
|
onPopClose(e: React.MouseEvent, onClose: () => void): void;
|
|
21
|
-
render(): JSX.Element;
|
|
21
|
+
render(): React.JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
declare const _default: {
|
|
24
24
|
new (props: Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
ref: any;
|
|
29
29
|
childRef(ref: any): void;
|
|
30
30
|
getWrappedInstance(): any;
|
|
31
|
-
render(): JSX.Element;
|
|
31
|
+
render(): React.JSX.Element;
|
|
32
32
|
context: unknown;
|
|
33
33
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
34
34
|
locale?: string | undefined;
|
|
@@ -87,7 +87,7 @@ declare const _default: {
|
|
|
87
87
|
ref: any;
|
|
88
88
|
childRef(ref: any): void;
|
|
89
89
|
getWrappedInstance(): any;
|
|
90
|
-
render(): JSX.Element;
|
|
90
|
+
render(): React.JSX.Element;
|
|
91
91
|
context: unknown;
|
|
92
92
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
93
93
|
locale?: string | undefined;
|
|
@@ -150,7 +150,7 @@ declare const _default: {
|
|
|
150
150
|
ref: any;
|
|
151
151
|
childRef(ref: any): void;
|
|
152
152
|
getWrappedInstance(): any;
|
|
153
|
-
render(): JSX.Element;
|
|
153
|
+
render(): React.JSX.Element;
|
|
154
154
|
context: unknown;
|
|
155
155
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
156
156
|
locale?: string | undefined;
|
|
@@ -213,7 +213,7 @@ declare const _default: {
|
|
|
213
213
|
ref: any;
|
|
214
214
|
childRef(ref: any): void;
|
|
215
215
|
getWrappedInstance(): any;
|
|
216
|
-
render(): JSX.Element;
|
|
216
|
+
render(): React.JSX.Element;
|
|
217
217
|
context: unknown;
|
|
218
218
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputBoxWithSuggestionProps, keyof LocaleProps> & {
|
|
219
219
|
locale?: string | undefined;
|
|
@@ -25,7 +25,7 @@ export interface InputTabbleProps<T = any> extends ThemeProps, LocaleProps, Omit
|
|
|
25
25
|
minLength?: number;
|
|
26
26
|
removable?: boolean;
|
|
27
27
|
}
|
|
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): JSX.Element;
|
|
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;
|
|
29
29
|
export interface InputTableRowProps {
|
|
30
30
|
value: any;
|
|
31
31
|
control: Control<any>;
|
|
@@ -37,9 +37,9 @@ export interface InputTableRowProps {
|
|
|
37
37
|
index: number;
|
|
38
38
|
translate: TranslateFn;
|
|
39
39
|
classnames: ClassNamesFn;
|
|
40
|
-
formRef: (form: UseFormReturn | null,
|
|
40
|
+
formRef: (form: UseFormReturn | null, id: string) => void;
|
|
41
41
|
}
|
|
42
|
-
export declare function InputTableRow({ value, columns, index, translate, update, formRef, classnames }: InputTableRowProps): JSX.Element;
|
|
42
|
+
export declare function InputTableRow({ value, columns, index, translate, update, formRef, classnames }: InputTableRowProps): React.JSX.Element;
|
|
43
43
|
declare const _default: {
|
|
44
44
|
new (props: Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
45
45
|
locale?: string | undefined;
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
ref: any;
|
|
49
49
|
childRef(ref: any): void;
|
|
50
50
|
getWrappedInstance(): any;
|
|
51
|
-
render(): JSX.Element;
|
|
51
|
+
render(): React.JSX.Element;
|
|
52
52
|
context: unknown;
|
|
53
53
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
54
54
|
locale?: string | undefined;
|
|
@@ -107,7 +107,7 @@ declare const _default: {
|
|
|
107
107
|
ref: any;
|
|
108
108
|
childRef(ref: any): void;
|
|
109
109
|
getWrappedInstance(): any;
|
|
110
|
-
render(): JSX.Element;
|
|
110
|
+
render(): React.JSX.Element;
|
|
111
111
|
context: unknown;
|
|
112
112
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
113
113
|
locale?: string | undefined;
|
|
@@ -170,7 +170,7 @@ declare const _default: {
|
|
|
170
170
|
ref: any;
|
|
171
171
|
childRef(ref: any): void;
|
|
172
172
|
getWrappedInstance(): any;
|
|
173
|
-
render(): JSX.Element;
|
|
173
|
+
render(): React.JSX.Element;
|
|
174
174
|
context: unknown;
|
|
175
175
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
176
176
|
locale?: string | undefined;
|
|
@@ -233,7 +233,7 @@ declare const _default: {
|
|
|
233
233
|
ref: any;
|
|
234
234
|
childRef(ref: any): void;
|
|
235
235
|
getWrappedInstance(): any;
|
|
236
|
-
render(): JSX.Element;
|
|
236
|
+
render(): React.JSX.Element;
|
|
237
237
|
context: unknown;
|
|
238
238
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputTabbleProps<any>, keyof LocaleProps> & {
|
|
239
239
|
locale?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v3.1.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -25,12 +25,12 @@ function InputTable(_a) {
|
|
|
25
25
|
var _b, _c;
|
|
26
26
|
var control = _a.control, name = _a.name, wrap = _a.wrap, mode = _a.mode, label = _a.label, labelAlign = _a.labelAlign, labelClassName = _a.labelClassName, description = _a.description, fieldClassName = _a.fieldClassName, className = _a.className, __ = _a.translate, cx = _a.classnames, removable = _a.removable, columns = _a.columns, addable = _a.addable, addButtonText = _a.addButtonText, addButtonClassName = _a.addButtonClassName, scaffold = _a.scaffold, minLength = _a.minLength, maxLength = _a.maxLength, isRequired = _a.isRequired, rules = _a.rules;
|
|
27
27
|
var subForms = React__default["default"].useRef({});
|
|
28
|
-
var subFormRef = React__default["default"].useCallback(function (subform,
|
|
28
|
+
var subFormRef = React__default["default"].useCallback(function (subform, id) {
|
|
29
29
|
if (subform) {
|
|
30
|
-
subForms.current[
|
|
30
|
+
subForms.current[id] = subform;
|
|
31
31
|
}
|
|
32
32
|
else {
|
|
33
|
-
delete subForms.current[
|
|
33
|
+
delete subForms.current[id];
|
|
34
34
|
}
|
|
35
35
|
}, [subForms]);
|
|
36
36
|
var finalRules = tslib.__assign({}, rules);
|
|
@@ -105,15 +105,16 @@ function InputTable(_a) {
|
|
|
105
105
|
var errors = reactHookForm.useFormState({
|
|
106
106
|
control: control
|
|
107
107
|
}).errors;
|
|
108
|
-
var
|
|
108
|
+
var _e = reactHookForm.useFormContext(); _e.trigger; var setValue = _e.setValue;
|
|
109
109
|
// useFieldArray 的 update 会更新行 id,导致重新渲染
|
|
110
110
|
// 正在编辑中的元素失去焦点,所以自己写一个
|
|
111
111
|
var lightUpdate = React__default["default"].useCallback(function (index, value) {
|
|
112
|
-
|
|
113
|
-
arr[index] =
|
|
114
|
-
control._updateFieldArray(name, arr);
|
|
115
|
-
trigger(name);
|
|
116
|
-
control._subjects.watch.next({});
|
|
112
|
+
// const arr = control._getFieldArray(name);
|
|
113
|
+
// arr[index] = {...value};
|
|
114
|
+
// control._updateFieldArray(name, arr);
|
|
115
|
+
// trigger(name);
|
|
116
|
+
// control._subjects.watch.next({});
|
|
117
|
+
setValue("".concat(name, ".").concat(index), value);
|
|
117
118
|
}, [control]);
|
|
118
119
|
function renderBody() {
|
|
119
120
|
return (React__default["default"].createElement("div", { className: cx("Table", className) },
|
|
@@ -140,13 +141,19 @@ function InputTable(_a) {
|
|
|
140
141
|
}
|
|
141
142
|
function InputTableRow(_a) {
|
|
142
143
|
var value = _a.value, columns = _a.columns, index = _a.index, translate = _a.translate, update = _a.update, formRef = _a.formRef; _a.classnames;
|
|
143
|
-
var
|
|
144
|
+
var indexRef = React__default["default"].useRef(index);
|
|
144
145
|
React__default["default"].useEffect(function () {
|
|
145
|
-
|
|
146
|
+
indexRef.current = index;
|
|
147
|
+
}, [index]);
|
|
148
|
+
var methods = useSubForm["default"](value, translate, function (data) {
|
|
149
|
+
return update(indexRef.current, data);
|
|
150
|
+
});
|
|
151
|
+
React__default["default"].useEffect(function () {
|
|
152
|
+
formRef === null || formRef === void 0 ? void 0 : formRef(methods, value.id);
|
|
146
153
|
return function () {
|
|
147
|
-
formRef === null || formRef === void 0 ? void 0 : formRef(null,
|
|
154
|
+
formRef === null || formRef === void 0 ? void 0 : formRef(null, value.id);
|
|
148
155
|
};
|
|
149
|
-
}, [methods]);
|
|
156
|
+
}, [methods, value.id]);
|
|
150
157
|
return (React__default["default"].createElement(React__default["default"].Fragment, null, columns.map(function (item, index) { return (React__default["default"].createElement("td", { key: index, className: item.className }, item.tdRender(methods, index))); })));
|
|
151
158
|
}
|
|
152
159
|
var InputTable$1 = amisCore.themeable(amisCore.localeable(InputTable));
|
|
@@ -35,8 +35,9 @@ interface LayoutProps {
|
|
|
35
35
|
size?: 'sm' | 'base' | 'md' | 'lg';
|
|
36
36
|
children?: React.ReactNode;
|
|
37
37
|
bodyClassName?: string;
|
|
38
|
+
mainClassName?: string;
|
|
38
39
|
}
|
|
39
|
-
export declare function Layout({ header, headerClassName, aside, asideClassName, children, className, contentClassName, folded, asideFixed, headerFixed, footer, offScreen, size, boxed, classnames: cx, bodyClassName }: LayoutProps): JSX.Element;
|
|
40
|
+
export declare function Layout({ header, headerClassName, aside, asideClassName, children, className, contentClassName, folded, asideFixed, headerFixed, footer, offScreen, size, boxed, classnames: cx, bodyClassName, mainClassName }: LayoutProps): React.JSX.Element;
|
|
40
41
|
export declare namespace Layout {
|
|
41
42
|
var defaultProps: {
|
|
42
43
|
asideFixed: boolean;
|
|
@@ -47,7 +48,7 @@ export declare namespace Layout {
|
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
declare const _default: {
|
|
50
|
-
new (props: Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
51
|
+
new (props: Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
51
52
|
footer?: React.ReactNode;
|
|
52
53
|
asideClassName?: string | undefined;
|
|
53
54
|
asideFixed?: boolean | undefined;
|
|
@@ -57,9 +58,9 @@ declare const _default: {
|
|
|
57
58
|
ref: any;
|
|
58
59
|
childRef(ref: any): void;
|
|
59
60
|
getWrappedInstance(): any;
|
|
60
|
-
render(): JSX.Element;
|
|
61
|
+
render(): React.JSX.Element;
|
|
61
62
|
context: unknown;
|
|
62
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
63
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
63
64
|
footer?: React.ReactNode;
|
|
64
65
|
asideClassName?: string | undefined;
|
|
65
66
|
asideFixed?: boolean | undefined;
|
|
@@ -67,7 +68,7 @@ declare const _default: {
|
|
|
67
68
|
offScreen?: boolean | undefined;
|
|
68
69
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
69
70
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
70
|
-
readonly props: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
71
|
+
readonly props: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
71
72
|
footer?: React.ReactNode;
|
|
72
73
|
asideClassName?: string | undefined;
|
|
73
74
|
asideFixed?: boolean | undefined;
|
|
@@ -79,7 +80,7 @@ declare const _default: {
|
|
|
79
80
|
[key: string]: React.ReactInstance;
|
|
80
81
|
};
|
|
81
82
|
componentDidMount?(): void;
|
|
82
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
83
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
83
84
|
footer?: React.ReactNode;
|
|
84
85
|
asideClassName?: string | undefined;
|
|
85
86
|
asideFixed?: boolean | undefined;
|
|
@@ -88,14 +89,14 @@ declare const _default: {
|
|
|
88
89
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
89
90
|
componentWillUnmount?(): void;
|
|
90
91
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
91
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
92
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
92
93
|
footer?: React.ReactNode;
|
|
93
94
|
asideClassName?: string | undefined;
|
|
94
95
|
asideFixed?: boolean | undefined;
|
|
95
96
|
headerFixed?: boolean | undefined;
|
|
96
97
|
offScreen?: boolean | undefined;
|
|
97
98
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
98
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
99
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
99
100
|
footer?: React.ReactNode;
|
|
100
101
|
asideClassName?: string | undefined;
|
|
101
102
|
asideFixed?: boolean | undefined;
|
|
@@ -104,28 +105,28 @@ declare const _default: {
|
|
|
104
105
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
105
106
|
componentWillMount?(): void;
|
|
106
107
|
UNSAFE_componentWillMount?(): void;
|
|
107
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
108
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
108
109
|
footer?: React.ReactNode;
|
|
109
110
|
asideClassName?: string | undefined;
|
|
110
111
|
asideFixed?: boolean | undefined;
|
|
111
112
|
headerFixed?: boolean | undefined;
|
|
112
113
|
offScreen?: boolean | undefined;
|
|
113
114
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
114
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
115
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
115
116
|
footer?: React.ReactNode;
|
|
116
117
|
asideClassName?: string | undefined;
|
|
117
118
|
asideFixed?: boolean | undefined;
|
|
118
119
|
headerFixed?: boolean | undefined;
|
|
119
120
|
offScreen?: boolean | undefined;
|
|
120
121
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
121
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
122
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
122
123
|
footer?: React.ReactNode;
|
|
123
124
|
asideClassName?: string | undefined;
|
|
124
125
|
asideFixed?: boolean | undefined;
|
|
125
126
|
headerFixed?: boolean | undefined;
|
|
126
127
|
offScreen?: boolean | undefined;
|
|
127
128
|
} & {} & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
128
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "
|
|
129
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<LayoutProps, keyof import("amis-core").ThemeProps>, "aside" | "header" | "children" | "size" | "bodyClassName" | "contentClassName" | "headerClassName" | "boxed" | "folded" | "mainClassName"> & {
|
|
129
130
|
footer?: React.ReactNode;
|
|
130
131
|
asideClassName?: string | undefined;
|
|
131
132
|
asideFixed?: boolean | undefined;
|