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
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/** 格式校验工具 */
|
|
2
|
+
/**
|
|
3
|
+
* 手机号正则表达式
|
|
4
|
+
*/
|
|
5
|
+
export declare const phoneReg: RegExp;
|
|
6
|
+
/**
|
|
7
|
+
* 手机号正则表达式(强校验)
|
|
8
|
+
*/
|
|
9
|
+
export declare const phoneStrongReg: RegExp;
|
|
10
|
+
/**
|
|
11
|
+
* 固话正则表达式
|
|
12
|
+
*/
|
|
13
|
+
export declare const telReg: RegExp;
|
|
14
|
+
/**
|
|
15
|
+
* 邮箱正则表达式
|
|
16
|
+
*/
|
|
17
|
+
export declare const emailReg: RegExp;
|
|
18
|
+
/**
|
|
19
|
+
* 网址正则表达式
|
|
20
|
+
*/
|
|
21
|
+
export declare const urlReg: RegExp;
|
|
22
|
+
/**
|
|
23
|
+
* 身份证正则表达式
|
|
24
|
+
*/
|
|
25
|
+
export declare const identityReg: RegExp;
|
|
26
|
+
/**
|
|
27
|
+
* 日期正则表达式
|
|
28
|
+
*/
|
|
29
|
+
export declare const dateReg: RegExp;
|
|
30
|
+
/**
|
|
31
|
+
* 数字正则表达式
|
|
32
|
+
*/
|
|
33
|
+
export declare const numberReg: RegExp;
|
|
34
|
+
/**
|
|
35
|
+
* 整数正则表达式
|
|
36
|
+
*/
|
|
37
|
+
export declare const integerReg: RegExp;
|
|
38
|
+
/**
|
|
39
|
+
* 正整数正则表达式
|
|
40
|
+
*/
|
|
41
|
+
export declare const positiveIntegerReg: RegExp;
|
|
42
|
+
/**
|
|
43
|
+
* 负整数正则表达式
|
|
44
|
+
*/
|
|
45
|
+
export declare const negativeIntegerReg: RegExp;
|
|
46
|
+
/**
|
|
47
|
+
* 非负整数(正整数或0)正则表达式
|
|
48
|
+
*/
|
|
49
|
+
export declare const nonNegativeIntegerReg: RegExp;
|
|
50
|
+
/**
|
|
51
|
+
* 非正整数(负整数或0)正则表达式
|
|
52
|
+
*/
|
|
53
|
+
export declare const nonPositiveIntegerReg: RegExp;
|
|
54
|
+
/**
|
|
55
|
+
* 中文正则表达式
|
|
56
|
+
*/
|
|
57
|
+
export declare const chineseReg: RegExp;
|
|
58
|
+
/**
|
|
59
|
+
* 端口号正则表达式
|
|
60
|
+
*/
|
|
61
|
+
export declare const portReg: RegExp;
|
|
62
|
+
/**
|
|
63
|
+
* IP 正则表达式
|
|
64
|
+
*/
|
|
65
|
+
export declare const ipReg: RegExp;
|
|
66
|
+
/**
|
|
67
|
+
* 经度正则表达式, -180.0 ~ +180.0(整数部分为 0 ~ 180 , 必须输入 1 到 5 位小数)
|
|
68
|
+
*/
|
|
69
|
+
export declare const longitudeReg: RegExp;
|
|
70
|
+
/**
|
|
71
|
+
* 纬度正则表达式, -90.0 ~ +90.0(整数部分为 0 ~ 90, 必须输入 1 到 5 位小数)
|
|
72
|
+
*/
|
|
73
|
+
export declare const latitudeReg: RegExp;
|
|
74
|
+
/**
|
|
75
|
+
* 是否是手机号
|
|
76
|
+
* @param value
|
|
77
|
+
*/
|
|
78
|
+
export declare function isPhone(value: string): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* 是否是手机号(强校验)
|
|
81
|
+
* @param value
|
|
82
|
+
*/
|
|
83
|
+
export declare function isPhoneStrong(value: string): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* 是否为固话
|
|
86
|
+
* @param value
|
|
87
|
+
*/
|
|
88
|
+
export declare function isTel(value: string): boolean;
|
|
89
|
+
/**
|
|
90
|
+
* 是否是邮箱
|
|
91
|
+
* @param value
|
|
92
|
+
*/
|
|
93
|
+
export declare function isEmail(value: string): boolean;
|
|
94
|
+
/**
|
|
95
|
+
* 是否是网址
|
|
96
|
+
* @param value
|
|
97
|
+
*/
|
|
98
|
+
export declare function isUrl(value: string): boolean;
|
|
99
|
+
/**
|
|
100
|
+
* 是否是身份证
|
|
101
|
+
* @param value
|
|
102
|
+
*/
|
|
103
|
+
export declare function isIdentity(value: string): boolean;
|
|
104
|
+
/**
|
|
105
|
+
* 是否是日期
|
|
106
|
+
* @param value
|
|
107
|
+
*/
|
|
108
|
+
export declare function isDate(value: string): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* 是否是数字
|
|
111
|
+
* @param value
|
|
112
|
+
*/
|
|
113
|
+
export declare function isNumber(value: string): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* 是否是整数
|
|
116
|
+
* @param value
|
|
117
|
+
*/
|
|
118
|
+
export declare function isInteger(value: string): boolean;
|
|
119
|
+
/**
|
|
120
|
+
* 是否是正整数
|
|
121
|
+
* @param value
|
|
122
|
+
*/
|
|
123
|
+
export declare function isPositiveInteger(value: string): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* 是否是负整数
|
|
126
|
+
* @param value
|
|
127
|
+
*/
|
|
128
|
+
export declare function isNegativeInteger(value: string): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* 是否是非负整数(正整数或 0)
|
|
131
|
+
* @param value
|
|
132
|
+
*/
|
|
133
|
+
export declare function isNonNegativeInteger(value: string): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* 是否是非正整数(负整数或 0)
|
|
136
|
+
* @param value
|
|
137
|
+
*/
|
|
138
|
+
export declare function isNonPositiveInteger(value: string): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* 是否是中文
|
|
141
|
+
* @param value
|
|
142
|
+
*/
|
|
143
|
+
export declare function isChinese(value: string): boolean;
|
|
144
|
+
/**
|
|
145
|
+
* 是否是端口号
|
|
146
|
+
* @param value
|
|
147
|
+
*/
|
|
148
|
+
export declare function isPort(value: string): boolean;
|
|
149
|
+
/**
|
|
150
|
+
* 是否是 IP
|
|
151
|
+
* @param value
|
|
152
|
+
*/
|
|
153
|
+
export declare function isIP(value: string): boolean;
|
|
154
|
+
/**
|
|
155
|
+
* 是否是经度, -180.0 ~ +180.0(整数部分为 0 ~ 180 , 必须输入 1 到 5 位小数)
|
|
156
|
+
* @param value
|
|
157
|
+
*/
|
|
158
|
+
export declare function isLongitude(value: string): boolean;
|
|
159
|
+
/**
|
|
160
|
+
* 是否是纬度, -90.0 ~ +90.0(整数部分为 0 ~ 90 , 必须输入 1 到 5 位小数)
|
|
161
|
+
* @param value
|
|
162
|
+
*/
|
|
163
|
+
export declare function isLatitude(value: string): boolean;
|
|
164
|
+
/**
|
|
165
|
+
* 验证最小长度, 最大长度
|
|
166
|
+
* @param value
|
|
167
|
+
* @param minLength
|
|
168
|
+
* @param maxLength
|
|
169
|
+
*/
|
|
170
|
+
export declare function maxMinLength(value: string, minLength?: number, maxLength?: number): boolean;
|
|
171
|
+
/**
|
|
172
|
+
* 验证最小值, 最大值
|
|
173
|
+
* @param value
|
|
174
|
+
* @param min
|
|
175
|
+
* @param max
|
|
176
|
+
*/
|
|
177
|
+
export declare function maxMin(value: number, min?: number, max?: number): boolean;
|
|
178
|
+
/**
|
|
179
|
+
* 是否是身份证(强校验)
|
|
180
|
+
* @param value
|
|
181
|
+
*/
|
|
182
|
+
export declare function isIdentityStrong(value: string): string | null | undefined;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
const phoneReg = /^1\d{10}$/;
|
|
2
|
+
const phoneStrongReg = /^1[3|5|7|8|9][0-9]{9}$/;
|
|
3
|
+
const telReg = /^(400|800)([0-9\\-]{7,10})|(([0-9]{4}|[0-9]{3})(-| )?)?([0-9]{7,8})((-| |转)*([0-9]{1,4}))?$/;
|
|
4
|
+
const emailReg = /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
|
|
5
|
+
const urlReg = /(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/;
|
|
6
|
+
const identityReg = /(^\d{15}$)|(^\d{17}(x|X|\d)$)/;
|
|
7
|
+
const dateReg = /^(\d{4})[-/](\d{1}|0\d{1}|1[0-2])([-/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/;
|
|
8
|
+
const numberReg = /^[0-9]+\.?[0-9]*$/;
|
|
9
|
+
const integerReg = /^-?\d+$/;
|
|
10
|
+
const positiveIntegerReg = /^[1-9]\d*$/;
|
|
11
|
+
const negativeIntegerReg = /^-[1-9]\d*$/;
|
|
12
|
+
const nonNegativeIntegerReg = /^\d+$/;
|
|
13
|
+
const nonPositiveIntegerReg = /^-[1-9]\d*|0/;
|
|
14
|
+
const chineseReg = /^[\u4E00-\u9FA5]{2,4}$/;
|
|
15
|
+
const portReg = /^([0-9]|[1-9]\d|[1-9]\d{2}|[1-9]\d{3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5])$/;
|
|
16
|
+
const ipReg = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;
|
|
17
|
+
const longitudeReg = /^[-|+]?(0?\d{1,2}\.\d{1,5}|1[0-7]?\d{1}\.\d{1,5}|180\.0{1,5})$/;
|
|
18
|
+
const latitudeReg = /^[-|+]?([0-8]?\d{1}\.\d{1,5}|90\.0{1,5})$/;
|
|
19
|
+
function isPhone(value) {
|
|
20
|
+
return phoneReg.test(value);
|
|
21
|
+
}
|
|
22
|
+
function isPhoneStrong(value) {
|
|
23
|
+
return phoneStrongReg.test(value);
|
|
24
|
+
}
|
|
25
|
+
function isTel(value) {
|
|
26
|
+
return telReg.test(value);
|
|
27
|
+
}
|
|
28
|
+
function isEmail(value) {
|
|
29
|
+
return emailReg.test(value);
|
|
30
|
+
}
|
|
31
|
+
function isUrl(value) {
|
|
32
|
+
return urlReg.test(value);
|
|
33
|
+
}
|
|
34
|
+
function isIdentity(value) {
|
|
35
|
+
return identityReg.test(value);
|
|
36
|
+
}
|
|
37
|
+
function isDate(value) {
|
|
38
|
+
return dateReg.test(value);
|
|
39
|
+
}
|
|
40
|
+
function isNumber(value) {
|
|
41
|
+
return numberReg.test(value);
|
|
42
|
+
}
|
|
43
|
+
function isInteger(value) {
|
|
44
|
+
return integerReg.test(value);
|
|
45
|
+
}
|
|
46
|
+
function isPositiveInteger(value) {
|
|
47
|
+
return positiveIntegerReg.test(value);
|
|
48
|
+
}
|
|
49
|
+
function isNegativeInteger(value) {
|
|
50
|
+
return negativeIntegerReg.test(value);
|
|
51
|
+
}
|
|
52
|
+
function isNonNegativeInteger(value) {
|
|
53
|
+
return nonNegativeIntegerReg.test(value);
|
|
54
|
+
}
|
|
55
|
+
function isNonPositiveInteger(value) {
|
|
56
|
+
return nonPositiveIntegerReg.test(value);
|
|
57
|
+
}
|
|
58
|
+
function isChinese(value) {
|
|
59
|
+
return chineseReg.test(value);
|
|
60
|
+
}
|
|
61
|
+
function isPort(value) {
|
|
62
|
+
return portReg.test(value);
|
|
63
|
+
}
|
|
64
|
+
function isIP(value) {
|
|
65
|
+
return ipReg.test(value);
|
|
66
|
+
}
|
|
67
|
+
function isLongitude(value) {
|
|
68
|
+
return longitudeReg.test(value);
|
|
69
|
+
}
|
|
70
|
+
function isLatitude(value) {
|
|
71
|
+
return latitudeReg.test(value);
|
|
72
|
+
}
|
|
73
|
+
function maxMinLength(value, minLength, maxLength) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return !minLength;
|
|
76
|
+
}
|
|
77
|
+
if (minLength && value.toString().length < minLength) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return !(maxLength != null && value.toString().length > maxLength);
|
|
81
|
+
}
|
|
82
|
+
function maxMin(value, min, max) {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return min == null;
|
|
85
|
+
}
|
|
86
|
+
if (min != null && value < min) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
return !(max != null && value > max);
|
|
90
|
+
}
|
|
91
|
+
function isIdentityStrong(value) {
|
|
92
|
+
if (!isIdentity(value)) {
|
|
93
|
+
return "身份证号码格式错误";
|
|
94
|
+
}
|
|
95
|
+
const ai = value.length === 18 ? value.substring(0, 17) : value.substring(0, 6) + "19" + value.substring(6, 15);
|
|
96
|
+
const year = ai.substring(6, 10);
|
|
97
|
+
const birthday = year + "/" + ai.substring(10, 12) + "/" + ai.substring(12, 14);
|
|
98
|
+
if (!isDate(birthday)) {
|
|
99
|
+
return "身份证号码出生日期无效";
|
|
100
|
+
}
|
|
101
|
+
const now = /* @__PURE__ */ new Date();
|
|
102
|
+
if (now.getFullYear() - Number.parseInt(year) > 150 || now.getTime() - new Date(birthday).getTime() < 0) {
|
|
103
|
+
return "身份证号码出生日期不在有效范围";
|
|
104
|
+
}
|
|
105
|
+
const areaCodes = [
|
|
106
|
+
"11",
|
|
107
|
+
"12",
|
|
108
|
+
"13",
|
|
109
|
+
"14",
|
|
110
|
+
"15",
|
|
111
|
+
"21",
|
|
112
|
+
"22",
|
|
113
|
+
"23",
|
|
114
|
+
"31",
|
|
115
|
+
"32",
|
|
116
|
+
"33",
|
|
117
|
+
"34",
|
|
118
|
+
"35",
|
|
119
|
+
"36",
|
|
120
|
+
"37",
|
|
121
|
+
"41",
|
|
122
|
+
"42",
|
|
123
|
+
"43",
|
|
124
|
+
"44",
|
|
125
|
+
"45",
|
|
126
|
+
"46",
|
|
127
|
+
"50",
|
|
128
|
+
"51",
|
|
129
|
+
"52",
|
|
130
|
+
"53",
|
|
131
|
+
"54",
|
|
132
|
+
"61",
|
|
133
|
+
"62",
|
|
134
|
+
"63",
|
|
135
|
+
"64",
|
|
136
|
+
"65",
|
|
137
|
+
"71",
|
|
138
|
+
"81",
|
|
139
|
+
"82",
|
|
140
|
+
"91"
|
|
141
|
+
];
|
|
142
|
+
if (areaCodes.indexOf(ai.substring(0, 2)) === -1) {
|
|
143
|
+
return "身份证号码地区编码错误";
|
|
144
|
+
}
|
|
145
|
+
if (value.length === 18) {
|
|
146
|
+
const valCode = ["1", "0", "X", "9", "8", "7", "6", "5", "4", "3", "2"];
|
|
147
|
+
const wi = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
|
|
148
|
+
let totalMulAiWi = 0;
|
|
149
|
+
for (let i = 0; i < 17; i++) {
|
|
150
|
+
totalMulAiWi += Number.parseInt(ai.charAt(i)) * wi[i];
|
|
151
|
+
}
|
|
152
|
+
if (value !== ai + valCode[totalMulAiWi % 11]) {
|
|
153
|
+
return "身份证号码最后一位错误";
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
export {
|
|
158
|
+
chineseReg,
|
|
159
|
+
dateReg,
|
|
160
|
+
emailReg,
|
|
161
|
+
identityReg,
|
|
162
|
+
integerReg,
|
|
163
|
+
ipReg,
|
|
164
|
+
isChinese,
|
|
165
|
+
isDate,
|
|
166
|
+
isEmail,
|
|
167
|
+
isIP,
|
|
168
|
+
isIdentity,
|
|
169
|
+
isIdentityStrong,
|
|
170
|
+
isInteger,
|
|
171
|
+
isLatitude,
|
|
172
|
+
isLongitude,
|
|
173
|
+
isNegativeInteger,
|
|
174
|
+
isNonNegativeInteger,
|
|
175
|
+
isNonPositiveInteger,
|
|
176
|
+
isNumber,
|
|
177
|
+
isPhone,
|
|
178
|
+
isPhoneStrong,
|
|
179
|
+
isPort,
|
|
180
|
+
isPositiveInteger,
|
|
181
|
+
isTel,
|
|
182
|
+
isUrl,
|
|
183
|
+
latitudeReg,
|
|
184
|
+
longitudeReg,
|
|
185
|
+
maxMin,
|
|
186
|
+
maxMinLength,
|
|
187
|
+
negativeIntegerReg,
|
|
188
|
+
nonNegativeIntegerReg,
|
|
189
|
+
nonPositiveIntegerReg,
|
|
190
|
+
numberReg,
|
|
191
|
+
phoneReg,
|
|
192
|
+
phoneStrongReg,
|
|
193
|
+
portReg,
|
|
194
|
+
positiveIntegerReg,
|
|
195
|
+
telReg,
|
|
196
|
+
urlReg
|
|
197
|
+
};
|
package/package.json
CHANGED
|
@@ -1,55 +1,194 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yuang-framework-ui-pc",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"private": false,
|
|
3
|
+
"version": "1.2.1",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"scripts": {
|
|
7
|
-
"dev": "vite",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
6
|
+
"dev": "vite --host --config vite.global.ts",
|
|
7
|
+
"dev:needed": "vite --host",
|
|
8
|
+
"build": "esno scripts/build.ts",
|
|
9
|
+
"ts2js": "esno scripts/ts2js.ts",
|
|
10
|
+
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,components}/**/*.{vue,js,jsx,ts,tsx}\" --fix",
|
|
11
|
+
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite/",
|
|
12
|
+
"clean:lib": "rimraf node_modules",
|
|
13
|
+
"test": "esno scripts/test.ts"
|
|
15
14
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"lib"
|
|
20
|
-
],
|
|
21
|
-
"main": "dist/yuang-framework-ui-pc.umd.js",
|
|
22
|
-
"module": "dist/yuang-framework-ui-pc.es.js",
|
|
23
|
-
"unpkg": "dist/yuang-framework-ui-pc.iife.js",
|
|
24
|
-
"author": "yuang",
|
|
25
|
-
"license": "ISC",
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"element-plus": "^2.7.8",
|
|
28
|
-
"yuang-framework-ui-common": "^1.0.6"
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"element-plus": ">=2.7.0",
|
|
17
|
+
"vue": ">=3.1.0"
|
|
29
18
|
},
|
|
30
19
|
"devDependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@types
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
20
|
+
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
21
|
+
"@ant-design/colors": "^7.1.0",
|
|
22
|
+
"@babel/types": "^7.25.4",
|
|
23
|
+
"@bytemd/plugin-gfm": "^1.21.0",
|
|
24
|
+
"@bytemd/plugin-highlight": "^1.21.0",
|
|
25
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
26
|
+
"@types/fs-extra": "^11.0.4",
|
|
27
|
+
"@types/node": "^22.5.0",
|
|
28
|
+
"@types/nprogress": "^0.2.3",
|
|
29
|
+
"@types/sortablejs": "^1.15.8",
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
31
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
32
|
+
"@vitejs/plugin-vue": "^5.1.2",
|
|
33
|
+
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
34
|
+
"@vue/compiler-sfc": "^3.4.38",
|
|
35
|
+
"@vueuse/core": "^11.0.3",
|
|
36
|
+
"axios": "^1.7.5",
|
|
37
|
+
"bytemd": "^1.21.0",
|
|
38
|
+
"chalk": "^5.3.0",
|
|
39
|
+
"countup.js": "^2.8.0",
|
|
40
|
+
"cropperjs": "^1.6.2",
|
|
41
|
+
"dayjs": "^1.11.13",
|
|
42
|
+
"echarts": "^5.5.1",
|
|
43
|
+
"echarts-wordcloud": "^2.1.0",
|
|
44
|
+
"element-plus": "^2.8.1",
|
|
42
45
|
"eslint": "^8.57.0",
|
|
43
|
-
"eslint-
|
|
44
|
-
"eslint-plugin-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
46
|
+
"eslint-config-prettier": "^9.1.0",
|
|
47
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
48
|
+
"eslint-plugin-vue": "^9.27.0",
|
|
49
|
+
"esno": "^4.7.0",
|
|
50
|
+
"exceljs": "^4.4.0",
|
|
51
|
+
"execa": "^9.3.1",
|
|
52
|
+
"github-markdown-css": "^5.6.1",
|
|
53
|
+
"highlight.js": "^11.10.0",
|
|
54
|
+
"jsbarcode": "^3.11.6",
|
|
55
|
+
"lodash-es": "^4.17.21",
|
|
56
|
+
"monaco-editor": "^0.51.0",
|
|
57
|
+
"nprogress": "^0.2.0",
|
|
58
|
+
"p-limit": "^6.1.0",
|
|
59
|
+
"pinia": "^2.2.2",
|
|
60
|
+
"postcss": "^8.4.41",
|
|
61
|
+
"prettier": "^3.3.3",
|
|
62
|
+
"rimraf": "^6.0.1",
|
|
63
|
+
"sass": "^1.77.8",
|
|
64
|
+
"sortablejs": "^1.15.2",
|
|
65
|
+
"tinymce": "^5.10.9",
|
|
66
|
+
"typescript": "^5.5.4",
|
|
67
|
+
"unplugin-vue-components": "^0.27.4",
|
|
68
|
+
"vite": "^5.4.2",
|
|
69
|
+
"vite-plugin-dts": "^3.9.1",
|
|
70
|
+
"vue": "^3.4.38",
|
|
71
|
+
"vue-echarts": "^7.0.3",
|
|
72
|
+
"vue-eslint-parser": "^9.4.3",
|
|
73
|
+
"vue-i18n": "^9.14.0",
|
|
74
|
+
"vue-router": "^4.4.3",
|
|
75
|
+
"vue-tsc": "^2.0.29",
|
|
76
|
+
"vuedraggable": "^4.1.0",
|
|
77
|
+
"xgplayer": "^3.0.20",
|
|
78
|
+
"xgplayer-hls": "^3.0.20",
|
|
79
|
+
"xgplayer-music": "^3.0.20"
|
|
80
|
+
},
|
|
81
|
+
"main": "lib/index.cjs",
|
|
82
|
+
"module": "es/index.js",
|
|
83
|
+
"typings": "es/index.d.ts",
|
|
84
|
+
"files": [
|
|
85
|
+
"es",
|
|
86
|
+
"lib",
|
|
87
|
+
"typings/global.d.ts"
|
|
88
|
+
],
|
|
89
|
+
"sideEffects": [
|
|
90
|
+
"*.css",
|
|
91
|
+
"*.scss",
|
|
92
|
+
"dist/*",
|
|
93
|
+
"es/*/style/**",
|
|
94
|
+
"lib/*/style/**",
|
|
95
|
+
"components/*/style/**"
|
|
96
|
+
],
|
|
97
|
+
"exports": {
|
|
98
|
+
".": {
|
|
99
|
+
"types": "./es/index.d.ts",
|
|
100
|
+
"import": "./es/index.js",
|
|
101
|
+
"require": "./lib/index.cjs"
|
|
102
|
+
},
|
|
103
|
+
"./es/icons": {
|
|
104
|
+
"types": "./es/icons/index.d.ts",
|
|
105
|
+
"import": "./es/icons/index.js"
|
|
106
|
+
},
|
|
107
|
+
"./lib/icons": {
|
|
108
|
+
"types": "./lib/icons/index.d.ts",
|
|
109
|
+
"require": "./lib/icons/index.cjs"
|
|
110
|
+
},
|
|
111
|
+
"./es/icons/*": {
|
|
112
|
+
"types": "./es/icons/*.d.ts",
|
|
113
|
+
"import": "./es/icons/*.js"
|
|
114
|
+
},
|
|
115
|
+
"./lib/icons/*": {
|
|
116
|
+
"types": "./lib/icons/*.d.ts",
|
|
117
|
+
"require": "./lib/icons/*.cjs"
|
|
118
|
+
},
|
|
119
|
+
"./es/lang/*": {
|
|
120
|
+
"types": "./es/lang/*.d.ts",
|
|
121
|
+
"import": "./es/lang/*.js"
|
|
122
|
+
},
|
|
123
|
+
"./lib/lang/*": {
|
|
124
|
+
"types": "./lib/lang/*.d.ts",
|
|
125
|
+
"require": "./lib/lang/*.cjs"
|
|
126
|
+
},
|
|
127
|
+
"./es/style/*": {
|
|
128
|
+
"import": "./es/style/*"
|
|
129
|
+
},
|
|
130
|
+
"./lib/style/*": {
|
|
131
|
+
"require": "./lib/style/*"
|
|
132
|
+
},
|
|
133
|
+
"./es/utils/*": {
|
|
134
|
+
"types": "./es/utils/*.d.ts",
|
|
135
|
+
"import": "./es/utils/*.js"
|
|
136
|
+
},
|
|
137
|
+
"./lib/utils/*": {
|
|
138
|
+
"types": "./lib/utils/*.d.ts",
|
|
139
|
+
"require": "./lib/utils/*.cjs"
|
|
140
|
+
},
|
|
141
|
+
"./es": {
|
|
142
|
+
"types": "./es/index.d.ts",
|
|
143
|
+
"import": "./es/index.js"
|
|
144
|
+
},
|
|
145
|
+
"./lib": {
|
|
146
|
+
"types": "./lib/index.d.ts",
|
|
147
|
+
"require": "./lib/index.cjs"
|
|
148
|
+
},
|
|
149
|
+
"./es/*.js": {
|
|
150
|
+
"types": "./es/*.d.ts",
|
|
151
|
+
"import": "./es/*.js"
|
|
152
|
+
},
|
|
153
|
+
"./es/*": {
|
|
154
|
+
"types": [
|
|
155
|
+
"./es/*.d.ts",
|
|
156
|
+
"./es/*/index.d.ts"
|
|
157
|
+
],
|
|
158
|
+
"import": "./es/*.js"
|
|
159
|
+
},
|
|
160
|
+
"./lib/*.cjs": {
|
|
161
|
+
"types": "./lib/*.d.ts",
|
|
162
|
+
"require": "./lib/*.cjs"
|
|
163
|
+
},
|
|
164
|
+
"./lib/*": {
|
|
165
|
+
"types": [
|
|
166
|
+
"./lib/*.d.ts",
|
|
167
|
+
"./lib/*/index.d.ts"
|
|
168
|
+
],
|
|
169
|
+
"require": "./lib/*.cjs"
|
|
170
|
+
},
|
|
171
|
+
"./typings/*": {
|
|
172
|
+
"types": "./typings/*.d.ts"
|
|
173
|
+
},
|
|
174
|
+
"./*": "./*"
|
|
175
|
+
},
|
|
176
|
+
"keywords": [
|
|
177
|
+
"vue",
|
|
178
|
+
"vue3",
|
|
179
|
+
"element",
|
|
180
|
+
"element ui",
|
|
181
|
+
"element plus",
|
|
182
|
+
"admin",
|
|
183
|
+
"ele admin"
|
|
184
|
+
],
|
|
185
|
+
"description": "EleAdminPlus Library",
|
|
186
|
+
"author": "eclouds@foxmail.com",
|
|
187
|
+
"homepage": "https://eleadmin.com",
|
|
188
|
+
"repository": "https://eleadmin.com",
|
|
189
|
+
"license": "SEE LICENSE IN <https://eleadmin.com/copyright>",
|
|
190
|
+
"dependencies": {
|
|
191
|
+
"yuang-framework-ui-common": "^1.0.24",
|
|
192
|
+
"yuang-framework-ui-pc": "^1.0.20"
|
|
54
193
|
}
|
|
55
194
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/consistent-type-imports */
|
|
2
|
+
declare module '@vue/runtime-core' {
|
|
3
|
+
export interface GlobalComponents {
|
|
4
|
+
EleAdminLayout: (typeof import('ele-admin-plus'))['EleAdminLayout'];
|
|
5
|
+
EleAlert: (typeof import('ele-admin-plus'))['EleAlert'];
|
|
6
|
+
EleApp: (typeof import('ele-admin-plus'))['EleApp'];
|
|
7
|
+
EleAvatarGroup: (typeof import('ele-admin-plus'))['EleAvatarGroup'];
|
|
8
|
+
EleBacktop: (typeof import('ele-admin-plus'))['EleBacktop'];
|
|
9
|
+
EleBarCode: (typeof import('ele-admin-plus'))['EleBarCode'];
|
|
10
|
+
EleBasicSelect: (typeof import('ele-admin-plus'))['EleBasicSelect'];
|
|
11
|
+
EleBottomBar: (typeof import('ele-admin-plus'))['EleBottomBar'];
|
|
12
|
+
EleBreadcrumb: (typeof import('ele-admin-plus'))['EleBreadcrumb'];
|
|
13
|
+
EleCard: (typeof import('ele-admin-plus'))['EleCard'];
|
|
14
|
+
EleCheckCard: (typeof import('ele-admin-plus'))['EleCheckCard'];
|
|
15
|
+
EleConfigProvider: (typeof import('ele-admin-plus'))['EleConfigProvider'];
|
|
16
|
+
EleCopyable: (typeof import('ele-admin-plus'))['EleCopyable'];
|
|
17
|
+
EleCountUp: (typeof import('ele-admin-plus'))['EleCountUp'];
|
|
18
|
+
EleCropper: (typeof import('ele-admin-plus'))['EleCropper'];
|
|
19
|
+
EleCropperModal: (typeof import('ele-admin-plus'))['EleCropperModal'];
|
|
20
|
+
EleDashboard: (typeof import('ele-admin-plus'))['EleDashboard'];
|
|
21
|
+
EleDataTable: (typeof import('ele-admin-plus'))['EleDataTable'];
|
|
22
|
+
EleDot: (typeof import('ele-admin-plus'))['EleDot'];
|
|
23
|
+
EleDrawer: (typeof import('ele-admin-plus'))['EleDrawer'];
|
|
24
|
+
EleDropdown: (typeof import('ele-admin-plus'))['EleDropdown'];
|
|
25
|
+
EleEditTag: (typeof import('ele-admin-plus'))['EleEditTag'];
|
|
26
|
+
EleEllipsis: (typeof import('ele-admin-plus'))['EleEllipsis'];
|
|
27
|
+
EleFileList: (typeof import('ele-admin-plus'))['EleFileList'];
|
|
28
|
+
EleFileListTool: (typeof import('ele-admin-plus'))['EleFileListTool'];
|
|
29
|
+
EleIconSelect: (typeof import('ele-admin-plus'))['EleIconSelect'];
|
|
30
|
+
EleImageViewer: (typeof import('ele-admin-plus'))['EleImageViewer'];
|
|
31
|
+
EleLoading: (typeof import('ele-admin-plus'))['EleLoading'];
|
|
32
|
+
EleMapPicker: (typeof import('ele-admin-plus'))['EleMapPicker'];
|
|
33
|
+
EleMenus: (typeof import('ele-admin-plus'))['EleMenus'];
|
|
34
|
+
EleModal: (typeof import('ele-admin-plus'))['EleModal'];
|
|
35
|
+
ElePage: (typeof import('ele-admin-plus'))['ElePage'];
|
|
36
|
+
ElePagination: (typeof import('ele-admin-plus'))['ElePagination'];
|
|
37
|
+
ElePopconfirm: (typeof import('ele-admin-plus'))['ElePopconfirm'];
|
|
38
|
+
ElePopover: (typeof import('ele-admin-plus'))['ElePopover'];
|
|
39
|
+
ElePrinter: (typeof import('ele-admin-plus'))['ElePrinter'];
|
|
40
|
+
EleProLayout: (typeof import('ele-admin-plus'))['EleProLayout'];
|
|
41
|
+
EleProTable: (typeof import('ele-admin-plus'))['EleProTable'];
|
|
42
|
+
EleQrCode: (typeof import('ele-admin-plus'))['EleQrCode'];
|
|
43
|
+
EleQrCodeSvg: (typeof import('ele-admin-plus'))['EleQrCodeSvg'];
|
|
44
|
+
EleSegmented: (typeof import('ele-admin-plus'))['EleSegmented'];
|
|
45
|
+
EleSplitPanel: (typeof import('ele-admin-plus'))['EleSplitPanel'];
|
|
46
|
+
EleSteps: (typeof import('ele-admin-plus'))['EleSteps'];
|
|
47
|
+
EleTabTool: (typeof import('ele-admin-plus'))['EleTabTool'];
|
|
48
|
+
EleTabWrap: (typeof import('ele-admin-plus'))['EleTabWrap'];
|
|
49
|
+
EleTable: (typeof import('ele-admin-plus'))['EleTable'];
|
|
50
|
+
EleTableSelect: (typeof import('ele-admin-plus'))['EleTableSelect'];
|
|
51
|
+
EleTabs: (typeof import('ele-admin-plus'))['EleTabs'];
|
|
52
|
+
EleText: (typeof import('ele-admin-plus'))['EleText'];
|
|
53
|
+
EleTool: (typeof import('ele-admin-plus'))['EleTool'];
|
|
54
|
+
EleToolbar: (typeof import('ele-admin-plus'))['EleToolbar'];
|
|
55
|
+
EleTooltip: (typeof import('ele-admin-plus'))['EleTooltip'];
|
|
56
|
+
EleTour: (typeof import('ele-admin-plus'))['EleTour'];
|
|
57
|
+
EleTreeSelect: (typeof import('ele-admin-plus'))['EleTreeSelect'];
|
|
58
|
+
EleUploadList: (typeof import('ele-admin-plus'))['EleUploadList'];
|
|
59
|
+
EleVirtualTable: (typeof import('ele-admin-plus'))['EleVirtualTable'];
|
|
60
|
+
EleWatermark: (typeof import('ele-admin-plus'))['EleWatermark'];
|
|
61
|
+
EleXgPlayer: (typeof import('ele-admin-plus'))['EleXgPlayer'];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
export {};
|
package/dist/favicon.ico
DELETED
|
Binary file
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
button[data-v-d865be7e]{width:100px;height:50px;display:flex;align-items:center;justify-content:center;border:none;border-radius:10px;cursor:pointer}
|