amis-ui 2.8.0 → 3.0.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/_virtual/index.js +1 -1
- package/esm/_virtual/react-is.development.js +1 -1
- package/esm/_virtual/react-is.production.min.js +1 -1
- package/esm/components/404.d.ts +3 -4
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +291 -295
- package/esm/components/Alert.js +18 -10
- package/esm/components/Alert2.d.ts +62 -13
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +55 -17
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +205 -213
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +62 -64
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +325 -333
- package/esm/components/AssociatedSelection.js +3 -3
- package/esm/components/Avatar.d.ts +222 -14
- package/esm/components/Avatar.js +2 -2
- package/esm/components/Badge.d.ts +7 -10
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +2 -4
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +2 -4
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +2 -4
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +82 -14
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +125 -53
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +360 -12
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +2 -4
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.d.ts +326 -333
- package/esm/components/ChainedSelection.js +18 -2
- package/esm/components/Checkbox.d.ts +52 -13
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.d.ts +5 -13
- 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 +323 -13
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +132 -13
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +245 -253
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +8 -13
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +164 -172
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +2 -4
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +285 -294
- package/esm/components/DatePicker.js +2 -3
- package/esm/components/DateRangePicker.d.ts +608 -579
- package/esm/components/DateRangePicker.js +11 -7
- package/esm/components/DndContainer.d.ts +44 -132
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +72 -13
- package/esm/components/Drawer.js +2 -2
- package/esm/components/Editor.d.ts +405 -333
- package/esm/components/Editor.js +25 -23
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +16 -20
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.d.ts +89 -0
- package/esm/components/GaodeMapPicker.js +204 -0
- package/esm/components/GridNav.d.ts +1 -0
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +326 -333
- package/esm/components/GroupedSelection.js +18 -3
- package/esm/components/Html.d.ts +32 -33
- package/esm/components/Html.js +3 -3
- package/esm/components/ImageGallery.d.ts +130 -55
- package/esm/components/ImageGallery.js +5 -3
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +42 -44
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +5 -13
- package/esm/components/InputBoxWithSuggestion.js +7 -5
- package/esm/components/InputTable.d.ts +5 -13
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.d.ts +71 -73
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +3 -5
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +31 -33
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +246 -253
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +165 -173
- package/esm/components/LocationPicker.js +14 -2
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +217 -238
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +445 -453
- package/esm/components/MultilineText.d.ts +205 -213
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +74 -15
- package/esm/components/NumberInput.js +10 -5
- package/esm/components/Pagination.d.ts +325 -333
- package/esm/components/Pagination.js +1 -1
- package/esm/components/Picker.d.ts +5 -13
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +8 -5
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +5 -13
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.d.ts +1 -1
- package/esm/components/PopOverContainer.js +9 -7
- package/esm/components/PopUp.d.ts +326 -333
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +241 -13
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +3 -4
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +101 -103
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +24 -9
- package/esm/components/Range.js +35 -4
- package/esm/components/Rating.d.ts +132 -114
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +245 -53
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +285 -53
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +405 -413
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +165 -53
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.d.ts +1 -0
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +325 -333
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +4471 -4509
- package/esm/components/Select.js +7 -5
- package/esm/components/Selection.d.ts +328 -333
- package/esm/components/Selection.js +11 -4
- package/esm/components/SparkLine.d.ts +165 -173
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +161 -123
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +4 -6
- package/esm/components/Steps.js +4 -2
- package/esm/components/Switch.d.ts +41 -43
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +408 -416
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +370 -60
- package/esm/components/Tabs.js +4 -2
- package/esm/components/TabsTransfer.d.ts +166 -173
- package/esm/components/TabsTransfer.js +4 -4
- package/esm/components/TabsTransferPicker.d.ts +5 -13
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +204 -17
- package/esm/components/Tag.js +20 -4
- package/esm/components/Textarea.d.ts +285 -293
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +2 -4
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +5 -13
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +71 -63
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +287 -53
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +3 -4
- package/esm/components/Tooltip.js +3 -3
- package/esm/components/TooltipWrapper.d.ts +73 -16
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.d.ts +375 -135
- package/esm/components/Transfer.js +10 -14
- package/esm/components/TransferDropDown.d.ts +325 -53
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +5 -13
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +5 -13
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +1455 -1457
- package/esm/components/Tree.js +94 -33
- package/esm/components/TreeSelection.d.ts +365 -373
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +205 -213
- package/esm/components/UserSelect.js +4 -1
- package/esm/components/UserTabSelect.d.ts +45 -53
- package/esm/components/UserTabSelect.js +4 -1
- package/esm/components/WithRemoteConfig.d.ts +8 -17
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.d.ts +4 -8
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -0
- package/esm/components/calendar/Calendar.js +3 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +1 -3
- package/esm/components/calendar/DaysView.js +3 -3
- package/esm/components/calendar/MonthsView.d.ts +2 -4
- package/esm/components/calendar/MonthsView.js +8 -8
- package/esm/components/calendar/QuartersView.d.ts +1 -3
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +1 -3
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +1 -3
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +7 -14
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +5 -13
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +5 -13
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +7 -14
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +7 -15
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +4 -5
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +2 -4
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +8 -15
- package/esm/components/condition-builder/Item.js +7 -7
- package/esm/components/condition-builder/Value.d.ts +7 -14
- package/esm/components/condition-builder/Value.js +3 -12
- package/esm/components/condition-builder/config.d.ts +2 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +7 -14
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/condition-builder/types.d.ts +2 -39
- package/esm/components/formula/Editor.d.ts +165 -53
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.d.ts +2 -4
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +125 -133
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.d.ts +2 -4
- package/esm/components/formula/VariableList.js +4 -4
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.d.ts +2 -2
- package/esm/components/icons.js +1 -1
- package/esm/components/index.d.ts +6 -1
- package/esm/components/json-schema/Array.d.ts +0 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +0 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +0 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +5 -13
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +3 -8
- package/esm/components/menu/MenuItem.js +12 -26
- package/esm/components/menu/SubMenu.d.ts +2 -7
- package/esm/components/menu/SubMenu.js +15 -29
- package/esm/components/menu/index.d.ts +146 -18
- package/esm/components/menu/index.js +17 -15
- package/esm/components/schema-editor/Array.d.ts +0 -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.d.ts +0 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.d.ts +7 -15
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +7 -15
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +525 -53
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +245 -253
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +6 -14
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +166 -174
- package/esm/components/table/HeadCellFilter.js +8 -3
- package/esm/components/table/HeadCellSelect.d.ts +126 -134
- package/esm/components/table/HeadCellSelect.js +4 -2
- package/esm/components/table/HeadCellSort.d.ts +5 -13
- package/esm/components/table/HeadCellSort.js +5 -5
- package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +368 -376
- package/esm/components/table/index.js +106 -71
- 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/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/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +2 -2
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.d.ts +3 -0
- package/esm/index.js +5 -1
- package/esm/locale/de-DE.js +5 -2
- package/esm/locale/en-US.js +6 -2
- package/esm/locale/zh-CN.js +7 -3
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/esm/node_modules/rc-overflow/es/Item.js +21 -31
- package/esm/node_modules/rc-overflow/es/Overflow.js +82 -125
- package/esm/node_modules/rc-overflow/es/RawItem.js +10 -16
- package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +20 -0
- package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +53 -0
- package/esm/node_modules/rc-overflow/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +9 -3
- package/esm/node_modules/rc-util/es/hooks/useEvent.js +21 -0
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +1 -1
- package/esm/node_modules/rc-util/es/warning.js +8 -2
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/_virtual/index.js +1 -1
- package/lib/_virtual/react-is.development.js +1 -1
- package/lib/_virtual/react-is.production.min.js +1 -1
- package/lib/components/404.d.ts +3 -4
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +291 -295
- package/lib/components/Alert.js +18 -10
- package/lib/components/Alert2.d.ts +62 -13
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +55 -17
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +205 -213
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +62 -64
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +325 -333
- package/lib/components/AssociatedSelection.js +3 -3
- package/lib/components/Avatar.d.ts +222 -14
- package/lib/components/Avatar.js +2 -2
- package/lib/components/Badge.d.ts +7 -10
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +2 -4
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +2 -4
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +2 -4
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +82 -14
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +125 -53
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +360 -12
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +2 -4
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +326 -333
- package/lib/components/ChainedSelection.js +18 -2
- package/lib/components/Checkbox.d.ts +52 -13
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +5 -13
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +323 -13
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +132 -13
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +245 -253
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +8 -13
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +164 -172
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +2 -4
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +285 -294
- package/lib/components/DatePicker.js +2 -3
- package/lib/components/DateRangePicker.d.ts +608 -579
- package/lib/components/DateRangePicker.js +11 -7
- package/lib/components/DndContainer.d.ts +44 -132
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +72 -13
- package/lib/components/Drawer.js +2 -2
- package/lib/components/Editor.d.ts +405 -333
- package/lib/components/Editor.js +25 -23
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +16 -20
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.d.ts +89 -0
- package/lib/components/GaodeMapPicker.js +214 -0
- package/lib/components/GridNav.d.ts +1 -0
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +326 -333
- package/lib/components/GroupedSelection.js +18 -3
- package/lib/components/Html.d.ts +32 -33
- package/lib/components/Html.js +3 -3
- package/lib/components/ImageGallery.d.ts +130 -55
- package/lib/components/ImageGallery.js +5 -3
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +42 -44
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +5 -13
- package/lib/components/InputBoxWithSuggestion.js +7 -5
- package/lib/components/InputTable.d.ts +5 -13
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +71 -73
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +3 -5
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +31 -33
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +246 -253
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +165 -173
- package/lib/components/LocationPicker.js +14 -2
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +217 -238
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +445 -453
- package/lib/components/MultilineText.d.ts +205 -213
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +74 -15
- package/lib/components/NumberInput.js +10 -5
- package/lib/components/Pagination.d.ts +325 -333
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Picker.d.ts +5 -13
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +8 -5
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +5 -13
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.d.ts +1 -1
- package/lib/components/PopOverContainer.js +10 -7
- package/lib/components/PopUp.d.ts +326 -333
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +241 -13
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +3 -4
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +101 -103
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +24 -9
- package/lib/components/Range.js +35 -4
- package/lib/components/Rating.d.ts +132 -114
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +245 -53
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +285 -53
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +405 -413
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +165 -53
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.d.ts +1 -0
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +325 -333
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +4471 -4509
- package/lib/components/Select.js +7 -5
- package/lib/components/Selection.d.ts +328 -333
- package/lib/components/Selection.js +10 -3
- package/lib/components/SparkLine.d.ts +165 -173
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +161 -123
- package/lib/components/Spinner.js +3 -3
- package/lib/components/Steps.d.ts +4 -6
- package/lib/components/Steps.js +4 -2
- package/lib/components/Switch.d.ts +41 -43
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +408 -416
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +370 -60
- package/lib/components/Tabs.js +4 -2
- package/lib/components/TabsTransfer.d.ts +166 -173
- package/lib/components/TabsTransfer.js +3 -3
- package/lib/components/TabsTransferPicker.d.ts +5 -13
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +204 -17
- package/lib/components/Tag.js +20 -4
- package/lib/components/Textarea.d.ts +285 -293
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +2 -4
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +5 -13
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +71 -63
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +287 -53
- package/lib/components/Toast.js +5 -5
- package/lib/components/Tooltip.d.ts +3 -4
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/TooltipWrapper.d.ts +73 -16
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.d.ts +375 -135
- package/lib/components/Transfer.js +9 -13
- package/lib/components/TransferDropDown.d.ts +325 -53
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +5 -13
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +5 -13
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +1455 -1457
- package/lib/components/Tree.js +93 -32
- package/lib/components/TreeSelection.d.ts +365 -373
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +205 -213
- package/lib/components/UserSelect.js +4 -1
- package/lib/components/UserTabSelect.d.ts +45 -53
- package/lib/components/UserTabSelect.js +4 -1
- package/lib/components/WithRemoteConfig.d.ts +8 -17
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.d.ts +4 -8
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -0
- package/lib/components/calendar/Calendar.js +3 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +1 -3
- package/lib/components/calendar/DaysView.js +3 -3
- package/lib/components/calendar/MonthsView.d.ts +2 -4
- package/lib/components/calendar/MonthsView.js +7 -7
- package/lib/components/calendar/QuartersView.d.ts +1 -3
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +1 -3
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +1 -3
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +7 -14
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +5 -13
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +5 -13
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +7 -14
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +7 -15
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +4 -5
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +2 -4
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +8 -15
- package/lib/components/condition-builder/Item.js +6 -6
- package/lib/components/condition-builder/Value.d.ts +7 -14
- package/lib/components/condition-builder/Value.js +3 -12
- package/lib/components/condition-builder/config.d.ts +2 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +7 -14
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/condition-builder/types.d.ts +2 -39
- package/lib/components/formula/Editor.d.ts +165 -53
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.d.ts +2 -4
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +125 -133
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.d.ts +2 -4
- package/lib/components/formula/VariableList.js +3 -3
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.d.ts +2 -2
- package/lib/components/icons.js +1 -1
- package/lib/components/index.d.ts +6 -1
- package/lib/components/json-schema/Array.d.ts +0 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +0 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +0 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +5 -13
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +3 -8
- package/lib/components/menu/MenuItem.js +12 -26
- package/lib/components/menu/SubMenu.d.ts +2 -7
- package/lib/components/menu/SubMenu.js +15 -29
- package/lib/components/menu/index.d.ts +146 -18
- package/lib/components/menu/index.js +17 -15
- package/lib/components/schema-editor/Array.d.ts +0 -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.d.ts +0 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.d.ts +7 -15
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +7 -15
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +525 -53
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +245 -253
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +6 -14
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +166 -174
- package/lib/components/table/HeadCellFilter.js +8 -3
- package/lib/components/table/HeadCellSelect.d.ts +126 -134
- package/lib/components/table/HeadCellSelect.js +4 -2
- package/lib/components/table/HeadCellSort.d.ts +5 -13
- package/lib/components/table/HeadCellSort.js +5 -5
- package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +368 -376
- package/lib/components/table/index.js +106 -71
- 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/helper.css +9569 -1234
- 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/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +2 -2
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +9 -1
- package/lib/locale/de-DE.js +5 -2
- package/lib/locale/en-US.js +6 -2
- package/lib/locale/zh-CN.js +7 -3
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/lib/node_modules/rc-overflow/es/Item.js +21 -31
- package/lib/node_modules/rc-overflow/es/Overflow.js +82 -125
- package/lib/node_modules/rc-overflow/es/RawItem.js +10 -16
- package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +24 -0
- package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +78 -0
- package/lib/node_modules/rc-overflow/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +9 -2
- package/lib/node_modules/rc-util/es/hooks/useEvent.js +45 -0
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +1 -1
- package/lib/node_modules/rc-util/es/warning.js +8 -2
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +3300 -2129
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +3300 -2129
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +3300 -2129
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +3300 -2129
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +3300 -2129
- package/package.json +7 -7
- package/scss/_components.scss +1339 -158
- package/scss/_mixins.scss +1 -2
- package/scss/_properties.scss +5 -374
- package/scss/_variables.scss +1 -0
- package/scss/base/_common.scss +4 -0
- package/scss/components/_alert.scss +30 -9
- package/scss/components/_badge.scss +10 -3
- package/scss/components/_button-group.scss +35 -14
- package/scss/components/_calendar.scss +17 -1
- package/scss/components/_carousel.scss +9 -0
- package/scss/components/_collapse.scss +1 -1
- package/scss/components/_column-toggler.scss +5 -2
- package/scss/components/_condition-builder.scss +38 -22
- package/scss/components/_crud.scss +21 -5
- package/scss/components/_crud2.scss +21 -5
- package/scss/components/_drawer.scss +20 -12
- package/scss/components/_dropdown.scss +5 -0
- package/scss/components/_image-gallery.scss +9 -6
- package/scss/components/_images.scss +13 -5
- package/scss/components/_link.scss +2 -0
- package/scss/components/_menu.scss +245 -693
- package/scss/components/_modal.scss +23 -13
- package/scss/components/_nav.scss +6 -354
- package/scss/components/_progress.scss +11 -2
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_spinner.scss +9 -7
- package/scss/components/_status.scss +27 -11
- package/scss/components/_steps.scss +80 -36
- package/scss/components/_table2.scss +84 -40
- package/scss/components/_tag.scss +42 -36
- package/scss/components/_timeline.scss +20 -9
- package/scss/components/_toast.scss +64 -12
- package/scss/components/_wizard.scss +13 -7
- package/scss/components/form/_checks.scss +17 -3
- package/scss/components/form/_color.scss +5 -0
- package/scss/components/form/_combo.scss +28 -18
- package/scss/components/form/_date-range.scss +6 -0
- package/scss/components/form/_date.scss +9 -1
- package/scss/components/form/_fieldset.scss +62 -28
- package/scss/components/form/_form.scss +16 -0
- package/scss/components/form/_icon-picker.scss +2 -1
- package/scss/components/form/_icon-select.scss +18 -0
- package/scss/components/form/_image.scss +43 -7
- package/scss/components/form/_location.scss +6 -1
- package/scss/components/form/_number.scss +65 -10
- package/scss/components/form/_picker.scss +111 -12
- package/scss/components/form/_range.scss +6 -0
- package/scss/components/form/_rich-text.scss +81 -35
- package/scss/components/form/_select.scss +3 -5
- package/scss/components/form/_selection.scss +9 -0
- package/scss/components/form/_tag.scss +56 -6
- package/scss/components/form/_text.scss +8 -1
- package/scss/components/form/_transfer.scss +18 -26
- package/scss/components/form/_tree.scss +55 -23
- package/esm/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +0 -51
- package/esm/node_modules/rc-util/es/hooks/useState.js +0 -35
- package/lib/node_modules/rc-overflow/es/hooks/useBatchFrameState.js +0 -55
- package/lib/node_modules/rc-util/es/hooks/useState.js +0 -59
|
@@ -3,76 +3,99 @@
|
|
|
3
3
|
background-color: var(--Menu-dark-backgroundColor);
|
|
4
4
|
|
|
5
5
|
.#{$ns}Nav-Menu-item {
|
|
6
|
-
|
|
6
|
+
@include item-dark();
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
&-active,
|
|
9
|
+
&-selected {
|
|
10
|
+
@include item-active-dark();
|
|
11
11
|
}
|
|
12
|
+
}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
.#{$ns}Nav-Menu-submenu-title {
|
|
15
|
+
@include item-dark();
|
|
16
|
+
}
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
.#{$ns}Nav-Menu-submenu-active,
|
|
19
|
+
.#{$ns}Nav-Menu-submenu-selected {
|
|
20
|
+
> .#{$ns}Nav-Menu-submenu-title {
|
|
21
|
+
@include item-active-dark();
|
|
21
22
|
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
color: var(--Menu-dark-ancestor-fontColor-onActive) !important;
|
|
27
|
+
@mixin item-dark {
|
|
28
|
+
color: var(--Menu-dark-fontColor);
|
|
26
29
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
.#{$ns}Nav-Menu-item-icon,
|
|
31
|
+
.#{$ns}Nav-Menu-item-icon-after,
|
|
32
|
+
.#{$ns}Nav-Menu-item-label,
|
|
33
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
34
|
+
color: var(--Menu-dark-fontColor);
|
|
35
|
+
|
|
36
|
+
svg {
|
|
37
|
+
fill: var(--Menu-dark-fontColor);
|
|
32
38
|
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
33
41
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
color: var(--Menu-dark-fontColor);
|
|
42
|
+
@mixin item-selected-dark {
|
|
43
|
+
color: var(--Menu-dark-fontColor-onActive);
|
|
37
44
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
.#{$ns}Nav-Menu-item-icon,
|
|
46
|
+
.#{$ns}Nav-Menu-item-icon-after,
|
|
47
|
+
.#{$ns}Nav-Menu-item-label,
|
|
48
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
49
|
+
color: var(--Menu-dark-fontColor-onActive);
|
|
43
50
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
47
|
-
.#{$ns}Nav-Menu-submenu-arrow {
|
|
48
|
-
color: var(--Menu-dark-fontColor-onHover);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
51
|
+
svg {
|
|
52
|
+
fill: var(--Menu-dark-fontColor-onActive);
|
|
52
53
|
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
53
56
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
57
|
+
@mixin item-active-dark {
|
|
58
|
+
background-color: var(--Menu-dark-backgroundColor);
|
|
59
|
+
color: var(--Menu-dark-fontColor-onHover);
|
|
58
60
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
.#{$ns}Nav-Menu-item-icon,
|
|
62
|
+
.#{$ns}Nav-Menu-item-icon-after,
|
|
63
|
+
.#{$ns}Nav-Menu-item-label,
|
|
64
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
65
|
+
color: var(--Menu-dark-fontColor-onHover);
|
|
66
|
+
|
|
67
|
+
svg {
|
|
68
|
+
fill: currentColor;
|
|
64
69
|
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
65
72
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
background-color: var(--Menu-dark-backgroundColor);
|
|
69
|
-
color: var(--Menu-dark-ancestor-fontColor-onActive);
|
|
73
|
+
@mixin item-selected {
|
|
74
|
+
color: var(--Menu-light-fontColor-onHover);
|
|
70
75
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
+
.#{$ns}Nav-Menu-item-label,
|
|
77
|
+
.#{$ns}Nav-Menu-item-icon,
|
|
78
|
+
.#{$ns}Nav-Menu-item-icon-after,
|
|
79
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
80
|
+
color: var(--Menu-light-fontColor-onHover);
|
|
81
|
+
|
|
82
|
+
svg {
|
|
83
|
+
fill: currentColor;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin item-active {
|
|
89
|
+
color: var(--Menu-light-fontColor-onActive);
|
|
90
|
+
|
|
91
|
+
.#{$ns}Nav-Menu-item-label,
|
|
92
|
+
.#{$ns}Nav-Menu-item-icon,
|
|
93
|
+
.#{$ns}Nav-Menu-item-icon-after,
|
|
94
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
95
|
+
color: var(--Menu-light-fontColor-onActive);
|
|
96
|
+
|
|
97
|
+
svg {
|
|
98
|
+
fill: currentColor;
|
|
76
99
|
}
|
|
77
100
|
}
|
|
78
101
|
}
|
|
@@ -94,19 +117,14 @@
|
|
|
94
117
|
}
|
|
95
118
|
|
|
96
119
|
.#{$ns}Nav-Menu {
|
|
120
|
+
--Menu-width: var(--Layout-aside-width);
|
|
97
121
|
--Menu-width--collapsed: var(--Layout-aside-width-collapsed);
|
|
98
|
-
--Menu-fontSize: var(--Nav-item-fontSize);
|
|
99
122
|
--Menu-fontSize--collapsed: var(--Nav-item-collapsed-fontSize);
|
|
100
|
-
--Menu-fontWeight: var(--Nav-item-fontWeight);
|
|
101
123
|
--Menu-fontColor-onDisabled: var(--Nav-item-fontColor-onDisabled);
|
|
102
|
-
--Menu-item-height--vertical: #{px2rem(40px)};
|
|
103
|
-
--Menu-item-height--horizontal: var(--Nav-Item-height--horizontal);
|
|
104
|
-
--Menu-Submenu-title-paddingX: var(--Layout-paddingX);
|
|
105
124
|
--Menu-Submenu-item-paddingX: var(--Nav-Item-Badge-paddingRight);
|
|
106
125
|
|
|
107
|
-
--Menu-icon-size: var(--Layout-icon-size);
|
|
108
|
-
|
|
109
126
|
--Menu-light-backgroundColor: var(--Layout-light-backgroundColor);
|
|
127
|
+
--Menu-light-active-backgroundColor: var(--colors-neutral-fill-12);
|
|
110
128
|
--Menu-light-backgroundColor-onHover: var(--Layout-light-bgColor-onHover);
|
|
111
129
|
--Menu-light-fontColor: var(--Layout-light-fontColor);
|
|
112
130
|
--Menu-light-fontColor-onHover: var(--Layout-fontColor--onHover);
|
|
@@ -119,32 +137,21 @@
|
|
|
119
137
|
--Menu-dark-backgroundColor-onHover: var(--Layout-fontColor--info);
|
|
120
138
|
--Menu-dark-fontColor: var(--Layout-dark-fontColor);
|
|
121
139
|
--Menu-dark-fontColor-onHover: var(--Layout-fontColor--onHover);
|
|
122
|
-
--Menu-dark-ancestor-fontColor-onActive: var(--Layout-fontColor--onActive);
|
|
123
140
|
--Menu-dark-fontColor-onActive: var(--Layout-dark-fontColor);
|
|
124
141
|
--Menu-dark-groupTitle-fontColor: #84868c;
|
|
125
142
|
--Menu-dark-selectedIndicator-color: var(--Layout-dark-selected-color);
|
|
126
143
|
|
|
127
144
|
outline: none;
|
|
128
|
-
margin
|
|
129
|
-
|
|
130
|
-
padding-left: 0; // Override default ul/ol
|
|
131
|
-
padding-right: 0; // Override default ul/ol in RTL direction
|
|
145
|
+
margin: 0;
|
|
146
|
+
padding: 0;
|
|
132
147
|
list-style: none;
|
|
133
|
-
color: var(--Menu-light-fontColor);
|
|
134
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
135
148
|
transition: all 0.3s;
|
|
136
149
|
width: 100%;
|
|
137
150
|
|
|
138
|
-
|
|
139
|
-
color: var(--Menu-dark-fontColor);
|
|
151
|
+
&-dark {
|
|
140
152
|
background-color: var(--Menu-dark-backgroundColor);
|
|
141
153
|
}
|
|
142
154
|
|
|
143
|
-
&.#{$ns}Nav-Menu-light {
|
|
144
|
-
color: var(--Menu-light-fontColor);
|
|
145
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
155
|
&-horizontal {
|
|
149
156
|
display: flex;
|
|
150
157
|
flex-wrap: nowrap;
|
|
@@ -160,10 +167,6 @@
|
|
|
160
167
|
flex: none;
|
|
161
168
|
}
|
|
162
169
|
|
|
163
|
-
&-rtl {
|
|
164
|
-
direction: rtl;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
170
|
&-hidden {
|
|
168
171
|
display: none;
|
|
169
172
|
}
|
|
@@ -177,10 +180,6 @@
|
|
|
177
180
|
width: var(--Menu-width--collapsed);
|
|
178
181
|
}
|
|
179
182
|
|
|
180
|
-
&-disabled {
|
|
181
|
-
cursor: not-allowed;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
183
|
&-root.#{$ns}Nav-Menu-collapsed {
|
|
185
184
|
.#{$ns}Nav-Menu-item,
|
|
186
185
|
.#{$ns}Nav-Menu-submenu-title {
|
|
@@ -190,11 +189,20 @@
|
|
|
190
189
|
}
|
|
191
190
|
|
|
192
191
|
&-item-link {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
height: var(--Nav-Item-height);
|
|
196
|
-
flex-grow: 1;
|
|
192
|
+
max-width: var(--Menu-width);
|
|
193
|
+
white-space: nowrap;
|
|
197
194
|
overflow: hidden;
|
|
195
|
+
text-overflow: ellipsis;
|
|
196
|
+
color: inherit;
|
|
197
|
+
font-size: inherit;
|
|
198
|
+
flex: 1;
|
|
199
|
+
cursor: inherit;
|
|
200
|
+
font-weight: inherit;
|
|
201
|
+
|
|
202
|
+
&:hover,
|
|
203
|
+
&:active {
|
|
204
|
+
font-size: inherit;
|
|
205
|
+
}
|
|
198
206
|
}
|
|
199
207
|
|
|
200
208
|
&-item-divider {
|
|
@@ -205,15 +213,19 @@
|
|
|
205
213
|
}
|
|
206
214
|
}
|
|
207
215
|
|
|
208
|
-
&-item-icon
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
img {
|
|
216
|
+
&-item-icon,
|
|
217
|
+
&-item-icon-after {
|
|
218
|
+
img,
|
|
219
|
+
svg {
|
|
220
|
+
width: var(--Tabs-linkFontSize);
|
|
214
221
|
height: var(--Tabs-linkFontSize);
|
|
215
222
|
vertical-align: middle;
|
|
223
|
+
fill: currentColor;
|
|
216
224
|
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&-item-icon {
|
|
228
|
+
margin-right: var(--gap-sm);
|
|
217
229
|
|
|
218
230
|
&-collapsed {
|
|
219
231
|
font-size: var(--Menu-fontSize--collapsed);
|
|
@@ -224,31 +236,17 @@
|
|
|
224
236
|
&-collapsed {
|
|
225
237
|
font-size: var(--Menu-fontSize--collapsed);
|
|
226
238
|
margin: 0 auto;
|
|
227
|
-
height: var(--Menu-item-height--vertical);
|
|
228
239
|
}
|
|
229
240
|
}
|
|
241
|
+
}
|
|
230
242
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
.#{$ns}Nav-Menu-light & {
|
|
236
|
-
color: var(--Menu-light-fontColor);
|
|
237
|
-
}
|
|
243
|
+
// 悬浮菜单是挂在body下面的
|
|
244
|
+
&-item-icon-after {
|
|
245
|
+
margin-right: 0;
|
|
246
|
+
margin-left: var(--gap-sm);
|
|
238
247
|
}
|
|
239
248
|
|
|
240
249
|
&-item-label {
|
|
241
|
-
opacity: 0.95;
|
|
242
|
-
font-size: var(--Menu-fontSize);
|
|
243
|
-
color: var(--Menu-light-fontColor);
|
|
244
|
-
font-weight: var(--Menu-fontWeight);
|
|
245
|
-
padding: 0;
|
|
246
|
-
text-align: left;
|
|
247
|
-
display: inline-block;
|
|
248
|
-
max-width: var(--Menu-width);
|
|
249
|
-
white-space: nowrap;
|
|
250
|
-
overflow: hidden;
|
|
251
|
-
text-overflow: ellipsis;
|
|
252
250
|
user-select: none;
|
|
253
251
|
|
|
254
252
|
&-collapsed {
|
|
@@ -256,14 +254,6 @@
|
|
|
256
254
|
margin: 0 auto;
|
|
257
255
|
font-weight: 600;
|
|
258
256
|
}
|
|
259
|
-
|
|
260
|
-
.#{$ns}Nav-Menu-dark & {
|
|
261
|
-
color: var(--Menu-dark-fontColor);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.#{$ns}Nav-Menu-light & {
|
|
265
|
-
color: var(--Menu-light-fontColor);
|
|
266
|
-
}
|
|
267
257
|
}
|
|
268
258
|
|
|
269
259
|
&-item-dragBar {
|
|
@@ -276,6 +266,7 @@
|
|
|
276
266
|
&-item-group-list {
|
|
277
267
|
margin: 0;
|
|
278
268
|
padding: 0;
|
|
269
|
+
list-style: none;
|
|
279
270
|
}
|
|
280
271
|
|
|
281
272
|
&-item-group-title {
|
|
@@ -288,64 +279,15 @@
|
|
|
288
279
|
&.#{$ns}Nav-Menu-dark {
|
|
289
280
|
color: var(--Menu-dark-groupTitle-fontColor);
|
|
290
281
|
}
|
|
291
|
-
|
|
292
|
-
&.#{$ns}Nav-Menu-light {
|
|
293
|
-
color: var(--Menu-light-groupTitle-fontColor);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
&-item-active,
|
|
298
|
-
&-submenu-active {
|
|
299
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
300
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
301
|
-
|
|
302
|
-
.#{$ns}Nav-Menu-dark & {
|
|
303
|
-
background-color: var(--Menu-dark-backgroundColor);
|
|
304
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
.#{$ns}Nav-Menu-light & {
|
|
308
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
309
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
&-item-selected {
|
|
314
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
315
|
-
// fix chrome render bug
|
|
316
|
-
transform: translateZ(0);
|
|
317
|
-
|
|
318
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
319
|
-
.#{$ns}Nav-Menu-item-label {
|
|
320
|
-
color: var(--Menu-light-fontColor-onActive) !important;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
&.#{$ns}Nav-Menu-dark {
|
|
324
|
-
background-color: var(--Menu-dark-backgroundColor-onHover);
|
|
325
|
-
|
|
326
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
327
|
-
.#{$ns}Menu-item-label {
|
|
328
|
-
color: var(--Menu-dark-fontColor-onActive) !important;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
&.#{$ns}Nav-Menu-light {
|
|
333
|
-
background-color: var(--Menu-light-backgroundColor-onHover);
|
|
334
|
-
|
|
335
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
336
|
-
.#{$ns}Nav-Menu-item-label {
|
|
337
|
-
color: var(--Menu-light-fontColor-onActive) !important;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
282
|
}
|
|
341
283
|
|
|
342
284
|
&-item,
|
|
343
285
|
&-submenu {
|
|
344
286
|
.#{$ns}Badge {
|
|
345
287
|
position: static;
|
|
346
|
-
|
|
347
|
-
width: 0;
|
|
288
|
+
overflow: hidden;
|
|
348
289
|
display: flex;
|
|
290
|
+
flex: 1;
|
|
349
291
|
}
|
|
350
292
|
.#{$ns}Nav-Menu-item-wrap {
|
|
351
293
|
display: flex;
|
|
@@ -359,6 +301,7 @@
|
|
|
359
301
|
.#{$ns}DropDown {
|
|
360
302
|
> .#{$ns}Button {
|
|
361
303
|
padding: 0;
|
|
304
|
+
color: inherit;
|
|
362
305
|
|
|
363
306
|
> i {
|
|
364
307
|
margin: 0;
|
|
@@ -369,185 +312,25 @@
|
|
|
369
312
|
|
|
370
313
|
&-inline {
|
|
371
314
|
.#{$ns}Nav-Menu-item-selected {
|
|
372
|
-
background-color: var(--Menu-light-backgroundColor
|
|
315
|
+
background-color: var(--Menu-light-active-backgroundColor);
|
|
316
|
+
@include item-selected();
|
|
373
317
|
@include selected-indicator(var(--Menu-light-selectedIndicator-color));
|
|
374
|
-
|
|
375
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
376
|
-
.#{$ns}Nav-Menu-item-label {
|
|
377
|
-
color: var(--Menu-light-fontColor-onActive) !important;
|
|
378
|
-
}
|
|
379
318
|
}
|
|
380
319
|
|
|
381
320
|
&.#{$ns}Nav-Menu-dark {
|
|
382
321
|
.#{$ns}Nav-Menu-item-selected {
|
|
383
322
|
background-color: var(--Menu-dark-backgroundColor-onHover);
|
|
323
|
+
@include item-selected-dark();
|
|
384
324
|
@include selected-indicator(var(--Menu-dark-selectedIndicator-color));
|
|
385
|
-
|
|
386
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
387
|
-
.#{$ns}Nav-Menu-item-label {
|
|
388
|
-
color: var(--Menu-dark-fontColor-onActive) !important;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
&.#{$ns}Nav-Menu-light {
|
|
394
|
-
.#{$ns}Nav-Menu-item-selected {
|
|
395
|
-
background-color: var(--Menu-light-backgroundColor-onHover);
|
|
396
|
-
@include selected-indicator(var(--Menu-light-selectedIndicator-color));
|
|
397
|
-
|
|
398
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
399
|
-
.#{$ns}Nav-Menu-item-label,
|
|
400
|
-
.#{$ns}Nav-Menu-submenu-arrow {
|
|
401
|
-
color: var(--Menu-light-fontColor-onActive) !important;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
.#{$ns}Nav-Menu-submenu-selected {
|
|
406
|
-
> .#{$ns}Nav-Menu-submenu-title {
|
|
407
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
408
|
-
.#{$ns}Nav-Menu-item-label,
|
|
409
|
-
.#{$ns}Nav-Menu-submenu-arrow {
|
|
410
|
-
color: var(--Menu-light-fontColor-onActive) !important;
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
325
|
}
|
|
414
326
|
}
|
|
415
327
|
}
|
|
416
328
|
|
|
417
|
-
&-
|
|
418
|
-
> .#{$ns}Nav-Menu-item-selected {
|
|
419
|
-
background-color: var(--Menu-light-backgroundColor-onHover);
|
|
420
|
-
@include selected-indicator(var(--Menu-light-selectedIndicator-color));
|
|
421
|
-
|
|
422
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
423
|
-
.#{$ns}Nav-Menu-item-label {
|
|
424
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
&.#{$ns}Nav-Menu-dark {
|
|
429
|
-
> .#{$ns}Nav-Menu-item-selected {
|
|
430
|
-
background-color: var(--Menu-dark-backgroundColor-onHover);
|
|
431
|
-
@include selected-indicator(var(--Menu-dark-selectedIndicator-color));
|
|
432
|
-
|
|
433
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
434
|
-
.#{$ns}Nav-Menu-item-label {
|
|
435
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
> .#{$ns}Nav-Menu-submenu-selected {
|
|
440
|
-
& > .#{$ns}Nav-Menu-submenu-title {
|
|
441
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
445
|
-
.#{$ns}Nav-Menu-item-label {
|
|
446
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
&.#{$ns}Nav-Menu-light {
|
|
452
|
-
> .#{$ns}Nav-Menu-item-selected {
|
|
453
|
-
background-color: var(--Menu-light-backgroundColor-onHover);
|
|
454
|
-
@include selected-indicator(var(--Menu-light-selectedIndicator-color));
|
|
455
|
-
|
|
456
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
457
|
-
.#{$ns}Nav-Menu-item-label {
|
|
458
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
> .#{$ns}Nav-Menu-submenu-selected {
|
|
463
|
-
& > .#{$ns}Nav-Menu-submenu-title {
|
|
464
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
468
|
-
.#{$ns}Nav-Menu-item-label {
|
|
469
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
.#{$ns}Nav-Menu-dark {
|
|
476
|
-
.#{$ns}Nav-Menu-submenu-selected {
|
|
477
|
-
background-color: transparent;
|
|
478
|
-
|
|
479
|
-
& > .#{$ns}Nav-Menu-submenu-title {
|
|
480
|
-
color: var(--Menu-dark-ancestor-fontColor-onActive);
|
|
481
|
-
|
|
482
|
-
& > .#{$ns}Nav-Menu-item-label,
|
|
483
|
-
& > .#{$ns}Nav-Menu-item-icon {
|
|
484
|
-
color: var(--Menu-dark-ancestor-fontColor-onActive);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.#{$ns}Nav-Menu-item-label,
|
|
488
|
-
.#{$ns}Nav-Menu-item-icon {
|
|
489
|
-
color: var(--Menu-dark-ancestor-fontColor-onActive);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.#{$ns}Nav-Menu-light {
|
|
496
|
-
.#{$ns}Nav-Menu-submenu-selected {
|
|
497
|
-
& > .#{$ns}Nav-Menu-submenu-title {
|
|
498
|
-
color: var(--Menu-light-ancestor-fontColor-onActive);
|
|
499
|
-
|
|
500
|
-
& > .#{$ns}Nav-Menu-item-label,
|
|
501
|
-
& > .#{$ns}Nav-Menu-item-icon {
|
|
502
|
-
color: var(--Menu-light-ancestor-fontColor-onActive);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
.#{$ns}Nav-Menu-item-label,
|
|
506
|
-
.#{$ns}Nav-Menu-item-icon {
|
|
507
|
-
color: var(--Menu-light-ancestor-fontColor-onActive);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
& > li.#{$ns}Nav-Menu-submenu {
|
|
514
|
-
padding: 0;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
&-horizontal.#{$ns}Nav-Menu-sub,
|
|
518
|
-
&-vertical.#{$ns}Nav-Menu-sub,
|
|
519
|
-
&-vertical-left.#{$ns}Nav-Menu-sub,
|
|
520
|
-
&-vertical-right.#{$ns}Nav-Menu-sub {
|
|
329
|
+
&-vertical.#{$ns}Nav-Menu-sub {
|
|
521
330
|
min-width: 160px;
|
|
522
|
-
margin-top: 0;
|
|
523
331
|
border-radius: 2px;
|
|
524
332
|
box-shadow: 0 4px 5px 0 rgba(21, 26, 38, 0.06),
|
|
525
333
|
0 1px 10px 0 rgba(21, 26, 38, 0.05), 0 2px 4px -1px rgba(21, 26, 38, 0.04);
|
|
526
|
-
|
|
527
|
-
.#{$ns}Nav-Menu-item-selected {
|
|
528
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
529
|
-
.#{$ns}Nav-Menu-item-label {
|
|
530
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
.#{$ns}Nav-Menu-dark & {
|
|
535
|
-
.#{$ns}Nav-Menu-item-selected {
|
|
536
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
537
|
-
.#{$ns}Nav-Menu-item-label {
|
|
538
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
.#{$ns}Nav-Menu-light & {
|
|
544
|
-
.#{$ns}Nav-Menu-item-selected {
|
|
545
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
546
|
-
.#{$ns}Nav-Menu-item-label {
|
|
547
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
334
|
}
|
|
552
335
|
|
|
553
336
|
&-item,
|
|
@@ -555,59 +338,78 @@
|
|
|
555
338
|
margin: 0;
|
|
556
339
|
position: relative;
|
|
557
340
|
padding: 0 px2rem(16px);
|
|
558
|
-
line-height: var(--Nav-Item-height);
|
|
559
341
|
display: block;
|
|
560
342
|
white-space: nowrap;
|
|
561
343
|
overflow: hidden;
|
|
562
344
|
text-overflow: ellipsis;
|
|
563
|
-
color: var(--Menu-light-fontColor);
|
|
564
345
|
|
|
565
|
-
&:
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
346
|
+
&:active {
|
|
347
|
+
@include item-active();
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
&-submenu-title {
|
|
352
|
+
display: flex;
|
|
353
|
+
justify-content: space-between;
|
|
354
|
+
|
|
355
|
+
.#{$ns}Nav-Menu-item-wrap {
|
|
356
|
+
flex: 1;
|
|
357
|
+
overflow: hidden;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
&-item-active {
|
|
362
|
+
@include item-selected();
|
|
363
|
+
|
|
364
|
+
.#{$ns}Nav-Menu-item-dragBar {
|
|
365
|
+
visibility: visible;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
&-item-selected {
|
|
370
|
+
@include item-selected();
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.#{$ns}Nav-Menu-submenu-active {
|
|
374
|
+
> .#{$ns}Nav-Menu-submenu-title {
|
|
375
|
+
@include item-selected();
|
|
571
376
|
|
|
572
377
|
.#{$ns}Nav-Menu-item-dragBar {
|
|
573
378
|
visibility: visible;
|
|
574
379
|
}
|
|
575
380
|
}
|
|
381
|
+
}
|
|
576
382
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
383
|
+
.#{$ns}Nav-Menu-submenu-selected {
|
|
384
|
+
> .#{$ns}Nav-Menu-submenu-title {
|
|
385
|
+
@include item-selected();
|
|
386
|
+
}
|
|
387
|
+
}
|
|
580
388
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
color: var(--Menu-dark-fontColor-onHover);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
389
|
+
&-dark {
|
|
390
|
+
.#{$ns}Nav-Menu-item,
|
|
391
|
+
.#{$ns}Nav-Menu-submenu-title {
|
|
392
|
+
@include item-dark();
|
|
588
393
|
}
|
|
589
394
|
|
|
590
|
-
.#{$ns}Nav-Menu-
|
|
591
|
-
|
|
592
|
-
|
|
395
|
+
.#{$ns}Nav-Menu-item-active {
|
|
396
|
+
@include item-active-dark();
|
|
397
|
+
}
|
|
593
398
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
597
|
-
.#{$ns}Nav-Menu-submenu-arrow {
|
|
598
|
-
color: var(--Menu-light-fontColor-onHover);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
399
|
+
.#{$ns}Nav-Menu-item-selected {
|
|
400
|
+
@include item-active-dark();
|
|
601
401
|
}
|
|
602
402
|
|
|
603
|
-
.#{$ns}Nav-Menu-
|
|
604
|
-
|
|
403
|
+
.#{$ns}Nav-Menu-submenu-active {
|
|
404
|
+
> .#{$ns}Nav-Menu-submenu-title {
|
|
405
|
+
@include item-active-dark();
|
|
406
|
+
}
|
|
605
407
|
}
|
|
606
408
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
409
|
+
.#{$ns}Nav-Menu-submenu-selected {
|
|
410
|
+
> .#{$ns}Nav-Menu-submenu-title {
|
|
411
|
+
@include item-active-dark();
|
|
412
|
+
}
|
|
611
413
|
}
|
|
612
414
|
}
|
|
613
415
|
|
|
@@ -626,22 +428,26 @@
|
|
|
626
428
|
margin: 0 16px 4px 16px;
|
|
627
429
|
overflow: hidden;
|
|
628
430
|
padding: 0;
|
|
629
|
-
line-height: 0;
|
|
630
431
|
background-color: #ebebeb;
|
|
631
432
|
}
|
|
632
433
|
|
|
633
434
|
&-submenu {
|
|
634
435
|
&-popup {
|
|
635
|
-
position: absolute;
|
|
436
|
+
position: absolute !important;
|
|
636
437
|
z-index: 1500;
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
641
|
-
}
|
|
438
|
+
background-color: var(--Layout-light-backgroundColor);
|
|
439
|
+
line-height: var(--Nav-Item-height);
|
|
440
|
+
cursor: pointer;
|
|
642
441
|
|
|
643
|
-
|
|
644
|
-
|
|
442
|
+
// 横向收纳模式且有子菜单项的情况下 会显示2个展开箭头
|
|
443
|
+
// 用css隐藏1个 自适应收纳的情况下 判断不出是子菜单项还是收纳项
|
|
444
|
+
.#{$ns}Nav-Menu-submenu-title {
|
|
445
|
+
.#{$ns}Nav-Menu-item-link {
|
|
446
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
447
|
+
display: none;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
645
451
|
}
|
|
646
452
|
}
|
|
647
453
|
|
|
@@ -649,39 +455,15 @@
|
|
|
649
455
|
@include popup-dark();
|
|
650
456
|
}
|
|
651
457
|
|
|
652
|
-
.#{$ns}Nav-Menu-submenu-title,
|
|
653
|
-
.#{$ns}Nav-Menu-item {
|
|
654
|
-
cursor: pointer;
|
|
655
|
-
|
|
656
|
-
.anticon {
|
|
657
|
-
width: 14px;
|
|
658
|
-
height: 14px;
|
|
659
|
-
margin-right: 8px;
|
|
660
|
-
top: -1px;
|
|
661
|
-
|
|
662
|
-
.#{$ns}Nav-Menu-rtl & {
|
|
663
|
-
margin-right: 0;
|
|
664
|
-
margin-left: 8px;
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
|
|
669
458
|
&-overflow {
|
|
670
459
|
&-item-rest {
|
|
671
460
|
.#{$ns}Nav-Menu-submenu-title {
|
|
672
461
|
margin: 0;
|
|
673
462
|
}
|
|
674
|
-
|
|
675
|
-
.#{$ns}Nav-Menu-item-icon {
|
|
676
|
-
display: initial;
|
|
677
|
-
position: static;
|
|
678
|
-
}
|
|
679
463
|
}
|
|
680
464
|
}
|
|
681
465
|
|
|
682
466
|
&-horizontal {
|
|
683
|
-
height: var(--Menu-item-height--horizontal);
|
|
684
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
685
467
|
border: none;
|
|
686
468
|
white-space: nowrap;
|
|
687
469
|
overflow: hidden;
|
|
@@ -697,139 +479,61 @@
|
|
|
697
479
|
> .#{$ns}Nav-Menu-submenu-title {
|
|
698
480
|
.#{$ns}Nav-Menu-overflowedIcon {
|
|
699
481
|
margin-right: 0;
|
|
700
|
-
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
&.#{$ns}Nav-Menu-dark {
|
|
704
|
-
background-color: var(--Menu-dark-backgroundColor);
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
&.#{$ns}Nav-Menu-light {
|
|
708
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
& > .#{$ns}Nav-Menu-item-tooltip-wrap > .#{$ns}Nav-Menu-item,
|
|
712
|
-
& > .#{$ns}Nav-Menu-submenu > .#{$ns}Nav-Menu-submenu-title {
|
|
713
|
-
padding: 0 px2rem(16px);
|
|
714
|
-
height: var(--Menu-item-height--horizontal);
|
|
715
|
-
|
|
716
|
-
.#{$ns}Nav-Menu-item-link {
|
|
717
|
-
height: var(--Menu-item-height--horizontal);
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
721
|
-
.#{$ns}Nav-Menu-item-label {
|
|
722
|
-
line-height: var(--Menu-item-height--horizontal);
|
|
482
|
+
line-height: inherit; // 到了saas中 会被fortawesome的样式影响 因此需要覆盖一下
|
|
723
483
|
}
|
|
724
484
|
}
|
|
725
485
|
|
|
726
486
|
.#{$ns}Nav-Menu-item.#{$ns}Nav-Menu-item-selected {
|
|
487
|
+
background: none;
|
|
727
488
|
&:after {
|
|
728
489
|
content: ' ';
|
|
729
490
|
width: 100%;
|
|
730
491
|
height: 2px;
|
|
731
|
-
background: var(--Menu-
|
|
492
|
+
background: var(--Menu-light-fontColor-onHover);
|
|
732
493
|
position: absolute;
|
|
733
494
|
left: 0;
|
|
734
495
|
bottom: 0;
|
|
735
496
|
}
|
|
497
|
+
&:before {
|
|
498
|
+
display: none;
|
|
499
|
+
}
|
|
500
|
+
&:active {
|
|
501
|
+
&:after {
|
|
502
|
+
background: var(--Menu-light-fontColor-onActive);
|
|
503
|
+
}
|
|
504
|
+
}
|
|
736
505
|
}
|
|
737
506
|
|
|
738
507
|
& > .#{$ns}Nav-Menu-submenu,
|
|
739
508
|
& > .#{$ns}Nav-Menu-item {
|
|
740
509
|
margin: 0;
|
|
741
|
-
border-bottom: 2px solid transparent;
|
|
742
510
|
display: inline-block;
|
|
743
511
|
vertical-align: bottom;
|
|
744
|
-
|
|
745
|
-
&-active {
|
|
746
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
747
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
&-selected {
|
|
751
|
-
border-bottom: 2px solid var(--Menu-light-fontColor-onActive);
|
|
752
|
-
background-color: transparent;
|
|
753
|
-
|
|
754
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
755
|
-
.#{$ns}Nav-Menu-item-label {
|
|
756
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
&:after {
|
|
762
|
-
content: '\20';
|
|
763
|
-
display: block;
|
|
764
|
-
height: 0;
|
|
765
|
-
clear: both;
|
|
766
512
|
}
|
|
767
513
|
|
|
768
514
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
769
515
|
display: inline-block;
|
|
770
516
|
font-size: px2rem(9px);
|
|
771
|
-
text-align: center;
|
|
772
517
|
vertical-align: middle;
|
|
773
518
|
text-transform: none;
|
|
774
519
|
text-rendering: auto;
|
|
775
520
|
line-height: px2rem(20px);
|
|
776
521
|
margin-left: 5px;
|
|
777
|
-
color: var(--Menu-light-fontColor);
|
|
778
522
|
|
|
779
523
|
& > svg {
|
|
780
524
|
top: auto;
|
|
781
525
|
}
|
|
782
526
|
}
|
|
783
527
|
|
|
784
|
-
|
|
785
|
-
vertical-align: middle;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
&.#{$ns}Nav-Menu-dark {
|
|
789
|
-
& > .#{$ns}Nav-Menu-submenu,
|
|
790
|
-
& > .#{$ns}Nav-Menu-item {
|
|
791
|
-
&-active {
|
|
792
|
-
background-color: var(--Menu-dark-backgroundColor);
|
|
793
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
&-selected {
|
|
797
|
-
border-bottom: 2px solid var(--Menu-dark-selectedIndicator-color);
|
|
798
|
-
|
|
799
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
800
|
-
.#{$ns}Nav-Menu-item-label {
|
|
801
|
-
color: var(--Menu-dark-fontColor-onActive);
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
|
|
528
|
+
&.#{$ns}Nav-Menu-rtl {
|
|
806
529
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
807
|
-
|
|
530
|
+
margin-left: 0;
|
|
531
|
+
margin-right: 5px;
|
|
808
532
|
}
|
|
809
533
|
}
|
|
810
534
|
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
& > .#{$ns}Nav-Menu-item {
|
|
814
|
-
&-active {
|
|
815
|
-
background-color: var(--Menu-light-backgroundColor);
|
|
816
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
&-selected {
|
|
820
|
-
border-bottom: 2px solid var(--Menu-light-selectedIndicator-color);
|
|
821
|
-
|
|
822
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
823
|
-
.#{$ns}Nav-Menu-item-label,
|
|
824
|
-
.#{$ns}Nav-Menu-submenu-arrow {
|
|
825
|
-
color: var(--Menu-light-fontColor-onActive);
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
.#{$ns}Nav-Menu-submenu-arrow {
|
|
831
|
-
color: var(--Menu-light-fontColor);
|
|
832
|
-
}
|
|
535
|
+
.#{$ns}Nav-Menu-item-label {
|
|
536
|
+
vertical-align: middle;
|
|
833
537
|
}
|
|
834
538
|
}
|
|
835
539
|
|
|
@@ -837,34 +541,17 @@
|
|
|
837
541
|
&-vertical-left,
|
|
838
542
|
&-vertical-right,
|
|
839
543
|
&-inline {
|
|
840
|
-
& > .#{$ns}Nav-Menu-item,
|
|
841
|
-
& > .#{$ns}Nav-Menu-submenu > .#{$ns}Nav-Menu-submenu-title {
|
|
842
|
-
.#{$ns}Nav-Menu-rtl & {
|
|
843
|
-
padding: 12px 24px 12px 8px;
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
544
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
848
545
|
display: inline-block;
|
|
849
|
-
font-size: px2rem(
|
|
546
|
+
font-size: px2rem(10px);
|
|
850
547
|
vertical-align: baseline;
|
|
851
|
-
text-align: center;
|
|
852
548
|
text-transform: none;
|
|
853
549
|
text-rendering: auto;
|
|
854
|
-
|
|
855
|
-
right: var(--Menu-Submenu-item-paddingX);
|
|
856
|
-
top: 0;
|
|
857
|
-
line-height: var(--Menu-item-height--vertical);
|
|
550
|
+
margin: 0 0 0 px2rem(10px);
|
|
858
551
|
|
|
859
552
|
& > svg {
|
|
860
553
|
top: auto;
|
|
861
554
|
}
|
|
862
|
-
|
|
863
|
-
.#{$ns}Nav-Menu-rtl &,
|
|
864
|
-
.#{$ns}Nav-Menu-submenu-rtl & {
|
|
865
|
-
right: auto;
|
|
866
|
-
left: 16px;
|
|
867
|
-
}
|
|
868
555
|
}
|
|
869
556
|
|
|
870
557
|
&.#{$ns}Nav-Menu-expand-before {
|
|
@@ -877,32 +564,56 @@
|
|
|
877
564
|
|
|
878
565
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
879
566
|
right: auto;
|
|
567
|
+
position: absolute;
|
|
568
|
+
margin: 0;
|
|
880
569
|
}
|
|
881
570
|
}
|
|
882
571
|
|
|
883
|
-
&.#{$ns}Nav-Menu-
|
|
572
|
+
&.#{$ns}Nav-Menu-rtl {
|
|
573
|
+
&.#{$ns}Nav-Menu-expand-before {
|
|
574
|
+
.#{$ns}Nav-Menu-submenu-title {
|
|
575
|
+
.#{$ns}Nav-Menu-item-wrap {
|
|
576
|
+
padding-right: px2rem(16px);
|
|
577
|
+
padding-left: 0;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
&-inline {
|
|
585
|
+
&.#{$ns}Nav-Menu-rtl {
|
|
884
586
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
885
|
-
|
|
587
|
+
margin: 0 px2rem(10px) 0 0;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
&.#{$ns}Nav-Menu-expand-before {
|
|
591
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
592
|
+
margin: 0 0 0 px2rem(10px);
|
|
593
|
+
}
|
|
886
594
|
}
|
|
887
595
|
}
|
|
596
|
+
}
|
|
888
597
|
|
|
889
|
-
|
|
598
|
+
&-vertical {
|
|
599
|
+
&.#{$ns}Nav-Menu-rtl {
|
|
890
600
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
891
|
-
|
|
601
|
+
margin: 0 0 0 px2rem(10px);
|
|
892
602
|
}
|
|
893
603
|
}
|
|
894
604
|
}
|
|
895
605
|
|
|
896
606
|
&-vertical-right {
|
|
897
|
-
|
|
898
|
-
|
|
607
|
+
&.#{$ns}Nav-Menu-rtl {
|
|
608
|
+
.#{$ns}Nav-Menu-submenu-arrow {
|
|
609
|
+
margin: 0 px2rem(10px) 0 0;
|
|
610
|
+
}
|
|
899
611
|
}
|
|
900
612
|
}
|
|
901
613
|
|
|
902
614
|
&-inline,
|
|
903
615
|
&-horizontal {
|
|
904
616
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
905
|
-
cursor: pointer;
|
|
906
617
|
transition: transform 0.3s;
|
|
907
618
|
transform: rotate(90deg);
|
|
908
619
|
}
|
|
@@ -917,7 +628,7 @@
|
|
|
917
628
|
&-collapsed {
|
|
918
629
|
.#{$ns}Nav-Menu-item {
|
|
919
630
|
&-wrap {
|
|
920
|
-
|
|
631
|
+
justify-content: center;
|
|
921
632
|
}
|
|
922
633
|
}
|
|
923
634
|
|
|
@@ -938,53 +649,13 @@
|
|
|
938
649
|
}
|
|
939
650
|
}
|
|
940
651
|
|
|
941
|
-
&-submenu-vertical.#{$ns}Nav-Menu-submenu,
|
|
942
|
-
&-submenu-vertical-left.#{$ns}Nav-Menu-submenu,
|
|
943
|
-
&-submenu-vertical-right.#{$ns}Nav-Menu-submenu {
|
|
944
|
-
padding: 0;
|
|
945
|
-
|
|
946
|
-
.#{$ns}Nav-Menu-submenu-rtl & {
|
|
947
|
-
direction: rtl;
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
&-sub.#{$ns}Nav-Menu-inline {
|
|
952
|
-
padding: 0;
|
|
953
|
-
border: none;
|
|
954
|
-
border-radius: 0;
|
|
955
|
-
box-shadow: none;
|
|
956
|
-
|
|
957
|
-
& > .#{$ns}Nav-Menu-item,
|
|
958
|
-
& > .#{$ns}Nav-Menu-submenu > .#{$ns}Nav-Menu-submenu-title {
|
|
959
|
-
padding-top: 0;
|
|
960
|
-
padding-bottom: 0;
|
|
961
|
-
display: block;
|
|
962
|
-
white-space: nowrap;
|
|
963
|
-
overflow: hidden;
|
|
964
|
-
text-overflow: ellipsis;
|
|
965
|
-
|
|
966
|
-
.#{$ns}Nav-Menu-rtl & {
|
|
967
|
-
padding-left: 0;
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
&
|
|
972
|
-
> .#{$ns}Nav-Menu-submenu.#{$ns}Nav-Menu-submenu-dark.#{$ns}Nav-Menu-submenu-selected
|
|
973
|
-
> .#{$ns}Nav-Menu-submenu-title {
|
|
974
|
-
color: var(--Menu-dark-ancestor-fontColor-onActive);
|
|
975
|
-
|
|
976
|
-
.#{$ns}Nav-Menu-item-label,
|
|
977
|
-
.#{$ns}Nav-Menu-item-icon,
|
|
978
|
-
.#{$ns}Nav-Menu-submenu-arrow {
|
|
979
|
-
color: var(--Menu-dark-ancestor-fontColor-onActive);
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
|
|
984
652
|
@mixin item-disabled {
|
|
985
653
|
cursor: not-allowed;
|
|
986
654
|
color: var(--Menu-fontColor-onDisabled) !important;
|
|
987
|
-
|
|
655
|
+
|
|
656
|
+
svg {
|
|
657
|
+
fill: currentColor !important;
|
|
658
|
+
}
|
|
988
659
|
}
|
|
989
660
|
|
|
990
661
|
.#{$ns}Nav-Menu-item-disabled,
|
|
@@ -1002,6 +673,7 @@
|
|
|
1002
673
|
.#{$ns}Nav-Menu-submenu-title {
|
|
1003
674
|
@include item-disabled();
|
|
1004
675
|
& > .#{$ns}Nav-Menu-item-icon,
|
|
676
|
+
& > .#{$ns}Nav-Menu-item-icon-after,
|
|
1005
677
|
& > .#{$ns}Nav-Menu-item-label,
|
|
1006
678
|
& > .#{$ns}Nav-Menu-submenu-arrow {
|
|
1007
679
|
@include item-disabled();
|
|
@@ -1009,128 +681,12 @@
|
|
|
1009
681
|
}
|
|
1010
682
|
|
|
1011
683
|
.#{$ns}Nav-Menu-item-icon,
|
|
684
|
+
.#{$ns}Nav-Menu-item-icon-after,
|
|
1012
685
|
.#{$ns}Nav-Menu-item-label,
|
|
1013
686
|
.#{$ns}Nav-Menu-submenu-arrow {
|
|
1014
687
|
@include item-disabled();
|
|
1015
688
|
}
|
|
1016
689
|
}
|
|
1017
|
-
|
|
1018
|
-
@mixin effect {
|
|
1019
|
-
animation-duration: 0.3s;
|
|
1020
|
-
animation-fill-mode: both;
|
|
1021
|
-
transform-origin: 0 0;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
&-open {
|
|
1025
|
-
&-slide-up-enter,
|
|
1026
|
-
&-slide-up-appear {
|
|
1027
|
-
@include effect;
|
|
1028
|
-
opacity: 0;
|
|
1029
|
-
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
1030
|
-
animation-play-state: paused;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
&-slide-up-leave {
|
|
1034
|
-
@include effect;
|
|
1035
|
-
opacity: 1;
|
|
1036
|
-
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
|
1037
|
-
animation-play-state: paused;
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
&-slide-up-enter &-slide-up-enter-active,
|
|
1041
|
-
&-slide-up-appear &-slide-up-appear-active {
|
|
1042
|
-
animation-name: rcMenuOpenSlideUpIn;
|
|
1043
|
-
animation-play-state: running;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
&-slide-up-leave &-slide-up-leave-active {
|
|
1047
|
-
animation-name: rcMenuOpenSlideUpOut;
|
|
1048
|
-
animation-play-state: running;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
@keyframes rcMenuOpenSlideUpIn {
|
|
1052
|
-
0% {
|
|
1053
|
-
opacity: 0;
|
|
1054
|
-
transform-origin: 0% 0%;
|
|
1055
|
-
transform: scaleY(0);
|
|
1056
|
-
}
|
|
1057
|
-
100% {
|
|
1058
|
-
opacity: 1;
|
|
1059
|
-
transform-origin: 0% 0%;
|
|
1060
|
-
transform: scaleY(1);
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
@keyframes rcMenuOpenSlideUpOut {
|
|
1064
|
-
0% {
|
|
1065
|
-
opacity: 1;
|
|
1066
|
-
transform-origin: 0% 0%;
|
|
1067
|
-
transform: scaleY(1);
|
|
1068
|
-
}
|
|
1069
|
-
100% {
|
|
1070
|
-
opacity: 0;
|
|
1071
|
-
transform-origin: 0% 0%;
|
|
1072
|
-
transform: scaleY(0);
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
&-zoom-enter,
|
|
1077
|
-
&-zoom-appear {
|
|
1078
|
-
opacity: 0;
|
|
1079
|
-
@include effect;
|
|
1080
|
-
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
1081
|
-
animation-play-state: paused;
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
&-zoom-leave {
|
|
1085
|
-
@include effect;
|
|
1086
|
-
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
|
1087
|
-
animation-play-state: paused;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
&-zoom-enter &-zoom-enter-active,
|
|
1091
|
-
&-zoom-appear &-zoom-appear-active {
|
|
1092
|
-
animation-name: rcMenuOpenZoomIn;
|
|
1093
|
-
animation-play-state: running;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
&-zoom-leave &-zoom-leave-active {
|
|
1097
|
-
animation-name: rcMenuOpenZoomOut;
|
|
1098
|
-
animation-play-state: running;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
&-zoom-enter,
|
|
1102
|
-
&-zoom-appear,
|
|
1103
|
-
&-zoom-leave {
|
|
1104
|
-
.#{$ns}Nav-Menu-submenu-rtl &,
|
|
1105
|
-
.#{$ns}Nav-Menu-submenu-rtl & {
|
|
1106
|
-
transform-origin: top right !important;
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
@keyframes rcMenuOpenZoomIn {
|
|
1111
|
-
0% {
|
|
1112
|
-
opacity: 0;
|
|
1113
|
-
transform: scale(0, 0);
|
|
1114
|
-
}
|
|
1115
|
-
100% {
|
|
1116
|
-
opacity: 1;
|
|
1117
|
-
transform: scale(1, 1);
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
@keyframes rcMenuOpenZoomOut {
|
|
1121
|
-
0% {
|
|
1122
|
-
transform: scale(1, 1);
|
|
1123
|
-
}
|
|
1124
|
-
100% {
|
|
1125
|
-
opacity: 0;
|
|
1126
|
-
transform: scale(0, 0);
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
.#{$ns}Nav-Menu-overflow-menu-dark {
|
|
1133
|
-
@include popup-dark();
|
|
1134
690
|
}
|
|
1135
691
|
|
|
1136
692
|
.#{$ns}Nav-Menu-item-tooltip {
|
|
@@ -1142,17 +698,7 @@
|
|
|
1142
698
|
box-shadow: 0px 4px 6px 0px rgb(8 14 26 / 6%),
|
|
1143
699
|
0px 1px 10px 0px rgb(8 14 26 / 5%), 0px 2px 4px -1px rgb(8 14 26 / 4%);
|
|
1144
700
|
|
|
1145
|
-
.#{$ns}Tooltip-body {
|
|
1146
|
-
&,
|
|
1147
|
-
span {
|
|
1148
|
-
color: var(--Layout-light-fontColor);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
701
|
.#{$ns}Tooltip-arrow {
|
|
1153
|
-
&:after {
|
|
1154
|
-
left: px2rem(4px);
|
|
1155
|
-
}
|
|
1156
702
|
&:before {
|
|
1157
703
|
display: none;
|
|
1158
704
|
}
|
|
@@ -1161,6 +707,12 @@
|
|
|
1161
707
|
&.#{$ns}Nav-Menu-item-tooltip-dark {
|
|
1162
708
|
background: var(--Layout-dark-tooltip-backgroundColor);
|
|
1163
709
|
|
|
710
|
+
.#{$ns}Tooltip-arrow {
|
|
711
|
+
&:after {
|
|
712
|
+
border-right-color: var(--Layout-dark-tooltip-backgroundColor);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
1164
716
|
.#{$ns}Tooltip-body {
|
|
1165
717
|
&,
|
|
1166
718
|
span {
|