amis-ui 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +2 -2
- package/esm/components/AnchorNav.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/Avatar.d.ts +2 -2
- package/esm/components/Avatar.js +4 -4
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +1 -1
- package/esm/components/BaiduMapPicker.js +5 -5
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +3 -3
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +22 -14
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +13 -5
- 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/ContextMenu.js +1 -1
- package/esm/components/DatePicker.js +10 -3
- package/esm/components/DateRangePicker.js +3 -7
- package/esm/components/Drawer.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/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.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/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.d.ts +462 -0
- package/esm/components/MultilineText.js +85 -0
- package/esm/components/NumberInput.d.ts +34 -11
- package/esm/components/NumberInput.js +88 -34
- package/esm/components/Pagination.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.js +1 -1
- 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.js +1 -1
- package/esm/components/ResultList.js +17 -15
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +10 -8
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.js +7 -5
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +3 -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 +6 -5
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +2 -2
- package/esm/components/Tinymce.d.ts +1 -0
- package/esm/components/Tinymce.js +5 -3
- 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 +1 -1
- package/esm/components/Transfer.js +19 -14
- 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.js +1 -1
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +3 -1
- package/esm/components/UserTabSelect.js +3 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +2 -6
- 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 +2 -2
- 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/Formula.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +9 -1
- package/esm/components/condition-builder/Group.js +57 -13
- package/esm/components/condition-builder/GroupOrItem.d.ts +1 -0
- package/esm/components/condition-builder/GroupOrItem.js +7 -5
- 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 +3 -3
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.js +3 -3
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.d.ts +2 -1
- package/esm/components/icons.js +2 -1
- package/esm/components/index.d.ts +12 -7
- 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/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.js +1 -1
- 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/index.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-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 -3
- package/esm/icons/alert-info.svg.js +1 -3
- package/esm/icons/alert-success.svg.js +1 -3
- package/esm/icons/alert-warning.svg.js +1 -3
- package/esm/icons/back.svg.js +1 -3
- package/esm/icons/calendar.svg.js +1 -3
- package/esm/icons/caret.svg.js +1 -3
- package/esm/icons/check-circle.svg.js +1 -3
- package/esm/icons/check.svg.js +1 -3
- package/esm/icons/clock.svg.js +1 -3
- package/esm/icons/close-small.svg.js +1 -3
- package/esm/icons/close.svg.js +1 -3
- package/esm/icons/cloud-upload.svg.js +1 -3
- package/esm/icons/column-filter.svg.js +1 -3
- package/esm/icons/columns.svg.js +1 -3
- package/esm/icons/compress-alt.svg.js +1 -3
- package/esm/icons/copy.svg.js +1 -3
- package/esm/icons/date.svg.js +1 -3
- package/esm/icons/department.svg.js +1 -3
- package/esm/icons/desk-empty.svg.js +1 -3
- package/esm/icons/dot.svg.js +1 -3
- package/esm/icons/down-arrow-bold.svg.js +1 -3
- package/esm/icons/down.svg.js +1 -3
- package/esm/icons/download.svg.js +1 -3
- package/esm/icons/drag-bar.svg.js +1 -3
- package/esm/icons/drag.svg.js +1 -3
- package/esm/icons/edit.svg.js +1 -3
- package/esm/icons/ellipsis-v.svg.js +1 -3
- package/esm/icons/enter.svg.js +1 -3
- package/esm/icons/exchange.svg.js +1 -3
- package/esm/icons/expand-alt.svg.js +1 -3
- package/esm/icons/fail.svg.js +1 -3
- package/esm/icons/file.svg.js +1 -3
- package/esm/icons/filter.svg.js +1 -3
- package/esm/icons/folder.svg.js +1 -3
- package/esm/icons/function.svg.js +1 -3
- package/esm/icons/home.svg.js +1 -3
- package/esm/icons/image.svg.js +1 -3
- package/esm/icons/info-circle.svg.js +1 -3
- package/esm/icons/info.svg.js +1 -3
- package/esm/icons/input-clear.svg.js +1 -3
- package/esm/icons/invisible.svg.js +1 -3
- package/esm/icons/left-arrow.svg.js +1 -3
- package/esm/icons/loading-outline.svg.js +1 -3
- package/esm/icons/location.svg.js +1 -3
- package/esm/icons/menu.svg.js +1 -3
- package/esm/icons/minus.svg.js +1 -3
- package/esm/icons/move.svg.js +1 -3
- package/esm/icons/mute.svg.js +1 -3
- package/esm/icons/new-edit.svg.js +1 -3
- package/esm/icons/pause.svg.js +1 -3
- package/esm/icons/pencil.svg.js +1 -3
- package/esm/icons/play.svg.js +1 -3
- package/esm/icons/plus-cicle.svg.js +1 -3
- package/esm/icons/plus-fine.svg.js +1 -3
- package/esm/icons/plus.svg.js +1 -3
- package/esm/icons/post.svg.js +1 -3
- package/esm/icons/question-mark.svg.js +1 -3
- package/esm/icons/question.svg.js +1 -3
- package/esm/icons/redo.svg.js +1 -3
- package/esm/icons/refresh.svg.js +1 -3
- package/esm/icons/reload.svg.js +1 -3
- package/esm/icons/remove.svg.js +1 -3
- package/esm/icons/retry.svg.js +1 -3
- package/esm/icons/right-arrow-bold.svg.js +1 -3
- package/esm/icons/right-arrow.svg.js +1 -3
- package/esm/icons/right-double-arrow.svg.js +1 -3
- package/esm/icons/role.svg.js +1 -3
- package/esm/icons/rotate-left.svg.js +1 -3
- package/esm/icons/rotate-right.svg.js +1 -3
- package/esm/icons/scale-origin.svg.js +1 -3
- package/esm/icons/schedule.svg.js +1 -3
- package/esm/icons/search.svg.js +1 -3
- package/esm/icons/setting.svg.js +1 -3
- package/esm/icons/slider-handle-icon.svg.js +1 -3
- package/esm/icons/sort-asc.svg.js +1 -3
- package/esm/icons/sort-default.svg.js +1 -3
- package/esm/icons/sort-desc.svg.js +1 -3
- package/esm/icons/star.svg.js +1 -3
- package/esm/icons/status-close.svg.js +1 -3
- package/esm/icons/status-fail.svg.js +1 -3
- package/esm/icons/status-info.svg.js +1 -3
- package/esm/icons/status-success.svg.js +1 -3
- package/esm/icons/status-warning.svg.js +1 -3
- package/esm/icons/steps-finsh.svg.js +1 -3
- package/esm/icons/success.svg.js +1 -3
- package/esm/icons/transparent.svg.js +1 -3
- package/esm/icons/trash.svg.js +1 -3
- package/esm/icons/tree-down.svg.js +1 -3
- package/esm/icons/undo.svg.js +1 -3
- package/esm/icons/upload.svg.js +1 -3
- package/esm/icons/user-remove.svg.js +1 -3
- package/esm/icons/view.svg.js +1 -3
- package/esm/icons/volume.svg.js +1 -3
- package/esm/icons/warning-mark.svg.js +1 -3
- package/esm/icons/warning.svg.js +1 -3
- package/esm/icons/window-restore.svg.js +1 -3
- package/esm/icons/zoom-in.svg.js +1 -3
- package/esm/icons/zoom-out.svg.js +1 -3
- package/esm/index.js +4 -1
- package/esm/locale/de-DE.js +3 -1
- package/esm/locale/en-US.js +6 -2
- package/esm/locale/zh-CN.js +8 -4
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +10 -10
- package/lib/components/Alert2.js +2 -2
- package/lib/components/AnchorNav.d.ts +10 -10
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +40 -40
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +12 -12
- package/lib/components/Avatar.js +3 -3
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +1 -1
- package/lib/components/BaiduMapPicker.js +5 -5
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +10 -10
- package/lib/components/Button.js +3 -3
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +10 -10
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +22 -14
- package/lib/components/ChainedSelection.d.ts +40 -40
- 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 +13 -5
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +10 -10
- package/lib/components/Collapse.js +1 -1
- 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/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +40 -40
- package/lib/components/DatePicker.js +10 -3
- package/lib/components/DateRangePicker.d.ts +40 -40
- package/lib/components/DateRangePicker.js +3 -8
- package/lib/components/Drawer.d.ts +10 -10
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +40 -40
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.js +1 -1
- 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/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 +40 -40
- 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/Modal.d.ts +40 -40
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +40 -40
- package/lib/components/MultilineText.d.ts +462 -0
- package/lib/components/MultilineText.js +94 -0
- package/lib/components/NumberInput.d.ts +34 -11
- package/lib/components/NumberInput.js +88 -33
- package/lib/components/Pagination.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.d.ts +10 -10
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- 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.d.ts +10 -10
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +40 -40
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +17 -15
- package/lib/components/ResultTableList.d.ts +40 -40
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +10 -8
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +40 -40
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +193 -193
- package/lib/components/Select.js +1 -1
- package/lib/components/Selection.d.ts +40 -40
- package/lib/components/Selection.js +7 -5
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +10 -10
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +40 -40
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +40 -40
- package/lib/components/Tabs.js +3 -1
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +10 -10
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +6 -5
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +2 -2
- package/lib/components/Tinymce.d.ts +1 -0
- package/lib/components/Tinymce.js +5 -3
- 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 +40 -40
- package/lib/components/Transfer.js +18 -13
- package/lib/components/TransferDropDown.d.ts +40 -40
- 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 +40 -40
- package/lib/components/Tree.js +1 -1
- package/lib/components/TreeSelection.d.ts +40 -40
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +3 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +3 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +2 -6
- 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 +2 -2
- 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/Formula.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +9 -1
- package/lib/components/condition-builder/Group.js +57 -13
- package/lib/components/condition-builder/GroupOrItem.d.ts +1 -0
- package/lib/components/condition-builder/GroupOrItem.js +7 -5
- 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 +3 -3
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +3 -3
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.d.ts +2 -1
- package/lib/components/icons.js +2 -1
- package/lib/components/index.d.ts +12 -7
- 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/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 +40 -40
- package/lib/components/table/Cell.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/index.d.ts +40 -40
- package/lib/components/table/index.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/helper.css +3 -0
- package/lib/hooks/use-set-state.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 -3
- package/lib/icons/alert-info.svg.js +1 -3
- package/lib/icons/alert-success.svg.js +1 -3
- package/lib/icons/alert-warning.svg.js +1 -3
- package/lib/icons/back.svg.js +1 -3
- package/lib/icons/calendar.svg.js +1 -3
- package/lib/icons/caret.svg.js +1 -3
- package/lib/icons/check-circle.svg.js +1 -3
- package/lib/icons/check.svg.js +1 -3
- package/lib/icons/clock.svg.js +1 -3
- package/lib/icons/close-small.svg.js +1 -3
- package/lib/icons/close.svg.js +1 -3
- package/lib/icons/cloud-upload.svg.js +1 -3
- package/lib/icons/column-filter.svg.js +1 -3
- package/lib/icons/columns.svg.js +1 -3
- package/lib/icons/compress-alt.svg.js +1 -3
- package/lib/icons/copy.svg.js +1 -3
- package/lib/icons/date.svg.js +1 -3
- package/lib/icons/department.svg.js +1 -3
- package/lib/icons/desk-empty.svg.js +1 -3
- package/lib/icons/dot.svg.js +1 -3
- package/lib/icons/down-arrow-bold.svg.js +1 -3
- package/lib/icons/down.svg.js +1 -3
- package/lib/icons/download.svg.js +1 -3
- package/lib/icons/drag-bar.svg.js +1 -3
- package/lib/icons/drag.svg.js +1 -3
- package/lib/icons/edit.svg.js +1 -3
- package/lib/icons/ellipsis-v.svg.js +1 -3
- package/lib/icons/enter.svg.js +1 -3
- package/lib/icons/exchange.svg.js +1 -3
- package/lib/icons/expand-alt.svg.js +1 -3
- package/lib/icons/fail.svg.js +1 -3
- package/lib/icons/file.svg.js +1 -3
- package/lib/icons/filter.svg.js +1 -3
- package/lib/icons/folder.svg.js +1 -3
- package/lib/icons/function.svg.js +1 -3
- package/lib/icons/home.svg.js +1 -3
- package/lib/icons/image.svg.js +1 -3
- package/lib/icons/info-circle.svg.js +1 -3
- package/lib/icons/info.svg.js +1 -3
- package/lib/icons/input-clear.svg.js +1 -3
- package/lib/icons/invisible.svg.js +1 -3
- package/lib/icons/left-arrow.svg.js +1 -3
- package/lib/icons/loading-outline.svg.js +1 -3
- package/lib/icons/location.svg.js +1 -3
- package/lib/icons/menu.svg.js +1 -3
- package/lib/icons/minus.svg.js +1 -3
- package/lib/icons/move.svg.js +1 -3
- package/lib/icons/mute.svg.js +1 -3
- package/lib/icons/new-edit.svg.js +1 -3
- package/lib/icons/pause.svg.js +1 -3
- package/lib/icons/pencil.svg.js +1 -3
- package/lib/icons/play.svg.js +1 -3
- package/lib/icons/plus-cicle.svg.js +1 -3
- package/lib/icons/plus-fine.svg.js +1 -3
- package/lib/icons/plus.svg.js +1 -3
- package/lib/icons/post.svg.js +1 -3
- package/lib/icons/question-mark.svg.js +1 -3
- package/lib/icons/question.svg.js +1 -3
- package/lib/icons/redo.svg.js +1 -3
- package/lib/icons/refresh.svg.js +1 -3
- package/lib/icons/reload.svg.js +1 -3
- package/lib/icons/remove.svg.js +1 -3
- package/lib/icons/retry.svg.js +1 -3
- package/lib/icons/right-arrow-bold.svg.js +1 -3
- package/lib/icons/right-arrow.svg.js +1 -3
- package/lib/icons/right-double-arrow.svg.js +1 -3
- package/lib/icons/role.svg.js +1 -3
- package/lib/icons/rotate-left.svg.js +1 -3
- package/lib/icons/rotate-right.svg.js +1 -3
- package/lib/icons/scale-origin.svg.js +1 -3
- package/lib/icons/schedule.svg.js +1 -3
- package/lib/icons/search.svg.js +1 -3
- package/lib/icons/setting.svg.js +1 -3
- package/lib/icons/slider-handle-icon.svg.js +1 -3
- package/lib/icons/sort-asc.svg.js +1 -3
- package/lib/icons/sort-default.svg.js +1 -3
- package/lib/icons/sort-desc.svg.js +1 -3
- package/lib/icons/star.svg.js +1 -3
- package/lib/icons/status-close.svg.js +1 -3
- package/lib/icons/status-fail.svg.js +1 -3
- package/lib/icons/status-info.svg.js +1 -3
- package/lib/icons/status-success.svg.js +1 -3
- package/lib/icons/status-warning.svg.js +1 -3
- package/lib/icons/steps-finsh.svg.js +1 -3
- package/lib/icons/success.svg.js +1 -3
- package/lib/icons/transparent.svg.js +1 -3
- package/lib/icons/trash.svg.js +1 -3
- package/lib/icons/tree-down.svg.js +1 -3
- package/lib/icons/undo.svg.js +1 -3
- package/lib/icons/upload.svg.js +1 -3
- package/lib/icons/user-remove.svg.js +1 -3
- package/lib/icons/view.svg.js +1 -3
- package/lib/icons/volume.svg.js +1 -3
- package/lib/icons/warning-mark.svg.js +1 -3
- package/lib/icons/warning.svg.js +1 -3
- package/lib/icons/window-restore.svg.js +1 -3
- package/lib/icons/zoom-in.svg.js +1 -3
- package/lib/icons/zoom-out.svg.js +1 -3
- package/lib/index.js +7 -1
- package/lib/locale/de-DE.js +3 -1
- package/lib/locale/en-US.js +6 -2
- package/lib/locale/zh-CN.js +8 -4
- 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 +1500 -748
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +2721 -886
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +3104 -1548
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +1500 -748
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +3104 -1548
- package/package.json +4 -4
- package/scss/_mixins.scss +144 -45
- package/scss/_properties.scss +155 -312
- package/scss/_utilities.scss +4 -0
- package/scss/base/_normalize.scss +4 -0
- package/scss/components/_alert.scss +0 -1
- package/scss/components/_array-input.scss +8 -3
- package/scss/components/_button.scss +708 -177
- package/scss/components/_code.scss +10 -0
- package/scss/components/_collapse.scss +17 -0
- package/scss/components/_condition-builder.scss +153 -30
- package/scss/components/_drawer.scss +7 -2
- package/scss/components/_formula.scss +4 -0
- package/scss/components/_images.scss +4 -0
- package/scss/components/_list.scss +1 -1
- package/scss/components/_modal.scss +1 -0
- package/scss/components/_multiline-text.scss +20 -0
- package/scss/components/_search-box.scss +1 -1
- package/scss/components/_steps.scss +2 -0
- package/scss/components/_table.scss +14 -0
- package/scss/components/_tabs.scss +1 -1
- package/scss/components/form/_checks.scss +20 -5
- package/scss/components/form/_combo.scss +47 -8
- package/scss/components/form/_date-range.scss +1 -1
- package/scss/components/form/_date.scss +4 -2
- package/scss/components/form/_fieldset.scss +4 -3
- package/scss/components/form/_form.scss +11 -5
- package/scss/components/form/_icon-select.scss +216 -0
- package/scss/components/form/_image.scss +44 -9
- package/scss/components/form/_input-group.scss +3 -0
- package/scss/components/form/_list.scss +33 -28
- package/scss/components/form/_location.scss +4 -0
- package/scss/components/form/_nested-select.scss +1 -1
- package/scss/components/form/_range.scss +4 -0
- package/scss/components/form/_select.scss +2 -1
- package/scss/components/form/_switch.scss +54 -0
- package/scss/components/form/_tag.scss +8 -3
- package/scss/components/form/_text.scss +2 -2
- package/scss/components/form/_textarea.scss +8 -0
- package/scss/components/form/_transfer.scss +213 -20
- package/scss/components/form/_tree-select.scss +7 -0
- package/scss/themes/_antd-variables.scss +1107 -41
- package/scss/themes/_common.scss +3 -0
- package/scss/themes/_cxd-variables.scss +1456 -477
- package/scss/themes/cxd.scss +423 -404
- package/scss/themes/_cxd-colors.scss +0 -56
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgTreeDown = function SvgTreeDown(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
xmlns: "http://www.w3.org/2000/svg",
|
package/esm/icons/undo.svg.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgUndo = function SvgUndo(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 854 768",
|
package/esm/icons/upload.svg.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgUpload = function SvgUpload(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 16 16",
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _g;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgUserRemove = function SvgUserRemove(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 16 16",
|
package/esm/icons/view.svg.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgView = function SvgView(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 16 16",
|
package/esm/icons/volume.svg.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path, _path2;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgVolume = function SvgVolume(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _g;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgWarningMark = function SvgWarningMark(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 12 12",
|
package/esm/icons/warning.svg.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgWarning = function SvgWarning(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 150 138",
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgWindowRestore = function SvgWindowRestore(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 200 200",
|
package/esm/icons/zoom-in.svg.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgZoomIn = function SvgZoomIn(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 201 200",
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
8
|
var _path;
|
|
9
|
-
|
|
10
9
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
|
|
12
10
|
var SvgZoomOut = function SvgZoomOut(props) {
|
|
13
11
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
12
|
viewBox: "0 0 187 187",
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -91,6 +91,8 @@ export { StepStatus, default as Steps } from './components/Steps.js';
|
|
|
91
91
|
export { default as Tag } from './components/Tag.js';
|
|
92
92
|
export { default as Timeline } from './components/Timeline.js';
|
|
93
93
|
export { default as ImageGallery } from './components/ImageGallery.js';
|
|
94
|
+
export { default as BaiduMapPicker } from './components/BaiduMapPicker.js';
|
|
95
|
+
export { default as MultilineText } from './components/MultilineText.js';
|
|
94
96
|
export { default as useSetState } from './hooks/use-set-state.js';
|
|
95
97
|
export { default as useUpdateEffect } from './hooks/use-update-effect.js';
|
|
96
98
|
export { default as useTouch } from './hooks/use-touch.js';
|
|
@@ -125,3 +127,4 @@ export { default as PlayIcon } from './icons/play.svg.js';
|
|
|
125
127
|
export { default as PauseIcon } from './icons/pause.svg.js';
|
|
126
128
|
export { default as LeftArrowIcon } from './icons/left-arrow.svg.js';
|
|
127
129
|
export { default as RightArrowIcon } from './icons/right-arrow.svg.js';
|
|
130
|
+
export { default as DownArrowBoldIcon } from './icons/down-arrow-bold.svg.js';
|
package/esm/locale/de-DE.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -304,6 +304,7 @@ registerLocale('de-DE', {
|
|
|
304
304
|
'Condition.not': 'nicht',
|
|
305
305
|
'Condition.and': 'und',
|
|
306
306
|
'Condition.or': 'oder',
|
|
307
|
+
'Condition.collapse': 'entfalten',
|
|
307
308
|
'Condition.add_cond': 'und Bedingung',
|
|
308
309
|
'Condition.add_cond_group': 'Bedingungsgruppe hinzufügen',
|
|
309
310
|
'Condition.delete_cond_group': 'Konditionsgruppe löschen',
|
|
@@ -332,6 +333,7 @@ registerLocale('de-DE', {
|
|
|
332
333
|
'Condition.expression': 'Ausdruck',
|
|
333
334
|
'Condition.formula_placeholder': 'Bitte geben Sie eine Formel ein',
|
|
334
335
|
'Condition.fun_error': 'Funktion ist undefiniert',
|
|
336
|
+
'Condition.configured': 'Konfiguriert',
|
|
335
337
|
'InputTable.uniqueError': 'Column `{{label}}` unique validate failed',
|
|
336
338
|
'Timeline.collapseText': 'Falten',
|
|
337
339
|
'Timeline.expandText': 'Entfalten',
|
package/esm/locale/en-US.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -306,6 +306,7 @@ registerLocale('en-US', {
|
|
|
306
306
|
'Condition.not': 'not',
|
|
307
307
|
'Condition.and': 'and',
|
|
308
308
|
'Condition.or': 'or',
|
|
309
|
+
'Condition.collapse': 'unfold',
|
|
309
310
|
'Condition.add_cond': 'add condition',
|
|
310
311
|
'Condition.add_cond_group': 'add condition group',
|
|
311
312
|
'Condition.delete_cond_group': 'delete condition group',
|
|
@@ -334,6 +335,7 @@ registerLocale('en-US', {
|
|
|
334
335
|
'Condition.expression': 'expression',
|
|
335
336
|
'Condition.formula_placeholder': 'Please enter a formula',
|
|
336
337
|
'Condition.fun_error': 'Function is undefined',
|
|
338
|
+
'Condition.configured': 'Configured',
|
|
337
339
|
'InputTable.uniqueError': 'Column `{{label}}` unique validate failed',
|
|
338
340
|
'Timeline.collapseText': 'Unfold',
|
|
339
341
|
'Timeline.expandText': 'Fold',
|
|
@@ -368,5 +370,7 @@ registerLocale('en-US', {
|
|
|
368
370
|
'JSONSchema.description': 'Description',
|
|
369
371
|
'JSONSchema.key': 'Key',
|
|
370
372
|
'JSONSchema.array_items': 'Items',
|
|
371
|
-
'TimeNow': 'Now'
|
|
373
|
+
'TimeNow': 'Now',
|
|
374
|
+
'IconSelect.all': 'All',
|
|
375
|
+
'IconSelect.choice': 'Icon selection'
|
|
372
376
|
});
|
package/esm/locale/zh-CN.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -311,8 +311,9 @@ registerLocale('zh-CN', {
|
|
|
311
311
|
'Editor.fullscreen': '全屏',
|
|
312
312
|
'Editor.exitFullscreen': '退出全屏',
|
|
313
313
|
'Condition.not': '非',
|
|
314
|
-
'Condition.and': '
|
|
315
|
-
'Condition.or': '
|
|
314
|
+
'Condition.and': '且',
|
|
315
|
+
'Condition.or': '或',
|
|
316
|
+
'Condition.collapse': '展开全部',
|
|
316
317
|
'Condition.add_cond': '添加条件',
|
|
317
318
|
'Condition.add_cond_group': '添加条件组',
|
|
318
319
|
'Condition.delete_cond_group': '删除组',
|
|
@@ -341,6 +342,7 @@ registerLocale('zh-CN', {
|
|
|
341
342
|
'Condition.expression': '表达式',
|
|
342
343
|
'Condition.formula_placeholder': '请输入公式',
|
|
343
344
|
'Condition.fun_error': '方法未定义',
|
|
345
|
+
'Condition.configured': '已配置',
|
|
344
346
|
'InputTable.uniqueError': '列`{{label}}`没有通过唯一验证',
|
|
345
347
|
'Timeline.collapseText': '收起',
|
|
346
348
|
'Timeline.expandText': '展开',
|
|
@@ -377,5 +379,7 @@ registerLocale('zh-CN', {
|
|
|
377
379
|
'JSONSchema.add_prop': '添加属性',
|
|
378
380
|
'JSONSchema.array_items': '成员类型',
|
|
379
381
|
'Required': '必填',
|
|
380
|
-
'TimeNow': '此刻'
|
|
382
|
+
'TimeNow': '此刻',
|
|
383
|
+
'IconSelect.all': '全部',
|
|
384
|
+
'IconSelect.choice': '图标选择'
|
|
381
385
|
});
|
package/esm/themes/ang.js
CHANGED
package/esm/themes/antd.js
CHANGED
package/esm/themes/cxd.js
CHANGED
package/esm/themes/dark.js
CHANGED
package/lib/components/404.js
CHANGED
package/lib/components/Alert.js
CHANGED
|
@@ -29,15 +29,15 @@ export declare class Alert extends React.Component<AlertProps, AlertState> {
|
|
|
29
29
|
render(): JSX.Element | null;
|
|
30
30
|
}
|
|
31
31
|
declare const _default: {
|
|
32
|
-
new (props: Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
32
|
+
new (props: Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
33
33
|
ref: any;
|
|
34
34
|
childRef(ref: any): void;
|
|
35
35
|
getWrappedInstance(): any;
|
|
36
36
|
render(): JSX.Element;
|
|
37
37
|
context: any;
|
|
38
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
38
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
39
39
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
40
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
40
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
41
41
|
children?: React.ReactNode;
|
|
42
42
|
}>;
|
|
43
43
|
state: Readonly<{}>;
|
|
@@ -45,17 +45,17 @@ declare const _default: {
|
|
|
45
45
|
[key: string]: React.ReactInstance;
|
|
46
46
|
};
|
|
47
47
|
componentDidMount?(): void;
|
|
48
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
48
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
49
49
|
componentWillUnmount?(): void;
|
|
50
50
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
51
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
52
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
51
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
52
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
53
53
|
componentWillMount?(): void;
|
|
54
54
|
UNSAFE_componentWillMount?(): void;
|
|
55
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
56
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
57
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
58
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "
|
|
55
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
56
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
57
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
58
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "title" | "icon" | "onClose" | "showIcon" | "iconClassName" | "closeButtonClassName"> & Partial<Pick<Omit<AlertProps, keyof import("amis-core").ThemeProps>, "showCloseButton" | "level">> & Partial<Pick<Pick<AlertProps, "className" | "showCloseButton" | "level">, "className">> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
59
59
|
};
|
|
60
60
|
displayName: string;
|
|
61
61
|
contextType: React.Context<string>;
|
package/lib/components/Alert2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.4.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -39,7 +39,7 @@ var Alert = /** @class */ (function (_super) {
|
|
|
39
39
|
var _a;
|
|
40
40
|
var _b = this.props, cx = _b.classnames, className = _b.className, level = _b.level, children = _b.children, showCloseButton = _b.showCloseButton, title = _b.title, icon = _b.icon, showIcon = _b.showIcon, iconClassName = _b.iconClassName, closeButtonClassName = _b.closeButtonClassName;
|
|
41
41
|
// 优先使用内置svg,其次使用icon库
|
|
42
|
-
var iconNode = icon ? (typeof icon === '
|
|
42
|
+
var iconNode = icon ? (['string', 'object'].includes(typeof icon) ? (typeof icon === 'object' ? (amisCore.generateIcon(cx, icon, 'icon')) : (icons.getIcon(icon) && React__default["default"].createElement(icons.Icon, { icon: icon, className: cx("icon") }))) : React__default["default"].isValidElement(icon) ? (React__default["default"].cloneElement(icon, {
|
|
43
43
|
className: cx("Alert-icon", (_a = icon.props) === null || _a === void 0 ? void 0 : _a.className)
|
|
44
44
|
})) : null) : showIcon ? (React__default["default"].createElement(icons.Icon, { icon: "alert-".concat(level), className: cx("icon") })) : null;
|
|
45
45
|
return this.state.show ? (React__default["default"].createElement("div", { className: cx('Alert', level ? "Alert--".concat(level) : '', title ? 'Alert-has-title' : '', className) },
|
|
@@ -86,15 +86,15 @@ export declare class AnchorNav extends React.Component<AnchorNavProps, AnchorNav
|
|
|
86
86
|
render(): JSX.Element | null;
|
|
87
87
|
}
|
|
88
88
|
declare const _default: {
|
|
89
|
-
new (props: Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
89
|
+
new (props: Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps): {
|
|
90
90
|
ref: any;
|
|
91
91
|
childRef(ref: any): void;
|
|
92
92
|
getWrappedInstance(): any;
|
|
93
93
|
render(): JSX.Element;
|
|
94
94
|
context: any;
|
|
95
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
95
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
96
96
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
97
|
-
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
97
|
+
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps> & Readonly<{
|
|
98
98
|
children?: React.ReactNode;
|
|
99
99
|
}>;
|
|
100
100
|
state: Readonly<{}>;
|
|
@@ -102,17 +102,17 @@ declare const _default: {
|
|
|
102
102
|
[key: string]: React.ReactInstance;
|
|
103
103
|
};
|
|
104
104
|
componentDidMount?(): void;
|
|
105
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
105
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
106
106
|
componentWillUnmount?(): void;
|
|
107
107
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
108
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
109
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
108
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
109
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
110
110
|
componentWillMount?(): void;
|
|
111
111
|
UNSAFE_componentWillMount?(): void;
|
|
112
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
113
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
114
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
115
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "
|
|
112
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
113
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
114
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
115
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "links" | "onSelect" | "active" | "sectionRender"> & Partial<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "direction" | "linkClassName" | "sectionClassName">> & Partial<Pick<Pick<AnchorNavProps, "direction" | "linkClassName" | "sectionClassName">, never>> & import("amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
116
116
|
};
|
|
117
117
|
displayName: string;
|
|
118
118
|
contextType: React.Context<string>;
|