amis-ui 6.14.0-beta.9 → 7.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/HTMLFilterContext.js +1 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +40 -40
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +20 -20
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AlphabetIndexer.js +1 -1
- package/esm/components/AnchorNav.d.ts +10 -10
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.d.ts +40 -40
- package/esm/components/ArrayInput.js +3 -4
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +40 -40
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoFoldedList.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.d.ts +70 -70
- package/esm/components/Avatar.js +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 +40 -40
- package/esm/components/Button.js +3 -2
- package/esm/components/CalendarMobile.d.ts +40 -40
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +40 -40
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +40 -40
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +40 -40
- 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 +36 -35
- package/esm/components/Collapse.js +43 -24
- package/esm/components/CollapseGroup.d.ts +20 -20
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +40 -40
- package/esm/components/ColorPicker.js +3 -4
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +3 -4
- package/esm/components/ContextMenu.d.ts +3 -2
- package/esm/components/ContextMenu.js +22 -9
- package/esm/components/DatePicker.d.ts +40 -40
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +40 -40
- package/esm/components/DateRangePicker.js +3 -4
- package/esm/components/DiffEditor.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +11 -10
- package/esm/components/Drawer.js +7 -3
- package/esm/components/DropDownSelection.d.ts +40 -40
- package/esm/components/DropDownSelection.js +3 -4
- package/esm/components/DropdownContextMenus.js +1 -1
- package/esm/components/Editor.d.ts +40 -40
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.d.ts +40 -40
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/HorizontalScroll.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.d.ts +40 -40
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +3 -4
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +40 -40
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +40 -40
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MixedInput.js +1 -1
- package/esm/components/MobileDevTool.js +1 -1
- package/esm/components/Modal.d.ts +82 -80
- package/esm/components/Modal.js +10 -5
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +40 -40
- package/esm/components/MultilineText.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +10 -10
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.js +4 -5
- package/esm/components/Pagination.d.ts +80 -80
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +4 -5
- package/esm/components/PopUp.d.ts +81 -80
- package/esm/components/PopUp.js +4 -3
- package/esm/components/Progress.d.ts +20 -20
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +10 -10
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +3 -4
- package/esm/components/Rating.d.ts +10 -10
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +40 -40
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +40 -40
- package/esm/components/ResultList.js +3 -4
- package/esm/components/ResultTableList.d.ts +40 -40
- 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 +199 -199
- package/esm/components/Select.js +3 -4
- package/esm/components/SelectMobile.js +3 -4
- package/esm/components/Selection.d.ts +40 -40
- package/esm/components/Selection.js +1 -1
- package/esm/components/Shape.js +1 -1
- package/esm/components/Signature.js +1 -1
- package/esm/components/Slider.js +1 -1
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +21 -20
- package/esm/components/Spinner.js +6 -4
- 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 +40 -40
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +81 -80
- package/esm/components/Tabs.js +11 -8
- 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 +3 -4
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +8 -6
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +81 -80
- package/esm/components/Toast.js +4 -3
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +31 -31
- package/esm/components/TooltipWrapper.js +3 -4
- package/esm/components/Transfer.d.ts +40 -40
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.d.ts +40 -40
- 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 +43 -40
- package/esm/components/Tree.js +22 -8
- package/esm/components/TreeSelection.d.ts +40 -40
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +40 -40
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +40 -40
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.js +1 -1
- package/esm/components/WithRemoteConfig.d.ts +12 -12
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +11 -7
- package/esm/components/condition-builder/GroupOrItem.js +4 -2
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +3 -4
- package/esm/components/condition-builder/Value.js +3 -2
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +7 -3
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.d.ts +41 -40
- package/esm/components/formula/Editor.js +4 -3
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.d.ts +40 -40
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/PanelMenu.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +30 -30
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +40 -40
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +3 -4
- package/esm/components/table/HeadCellFilter.d.ts +40 -40
- package/esm/components/table/HeadCellFilter.js +3 -4
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- package/esm/components/table/HeadCellSelect.js +3 -4
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +1 -1
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.d.ts +80 -80
- package/esm/components/table/index.js +6 -6
- package/esm/components/table/util.d.ts +14 -14
- package/esm/components/table/util.js +1 -1
- package/esm/components/virtual-list/AutoSizer.js +3 -4
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/components/withBadge.js +1 -1
- package/esm/hooks/use-click-away.js +1 -1
- package/esm/hooks/use-on-screen.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/fullscreen.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/question2.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/rotate-screen.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/sub-plus.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo-normal.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +1 -1
- package/esm/locale/en-US.js +1 -1
- package/esm/locale/zh-CN.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/esm/utils/vectorComputed.js +1 -1
- package/esm/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/HTMLFilterContext.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +40 -40
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AlphabetIndexer.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.d.ts +40 -40
- package/lib/components/ArrayInput.js +2 -3
- 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/AutoFoldedList.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.d.ts +50 -50
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/Button.js +3 -2
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +50 -50
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +40 -40
- package/lib/components/ChainedDropdownSelection.js +1 -1
- 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 +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +26 -25
- package/lib/components/Collapse.js +43 -24
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +3 -4
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.js +2 -3
- package/lib/components/ContextMenu.d.ts +3 -2
- package/lib/components/ContextMenu.js +22 -9
- package/lib/components/DatePicker.d.ts +40 -40
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +40 -40
- package/lib/components/DateRangePicker.js +3 -4
- package/lib/components/DiffEditor.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +21 -20
- package/lib/components/Drawer.js +7 -3
- package/lib/components/DropDownSelection.d.ts +40 -40
- package/lib/components/DropDownSelection.js +3 -4
- package/lib/components/DropdownContextMenus.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/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.d.ts +40 -40
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/HorizontalScroll.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +2 -3
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +40 -40
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MixedInput.js +1 -1
- package/lib/components/MobileDevTool.js +1 -1
- package/lib/components/Modal.d.ts +82 -80
- package/lib/components/Modal.js +10 -5
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +40 -40
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +10 -10
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.js +4 -5
- package/lib/components/Pagination.d.ts +40 -40
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +3 -4
- package/lib/components/PopUp.d.ts +81 -80
- package/lib/components/PopUp.js +4 -3
- package/lib/components/Progress.d.ts +50 -50
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +2 -3
- 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 +1 -1
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +3 -4
- 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 +40 -40
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +199 -199
- package/lib/components/Select.js +2 -3
- package/lib/components/SelectMobile.js +3 -4
- package/lib/components/Selection.d.ts +40 -40
- package/lib/components/Selection.js +1 -1
- package/lib/components/Shape.js +1 -1
- package/lib/components/Signature.js +1 -1
- package/lib/components/Slider.js +1 -1
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +11 -10
- package/lib/components/Spinner.js +6 -4
- 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/Tab.js +1 -1
- package/lib/components/Table.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 +10 -7
- 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 +40 -40
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +3 -4
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +8 -6
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +41 -40
- package/lib/components/Toast.js +4 -3
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +11 -11
- package/lib/components/TooltipWrapper.js +2 -3
- package/lib/components/Transfer.d.ts +40 -40
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.d.ts +40 -40
- 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 +43 -40
- package/lib/components/Tree.js +22 -8
- 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 +1 -1
- package/lib/components/VerificationCode.js +1 -1
- package/lib/components/VirtualList.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +12 -12
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +11 -7
- package/lib/components/condition-builder/GroupOrItem.js +4 -2
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +2 -3
- package/lib/components/condition-builder/Value.js +3 -2
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +7 -3
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +41 -40
- package/lib/components/formula/Editor.js +4 -3
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/PanelMenu.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +10 -10
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +2 -3
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +3 -4
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +2 -3
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +1 -1
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.d.ts +40 -40
- package/lib/components/table/index.js +6 -6
- package/lib/components/table/util.d.ts +13 -13
- package/lib/components/table/util.js +1 -1
- package/lib/components/virtual-list/AutoSizer.js +2 -3
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/components/withBadge.js +1 -1
- package/lib/hooks/use-click-away.js +1 -1
- package/lib/hooks/use-on-screen.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/fullscreen.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/question2.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/rotate-screen.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +20 -16
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +20 -16
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +20 -16
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +20 -16
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +20 -16
- package/lib/utils/vectorComputed.js +1 -1
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +8 -8
- package/scss/components/_button.scss +2 -1
- package/scss/components/form/_select.scss +1 -1
- package/scss/components/form/_tree.scss +4 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v7.0.0-next.1
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { __extends, __assign, __decorate, __metadata } from 'tslib';
|
|
7
7
|
import React__default from 'react';
|
|
8
|
-
import {
|
|
9
|
-
import { findTree, noop, getVariable, autobind, themeable, localeable } from 'amis-core';
|
|
8
|
+
import { findTree, findDomCompat, noop, getVariable, autobind, themeable, localeable } from 'amis-core';
|
|
10
9
|
import { Icon } from '../icons.js';
|
|
11
10
|
import Expression from './Expression.js';
|
|
12
11
|
import { OperationMap } from './config.js';
|
|
@@ -117,7 +116,7 @@ var ConditionItem = /** @class */ (function (_super) {
|
|
|
117
116
|
return operator;
|
|
118
117
|
}
|
|
119
118
|
});
|
|
120
|
-
return (React__default.createElement(PopOverContainer, { mobileUI: mobileUI, disabled: !!((value === null || value === void 0 ? void 0 : value.op) && operators.length < 2), popOverContainer: popOverContainer || (function () { return
|
|
119
|
+
return (React__default.createElement(PopOverContainer, { mobileUI: mobileUI, disabled: !!((value === null || value === void 0 ? void 0 : value.op) && operators.length < 2), popOverContainer: popOverContainer || (function () { return findDomCompat(_this); }), popOverRender: function (_a) {
|
|
121
120
|
var onClose = _a.onClose;
|
|
122
121
|
return (React__default.createElement(GroupedSelection, { onClick: onClose, option2value: option2value, onChange: _this.handleOperatorChange, options: options_1, value: value.op, multiple: false, testIdBuilder: testIdBuilder === null || testIdBuilder === void 0 ? void 0 : testIdBuilder.getChild('operator-group') }));
|
|
123
122
|
} }, function (_a) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v7.0.0-next.1
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -20,12 +20,13 @@ var Value = /** @class */ (function (_super) {
|
|
|
20
20
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
21
21
|
}
|
|
22
22
|
Value.prototype.renderCustomValue = function (props) {
|
|
23
|
-
var _a = this.props, renderEtrValue = _a.renderEtrValue, data = _a.data, cx = _a.classnames;
|
|
23
|
+
var _a = this.props, renderEtrValue = _a.renderEtrValue, data = _a.data, cx = _a.classnames, disabled = _a.disabled;
|
|
24
24
|
var field = props.inputSettings;
|
|
25
25
|
return renderEtrValue
|
|
26
26
|
? renderEtrValue(__assign(__assign({}, field.value), { name: 'TMP_WHATEVER_NAME' }), // name 随便输入,应该是 value 传入的为主,目前表单项内部逻辑还有问题先传一个 name
|
|
27
27
|
{
|
|
28
28
|
data: data,
|
|
29
|
+
disabled: disabled,
|
|
29
30
|
onChange: props.onChange,
|
|
30
31
|
value: props.value,
|
|
31
32
|
inputClassName: cx(field.className, props.className)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v7.0.0-next.1
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -153,7 +153,9 @@ var QueryBuilder = /** @class */ (function (_super) {
|
|
|
153
153
|
return (React__default.createElement("div", { className: cx('CPGroup-result'), dangerouslySetInnerHTML: html }));
|
|
154
154
|
};
|
|
155
155
|
QueryBuilder.prototype.renderBody = function (onChange, value, popOverContainer) {
|
|
156
|
-
var _a
|
|
156
|
+
var _a;
|
|
157
|
+
var _b = this.props, cx = _b.classnames, fieldClassName = _b.fieldClassName, fields = _b.fields, funcs = _b.funcs, showNot = _b.showNot, showANDOR = _b.showANDOR, data = _b.data, _c = _b.draggable, draggable = _c === void 0 ? true : _c, searchable = _b.searchable, builderMode = _b.builderMode, formula = _b.formula, renderEtrValue = _b.renderEtrValue, selectMode = _b.selectMode, isAddBtnVisibleOn = _b.isAddBtnVisibleOn, isAddGroupBtnVisibleOn = _b.isAddGroupBtnVisibleOn, showIf = _b.showIf, uniqueFields = _b.uniqueFields, formulaForIf = _b.formulaForIf, testIdBuilder = _b.testIdBuilder;
|
|
158
|
+
var disabled = (_a = value === null || value === void 0 ? void 0 : value.disabled) !== null && _a !== void 0 ? _a : this.props.disabled;
|
|
157
159
|
var normalizedValue = Array.isArray(value === null || value === void 0 ? void 0 : value.children)
|
|
158
160
|
? __assign(__assign({}, value), { children: mapTree(value.children, function (value) {
|
|
159
161
|
if (value.id) {
|
|
@@ -175,7 +177,9 @@ var QueryBuilder = /** @class */ (function (_super) {
|
|
|
175
177
|
};
|
|
176
178
|
QueryBuilder.prototype.render = function () {
|
|
177
179
|
var _this = this;
|
|
178
|
-
var _a
|
|
180
|
+
var _a;
|
|
181
|
+
var _b = this.props, cx = _b.classnames, placeholder = _b.placeholder, _c = _b.embed, embed = _c === void 0 ? true : _c, pickerIcon = _b.pickerIcon, locale = _b.locale, translate = _b.translate, classPrefix = _b.classPrefix, onFinalChange = _b.onChange, value = _b.value, title = _b.title, popOverContainer = _b.popOverContainer, testIdBuilder = _b.testIdBuilder, mobileUI = _b.mobileUI;
|
|
182
|
+
var disabled = (_a = value === null || value === void 0 ? void 0 : value.disabled) !== null && _a !== void 0 ? _a : this.props.disabled;
|
|
179
183
|
if (embed) {
|
|
180
184
|
return this.renderBody(onFinalChange, value, popOverContainer);
|
|
181
185
|
}
|
|
@@ -67,6 +67,7 @@ export declare class FormulaEditor extends React.Component<FormulaEditorProps, F
|
|
|
67
67
|
state: FormulaState;
|
|
68
68
|
unmounted: boolean;
|
|
69
69
|
editor: React.RefObject<any>;
|
|
70
|
+
transitionRef: React.RefObject<HTMLDivElement>;
|
|
70
71
|
static buildFunctions(functions?: Array<any>, functionsFilter?: (functions: Array<FuncGroup>) => Array<FuncGroup>): Promise<any>;
|
|
71
72
|
static defaultProps: Pick<FormulaEditorProps, 'variables' | 'evalMode'>;
|
|
72
73
|
static replaceStrByIndex(str: string, idx: number, key: string, replaceKey: string): string;
|
|
@@ -104,7 +105,7 @@ export declare class FormulaEditor extends React.Component<FormulaEditorProps, F
|
|
|
104
105
|
render(): React.JSX.Element;
|
|
105
106
|
}
|
|
106
107
|
declare const _default: {
|
|
107
|
-
new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
108
|
+
new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
108
109
|
variables?: Array<VariableItem> | undefined;
|
|
109
110
|
evalMode?: boolean | undefined;
|
|
110
111
|
} & {} & {
|
|
@@ -116,7 +117,7 @@ declare const _default: {
|
|
|
116
117
|
getWrappedInstance: () => any;
|
|
117
118
|
render(): React.JSX.Element;
|
|
118
119
|
context: unknown;
|
|
119
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
120
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
120
121
|
variables?: Array<VariableItem> | undefined;
|
|
121
122
|
evalMode?: boolean | undefined;
|
|
122
123
|
} & {} & {
|
|
@@ -124,7 +125,7 @@ declare const _default: {
|
|
|
124
125
|
translate?: (str: string, ...args: any[]) => string;
|
|
125
126
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
126
127
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
127
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
128
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
128
129
|
variables?: Array<VariableItem> | undefined;
|
|
129
130
|
evalMode?: boolean | undefined;
|
|
130
131
|
} & {} & {
|
|
@@ -136,7 +137,7 @@ declare const _default: {
|
|
|
136
137
|
[key: string]: React.ReactInstance;
|
|
137
138
|
};
|
|
138
139
|
componentDidMount?(): void;
|
|
139
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
140
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
140
141
|
variables?: Array<VariableItem> | undefined;
|
|
141
142
|
evalMode?: boolean | undefined;
|
|
142
143
|
} & {} & {
|
|
@@ -145,14 +146,14 @@ declare const _default: {
|
|
|
145
146
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
146
147
|
componentWillUnmount?(): void;
|
|
147
148
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
148
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
149
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
149
150
|
variables?: Array<VariableItem> | undefined;
|
|
150
151
|
evalMode?: boolean | undefined;
|
|
151
152
|
} & {} & {
|
|
152
153
|
locale?: string;
|
|
153
154
|
translate?: (str: string, ...args: any[]) => string;
|
|
154
155
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
155
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
156
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
156
157
|
variables?: Array<VariableItem> | undefined;
|
|
157
158
|
evalMode?: boolean | undefined;
|
|
158
159
|
} & {} & {
|
|
@@ -161,28 +162,28 @@ declare const _default: {
|
|
|
161
162
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
162
163
|
componentWillMount?(): void;
|
|
163
164
|
UNSAFE_componentWillMount?(): void;
|
|
164
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
165
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
165
166
|
variables?: Array<VariableItem> | undefined;
|
|
166
167
|
evalMode?: boolean | undefined;
|
|
167
168
|
} & {} & {
|
|
168
169
|
locale?: string;
|
|
169
170
|
translate?: (str: string, ...args: any[]) => string;
|
|
170
171
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
171
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
172
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
172
173
|
variables?: Array<VariableItem> | undefined;
|
|
173
174
|
evalMode?: boolean | undefined;
|
|
174
175
|
} & {} & {
|
|
175
176
|
locale?: string;
|
|
176
177
|
translate?: (str: string, ...args: any[]) => string;
|
|
177
178
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
178
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
179
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
179
180
|
variables?: Array<VariableItem> | undefined;
|
|
180
181
|
evalMode?: boolean | undefined;
|
|
181
182
|
} & {} & {
|
|
182
183
|
locale?: string;
|
|
183
184
|
translate?: (str: string, ...args: any[]) => string;
|
|
184
185
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
185
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
186
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
186
187
|
variables?: Array<VariableItem> | undefined;
|
|
187
188
|
evalMode?: boolean | undefined;
|
|
188
189
|
} & {} & {
|
|
@@ -193,7 +194,7 @@ declare const _default: {
|
|
|
193
194
|
displayName: string;
|
|
194
195
|
contextType: React.Context<string>;
|
|
195
196
|
ComposedComponent: React.ComponentType<{
|
|
196
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
197
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
197
198
|
variables?: Array<VariableItem> | undefined;
|
|
198
199
|
evalMode?: boolean | undefined;
|
|
199
200
|
} & {} & {
|
|
@@ -205,7 +206,7 @@ declare const _default: {
|
|
|
205
206
|
getWrappedInstance(): any;
|
|
206
207
|
render(): React.JSX.Element;
|
|
207
208
|
context: unknown;
|
|
208
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
209
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
209
210
|
variables?: Array<VariableItem> | undefined;
|
|
210
211
|
evalMode?: boolean | undefined;
|
|
211
212
|
} & {} & {
|
|
@@ -213,7 +214,7 @@ declare const _default: {
|
|
|
213
214
|
translate?: (str: string, ...args: any[]) => string;
|
|
214
215
|
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
215
216
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
216
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
217
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
217
218
|
variables?: Array<VariableItem> | undefined;
|
|
218
219
|
evalMode?: boolean | undefined;
|
|
219
220
|
} & {} & {
|
|
@@ -225,7 +226,7 @@ declare const _default: {
|
|
|
225
226
|
[key: string]: React.ReactInstance;
|
|
226
227
|
};
|
|
227
228
|
componentDidMount?(): void;
|
|
228
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
229
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
229
230
|
variables?: Array<VariableItem> | undefined;
|
|
230
231
|
evalMode?: boolean | undefined;
|
|
231
232
|
} & {} & {
|
|
@@ -234,14 +235,14 @@ declare const _default: {
|
|
|
234
235
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
235
236
|
componentWillUnmount?(): void;
|
|
236
237
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
237
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
238
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
238
239
|
variables?: Array<VariableItem> | undefined;
|
|
239
240
|
evalMode?: boolean | undefined;
|
|
240
241
|
} & {} & {
|
|
241
242
|
locale?: string;
|
|
242
243
|
translate?: (str: string, ...args: any[]) => string;
|
|
243
244
|
}>, prevState: Readonly<{}>): any;
|
|
244
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
245
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
245
246
|
variables?: Array<VariableItem> | undefined;
|
|
246
247
|
evalMode?: boolean | undefined;
|
|
247
248
|
} & {} & {
|
|
@@ -250,28 +251,28 @@ declare const _default: {
|
|
|
250
251
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
251
252
|
componentWillMount?(): void;
|
|
252
253
|
UNSAFE_componentWillMount?(): void;
|
|
253
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
254
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
254
255
|
variables?: Array<VariableItem> | undefined;
|
|
255
256
|
evalMode?: boolean | undefined;
|
|
256
257
|
} & {} & {
|
|
257
258
|
locale?: string;
|
|
258
259
|
translate?: (str: string, ...args: any[]) => string;
|
|
259
260
|
}>, nextContext: any): void;
|
|
260
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
261
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
261
262
|
variables?: Array<VariableItem> | undefined;
|
|
262
263
|
evalMode?: boolean | undefined;
|
|
263
264
|
} & {} & {
|
|
264
265
|
locale?: string;
|
|
265
266
|
translate?: (str: string, ...args: any[]) => string;
|
|
266
267
|
}>, nextContext: any): void;
|
|
267
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
268
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
268
269
|
variables?: Array<VariableItem> | undefined;
|
|
269
270
|
evalMode?: boolean | undefined;
|
|
270
271
|
} & {} & {
|
|
271
272
|
locale?: string;
|
|
272
273
|
translate?: (str: string, ...args: any[]) => string;
|
|
273
274
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
274
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
275
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
275
276
|
variables?: Array<VariableItem> | undefined;
|
|
276
277
|
evalMode?: boolean | undefined;
|
|
277
278
|
} & {} & {
|
|
@@ -286,7 +287,7 @@ declare const _default: {
|
|
|
286
287
|
ComposedComponent: typeof FormulaEditor;
|
|
287
288
|
}>;
|
|
288
289
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
289
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
290
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
290
291
|
variables?: Array<VariableItem> | undefined;
|
|
291
292
|
evalMode?: boolean | undefined;
|
|
292
293
|
} & {} & {
|
|
@@ -298,7 +299,7 @@ declare const _default: {
|
|
|
298
299
|
getWrappedInstance(): any;
|
|
299
300
|
render(): React.JSX.Element;
|
|
300
301
|
context: unknown;
|
|
301
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
302
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
302
303
|
variables?: Array<VariableItem> | undefined;
|
|
303
304
|
evalMode?: boolean | undefined;
|
|
304
305
|
} & {} & {
|
|
@@ -306,7 +307,7 @@ declare const _default: {
|
|
|
306
307
|
translate?: (str: string, ...args: any[]) => string;
|
|
307
308
|
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
308
309
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
309
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
310
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
310
311
|
variables?: Array<VariableItem> | undefined;
|
|
311
312
|
evalMode?: boolean | undefined;
|
|
312
313
|
} & {} & {
|
|
@@ -318,7 +319,7 @@ declare const _default: {
|
|
|
318
319
|
[key: string]: React.ReactInstance;
|
|
319
320
|
};
|
|
320
321
|
componentDidMount?(): void;
|
|
321
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
322
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
322
323
|
variables?: Array<VariableItem> | undefined;
|
|
323
324
|
evalMode?: boolean | undefined;
|
|
324
325
|
} & {} & {
|
|
@@ -327,14 +328,14 @@ declare const _default: {
|
|
|
327
328
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
328
329
|
componentWillUnmount?(): void;
|
|
329
330
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
330
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
331
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
331
332
|
variables?: Array<VariableItem> | undefined;
|
|
332
333
|
evalMode?: boolean | undefined;
|
|
333
334
|
} & {} & {
|
|
334
335
|
locale?: string;
|
|
335
336
|
translate?: (str: string, ...args: any[]) => string;
|
|
336
337
|
}>, prevState: Readonly<{}>): any;
|
|
337
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
338
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
338
339
|
variables?: Array<VariableItem> | undefined;
|
|
339
340
|
evalMode?: boolean | undefined;
|
|
340
341
|
} & {} & {
|
|
@@ -343,28 +344,28 @@ declare const _default: {
|
|
|
343
344
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
344
345
|
componentWillMount?(): void;
|
|
345
346
|
UNSAFE_componentWillMount?(): void;
|
|
346
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
347
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
347
348
|
variables?: Array<VariableItem> | undefined;
|
|
348
349
|
evalMode?: boolean | undefined;
|
|
349
350
|
} & {} & {
|
|
350
351
|
locale?: string;
|
|
351
352
|
translate?: (str: string, ...args: any[]) => string;
|
|
352
353
|
}>, nextContext: any): void;
|
|
353
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
354
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
354
355
|
variables?: Array<VariableItem> | undefined;
|
|
355
356
|
evalMode?: boolean | undefined;
|
|
356
357
|
} & {} & {
|
|
357
358
|
locale?: string;
|
|
358
359
|
translate?: (str: string, ...args: any[]) => string;
|
|
359
360
|
}>, nextContext: any): void;
|
|
360
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
361
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
361
362
|
variables?: Array<VariableItem> | undefined;
|
|
362
363
|
evalMode?: boolean | undefined;
|
|
363
364
|
} & {} & {
|
|
364
365
|
locale?: string;
|
|
365
366
|
translate?: (str: string, ...args: any[]) => string;
|
|
366
367
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
367
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
368
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
368
369
|
variables?: Array<VariableItem> | undefined;
|
|
369
370
|
evalMode?: boolean | undefined;
|
|
370
371
|
} & {} & {
|
|
@@ -379,7 +380,7 @@ declare const _default: {
|
|
|
379
380
|
ComposedComponent: typeof FormulaEditor;
|
|
380
381
|
}, {}> & {
|
|
381
382
|
ComposedComponent: {
|
|
382
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
383
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
383
384
|
variables?: Array<VariableItem> | undefined;
|
|
384
385
|
evalMode?: boolean | undefined;
|
|
385
386
|
} & {} & {
|
|
@@ -391,7 +392,7 @@ declare const _default: {
|
|
|
391
392
|
getWrappedInstance(): any;
|
|
392
393
|
render(): React.JSX.Element;
|
|
393
394
|
context: unknown;
|
|
394
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
395
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
395
396
|
variables?: Array<VariableItem> | undefined;
|
|
396
397
|
evalMode?: boolean | undefined;
|
|
397
398
|
} & {} & {
|
|
@@ -399,7 +400,7 @@ declare const _default: {
|
|
|
399
400
|
translate?: (str: string, ...args: any[]) => string;
|
|
400
401
|
}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
401
402
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
402
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
403
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
403
404
|
variables?: Array<VariableItem> | undefined;
|
|
404
405
|
evalMode?: boolean | undefined;
|
|
405
406
|
} & {} & {
|
|
@@ -411,7 +412,7 @@ declare const _default: {
|
|
|
411
412
|
[key: string]: React.ReactInstance;
|
|
412
413
|
};
|
|
413
414
|
componentDidMount?(): void;
|
|
414
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
415
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
415
416
|
variables?: Array<VariableItem> | undefined;
|
|
416
417
|
evalMode?: boolean | undefined;
|
|
417
418
|
} & {} & {
|
|
@@ -420,14 +421,14 @@ declare const _default: {
|
|
|
420
421
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
421
422
|
componentWillUnmount?(): void;
|
|
422
423
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
423
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
424
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
424
425
|
variables?: Array<VariableItem> | undefined;
|
|
425
426
|
evalMode?: boolean | undefined;
|
|
426
427
|
} & {} & {
|
|
427
428
|
locale?: string;
|
|
428
429
|
translate?: (str: string, ...args: any[]) => string;
|
|
429
430
|
}>, prevState: Readonly<{}>): any;
|
|
430
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
431
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
431
432
|
variables?: Array<VariableItem> | undefined;
|
|
432
433
|
evalMode?: boolean | undefined;
|
|
433
434
|
} & {} & {
|
|
@@ -436,28 +437,28 @@ declare const _default: {
|
|
|
436
437
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
437
438
|
componentWillMount?(): void;
|
|
438
439
|
UNSAFE_componentWillMount?(): void;
|
|
439
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
440
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
440
441
|
variables?: Array<VariableItem> | undefined;
|
|
441
442
|
evalMode?: boolean | undefined;
|
|
442
443
|
} & {} & {
|
|
443
444
|
locale?: string;
|
|
444
445
|
translate?: (str: string, ...args: any[]) => string;
|
|
445
446
|
}>, nextContext: any): void;
|
|
446
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
447
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
447
448
|
variables?: Array<VariableItem> | undefined;
|
|
448
449
|
evalMode?: boolean | undefined;
|
|
449
450
|
} & {} & {
|
|
450
451
|
locale?: string;
|
|
451
452
|
translate?: (str: string, ...args: any[]) => string;
|
|
452
453
|
}>, nextContext: any): void;
|
|
453
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
454
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
454
455
|
variables?: Array<VariableItem> | undefined;
|
|
455
456
|
evalMode?: boolean | undefined;
|
|
456
457
|
} & {} & {
|
|
457
458
|
locale?: string;
|
|
458
459
|
translate?: (str: string, ...args: any[]) => string;
|
|
459
460
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
460
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "
|
|
461
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "onChange" | "className" | "header" | "style" | "value" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "variableMode" | "functions" | "editorOptions" | "selfVariableName" | "simplifyMemberOprs" | "variableClassName" | "functionClassName" | "enableRunPanel"> & {
|
|
461
462
|
variables?: Array<VariableItem> | undefined;
|
|
462
463
|
evalMode?: boolean | undefined;
|
|
463
464
|
} & {} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v7.0.0-next.1
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -39,6 +39,7 @@ var FormulaEditor = /** @class */ (function (_super) {
|
|
|
39
39
|
};
|
|
40
40
|
_this.unmounted = false;
|
|
41
41
|
_this.editor = React__default.createRef();
|
|
42
|
+
_this.transitionRef = React__default.createRef();
|
|
42
43
|
_this.runCode = debounce(_this.runCode.bind(_this), 250, {
|
|
43
44
|
leading: false,
|
|
44
45
|
trailing: true
|
|
@@ -339,8 +340,8 @@ var FormulaEditor = /** @class */ (function (_super) {
|
|
|
339
340
|
React__default.createElement("span", null, __('FormulaEditor.sourceMode')),
|
|
340
341
|
React__default.createElement(Switch, { value: isCodeMode, onChange: this.handleIsCodeModeChange }))),
|
|
341
342
|
React__default.createElement(CodeEditor, { evalMode: evalMode, functions: functions, variables: variables, className: cx('FormulaEditor-editor'), value: value, onChange: this.handleOnChange, ref: this.editor, onFocus: this.handleFocus, onBlur: this.handleBlur, autoFocus: true }),
|
|
342
|
-
React__default.createElement(Transition, { mountOnEnter: true, unmountOnExit: true, key: "run-panel", in: showRunPanel, timeout: 300 }, function (status) {
|
|
343
|
-
return (React__default.createElement("div", { className: cx("FormulaEditor-runPanel", collapseStyles[status]) },
|
|
343
|
+
React__default.createElement(Transition, { mountOnEnter: true, unmountOnExit: true, key: "run-panel", in: showRunPanel, timeout: 300, nodeRef: this.transitionRef }, function (status) {
|
|
344
|
+
return (React__default.createElement("div", { ref: _this.transitionRef, className: cx("FormulaEditor-runPanel", collapseStyles[status]) },
|
|
344
345
|
React__default.createElement("div", { className: cx("FormulaEditor-runPanel-context") },
|
|
345
346
|
React__default.createElement("header", null, __('FormulaEditor.runContext')),
|
|
346
347
|
React__default.createElement("div", null,
|