yuang-framework-ui-pc 1.0.19 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -41
- package/es/ele-admin-layout/components/layout-skeleton.d.ts +10 -0
- package/es/ele-admin-layout/components/layout-skeleton.js +47 -0
- package/es/ele-admin-layout/components/layout-tabs.d.ts +64 -0
- package/es/ele-admin-layout/components/layout-tabs.js +132 -0
- package/es/ele-admin-layout/components/layout-tool.d.ts +2 -0
- package/es/ele-admin-layout/components/layout-tool.js +21 -0
- package/es/ele-admin-layout/index.d.ts +293 -0
- package/es/ele-admin-layout/index.js +693 -0
- package/es/ele-admin-layout/props.d.ts +182 -0
- package/es/ele-admin-layout/props.js +169 -0
- package/es/ele-admin-layout/style/css-var.scss +14 -0
- package/es/ele-admin-layout/style/header.scss +192 -0
- package/es/ele-admin-layout/style/index.d.ts +1 -0
- package/es/ele-admin-layout/style/index.js +9 -0
- package/es/ele-admin-layout/style/index.scss +313 -0
- package/es/ele-admin-layout/style/sidebar.scss +187 -0
- package/es/ele-admin-layout/style/tabs.scss +59 -0
- package/es/ele-admin-layout/types.d.ts +54 -0
- package/es/ele-app/components/message-body.d.ts +46 -0
- package/es/ele-app/components/message-body.js +98 -0
- package/es/ele-app/components/message-box-icon.d.ts +31 -0
- package/es/ele-app/components/message-box-icon.js +63 -0
- package/es/ele-app/el.d.ts +304 -0
- package/es/ele-app/index.d.ts +4 -0
- package/es/ele-app/index.js +13 -0
- package/es/ele-app/plus.d.ts +181 -0
- package/es/ele-app/style/common/index.d.ts +1 -0
- package/es/ele-app/style/common/index.js +1 -0
- package/es/ele-app/style/common/index.scss +55 -0
- package/es/ele-app/style/css-var.scss +11 -0
- package/es/ele-app/style/index.d.ts +1 -0
- package/es/ele-app/style/index.js +4 -0
- package/es/ele-app/style/index.scss +4 -0
- package/es/ele-app/style/message/css-var.scss +8 -0
- package/es/ele-app/style/message/index.d.ts +1 -0
- package/es/ele-app/style/message/index.js +2 -0
- package/es/ele-app/style/message/index.scss +261 -0
- package/es/ele-app/style/overwrite/autocomplete/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/autocomplete/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/autocomplete/index.js +1 -0
- package/es/ele-app/style/overwrite/autocomplete/index.scss +33 -0
- package/es/ele-app/style/overwrite/backtop/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/backtop/index.js +1 -0
- package/es/ele-app/style/overwrite/backtop/index.scss +8 -0
- package/es/ele-app/style/overwrite/cascader/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/cascader/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/cascader/index.js +1 -0
- package/es/ele-app/style/overwrite/cascader/index.scss +166 -0
- package/es/ele-app/style/overwrite/checkbox/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/checkbox/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/checkbox/index.js +1 -0
- package/es/ele-app/style/overwrite/checkbox/index.scss +161 -0
- package/es/ele-app/style/overwrite/color-picker/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/color-picker/index.js +1 -0
- package/es/ele-app/style/overwrite/color-picker/index.scss +42 -0
- package/es/ele-app/style/overwrite/css-var.scss +33 -0
- package/es/ele-app/style/overwrite/date-picker/css-var.scss +16 -0
- package/es/ele-app/style/overwrite/date-picker/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/date-picker/index.js +1 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +895 -0
- package/es/ele-app/style/overwrite/descriptions/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/descriptions/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/descriptions/index.js +1 -0
- package/es/ele-app/style/overwrite/descriptions/index.scss +52 -0
- package/es/ele-app/style/overwrite/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/index.js +16 -0
- package/es/ele-app/style/overwrite/index.scss +16 -0
- package/es/ele-app/style/overwrite/input/css-var.scss +34 -0
- package/es/ele-app/style/overwrite/input/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/input/index.js +1 -0
- package/es/ele-app/style/overwrite/input/index.scss +540 -0
- package/es/ele-app/style/overwrite/message-box/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/message-box/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/message-box/index.js +2 -0
- package/es/ele-app/style/overwrite/message-box/index.scss +148 -0
- package/es/ele-app/style/overwrite/notification/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/notification/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/notification/index.js +2 -0
- package/es/ele-app/style/overwrite/notification/index.scss +65 -0
- package/es/ele-app/style/overwrite/popper/css-var.scss +14 -0
- package/es/ele-app/style/overwrite/popper/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/popper/index.js +1 -0
- package/es/ele-app/style/overwrite/popper/index.scss +9 -0
- package/es/ele-app/style/overwrite/radio/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/radio/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/radio/index.js +1 -0
- package/es/ele-app/style/overwrite/radio/index.scss +128 -0
- package/es/ele-app/style/overwrite/select/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/select/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/select/index.js +1 -0
- package/es/ele-app/style/overwrite/select/index.scss +203 -0
- package/es/ele-app/style/overwrite/tag/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/tag/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/tag/index.js +1 -0
- package/es/ele-app/style/overwrite/tag/index.scss +346 -0
- package/es/ele-app/style/overwrite/tree/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/tree/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/tree/index.js +1 -0
- package/es/ele-app/style/overwrite/tree/index.scss +106 -0
- package/es/ele-app/style/overwrite/tree-select/css-var.scss +8 -0
- package/es/ele-app/style/overwrite/tree-select/index.d.ts +1 -0
- package/es/ele-app/style/overwrite/tree-select/index.js +1 -0
- package/es/ele-app/style/overwrite/tree-select/index.scss +108 -0
- package/es/ele-app/style/scrollbar/css-var.scss +71 -0
- package/es/ele-app/style/scrollbar/index.d.ts +1 -0
- package/es/ele-app/style/scrollbar/index.js +1 -0
- package/es/ele-app/style/scrollbar/index.scss +9 -0
- package/es/ele-app/types.d.ts +48 -0
- package/es/ele-pro-layout/components/pro-iframe.vue +120 -0
- package/es/ele-pro-layout/index.vue +1277 -0
- package/es/ele-pro-layout/props.ts +255 -0
- package/es/ele-pro-layout/style/index.scss +41 -0
- package/es/ele-pro-layout/style/index.ts +2 -0
- package/es/ele-pro-layout/types.ts +212 -0
- package/es/ele-pro-layout/util.ts +277 -0
- package/es/ele-tabs/index.d.ts +149 -0
- package/es/ele-tabs/index.js +480 -0
- package/es/ele-tabs/props.d.ts +82 -0
- package/es/ele-tabs/props.js +46 -0
- package/es/ele-tabs/style/css-var.scss +8 -0
- package/es/ele-tabs/style/index.d.ts +1 -0
- package/es/ele-tabs/style/index.js +5 -0
- package/es/ele-tabs/style/index.scss +1074 -0
- package/es/ele-tabs/types.d.ts +70 -0
- package/es/icons/AnalysisOutlined.d.ts +2 -0
- package/es/icons/AnalysisOutlined.js +35 -0
- package/es/icons/ApplicationOutlined.d.ts +2 -0
- package/es/icons/ApplicationOutlined.js +26 -0
- package/es/icons/AppstoreAddOutlined.d.ts +2 -0
- package/es/icons/AppstoreAddOutlined.js +35 -0
- package/es/icons/AppstoreOutlined.d.ts +2 -0
- package/es/icons/AppstoreOutlined.js +35 -0
- package/es/icons/ArrowDown.d.ts +2 -0
- package/es/icons/ArrowDown.js +31 -0
- package/es/icons/ArrowDownOutlined.d.ts +2 -0
- package/es/icons/ArrowDownOutlined.js +30 -0
- package/es/icons/ArrowLeft.d.ts +2 -0
- package/es/icons/ArrowLeft.js +31 -0
- package/es/icons/ArrowLeftOutlined.d.ts +2 -0
- package/es/icons/ArrowLeftOutlined.js +30 -0
- package/es/icons/ArrowRight.d.ts +2 -0
- package/es/icons/ArrowRight.js +31 -0
- package/es/icons/ArrowRightOutlined.d.ts +2 -0
- package/es/icons/ArrowRightOutlined.js +30 -0
- package/es/icons/ArrowUp.d.ts +2 -0
- package/es/icons/ArrowUp.js +31 -0
- package/es/icons/ArrowUpOutlined.d.ts +2 -0
- package/es/icons/ArrowUpOutlined.js +30 -0
- package/es/icons/BellOutlined.d.ts +2 -0
- package/es/icons/BellOutlined.js +29 -0
- package/es/icons/BookOutlined.d.ts +2 -0
- package/es/icons/BookOutlined.js +29 -0
- package/es/icons/CalendarOutlined.d.ts +2 -0
- package/es/icons/CalendarOutlined.js +29 -0
- package/es/icons/CaretDownFilled.d.ts +2 -0
- package/es/icons/CaretDownFilled.js +26 -0
- package/es/icons/CaretUpFilled.d.ts +2 -0
- package/es/icons/CaretUpFilled.js +26 -0
- package/es/icons/CheckCircleFilled.d.ts +2 -0
- package/es/icons/CheckCircleFilled.js +26 -0
- package/es/icons/CheckCircleOutlined.d.ts +2 -0
- package/es/icons/CheckCircleOutlined.js +32 -0
- package/es/icons/CheckOutlined.d.ts +2 -0
- package/es/icons/CheckOutlined.js +30 -0
- package/es/icons/CityOutlined.d.ts +2 -0
- package/es/icons/CityOutlined.js +35 -0
- package/es/icons/ClockCircleOutlined.d.ts +2 -0
- package/es/icons/ClockCircleOutlined.js +32 -0
- package/es/icons/CloseCircleFilled.d.ts +2 -0
- package/es/icons/CloseCircleFilled.js +26 -0
- package/es/icons/CloseCircleOutlined.d.ts +2 -0
- package/es/icons/CloseCircleOutlined.js +31 -0
- package/es/icons/CloseOutlined.d.ts +2 -0
- package/es/icons/CloseOutlined.js +30 -0
- package/es/icons/CloudUploadOutlined.d.ts +2 -0
- package/es/icons/CloudUploadOutlined.js +32 -0
- package/es/icons/ClusterOutlined.d.ts +2 -0
- package/es/icons/ClusterOutlined.js +29 -0
- package/es/icons/CodeOutlined.d.ts +2 -0
- package/es/icons/CodeOutlined.js +34 -0
- package/es/icons/ColumnHeightOutlined.d.ts +2 -0
- package/es/icons/ColumnHeightOutlined.js +35 -0
- package/es/icons/CompassOutlined.d.ts +2 -0
- package/es/icons/CompassOutlined.js +34 -0
- package/es/icons/CompressOutlined.d.ts +2 -0
- package/es/icons/CompressOutlined.js +36 -0
- package/es/icons/ConnectionOutlined.d.ts +2 -0
- package/es/icons/ConnectionOutlined.js +31 -0
- package/es/icons/ControlOutlined.d.ts +2 -0
- package/es/icons/ControlOutlined.js +33 -0
- package/es/icons/CopyOutlined.d.ts +2 -0
- package/es/icons/CopyOutlined.js +35 -0
- package/es/icons/CornerLeftFilled.d.ts +2 -0
- package/es/icons/CornerLeftFilled.js +26 -0
- package/es/icons/CornerRightFilled.d.ts +2 -0
- package/es/icons/CornerRightFilled.js +26 -0
- package/es/icons/CpuOutlined.d.ts +2 -0
- package/es/icons/CpuOutlined.js +30 -0
- package/es/icons/DashboardOutlined.d.ts +2 -0
- package/es/icons/DashboardOutlined.js +37 -0
- package/es/icons/DatabaseOutlined.d.ts +2 -0
- package/es/icons/DatabaseOutlined.js +35 -0
- package/es/icons/DeleteOutlined.d.ts +2 -0
- package/es/icons/DeleteOutlined.js +34 -0
- package/es/icons/DesktopOutlined.d.ts +2 -0
- package/es/icons/DesktopOutlined.js +29 -0
- package/es/icons/DownloadOutlined.d.ts +2 -0
- package/es/icons/DownloadOutlined.js +32 -0
- package/es/icons/DragOutlined.d.ts +2 -0
- package/es/icons/DragOutlined.js +30 -0
- package/es/icons/EditOutlined.d.ts +2 -0
- package/es/icons/EditOutlined.js +32 -0
- package/es/icons/EllipsisOutlined.d.ts +2 -0
- package/es/icons/EllipsisOutlined.js +42 -0
- package/es/icons/EnvironmentOutlined.d.ts +2 -0
- package/es/icons/EnvironmentOutlined.js +31 -0
- package/es/icons/ExclamationCircleFilled.d.ts +2 -0
- package/es/icons/ExclamationCircleFilled.js +26 -0
- package/es/icons/ExpandOutlined.d.ts +2 -0
- package/es/icons/ExpandOutlined.js +36 -0
- package/es/icons/EyeOutlined.d.ts +2 -0
- package/es/icons/EyeOutlined.js +30 -0
- package/es/icons/FileOutlined.d.ts +2 -0
- package/es/icons/FileOutlined.js +35 -0
- package/es/icons/FilterFilled.d.ts +2 -0
- package/es/icons/FilterFilled.js +26 -0
- package/es/icons/FolderAddOutlined.d.ts +2 -0
- package/es/icons/FolderAddOutlined.js +31 -0
- package/es/icons/FolderOutlined.d.ts +2 -0
- package/es/icons/FolderOutlined.js +29 -0
- package/es/icons/FormOutlined.d.ts +2 -0
- package/es/icons/FormOutlined.js +31 -0
- package/es/icons/FullscreenExitOutlined.d.ts +2 -0
- package/es/icons/FullscreenExitOutlined.js +34 -0
- package/es/icons/FullscreenOutlined.d.ts +2 -0
- package/es/icons/FullscreenOutlined.js +34 -0
- package/es/icons/FundOutlined.d.ts +2 -0
- package/es/icons/FundOutlined.js +31 -0
- package/es/icons/GlobalOutlined.d.ts +2 -0
- package/es/icons/GlobalOutlined.js +28 -0
- package/es/icons/HolderOutlined.d.ts +2 -0
- package/es/icons/HolderOutlined.js +26 -0
- package/es/icons/HomeOutlined.d.ts +2 -0
- package/es/icons/HomeOutlined.js +29 -0
- package/es/icons/IdcardOutlined.d.ts +2 -0
- package/es/icons/IdcardOutlined.js +38 -0
- package/es/icons/InfoCircleFilled.d.ts +2 -0
- package/es/icons/InfoCircleFilled.js +26 -0
- package/es/icons/LinkOutlined.d.ts +2 -0
- package/es/icons/LinkOutlined.js +32 -0
- package/es/icons/LoadingDotOutlined.d.ts +2 -0
- package/es/icons/LoadingDotOutlined.js +29 -0
- package/es/icons/LoadingOutlined.d.ts +2 -0
- package/es/icons/LoadingOutlined.js +29 -0
- package/es/icons/LockOutlined.d.ts +2 -0
- package/es/icons/LockOutlined.js +32 -0
- package/es/icons/LogOutlined.d.ts +2 -0
- package/es/icons/LogOutlined.js +35 -0
- package/es/icons/LogoutOutlined.d.ts +2 -0
- package/es/icons/LogoutOutlined.js +31 -0
- package/es/icons/MailOutlined.d.ts +2 -0
- package/es/icons/MailOutlined.js +29 -0
- package/es/icons/MenuFoldOutlined.d.ts +2 -0
- package/es/icons/MenuFoldOutlined.js +28 -0
- package/es/icons/MenuOutlined.d.ts +2 -0
- package/es/icons/MenuOutlined.js +32 -0
- package/es/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/es/icons/MenuUnfoldOutlined.js +28 -0
- package/es/icons/MessageOutlined.d.ts +2 -0
- package/es/icons/MessageOutlined.js +50 -0
- package/es/icons/MinusCircleOutlined.d.ts +2 -0
- package/es/icons/MinusCircleOutlined.js +31 -0
- package/es/icons/MobileOutlined.d.ts +2 -0
- package/es/icons/MobileOutlined.js +37 -0
- package/es/icons/MoonOutlined.d.ts +2 -0
- package/es/icons/MoonOutlined.js +29 -0
- package/es/icons/MoreOutlined.d.ts +2 -0
- package/es/icons/MoreOutlined.js +42 -0
- package/es/icons/PauseFilled.d.ts +2 -0
- package/es/icons/PauseFilled.js +30 -0
- package/es/icons/PieChartOutlined.d.ts +2 -0
- package/es/icons/PieChartOutlined.js +31 -0
- package/es/icons/PlayFilled.d.ts +2 -0
- package/es/icons/PlayFilled.js +26 -0
- package/es/icons/PlusCircleOutlined.d.ts +2 -0
- package/es/icons/PlusCircleOutlined.js +31 -0
- package/es/icons/PlusOutlined.d.ts +2 -0
- package/es/icons/PlusOutlined.js +29 -0
- package/es/icons/PrinterOutlined.d.ts +2 -0
- package/es/icons/PrinterOutlined.js +29 -0
- package/es/icons/ProtectOutlined.d.ts +2 -0
- package/es/icons/ProtectOutlined.js +32 -0
- package/es/icons/QuestionCircleFilled.d.ts +2 -0
- package/es/icons/QuestionCircleFilled.js +26 -0
- package/es/icons/QuestionCircleOutlined.d.ts +2 -0
- package/es/icons/QuestionCircleOutlined.js +39 -0
- package/es/icons/ReloadOutlined.d.ts +2 -0
- package/es/icons/ReloadOutlined.js +30 -0
- package/es/icons/ResizeOutlined.d.ts +2 -0
- package/es/icons/ResizeOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +2 -0
- package/es/icons/SearchOutlined.js +29 -0
- package/es/icons/SettingOutlined.d.ts +2 -0
- package/es/icons/SettingOutlined.js +31 -0
- package/es/icons/ShoppingOutlined.d.ts +2 -0
- package/es/icons/ShoppingOutlined.js +29 -0
- package/es/icons/SizeCompactOutlined.d.ts +2 -0
- package/es/icons/SizeCompactOutlined.js +34 -0
- package/es/icons/SizeMiddleOutlined.d.ts +2 -0
- package/es/icons/SizeMiddleOutlined.js +34 -0
- package/es/icons/SizeSlackOutlined.d.ts +2 -0
- package/es/icons/SizeSlackOutlined.js +34 -0
- package/es/icons/SortOutlined.d.ts +2 -0
- package/es/icons/SortOutlined.js +32 -0
- package/es/icons/StarFilled.d.ts +2 -0
- package/es/icons/StarFilled.js +26 -0
- package/es/icons/StepBackwardFilled.d.ts +2 -0
- package/es/icons/StepBackwardFilled.js +33 -0
- package/es/icons/StepForwardFilled.d.ts +2 -0
- package/es/icons/StepForwardFilled.js +33 -0
- package/es/icons/SuitcaseOutlined.d.ts +2 -0
- package/es/icons/SuitcaseOutlined.js +29 -0
- package/es/icons/SunOutlined.d.ts +2 -0
- package/es/icons/SunOutlined.js +29 -0
- package/es/icons/SwapOutlined.d.ts +2 -0
- package/es/icons/SwapOutlined.js +32 -0
- package/es/icons/SyncOutlined.d.ts +2 -0
- package/es/icons/SyncOutlined.js +32 -0
- package/es/icons/TableOutlined.d.ts +2 -0
- package/es/icons/TableOutlined.js +29 -0
- package/es/icons/TagOutlined.d.ts +2 -0
- package/es/icons/TagOutlined.js +31 -0
- package/es/icons/TimerOutlined.d.ts +2 -0
- package/es/icons/TimerOutlined.js +31 -0
- package/es/icons/UndoOutlined.d.ts +2 -0
- package/es/icons/UndoOutlined.js +30 -0
- package/es/icons/UnlockOutlined.d.ts +2 -0
- package/es/icons/UnlockOutlined.js +32 -0
- package/es/icons/UploadOutlined.d.ts +2 -0
- package/es/icons/UploadOutlined.js +32 -0
- package/es/icons/UserOutlined.d.ts +2 -0
- package/es/icons/UserOutlined.js +29 -0
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
- package/es/icons/VerticalAlignMiddleOutlined.js +32 -0
- package/es/icons/VerticalLeftOutlined.d.ts +2 -0
- package/es/icons/VerticalLeftOutlined.js +28 -0
- package/es/icons/VerticalRightOutlined.d.ts +2 -0
- package/es/icons/VerticalRightOutlined.js +28 -0
- package/es/icons/WarningOutlined.d.ts +2 -0
- package/es/icons/WarningOutlined.js +42 -0
- package/es/icons/ZoomInOutlined.d.ts +2 -0
- package/es/icons/ZoomInOutlined.js +31 -0
- package/es/icons/ZoomOutOutlined.d.ts +2 -0
- package/es/icons/ZoomOutOutlined.js +31 -0
- package/es/icons/index.d.ts +115 -0
- package/es/icons/index.js +232 -0
- package/es/utils/chart-theme-dark.d.ts +373 -0
- package/es/utils/chart-theme-dark.js +397 -0
- package/es/utils/chart-theme.d.ts +368 -0
- package/es/utils/chart-theme.js +392 -0
- package/es/utils/core.d.ts +168 -0
- package/es/utils/core.js +318 -0
- package/es/utils/hook.d.ts +113 -0
- package/es/utils/hook.js +264 -0
- package/es/utils/menu-util.d.ts +14 -0
- package/es/utils/menu-util.js +78 -0
- package/es/utils/message-box.d.ts +25 -0
- package/es/utils/message-box.js +98 -0
- package/es/utils/message.d.ts +66 -0
- package/es/utils/message.js +267 -0
- package/es/utils/resolvers.d.ts +18 -0
- package/es/utils/resolvers.js +50 -0
- package/es/utils/theme-util.d.ts +6 -0
- package/es/utils/theme-util.js +42 -0
- package/es/utils/validate.d.ts +182 -0
- package/es/utils/validate.js +197 -0
- package/package.json +184 -44
- package/typings/global.d.ts +64 -0
- package/dist/favicon.ico +0 -0
- package/dist/style.css +0 -1
- package/dist/yuang-framework-ui-pc.es.js +0 -78
- package/dist/yuang-framework-ui-pc.umd.js +0 -1
- package/src/App.vue +0 -31
- package/src/components/YuButton/index.vue +0 -35
- package/src/components/YuRow/index.vue +0 -16
- package/src/components/index.ts +0 -14
- package/src/main.ts +0 -42
- package/src/router/index.ts +0 -26
- package/src/shims-vue.d.ts +0 -10
- package/src/utils/vueRouterUtils.ts +0 -30
- package/src/views/components/yu-button/index.vue +0 -15
- package/src/views/exception/403/components/icon-svg.vue +0 -276
- package/src/views/exception/403/index.vue +0 -25
- package/src/views/exception/404/components/icon-svg.vue +0 -288
- package/src/views/exception/404/index.vue +0 -25
- package/src/views/exception/500/components/icon-svg.vue +0 -331
- package/src/views/exception/500/index.vue +0 -25
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
|
|
2
|
+
import { StyleValue } from '../ele-app/types';
|
|
3
|
+
import { EleMenusProps, EleBreadcrumbProps, EleBacktopProps, EleDropdownProps } from '../ele-app/plus';
|
|
4
|
+
import { MenuItem } from '../ele-menus/types';
|
|
5
|
+
import { BreadcrumbItem } from '../ele-breadcrumb/types';
|
|
6
|
+
import { TabPaneItem, TabEventOption, ContextMenus } from '../ele-tabs/types';
|
|
7
|
+
import { Layout, SidebarLayout, HeaderStyle, SidebarStyle, TabStyle, TabBar, Maximized, LayoutProvide } from './types';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* 属性
|
|
11
|
+
*/
|
|
12
|
+
export declare const adminLayoutProps: {
|
|
13
|
+
/** 高度 */
|
|
14
|
+
height: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
/** 顶栏菜单数据 */
|
|
19
|
+
headerMenus: PropType<MenuItem[]>;
|
|
20
|
+
/** 顶栏菜单选中 */
|
|
21
|
+
headerActive: StringConstructor;
|
|
22
|
+
/** 侧栏菜单数据 */
|
|
23
|
+
sidebarMenus: PropType<MenuItem[]>;
|
|
24
|
+
/** 侧栏菜单选中 */
|
|
25
|
+
sidebarActive: StringConstructor;
|
|
26
|
+
/** 双侧栏一级菜单数据 */
|
|
27
|
+
sideboxMenus: PropType<MenuItem[]>;
|
|
28
|
+
/** 双侧栏一级菜单选中 */
|
|
29
|
+
sideboxActive: StringConstructor;
|
|
30
|
+
/** 页签数据 */
|
|
31
|
+
tabs: PropType<TabPaneItem[]>;
|
|
32
|
+
/** 页签选中 */
|
|
33
|
+
tabActive: StringConstructor;
|
|
34
|
+
/** 面包屑导航数据 */
|
|
35
|
+
levels: PropType<BreadcrumbItem[]>;
|
|
36
|
+
/** 是否折叠侧栏 */
|
|
37
|
+
collapse: BooleanConstructor;
|
|
38
|
+
/** 双侧栏一级是否紧凑风格 */
|
|
39
|
+
compact: BooleanConstructor;
|
|
40
|
+
/** 内容区是否最大化 */
|
|
41
|
+
maximized: PropType<Maximized>;
|
|
42
|
+
/** 是否需要页签栏 */
|
|
43
|
+
tabBar: PropType<TabBar>;
|
|
44
|
+
/** 是否需要面包屑导航 */
|
|
45
|
+
breadcrumb: PropType<boolean | EleBreadcrumbProps>;
|
|
46
|
+
/** 是否需要返回顶部 */
|
|
47
|
+
backTop: PropType<boolean | EleBacktopProps>;
|
|
48
|
+
/** 顶栏菜单属性 */
|
|
49
|
+
headerMenuProps: PropType<EleMenusProps>;
|
|
50
|
+
/** 侧栏菜单属性 */
|
|
51
|
+
sidebarMenuProps: PropType<EleMenusProps>;
|
|
52
|
+
/** 双侧栏一级菜单属性 */
|
|
53
|
+
sideboxMenuProps: PropType<EleMenusProps>;
|
|
54
|
+
/** 布局类型 */
|
|
55
|
+
layout: PropType<Layout>;
|
|
56
|
+
/** 侧栏布局类型 */
|
|
57
|
+
sidebarLayout: PropType<SidebarLayout>;
|
|
58
|
+
/** 顶栏风格 */
|
|
59
|
+
headerStyle: PropType<HeaderStyle>;
|
|
60
|
+
/** 侧栏风格 */
|
|
61
|
+
sidebarStyle: PropType<SidebarStyle>;
|
|
62
|
+
/** 页签风格 */
|
|
63
|
+
tabStyle: {
|
|
64
|
+
type: PropType<TabStyle>;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
/** 是否固定顶栏 */
|
|
68
|
+
fixedHeader: BooleanConstructor;
|
|
69
|
+
/** 是否固定侧栏 */
|
|
70
|
+
fixedSidebar: BooleanConstructor;
|
|
71
|
+
/** 是否固定内容区 */
|
|
72
|
+
fixedBody: BooleanConstructor;
|
|
73
|
+
/** logo是否置于顶栏 */
|
|
74
|
+
logoInHeader: BooleanConstructor;
|
|
75
|
+
/** 是否需要固定的主页页签 */
|
|
76
|
+
fixedHome: BooleanConstructor;
|
|
77
|
+
/** 主页路由地址 */
|
|
78
|
+
homePath: StringConstructor;
|
|
79
|
+
/** 是否选中固定的主页页签 */
|
|
80
|
+
isHome: BooleanConstructor;
|
|
81
|
+
/** 是否支持页签右键菜单 */
|
|
82
|
+
tabContextMenu: PropType<boolean | EleDropdownProps>;
|
|
83
|
+
/** 页签右键菜单数据 */
|
|
84
|
+
tabContextMenus: PropType<ContextMenus>;
|
|
85
|
+
/** 是否支持页签拖动排序 */
|
|
86
|
+
tabSortable: BooleanConstructor;
|
|
87
|
+
/** 顶栏菜单标题插槽名称 */
|
|
88
|
+
headerTitleSlot: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
/** 顶栏菜单图标插槽名称 */
|
|
93
|
+
headerIconSlot: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
/** 侧栏菜单标题插槽名称 */
|
|
98
|
+
sidebarTitleSlot: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
/** 侧栏菜单图标插槽名称 */
|
|
103
|
+
sidebarIconSlot: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
/** 双侧栏一级菜单标题插槽名称 */
|
|
108
|
+
sideboxTitleSlot: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
/** 双侧栏一级菜单图标插槽名称 */
|
|
113
|
+
sideboxIconSlot: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
/** 顶栏样式 */
|
|
118
|
+
headerCustomStyle: PropType<StyleValue>;
|
|
119
|
+
/** 侧栏样式 */
|
|
120
|
+
sidebarCustomStyle: PropType<StyleValue>;
|
|
121
|
+
/** 双侧栏一级样式 */
|
|
122
|
+
sideboxCustomStyle: PropType<StyleValue>;
|
|
123
|
+
/** 页签栏样式 */
|
|
124
|
+
tabsCustomStyle: PropType<StyleValue>;
|
|
125
|
+
/** 内容区样式 */
|
|
126
|
+
contentCustomStyle: PropType<StyleValue>;
|
|
127
|
+
/** logo样式 */
|
|
128
|
+
logoStyle: PropType<StyleValue>;
|
|
129
|
+
/** logo文字样式 */
|
|
130
|
+
logoTitleStyle: PropType<StyleValue>;
|
|
131
|
+
/** 顶栏菜单样式 */
|
|
132
|
+
headerMenusStyle: PropType<StyleValue>;
|
|
133
|
+
/** 侧栏菜单样式 */
|
|
134
|
+
sidebarMenusStyle: PropType<StyleValue>;
|
|
135
|
+
/** 双侧栏一级菜单样式 */
|
|
136
|
+
sideboxMenusStyle: PropType<StyleValue>;
|
|
137
|
+
/** logo图片地址 */
|
|
138
|
+
logoSrc: StringConstructor;
|
|
139
|
+
/** logo文字 */
|
|
140
|
+
logoTitle: StringConstructor;
|
|
141
|
+
/** 菜单是否自动滚动到选中位置 */
|
|
142
|
+
menuScrollToActive: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
/** 是否是移动端风格 */
|
|
147
|
+
mobile: BooleanConstructor;
|
|
148
|
+
};
|
|
149
|
+
export type AdminLayoutProps = ExtractPropTypes<typeof adminLayoutProps>;
|
|
150
|
+
/**
|
|
151
|
+
* 事件
|
|
152
|
+
*/
|
|
153
|
+
export declare const adminLayoutEmits: {
|
|
154
|
+
'update:collapse': (_collapse: boolean) => boolean;
|
|
155
|
+
logoClick: (_e: MouseEvent) => boolean;
|
|
156
|
+
headMenuOpen: (_index: string, _indexPath: string[]) => boolean;
|
|
157
|
+
headMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
158
|
+
headMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
159
|
+
headMenuItemMouseenter: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
160
|
+
headMenuItemMouseleave: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
161
|
+
headMouseenter: (_e: MouseEvent) => boolean;
|
|
162
|
+
headMouseleave: (_e: MouseEvent) => boolean;
|
|
163
|
+
boxMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
164
|
+
boxMenuItemMouseenter: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
165
|
+
boxMenuItemMouseleave: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
166
|
+
boxMouseenter: (_e: MouseEvent) => boolean;
|
|
167
|
+
boxMouseleave: (_e: MouseEvent) => boolean;
|
|
168
|
+
sideMenuOpen: (_index: string, _indexPath: string[]) => boolean;
|
|
169
|
+
sideMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
170
|
+
sideMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
171
|
+
sideMouseenter: (_e: MouseEvent) => boolean;
|
|
172
|
+
sideMouseleave: (_e: MouseEvent) => boolean;
|
|
173
|
+
tabClick: (_option: TabEventOption) => boolean;
|
|
174
|
+
tabRemove: (_name: string) => boolean;
|
|
175
|
+
tabContextMenu: (_option: TabEventOption) => boolean;
|
|
176
|
+
tabSortChange: (_data: TabPaneItem[]) => boolean;
|
|
177
|
+
contentMounted: (_contentEl: HTMLElement, _modalsEl: HTMLElement) => boolean;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* 共享数据key
|
|
181
|
+
*/
|
|
182
|
+
export declare const LAYOUT_KEY: InjectionKey<LayoutProvide>;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
const adminLayoutProps = {
|
|
2
|
+
/** 高度 */
|
|
3
|
+
height: {
|
|
4
|
+
type: [String, Number],
|
|
5
|
+
default: "100%"
|
|
6
|
+
},
|
|
7
|
+
/** 顶栏菜单数据 */
|
|
8
|
+
headerMenus: Array,
|
|
9
|
+
/** 顶栏菜单选中 */
|
|
10
|
+
headerActive: String,
|
|
11
|
+
/** 侧栏菜单数据 */
|
|
12
|
+
sidebarMenus: Array,
|
|
13
|
+
/** 侧栏菜单选中 */
|
|
14
|
+
sidebarActive: String,
|
|
15
|
+
/** 双侧栏一级菜单数据 */
|
|
16
|
+
sideboxMenus: Array,
|
|
17
|
+
/** 双侧栏一级菜单选中 */
|
|
18
|
+
sideboxActive: String,
|
|
19
|
+
/** 页签数据 */
|
|
20
|
+
tabs: Array,
|
|
21
|
+
/** 页签选中 */
|
|
22
|
+
tabActive: String,
|
|
23
|
+
/** 面包屑导航数据 */
|
|
24
|
+
levels: Array,
|
|
25
|
+
/** 是否折叠侧栏 */
|
|
26
|
+
collapse: Boolean,
|
|
27
|
+
/** 双侧栏一级是否紧凑风格 */
|
|
28
|
+
compact: Boolean,
|
|
29
|
+
/** 内容区是否最大化 */
|
|
30
|
+
maximized: [Boolean, String],
|
|
31
|
+
/** 是否需要页签栏 */
|
|
32
|
+
tabBar: [Boolean, String],
|
|
33
|
+
/** 是否需要面包屑导航 */
|
|
34
|
+
breadcrumb: [Boolean, Object],
|
|
35
|
+
/** 是否需要返回顶部 */
|
|
36
|
+
backTop: [Boolean, Object],
|
|
37
|
+
/** 顶栏菜单属性 */
|
|
38
|
+
headerMenuProps: Object,
|
|
39
|
+
/** 侧栏菜单属性 */
|
|
40
|
+
sidebarMenuProps: Object,
|
|
41
|
+
/** 双侧栏一级菜单属性 */
|
|
42
|
+
sideboxMenuProps: Object,
|
|
43
|
+
/** 布局类型 */
|
|
44
|
+
layout: String,
|
|
45
|
+
/** 侧栏布局类型 */
|
|
46
|
+
sidebarLayout: String,
|
|
47
|
+
/** 顶栏风格 */
|
|
48
|
+
headerStyle: String,
|
|
49
|
+
/** 侧栏风格 */
|
|
50
|
+
sidebarStyle: String,
|
|
51
|
+
/** 页签风格 */
|
|
52
|
+
tabStyle: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: "simple"
|
|
55
|
+
},
|
|
56
|
+
/** 是否固定顶栏 */
|
|
57
|
+
fixedHeader: Boolean,
|
|
58
|
+
/** 是否固定侧栏 */
|
|
59
|
+
fixedSidebar: Boolean,
|
|
60
|
+
/** 是否固定内容区 */
|
|
61
|
+
fixedBody: Boolean,
|
|
62
|
+
/** logo是否置于顶栏 */
|
|
63
|
+
logoInHeader: Boolean,
|
|
64
|
+
/** 是否需要固定的主页页签 */
|
|
65
|
+
fixedHome: Boolean,
|
|
66
|
+
/** 主页路由地址 */
|
|
67
|
+
homePath: String,
|
|
68
|
+
/** 是否选中固定的主页页签 */
|
|
69
|
+
isHome: Boolean,
|
|
70
|
+
/** 是否支持页签右键菜单 */
|
|
71
|
+
tabContextMenu: [Boolean, Object],
|
|
72
|
+
/** 页签右键菜单数据 */
|
|
73
|
+
tabContextMenus: [Array, Function],
|
|
74
|
+
/** 是否支持页签拖动排序 */
|
|
75
|
+
tabSortable: Boolean,
|
|
76
|
+
/** 顶栏菜单标题插槽名称 */
|
|
77
|
+
headerTitleSlot: {
|
|
78
|
+
type: String,
|
|
79
|
+
default: "title"
|
|
80
|
+
},
|
|
81
|
+
/** 顶栏菜单图标插槽名称 */
|
|
82
|
+
headerIconSlot: {
|
|
83
|
+
type: String,
|
|
84
|
+
default: "icon"
|
|
85
|
+
},
|
|
86
|
+
/** 侧栏菜单标题插槽名称 */
|
|
87
|
+
sidebarTitleSlot: {
|
|
88
|
+
type: String,
|
|
89
|
+
default: "title"
|
|
90
|
+
},
|
|
91
|
+
/** 侧栏菜单图标插槽名称 */
|
|
92
|
+
sidebarIconSlot: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: "icon"
|
|
95
|
+
},
|
|
96
|
+
/** 双侧栏一级菜单标题插槽名称 */
|
|
97
|
+
sideboxTitleSlot: {
|
|
98
|
+
type: String,
|
|
99
|
+
default: "title"
|
|
100
|
+
},
|
|
101
|
+
/** 双侧栏一级菜单图标插槽名称 */
|
|
102
|
+
sideboxIconSlot: {
|
|
103
|
+
type: String,
|
|
104
|
+
default: "icon"
|
|
105
|
+
},
|
|
106
|
+
/** 顶栏样式 */
|
|
107
|
+
headerCustomStyle: Object,
|
|
108
|
+
/** 侧栏样式 */
|
|
109
|
+
sidebarCustomStyle: Object,
|
|
110
|
+
/** 双侧栏一级样式 */
|
|
111
|
+
sideboxCustomStyle: Object,
|
|
112
|
+
/** 页签栏样式 */
|
|
113
|
+
tabsCustomStyle: Object,
|
|
114
|
+
/** 内容区样式 */
|
|
115
|
+
contentCustomStyle: Object,
|
|
116
|
+
/** logo样式 */
|
|
117
|
+
logoStyle: Object,
|
|
118
|
+
/** logo文字样式 */
|
|
119
|
+
logoTitleStyle: Object,
|
|
120
|
+
/** 顶栏菜单样式 */
|
|
121
|
+
headerMenusStyle: Object,
|
|
122
|
+
/** 侧栏菜单样式 */
|
|
123
|
+
sidebarMenusStyle: Object,
|
|
124
|
+
/** 双侧栏一级菜单样式 */
|
|
125
|
+
sideboxMenusStyle: Object,
|
|
126
|
+
/** logo图片地址 */
|
|
127
|
+
logoSrc: String,
|
|
128
|
+
/** logo文字 */
|
|
129
|
+
logoTitle: String,
|
|
130
|
+
/** 菜单是否自动滚动到选中位置 */
|
|
131
|
+
menuScrollToActive: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
default: true
|
|
134
|
+
},
|
|
135
|
+
/** 是否是移动端风格 */
|
|
136
|
+
mobile: Boolean
|
|
137
|
+
};
|
|
138
|
+
const adminLayoutEmits = {
|
|
139
|
+
"update:collapse": (_collapse) => true,
|
|
140
|
+
logoClick: (_e) => true,
|
|
141
|
+
headMenuOpen: (_index, _indexPath) => true,
|
|
142
|
+
headMenuClose: (_index, _indexPath) => true,
|
|
143
|
+
headMenuItemClick: (_item, _e) => true,
|
|
144
|
+
headMenuItemMouseenter: (_item, _e) => true,
|
|
145
|
+
headMenuItemMouseleave: (_item, _e) => true,
|
|
146
|
+
headMouseenter: (_e) => true,
|
|
147
|
+
headMouseleave: (_e) => true,
|
|
148
|
+
boxMenuItemClick: (_item, _e) => true,
|
|
149
|
+
boxMenuItemMouseenter: (_item, _e) => true,
|
|
150
|
+
boxMenuItemMouseleave: (_item, _e) => true,
|
|
151
|
+
boxMouseenter: (_e) => true,
|
|
152
|
+
boxMouseleave: (_e) => true,
|
|
153
|
+
sideMenuOpen: (_index, _indexPath) => true,
|
|
154
|
+
sideMenuClose: (_index, _indexPath) => true,
|
|
155
|
+
sideMenuItemClick: (_item, _e) => true,
|
|
156
|
+
sideMouseenter: (_e) => true,
|
|
157
|
+
sideMouseleave: (_e) => true,
|
|
158
|
+
tabClick: (_option) => true,
|
|
159
|
+
tabRemove: (_name) => true,
|
|
160
|
+
tabContextMenu: (_option) => true,
|
|
161
|
+
tabSortChange: (_data) => true,
|
|
162
|
+
contentMounted: (_contentEl, _modalsEl) => true
|
|
163
|
+
};
|
|
164
|
+
const LAYOUT_KEY = Symbol("layout");
|
|
165
|
+
export {
|
|
166
|
+
LAYOUT_KEY,
|
|
167
|
+
adminLayoutEmits,
|
|
168
|
+
adminLayoutProps
|
|
169
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use '../../style/util.scss' as *;
|
|
2
|
+
|
|
3
|
+
/* 布局主题变量 */
|
|
4
|
+
@mixin set-layout-var($var) {
|
|
5
|
+
.ele-admin-layout {
|
|
6
|
+
@include set-ele-var('layout', $var);
|
|
7
|
+
@include set-ele-var('logo', $var);
|
|
8
|
+
@include set-ele-var('header', $var);
|
|
9
|
+
@include set-ele-var('sidebar', $var);
|
|
10
|
+
@include set-ele-var('sidebox', $var);
|
|
11
|
+
@include set-ele-var('menu-thumb', $var);
|
|
12
|
+
@include set-ele-var('menu-dark-thumb', $var);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
@use '../../style/themes/default.scss' as *;
|
|
2
|
+
@use '../../style/util.scss' as *;
|
|
3
|
+
|
|
4
|
+
/* 顶栏 */
|
|
5
|
+
.ele-admin-header {
|
|
6
|
+
flex-shrink: 0;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
height: eleVar('header', 'height');
|
|
10
|
+
line-height: eleVar('header', 'height');
|
|
11
|
+
background: eleVar('header', 'bg');
|
|
12
|
+
box-shadow: eleVar('header', 'shadow');
|
|
13
|
+
z-index: calc(#{eleVar('layout', 'index')} + 2);
|
|
14
|
+
transition: all $transition-base;
|
|
15
|
+
|
|
16
|
+
/* 顶栏面包屑导航 */
|
|
17
|
+
.ele-admin-breadcrumb {
|
|
18
|
+
$tool-padding: eleVar('header', 'tool-padding');
|
|
19
|
+
margin-left: calc(#{eleVar('header', 'tools-padding')} + #{$tool-padding});
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* 顶栏菜单 */
|
|
24
|
+
.ele-admin-menus {
|
|
25
|
+
flex: 1;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
|
|
28
|
+
& > .ele-menu {
|
|
29
|
+
$menu-height: eleVar('header', 'menu-height');
|
|
30
|
+
#{eleVarName('menu-horizontal', 'height')}: #{$menu-height};
|
|
31
|
+
padding-top: 0;
|
|
32
|
+
padding-bottom: 0;
|
|
33
|
+
background: none;
|
|
34
|
+
border: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* 顶栏页签栏 */
|
|
39
|
+
& > .ele-admin-tabs {
|
|
40
|
+
flex: 1;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
line-height: normal;
|
|
43
|
+
|
|
44
|
+
&.ele-tab-wrap {
|
|
45
|
+
padding-right: 0;
|
|
46
|
+
background: none;
|
|
47
|
+
box-shadow: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& + .ele-admin-tools {
|
|
51
|
+
padding-left: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.is-simple,
|
|
55
|
+
&.is-indicator {
|
|
56
|
+
align-self: flex-end;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
& > .ele-admin-tabs.ele-tab-wrap.is-simple,
|
|
61
|
+
& > .ele-admin-tabs.ele-tab-wrap.is-indicator,
|
|
62
|
+
& > .ele-tab-wrap .ele-tabs.is-simple,
|
|
63
|
+
& > .ele-tab-wrap .ele-tabs.is-indicator {
|
|
64
|
+
$height: eleVar('header', 'height');
|
|
65
|
+
$tool-height: eleVar('header', 'tool-height');
|
|
66
|
+
$tab-height: calc(#{$height} - (#{$height} - #{$tool-height}) / 2);
|
|
67
|
+
#{eleVarName('tab', 'height')}: #{$tab-height};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* 顶栏与页签栏分割线 */
|
|
71
|
+
&.show-divider {
|
|
72
|
+
box-shadow: 0 -0.8px 0 eleVar('header', 'line-color') inset;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* 模糊透明顶栏 */
|
|
76
|
+
&.is-ghost {
|
|
77
|
+
background: eleVar('header', 'ghost-bg');
|
|
78
|
+
backdrop-filter: eleVar('header', 'ghost-filter');
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* 固定顶栏 */
|
|
82
|
+
&.is-fixed {
|
|
83
|
+
position: sticky;
|
|
84
|
+
top: 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* 顶栏操作按钮容器 */
|
|
89
|
+
.ele-admin-tools {
|
|
90
|
+
flex-shrink: 0;
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
padding: 0 eleVar('header', 'tools-padding');
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
height: 100%;
|
|
96
|
+
|
|
97
|
+
& + .ele-admin-breadcrumb {
|
|
98
|
+
margin-left: 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
& + .ele-admin-tabs {
|
|
102
|
+
&.ele-tab-wrap,
|
|
103
|
+
&:not(.is-fixed-home) .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
104
|
+
padding-left: 0;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
& + .is-simple,
|
|
109
|
+
& + .is-indicator {
|
|
110
|
+
&.is-fixed-home,
|
|
111
|
+
&:not(.is-fixed-home) .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
112
|
+
padding-left: eleVar('tab', 'simple-angle-size');
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
& + .is-button {
|
|
117
|
+
&.is-fixed-home,
|
|
118
|
+
&:not(.is-fixed-home) .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
119
|
+
padding-left: eleVar('tab', 'button-space');
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* 暗色顶栏 */
|
|
125
|
+
.ele-admin-header.is-dark,
|
|
126
|
+
.ele-admin-header.is-primary {
|
|
127
|
+
color: eleVar('header', 'dark-color');
|
|
128
|
+
background: eleVar('header', 'dark-bg');
|
|
129
|
+
box-shadow: eleVar('header', 'dark-shadow');
|
|
130
|
+
|
|
131
|
+
/* 暗色顶栏面包屑 */
|
|
132
|
+
.ele-breadcrumb .el-breadcrumb__item {
|
|
133
|
+
.el-breadcrumb__inner,
|
|
134
|
+
.el-breadcrumb__separator {
|
|
135
|
+
color: rgba(255, 255, 255, 0.8);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.el-breadcrumb__inner.is-link:hover,
|
|
139
|
+
&:last-child .el-breadcrumb__inner {
|
|
140
|
+
color: eleVar('header', 'dark-color');
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* 暗色顶栏页签栏 */
|
|
145
|
+
& > .ele-admin-tabs.ele-tab-wrap,
|
|
146
|
+
& > .ele-admin-tabs .ele-tabs {
|
|
147
|
+
$color: eleVar('header', 'dark-color');
|
|
148
|
+
$hover-bg: eleVar('header', 'dark-tool-hover-bg');
|
|
149
|
+
#{eleVarName('tab', 'color')}: #{$color};
|
|
150
|
+
#{eleVarName('tab', 'hover-color')}: #{$color};
|
|
151
|
+
#{eleVarName('tab', 'close-color')}: #{$color};
|
|
152
|
+
#{eleVarName('tab', 'close-hover-color')}: #{$color};
|
|
153
|
+
#{eleVarName('tab', 'close-hover-bg')}: #{$hover-bg};
|
|
154
|
+
#{eleVarName('tab', 'tool-color')}: #{$color};
|
|
155
|
+
#{eleVarName('tab', 'tool-hover-color')}: #{$color};
|
|
156
|
+
#{eleVarName('tab', 'simple-hover-color')}: #{$color};
|
|
157
|
+
#{eleVarName('tab', 'simple-hover-bg')}: #{$hover-bg};
|
|
158
|
+
#{eleVarName('tab', 'simple-active-bg')}: #{elVar('bg-color', 'overlay')};
|
|
159
|
+
#{eleVarName('tab', 'simple-active-line')}: 0px;
|
|
160
|
+
#{eleVarName('tab', 'simple-tool-hover-bg')}: transparent;
|
|
161
|
+
#{eleVarName('tab', 'indicator-dot-color')}: rgba(255, 255, 255, 0.4);
|
|
162
|
+
#{eleVarName('tab', 'indicator-dot-hover-color')}: rgba(255, 255, 255, 0.6);
|
|
163
|
+
#{eleVarName('tab', 'button-bg')}: #{$hover-bg};
|
|
164
|
+
#{eleVarName('tab', 'button-hover-bg')}: rgba(255, 255, 255, 0.2);
|
|
165
|
+
#{eleVarName('tab', 'button-hover-color')}: #{$color};
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ele-admin-header.is-dark > .ele-admin-tabs.ele-tab-wrap,
|
|
170
|
+
.ele-admin-header.is-dark > .ele-admin-tabs .ele-tabs {
|
|
171
|
+
$color: eleVar('header', 'dark-color');
|
|
172
|
+
$hover-bg: eleVar('header', 'dark-tool-hover-bg');
|
|
173
|
+
#{eleVarName('tab', 'active-close-color')}: #{$color};
|
|
174
|
+
#{eleVarName('tab', 'active-close-hover-color')}: #{$color};
|
|
175
|
+
#{eleVarName('tab', 'active-close-hover-bg')}: #{$hover-bg};
|
|
176
|
+
#{eleVarName('tab', 'simple-active-color')}: #{$color};
|
|
177
|
+
#{eleVarName('tab', 'simple-active-bg')}: #{elVar('color-primary')};
|
|
178
|
+
#{eleVarName('tab', 'indicator-dot-active-color')}: #{$color};
|
|
179
|
+
#{eleVarName('tab', 'button-active-color')}: #{$color};
|
|
180
|
+
#{eleVarName('tab', 'button-active-bg')}: #{elVar('color-primary')};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* 主色顶栏 */
|
|
184
|
+
.ele-admin-header.is-primary {
|
|
185
|
+
background: elVar('color-primary');
|
|
186
|
+
|
|
187
|
+
/* 主色顶栏菜单 */
|
|
188
|
+
.ele-admin-menus > .ele-menu {
|
|
189
|
+
$active-bg: eleVar('header', 'primary-active-bg');
|
|
190
|
+
#{eleVarName('menu-horizontal', 'dark-active-bg')}: #{$active-bg};
|
|
191
|
+
}
|
|
192
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "element-plus/es/components/scrollbar/style/index";
|
|
2
|
+
import "element-plus/es/components/icon/style/index";
|
|
3
|
+
import "../../ele-menus/style/index";
|
|
4
|
+
import "../../ele-breadcrumb/style/index";
|
|
5
|
+
import "../../ele-backtop/style/index";
|
|
6
|
+
import "../../ele-tab-wrap/style/index";
|
|
7
|
+
import "../../ele-tab-tool/style/index";
|
|
8
|
+
import "../../ele-tabs/style/index";
|
|
9
|
+
import "./index.scss";
|