amis-ui 6.9.0-rc.2 → 6.9.0-rc.4
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.d.ts +40 -40
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +10 -10
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/AnchorNavSection.js +1 -1
- package/esm/components/ArrayInput.d.ts +40 -40
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +80 -80
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/AutoSizer.js +1 -1
- package/esm/components/Avatar.d.ts +50 -50
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +20 -20
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +40 -40
- package/esm/components/CalendarMobile.js +7 -9
- package/esm/components/Card.d.ts +61 -50
- package/esm/components/Card.js +14 -13
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.d.ts +80 -80
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.d.ts +80 -80
- 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.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +40 -40
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +30 -30
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +80 -80
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConditionBuilder.js +1 -1
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +80 -80
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.d.ts +240 -240
- package/esm/components/DateRangePicker.js +1 -1
- package/esm/components/DiffEditor.d.ts +20 -0
- package/esm/components/DiffEditor.js +99 -0
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +31 -30
- package/esm/components/Drawer.js +5 -3
- package/esm/components/DropDownSelection.d.ts +80 -80
- package/esm/components/DropDownSelection.js +1 -1
- package/esm/components/Editor.d.ts +59 -61
- package/esm/components/Editor.js +12 -14
- 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.d.ts +80 -80
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/HeadCellDropDown.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/Icon.js +1 -1
- package/esm/components/ImageGallery.d.ts +43 -43
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +20 -20
- 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.d.ts +40 -40
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +80 -80
- 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.d.ts +10 -0
- package/esm/components/MobileDevTool.js +300 -0
- package/esm/components/Modal.d.ts +120 -120
- package/esm/components/Modal.js +5 -3
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +200 -200
- package/esm/components/MultilineText.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +26 -26
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/OverflowTpl.d.ts +0 -1
- package/esm/components/OverflowTpl.js +1 -1
- package/esm/components/Pagination.d.ts +84 -161
- 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.d.ts +80 -80
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +50 -50
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +4 -0
- package/esm/components/PullRefresh.js +47 -26
- package/esm/components/Radios.d.ts +30 -30
- package/esm/components/Radios.js +1 -1
- 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 +120 -120
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +40 -40
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +80 -80
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +40 -40
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +40 -40
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +1887 -1886
- package/esm/components/Select.js +3 -3
- package/esm/components/SelectMobile.js +1 -1
- package/esm/components/Selection.d.ts +80 -80
- package/esm/components/Selection.js +1 -1
- package/esm/components/Signature.js +5 -1
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +60 -60
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +10 -10
- 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.d.ts +80 -80
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +40 -40
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +40 -40
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +40 -40
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +40 -40
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +40 -40
- package/esm/components/Toast.js +1 -1
- 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 +108 -93
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.d.ts +80 -80
- 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 +203 -201
- package/esm/components/Tree.js +1 -1
- package/esm/components/TreeSelection.d.ts +80 -80
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +80 -80
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.d.ts +40 -40
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/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.d.ts +1 -0
- 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.d.ts +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.d.ts +82 -52
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.d.ts +3 -0
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.d.ts +64 -59
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +3 -1
- package/esm/components/index.d.ts +3 -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/SubMenu.js +1 -1
- package/esm/components/menu/index.d.ts +24 -27
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +3 -2
- package/esm/components/schema-editor/Common.d.ts +3 -0
- package/esm/components/schema-editor/Common.js +3 -2
- package/esm/components/schema-editor/Item.js +3 -13
- package/esm/components/schema-editor/Object.js +3 -2
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +51 -52
- package/esm/components/schema-editor/index.js +3 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/ColGroup.js +1 -1
- package/esm/components/table/Head.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +40 -40
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- 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.d.ts +80 -80
- package/esm/components/table/index.js +1 -1
- package/esm/components/table/util.d.ts +5 -5
- package/esm/components/table/util.js +1 -1
- 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/index.d.ts +1 -0
- package/esm/hooks/use-on-screen.d.ts +2 -0
- package/esm/hooks/use-on-screen.js +28 -0
- 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 +21 -0
- 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.js +4 -1
- package/esm/locale/de-DE.js +6 -1
- package/esm/locale/en-US.js +6 -1
- package/esm/locale/zh-CN.js +6 -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/withRemoteConfig.js +1 -1
- package/esm/withStore.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/AnchorNavSection.js +1 -1
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/AutoSizer.js +1 -1
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.js +7 -9
- package/lib/components/Card.d.ts +11 -0
- package/lib/components/Card.js +14 -13
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConditionBuilder.js +1 -1
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DiffEditor.d.ts +20 -0
- package/lib/components/DiffEditor.js +110 -0
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +1 -0
- package/lib/components/Drawer.js +5 -3
- package/lib/components/DropDownSelection.js +1 -1
- package/lib/components/Editor.d.ts +59 -61
- package/lib/components/Editor.js +12 -14
- 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.js +1 -1
- package/lib/components/HeadCellDropDown.js +1 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/Icon.js +1 -1
- package/lib/components/ImageGallery.d.ts +3 -3
- package/lib/components/ImageGallery.js +1 -1
- package/lib/components/Input.js +1 -1
- 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.js +1 -1
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Menu.js +1 -1
- package/lib/components/MobileDevTool.d.ts +10 -0
- package/lib/components/MobileDevTool.js +313 -0
- package/lib/components/Modal.js +5 -3
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/OverflowTpl.d.ts +0 -1
- package/lib/components/OverflowTpl.js +1 -1
- package/lib/components/Pagination.d.ts +44 -121
- 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.js +1 -1
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +4 -0
- package/lib/components/PullRefresh.js +50 -25
- package/lib/components/Radios.d.ts +10 -10
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +188 -187
- package/lib/components/Select.js +3 -3
- package/lib/components/SelectMobile.js +1 -1
- package/lib/components/Selection.js +1 -1
- package/lib/components/Signature.js +3 -1
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- 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.js +1 -1
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +19 -4
- package/lib/components/Transfer.js +1 -1
- 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 +3 -1
- package/lib/components/Tree.js +1 -1
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.js +1 -1
- 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.d.ts +1 -0
- 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.d.ts +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 +42 -12
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.d.ts +3 -0
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +24 -19
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +3 -1
- package/lib/components/index.d.ts +3 -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/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +4 -7
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +2 -1
- package/lib/components/schema-editor/Common.d.ts +3 -0
- package/lib/components/schema-editor/Common.js +3 -1
- package/lib/components/schema-editor/Item.js +2 -12
- package/lib/components/schema-editor/Object.js +2 -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 +11 -12
- package/lib/components/schema-editor/index.js +3 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/ColGroup.js +1 -1
- package/lib/components/table/Head.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/Row.js +1 -1
- package/lib/components/table/SummaryRow.js +1 -1
- package/lib/components/table/index.js +1 -1
- package/lib/components/table/util.js +1 -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/helper.css +14 -14
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/use-on-screen.d.ts +2 -0
- package/lib/hooks/use-on-screen.js +32 -0
- 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 +28 -0
- 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.js +7 -1
- package/lib/locale/de-DE.js +6 -1
- package/lib/locale/en-US.js +6 -1
- package/lib/locale/zh-CN.js +6 -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 +373 -76
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +373 -76
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +373 -76
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +373 -76
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +373 -76
- package/lib/withRemoteConfig.js +1 -1
- package/lib/withStore.js +1 -1
- package/package.json +3 -3
- package/scss/_components.scss +14 -10
- package/scss/_mixins.scss +23 -14
- package/scss/_properties.scss +42 -13
- package/scss/_variables.scss +2 -1
- package/scss/components/_array-input.scss +4 -4
- package/scss/components/_card.scss +13 -0
- package/scss/components/_crud2.scss +119 -13
- package/scss/components/_input-box.scss +2 -1
- package/scss/components/_json-schema-editor.scss +3 -5
- package/scss/components/_mobile-dev-tool.scss +175 -0
- package/scss/components/_modal.scss +1 -0
- package/scss/components/_panel.scss +23 -9
- package/scss/components/_pull-refresh.scss +6 -1
- package/scss/components/_result-box.scss +2 -2
- package/scss/components/_table.scss +6 -1
- package/scss/components/_tag.scss +3 -4
- package/scss/components/_toast.scss +6 -6
- package/scss/components/form/_form.scss +4 -5
- package/scss/components/form/_image.scss +14 -14
- package/scss/components/form/_list.scss +8 -8
- package/scss/components/form/_picker.scss +1 -1
- package/scss/components/form/_select.scss +4 -3
- package/scss/components/form/_textarea.scss +4 -4
- package/scss/components/form/_tree-select.scss +1 -1
- package/scss/themes/_common.scss +2 -0
|
@@ -110,6 +110,9 @@ declare const _default: {
|
|
|
110
110
|
variables?: VariableItem[] | undefined;
|
|
111
111
|
evalMode?: boolean | undefined;
|
|
112
112
|
} & {} & {
|
|
113
|
+
/**
|
|
114
|
+
* 用于提示的变量集合,默认为空
|
|
115
|
+
*/
|
|
113
116
|
locale?: string | undefined;
|
|
114
117
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
115
118
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
@@ -122,6 +125,9 @@ declare const _default: {
|
|
|
122
125
|
variables?: VariableItem[] | undefined;
|
|
123
126
|
evalMode?: boolean | undefined;
|
|
124
127
|
} & {} & {
|
|
128
|
+
/**
|
|
129
|
+
* 用于提示的变量集合,默认为空
|
|
130
|
+
*/
|
|
125
131
|
locale?: string | undefined;
|
|
126
132
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
127
133
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
@@ -130,6 +136,9 @@ declare const _default: {
|
|
|
130
136
|
variables?: VariableItem[] | undefined;
|
|
131
137
|
evalMode?: boolean | undefined;
|
|
132
138
|
} & {} & {
|
|
139
|
+
/**
|
|
140
|
+
* 用于提示的变量集合,默认为空
|
|
141
|
+
*/
|
|
133
142
|
locale?: string | undefined;
|
|
134
143
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
135
144
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>;
|
|
@@ -142,6 +151,9 @@ declare const _default: {
|
|
|
142
151
|
variables?: VariableItem[] | undefined;
|
|
143
152
|
evalMode?: boolean | undefined;
|
|
144
153
|
} & {} & {
|
|
154
|
+
/**
|
|
155
|
+
* 用于提示的变量集合,默认为空
|
|
156
|
+
*/
|
|
145
157
|
locale?: string | undefined;
|
|
146
158
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
147
159
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
@@ -151,6 +163,9 @@ declare const _default: {
|
|
|
151
163
|
variables?: VariableItem[] | undefined;
|
|
152
164
|
evalMode?: boolean | undefined;
|
|
153
165
|
} & {} & {
|
|
166
|
+
/**
|
|
167
|
+
* 用于提示的变量集合,默认为空
|
|
168
|
+
*/
|
|
154
169
|
locale?: string | undefined;
|
|
155
170
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
156
171
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
@@ -158,6 +173,9 @@ declare const _default: {
|
|
|
158
173
|
variables?: VariableItem[] | undefined;
|
|
159
174
|
evalMode?: boolean | undefined;
|
|
160
175
|
} & {} & {
|
|
176
|
+
/**
|
|
177
|
+
* 用于提示的变量集合,默认为空
|
|
178
|
+
*/
|
|
161
179
|
locale?: string | undefined;
|
|
162
180
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
163
181
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
@@ -167,6 +185,9 @@ declare const _default: {
|
|
|
167
185
|
variables?: VariableItem[] | undefined;
|
|
168
186
|
evalMode?: boolean | undefined;
|
|
169
187
|
} & {} & {
|
|
188
|
+
/**
|
|
189
|
+
* 用于提示的变量集合,默认为空
|
|
190
|
+
*/
|
|
170
191
|
locale?: string | undefined;
|
|
171
192
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
172
193
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
@@ -174,6 +195,9 @@ declare const _default: {
|
|
|
174
195
|
variables?: VariableItem[] | undefined;
|
|
175
196
|
evalMode?: boolean | undefined;
|
|
176
197
|
} & {} & {
|
|
198
|
+
/**
|
|
199
|
+
* 用于提示的变量集合,默认为空
|
|
200
|
+
*/
|
|
177
201
|
locale?: string | undefined;
|
|
178
202
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
179
203
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
@@ -181,6 +205,9 @@ declare const _default: {
|
|
|
181
205
|
variables?: VariableItem[] | undefined;
|
|
182
206
|
evalMode?: boolean | undefined;
|
|
183
207
|
} & {} & {
|
|
208
|
+
/**
|
|
209
|
+
* 用于提示的变量集合,默认为空
|
|
210
|
+
*/
|
|
184
211
|
locale?: string | undefined;
|
|
185
212
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
186
213
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -188,6 +215,9 @@ declare const _default: {
|
|
|
188
215
|
variables?: VariableItem[] | undefined;
|
|
189
216
|
evalMode?: boolean | undefined;
|
|
190
217
|
} & {} & {
|
|
218
|
+
/**
|
|
219
|
+
* 用于提示的变量集合,默认为空
|
|
220
|
+
*/
|
|
191
221
|
locale?: string | undefined;
|
|
192
222
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
193
223
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
@@ -199,14 +229,14 @@ declare const _default: {
|
|
|
199
229
|
variables?: VariableItem[] | undefined;
|
|
200
230
|
evalMode?: boolean | undefined;
|
|
201
231
|
} & {} & {
|
|
232
|
+
/**
|
|
233
|
+
* 用于提示的变量集合,默认为空
|
|
234
|
+
*/
|
|
202
235
|
locale?: string | undefined;
|
|
203
236
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
204
237
|
}): {
|
|
205
238
|
ref: any;
|
|
206
|
-
childRef(ref: any): void;
|
|
207
|
-
* 函数集合,默认不需要传,即 amis-formula 里面那个函数
|
|
208
|
-
* 如果有扩充,则需要传。
|
|
209
|
-
*/
|
|
239
|
+
childRef(ref: any): void;
|
|
210
240
|
getWrappedInstance(): any;
|
|
211
241
|
render(): React.JSX.Element;
|
|
212
242
|
context: unknown;
|
|
@@ -295,14 +325,14 @@ declare const _default: {
|
|
|
295
325
|
variables?: VariableItem[] | undefined;
|
|
296
326
|
evalMode?: boolean | undefined;
|
|
297
327
|
} & {} & {
|
|
328
|
+
/**
|
|
329
|
+
* 用于提示的变量集合,默认为空
|
|
330
|
+
*/
|
|
298
331
|
locale?: string | undefined;
|
|
299
332
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
300
333
|
}): {
|
|
301
334
|
ref: any;
|
|
302
|
-
childRef(ref: any): void;
|
|
303
|
-
* 函数集合,默认不需要传,即 amis-formula 里面那个函数
|
|
304
|
-
* 如果有扩充,则需要传。
|
|
305
|
-
*/
|
|
335
|
+
childRef(ref: any): void;
|
|
306
336
|
getWrappedInstance(): any;
|
|
307
337
|
render(): React.JSX.Element;
|
|
308
338
|
context: unknown;
|
|
@@ -391,14 +421,14 @@ declare const _default: {
|
|
|
391
421
|
variables?: VariableItem[] | undefined;
|
|
392
422
|
evalMode?: boolean | undefined;
|
|
393
423
|
} & {} & {
|
|
424
|
+
/**
|
|
425
|
+
* 用于提示的变量集合,默认为空
|
|
426
|
+
*/
|
|
394
427
|
locale?: string | undefined;
|
|
395
428
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
396
429
|
}): {
|
|
397
430
|
ref: any;
|
|
398
|
-
childRef(ref: any): void;
|
|
399
|
-
* 函数集合,默认不需要传,即 amis-formula 里面那个函数
|
|
400
|
-
* 如果有扩充,则需要传。
|
|
401
|
-
*/
|
|
431
|
+
childRef(ref: any): void;
|
|
402
432
|
getWrappedInstance(): any;
|
|
403
433
|
render(): React.JSX.Element;
|
|
404
434
|
context: unknown;
|
|
@@ -109,6 +109,7 @@ declare const _default: {
|
|
|
109
109
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
110
110
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
111
111
|
readonly props: Readonly<Omit<FormulaInputProps & React.RefAttributes<unknown>, keyof LocaleProps> & {
|
|
112
|
+
/** 自上层共享的属性 */
|
|
112
113
|
locale?: string | undefined;
|
|
113
114
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
114
115
|
}>;
|
|
@@ -172,6 +173,7 @@ declare const _default: {
|
|
|
172
173
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
173
174
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
174
175
|
readonly props: Readonly<Omit<FormulaInputProps & React.RefAttributes<unknown>, keyof LocaleProps> & {
|
|
176
|
+
/** 自上层共享的属性 */
|
|
175
177
|
locale?: string | undefined;
|
|
176
178
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
177
179
|
}>;
|
|
@@ -235,6 +237,7 @@ declare const _default: {
|
|
|
235
237
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
236
238
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
237
239
|
readonly props: Readonly<Omit<FormulaInputProps & React.RefAttributes<unknown>, keyof LocaleProps> & {
|
|
240
|
+
/** 自上层共享的属性 */
|
|
238
241
|
locale?: string | undefined;
|
|
239
242
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
240
243
|
}>;
|
|
@@ -139,13 +139,12 @@ declare const _default: {
|
|
|
139
139
|
locale?: string | undefined;
|
|
140
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
141
141
|
}, keyof import("amis-core").ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
142
|
-
/**
|
|
143
|
-
* 占位文本
|
|
144
|
-
*/
|
|
145
142
|
ref: any;
|
|
146
143
|
childRef(ref: any): void;
|
|
147
144
|
getWrappedInstance(): any;
|
|
148
|
-
render(): React.JSX.Element;
|
|
145
|
+
render(): React.JSX.Element; /**
|
|
146
|
+
* 外层透传的 data,和source配合使用
|
|
147
|
+
*/
|
|
149
148
|
context: unknown;
|
|
150
149
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "disabled" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "style" | "children" | "mode" | "size" | "icon" | "data" | "header" | "source" | "title" | "placeholder" | "value" | "onChange" | "clearable" | "popOverContainer" | "onConfirm" | "level" | "borderMode" | "onRef" | "onPickerOpen" | "variables" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions" | "enableRunPanel" | "simplifyMemberOprs" | "mixedMode" | "btnLabel" | "btnSize" | "inputSettings" | "customInputRender" | "functionsFilter"> & {
|
|
151
150
|
evalMode?: boolean | undefined;
|
|
@@ -221,12 +220,12 @@ declare const _default: {
|
|
|
221
220
|
locale?: string | undefined;
|
|
222
221
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
223
222
|
}): {
|
|
224
|
-
ref: any;
|
|
223
|
+
ref: any; /**
|
|
224
|
+
* 编辑器标题
|
|
225
|
+
*/
|
|
225
226
|
childRef(ref: any): void;
|
|
226
227
|
getWrappedInstance(): any;
|
|
227
|
-
render(): React.JSX.Element;
|
|
228
|
-
* 控件模式
|
|
229
|
-
*/
|
|
228
|
+
render(): React.JSX.Element;
|
|
230
229
|
context: unknown;
|
|
231
230
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "disabled" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "style" | "children" | "mode" | "size" | "icon" | "data" | "header" | "source" | "title" | "placeholder" | "value" | "onChange" | "clearable" | "popOverContainer" | "onConfirm" | "level" | "borderMode" | "onRef" | "onPickerOpen" | "variables" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions" | "enableRunPanel" | "simplifyMemberOprs" | "mixedMode" | "btnLabel" | "btnSize" | "inputSettings" | "customInputRender" | "functionsFilter"> & {
|
|
232
231
|
evalMode?: boolean | undefined;
|
|
@@ -239,7 +238,9 @@ declare const _default: {
|
|
|
239
238
|
evalMode?: boolean | undefined;
|
|
240
239
|
} & {} & {
|
|
241
240
|
locale?: string | undefined;
|
|
242
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
241
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
242
|
+
* 其他类型渲染器
|
|
243
|
+
*/
|
|
243
244
|
}>;
|
|
244
245
|
state: Readonly<{}>;
|
|
245
246
|
refs: {
|
|
@@ -306,12 +307,12 @@ declare const _default: {
|
|
|
306
307
|
locale?: string | undefined;
|
|
307
308
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
308
309
|
}): {
|
|
309
|
-
ref: any;
|
|
310
|
+
ref: any; /**
|
|
311
|
+
* 编辑器标题
|
|
312
|
+
*/
|
|
310
313
|
childRef(ref: any): void;
|
|
311
314
|
getWrappedInstance(): any;
|
|
312
|
-
render(): React.JSX.Element;
|
|
313
|
-
* 控件模式
|
|
314
|
-
*/
|
|
315
|
+
render(): React.JSX.Element;
|
|
315
316
|
context: unknown;
|
|
316
317
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "disabled" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "style" | "children" | "mode" | "size" | "icon" | "data" | "header" | "source" | "title" | "placeholder" | "value" | "onChange" | "clearable" | "popOverContainer" | "onConfirm" | "level" | "borderMode" | "onRef" | "onPickerOpen" | "variables" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions" | "enableRunPanel" | "simplifyMemberOprs" | "mixedMode" | "btnLabel" | "btnSize" | "inputSettings" | "customInputRender" | "functionsFilter"> & {
|
|
317
318
|
evalMode?: boolean | undefined;
|
|
@@ -324,7 +325,9 @@ declare const _default: {
|
|
|
324
325
|
evalMode?: boolean | undefined;
|
|
325
326
|
} & {} & {
|
|
326
327
|
locale?: string | undefined;
|
|
327
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
328
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
329
|
+
* 其他类型渲染器
|
|
330
|
+
*/
|
|
328
331
|
}>;
|
|
329
332
|
state: Readonly<{}>;
|
|
330
333
|
refs: {
|
|
@@ -391,12 +394,12 @@ declare const _default: {
|
|
|
391
394
|
locale?: string | undefined;
|
|
392
395
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
393
396
|
}): {
|
|
394
|
-
ref: any;
|
|
397
|
+
ref: any; /**
|
|
398
|
+
* 编辑器标题
|
|
399
|
+
*/
|
|
395
400
|
childRef(ref: any): void;
|
|
396
401
|
getWrappedInstance(): any;
|
|
397
|
-
render(): React.JSX.Element;
|
|
398
|
-
* 控件模式
|
|
399
|
-
*/
|
|
402
|
+
render(): React.JSX.Element;
|
|
400
403
|
context: unknown;
|
|
401
404
|
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<FormulaPickerProps, keyof import("amis-core").LocaleProps>, "disabled" | "classnames" | "classPrefix" | "className" | "theme" | "mobileUI" | "style" | "children" | "mode" | "size" | "icon" | "data" | "header" | "source" | "title" | "placeholder" | "value" | "onChange" | "clearable" | "popOverContainer" | "onConfirm" | "level" | "borderMode" | "onRef" | "onPickerOpen" | "variables" | "variableMode" | "functions" | "variableClassName" | "functionClassName" | "selfVariableName" | "editorOptions" | "enableRunPanel" | "simplifyMemberOprs" | "mixedMode" | "btnLabel" | "btnSize" | "inputSettings" | "customInputRender" | "functionsFilter"> & {
|
|
402
405
|
evalMode?: boolean | undefined;
|
|
@@ -409,7 +412,9 @@ declare const _default: {
|
|
|
409
412
|
evalMode?: boolean | undefined;
|
|
410
413
|
} & {} & {
|
|
411
414
|
locale?: string | undefined;
|
|
412
|
-
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
415
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined; /**
|
|
416
|
+
* 其他类型渲染器
|
|
417
|
+
*/
|
|
413
418
|
}>;
|
|
414
419
|
state: Readonly<{}>;
|
|
415
420
|
refs: {
|
package/lib/components/icons.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -111,6 +111,7 @@ var rotateLeft = require('../icons/rotate-left.svg.js');
|
|
|
111
111
|
var rotateRight = require('../icons/rotate-right.svg.js');
|
|
112
112
|
var scaleOrigin = require('../icons/scale-origin.svg.js');
|
|
113
113
|
var _if = require('../icons/if.svg.js');
|
|
114
|
+
var rotateScreen = require('../icons/rotate-screen.svg.js');
|
|
114
115
|
var isObject = require('lodash/isObject');
|
|
115
116
|
|
|
116
117
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -253,6 +254,7 @@ registerIcon('rotate-left', rotateLeft["default"]);
|
|
|
253
254
|
registerIcon('rotate-right', rotateRight["default"]);
|
|
254
255
|
registerIcon('scale-origin', scaleOrigin["default"]);
|
|
255
256
|
registerIcon('if', _if["default"]);
|
|
257
|
+
registerIcon('rotate-screen', rotateScreen["default"]);
|
|
256
258
|
function Icon(_a) {
|
|
257
259
|
var _b;
|
|
258
260
|
var icon = _a.icon, className = _a.className, _c = _a.classPrefix, classPrefix = _c === void 0 ? '' : _c, classNameProp = _a.classNameProp, iconContent = _a.iconContent, vendor = _a.vendor, iconCx = _a.cx, onClick = _a.onClick, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, onMouseOver = _a.onMouseOver, onMouseOut = _a.onMouseOut, onMouseDown = _a.onMouseDown, onMouseUp = _a.onMouseUp, onMouseMove = _a.onMouseMove, onBlur = _a.onBlur, onFocus = _a.onFocus, onTouchStart = _a.onTouchStart, onTouchMove = _a.onTouchMove, onTouchEnd = _a.onTouchEnd, onTouchCancel = _a.onTouchCancel, style = _a.style, testIdBuilder = _a.testIdBuilder;
|
|
@@ -19,6 +19,7 @@ import Drawer from './Drawer';
|
|
|
19
19
|
import Tabs from './Tabs';
|
|
20
20
|
import Tab from './Tab';
|
|
21
21
|
import Editor from './Editor';
|
|
22
|
+
import DiffEditor from './DiffEditor';
|
|
22
23
|
import Html from './Html';
|
|
23
24
|
export * from './icons';
|
|
24
25
|
import * as Icons from './icons';
|
|
@@ -124,4 +125,5 @@ import type CodeMirror from 'codemirror';
|
|
|
124
125
|
import OverflowTpl from './OverflowTpl';
|
|
125
126
|
import Signature from './Signature';
|
|
126
127
|
import VerificationCode from './VerificationCode';
|
|
127
|
-
|
|
128
|
+
import MobileDevTool from './MobileDevTool';
|
|
129
|
+
export { NotFound, Alert as AlertComponent, alert, Avatar, confirm, prompt, setRenderSchemaFn, ContextMenu, openContextMenus, closeContextMenus, Alert2, AsideNav, Button, Breadcrumb, Checkbox, Selection as Checkboxes, Collapse, CollapseGroup, DatePicker, DateRangePicker, Drawer, Tabs, Tab, Editor, DiffEditor, Html, Icons, Layout, LazyComponent, Modal, Overlay, PopOver, Radios, Range, Rating, Select, value2array, SparkLine, Spinner, SpinnerExtraProps, Switch, Textarea, TitleBar, ToastComponent, ToastComponent as Toast, toast, Tooltip, TooltipWrapper, Tree, Transfer, TabsTransfer, Selection, GroupedSelection, ChainedSelection, TableSelection, TreeSelection, AssociatedSelection, ResultBox, InputBox, InputBoxWithSuggestion, SearchBox, ListGroup, NumberInput, ArrayInput, PullRefresh, Table, SchemaVariableListPicker, SchemaVariableList, VariableList, PickerContainer, ConfirmBox, FormulaPicker, FormulaCodeEditor, VariableItem, FuncGroup, FormulaEditor, InputJSONSchema, withBadge, BadgeObject, Icon, withRemoteConfig, RemoteOptionsProps, ConditionBuilder, ConditionBuilderFuncs, ConditionBuilderFields, ConditionBuilderConfig, CityArea, PresetColor, ListMenu, Input, JSONSchemaEditor, LocationPicker, PopUp, Cascader, TransferDropDown, TabsTransferPicker, ResultList, TransferPicker, UserSelect, UserTabSelect, getIcon, getIconNames, registerIcon, Badge, HeadCellDropDown, AnchorNav, AnchorNavSection, Card, GridNavDirection, GridNav, GridNavItem, Link, VirtualList, AutoSizer, withStore, PopOverContainer, Pagination, Progress, Steps, StepStatus, Tag, Timeline, ImageGallery, BaiduMapPicker, MultilineText, Form, FormField, Controller, Combo, InputTable, InputTableColumnProps, DndContainer, Menu, CodeMirror, CodeMirrorEditor, OverflowTpl, Signature, VerificationCode, MobileDevTool };
|
|
@@ -225,12 +225,12 @@ declare const _default: {
|
|
|
225
225
|
themeColor?: "dark" | "light" | undefined;
|
|
226
226
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps): {
|
|
227
227
|
ref: any;
|
|
228
|
-
childRef(ref: any): void;
|
|
229
|
-
* 主题配色
|
|
230
|
-
*/
|
|
228
|
+
childRef(ref: any): void;
|
|
231
229
|
getWrappedInstance(): any;
|
|
232
230
|
render(): React.JSX.Element;
|
|
233
|
-
context: unknown;
|
|
231
|
+
context: unknown; /**
|
|
232
|
+
* 子菜单触发方式
|
|
233
|
+
*/
|
|
234
234
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<MenuProps, keyof import("amis-core").ThemeProps>, "onFocus" | "onBlur" | "disabled" | "translate" | "history" | "children" | "data" | "slot" | "title" | "testIdBuilder" | "multiple" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "location" | "onToggle" | "navigations" | "items" | "expandIcon" | "accordion" | "activeKey" | "selectedKeys" | "prefixCls" | "rootClassName" | "disabledOverflow" | "inlineCollapsed" | "defaultOpenKeys" | "openKeys" | "defaultActiveFirst" | "selectable" | "defaultSelectedKeys" | "onDeselect" | "motion" | "defaultMotions" | "subMenuOpenDelay" | "subMenuCloseDelay" | "forceSubMenuRender" | "builtinPlacements" | "itemIcon" | "overflowedIndicator" | "overflowedIndicatorPopupClassName" | "getPopupContainer" | "onOpenChange" | "_internalRenderMenuItem" | "_internalRenderSubMenuItem" | "_internalComponents" | "overflowMaxCount" | "overflowComponent" | "overflowSuffix" | "overflowItemWidth" | "overflowStyle" | "onToggleExpand" | "badge" | "expandBefore" | "popupClassName"> & {
|
|
235
235
|
mode?: "inline" | "float" | undefined;
|
|
236
236
|
prefix?: string | undefined;
|
|
@@ -245,9 +245,6 @@ declare const _default: {
|
|
|
245
245
|
stacked?: boolean | undefined;
|
|
246
246
|
themeColor?: "dark" | "light" | undefined;
|
|
247
247
|
} & {} & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
248
|
-
/**
|
|
249
|
-
* 水平导航模式下,Menu折叠状态的图标或文案
|
|
250
|
-
*/
|
|
251
248
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
252
249
|
readonly props: Readonly<Pick<Omit<MenuProps, keyof import("amis-core").ThemeProps>, "onFocus" | "onBlur" | "disabled" | "translate" | "history" | "children" | "data" | "slot" | "title" | "testIdBuilder" | "multiple" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "location" | "onToggle" | "navigations" | "items" | "expandIcon" | "accordion" | "activeKey" | "selectedKeys" | "prefixCls" | "rootClassName" | "disabledOverflow" | "inlineCollapsed" | "defaultOpenKeys" | "openKeys" | "defaultActiveFirst" | "selectable" | "defaultSelectedKeys" | "onDeselect" | "motion" | "defaultMotions" | "subMenuOpenDelay" | "subMenuCloseDelay" | "forceSubMenuRender" | "builtinPlacements" | "itemIcon" | "overflowedIndicator" | "overflowedIndicatorPopupClassName" | "getPopupContainer" | "onOpenChange" | "_internalRenderMenuItem" | "_internalRenderSubMenuItem" | "_internalComponents" | "overflowMaxCount" | "overflowComponent" | "overflowSuffix" | "overflowItemWidth" | "overflowStyle" | "onToggleExpand" | "badge" | "expandBefore" | "popupClassName"> & {
|
|
253
250
|
mode?: "inline" | "float" | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -90,5 +90,6 @@ var SchemaEditorItemArray = /** @class */ (function (_super) {
|
|
|
90
90
|
], SchemaEditorItemArray.prototype, "handleItemsChange", null);
|
|
91
91
|
return SchemaEditorItemArray;
|
|
92
92
|
}(Common.SchemaEditorItemCommon));
|
|
93
|
+
Common.ITEMMAP.array = SchemaEditorItemArray;
|
|
93
94
|
|
|
94
95
|
exports.SchemaEditorItemArray = SchemaEditorItemArray;
|
|
@@ -56,3 +56,6 @@ export declare class SchemaEditorItemCommon<P extends SchemaEditorItemCommonProp
|
|
|
56
56
|
renderForm(props?: Partial<SchemaEditorItemCommonProps>): React.JSX.Element;
|
|
57
57
|
render(): React.JSX.Element;
|
|
58
58
|
}
|
|
59
|
+
export declare const ITEMMAP: {
|
|
60
|
+
[propsName: string]: typeof SchemaEditorItemCommon;
|
|
61
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -167,6 +167,8 @@ var SchemaEditorItemCommon = /** @class */ (function (_super) {
|
|
|
167
167
|
], SchemaEditorItemCommon.prototype, "handleFormChange", null);
|
|
168
168
|
return SchemaEditorItemCommon;
|
|
169
169
|
}(React__default["default"].Component));
|
|
170
|
+
var ITEMMAP = {};
|
|
170
171
|
|
|
172
|
+
exports.ITEMMAP = ITEMMAP;
|
|
171
173
|
exports.SchemaEditorItemCommon = SchemaEditorItemCommon;
|
|
172
174
|
exports.schemaEditorItemPlaceholder = schemaEditorItemPlaceholder;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -9,9 +9,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
|
|
10
10
|
var tslib = require('tslib');
|
|
11
11
|
var React = require('react');
|
|
12
|
-
var Array = require('./Array.js');
|
|
13
12
|
var Common = require('./Common.js');
|
|
14
|
-
var Object$1 = require('./Object.js');
|
|
15
13
|
|
|
16
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
15
|
|
|
@@ -28,15 +26,7 @@ var SchemaEditorItem = /** @class */ (function (_super) {
|
|
|
28
26
|
SchemaEditorItem.prototype.render = function () {
|
|
29
27
|
var value = this.props.value;
|
|
30
28
|
// 动态Component要用大写开头的才会被识别
|
|
31
|
-
var Renderer = Common.SchemaEditorItemCommon;
|
|
32
|
-
switch (value === null || value === void 0 ? void 0 : value.type) {
|
|
33
|
-
case 'object':
|
|
34
|
-
Renderer = Object$1.SchemaEditorItemObject;
|
|
35
|
-
break;
|
|
36
|
-
case 'array':
|
|
37
|
-
Renderer = Array.SchemaEditorItemArray;
|
|
38
|
-
break;
|
|
39
|
-
}
|
|
29
|
+
var Renderer = ((value === null || value === void 0 ? void 0 : value.type) && Common.ITEMMAP[value === null || value === void 0 ? void 0 : value.type]) || Common.SchemaEditorItemCommon;
|
|
40
30
|
return (_J$X_(Renderer, tslib.__assign({}, this.props, { key: (value === null || value === void 0 ? void 0 : value.type) || 'string' })));
|
|
41
31
|
};
|
|
42
32
|
return SchemaEditorItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v6.9.0-rc.
|
|
2
|
+
* amis-ui v6.9.0-rc.4
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -300,5 +300,6 @@ var SchemaEditorItemObject = /** @class */ (function (_super) {
|
|
|
300
300
|
], SchemaEditorItemObject.prototype, "renderFormPrefix", null);
|
|
301
301
|
return SchemaEditorItemObject;
|
|
302
302
|
}(Common.SchemaEditorItemCommon));
|
|
303
|
+
Common.ITEMMAP.object = SchemaEditorItemObject;
|
|
303
304
|
|
|
304
305
|
exports.SchemaEditorItemObject = SchemaEditorItemObject;
|