amis-ui 6.2.2 → 6.4.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/_commonjsHelpers.js +10 -0
- package/esm/_virtual/pdf.worker.min.js +8 -0
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +124 -122
- package/esm/components/Alert.js +10 -6
- package/esm/components/Alert2.d.ts +20 -20
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +20 -20
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +40 -40
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +2 -1
- package/esm/components/AsideNav.js +6 -3
- package/esm/components/AssociatedSelection.d.ts +120 -120
- package/esm/components/AssociatedSelection.js +4 -4
- package/esm/components/Avatar.d.ts +140 -140
- 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.d.ts +3 -0
- package/esm/components/Breadcrumb.js +7 -6
- package/esm/components/Button.d.ts +32 -31
- package/esm/components/Button.js +4 -4
- package/esm/components/CalendarMobile.d.ts +45 -40
- package/esm/components/CalendarMobile.js +41 -6
- package/esm/components/Card.d.ts +140 -140
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +120 -120
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +120 -120
- package/esm/components/ChainedSelection.js +8 -6
- package/esm/components/Checkbox.d.ts +12 -11
- package/esm/components/Checkbox.js +7 -7
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.d.ts +1 -1
- package/esm/components/CityDB.js +377 -889
- package/esm/components/CodeMirror.d.ts +1 -0
- package/esm/components/CodeMirror.js +16 -5
- package/esm/components/Collapse.d.ts +140 -140
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +30 -30
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +80 -80
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +81 -80
- package/esm/components/ConfirmBox.js +6 -3
- package/esm/components/ContextMenu.d.ts +17 -3
- package/esm/components/ContextMenu.js +72 -20
- package/esm/components/DatePicker.d.ts +84 -82
- package/esm/components/DatePicker.js +12 -12
- package/esm/components/DateRangePicker.d.ts +133 -129
- package/esm/components/DateRangePicker.js +40 -27
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +30 -30
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.d.ts +120 -120
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.d.ts +120 -120
- package/esm/components/Editor.js +3 -3
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +120 -120
- package/esm/components/GroupedSelection.js +5 -4
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +40 -40
- package/esm/components/ImageGallery.js +2 -1
- package/esm/components/Input.d.ts +3 -1
- package/esm/components/Input.js +3 -3
- package/esm/components/InputBox.d.ts +14 -13
- package/esm/components/InputBox.js +7 -7
- package/esm/components/InputBoxWithSuggestion.js +7 -7
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.d.ts +10 -10
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +82 -80
- package/esm/components/ListMenu.js +3 -3
- package/esm/components/LocationPicker.d.ts +40 -40
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +120 -120
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +120 -120
- package/esm/components/MultilineText.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +30 -21
- package/esm/components/NumberInput.js +36 -6
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.d.ts +200 -110
- package/esm/components/Pagination.js +21 -21
- package/esm/components/PdfViewer.d.ts +49 -0
- package/esm/components/PdfViewer.js +85 -0
- package/esm/components/Picker.d.ts +1 -0
- package/esm/components/Picker.js +4 -4
- package/esm/components/PickerColumn.d.ts +1 -0
- package/esm/components/PickerColumn.js +8 -6
- package/esm/components/PickerContainer.d.ts +1 -2
- package/esm/components/PickerContainer.js +26 -16
- package/esm/components/PopOverContainer.d.ts +1 -0
- package/esm/components/PopOverContainer.js +3 -3
- package/esm/components/PopUp.d.ts +120 -120
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +60 -60
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +12 -10
- package/esm/components/Radios.js +4 -3
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.d.ts +20 -20
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +82 -81
- package/esm/components/ResultBox.js +25 -21
- package/esm/components/ResultList.d.ts +42 -40
- package/esm/components/ResultList.js +5 -4
- package/esm/components/ResultTableList.d.ts +120 -120
- package/esm/components/ResultTableList.js +5 -4
- package/esm/components/ResultTreeList.d.ts +40 -40
- package/esm/components/ResultTreeList.js +3 -3
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +82 -81
- package/esm/components/SearchBox.js +8 -8
- package/esm/components/Select.d.ts +1363 -1354
- package/esm/components/Select.js +13 -12
- package/esm/components/SelectMobile.js +22 -19
- package/esm/components/Selection.d.ts +122 -120
- package/esm/components/Selection.js +1 -1
- package/esm/components/Signature.d.ts +280 -0
- package/esm/components/Signature.js +271 -0
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +60 -60
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +12 -12
- package/esm/components/Switch.js +4 -4
- package/esm/components/TableSelection.d.ts +120 -120
- package/esm/components/TableSelection.js +6 -5
- package/esm/components/Tabs.d.ts +83 -81
- package/esm/components/Tabs.js +21 -22
- package/esm/components/TabsTransfer.d.ts +40 -40
- package/esm/components/TabsTransfer.js +16 -14
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +70 -70
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +42 -42
- package/esm/components/Textarea.js +4 -4
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +7 -4
- package/esm/components/TitleBar.d.ts +10 -10
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +120 -120
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +32 -32
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +174 -172
- package/esm/components/Transfer.js +16 -16
- package/esm/components/TransferDropDown.d.ts +160 -160
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +206 -210
- package/esm/components/Tree.js +32 -30
- package/esm/components/TreeSelection.d.ts +120 -120
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +40 -40
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +40 -40
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.d.ts +9 -0
- package/esm/components/WithRemoteConfig.js +19 -3
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -1
- package/esm/components/calendar/Calendar.js +7 -6
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +2 -1
- package/esm/components/calendar/DaysView.js +17 -15
- package/esm/components/calendar/MonthsView.d.ts +2 -0
- package/esm/components/calendar/MonthsView.js +8 -6
- package/esm/components/calendar/QuartersView.d.ts +2 -0
- package/esm/components/calendar/QuartersView.js +7 -6
- package/esm/components/calendar/TimeView.d.ts +2 -0
- package/esm/components/calendar/TimeView.js +8 -7
- package/esm/components/calendar/YearsView.d.ts +2 -0
- package/esm/components/calendar/YearsView.js +6 -5
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.d.ts +1 -0
- package/esm/components/condition-builder/Value.js +30 -14
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/CodeEditor.d.ts +92 -0
- package/esm/components/formula/CodeEditor.js +99 -0
- package/esm/components/formula/Editor.d.ts +64 -69
- package/esm/components/formula/Editor.js +173 -81
- package/esm/components/formula/FuncList.d.ts +1 -1
- package/esm/components/formula/FuncList.js +10 -9
- package/esm/components/formula/Input.d.ts +68 -54
- package/esm/components/formula/Input.js +45 -102
- package/esm/components/formula/Picker.d.ts +74 -60
- package/esm/components/formula/Picker.js +129 -69
- package/esm/components/formula/VariableList.d.ts +1 -1
- package/esm/components/formula/VariableList.js +26 -12
- package/esm/components/formula/plugin.d.ts +28 -7
- package/esm/components/formula/plugin.js +217 -90
- package/esm/components/icons.d.ts +4 -2
- package/esm/components/icons.js +14 -5
- package/esm/components/index.d.ts +5 -3
- package/esm/components/json-schema/Array.js +2 -2
- package/esm/components/json-schema/Item.d.ts +3 -1
- package/esm/components/json-schema/Item.js +35 -9
- package/esm/components/json-schema/Object.d.ts +3 -1
- package/esm/components/json-schema/Object.js +112 -52
- package/esm/components/json-schema/index.d.ts +53 -50
- package/esm/components/json-schema/index.js +14 -5
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +2 -1
- package/esm/components/menu/MenuItem.js +4 -4
- package/esm/components/menu/SubMenu.d.ts +2 -1
- package/esm/components/menu/SubMenu.js +6 -6
- package/esm/components/menu/index.d.ts +66 -63
- package/esm/components/menu/index.js +10 -7
- package/esm/components/schema-editor/Array.js +23 -8
- package/esm/components/schema-editor/Common.d.ts +17 -1
- package/esm/components/schema-editor/Common.js +84 -37
- package/esm/components/schema-editor/Item.js +2 -2
- package/esm/components/schema-editor/Object.d.ts +7 -1
- package/esm/components/schema-editor/Object.js +106 -14
- package/esm/components/schema-editor/SchemaVariableList.d.ts +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +48 -40
- package/esm/components/schema-editor/index.js +4 -4
- package/esm/components/table/Cell.d.ts +2 -0
- package/esm/components/table/Cell.js +4 -4
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.d.ts +2 -0
- package/esm/components/table/Head.js +12 -9
- package/esm/components/table/HeadCellDropDown.d.ts +2 -0
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +42 -40
- package/esm/components/table/HeadCellFilter.js +8 -8
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +2 -0
- package/esm/components/table/HeadCellSort.js +8 -8
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.d.ts +2 -0
- package/esm/components/table/Row.js +4 -3
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.d.ts +162 -160
- package/esm/components/table/index.js +7 -5
- package/esm/components/table/util.d.ts +7 -7
- package/esm/components/table/util.js +4 -2
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/fullscreen.svg.js +21 -0
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/sub-plus.svg.js +20 -0
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo-normal.svg.js +25 -0
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.svg.js +21 -0
- 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 +4 -2
- package/esm/locale/de-DE.js +27 -11
- package/esm/locale/en-US.js +18 -2
- package/esm/locale/zh-CN.js +19 -3
- package/esm/node_modules/pdfjs-dist/build/pdf.worker.min.js +37 -0
- package/esm/node_modules/smooth-signature/es/index.js +506 -0
- 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/_commonjsHelpers.js +14 -0
- package/lib/_virtual/pdf.worker.min.js +12 -0
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +124 -122
- package/lib/components/Alert.js +10 -6
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +12 -11
- package/lib/components/AsideNav.js +5 -2
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +4 -4
- package/lib/components/Avatar.d.ts +70 -70
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +3 -0
- package/lib/components/Breadcrumb.js +7 -6
- package/lib/components/Button.d.ts +42 -41
- package/lib/components/Button.js +3 -3
- package/lib/components/CalendarMobile.d.ts +85 -80
- package/lib/components/CalendarMobile.js +41 -6
- package/lib/components/Card.d.ts +110 -110
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +8 -6
- package/lib/components/Checkbox.d.ts +12 -11
- package/lib/components/Checkbox.js +6 -6
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.d.ts +1 -1
- package/lib/components/CityDB.js +377 -889
- package/lib/components/CodeMirror.d.ts +1 -0
- package/lib/components/CodeMirror.js +15 -4
- package/lib/components/Collapse.d.ts +140 -140
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +81 -80
- package/lib/components/ConfirmBox.js +6 -3
- package/lib/components/ContextMenu.d.ts +17 -3
- package/lib/components/ContextMenu.js +73 -20
- package/lib/components/DatePicker.d.ts +124 -122
- package/lib/components/DatePicker.js +12 -12
- package/lib/components/DateRangePicker.d.ts +293 -289
- package/lib/components/DateRangePicker.js +40 -27
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +120 -120
- package/lib/components/Editor.js +3 -3
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +5 -4
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +2 -1
- package/lib/components/Input.d.ts +3 -1
- package/lib/components/Input.js +3 -3
- package/lib/components/InputBox.d.ts +14 -13
- package/lib/components/InputBox.js +6 -6
- package/lib/components/InputBoxWithSuggestion.js +7 -7
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +82 -80
- package/lib/components/ListMenu.js +3 -3
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +80 -80
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +160 -160
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +30 -21
- package/lib/components/NumberInput.js +36 -6
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.d.ts +200 -110
- package/lib/components/Pagination.js +20 -20
- package/lib/components/PdfViewer.d.ts +49 -0
- package/lib/components/PdfViewer.js +91 -0
- package/lib/components/Picker.d.ts +1 -0
- package/lib/components/Picker.js +4 -4
- package/lib/components/PickerColumn.d.ts +1 -0
- package/lib/components/PickerColumn.js +7 -5
- package/lib/components/PickerContainer.d.ts +1 -2
- package/lib/components/PickerContainer.js +26 -16
- package/lib/components/PopOverContainer.d.ts +1 -0
- package/lib/components/PopOverContainer.js +3 -3
- package/lib/components/PopUp.d.ts +40 -40
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +50 -50
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +12 -10
- package/lib/components/Radios.js +4 -3
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +10 -10
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +82 -81
- package/lib/components/ResultBox.js +25 -21
- package/lib/components/ResultList.d.ts +42 -40
- package/lib/components/ResultList.js +5 -4
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +5 -4
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +3 -3
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +82 -81
- package/lib/components/SearchBox.js +7 -7
- package/lib/components/Select.d.ts +1366 -1357
- package/lib/components/Select.js +12 -11
- package/lib/components/SelectMobile.js +22 -19
- package/lib/components/Selection.d.ts +82 -80
- package/lib/components/Selection.js +1 -1
- package/lib/components/Signature.d.ts +280 -0
- package/lib/components/Signature.js +275 -0
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +60 -60
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +12 -12
- package/lib/components/Switch.js +3 -3
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +6 -5
- package/lib/components/Tabs.d.ts +83 -81
- package/lib/components/Tabs.js +21 -22
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +16 -14
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +42 -42
- package/lib/components/Textarea.js +3 -3
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +7 -4
- package/lib/components/TitleBar.d.ts +10 -10
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +80 -80
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +42 -42
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +192 -190
- package/lib/components/Transfer.js +16 -16
- package/lib/components/TransferDropDown.d.ts +160 -160
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +286 -290
- package/lib/components/Tree.js +31 -29
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +9 -0
- package/lib/components/WithRemoteConfig.js +19 -3
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -1
- package/lib/components/calendar/Calendar.js +6 -5
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +2 -1
- package/lib/components/calendar/DaysView.js +17 -15
- package/lib/components/calendar/MonthsView.d.ts +2 -0
- package/lib/components/calendar/MonthsView.js +8 -6
- package/lib/components/calendar/QuartersView.d.ts +2 -0
- package/lib/components/calendar/QuartersView.js +7 -6
- package/lib/components/calendar/TimeView.d.ts +2 -0
- package/lib/components/calendar/TimeView.js +8 -7
- package/lib/components/calendar/YearsView.d.ts +2 -0
- package/lib/components/calendar/YearsView.js +6 -5
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.d.ts +1 -0
- package/lib/components/condition-builder/Value.js +28 -12
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/CodeEditor.d.ts +92 -0
- package/lib/components/formula/CodeEditor.js +110 -0
- package/lib/components/formula/Editor.d.ts +64 -69
- package/lib/components/formula/Editor.js +172 -78
- package/lib/components/formula/FuncList.d.ts +1 -1
- package/lib/components/formula/FuncList.js +10 -9
- package/lib/components/formula/Input.d.ts +68 -54
- package/lib/components/formula/Input.js +43 -101
- package/lib/components/formula/Picker.d.ts +74 -60
- package/lib/components/formula/Picker.js +128 -68
- package/lib/components/formula/VariableList.d.ts +1 -1
- package/lib/components/formula/VariableList.js +24 -10
- package/lib/components/formula/plugin.d.ts +28 -7
- package/lib/components/formula/plugin.js +220 -89
- package/lib/components/icons.d.ts +4 -2
- package/lib/components/icons.js +14 -5
- package/lib/components/index.d.ts +5 -3
- package/lib/components/json-schema/Array.js +3 -3
- package/lib/components/json-schema/Item.d.ts +3 -1
- package/lib/components/json-schema/Item.js +39 -8
- package/lib/components/json-schema/Object.d.ts +3 -1
- package/lib/components/json-schema/Object.js +113 -51
- package/lib/components/json-schema/index.d.ts +53 -50
- package/lib/components/json-schema/index.js +18 -5
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +2 -1
- package/lib/components/menu/MenuItem.js +3 -3
- package/lib/components/menu/SubMenu.d.ts +2 -1
- package/lib/components/menu/SubMenu.js +5 -5
- package/lib/components/menu/index.d.ts +86 -83
- package/lib/components/menu/index.js +10 -7
- package/lib/components/schema-editor/Array.js +23 -8
- package/lib/components/schema-editor/Common.d.ts +17 -1
- package/lib/components/schema-editor/Common.js +83 -36
- package/lib/components/schema-editor/Item.js +2 -2
- package/lib/components/schema-editor/Object.d.ts +7 -1
- package/lib/components/schema-editor/Object.js +105 -13
- package/lib/components/schema-editor/SchemaVariableList.d.ts +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +48 -40
- package/lib/components/schema-editor/index.js +4 -4
- package/lib/components/table/Cell.d.ts +2 -0
- package/lib/components/table/Cell.js +4 -4
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.d.ts +2 -0
- package/lib/components/table/Head.js +12 -9
- package/lib/components/table/HeadCellDropDown.d.ts +2 -0
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +82 -80
- package/lib/components/table/HeadCellFilter.js +8 -8
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +2 -0
- package/lib/components/table/HeadCellSort.js +7 -7
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.d.ts +2 -0
- package/lib/components/table/Row.js +4 -3
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.d.ts +122 -120
- package/lib/components/table/index.js +7 -5
- package/lib/components/table/util.d.ts +7 -7
- package/lib/components/table/util.js +4 -2
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/fullscreen.svg.js +28 -0
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.svg.js +27 -0
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo-normal.svg.js +32 -0
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +28 -0
- 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 +6 -1
- package/lib/locale/de-DE.js +27 -11
- package/lib/locale/en-US.js +18 -2
- package/lib/locale/zh-CN.js +19 -3
- package/lib/node_modules/pdfjs-dist/build/pdf.worker.min.js +41 -0
- package/lib/node_modules/smooth-signature/es/index.js +510 -0
- package/lib/{scss → packages/amis-ui/scss}/helper.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/ang.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/antd.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/cxd.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/dark.scss.js +1 -1
- package/lib/{scss → packages/amis-ui/scss}/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +1032 -38
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +1032 -38
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +1032 -38
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +1032 -38
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +1032 -38
- package/package.json +4 -3
- package/scss/_components.scss +7 -0
- package/scss/_mixins.scss +1 -0
- package/scss/_thirds.scss +3 -0
- package/scss/components/_collapse.scss +1 -1
- package/scss/components/_condition-builder.scss +18 -0
- package/scss/components/_crud2.scss +4 -0
- package/scss/components/_formula.scss +148 -26
- package/scss/components/_image-gallery.scss +7 -1
- package/scss/components/_input-box.scss +6 -0
- package/scss/components/_json-schema-editor.scss +24 -3
- package/scss/components/_json-schema.scss +5 -0
- package/scss/components/_menu.scss +3 -0
- package/scss/components/_pdf_viewer.scss +47 -0
- package/scss/components/_signature.scss +97 -0
- package/scss/components/_table.scss +6 -1
- package/scss/components/_tabs.scss +10 -4
- package/scss/components/form/_combo.scss +1 -0
- package/scss/components/form/_form.scss +10 -0
- package/scss/components/form/_icon-select.scss +3 -0
- package/scss/components/form/_picker.scss +2 -1
- package/scss/components/form/_tag.scss +2 -1
- package/scss/components/form/_text.scss +4 -4
- package/scss/themes/_common.scss +2 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="hoist-non-react-statics" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { FormulaEditorProps
|
|
4
|
-
|
|
3
|
+
import { FormulaEditorProps } from './Editor';
|
|
4
|
+
import { FuncGroup, VariableItem } from './CodeEditor';
|
|
5
|
+
export declare const InputSchemaType: readonly ["text", "number", "boolean", "date", "time", "datetime", "select", "custom"];
|
|
5
6
|
export type FormulaPickerInputSettingType = (typeof InputSchemaType)[number];
|
|
6
7
|
export interface FormulaPickerInputSettings {
|
|
7
8
|
type: FormulaPickerInputSettingType;
|
|
@@ -48,10 +49,6 @@ export interface FormulaPickerProps extends Omit<FormulaEditorProps, 'variables'
|
|
|
48
49
|
* 禁用状态
|
|
49
50
|
*/
|
|
50
51
|
disabled?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* 是否允许输入,否需要点击fx在弹窗中输入
|
|
53
|
-
*/
|
|
54
|
-
allowInput?: boolean;
|
|
55
52
|
/**
|
|
56
53
|
* 占位文本
|
|
57
54
|
*/
|
|
@@ -72,14 +69,27 @@ export interface FormulaPickerProps extends Omit<FormulaEditorProps, 'variables'
|
|
|
72
69
|
* 输入框的展示类型
|
|
73
70
|
*/
|
|
74
71
|
inputSettings?: FormulaPickerInputSettings;
|
|
72
|
+
/**
|
|
73
|
+
* 其他类型渲染器
|
|
74
|
+
*/
|
|
75
|
+
customInputRender?: (props: {
|
|
76
|
+
value: any;
|
|
77
|
+
onChange: (value: any) => void;
|
|
78
|
+
className?: string;
|
|
79
|
+
inputSettings: FormulaPickerInputSettings;
|
|
80
|
+
}) => JSX.Element;
|
|
75
81
|
/**
|
|
76
82
|
* 公式弹出的时候,可以外部设置 variables 和 functions
|
|
77
83
|
*/
|
|
78
84
|
onPickerOpen?: (props: FormulaPickerProps) => any;
|
|
85
|
+
functionsFilter?: (functions: Array<FuncGroup>) => Array<FuncGroup>;
|
|
79
86
|
children?: (props: {
|
|
80
87
|
onClick: (e: React.MouseEvent) => void;
|
|
81
88
|
setState: (state: any) => void;
|
|
82
89
|
isOpened: boolean;
|
|
90
|
+
value: any;
|
|
91
|
+
onChange: (value: any) => void;
|
|
92
|
+
disabled?: boolean;
|
|
83
93
|
}) => JSX.Element;
|
|
84
94
|
onConfirm?: (value?: any) => void;
|
|
85
95
|
onRef?: (node: any) => void;
|
|
@@ -90,6 +100,7 @@ export interface FormulaPickerState {
|
|
|
90
100
|
isOpened: boolean;
|
|
91
101
|
value: any;
|
|
92
102
|
editorValue: string;
|
|
103
|
+
onConfirm?: (value?: any) => void;
|
|
93
104
|
isError: boolean | string;
|
|
94
105
|
variables?: Array<VariableItem>;
|
|
95
106
|
functions?: Array<FuncGroup>;
|
|
@@ -100,26 +111,29 @@ export declare class FormulaPicker extends React.Component<FormulaPickerProps, F
|
|
|
100
111
|
static defaultProps: {
|
|
101
112
|
evalMode: boolean;
|
|
102
113
|
};
|
|
114
|
+
unmounted: boolean;
|
|
103
115
|
constructor(props: FormulaPickerProps);
|
|
104
116
|
componentDidMount(): Promise<void>;
|
|
105
117
|
componentDidUpdate(prevProps: FormulaPickerProps): Promise<void>;
|
|
118
|
+
componentWillUnmount(): void;
|
|
119
|
+
buildFunctions(functions?: FuncGroup[] | undefined, setState?: boolean): Promise<any>;
|
|
106
120
|
value2EditorValue(props: FormulaPickerProps): string;
|
|
107
121
|
isTextInput(): boolean;
|
|
108
122
|
handleConfirm(): void;
|
|
109
|
-
renderFormulaValue(item: any): React.JSX.Element | "";
|
|
110
123
|
handleInputChange(value: string): void;
|
|
111
124
|
handleInputGroupChange(e: React.ChangeEvent<HTMLInputElement>): void;
|
|
112
125
|
handleEditorChange(value: string): void;
|
|
113
126
|
handleEditorConfirm(): void;
|
|
114
|
-
confirm(value:
|
|
127
|
+
confirm(value: any, ast?: any): void;
|
|
115
128
|
handleClick(): Promise<void>;
|
|
129
|
+
openEditor(editorValue: string, onConfirm?: (value: any) => void): Promise<void>;
|
|
116
130
|
close(e?: any, callback?: () => void): void;
|
|
117
131
|
updateState(state?: any): void;
|
|
118
132
|
validate(value: string): any;
|
|
119
133
|
render(): React.JSX.Element;
|
|
120
134
|
}
|
|
121
135
|
declare const _default: {
|
|
122
|
-
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
136
|
+
new (props: Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
123
137
|
evalMode?: boolean | undefined;
|
|
124
138
|
} & {} & {
|
|
125
139
|
locale?: string | undefined;
|
|
@@ -129,18 +143,15 @@ declare const _default: {
|
|
|
129
143
|
childRef(ref: any): void;
|
|
130
144
|
getWrappedInstance(): any;
|
|
131
145
|
render(): React.JSX.Element;
|
|
132
|
-
/**
|
|
133
|
-
* 支持通过上下文变量配置value
|
|
134
|
-
*/
|
|
135
146
|
context: unknown;
|
|
136
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
147
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
137
148
|
evalMode?: boolean | undefined;
|
|
138
149
|
} & {} & {
|
|
139
150
|
locale?: string | undefined;
|
|
140
151
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
141
152
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
142
153
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
143
|
-
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
154
|
+
readonly props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
144
155
|
evalMode?: boolean | undefined;
|
|
145
156
|
} & {} & {
|
|
146
157
|
locale?: string | undefined;
|
|
@@ -151,7 +162,7 @@ declare const _default: {
|
|
|
151
162
|
[key: string]: React.ReactInstance;
|
|
152
163
|
};
|
|
153
164
|
componentDidMount?(): void;
|
|
154
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
165
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
155
166
|
evalMode?: boolean | undefined;
|
|
156
167
|
} & {} & {
|
|
157
168
|
locale?: string | undefined;
|
|
@@ -159,13 +170,13 @@ declare const _default: {
|
|
|
159
170
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
160
171
|
componentWillUnmount?(): void;
|
|
161
172
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
162
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
173
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
163
174
|
evalMode?: boolean | undefined;
|
|
164
175
|
} & {} & {
|
|
165
176
|
locale?: string | undefined;
|
|
166
177
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
167
178
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
168
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
179
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
169
180
|
evalMode?: boolean | undefined;
|
|
170
181
|
} & {} & {
|
|
171
182
|
locale?: string | undefined;
|
|
@@ -173,25 +184,25 @@ declare const _default: {
|
|
|
173
184
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
174
185
|
componentWillMount?(): void;
|
|
175
186
|
UNSAFE_componentWillMount?(): void;
|
|
176
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
187
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
177
188
|
evalMode?: boolean | undefined;
|
|
178
189
|
} & {} & {
|
|
179
190
|
locale?: string | undefined;
|
|
180
191
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
181
192
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
182
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
193
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
183
194
|
evalMode?: boolean | undefined;
|
|
184
195
|
} & {} & {
|
|
185
196
|
locale?: string | undefined;
|
|
186
197
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
187
198
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
188
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
199
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
189
200
|
evalMode?: boolean | undefined;
|
|
190
201
|
} & {} & {
|
|
191
202
|
locale?: string | undefined;
|
|
192
203
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
193
204
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
194
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
205
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
195
206
|
evalMode?: boolean | undefined;
|
|
196
207
|
} & {} & {
|
|
197
208
|
locale?: string | undefined;
|
|
@@ -201,27 +212,28 @@ declare const _default: {
|
|
|
201
212
|
displayName: string;
|
|
202
213
|
contextType: React.Context<string>;
|
|
203
214
|
ComposedComponent: React.ComponentType<{
|
|
204
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
215
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
205
216
|
evalMode?: boolean | undefined;
|
|
206
217
|
} & {} & {
|
|
207
218
|
locale?: string | undefined;
|
|
208
219
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
209
220
|
}): {
|
|
210
221
|
ref: any;
|
|
211
|
-
childRef(ref: any): void;
|
|
212
|
-
* 按钮图标
|
|
213
|
-
*/
|
|
222
|
+
childRef(ref: any): void;
|
|
214
223
|
getWrappedInstance(): any;
|
|
215
224
|
render(): React.JSX.Element;
|
|
225
|
+
/**
|
|
226
|
+
* 按钮图标
|
|
227
|
+
*/
|
|
216
228
|
context: unknown;
|
|
217
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
229
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
218
230
|
evalMode?: boolean | undefined;
|
|
219
231
|
} & {} & {
|
|
220
232
|
locale?: string | undefined;
|
|
221
233
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
222
234
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
223
235
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
224
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
236
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
225
237
|
evalMode?: boolean | undefined;
|
|
226
238
|
} & {} & {
|
|
227
239
|
locale?: string | undefined;
|
|
@@ -232,7 +244,7 @@ declare const _default: {
|
|
|
232
244
|
[key: string]: React.ReactInstance;
|
|
233
245
|
};
|
|
234
246
|
componentDidMount?(): void;
|
|
235
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
247
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
236
248
|
evalMode?: boolean | undefined;
|
|
237
249
|
} & {} & {
|
|
238
250
|
locale?: string | undefined;
|
|
@@ -240,13 +252,13 @@ declare const _default: {
|
|
|
240
252
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
241
253
|
componentWillUnmount?(): void;
|
|
242
254
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
243
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
255
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
244
256
|
evalMode?: boolean | undefined;
|
|
245
257
|
} & {} & {
|
|
246
258
|
locale?: string | undefined;
|
|
247
259
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
248
260
|
}>, prevState: Readonly<{}>): any;
|
|
249
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
261
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
250
262
|
evalMode?: boolean | undefined;
|
|
251
263
|
} & {} & {
|
|
252
264
|
locale?: string | undefined;
|
|
@@ -254,25 +266,25 @@ declare const _default: {
|
|
|
254
266
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
255
267
|
componentWillMount?(): void;
|
|
256
268
|
UNSAFE_componentWillMount?(): void;
|
|
257
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
269
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
258
270
|
evalMode?: boolean | undefined;
|
|
259
271
|
} & {} & {
|
|
260
272
|
locale?: string | undefined;
|
|
261
273
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
262
274
|
}>, nextContext: any): void;
|
|
263
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
275
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
264
276
|
evalMode?: boolean | undefined;
|
|
265
277
|
} & {} & {
|
|
266
278
|
locale?: string | undefined;
|
|
267
279
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
268
280
|
}>, nextContext: any): void;
|
|
269
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
281
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
270
282
|
evalMode?: boolean | undefined;
|
|
271
283
|
} & {} & {
|
|
272
284
|
locale?: string | undefined;
|
|
273
285
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
274
286
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
275
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
287
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
276
288
|
evalMode?: boolean | undefined;
|
|
277
289
|
} & {} & {
|
|
278
290
|
locale?: string | undefined;
|
|
@@ -286,27 +298,28 @@ declare const _default: {
|
|
|
286
298
|
ComposedComponent: typeof FormulaPicker;
|
|
287
299
|
}>;
|
|
288
300
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
289
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
301
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
290
302
|
evalMode?: boolean | undefined;
|
|
291
303
|
} & {} & {
|
|
292
304
|
locale?: string | undefined;
|
|
293
305
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
294
306
|
}): {
|
|
295
307
|
ref: any;
|
|
296
|
-
childRef(ref: any): void;
|
|
297
|
-
* 按钮图标
|
|
298
|
-
*/
|
|
308
|
+
childRef(ref: any): void;
|
|
299
309
|
getWrappedInstance(): any;
|
|
300
310
|
render(): React.JSX.Element;
|
|
311
|
+
/**
|
|
312
|
+
* 按钮图标
|
|
313
|
+
*/
|
|
301
314
|
context: unknown;
|
|
302
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
315
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
303
316
|
evalMode?: boolean | undefined;
|
|
304
317
|
} & {} & {
|
|
305
318
|
locale?: string | undefined;
|
|
306
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
307
320
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
308
321
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
309
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
322
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
310
323
|
evalMode?: boolean | undefined;
|
|
311
324
|
} & {} & {
|
|
312
325
|
locale?: string | undefined;
|
|
@@ -317,7 +330,7 @@ declare const _default: {
|
|
|
317
330
|
[key: string]: React.ReactInstance;
|
|
318
331
|
};
|
|
319
332
|
componentDidMount?(): void;
|
|
320
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
333
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
321
334
|
evalMode?: boolean | undefined;
|
|
322
335
|
} & {} & {
|
|
323
336
|
locale?: string | undefined;
|
|
@@ -325,13 +338,13 @@ declare const _default: {
|
|
|
325
338
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
326
339
|
componentWillUnmount?(): void;
|
|
327
340
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
328
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
341
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
329
342
|
evalMode?: boolean | undefined;
|
|
330
343
|
} & {} & {
|
|
331
344
|
locale?: string | undefined;
|
|
332
345
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
333
346
|
}>, prevState: Readonly<{}>): any;
|
|
334
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
347
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
335
348
|
evalMode?: boolean | undefined;
|
|
336
349
|
} & {} & {
|
|
337
350
|
locale?: string | undefined;
|
|
@@ -339,25 +352,25 @@ declare const _default: {
|
|
|
339
352
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
340
353
|
componentWillMount?(): void;
|
|
341
354
|
UNSAFE_componentWillMount?(): void;
|
|
342
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
355
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
343
356
|
evalMode?: boolean | undefined;
|
|
344
357
|
} & {} & {
|
|
345
358
|
locale?: string | undefined;
|
|
346
359
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
347
360
|
}>, nextContext: any): void;
|
|
348
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
361
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
349
362
|
evalMode?: boolean | undefined;
|
|
350
363
|
} & {} & {
|
|
351
364
|
locale?: string | undefined;
|
|
352
365
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
353
366
|
}>, nextContext: any): void;
|
|
354
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
367
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
355
368
|
evalMode?: boolean | undefined;
|
|
356
369
|
} & {} & {
|
|
357
370
|
locale?: string | undefined;
|
|
358
371
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
359
372
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
360
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
373
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
361
374
|
evalMode?: boolean | undefined;
|
|
362
375
|
} & {} & {
|
|
363
376
|
locale?: string | undefined;
|
|
@@ -371,27 +384,28 @@ declare const _default: {
|
|
|
371
384
|
ComposedComponent: typeof FormulaPicker;
|
|
372
385
|
}, {}> & {
|
|
373
386
|
ComposedComponent: {
|
|
374
|
-
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
387
|
+
new (props: Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
375
388
|
evalMode?: boolean | undefined;
|
|
376
389
|
} & {} & {
|
|
377
390
|
locale?: string | undefined;
|
|
378
391
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
379
392
|
}): {
|
|
380
393
|
ref: any;
|
|
381
|
-
childRef(ref: any): void;
|
|
382
|
-
* 按钮图标
|
|
383
|
-
*/
|
|
394
|
+
childRef(ref: any): void;
|
|
384
395
|
getWrappedInstance(): any;
|
|
385
396
|
render(): React.JSX.Element;
|
|
397
|
+
/**
|
|
398
|
+
* 按钮图标
|
|
399
|
+
*/
|
|
386
400
|
context: unknown;
|
|
387
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
401
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
388
402
|
evalMode?: boolean | undefined;
|
|
389
403
|
} & {} & {
|
|
390
404
|
locale?: string | undefined;
|
|
391
405
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
392
406
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
393
407
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
394
|
-
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
408
|
+
readonly props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
395
409
|
evalMode?: boolean | undefined;
|
|
396
410
|
} & {} & {
|
|
397
411
|
locale?: string | undefined;
|
|
@@ -402,7 +416,7 @@ declare const _default: {
|
|
|
402
416
|
[key: string]: React.ReactInstance;
|
|
403
417
|
};
|
|
404
418
|
componentDidMount?(): void;
|
|
405
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
419
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
406
420
|
evalMode?: boolean | undefined;
|
|
407
421
|
} & {} & {
|
|
408
422
|
locale?: string | undefined;
|
|
@@ -410,13 +424,13 @@ declare const _default: {
|
|
|
410
424
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
411
425
|
componentWillUnmount?(): void;
|
|
412
426
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
413
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
427
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
414
428
|
evalMode?: boolean | undefined;
|
|
415
429
|
} & {} & {
|
|
416
430
|
locale?: string | undefined;
|
|
417
431
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
418
432
|
}>, prevState: Readonly<{}>): any;
|
|
419
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
433
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
420
434
|
evalMode?: boolean | undefined;
|
|
421
435
|
} & {} & {
|
|
422
436
|
locale?: string | undefined;
|
|
@@ -424,25 +438,25 @@ declare const _default: {
|
|
|
424
438
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
425
439
|
componentWillMount?(): void;
|
|
426
440
|
UNSAFE_componentWillMount?(): void;
|
|
427
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
441
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
428
442
|
evalMode?: boolean | undefined;
|
|
429
443
|
} & {} & {
|
|
430
444
|
locale?: string | undefined;
|
|
431
445
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
432
446
|
}>, nextContext: any): void;
|
|
433
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
447
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
434
448
|
evalMode?: boolean | undefined;
|
|
435
449
|
} & {} & {
|
|
436
450
|
locale?: string | undefined;
|
|
437
451
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
438
452
|
}>, nextContext: any): void;
|
|
439
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
453
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
440
454
|
evalMode?: boolean | undefined;
|
|
441
455
|
} & {} & {
|
|
442
456
|
locale?: string | undefined;
|
|
443
457
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
444
458
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
445
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "
|
|
459
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "theme" | "mobileUI" | "style" | "data" | "header" | "source" | "title" | "disabled" | "icon" | "value" | "onChange" | "size" | "placeholder" | "mode" | "level" | "onConfirm" | "popOverContainer" | "clearable" | "borderMode" | "onRef" | "onPickerOpen" | "variableMode" | "functions" | "variables" | "editorOptions" | "selfVariableName" | "variableClassName" | "functionClassName" | "inputSettings" | "mixedMode" | "btnLabel" | "btnSize" | "customInputRender" | "functionsFilter"> & {
|
|
446
460
|
evalMode?: boolean | undefined;
|
|
447
461
|
} & {} & {
|
|
448
462
|
locale?: string | undefined;
|