amis-ui 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +2 -2
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +11 -11
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +40 -40
- package/esm/components/AssociatedSelection.js +3 -3
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +4 -5
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.d.ts +40 -40
- package/esm/components/ChainedSelection.js +7 -5
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.js +4 -2
- package/esm/components/Drawer.js +1 -1
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +41 -41
- package/esm/components/GroupedSelection.js +12 -5
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +10 -3
- package/esm/components/ImageGallery.js +18 -6
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +18 -18
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/NumberInput.d.ts +19 -10
- package/esm/components/NumberInput.js +38 -9
- package/esm/components/Pagination.js +2 -2
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +5 -3
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +45 -42
- package/esm/components/ResultList.js +10 -8
- package/esm/components/ResultTableList.d.ts +41 -40
- package/esm/components/ResultTableList.js +3 -3
- package/esm/components/ResultTreeList.d.ts +41 -40
- package/esm/components/ResultTreeList.js +4 -4
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +193 -193
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.d.ts +42 -40
- package/esm/components/Selection.js +6 -3
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +23 -1
- package/esm/components/Spinner.js +122 -23
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +40 -40
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +2 -2
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +2 -2
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +50 -50
- package/esm/components/Transfer.js +12 -12
- package/esm/components/TransferDropDown.d.ts +40 -40
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +40 -42
- package/esm/components/TransferSearch.js +2 -8
- package/esm/components/Tree.js +3 -2
- package/esm/components/TreeSelection.d.ts +40 -40
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +5 -1
- package/esm/components/UserSelect.js +87 -28
- package/esm/components/UserTabSelect.d.ts +4 -3
- package/esm/components/UserTabSelect.js +64 -18
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +1 -0
- package/esm/components/condition-builder/Expression.js +3 -3
- package/esm/components/condition-builder/Field.d.ts +2 -1
- package/esm/components/condition-builder/Field.js +9 -5
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +1 -0
- package/esm/components/condition-builder/Group.js +3 -3
- package/esm/components/condition-builder/GroupOrItem.d.ts +1 -0
- package/esm/components/condition-builder/GroupOrItem.js +3 -3
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +1 -0
- package/esm/components/condition-builder/Item.js +3 -3
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +1 -0
- package/esm/components/condition-builder/index.js +3 -3
- package/esm/components/formula/Editor.d.ts +2 -0
- package/esm/components/formula/Editor.js +17 -6
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +65 -54
- package/esm/components/formula/Picker.js +22 -9
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.d.ts +1 -1
- package/esm/components/formula/plugin.js +6 -4
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +49 -43
- package/esm/components/table/index.js +98 -51
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-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-circle.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/status-fail.svg.js +1 -1
- package/esm/icons/status-info.svg.js +1 -1
- package/esm/icons/status-success.svg.js +1 -1
- package/esm/icons/status-warning.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +8 -2
- package/esm/locale/en-US.js +8 -3
- package/esm/locale/zh-CN.js +8 -3
- 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/components/404.js +1 -1
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.js +2 -2
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +11 -11
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +40 -40
- package/lib/components/AssociatedSelection.js +3 -3
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.js +4 -5
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +40 -40
- package/lib/components/ChainedSelection.js +7 -5
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.js +4 -2
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +41 -41
- package/lib/components/GroupedSelection.js +12 -5
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +10 -3
- package/lib/components/ImageGallery.js +18 -6
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +18 -18
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/NumberInput.d.ts +19 -10
- package/lib/components/NumberInput.js +38 -9
- package/lib/components/Pagination.js +2 -2
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +5 -3
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +45 -42
- package/lib/components/ResultList.js +10 -8
- package/lib/components/ResultTableList.d.ts +41 -40
- package/lib/components/ResultTableList.js +3 -3
- package/lib/components/ResultTreeList.d.ts +41 -40
- package/lib/components/ResultTreeList.js +4 -4
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +193 -193
- package/lib/components/Select.js +1 -1
- package/lib/components/Selection.d.ts +42 -40
- package/lib/components/Selection.js +6 -3
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +23 -1
- package/lib/components/Spinner.js +122 -23
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +40 -40
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.js +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +2 -2
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +50 -50
- package/lib/components/Transfer.js +12 -12
- package/lib/components/TransferDropDown.d.ts +40 -40
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +40 -42
- package/lib/components/TransferSearch.js +2 -8
- package/lib/components/Tree.js +3 -2
- package/lib/components/TreeSelection.d.ts +40 -40
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +5 -1
- package/lib/components/UserSelect.js +86 -27
- package/lib/components/UserTabSelect.d.ts +4 -3
- package/lib/components/UserTabSelect.js +64 -18
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +1 -0
- package/lib/components/condition-builder/Expression.js +3 -3
- package/lib/components/condition-builder/Field.d.ts +2 -1
- package/lib/components/condition-builder/Field.js +9 -5
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +1 -0
- package/lib/components/condition-builder/Group.js +3 -3
- package/lib/components/condition-builder/GroupOrItem.d.ts +1 -0
- package/lib/components/condition-builder/GroupOrItem.js +3 -3
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +1 -0
- package/lib/components/condition-builder/Item.js +3 -3
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +1 -0
- package/lib/components/condition-builder/index.js +3 -3
- package/lib/components/formula/Editor.d.ts +2 -0
- package/lib/components/formula/Editor.js +17 -6
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +65 -54
- package/lib/components/formula/Picker.js +22 -9
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.d.ts +1 -1
- package/lib/components/formula/plugin.js +6 -4
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +49 -43
- package/lib/components/table/index.js +98 -51
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/helper.css +8335 -38
- package/lib/hooks/use-set-state.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-circle.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/status-fail.svg.js +1 -1
- package/lib/icons/status-info.svg.js +1 -1
- package/lib/icons/status-success.svg.js +1 -1
- package/lib/icons/status-warning.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +8 -2
- package/lib/locale/en-US.js +8 -3
- package/lib/locale/zh-CN.js +8 -3
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +8847 -5617
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +8955 -5731
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +8855 -5630
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +8940 -5709
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +8855 -5630
- package/package.json +22 -22
- package/scss/_mixins.scss +10 -0
- package/scss/_thirds.scss +6 -6
- package/scss/components/_anchor-nav.scss +9 -2
- package/scss/components/_collapse.scss +4 -4
- package/scss/components/_spinner.scss +6 -0
- package/scss/components/_table.scss +1 -1
- package/scss/components/form/_fieldset.scss +20 -0
- package/scss/components/form/_input-group.scss +5 -0
- package/scss/components/form/_selection.scss +6 -1
- package/scss/components/form/_textarea.scss +4 -2
- package/scss/components/form/_user-select.scss +35 -2
- package/scss/themes/_antd-variables.scss +4 -2
- package/scss/themes/_cxd-variables.scss +5 -1
- package/scss/themes/_dark-variables.scss +3 -0
|
@@ -3,6 +3,13 @@ import React from 'react';
|
|
|
3
3
|
import { FormulaEditorProps, FuncGroup, VariableItem } from './Editor';
|
|
4
4
|
export interface FormulaPickerProps extends FormulaEditorProps {
|
|
5
5
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
6
|
+
/**
|
|
7
|
+
* 混合模式,意味着这个输入框既可以输入不同文本
|
|
8
|
+
* 也可以输入公式。
|
|
9
|
+
* 当输入公式时,值格式为 ${公式内容}
|
|
10
|
+
* 其他内容当字符串。
|
|
11
|
+
*/
|
|
12
|
+
mixedMode?: boolean;
|
|
6
13
|
/**
|
|
7
14
|
* 编辑器标题
|
|
8
15
|
*/
|
|
@@ -77,12 +84,13 @@ export interface FormulaPickerState {
|
|
|
77
84
|
variableMode?: any;
|
|
78
85
|
}
|
|
79
86
|
export declare class FormulaPicker extends React.Component<FormulaPickerProps, FormulaPickerState> {
|
|
80
|
-
|
|
87
|
+
state: FormulaPickerState;
|
|
81
88
|
static defaultProps: {
|
|
82
89
|
evalMode: boolean;
|
|
83
90
|
};
|
|
84
|
-
|
|
91
|
+
constructor(props: FormulaPickerProps);
|
|
85
92
|
componentDidUpdate(prevProps: FormulaPickerProps): void;
|
|
93
|
+
value2EditorValue(props: FormulaPickerProps): string;
|
|
86
94
|
handleConfirm(): void;
|
|
87
95
|
renderFormulaValue(item: any): JSX.Element | "";
|
|
88
96
|
handleInputChange(value: string): void;
|
|
@@ -97,7 +105,7 @@ export declare class FormulaPicker extends React.Component<FormulaPickerProps, F
|
|
|
97
105
|
render(): JSX.Element;
|
|
98
106
|
}
|
|
99
107
|
declare const _default: {
|
|
100
|
-
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
108
|
+
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
101
109
|
evalMode: boolean;
|
|
102
110
|
}, never>> & {
|
|
103
111
|
locale?: string | undefined;
|
|
@@ -108,14 +116,14 @@ declare const _default: {
|
|
|
108
116
|
getWrappedInstance(): any;
|
|
109
117
|
render(): JSX.Element;
|
|
110
118
|
context: any;
|
|
111
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
119
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
112
120
|
evalMode: boolean;
|
|
113
121
|
}, never>> & {
|
|
114
122
|
locale?: string | undefined;
|
|
115
123
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
116
124
|
}, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
117
125
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
118
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
126
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
119
127
|
evalMode: boolean;
|
|
120
128
|
}, never>> & {
|
|
121
129
|
locale?: string | undefined;
|
|
@@ -128,7 +136,7 @@ declare const _default: {
|
|
|
128
136
|
[key: string]: React.ReactInstance;
|
|
129
137
|
};
|
|
130
138
|
componentDidMount?(): void;
|
|
131
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
139
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
132
140
|
evalMode: boolean;
|
|
133
141
|
}, never>> & {
|
|
134
142
|
locale?: string | undefined;
|
|
@@ -136,13 +144,13 @@ declare const _default: {
|
|
|
136
144
|
}, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
137
145
|
componentWillUnmount?(): void;
|
|
138
146
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
139
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
147
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
140
148
|
evalMode: boolean;
|
|
141
149
|
}, never>> & {
|
|
142
150
|
locale?: string | undefined;
|
|
143
151
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
144
152
|
}, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
145
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
153
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
146
154
|
evalMode: boolean;
|
|
147
155
|
}, never>> & {
|
|
148
156
|
locale?: string | undefined;
|
|
@@ -150,25 +158,25 @@ declare const _default: {
|
|
|
150
158
|
}, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
151
159
|
componentWillMount?(): void;
|
|
152
160
|
UNSAFE_componentWillMount?(): void;
|
|
153
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
161
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
154
162
|
evalMode: boolean;
|
|
155
163
|
}, never>> & {
|
|
156
164
|
locale?: string | undefined;
|
|
157
165
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
158
166
|
}, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
159
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
167
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
160
168
|
evalMode: boolean;
|
|
161
169
|
}, never>> & {
|
|
162
170
|
locale?: string | undefined;
|
|
163
171
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
164
172
|
}, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
165
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
173
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
166
174
|
evalMode: boolean;
|
|
167
175
|
}, never>> & {
|
|
168
176
|
locale?: string | undefined;
|
|
169
177
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
170
178
|
}, keyof import("amis-core").ThemeProps> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
171
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
179
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
172
180
|
evalMode: boolean;
|
|
173
181
|
}, never>> & {
|
|
174
182
|
locale?: string | undefined;
|
|
@@ -178,7 +186,7 @@ declare const _default: {
|
|
|
178
186
|
displayName: string;
|
|
179
187
|
contextType: React.Context<string>;
|
|
180
188
|
ComposedComponent: React.ComponentType<{
|
|
181
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
189
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
182
190
|
evalMode: boolean;
|
|
183
191
|
}, never>> & {
|
|
184
192
|
locale?: string | undefined;
|
|
@@ -187,19 +195,20 @@ declare const _default: {
|
|
|
187
195
|
ref: any;
|
|
188
196
|
childRef(ref: any): void;
|
|
189
197
|
getWrappedInstance(): any;
|
|
190
|
-
render(): JSX.Element;
|
|
198
|
+
render(): JSX.Element; /**
|
|
199
|
+
* 按钮大小
|
|
200
|
+
*/
|
|
191
201
|
context: any;
|
|
192
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
202
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
193
203
|
evalMode: boolean;
|
|
194
204
|
}, never>> & {
|
|
195
|
-
|
|
205
|
+
locale?: string | undefined;
|
|
206
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
196
207
|
* 外层透传的 data,和source配合使用
|
|
197
208
|
*/
|
|
198
|
-
locale?: string | undefined;
|
|
199
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
200
209
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
201
210
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
202
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
211
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
203
212
|
evalMode: boolean;
|
|
204
213
|
}, never>> & {
|
|
205
214
|
locale?: string | undefined;
|
|
@@ -212,7 +221,7 @@ declare const _default: {
|
|
|
212
221
|
[key: string]: React.ReactInstance;
|
|
213
222
|
};
|
|
214
223
|
componentDidMount?(): void;
|
|
215
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
224
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
216
225
|
evalMode: boolean;
|
|
217
226
|
}, never>> & {
|
|
218
227
|
locale?: string | undefined;
|
|
@@ -220,13 +229,13 @@ declare const _default: {
|
|
|
220
229
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
221
230
|
componentWillUnmount?(): void;
|
|
222
231
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
223
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
232
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
224
233
|
evalMode: boolean;
|
|
225
234
|
}, never>> & {
|
|
226
235
|
locale?: string | undefined;
|
|
227
236
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
228
237
|
}>, prevState: Readonly<{}>): any;
|
|
229
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
238
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
230
239
|
evalMode: boolean;
|
|
231
240
|
}, never>> & {
|
|
232
241
|
locale?: string | undefined;
|
|
@@ -234,25 +243,25 @@ declare const _default: {
|
|
|
234
243
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
235
244
|
componentWillMount?(): void;
|
|
236
245
|
UNSAFE_componentWillMount?(): void;
|
|
237
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
246
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
238
247
|
evalMode: boolean;
|
|
239
248
|
}, never>> & {
|
|
240
249
|
locale?: string | undefined;
|
|
241
250
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
242
251
|
}>, nextContext: any): void;
|
|
243
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
252
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
244
253
|
evalMode: boolean;
|
|
245
254
|
}, never>> & {
|
|
246
255
|
locale?: string | undefined;
|
|
247
256
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
248
257
|
}>, nextContext: any): void;
|
|
249
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
258
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
250
259
|
evalMode: boolean;
|
|
251
260
|
}, never>> & {
|
|
252
261
|
locale?: string | undefined;
|
|
253
262
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
254
263
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
255
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
264
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
256
265
|
evalMode: boolean;
|
|
257
266
|
}, never>> & {
|
|
258
267
|
locale?: string | undefined;
|
|
@@ -266,7 +275,7 @@ declare const _default: {
|
|
|
266
275
|
ComposedComponent: typeof FormulaPicker;
|
|
267
276
|
}>;
|
|
268
277
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
269
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
278
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
270
279
|
evalMode: boolean;
|
|
271
280
|
}, never>> & {
|
|
272
281
|
locale?: string | undefined;
|
|
@@ -275,19 +284,20 @@ declare const _default: {
|
|
|
275
284
|
ref: any;
|
|
276
285
|
childRef(ref: any): void;
|
|
277
286
|
getWrappedInstance(): any;
|
|
278
|
-
render(): JSX.Element;
|
|
287
|
+
render(): JSX.Element; /**
|
|
288
|
+
* 按钮大小
|
|
289
|
+
*/
|
|
279
290
|
context: any;
|
|
280
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
291
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
281
292
|
evalMode: boolean;
|
|
282
293
|
}, never>> & {
|
|
283
|
-
|
|
294
|
+
locale?: string | undefined;
|
|
295
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
284
296
|
* 外层透传的 data,和source配合使用
|
|
285
297
|
*/
|
|
286
|
-
locale?: string | undefined;
|
|
287
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
288
298
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
289
299
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
290
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
300
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
291
301
|
evalMode: boolean;
|
|
292
302
|
}, never>> & {
|
|
293
303
|
locale?: string | undefined;
|
|
@@ -300,7 +310,7 @@ declare const _default: {
|
|
|
300
310
|
[key: string]: React.ReactInstance;
|
|
301
311
|
};
|
|
302
312
|
componentDidMount?(): void;
|
|
303
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
313
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
304
314
|
evalMode: boolean;
|
|
305
315
|
}, never>> & {
|
|
306
316
|
locale?: string | undefined;
|
|
@@ -308,13 +318,13 @@ declare const _default: {
|
|
|
308
318
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
309
319
|
componentWillUnmount?(): void;
|
|
310
320
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
311
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
321
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
312
322
|
evalMode: boolean;
|
|
313
323
|
}, never>> & {
|
|
314
324
|
locale?: string | undefined;
|
|
315
325
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
316
326
|
}>, prevState: Readonly<{}>): any;
|
|
317
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
327
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
318
328
|
evalMode: boolean;
|
|
319
329
|
}, never>> & {
|
|
320
330
|
locale?: string | undefined;
|
|
@@ -322,25 +332,25 @@ declare const _default: {
|
|
|
322
332
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
323
333
|
componentWillMount?(): void;
|
|
324
334
|
UNSAFE_componentWillMount?(): void;
|
|
325
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
335
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
326
336
|
evalMode: boolean;
|
|
327
337
|
}, never>> & {
|
|
328
338
|
locale?: string | undefined;
|
|
329
339
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
330
340
|
}>, nextContext: any): void;
|
|
331
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
341
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
332
342
|
evalMode: boolean;
|
|
333
343
|
}, never>> & {
|
|
334
344
|
locale?: string | undefined;
|
|
335
345
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
336
346
|
}>, nextContext: any): void;
|
|
337
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
347
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
338
348
|
evalMode: boolean;
|
|
339
349
|
}, never>> & {
|
|
340
350
|
locale?: string | undefined;
|
|
341
351
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
342
352
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
343
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
353
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
344
354
|
evalMode: boolean;
|
|
345
355
|
}, never>> & {
|
|
346
356
|
locale?: string | undefined;
|
|
@@ -354,7 +364,7 @@ declare const _default: {
|
|
|
354
364
|
ComposedComponent: typeof FormulaPicker;
|
|
355
365
|
}, {}> & {
|
|
356
366
|
ComposedComponent: {
|
|
357
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
367
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
358
368
|
evalMode: boolean;
|
|
359
369
|
}, never>> & {
|
|
360
370
|
locale?: string | undefined;
|
|
@@ -363,19 +373,20 @@ declare const _default: {
|
|
|
363
373
|
ref: any;
|
|
364
374
|
childRef(ref: any): void;
|
|
365
375
|
getWrappedInstance(): any;
|
|
366
|
-
render(): JSX.Element;
|
|
376
|
+
render(): JSX.Element; /**
|
|
377
|
+
* 按钮大小
|
|
378
|
+
*/
|
|
367
379
|
context: any;
|
|
368
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
380
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
369
381
|
evalMode: boolean;
|
|
370
382
|
}, never>> & {
|
|
371
|
-
|
|
383
|
+
locale?: string | undefined;
|
|
384
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
372
385
|
* 外层透传的 data,和source配合使用
|
|
373
386
|
*/
|
|
374
|
-
locale?: string | undefined;
|
|
375
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
376
387
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
377
388
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
378
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
389
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
379
390
|
evalMode: boolean;
|
|
380
391
|
}, never>> & {
|
|
381
392
|
locale?: string | undefined;
|
|
@@ -388,7 +399,7 @@ declare const _default: {
|
|
|
388
399
|
[key: string]: React.ReactInstance;
|
|
389
400
|
};
|
|
390
401
|
componentDidMount?(): void;
|
|
391
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
402
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
392
403
|
evalMode: boolean;
|
|
393
404
|
}, never>> & {
|
|
394
405
|
locale?: string | undefined;
|
|
@@ -396,13 +407,13 @@ declare const _default: {
|
|
|
396
407
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
397
408
|
componentWillUnmount?(): void;
|
|
398
409
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
399
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
410
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
400
411
|
evalMode: boolean;
|
|
401
412
|
}, never>> & {
|
|
402
413
|
locale?: string | undefined;
|
|
403
414
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
404
415
|
}>, prevState: Readonly<{}>): any;
|
|
405
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
416
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
406
417
|
evalMode: boolean;
|
|
407
418
|
}, never>> & {
|
|
408
419
|
locale?: string | undefined;
|
|
@@ -410,25 +421,25 @@ declare const _default: {
|
|
|
410
421
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
411
422
|
componentWillMount?(): void;
|
|
412
423
|
UNSAFE_componentWillMount?(): void;
|
|
413
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
424
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
414
425
|
evalMode: boolean;
|
|
415
426
|
}, never>> & {
|
|
416
427
|
locale?: string | undefined;
|
|
417
428
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
418
429
|
}>, nextContext: any): void;
|
|
419
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
430
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
420
431
|
evalMode: boolean;
|
|
421
432
|
}, never>> & {
|
|
422
433
|
locale?: string | undefined;
|
|
423
434
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
424
435
|
}>, nextContext: any): void;
|
|
425
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
436
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
426
437
|
evalMode: boolean;
|
|
427
438
|
}, never>> & {
|
|
428
439
|
locale?: string | undefined;
|
|
429
440
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
430
441
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
431
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "
|
|
442
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "data" | "header" | "source" | "title" | "placeholder" | "onChange" | "value" | "size" | "disabled" | "icon" | "mode" | "level" | "onConfirm" | "clearable" | "borderMode" | "onRef" | "allowInput" | "onPickerOpen" | "functions" | "variables" | "selfVariableName" | "variableMode" | "variableClassName" | "functionClassName" | "mixedMode" | "btnLabel" | "btnSize"> & Partial<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "evalMode">> & Partial<Pick<{
|
|
432
443
|
evalMode: boolean;
|
|
433
444
|
}, never>> & {
|
|
434
445
|
locale?: string | undefined;
|