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,98 @@
|
|
|
1
|
+
import { defineComponent, onBeforeUnmount, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, createVNode, normalizeClass, withCtx, createBlock, resolveDynamicComponent, renderSlot, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
+
import { ElIcon } from "element-plus";
|
|
3
|
+
import { CloseOutlined, InfoCircleFilled, CheckCircleFilled, ExclamationCircleFilled, CloseCircleFilled, LoadingOutlined } from "../../icons";
|
|
4
|
+
const _sfc_main = defineComponent({
|
|
5
|
+
name: "MessageBody",
|
|
6
|
+
components: {
|
|
7
|
+
ElIcon,
|
|
8
|
+
CloseOutlined,
|
|
9
|
+
InfoCircleFilled,
|
|
10
|
+
CheckCircleFilled,
|
|
11
|
+
ExclamationCircleFilled,
|
|
12
|
+
CloseCircleFilled,
|
|
13
|
+
LoadingOutlined
|
|
14
|
+
},
|
|
15
|
+
props: {
|
|
16
|
+
/** 内容 */
|
|
17
|
+
message: String,
|
|
18
|
+
/** 类型 */
|
|
19
|
+
type: String,
|
|
20
|
+
/** 图标 */
|
|
21
|
+
icon: [String, Object, Function],
|
|
22
|
+
/** 是否显示关闭按钮 */
|
|
23
|
+
showClose: Boolean,
|
|
24
|
+
/** 内容是否是富文本 */
|
|
25
|
+
dangerouslyUseHTMLString: Boolean,
|
|
26
|
+
/** 是否是加载框 */
|
|
27
|
+
loading: Boolean,
|
|
28
|
+
/** 标识id */
|
|
29
|
+
messageId: String
|
|
30
|
+
},
|
|
31
|
+
emits: {
|
|
32
|
+
close: () => true,
|
|
33
|
+
messageDestroy: (_messageId) => true
|
|
34
|
+
},
|
|
35
|
+
setup(props, { emit }) {
|
|
36
|
+
onBeforeUnmount(() => {
|
|
37
|
+
emit("messageDestroy", props.messageId);
|
|
38
|
+
});
|
|
39
|
+
return { handleClose: () => emit("close") };
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
const _export_sfc = (sfc, props) => {
|
|
43
|
+
const target = sfc.__vccOpts || sfc;
|
|
44
|
+
for (const [key, val] of props) {
|
|
45
|
+
target[key] = val;
|
|
46
|
+
}
|
|
47
|
+
return target;
|
|
48
|
+
};
|
|
49
|
+
const _hoisted_1 = { class: "ele-message-icon" };
|
|
50
|
+
const _hoisted_2 = ["innerHTML"];
|
|
51
|
+
const _hoisted_3 = {
|
|
52
|
+
key: 1,
|
|
53
|
+
class: "ele-message-content"
|
|
54
|
+
};
|
|
55
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
56
|
+
const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
|
|
57
|
+
const _component_CheckCircleFilled = resolveComponent("CheckCircleFilled");
|
|
58
|
+
const _component_ExclamationCircleFilled = resolveComponent("ExclamationCircleFilled");
|
|
59
|
+
const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
|
|
60
|
+
const _component_InfoCircleFilled = resolveComponent("InfoCircleFilled");
|
|
61
|
+
const _component_ElIcon = resolveComponent("ElIcon");
|
|
62
|
+
const _component_CloseOutlined = resolveComponent("CloseOutlined");
|
|
63
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
64
|
+
createElementVNode("div", _hoisted_1, [
|
|
65
|
+
createVNode(_component_ElIcon, {
|
|
66
|
+
class: normalizeClass({ "is-loading": _ctx.loading })
|
|
67
|
+
}, {
|
|
68
|
+
default: withCtx(() => [
|
|
69
|
+
_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : _ctx.loading ? (openBlock(), createBlock(_component_LoadingOutlined, { key: 1 })) : _ctx.type === "success" ? (openBlock(), createBlock(_component_CheckCircleFilled, { key: 2 })) : _ctx.type === "warning" ? (openBlock(), createBlock(_component_ExclamationCircleFilled, { key: 3 })) : _ctx.type === "error" ? (openBlock(), createBlock(_component_CloseCircleFilled, { key: 4 })) : (openBlock(), createBlock(_component_InfoCircleFilled, { key: 5 }))
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 8, ["class"])
|
|
73
|
+
]),
|
|
74
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
75
|
+
_ctx.dangerouslyUseHTMLString ? (openBlock(), createElementBlock("div", {
|
|
76
|
+
key: 0,
|
|
77
|
+
innerHTML: _ctx.message,
|
|
78
|
+
class: "ele-message-content"
|
|
79
|
+
}, null, 8, _hoisted_2)) : (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString(_ctx.message), 1))
|
|
80
|
+
]),
|
|
81
|
+
_ctx.showClose ? (openBlock(), createElementBlock("div", {
|
|
82
|
+
key: 0,
|
|
83
|
+
class: "ele-message-close",
|
|
84
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClose && _ctx.handleClose(...args))
|
|
85
|
+
}, [
|
|
86
|
+
createVNode(_component_ElIcon, null, {
|
|
87
|
+
default: withCtx(() => [
|
|
88
|
+
createVNode(_component_CloseOutlined)
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
})
|
|
92
|
+
])) : createCommentVNode("", true)
|
|
93
|
+
], 64);
|
|
94
|
+
}
|
|
95
|
+
const messageBody = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
96
|
+
export {
|
|
97
|
+
messageBody as default
|
|
98
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ElMessageBoxOptions } from '../el';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
/** 类型 */
|
|
6
|
+
type: PropType<ElMessageBoxOptions["type"]>;
|
|
7
|
+
/** 图标 */
|
|
8
|
+
icon: PropType<ElMessageBoxOptions["icon"]>;
|
|
9
|
+
/** 标识id */
|
|
10
|
+
boxId: StringConstructor;
|
|
11
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
boxDestroy: (_boxId?: string) => true;
|
|
13
|
+
boxMounted: (_: {
|
|
14
|
+
boxId?: string;
|
|
15
|
+
doClose?: () => void;
|
|
16
|
+
}) => true;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
/** 类型 */
|
|
19
|
+
type: PropType<ElMessageBoxOptions["type"]>;
|
|
20
|
+
/** 图标 */
|
|
21
|
+
icon: PropType<ElMessageBoxOptions["icon"]>;
|
|
22
|
+
/** 标识id */
|
|
23
|
+
boxId: StringConstructor;
|
|
24
|
+
}>> & {
|
|
25
|
+
onBoxDestroy?: ((_boxId?: string | undefined) => any) | undefined;
|
|
26
|
+
onBoxMounted?: ((_: {
|
|
27
|
+
boxId?: string;
|
|
28
|
+
doClose?: () => void;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
}, {}, {}>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineComponent, getCurrentInstance, onBeforeUnmount, onMounted, resolveComponent, withDirectives, openBlock, createElementBlock, createBlock, resolveDynamicComponent, createCommentVNode, vShow } from "vue";
|
|
2
|
+
import { CloseOutlined, InfoCircleFilled, CheckCircleFilled, ExclamationCircleFilled, CloseCircleFilled } from "../../icons";
|
|
3
|
+
const _sfc_main = defineComponent({
|
|
4
|
+
name: "MessageBoxIcon",
|
|
5
|
+
components: {
|
|
6
|
+
CloseOutlined,
|
|
7
|
+
InfoCircleFilled,
|
|
8
|
+
CheckCircleFilled,
|
|
9
|
+
ExclamationCircleFilled,
|
|
10
|
+
CloseCircleFilled
|
|
11
|
+
},
|
|
12
|
+
props: {
|
|
13
|
+
/** 类型 */
|
|
14
|
+
type: String,
|
|
15
|
+
/** 图标 */
|
|
16
|
+
icon: [String, Object, Function],
|
|
17
|
+
/** 标识id */
|
|
18
|
+
boxId: String
|
|
19
|
+
},
|
|
20
|
+
emits: {
|
|
21
|
+
boxDestroy: (_boxId) => true,
|
|
22
|
+
boxMounted: (_) => true
|
|
23
|
+
},
|
|
24
|
+
setup(props, { emit }) {
|
|
25
|
+
var _a;
|
|
26
|
+
const ins = (_a = getCurrentInstance) == null ? void 0 : _a();
|
|
27
|
+
onBeforeUnmount(() => {
|
|
28
|
+
emit("boxDestroy", props.boxId);
|
|
29
|
+
});
|
|
30
|
+
onMounted(() => {
|
|
31
|
+
var _a2, _b;
|
|
32
|
+
emit("boxMounted", {
|
|
33
|
+
boxId: props.boxId,
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
doClose: (_b = (_a2 = ins == null ? void 0 : ins.ctx) == null ? void 0 : _a2.$root) == null ? void 0 : _b.doClose
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
return {};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
const _export_sfc = (sfc, props) => {
|
|
42
|
+
const target = sfc.__vccOpts || sfc;
|
|
43
|
+
for (const [key, val] of props) {
|
|
44
|
+
target[key] = val;
|
|
45
|
+
}
|
|
46
|
+
return target;
|
|
47
|
+
};
|
|
48
|
+
const _hoisted_1 = { class: "ele-message-box-icon" };
|
|
49
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
50
|
+
const _component_CheckCircleFilled = resolveComponent("CheckCircleFilled");
|
|
51
|
+
const _component_ExclamationCircleFilled = resolveComponent("ExclamationCircleFilled");
|
|
52
|
+
const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
|
|
53
|
+
const _component_InfoCircleFilled = resolveComponent("InfoCircleFilled");
|
|
54
|
+
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
|
55
|
+
_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : _ctx.type === "success" ? (openBlock(), createBlock(_component_CheckCircleFilled, { key: 1 })) : _ctx.type === "warning" ? (openBlock(), createBlock(_component_ExclamationCircleFilled, { key: 2 })) : _ctx.type === "error" ? (openBlock(), createBlock(_component_CloseCircleFilled, { key: 3 })) : _ctx.type === "info" ? (openBlock(), createBlock(_component_InfoCircleFilled, { key: 4 })) : createCommentVNode("", true)
|
|
56
|
+
], 512)), [
|
|
57
|
+
[vShow, _ctx.type || _ctx.icon]
|
|
58
|
+
]);
|
|
59
|
+
}
|
|
60
|
+
const messageBoxIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
61
|
+
export {
|
|
62
|
+
messageBoxIcon as default
|
|
63
|
+
};
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import type { ExtractPropTypes } from 'vue';
|
|
2
|
+
import type {
|
|
3
|
+
// ElAlert
|
|
4
|
+
AlertProps,
|
|
5
|
+
// ElAutocomplete
|
|
6
|
+
ElAutocomplete,
|
|
7
|
+
// ElAvatar
|
|
8
|
+
AvatarProps,
|
|
9
|
+
// ElBadge
|
|
10
|
+
BadgeProps,
|
|
11
|
+
// ElBreadcrumb
|
|
12
|
+
ElBreadcrumb,
|
|
13
|
+
BreadcrumbProps,
|
|
14
|
+
BreadcrumbItemProps,
|
|
15
|
+
// ElButton
|
|
16
|
+
ButtonProps,
|
|
17
|
+
// ElCard
|
|
18
|
+
CardProps,
|
|
19
|
+
// ElCascader
|
|
20
|
+
ElCascader,
|
|
21
|
+
CascaderProps,
|
|
22
|
+
// ElDialog
|
|
23
|
+
ElDialog,
|
|
24
|
+
DialogProps,
|
|
25
|
+
// ElDrawer
|
|
26
|
+
ElDrawer,
|
|
27
|
+
// ElDropdown
|
|
28
|
+
ElDropdown,
|
|
29
|
+
dropdownProps,
|
|
30
|
+
dropdownItemProps,
|
|
31
|
+
// ElEmpty
|
|
32
|
+
EmptyProps,
|
|
33
|
+
// ElForm
|
|
34
|
+
ElForm,
|
|
35
|
+
ElFormItem,
|
|
36
|
+
FormItemProps,
|
|
37
|
+
FormItemRule,
|
|
38
|
+
// ElIcon
|
|
39
|
+
IconProps,
|
|
40
|
+
// ElImage
|
|
41
|
+
ElImage,
|
|
42
|
+
ImageProps,
|
|
43
|
+
ElImageViewer,
|
|
44
|
+
// ElInput
|
|
45
|
+
ElInput,
|
|
46
|
+
InputProps,
|
|
47
|
+
// ElLink
|
|
48
|
+
LinkProps,
|
|
49
|
+
// ElMenu
|
|
50
|
+
ElMenu,
|
|
51
|
+
MenuProps,
|
|
52
|
+
ElSubMenu,
|
|
53
|
+
SubMenuProps,
|
|
54
|
+
MenuItemProps,
|
|
55
|
+
MenuItemGroupProps,
|
|
56
|
+
// ElMessage
|
|
57
|
+
MessageOptions,
|
|
58
|
+
// ElMessageBox
|
|
59
|
+
ElMessageBoxOptions as MessageBoxOptions,
|
|
60
|
+
// ElPopper
|
|
61
|
+
ElPopper,
|
|
62
|
+
ElPopover,
|
|
63
|
+
PopoverProps,
|
|
64
|
+
ElTooltip,
|
|
65
|
+
ElTooltipProps as TooltipProps,
|
|
66
|
+
PopconfirmProps,
|
|
67
|
+
// ElProgress
|
|
68
|
+
ProgressProps,
|
|
69
|
+
// ElRow
|
|
70
|
+
RowProps,
|
|
71
|
+
ColProps,
|
|
72
|
+
// ElScrollbar
|
|
73
|
+
ElScrollbar,
|
|
74
|
+
// ElStep
|
|
75
|
+
StepProps,
|
|
76
|
+
// ElTable
|
|
77
|
+
ElTable,
|
|
78
|
+
TableProps,
|
|
79
|
+
ElTableV2,
|
|
80
|
+
TableV2Props,
|
|
81
|
+
// ElTabs
|
|
82
|
+
ElTabs,
|
|
83
|
+
TabsProps,
|
|
84
|
+
TabPaneProps,
|
|
85
|
+
// ElTag
|
|
86
|
+
ElTag,
|
|
87
|
+
TagProps,
|
|
88
|
+
// ElTreeV2
|
|
89
|
+
ElTreeV2
|
|
90
|
+
} from 'element-plus';
|
|
91
|
+
import type columnProps from 'element-plus/es/components/table/src/table-column/defaults';
|
|
92
|
+
import type { TreeProps } from 'element-plus/es/components/tree-v2/src/types';
|
|
93
|
+
import type { ComponentProps } from './types';
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* ElAlert
|
|
97
|
+
*/
|
|
98
|
+
export type ElAlertProps = ComponentProps<AlertProps>;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* ElAutocomplete
|
|
102
|
+
*/
|
|
103
|
+
export type ElAutocompleteInstance = InstanceType<typeof ElAutocomplete> | null;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* ElAvatar
|
|
107
|
+
*/
|
|
108
|
+
export type ElAvatarProps = ComponentProps<AvatarProps>;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* ElBadge
|
|
112
|
+
*/
|
|
113
|
+
export type ElBadgeProps = ComponentProps<BadgeProps>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* ElBreadcrumb
|
|
117
|
+
*/
|
|
118
|
+
export type ElBreadcrumbInstance = InstanceType<typeof ElBreadcrumb> | null;
|
|
119
|
+
|
|
120
|
+
export type ElBreadcrumbProps = ComponentProps<BreadcrumbProps>;
|
|
121
|
+
|
|
122
|
+
export type ElBreadcrumbItemProps = ComponentProps<BreadcrumbItemProps>;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* ElButton
|
|
126
|
+
*/
|
|
127
|
+
export type ElButtonProps = ComponentProps<ButtonProps>;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* ElCard
|
|
131
|
+
*/
|
|
132
|
+
export type ElCardProps = ComponentProps<CardProps>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* ElCascader
|
|
136
|
+
*/
|
|
137
|
+
export type ElCascaderInstance = InstanceType<typeof ElCascader> | null;
|
|
138
|
+
|
|
139
|
+
export type ElCascaderProps = ComponentProps<CascaderProps>;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* ElDialog
|
|
143
|
+
*/
|
|
144
|
+
export type ElDialogInstance = InstanceType<typeof ElDialog> | null;
|
|
145
|
+
|
|
146
|
+
export type ElDialogProps = ComponentProps<DialogProps>;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* ElDrawer
|
|
150
|
+
*/
|
|
151
|
+
export type ElDrawerInstance = InstanceType<typeof ElDrawer> | null;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* ElDropdown
|
|
155
|
+
*/
|
|
156
|
+
export type ElDropdownInstance = InstanceType<typeof ElDropdown> | null;
|
|
157
|
+
|
|
158
|
+
export type ElDropdownProps = ComponentProps<
|
|
159
|
+
ExtractPropTypes<typeof dropdownProps>
|
|
160
|
+
>;
|
|
161
|
+
|
|
162
|
+
export type ElDropdownItemProps = ComponentProps<
|
|
163
|
+
ExtractPropTypes<typeof dropdownItemProps>
|
|
164
|
+
>;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* ElEmpty
|
|
168
|
+
*/
|
|
169
|
+
export type ElEmptyProps = ComponentProps<EmptyProps>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* ElForm
|
|
173
|
+
*/
|
|
174
|
+
export type ElFormInstance = InstanceType<typeof ElForm> | null;
|
|
175
|
+
|
|
176
|
+
export type ElFormItemInstance = InstanceType<typeof ElFormItem> | null;
|
|
177
|
+
|
|
178
|
+
export type ElFormItemProps = ComponentProps<FormItemProps>;
|
|
179
|
+
|
|
180
|
+
export type ElFormItemRule = Partial<FormItemRule>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* ElIcon
|
|
184
|
+
*/
|
|
185
|
+
export type ElIconProps = ComponentProps<IconProps>;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* ElImage
|
|
189
|
+
*/
|
|
190
|
+
export type ElImageInstance = InstanceType<typeof ElImage> | null;
|
|
191
|
+
|
|
192
|
+
export type ElImageProps = ComponentProps<ImageProps>;
|
|
193
|
+
|
|
194
|
+
export type ElImageViewerInstance = InstanceType<typeof ElImageViewer> | null;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* ElInput
|
|
198
|
+
*/
|
|
199
|
+
export type ElInputInstance = InstanceType<typeof ElInput> | null;
|
|
200
|
+
|
|
201
|
+
export type ElInputProps = ComponentProps<InputProps>;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* ElLink
|
|
205
|
+
*/
|
|
206
|
+
export type ElLinkProps = ComponentProps<LinkProps>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* ElMenu
|
|
210
|
+
*/
|
|
211
|
+
export type ElMenuInstance = InstanceType<typeof ElMenu> | null;
|
|
212
|
+
|
|
213
|
+
export type ElMenuProps = ComponentProps<MenuProps>;
|
|
214
|
+
|
|
215
|
+
export type ElSubMenuInstance = InstanceType<typeof ElSubMenu> | null;
|
|
216
|
+
|
|
217
|
+
export type ElSubMenuProps = ComponentProps<SubMenuProps>;
|
|
218
|
+
|
|
219
|
+
export type ElMenuItemProps = ComponentProps<MenuItemProps>;
|
|
220
|
+
|
|
221
|
+
export type ElMenuItemGroupProps = ComponentProps<MenuItemGroupProps>;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* ElMessage
|
|
225
|
+
*/
|
|
226
|
+
export type ElMessageOptions = Partial<MessageOptions>;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* ElMessageBox
|
|
230
|
+
*/
|
|
231
|
+
export type ElMessageBoxOptions = Partial<MessageBoxOptions>;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* ElPopper
|
|
235
|
+
*/
|
|
236
|
+
export type ElPopperInstance = InstanceType<typeof ElPopper> | null;
|
|
237
|
+
|
|
238
|
+
export type ElPopoverInstance = InstanceType<typeof ElPopover> | null;
|
|
239
|
+
|
|
240
|
+
export type ElPopoverProps = Partial<PopoverProps>;
|
|
241
|
+
|
|
242
|
+
export type ElTooltipInstance = InstanceType<typeof ElTooltip> | null;
|
|
243
|
+
|
|
244
|
+
export type ElTooltipProps = Partial<TooltipProps>;
|
|
245
|
+
|
|
246
|
+
export type ElPopconfirmProps = Partial<PopconfirmProps>;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* ElProgress
|
|
250
|
+
*/
|
|
251
|
+
export type ElProgressProps = ComponentProps<ProgressProps>;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* ElRow
|
|
255
|
+
*/
|
|
256
|
+
export type ElRowProps = ComponentProps<RowProps>;
|
|
257
|
+
|
|
258
|
+
export type ElColProps = ComponentProps<ColProps>;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* ElScrollbar
|
|
262
|
+
*/
|
|
263
|
+
export type ElScrollbarInstance = InstanceType<typeof ElScrollbar> | null;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* ElStep
|
|
267
|
+
*/
|
|
268
|
+
export type ElStepProps = ComponentProps<StepProps>;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* ElTable
|
|
272
|
+
*/
|
|
273
|
+
export type ElTableInstance = InstanceType<typeof ElTable> | null;
|
|
274
|
+
|
|
275
|
+
export type ElTableProps<T> = ComponentProps<TableProps<T>>;
|
|
276
|
+
|
|
277
|
+
export type ElColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
|
|
278
|
+
|
|
279
|
+
export type ElTableV2Instance = InstanceType<typeof ElTableV2> | null;
|
|
280
|
+
|
|
281
|
+
export type ElTableV2Props = ComponentProps<TableV2Props>;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* ElTabs
|
|
285
|
+
*/
|
|
286
|
+
export type ElTabsInstance = InstanceType<typeof ElTabs> | null;
|
|
287
|
+
|
|
288
|
+
export type ElTabsProps = ComponentProps<TabsProps>;
|
|
289
|
+
|
|
290
|
+
export type ElTabPaneProps = ComponentProps<TabPaneProps>;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* ElTag
|
|
294
|
+
*/
|
|
295
|
+
export type ElTagInstance = InstanceType<typeof ElTag> | null;
|
|
296
|
+
|
|
297
|
+
export type ElTagProps = ComponentProps<TagProps>;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* ElTreeV2
|
|
301
|
+
*/
|
|
302
|
+
export type ElTreeV2Instance = InstanceType<typeof ElTreeV2> | null;
|
|
303
|
+
|
|
304
|
+
export type ElTreeV2Props = ComponentProps<TreeProps>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineComponent } from "vue";
|
|
2
|
+
const index = defineComponent({
|
|
3
|
+
name: "EleApp",
|
|
4
|
+
setup(_props, { slots }) {
|
|
5
|
+
return () => {
|
|
6
|
+
var _a;
|
|
7
|
+
return (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
index as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type EleAdminLayout from '../ele-admin-layout/index';
|
|
2
|
+
import type { BacktopProps } from '../ele-backtop/props';
|
|
3
|
+
import type EleBasicSelect from '../ele-basic-select/index';
|
|
4
|
+
import type { BreadcrumbProps } from '../ele-breadcrumb/props';
|
|
5
|
+
import type ReceiverView from '../ele-config-provider/components/receiver-view';
|
|
6
|
+
import type { CropperProps } from '../ele-cropper/props';
|
|
7
|
+
import type EleDataTable from '../ele-data-table/index';
|
|
8
|
+
import type { DataTableProps } from '../ele-data-table/props';
|
|
9
|
+
import type EleDropdown from '../ele-dropdown/index';
|
|
10
|
+
import type { DropdownProps } from '../ele-dropdown/props';
|
|
11
|
+
import type { FileListProps } from '../ele-file-list/props';
|
|
12
|
+
import type { ImageViewerProps } from '../ele-image-viewer/props';
|
|
13
|
+
import type { LoadingProps } from '../ele-loading/props';
|
|
14
|
+
import type EleMenus from '../ele-menus/index';
|
|
15
|
+
import type { MenusProps } from '../ele-menus/props';
|
|
16
|
+
import type { MenuItem } from '../ele-menus/types';
|
|
17
|
+
import type { ModalProps } from '../ele-modal/props';
|
|
18
|
+
import type { PaginationProps } from '../ele-pagination/props';
|
|
19
|
+
import type ElePopover from '../ele-popover/index';
|
|
20
|
+
import type { PopoverProps } from '../ele-popover/props';
|
|
21
|
+
import type { PrinterProps } from '../ele-printer/props';
|
|
22
|
+
import type EleProTable from '../ele-pro-table/index';
|
|
23
|
+
import type { ProTableProps } from '../ele-pro-table/props';
|
|
24
|
+
import type { TableProps } from '../ele-table/props';
|
|
25
|
+
import type EleTabs from '../ele-tabs/index';
|
|
26
|
+
import type EleText from '../ele-text/index';
|
|
27
|
+
import type { TextProps } from '../ele-text/props';
|
|
28
|
+
import type EleTool from '../ele-tool/index';
|
|
29
|
+
import type { ToolProps } from '../ele-tool/props';
|
|
30
|
+
import type { ToolbarProps } from '../ele-toolbar/props';
|
|
31
|
+
import type EleTooltip from '../ele-tooltip/index';
|
|
32
|
+
import type { TooltipProps } from '../ele-tooltip/props';
|
|
33
|
+
import type EleUploadList from '../ele-upload-list/index';
|
|
34
|
+
import type { UploadListProps } from '../ele-upload-list/props';
|
|
35
|
+
import type EleVirtualTable from '../ele-virtual-table/index';
|
|
36
|
+
import type { ComponentProps } from './types';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* EleAdminLayout
|
|
40
|
+
*/
|
|
41
|
+
export type EleAdminLayoutInstance = InstanceType<typeof EleAdminLayout> | null;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* EleBacktop
|
|
45
|
+
*/
|
|
46
|
+
export type EleBacktopProps = ComponentProps<BacktopProps>;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* EleBasicSelect
|
|
50
|
+
*/
|
|
51
|
+
export type EleBasicSelectInstance = InstanceType<typeof EleBasicSelect> | null;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* EleBreadcrumb
|
|
55
|
+
*/
|
|
56
|
+
export type EleBreadcrumbProps = ComponentProps<BreadcrumbProps>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* EleConfigProvider
|
|
60
|
+
*/
|
|
61
|
+
export type ReceiverViewInstance = InstanceType<typeof ReceiverView> | null;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* EleCropper
|
|
65
|
+
*/
|
|
66
|
+
export type EleCropperProps = ComponentProps<CropperProps>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* EleDataTable
|
|
70
|
+
*/
|
|
71
|
+
export type EleDataTableInstance = InstanceType<typeof EleDataTable> | null;
|
|
72
|
+
|
|
73
|
+
export type EleDataTableProps = ComponentProps<DataTableProps>;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* EleDropdown
|
|
77
|
+
*/
|
|
78
|
+
export type EleDropdownInstance = InstanceType<typeof EleDropdown> | null;
|
|
79
|
+
|
|
80
|
+
export type EleDropdownProps = ComponentProps<DropdownProps>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* EleFileList
|
|
84
|
+
*/
|
|
85
|
+
export type EleFileListProps = ComponentProps<FileListProps>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* EleImageViewer
|
|
89
|
+
*/
|
|
90
|
+
export type EleImageViewerProps = ComponentProps<ImageViewerProps>;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* EleLoading
|
|
94
|
+
*/
|
|
95
|
+
export type EleLoadingProps = ComponentProps<LoadingProps>;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* EleMenus
|
|
99
|
+
*/
|
|
100
|
+
export type EleMenusInstance = InstanceType<typeof EleMenus> | null;
|
|
101
|
+
|
|
102
|
+
export type EleMenusProps = ComponentProps<MenusProps>;
|
|
103
|
+
|
|
104
|
+
export type EleMenuItemProps = Partial<MenuItem>;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* EleModal
|
|
108
|
+
*/
|
|
109
|
+
export type EleModalProps = ComponentProps<ModalProps>;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* ElePagination
|
|
113
|
+
*/
|
|
114
|
+
export type ElePaginationProps = ComponentProps<PaginationProps>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* ElePopover
|
|
118
|
+
*/
|
|
119
|
+
export type ElePopoverInstance = InstanceType<typeof ElePopover> | null;
|
|
120
|
+
|
|
121
|
+
export type ElePopoverProps = Partial<PopoverProps>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* ElePrinter
|
|
125
|
+
*/
|
|
126
|
+
export type ElePrinterProps = ComponentProps<PrinterProps>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* EleProTable
|
|
130
|
+
*/
|
|
131
|
+
export type EleProTableInstance = InstanceType<typeof EleProTable> | null;
|
|
132
|
+
|
|
133
|
+
export type EleProTableProps = ComponentProps<ProTableProps>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* EleTable
|
|
137
|
+
*/
|
|
138
|
+
export type EleTableProps = ComponentProps<TableProps>;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* EleTabs
|
|
142
|
+
*/
|
|
143
|
+
export type EleTabsInstance = InstanceType<typeof EleTabs> | null;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* EleText
|
|
147
|
+
*/
|
|
148
|
+
export type EleTextInstance = InstanceType<typeof EleText> | null;
|
|
149
|
+
|
|
150
|
+
export type EleTextProps = ComponentProps<TextProps>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* EleTool
|
|
154
|
+
*/
|
|
155
|
+
export type EleToolInstance = InstanceType<typeof EleTool> | null;
|
|
156
|
+
|
|
157
|
+
export type EleToolProps = Partial<ToolProps>;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* EleToolbar
|
|
161
|
+
*/
|
|
162
|
+
export type EleToolbarProps = ComponentProps<ToolbarProps>;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* EleTooltip
|
|
166
|
+
*/
|
|
167
|
+
export type EleTooltipInstance = InstanceType<typeof EleTooltip> | null;
|
|
168
|
+
|
|
169
|
+
export type EleTooltipProps = Partial<TooltipProps>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* EleUploadList
|
|
173
|
+
*/
|
|
174
|
+
export type EleUploadListInstance = InstanceType<typeof EleUploadList> | null;
|
|
175
|
+
|
|
176
|
+
export type EleUploadListProps = Partial<UploadListProps>;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* EleVirtualTable
|
|
180
|
+
*/
|
|
181
|
+
export type EleVirtualTableInstance = InstanceType<typeof EleVirtualTable> | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.scss";
|