yuang-framework-ui-pc 1.0.20 → 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 -45
- 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/lib/utils/vueRouterUtils.ts +0 -30
- 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/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
package/README.md
CHANGED
|
@@ -1,61 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# EleAdminPlus
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
https://eleadmin.com
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 安装
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Type Support for `.vue` Imports in TS
|
|
10
|
-
|
|
11
|
-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
-
|
|
13
|
-
## Customize configuration
|
|
14
|
-
|
|
15
|
-
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
|
16
|
-
|
|
17
|
-
## Project Setup
|
|
18
|
-
|
|
19
|
-
```sh
|
|
20
|
-
npm install
|
|
7
|
+
```bash
|
|
8
|
+
npm i --registry=https://registry.npmmirror.com
|
|
21
9
|
```
|
|
22
10
|
|
|
23
|
-
|
|
11
|
+
## 运行
|
|
24
12
|
|
|
25
|
-
|
|
26
|
-
npm run dev
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
### Type-Check, Compile and Minify for Production
|
|
13
|
+
全局引入方式运行:
|
|
30
14
|
|
|
31
|
-
```sh
|
|
32
|
-
npm run build
|
|
33
15
|
```
|
|
34
|
-
|
|
35
|
-
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
36
|
-
|
|
37
|
-
```sh
|
|
38
|
-
npm run test:unit
|
|
16
|
+
npm run dev
|
|
39
17
|
```
|
|
40
18
|
|
|
41
|
-
|
|
19
|
+
按需引入方式运行:
|
|
42
20
|
|
|
43
|
-
```
|
|
44
|
-
npm run
|
|
21
|
+
```bash
|
|
22
|
+
npm run dev:needed
|
|
45
23
|
```
|
|
46
24
|
|
|
47
|
-
|
|
48
|
-
It is much faster than the production build.
|
|
25
|
+
## 打包
|
|
49
26
|
|
|
50
|
-
|
|
27
|
+
全部打包:
|
|
51
28
|
|
|
52
|
-
```
|
|
29
|
+
```bash
|
|
53
30
|
npm run build
|
|
54
|
-
npm run test:e2e
|
|
55
31
|
```
|
|
56
32
|
|
|
57
|
-
|
|
33
|
+
打包指定组件:
|
|
58
34
|
|
|
59
|
-
```
|
|
60
|
-
npm run
|
|
35
|
+
```bash
|
|
36
|
+
npm run build src=/ele-alert
|
|
61
37
|
```
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
/** logo是否位于顶栏 */
|
|
3
|
+
isHeaderLogo: BooleanConstructor;
|
|
4
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5
|
+
/** logo是否位于顶栏 */
|
|
6
|
+
isHeaderLogo: BooleanConstructor;
|
|
7
|
+
}>>, {
|
|
8
|
+
isHeaderLogo: boolean;
|
|
9
|
+
}, {}>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode, withCtx, createElementVNode } from "vue";
|
|
2
|
+
import ReceiverView from "../../ele-config-provider/components/receiver-view";
|
|
3
|
+
const _sfc_main = defineComponent({
|
|
4
|
+
name: "LayoutSkeleton",
|
|
5
|
+
components: { ReceiverView },
|
|
6
|
+
props: {
|
|
7
|
+
/** logo是否位于顶栏 */
|
|
8
|
+
isHeaderLogo: Boolean
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _export_sfc = (sfc, props) => {
|
|
12
|
+
const target = sfc.__vccOpts || sfc;
|
|
13
|
+
for (const [key, val] of props) {
|
|
14
|
+
target[key] = val;
|
|
15
|
+
}
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
18
|
+
const _hoisted_1 = { class: "ele-admin-body" };
|
|
19
|
+
const _hoisted_2 = { class: "ele-admin-wrapper" };
|
|
20
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21
|
+
const _component_ReceiverView = resolveComponent("ReceiverView");
|
|
22
|
+
return openBlock(), createElementBlock("div", {
|
|
23
|
+
class: normalizeClass(["ele-admin-layout", { "is-row-direction": !_ctx.isHeaderLogo }])
|
|
24
|
+
}, [
|
|
25
|
+
_ctx.isHeaderLogo ? renderSlot(_ctx.$slots, "head", { key: 0 }) : renderSlot(_ctx.$slots, "side", { key: 1 }),
|
|
26
|
+
createVNode(_component_ReceiverView, {
|
|
27
|
+
class: normalizeClass(["ele-admin-main", { "is-row-direction": _ctx.isHeaderLogo }]),
|
|
28
|
+
wrapPosition: false
|
|
29
|
+
}, {
|
|
30
|
+
default: withCtx(() => [
|
|
31
|
+
_ctx.isHeaderLogo ? renderSlot(_ctx.$slots, "side", { key: 0 }) : renderSlot(_ctx.$slots, "head", { key: 1 }),
|
|
32
|
+
createElementVNode("div", _hoisted_1, [
|
|
33
|
+
renderSlot(_ctx.$slots, "tabs"),
|
|
34
|
+
createElementVNode("div", _hoisted_2, [
|
|
35
|
+
renderSlot(_ctx.$slots, "body")
|
|
36
|
+
])
|
|
37
|
+
])
|
|
38
|
+
]),
|
|
39
|
+
_: 3
|
|
40
|
+
}, 8, ["class"]),
|
|
41
|
+
renderSlot(_ctx.$slots, "default")
|
|
42
|
+
], 2);
|
|
43
|
+
}
|
|
44
|
+
const layoutSkeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
45
|
+
export {
|
|
46
|
+
layoutSkeleton as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { EleDropdownProps } from '../../ele-app/plus';
|
|
3
|
+
import { TabPaneItem, TabEventOption, ContextMenus } from '../../ele-tabs/types';
|
|
4
|
+
import { TabStyle } from '../types';
|
|
5
|
+
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
|
+
/** 页签数据 */
|
|
8
|
+
tabs: PropType<TabPaneItem[]>;
|
|
9
|
+
/** 页签选中 */
|
|
10
|
+
active: StringConstructor;
|
|
11
|
+
/** 是否需要固定的主页页签 */
|
|
12
|
+
fixedHome: BooleanConstructor;
|
|
13
|
+
/** 主页路由地址 */
|
|
14
|
+
homePath: StringConstructor;
|
|
15
|
+
/** 当前路由是否是主页 */
|
|
16
|
+
isHome: BooleanConstructor;
|
|
17
|
+
/** 页签风格 */
|
|
18
|
+
tabStyle: PropType<TabStyle>;
|
|
19
|
+
/** 是否支持右键菜单 */
|
|
20
|
+
tabContextMenu: PropType<boolean | EleDropdownProps>;
|
|
21
|
+
/** 右键菜单 */
|
|
22
|
+
tabContextMenus: PropType<ContextMenus>;
|
|
23
|
+
/** 是否支持拖动排序 */
|
|
24
|
+
tabSortable: BooleanConstructor;
|
|
25
|
+
}, {
|
|
26
|
+
handleTabRemove: (name: string) => void;
|
|
27
|
+
handleTabItemClick: (option: TabEventOption) => void;
|
|
28
|
+
handleTabContextMenu: (option: TabEventOption) => void;
|
|
29
|
+
handleTabSortChange: (data: TabPaneItem[]) => void;
|
|
30
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
31
|
+
tabClick: (_option: TabEventOption) => true;
|
|
32
|
+
tabRemove: (_name: string) => true;
|
|
33
|
+
tabContextMenu: (_option: TabEventOption) => true;
|
|
34
|
+
tabSortChange: (_data: TabPaneItem[]) => true;
|
|
35
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
36
|
+
/** 页签数据 */
|
|
37
|
+
tabs: PropType<TabPaneItem[]>;
|
|
38
|
+
/** 页签选中 */
|
|
39
|
+
active: StringConstructor;
|
|
40
|
+
/** 是否需要固定的主页页签 */
|
|
41
|
+
fixedHome: BooleanConstructor;
|
|
42
|
+
/** 主页路由地址 */
|
|
43
|
+
homePath: StringConstructor;
|
|
44
|
+
/** 当前路由是否是主页 */
|
|
45
|
+
isHome: BooleanConstructor;
|
|
46
|
+
/** 页签风格 */
|
|
47
|
+
tabStyle: PropType<TabStyle>;
|
|
48
|
+
/** 是否支持右键菜单 */
|
|
49
|
+
tabContextMenu: PropType<boolean | EleDropdownProps>;
|
|
50
|
+
/** 右键菜单 */
|
|
51
|
+
tabContextMenus: PropType<ContextMenus>;
|
|
52
|
+
/** 是否支持拖动排序 */
|
|
53
|
+
tabSortable: BooleanConstructor;
|
|
54
|
+
}>> & {
|
|
55
|
+
onTabClick?: ((_option: TabEventOption) => any) | undefined;
|
|
56
|
+
onTabRemove?: ((_name: string) => any) | undefined;
|
|
57
|
+
onTabContextMenu?: ((_option: TabEventOption) => any) | undefined;
|
|
58
|
+
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
fixedHome: boolean;
|
|
61
|
+
isHome: boolean;
|
|
62
|
+
tabSortable: boolean;
|
|
63
|
+
}, {}>;
|
|
64
|
+
export default _default;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createVNode, createCommentVNode, createSlots, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
+
import { ElIcon } from "element-plus";
|
|
3
|
+
import { HomeOutlined } from "../../icons";
|
|
4
|
+
import EleTabWrap from "../../ele-tab-wrap/index";
|
|
5
|
+
import EleTabTool from "../../ele-tab-tool/index";
|
|
6
|
+
import EleTabs from "../../ele-tabs/index";
|
|
7
|
+
const _sfc_main = defineComponent({
|
|
8
|
+
name: "LayoutTabs",
|
|
9
|
+
components: {
|
|
10
|
+
ElIcon,
|
|
11
|
+
HomeOutlined,
|
|
12
|
+
EleTabWrap,
|
|
13
|
+
EleTabTool,
|
|
14
|
+
EleTabs
|
|
15
|
+
},
|
|
16
|
+
props: {
|
|
17
|
+
/** 页签数据 */
|
|
18
|
+
tabs: Array,
|
|
19
|
+
/** 页签选中 */
|
|
20
|
+
active: String,
|
|
21
|
+
/** 是否需要固定的主页页签 */
|
|
22
|
+
fixedHome: Boolean,
|
|
23
|
+
/** 主页路由地址 */
|
|
24
|
+
homePath: String,
|
|
25
|
+
/** 当前路由是否是主页 */
|
|
26
|
+
isHome: Boolean,
|
|
27
|
+
/** 页签风格 */
|
|
28
|
+
tabStyle: String,
|
|
29
|
+
/** 是否支持右键菜单 */
|
|
30
|
+
tabContextMenu: [Boolean, Object],
|
|
31
|
+
/** 右键菜单 */
|
|
32
|
+
tabContextMenus: [Array, Function],
|
|
33
|
+
/** 是否支持拖动排序 */
|
|
34
|
+
tabSortable: Boolean
|
|
35
|
+
},
|
|
36
|
+
emits: {
|
|
37
|
+
tabClick: (_option) => true,
|
|
38
|
+
tabRemove: (_name) => true,
|
|
39
|
+
tabContextMenu: (_option) => true,
|
|
40
|
+
tabSortChange: (_data) => true
|
|
41
|
+
},
|
|
42
|
+
setup(_props, { emit }) {
|
|
43
|
+
const handleTabItemClick = (option) => {
|
|
44
|
+
emit("tabClick", option);
|
|
45
|
+
};
|
|
46
|
+
const handleTabRemove = (name) => {
|
|
47
|
+
emit("tabRemove", name);
|
|
48
|
+
};
|
|
49
|
+
const handleTabContextMenu = (option) => {
|
|
50
|
+
emit("tabContextMenu", option);
|
|
51
|
+
};
|
|
52
|
+
const handleTabSortChange = (data) => {
|
|
53
|
+
emit("tabSortChange", data);
|
|
54
|
+
};
|
|
55
|
+
return {
|
|
56
|
+
handleTabRemove,
|
|
57
|
+
handleTabItemClick,
|
|
58
|
+
handleTabContextMenu,
|
|
59
|
+
handleTabSortChange
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
const _export_sfc = (sfc, props) => {
|
|
64
|
+
const target = sfc.__vccOpts || sfc;
|
|
65
|
+
for (const [key, val] of props) {
|
|
66
|
+
target[key] = val;
|
|
67
|
+
}
|
|
68
|
+
return target;
|
|
69
|
+
};
|
|
70
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
71
|
+
const _component_HomeOutlined = resolveComponent("HomeOutlined");
|
|
72
|
+
const _component_ElIcon = resolveComponent("ElIcon");
|
|
73
|
+
const _component_EleTabTool = resolveComponent("EleTabTool");
|
|
74
|
+
const _component_EleTabs = resolveComponent("EleTabs");
|
|
75
|
+
const _component_EleTabWrap = resolveComponent("EleTabWrap");
|
|
76
|
+
return openBlock(), createBlock(_component_EleTabWrap, {
|
|
77
|
+
type: _ctx.tabStyle,
|
|
78
|
+
class: "ele-admin-tabs"
|
|
79
|
+
}, {
|
|
80
|
+
default: withCtx(() => [
|
|
81
|
+
_ctx.fixedHome ? (openBlock(), createBlock(_component_EleTabTool, {
|
|
82
|
+
key: 0,
|
|
83
|
+
tab: true,
|
|
84
|
+
active: _ctx.isHome,
|
|
85
|
+
tabName: _ctx.homePath
|
|
86
|
+
}, {
|
|
87
|
+
default: withCtx(() => [
|
|
88
|
+
renderSlot(_ctx.$slots, "tabHome", { active: _ctx.active }, () => [
|
|
89
|
+
createVNode(_component_ElIcon, {
|
|
90
|
+
class: "ele-tab-icon",
|
|
91
|
+
style: { "vertical-align": "-3px" }
|
|
92
|
+
}, {
|
|
93
|
+
default: withCtx(() => [
|
|
94
|
+
createVNode(_component_HomeOutlined, { style: { "transform": "scale(1.08)" } })
|
|
95
|
+
]),
|
|
96
|
+
_: 1
|
|
97
|
+
})
|
|
98
|
+
])
|
|
99
|
+
]),
|
|
100
|
+
_: 3
|
|
101
|
+
}, 8, ["active", "tabName"])) : createCommentVNode("", true),
|
|
102
|
+
_ctx.tabs ? (openBlock(), createBlock(_component_EleTabs, {
|
|
103
|
+
key: 1,
|
|
104
|
+
items: _ctx.tabs,
|
|
105
|
+
modelValue: _ctx.active,
|
|
106
|
+
sortable: _ctx.tabSortable,
|
|
107
|
+
contextMenu: _ctx.tabContextMenu,
|
|
108
|
+
contextMenus: _ctx.tabContextMenus,
|
|
109
|
+
mousewheel: true,
|
|
110
|
+
handleClick: true,
|
|
111
|
+
onTabRemove: _ctx.handleTabRemove,
|
|
112
|
+
onTabItemClick: _ctx.handleTabItemClick,
|
|
113
|
+
onTabContextMenu: _ctx.handleTabContextMenu,
|
|
114
|
+
onTabSortChange: _ctx.handleTabSortChange
|
|
115
|
+
}, createSlots({ _: 2 }, [
|
|
116
|
+
_ctx.$slots.tabTitle ? {
|
|
117
|
+
name: "label",
|
|
118
|
+
fn: withCtx((slotProps) => [
|
|
119
|
+
renderSlot(_ctx.$slots, "tabTitle", normalizeProps(guardReactiveProps(slotProps || {})))
|
|
120
|
+
]),
|
|
121
|
+
key: "0"
|
|
122
|
+
} : void 0
|
|
123
|
+
]), 1032, ["items", "modelValue", "sortable", "contextMenu", "contextMenus", "onTabRemove", "onTabItemClick", "onTabContextMenu", "onTabSortChange"])) : createCommentVNode("", true),
|
|
124
|
+
renderSlot(_ctx.$slots, "tabExtra", { active: _ctx.active })
|
|
125
|
+
]),
|
|
126
|
+
_: 3
|
|
127
|
+
}, 8, ["type"]);
|
|
128
|
+
}
|
|
129
|
+
const layoutTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
130
|
+
export {
|
|
131
|
+
layoutTabs as default
|
|
132
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, renderSlot } from "vue";
|
|
2
|
+
const _sfc_main = defineComponent({
|
|
3
|
+
name: "LayoutTool"
|
|
4
|
+
});
|
|
5
|
+
const _export_sfc = (sfc, props) => {
|
|
6
|
+
const target = sfc.__vccOpts || sfc;
|
|
7
|
+
for (const [key, val] of props) {
|
|
8
|
+
target[key] = val;
|
|
9
|
+
}
|
|
10
|
+
return target;
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_1 = { class: "ele-admin-tool" };
|
|
13
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
14
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
15
|
+
renderSlot(_ctx.$slots, "default")
|
|
16
|
+
]);
|
|
17
|
+
}
|
|
18
|
+
const layoutTool = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
19
|
+
export {
|
|
20
|
+
layoutTool as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { EleMenusInstance } from '../ele-app/plus';
|
|
2
|
+
import { MenuItem } from '../ele-menus/types';
|
|
3
|
+
import { TabPaneItem, TabEventOption } from '../ele-tabs/types';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
height: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
headerMenus: import('vue').PropType<MenuItem[]>;
|
|
11
|
+
headerActive: StringConstructor;
|
|
12
|
+
sidebarMenus: import('vue').PropType<MenuItem[]>;
|
|
13
|
+
sidebarActive: StringConstructor;
|
|
14
|
+
sideboxMenus: import('vue').PropType<MenuItem[]>;
|
|
15
|
+
sideboxActive: StringConstructor;
|
|
16
|
+
tabs: import('vue').PropType<TabPaneItem[]>;
|
|
17
|
+
tabActive: StringConstructor;
|
|
18
|
+
levels: import('vue').PropType<import('../ele-breadcrumb/types').BreadcrumbItem[]>;
|
|
19
|
+
collapse: BooleanConstructor;
|
|
20
|
+
compact: BooleanConstructor;
|
|
21
|
+
maximized: import('vue').PropType<import('./types').Maximized>;
|
|
22
|
+
tabBar: import('vue').PropType<import('./types').TabBar>;
|
|
23
|
+
breadcrumb: import('vue').PropType<boolean | import('../ele-app/plus').EleBreadcrumbProps>;
|
|
24
|
+
backTop: import('vue').PropType<boolean | import('../ele-app/plus').EleBacktopProps>;
|
|
25
|
+
headerMenuProps: import('vue').PropType<import('../ele-app/plus').EleMenusProps>;
|
|
26
|
+
sidebarMenuProps: import('vue').PropType<import('../ele-app/plus').EleMenusProps>;
|
|
27
|
+
sideboxMenuProps: import('vue').PropType<import('../ele-app/plus').EleMenusProps>;
|
|
28
|
+
layout: import('vue').PropType<import('./types').Layout>;
|
|
29
|
+
sidebarLayout: import('vue').PropType<import('./types').SidebarLayout>;
|
|
30
|
+
headerStyle: import('vue').PropType<import('./types').HeaderStyle>;
|
|
31
|
+
sidebarStyle: import('vue').PropType<import('./types').SidebarStyle>;
|
|
32
|
+
tabStyle: {
|
|
33
|
+
type: import('vue').PropType<import('./types').TabStyle>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
fixedHeader: BooleanConstructor;
|
|
37
|
+
fixedSidebar: BooleanConstructor;
|
|
38
|
+
fixedBody: BooleanConstructor;
|
|
39
|
+
logoInHeader: BooleanConstructor;
|
|
40
|
+
fixedHome: BooleanConstructor;
|
|
41
|
+
homePath: StringConstructor;
|
|
42
|
+
isHome: BooleanConstructor;
|
|
43
|
+
tabContextMenu: import('vue').PropType<boolean | import('../ele-app/plus').EleDropdownProps>;
|
|
44
|
+
tabContextMenus: import('vue').PropType<import('../ele-tabs/types').ContextMenus>;
|
|
45
|
+
tabSortable: BooleanConstructor;
|
|
46
|
+
headerTitleSlot: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
headerIconSlot: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
sidebarTitleSlot: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
sidebarIconSlot: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
sideboxTitleSlot: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
sideboxIconSlot: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
headerCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
71
|
+
sidebarCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
72
|
+
sideboxCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
73
|
+
tabsCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
74
|
+
contentCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
75
|
+
logoStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
76
|
+
logoTitleStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
77
|
+
headerMenusStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
78
|
+
sidebarMenusStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
79
|
+
sideboxMenusStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
80
|
+
logoSrc: StringConstructor;
|
|
81
|
+
logoTitle: StringConstructor;
|
|
82
|
+
menuScrollToActive: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
mobile: BooleanConstructor;
|
|
87
|
+
}, {
|
|
88
|
+
ownSlots: string[];
|
|
89
|
+
tabSlots: string[];
|
|
90
|
+
sidebarMenuRef: import('vue').ShallowRef<EleMenusInstance>;
|
|
91
|
+
sideboxMenuRef: import('vue').ShallowRef<EleMenusInstance>;
|
|
92
|
+
contentRef: import('vue').ShallowRef<HTMLElement | null>;
|
|
93
|
+
modalsRef: import('vue').ShallowRef<HTMLElement | null>;
|
|
94
|
+
isDisableTransition: import('vue').ShallowRef<boolean>;
|
|
95
|
+
layoutHeight: import('vue').ComputedRef<string | undefined>;
|
|
96
|
+
isFixedHeader: import('vue').ComputedRef<boolean>;
|
|
97
|
+
isFixedSidebar: import('vue').ComputedRef<boolean>;
|
|
98
|
+
isTopLayout: import('vue').ComputedRef<boolean>;
|
|
99
|
+
isSideLayout: import('vue').ComputedRef<boolean>;
|
|
100
|
+
isBoxSidebar: import('vue').ComputedRef<boolean>;
|
|
101
|
+
isMixSidebar: import('vue').ComputedRef<boolean>;
|
|
102
|
+
isMobile: import('vue').ComputedRef<boolean>;
|
|
103
|
+
isHeaderLogo: import('vue').ComputedRef<boolean>;
|
|
104
|
+
showHeaderMenus: import('vue').ComputedRef<boolean>;
|
|
105
|
+
showHeaderTabs: import('vue').ComputedRef<boolean>;
|
|
106
|
+
isDarkHeader: import('vue').ComputedRef<boolean>;
|
|
107
|
+
isPrimaryHeader: import('vue').ComputedRef<boolean>;
|
|
108
|
+
isButtonTab: import('vue').ComputedRef<boolean>;
|
|
109
|
+
isDarkSidebar: import('vue').ComputedRef<boolean>;
|
|
110
|
+
isDarkMixSidebar: import('vue').ComputedRef<boolean>;
|
|
111
|
+
isGhostHeader: import('vue').ComputedRef<boolean>;
|
|
112
|
+
isGhostSidebar: import('vue').ComputedRef<boolean>;
|
|
113
|
+
isCollapseSidebar: import('vue').ComputedRef<boolean>;
|
|
114
|
+
isCollapseMobile: import('vue').ComputedRef<boolean>;
|
|
115
|
+
getContentEl: () => HTMLElement | null;
|
|
116
|
+
getModalsEl: () => HTMLElement | null;
|
|
117
|
+
updateCollapse: (value?: boolean) => void;
|
|
118
|
+
handleLogoClick: (e: MouseEvent) => void;
|
|
119
|
+
handleHeadMenuOpen: (index: string, indexPath: string[]) => void;
|
|
120
|
+
handleHeadMenuClose: (index: string, indexPath: string[]) => void;
|
|
121
|
+
handleHeadMenuItemClick: (item: MenuItem, e: MouseEvent) => void;
|
|
122
|
+
handleHeadMenuItemMouseenter: (item: MenuItem, e: MouseEvent) => void;
|
|
123
|
+
handleHeadMenuItemMouseleave: (item: MenuItem, e: MouseEvent) => void;
|
|
124
|
+
handleHeadMouseenter: (e: MouseEvent) => void;
|
|
125
|
+
handleHeadMouseleave: (e: MouseEvent) => void;
|
|
126
|
+
handleBoxMenuItemClick: (item: MenuItem, e: MouseEvent) => void;
|
|
127
|
+
handleBoxMenuItemMouseenter: (item: MenuItem, e: MouseEvent) => void;
|
|
128
|
+
handleBoxMenuItemMouseleave: (item: MenuItem, e: MouseEvent) => void;
|
|
129
|
+
handleBoxMouseEnter: (e: MouseEvent) => void;
|
|
130
|
+
handleBoxMouseLeave: (e: MouseEvent) => void;
|
|
131
|
+
handleSideMenuOpen: (index: string, indexPath: string[]) => void;
|
|
132
|
+
handleSideMenuClose: (index: string, indexPath: string[]) => void;
|
|
133
|
+
handleSideMenuItemClick: (item: MenuItem, e: MouseEvent) => void;
|
|
134
|
+
handleSideMouseEnter: (e: MouseEvent) => void;
|
|
135
|
+
handleSideMouseLeave: (e: MouseEvent) => void;
|
|
136
|
+
handleTabClick: (option: TabEventOption) => void;
|
|
137
|
+
handleTabRemove: (name: string) => void;
|
|
138
|
+
handleTabContextMenu: (option: TabEventOption) => void;
|
|
139
|
+
handleTabSortChange: (data: TabPaneItem[]) => void;
|
|
140
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
141
|
+
'update:collapse': (_collapse: boolean) => boolean;
|
|
142
|
+
logoClick: (_e: MouseEvent) => boolean;
|
|
143
|
+
headMenuOpen: (_index: string, _indexPath: string[]) => boolean;
|
|
144
|
+
headMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
145
|
+
headMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
146
|
+
headMenuItemMouseenter: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
147
|
+
headMenuItemMouseleave: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
148
|
+
headMouseenter: (_e: MouseEvent) => boolean;
|
|
149
|
+
headMouseleave: (_e: MouseEvent) => boolean;
|
|
150
|
+
boxMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
151
|
+
boxMenuItemMouseenter: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
152
|
+
boxMenuItemMouseleave: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
153
|
+
boxMouseenter: (_e: MouseEvent) => boolean;
|
|
154
|
+
boxMouseleave: (_e: MouseEvent) => boolean;
|
|
155
|
+
sideMenuOpen: (_index: string, _indexPath: string[]) => boolean;
|
|
156
|
+
sideMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
157
|
+
sideMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
|
|
158
|
+
sideMouseenter: (_e: MouseEvent) => boolean;
|
|
159
|
+
sideMouseleave: (_e: MouseEvent) => boolean;
|
|
160
|
+
tabClick: (_option: TabEventOption) => boolean;
|
|
161
|
+
tabRemove: (_name: string) => boolean;
|
|
162
|
+
tabContextMenu: (_option: TabEventOption) => boolean;
|
|
163
|
+
tabSortChange: (_data: TabPaneItem[]) => boolean;
|
|
164
|
+
contentMounted: (_contentEl: HTMLElement, _modalsEl: HTMLElement) => boolean;
|
|
165
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
166
|
+
height: {
|
|
167
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
headerMenus: import('vue').PropType<MenuItem[]>;
|
|
171
|
+
headerActive: StringConstructor;
|
|
172
|
+
sidebarMenus: import('vue').PropType<MenuItem[]>;
|
|
173
|
+
sidebarActive: StringConstructor;
|
|
174
|
+
sideboxMenus: import('vue').PropType<MenuItem[]>;
|
|
175
|
+
sideboxActive: StringConstructor;
|
|
176
|
+
tabs: import('vue').PropType<TabPaneItem[]>;
|
|
177
|
+
tabActive: StringConstructor;
|
|
178
|
+
levels: import('vue').PropType<import('../ele-breadcrumb/types').BreadcrumbItem[]>;
|
|
179
|
+
collapse: BooleanConstructor;
|
|
180
|
+
compact: BooleanConstructor;
|
|
181
|
+
maximized: import('vue').PropType<import('./types').Maximized>;
|
|
182
|
+
tabBar: import('vue').PropType<import('./types').TabBar>;
|
|
183
|
+
breadcrumb: import('vue').PropType<boolean | import('../ele-app/plus').EleBreadcrumbProps>;
|
|
184
|
+
backTop: import('vue').PropType<boolean | import('../ele-app/plus').EleBacktopProps>;
|
|
185
|
+
headerMenuProps: import('vue').PropType<import('../ele-app/plus').EleMenusProps>;
|
|
186
|
+
sidebarMenuProps: import('vue').PropType<import('../ele-app/plus').EleMenusProps>;
|
|
187
|
+
sideboxMenuProps: import('vue').PropType<import('../ele-app/plus').EleMenusProps>;
|
|
188
|
+
layout: import('vue').PropType<import('./types').Layout>;
|
|
189
|
+
sidebarLayout: import('vue').PropType<import('./types').SidebarLayout>;
|
|
190
|
+
headerStyle: import('vue').PropType<import('./types').HeaderStyle>;
|
|
191
|
+
sidebarStyle: import('vue').PropType<import('./types').SidebarStyle>;
|
|
192
|
+
tabStyle: {
|
|
193
|
+
type: import('vue').PropType<import('./types').TabStyle>;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
fixedHeader: BooleanConstructor;
|
|
197
|
+
fixedSidebar: BooleanConstructor;
|
|
198
|
+
fixedBody: BooleanConstructor;
|
|
199
|
+
logoInHeader: BooleanConstructor;
|
|
200
|
+
fixedHome: BooleanConstructor;
|
|
201
|
+
homePath: StringConstructor;
|
|
202
|
+
isHome: BooleanConstructor;
|
|
203
|
+
tabContextMenu: import('vue').PropType<boolean | import('../ele-app/plus').EleDropdownProps>;
|
|
204
|
+
tabContextMenus: import('vue').PropType<import('../ele-tabs/types').ContextMenus>;
|
|
205
|
+
tabSortable: BooleanConstructor;
|
|
206
|
+
headerTitleSlot: {
|
|
207
|
+
type: StringConstructor;
|
|
208
|
+
default: string;
|
|
209
|
+
};
|
|
210
|
+
headerIconSlot: {
|
|
211
|
+
type: StringConstructor;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
214
|
+
sidebarTitleSlot: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
sidebarIconSlot: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
default: string;
|
|
221
|
+
};
|
|
222
|
+
sideboxTitleSlot: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
sideboxIconSlot: {
|
|
227
|
+
type: StringConstructor;
|
|
228
|
+
default: string;
|
|
229
|
+
};
|
|
230
|
+
headerCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
231
|
+
sidebarCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
232
|
+
sideboxCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
233
|
+
tabsCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
234
|
+
contentCustomStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
235
|
+
logoStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
236
|
+
logoTitleStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
237
|
+
headerMenusStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
238
|
+
sidebarMenusStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
239
|
+
sideboxMenusStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
240
|
+
logoSrc: StringConstructor;
|
|
241
|
+
logoTitle: StringConstructor;
|
|
242
|
+
menuScrollToActive: {
|
|
243
|
+
type: BooleanConstructor;
|
|
244
|
+
default: boolean;
|
|
245
|
+
};
|
|
246
|
+
mobile: BooleanConstructor;
|
|
247
|
+
}>> & {
|
|
248
|
+
onTabClick?: ((_option: TabEventOption) => any) | undefined;
|
|
249
|
+
onTabRemove?: ((_name: string) => any) | undefined;
|
|
250
|
+
onTabContextMenu?: ((_option: TabEventOption) => any) | undefined;
|
|
251
|
+
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
252
|
+
"onUpdate:collapse"?: ((_collapse: boolean) => any) | undefined;
|
|
253
|
+
onLogoClick?: ((_e: MouseEvent) => any) | undefined;
|
|
254
|
+
onHeadMenuOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
255
|
+
onHeadMenuClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
256
|
+
onHeadMenuItemClick?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
257
|
+
onHeadMenuItemMouseenter?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
258
|
+
onHeadMenuItemMouseleave?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
259
|
+
onHeadMouseenter?: ((_e: MouseEvent) => any) | undefined;
|
|
260
|
+
onHeadMouseleave?: ((_e: MouseEvent) => any) | undefined;
|
|
261
|
+
onBoxMenuItemClick?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
262
|
+
onBoxMenuItemMouseenter?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
263
|
+
onBoxMenuItemMouseleave?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
264
|
+
onBoxMouseenter?: ((_e: MouseEvent) => any) | undefined;
|
|
265
|
+
onBoxMouseleave?: ((_e: MouseEvent) => any) | undefined;
|
|
266
|
+
onSideMenuOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
267
|
+
onSideMenuClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
268
|
+
onSideMenuItemClick?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
269
|
+
onSideMouseenter?: ((_e: MouseEvent) => any) | undefined;
|
|
270
|
+
onSideMouseleave?: ((_e: MouseEvent) => any) | undefined;
|
|
271
|
+
onContentMounted?: ((_contentEl: HTMLElement, _modalsEl: HTMLElement) => any) | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
height: string | number;
|
|
274
|
+
collapse: boolean;
|
|
275
|
+
compact: boolean;
|
|
276
|
+
tabStyle: import('./types').TabStyle;
|
|
277
|
+
fixedHeader: boolean;
|
|
278
|
+
fixedSidebar: boolean;
|
|
279
|
+
fixedBody: boolean;
|
|
280
|
+
logoInHeader: boolean;
|
|
281
|
+
fixedHome: boolean;
|
|
282
|
+
isHome: boolean;
|
|
283
|
+
tabSortable: boolean;
|
|
284
|
+
headerTitleSlot: string;
|
|
285
|
+
headerIconSlot: string;
|
|
286
|
+
sidebarTitleSlot: string;
|
|
287
|
+
sidebarIconSlot: string;
|
|
288
|
+
sideboxTitleSlot: string;
|
|
289
|
+
sideboxIconSlot: string;
|
|
290
|
+
menuScrollToActive: boolean;
|
|
291
|
+
mobile: boolean;
|
|
292
|
+
}, {}>;
|
|
293
|
+
export default _default;
|