ele-admin-plus 1.1.8-beta.4 → 1.1.8-beta.6
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/es/components.d.ts +1 -49
- package/es/components.js +13 -110
- package/es/core-components.d.ts +49 -0
- package/es/core-components.js +100 -0
- package/es/core-export.d.ts +9 -0
- package/es/core-export.js +14 -0
- package/es/core-installer.d.ts +3 -0
- package/es/core-installer.js +11 -0
- package/es/core.d.ts +3 -0
- package/es/core.js +6 -0
- package/es/ele-alert/index.d.ts +4 -4
- package/es/ele-alert/index.js +13 -13
- package/es/ele-app/style/overwrite/input/index.scss +32 -39
- package/es/ele-app/style/overwrite/message-box/index.scss +6 -1
- package/es/ele-app/style/scrollbar/css-var.scss +20 -5
- package/es/ele-basic-select/index.d.ts +6 -6
- package/es/ele-basic-select/index.js +4 -4
- package/es/ele-basic-select/props.d.ts +1 -1
- package/es/ele-basic-select/style/index.scss +2 -9
- package/es/ele-copyable/index.d.ts +4 -2
- package/es/ele-copyable/index.js +6 -6
- package/es/ele-cropper/components/cropper-tools.js +14 -14
- package/es/ele-cropper/props.js +1 -1
- package/es/ele-cropper/style/index.scss +3 -3
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-data-table/style/index.scss +17 -6
- package/es/ele-drawer/index.d.ts +9 -5
- package/es/ele-drawer/index.js +66 -10
- package/es/ele-drawer/props.d.ts +3 -1
- package/es/ele-drawer/props.js +3 -1
- package/es/ele-drawer/style/index.scss +90 -17
- package/es/ele-dropdown/index.d.ts +2 -0
- package/es/ele-dropdown/index.js +18 -8
- package/es/ele-dropdown/props.d.ts +3 -0
- package/es/ele-dropdown/props.js +3 -1
- package/es/ele-edit-tag/index.d.ts +8 -4
- package/es/ele-edit-tag/index.js +29 -26
- package/es/ele-edit-tag/props.d.ts +5 -1
- package/es/ele-edit-tag/props.js +4 -0
- package/es/ele-edit-tag/style/index.scss +74 -72
- package/es/ele-ellipsis/index.d.ts +1 -1
- package/es/ele-icon-select/components/icon-grid.js +42 -39
- package/es/ele-icon-select/style/index.js +1 -0
- package/es/ele-icon-select/style/index.scss +5 -3
- package/es/ele-map-picker/components/map-view.d.ts +10 -12
- package/es/ele-map-picker/components/map-view.js +30 -30
- package/es/ele-map-picker/style/index.scss +5 -5
- package/es/ele-menus/index.js +3 -1
- package/es/ele-menus/style/index.scss +14 -8
- package/es/ele-menus/util.js +5 -2
- package/es/ele-modal/index.d.ts +14 -14
- package/es/ele-modal/index.js +39 -32
- package/es/ele-modal/props.d.ts +1 -1
- package/es/ele-modal/style/css-var.scss +0 -7
- package/es/ele-modal/style/index.scss +10 -4
- package/es/ele-popconfirm/index.d.ts +2 -2
- package/es/ele-popconfirm/index.js +4 -4
- package/es/ele-pro-layout/components/pro-header.js +2 -2
- package/es/ele-pro-layout/components/pro-tabs.js +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.js +3 -3
- package/es/ele-pro-layout/style/css-var.scss +9 -3
- package/es/ele-pro-table/components/table-tools.js +4 -5
- package/es/ele-pro-table/components/tool-column.js +4 -4
- package/es/ele-pro-table/index.d.ts +1 -1
- package/es/ele-pro-table/index.js +4 -4
- package/es/ele-pro-table/style/index.scss +2 -2
- package/es/ele-split-panel/index.js +7 -1
- package/es/ele-split-panel/style/index.scss +5 -1
- package/es/ele-table-select/index.d.ts +3 -3
- package/es/ele-table-select/props.d.ts +1 -1
- package/es/ele-tabs/index.js +28 -17
- package/es/ele-tabs/style/css-var.scss +3 -1
- package/es/ele-tabs/style/index.scss +26 -0
- package/es/ele-toolbar/index.d.ts +4 -0
- package/es/ele-toolbar/index.js +7 -7
- package/es/ele-toolbar/props.d.ts +5 -0
- package/es/ele-toolbar/props.js +5 -1
- package/es/ele-tree-select/index.d.ts +13 -8
- package/es/ele-tree-select/index.js +49 -6
- package/es/ele-tree-select/props.d.ts +3 -1
- package/es/ele-tree-select/props.js +2 -0
- package/es/ele-tree-select/util.d.ts +7 -0
- package/es/ele-tree-select/util.js +13 -0
- package/es/ele-upload-list/components/list-item.js +10 -10
- package/es/ele-upload-list/index.js +4 -4
- package/es/ele-upload-list/style/index.scss +12 -4
- package/es/ele-virtual-table/components/body-cell.js +10 -5
- package/es/ele-virtual-table/style/index.scss +3 -2
- 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.js +5 -7
- package/es/icons/ArrowDownOutlined.d.ts +2 -0
- package/es/icons/ArrowDownOutlined.js +30 -0
- package/es/icons/ArrowLeft.js +7 -6
- package/es/icons/ArrowLeftOutlined.d.ts +2 -0
- package/es/icons/ArrowLeftOutlined.js +30 -0
- package/es/icons/ArrowRight.js +6 -7
- package/es/icons/ArrowRightOutlined.d.ts +2 -0
- package/es/icons/ArrowRightOutlined.js +30 -0
- package/es/icons/ArrowUp.js +6 -6
- 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.js +7 -17
- 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.js +17 -5
- package/es/icons/CompassOutlined.d.ts +2 -0
- package/es/icons/CompassOutlined.js +34 -0
- package/es/icons/CompressOutlined.js +18 -5
- 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/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.js +6 -9
- 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.js +18 -5
- package/es/icons/FileOutlined.d.ts +2 -0
- package/es/icons/FileOutlined.js +35 -0
- package/es/icons/FilterFilled.js +5 -2
- 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.js +16 -5
- package/es/icons/FullscreenOutlined.js +16 -5
- 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.js +8 -5
- package/es/icons/HomeOutlined.js +5 -24
- 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.js +8 -2
- 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/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/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/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/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.js +7 -2
- package/es/icons/VerticalRightOutlined.js +7 -2
- 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 +89 -0
- package/es/icons/index.js +212 -34
- package/es/index.d.ts +1 -9
- package/es/index.js +1 -12
- package/es/style/themes/default.scss +14 -13
- package/es/style/themes/rounded.scss +1 -2
- package/lib/components.cjs +20 -110
- package/lib/components.d.ts +1 -49
- package/lib/core-components.cjs +100 -0
- package/lib/core-components.d.ts +49 -0
- package/lib/core-export.cjs +56 -0
- package/lib/core-export.d.ts +9 -0
- package/lib/core-installer.cjs +28 -0
- package/lib/core-installer.d.ts +3 -0
- package/lib/core.cjs +23 -0
- package/lib/core.d.ts +3 -0
- package/lib/ele-alert/index.cjs +13 -13
- package/lib/ele-alert/index.d.ts +4 -4
- package/lib/ele-app/style/overwrite/input/index.scss +32 -39
- package/lib/ele-app/style/overwrite/message-box/index.scss +6 -1
- package/lib/ele-app/style/scrollbar/css-var.scss +20 -5
- package/lib/ele-basic-select/index.cjs +3 -3
- package/lib/ele-basic-select/index.d.ts +6 -6
- package/lib/ele-basic-select/props.d.ts +1 -1
- package/lib/ele-basic-select/style/index.scss +2 -9
- package/lib/ele-copyable/index.cjs +6 -6
- package/lib/ele-copyable/index.d.ts +4 -2
- package/lib/ele-cropper/components/cropper-tools.cjs +14 -14
- package/lib/ele-cropper/props.cjs +1 -1
- package/lib/ele-cropper/style/index.scss +3 -3
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-data-table/style/index.scss +17 -6
- package/lib/ele-drawer/index.cjs +64 -8
- package/lib/ele-drawer/index.d.ts +9 -5
- package/lib/ele-drawer/props.cjs +3 -1
- package/lib/ele-drawer/props.d.ts +3 -1
- package/lib/ele-drawer/style/index.scss +90 -17
- package/lib/ele-dropdown/index.cjs +18 -8
- package/lib/ele-dropdown/index.d.ts +2 -0
- package/lib/ele-dropdown/props.cjs +3 -1
- package/lib/ele-dropdown/props.d.ts +3 -0
- package/lib/ele-edit-tag/index.cjs +28 -25
- package/lib/ele-edit-tag/index.d.ts +8 -4
- package/lib/ele-edit-tag/props.cjs +4 -0
- package/lib/ele-edit-tag/props.d.ts +5 -1
- package/lib/ele-edit-tag/style/index.scss +74 -72
- package/lib/ele-ellipsis/index.d.ts +1 -1
- package/lib/ele-icon-select/components/icon-grid.cjs +40 -37
- package/lib/ele-icon-select/style/index.cjs +1 -0
- package/lib/ele-icon-select/style/index.scss +5 -3
- package/lib/ele-map-picker/components/map-view.cjs +30 -30
- package/lib/ele-map-picker/components/map-view.d.ts +10 -12
- package/lib/ele-map-picker/style/index.scss +5 -5
- package/lib/ele-menus/index.cjs +3 -1
- package/lib/ele-menus/style/index.scss +14 -8
- package/lib/ele-menus/util.cjs +5 -2
- package/lib/ele-modal/index.cjs +38 -31
- package/lib/ele-modal/index.d.ts +14 -14
- package/lib/ele-modal/props.d.ts +1 -1
- package/lib/ele-modal/style/css-var.scss +0 -7
- package/lib/ele-modal/style/index.scss +10 -4
- package/lib/ele-popconfirm/index.cjs +4 -4
- package/lib/ele-popconfirm/index.d.ts +2 -2
- package/lib/ele-pro-layout/components/pro-header.cjs +2 -2
- package/lib/ele-pro-layout/components/pro-tabs.cjs +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +4 -4
- package/lib/ele-pro-layout/style/css-var.scss +9 -3
- package/lib/ele-pro-table/components/table-tools.cjs +3 -4
- package/lib/ele-pro-table/components/tool-column.cjs +4 -4
- package/lib/ele-pro-table/index.cjs +4 -4
- package/lib/ele-pro-table/index.d.ts +1 -1
- package/lib/ele-pro-table/style/index.scss +2 -2
- package/lib/ele-split-panel/index.cjs +7 -1
- package/lib/ele-split-panel/style/index.scss +5 -1
- package/lib/ele-table-select/index.d.ts +3 -3
- package/lib/ele-table-select/props.d.ts +1 -1
- package/lib/ele-tabs/index.cjs +28 -17
- package/lib/ele-tabs/style/css-var.scss +3 -1
- package/lib/ele-tabs/style/index.scss +26 -0
- package/lib/ele-toolbar/index.cjs +6 -6
- package/lib/ele-toolbar/index.d.ts +4 -0
- package/lib/ele-toolbar/props.cjs +5 -1
- package/lib/ele-toolbar/props.d.ts +5 -0
- package/lib/ele-tree-select/index.cjs +48 -5
- package/lib/ele-tree-select/index.d.ts +13 -8
- package/lib/ele-tree-select/props.cjs +2 -0
- package/lib/ele-tree-select/props.d.ts +3 -1
- package/lib/ele-tree-select/util.cjs +13 -0
- package/lib/ele-tree-select/util.d.ts +7 -0
- package/lib/ele-upload-list/components/list-item.cjs +10 -10
- package/lib/ele-upload-list/index.cjs +4 -4
- package/lib/ele-upload-list/style/index.scss +12 -4
- package/lib/ele-virtual-table/components/body-cell.cjs +9 -4
- package/lib/ele-virtual-table/style/index.scss +3 -2
- package/lib/icons/AnalysisOutlined.cjs +34 -0
- package/lib/icons/AnalysisOutlined.d.ts +2 -0
- package/lib/icons/ApplicationOutlined.cjs +25 -0
- package/lib/icons/ApplicationOutlined.d.ts +2 -0
- package/lib/icons/AppstoreAddOutlined.cjs +34 -0
- package/lib/icons/AppstoreAddOutlined.d.ts +2 -0
- package/lib/icons/AppstoreOutlined.cjs +34 -0
- package/lib/icons/AppstoreOutlined.d.ts +2 -0
- package/lib/icons/ArrowDown.cjs +5 -7
- package/lib/icons/ArrowDownOutlined.cjs +29 -0
- package/lib/icons/ArrowDownOutlined.d.ts +2 -0
- package/lib/icons/ArrowLeft.cjs +7 -6
- package/lib/icons/ArrowLeftOutlined.cjs +29 -0
- package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
- package/lib/icons/ArrowRight.cjs +6 -7
- package/lib/icons/ArrowRightOutlined.cjs +29 -0
- package/lib/icons/ArrowRightOutlined.d.ts +2 -0
- package/lib/icons/ArrowUp.cjs +6 -6
- package/lib/icons/ArrowUpOutlined.cjs +29 -0
- package/lib/icons/ArrowUpOutlined.d.ts +2 -0
- package/lib/icons/BellOutlined.cjs +28 -0
- package/lib/icons/BellOutlined.d.ts +2 -0
- package/lib/icons/BookOutlined.cjs +28 -0
- package/lib/icons/BookOutlined.d.ts +2 -0
- package/lib/icons/CalendarOutlined.cjs +28 -0
- package/lib/icons/CalendarOutlined.d.ts +2 -0
- package/lib/icons/CaretDownFilled.cjs +25 -0
- package/lib/icons/CaretDownFilled.d.ts +2 -0
- package/lib/icons/CaretUpFilled.cjs +25 -0
- package/lib/icons/CaretUpFilled.d.ts +2 -0
- package/lib/icons/CheckCircleFilled.cjs +25 -0
- package/lib/icons/CheckCircleFilled.d.ts +2 -0
- package/lib/icons/CheckCircleOutlined.cjs +31 -0
- package/lib/icons/CheckCircleOutlined.d.ts +2 -0
- package/lib/icons/CheckOutlined.cjs +29 -0
- package/lib/icons/CheckOutlined.d.ts +2 -0
- package/lib/icons/CityOutlined.cjs +34 -0
- package/lib/icons/CityOutlined.d.ts +2 -0
- package/lib/icons/ClockCircleOutlined.cjs +31 -0
- package/lib/icons/ClockCircleOutlined.d.ts +2 -0
- package/lib/icons/CloseCircleFilled.cjs +25 -0
- package/lib/icons/CloseCircleFilled.d.ts +2 -0
- package/lib/icons/CloseCircleOutlined.cjs +30 -0
- package/lib/icons/CloseCircleOutlined.d.ts +2 -0
- package/lib/icons/CloseOutlined.cjs +7 -17
- package/lib/icons/CloudUploadOutlined.cjs +31 -0
- package/lib/icons/CloudUploadOutlined.d.ts +2 -0
- package/lib/icons/ClusterOutlined.cjs +28 -0
- package/lib/icons/ClusterOutlined.d.ts +2 -0
- package/lib/icons/CodeOutlined.cjs +33 -0
- package/lib/icons/CodeOutlined.d.ts +2 -0
- package/lib/icons/ColumnHeightOutlined.cjs +17 -5
- package/lib/icons/CompassOutlined.cjs +33 -0
- package/lib/icons/CompassOutlined.d.ts +2 -0
- package/lib/icons/CompressOutlined.cjs +18 -5
- package/lib/icons/ConnectionOutlined.cjs +30 -0
- package/lib/icons/ConnectionOutlined.d.ts +2 -0
- package/lib/icons/ControlOutlined.cjs +32 -0
- package/lib/icons/ControlOutlined.d.ts +2 -0
- package/lib/icons/CopyOutlined.cjs +34 -0
- package/lib/icons/CopyOutlined.d.ts +2 -0
- package/lib/icons/CpuOutlined.cjs +29 -0
- package/lib/icons/CpuOutlined.d.ts +2 -0
- package/lib/icons/DashboardOutlined.cjs +36 -0
- package/lib/icons/DashboardOutlined.d.ts +2 -0
- package/lib/icons/DatabaseOutlined.cjs +34 -0
- package/lib/icons/DatabaseOutlined.d.ts +2 -0
- package/lib/icons/DeleteOutlined.cjs +33 -0
- package/lib/icons/DeleteOutlined.d.ts +2 -0
- package/lib/icons/DesktopOutlined.cjs +28 -0
- package/lib/icons/DesktopOutlined.d.ts +2 -0
- package/lib/icons/DownloadOutlined.cjs +31 -0
- package/lib/icons/DownloadOutlined.d.ts +2 -0
- package/lib/icons/DragOutlined.cjs +29 -0
- package/lib/icons/DragOutlined.d.ts +2 -0
- package/lib/icons/EditOutlined.cjs +31 -0
- package/lib/icons/EditOutlined.d.ts +2 -0
- package/lib/icons/EllipsisOutlined.cjs +6 -9
- package/lib/icons/EnvironmentOutlined.cjs +30 -0
- package/lib/icons/EnvironmentOutlined.d.ts +2 -0
- package/lib/icons/ExclamationCircleFilled.cjs +25 -0
- package/lib/icons/ExclamationCircleFilled.d.ts +2 -0
- package/lib/icons/ExpandOutlined.cjs +18 -5
- package/lib/icons/FileOutlined.cjs +34 -0
- package/lib/icons/FileOutlined.d.ts +2 -0
- package/lib/icons/FilterFilled.cjs +5 -2
- package/lib/icons/FolderAddOutlined.cjs +30 -0
- package/lib/icons/FolderAddOutlined.d.ts +2 -0
- package/lib/icons/FolderOutlined.cjs +28 -0
- package/lib/icons/FolderOutlined.d.ts +2 -0
- package/lib/icons/FormOutlined.cjs +30 -0
- package/lib/icons/FormOutlined.d.ts +2 -0
- package/lib/icons/FullscreenExitOutlined.cjs +16 -5
- package/lib/icons/FullscreenOutlined.cjs +16 -5
- package/lib/icons/FundOutlined.cjs +30 -0
- package/lib/icons/FundOutlined.d.ts +2 -0
- package/lib/icons/GlobalOutlined.cjs +27 -0
- package/lib/icons/GlobalOutlined.d.ts +2 -0
- package/lib/icons/HolderOutlined.cjs +7 -4
- package/lib/icons/HomeOutlined.cjs +5 -24
- package/lib/icons/IdcardOutlined.cjs +37 -0
- package/lib/icons/IdcardOutlined.d.ts +2 -0
- package/lib/icons/InfoCircleFilled.cjs +25 -0
- package/lib/icons/InfoCircleFilled.d.ts +2 -0
- package/lib/icons/LinkOutlined.cjs +31 -0
- package/lib/icons/LinkOutlined.d.ts +2 -0
- package/lib/icons/LoadingDotOutlined.cjs +28 -0
- package/lib/icons/LoadingDotOutlined.d.ts +2 -0
- package/lib/icons/LoadingOutlined.cjs +8 -2
- package/lib/icons/LockOutlined.cjs +31 -0
- package/lib/icons/LockOutlined.d.ts +2 -0
- package/lib/icons/LogOutlined.cjs +34 -0
- package/lib/icons/LogOutlined.d.ts +2 -0
- package/lib/icons/LogoutOutlined.cjs +30 -0
- package/lib/icons/LogoutOutlined.d.ts +2 -0
- package/lib/icons/MailOutlined.cjs +28 -0
- package/lib/icons/MailOutlined.d.ts +2 -0
- package/lib/icons/MenuFoldOutlined.cjs +27 -0
- package/lib/icons/MenuFoldOutlined.d.ts +2 -0
- package/lib/icons/MenuUnfoldOutlined.cjs +27 -0
- package/lib/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/lib/icons/MessageOutlined.cjs +49 -0
- package/lib/icons/MessageOutlined.d.ts +2 -0
- package/lib/icons/MinusCircleOutlined.cjs +30 -0
- package/lib/icons/MinusCircleOutlined.d.ts +2 -0
- package/lib/icons/MobileOutlined.cjs +36 -0
- package/lib/icons/MobileOutlined.d.ts +2 -0
- package/lib/icons/MoonOutlined.cjs +28 -0
- package/lib/icons/MoonOutlined.d.ts +2 -0
- package/lib/icons/MoreOutlined.cjs +41 -0
- package/lib/icons/MoreOutlined.d.ts +2 -0
- package/lib/icons/PauseFilled.cjs +29 -0
- package/lib/icons/PauseFilled.d.ts +2 -0
- package/lib/icons/PieChartOutlined.cjs +30 -0
- package/lib/icons/PieChartOutlined.d.ts +2 -0
- package/lib/icons/PlayFilled.cjs +25 -0
- package/lib/icons/PlayFilled.d.ts +2 -0
- package/lib/icons/PlusCircleOutlined.cjs +30 -0
- package/lib/icons/PlusCircleOutlined.d.ts +2 -0
- package/lib/icons/PlusOutlined.cjs +28 -0
- package/lib/icons/PlusOutlined.d.ts +2 -0
- package/lib/icons/ProtectOutlined.cjs +31 -0
- package/lib/icons/ProtectOutlined.d.ts +2 -0
- package/lib/icons/QuestionCircleFilled.cjs +25 -0
- package/lib/icons/QuestionCircleFilled.d.ts +2 -0
- package/lib/icons/QuestionCircleOutlined.cjs +38 -0
- package/lib/icons/QuestionCircleOutlined.d.ts +2 -0
- package/lib/icons/ReloadOutlined.cjs +29 -0
- package/lib/icons/ReloadOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.cjs +28 -0
- package/lib/icons/SearchOutlined.d.ts +2 -0
- package/lib/icons/SettingOutlined.cjs +30 -0
- package/lib/icons/SettingOutlined.d.ts +2 -0
- package/lib/icons/ShoppingOutlined.cjs +28 -0
- package/lib/icons/ShoppingOutlined.d.ts +2 -0
- package/lib/icons/SortOutlined.cjs +31 -0
- package/lib/icons/SortOutlined.d.ts +2 -0
- package/lib/icons/StarFilled.cjs +25 -0
- package/lib/icons/StarFilled.d.ts +2 -0
- package/lib/icons/StepBackwardFilled.cjs +32 -0
- package/lib/icons/StepBackwardFilled.d.ts +2 -0
- package/lib/icons/StepForwardFilled.cjs +32 -0
- package/lib/icons/StepForwardFilled.d.ts +2 -0
- package/lib/icons/SuitcaseOutlined.cjs +28 -0
- package/lib/icons/SuitcaseOutlined.d.ts +2 -0
- package/lib/icons/SunOutlined.cjs +28 -0
- package/lib/icons/SunOutlined.d.ts +2 -0
- package/lib/icons/SwapOutlined.cjs +31 -0
- package/lib/icons/SwapOutlined.d.ts +2 -0
- package/lib/icons/SyncOutlined.cjs +31 -0
- package/lib/icons/SyncOutlined.d.ts +2 -0
- package/lib/icons/TableOutlined.cjs +28 -0
- package/lib/icons/TableOutlined.d.ts +2 -0
- package/lib/icons/TagOutlined.cjs +30 -0
- package/lib/icons/TagOutlined.d.ts +2 -0
- package/lib/icons/TimerOutlined.cjs +30 -0
- package/lib/icons/TimerOutlined.d.ts +2 -0
- package/lib/icons/UndoOutlined.cjs +29 -0
- package/lib/icons/UndoOutlined.d.ts +2 -0
- package/lib/icons/UnlockOutlined.cjs +31 -0
- package/lib/icons/UnlockOutlined.d.ts +2 -0
- package/lib/icons/UploadOutlined.cjs +31 -0
- package/lib/icons/UploadOutlined.d.ts +2 -0
- package/lib/icons/UserOutlined.cjs +28 -0
- package/lib/icons/UserOutlined.d.ts +2 -0
- package/lib/icons/VerticalAlignMiddleOutlined.cjs +31 -0
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
- package/lib/icons/VerticalLeftOutlined.cjs +7 -2
- package/lib/icons/VerticalRightOutlined.cjs +7 -2
- package/lib/icons/WarningOutlined.cjs +41 -0
- package/lib/icons/WarningOutlined.d.ts +2 -0
- package/lib/icons/ZoomInOutlined.cjs +30 -0
- package/lib/icons/ZoomInOutlined.d.ts +2 -0
- package/lib/icons/ZoomOutOutlined.cjs +30 -0
- package/lib/icons/ZoomOutOutlined.d.ts +2 -0
- package/lib/icons/index.cjs +178 -0
- package/lib/icons/index.d.ts +89 -0
- package/lib/index.cjs +3 -49
- package/lib/index.d.ts +1 -9
- package/lib/style/themes/default.scss +14 -13
- package/lib/style/themes/rounded.scss +1 -2
- package/package.json +1 -1
package/es/ele-modal/index.js
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, unref, watch, onActivated, onDeactivated, nextTick, resolveComponent, openBlock, createBlock, Teleport, createVNode, mergeProps, createSlots, withCtx, createElementVNode, normalizeStyle, createElementBlock, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
2
|
import { ElDialog, ElIcon } from "element-plus";
|
|
3
|
-
import {
|
|
4
|
-
import { CompressOutlined, ExpandOutlined } from "../icons";
|
|
3
|
+
import { CloseOutlined, CompressOutlined, ExpandOutlined } from "../icons";
|
|
5
4
|
import { pick } from "../utils/core";
|
|
6
5
|
import { useLicense, useLayoutState } from "../ele-config-provider/receiver";
|
|
7
6
|
import { getModalContainer, resizableClass, multipleClass, fullscreenClass, closedClass, hideClass, innerClass, collapseClass, compactClass, maximizedClass, hasTabClass, mixSidebarClass, singleSidebarClass, topLayoutClass, expandedClass, mobileClass, setInitPosition, wrapperClass, responsiveClass, movableClass, setModalTop, resetModalStyle, handleMovable, handleResizable } from "./util";
|
|
8
7
|
import { modalProps, modalEmits, dialogPropKeys } from "./props";
|
|
9
8
|
const _sfc_main = defineComponent({
|
|
10
9
|
name: "EleModal",
|
|
11
|
-
components: {
|
|
10
|
+
components: {
|
|
11
|
+
ElDialog,
|
|
12
|
+
ElIcon,
|
|
13
|
+
CloseOutlined,
|
|
14
|
+
CompressOutlined,
|
|
15
|
+
ExpandOutlined
|
|
16
|
+
},
|
|
12
17
|
inheritAttrs: false,
|
|
13
18
|
props: modalProps,
|
|
14
19
|
emits: modalEmits,
|
|
@@ -27,7 +32,7 @@ const _sfc_main = defineComponent({
|
|
|
27
32
|
const dialogClass = computed(() => {
|
|
28
33
|
const layoutState = unref(layoutProvide);
|
|
29
34
|
const classes = [wrapperClass];
|
|
30
|
-
if (props.responsive ?? layoutState.responsive ?? true) {
|
|
35
|
+
if (props.responsive ?? (layoutState == null ? void 0 : layoutState.responsive) ?? true) {
|
|
31
36
|
classes.push(responsiveClass);
|
|
32
37
|
}
|
|
33
38
|
if (props.form) {
|
|
@@ -56,32 +61,34 @@ const _sfc_main = defineComponent({
|
|
|
56
61
|
}
|
|
57
62
|
if (props.inner) {
|
|
58
63
|
classes.push(innerClass);
|
|
59
|
-
if (layoutState
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
64
|
+
if (layoutState && layoutState.sidebar != null) {
|
|
65
|
+
if (layoutState.collapse && !layoutState.topLayout) {
|
|
66
|
+
classes.push(collapseClass);
|
|
67
|
+
}
|
|
68
|
+
if (layoutState.compact && layoutState.mixSidebar && !layoutState.topLayout) {
|
|
69
|
+
classes.push(compactClass);
|
|
70
|
+
}
|
|
71
|
+
if (layoutState.maximized) {
|
|
72
|
+
classes.push(maximizedClass);
|
|
73
|
+
}
|
|
74
|
+
if (layoutState.tabBar) {
|
|
75
|
+
classes.push(hasTabClass);
|
|
76
|
+
}
|
|
77
|
+
if (layoutState.mixSidebar && !layoutState.topLayout) {
|
|
78
|
+
classes.push(mixSidebarClass);
|
|
79
|
+
if (!layoutState.sidebar) {
|
|
80
|
+
classes.push(singleSidebarClass);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
if (layoutState.topLayout) {
|
|
84
|
+
classes.push(topLayoutClass);
|
|
85
|
+
}
|
|
86
|
+
if (layoutState.maximized && layoutState.expanded) {
|
|
87
|
+
classes.push(expandedClass);
|
|
88
|
+
}
|
|
89
|
+
if (layoutState.mobile) {
|
|
90
|
+
classes.push(mobileClass);
|
|
75
91
|
}
|
|
76
|
-
}
|
|
77
|
-
if (layoutState.topLayout) {
|
|
78
|
-
classes.push(topLayoutClass);
|
|
79
|
-
}
|
|
80
|
-
if (layoutState.maximized && layoutState.expanded) {
|
|
81
|
-
classes.push(expandedClass);
|
|
82
|
-
}
|
|
83
|
-
if (layoutState.mobile) {
|
|
84
|
-
classes.push(mobileClass);
|
|
85
92
|
}
|
|
86
93
|
}
|
|
87
94
|
if (props.modalClass) {
|
|
@@ -262,7 +269,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
262
269
|
const _component_CompressOutlined = resolveComponent("CompressOutlined");
|
|
263
270
|
const _component_ExpandOutlined = resolveComponent("ExpandOutlined");
|
|
264
271
|
const _component_ElIcon = resolveComponent("ElIcon");
|
|
265
|
-
const
|
|
272
|
+
const _component_CloseOutlined = resolveComponent("CloseOutlined");
|
|
266
273
|
const _component_ElDialog = resolveComponent("ElDialog");
|
|
267
274
|
return openBlock(), createBlock(Teleport, {
|
|
268
275
|
to: _ctx.teleportTo,
|
|
@@ -303,7 +310,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
303
310
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleFullscreen())
|
|
304
311
|
}, [
|
|
305
312
|
renderSlot(_ctx.$slots, "maxIcon", { fullscreen: _ctx.isFullscreen }, () => [
|
|
306
|
-
createVNode(_component_ElIcon,
|
|
313
|
+
createVNode(_component_ElIcon, null, {
|
|
307
314
|
default: withCtx(() => [
|
|
308
315
|
_ctx.isFullscreen ? (openBlock(), createBlock(_component_CompressOutlined, { key: 0 })) : (openBlock(), createBlock(_component_ExpandOutlined, { key: 1 }))
|
|
309
316
|
]),
|
|
@@ -320,7 +327,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
320
327
|
renderSlot(_ctx.$slots, "closeIcon", {}, () => [
|
|
321
328
|
createVNode(_component_ElIcon, null, {
|
|
322
329
|
default: withCtx(() => [
|
|
323
|
-
createVNode(
|
|
330
|
+
createVNode(_component_CloseOutlined)
|
|
324
331
|
]),
|
|
325
332
|
_: 1
|
|
326
333
|
})
|
package/es/ele-modal/props.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export declare const modalProps: {
|
|
|
103
103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
104
|
__epPropKey: true;
|
|
105
105
|
};
|
|
106
|
-
|
|
106
|
+
overflow: BooleanConstructor;
|
|
107
107
|
fullscreen: BooleanConstructor;
|
|
108
108
|
showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
109
109
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
& > .el-dialog {
|
|
16
16
|
background: eleVar('modal', 'bg');
|
|
17
17
|
border-radius: eleVar('modal', 'radius');
|
|
18
|
+
padding: 0;
|
|
18
19
|
|
|
19
20
|
& > .el-dialog__footer {
|
|
20
21
|
border: none;
|
|
@@ -176,7 +177,7 @@
|
|
|
176
177
|
right: 0;
|
|
177
178
|
bottom: 0;
|
|
178
179
|
pointer-events: none;
|
|
179
|
-
z-index:
|
|
180
|
+
z-index: elVar('index', 'popper');
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
.ele-modal-multiple {
|
|
@@ -206,9 +207,14 @@
|
|
|
206
207
|
|
|
207
208
|
/* 限制在内部并适配布局状态 */
|
|
208
209
|
.ele-modal-inner {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
&.ele-modal {
|
|
211
|
+
top: eleVar('header', 'height', 0);
|
|
212
|
+
left: eleVar('sidebar', 'width', 0);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&:not(.dialog-fade-leave-active, .dialog-fade-enter-active) {
|
|
216
|
+
transition: (width $ele-transition, left $ele-transition);
|
|
217
|
+
}
|
|
212
218
|
|
|
213
219
|
&.ele-state-has-tab {
|
|
214
220
|
top: calc(#{eleVar('header', 'height')} + #{eleVar('tab', 'height')});
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
};
|
|
35
35
|
bodyClass: StringConstructor;
|
|
36
36
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
37
|
-
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
37
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
38
38
|
contentStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
39
39
|
offset: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
40
40
|
effect: {
|
|
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
150
|
};
|
|
151
151
|
bodyClass: StringConstructor;
|
|
152
152
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
153
|
-
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
153
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
154
154
|
contentStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
155
155
|
offset: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, undefined, boolean>;
|
|
156
156
|
effect: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeClass, normalizeStyle, normalizeProps, resolveDynamicComponent, createCommentVNode, createElementBlock, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElIcon, ElButton, useLocale } from "element-plus";
|
|
3
|
-
import { QuestionFilled } from "@element-plus/icons-vue";
|
|
4
3
|
import { omit } from "../utils/core";
|
|
5
4
|
import EleTooltip from "../ele-tooltip/index";
|
|
5
|
+
import { QuestionCircleFilled } from "../icons";
|
|
6
6
|
import { popconfirmProps, popconfirmEmits } from "./props";
|
|
7
7
|
const _sfc_main = defineComponent({
|
|
8
8
|
name: "ElePopconfirm",
|
|
9
|
-
components: {
|
|
9
|
+
components: { ElIcon, ElButton, EleTooltip, QuestionCircleFilled },
|
|
10
10
|
props: popconfirmProps,
|
|
11
11
|
emits: popconfirmEmits,
|
|
12
12
|
setup(props, { emit }) {
|
|
@@ -129,7 +129,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
129
129
|
const _hoisted_1 = { class: "ele-popconfirm-main" };
|
|
130
130
|
const _hoisted_2 = { class: "ele-popconfirm-body" };
|
|
131
131
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
132
|
-
const
|
|
132
|
+
const _component_QuestionCircleFilled = resolveComponent("QuestionCircleFilled");
|
|
133
133
|
const _component_ElIcon = resolveComponent("ElIcon");
|
|
134
134
|
const _component_ElButton = resolveComponent("ElButton");
|
|
135
135
|
const _component_EleTooltip = resolveComponent("EleTooltip");
|
|
@@ -153,7 +153,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
153
|
_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
|
|
154
154
|
key: 0,
|
|
155
155
|
style: normalizeStyle(_ctx.iconStyle)
|
|
156
|
-
}, null, 8, ["style"])) : (openBlock(), createBlock(
|
|
156
|
+
}, null, 8, ["style"])) : (openBlock(), createBlock(_component_QuestionCircleFilled, {
|
|
157
157
|
key: 1,
|
|
158
158
|
style: normalizeStyle(_ctx.iconStyle)
|
|
159
159
|
}, null, 8, ["style"]))
|
|
@@ -158,7 +158,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
158
158
|
label: withCtx(() => [
|
|
159
159
|
renderSlot(_ctx.$slots, "tabHome", {}, () => [
|
|
160
160
|
createVNode(_component_ElIcon, {
|
|
161
|
-
|
|
161
|
+
class: "ele-tab-icon",
|
|
162
162
|
style: { "vertical-align": "-3px" }
|
|
163
163
|
}, {
|
|
164
164
|
default: withCtx(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onBeforeUnmount, resolveComponent, openBlock, createBlock, withCtx, createVNode, mergeProps, createSlots, createElementVNode, renderSlot } from "vue";
|
|
2
2
|
import { ElIcon } from "element-plus";
|
|
3
|
-
import { ArrowDown } from "
|
|
3
|
+
import { ArrowDown } from "../../icons";
|
|
4
4
|
import EleDropdown from "../../ele-dropdown/index";
|
|
5
5
|
import EleTabTool from "../../ele-tab-tool/index";
|
|
6
6
|
const _sfc_main = defineComponent({
|
|
@@ -73,8 +73,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73
73
|
createElementVNode("div", _hoisted_1, [
|
|
74
74
|
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
75
75
|
createVNode(_component_ElIcon, {
|
|
76
|
-
|
|
77
|
-
style: { "vertical-align": "-
|
|
76
|
+
class: "ele-tab-icon",
|
|
77
|
+
style: { "vertical-align": "-3px" }
|
|
78
78
|
}, {
|
|
79
79
|
default: withCtx(() => [
|
|
80
80
|
createVNode(_component_ArrowDown)
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
.ele-admin-header,
|
|
10
10
|
.ele-admin-sidebar,
|
|
11
11
|
.ele-admin-sidebox,
|
|
12
|
-
.ele-admin-tabs
|
|
12
|
+
.ele-admin-tabs,
|
|
13
|
+
.ele-modal-inner,
|
|
14
|
+
.ele-drawer-inner {
|
|
13
15
|
@include set-ele-var('header', $var);
|
|
14
16
|
}
|
|
15
17
|
|
|
@@ -30,14 +32,18 @@
|
|
|
30
32
|
.ele-admin-sidebar,
|
|
31
33
|
.ele-admin-sidebox,
|
|
32
34
|
.ele-admin-body,
|
|
33
|
-
.ele-admin-mask
|
|
35
|
+
.ele-admin-mask,
|
|
36
|
+
.ele-modal-inner,
|
|
37
|
+
.ele-drawer-inner {
|
|
34
38
|
@include set-ele-var('sidebar', $var);
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
.ele-admin-header,
|
|
38
42
|
.ele-admin-sidebox,
|
|
39
43
|
.ele-admin-sidebox-popup,
|
|
40
|
-
.ele-admin-body
|
|
44
|
+
.ele-admin-body,
|
|
45
|
+
.ele-modal-inner,
|
|
46
|
+
.ele-drawer-inner {
|
|
41
47
|
@include set-ele-var('sidebox', $var);
|
|
42
48
|
}
|
|
43
49
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, createBlock, withCtx, createVNode, renderSlot, createCommentVNode } from "vue";
|
|
2
2
|
import { ElIcon } from "element-plus";
|
|
3
|
-
import {
|
|
4
|
-
import { ColumnHeightOutlined, FullscreenOutlined, FullscreenExitOutlined } from "../../icons";
|
|
3
|
+
import { ReloadOutlined, ColumnHeightOutlined, FullscreenOutlined, FullscreenExitOutlined } from "../../icons";
|
|
5
4
|
import { useLocale } from "../../ele-config-provider/receiver";
|
|
6
5
|
import EleDropdown from "../../ele-dropdown/index";
|
|
7
6
|
import { getSizeCacheKey } from "../util";
|
|
@@ -11,7 +10,7 @@ const _sfc_main = defineComponent({
|
|
|
11
10
|
name: "TableTools",
|
|
12
11
|
components: {
|
|
13
12
|
ElIcon,
|
|
14
|
-
|
|
13
|
+
ReloadOutlined,
|
|
15
14
|
ColumnHeightOutlined,
|
|
16
15
|
FullscreenOutlined,
|
|
17
16
|
FullscreenExitOutlined,
|
|
@@ -81,7 +80,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
81
80
|
return target;
|
|
82
81
|
};
|
|
83
82
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
84
|
-
const
|
|
83
|
+
const _component_ReloadOutlined = resolveComponent("ReloadOutlined");
|
|
85
84
|
const _component_ElIcon = resolveComponent("ElIcon");
|
|
86
85
|
const _component_EleTool = resolveComponent("EleTool");
|
|
87
86
|
const _component_ColumnHeightOutlined = resolveComponent("ColumnHeightOutlined");
|
|
@@ -100,7 +99,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
100
99
|
default: withCtx(() => [
|
|
101
100
|
createVNode(_component_ElIcon, null, {
|
|
102
101
|
default: withCtx(() => [
|
|
103
|
-
createVNode(
|
|
102
|
+
createVNode(_component_ReloadOutlined)
|
|
104
103
|
]),
|
|
105
104
|
_: 1
|
|
106
105
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, normalizeClass, createTextVNode, toDisplayString, createCommentVNode } from "vue";
|
|
2
|
-
import { Setting } from "@element-plus/icons-vue";
|
|
3
2
|
import { ElCheckbox, ElIcon } from "element-plus";
|
|
3
|
+
import { SettingOutlined } from "../../icons";
|
|
4
4
|
import { eachTree } from "../../utils/core";
|
|
5
5
|
import EleTooltip from "../../ele-tooltip/index";
|
|
6
6
|
import EleTool from "../../ele-tool/index";
|
|
@@ -12,7 +12,7 @@ const _sfc_main = defineComponent({
|
|
|
12
12
|
ElCheckbox,
|
|
13
13
|
ElIcon,
|
|
14
14
|
EleTooltip,
|
|
15
|
-
|
|
15
|
+
SettingOutlined,
|
|
16
16
|
EleTool,
|
|
17
17
|
ToolColumnList
|
|
18
18
|
},
|
|
@@ -207,7 +207,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
207
207
|
const _hoisted_1 = { class: "ele-tool-column-header" };
|
|
208
208
|
const _hoisted_2 = { class: "ele-tool-column-label" };
|
|
209
209
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
210
|
-
const
|
|
210
|
+
const _component_SettingOutlined = resolveComponent("SettingOutlined");
|
|
211
211
|
const _component_ElIcon = resolveComponent("ElIcon");
|
|
212
212
|
const _component_ElCheckbox = resolveComponent("ElCheckbox");
|
|
213
213
|
const _component_ToolColumnList = resolveComponent("ToolColumnList");
|
|
@@ -278,7 +278,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
278
278
|
default: withCtx(() => [
|
|
279
279
|
createVNode(_component_ElIcon, null, {
|
|
280
280
|
default: withCtx(() => [
|
|
281
|
-
createVNode(
|
|
281
|
+
createVNode(_component_SettingOutlined)
|
|
282
282
|
]),
|
|
283
283
|
_: 1
|
|
284
284
|
})
|
|
@@ -173,7 +173,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
173
|
tableIndex: import("vue").ComputedRef<number>;
|
|
174
174
|
paginationProps: import("vue").ComputedRef<ElePaginationProps | null>;
|
|
175
175
|
tableProps: import("vue").ComputedRef<EleDataTableProps>;
|
|
176
|
-
|
|
176
|
+
toolNames: import("vue").ComputedRef<string[]>;
|
|
177
177
|
rootProps: import("vue").ComputedRef<EleLoadingProps>;
|
|
178
178
|
onRefresh: () => void;
|
|
179
179
|
onSizeChange: (size: TableSize) => void;
|
|
@@ -100,7 +100,7 @@ const _sfc_main = defineComponent({
|
|
|
100
100
|
onCurrentChange
|
|
101
101
|
};
|
|
102
102
|
});
|
|
103
|
-
const
|
|
103
|
+
const toolNames = computed(() => {
|
|
104
104
|
const tools = props.tools ?? globalProps.value.tools ?? true;
|
|
105
105
|
if (tools === true) {
|
|
106
106
|
return ["reload", "size", "columns", "maximized"];
|
|
@@ -430,7 +430,7 @@ const _sfc_main = defineComponent({
|
|
|
430
430
|
tableIndex,
|
|
431
431
|
paginationProps,
|
|
432
432
|
tableProps,
|
|
433
|
-
|
|
433
|
+
toolNames,
|
|
434
434
|
rootProps,
|
|
435
435
|
onRefresh,
|
|
436
436
|
onSizeChange,
|
|
@@ -467,11 +467,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
467
467
|
_ctx.toolbar ? (openBlock(), createBlock(_component_EleToolbar, normalizeProps(mergeProps$1({ key: 0 }, _ctx.toolbar === true ? {} : _ctx.toolbar)), {
|
|
468
468
|
tools: withCtx(() => [
|
|
469
469
|
renderSlot(_ctx.$slots, "tools"),
|
|
470
|
-
_ctx.
|
|
470
|
+
_ctx.toolNames && _ctx.toolNames.length ? (openBlock(), createBlock(_component_TableTools, {
|
|
471
471
|
key: 0,
|
|
472
472
|
size: _ctx.tableSize,
|
|
473
473
|
columns: _ctx.columns,
|
|
474
|
-
tools: _ctx.
|
|
474
|
+
tools: _ctx.toolNames,
|
|
475
475
|
columnSortable: _ctx.columnSortable,
|
|
476
476
|
columnFixed: _ctx.columnFixed,
|
|
477
477
|
maximized: _ctx.tableMaximized,
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
|
|
200
200
|
.ele-tool-column-handle {
|
|
201
201
|
display: flex;
|
|
202
|
-
font-size:
|
|
202
|
+
font-size: 12px;
|
|
203
203
|
color: elVar('text-color', 'placeholder');
|
|
204
204
|
margin-right: 4px;
|
|
205
205
|
cursor: move;
|
|
@@ -238,6 +238,6 @@
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
.ele-tool-column-header .ele-tool-column-label {
|
|
241
|
-
padding-left: calc(
|
|
241
|
+
padding-left: calc(22px - #{eleVar('tool-column', 'item-padding')});
|
|
242
242
|
}
|
|
243
243
|
}
|
|
@@ -178,7 +178,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
178
178
|
renderSlot(_ctx.$slots, "collapse", { collapse: _ctx.isCollapse }, () => [
|
|
179
179
|
createVNode(_component_ElIcon, { class: "ele-split-collapse-icon" }, {
|
|
180
180
|
default: withCtx(() => [
|
|
181
|
-
_ctx.vertical ? (openBlock(), createBlock(_component_ArrowUp, {
|
|
181
|
+
_ctx.vertical ? (openBlock(), createBlock(_component_ArrowUp, {
|
|
182
|
+
key: 0,
|
|
183
|
+
style: { "margin-top": "-1.25px" }
|
|
184
|
+
})) : (openBlock(), createBlock(_component_ArrowLeft, {
|
|
185
|
+
key: 1,
|
|
186
|
+
style: { "margin-left": "-1.25px" }
|
|
187
|
+
}))
|
|
182
188
|
]),
|
|
183
189
|
_: 1
|
|
184
190
|
})
|
|
@@ -86,10 +86,14 @@
|
|
|
86
86
|
z-index: 5;
|
|
87
87
|
|
|
88
88
|
.ele-split-collapse-icon {
|
|
89
|
-
font-size:
|
|
89
|
+
font-size: 14px;
|
|
90
90
|
color: elVar('text-color', 'secondary');
|
|
91
91
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
92
92
|
transform: scaleX(1);
|
|
93
|
+
|
|
94
|
+
& > svg {
|
|
95
|
+
stroke-width: 5;
|
|
96
|
+
}
|
|
93
97
|
}
|
|
94
98
|
|
|
95
99
|
&:hover .ele-split-collapse-icon {
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
maxTagCount: NumberConstructor; /** 下拉框是否显示 */
|
|
30
30
|
maxTagTextLength: NumberConstructor;
|
|
31
31
|
tagType: {
|
|
32
|
-
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
32
|
+
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
35
|
automaticDropdown: BooleanConstructor;
|
|
@@ -125,7 +125,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
125
|
maxTagCount: NumberConstructor; /** 下拉框是否显示 */
|
|
126
126
|
maxTagTextLength: NumberConstructor;
|
|
127
127
|
tagType: {
|
|
128
|
-
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
128
|
+
type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
129
129
|
default: string;
|
|
130
130
|
};
|
|
131
131
|
automaticDropdown: BooleanConstructor;
|
|
@@ -175,7 +175,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
175
|
transition: string;
|
|
176
176
|
multiple: boolean;
|
|
177
177
|
responsive: boolean;
|
|
178
|
-
tagType: import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
178
|
+
tagType: import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined;
|
|
179
179
|
automaticDropdown: boolean;
|
|
180
180
|
filterable: boolean;
|
|
181
181
|
valueKey: string;
|
|
@@ -46,7 +46,7 @@ export declare const tableSelectProps: {
|
|
|
46
46
|
maxTagTextLength: NumberConstructor;
|
|
47
47
|
/** 多选标签类型 */
|
|
48
48
|
tagType: {
|
|
49
|
-
type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
49
|
+
type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
50
50
|
default: string;
|
|
51
51
|
};
|
|
52
52
|
/** 是否在输入框获得焦点后自动弹出选项菜单 */
|
package/es/ele-tabs/index.js
CHANGED
|
@@ -113,24 +113,28 @@ const _sfc_main = defineComponent({
|
|
|
113
113
|
e.preventDefault();
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
+
const getBtnEl = (el, e, firefox) => {
|
|
117
|
+
const wheelDelta = e.wheelDelta || e.detail;
|
|
118
|
+
const delta = firefox ? -wheelDelta : wheelDelta;
|
|
119
|
+
if (delta > 0) {
|
|
120
|
+
return el.querySelector(".el-tabs__nav-prev");
|
|
121
|
+
} else if (delta < 0) {
|
|
122
|
+
return el.querySelector(".el-tabs__nav-next");
|
|
123
|
+
}
|
|
124
|
+
};
|
|
116
125
|
const onMousewheel = (e, isFirefox) => {
|
|
117
|
-
e.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
const nextEl = el.querySelector(".el-tabs__nav-next");
|
|
129
|
-
nextEl && nextEl.click();
|
|
126
|
+
const tabEl = e.currentTarget;
|
|
127
|
+
if (tabEl && !current.isScroll) {
|
|
128
|
+
const el = getBtnEl(tabEl, e, isFirefox);
|
|
129
|
+
if (el && !el.classList.contains("is-disabled")) {
|
|
130
|
+
current.isScroll = true;
|
|
131
|
+
e.preventDefault();
|
|
132
|
+
e.stopPropagation();
|
|
133
|
+
el.click();
|
|
134
|
+
setTimeout(() => {
|
|
135
|
+
current.isScroll = false;
|
|
136
|
+
}, 300);
|
|
130
137
|
}
|
|
131
|
-
setTimeout(() => {
|
|
132
|
-
current.isScroll = false;
|
|
133
|
-
}, 300);
|
|
134
138
|
}
|
|
135
139
|
};
|
|
136
140
|
const onFMousewheel = (e) => {
|
|
@@ -278,12 +282,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
278
282
|
]),
|
|
279
283
|
_: 2
|
|
280
284
|
}, [
|
|
285
|
+
_ctx.$slots["add-icon"] ? {
|
|
286
|
+
name: "add-icon",
|
|
287
|
+
fn: withCtx(() => [
|
|
288
|
+
renderSlot(_ctx.$slots, "add-icon")
|
|
289
|
+
]),
|
|
290
|
+
key: "0"
|
|
291
|
+
} : void 0,
|
|
281
292
|
_ctx.$slots.addIcon ? {
|
|
282
293
|
name: "addIcon",
|
|
283
294
|
fn: withCtx(() => [
|
|
284
295
|
renderSlot(_ctx.$slots, "addIcon")
|
|
285
296
|
]),
|
|
286
|
-
key: "
|
|
297
|
+
key: "1"
|
|
287
298
|
} : void 0
|
|
288
299
|
]), 1040, ["type", "class", "onUpdate:modelValue", "onTabClick", "onTabChange", "onTabRemove", "onTabAdd", "onEdit", "onContextmenu"]);
|
|
289
300
|
}
|
|
@@ -82,6 +82,11 @@
|
|
|
82
82
|
padding-right: calc(#{$padding} + #{$size} / 2 + #{$padding} / 4);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
.ele-tab-icon {
|
|
86
|
+
font-size: eleVar('tab', 'icon-font-size');
|
|
87
|
+
vertical-align: -2.8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
85
90
|
/* 关闭图标 */
|
|
86
91
|
.el-tabs__nav-wrap .el-tabs__nav .el-tabs__item .is-icon-close {
|
|
87
92
|
margin: 0;
|
|
@@ -190,6 +195,10 @@
|
|
|
190
195
|
padding-right: calc(#{$padding} + #{$size} / 2 + #{$padding} / 4);
|
|
191
196
|
}
|
|
192
197
|
|
|
198
|
+
.ele-tab-icon {
|
|
199
|
+
font-size: eleVar('tab-sm', 'icon-font-size');
|
|
200
|
+
}
|
|
201
|
+
|
|
193
202
|
.el-tabs__nav-wrap .el-tabs__nav .el-tabs__item .is-icon-close {
|
|
194
203
|
width: eleVar('tab-sm', 'close-size');
|
|
195
204
|
height: eleVar('tab-sm', 'close-size');
|
|
@@ -223,6 +232,10 @@
|
|
|
223
232
|
padding-right: calc(#{$padding} + #{$size} / 2 + #{$padding} / 4);
|
|
224
233
|
}
|
|
225
234
|
|
|
235
|
+
.ele-tab-icon {
|
|
236
|
+
font-size: eleVar('tab-lg', 'icon-font-size');
|
|
237
|
+
}
|
|
238
|
+
|
|
226
239
|
.el-tabs__nav-wrap .el-tabs__nav .el-tabs__item .is-icon-close {
|
|
227
240
|
width: eleVar('tab-lg', 'close-size');
|
|
228
241
|
height: eleVar('tab-lg', 'close-size');
|
|
@@ -666,6 +679,11 @@
|
|
|
666
679
|
outline: none;
|
|
667
680
|
}
|
|
668
681
|
|
|
682
|
+
.ele-tab-icon {
|
|
683
|
+
font-size: eleVar('tab', 'icon-font-size');
|
|
684
|
+
vertical-align: -2.8px;
|
|
685
|
+
}
|
|
686
|
+
|
|
669
687
|
/* 下拉菜单 */
|
|
670
688
|
& > .el-dropdown {
|
|
671
689
|
color: inherit;
|
|
@@ -713,6 +731,10 @@
|
|
|
713
731
|
&.is-tab {
|
|
714
732
|
font-size: eleVar('tab-sm', 'font-size');
|
|
715
733
|
}
|
|
734
|
+
|
|
735
|
+
.ele-tab-icon {
|
|
736
|
+
font-size: eleVar('tab-sm', 'icon-font-size');
|
|
737
|
+
}
|
|
716
738
|
}
|
|
717
739
|
|
|
718
740
|
/* 大型尺寸 */
|
|
@@ -725,6 +747,10 @@
|
|
|
725
747
|
&.is-tab {
|
|
726
748
|
font-size: eleVar('tab-lg', 'font-size');
|
|
727
749
|
}
|
|
750
|
+
|
|
751
|
+
.ele-tab-icon {
|
|
752
|
+
font-size: eleVar('tab-lg', 'icon-font-size');
|
|
753
|
+
}
|
|
728
754
|
}
|
|
729
755
|
|
|
730
756
|
/* 简约风格和指示器风格 */
|