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
|
@@ -65,7 +65,7 @@ declare const _default: {
|
|
|
65
65
|
new (props: Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
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): {
|
|
69
69
|
ref: any;
|
|
70
70
|
childRef(ref: any): void;
|
|
71
71
|
getWrappedInstance(): any;
|
|
@@ -74,12 +74,12 @@ declare const _default: {
|
|
|
74
74
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
75
75
|
locale?: string | undefined;
|
|
76
76
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
77
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
77
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
78
78
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
79
79
|
readonly props: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
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>;
|
|
83
83
|
state: Readonly<{}>;
|
|
84
84
|
refs: {
|
|
85
85
|
[key: string]: React.ReactInstance;
|
|
@@ -88,35 +88,35 @@ declare const _default: {
|
|
|
88
88
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
89
89
|
locale?: string | undefined;
|
|
90
90
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
91
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
91
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
92
92
|
componentWillUnmount?(): void;
|
|
93
93
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
94
94
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
95
95
|
locale?: string | undefined;
|
|
96
96
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
97
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
97
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
98
98
|
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
99
99
|
locale?: string | undefined;
|
|
100
100
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
101
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
101
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
102
102
|
componentWillMount?(): void;
|
|
103
103
|
UNSAFE_componentWillMount?(): void;
|
|
104
104
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
105
105
|
locale?: string | undefined;
|
|
106
106
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
107
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
107
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
108
108
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
109
109
|
locale?: string | undefined;
|
|
110
110
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
111
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
111
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
112
112
|
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
113
113
|
locale?: string | undefined;
|
|
114
114
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
115
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
115
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
116
116
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<UserTabSelectProps, keyof LocaleProps>, "classnames" | "classPrefix" | "data" | "style" | "className" | "theme" | "mobileUI" | "onChange" | "placeholder" | "multiple" | "labelField" | "valueField" | "selection" | "onSearch" | "deferLoad" | "tabOptions"> & {} & {} & {
|
|
117
117
|
locale?: string | undefined;
|
|
118
118
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
119
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
119
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
120
120
|
};
|
|
121
121
|
displayName: string;
|
|
122
122
|
contextType: React.Context<string>;
|
|
@@ -6,6 +6,8 @@ import moment from 'moment';
|
|
|
6
6
|
import 'moment/locale/zh-cn';
|
|
7
7
|
import 'moment/locale/de';
|
|
8
8
|
import type { RendererEnv } from 'amis-core';
|
|
9
|
+
/** 视图模式 */
|
|
10
|
+
export type ViewMode = 'days' | 'months' | 'years' | 'time' | 'quarters';
|
|
9
11
|
export type DateType = 'year' | 'month' | 'date' | 'hours' | 'minutes' | 'seconds';
|
|
10
12
|
export interface BoundaryObject {
|
|
11
13
|
max: number;
|
|
@@ -23,7 +25,7 @@ interface BaseDatePickerProps {
|
|
|
23
25
|
className?: string;
|
|
24
26
|
value?: any;
|
|
25
27
|
defaultValue?: any;
|
|
26
|
-
viewMode?:
|
|
28
|
+
viewMode?: ViewMode;
|
|
27
29
|
dateFormat?: boolean | string;
|
|
28
30
|
inputFormat?: boolean | string;
|
|
29
31
|
displayForamt?: boolean | string;
|
|
@@ -35,7 +37,7 @@ interface BaseDatePickerProps {
|
|
|
35
37
|
onViewModeChange?: (type: string) => void;
|
|
36
38
|
requiredConfirm?: boolean;
|
|
37
39
|
onClose?: () => void;
|
|
38
|
-
onChange?: (value: any) => void;
|
|
40
|
+
onChange?: (value: any, viewMode?: Extract<ViewMode, 'time'>) => void;
|
|
39
41
|
isEndDate?: boolean;
|
|
40
42
|
minDate?: moment.Moment;
|
|
41
43
|
maxDate?: moment.Moment;
|
|
@@ -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
|
|
|
@@ -98,7 +98,7 @@ var BaseDatePicker = /** @class */ (function (_super) {
|
|
|
98
98
|
inputValue: date.format(state.displayForamt)
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
_this.props.onChange && _this.props.onChange(date);
|
|
101
|
+
_this.props.onChange && _this.props.onChange(date, 'time');
|
|
102
102
|
};
|
|
103
103
|
_this.setDate = function (type) {
|
|
104
104
|
// todo 没看懂这个是啥意思,好像没啥用
|
|
@@ -6,6 +6,7 @@ import type { RendererEnv } from 'amis-core';
|
|
|
6
6
|
import { PickerOption } from '../PickerColumn';
|
|
7
7
|
import { DateType } from './Calendar';
|
|
8
8
|
import type { TimeScale } from './TimeView';
|
|
9
|
+
import type { ViewMode } from './Calendar';
|
|
9
10
|
interface CustomDaysViewProps extends LocaleProps {
|
|
10
11
|
classPrefix?: string;
|
|
11
12
|
prevIcon?: string;
|
|
@@ -21,7 +22,7 @@ interface CustomDaysViewProps extends LocaleProps {
|
|
|
21
22
|
isEndDate?: boolean;
|
|
22
23
|
renderDay?: Function;
|
|
23
24
|
onClose?: () => void;
|
|
24
|
-
onChange: (value: moment.Moment) => void;
|
|
25
|
+
onChange: (value: moment.Moment, viewMode?: Extract<ViewMode, 'time'>) => void;
|
|
25
26
|
onConfirm?: (value: number[], types: DateType[]) => void;
|
|
26
27
|
setDateTimeState: (state: any) => void;
|
|
27
28
|
showTime: () => void;
|
|
@@ -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
|
|
|
@@ -79,12 +79,13 @@ var CustomDaysView = /** @class */ (function (_super) {
|
|
|
79
79
|
_this.setTime = function (type, value) {
|
|
80
80
|
var date = (_this.props.selectedDate || _this.props.viewDate).clone();
|
|
81
81
|
date[type](value);
|
|
82
|
+
var updatedDate = date.clone();
|
|
82
83
|
_this.props.setDateTimeState({
|
|
83
|
-
viewDate:
|
|
84
|
-
selectedDate:
|
|
84
|
+
viewDate: updatedDate,
|
|
85
|
+
selectedDate: updatedDate
|
|
85
86
|
});
|
|
86
87
|
if (!_this.props.requiredConfirm) {
|
|
87
|
-
_this.props.onChange(date);
|
|
88
|
+
_this.props.onChange(date, 'time');
|
|
88
89
|
}
|
|
89
90
|
};
|
|
90
91
|
_this.scrollToTop = function (type, value, i, label) {
|
|
@@ -43,7 +43,7 @@ declare const _default: {
|
|
|
43
43
|
new (props: Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
44
44
|
locale?: string | undefined;
|
|
45
45
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
46
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
46
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
47
47
|
ref: any;
|
|
48
48
|
childRef(ref: any): void;
|
|
49
49
|
getWrappedInstance(): any;
|
|
@@ -52,12 +52,12 @@ declare const _default: {
|
|
|
52
52
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<ExpressionProps, 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>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
56
56
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
57
57
|
readonly props: Readonly<Omit<Omit<ExpressionProps, 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>;
|
|
61
61
|
state: Readonly<{}>;
|
|
62
62
|
refs: {
|
|
63
63
|
[key: string]: React.ReactInstance;
|
|
@@ -66,35 +66,35 @@ declare const _default: {
|
|
|
66
66
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
67
67
|
locale?: string | undefined;
|
|
68
68
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
69
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
69
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
70
70
|
componentWillUnmount?(): void;
|
|
71
71
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
72
72
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
73
73
|
locale?: string | undefined;
|
|
74
74
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
75
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
75
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
76
76
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
77
77
|
locale?: string | undefined;
|
|
78
78
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
79
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
79
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
80
80
|
componentWillMount?(): void;
|
|
81
81
|
UNSAFE_componentWillMount?(): void;
|
|
82
82
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
83
83
|
locale?: string | undefined;
|
|
84
84
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
85
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
85
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
86
86
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
87
87
|
locale?: string | undefined;
|
|
88
88
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
89
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
89
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
90
90
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
91
91
|
locale?: string | undefined;
|
|
92
92
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
93
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
93
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
94
94
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<ExpressionProps, keyof LocaleProps> & {
|
|
95
95
|
locale?: string | undefined;
|
|
96
96
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
97
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
97
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
98
98
|
};
|
|
99
99
|
displayName: string;
|
|
100
100
|
contextType: React.Context<string>;
|
|
@@ -22,7 +22,7 @@ declare const _default: {
|
|
|
22
22
|
new (props: Omit<Omit<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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<ConditionFieldProps, 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>;
|
|
@@ -13,7 +13,7 @@ declare const _default: {
|
|
|
13
13
|
new (props: Omit<Omit<FormulaProps, keyof LocaleProps> & {
|
|
14
14
|
locale?: string | undefined;
|
|
15
15
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
16
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
16
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
17
17
|
ref: any;
|
|
18
18
|
childRef(ref: any): void;
|
|
19
19
|
getWrappedInstance(): any;
|
|
@@ -22,12 +22,12 @@ declare const _default: {
|
|
|
22
22
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<FormulaProps, 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>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
26
26
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
27
27
|
readonly props: Readonly<Omit<Omit<FormulaProps, keyof LocaleProps> & {
|
|
28
28
|
locale?: string | undefined;
|
|
29
29
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
30
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
30
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
31
31
|
state: Readonly<{}>;
|
|
32
32
|
refs: {
|
|
33
33
|
[key: string]: React.ReactInstance;
|
|
@@ -36,35 +36,35 @@ declare const _default: {
|
|
|
36
36
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<FormulaProps, 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>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
40
40
|
componentWillUnmount?(): void;
|
|
41
41
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
42
42
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<FormulaProps, keyof LocaleProps> & {
|
|
43
43
|
locale?: string | undefined;
|
|
44
44
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
45
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
45
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
46
46
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<FormulaProps, keyof LocaleProps> & {
|
|
47
47
|
locale?: string | undefined;
|
|
48
48
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
49
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
49
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
50
50
|
componentWillMount?(): void;
|
|
51
51
|
UNSAFE_componentWillMount?(): void;
|
|
52
52
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<FormulaProps, 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>, nextContext: any): void;
|
|
56
56
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<FormulaProps, keyof LocaleProps> & {
|
|
57
57
|
locale?: string | undefined;
|
|
58
58
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
59
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
59
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
60
60
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<FormulaProps, keyof LocaleProps> & {
|
|
61
61
|
locale?: string | undefined;
|
|
62
62
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
63
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
63
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
64
64
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<FormulaProps, keyof LocaleProps> & {
|
|
65
65
|
locale?: string | undefined;
|
|
66
66
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
67
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
67
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
68
68
|
};
|
|
69
69
|
displayName: string;
|
|
70
70
|
contextType: React.Context<string>;
|
|
@@ -24,7 +24,7 @@ declare const _default: {
|
|
|
24
24
|
new (props: Omit<Omit<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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<ConditionFuncProps, 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>;
|
|
@@ -60,7 +60,7 @@ declare const _default: {
|
|
|
60
60
|
new (props: Omit<Omit<ConditionGroupProps, keyof LocaleProps> & {
|
|
61
61
|
locale?: string | undefined;
|
|
62
62
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
63
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
63
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
64
64
|
ref: any;
|
|
65
65
|
childRef(ref: any): void;
|
|
66
66
|
getWrappedInstance(): any;
|
|
@@ -69,12 +69,12 @@ declare const _default: {
|
|
|
69
69
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Omit<ConditionGroupProps, 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>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
73
73
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
74
74
|
readonly props: Readonly<Omit<Omit<ConditionGroupProps, keyof LocaleProps> & {
|
|
75
75
|
locale?: string | undefined;
|
|
76
76
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
77
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
77
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
78
78
|
state: Readonly<{}>;
|
|
79
79
|
refs: {
|
|
80
80
|
[key: string]: React.ReactInstance;
|
|
@@ -83,35 +83,35 @@ declare const _default: {
|
|
|
83
83
|
shouldComponentUpdate?(nextProps: Readonly<Omit<Omit<ConditionGroupProps, keyof LocaleProps> & {
|
|
84
84
|
locale?: string | undefined;
|
|
85
85
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
86
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
86
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
87
87
|
componentWillUnmount?(): void;
|
|
88
88
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
89
89
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Omit<ConditionGroupProps, 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>, prevState: Readonly<{}>): any;
|
|
93
93
|
componentDidUpdate?(prevProps: Readonly<Omit<Omit<ConditionGroupProps, 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>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
97
97
|
componentWillMount?(): void;
|
|
98
98
|
UNSAFE_componentWillMount?(): void;
|
|
99
99
|
componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ConditionGroupProps, 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>, nextContext: any): void;
|
|
103
103
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Omit<ConditionGroupProps, 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>, nextContext: any): void;
|
|
107
107
|
componentWillUpdate?(nextProps: Readonly<Omit<Omit<ConditionGroupProps, keyof LocaleProps> & {
|
|
108
108
|
locale?: string | undefined;
|
|
109
109
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
110
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
110
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
111
111
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Omit<ConditionGroupProps, keyof LocaleProps> & {
|
|
112
112
|
locale?: string | undefined;
|
|
113
113
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
114
|
-
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").
|
|
114
|
+
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
115
115
|
};
|
|
116
116
|
displayName: string;
|
|
117
117
|
contextType: React.Context<string>;
|