amis-ui 6.9.0-rc.2 → 6.9.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +40 -40
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.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 +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +80 -80
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.d.ts +50 -50
- 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 +20 -20
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +40 -40
- package/esm/components/CalendarMobile.js +7 -9
- package/esm/components/Card.d.ts +61 -50
- package/esm/components/Card.js +14 -13
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +80 -80
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +80 -80
- 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 +40 -40
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +30 -30
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +80 -80
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +1 -1
- 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 +240 -240
- package/esm/components/DateRangePicker.js +1 -1
- package/esm/components/DiffEditor.d.ts +20 -0
- package/esm/components/DiffEditor.js +99 -0
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +31 -30
- package/esm/components/Drawer.js +5 -3
- package/esm/components/DropDownSelection.d.ts +80 -80
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.d.ts +59 -61
- package/esm/components/Editor.js +12 -14
- 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 +80 -80
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.d.ts +43 -43
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +20 -20
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- 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 +80 -80
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MobileDevTool.d.ts +10 -0
- package/esm/components/MobileDevTool.js +300 -0
- package/esm/components/Modal.d.ts +120 -120
- package/esm/components/Modal.js +5 -3
- 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 +26 -26
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.d.ts +0 -1
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.d.ts +84 -161
- 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 +1 -1
- package/esm/components/PopUp.d.ts +80 -80
- 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.d.ts +4 -0
- package/esm/components/PullRefresh.js +47 -26
- package/esm/components/Radios.d.ts +30 -30
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.d.ts +10 -10
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +120 -120
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +40 -40
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +80 -80
- 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 +40 -40
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +1887 -1886
- package/esm/components/Select.js +3 -3
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.d.ts +80 -80
- package/esm/components/Selection.js +1 -1
- package/esm/components/Signature.js +5 -1
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +60 -60
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +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 +80 -80
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +40 -40
- package/esm/components/Tabs.js +1 -1
- 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 +40 -40
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +40 -40
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +40 -40
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +10 -10
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +108 -93
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.d.ts +80 -80
- 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 +203 -201
- package/esm/components/Tree.js +1 -1
- package/esm/components/TreeSelection.d.ts +80 -80
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +80 -80
- 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.d.ts +1 -0
- 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 +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.d.ts +82 -52
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.d.ts +3 -0
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.d.ts +64 -59
- 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 +3 -1
- package/esm/components/index.d.ts +3 -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/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +24 -27
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +3 -2
- package/esm/components/schema-editor/Common.d.ts +3 -0
- package/esm/components/schema-editor/Common.js +3 -2
- package/esm/components/schema-editor/Item.js +3 -13
- package/esm/components/schema-editor/Object.js +3 -2
- 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 +51 -52
- package/esm/components/schema-editor/index.js +3 -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 +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +40 -40
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- package/esm/components/table/HeadCellSelect.js +1 -1
- 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 +80 -80
- package/esm/components/table/index.js +1 -1
- package/esm/components/table/util.d.ts +5 -5
- package/esm/components/table/util.js +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.js +1 -1
- package/esm/components/withBadge.js +1 -1
- package/esm/hooks/index.d.ts +1 -0
- package/esm/hooks/use-on-screen.d.ts +2 -0
- package/esm/hooks/use-on-screen.js +28 -0
- 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/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 +21 -0
- 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 +4 -1
- package/esm/locale/de-DE.js +6 -1
- package/esm/locale/en-US.js +6 -1
- package/esm/locale/zh-CN.js +6 -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/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.js +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.js +1 -1
- package/lib/components/CalendarMobile.js +7 -9
- package/lib/components/Card.d.ts +11 -0
- package/lib/components/Card.js +14 -13
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.js +1 -1
- 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.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DiffEditor.d.ts +20 -0
- package/lib/components/DiffEditor.js +110 -0
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +1 -0
- package/lib/components/Drawer.js +5 -3
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +59 -61
- package/lib/components/Editor.js +12 -14
- 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.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.d.ts +3 -3
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- 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.js +1 -1
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MobileDevTool.d.ts +10 -0
- package/lib/components/MobileDevTool.js +313 -0
- package/lib/components/Modal.js +5 -3
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.d.ts +0 -1
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.d.ts +44 -121
- 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 +1 -1
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +4 -0
- package/lib/components/PullRefresh.js +50 -25
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +188 -187
- package/lib/components/Select.js +3 -3
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.js +1 -1
- package/lib/components/Signature.js +3 -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.js +1 -1
- package/lib/components/Tabs.js +1 -1
- 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.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +19 -4
- package/lib/components/Transfer.js +1 -1
- 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 +3 -1
- package/lib/components/Tree.js +1 -1
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.js +1 -1
- 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.d.ts +1 -0
- 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 +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +42 -12
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.d.ts +3 -0
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +24 -19
- 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 +3 -1
- package/lib/components/index.d.ts +3 -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/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +4 -7
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +2 -1
- package/lib/components/schema-editor/Common.d.ts +3 -0
- package/lib/components/schema-editor/Common.js +3 -1
- package/lib/components/schema-editor/Item.js +2 -12
- package/lib/components/schema-editor/Object.js +2 -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 +11 -12
- package/lib/components/schema-editor/index.js +3 -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 +1 -1
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.js +1 -1
- 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.js +1 -1
- package/lib/components/table/util.js +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.js +1 -1
- package/lib/components/withBadge.js +1 -1
- package/lib/helper.css +14 -14
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/use-on-screen.d.ts +2 -0
- package/lib/hooks/use-on-screen.js +32 -0
- 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/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 +28 -0
- 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 +7 -1
- package/lib/locale/de-DE.js +6 -1
- package/lib/locale/en-US.js +6 -1
- package/lib/locale/zh-CN.js +6 -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 +373 -76
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +373 -76
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +373 -76
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +373 -76
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +373 -76
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +3 -3
- package/scss/_components.scss +14 -10
- package/scss/_mixins.scss +23 -14
- package/scss/_properties.scss +42 -13
- package/scss/_variables.scss +2 -1
- package/scss/components/_array-input.scss +4 -4
- package/scss/components/_card.scss +13 -0
- package/scss/components/_crud2.scss +119 -13
- package/scss/components/_input-box.scss +2 -1
- package/scss/components/_json-schema-editor.scss +3 -5
- package/scss/components/_mobile-dev-tool.scss +175 -0
- package/scss/components/_modal.scss +1 -0
- package/scss/components/_panel.scss +23 -9
- package/scss/components/_pull-refresh.scss +6 -1
- package/scss/components/_result-box.scss +2 -2
- package/scss/components/_table.scss +6 -1
- package/scss/components/_tag.scss +3 -4
- package/scss/components/_toast.scss +6 -6
- package/scss/components/form/_form.scss +4 -5
- package/scss/components/form/_image.scss +14 -14
- package/scss/components/form/_list.scss +8 -8
- package/scss/components/form/_picker.scss +1 -1
- package/scss/components/form/_select.scss +4 -3
- package/scss/components/form/_textarea.scss +4 -4
- package/scss/components/form/_tree-select.scss +1 -1
- package/scss/themes/_common.scss +2 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import { __extends, __assign, __decorate, __metadata } from 'tslib';
|
|
|
7
7
|
import React__default from 'react';
|
|
8
8
|
import { autobind } from 'amis-core';
|
|
9
9
|
import { Icon } from '../icons.js';
|
|
10
|
-
import { SchemaEditorItemCommon } from './Common.js';
|
|
10
|
+
import { SchemaEditorItemCommon, ITEMMAP } from './Common.js';
|
|
11
11
|
import { SchemaEditorItem } from './Item.js';
|
|
12
12
|
import { Controller } from '../FormField.js';
|
|
13
13
|
|
|
@@ -79,5 +79,6 @@ var SchemaEditorItemArray = /** @class */ (function (_super) {
|
|
|
79
79
|
], SchemaEditorItemArray.prototype, "handleItemsChange", null);
|
|
80
80
|
return SchemaEditorItemArray;
|
|
81
81
|
}(SchemaEditorItemCommon));
|
|
82
|
+
ITEMMAP.array = SchemaEditorItemArray;
|
|
82
83
|
|
|
83
84
|
export { SchemaEditorItemArray };
|
|
@@ -56,3 +56,6 @@ export declare class SchemaEditorItemCommon<P extends SchemaEditorItemCommonProp
|
|
|
56
56
|
renderForm(props?: Partial<SchemaEditorItemCommonProps>): React.JSX.Element;
|
|
57
57
|
render(): React.JSX.Element;
|
|
58
58
|
}
|
|
59
|
+
export declare const ITEMMAP: {
|
|
60
|
+
[propsName: string]: typeof SchemaEditorItemCommon;
|
|
61
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -156,5 +156,6 @@ var SchemaEditorItemCommon = /** @class */ (function (_super) {
|
|
|
156
156
|
], SchemaEditorItemCommon.prototype, "handleFormChange", null);
|
|
157
157
|
return SchemaEditorItemCommon;
|
|
158
158
|
}(React__default.Component));
|
|
159
|
+
var ITEMMAP = {};
|
|
159
160
|
|
|
160
|
-
export { SchemaEditorItemCommon, schemaEditorItemPlaceholder };
|
|
161
|
+
export { ITEMMAP, SchemaEditorItemCommon, schemaEditorItemPlaceholder };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __extends, __assign } from 'tslib';
|
|
7
7
|
import React__default from 'react';
|
|
8
|
-
import {
|
|
9
|
-
import { SchemaEditorItemCommon } from './Common.js';
|
|
10
|
-
import { SchemaEditorItemObject } from './Object.js';
|
|
8
|
+
import { ITEMMAP, SchemaEditorItemCommon } from './Common.js';
|
|
11
9
|
|
|
12
10
|
var SchemaEditorItem = /** @class */ (function (_super) {
|
|
13
11
|
__extends(SchemaEditorItem, _super);
|
|
@@ -17,15 +15,7 @@ var SchemaEditorItem = /** @class */ (function (_super) {
|
|
|
17
15
|
SchemaEditorItem.prototype.render = function () {
|
|
18
16
|
var value = this.props.value;
|
|
19
17
|
// 动态Component要用大写开头的才会被识别
|
|
20
|
-
var Renderer = SchemaEditorItemCommon;
|
|
21
|
-
switch (value === null || value === void 0 ? void 0 : value.type) {
|
|
22
|
-
case 'object':
|
|
23
|
-
Renderer = SchemaEditorItemObject;
|
|
24
|
-
break;
|
|
25
|
-
case 'array':
|
|
26
|
-
Renderer = SchemaEditorItemArray;
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
18
|
+
var Renderer = ((value === null || value === void 0 ? void 0 : value.type) && ITEMMAP[value === null || value === void 0 ? void 0 : value.type]) || SchemaEditorItemCommon;
|
|
29
19
|
return (React__default.createElement(Renderer, __assign({}, this.props, { key: (value === null || value === void 0 ? void 0 : value.type) || 'string' })));
|
|
30
20
|
};
|
|
31
21
|
return SchemaEditorItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ import { guid, autobind } from 'amis-core';
|
|
|
9
9
|
import Button from '../Button.js';
|
|
10
10
|
import { Icon } from '../icons.js';
|
|
11
11
|
import InputBox from '../InputBox.js';
|
|
12
|
-
import { SchemaEditorItemCommon } from './Common.js';
|
|
12
|
+
import { SchemaEditorItemCommon, ITEMMAP } from './Common.js';
|
|
13
13
|
import { SchemaEditorItem } from './Item.js';
|
|
14
14
|
import PickerContainer from '../PickerContainer.js';
|
|
15
15
|
import { Controller } from '../FormField.js';
|
|
@@ -289,5 +289,6 @@ var SchemaEditorItemObject = /** @class */ (function (_super) {
|
|
|
289
289
|
], SchemaEditorItemObject.prototype, "renderFormPrefix", null);
|
|
290
290
|
return SchemaEditorItemObject;
|
|
291
291
|
}(SchemaEditorItemCommon));
|
|
292
|
+
ITEMMAP.object = SchemaEditorItemObject;
|
|
292
293
|
|
|
293
294
|
export { SchemaEditorItemObject };
|
|
@@ -6,6 +6,8 @@ import React from 'react';
|
|
|
6
6
|
import { LocaleProps, ThemeProps, JSONSchema } from 'amis-core';
|
|
7
7
|
import type { JSONSchema7TypeName } from 'json-schema';
|
|
8
8
|
import type { SchemaEditorItemPlaceholder } from './Common';
|
|
9
|
+
import './Array';
|
|
10
|
+
import './Object';
|
|
9
11
|
export interface SchemaEditorProps extends LocaleProps, ThemeProps {
|
|
10
12
|
value?: JSONSchema;
|
|
11
13
|
onChange: (value: JSONSchema) => void;
|
|
@@ -58,7 +60,7 @@ export declare class SchemaEditor extends React.Component<SchemaEditorProps> {
|
|
|
58
60
|
render(): React.JSX.Element;
|
|
59
61
|
}
|
|
60
62
|
declare const _default: {
|
|
61
|
-
new (props: Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
63
|
+
new (props: Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
62
64
|
placeholder?: Partial<{
|
|
63
65
|
key: string;
|
|
64
66
|
title: string;
|
|
@@ -79,7 +81,7 @@ declare const _default: {
|
|
|
79
81
|
getWrappedInstance(): any;
|
|
80
82
|
render(): React.JSX.Element;
|
|
81
83
|
context: unknown;
|
|
82
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
84
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
83
85
|
placeholder?: Partial<{
|
|
84
86
|
key: string;
|
|
85
87
|
title: string;
|
|
@@ -96,7 +98,7 @@ declare const _default: {
|
|
|
96
98
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
97
99
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
98
100
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
99
|
-
readonly props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
101
|
+
readonly props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
100
102
|
placeholder?: Partial<{
|
|
101
103
|
key: string;
|
|
102
104
|
title: string;
|
|
@@ -117,7 +119,7 @@ declare const _default: {
|
|
|
117
119
|
[key: string]: React.ReactInstance;
|
|
118
120
|
};
|
|
119
121
|
componentDidMount?(): void;
|
|
120
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
122
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
121
123
|
placeholder?: Partial<{
|
|
122
124
|
key: string;
|
|
123
125
|
title: string;
|
|
@@ -135,7 +137,7 @@ declare const _default: {
|
|
|
135
137
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
136
138
|
componentWillUnmount?(): void;
|
|
137
139
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
138
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
140
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
139
141
|
placeholder?: Partial<{
|
|
140
142
|
key: string;
|
|
141
143
|
title: string;
|
|
@@ -151,7 +153,7 @@ declare const _default: {
|
|
|
151
153
|
locale?: string | undefined;
|
|
152
154
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
153
155
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
154
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
156
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
155
157
|
placeholder?: Partial<{
|
|
156
158
|
key: string;
|
|
157
159
|
title: string;
|
|
@@ -169,7 +171,7 @@ declare const _default: {
|
|
|
169
171
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
170
172
|
componentWillMount?(): void;
|
|
171
173
|
UNSAFE_componentWillMount?(): void;
|
|
172
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
174
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
173
175
|
placeholder?: Partial<{
|
|
174
176
|
key: string;
|
|
175
177
|
title: string;
|
|
@@ -185,7 +187,7 @@ declare const _default: {
|
|
|
185
187
|
locale?: string | undefined;
|
|
186
188
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
187
189
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
188
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
190
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
189
191
|
placeholder?: Partial<{
|
|
190
192
|
key: string;
|
|
191
193
|
title: string;
|
|
@@ -201,7 +203,7 @@ declare const _default: {
|
|
|
201
203
|
locale?: string | undefined;
|
|
202
204
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
203
205
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
204
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
206
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
205
207
|
placeholder?: Partial<{
|
|
206
208
|
key: string;
|
|
207
209
|
title: string;
|
|
@@ -217,7 +219,7 @@ declare const _default: {
|
|
|
217
219
|
locale?: string | undefined;
|
|
218
220
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
219
221
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
220
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
222
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
221
223
|
placeholder?: Partial<{
|
|
222
224
|
key: string;
|
|
223
225
|
title: string;
|
|
@@ -237,7 +239,7 @@ declare const _default: {
|
|
|
237
239
|
displayName: string;
|
|
238
240
|
contextType: React.Context<string>;
|
|
239
241
|
ComposedComponent: React.ComponentType<{
|
|
240
|
-
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
242
|
+
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
241
243
|
placeholder?: Partial<{
|
|
242
244
|
key: string;
|
|
243
245
|
title: string;
|
|
@@ -254,14 +256,13 @@ declare const _default: {
|
|
|
254
256
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
255
257
|
}): {
|
|
256
258
|
ref: any;
|
|
257
|
-
/**
|
|
258
|
-
* 顶层类型信息是否隐藏
|
|
259
|
-
*/
|
|
260
259
|
childRef(ref: any): void;
|
|
261
|
-
getWrappedInstance(): any;
|
|
260
|
+
getWrappedInstance(): any; /**
|
|
261
|
+
* 是否开启高级配置
|
|
262
|
+
*/
|
|
262
263
|
render(): React.JSX.Element;
|
|
263
264
|
context: unknown;
|
|
264
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
265
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
265
266
|
placeholder?: Partial<{
|
|
266
267
|
key: string;
|
|
267
268
|
title: string;
|
|
@@ -278,7 +279,7 @@ declare const _default: {
|
|
|
278
279
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
279
280
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
280
281
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
281
|
-
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
282
|
+
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
282
283
|
placeholder?: Partial<{
|
|
283
284
|
key: string;
|
|
284
285
|
title: string;
|
|
@@ -299,7 +300,7 @@ declare const _default: {
|
|
|
299
300
|
[key: string]: React.ReactInstance;
|
|
300
301
|
};
|
|
301
302
|
componentDidMount?(): void;
|
|
302
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
303
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
303
304
|
placeholder?: Partial<{
|
|
304
305
|
key: string;
|
|
305
306
|
title: string;
|
|
@@ -317,7 +318,7 @@ declare const _default: {
|
|
|
317
318
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
318
319
|
componentWillUnmount?(): void;
|
|
319
320
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
320
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
321
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
321
322
|
placeholder?: Partial<{
|
|
322
323
|
key: string;
|
|
323
324
|
title: string;
|
|
@@ -333,7 +334,7 @@ declare const _default: {
|
|
|
333
334
|
locale?: string | undefined;
|
|
334
335
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
335
336
|
}>, prevState: Readonly<{}>): any;
|
|
336
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
337
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
337
338
|
placeholder?: Partial<{
|
|
338
339
|
key: string;
|
|
339
340
|
title: string;
|
|
@@ -351,7 +352,7 @@ declare const _default: {
|
|
|
351
352
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
352
353
|
componentWillMount?(): void;
|
|
353
354
|
UNSAFE_componentWillMount?(): void;
|
|
354
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
355
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
355
356
|
placeholder?: Partial<{
|
|
356
357
|
key: string;
|
|
357
358
|
title: string;
|
|
@@ -367,7 +368,7 @@ declare const _default: {
|
|
|
367
368
|
locale?: string | undefined;
|
|
368
369
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
369
370
|
}>, nextContext: any): void;
|
|
370
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
371
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
371
372
|
placeholder?: Partial<{
|
|
372
373
|
key: string;
|
|
373
374
|
title: string;
|
|
@@ -383,7 +384,7 @@ declare const _default: {
|
|
|
383
384
|
locale?: string | undefined;
|
|
384
385
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
385
386
|
}>, nextContext: any): void;
|
|
386
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
387
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
387
388
|
placeholder?: Partial<{
|
|
388
389
|
key: string;
|
|
389
390
|
title: string;
|
|
@@ -399,7 +400,7 @@ declare const _default: {
|
|
|
399
400
|
locale?: string | undefined;
|
|
400
401
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
401
402
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
402
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
403
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
403
404
|
placeholder?: Partial<{
|
|
404
405
|
key: string;
|
|
405
406
|
title: string;
|
|
@@ -423,7 +424,7 @@ declare const _default: {
|
|
|
423
424
|
ComposedComponent: typeof SchemaEditor;
|
|
424
425
|
}>;
|
|
425
426
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
426
|
-
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
427
|
+
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
427
428
|
placeholder?: Partial<{
|
|
428
429
|
key: string;
|
|
429
430
|
title: string;
|
|
@@ -440,14 +441,13 @@ declare const _default: {
|
|
|
440
441
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
441
442
|
}): {
|
|
442
443
|
ref: any;
|
|
443
|
-
/**
|
|
444
|
-
* 顶层类型信息是否隐藏
|
|
445
|
-
*/
|
|
446
444
|
childRef(ref: any): void;
|
|
447
|
-
getWrappedInstance(): any;
|
|
445
|
+
getWrappedInstance(): any; /**
|
|
446
|
+
* 是否开启高级配置
|
|
447
|
+
*/
|
|
448
448
|
render(): React.JSX.Element;
|
|
449
449
|
context: unknown;
|
|
450
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
450
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
451
451
|
placeholder?: Partial<{
|
|
452
452
|
key: string;
|
|
453
453
|
title: string;
|
|
@@ -464,7 +464,7 @@ declare const _default: {
|
|
|
464
464
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
465
465
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
466
466
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
467
|
-
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
467
|
+
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
468
468
|
placeholder?: Partial<{
|
|
469
469
|
key: string;
|
|
470
470
|
title: string;
|
|
@@ -485,7 +485,7 @@ declare const _default: {
|
|
|
485
485
|
[key: string]: React.ReactInstance;
|
|
486
486
|
};
|
|
487
487
|
componentDidMount?(): void;
|
|
488
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
488
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
489
489
|
placeholder?: Partial<{
|
|
490
490
|
key: string;
|
|
491
491
|
title: string;
|
|
@@ -503,7 +503,7 @@ declare const _default: {
|
|
|
503
503
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
504
504
|
componentWillUnmount?(): void;
|
|
505
505
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
506
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
506
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
507
507
|
placeholder?: Partial<{
|
|
508
508
|
key: string;
|
|
509
509
|
title: string;
|
|
@@ -519,7 +519,7 @@ declare const _default: {
|
|
|
519
519
|
locale?: string | undefined;
|
|
520
520
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
521
521
|
}>, prevState: Readonly<{}>): any;
|
|
522
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
522
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
523
523
|
placeholder?: Partial<{
|
|
524
524
|
key: string;
|
|
525
525
|
title: string;
|
|
@@ -537,7 +537,7 @@ declare const _default: {
|
|
|
537
537
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
538
538
|
componentWillMount?(): void;
|
|
539
539
|
UNSAFE_componentWillMount?(): void;
|
|
540
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
540
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
541
541
|
placeholder?: Partial<{
|
|
542
542
|
key: string;
|
|
543
543
|
title: string;
|
|
@@ -553,7 +553,7 @@ declare const _default: {
|
|
|
553
553
|
locale?: string | undefined;
|
|
554
554
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
555
555
|
}>, nextContext: any): void;
|
|
556
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
556
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
557
557
|
placeholder?: Partial<{
|
|
558
558
|
key: string;
|
|
559
559
|
title: string;
|
|
@@ -569,7 +569,7 @@ declare const _default: {
|
|
|
569
569
|
locale?: string | undefined;
|
|
570
570
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
571
571
|
}>, nextContext: any): void;
|
|
572
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
572
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
573
573
|
placeholder?: Partial<{
|
|
574
574
|
key: string;
|
|
575
575
|
title: string;
|
|
@@ -585,7 +585,7 @@ declare const _default: {
|
|
|
585
585
|
locale?: string | undefined;
|
|
586
586
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
587
587
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
588
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
588
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
589
589
|
placeholder?: Partial<{
|
|
590
590
|
key: string;
|
|
591
591
|
title: string;
|
|
@@ -609,7 +609,7 @@ declare const _default: {
|
|
|
609
609
|
ComposedComponent: typeof SchemaEditor;
|
|
610
610
|
}, {}> & {
|
|
611
611
|
ComposedComponent: {
|
|
612
|
-
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
612
|
+
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
613
613
|
placeholder?: Partial<{
|
|
614
614
|
key: string;
|
|
615
615
|
title: string;
|
|
@@ -626,14 +626,13 @@ declare const _default: {
|
|
|
626
626
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
627
627
|
}): {
|
|
628
628
|
ref: any;
|
|
629
|
-
/**
|
|
630
|
-
* 顶层类型信息是否隐藏
|
|
631
|
-
*/
|
|
632
629
|
childRef(ref: any): void;
|
|
633
|
-
getWrappedInstance(): any;
|
|
630
|
+
getWrappedInstance(): any; /**
|
|
631
|
+
* 是否开启高级配置
|
|
632
|
+
*/
|
|
634
633
|
render(): React.JSX.Element;
|
|
635
634
|
context: unknown;
|
|
636
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
635
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
637
636
|
placeholder?: Partial<{
|
|
638
637
|
key: string;
|
|
639
638
|
title: string;
|
|
@@ -650,7 +649,7 @@ declare const _default: {
|
|
|
650
649
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
651
650
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
652
651
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
653
|
-
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
652
|
+
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
654
653
|
placeholder?: Partial<{
|
|
655
654
|
key: string;
|
|
656
655
|
title: string;
|
|
@@ -671,7 +670,7 @@ declare const _default: {
|
|
|
671
670
|
[key: string]: React.ReactInstance;
|
|
672
671
|
};
|
|
673
672
|
componentDidMount?(): void;
|
|
674
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
673
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
675
674
|
placeholder?: Partial<{
|
|
676
675
|
key: string;
|
|
677
676
|
title: string;
|
|
@@ -689,7 +688,7 @@ declare const _default: {
|
|
|
689
688
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
690
689
|
componentWillUnmount?(): void;
|
|
691
690
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
692
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
691
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
693
692
|
placeholder?: Partial<{
|
|
694
693
|
key: string;
|
|
695
694
|
title: string;
|
|
@@ -705,7 +704,7 @@ declare const _default: {
|
|
|
705
704
|
locale?: string | undefined;
|
|
706
705
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
707
706
|
}>, prevState: Readonly<{}>): any;
|
|
708
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
707
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
709
708
|
placeholder?: Partial<{
|
|
710
709
|
key: string;
|
|
711
710
|
title: string;
|
|
@@ -723,7 +722,7 @@ declare const _default: {
|
|
|
723
722
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
724
723
|
componentWillMount?(): void;
|
|
725
724
|
UNSAFE_componentWillMount?(): void;
|
|
726
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
725
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
727
726
|
placeholder?: Partial<{
|
|
728
727
|
key: string;
|
|
729
728
|
title: string;
|
|
@@ -739,7 +738,7 @@ declare const _default: {
|
|
|
739
738
|
locale?: string | undefined;
|
|
740
739
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
741
740
|
}>, nextContext: any): void;
|
|
742
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
741
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
743
742
|
placeholder?: Partial<{
|
|
744
743
|
key: string;
|
|
745
744
|
title: string;
|
|
@@ -755,7 +754,7 @@ declare const _default: {
|
|
|
755
754
|
locale?: string | undefined;
|
|
756
755
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
757
756
|
}>, nextContext: any): void;
|
|
758
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
757
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
759
758
|
placeholder?: Partial<{
|
|
760
759
|
key: string;
|
|
761
760
|
title: string;
|
|
@@ -771,7 +770,7 @@ declare const _default: {
|
|
|
771
770
|
locale?: string | undefined;
|
|
772
771
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
773
772
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
774
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "
|
|
773
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "onChange" | "className" | "style" | "value" | "disabled" | "popOverContainer" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "mini" | "addButtonText" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & {
|
|
775
774
|
placeholder?: Partial<{
|
|
776
775
|
key: string;
|
|
777
776
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -8,6 +8,8 @@ import React__default from 'react';
|
|
|
8
8
|
import { autobind, themeable, localeable, uncontrollable } from 'amis-core';
|
|
9
9
|
import { SchemaEditorItem } from './Item.js';
|
|
10
10
|
import { schemaEditorItemPlaceholder } from './Common.js';
|
|
11
|
+
import './Array.js';
|
|
12
|
+
import './Object.js';
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
15
|
* 用来定义数据结构的编辑器
|