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
|
@@ -28,7 +28,7 @@ export declare const basicSelectProps: {
|
|
|
28
28
|
/** 多选标签最大显示文本长度 */
|
|
29
29
|
maxTagTextLength: NumberConstructor;
|
|
30
30
|
/** 多选标签类型 */
|
|
31
|
-
tagType: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "
|
|
31
|
+
tagType: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
32
32
|
/** 是否在输入框获得焦点后自动弹出选项菜单 */
|
|
33
33
|
automaticDropdown: BooleanConstructor;
|
|
34
34
|
/** 是否可以筛选 */
|
|
@@ -64,14 +64,11 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
& > .el-input .el-input__icon.ele-select-clear {
|
|
67
|
-
color:
|
|
68
|
-
font-size: eleVar('input', 'clear-size');
|
|
69
|
-
background: eleVar('input', 'clear-color');
|
|
70
|
-
border-radius: 50%;
|
|
67
|
+
color: eleVar('input', 'clear-color');
|
|
71
68
|
cursor: pointer;
|
|
72
69
|
|
|
73
70
|
&:hover {
|
|
74
|
-
|
|
71
|
+
color: eleVar('input', 'clear-hover-color');
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
|
|
@@ -93,10 +90,6 @@
|
|
|
93
90
|
#{'d'}: path('M10 31 24 17 38 31');
|
|
94
91
|
}
|
|
95
92
|
|
|
96
|
-
.ele-select-arrow > svg > path {
|
|
97
|
-
stroke-width: 4;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
93
|
/* 多选 */
|
|
101
94
|
&.is-multiple {
|
|
102
95
|
min-height: elVar('component-size');
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
|
-
const
|
|
4
|
+
const icons = require("../icons");
|
|
5
5
|
const receiver = require("../ele-config-provider/receiver");
|
|
6
6
|
const EleTooltip = require("../ele-tooltip/index");
|
|
7
7
|
const props = require("./props");
|
|
8
8
|
const _sfc_main = vue.defineComponent({
|
|
9
9
|
name: "EleCopyable",
|
|
10
|
-
components: { ElIcon: elementPlus.ElIcon,
|
|
10
|
+
components: { ElIcon: elementPlus.ElIcon, CopyOutlined: icons.CopyOutlined, CheckOutlined: icons.CheckOutlined, EleTooltip },
|
|
11
11
|
props: props.copyableProps,
|
|
12
12
|
emits: props.copyableEmits,
|
|
13
13
|
setup(props2, { emit }) {
|
|
@@ -105,9 +105,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
105
105
|
return target;
|
|
106
106
|
};
|
|
107
107
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
108
|
-
const
|
|
108
|
+
const _component_CheckOutlined = vue.resolveComponent("CheckOutlined");
|
|
109
109
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
110
|
-
const
|
|
110
|
+
const _component_CopyOutlined = vue.resolveComponent("CopyOutlined");
|
|
111
111
|
const _component_EleTooltip = vue.resolveComponent("EleTooltip");
|
|
112
112
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
113
113
|
class: vue.normalizeClass(["ele-copyable", { "ele-copyable-done": _ctx.copied }])
|
|
@@ -130,7 +130,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
130
130
|
_ctx.copiedIcon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.copiedIcon), {
|
|
131
131
|
key: 0,
|
|
132
132
|
style: vue.normalizeStyle(_ctx.copiedIconStyle)
|
|
133
|
-
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(
|
|
133
|
+
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(_component_CheckOutlined, {
|
|
134
134
|
key: 1,
|
|
135
135
|
style: vue.normalizeStyle(_ctx.copiedIconStyle)
|
|
136
136
|
}, null, 8, ["style"]))
|
|
@@ -141,7 +141,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
141
141
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon), {
|
|
142
142
|
key: 0,
|
|
143
143
|
style: vue.normalizeStyle(_ctx.iconStyle)
|
|
144
|
-
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(
|
|
144
|
+
}, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(_component_CopyOutlined, {
|
|
145
145
|
key: 1,
|
|
146
146
|
style: vue.normalizeStyle(_ctx.iconStyle)
|
|
147
147
|
}, null, 8, ["style"]))
|
|
@@ -12,10 +12,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
copiedIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
13
13
|
tooltip: {
|
|
14
14
|
type: import("vue").PropType<boolean | Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
15
|
-
default: boolean;
|
|
15
|
+
default: boolean; /** 提示单例目标 */
|
|
16
16
|
};
|
|
17
17
|
resetAfter: {
|
|
18
18
|
type: NumberConstructor;
|
|
19
|
+
/** 是否拷贝完成 */
|
|
19
20
|
default: number;
|
|
20
21
|
};
|
|
21
22
|
locale: import("vue").PropType<Partial<CopyableLocale>>;
|
|
@@ -41,10 +42,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
42
|
copiedIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
42
43
|
tooltip: {
|
|
43
44
|
type: import("vue").PropType<boolean | Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
44
|
-
default: boolean;
|
|
45
|
+
default: boolean; /** 提示单例目标 */
|
|
45
46
|
};
|
|
46
47
|
resetAfter: {
|
|
47
48
|
type: NumberConstructor;
|
|
49
|
+
/** 是否拷贝完成 */
|
|
48
50
|
default: number;
|
|
49
51
|
};
|
|
50
52
|
locale: import("vue").PropType<Partial<CopyableLocale>>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
4
3
|
const elementPlus = require("element-plus");
|
|
4
|
+
const icons = require("../../icons");
|
|
5
5
|
const EleTooltip = require("../../ele-tooltip/index");
|
|
6
6
|
const receiver = require("../../ele-config-provider/receiver");
|
|
7
7
|
const TOOL_ICONS = {
|
|
8
|
-
zoomIn:
|
|
9
|
-
zoomOut:
|
|
10
|
-
moveLeft:
|
|
11
|
-
moveRight:
|
|
12
|
-
moveUp:
|
|
13
|
-
moveDown:
|
|
14
|
-
rotateLeft:
|
|
15
|
-
rotateRight:
|
|
16
|
-
flipX:
|
|
17
|
-
flipY:
|
|
18
|
-
reset:
|
|
19
|
-
upload:
|
|
20
|
-
ok:
|
|
8
|
+
zoomIn: icons.ZoomInOutlined,
|
|
9
|
+
zoomOut: icons.ZoomOutOutlined,
|
|
10
|
+
moveLeft: icons.ArrowLeftOutlined,
|
|
11
|
+
moveRight: icons.ArrowRightOutlined,
|
|
12
|
+
moveUp: icons.ArrowUpOutlined,
|
|
13
|
+
moveDown: icons.ArrowDownOutlined,
|
|
14
|
+
rotateLeft: icons.UndoOutlined,
|
|
15
|
+
rotateRight: icons.ReloadOutlined,
|
|
16
|
+
flipX: icons.SwapOutlined,
|
|
17
|
+
flipY: icons.SortOutlined,
|
|
18
|
+
reset: icons.SyncOutlined,
|
|
19
|
+
upload: icons.UploadOutlined,
|
|
20
|
+
ok: icons.CheckOutlined
|
|
21
21
|
};
|
|
22
22
|
const _sfc_main = vue.defineComponent({
|
|
23
23
|
name: "CropperTools",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
.ele-cropper-image {
|
|
10
10
|
flex: 1;
|
|
11
|
-
height:
|
|
11
|
+
height: 300px;
|
|
12
12
|
position: relative;
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
&.ele-cropper-ok > .el-icon + span {
|
|
86
|
+
margin-left: 4px;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -31,7 +31,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31
31
|
const _component_EleCropper = vue.resolveComponent("EleCropper");
|
|
32
32
|
const _component_EleModal = vue.resolveComponent("EleModal");
|
|
33
33
|
return vue.openBlock(), vue.createBlock(_component_EleModal, vue.mergeProps({
|
|
34
|
-
width: "
|
|
34
|
+
width: "620px",
|
|
35
35
|
title: _ctx.lang.title
|
|
36
36
|
}, _ctx.modalProps, {
|
|
37
37
|
modelValue: _ctx.modelValue,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@use '../../style/themes/default.scss' as *;
|
|
2
2
|
@use '../../style/util.scss' as *;
|
|
3
3
|
@use './css-var.scss' as *;
|
|
4
|
-
$ele-filter-path: 'M349 838c0 17 14 32 31 32h262c17 0 31-14 31-32V642H349v196ZM880 154H143c-24 0-39 26-27 48l221 376h348l221-376c12-21-3-48-27-48' !default;
|
|
5
4
|
$ele-expand-path: 'M362 811 662 512 362 213' !default;
|
|
5
|
+
$ele-loading-path: 'M512 128V299M789 235 672 352M896 512H725M789 789 672 672M512 896V725M235 789 352 672M128 512H299M235 235 352 352' !default;
|
|
6
|
+
$ele-filter-path: 'M349 838c0 17 14 32 31 32h262c17 0 31-14 31-32V642H349v196ZM880 154H143c-24 0-39 26-27 48l221 376h348l221-376c12-21-3-48-27-48' !default;
|
|
6
7
|
|
|
7
8
|
@include set-data-table-var($ele);
|
|
8
9
|
@include table-var-style('body .ele-data-table.el-table');
|
|
@@ -216,21 +217,31 @@ $ele-expand-path: 'M362 811 662 512 362 213' !default;
|
|
|
216
217
|
transition: (color $ele-transition, background-color $ele-transition);
|
|
217
218
|
transform: none;
|
|
218
219
|
|
|
220
|
+
&:hover {
|
|
221
|
+
background: eleVar('table', 'icon-hover-bg');
|
|
222
|
+
}
|
|
223
|
+
|
|
219
224
|
& > .el-icon {
|
|
220
225
|
transition: all $ele-transition;
|
|
221
226
|
font-size: inherit;
|
|
222
227
|
|
|
223
|
-
|
|
228
|
+
& > svg > path {
|
|
224
229
|
fill: none;
|
|
225
230
|
stroke: currentColor;
|
|
226
|
-
stroke-width: 100;
|
|
227
231
|
stroke-linecap: round;
|
|
232
|
+
stroke-linejoin: round;
|
|
233
|
+
stroke-width: 98;
|
|
228
234
|
#{'d'}: path($ele-expand-path);
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
237
|
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
& > .is-loading > svg > path {
|
|
239
|
+
stroke-width: 85;
|
|
240
|
+
#{'d'}: path($ele-loading-path);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
& > .el-icon:not(.is-loading) > svg {
|
|
244
|
+
transform: translateX(0.4px);
|
|
234
245
|
}
|
|
235
246
|
}
|
|
236
247
|
|
|
@@ -239,7 +250,7 @@ $ele-expand-path: 'M362 811 662 512 362 213' !default;
|
|
|
239
250
|
& > .el-table__placeholder {
|
|
240
251
|
height: 16px;
|
|
241
252
|
display: inline-flex;
|
|
242
|
-
vertical-align: -
|
|
253
|
+
vertical-align: -2px;
|
|
243
254
|
}
|
|
244
255
|
|
|
245
256
|
& > .el-table__expand-icon,
|
package/lib/ele-drawer/index.cjs
CHANGED
|
@@ -1,17 +1,66 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
|
-
const iconsVue = require("@element-plus/icons-vue");
|
|
4
3
|
const elementPlus = require("element-plus");
|
|
5
4
|
const receiver = require("../ele-config-provider/receiver");
|
|
5
|
+
const util = require("../ele-modal/util");
|
|
6
|
+
const icons = require("../icons");
|
|
6
7
|
const props = require("./props");
|
|
7
8
|
const _sfc_main = vue.defineComponent({
|
|
8
9
|
name: "EleDrawer",
|
|
9
|
-
components: { ElDrawer: elementPlus.ElDrawer, ElIcon: elementPlus.ElIcon,
|
|
10
|
+
components: { ElDrawer: elementPlus.ElDrawer, ElIcon: elementPlus.ElIcon, CloseOutlined: icons.CloseOutlined },
|
|
10
11
|
props: props.drawerProps,
|
|
11
12
|
emits: elementPlus.drawerEmits,
|
|
12
|
-
setup(
|
|
13
|
+
setup(props2, { emit }) {
|
|
13
14
|
const { authenticated } = receiver.useLicense();
|
|
15
|
+
const layoutProvide = receiver.useLayoutState();
|
|
14
16
|
const drawerRef = vue.ref(null);
|
|
17
|
+
const isActivated = vue.ref(true);
|
|
18
|
+
const drawerClass = vue.computed(() => {
|
|
19
|
+
const layoutState = vue.unref(layoutProvide);
|
|
20
|
+
const classes = ["ele-drawer"];
|
|
21
|
+
if (!props2.modelValue) {
|
|
22
|
+
classes.push("ele-drawer-closed");
|
|
23
|
+
}
|
|
24
|
+
if (!isActivated.value && props2.modelValue) {
|
|
25
|
+
classes.push("ele-drawer-hide");
|
|
26
|
+
}
|
|
27
|
+
if (props2.inner) {
|
|
28
|
+
classes.push("ele-drawer-inner");
|
|
29
|
+
if (layoutState && layoutState.sidebar != null) {
|
|
30
|
+
if (layoutState.collapse && !layoutState.topLayout) {
|
|
31
|
+
classes.push(util.collapseClass);
|
|
32
|
+
}
|
|
33
|
+
if (layoutState.compact && layoutState.mixSidebar && !layoutState.topLayout) {
|
|
34
|
+
classes.push(util.compactClass);
|
|
35
|
+
}
|
|
36
|
+
if (layoutState.maximized) {
|
|
37
|
+
classes.push(util.maximizedClass);
|
|
38
|
+
}
|
|
39
|
+
if (layoutState.tabBar) {
|
|
40
|
+
classes.push(util.hasTabClass);
|
|
41
|
+
}
|
|
42
|
+
if (layoutState.mixSidebar && !layoutState.topLayout) {
|
|
43
|
+
classes.push(util.mixSidebarClass);
|
|
44
|
+
if (!layoutState.sidebar) {
|
|
45
|
+
classes.push(util.singleSidebarClass);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (layoutState.topLayout) {
|
|
49
|
+
classes.push(util.topLayoutClass);
|
|
50
|
+
}
|
|
51
|
+
if (layoutState.maximized && layoutState.expanded) {
|
|
52
|
+
classes.push(util.expandedClass);
|
|
53
|
+
}
|
|
54
|
+
if (layoutState.mobile) {
|
|
55
|
+
classes.push(util.mobileClass);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if (props2.modalClass) {
|
|
60
|
+
classes.push(props2.modalClass);
|
|
61
|
+
}
|
|
62
|
+
return classes.join(" ");
|
|
63
|
+
});
|
|
15
64
|
const handleClose = () => {
|
|
16
65
|
if (drawerRef.value && drawerRef.value.handleClose) {
|
|
17
66
|
drawerRef.value.handleClose();
|
|
@@ -34,8 +83,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
34
83
|
const onClosed = () => {
|
|
35
84
|
emit("closed");
|
|
36
85
|
};
|
|
86
|
+
vue.onActivated(() => {
|
|
87
|
+
isActivated.value = true;
|
|
88
|
+
});
|
|
89
|
+
vue.onDeactivated(() => {
|
|
90
|
+
isActivated.value = false;
|
|
91
|
+
});
|
|
37
92
|
return {
|
|
38
93
|
drawerRef,
|
|
94
|
+
drawerClass,
|
|
39
95
|
handleClose,
|
|
40
96
|
updateModelValue,
|
|
41
97
|
onOpen,
|
|
@@ -54,7 +110,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
54
110
|
};
|
|
55
111
|
const _hoisted_1 = ["onClick"];
|
|
56
112
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
57
|
-
const
|
|
113
|
+
const _component_CloseOutlined = vue.resolveComponent("CloseOutlined");
|
|
58
114
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
59
115
|
const _component_ElDrawer = vue.resolveComponent("ElDrawer");
|
|
60
116
|
return vue.openBlock(), vue.createBlock(_component_ElDrawer, {
|
|
@@ -74,9 +130,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
74
130
|
size: _ctx.size,
|
|
75
131
|
title: _ctx.title,
|
|
76
132
|
withHeader: _ctx.withHeader,
|
|
77
|
-
modalClass: _ctx.
|
|
133
|
+
modalClass: _ctx.drawerClass,
|
|
78
134
|
zIndex: _ctx.zIndex,
|
|
79
|
-
|
|
135
|
+
headerAriaLevel: _ctx.headerAriaLevel,
|
|
80
136
|
onOpen: _ctx.onOpen,
|
|
81
137
|
onOpened: _ctx.onOpened,
|
|
82
138
|
onClose: _ctx.onClose,
|
|
@@ -106,7 +162,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
106
162
|
vue.renderSlot(_ctx.$slots, "closeBtn", {}, () => [
|
|
107
163
|
vue.createVNode(_component_ElIcon, null, {
|
|
108
164
|
default: vue.withCtx(() => [
|
|
109
|
-
vue.createVNode(
|
|
165
|
+
vue.createVNode(_component_CloseOutlined)
|
|
110
166
|
]),
|
|
111
167
|
_: 1
|
|
112
168
|
})
|
|
@@ -136,7 +192,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
136
192
|
]),
|
|
137
193
|
key: "0"
|
|
138
194
|
} : void 0
|
|
139
|
-
]), 1032, ["modelValue", "appendToBody", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "onOpen", "onOpened", "onClose", "onClosed", "onUpdate:modelValue"]);
|
|
195
|
+
]), 1032, ["modelValue", "appendToBody", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "headerAriaLevel", "onOpen", "onOpened", "onClose", "onClosed", "onUpdate:modelValue"]);
|
|
140
196
|
}
|
|
141
197
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
142
198
|
module.exports = index;
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
6
6
|
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
7
7
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
8
|
+
inner: BooleanConstructor;
|
|
8
9
|
direction: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
9
10
|
size: import("element-plus/es/utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
10
11
|
withHeader: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -54,14 +55,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
55
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
56
|
__epPropKey: true;
|
|
56
57
|
};
|
|
57
|
-
customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
58
58
|
draggable: BooleanConstructor;
|
|
59
|
+
overflow: BooleanConstructor;
|
|
59
60
|
fullscreen: BooleanConstructor;
|
|
60
61
|
showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
61
62
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
62
63
|
ariaLevel: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
63
64
|
}, {
|
|
64
65
|
drawerRef: import("vue").Ref<ElDrawerInstance>;
|
|
66
|
+
drawerClass: import("vue").ComputedRef<string>;
|
|
65
67
|
handleClose: () => void;
|
|
66
68
|
updateModelValue: (value: boolean) => void;
|
|
67
69
|
onOpen: () => void;
|
|
@@ -82,6 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
84
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
83
85
|
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
84
86
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
87
|
+
inner: BooleanConstructor;
|
|
85
88
|
direction: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
86
89
|
size: import("element-plus/es/utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
87
90
|
withHeader: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -131,8 +134,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
134
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
135
|
__epPropKey: true;
|
|
133
136
|
};
|
|
134
|
-
customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
135
137
|
draggable: BooleanConstructor;
|
|
138
|
+
overflow: BooleanConstructor;
|
|
136
139
|
fullscreen: BooleanConstructor;
|
|
137
140
|
showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
138
141
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -140,11 +143,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
143
|
}>> & {
|
|
141
144
|
onOpen?: (() => any) | undefined;
|
|
142
145
|
onClose?: (() => any) | undefined;
|
|
146
|
+
onOpenAutoFocus?: (() => any) | undefined;
|
|
147
|
+
onCloseAutoFocus?: (() => any) | undefined;
|
|
143
148
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
144
149
|
onOpened?: (() => any) | undefined;
|
|
145
150
|
onClosed?: (() => any) | undefined;
|
|
146
|
-
onOpenAutoFocus?: (() => any) | undefined;
|
|
147
|
-
onCloseAutoFocus?: (() => any) | undefined;
|
|
148
151
|
}, {
|
|
149
152
|
size: import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
150
153
|
center: boolean;
|
|
@@ -162,13 +165,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
165
|
trapFocus: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
163
166
|
headerAriaLevel: string;
|
|
164
167
|
alignCenter: boolean;
|
|
165
|
-
customClass: string;
|
|
166
168
|
draggable: boolean;
|
|
169
|
+
overflow: boolean;
|
|
167
170
|
fullscreen: boolean;
|
|
168
171
|
showClose: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
169
172
|
ariaLevel: string;
|
|
170
173
|
direction: import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
171
174
|
withHeader: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
172
175
|
modalFade: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
176
|
+
inner: boolean;
|
|
173
177
|
}, {}>;
|
|
174
178
|
export default _default;
|
package/lib/ele-drawer/props.cjs
CHANGED
|
@@ -13,6 +13,8 @@ export declare const drawerProps: {
|
|
|
13
13
|
footerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
14
14
|
/** 自定义关闭按钮样式 */
|
|
15
15
|
closeBtnStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
16
|
+
/** 是否限制在主体内部 */
|
|
17
|
+
inner: BooleanConstructor;
|
|
16
18
|
direction: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
17
19
|
size: import("element-plus/es/utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
18
20
|
withHeader: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -62,8 +64,8 @@ export declare const drawerProps: {
|
|
|
62
64
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
65
|
__epPropKey: true;
|
|
64
66
|
};
|
|
65
|
-
customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
66
67
|
draggable: BooleanConstructor;
|
|
68
|
+
overflow: BooleanConstructor;
|
|
67
69
|
fullscreen: BooleanConstructor;
|
|
68
70
|
showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
71
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
|
|
7
7
|
/* 抽屉 */
|
|
8
8
|
.ele-drawer {
|
|
9
|
-
|
|
9
|
+
& > .el-drawer {
|
|
10
10
|
background: eleVar('drawer', 'bg');
|
|
11
|
-
}
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
& > .el-drawer__header {
|
|
13
|
+
margin: 0;
|
|
14
|
+
padding: 0;
|
|
15
|
+
color: inherit;
|
|
16
|
+
display: block;
|
|
17
|
+
flex-shrink: 0;
|
|
18
|
+
border: none;
|
|
19
|
+
}
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
& > .el-drawer__body {
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
& > .el-drawer__footer {
|
|
26
|
+
padding: 0;
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
border: none;
|
|
29
|
+
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.ele-drawer-header {
|
|
@@ -78,3 +78,76 @@
|
|
|
78
78
|
box-sizing: border-box;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
+
|
|
82
|
+
/* 失活状态 */
|
|
83
|
+
.ele-drawer-hide {
|
|
84
|
+
display: none !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* 限制在内部并适配布局状态 */
|
|
88
|
+
.ele-drawer-inner {
|
|
89
|
+
& > .el-drawer {
|
|
90
|
+
box-shadow: eleVar('drawer', 'inner-shadow');
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.ele-drawer {
|
|
94
|
+
top: eleVar('header', 'height', 0);
|
|
95
|
+
left: eleVar('sidebar', 'width', 0);
|
|
96
|
+
height: auto;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:not(.el-drawer-fade-leave-active, .el-drawer-fade-enter-active) {
|
|
100
|
+
transition: (width $ele-transition, left $ele-transition);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.ele-state-has-tab {
|
|
104
|
+
top: calc(#{eleVar('header', 'height')} + #{eleVar('tab', 'height')});
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.ele-state-collapse {
|
|
108
|
+
left: eleVar('sidebar', 'collapse-width');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.ele-state-mix-sidebar {
|
|
112
|
+
$box-width: eleVar('sidebox', 'width');
|
|
113
|
+
left: calc(#{$box-width} + #{eleVar('sidebar', 'mix-width')});
|
|
114
|
+
|
|
115
|
+
&.ele-state-collapse {
|
|
116
|
+
left: $box-width;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.ele-state-single-sidebar {
|
|
120
|
+
left: $box-width;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.ele-state-compact {
|
|
125
|
+
$collapse-width: eleVar('sidebar', 'collapse-width');
|
|
126
|
+
left: calc(#{$collapse-width} + #{eleVar('sidebar', 'mix-width')});
|
|
127
|
+
|
|
128
|
+
&.ele-state-single-sidebar {
|
|
129
|
+
left: $collapse-width;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.ele-state-collapse {
|
|
133
|
+
left: $collapse-width;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.ele-state-top-layout {
|
|
138
|
+
left: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.ele-state-maximized {
|
|
142
|
+
top: eleVar('tab', 'height');
|
|
143
|
+
left: 0 !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.ele-state-expanded {
|
|
147
|
+
top: 0 !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.ele-state-mobile {
|
|
151
|
+
left: 0 !important;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -102,19 +102,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
102
102
|
}, {
|
|
103
103
|
default: vue.withCtx(() => [
|
|
104
104
|
_ctx.items ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.items, (item, index2) => {
|
|
105
|
-
return vue.openBlock(), vue.createBlock(_component_ElDropdownItem, vue.mergeProps(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
return vue.openBlock(), vue.createBlock(_component_ElDropdownItem, vue.mergeProps(
|
|
106
|
+
{
|
|
107
|
+
key: typeof item.command === "object" ? index2 : item.command,
|
|
108
|
+
class: [
|
|
109
|
+
{ "is-active": _ctx.modelValue === item.command },
|
|
110
|
+
{ "is-danger": !!item.danger }
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
_ctx.omit(item, [
|
|
114
|
+
"icon",
|
|
115
|
+
"title",
|
|
116
|
+
"iconProps",
|
|
117
|
+
"iconStyle",
|
|
118
|
+
"slot",
|
|
119
|
+
"danger"
|
|
120
|
+
])
|
|
121
|
+
), {
|
|
112
122
|
default: vue.withCtx(() => [
|
|
113
123
|
item.slot && item.slot !== "default" && _ctx.$slots[item.slot] ? vue.renderSlot(_ctx.$slots, item.slot, {
|
|
114
124
|
key: 0,
|
|
115
125
|
item
|
|
116
126
|
}) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
117
|
-
item.icon ? (vue.openBlock(), vue.createBlock(_component_ElIcon, vue.normalizeProps(vue.mergeProps({ key: 0 }, item.iconProps || {})), {
|
|
127
|
+
item.icon ? (vue.openBlock(), vue.createBlock(_component_ElIcon, vue.normalizeProps(vue.mergeProps({ key: 0 }, { ..._ctx.iconProps || {}, ...item.iconProps || {} })), {
|
|
118
128
|
default: vue.withCtx(() => [
|
|
119
129
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), {
|
|
120
130
|
style: vue.normalizeStyle(item.iconStyle)
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
items: import("vue").PropType<DropdownItem[]>;
|
|
6
6
|
modelValue: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
7
7
|
menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
8
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
8
9
|
trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
9
10
|
effect: {
|
|
10
11
|
readonly default: "light";
|
|
@@ -60,6 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
61
|
items: import("vue").PropType<DropdownItem[]>;
|
|
61
62
|
modelValue: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
62
63
|
menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
64
|
+
iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
|
|
63
65
|
trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
64
66
|
effect: {
|
|
65
67
|
readonly default: "light";
|