amis-ui 2.7.2 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/_virtual/index.js +1 -1
- package/esm/_virtual/react-is.development.js +1 -1
- package/esm/_virtual/react-is.production.min.js +1 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +5 -2
- 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.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +23 -13
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +12 -12
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +40 -40
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +28 -15
- package/esm/components/ConfirmBox.js +9 -6
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +40 -40
- package/esm/components/DatePicker.js +6 -4
- package/esm/components/DateRangePicker.d.ts +40 -40
- package/esm/components/DateRangePicker.js +7 -5
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.js +28 -15
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.js +1 -1
- 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/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +15 -11
- package/esm/components/NumberInput.js +9 -9
- package/esm/components/Pagination.js +1 -1
- package/esm/components/Picker.js +4 -4
- package/esm/components/PickerColumn.js +4 -4
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.d.ts +18 -0
- package/esm/components/PopOverContainer.js +42 -9
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +4 -4
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +40 -40
- package/esm/components/ResultBox.js +3 -3
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +82 -40
- package/esm/components/SearchBox.js +10 -7
- package/esm/components/Select.d.ts +195 -193
- package/esm/components/Select.js +19 -9
- package/esm/components/Selection.js +3 -3
- package/esm/components/SparkLine.js +4 -4
- package/esm/components/Spinner.js +29 -33
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +41 -40
- package/esm/components/Tabs.js +15 -10
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +3 -2
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +3 -3
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.d.ts +44 -40
- package/esm/components/TransferDropDown.js +3 -3
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +82 -40
- package/esm/components/Tree.js +45 -28
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +32 -13
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +4 -4
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +3 -3
- 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/Formula.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +2 -2
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +5 -4
- package/esm/components/formula/Editor.js +3 -3
- package/esm/components/formula/FuncList.js +4 -4
- package/esm/components/formula/Picker.js +3 -3
- package/esm/components/formula/VariableList.js +3 -2
- package/esm/components/formula/plugin.js +3 -2
- package/esm/components/icons.js +4 -4
- package/esm/components/json-schema/Array.js +4 -4
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +30 -10
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +5 -5
- package/esm/components/menu/SubMenu.js +5 -6
- package/esm/components/menu/index.d.ts +6 -9
- package/esm/components/menu/index.js +59 -43
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.d.ts +10 -0
- package/esm/components/schema-editor/Common.js +16 -6
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.d.ts +2 -1
- package/esm/components/schema-editor/Object.js +10 -6
- 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 +46 -41
- package/esm/components/schema-editor/index.js +6 -4
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +3 -3
- 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/index.js +19 -19
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +3 -3
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +3 -3
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +56 -32
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +1 -1
- package/esm/locale/en-US.js +1 -1
- package/esm/locale/zh-CN.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -4
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -4
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/esm/node_modules/rc-overflow/es/Item.js +3 -3
- package/esm/node_modules/rc-overflow/es/Overflow.js +3 -3
- package/esm/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +1 -1
- package/esm/node_modules/rc-overflow/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/Collection.js +4 -5
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -7
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +38 -37
- package/esm/node_modules/rc-resize-observer/es/index.js +13 -11
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +6 -12
- package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useState.js +1 -1
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +1 -1
- package/esm/node_modules/rc-util/es/warning.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/_virtual/index.js +1 -1
- package/lib/_virtual/react-is.development.js +1 -1
- package/lib/_virtual/react-is.production.min.js +1 -1
- package/lib/components/404.js +1 -1
- 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/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +40 -40
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +10 -10
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +5 -2
- 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 +10 -10
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +22 -12
- package/lib/components/ChainedSelection.d.ts +40 -40
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +11 -11
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +10 -10
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +27 -14
- package/lib/components/ConfirmBox.d.ts +40 -40
- package/lib/components/ConfirmBox.js +8 -5
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +40 -40
- package/lib/components/DatePicker.js +5 -3
- package/lib/components/DateRangePicker.d.ts +40 -40
- package/lib/components/DateRangePicker.js +6 -4
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +10 -10
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +40 -40
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.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 +1 -1
- package/lib/components/InputTable.js +27 -14
- 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/Modal.d.ts +40 -40
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +15 -11
- package/lib/components/NumberInput.js +8 -8
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Picker.js +3 -3
- package/lib/components/PickerColumn.js +3 -3
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.d.ts +18 -0
- package/lib/components/PopOverContainer.js +41 -8
- 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 +4 -4
- 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.d.ts +10 -10
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/ResultBox.js +2 -2
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +40 -40
- 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 +82 -40
- package/lib/components/SearchBox.js +9 -6
- package/lib/components/Select.d.ts +195 -193
- package/lib/components/Select.js +18 -8
- package/lib/components/Selection.d.ts +40 -40
- package/lib/components/Selection.js +2 -2
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +3 -3
- package/lib/components/Spinner.d.ts +10 -10
- package/lib/components/Spinner.js +29 -33
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +40 -40
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +41 -40
- package/lib/components/Tabs.js +15 -10
- 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.d.ts +10 -10
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +3 -2
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.js +2 -2
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +40 -40
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.d.ts +44 -40
- package/lib/components/TransferDropDown.js +3 -3
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +82 -40
- package/lib/components/Tree.js +44 -27
- package/lib/components/TreeSelection.d.ts +40 -40
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +31 -12
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +3 -3
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +2 -2
- 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/Formula.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +2 -2
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +4 -3
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +2 -2
- package/lib/components/formula/FuncList.js +3 -3
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +2 -2
- package/lib/components/formula/VariableList.js +3 -2
- package/lib/components/formula/plugin.js +3 -2
- package/lib/components/icons.js +3 -3
- package/lib/components/json-schema/Array.js +3 -3
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +29 -9
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +5 -5
- package/lib/components/menu/SubMenu.js +4 -5
- package/lib/components/menu/index.d.ts +16 -19
- package/lib/components/menu/index.js +56 -41
- package/lib/components/schema-editor/Array.js +3 -3
- package/lib/components/schema-editor/Common.d.ts +10 -0
- package/lib/components/schema-editor/Common.js +16 -5
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.d.ts +2 -1
- package/lib/components/schema-editor/Object.js +10 -6
- 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 +46 -41
- package/lib/components/schema-editor/index.js +6 -4
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.js +2 -2
- 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/index.d.ts +40 -40
- package/lib/components/table/index.js +18 -18
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +2 -2
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +2 -2
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +55 -31
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -4
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +2 -4
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/lib/node_modules/rc-overflow/es/Item.js +1 -1
- package/lib/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/lib/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +1 -1
- package/lib/node_modules/rc-overflow/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/Collection.js +4 -5
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -7
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +38 -37
- package/lib/node_modules/rc-resize-observer/es/index.js +11 -9
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +6 -12
- package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useState.js +1 -1
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +1 -1
- package/lib/node_modules/rc-util/es/warning.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +903 -429
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +917 -435
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +903 -429
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +903 -429
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +903 -429
- package/package.json +4 -4
- package/scss/_components.scss +464 -6
- package/scss/_properties.scss +3 -199
- package/scss/base/_normalize.scss +11 -0
- package/scss/components/_button.scss +8 -17
- package/scss/components/_formula.scss +13 -0
- package/scss/components/_menu.scss +93 -75
- package/scss/components/_result-box.scss +83 -17
- package/scss/components/_table.scss +0 -5
- package/scss/components/_tabs.scss +4 -0
- package/scss/components/form/_chained-select.scss +5 -0
- package/scss/components/form/_checks.scss +0 -4
- package/scss/components/form/_date-range.scss +73 -11
- package/scss/components/form/_date.scss +93 -23
- package/scss/components/form/_form.scss +0 -1
- package/scss/components/form/_input-group.scss +11 -0
- package/scss/components/form/_location.scss +16 -16
- package/scss/components/form/_nested-select.scss +6 -2
- package/scss/components/form/_number.scss +12 -3
- package/scss/components/form/_select.scss +119 -52
- package/scss/components/form/_selection.scss +62 -40
- package/scss/components/form/_tag.scss +0 -4
- package/scss/components/form/_text.scss +13 -3
- package/scss/components/form/_tree.scss +22 -2
- package/scss/components/react-datetime.scss +8 -2
- package/scss/themes/_antd-variables.scss +20 -6
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { LocaleProps, ThemeProps, JSONSchema } from 'amis-core';
|
|
7
7
|
import type { JSONSchema7TypeName } from 'json-schema';
|
|
8
|
+
import type { SchemaEditorItemPlaceholder } from './Common';
|
|
8
9
|
export interface SchemaEditorProps extends LocaleProps, ThemeProps {
|
|
9
10
|
value?: JSONSchema;
|
|
10
11
|
onChange: (value: JSONSchema) => void;
|
|
@@ -35,16 +36,20 @@ export interface SchemaEditorProps extends LocaleProps, ThemeProps {
|
|
|
35
36
|
* 是否开启高级配置
|
|
36
37
|
*/
|
|
37
38
|
enableAdvancedSetting?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 各属性输入控件的占位提示文本
|
|
41
|
+
*/
|
|
42
|
+
placeholder?: SchemaEditorItemPlaceholder;
|
|
38
43
|
}
|
|
39
44
|
export declare class SchemaEditor extends React.Component<SchemaEditorProps> {
|
|
40
|
-
static defaultProps: Pick<SchemaEditorProps, 'defaultType' | 'rootTypeMutable' | 'showRootInfo' | 'disabledTypes'>;
|
|
45
|
+
static defaultProps: Pick<SchemaEditorProps, 'defaultType' | 'rootTypeMutable' | 'showRootInfo' | 'disabledTypes' | 'placeholder'>;
|
|
41
46
|
defaultTypes: Array<any>;
|
|
42
47
|
constructor(props: SchemaEditorProps);
|
|
43
48
|
handleTypeChange(type: string, value: any, origin: any): any;
|
|
44
49
|
render(): JSX.Element;
|
|
45
50
|
}
|
|
46
51
|
declare const _default: {
|
|
47
|
-
new (props: Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
52
|
+
new (props: Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
48
53
|
locale?: string | undefined;
|
|
49
54
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
50
55
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps): {
|
|
@@ -53,12 +58,12 @@ declare const _default: {
|
|
|
53
58
|
getWrappedInstance(): any;
|
|
54
59
|
render(): JSX.Element;
|
|
55
60
|
context: any;
|
|
56
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
61
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
57
62
|
locale?: string | undefined;
|
|
58
63
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
59
64
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
60
65
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
61
|
-
readonly props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
66
|
+
readonly props: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
62
67
|
locale?: string | undefined;
|
|
63
68
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
64
69
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
@@ -69,35 +74,35 @@ declare const _default: {
|
|
|
69
74
|
[key: string]: React.ReactInstance;
|
|
70
75
|
};
|
|
71
76
|
componentDidMount?(): void;
|
|
72
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
77
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
73
78
|
locale?: string | undefined;
|
|
74
79
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
75
80
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
76
81
|
componentWillUnmount?(): void;
|
|
77
82
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
78
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
83
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
79
84
|
locale?: string | undefined;
|
|
80
85
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
81
86
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
82
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
87
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
83
88
|
locale?: string | undefined;
|
|
84
89
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
85
90
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
86
91
|
componentWillMount?(): void;
|
|
87
92
|
UNSAFE_componentWillMount?(): void;
|
|
88
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
93
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
89
94
|
locale?: string | undefined;
|
|
90
95
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
91
96
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
92
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
97
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
93
98
|
locale?: string | undefined;
|
|
94
99
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
95
100
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
96
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
101
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
97
102
|
locale?: string | undefined;
|
|
98
103
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
99
104
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
100
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
105
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
101
106
|
locale?: string | undefined;
|
|
102
107
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
103
108
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -105,7 +110,7 @@ declare const _default: {
|
|
|
105
110
|
displayName: string;
|
|
106
111
|
contextType: React.Context<string>;
|
|
107
112
|
ComposedComponent: React.ComponentType<{
|
|
108
|
-
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
113
|
+
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
109
114
|
locale?: string | undefined;
|
|
110
115
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
111
116
|
}): {
|
|
@@ -114,12 +119,12 @@ declare const _default: {
|
|
|
114
119
|
getWrappedInstance(): any;
|
|
115
120
|
render(): JSX.Element;
|
|
116
121
|
context: any;
|
|
117
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
122
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
118
123
|
locale?: string | undefined;
|
|
119
124
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
120
125
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
121
126
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
122
|
-
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
127
|
+
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
123
128
|
locale?: string | undefined;
|
|
124
129
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
125
130
|
}> & Readonly<{
|
|
@@ -130,35 +135,35 @@ declare const _default: {
|
|
|
130
135
|
[key: string]: React.ReactInstance;
|
|
131
136
|
};
|
|
132
137
|
componentDidMount?(): void;
|
|
133
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
138
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
134
139
|
locale?: string | undefined;
|
|
135
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
136
141
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
137
142
|
componentWillUnmount?(): void;
|
|
138
143
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
139
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
144
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
140
145
|
locale?: string | undefined;
|
|
141
146
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
142
147
|
}>, prevState: Readonly<{}>): any;
|
|
143
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
148
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
144
149
|
locale?: string | undefined;
|
|
145
150
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
146
151
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
147
152
|
componentWillMount?(): void;
|
|
148
153
|
UNSAFE_componentWillMount?(): void;
|
|
149
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
154
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
150
155
|
locale?: string | undefined;
|
|
151
156
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
152
157
|
}>, nextContext: any): void;
|
|
153
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
158
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
154
159
|
locale?: string | undefined;
|
|
155
160
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
156
161
|
}>, nextContext: any): void;
|
|
157
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
162
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
158
163
|
locale?: string | undefined;
|
|
159
164
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
160
165
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
161
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
166
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
162
167
|
locale?: string | undefined;
|
|
163
168
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
164
169
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -170,7 +175,7 @@ declare const _default: {
|
|
|
170
175
|
ComposedComponent: typeof SchemaEditor;
|
|
171
176
|
}>;
|
|
172
177
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
173
|
-
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
178
|
+
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
174
179
|
locale?: string | undefined;
|
|
175
180
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
176
181
|
}): {
|
|
@@ -179,12 +184,12 @@ declare const _default: {
|
|
|
179
184
|
getWrappedInstance(): any;
|
|
180
185
|
render(): JSX.Element;
|
|
181
186
|
context: any;
|
|
182
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
187
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
183
188
|
locale?: string | undefined;
|
|
184
189
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
185
190
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
186
191
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
187
|
-
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
192
|
+
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
188
193
|
locale?: string | undefined;
|
|
189
194
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
190
195
|
}> & Readonly<{
|
|
@@ -195,35 +200,35 @@ declare const _default: {
|
|
|
195
200
|
[key: string]: React.ReactInstance;
|
|
196
201
|
};
|
|
197
202
|
componentDidMount?(): void;
|
|
198
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
203
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
199
204
|
locale?: string | undefined;
|
|
200
205
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
201
206
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
202
207
|
componentWillUnmount?(): void;
|
|
203
208
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
204
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
209
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
205
210
|
locale?: string | undefined;
|
|
206
211
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
207
212
|
}>, prevState: Readonly<{}>): any;
|
|
208
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
213
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
209
214
|
locale?: string | undefined;
|
|
210
215
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
211
216
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
212
217
|
componentWillMount?(): void;
|
|
213
218
|
UNSAFE_componentWillMount?(): void;
|
|
214
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
219
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
215
220
|
locale?: string | undefined;
|
|
216
221
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
217
222
|
}>, nextContext: any): void;
|
|
218
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
223
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
219
224
|
locale?: string | undefined;
|
|
220
225
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
221
226
|
}>, nextContext: any): void;
|
|
222
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
227
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
223
228
|
locale?: string | undefined;
|
|
224
229
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
225
230
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
226
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
231
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
227
232
|
locale?: string | undefined;
|
|
228
233
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
229
234
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -235,7 +240,7 @@ declare const _default: {
|
|
|
235
240
|
ComposedComponent: typeof SchemaEditor;
|
|
236
241
|
}, {}> & {
|
|
237
242
|
ComposedComponent: {
|
|
238
|
-
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
243
|
+
new (props: Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
239
244
|
locale?: string | undefined;
|
|
240
245
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
241
246
|
}): {
|
|
@@ -244,12 +249,12 @@ declare const _default: {
|
|
|
244
249
|
getWrappedInstance(): any;
|
|
245
250
|
render(): JSX.Element;
|
|
246
251
|
context: any;
|
|
247
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
252
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
248
253
|
locale?: string | undefined;
|
|
249
254
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
250
255
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
251
256
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
252
|
-
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
257
|
+
readonly props: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
253
258
|
locale?: string | undefined;
|
|
254
259
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
255
260
|
}> & Readonly<{
|
|
@@ -260,35 +265,35 @@ declare const _default: {
|
|
|
260
265
|
[key: string]: React.ReactInstance;
|
|
261
266
|
};
|
|
262
267
|
componentDidMount?(): void;
|
|
263
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
268
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
264
269
|
locale?: string | undefined;
|
|
265
270
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
266
271
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
267
272
|
componentWillUnmount?(): void;
|
|
268
273
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
269
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
274
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
270
275
|
locale?: string | undefined;
|
|
271
276
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
272
277
|
}>, prevState: Readonly<{}>): any;
|
|
273
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
278
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
274
279
|
locale?: string | undefined;
|
|
275
280
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
276
281
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
277
282
|
componentWillMount?(): void;
|
|
278
283
|
UNSAFE_componentWillMount?(): void;
|
|
279
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
284
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
280
285
|
locale?: string | undefined;
|
|
281
286
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
282
287
|
}>, nextContext: any): void;
|
|
283
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
288
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
284
289
|
locale?: string | undefined;
|
|
285
290
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
286
291
|
}>, nextContext: any): void;
|
|
287
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
292
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
288
293
|
locale?: string | undefined;
|
|
289
294
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
290
295
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
291
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "
|
|
296
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "onChange" | "value" | "disabled" | "renderExtraProps" | "renderModalProps" | "enableAdvancedSetting" | "definitions"> & Partial<Pick<Omit<SchemaEditorProps, keyof LocaleProps>, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">> & Partial<Pick<Pick<SchemaEditorProps, "placeholder" | "defaultType" | "rootTypeMutable" | "showRootInfo" | "disabledTypes">, never>> & {
|
|
292
297
|
locale?: string | undefined;
|
|
293
298
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
294
299
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.8.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -11,6 +11,7 @@ var tslib = require('tslib');
|
|
|
11
11
|
var React = require('react');
|
|
12
12
|
var amisCore = require('amis-core');
|
|
13
13
|
var Item = require('./Item.js');
|
|
14
|
+
var Common = require('./Common.js');
|
|
14
15
|
|
|
15
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
17
|
|
|
@@ -69,7 +70,7 @@ var SchemaEditor = /** @class */ (function (_super) {
|
|
|
69
70
|
return value;
|
|
70
71
|
};
|
|
71
72
|
SchemaEditor.prototype.render = function () {
|
|
72
|
-
var _a = this.props, defaultType = _a.defaultType, cx = _a.classnames, onChange = _a.onChange, renderExtraProps = _a.renderExtraProps, renderModalProps = _a.renderModalProps, translate = _a.translate, locale = _a.locale, classPrefix = _a.classPrefix, rootTypeMutable = _a.rootTypeMutable, showRootInfo = _a.showRootInfo, disabled = _a.disabled, definitions = _a.definitions, enableAdvancedSetting = _a.enableAdvancedSetting;
|
|
73
|
+
var _a = this.props, defaultType = _a.defaultType, cx = _a.classnames, onChange = _a.onChange, renderExtraProps = _a.renderExtraProps, renderModalProps = _a.renderModalProps, translate = _a.translate, locale = _a.locale, classPrefix = _a.classPrefix, rootTypeMutable = _a.rootTypeMutable, showRootInfo = _a.showRootInfo, disabled = _a.disabled, definitions = _a.definitions, enableAdvancedSetting = _a.enableAdvancedSetting, placeholder = _a.placeholder;
|
|
73
74
|
var value = this.props.value || {
|
|
74
75
|
type: defaultType || 'object'
|
|
75
76
|
};
|
|
@@ -103,13 +104,14 @@ var SchemaEditor = /** @class */ (function (_super) {
|
|
|
103
104
|
types = types.filter(function (item) { return !~disabledTypes.indexOf(item.value); });
|
|
104
105
|
}
|
|
105
106
|
return (React__default["default"].createElement("div", { className: cx('SchemaEditor') },
|
|
106
|
-
React__default["default"].createElement(Item.SchemaEditorItem, { types: types, typeMutable: rootTypeMutable, showInfo: showRootInfo, value: value, onChange: onChange, renderExtraProps: renderExtraProps, renderModalProps: renderModalProps, locale: locale, translate: translate, classnames: cx, classPrefix: classPrefix, disabled: disabled, onTypeChange: this.handleTypeChange, enableAdvancedSetting: enableAdvancedSetting })));
|
|
107
|
+
React__default["default"].createElement(Item.SchemaEditorItem, { types: types, typeMutable: rootTypeMutable, showInfo: showRootInfo, value: value, onChange: onChange, renderExtraProps: renderExtraProps, renderModalProps: renderModalProps, locale: locale, translate: translate, classnames: cx, classPrefix: classPrefix, disabled: disabled, onTypeChange: this.handleTypeChange, enableAdvancedSetting: enableAdvancedSetting, placeholder: placeholder })));
|
|
107
108
|
};
|
|
108
109
|
SchemaEditor.defaultProps = {
|
|
109
110
|
defaultType: 'object',
|
|
110
111
|
rootTypeMutable: false,
|
|
111
112
|
showRootInfo: false,
|
|
112
|
-
disabledTypes: ['null']
|
|
113
|
+
disabledTypes: ['null'],
|
|
114
|
+
placeholder: Common.schemaEditorItemPlaceholder
|
|
113
115
|
};
|
|
114
116
|
tslib.__decorate([
|
|
115
117
|
amisCore.autobind,
|