amis-ui 6.11.0 → 6.12.0-ab.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AlphabetIndexer.d.ts +11 -0
- package/esm/components/AlphabetIndexer.js +48 -0
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +12 -2
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +1 -0
- package/esm/components/ContextMenu.js +6 -3
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.js +1 -1
- package/esm/components/DiffEditor.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/DropdownContextMenus.js +1 -1
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/FormulaPicker.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GridNavItem.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/HorizontalScroll.d.ts +75 -0
- package/esm/components/HorizontalScroll.js +271 -0
- package/esm/components/Html.d.ts +2 -0
- package/esm/components/Html.js +6 -3
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +10 -10
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputJSONSchema.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/JSONSchemaEditor.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Menu.js +1 -1
- package/esm/components/MobileDevTool.js +1 -1
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.js +1 -1
- package/esm/components/PdfViewer.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +12 -0
- package/esm/components/PullRefresh.js +23 -13
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +40 -40
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.js +1 -1
- package/esm/components/Shape.js +1 -1
- package/esm/components/Signature.d.ts +2 -3
- package/esm/components/Signature.js +29 -21
- package/esm/components/Slider.d.ts +56 -0
- package/esm/components/Slider.js +140 -0
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.d.ts +7 -0
- package/esm/components/Steps.js +6 -6
- package/esm/components/Switch.js +1 -1
- package/esm/components/Tab.js +1 -1
- package/esm/components/Table.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +8 -1
- package/esm/components/Timeline.js +46 -5
- package/esm/components/TimelineItem.d.ts +984 -23
- package/esm/components/TimelineItem.js +86 -30
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +47 -46
- package/esm/components/Tree.js +52 -12
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/VerificationCode.js +1 -1
- package/esm/components/VirtualList.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/CodeEditor.js +1 -1
- package/esm/components/formula/Editor.js +13 -9
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.js +14 -10
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +1 -1
- package/esm/components/index.d.ts +5 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/PanelMenu.js +4 -2
- package/esm/components/menu/SubMenu.d.ts +1 -1
- package/esm/components/menu/SubMenu.js +16 -5
- package/esm/components/menu/index.d.ts +10 -10
- package/esm/components/menu/index.js +3 -3
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +2 -0
- package/esm/components/table/Cell.js +10 -3
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.d.ts +1 -0
- package/esm/components/table/Head.js +12 -17
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/Row.js +1 -1
- package/esm/components/table/SummaryRow.js +1 -1
- package/esm/components/table/index.js +18 -7
- package/esm/components/table/util.d.ts +1 -0
- package/esm/components/table/util.js +23 -2
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/components/withBadge.js +1 -1
- package/esm/hooks/use-click-away.d.ts +12 -0
- package/esm/hooks/use-click-away.js +55 -0
- package/esm/hooks/use-on-screen.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/arrow-double-left.svg.js +1 -1
- package/esm/icons/arrow-double-right.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/fullscreen.svg.js +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/rotate-screen.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/sub-plus.svg.js +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-normal.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/unfullscreen.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.d.ts +2 -1
- package/esm/index.js +5 -2
- 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/esm/utils/vectorComputed.js +1 -1
- package/esm/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +120 -120
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AlphabetIndexer.d.ts +11 -0
- package/lib/components/AlphabetIndexer.js +59 -0
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +10 -10
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.d.ts +140 -140
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +12 -2
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +30 -30
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- 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.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +150 -150
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +50 -50
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +40 -40
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.d.ts +80 -80
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +1 -0
- package/lib/components/ContextMenu.js +6 -3
- package/lib/components/DatePicker.d.ts +121 -121
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +240 -240
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DiffEditor.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/DropdownContextMenus.js +1 -1
- package/lib/components/Editor.d.ts +120 -120
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/FormulaPicker.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GridNavItem.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/HorizontalScroll.d.ts +75 -0
- package/lib/components/HorizontalScroll.js +283 -0
- package/lib/components/Html.d.ts +2 -0
- package/lib/components/Html.js +6 -2
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputJSONSchema.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/JSONSchemaEditor.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +80 -80
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MobileDevTool.js +1 -1
- package/lib/components/Modal.d.ts +120 -120
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +160 -160
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +30 -30
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.d.ts +120 -120
- package/lib/components/Pagination.js +1 -1
- package/lib/components/PdfViewer.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +120 -120
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +70 -70
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +12 -0
- package/lib/components/PullRefresh.js +23 -13
- package/lib/components/Radios.d.ts +20 -20
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +40 -40
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +80 -80
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +80 -80
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1683 -1683
- package/lib/components/Select.js +1 -1
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.d.ts +80 -80
- package/lib/components/Selection.js +1 -1
- package/lib/components/Shape.js +1 -1
- package/lib/components/Signature.d.ts +2 -3
- package/lib/components/Signature.js +31 -21
- package/lib/components/Slider.d.ts +56 -0
- package/lib/components/Slider.js +146 -0
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +60 -60
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.d.ts +7 -0
- package/lib/components/Steps.js +6 -6
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/Tab.js +1 -1
- package/lib/components/Table.js +1 -1
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +120 -120
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +80 -80
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +8 -1
- package/lib/components/Timeline.js +44 -3
- package/lib/components/TimelineItem.d.ts +984 -23
- package/lib/components/TimelineItem.js +88 -27
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +120 -120
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +30 -30
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.d.ts +169 -169
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.d.ts +160 -160
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +167 -166
- package/lib/components/Tree.js +51 -11
- package/lib/components/TreeSelection.d.ts +120 -120
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +80 -80
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/VerificationCode.js +1 -1
- package/lib/components/VirtualList.js +1 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/CodeEditor.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +13 -9
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +14 -10
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +1 -1
- package/lib/components/index.d.ts +5 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/PanelMenu.js +4 -2
- package/lib/components/menu/SubMenu.d.ts +1 -1
- package/lib/components/menu/SubMenu.js +16 -5
- package/lib/components/menu/index.d.ts +90 -90
- package/lib/components/menu/index.js +3 -3
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +40 -40
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +2 -0
- package/lib/components/table/Cell.js +10 -3
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.d.ts +1 -0
- package/lib/components/table/Head.js +11 -16
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +1 -1
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.d.ts +120 -120
- package/lib/components/table/index.js +18 -7
- package/lib/components/table/util.d.ts +4 -3
- package/lib/components/table/util.js +23 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/components/withBadge.js +1 -1
- package/lib/hooks/use-click-away.d.ts +12 -0
- package/lib/hooks/use-click-away.js +59 -0
- package/lib/hooks/use-on-screen.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/arrow-double-left.svg.js +1 -1
- package/lib/icons/arrow-double-right.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/fullscreen.svg.js +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/rotate-screen.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/sub-plus.svg.js +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-normal.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/unfullscreen.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +8 -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 +962 -120
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +962 -120
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +962 -120
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +962 -120
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +962 -120
- package/lib/utils/vectorComputed.js +1 -1
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +4 -3
- package/scss/_components.scss +22 -10
- package/scss/_properties.scss +10 -1
- package/scss/base/_animate.scss +46 -4
- package/scss/components/_cards.scss +26 -0
- package/scss/components/_carousel.scss +9 -8
- package/scss/components/_context-menu.scss +34 -28
- package/scss/components/_horizontal-scroll.scss +51 -0
- package/scss/components/_images.scss +435 -0
- package/scss/components/_list.scss +57 -0
- package/scss/components/_page.scss +27 -1
- package/scss/components/_popoverable.scss +6 -5
- package/scss/components/_signature.scss +1 -0
- package/scss/components/_slider.scss +27 -0
- package/scss/components/_steps.scss +17 -2
- package/scss/components/_table.scss +19 -1
- package/scss/components/_table2.scss +28 -0
- package/scss/components/_timeline.scss +366 -88
- package/scss/themes/_common.scss +2 -0
- package/esm/utils/smoothSignature.js +0 -386
- package/lib/utils/smoothSignature.js +0 -390
package/lib/components/PopUp.js
CHANGED
|
@@ -37,29 +37,29 @@ export declare class Progress extends React.Component<ProgressProps, Object> {
|
|
|
37
37
|
}
|
|
38
38
|
declare const _default: {
|
|
39
39
|
new (props: Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
40
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
41
40
|
map?: ColorMapType | undefined;
|
|
42
41
|
animate?: boolean | undefined;
|
|
43
42
|
value?: number | undefined;
|
|
43
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
44
44
|
placeholder?: string | undefined;
|
|
45
45
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
46
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
46
47
|
showLabel?: boolean | undefined;
|
|
47
48
|
stripe?: boolean | undefined;
|
|
48
49
|
gapDegree?: number | undefined;
|
|
49
|
-
gapPosition?: "
|
|
50
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
50
51
|
strokeWidth?: number | undefined;
|
|
51
52
|
progressClassName?: ClassName | undefined;
|
|
52
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
53
53
|
showThresholdText?: boolean | undefined;
|
|
54
54
|
} & {
|
|
55
|
-
classnames?: ClassNamesFn | undefined;
|
|
56
|
-
classPrefix?: string | undefined;
|
|
57
55
|
className?: string | undefined;
|
|
58
|
-
theme?: string | undefined;
|
|
59
|
-
mobileUI?: boolean | undefined;
|
|
60
56
|
style?: {
|
|
61
57
|
[propName: string]: any;
|
|
62
58
|
} | undefined;
|
|
59
|
+
classPrefix?: string | undefined;
|
|
60
|
+
classnames?: ClassNamesFn | undefined;
|
|
61
|
+
theme?: string | undefined;
|
|
62
|
+
mobileUI?: boolean | undefined;
|
|
63
63
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
64
64
|
ref: any;
|
|
65
65
|
childRef(ref: any): void;
|
|
@@ -67,55 +67,55 @@ declare const _default: {
|
|
|
67
67
|
render(): React.JSX.Element;
|
|
68
68
|
context: unknown;
|
|
69
69
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
70
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
71
70
|
map?: ColorMapType | undefined;
|
|
72
71
|
animate?: boolean | undefined;
|
|
73
72
|
value?: number | undefined;
|
|
73
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
74
74
|
placeholder?: string | undefined;
|
|
75
75
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
76
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
76
77
|
showLabel?: boolean | undefined;
|
|
77
78
|
stripe?: boolean | undefined;
|
|
78
79
|
gapDegree?: number | undefined;
|
|
79
|
-
gapPosition?: "
|
|
80
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
80
81
|
strokeWidth?: number | undefined;
|
|
81
82
|
progressClassName?: ClassName | undefined;
|
|
82
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
83
83
|
showThresholdText?: boolean | undefined;
|
|
84
84
|
} & {
|
|
85
|
-
classnames?: ClassNamesFn | undefined;
|
|
86
|
-
classPrefix?: string | undefined;
|
|
87
85
|
className?: string | undefined;
|
|
88
|
-
theme?: string | undefined;
|
|
89
|
-
mobileUI?: boolean | undefined;
|
|
90
86
|
style?: {
|
|
91
87
|
[propName: string]: any;
|
|
92
88
|
} | undefined;
|
|
89
|
+
classPrefix?: string | undefined;
|
|
90
|
+
classnames?: ClassNamesFn | undefined;
|
|
91
|
+
theme?: string | undefined;
|
|
92
|
+
mobileUI?: boolean | undefined;
|
|
93
93
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
94
94
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
95
95
|
readonly props: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
96
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
97
96
|
map?: ColorMapType | undefined;
|
|
98
97
|
animate?: boolean | undefined;
|
|
99
98
|
value?: number | undefined;
|
|
99
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
100
100
|
placeholder?: string | undefined;
|
|
101
101
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
102
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
102
103
|
showLabel?: boolean | undefined;
|
|
103
104
|
stripe?: boolean | undefined;
|
|
104
105
|
gapDegree?: number | undefined;
|
|
105
|
-
gapPosition?: "
|
|
106
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
106
107
|
strokeWidth?: number | undefined;
|
|
107
108
|
progressClassName?: ClassName | undefined;
|
|
108
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
109
109
|
showThresholdText?: boolean | undefined;
|
|
110
110
|
} & {
|
|
111
|
-
classnames?: ClassNamesFn | undefined;
|
|
112
|
-
classPrefix?: string | undefined;
|
|
113
111
|
className?: string | undefined;
|
|
114
|
-
theme?: string | undefined;
|
|
115
|
-
mobileUI?: boolean | undefined;
|
|
116
112
|
style?: {
|
|
117
113
|
[propName: string]: any;
|
|
118
114
|
} | undefined;
|
|
115
|
+
classPrefix?: string | undefined;
|
|
116
|
+
classnames?: ClassNamesFn | undefined;
|
|
117
|
+
theme?: string | undefined;
|
|
118
|
+
mobileUI?: boolean | undefined;
|
|
119
119
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
120
120
|
state: Readonly<{}>;
|
|
121
121
|
refs: {
|
|
@@ -123,183 +123,183 @@ declare const _default: {
|
|
|
123
123
|
};
|
|
124
124
|
componentDidMount?(): void;
|
|
125
125
|
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
126
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
127
126
|
map?: ColorMapType | undefined;
|
|
128
127
|
animate?: boolean | undefined;
|
|
129
128
|
value?: number | undefined;
|
|
129
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
130
130
|
placeholder?: string | undefined;
|
|
131
131
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
132
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
132
133
|
showLabel?: boolean | undefined;
|
|
133
134
|
stripe?: boolean | undefined;
|
|
134
135
|
gapDegree?: number | undefined;
|
|
135
|
-
gapPosition?: "
|
|
136
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
136
137
|
strokeWidth?: number | undefined;
|
|
137
138
|
progressClassName?: ClassName | undefined;
|
|
138
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
139
139
|
showThresholdText?: boolean | undefined;
|
|
140
140
|
} & {
|
|
141
|
-
classnames?: ClassNamesFn | undefined;
|
|
142
|
-
classPrefix?: string | undefined;
|
|
143
141
|
className?: string | undefined;
|
|
144
|
-
theme?: string | undefined;
|
|
145
|
-
mobileUI?: boolean | undefined;
|
|
146
142
|
style?: {
|
|
147
143
|
[propName: string]: any;
|
|
148
144
|
} | undefined;
|
|
145
|
+
classPrefix?: string | undefined;
|
|
146
|
+
classnames?: ClassNamesFn | undefined;
|
|
147
|
+
theme?: string | undefined;
|
|
148
|
+
mobileUI?: boolean | undefined;
|
|
149
149
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
150
150
|
componentWillUnmount?(): void;
|
|
151
151
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
152
152
|
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
153
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
154
153
|
map?: ColorMapType | undefined;
|
|
155
154
|
animate?: boolean | undefined;
|
|
156
155
|
value?: number | undefined;
|
|
156
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
157
157
|
placeholder?: string | undefined;
|
|
158
158
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
159
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
159
160
|
showLabel?: boolean | undefined;
|
|
160
161
|
stripe?: boolean | undefined;
|
|
161
162
|
gapDegree?: number | undefined;
|
|
162
|
-
gapPosition?: "
|
|
163
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
163
164
|
strokeWidth?: number | undefined;
|
|
164
165
|
progressClassName?: ClassName | undefined;
|
|
165
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
166
166
|
showThresholdText?: boolean | undefined;
|
|
167
167
|
} & {
|
|
168
|
-
classnames?: ClassNamesFn | undefined;
|
|
169
|
-
classPrefix?: string | undefined;
|
|
170
168
|
className?: string | undefined;
|
|
171
|
-
theme?: string | undefined;
|
|
172
|
-
mobileUI?: boolean | undefined;
|
|
173
169
|
style?: {
|
|
174
170
|
[propName: string]: any;
|
|
175
171
|
} | undefined;
|
|
172
|
+
classPrefix?: string | undefined;
|
|
173
|
+
classnames?: ClassNamesFn | undefined;
|
|
174
|
+
theme?: string | undefined;
|
|
175
|
+
mobileUI?: boolean | undefined;
|
|
176
176
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
177
177
|
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
178
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
179
178
|
map?: ColorMapType | undefined;
|
|
180
179
|
animate?: boolean | undefined;
|
|
181
180
|
value?: number | undefined;
|
|
181
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
182
182
|
placeholder?: string | undefined;
|
|
183
183
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
184
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
184
185
|
showLabel?: boolean | undefined;
|
|
185
186
|
stripe?: boolean | undefined;
|
|
186
187
|
gapDegree?: number | undefined;
|
|
187
|
-
gapPosition?: "
|
|
188
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
188
189
|
strokeWidth?: number | undefined;
|
|
189
190
|
progressClassName?: ClassName | undefined;
|
|
190
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
191
191
|
showThresholdText?: boolean | undefined;
|
|
192
192
|
} & {
|
|
193
|
-
classnames?: ClassNamesFn | undefined;
|
|
194
|
-
classPrefix?: string | undefined;
|
|
195
193
|
className?: string | undefined;
|
|
196
|
-
theme?: string | undefined;
|
|
197
|
-
mobileUI?: boolean | undefined;
|
|
198
194
|
style?: {
|
|
199
195
|
[propName: string]: any;
|
|
200
196
|
} | undefined;
|
|
197
|
+
classPrefix?: string | undefined;
|
|
198
|
+
classnames?: ClassNamesFn | undefined;
|
|
199
|
+
theme?: string | undefined;
|
|
200
|
+
mobileUI?: boolean | undefined;
|
|
201
201
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
202
202
|
componentWillMount?(): void;
|
|
203
203
|
UNSAFE_componentWillMount?(): void;
|
|
204
204
|
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
205
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
206
205
|
map?: ColorMapType | undefined;
|
|
207
206
|
animate?: boolean | undefined;
|
|
208
207
|
value?: number | undefined;
|
|
208
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
209
209
|
placeholder?: string | undefined;
|
|
210
210
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
211
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
211
212
|
showLabel?: boolean | undefined;
|
|
212
213
|
stripe?: boolean | undefined;
|
|
213
214
|
gapDegree?: number | undefined;
|
|
214
|
-
gapPosition?: "
|
|
215
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
215
216
|
strokeWidth?: number | undefined;
|
|
216
217
|
progressClassName?: ClassName | undefined;
|
|
217
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
218
218
|
showThresholdText?: boolean | undefined;
|
|
219
219
|
} & {
|
|
220
|
-
classnames?: ClassNamesFn | undefined;
|
|
221
|
-
classPrefix?: string | undefined;
|
|
222
220
|
className?: string | undefined;
|
|
223
|
-
theme?: string | undefined;
|
|
224
|
-
mobileUI?: boolean | undefined;
|
|
225
221
|
style?: {
|
|
226
222
|
[propName: string]: any;
|
|
227
223
|
} | undefined;
|
|
224
|
+
classPrefix?: string | undefined;
|
|
225
|
+
classnames?: ClassNamesFn | undefined;
|
|
226
|
+
theme?: string | undefined;
|
|
227
|
+
mobileUI?: boolean | undefined;
|
|
228
228
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
229
229
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
230
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
231
230
|
map?: ColorMapType | undefined;
|
|
232
231
|
animate?: boolean | undefined;
|
|
233
232
|
value?: number | undefined;
|
|
233
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
234
234
|
placeholder?: string | undefined;
|
|
235
235
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
236
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
236
237
|
showLabel?: boolean | undefined;
|
|
237
238
|
stripe?: boolean | undefined;
|
|
238
239
|
gapDegree?: number | undefined;
|
|
239
|
-
gapPosition?: "
|
|
240
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
240
241
|
strokeWidth?: number | undefined;
|
|
241
242
|
progressClassName?: ClassName | undefined;
|
|
242
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
243
243
|
showThresholdText?: boolean | undefined;
|
|
244
244
|
} & {
|
|
245
|
-
classnames?: ClassNamesFn | undefined;
|
|
246
|
-
classPrefix?: string | undefined;
|
|
247
245
|
className?: string | undefined;
|
|
248
|
-
theme?: string | undefined;
|
|
249
|
-
mobileUI?: boolean | undefined;
|
|
250
246
|
style?: {
|
|
251
247
|
[propName: string]: any;
|
|
252
248
|
} | undefined;
|
|
249
|
+
classPrefix?: string | undefined;
|
|
250
|
+
classnames?: ClassNamesFn | undefined;
|
|
251
|
+
theme?: string | undefined;
|
|
252
|
+
mobileUI?: boolean | undefined;
|
|
253
253
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
254
254
|
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
255
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
256
255
|
map?: ColorMapType | undefined;
|
|
257
256
|
animate?: boolean | undefined;
|
|
258
257
|
value?: number | undefined;
|
|
258
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
259
259
|
placeholder?: string | undefined;
|
|
260
260
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
261
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
261
262
|
showLabel?: boolean | undefined;
|
|
262
263
|
stripe?: boolean | undefined;
|
|
263
264
|
gapDegree?: number | undefined;
|
|
264
|
-
gapPosition?: "
|
|
265
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
265
266
|
strokeWidth?: number | undefined;
|
|
266
267
|
progressClassName?: ClassName | undefined;
|
|
267
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
268
268
|
showThresholdText?: boolean | undefined;
|
|
269
269
|
} & {
|
|
270
|
-
classnames?: ClassNamesFn | undefined;
|
|
271
|
-
classPrefix?: string | undefined;
|
|
272
270
|
className?: string | undefined;
|
|
273
|
-
theme?: string | undefined;
|
|
274
|
-
mobileUI?: boolean | undefined;
|
|
275
271
|
style?: {
|
|
276
272
|
[propName: string]: any;
|
|
277
273
|
} | undefined;
|
|
274
|
+
classPrefix?: string | undefined;
|
|
275
|
+
classnames?: ClassNamesFn | undefined;
|
|
276
|
+
theme?: string | undefined;
|
|
277
|
+
mobileUI?: boolean | undefined;
|
|
278
278
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
279
279
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ProgressProps, keyof ThemeProps>, never> & {
|
|
280
|
-
type?: "circle" | "line" | "dashboard" | undefined;
|
|
281
280
|
map?: ColorMapType | undefined;
|
|
282
281
|
animate?: boolean | undefined;
|
|
283
282
|
value?: number | undefined;
|
|
283
|
+
type?: "circle" | "line" | "dashboard" | undefined;
|
|
284
284
|
placeholder?: string | undefined;
|
|
285
285
|
format?: ((value?: number | undefined) => JSX.Element) | undefined;
|
|
286
|
+
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
286
287
|
showLabel?: boolean | undefined;
|
|
287
288
|
stripe?: boolean | undefined;
|
|
288
289
|
gapDegree?: number | undefined;
|
|
289
|
-
gapPosition?: "
|
|
290
|
+
gapPosition?: "left" | "right" | "bottom" | "top" | undefined;
|
|
290
291
|
strokeWidth?: number | undefined;
|
|
291
292
|
progressClassName?: ClassName | undefined;
|
|
292
|
-
threshold?: ThresholdProps | ThresholdProps[] | undefined;
|
|
293
293
|
showThresholdText?: boolean | undefined;
|
|
294
294
|
} & {
|
|
295
|
-
classnames?: ClassNamesFn | undefined;
|
|
296
|
-
classPrefix?: string | undefined;
|
|
297
295
|
className?: string | undefined;
|
|
298
|
-
theme?: string | undefined;
|
|
299
|
-
mobileUI?: boolean | undefined;
|
|
300
296
|
style?: {
|
|
301
297
|
[propName: string]: any;
|
|
302
298
|
} | undefined;
|
|
299
|
+
classPrefix?: string | undefined;
|
|
300
|
+
classnames?: ClassNamesFn | undefined;
|
|
301
|
+
theme?: string | undefined;
|
|
302
|
+
mobileUI?: boolean | undefined;
|
|
303
303
|
} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
304
304
|
};
|
|
305
305
|
displayName: string;
|
|
@@ -14,6 +14,18 @@ export interface PullRefreshProps {
|
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
completed?: boolean;
|
|
16
16
|
direction?: 'up' | 'down';
|
|
17
|
+
showIcon?: boolean;
|
|
18
|
+
showText?: boolean;
|
|
19
|
+
iconType?: string;
|
|
20
|
+
color?: string;
|
|
21
|
+
contentText?: {
|
|
22
|
+
normalText?: string;
|
|
23
|
+
pullingText?: string;
|
|
24
|
+
loosingText?: string;
|
|
25
|
+
loadingText?: string;
|
|
26
|
+
successText?: string;
|
|
27
|
+
completedText?: string;
|
|
28
|
+
};
|
|
17
29
|
normalText?: string;
|
|
18
30
|
pullingText?: string;
|
|
19
31
|
loosingText?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.
|
|
2
|
+
* amis-ui v6.12.0-ab.2
|
|
3
3
|
* Copyright 2018-2025 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -14,7 +14,7 @@ var useSetState = require('../hooks/use-set-state.js');
|
|
|
14
14
|
var useTouch = require('../hooks/use-touch.js');
|
|
15
15
|
require('lodash/pick');
|
|
16
16
|
var useOnScreen = require('../hooks/use-on-screen.js');
|
|
17
|
-
var
|
|
17
|
+
var Spinner = require('./Spinner.js');
|
|
18
18
|
|
|
19
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
20
20
|
|
|
@@ -26,19 +26,22 @@ var _J$X_ = (__react_jsx__["default"] || __react_jsx__).createElement;
|
|
|
26
26
|
var defaultProps = {
|
|
27
27
|
successDuration: 0,
|
|
28
28
|
loadingDuration: 0,
|
|
29
|
-
direction: 'down'
|
|
29
|
+
direction: 'down',
|
|
30
|
+
showIcon: true,
|
|
31
|
+
showText: true,
|
|
32
|
+
iconType: 'loading-outline'
|
|
30
33
|
};
|
|
31
34
|
var defaultHeaderHeight = 28;
|
|
32
35
|
var PullRefresh = React.forwardRef(function (props, ref) {
|
|
33
36
|
var _a, _b, _c, _d, _e, _f;
|
|
34
|
-
var cx = props.classnames, __ = props.translate, children = props.children, successDuration = props.successDuration, loadingDuration = props.loadingDuration, direction = props.direction, completed = props.completed;
|
|
37
|
+
var cx = props.classnames, __ = props.translate, children = props.children, successDuration = props.successDuration, loadingDuration = props.loadingDuration, direction = props.direction, completed = props.completed, showIcon = props.showIcon, showText = props.showText, iconType = props.iconType, color = props.color, contentText = props.contentText;
|
|
35
38
|
var refreshText = {
|
|
36
|
-
normalText: (_a =
|
|
37
|
-
pullingText: (_b =
|
|
38
|
-
loosingText: (_c =
|
|
39
|
-
loadingText: (_d =
|
|
40
|
-
successText: (_e =
|
|
41
|
-
completedText: (_f =
|
|
39
|
+
normalText: (_a = contentText === null || contentText === void 0 ? void 0 : contentText.normalText) !== null && _a !== void 0 ? _a : __('pullRefresh.normalText'),
|
|
40
|
+
pullingText: (_b = contentText === null || contentText === void 0 ? void 0 : contentText.pullingText) !== null && _b !== void 0 ? _b : __('pullRefresh.pullingText'),
|
|
41
|
+
loosingText: (_c = contentText === null || contentText === void 0 ? void 0 : contentText.loosingText) !== null && _c !== void 0 ? _c : __('pullRefresh.loosingText'),
|
|
42
|
+
loadingText: (_d = contentText === null || contentText === void 0 ? void 0 : contentText.loadingText) !== null && _d !== void 0 ? _d : __('pullRefresh.loadingText'),
|
|
43
|
+
successText: (_e = contentText === null || contentText === void 0 ? void 0 : contentText.successText) !== null && _e !== void 0 ? _e : __('pullRefresh.successText'),
|
|
44
|
+
completedText: (_f = contentText === null || contentText === void 0 ? void 0 : contentText.completedText) !== null && _f !== void 0 ? _f : __('pullRefresh.completedText')
|
|
42
45
|
};
|
|
43
46
|
var touch = useTouch["default"]();
|
|
44
47
|
var loadingRef = React__default["default"].useRef(null);
|
|
@@ -153,9 +156,16 @@ var PullRefresh = React.forwardRef(function (props, ref) {
|
|
|
153
156
|
}
|
|
154
157
|
return refreshText["".concat(status, "Text")];
|
|
155
158
|
};
|
|
156
|
-
var loadingDom = function (className) {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
+
var loadingDom = function (className) {
|
|
160
|
+
return (_J$X_("div", { className: className, ref: loadingRef, style: color
|
|
161
|
+
? {
|
|
162
|
+
'--Spinner-color': color,
|
|
163
|
+
'color': color
|
|
164
|
+
}
|
|
165
|
+
: undefined },
|
|
166
|
+
showIcon && props.loading && (_J$X_(Spinner.Spinner, { show: true, icon: iconType, size: "sm", className: "PullRefresh-spinner", classnames: cx, classPrefix: props.classPrefix })),
|
|
167
|
+
showText && getStatusText(state.status)));
|
|
168
|
+
};
|
|
159
169
|
return (_J$X_("div", { className: cx('PullRefresh'), onTouchStart: onTouchStart, onTouchMove: onTouchMove, onTouchEnd: onTouchEnd, onTouchCancel: onTouchEnd },
|
|
160
170
|
_J$X_("div", { className: cx('PullRefresh-wrap'), style: transformStyle },
|
|
161
171
|
direction === 'down' ? loadingDom(cx('PullRefresh-header')) : null,
|
|
@@ -55,9 +55,9 @@ export declare class Radios extends React.Component<RadioProps, any> {
|
|
|
55
55
|
render(): React.JSX.Element;
|
|
56
56
|
}
|
|
57
57
|
declare const _default: {
|
|
58
|
-
new (props: Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
59
|
-
type?: string | undefined;
|
|
58
|
+
new (props: Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
60
59
|
clearable?: boolean | undefined;
|
|
60
|
+
type?: string | undefined;
|
|
61
61
|
inline?: boolean | undefined;
|
|
62
62
|
joinValues?: boolean | undefined;
|
|
63
63
|
resetValue?: any;
|
|
@@ -69,9 +69,9 @@ declare const _default: {
|
|
|
69
69
|
getWrappedInstance(): any;
|
|
70
70
|
render(): React.JSX.Element;
|
|
71
71
|
context: unknown;
|
|
72
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
73
|
-
type?: string | undefined;
|
|
72
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
74
73
|
clearable?: boolean | undefined;
|
|
74
|
+
type?: string | undefined;
|
|
75
75
|
inline?: boolean | undefined;
|
|
76
76
|
joinValues?: boolean | undefined;
|
|
77
77
|
resetValue?: any;
|
|
@@ -79,9 +79,9 @@ declare const _default: {
|
|
|
79
79
|
columnsCount?: number | number[] | undefined;
|
|
80
80
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
81
81
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
82
|
-
readonly props: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
83
|
-
type?: string | undefined;
|
|
82
|
+
readonly props: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
84
83
|
clearable?: boolean | undefined;
|
|
84
|
+
type?: string | undefined;
|
|
85
85
|
inline?: boolean | undefined;
|
|
86
86
|
joinValues?: boolean | undefined;
|
|
87
87
|
resetValue?: any;
|
|
@@ -93,9 +93,9 @@ declare const _default: {
|
|
|
93
93
|
[key: string]: React.ReactInstance;
|
|
94
94
|
};
|
|
95
95
|
componentDidMount?(): void;
|
|
96
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
97
|
-
type?: string | undefined;
|
|
96
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
98
97
|
clearable?: boolean | undefined;
|
|
98
|
+
type?: string | undefined;
|
|
99
99
|
inline?: boolean | undefined;
|
|
100
100
|
joinValues?: boolean | undefined;
|
|
101
101
|
resetValue?: any;
|
|
@@ -104,18 +104,18 @@ declare const _default: {
|
|
|
104
104
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
105
105
|
componentWillUnmount?(): void;
|
|
106
106
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
107
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
108
|
-
type?: string | undefined;
|
|
107
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
109
108
|
clearable?: boolean | undefined;
|
|
109
|
+
type?: string | undefined;
|
|
110
110
|
inline?: boolean | undefined;
|
|
111
111
|
joinValues?: boolean | undefined;
|
|
112
112
|
resetValue?: any;
|
|
113
113
|
btnActiveLevel?: string | undefined;
|
|
114
114
|
columnsCount?: number | number[] | undefined;
|
|
115
115
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
116
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
117
|
-
type?: string | undefined;
|
|
116
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
118
117
|
clearable?: boolean | undefined;
|
|
118
|
+
type?: string | undefined;
|
|
119
119
|
inline?: boolean | undefined;
|
|
120
120
|
joinValues?: boolean | undefined;
|
|
121
121
|
resetValue?: any;
|
|
@@ -124,36 +124,36 @@ declare const _default: {
|
|
|
124
124
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
125
125
|
componentWillMount?(): void;
|
|
126
126
|
UNSAFE_componentWillMount?(): void;
|
|
127
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
128
|
-
type?: string | undefined;
|
|
127
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
129
128
|
clearable?: boolean | undefined;
|
|
129
|
+
type?: string | undefined;
|
|
130
130
|
inline?: boolean | undefined;
|
|
131
131
|
joinValues?: boolean | undefined;
|
|
132
132
|
resetValue?: any;
|
|
133
133
|
btnActiveLevel?: string | undefined;
|
|
134
134
|
columnsCount?: number | number[] | undefined;
|
|
135
135
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
136
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
137
|
-
type?: string | undefined;
|
|
136
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
138
137
|
clearable?: boolean | undefined;
|
|
138
|
+
type?: string | undefined;
|
|
139
139
|
inline?: boolean | undefined;
|
|
140
140
|
joinValues?: boolean | undefined;
|
|
141
141
|
resetValue?: any;
|
|
142
142
|
btnActiveLevel?: string | undefined;
|
|
143
143
|
columnsCount?: number | number[] | undefined;
|
|
144
144
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
145
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
146
|
-
type?: string | undefined;
|
|
145
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
147
146
|
clearable?: boolean | undefined;
|
|
147
|
+
type?: string | undefined;
|
|
148
148
|
inline?: boolean | undefined;
|
|
149
149
|
joinValues?: boolean | undefined;
|
|
150
150
|
resetValue?: any;
|
|
151
151
|
btnActiveLevel?: string | undefined;
|
|
152
152
|
columnsCount?: number | number[] | undefined;
|
|
153
153
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
154
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "
|
|
155
|
-
type?: string | undefined;
|
|
154
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<RadioProps, keyof import("amis-core").ThemeProps>, "onChange" | "value" | "options" | "disabled" | "testIdBuilder" | "multiple" | "id" | "block" | "placeholder" | "level" | "loading" | "itemClassName" | "labelClassName" | "optionType" | "labelField" | "valueField" | "itemHeight" | "delimiter" | "onAdd" | "editable" | "onEdit" | "multi" | "pathSeparator" | "creatable" | "simpleValue" | "extractValue" | "virtualThreshold" | "hasError" | "controlStyle" | "removable" | "onDelete" | "renderLabel"> & {
|
|
156
155
|
clearable?: boolean | undefined;
|
|
156
|
+
type?: string | undefined;
|
|
157
157
|
inline?: boolean | undefined;
|
|
158
158
|
joinValues?: boolean | undefined;
|
|
159
159
|
resetValue?: any;
|
package/lib/components/Radios.js
CHANGED
package/lib/components/Range.js
CHANGED