amis-ui 6.14.0-beta.11 → 6.14.0-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/HTMLFilterContext.js +1 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +40 -40
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +20 -20
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AlphabetIndexer.js +1 -1
- package/esm/components/AnchorNav.d.ts +10 -10
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.d.ts +40 -40
- package/esm/components/ArrayInput.js +3 -4
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +120 -120
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoFoldedList.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.d.ts +90 -90
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +30 -30
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +40 -40
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +100 -100
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +120 -120
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +120 -120
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +10 -10
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +120 -120
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +40 -40
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +40 -40
- package/esm/components/ColorPicker.js +3 -4
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +3 -4
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +80 -80
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +280 -280
- package/esm/components/DateRangePicker.js +3 -4
- package/esm/components/DiffEditor.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +40 -40
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.d.ts +120 -120
- package/esm/components/DropDownSelection.js +3 -4
- package/esm/components/DropdownContextMenus.js +1 -1
- package/esm/components/Editor.d.ts +40 -40
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.d.ts +120 -120
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/HorizontalScroll.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.d.ts +40 -40
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +3 -4
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +40 -40
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +40 -40
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MixedInput.js +1 -1
- package/esm/components/MobileDevTool.js +1 -1
- package/esm/components/Modal.d.ts +120 -120
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +200 -200
- package/esm/components/MultilineText.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +30 -30
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.js +4 -5
- package/esm/components/Pagination.d.ts +80 -80
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +4 -5
- package/esm/components/PopUp.d.ts +120 -120
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +50 -50
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +20 -20
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +3 -4
- package/esm/components/Rating.d.ts +40 -40
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +80 -80
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +120 -120
- package/esm/components/ResultList.js +3 -4
- package/esm/components/ResultTableList.d.ts +120 -120
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +40 -40
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +120 -120
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +1683 -1683
- package/esm/components/Select.js +3 -4
- package/esm/components/SelectMobile.js +3 -4
- package/esm/components/Selection.d.ts +120 -120
- package/esm/components/Selection.js +1 -1
- package/esm/components/Shape.js +1 -1
- package/esm/components/Signature.js +1 -1
- package/esm/components/Slider.js +1 -1
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +50 -50
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +10 -10
- package/esm/components/Switch.js +1 -1
- package/esm/components/Tab.js +1 -1
- package/esm/components/Table.js +1 -1
- package/esm/components/TableSelection.d.ts +120 -120
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +80 -80
- package/esm/components/Tabs.js +5 -6
- package/esm/components/TabsTransfer.d.ts +40 -40
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +60 -60
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +40 -40
- package/esm/components/Textarea.js +3 -4
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +4 -2
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +120 -120
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +21 -21
- package/esm/components/TooltipWrapper.js +3 -4
- package/esm/components/Transfer.d.ts +280 -280
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.d.ts +280 -280
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +403 -400
- package/esm/components/Tree.js +22 -8
- package/esm/components/TreeSelection.d.ts +120 -120
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +40 -40
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +40 -40
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +11 -7
- package/esm/components/condition-builder/GroupOrItem.js +4 -2
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +3 -4
- package/esm/components/condition-builder/Value.js +3 -2
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +7 -3
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.d.ts +80 -80
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.d.ts +40 -40
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/PanelMenu.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +80 -80
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +40 -40
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +3 -4
- package/esm/components/table/HeadCellFilter.d.ts +80 -80
- package/esm/components/table/HeadCellFilter.js +3 -4
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- package/esm/components/table/HeadCellSelect.js +3 -4
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +1 -1
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.d.ts +160 -160
- package/esm/components/table/index.js +4 -5
- package/esm/components/table/util.d.ts +2 -2
- package/esm/components/table/util.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +3 -4
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/components/withBadge.js +1 -1
- package/esm/hooks/use-click-away.js +1 -1
- package/esm/hooks/use-on-screen.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/fullscreen.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/question2.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/rotate-screen.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/sub-plus.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo-normal.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +1 -1
- package/esm/locale/en-US.js +1 -1
- package/esm/locale/zh-CN.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/esm/utils/vectorComputed.js +1 -1
- package/esm/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/HTMLFilterContext.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +80 -80
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +10 -10
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AlphabetIndexer.js +1 -1
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +2 -3
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/AutoFoldedList.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +10 -10
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +40 -40
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +20 -20
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +80 -80
- package/lib/components/ColorPicker.js +3 -4
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.d.ts +40 -40
- package/lib/components/ConfirmBox.js +2 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +120 -120
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +320 -320
- package/lib/components/DateRangePicker.js +3 -4
- package/lib/components/DiffEditor.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +3 -4
- package/lib/components/DropdownContextMenus.js +1 -1
- package/lib/components/Editor.d.ts +80 -80
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/HorizontalScroll.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +2 -3
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +40 -40
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MixedInput.js +1 -1
- package/lib/components/MobileDevTool.js +1 -1
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +240 -240
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +10 -10
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.js +4 -5
- package/lib/components/Pagination.d.ts +40 -40
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +3 -4
- package/lib/components/PopUp.d.ts +40 -40
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +10 -10
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +20 -20
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +2 -3
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +80 -80
- package/lib/components/ResultList.js +3 -4
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +80 -80
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1512 -1512
- package/lib/components/Select.js +2 -3
- package/lib/components/SelectMobile.js +3 -4
- package/lib/components/Selection.d.ts +80 -80
- package/lib/components/Selection.js +1 -1
- package/lib/components/Shape.js +1 -1
- package/lib/components/Signature.js +1 -1
- package/lib/components/Slider.js +1 -1
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.js +1 -1
- package/lib/components/Tab.js +1 -1
- package/lib/components/Table.js +1 -1
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +40 -40
- package/lib/components/Tabs.js +4 -5
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +3 -4
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +4 -2
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +40 -40
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +1 -1
- package/lib/components/TooltipWrapper.js +2 -3
- package/lib/components/Transfer.d.ts +120 -120
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.d.ts +120 -120
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +363 -360
- package/lib/components/Tree.js +22 -8
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +80 -80
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/VerificationCode.js +1 -1
- package/lib/components/VirtualList.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +11 -7
- package/lib/components/condition-builder/GroupOrItem.js +4 -2
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +2 -3
- package/lib/components/condition-builder/Value.js +3 -2
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +7 -3
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +80 -80
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/PanelMenu.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +20 -20
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +2 -3
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +3 -4
- package/lib/components/table/HeadCellSelect.js +2 -3
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +1 -1
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.d.ts +80 -80
- package/lib/components/table/index.js +4 -5
- package/lib/components/table/util.d.ts +5 -5
- package/lib/components/table/util.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +2 -3
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/components/withBadge.js +1 -1
- package/lib/hooks/use-click-away.js +1 -1
- package/lib/hooks/use-on-screen.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/fullscreen.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/question2.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/rotate-screen.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +5 -1
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +5 -1
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +5 -1
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +5 -1
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +5 -1
- package/lib/utils/vectorComputed.js +1 -1
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +3 -3
- package/scss/components/form/_select.scss +1 -1
- package/scss/components/form/_tree.scss +4 -0
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.14.0-beta.
|
|
2
|
+
* amis-ui v6.14.0-beta.13
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __extends } from 'tslib';
|
|
7
7
|
import React__default from 'react';
|
|
8
|
-
import {
|
|
8
|
+
import { filterTree, findDomCompat, findTree, noop, themeable, localeable } from 'amis-core';
|
|
9
9
|
import { BaseSelection } from './Selection.js';
|
|
10
10
|
import { PopOverContainer } from './PopOverContainer.js';
|
|
11
11
|
import GroupedSelection from './GroupedSelection.js';
|
|
12
12
|
import TreeSelection from './TreeSelection.js';
|
|
13
13
|
import ResultBox from './ResultBox.js';
|
|
14
|
-
import { filterTree, findTree, noop, themeable, localeable } from 'amis-core';
|
|
15
14
|
import { matchSorter } from 'match-sorter';
|
|
16
15
|
import { Icon } from './icons.js';
|
|
17
16
|
import SearchBox from './SearchBox.js';
|
|
@@ -52,7 +51,7 @@ var DropDownSelection = /** @class */ (function (_super) {
|
|
|
52
51
|
DropDownSelection.prototype.render = function () {
|
|
53
52
|
var _this = this;
|
|
54
53
|
var _a = this.props, options = _a.options, onChange = _a.onChange, value = _a.value, cx = _a.classnames, disabled = _a.disabled, __ = _a.translate, searchable = _a.searchable, _b = _a.mode, mode = _b === void 0 ? 'list' : _b, _c = _a.valueField, valueField = _c === void 0 ? 'value' : _c, option2value = _a.option2value, loadingConfig = _a.loadingConfig, popOverContainer = _a.popOverContainer, testIdBuilder = _a.testIdBuilder, mobileUI = _a.mobileUI, ns = _a.classPrefix;
|
|
55
|
-
return (React__default.createElement(PopOverContainer, { mobileUI: mobileUI, overlayWidthField: "width", popOverContainer: popOverContainer || (function () { return
|
|
54
|
+
return (React__default.createElement(PopOverContainer, { mobileUI: mobileUI, overlayWidthField: "width", popOverContainer: popOverContainer || (function () { return findDomCompat(_this); }), popOverRender: function (_a) {
|
|
56
55
|
var onClose = _a.onClose;
|
|
57
56
|
return (React__default.createElement("div", null,
|
|
58
57
|
searchable ? (React__default.createElement(SearchBox, { className: cx("".concat(ns, "DropDownSelection-searchbox")), mini: false, onSearch: _this.onSearch, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('searchbox') })) : null,
|
|
@@ -69,7 +69,7 @@ export declare class Editor extends React.Component<EditorProps, EditorState> {
|
|
|
69
69
|
render(): React.JSX.Element;
|
|
70
70
|
}
|
|
71
71
|
declare const _default: {
|
|
72
|
-
new (props: Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
72
|
+
new (props: Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
73
73
|
width?: number | string | undefined;
|
|
74
74
|
height?: number | string | undefined;
|
|
75
75
|
options?: {
|
|
@@ -87,7 +87,7 @@ declare const _default: {
|
|
|
87
87
|
getWrappedInstance: () => any;
|
|
88
88
|
render(): React.JSX.Element;
|
|
89
89
|
context: unknown;
|
|
90
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
90
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
91
91
|
width?: number | string | undefined;
|
|
92
92
|
height?: number | string | undefined;
|
|
93
93
|
options?: {
|
|
@@ -101,7 +101,7 @@ declare const _default: {
|
|
|
101
101
|
translate?: (str: string, ...args: any[]) => string;
|
|
102
102
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
103
103
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
104
|
-
readonly props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
104
|
+
readonly props: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
105
105
|
width?: number | string | undefined;
|
|
106
106
|
height?: number | string | undefined;
|
|
107
107
|
options?: {
|
|
@@ -119,7 +119,7 @@ declare const _default: {
|
|
|
119
119
|
[key: string]: React.ReactInstance;
|
|
120
120
|
};
|
|
121
121
|
componentDidMount?(): void;
|
|
122
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
122
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
123
123
|
width?: number | string | undefined;
|
|
124
124
|
height?: number | string | undefined;
|
|
125
125
|
options?: {
|
|
@@ -134,7 +134,7 @@ declare const _default: {
|
|
|
134
134
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
135
135
|
componentWillUnmount?(): void;
|
|
136
136
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
137
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
137
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
138
138
|
width?: number | string | undefined;
|
|
139
139
|
height?: number | string | undefined;
|
|
140
140
|
options?: {
|
|
@@ -147,7 +147,7 @@ declare const _default: {
|
|
|
147
147
|
locale?: string;
|
|
148
148
|
translate?: (str: string, ...args: any[]) => string;
|
|
149
149
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
150
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
150
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
151
151
|
width?: number | string | undefined;
|
|
152
152
|
height?: number | string | undefined;
|
|
153
153
|
options?: {
|
|
@@ -162,7 +162,7 @@ declare const _default: {
|
|
|
162
162
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
163
163
|
componentWillMount?(): void;
|
|
164
164
|
UNSAFE_componentWillMount?(): void;
|
|
165
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
165
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
166
166
|
width?: number | string | undefined;
|
|
167
167
|
height?: number | string | undefined;
|
|
168
168
|
options?: {
|
|
@@ -175,7 +175,7 @@ declare const _default: {
|
|
|
175
175
|
locale?: string;
|
|
176
176
|
translate?: (str: string, ...args: any[]) => string;
|
|
177
177
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
178
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
178
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
179
179
|
width?: number | string | undefined;
|
|
180
180
|
height?: number | string | undefined;
|
|
181
181
|
options?: {
|
|
@@ -188,7 +188,7 @@ declare const _default: {
|
|
|
188
188
|
locale?: string;
|
|
189
189
|
translate?: (str: string, ...args: any[]) => string;
|
|
190
190
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
191
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
191
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
192
192
|
width?: number | string | undefined;
|
|
193
193
|
height?: number | string | undefined;
|
|
194
194
|
options?: {
|
|
@@ -201,7 +201,7 @@ declare const _default: {
|
|
|
201
201
|
locale?: string;
|
|
202
202
|
translate?: (str: string, ...args: any[]) => string;
|
|
203
203
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
204
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
204
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
205
205
|
width?: number | string | undefined;
|
|
206
206
|
height?: number | string | undefined;
|
|
207
207
|
options?: {
|
|
@@ -218,7 +218,7 @@ declare const _default: {
|
|
|
218
218
|
displayName: string;
|
|
219
219
|
contextType: React.Context<string>;
|
|
220
220
|
ComposedComponent: React.ComponentType<{
|
|
221
|
-
new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
221
|
+
new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
222
222
|
width?: number | string | undefined;
|
|
223
223
|
height?: number | string | undefined;
|
|
224
224
|
options?: {
|
|
@@ -236,7 +236,7 @@ declare const _default: {
|
|
|
236
236
|
getWrappedInstance(): any;
|
|
237
237
|
render(): React.JSX.Element;
|
|
238
238
|
context: unknown;
|
|
239
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
239
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
240
240
|
width?: number | string | undefined;
|
|
241
241
|
height?: number | string | undefined;
|
|
242
242
|
options?: {
|
|
@@ -250,7 +250,7 @@ declare const _default: {
|
|
|
250
250
|
translate?: (str: string, ...args: any[]) => string;
|
|
251
251
|
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
252
252
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
253
|
-
readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
253
|
+
readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
254
254
|
width?: number | string | undefined;
|
|
255
255
|
height?: number | string | undefined;
|
|
256
256
|
options?: {
|
|
@@ -268,7 +268,7 @@ declare const _default: {
|
|
|
268
268
|
[key: string]: React.ReactInstance;
|
|
269
269
|
};
|
|
270
270
|
componentDidMount?(): void;
|
|
271
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
271
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
272
272
|
width?: number | string | undefined;
|
|
273
273
|
height?: number | string | undefined;
|
|
274
274
|
options?: {
|
|
@@ -283,7 +283,7 @@ declare const _default: {
|
|
|
283
283
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
284
284
|
componentWillUnmount?(): void;
|
|
285
285
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
286
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
286
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
287
287
|
width?: number | string | undefined;
|
|
288
288
|
height?: number | string | undefined;
|
|
289
289
|
options?: {
|
|
@@ -296,7 +296,7 @@ declare const _default: {
|
|
|
296
296
|
locale?: string;
|
|
297
297
|
translate?: (str: string, ...args: any[]) => string;
|
|
298
298
|
}>, prevState: Readonly<{}>): any;
|
|
299
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
299
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
300
300
|
width?: number | string | undefined;
|
|
301
301
|
height?: number | string | undefined;
|
|
302
302
|
options?: {
|
|
@@ -311,7 +311,7 @@ declare const _default: {
|
|
|
311
311
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
312
312
|
componentWillMount?(): void;
|
|
313
313
|
UNSAFE_componentWillMount?(): void;
|
|
314
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
314
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
315
315
|
width?: number | string | undefined;
|
|
316
316
|
height?: number | string | undefined;
|
|
317
317
|
options?: {
|
|
@@ -324,7 +324,7 @@ declare const _default: {
|
|
|
324
324
|
locale?: string;
|
|
325
325
|
translate?: (str: string, ...args: any[]) => string;
|
|
326
326
|
}>, nextContext: any): void;
|
|
327
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
327
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
328
328
|
width?: number | string | undefined;
|
|
329
329
|
height?: number | string | undefined;
|
|
330
330
|
options?: {
|
|
@@ -337,7 +337,7 @@ declare const _default: {
|
|
|
337
337
|
locale?: string;
|
|
338
338
|
translate?: (str: string, ...args: any[]) => string;
|
|
339
339
|
}>, nextContext: any): void;
|
|
340
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
340
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
341
341
|
width?: number | string | undefined;
|
|
342
342
|
height?: number | string | undefined;
|
|
343
343
|
options?: {
|
|
@@ -350,7 +350,7 @@ declare const _default: {
|
|
|
350
350
|
locale?: string;
|
|
351
351
|
translate?: (str: string, ...args: any[]) => string;
|
|
352
352
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
353
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
353
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
354
354
|
width?: number | string | undefined;
|
|
355
355
|
height?: number | string | undefined;
|
|
356
356
|
options?: {
|
|
@@ -371,7 +371,7 @@ declare const _default: {
|
|
|
371
371
|
ComposedComponent: typeof Editor;
|
|
372
372
|
}>;
|
|
373
373
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
374
|
-
new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
374
|
+
new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
375
375
|
width?: number | string | undefined;
|
|
376
376
|
height?: number | string | undefined;
|
|
377
377
|
options?: {
|
|
@@ -389,7 +389,7 @@ declare const _default: {
|
|
|
389
389
|
getWrappedInstance(): any;
|
|
390
390
|
render(): React.JSX.Element;
|
|
391
391
|
context: unknown;
|
|
392
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
392
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
393
393
|
width?: number | string | undefined;
|
|
394
394
|
height?: number | string | undefined;
|
|
395
395
|
options?: {
|
|
@@ -403,7 +403,7 @@ declare const _default: {
|
|
|
403
403
|
translate?: (str: string, ...args: any[]) => string;
|
|
404
404
|
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
405
405
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
406
|
-
readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
406
|
+
readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
407
407
|
width?: number | string | undefined;
|
|
408
408
|
height?: number | string | undefined;
|
|
409
409
|
options?: {
|
|
@@ -421,7 +421,7 @@ declare const _default: {
|
|
|
421
421
|
[key: string]: React.ReactInstance;
|
|
422
422
|
};
|
|
423
423
|
componentDidMount?(): void;
|
|
424
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
424
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
425
425
|
width?: number | string | undefined;
|
|
426
426
|
height?: number | string | undefined;
|
|
427
427
|
options?: {
|
|
@@ -436,7 +436,7 @@ declare const _default: {
|
|
|
436
436
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
437
437
|
componentWillUnmount?(): void;
|
|
438
438
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
439
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
439
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
440
440
|
width?: number | string | undefined;
|
|
441
441
|
height?: number | string | undefined;
|
|
442
442
|
options?: {
|
|
@@ -449,7 +449,7 @@ declare const _default: {
|
|
|
449
449
|
locale?: string;
|
|
450
450
|
translate?: (str: string, ...args: any[]) => string;
|
|
451
451
|
}>, prevState: Readonly<{}>): any;
|
|
452
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
452
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
453
453
|
width?: number | string | undefined;
|
|
454
454
|
height?: number | string | undefined;
|
|
455
455
|
options?: {
|
|
@@ -464,7 +464,7 @@ declare const _default: {
|
|
|
464
464
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
465
465
|
componentWillMount?(): void;
|
|
466
466
|
UNSAFE_componentWillMount?(): void;
|
|
467
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
467
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
468
468
|
width?: number | string | undefined;
|
|
469
469
|
height?: number | string | undefined;
|
|
470
470
|
options?: {
|
|
@@ -477,7 +477,7 @@ declare const _default: {
|
|
|
477
477
|
locale?: string;
|
|
478
478
|
translate?: (str: string, ...args: any[]) => string;
|
|
479
479
|
}>, nextContext: any): void;
|
|
480
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
480
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
481
481
|
width?: number | string | undefined;
|
|
482
482
|
height?: number | string | undefined;
|
|
483
483
|
options?: {
|
|
@@ -490,7 +490,7 @@ declare const _default: {
|
|
|
490
490
|
locale?: string;
|
|
491
491
|
translate?: (str: string, ...args: any[]) => string;
|
|
492
492
|
}>, nextContext: any): void;
|
|
493
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
493
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
494
494
|
width?: number | string | undefined;
|
|
495
495
|
height?: number | string | undefined;
|
|
496
496
|
options?: {
|
|
@@ -503,7 +503,7 @@ declare const _default: {
|
|
|
503
503
|
locale?: string;
|
|
504
504
|
translate?: (str: string, ...args: any[]) => string;
|
|
505
505
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
506
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
506
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
507
507
|
width?: number | string | undefined;
|
|
508
508
|
height?: number | string | undefined;
|
|
509
509
|
options?: {
|
|
@@ -524,7 +524,7 @@ declare const _default: {
|
|
|
524
524
|
ComposedComponent: typeof Editor;
|
|
525
525
|
}, {}> & {
|
|
526
526
|
ComposedComponent: {
|
|
527
|
-
new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
527
|
+
new (props: Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
528
528
|
width?: number | string | undefined;
|
|
529
529
|
height?: number | string | undefined;
|
|
530
530
|
options?: {
|
|
@@ -542,7 +542,7 @@ declare const _default: {
|
|
|
542
542
|
getWrappedInstance(): any;
|
|
543
543
|
render(): React.JSX.Element;
|
|
544
544
|
context: unknown;
|
|
545
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
545
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
546
546
|
width?: number | string | undefined;
|
|
547
547
|
height?: number | string | undefined;
|
|
548
548
|
options?: {
|
|
@@ -556,7 +556,7 @@ declare const _default: {
|
|
|
556
556
|
translate?: (str: string, ...args: any[]) => string;
|
|
557
557
|
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
558
558
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
559
|
-
readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
559
|
+
readonly props: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
560
560
|
width?: number | string | undefined;
|
|
561
561
|
height?: number | string | undefined;
|
|
562
562
|
options?: {
|
|
@@ -574,7 +574,7 @@ declare const _default: {
|
|
|
574
574
|
[key: string]: React.ReactInstance;
|
|
575
575
|
};
|
|
576
576
|
componentDidMount?(): void;
|
|
577
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
577
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
578
578
|
width?: number | string | undefined;
|
|
579
579
|
height?: number | string | undefined;
|
|
580
580
|
options?: {
|
|
@@ -589,7 +589,7 @@ declare const _default: {
|
|
|
589
589
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
590
590
|
componentWillUnmount?(): void;
|
|
591
591
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
592
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
592
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
593
593
|
width?: number | string | undefined;
|
|
594
594
|
height?: number | string | undefined;
|
|
595
595
|
options?: {
|
|
@@ -602,7 +602,7 @@ declare const _default: {
|
|
|
602
602
|
locale?: string;
|
|
603
603
|
translate?: (str: string, ...args: any[]) => string;
|
|
604
604
|
}>, prevState: Readonly<{}>): any;
|
|
605
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
605
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
606
606
|
width?: number | string | undefined;
|
|
607
607
|
height?: number | string | undefined;
|
|
608
608
|
options?: {
|
|
@@ -617,7 +617,7 @@ declare const _default: {
|
|
|
617
617
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
618
618
|
componentWillMount?(): void;
|
|
619
619
|
UNSAFE_componentWillMount?(): void;
|
|
620
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
620
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
621
621
|
width?: number | string | undefined;
|
|
622
622
|
height?: number | string | undefined;
|
|
623
623
|
options?: {
|
|
@@ -630,7 +630,7 @@ declare const _default: {
|
|
|
630
630
|
locale?: string;
|
|
631
631
|
translate?: (str: string, ...args: any[]) => string;
|
|
632
632
|
}>, nextContext: any): void;
|
|
633
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
633
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
634
634
|
width?: number | string | undefined;
|
|
635
635
|
height?: number | string | undefined;
|
|
636
636
|
options?: {
|
|
@@ -643,7 +643,7 @@ declare const _default: {
|
|
|
643
643
|
locale?: string;
|
|
644
644
|
translate?: (str: string, ...args: any[]) => string;
|
|
645
645
|
}>, nextContext: any): void;
|
|
646
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
646
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
647
647
|
width?: number | string | undefined;
|
|
648
648
|
height?: number | string | undefined;
|
|
649
649
|
options?: {
|
|
@@ -656,7 +656,7 @@ declare const _default: {
|
|
|
656
656
|
locale?: string;
|
|
657
657
|
translate?: (str: string, ...args: any[]) => string;
|
|
658
658
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
659
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "
|
|
659
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<EditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "theme" | "mobileUI" | "style" | "disabled" | "onBlur" | "onFocus" | "defaultValue" | "value" | "onChange" | "placeholder" | "editorFactory" | "editorDidMount" | "context" | "isDiffEditor" | "editorWillMount" | "editorWillUnmount"> & {
|
|
660
660
|
width?: number | string | undefined;
|
|
661
661
|
height?: number | string | undefined;
|
|
662
662
|
options?: {
|
package/esm/components/Editor.js
CHANGED
package/esm/components/Form.js
CHANGED