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,313 @@
|
|
|
1
|
+
@use '../../style/themes/default.scss' as *;
|
|
2
|
+
@use '../../style/util.scss' as *;
|
|
3
|
+
@use './css-var.scss' as *;
|
|
4
|
+
@use './tabs.scss';
|
|
5
|
+
@use './header.scss';
|
|
6
|
+
@use './sidebar.scss';
|
|
7
|
+
|
|
8
|
+
@include set-layout-var($ele);
|
|
9
|
+
|
|
10
|
+
.ele-admin-layout {
|
|
11
|
+
flex-shrink: 0;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
background: eleVar('layout', 'bg');
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
position: relative;
|
|
17
|
+
min-height: 100vh;
|
|
18
|
+
min-height: 100dvh;
|
|
19
|
+
|
|
20
|
+
& > .ele-admin-header {
|
|
21
|
+
z-index: calc(#{eleVar('layout', 'index')} + 4);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.ele-admin-main,
|
|
26
|
+
.ele-admin-body,
|
|
27
|
+
.ele-admin-wrapper,
|
|
28
|
+
.ele-admin-content {
|
|
29
|
+
flex: auto;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ele-admin-layout.is-row-direction,
|
|
35
|
+
.ele-admin-main.is-row-direction {
|
|
36
|
+
flex-direction: row;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ele-admin-wrapper {
|
|
40
|
+
position: relative;
|
|
41
|
+
|
|
42
|
+
& > .ele-backtop {
|
|
43
|
+
z-index: calc(#{eleVar('layout', 'index')} + 1);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* 主体宽度 */
|
|
48
|
+
.ele-admin-layout.is-row-direction > .ele-admin-main,
|
|
49
|
+
.ele-admin-main.is-row-direction > .ele-admin-body {
|
|
50
|
+
flex: 0 1 auto;
|
|
51
|
+
transition: width $transition-base;
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ele-admin-layout > .ele-admin-side + .ele-admin-main,
|
|
56
|
+
.ele-admin-main > .ele-admin-side + .ele-admin-body {
|
|
57
|
+
width: calc(100% - #{eleVar('sidebar', 'width')});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ele-admin-side.is-collapse + .ele-admin-main,
|
|
61
|
+
.ele-admin-side.is-collapse + .ele-admin-body {
|
|
62
|
+
width: calc(100% - #{eleVar('sidebar', 'collapse-width')});
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ele-admin-side.is-mix + .ele-admin-main,
|
|
66
|
+
.ele-admin-side.is-mix + .ele-admin-body {
|
|
67
|
+
$box-width: eleVar('sidebox', 'width');
|
|
68
|
+
width: calc(100% - #{eleVar('sidebar', 'mix-width')} - #{$box-width});
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ele-admin-side.is-mix.is-collapse + .ele-admin-main,
|
|
72
|
+
.ele-admin-side.is-mix.is-collapse + .ele-admin-body {
|
|
73
|
+
width: calc(100% - #{eleVar('sidebox', 'width')});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ele-admin-side.is-compact + .ele-admin-main,
|
|
77
|
+
.ele-admin-side.is-compact + .ele-admin-body {
|
|
78
|
+
$box-width: eleVar('sidebar', 'collapse-width');
|
|
79
|
+
width: calc(100% - #{eleVar('sidebar', 'mix-width')} - #{$box-width});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ele-admin-side.is-compact.is-collapse + .ele-admin-main,
|
|
83
|
+
.ele-admin-side.is-compact.is-collapse + .ele-admin-body {
|
|
84
|
+
width: calc(100% - #{eleVar('sidebar', 'collapse-width')});
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ele-admin-side.is-box + .ele-admin-main,
|
|
88
|
+
.ele-admin-side.is-box + .ele-admin-body {
|
|
89
|
+
width: calc(100% - #{eleVar('sidebox', 'width')});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ele-admin-side.is-box.is-compact + .ele-admin-main,
|
|
93
|
+
.ele-admin-side.is-box.is-compact + .ele-admin-body {
|
|
94
|
+
width: calc(100% - #{eleVar('sidebar', 'collapse-width')});
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ele-admin-layout.is-row-direction.is-mobile > .ele-admin-main,
|
|
98
|
+
.ele-admin-layout.is-row-direction.is-fixed-body > .ele-admin-main,
|
|
99
|
+
.ele-admin-layout.is-fixed-body > .ele-admin-main > .ele-admin-body,
|
|
100
|
+
.ele-admin-layout.is-row-direction.is-maximized > .ele-admin-main,
|
|
101
|
+
.ele-admin-layout.is-maximized > .ele-admin-main > .ele-admin-body {
|
|
102
|
+
width: 100%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ele-admin-layout {
|
|
106
|
+
/* 固定主体 */
|
|
107
|
+
&.is-fixed-body {
|
|
108
|
+
height: 100vh;
|
|
109
|
+
height: 100dvh;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.is-fixed-body > .ele-admin-main,
|
|
113
|
+
&.is-fixed-body > .ele-admin-main > .ele-admin-body,
|
|
114
|
+
&.is-fixed-body > .ele-admin-main > .ele-admin-side,
|
|
115
|
+
&.is-fixed-body > .ele-admin-side {
|
|
116
|
+
height: 100%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.is-fixed-body > .ele-admin-main,
|
|
120
|
+
&.is-fixed-body > .ele-admin-main > .ele-admin-body,
|
|
121
|
+
&.is-fixed-body > .ele-admin-main > .ele-admin-body > .ele-admin-wrapper {
|
|
122
|
+
overflow: auto;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.is-fixed-body > .ele-admin-main > .ele-admin-body > .ele-admin-wrapper {
|
|
126
|
+
& > .ele-admin-content {
|
|
127
|
+
overflow-x: hidden;
|
|
128
|
+
overflow-y: auto;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
& > .ele-backtop {
|
|
132
|
+
z-index: eleVar('layout', 'index');
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* 内容全屏 */
|
|
137
|
+
&.is-maximized > .ele-admin-header,
|
|
138
|
+
&.is-maximized > .ele-admin-main > .ele-admin-header,
|
|
139
|
+
&.is-maximized > .ele-admin-main > .ele-admin-side,
|
|
140
|
+
&.is-maximized > .ele-admin-side,
|
|
141
|
+
&.is-expanded > .ele-admin-main > .ele-admin-body > .ele-admin-tabs {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* 移动端风格 */
|
|
146
|
+
&.is-mobile > .ele-admin-side {
|
|
147
|
+
width: 0;
|
|
148
|
+
z-index: calc(#{eleVar('layout', 'mask-index')} + 1);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.is-collapse > .ele-admin-side {
|
|
152
|
+
& > .ele-admin-sidebar,
|
|
153
|
+
& > .ele-admin-sidebox {
|
|
154
|
+
visibility: hidden;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
& > .ele-admin-sidebar {
|
|
158
|
+
transform: translateX(-100%);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
& > .ele-admin-sidebar.is-mix,
|
|
162
|
+
& > .ele-admin-sidebox {
|
|
163
|
+
$mix-width: eleVar('sidebar', 'mix-width');
|
|
164
|
+
$box-width: eleVar('sidebox', 'width');
|
|
165
|
+
transform: translateX(calc(#{$box-width} * -1 - #{$mix-width}));
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&.is-collapse > .ele-admin-mask,
|
|
170
|
+
&:not(.is-mobile) > .ele-admin-mask {
|
|
171
|
+
visibility: hidden;
|
|
172
|
+
opacity: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* 禁用过渡效果 */
|
|
176
|
+
&.is-transition-disabled {
|
|
177
|
+
& > .ele-admin-header,
|
|
178
|
+
& > .ele-admin-main > .ele-admin-header,
|
|
179
|
+
& > .ele-admin-main > .ele-admin-side > .ele-admin-sidebar,
|
|
180
|
+
& > .ele-admin-main > .ele-admin-side > .ele-admin-sidebox,
|
|
181
|
+
& > .ele-admin-side > .ele-admin-sidebar,
|
|
182
|
+
& > .ele-admin-side > .ele-admin-sidebox,
|
|
183
|
+
& > .ele-admin-main,
|
|
184
|
+
& > .ele-admin-main > .ele-admin-body {
|
|
185
|
+
transition: none !important;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* logo */
|
|
191
|
+
.ele-admin-logo,
|
|
192
|
+
.ele-admin-logo-title {
|
|
193
|
+
flex-shrink: 0;
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
justify-content: center;
|
|
197
|
+
color: eleVar('logo', 'color');
|
|
198
|
+
font-size: eleVar('logo', 'size');
|
|
199
|
+
font-family: eleVar('logo', 'family');
|
|
200
|
+
height: eleVar('header', 'height');
|
|
201
|
+
position: relative;
|
|
202
|
+
overflow: hidden;
|
|
203
|
+
|
|
204
|
+
h1 {
|
|
205
|
+
margin: 0;
|
|
206
|
+
font-weight: 600;
|
|
207
|
+
font-size: inherit;
|
|
208
|
+
text-overflow: ellipsis;
|
|
209
|
+
word-break: break-all;
|
|
210
|
+
white-space: nowrap;
|
|
211
|
+
overflow: hidden;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.ele-admin-logo > img {
|
|
216
|
+
width: 30px;
|
|
217
|
+
height: 30px;
|
|
218
|
+
|
|
219
|
+
& + h1 {
|
|
220
|
+
margin-left: 8px;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.ele-admin-sidebar.is-collapse > .ele-admin-logo > img + h1 {
|
|
225
|
+
display: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.ele-admin-header > .ele-admin-logo {
|
|
229
|
+
$tool-padding: eleVar('header', 'tool-padding');
|
|
230
|
+
margin-left: calc(#{eleVar('header', 'tools-padding')} + #{$tool-padding});
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ele-admin-header.is-dark > .ele-admin-logo,
|
|
234
|
+
.ele-admin-header.is-primary > .ele-admin-logo,
|
|
235
|
+
.ele-admin-sidebar.is-dark > .ele-admin-logo,
|
|
236
|
+
.ele-admin-sidebar.is-dark > .ele-admin-logo-title,
|
|
237
|
+
.ele-admin-sidebox.is-dark > .ele-admin-logo {
|
|
238
|
+
color: eleVar('logo', 'dark-color');
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* 操作按钮 */
|
|
242
|
+
.ele-admin-tool {
|
|
243
|
+
flex-shrink: 0;
|
|
244
|
+
display: flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
justify-content: center;
|
|
247
|
+
height: eleVar('header', 'tool-height');
|
|
248
|
+
padding: 0 eleVar('header', 'tool-padding');
|
|
249
|
+
border-radius: eleVar('header', 'tool-radius');
|
|
250
|
+
transition: (color $transition-base, background-color $transition-base);
|
|
251
|
+
box-sizing: border-box;
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
|
|
254
|
+
&:hover {
|
|
255
|
+
background: eleVar('header', 'tool-hover-bg');
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
& > .el-dropdown {
|
|
259
|
+
color: inherit;
|
|
260
|
+
cursor: inherit;
|
|
261
|
+
font-size: inherit;
|
|
262
|
+
line-height: inherit;
|
|
263
|
+
align-items: center;
|
|
264
|
+
height: 100%;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.ele-admin-header.is-dark .ele-admin-tool:hover,
|
|
269
|
+
.ele-admin-header.is-primary .ele-admin-tool:hover,
|
|
270
|
+
.ele-admin-sidebar.is-dark .ele-admin-tool:hover,
|
|
271
|
+
.ele-admin-sidebox.is-dark .ele-admin-tool:hover {
|
|
272
|
+
background: eleVar('header', 'dark-tool-hover-bg');
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.ele-admin-sidebar .ele-admin-tool,
|
|
276
|
+
.ele-admin-sidebox .ele-admin-tool {
|
|
277
|
+
height: eleVar('sidebar', 'tool-height');
|
|
278
|
+
padding: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.ele-admin-sidebar.is-dark .ele-admin-tool,
|
|
282
|
+
.ele-admin-sidebox.is-dark .ele-admin-tool {
|
|
283
|
+
color: eleVar('header', 'dark-color');
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* 模态框容器 */
|
|
287
|
+
.ele-admin-modals {
|
|
288
|
+
flex-shrink: 0;
|
|
289
|
+
position: absolute;
|
|
290
|
+
top: 0;
|
|
291
|
+
left: 0;
|
|
292
|
+
right: 0;
|
|
293
|
+
bottom: 0;
|
|
294
|
+
width: 100%;
|
|
295
|
+
height: 100%;
|
|
296
|
+
pointer-events: none;
|
|
297
|
+
z-index: eleVar('layout', 'index');
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* 遮罩 */
|
|
301
|
+
.ele-admin-mask {
|
|
302
|
+
flex-shrink: 0;
|
|
303
|
+
position: absolute;
|
|
304
|
+
top: 0;
|
|
305
|
+
left: 0;
|
|
306
|
+
right: 0;
|
|
307
|
+
bottom: 0;
|
|
308
|
+
width: 100%;
|
|
309
|
+
height: 100%;
|
|
310
|
+
z-index: eleVar('layout', 'mask-index');
|
|
311
|
+
background: elVar('overlay-color', 'lighter');
|
|
312
|
+
transition: all $transition-base;
|
|
313
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
@use '../../style/themes/default.scss' as *;
|
|
2
|
+
@use '../../style/util.scss' as *;
|
|
3
|
+
|
|
4
|
+
/* 侧栏容器 */
|
|
5
|
+
.ele-admin-side {
|
|
6
|
+
flex-shrink: 0;
|
|
7
|
+
display: flex;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
z-index: calc(#{eleVar('layout', 'index')} + 3);
|
|
10
|
+
position: relative;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* 侧栏 */
|
|
14
|
+
.ele-admin-sidebar {
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
width: eleVar('sidebar', 'width');
|
|
19
|
+
background: eleVar('sidebar', 'bg');
|
|
20
|
+
box-shadow: eleVar('sidebar', 'shadow');
|
|
21
|
+
z-index: calc(#{eleVar('layout', 'index')} + 3);
|
|
22
|
+
transition: all $transition-base;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
position: relative;
|
|
25
|
+
|
|
26
|
+
/* 侧栏菜单 */
|
|
27
|
+
.ele-admin-menus {
|
|
28
|
+
flex: 1;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
|
|
31
|
+
& > .el-scrollbar__wrap {
|
|
32
|
+
position: relative;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
overflow-x: hidden;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
|
|
37
|
+
& > .el-scrollbar__view > .ele-menu {
|
|
38
|
+
width: 100%;
|
|
39
|
+
border: none;
|
|
40
|
+
background: none;
|
|
41
|
+
transition: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* 暗色侧栏 */
|
|
47
|
+
&.is-dark {
|
|
48
|
+
background: eleVar('sidebar', 'dark-bg');
|
|
49
|
+
box-shadow: eleVar('sidebar', 'dark-shadow');
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* 双侧栏 */
|
|
53
|
+
&.is-mix {
|
|
54
|
+
width: eleVar('sidebar', 'mix-width');
|
|
55
|
+
z-index: calc(#{eleVar('layout', 'index')} + 2);
|
|
56
|
+
|
|
57
|
+
&.is-dark {
|
|
58
|
+
border-left: 1px solid #000;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* 模糊透明侧栏 */
|
|
63
|
+
&.is-ghost {
|
|
64
|
+
background: eleVar('sidebar', 'ghost-bg');
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* 折叠侧栏 */
|
|
68
|
+
&.is-collapse {
|
|
69
|
+
&:not(.is-mix) {
|
|
70
|
+
width: eleVar('sidebar', 'collapse-width');
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.is-mix {
|
|
74
|
+
margin-left: calc(#{eleVar('sidebar', 'mix-width')} * -1);
|
|
75
|
+
visibility: hidden;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* 双侧栏一级 */
|
|
81
|
+
.ele-admin-sidebox {
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
width: eleVar('sidebox', 'width');
|
|
86
|
+
background: eleVar('sidebar', 'bg');
|
|
87
|
+
box-shadow: eleVar('sidebar', 'shadow');
|
|
88
|
+
z-index: calc(#{eleVar('layout', 'index')} + 3);
|
|
89
|
+
transition: all $transition-base;
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
position: relative;
|
|
92
|
+
|
|
93
|
+
/* 双侧栏一级菜单 */
|
|
94
|
+
.ele-admin-menus {
|
|
95
|
+
flex: 1;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
|
|
98
|
+
& > .el-scrollbar__wrap {
|
|
99
|
+
position: relative;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
overflow-x: hidden;
|
|
102
|
+
overflow-y: auto;
|
|
103
|
+
|
|
104
|
+
& > .el-scrollbar__view > .ele-menu {
|
|
105
|
+
border: none;
|
|
106
|
+
background: none;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* 暗色双侧栏一级 */
|
|
112
|
+
&.is-dark {
|
|
113
|
+
background: eleVar('sidebar', 'dark-bg');
|
|
114
|
+
box-shadow: eleVar('sidebar', 'dark-shadow');
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* 模糊透明双侧栏一级 */
|
|
118
|
+
&.is-ghost {
|
|
119
|
+
background: eleVar('sidebar', 'ghost-bg');
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* 与侧栏分割线 */
|
|
123
|
+
&.show-divider {
|
|
124
|
+
box-shadow: -0.8px 0 0 eleVar('header', 'line-color') inset;
|
|
125
|
+
|
|
126
|
+
&.is-dark {
|
|
127
|
+
box-shadow: none;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* 折叠双侧栏一级 */
|
|
132
|
+
&.is-compact {
|
|
133
|
+
width: eleVar('sidebar', 'collapse-width');
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* 固定侧栏 */
|
|
138
|
+
.ele-admin-side.is-fixed {
|
|
139
|
+
position: sticky;
|
|
140
|
+
left: 0;
|
|
141
|
+
top: 0;
|
|
142
|
+
height: 100vh;
|
|
143
|
+
height: 100dvh;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ele-admin-side.show-placeholder {
|
|
147
|
+
margin-top: calc(eleVar('header', 'height') * -1);
|
|
148
|
+
|
|
149
|
+
& > .ele-admin-sidebar,
|
|
150
|
+
& > .ele-admin-sidebox {
|
|
151
|
+
padding-top: eleVar('header', 'height');
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* 侧栏菜单滚动条 */
|
|
156
|
+
.ele-admin-sidebar > .ele-admin-menus,
|
|
157
|
+
.ele-admin-sidebox > .ele-admin-menus {
|
|
158
|
+
$size: eleVar('menu-thumb', 'size');
|
|
159
|
+
$padding: eleVar('menu-thumb', 'padding');
|
|
160
|
+
$hover-color: eleVar('menu-thumb', 'hover-color');
|
|
161
|
+
#{elVarName('scrollbar', 'opacity')}: 1;
|
|
162
|
+
#{elVarName('scrollbar', 'hover-opacity')}: 1;
|
|
163
|
+
#{elVarName('scrollbar', 'bg-color')}: eleVar('menu-thumb', 'color');
|
|
164
|
+
#{elVarName('scrollbar', 'hover-bg-color')}: #{$hover-color};
|
|
165
|
+
|
|
166
|
+
& > .el-scrollbar__bar.is-vertical {
|
|
167
|
+
width: calc(#{$size} - #{$padding} * 2);
|
|
168
|
+
border-radius: eleVar('menu-thumb', 'radius');
|
|
169
|
+
right: $padding;
|
|
170
|
+
z-index: 9;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
& > .el-scrollbar__bar.is-horizontal {
|
|
174
|
+
height: calc(#{$size} - #{$padding} * 2);
|
|
175
|
+
border-radius: eleVar('menu-thumb', 'radius');
|
|
176
|
+
bottom: $padding;
|
|
177
|
+
z-index: 9;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* 暗色侧栏菜单滚动条 */
|
|
182
|
+
.ele-admin-sidebar.is-dark > .ele-admin-menus,
|
|
183
|
+
.ele-admin-sidebox.is-dark > .ele-admin-menus {
|
|
184
|
+
$dark-hover-color: eleVar('menu-dark-thumb', 'hover-color');
|
|
185
|
+
#{elVarName('scrollbar', 'bg-color')}: eleVar('menu-dark-thumb', 'color');
|
|
186
|
+
#{elVarName('scrollbar', 'hover-bg-color')}: #{$dark-hover-color};
|
|
187
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@use '../../style/themes/default.scss' as *;
|
|
2
|
+
@use '../../style/util.scss' as *;
|
|
3
|
+
|
|
4
|
+
/* 页签栏 */
|
|
5
|
+
.ele-admin-tabs {
|
|
6
|
+
flex-shrink: 0;
|
|
7
|
+
background: eleVar('header', 'bg');
|
|
8
|
+
box-shadow: eleVar('header', 'shadow');
|
|
9
|
+
z-index: calc(#{eleVar('layout', 'index')} + 1);
|
|
10
|
+
$padding: eleVar('page', 'padding', #{eleVar('header', 'tools-padding')});
|
|
11
|
+
|
|
12
|
+
&:not(.is-fixed-home) {
|
|
13
|
+
.el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
14
|
+
padding-left: $padding;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.is-simple,
|
|
18
|
+
&.is-indicator {
|
|
19
|
+
.el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
20
|
+
padding-left: calc(#{$padding} - eleVar('tab', 'simple-angle-size'));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* 固定的主页页签 */
|
|
26
|
+
&.is-fixed-home {
|
|
27
|
+
padding-left: $padding;
|
|
28
|
+
|
|
29
|
+
&.is-tag .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
30
|
+
padding-left: eleVar('tab', 'tag-space');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.is-button .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
34
|
+
padding-left: eleVar('tab', 'button-space');
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* 标签风格页签栏 */
|
|
39
|
+
&.is-tag {
|
|
40
|
+
padding-right: eleVar('tab', 'tag-space');
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* 卡片风格页签栏 */
|
|
44
|
+
&.is-button {
|
|
45
|
+
padding-right: $padding;
|
|
46
|
+
background: eleVar('layout', 'bg');
|
|
47
|
+
box-shadow: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* 固定页签栏 */
|
|
51
|
+
&.is-fixed {
|
|
52
|
+
position: sticky;
|
|
53
|
+
top: eleVar('header', 'height');
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.is-fixed-top {
|
|
57
|
+
top: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 布局类型
|
|
3
|
+
*/
|
|
4
|
+
export type Layout = 'default' | 'top' | 'mix' | 'side';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 侧栏布局类型
|
|
8
|
+
*/
|
|
9
|
+
export type SidebarLayout = 'default' | 'mix' | 'box';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 顶栏风格
|
|
13
|
+
*/
|
|
14
|
+
export type HeaderStyle = 'light' | 'dark' | 'primary';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 侧栏风格
|
|
18
|
+
*/
|
|
19
|
+
export type SidebarStyle = 'light' | 'dark';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 页签风格
|
|
23
|
+
*/
|
|
24
|
+
export type TabStyle = 'simple' | 'indicator' | 'button' | 'tag';
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* 页签栏显示位置
|
|
28
|
+
*/
|
|
29
|
+
export type TabBar = boolean | 'header';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 内容区最大化
|
|
33
|
+
*/
|
|
34
|
+
export type Maximized = boolean | 'expanded';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 共享数据
|
|
38
|
+
*/
|
|
39
|
+
export interface LayoutProvide {
|
|
40
|
+
/** 布局类型 */
|
|
41
|
+
layout?: Layout;
|
|
42
|
+
/** 内容区是否最大化 */
|
|
43
|
+
maximized?: Maximized;
|
|
44
|
+
/** 是否固定顶栏 */
|
|
45
|
+
fixedHeader?: boolean;
|
|
46
|
+
/** 是否固定内容区 */
|
|
47
|
+
fixedBody?: boolean;
|
|
48
|
+
/** 模态框容器节点 */
|
|
49
|
+
modalsEl?: HTMLElement | null;
|
|
50
|
+
/** 获取模态框容器节点 */
|
|
51
|
+
getModalsEl?: () => HTMLElement | null;
|
|
52
|
+
/** 获取内容容器节点 */
|
|
53
|
+
getBodyWrapperEl?: () => HTMLElement | null | undefined;
|
|
54
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ElMessageOptions } from '../el';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
/** 内容 */
|
|
6
|
+
message: StringConstructor;
|
|
7
|
+
/** 类型 */
|
|
8
|
+
type: PropType<ElMessageOptions["type"]>;
|
|
9
|
+
/** 图标 */
|
|
10
|
+
icon: PropType<ElMessageOptions["icon"]>;
|
|
11
|
+
/** 是否显示关闭按钮 */
|
|
12
|
+
showClose: BooleanConstructor;
|
|
13
|
+
/** 内容是否是富文本 */
|
|
14
|
+
dangerouslyUseHTMLString: BooleanConstructor;
|
|
15
|
+
/** 是否是加载框 */
|
|
16
|
+
loading: PropType<boolean | null>;
|
|
17
|
+
/** 标识id */
|
|
18
|
+
messageId: StringConstructor;
|
|
19
|
+
}, {
|
|
20
|
+
handleClose: () => void;
|
|
21
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
close: () => true;
|
|
23
|
+
messageDestroy: (_messageId?: string) => true;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
|
+
/** 内容 */
|
|
26
|
+
message: StringConstructor;
|
|
27
|
+
/** 类型 */
|
|
28
|
+
type: PropType<ElMessageOptions["type"]>;
|
|
29
|
+
/** 图标 */
|
|
30
|
+
icon: PropType<ElMessageOptions["icon"]>;
|
|
31
|
+
/** 是否显示关闭按钮 */
|
|
32
|
+
showClose: BooleanConstructor;
|
|
33
|
+
/** 内容是否是富文本 */
|
|
34
|
+
dangerouslyUseHTMLString: BooleanConstructor;
|
|
35
|
+
/** 是否是加载框 */
|
|
36
|
+
loading: PropType<boolean | null>;
|
|
37
|
+
/** 标识id */
|
|
38
|
+
messageId: StringConstructor;
|
|
39
|
+
}>> & {
|
|
40
|
+
onClose?: (() => any) | undefined;
|
|
41
|
+
onMessageDestroy?: ((_messageId?: string | undefined) => any) | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
showClose: boolean;
|
|
44
|
+
dangerouslyUseHTMLString: boolean;
|
|
45
|
+
}, {}>;
|
|
46
|
+
export default _default;
|