amis-ui 3.4.0 → 3.4.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.d.ts +10 -10
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +10 -10
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +10 -10
- 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 +10 -10
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +10 -10
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +10 -10
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +10 -10
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +10 -10
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +10 -10
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +11 -18
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +11 -11
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +12 -11
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +10 -10
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +10 -10
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +10 -10
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +10 -10
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +10 -10
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.d.ts +10 -10
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +22 -10
- package/esm/components/Collapse.js +5 -3
- package/esm/components/CollapseGroup.d.ts +10 -10
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +10 -10
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +10 -12
- package/esm/components/Combo.js +8 -7
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +10 -10
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +10 -10
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +28 -14
- package/esm/components/DateRangePicker.js +36 -11
- package/esm/components/DndContainer.d.ts +40 -40
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +22 -20
- package/esm/components/Drawer.js +4 -4
- package/esm/components/DropDownSelection.d.ts +10 -10
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.d.ts +10 -10
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +1 -1
- package/esm/components/Form.js +28 -24
- package/esm/components/FormField.d.ts +19 -19
- package/esm/components/FormField.js +9 -6
- package/esm/components/GaodeMapPicker.d.ts +10 -10
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +10 -10
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +10 -10
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +10 -10
- package/esm/components/ImageGallery.js +3 -3
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +2 -2
- package/esm/components/InputBoxWithSuggestion.d.ts +10 -10
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.d.ts +36 -14
- package/esm/components/InputTable.js +33 -14
- package/esm/components/Layout.d.ts +10 -10
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +10 -10
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +20 -20
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +10 -10
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +10 -10
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +92 -90
- package/esm/components/Modal.js +13 -4
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +10 -10
- package/esm/components/MultilineText.d.ts +10 -10
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +10 -10
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.d.ts +12 -12
- package/esm/components/Pagination.js +5 -5
- package/esm/components/Picker.d.ts +10 -10
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +10 -10
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +10 -10
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +10 -10
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +10 -10
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +10 -10
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +10 -10
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +10 -14
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.d.ts +10 -10
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +10 -10
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +10 -10
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +10 -10
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +10 -10
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +10 -10
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +163 -163
- package/esm/components/Select.js +3 -2
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.d.ts +10 -10
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +10 -10
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +10 -10
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.d.ts +10 -10
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +10 -10
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +10 -10
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +60 -60
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +10 -10
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.d.ts +10 -10
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +20 -20
- package/esm/components/Tag.js +3 -3
- package/esm/components/Textarea.d.ts +10 -10
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +10 -10
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +10 -10
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +10 -10
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +10 -10
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.d.ts +10 -10
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +10 -10
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +29 -29
- package/esm/components/Transfer.js +7 -5
- package/esm/components/TransferDropDown.d.ts +10 -10
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +10 -10
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +10 -10
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +10 -10
- package/esm/components/Tree.js +1 -1
- package/esm/components/TreeSelection.d.ts +10 -10
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +10 -10
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +10 -10
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +4 -2
- package/esm/components/calendar/Calendar.js +2 -2
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +2 -1
- package/esm/components/calendar/DaysView.js +5 -4
- 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 +10 -10
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +10 -10
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +10 -10
- package/esm/components/condition-builder/Func.d.ts +10 -10
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +10 -10
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +10 -10
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +10 -10
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +10 -10
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.d.ts +10 -10
- 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 +10 -10
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.d.ts +10 -10
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.d.ts +10 -10
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.d.ts +10 -10
- package/esm/components/formula/Input.js +9 -1
- package/esm/components/formula/Picker.d.ts +13 -10
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.d.ts +10 -10
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +3 -3
- 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.d.ts +10 -10
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +10 -10
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.d.ts +11 -10
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +15 -10
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.d.ts +40 -40
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +40 -40
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +10 -10
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +10 -10
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +10 -10
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +10 -10
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +10 -10
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +10 -10
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +10 -10
- package/esm/components/table/index.js +6 -8
- 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 +2 -2
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +4 -2
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/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/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 +2 -1
- package/esm/locale/en-US.js +2 -1
- package/esm/locale/zh-CN.js +2 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.d.ts +10 -10
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +130 -130
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +30 -30
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +40 -40
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +50 -50
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +20 -20
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +90 -90
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +110 -110
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +10 -10
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +10 -10
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +11 -18
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +31 -31
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +52 -51
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +110 -110
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +10 -10
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +90 -90
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +90 -90
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +20 -20
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.d.ts +10 -10
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +132 -120
- package/lib/components/Collapse.js +5 -3
- package/lib/components/CollapseGroup.d.ts +30 -30
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +90 -90
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +10 -12
- package/lib/components/Combo.js +8 -7
- package/lib/components/ConfirmBox.d.ts +120 -120
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +10 -10
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +131 -131
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +308 -294
- package/lib/components/DateRangePicker.js +36 -11
- package/lib/components/DndContainer.d.ts +40 -40
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +42 -40
- package/lib/components/Drawer.js +4 -4
- package/lib/components/DropDownSelection.d.ts +90 -90
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +130 -130
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +1 -1
- package/lib/components/Form.js +28 -24
- package/lib/components/FormField.d.ts +19 -19
- package/lib/components/FormField.js +14 -7
- package/lib/components/GaodeMapPicker.d.ts +10 -10
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +90 -90
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +10 -10
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +50 -50
- package/lib/components/ImageGallery.js +3 -3
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +26 -26
- package/lib/components/InputBox.js +2 -2
- package/lib/components/InputBoxWithSuggestion.d.ts +10 -10
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.d.ts +36 -14
- package/lib/components/InputTable.js +33 -14
- package/lib/components/Layout.d.ts +20 -20
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +10 -10
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +20 -20
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +90 -90
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +90 -90
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +132 -130
- package/lib/components/Modal.js +13 -4
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +210 -210
- package/lib/components/MultilineText.d.ts +50 -50
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +36 -36
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +92 -92
- package/lib/components/Pagination.js +5 -5
- package/lib/components/Picker.d.ts +10 -10
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +10 -10
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +10 -10
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +90 -90
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +60 -60
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +10 -10
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +40 -40
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +10 -14
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +50 -50
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +130 -130
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +50 -50
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +90 -90
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +50 -50
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +90 -90
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1895 -1895
- package/lib/components/Select.js +3 -2
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +90 -90
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +50 -50
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +76 -76
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.d.ts +10 -10
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +20 -20
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +90 -90
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +180 -180
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +50 -50
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.d.ts +10 -10
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +70 -70
- package/lib/components/Tag.js +3 -3
- package/lib/components/Textarea.d.ts +50 -50
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +10 -10
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +10 -10
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +20 -20
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +90 -90
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.d.ts +10 -10
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +36 -36
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +158 -158
- package/lib/components/Transfer.js +7 -5
- package/lib/components/TransferDropDown.d.ts +130 -130
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +10 -10
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +10 -10
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +170 -170
- package/lib/components/Tree.js +1 -1
- package/lib/components/TreeSelection.d.ts +90 -90
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +90 -90
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +50 -50
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +4 -2
- package/lib/components/calendar/Calendar.js +2 -2
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +2 -1
- package/lib/components/calendar/DaysView.js +5 -4
- 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 +10 -10
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +10 -10
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +10 -10
- package/lib/components/condition-builder/Func.d.ts +10 -10
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +10 -10
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +10 -10
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +10 -10
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +10 -10
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.d.ts +10 -10
- 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 +10 -10
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +50 -50
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.d.ts +10 -10
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.d.ts +10 -10
- package/lib/components/formula/Input.js +9 -1
- package/lib/components/formula/Picker.d.ts +53 -50
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.d.ts +10 -10
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +3 -3
- 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.d.ts +10 -10
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +10 -10
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.d.ts +11 -10
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +95 -90
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.d.ts +40 -40
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +40 -40
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +50 -50
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +90 -90
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +10 -10
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +50 -50
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +50 -50
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +10 -10
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +130 -130
- package/lib/components/table/index.js +6 -8
- 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 +2 -2
- package/lib/helper.css +1234 -9603
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +4 -2
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/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/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 +2 -1
- package/lib/locale/en-US.js +2 -1
- package/lib/locale/zh-CN.js +2 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +522 -734
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +522 -734
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +522 -734
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +522 -734
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +522 -734
- package/package.json +5 -5
- package/scss/_components.scss +6 -2
- package/scss/components/_carousel.scss +0 -1
- package/scss/components/_chart.scss +4 -0
- package/scss/components/_collapse.scss +6 -3
- package/scss/components/_divider.scss +25 -4
- package/scss/components/_image-gallery.scss +13 -5
- package/scss/components/_images.scss +9 -0
- package/scss/components/_table.scss +33 -49
- package/scss/components/_tpl.scss +8 -0
- package/scss/components/form/_checks.scss +8 -0
- package/scss/components/form/_editor.scss +48 -48
- package/scss/components/form/_form.scss +36 -0
- package/scss/components/form/_image.scss +0 -27
- package/scss/components/form/_input-table.scss +17 -0
- package/scss/components/form/_select.scss +24 -0
- package/scss/themes/_common.scss +3 -1
|
@@ -50,31 +50,31 @@ export declare class CBGroupOrItem extends React.Component<CBGroupOrItemProps> {
|
|
|
50
50
|
render(): React.JSX.Element;
|
|
51
51
|
}
|
|
52
52
|
declare const _default: {
|
|
53
|
-
new (props: Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
53
|
+
new (props: Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
54
54
|
ref: any;
|
|
55
55
|
childRef(ref: any): void;
|
|
56
56
|
getWrappedInstance(): any;
|
|
57
57
|
render(): React.JSX.Element;
|
|
58
58
|
context: unknown;
|
|
59
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
59
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
60
60
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
61
|
-
readonly props: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
61
|
+
readonly props: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
62
62
|
state: Readonly<{}>;
|
|
63
63
|
refs: {
|
|
64
64
|
[key: string]: React.ReactInstance;
|
|
65
65
|
};
|
|
66
66
|
componentDidMount?(): void;
|
|
67
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
67
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
68
68
|
componentWillUnmount?(): void;
|
|
69
69
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
70
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
71
|
-
componentDidUpdate?(prevProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
70
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
71
|
+
componentDidUpdate?(prevProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
72
72
|
componentWillMount?(): void;
|
|
73
73
|
UNSAFE_componentWillMount?(): void;
|
|
74
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
75
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
76
|
-
componentWillUpdate?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
77
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
74
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
75
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
76
|
+
componentWillUpdate?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
77
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<CBGroupOrItemProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
78
78
|
};
|
|
79
79
|
displayName: string;
|
|
80
80
|
contextType: React.Context<string>;
|
|
@@ -10,31 +10,31 @@ export interface InputSwitchProps extends ThemeProps {
|
|
|
10
10
|
}
|
|
11
11
|
export declare function InputSwitch({ options, value, onChange, classnames: cx, disabled, popOverContainer }: InputSwitchProps): React.JSX.Element;
|
|
12
12
|
declare const _default: {
|
|
13
|
-
new (props: Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
13
|
+
new (props: Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
14
14
|
ref: any;
|
|
15
15
|
childRef(ref: any): void;
|
|
16
16
|
getWrappedInstance(): any;
|
|
17
17
|
render(): React.JSX.Element;
|
|
18
18
|
context: unknown;
|
|
19
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
19
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
20
20
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
21
|
-
readonly props: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
21
|
+
readonly props: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
22
22
|
state: Readonly<{}>;
|
|
23
23
|
refs: {
|
|
24
24
|
[key: string]: React.ReactInstance;
|
|
25
25
|
};
|
|
26
26
|
componentDidMount?(): void;
|
|
27
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
27
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
28
28
|
componentWillUnmount?(): void;
|
|
29
29
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
30
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
31
|
-
componentDidUpdate?(prevProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
30
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
31
|
+
componentDidUpdate?(prevProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
32
32
|
componentWillMount?(): void;
|
|
33
33
|
UNSAFE_componentWillMount?(): void;
|
|
34
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
35
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
36
|
-
componentWillUpdate?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
37
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
34
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
35
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
36
|
+
componentWillUpdate?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
37
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<InputSwitchProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
38
38
|
};
|
|
39
39
|
displayName: string;
|
|
40
40
|
contextType: React.Context<string>;
|
|
@@ -38,7 +38,7 @@ declare const _default: {
|
|
|
38
38
|
new (props: Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
39
39
|
locale?: string | undefined;
|
|
40
40
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
41
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
41
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
42
42
|
ref: any;
|
|
43
43
|
childRef(ref: any): void;
|
|
44
44
|
getWrappedInstance(): any;
|
|
@@ -47,12 +47,12 @@ declare const _default: {
|
|
|
47
47
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
48
48
|
locale?: string | undefined;
|
|
49
49
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
50
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
50
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
51
51
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
52
52
|
readonly props: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
53
53
|
locale?: string | undefined;
|
|
54
54
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
55
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
55
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
56
56
|
state: Readonly<{}>;
|
|
57
57
|
refs: {
|
|
58
58
|
[key: string]: React.ReactInstance;
|
|
@@ -61,35 +61,35 @@ declare const _default: {
|
|
|
61
61
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
62
62
|
locale?: string | undefined;
|
|
63
63
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
64
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
64
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
65
65
|
componentWillUnmount?(): void;
|
|
66
66
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
67
67
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
68
68
|
locale?: string | undefined;
|
|
69
69
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
70
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
70
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
71
71
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
72
72
|
locale?: string | undefined;
|
|
73
73
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
74
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
74
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
75
75
|
componentWillMount?(): void;
|
|
76
76
|
UNSAFE_componentWillMount?(): void;
|
|
77
77
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
78
78
|
locale?: string | undefined;
|
|
79
79
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
80
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
80
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
81
81
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
82
82
|
locale?: string | undefined;
|
|
83
83
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
84
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
84
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
85
85
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
86
86
|
locale?: string | undefined;
|
|
87
87
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
88
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
88
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
89
89
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<ConditionItemProps, keyof LocaleProps> & {
|
|
90
90
|
locale?: string | undefined;
|
|
91
91
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
92
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
92
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
93
93
|
};
|
|
94
94
|
displayName: string;
|
|
95
95
|
contextType: React.Context<string>;
|
|
@@ -22,7 +22,7 @@ declare const _default: {
|
|
|
22
22
|
new (props: Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
23
23
|
locale?: string | undefined;
|
|
24
24
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
25
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
25
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
26
26
|
ref: any;
|
|
27
27
|
childRef(ref: any): void;
|
|
28
28
|
getWrappedInstance(): any;
|
|
@@ -31,12 +31,12 @@ declare const _default: {
|
|
|
31
31
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
32
32
|
locale?: string | undefined;
|
|
33
33
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
34
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
34
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
35
35
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
36
36
|
readonly props: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
37
37
|
locale?: string | undefined;
|
|
38
38
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
39
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
39
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
40
40
|
state: Readonly<{}>;
|
|
41
41
|
refs: {
|
|
42
42
|
[key: string]: React.ReactInstance;
|
|
@@ -45,35 +45,35 @@ declare const _default: {
|
|
|
45
45
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
46
46
|
locale?: string | undefined;
|
|
47
47
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
48
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
48
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
49
49
|
componentWillUnmount?(): void;
|
|
50
50
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
51
51
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
52
52
|
locale?: string | undefined;
|
|
53
53
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
54
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
54
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
55
55
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
56
56
|
locale?: string | undefined;
|
|
57
57
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
58
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
58
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
59
59
|
componentWillMount?(): void;
|
|
60
60
|
UNSAFE_componentWillMount?(): void;
|
|
61
61
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
62
62
|
locale?: string | undefined;
|
|
63
63
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
64
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
64
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
65
65
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
66
66
|
locale?: string | undefined;
|
|
67
67
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
68
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
68
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
69
69
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
70
70
|
locale?: string | undefined;
|
|
71
71
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
72
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
72
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
73
73
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<ValueProps, keyof LocaleProps> & {
|
|
74
74
|
locale?: string | undefined;
|
|
75
75
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
76
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
76
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
77
77
|
};
|
|
78
78
|
displayName: string;
|
|
79
79
|
contextType: React.Context<string>;
|
|
@@ -70,7 +70,7 @@ declare const _default: {
|
|
|
70
70
|
new (props: Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
71
71
|
locale?: string | undefined;
|
|
72
72
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
73
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
73
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
74
74
|
ref: any;
|
|
75
75
|
childRef(ref: any): void;
|
|
76
76
|
getWrappedInstance(): any;
|
|
@@ -79,12 +79,12 @@ declare const _default: {
|
|
|
79
79
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
80
80
|
locale?: string | undefined;
|
|
81
81
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
82
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
82
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
83
83
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
84
84
|
readonly props: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
85
85
|
locale?: string | undefined;
|
|
86
86
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
87
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
87
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
88
88
|
state: Readonly<{}>;
|
|
89
89
|
refs: {
|
|
90
90
|
[key: string]: React.ReactInstance;
|
|
@@ -93,35 +93,35 @@ declare const _default: {
|
|
|
93
93
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
94
94
|
locale?: string | undefined;
|
|
95
95
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
96
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
96
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
97
97
|
componentWillUnmount?(): void;
|
|
98
98
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
99
99
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
100
100
|
locale?: string | undefined;
|
|
101
101
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
102
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
102
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
103
103
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
104
104
|
locale?: string | undefined;
|
|
105
105
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
106
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
106
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
107
107
|
componentWillMount?(): void;
|
|
108
108
|
UNSAFE_componentWillMount?(): void;
|
|
109
109
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
110
110
|
locale?: string | undefined;
|
|
111
111
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
112
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
112
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
113
113
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
114
114
|
locale?: string | undefined;
|
|
115
115
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
116
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
116
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
117
117
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
118
118
|
locale?: string | undefined;
|
|
119
119
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
120
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
120
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
121
121
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<ConditionBuilderProps, keyof LocaleProps> & {
|
|
122
122
|
locale?: string | undefined;
|
|
123
123
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
124
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
124
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
125
125
|
};
|
|
126
126
|
displayName: string;
|
|
127
127
|
contextType: React.Context<string>;
|
|
@@ -125,7 +125,7 @@ declare const _default: {
|
|
|
125
125
|
} & {} & {
|
|
126
126
|
locale?: string | undefined;
|
|
127
127
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
128
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
128
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
129
129
|
ref: any;
|
|
130
130
|
childRef(ref: any): void;
|
|
131
131
|
getWrappedInstance(): any;
|
|
@@ -137,7 +137,7 @@ declare const _default: {
|
|
|
137
137
|
} & {} & {
|
|
138
138
|
locale?: string | undefined;
|
|
139
139
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
140
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
140
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
141
141
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
142
142
|
readonly props: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classnames" | "classPrefix" | "header" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions"> & {
|
|
143
143
|
variables?: VariableItem[] | undefined;
|
|
@@ -145,7 +145,7 @@ declare const _default: {
|
|
|
145
145
|
} & {} & {
|
|
146
146
|
locale?: string | undefined;
|
|
147
147
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
148
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
148
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
149
149
|
state: Readonly<{}>;
|
|
150
150
|
refs: {
|
|
151
151
|
[key: string]: React.ReactInstance;
|
|
@@ -157,7 +157,7 @@ declare const _default: {
|
|
|
157
157
|
} & {} & {
|
|
158
158
|
locale?: string | undefined;
|
|
159
159
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
160
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
160
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
161
161
|
componentWillUnmount?(): void;
|
|
162
162
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
163
163
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classnames" | "classPrefix" | "header" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions"> & {
|
|
@@ -166,14 +166,14 @@ declare const _default: {
|
|
|
166
166
|
} & {} & {
|
|
167
167
|
locale?: string | undefined;
|
|
168
168
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
169
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
169
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
170
170
|
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classnames" | "classPrefix" | "header" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions"> & {
|
|
171
171
|
variables?: VariableItem[] | undefined;
|
|
172
172
|
evalMode?: boolean | undefined;
|
|
173
173
|
} & {} & {
|
|
174
174
|
locale?: string | undefined;
|
|
175
175
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
176
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
176
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
177
177
|
componentWillMount?(): void;
|
|
178
178
|
UNSAFE_componentWillMount?(): void;
|
|
179
179
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classnames" | "classPrefix" | "header" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions"> & {
|
|
@@ -182,28 +182,28 @@ declare const _default: {
|
|
|
182
182
|
} & {} & {
|
|
183
183
|
locale?: string | undefined;
|
|
184
184
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
185
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
185
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
186
186
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classnames" | "classPrefix" | "header" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions"> & {
|
|
187
187
|
variables?: VariableItem[] | undefined;
|
|
188
188
|
evalMode?: boolean | undefined;
|
|
189
189
|
} & {} & {
|
|
190
190
|
locale?: string | undefined;
|
|
191
191
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
192
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
192
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
193
193
|
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classnames" | "classPrefix" | "header" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions"> & {
|
|
194
194
|
variables?: VariableItem[] | undefined;
|
|
195
195
|
evalMode?: boolean | undefined;
|
|
196
196
|
} & {} & {
|
|
197
197
|
locale?: string | undefined;
|
|
198
198
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
199
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
199
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
200
200
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<FormulaEditorProps, keyof LocaleProps>, "classnames" | "classPrefix" | "header" | "style" | "className" | "theme" | "mobileUI" | "value" | "onChange" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions"> & {
|
|
201
201
|
variables?: VariableItem[] | undefined;
|
|
202
202
|
evalMode?: boolean | undefined;
|
|
203
203
|
} & {} & {
|
|
204
204
|
locale?: string | undefined;
|
|
205
205
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
206
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
206
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
207
207
|
};
|
|
208
208
|
displayName: string;
|
|
209
209
|
contextType: React.Context<string>;
|
|
@@ -11,31 +11,31 @@ export interface FuncListProps extends ThemeProps {
|
|
|
11
11
|
}
|
|
12
12
|
export declare function FuncList(props: FuncListProps): React.JSX.Element;
|
|
13
13
|
declare const _default: {
|
|
14
|
-
new (props: Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
14
|
+
new (props: Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
15
15
|
ref: any;
|
|
16
16
|
childRef(ref: any): void;
|
|
17
17
|
getWrappedInstance(): any;
|
|
18
18
|
render(): React.JSX.Element;
|
|
19
19
|
context: unknown;
|
|
20
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
20
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
21
21
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
22
|
-
readonly props: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
22
|
+
readonly props: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
23
23
|
state: Readonly<{}>;
|
|
24
24
|
refs: {
|
|
25
25
|
[key: string]: React.ReactInstance;
|
|
26
26
|
};
|
|
27
27
|
componentDidMount?(): void;
|
|
28
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
28
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
29
29
|
componentWillUnmount?(): void;
|
|
30
30
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
31
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
32
|
-
componentDidUpdate?(prevProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
31
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
32
|
+
componentDidUpdate?(prevProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
33
33
|
componentWillMount?(): void;
|
|
34
34
|
UNSAFE_componentWillMount?(): void;
|
|
35
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
36
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
37
|
-
componentWillUpdate?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
38
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
35
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
36
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
37
|
+
componentWillUpdate?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
38
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<FuncListProps, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
39
39
|
};
|
|
40
40
|
displayName: string;
|
|
41
41
|
contextType: React.Context<string>;
|
|
@@ -24,7 +24,7 @@ declare const _default: {
|
|
|
24
24
|
new (props: Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
25
25
|
locale?: string | undefined;
|
|
26
26
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
27
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
27
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
28
28
|
ref: any;
|
|
29
29
|
childRef(ref: any): void;
|
|
30
30
|
getWrappedInstance(): any;
|
|
@@ -33,12 +33,12 @@ declare const _default: {
|
|
|
33
33
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
34
34
|
locale?: string | undefined;
|
|
35
35
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
36
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
36
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
37
37
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
38
38
|
readonly props: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
39
39
|
locale?: string | undefined;
|
|
40
40
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
41
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
41
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
42
42
|
state: Readonly<{}>;
|
|
43
43
|
refs: {
|
|
44
44
|
[key: string]: React.ReactInstance;
|
|
@@ -47,35 +47,35 @@ declare const _default: {
|
|
|
47
47
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
48
48
|
locale?: string | undefined;
|
|
49
49
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
50
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
50
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
51
51
|
componentWillUnmount?(): void;
|
|
52
52
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
53
53
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
54
54
|
locale?: string | undefined;
|
|
55
55
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
56
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
56
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
57
57
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
58
58
|
locale?: string | undefined;
|
|
59
59
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
60
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
60
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
61
61
|
componentWillMount?(): void;
|
|
62
62
|
UNSAFE_componentWillMount?(): void;
|
|
63
63
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
64
64
|
locale?: string | undefined;
|
|
65
65
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
66
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
66
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
67
67
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
68
68
|
locale?: string | undefined;
|
|
69
69
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
70
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
70
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
71
71
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
72
72
|
locale?: string | undefined;
|
|
73
73
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
74
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
74
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
75
75
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<FormulaInputProps, keyof LocaleProps> & {
|
|
76
76
|
locale?: string | undefined;
|
|
77
77
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
78
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
78
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
79
79
|
};
|
|
80
80
|
displayName: string;
|
|
81
81
|
contextType: React.Context<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v3.4.
|
|
2
|
+
* amis-ui v3.4.1
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -41,6 +41,14 @@ var FormulaInput = function (props) {
|
|
|
41
41
|
onChange === null || onChange === void 0 ? void 0 : onChange(result);
|
|
42
42
|
}, ['onChange']);
|
|
43
43
|
var cmptValue = pipInValue(value !== null && value !== void 0 ? value : inputSettings.defaultValue);
|
|
44
|
+
/** 数据来源可能是从 query中下发的(CRUD查询表头),导致数字或者布尔值被转为 string 格式,这里预处理一下 */
|
|
45
|
+
if (schemaType === 'number') {
|
|
46
|
+
cmptValue = isNaN(+cmptValue) ? cmptValue : +cmptValue;
|
|
47
|
+
}
|
|
48
|
+
else if (schemaType === 'boolean') {
|
|
49
|
+
cmptValue =
|
|
50
|
+
cmptValue === 'true' ? true : cmptValue === 'false' ? false : cmptValue;
|
|
51
|
+
}
|
|
44
52
|
var targetVariable = variables && cmptValue != null && typeof cmptValue === 'string'
|
|
45
53
|
? findTree(variables, function (item) {
|
|
46
54
|
return mixedMode
|