amis-ui 2.8.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/_virtual/index.js +1 -1
- package/esm/_virtual/react-is.development.js +1 -1
- package/esm/_virtual/react-is.production.min.js +1 -1
- package/esm/components/404.d.ts +3 -4
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +291 -295
- package/esm/components/Alert.js +18 -10
- package/esm/components/Alert2.d.ts +62 -13
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +55 -17
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +205 -213
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +62 -64
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +325 -333
- package/esm/components/AssociatedSelection.js +3 -3
- package/esm/components/Avatar.d.ts +222 -14
- package/esm/components/Avatar.js +2 -2
- package/esm/components/Badge.d.ts +7 -10
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +2 -4
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +2 -4
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +2 -4
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +82 -14
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +125 -53
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +360 -12
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +2 -4
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.d.ts +326 -333
- package/esm/components/ChainedSelection.js +18 -2
- package/esm/components/Checkbox.d.ts +52 -13
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.d.ts +5 -13
- 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 +323 -13
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +132 -13
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +245 -253
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +8 -13
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +164 -172
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +2 -4
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +285 -294
- package/esm/components/DatePicker.js +2 -3
- package/esm/components/DateRangePicker.d.ts +608 -579
- package/esm/components/DateRangePicker.js +11 -7
- package/esm/components/DndContainer.d.ts +44 -132
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +72 -13
- package/esm/components/Drawer.js +2 -2
- package/esm/components/Editor.d.ts +405 -333
- package/esm/components/Editor.js +25 -23
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +16 -20
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.d.ts +89 -0
- package/esm/components/GaodeMapPicker.js +204 -0
- package/esm/components/GridNav.d.ts +1 -0
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +326 -333
- package/esm/components/GroupedSelection.js +18 -3
- package/esm/components/Html.d.ts +32 -33
- package/esm/components/Html.js +3 -3
- package/esm/components/ImageGallery.d.ts +130 -55
- package/esm/components/ImageGallery.js +5 -3
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +42 -44
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +5 -13
- package/esm/components/InputBoxWithSuggestion.js +7 -5
- package/esm/components/InputTable.d.ts +5 -13
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.d.ts +71 -73
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +3 -5
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +31 -33
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +246 -253
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +165 -173
- package/esm/components/LocationPicker.js +14 -2
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +217 -238
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +445 -453
- package/esm/components/MultilineText.d.ts +205 -213
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +74 -15
- package/esm/components/NumberInput.js +10 -5
- package/esm/components/Pagination.d.ts +325 -333
- package/esm/components/Pagination.js +1 -1
- package/esm/components/Picker.d.ts +5 -13
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +8 -5
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +5 -13
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.d.ts +1 -1
- package/esm/components/PopOverContainer.js +9 -7
- package/esm/components/PopUp.d.ts +326 -333
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +241 -13
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +3 -4
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +101 -103
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +24 -9
- package/esm/components/Range.js +35 -4
- package/esm/components/Rating.d.ts +132 -114
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +245 -53
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +285 -53
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +405 -413
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +165 -53
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.d.ts +1 -0
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +325 -333
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +4471 -4509
- package/esm/components/Select.js +7 -5
- package/esm/components/Selection.d.ts +328 -333
- package/esm/components/Selection.js +11 -4
- package/esm/components/SparkLine.d.ts +165 -173
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +161 -123
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +4 -6
- package/esm/components/Steps.js +4 -2
- package/esm/components/Switch.d.ts +41 -43
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +408 -416
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +370 -60
- package/esm/components/Tabs.js +4 -2
- package/esm/components/TabsTransfer.d.ts +166 -173
- package/esm/components/TabsTransfer.js +4 -4
- package/esm/components/TabsTransferPicker.d.ts +5 -13
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +204 -17
- package/esm/components/Tag.js +20 -4
- package/esm/components/Textarea.d.ts +285 -293
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +2 -4
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +5 -13
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +71 -63
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +287 -53
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +3 -4
- package/esm/components/Tooltip.js +3 -3
- package/esm/components/TooltipWrapper.d.ts +73 -16
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.d.ts +375 -135
- package/esm/components/Transfer.js +10 -14
- package/esm/components/TransferDropDown.d.ts +325 -53
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +5 -13
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +5 -13
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +1455 -1457
- package/esm/components/Tree.js +94 -33
- package/esm/components/TreeSelection.d.ts +365 -373
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +205 -213
- package/esm/components/UserSelect.js +4 -1
- package/esm/components/UserTabSelect.d.ts +45 -53
- package/esm/components/UserTabSelect.js +4 -1
- package/esm/components/WithRemoteConfig.d.ts +8 -17
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.d.ts +4 -8
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -0
- package/esm/components/calendar/Calendar.js +3 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +1 -3
- package/esm/components/calendar/DaysView.js +3 -3
- package/esm/components/calendar/MonthsView.d.ts +2 -4
- package/esm/components/calendar/MonthsView.js +8 -8
- package/esm/components/calendar/QuartersView.d.ts +1 -3
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +1 -3
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +1 -3
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +7 -14
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +5 -13
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +5 -13
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +7 -14
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +7 -15
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +4 -5
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +2 -4
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +8 -15
- package/esm/components/condition-builder/Item.js +7 -7
- package/esm/components/condition-builder/Value.d.ts +7 -14
- package/esm/components/condition-builder/Value.js +3 -12
- package/esm/components/condition-builder/config.d.ts +2 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +7 -14
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/condition-builder/types.d.ts +2 -39
- package/esm/components/formula/Editor.d.ts +165 -53
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.d.ts +2 -4
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +125 -133
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.d.ts +2 -4
- package/esm/components/formula/VariableList.js +4 -4
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.d.ts +2 -2
- package/esm/components/icons.js +1 -1
- package/esm/components/index.d.ts +6 -1
- package/esm/components/json-schema/Array.d.ts +0 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +0 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +0 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +5 -13
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +3 -8
- package/esm/components/menu/MenuItem.js +12 -26
- package/esm/components/menu/SubMenu.d.ts +2 -7
- package/esm/components/menu/SubMenu.js +15 -29
- package/esm/components/menu/index.d.ts +146 -18
- package/esm/components/menu/index.js +17 -15
- package/esm/components/schema-editor/Array.d.ts +0 -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.d.ts +0 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.d.ts +7 -15
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +7 -15
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +525 -53
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +245 -253
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +6 -14
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +166 -174
- package/esm/components/table/HeadCellFilter.js +8 -3
- package/esm/components/table/HeadCellSelect.d.ts +126 -134
- package/esm/components/table/HeadCellSelect.js +4 -2
- package/esm/components/table/HeadCellSort.d.ts +5 -13
- package/esm/components/table/HeadCellSort.js +5 -5
- package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +368 -376
- package/esm/components/table/index.js +106 -71
- 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 +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +2 -2
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.d.ts +3 -0
- package/esm/index.js +5 -1
- package/esm/locale/de-DE.js +5 -2
- package/esm/locale/en-US.js +6 -2
- package/esm/locale/zh-CN.js +7 -3
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/esm/node_modules/rc-overflow/es/Item.js +21 -31
- package/esm/node_modules/rc-overflow/es/Overflow.js +82 -125
- package/esm/node_modules/rc-overflow/es/RawItem.js +10 -16
- package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +20 -0
- package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +53 -0
- package/esm/node_modules/rc-overflow/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +9 -3
- package/esm/node_modules/rc-util/es/hooks/useEvent.js +21 -0
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +1 -1
- package/esm/node_modules/rc-util/es/warning.js +8 -2
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/_virtual/index.js +1 -1
- package/lib/_virtual/react-is.development.js +1 -1
- package/lib/_virtual/react-is.production.min.js +1 -1
- package/lib/components/404.d.ts +3 -4
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +291 -295
- package/lib/components/Alert.js +18 -10
- package/lib/components/Alert2.d.ts +62 -13
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +55 -17
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +205 -213
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +62 -64
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +325 -333
- package/lib/components/AssociatedSelection.js +3 -3
- package/lib/components/Avatar.d.ts +222 -14
- package/lib/components/Avatar.js +2 -2
- package/lib/components/Badge.d.ts +7 -10
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +2 -4
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +2 -4
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +2 -4
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +82 -14
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +125 -53
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +360 -12
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +2 -4
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +326 -333
- package/lib/components/ChainedSelection.js +18 -2
- package/lib/components/Checkbox.d.ts +52 -13
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +5 -13
- 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 +323 -13
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +132 -13
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +245 -253
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +8 -13
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +164 -172
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +2 -4
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +285 -294
- package/lib/components/DatePicker.js +2 -3
- package/lib/components/DateRangePicker.d.ts +608 -579
- package/lib/components/DateRangePicker.js +11 -7
- package/lib/components/DndContainer.d.ts +44 -132
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +72 -13
- package/lib/components/Drawer.js +2 -2
- package/lib/components/Editor.d.ts +405 -333
- package/lib/components/Editor.js +25 -23
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +16 -20
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.d.ts +89 -0
- package/lib/components/GaodeMapPicker.js +214 -0
- package/lib/components/GridNav.d.ts +1 -0
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +326 -333
- package/lib/components/GroupedSelection.js +18 -3
- package/lib/components/Html.d.ts +32 -33
- package/lib/components/Html.js +3 -3
- package/lib/components/ImageGallery.d.ts +130 -55
- package/lib/components/ImageGallery.js +5 -3
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +42 -44
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +5 -13
- package/lib/components/InputBoxWithSuggestion.js +7 -5
- package/lib/components/InputTable.d.ts +5 -13
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +71 -73
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +3 -5
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +31 -33
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +246 -253
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +165 -173
- package/lib/components/LocationPicker.js +14 -2
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +217 -238
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +445 -453
- package/lib/components/MultilineText.d.ts +205 -213
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +74 -15
- package/lib/components/NumberInput.js +10 -5
- package/lib/components/Pagination.d.ts +325 -333
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Picker.d.ts +5 -13
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +8 -5
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +5 -13
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.d.ts +1 -1
- package/lib/components/PopOverContainer.js +10 -7
- package/lib/components/PopUp.d.ts +326 -333
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +241 -13
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +3 -4
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +101 -103
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +24 -9
- package/lib/components/Range.js +35 -4
- package/lib/components/Rating.d.ts +132 -114
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +245 -53
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +285 -53
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +405 -413
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +165 -53
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.d.ts +1 -0
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +325 -333
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +4471 -4509
- package/lib/components/Select.js +7 -5
- package/lib/components/Selection.d.ts +328 -333
- package/lib/components/Selection.js +10 -3
- package/lib/components/SparkLine.d.ts +165 -173
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +161 -123
- package/lib/components/Spinner.js +3 -3
- package/lib/components/Steps.d.ts +4 -6
- package/lib/components/Steps.js +4 -2
- package/lib/components/Switch.d.ts +41 -43
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +408 -416
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +370 -60
- package/lib/components/Tabs.js +4 -2
- package/lib/components/TabsTransfer.d.ts +166 -173
- package/lib/components/TabsTransfer.js +3 -3
- package/lib/components/TabsTransferPicker.d.ts +5 -13
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +204 -17
- package/lib/components/Tag.js +20 -4
- package/lib/components/Textarea.d.ts +285 -293
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +2 -4
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +5 -13
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +71 -63
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +287 -53
- package/lib/components/Toast.js +5 -5
- package/lib/components/Tooltip.d.ts +3 -4
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/TooltipWrapper.d.ts +73 -16
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.d.ts +375 -135
- package/lib/components/Transfer.js +9 -13
- package/lib/components/TransferDropDown.d.ts +325 -53
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +5 -13
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +5 -13
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +1455 -1457
- package/lib/components/Tree.js +93 -32
- package/lib/components/TreeSelection.d.ts +365 -373
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +205 -213
- package/lib/components/UserSelect.js +4 -1
- package/lib/components/UserTabSelect.d.ts +45 -53
- package/lib/components/UserTabSelect.js +4 -1
- package/lib/components/WithRemoteConfig.d.ts +8 -17
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.d.ts +4 -8
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -0
- package/lib/components/calendar/Calendar.js +3 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +1 -3
- package/lib/components/calendar/DaysView.js +3 -3
- package/lib/components/calendar/MonthsView.d.ts +2 -4
- package/lib/components/calendar/MonthsView.js +7 -7
- package/lib/components/calendar/QuartersView.d.ts +1 -3
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +1 -3
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +1 -3
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +7 -14
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +5 -13
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +5 -13
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +7 -14
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +7 -15
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +4 -5
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +2 -4
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +8 -15
- package/lib/components/condition-builder/Item.js +6 -6
- package/lib/components/condition-builder/Value.d.ts +7 -14
- package/lib/components/condition-builder/Value.js +3 -12
- package/lib/components/condition-builder/config.d.ts +2 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +7 -14
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/condition-builder/types.d.ts +2 -39
- package/lib/components/formula/Editor.d.ts +165 -53
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.d.ts +2 -4
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +125 -133
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.d.ts +2 -4
- package/lib/components/formula/VariableList.js +3 -3
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.d.ts +2 -2
- package/lib/components/icons.js +1 -1
- package/lib/components/index.d.ts +6 -1
- package/lib/components/json-schema/Array.d.ts +0 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +0 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +0 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +5 -13
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +3 -8
- package/lib/components/menu/MenuItem.js +12 -26
- package/lib/components/menu/SubMenu.d.ts +2 -7
- package/lib/components/menu/SubMenu.js +15 -29
- package/lib/components/menu/index.d.ts +146 -18
- package/lib/components/menu/index.js +17 -15
- package/lib/components/schema-editor/Array.d.ts +0 -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.d.ts +0 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.d.ts +7 -15
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +7 -15
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +525 -53
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +245 -253
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +6 -14
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +166 -174
- package/lib/components/table/HeadCellFilter.js +8 -3
- package/lib/components/table/HeadCellSelect.d.ts +126 -134
- package/lib/components/table/HeadCellSelect.js +4 -2
- package/lib/components/table/HeadCellSort.d.ts +5 -13
- package/lib/components/table/HeadCellSort.js +5 -5
- package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +368 -376
- package/lib/components/table/index.js +106 -71
- 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/helper.css +9569 -1234
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +2 -2
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +9 -1
- package/lib/locale/de-DE.js +5 -2
- package/lib/locale/en-US.js +6 -2
- package/lib/locale/zh-CN.js +7 -3
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/lib/node_modules/rc-overflow/es/Item.js +21 -31
- package/lib/node_modules/rc-overflow/es/Overflow.js +82 -125
- package/lib/node_modules/rc-overflow/es/RawItem.js +10 -16
- package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +24 -0
- package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +78 -0
- package/lib/node_modules/rc-overflow/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +9 -2
- package/lib/node_modules/rc-util/es/hooks/useEvent.js +45 -0
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +1 -1
- package/lib/node_modules/rc-util/es/warning.js +8 -2
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +3300 -2129
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +3300 -2129
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +3300 -2129
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +3300 -2129
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +3300 -2129
- package/package.json +7 -7
- package/scss/_components.scss +1339 -158
- package/scss/_mixins.scss +1 -2
- package/scss/_properties.scss +5 -374
- package/scss/_variables.scss +1 -0
- package/scss/base/_common.scss +4 -0
- package/scss/components/_alert.scss +30 -9
- package/scss/components/_badge.scss +10 -3
- package/scss/components/_button-group.scss +35 -14
- package/scss/components/_calendar.scss +17 -1
- package/scss/components/_carousel.scss +9 -0
- package/scss/components/_collapse.scss +1 -1
- package/scss/components/_column-toggler.scss +5 -2
- package/scss/components/_condition-builder.scss +38 -22
- package/scss/components/_crud.scss +21 -5
- package/scss/components/_crud2.scss +21 -5
- package/scss/components/_drawer.scss +20 -12
- package/scss/components/_dropdown.scss +5 -0
- package/scss/components/_image-gallery.scss +9 -6
- package/scss/components/_images.scss +13 -5
- package/scss/components/_link.scss +2 -0
- package/scss/components/_menu.scss +245 -693
- package/scss/components/_modal.scss +23 -13
- package/scss/components/_nav.scss +6 -354
- package/scss/components/_progress.scss +11 -2
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_spinner.scss +9 -7
- package/scss/components/_status.scss +27 -11
- package/scss/components/_steps.scss +80 -36
- package/scss/components/_table2.scss +84 -40
- package/scss/components/_tag.scss +42 -36
- package/scss/components/_timeline.scss +20 -9
- package/scss/components/_toast.scss +64 -12
- package/scss/components/_wizard.scss +13 -7
- package/scss/components/form/_checks.scss +17 -3
- package/scss/components/form/_color.scss +5 -0
- package/scss/components/form/_combo.scss +28 -18
- package/scss/components/form/_date-range.scss +6 -0
- package/scss/components/form/_date.scss +9 -1
- package/scss/components/form/_fieldset.scss +62 -28
- package/scss/components/form/_form.scss +16 -0
- package/scss/components/form/_icon-picker.scss +2 -1
- package/scss/components/form/_icon-select.scss +18 -0
- package/scss/components/form/_image.scss +43 -7
- package/scss/components/form/_location.scss +6 -1
- package/scss/components/form/_number.scss +65 -10
- package/scss/components/form/_picker.scss +111 -12
- package/scss/components/form/_range.scss +6 -0
- package/scss/components/form/_rich-text.scss +81 -35
- package/scss/components/form/_select.scss +3 -5
- package/scss/components/form/_selection.scss +9 -0
- package/scss/components/form/_tag.scss +56 -6
- package/scss/components/form/_text.scss +8 -1
- package/scss/components/form/_transfer.scss +18 -26
- package/scss/components/form/_tree.scss +55 -23
- package/esm/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +0 -51
- package/esm/node_modules/rc-util/es/hooks/useState.js +0 -35
- package/lib/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +0 -55
- package/lib/node_modules/rc-util/es/hooks/useState.js +0 -59
|
@@ -97,7 +97,10 @@ export declare class FormulaEditor extends React.Component<FormulaEditorProps, F
|
|
|
97
97
|
render(): JSX.Element;
|
|
98
98
|
}
|
|
99
99
|
declare const _default: {
|
|
100
|
-
new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
100
|
+
new (props: Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
101
|
+
variables?: VariableItem[] | undefined;
|
|
102
|
+
evalMode?: boolean | undefined;
|
|
103
|
+
} & {} & {
|
|
101
104
|
locale?: string | undefined;
|
|
102
105
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
103
106
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps): {
|
|
@@ -105,52 +108,77 @@ declare const _default: {
|
|
|
105
108
|
childRef(ref: any): void;
|
|
106
109
|
getWrappedInstance(): any;
|
|
107
110
|
render(): JSX.Element;
|
|
108
|
-
context:
|
|
109
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
111
|
+
context: unknown;
|
|
112
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
113
|
+
variables?: VariableItem[] | undefined;
|
|
114
|
+
evalMode?: boolean | undefined;
|
|
115
|
+
} & {} & {
|
|
110
116
|
locale?: string | undefined;
|
|
111
117
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
112
118
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
113
119
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
114
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
120
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
121
|
+
variables?: VariableItem[] | undefined;
|
|
122
|
+
evalMode?: boolean | undefined;
|
|
123
|
+
} & {} & {
|
|
115
124
|
locale?: string | undefined;
|
|
116
125
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
117
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps
|
|
118
|
-
children?: React.ReactNode;
|
|
119
|
-
}>;
|
|
126
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>;
|
|
120
127
|
state: Readonly<{}>;
|
|
121
128
|
refs: {
|
|
122
129
|
[key: string]: React.ReactInstance;
|
|
123
130
|
};
|
|
124
131
|
componentDidMount?(): void;
|
|
125
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
132
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
133
|
+
variables?: VariableItem[] | undefined;
|
|
134
|
+
evalMode?: boolean | undefined;
|
|
135
|
+
} & {} & {
|
|
126
136
|
locale?: string | undefined;
|
|
127
137
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
128
138
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
129
139
|
componentWillUnmount?(): void;
|
|
130
140
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
131
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
141
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
142
|
+
variables?: VariableItem[] | undefined;
|
|
143
|
+
evalMode?: boolean | undefined;
|
|
144
|
+
} & {} & {
|
|
132
145
|
locale?: string | undefined;
|
|
133
146
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
134
147
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
135
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
148
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
149
|
+
variables?: VariableItem[] | undefined;
|
|
150
|
+
evalMode?: boolean | undefined;
|
|
151
|
+
} & {} & {
|
|
136
152
|
locale?: string | undefined;
|
|
137
153
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
138
154
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
139
155
|
componentWillMount?(): void;
|
|
140
156
|
UNSAFE_componentWillMount?(): void;
|
|
141
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
157
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
158
|
+
variables?: VariableItem[] | undefined;
|
|
159
|
+
evalMode?: boolean | undefined;
|
|
160
|
+
} & {} & {
|
|
142
161
|
locale?: string | undefined;
|
|
143
162
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
144
163
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
145
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
164
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
165
|
+
variables?: VariableItem[] | undefined;
|
|
166
|
+
evalMode?: boolean | undefined;
|
|
167
|
+
} & {} & {
|
|
146
168
|
locale?: string | undefined;
|
|
147
169
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
148
170
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
149
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
171
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
172
|
+
variables?: VariableItem[] | undefined;
|
|
173
|
+
evalMode?: boolean | undefined;
|
|
174
|
+
} & {} & {
|
|
150
175
|
locale?: string | undefined;
|
|
151
176
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
152
177
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
153
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
178
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
179
|
+
variables?: VariableItem[] | undefined;
|
|
180
|
+
evalMode?: boolean | undefined;
|
|
181
|
+
} & {} & {
|
|
154
182
|
locale?: string | undefined;
|
|
155
183
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
156
184
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -158,7 +186,10 @@ declare const _default: {
|
|
|
158
186
|
displayName: string;
|
|
159
187
|
contextType: React.Context<string>;
|
|
160
188
|
ComposedComponent: React.ComponentType<{
|
|
161
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
189
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
190
|
+
variables?: VariableItem[] | undefined;
|
|
191
|
+
evalMode?: boolean | undefined;
|
|
192
|
+
} & {} & {
|
|
162
193
|
locale?: string | undefined;
|
|
163
194
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
164
195
|
}): {
|
|
@@ -166,52 +197,77 @@ declare const _default: {
|
|
|
166
197
|
childRef(ref: any): void;
|
|
167
198
|
getWrappedInstance(): any;
|
|
168
199
|
render(): JSX.Element;
|
|
169
|
-
context:
|
|
170
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
200
|
+
context: unknown;
|
|
201
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
202
|
+
variables?: VariableItem[] | undefined;
|
|
203
|
+
evalMode?: boolean | undefined;
|
|
204
|
+
} & {} & {
|
|
171
205
|
locale?: string | undefined;
|
|
172
206
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
173
207
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
174
208
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
175
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
209
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
210
|
+
variables?: VariableItem[] | undefined;
|
|
211
|
+
evalMode?: boolean | undefined;
|
|
212
|
+
} & {} & {
|
|
176
213
|
locale?: string | undefined;
|
|
177
214
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
178
|
-
}> & Readonly<{
|
|
179
|
-
children?: React.ReactNode;
|
|
180
215
|
}>;
|
|
181
216
|
state: Readonly<{}>;
|
|
182
217
|
refs: {
|
|
183
218
|
[key: string]: React.ReactInstance;
|
|
184
219
|
};
|
|
185
220
|
componentDidMount?(): void;
|
|
186
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
221
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
222
|
+
variables?: VariableItem[] | undefined;
|
|
223
|
+
evalMode?: boolean | undefined;
|
|
224
|
+
} & {} & {
|
|
187
225
|
locale?: string | undefined;
|
|
188
226
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
189
227
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
190
228
|
componentWillUnmount?(): void;
|
|
191
229
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
192
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
230
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
231
|
+
variables?: VariableItem[] | undefined;
|
|
232
|
+
evalMode?: boolean | undefined;
|
|
233
|
+
} & {} & {
|
|
193
234
|
locale?: string | undefined;
|
|
194
235
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
195
236
|
}>, prevState: Readonly<{}>): any;
|
|
196
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
237
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
238
|
+
variables?: VariableItem[] | undefined;
|
|
239
|
+
evalMode?: boolean | undefined;
|
|
240
|
+
} & {} & {
|
|
197
241
|
locale?: string | undefined;
|
|
198
242
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
199
243
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
200
244
|
componentWillMount?(): void;
|
|
201
245
|
UNSAFE_componentWillMount?(): void;
|
|
202
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
246
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
247
|
+
variables?: VariableItem[] | undefined;
|
|
248
|
+
evalMode?: boolean | undefined;
|
|
249
|
+
} & {} & {
|
|
203
250
|
locale?: string | undefined;
|
|
204
251
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
205
252
|
}>, nextContext: any): void;
|
|
206
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
253
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
254
|
+
variables?: VariableItem[] | undefined;
|
|
255
|
+
evalMode?: boolean | undefined;
|
|
256
|
+
} & {} & {
|
|
207
257
|
locale?: string | undefined;
|
|
208
258
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
209
259
|
}>, nextContext: any): void;
|
|
210
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
260
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
261
|
+
variables?: VariableItem[] | undefined;
|
|
262
|
+
evalMode?: boolean | undefined;
|
|
263
|
+
} & {} & {
|
|
211
264
|
locale?: string | undefined;
|
|
212
265
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
213
266
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
214
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
267
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
268
|
+
variables?: VariableItem[] | undefined;
|
|
269
|
+
evalMode?: boolean | undefined;
|
|
270
|
+
} & {} & {
|
|
215
271
|
locale?: string | undefined;
|
|
216
272
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
217
273
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -223,7 +279,10 @@ declare const _default: {
|
|
|
223
279
|
ComposedComponent: typeof FormulaEditor;
|
|
224
280
|
}>;
|
|
225
281
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
226
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
282
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
283
|
+
variables?: VariableItem[] | undefined;
|
|
284
|
+
evalMode?: boolean | undefined;
|
|
285
|
+
} & {} & {
|
|
227
286
|
locale?: string | undefined;
|
|
228
287
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
229
288
|
}): {
|
|
@@ -231,52 +290,77 @@ declare const _default: {
|
|
|
231
290
|
childRef(ref: any): void;
|
|
232
291
|
getWrappedInstance(): any;
|
|
233
292
|
render(): JSX.Element;
|
|
234
|
-
context:
|
|
235
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
293
|
+
context: unknown;
|
|
294
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
295
|
+
variables?: VariableItem[] | undefined;
|
|
296
|
+
evalMode?: boolean | undefined;
|
|
297
|
+
} & {} & {
|
|
236
298
|
locale?: string | undefined;
|
|
237
299
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
238
300
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
239
301
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
240
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
302
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
303
|
+
variables?: VariableItem[] | undefined;
|
|
304
|
+
evalMode?: boolean | undefined;
|
|
305
|
+
} & {} & {
|
|
241
306
|
locale?: string | undefined;
|
|
242
307
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
243
|
-
}> & Readonly<{
|
|
244
|
-
children?: React.ReactNode;
|
|
245
308
|
}>;
|
|
246
309
|
state: Readonly<{}>;
|
|
247
310
|
refs: {
|
|
248
311
|
[key: string]: React.ReactInstance;
|
|
249
312
|
};
|
|
250
313
|
componentDidMount?(): void;
|
|
251
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
314
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
315
|
+
variables?: VariableItem[] | undefined;
|
|
316
|
+
evalMode?: boolean | undefined;
|
|
317
|
+
} & {} & {
|
|
252
318
|
locale?: string | undefined;
|
|
253
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
254
320
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
255
321
|
componentWillUnmount?(): void;
|
|
256
322
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
257
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
323
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
324
|
+
variables?: VariableItem[] | undefined;
|
|
325
|
+
evalMode?: boolean | undefined;
|
|
326
|
+
} & {} & {
|
|
258
327
|
locale?: string | undefined;
|
|
259
328
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
260
329
|
}>, prevState: Readonly<{}>): any;
|
|
261
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
330
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
331
|
+
variables?: VariableItem[] | undefined;
|
|
332
|
+
evalMode?: boolean | undefined;
|
|
333
|
+
} & {} & {
|
|
262
334
|
locale?: string | undefined;
|
|
263
335
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
264
336
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
265
337
|
componentWillMount?(): void;
|
|
266
338
|
UNSAFE_componentWillMount?(): void;
|
|
267
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
339
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
340
|
+
variables?: VariableItem[] | undefined;
|
|
341
|
+
evalMode?: boolean | undefined;
|
|
342
|
+
} & {} & {
|
|
268
343
|
locale?: string | undefined;
|
|
269
344
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
270
345
|
}>, nextContext: any): void;
|
|
271
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
346
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
347
|
+
variables?: VariableItem[] | undefined;
|
|
348
|
+
evalMode?: boolean | undefined;
|
|
349
|
+
} & {} & {
|
|
272
350
|
locale?: string | undefined;
|
|
273
351
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
274
352
|
}>, nextContext: any): void;
|
|
275
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
353
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
354
|
+
variables?: VariableItem[] | undefined;
|
|
355
|
+
evalMode?: boolean | undefined;
|
|
356
|
+
} & {} & {
|
|
276
357
|
locale?: string | undefined;
|
|
277
358
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
278
359
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
279
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
360
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
361
|
+
variables?: VariableItem[] | undefined;
|
|
362
|
+
evalMode?: boolean | undefined;
|
|
363
|
+
} & {} & {
|
|
280
364
|
locale?: string | undefined;
|
|
281
365
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
282
366
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -288,7 +372,10 @@ declare const _default: {
|
|
|
288
372
|
ComposedComponent: typeof FormulaEditor;
|
|
289
373
|
}, {}> & {
|
|
290
374
|
ComposedComponent: {
|
|
291
|
-
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
375
|
+
new (props: Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
376
|
+
variables?: VariableItem[] | undefined;
|
|
377
|
+
evalMode?: boolean | undefined;
|
|
378
|
+
} & {} & {
|
|
292
379
|
locale?: string | undefined;
|
|
293
380
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
294
381
|
}): {
|
|
@@ -296,52 +383,77 @@ declare const _default: {
|
|
|
296
383
|
childRef(ref: any): void;
|
|
297
384
|
getWrappedInstance(): any;
|
|
298
385
|
render(): JSX.Element;
|
|
299
|
-
context:
|
|
300
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
386
|
+
context: unknown;
|
|
387
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
388
|
+
variables?: VariableItem[] | undefined;
|
|
389
|
+
evalMode?: boolean | undefined;
|
|
390
|
+
} & {} & {
|
|
301
391
|
locale?: string | undefined;
|
|
302
392
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
303
393
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
304
394
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
305
|
-
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
395
|
+
readonly props: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
396
|
+
variables?: VariableItem[] | undefined;
|
|
397
|
+
evalMode?: boolean | undefined;
|
|
398
|
+
} & {} & {
|
|
306
399
|
locale?: string | undefined;
|
|
307
400
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
308
|
-
}> & Readonly<{
|
|
309
|
-
children?: React.ReactNode;
|
|
310
401
|
}>;
|
|
311
402
|
state: Readonly<{}>;
|
|
312
403
|
refs: {
|
|
313
404
|
[key: string]: React.ReactInstance;
|
|
314
405
|
};
|
|
315
406
|
componentDidMount?(): void;
|
|
316
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
407
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
408
|
+
variables?: VariableItem[] | undefined;
|
|
409
|
+
evalMode?: boolean | undefined;
|
|
410
|
+
} & {} & {
|
|
317
411
|
locale?: string | undefined;
|
|
318
412
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
319
413
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
320
414
|
componentWillUnmount?(): void;
|
|
321
415
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
322
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
416
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
417
|
+
variables?: VariableItem[] | undefined;
|
|
418
|
+
evalMode?: boolean | undefined;
|
|
419
|
+
} & {} & {
|
|
323
420
|
locale?: string | undefined;
|
|
324
421
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
325
422
|
}>, prevState: Readonly<{}>): any;
|
|
326
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
423
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
424
|
+
variables?: VariableItem[] | undefined;
|
|
425
|
+
evalMode?: boolean | undefined;
|
|
426
|
+
} & {} & {
|
|
327
427
|
locale?: string | undefined;
|
|
328
428
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
329
429
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
330
430
|
componentWillMount?(): void;
|
|
331
431
|
UNSAFE_componentWillMount?(): void;
|
|
332
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
432
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
433
|
+
variables?: VariableItem[] | undefined;
|
|
434
|
+
evalMode?: boolean | undefined;
|
|
435
|
+
} & {} & {
|
|
333
436
|
locale?: string | undefined;
|
|
334
437
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
335
438
|
}>, nextContext: any): void;
|
|
336
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
439
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
440
|
+
variables?: VariableItem[] | undefined;
|
|
441
|
+
evalMode?: boolean | undefined;
|
|
442
|
+
} & {} & {
|
|
337
443
|
locale?: string | undefined;
|
|
338
444
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
339
445
|
}>, nextContext: any): void;
|
|
340
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
446
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
447
|
+
variables?: VariableItem[] | undefined;
|
|
448
|
+
evalMode?: boolean | undefined;
|
|
449
|
+
} & {} & {
|
|
341
450
|
locale?: string | undefined;
|
|
342
451
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
343
452
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
344
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> &
|
|
453
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classPrefix" | "classnames" | "className" | "style" | "theme" | "header" | "value" | "onChange" | "functions" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName"> & {
|
|
454
|
+
variables?: VariableItem[] | undefined;
|
|
455
|
+
evalMode?: boolean | undefined;
|
|
456
|
+
} & {} & {
|
|
345
457
|
locale?: string | undefined;
|
|
346
458
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
347
459
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -16,12 +16,10 @@ declare const _default: {
|
|
|
16
16
|
childRef(ref: any): void;
|
|
17
17
|
getWrappedInstance(): any;
|
|
18
18
|
render(): JSX.Element;
|
|
19
|
-
context:
|
|
19
|
+
context: unknown;
|
|
20
20
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
21
21
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
22
|
-
readonly props: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps
|
|
23
|
-
children?: React.ReactNode;
|
|
24
|
-
}>;
|
|
22
|
+
readonly props: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>;
|
|
25
23
|
state: Readonly<{}>;
|
|
26
24
|
refs: {
|
|
27
25
|
[key: string]: React.ReactInstance;
|