amis-ui 2.9.0 → 3.1.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 +2 -2
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +144 -88
- package/esm/components/Alert.js +37 -14
- package/esm/components/Alert2.d.ts +2 -2
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +5 -5
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +47 -47
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +4 -4
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +45 -45
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +2 -2
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +5 -5
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +2 -2
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +2 -2
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +6 -6
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +3 -3
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +10 -10
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +12 -12
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +5 -5
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.d.ts +48 -48
- package/esm/components/ChainedSelection.js +2 -1
- package/esm/components/Checkbox.d.ts +2 -2
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.d.ts +4 -4
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.d.ts +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +12 -12
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +2 -2
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +85 -85
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +6 -9
- package/esm/components/Combo.js +8 -2
- package/esm/components/ConfirmBox.d.ts +45 -45
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +3 -3
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +94 -91
- package/esm/components/DatePicker.js +39 -26
- package/esm/components/DateRangePicker.d.ts +305 -260
- package/esm/components/DateRangePicker.js +73 -43
- package/esm/components/DndContainer.d.ts +4 -4
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +6 -5
- package/esm/components/Drawer.js +26 -10
- package/esm/components/Editor.d.ts +5 -5
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +9 -15
- 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 +4 -4
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +46 -46
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +13 -12
- package/esm/components/Html.js +3 -3
- package/esm/components/ImageGallery.d.ts +57 -47
- package/esm/components/ImageGallery.js +8 -5
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +12 -12
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +5 -5
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.d.ts +7 -7
- package/esm/components/InputTable.js +21 -14
- package/esm/components/Layout.d.ts +13 -12
- package/esm/components/Layout.js +8 -6
- package/esm/components/Link.d.ts +2 -2
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +13 -13
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +6 -6
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +45 -45
- package/esm/components/LocationPicker.js +14 -2
- package/esm/components/Markdown.d.ts +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +33 -32
- package/esm/components/Modal.js +25 -9
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +253 -249
- package/esm/components/MultilineText.d.ts +5 -5
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +35 -24
- package/esm/components/NumberInput.js +10 -5
- package/esm/components/Pagination.d.ts +7 -28
- package/esm/components/Pagination.js +4 -3
- package/esm/components/Picker.d.ts +4 -4
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +2 -7
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +6 -5
- package/esm/components/PickerContainer.js +3 -3
- package/esm/components/PopOverContainer.d.ts +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +45 -45
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +3 -3
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +24 -24
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +16 -2
- package/esm/components/Range.js +35 -4
- package/esm/components/Rating.d.ts +5 -5
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +46 -46
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +8 -8
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +47 -47
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +7 -7
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.d.ts +2 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +8 -8
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +416 -408
- package/esm/components/Select.js +7 -6
- package/esm/components/Selection.d.ts +47 -46
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +6 -6
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +3 -3
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +5 -4
- package/esm/components/Steps.js +8 -6
- package/esm/components/Switch.d.ts +2 -2
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +53 -53
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +50 -50
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +49 -48
- package/esm/components/TabsTransfer.js +14 -14
- package/esm/components/TabsTransferPicker.d.ts +5 -5
- package/esm/components/TabsTransferPicker.js +4 -4
- package/esm/components/Tag.d.ts +5 -5
- package/esm/components/Tag.js +20 -4
- package/esm/components/Textarea.d.ts +5 -5
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +2 -2
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +5 -5
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.d.ts +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +8 -6
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +3 -2
- package/esm/components/Tooltip.js +3 -3
- package/esm/components/TooltipWrapper.d.ts +10 -2
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.d.ts +192 -152
- package/esm/components/Transfer.js +20 -18
- package/esm/components/TransferDropDown.d.ts +85 -45
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +5 -5
- package/esm/components/TransferPicker.js +4 -4
- package/esm/components/TransferSearch.d.ts +5 -5
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +91 -89
- package/esm/components/Tree.js +20 -10
- package/esm/components/TreeSelection.d.ts +46 -46
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +49 -49
- package/esm/components/UserSelect.js +7 -96
- package/esm/components/UserTabSelect.d.ts +45 -45
- package/esm/components/UserTabSelect.js +4 -95
- package/esm/components/WithRemoteConfig.d.ts +5 -5
- package/esm/components/WithRemoteConfig.js +7 -3
- package/esm/components/WithStore.d.ts +2 -2
- 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 +7 -7
- package/esm/components/calendar/DaysView.js +3 -3
- package/esm/components/calendar/MonthsView.d.ts +4 -4
- package/esm/components/calendar/MonthsView.js +8 -8
- package/esm/components/calendar/QuartersView.d.ts +4 -4
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +5 -5
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +4 -4
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +5 -5
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +5 -5
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +5 -5
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +6 -6
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +5 -5
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +2 -2
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +10 -10
- package/esm/components/condition-builder/Item.js +12 -9
- package/esm/components/condition-builder/Value.d.ts +5 -5
- package/esm/components/condition-builder/Value.js +3 -12
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +8 -8
- package/esm/components/condition-builder/index.js +2 -2
- package/esm/components/condition-builder/types.d.ts +1 -1
- package/esm/components/formula/Editor.d.ts +10 -5
- package/esm/components/formula/Editor.js +14 -3
- package/esm/components/formula/FuncList.d.ts +2 -2
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +47 -46
- package/esm/components/formula/Picker.js +3 -3
- package/esm/components/formula/VariableList.d.ts +2 -2
- package/esm/components/formula/VariableList.js +4 -4
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.d.ts +12 -11
- package/esm/components/icons.js +8 -3
- package/esm/components/index.d.ts +6 -3
- package/esm/components/json-schema/Array.d.ts +2 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +2 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +2 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +5 -5
- 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 -6
- package/esm/components/menu/MenuItem.js +5 -24
- package/esm/components/menu/SubMenu.d.ts +3 -6
- package/esm/components/menu/SubMenu.js +13 -28
- package/esm/components/menu/index.d.ts +42 -43
- package/esm/components/menu/index.js +9 -13
- package/esm/components/schema-editor/Array.d.ts +3 -2
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.d.ts +3 -2
- package/esm/components/schema-editor/Common.js +3 -3
- package/esm/components/schema-editor/Item.d.ts +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.d.ts +3 -2
- package/esm/components/schema-editor/Object.js +3 -3
- package/esm/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +55 -45
- package/esm/components/schema-editor/index.js +3 -3
- package/esm/components/table/Cell.d.ts +5 -5
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +5 -5
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +5 -5
- package/esm/components/table/HeadCellFilter.js +5 -2
- package/esm/components/table/HeadCellSelect.d.ts +5 -5
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +5 -5
- 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 +18 -18
- package/esm/components/table/index.js +100 -59
- package/esm/components/virtual-list/AutoSizer.d.ts +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.d.ts +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 +6 -3
- package/esm/locale/de-DE.js +5 -3
- package/esm/locale/en-US.js +6 -3
- package/esm/locale/zh-CN.js +7 -4
- 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 +1 -1
- package/esm/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/esm/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- 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 +1 -1
- package/esm/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- 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 +2 -2
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +104 -48
- package/lib/components/Alert.js +37 -14
- package/lib/components/Alert2.d.ts +22 -22
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +25 -25
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +47 -47
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +14 -14
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +125 -125
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +112 -112
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +5 -5
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +2 -2
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +2 -2
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +6 -6
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +33 -33
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +50 -50
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +102 -102
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +5 -5
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +128 -128
- package/lib/components/ChainedSelection.js +2 -1
- package/lib/components/Checkbox.d.ts +12 -12
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +4 -4
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.d.ts +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +122 -122
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +32 -32
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +85 -85
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +6 -9
- package/lib/components/Combo.js +8 -2
- package/lib/components/ConfirmBox.d.ts +85 -85
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +3 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +95 -92
- package/lib/components/DatePicker.js +38 -25
- package/lib/components/DateRangePicker.d.ts +265 -220
- package/lib/components/DateRangePicker.js +73 -43
- package/lib/components/DndContainer.d.ts +4 -4
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +36 -35
- package/lib/components/Drawer.js +26 -10
- package/lib/components/Editor.d.ts +125 -125
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +9 -15
- 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 +4 -4
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +126 -126
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +13 -12
- package/lib/components/Html.js +3 -3
- package/lib/components/ImageGallery.d.ts +57 -47
- package/lib/components/ImageGallery.js +8 -5
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +22 -22
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +5 -5
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.d.ts +7 -7
- package/lib/components/InputTable.js +21 -14
- package/lib/components/Layout.d.ts +13 -12
- package/lib/components/Layout.js +8 -6
- package/lib/components/Link.d.ts +2 -2
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +13 -13
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +86 -86
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +85 -85
- package/lib/components/LocationPicker.js +14 -2
- package/lib/components/Markdown.d.ts +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +113 -112
- package/lib/components/Modal.js +25 -9
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +213 -209
- package/lib/components/MultilineText.d.ts +45 -45
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +45 -34
- package/lib/components/NumberInput.js +10 -5
- package/lib/components/Pagination.d.ts +87 -108
- package/lib/components/Pagination.js +4 -3
- package/lib/components/Picker.d.ts +4 -4
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +2 -7
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +6 -5
- package/lib/components/PickerContainer.js +3 -3
- package/lib/components/PopOverContainer.d.ts +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +45 -45
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +63 -63
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +34 -34
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +16 -2
- package/lib/components/Range.js +35 -4
- package/lib/components/Rating.d.ts +35 -35
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +86 -86
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +48 -48
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +127 -127
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +47 -47
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.d.ts +2 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +88 -88
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1977 -1969
- package/lib/components/Select.js +7 -5
- package/lib/components/Selection.d.ts +127 -126
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +46 -46
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +73 -73
- package/lib/components/Spinner.js +3 -3
- package/lib/components/Steps.d.ts +5 -4
- package/lib/components/Steps.js +8 -6
- package/lib/components/Switch.d.ts +12 -12
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +133 -133
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +90 -90
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +49 -48
- package/lib/components/TabsTransfer.js +13 -13
- package/lib/components/TabsTransferPicker.d.ts +5 -5
- package/lib/components/TabsTransferPicker.js +4 -4
- package/lib/components/Tag.d.ts +75 -75
- package/lib/components/Tag.js +20 -4
- package/lib/components/Textarea.d.ts +45 -45
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +5 -5
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.d.ts +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +88 -86
- package/lib/components/Toast.js +5 -5
- package/lib/components/Tooltip.d.ts +3 -2
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/TooltipWrapper.d.ts +40 -32
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.d.ts +312 -272
- package/lib/components/Transfer.js +20 -18
- package/lib/components/TransferDropDown.d.ts +205 -165
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +5 -5
- package/lib/components/TransferPicker.js +4 -4
- package/lib/components/TransferSearch.d.ts +5 -5
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +211 -209
- package/lib/components/Tree.js +20 -10
- package/lib/components/TreeSelection.d.ts +126 -126
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +89 -89
- package/lib/components/UserSelect.js +7 -96
- package/lib/components/UserTabSelect.d.ts +45 -45
- package/lib/components/UserTabSelect.js +4 -95
- package/lib/components/WithRemoteConfig.d.ts +5 -6
- package/lib/components/WithRemoteConfig.js +6 -2
- package/lib/components/WithStore.d.ts +2 -2
- 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 +7 -7
- package/lib/components/calendar/DaysView.js +3 -3
- package/lib/components/calendar/MonthsView.d.ts +4 -4
- package/lib/components/calendar/MonthsView.js +7 -7
- package/lib/components/calendar/QuartersView.d.ts +4 -4
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +5 -5
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +4 -4
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +5 -5
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +5 -5
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +5 -5
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +6 -6
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +5 -5
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +2 -2
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +10 -10
- package/lib/components/condition-builder/Item.js +11 -8
- package/lib/components/condition-builder/Value.d.ts +5 -5
- package/lib/components/condition-builder/Value.js +3 -12
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +8 -8
- package/lib/components/condition-builder/index.js +2 -2
- package/lib/components/condition-builder/types.d.ts +1 -1
- package/lib/components/formula/Editor.d.ts +50 -45
- package/lib/components/formula/Editor.js +13 -2
- package/lib/components/formula/FuncList.d.ts +2 -2
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +47 -46
- package/lib/components/formula/Picker.js +3 -3
- package/lib/components/formula/VariableList.d.ts +2 -2
- package/lib/components/formula/VariableList.js +3 -3
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.d.ts +12 -11
- package/lib/components/icons.js +8 -2
- package/lib/components/index.d.ts +6 -3
- package/lib/components/json-schema/Array.d.ts +2 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +2 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +2 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +5 -5
- 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 -6
- package/lib/components/menu/MenuItem.js +5 -24
- package/lib/components/menu/SubMenu.d.ts +3 -6
- package/lib/components/menu/SubMenu.js +13 -28
- package/lib/components/menu/index.d.ts +92 -93
- package/lib/components/menu/index.js +9 -13
- package/lib/components/schema-editor/Array.d.ts +3 -2
- package/lib/components/schema-editor/Array.js +3 -3
- package/lib/components/schema-editor/Common.d.ts +3 -2
- package/lib/components/schema-editor/Common.js +3 -3
- package/lib/components/schema-editor/Item.d.ts +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.d.ts +3 -2
- package/lib/components/schema-editor/Object.js +3 -3
- package/lib/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +55 -45
- package/lib/components/schema-editor/index.js +3 -3
- package/lib/components/table/Cell.d.ts +45 -45
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +5 -5
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +45 -45
- package/lib/components/table/HeadCellFilter.js +5 -2
- package/lib/components/table/HeadCellSelect.d.ts +45 -45
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +5 -5
- 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 +98 -98
- package/lib/components/table/index.js +100 -59
- package/lib/components/virtual-list/AutoSizer.d.ts +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.d.ts +1 -1
- package/lib/components/virtual-list/index.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/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 +11 -4
- package/lib/locale/de-DE.js +5 -3
- package/lib/locale/en-US.js +6 -3
- package/lib/locale/zh-CN.js +7 -4
- 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 +1 -1
- package/lib/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/lib/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- 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 +1 -1
- package/lib/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- 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 +2721 -1720
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +2721 -1720
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +2721 -1720
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +2721 -1720
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +2721 -1720
- package/package.json +5 -5
- package/scss/_components.scss +1305 -124
- package/scss/_mixins.scss +33 -1
- package/scss/_properties.scss +5 -374
- package/scss/base/_common.scss +4 -0
- package/scss/components/_alert.scss +30 -9
- package/scss/components/_app.scss +10 -0
- package/scss/components/_button-group.scss +0 -1
- package/scss/components/_button.scss +0 -38
- package/scss/components/_calendar.scss +14 -0
- 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/_image-gallery.scss +9 -6
- package/scss/components/_images.scss +13 -5
- package/scss/components/_menu.scss +251 -626
- 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 +7 -5
- package/scss/components/_status.scss +27 -11
- package/scss/components/_steps.scss +68 -20
- package/scss/components/_table.scss +7 -7
- 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 +28 -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 +5 -0
- package/scss/components/form/_date.scss +8 -1
- package/scss/components/form/_fieldset.scss +62 -28
- package/scss/components/form/_form.scss +32 -3
- package/scss/components/form/_icon-select.scss +21 -0
- package/scss/components/form/_image.scss +50 -7
- package/scss/components/form/_nested-select.scss +2 -0
- package/scss/components/form/_number.scss +14 -6
- package/scss/components/form/_picker.scss +105 -12
- package/scss/components/form/_range.scss +6 -0
- package/scss/components/form/_rich-text.scss +81 -35
- package/scss/components/form/_tag.scss +56 -6
- package/scss/components/form/_text.scss +8 -0
- package/scss/components/form/_transfer.scss +18 -26
- package/scss/components/form/_tree.scss +55 -23
- package/scss/layout/_layout.scss +42 -10
|
@@ -73,6 +73,7 @@ export interface FormulaPickerProps extends FormulaEditorProps {
|
|
|
73
73
|
}) => JSX.Element;
|
|
74
74
|
onConfirm?: (value?: any) => void;
|
|
75
75
|
onRef?: (node: any) => void;
|
|
76
|
+
popOverContainer?: any;
|
|
76
77
|
}
|
|
77
78
|
export interface FormulaPickerState {
|
|
78
79
|
isOpened: boolean;
|
|
@@ -92,7 +93,7 @@ export declare class FormulaPicker extends React.Component<FormulaPickerProps, F
|
|
|
92
93
|
componentDidUpdate(prevProps: FormulaPickerProps): void;
|
|
93
94
|
value2EditorValue(props: FormulaPickerProps): string;
|
|
94
95
|
handleConfirm(): void;
|
|
95
|
-
renderFormulaValue(item: any): JSX.Element
|
|
96
|
+
renderFormulaValue(item: any): "" | React.JSX.Element;
|
|
96
97
|
handleInputChange(value: string): void;
|
|
97
98
|
handleInputGroupChange(e: React.ChangeEvent<HTMLInputElement>): void;
|
|
98
99
|
handleEditorChange(value: string): void;
|
|
@@ -102,10 +103,10 @@ export declare class FormulaPicker extends React.Component<FormulaPickerProps, F
|
|
|
102
103
|
close(e?: any, callback?: () => void): void;
|
|
103
104
|
updateState(state?: any): void;
|
|
104
105
|
validate(value: string): any;
|
|
105
|
-
render(): JSX.Element;
|
|
106
|
+
render(): React.JSX.Element;
|
|
106
107
|
}
|
|
107
108
|
declare const _default: {
|
|
108
|
-
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
109
|
+
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
109
110
|
evalMode?: boolean | undefined;
|
|
110
111
|
} & {} & {
|
|
111
112
|
locale?: string | undefined;
|
|
@@ -114,16 +115,16 @@ declare const _default: {
|
|
|
114
115
|
ref: any;
|
|
115
116
|
childRef(ref: any): void;
|
|
116
117
|
getWrappedInstance(): any;
|
|
117
|
-
render(): JSX.Element;
|
|
118
|
+
render(): React.JSX.Element;
|
|
118
119
|
context: unknown;
|
|
119
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
120
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
120
121
|
evalMode?: boolean | undefined;
|
|
121
122
|
} & {} & {
|
|
122
123
|
locale?: string | undefined;
|
|
123
124
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
124
125
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
125
126
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
126
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
127
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
127
128
|
evalMode?: boolean | undefined;
|
|
128
129
|
} & {} & {
|
|
129
130
|
locale?: string | undefined;
|
|
@@ -134,7 +135,7 @@ declare const _default: {
|
|
|
134
135
|
[key: string]: React.ReactInstance;
|
|
135
136
|
};
|
|
136
137
|
componentDidMount?(): void;
|
|
137
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
138
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
138
139
|
evalMode?: boolean | undefined;
|
|
139
140
|
} & {} & {
|
|
140
141
|
locale?: string | undefined;
|
|
@@ -142,13 +143,13 @@ declare const _default: {
|
|
|
142
143
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
143
144
|
componentWillUnmount?(): void;
|
|
144
145
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
145
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
146
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
146
147
|
evalMode?: boolean | undefined;
|
|
147
148
|
} & {} & {
|
|
148
149
|
locale?: string | undefined;
|
|
149
150
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
150
151
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
151
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
152
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
152
153
|
evalMode?: boolean | undefined;
|
|
153
154
|
} & {} & {
|
|
154
155
|
locale?: string | undefined;
|
|
@@ -156,25 +157,25 @@ declare const _default: {
|
|
|
156
157
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
157
158
|
componentWillMount?(): void;
|
|
158
159
|
UNSAFE_componentWillMount?(): void;
|
|
159
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
160
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
160
161
|
evalMode?: boolean | undefined;
|
|
161
162
|
} & {} & {
|
|
162
163
|
locale?: string | undefined;
|
|
163
164
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
164
165
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
165
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
166
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
166
167
|
evalMode?: boolean | undefined;
|
|
167
168
|
} & {} & {
|
|
168
169
|
locale?: string | undefined;
|
|
169
170
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
170
171
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
171
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
172
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
172
173
|
evalMode?: boolean | undefined;
|
|
173
174
|
} & {} & {
|
|
174
175
|
locale?: string | undefined;
|
|
175
176
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
176
177
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
177
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
178
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
178
179
|
evalMode?: boolean | undefined;
|
|
179
180
|
} & {} & {
|
|
180
181
|
locale?: string | undefined;
|
|
@@ -184,7 +185,7 @@ declare const _default: {
|
|
|
184
185
|
displayName: string;
|
|
185
186
|
contextType: React.Context<string>;
|
|
186
187
|
ComposedComponent: React.ComponentType<{
|
|
187
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
188
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
188
189
|
evalMode?: boolean | undefined;
|
|
189
190
|
} & {} & {
|
|
190
191
|
locale?: string | undefined;
|
|
@@ -193,16 +194,16 @@ declare const _default: {
|
|
|
193
194
|
ref: any;
|
|
194
195
|
childRef(ref: any): void;
|
|
195
196
|
getWrappedInstance(): any;
|
|
196
|
-
render(): JSX.Element;
|
|
197
|
+
render(): React.JSX.Element;
|
|
197
198
|
context: unknown;
|
|
198
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
199
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
199
200
|
evalMode?: boolean | undefined;
|
|
200
201
|
} & {} & {
|
|
201
202
|
locale?: string | undefined;
|
|
202
203
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
203
204
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
204
205
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
205
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
206
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
206
207
|
evalMode?: boolean | undefined;
|
|
207
208
|
} & {} & {
|
|
208
209
|
locale?: string | undefined;
|
|
@@ -213,7 +214,7 @@ declare const _default: {
|
|
|
213
214
|
[key: string]: React.ReactInstance;
|
|
214
215
|
};
|
|
215
216
|
componentDidMount?(): void;
|
|
216
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
217
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
217
218
|
evalMode?: boolean | undefined;
|
|
218
219
|
} & {} & {
|
|
219
220
|
locale?: string | undefined;
|
|
@@ -221,13 +222,13 @@ declare const _default: {
|
|
|
221
222
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
222
223
|
componentWillUnmount?(): void;
|
|
223
224
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
224
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
225
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
225
226
|
evalMode?: boolean | undefined;
|
|
226
227
|
} & {} & {
|
|
227
228
|
locale?: string | undefined;
|
|
228
229
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
229
230
|
}>, prevState: Readonly<{}>): any;
|
|
230
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
231
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
231
232
|
evalMode?: boolean | undefined;
|
|
232
233
|
} & {} & {
|
|
233
234
|
locale?: string | undefined;
|
|
@@ -235,25 +236,25 @@ declare const _default: {
|
|
|
235
236
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
236
237
|
componentWillMount?(): void;
|
|
237
238
|
UNSAFE_componentWillMount?(): void;
|
|
238
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
239
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
239
240
|
evalMode?: boolean | undefined;
|
|
240
241
|
} & {} & {
|
|
241
242
|
locale?: string | undefined;
|
|
242
243
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
243
244
|
}>, nextContext: any): void;
|
|
244
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
245
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
245
246
|
evalMode?: boolean | undefined;
|
|
246
247
|
} & {} & {
|
|
247
248
|
locale?: string | undefined;
|
|
248
249
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
249
250
|
}>, nextContext: any): void;
|
|
250
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
251
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
251
252
|
evalMode?: boolean | undefined;
|
|
252
253
|
} & {} & {
|
|
253
254
|
locale?: string | undefined;
|
|
254
255
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
255
256
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
256
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
257
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
257
258
|
evalMode?: boolean | undefined;
|
|
258
259
|
} & {} & {
|
|
259
260
|
locale?: string | undefined;
|
|
@@ -267,7 +268,7 @@ declare const _default: {
|
|
|
267
268
|
ComposedComponent: typeof FormulaPicker;
|
|
268
269
|
}>;
|
|
269
270
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
270
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
271
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
271
272
|
evalMode?: boolean | undefined;
|
|
272
273
|
} & {} & {
|
|
273
274
|
locale?: string | undefined;
|
|
@@ -276,16 +277,16 @@ declare const _default: {
|
|
|
276
277
|
ref: any;
|
|
277
278
|
childRef(ref: any): void;
|
|
278
279
|
getWrappedInstance(): any;
|
|
279
|
-
render(): JSX.Element;
|
|
280
|
+
render(): React.JSX.Element;
|
|
280
281
|
context: unknown;
|
|
281
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
282
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
282
283
|
evalMode?: boolean | undefined;
|
|
283
284
|
} & {} & {
|
|
284
285
|
locale?: string | undefined;
|
|
285
286
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
286
287
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
287
288
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
288
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
289
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
289
290
|
evalMode?: boolean | undefined;
|
|
290
291
|
} & {} & {
|
|
291
292
|
locale?: string | undefined;
|
|
@@ -296,7 +297,7 @@ declare const _default: {
|
|
|
296
297
|
[key: string]: React.ReactInstance;
|
|
297
298
|
};
|
|
298
299
|
componentDidMount?(): void;
|
|
299
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
300
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
300
301
|
evalMode?: boolean | undefined;
|
|
301
302
|
} & {} & {
|
|
302
303
|
locale?: string | undefined;
|
|
@@ -304,13 +305,13 @@ declare const _default: {
|
|
|
304
305
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
305
306
|
componentWillUnmount?(): void;
|
|
306
307
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
307
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
308
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
308
309
|
evalMode?: boolean | undefined;
|
|
309
310
|
} & {} & {
|
|
310
311
|
locale?: string | undefined;
|
|
311
312
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
312
313
|
}>, prevState: Readonly<{}>): any;
|
|
313
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
314
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
314
315
|
evalMode?: boolean | undefined;
|
|
315
316
|
} & {} & {
|
|
316
317
|
locale?: string | undefined;
|
|
@@ -318,25 +319,25 @@ declare const _default: {
|
|
|
318
319
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
319
320
|
componentWillMount?(): void;
|
|
320
321
|
UNSAFE_componentWillMount?(): void;
|
|
321
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
322
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
322
323
|
evalMode?: boolean | undefined;
|
|
323
324
|
} & {} & {
|
|
324
325
|
locale?: string | undefined;
|
|
325
326
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
326
327
|
}>, nextContext: any): void;
|
|
327
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
328
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
328
329
|
evalMode?: boolean | undefined;
|
|
329
330
|
} & {} & {
|
|
330
331
|
locale?: string | undefined;
|
|
331
332
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
332
333
|
}>, nextContext: any): void;
|
|
333
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
334
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
334
335
|
evalMode?: boolean | undefined;
|
|
335
336
|
} & {} & {
|
|
336
337
|
locale?: string | undefined;
|
|
337
338
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
338
339
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
339
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
340
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
340
341
|
evalMode?: boolean | undefined;
|
|
341
342
|
} & {} & {
|
|
342
343
|
locale?: string | undefined;
|
|
@@ -350,7 +351,7 @@ declare const _default: {
|
|
|
350
351
|
ComposedComponent: typeof FormulaPicker;
|
|
351
352
|
}, {}> & {
|
|
352
353
|
ComposedComponent: {
|
|
353
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
354
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
354
355
|
evalMode?: boolean | undefined;
|
|
355
356
|
} & {} & {
|
|
356
357
|
locale?: string | undefined;
|
|
@@ -359,16 +360,16 @@ declare const _default: {
|
|
|
359
360
|
ref: any;
|
|
360
361
|
childRef(ref: any): void;
|
|
361
362
|
getWrappedInstance(): any;
|
|
362
|
-
render(): JSX.Element;
|
|
363
|
+
render(): React.JSX.Element;
|
|
363
364
|
context: unknown;
|
|
364
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
365
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
365
366
|
evalMode?: boolean | undefined;
|
|
366
367
|
} & {} & {
|
|
367
368
|
locale?: string | undefined;
|
|
368
369
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
369
370
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
370
371
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
371
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
372
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
372
373
|
evalMode?: boolean | undefined;
|
|
373
374
|
} & {} & {
|
|
374
375
|
locale?: string | undefined;
|
|
@@ -379,7 +380,7 @@ declare const _default: {
|
|
|
379
380
|
[key: string]: React.ReactInstance;
|
|
380
381
|
};
|
|
381
382
|
componentDidMount?(): void;
|
|
382
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
383
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
383
384
|
evalMode?: boolean | undefined;
|
|
384
385
|
} & {} & {
|
|
385
386
|
locale?: string | undefined;
|
|
@@ -387,13 +388,13 @@ declare const _default: {
|
|
|
387
388
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
388
389
|
componentWillUnmount?(): void;
|
|
389
390
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
390
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
391
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
391
392
|
evalMode?: boolean | undefined;
|
|
392
393
|
} & {} & {
|
|
393
394
|
locale?: string | undefined;
|
|
394
395
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
395
396
|
}>, prevState: Readonly<{}>): any;
|
|
396
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
397
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
397
398
|
evalMode?: boolean | undefined;
|
|
398
399
|
} & {} & {
|
|
399
400
|
locale?: string | undefined;
|
|
@@ -401,25 +402,25 @@ declare const _default: {
|
|
|
401
402
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
402
403
|
componentWillMount?(): void;
|
|
403
404
|
UNSAFE_componentWillMount?(): void;
|
|
404
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
405
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
405
406
|
evalMode?: boolean | undefined;
|
|
406
407
|
} & {} & {
|
|
407
408
|
locale?: string | undefined;
|
|
408
409
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
409
410
|
}>, nextContext: any): void;
|
|
410
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
411
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
411
412
|
evalMode?: boolean | undefined;
|
|
412
413
|
} & {} & {
|
|
413
414
|
locale?: string | undefined;
|
|
414
415
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
415
416
|
}>, nextContext: any): void;
|
|
416
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
417
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
417
418
|
evalMode?: boolean | undefined;
|
|
418
419
|
} & {} & {
|
|
419
420
|
locale?: string | undefined;
|
|
420
421
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
421
422
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
422
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
423
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "data" | "header" | "source" | "style" | "title" | "value" | "children" | "popOverContainer" | "mode" | "disabled" | "className" | "classPrefix" | "classnames" | "theme" | "onChange" | "clearable" | "placeholder" | "borderMode" | "icon" | "size" | "level" | "onRef" | "allowInput" | "onConfirm" | "onPickerOpen" | "variables" | "mixedMode" | "btnLabel" | "btnSize" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName"> & {
|
|
423
424
|
evalMode?: boolean | undefined;
|
|
424
425
|
} & {} & {
|
|
425
426
|
locale?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v3.1.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -158,7 +158,7 @@ var FormulaPicker = /** @class */ (function (_super) {
|
|
|
158
158
|
FormulaPicker.prototype.render = function () {
|
|
159
159
|
var _a, _b, _c;
|
|
160
160
|
var _d, _e, _f, _g, _h;
|
|
161
|
-
var _j = this.props, cx = _j.classnames, __ = _j.translate, disabled = _j.disabled, _k = _j.allowInput, allowInput = _k === void 0 ? true : _k, className = _j.className, style = _j.style; _j.onChange; _j.size; var borderMode = _j.borderMode, placeholder = _j.placeholder, _l = _j.mode, mode = _l === void 0 ? 'input-button' : _l, btnLabel = _j.btnLabel, level = _j.level, btnSize = _j.btnSize, icon = _j.icon, title = _j.title, clearable = _j.clearable, variables = _j.variables, functions = _j.functions, children = _j.children, variableMode = _j.variableMode, mixedMode = _j.mixedMode, evalMode = _j.evalMode, rest = tslib.__rest(_j, ["classnames", "translate", "disabled", "allowInput", "className", "style", "onChange", "size", "borderMode", "placeholder", "mode", "btnLabel", "level", "btnSize", "icon", "title", "clearable", "variables", "functions", "children", "variableMode", "mixedMode", "evalMode"]);
|
|
161
|
+
var _j = this.props, cx = _j.classnames, __ = _j.translate, disabled = _j.disabled, _k = _j.allowInput, allowInput = _k === void 0 ? true : _k, className = _j.className, style = _j.style; _j.onChange; _j.size; var borderMode = _j.borderMode, placeholder = _j.placeholder, _l = _j.mode, mode = _l === void 0 ? 'input-button' : _l, btnLabel = _j.btnLabel, level = _j.level, btnSize = _j.btnSize, icon = _j.icon, title = _j.title, clearable = _j.clearable, variables = _j.variables, functions = _j.functions, children = _j.children, variableMode = _j.variableMode, mixedMode = _j.mixedMode, evalMode = _j.evalMode, popOverContainer = _j.popOverContainer, rest = tslib.__rest(_j, ["classnames", "translate", "disabled", "allowInput", "className", "style", "onChange", "size", "borderMode", "placeholder", "mode", "btnLabel", "level", "btnSize", "icon", "title", "clearable", "variables", "functions", "children", "variableMode", "mixedMode", "evalMode", "popOverContainer"]);
|
|
162
162
|
var _m = this.state, isOpened = _m.isOpened, value = _m.value, editorValue = _m.editorValue, isError = _m.isError;
|
|
163
163
|
var iconElement = amisCore.generateIcon(cx, icon, 'Icon');
|
|
164
164
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
@@ -190,7 +190,7 @@ var FormulaPicker = /** @class */ (function (_super) {
|
|
|
190
190
|
: Editor.FormulaEditor.highlightValue(value, variables, this.props.evalMode), itemRender: this.renderFormulaValue, onResultChange: amisCore.noop, onChange: this.handleInputChange, disabled: disabled, borderMode: borderMode, placeholder: placeholder }),
|
|
191
191
|
React__default["default"].createElement("a", { className: cx("FormulaPicker-toggler"), onClick: this.handleClick },
|
|
192
192
|
React__default["default"].createElement(icons.Icon, { icon: "function", className: "icon" })))))),
|
|
193
|
-
React__default["default"].createElement(Modal["default"], { size: "md", closeOnEsc: true, show: this.state.isOpened, onHide: this.close },
|
|
193
|
+
React__default["default"].createElement(Modal["default"], { size: "md", closeOnEsc: true, show: this.state.isOpened, onHide: this.close, container: popOverContainer },
|
|
194
194
|
React__default["default"].createElement(Modal["default"].Header, { onClose: this.close, className: "font-bold" }, __(title || 'FormulaEditor.title')),
|
|
195
195
|
React__default["default"].createElement(Modal["default"].Body, null,
|
|
196
196
|
React__default["default"].createElement(Editor["default"], tslib.__assign({}, rest, { evalMode: mixedMode ? true : evalMode, variables: (_f = this.state.variables) !== null && _f !== void 0 ? _f : variables, functions: (_g = this.state.functions) !== null && _g !== void 0 ? _g : functions, variableMode: (_h = this.state.variableMode) !== null && _h !== void 0 ? _h : variableMode, value: editorValue, onChange: this.handleEditorChange, selfVariableName: this.props.selfVariableName }))),
|
|
@@ -18,13 +18,13 @@ export interface VariableListProps extends ThemeProps, SpinnerExtraProps {
|
|
|
18
18
|
onSelect?: (item: VariableItem) => void;
|
|
19
19
|
selfVariableName?: string;
|
|
20
20
|
}
|
|
21
|
-
declare function VariableList(props: VariableListProps): JSX.Element;
|
|
21
|
+
declare function VariableList(props: VariableListProps): React.JSX.Element;
|
|
22
22
|
declare const _default: {
|
|
23
23
|
new (props: Omit<VariableListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps): {
|
|
24
24
|
ref: any;
|
|
25
25
|
childRef(ref: any): void;
|
|
26
26
|
getWrappedInstance(): any;
|
|
27
|
-
render(): JSX.Element;
|
|
27
|
+
render(): React.JSX.Element;
|
|
28
28
|
context: unknown;
|
|
29
29
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<VariableListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
30
30
|
forceUpdate(callback?: (() => void) | undefined): void;
|