ele-admin-plus 1.1.9-beta.10 → 1.1.9-beta.12
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/ele-alert/index.d.ts +22 -22
- package/es/ele-alert/index.js +2 -2
- package/es/ele-app/el.d.ts +2 -1
- package/es/ele-app/index.d.ts +2 -2
- package/es/ele-avatar-group/index.d.ts +26 -26
- package/es/ele-bar-code/index.d.ts +6 -6
- package/es/ele-basic-select/index.d.ts +31 -31
- package/es/ele-basic-select/index.js +7 -1
- package/es/ele-basic-select/props.d.ts +1 -1
- package/es/ele-bottom-bar/index.d.ts +5 -5
- package/es/ele-breadcrumb/index.d.ts +8 -8
- package/es/ele-breadcrumb/props.d.ts +1 -1
- package/es/ele-card/index.d.ts +11 -11
- package/es/ele-check-card/components/card-item.d.ts +3 -3
- package/es/ele-check-card/index.d.ts +12 -12
- package/es/ele-config-provider/components/receiver-view.d.ts +2 -2
- package/es/ele-config-provider/index.d.ts +6 -6
- package/es/ele-config-provider/receiver.d.ts +1 -1
- package/es/ele-config-provider/receiver.js +4 -8
- package/es/ele-config-provider/types.d.ts +2 -18
- package/es/ele-copyable/index.d.ts +28 -28
- package/es/ele-count-up/index.d.ts +6 -6
- package/es/ele-cropper/components/cropper-preview.d.ts +2 -2
- package/es/ele-cropper/components/cropper-tools.d.ts +8 -8
- package/es/ele-cropper/index.d.ts +11 -11
- package/es/ele-cropper-modal/index.d.ts +13 -13
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-dashboard/index.d.ts +4 -4
- package/es/ele-data-table/index.d.ts +56 -56
- package/es/ele-dot/index.d.ts +3 -3
- package/es/ele-drawer/index.d.ts +72 -69
- package/es/ele-drawer/index.js +107 -113
- package/es/ele-drawer/props.d.ts +1 -1
- package/es/ele-drawer/style/index.scss +48 -105
- package/es/ele-dropdown/index.d.ts +62 -62
- package/es/ele-dropdown/props.d.ts +4 -4
- package/es/ele-edit-tag/index.d.ts +30 -30
- package/es/ele-edit-tag/index.js +1 -1
- package/es/ele-ellipsis/index.d.ts +19 -19
- package/es/ele-file-list/components/file-grid-item.d.ts +7 -7
- package/es/ele-file-list/components/file-grid-item.js +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +4 -4
- package/es/ele-file-list/components/file-sort.d.ts +1 -1
- package/es/ele-file-list/components/file-table-item.d.ts +7 -7
- package/es/ele-file-list/components/file-table-item.js +1 -1
- package/es/ele-file-list/components/file-table.d.ts +4 -4
- package/es/ele-file-list/index.d.ts +32 -32
- package/es/ele-file-list-tool/index.d.ts +2 -2
- package/es/ele-icon-select/components/icon-grid.d.ts +11 -11
- package/es/ele-icon-select/components/icon-grid.js +1 -1
- package/es/ele-icon-select/index.d.ts +45 -45
- package/es/ele-icon-select/props.d.ts +1 -1
- package/es/ele-loading/index.d.ts +11 -15
- package/es/ele-loading/index.js +10 -16
- package/es/ele-map-picker/components/map-view.d.ts +25 -25
- package/es/ele-map-picker/components/map-view.js +1 -1
- package/es/ele-map-picker/index.d.ts +21 -21
- package/es/ele-map-picker/index.js +1 -1
- package/es/ele-menus/index.d.ts +56 -58
- package/es/ele-menus/index.js +1 -1
- package/es/ele-menus/props.d.ts +2 -4
- package/es/ele-menus/props.js +1 -3
- package/es/ele-menus/style/css-var.scss +1 -5
- package/es/ele-modal/index.d.ts +73 -67
- package/es/ele-modal/index.js +164 -186
- package/es/ele-modal/props.d.ts +3 -1
- package/es/ele-modal/props.js +2 -0
- package/es/ele-modal/style/index.scss +85 -146
- package/es/ele-modal/util.d.ts +18 -44
- package/es/ele-modal/util.js +53 -179
- package/es/ele-page/index.d.ts +1 -1
- package/es/ele-pagination/index.d.ts +39 -30
- package/es/ele-pagination/index.js +4 -1
- package/es/ele-pagination/props.d.ts +7 -2
- package/es/ele-pagination/props.js +5 -0
- package/es/ele-popconfirm/index.d.ts +86 -86
- package/es/ele-popconfirm/index.js +6 -28
- package/es/ele-popconfirm/props.d.ts +5 -5
- package/es/ele-popover/index.d.ts +67 -67
- package/es/ele-popover/index.js +6 -14
- package/es/ele-popover/props.d.ts +4 -4
- package/es/ele-printer/index.d.ts +17 -17
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +81 -26
- package/es/ele-pro-layout/components/pro-header.js +110 -20
- package/es/ele-pro-layout/components/pro-iframe.d.ts +3 -4
- package/es/ele-pro-layout/components/pro-iframe.js +31 -41
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +9 -14
- package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +11 -16
- package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
- package/es/ele-pro-layout/components/pro-tabs.d.ts +6 -6
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +3 -3
- package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
- package/es/ele-pro-layout/index.d.ts +93 -94
- package/es/ele-pro-layout/index.js +62 -47
- package/es/ele-pro-layout/props.d.ts +4 -7
- package/es/ele-pro-layout/props.js +2 -4
- package/es/ele-pro-layout/style/css-var.scss +3 -18
- package/es/ele-pro-layout/style/header.scss +74 -9
- package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/es/ele-pro-layout/style/layout-style.scss +8 -3
- package/es/ele-pro-layout/style/layout-theme.scss +48 -23
- package/es/ele-pro-layout/style/layout.scss +38 -8
- package/es/ele-pro-layout/style/sidebar.scss +0 -1
- package/es/ele-pro-layout/style/tabs.scss +19 -11
- package/es/ele-pro-layout/types.d.ts +1 -1
- package/es/ele-pro-layout/util.d.ts +1 -2
- package/es/ele-pro-layout/util.js +2 -3
- package/es/ele-pro-table/components/table-tools.d.ts +17 -17
- package/es/ele-pro-table/components/tool-column-list.d.ts +2 -2
- package/es/ele-pro-table/components/tool-column.d.ts +9 -9
- package/es/ele-pro-table/components/tool-export.d.ts +15 -292
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +8 -8
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +8 -8
- package/es/ele-pro-table/components/tool-print.d.ts +23 -736
- package/es/ele-pro-table/components/tool-print.js +0 -3
- package/es/ele-pro-table/index.d.ts +124 -126
- package/es/ele-pro-table/index.js +32 -26
- package/es/ele-pro-table/props.d.ts +16 -16
- package/es/ele-pro-table/types.d.ts +11 -0
- package/es/ele-pro-table/util.d.ts +11 -15
- package/es/ele-pro-table/util.js +18 -15
- package/es/ele-qr-code/index.d.ts +13 -13
- package/es/ele-qr-code-svg/index.d.ts +17 -17
- package/es/ele-segmented/index.d.ts +7 -7
- package/es/ele-split-panel/index.d.ts +15 -15
- package/es/ele-steps/index.d.ts +32 -32
- package/es/ele-tab-tool/index.d.ts +1 -1
- package/es/ele-tab-wrap/index.d.ts +5 -5
- package/es/ele-tab-wrap/index.js +2 -1
- package/es/ele-table/index.d.ts +3 -3
- package/es/ele-table/props.d.ts +1 -1
- package/es/ele-table-select/index.d.ts +41 -40
- package/es/ele-table-select/index.js +29 -27
- package/es/ele-table-select/props.d.ts +1 -1
- package/es/ele-tabs/components/tab-title.d.ts +3 -3
- package/es/ele-tabs/index.d.ts +31 -31
- package/es/ele-tabs/index.js +1 -0
- package/es/ele-tabs/props.d.ts +4 -4
- package/es/ele-tabs/style/css-var.scss +1 -30
- package/es/ele-tabs/style/index.scss +372 -241
- package/es/ele-tabs/types.d.ts +2 -1
- package/es/ele-text/index.d.ts +11 -11
- package/es/ele-tool/index.d.ts +6 -6
- package/es/ele-tool/props.d.ts +1 -1
- package/es/ele-toolbar/index.d.ts +14 -14
- package/es/ele-tooltip/index.d.ts +56 -56
- package/es/ele-tooltip/index.js +3 -0
- package/es/ele-tooltip/props.d.ts +8 -3
- package/es/ele-tooltip/props.js +2 -0
- package/es/ele-tour/index.d.ts +10 -10
- package/es/ele-tree-select/index.d.ts +31 -31
- package/es/ele-tree-select/props.d.ts +1 -1
- package/es/ele-upload-list/components/list-item.d.ts +2 -2
- package/es/ele-upload-list/index.d.ts +22 -22
- package/es/ele-virtual-table/components/body-cell.d.ts +16 -16
- package/es/ele-virtual-table/components/body-row.d.ts +17 -17
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +2 -2
- package/es/ele-virtual-table/components/cell-filter.d.ts +13 -13
- package/es/ele-virtual-table/components/expand-row.d.ts +1 -1
- package/es/ele-virtual-table/components/footer-row.d.ts +5 -5
- package/es/ele-virtual-table/components/header-cell.d.ts +11 -11
- package/es/ele-virtual-table/components/header-row.d.ts +7 -7
- package/es/ele-virtual-table/index.d.ts +71 -71
- package/es/ele-virtual-table/props.d.ts +21 -21
- package/es/ele-virtual-table/style/index.scss +1 -1
- package/es/ele-virtual-table/util.d.ts +1 -1
- package/es/ele-watermark/index.d.ts +12 -12
- package/es/ele-xg-player/index.d.ts +6 -6
- package/es/icons/AnalysisOutlined.d.ts +1 -1
- package/es/icons/ApplicationOutlined.d.ts +1 -1
- package/es/icons/AppstoreAddOutlined.d.ts +1 -1
- package/es/icons/AppstoreOutlined.d.ts +1 -1
- package/es/icons/ArrowDown.d.ts +1 -1
- package/es/icons/ArrowDownOutlined.d.ts +1 -1
- package/es/icons/ArrowLeft.d.ts +1 -1
- package/es/icons/ArrowLeftOutlined.d.ts +1 -1
- package/es/icons/ArrowRight.d.ts +1 -1
- package/es/icons/ArrowRightOutlined.d.ts +1 -1
- package/es/icons/ArrowUp.d.ts +1 -1
- package/es/icons/ArrowUpOutlined.d.ts +1 -1
- package/es/icons/BellOutlined.d.ts +1 -1
- package/es/icons/BookOutlined.d.ts +1 -1
- package/es/icons/CalendarOutlined.d.ts +1 -1
- package/es/icons/CaretDownFilled.d.ts +1 -1
- package/es/icons/CaretUpFilled.d.ts +1 -1
- package/es/icons/CheckCircleFilled.d.ts +1 -1
- package/es/icons/CheckCircleOutlined.d.ts +1 -1
- package/es/icons/CheckOutlined.d.ts +1 -1
- package/es/icons/CityOutlined.d.ts +1 -1
- package/es/icons/ClockCircleOutlined.d.ts +1 -1
- package/es/icons/CloseCircleFilled.d.ts +1 -1
- package/es/icons/CloseCircleOutlined.d.ts +1 -1
- package/es/icons/CloseOutlined.d.ts +1 -1
- package/es/icons/CloudUploadOutlined.d.ts +1 -1
- package/es/icons/ClusterOutlined.d.ts +1 -1
- package/es/icons/CodeOutlined.d.ts +1 -1
- package/es/icons/ColumnHeightOutlined.d.ts +1 -1
- package/es/icons/CompassOutlined.d.ts +1 -1
- package/es/icons/CompressOutlined.d.ts +1 -1
- package/es/icons/ConnectionOutlined.d.ts +1 -1
- package/es/icons/ControlOutlined.d.ts +1 -1
- package/es/icons/CopyOutlined.d.ts +1 -1
- package/es/icons/CpuOutlined.d.ts +1 -1
- package/es/icons/DashboardOutlined.d.ts +1 -1
- package/es/icons/DatabaseOutlined.d.ts +1 -1
- package/es/icons/DeleteOutlined.d.ts +1 -1
- package/es/icons/DesktopOutlined.d.ts +1 -1
- package/es/icons/DownloadOutlined.d.ts +1 -1
- package/es/icons/DragOutlined.d.ts +1 -1
- package/es/icons/EditOutlined.d.ts +1 -1
- package/es/icons/EllipsisOutlined.d.ts +1 -1
- package/es/icons/EnvironmentOutlined.d.ts +1 -1
- package/es/icons/ExclamationCircleFilled.d.ts +1 -1
- package/es/icons/ExpandOutlined.d.ts +1 -1
- package/es/icons/FileOutlined.d.ts +1 -1
- package/es/icons/FilterFilled.d.ts +1 -1
- package/es/icons/FolderAddOutlined.d.ts +1 -1
- package/es/icons/FolderOutlined.d.ts +1 -1
- package/es/icons/FormOutlined.d.ts +1 -1
- package/es/icons/FullscreenExitOutlined.d.ts +1 -1
- package/es/icons/FullscreenOutlined.d.ts +1 -1
- package/es/icons/FundOutlined.d.ts +1 -1
- package/es/icons/GlobalOutlined.d.ts +1 -1
- package/es/icons/HolderOutlined.d.ts +1 -1
- package/es/icons/HomeOutlined.d.ts +1 -1
- package/es/icons/IdcardOutlined.d.ts +1 -1
- package/es/icons/InfoCircleFilled.d.ts +1 -1
- package/es/icons/LinkOutlined.d.ts +1 -1
- package/es/icons/LoadingDotOutlined.d.ts +1 -1
- package/es/icons/LoadingOutlined.d.ts +1 -1
- package/es/icons/LockOutlined.d.ts +1 -1
- package/es/icons/LogOutlined.d.ts +1 -1
- package/es/icons/LogoutOutlined.d.ts +1 -1
- package/es/icons/MailOutlined.d.ts +1 -1
- package/es/icons/MenuFoldOutlined.d.ts +1 -1
- package/es/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/es/icons/MessageOutlined.d.ts +1 -1
- package/es/icons/MinusCircleOutlined.d.ts +1 -1
- package/es/icons/MobileOutlined.d.ts +1 -1
- package/es/icons/MoonOutlined.d.ts +1 -1
- package/es/icons/MoreOutlined.d.ts +1 -1
- package/es/icons/PauseFilled.d.ts +1 -1
- package/es/icons/PieChartOutlined.d.ts +1 -1
- package/es/icons/PlayFilled.d.ts +1 -1
- package/es/icons/PlusCircleOutlined.d.ts +1 -1
- package/es/icons/PlusOutlined.d.ts +1 -1
- package/es/icons/PrinterOutlined.d.ts +1 -1
- package/es/icons/ProtectOutlined.d.ts +1 -1
- package/es/icons/QuestionCircleFilled.d.ts +1 -1
- package/es/icons/QuestionCircleOutlined.d.ts +1 -1
- package/es/icons/ReloadOutlined.d.ts +1 -1
- package/es/icons/ResizeOutlined.d.ts +2 -0
- package/es/icons/ResizeOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +1 -1
- package/es/icons/SettingOutlined.d.ts +1 -1
- package/es/icons/ShoppingOutlined.d.ts +1 -1
- package/es/icons/SortOutlined.d.ts +1 -1
- package/es/icons/StarFilled.d.ts +1 -1
- package/es/icons/StepBackwardFilled.d.ts +1 -1
- package/es/icons/StepForwardFilled.d.ts +1 -1
- package/es/icons/SuitcaseOutlined.d.ts +1 -1
- package/es/icons/SunOutlined.d.ts +1 -1
- package/es/icons/SwapOutlined.d.ts +1 -1
- package/es/icons/SyncOutlined.d.ts +1 -1
- package/es/icons/TableOutlined.d.ts +1 -1
- package/es/icons/TagOutlined.d.ts +1 -1
- package/es/icons/TimerOutlined.d.ts +1 -1
- package/es/icons/UndoOutlined.d.ts +1 -1
- package/es/icons/UnlockOutlined.d.ts +1 -1
- package/es/icons/UploadOutlined.d.ts +1 -1
- package/es/icons/UserOutlined.d.ts +1 -1
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/es/icons/VerticalLeftOutlined.d.ts +1 -1
- package/es/icons/VerticalRightOutlined.d.ts +1 -1
- package/es/icons/WarningOutlined.d.ts +1 -1
- package/es/icons/ZoomInOutlined.d.ts +1 -1
- package/es/icons/ZoomOutOutlined.d.ts +1 -1
- package/es/icons/index.d.ts +1 -0
- package/es/icons/index.js +50 -48
- package/es/style/nprogress.scss +1 -0
- package/es/style/themes/dark.scss +9 -15
- package/es/style/themes/default.scss +56 -80
- package/es/style/themes/rounded.scss +16 -30
- package/es/utils/menu-util.js +2 -5
- package/lib/ele-alert/index.cjs +2 -2
- package/lib/ele-alert/index.d.ts +22 -22
- package/lib/ele-app/el.d.ts +2 -1
- package/lib/ele-app/index.d.ts +2 -2
- package/lib/ele-avatar-group/index.d.ts +26 -26
- package/lib/ele-bar-code/index.d.ts +6 -6
- package/lib/ele-basic-select/index.cjs +7 -1
- package/lib/ele-basic-select/index.d.ts +31 -31
- package/lib/ele-basic-select/props.d.ts +1 -1
- package/lib/ele-bottom-bar/index.d.ts +5 -5
- package/lib/ele-breadcrumb/index.d.ts +8 -8
- package/lib/ele-breadcrumb/props.d.ts +1 -1
- package/lib/ele-card/index.d.ts +11 -11
- package/lib/ele-check-card/components/card-item.d.ts +3 -3
- package/lib/ele-check-card/index.d.ts +12 -12
- package/lib/ele-config-provider/components/receiver-view.d.ts +2 -2
- package/lib/ele-config-provider/index.d.ts +6 -6
- package/lib/ele-config-provider/receiver.cjs +3 -7
- package/lib/ele-config-provider/receiver.d.ts +1 -1
- package/lib/ele-config-provider/types.d.ts +2 -18
- package/lib/ele-copyable/index.d.ts +28 -28
- package/lib/ele-count-up/index.d.ts +6 -6
- package/lib/ele-cropper/components/cropper-preview.d.ts +2 -2
- package/lib/ele-cropper/components/cropper-tools.d.ts +8 -8
- package/lib/ele-cropper/index.d.ts +11 -11
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-cropper-modal/index.d.ts +13 -13
- package/lib/ele-dashboard/index.d.ts +4 -4
- package/lib/ele-data-table/index.d.ts +56 -56
- package/lib/ele-dot/index.d.ts +3 -3
- package/lib/ele-drawer/index.cjs +105 -111
- package/lib/ele-drawer/index.d.ts +72 -69
- package/lib/ele-drawer/props.d.ts +1 -1
- package/lib/ele-drawer/style/index.scss +48 -105
- package/lib/ele-dropdown/index.d.ts +62 -62
- package/lib/ele-dropdown/props.d.ts +4 -4
- package/lib/ele-edit-tag/index.cjs +1 -1
- package/lib/ele-edit-tag/index.d.ts +30 -30
- package/lib/ele-ellipsis/index.d.ts +19 -19
- package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
- package/lib/ele-file-list/components/file-grid-item.d.ts +7 -7
- package/lib/ele-file-list/components/file-grid.d.ts +4 -4
- package/lib/ele-file-list/components/file-sort.d.ts +1 -1
- package/lib/ele-file-list/components/file-table-item.cjs +1 -1
- package/lib/ele-file-list/components/file-table-item.d.ts +7 -7
- package/lib/ele-file-list/components/file-table.d.ts +4 -4
- package/lib/ele-file-list/index.d.ts +32 -32
- package/lib/ele-file-list-tool/index.d.ts +2 -2
- package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
- package/lib/ele-icon-select/components/icon-grid.d.ts +11 -11
- package/lib/ele-icon-select/index.d.ts +45 -45
- package/lib/ele-icon-select/props.d.ts +1 -1
- package/lib/ele-loading/index.cjs +9 -15
- package/lib/ele-loading/index.d.ts +11 -15
- package/lib/ele-map-picker/components/map-view.cjs +1 -1
- package/lib/ele-map-picker/components/map-view.d.ts +25 -25
- package/lib/ele-map-picker/index.cjs +1 -1
- package/lib/ele-map-picker/index.d.ts +21 -21
- package/lib/ele-menus/index.cjs +1 -1
- package/lib/ele-menus/index.d.ts +56 -58
- package/lib/ele-menus/props.cjs +1 -3
- package/lib/ele-menus/props.d.ts +2 -4
- package/lib/ele-menus/style/css-var.scss +1 -5
- package/lib/ele-modal/index.cjs +176 -198
- package/lib/ele-modal/index.d.ts +73 -67
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +3 -1
- package/lib/ele-modal/style/index.scss +85 -146
- package/lib/ele-modal/util.cjs +53 -179
- package/lib/ele-modal/util.d.ts +18 -44
- package/lib/ele-page/index.d.ts +1 -1
- package/lib/ele-pagination/index.cjs +4 -1
- package/lib/ele-pagination/index.d.ts +39 -30
- package/lib/ele-pagination/props.cjs +5 -0
- package/lib/ele-pagination/props.d.ts +7 -2
- package/lib/ele-popconfirm/index.cjs +5 -27
- package/lib/ele-popconfirm/index.d.ts +86 -86
- package/lib/ele-popconfirm/props.d.ts +5 -5
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +67 -67
- package/lib/ele-popover/props.d.ts +4 -4
- package/lib/ele-printer/index.d.ts +17 -17
- package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-header.cjs +109 -19
- package/lib/ele-pro-layout/components/pro-header.d.ts +81 -26
- package/lib/ele-pro-layout/components/pro-iframe.cjs +30 -40
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +3 -4
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +9 -14
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +11 -16
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +6 -6
- package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +3 -3
- package/lib/ele-pro-layout/index.cjs +61 -46
- package/lib/ele-pro-layout/index.d.ts +93 -94
- package/lib/ele-pro-layout/props.cjs +2 -4
- package/lib/ele-pro-layout/props.d.ts +4 -7
- package/lib/ele-pro-layout/style/css-var.scss +3 -18
- package/lib/ele-pro-layout/style/header.scss +74 -9
- package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/lib/ele-pro-layout/style/layout-style.scss +8 -3
- package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
- package/lib/ele-pro-layout/style/layout.scss +38 -8
- package/lib/ele-pro-layout/style/sidebar.scss +0 -1
- package/lib/ele-pro-layout/style/tabs.scss +19 -11
- package/lib/ele-pro-layout/types.d.ts +1 -1
- package/lib/ele-pro-layout/util.cjs +2 -3
- package/lib/ele-pro-layout/util.d.ts +1 -2
- package/lib/ele-pro-table/components/table-tools.d.ts +17 -17
- package/lib/ele-pro-table/components/tool-column-list.d.ts +2 -2
- package/lib/ele-pro-table/components/tool-column.d.ts +9 -9
- package/lib/ele-pro-table/components/tool-export.d.ts +15 -292
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +8 -8
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +8 -8
- package/lib/ele-pro-table/components/tool-print.cjs +0 -3
- package/lib/ele-pro-table/components/tool-print.d.ts +23 -736
- package/lib/ele-pro-table/index.cjs +30 -24
- package/lib/ele-pro-table/index.d.ts +124 -126
- package/lib/ele-pro-table/props.d.ts +16 -16
- package/lib/ele-pro-table/types.d.ts +11 -0
- package/lib/ele-pro-table/util.cjs +18 -15
- package/lib/ele-pro-table/util.d.ts +11 -15
- package/lib/ele-qr-code/index.d.ts +13 -13
- package/lib/ele-qr-code-svg/index.d.ts +17 -17
- package/lib/ele-segmented/index.d.ts +7 -7
- package/lib/ele-split-panel/index.d.ts +15 -15
- package/lib/ele-steps/index.d.ts +32 -32
- package/lib/ele-tab-tool/index.d.ts +1 -1
- package/lib/ele-tab-wrap/index.cjs +2 -1
- package/lib/ele-tab-wrap/index.d.ts +5 -5
- package/lib/ele-table/index.d.ts +3 -3
- package/lib/ele-table/props.d.ts +1 -1
- package/lib/ele-table-select/index.cjs +29 -27
- package/lib/ele-table-select/index.d.ts +41 -40
- package/lib/ele-table-select/props.d.ts +1 -1
- package/lib/ele-tabs/components/tab-title.d.ts +3 -3
- package/lib/ele-tabs/index.cjs +1 -0
- package/lib/ele-tabs/index.d.ts +31 -31
- package/lib/ele-tabs/props.d.ts +4 -4
- package/lib/ele-tabs/style/css-var.scss +1 -30
- package/lib/ele-tabs/style/index.scss +372 -241
- package/lib/ele-tabs/types.d.ts +2 -1
- package/lib/ele-text/index.d.ts +11 -11
- package/lib/ele-tool/index.d.ts +6 -6
- package/lib/ele-tool/props.d.ts +1 -1
- package/lib/ele-toolbar/index.d.ts +14 -14
- package/lib/ele-tooltip/index.cjs +3 -0
- package/lib/ele-tooltip/index.d.ts +56 -56
- package/lib/ele-tooltip/props.cjs +2 -0
- package/lib/ele-tooltip/props.d.ts +8 -3
- package/lib/ele-tour/index.d.ts +10 -10
- package/lib/ele-tree-select/index.d.ts +31 -31
- package/lib/ele-tree-select/props.d.ts +1 -1
- package/lib/ele-upload-list/components/list-item.d.ts +2 -2
- package/lib/ele-upload-list/index.d.ts +22 -22
- package/lib/ele-virtual-table/components/body-cell.d.ts +16 -16
- package/lib/ele-virtual-table/components/body-row.d.ts +17 -17
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +2 -2
- package/lib/ele-virtual-table/components/cell-filter.d.ts +13 -13
- package/lib/ele-virtual-table/components/expand-row.d.ts +1 -1
- package/lib/ele-virtual-table/components/footer-row.d.ts +5 -5
- package/lib/ele-virtual-table/components/header-cell.d.ts +11 -11
- package/lib/ele-virtual-table/components/header-row.d.ts +7 -7
- package/lib/ele-virtual-table/index.d.ts +71 -71
- package/lib/ele-virtual-table/props.d.ts +21 -21
- package/lib/ele-virtual-table/style/index.scss +1 -1
- package/lib/ele-virtual-table/util.d.ts +1 -1
- package/lib/ele-watermark/index.d.ts +12 -12
- package/lib/ele-xg-player/index.d.ts +6 -6
- package/lib/icons/AnalysisOutlined.d.ts +1 -1
- package/lib/icons/ApplicationOutlined.d.ts +1 -1
- package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
- package/lib/icons/AppstoreOutlined.d.ts +1 -1
- package/lib/icons/ArrowDown.d.ts +1 -1
- package/lib/icons/ArrowDownOutlined.d.ts +1 -1
- package/lib/icons/ArrowLeft.d.ts +1 -1
- package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
- package/lib/icons/ArrowRight.d.ts +1 -1
- package/lib/icons/ArrowRightOutlined.d.ts +1 -1
- package/lib/icons/ArrowUp.d.ts +1 -1
- package/lib/icons/ArrowUpOutlined.d.ts +1 -1
- package/lib/icons/BellOutlined.d.ts +1 -1
- package/lib/icons/BookOutlined.d.ts +1 -1
- package/lib/icons/CalendarOutlined.d.ts +1 -1
- package/lib/icons/CaretDownFilled.d.ts +1 -1
- package/lib/icons/CaretUpFilled.d.ts +1 -1
- package/lib/icons/CheckCircleFilled.d.ts +1 -1
- package/lib/icons/CheckCircleOutlined.d.ts +1 -1
- package/lib/icons/CheckOutlined.d.ts +1 -1
- package/lib/icons/CityOutlined.d.ts +1 -1
- package/lib/icons/ClockCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseCircleFilled.d.ts +1 -1
- package/lib/icons/CloseCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseOutlined.d.ts +1 -1
- package/lib/icons/CloudUploadOutlined.d.ts +1 -1
- package/lib/icons/ClusterOutlined.d.ts +1 -1
- package/lib/icons/CodeOutlined.d.ts +1 -1
- package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
- package/lib/icons/CompassOutlined.d.ts +1 -1
- package/lib/icons/CompressOutlined.d.ts +1 -1
- package/lib/icons/ConnectionOutlined.d.ts +1 -1
- package/lib/icons/ControlOutlined.d.ts +1 -1
- package/lib/icons/CopyOutlined.d.ts +1 -1
- package/lib/icons/CpuOutlined.d.ts +1 -1
- package/lib/icons/DashboardOutlined.d.ts +1 -1
- package/lib/icons/DatabaseOutlined.d.ts +1 -1
- package/lib/icons/DeleteOutlined.d.ts +1 -1
- package/lib/icons/DesktopOutlined.d.ts +1 -1
- package/lib/icons/DownloadOutlined.d.ts +1 -1
- package/lib/icons/DragOutlined.d.ts +1 -1
- package/lib/icons/EditOutlined.d.ts +1 -1
- package/lib/icons/EllipsisOutlined.d.ts +1 -1
- package/lib/icons/EnvironmentOutlined.d.ts +1 -1
- package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
- package/lib/icons/ExpandOutlined.d.ts +1 -1
- package/lib/icons/FileOutlined.d.ts +1 -1
- package/lib/icons/FilterFilled.d.ts +1 -1
- package/lib/icons/FolderAddOutlined.d.ts +1 -1
- package/lib/icons/FolderOutlined.d.ts +1 -1
- package/lib/icons/FormOutlined.d.ts +1 -1
- package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
- package/lib/icons/FullscreenOutlined.d.ts +1 -1
- package/lib/icons/FundOutlined.d.ts +1 -1
- package/lib/icons/GlobalOutlined.d.ts +1 -1
- package/lib/icons/HolderOutlined.d.ts +1 -1
- package/lib/icons/HomeOutlined.d.ts +1 -1
- package/lib/icons/IdcardOutlined.d.ts +1 -1
- package/lib/icons/InfoCircleFilled.d.ts +1 -1
- package/lib/icons/LinkOutlined.d.ts +1 -1
- package/lib/icons/LoadingDotOutlined.d.ts +1 -1
- package/lib/icons/LoadingOutlined.d.ts +1 -1
- package/lib/icons/LockOutlined.d.ts +1 -1
- package/lib/icons/LogOutlined.d.ts +1 -1
- package/lib/icons/LogoutOutlined.d.ts +1 -1
- package/lib/icons/MailOutlined.d.ts +1 -1
- package/lib/icons/MenuFoldOutlined.d.ts +1 -1
- package/lib/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/lib/icons/MessageOutlined.d.ts +1 -1
- package/lib/icons/MinusCircleOutlined.d.ts +1 -1
- package/lib/icons/MobileOutlined.d.ts +1 -1
- package/lib/icons/MoonOutlined.d.ts +1 -1
- package/lib/icons/MoreOutlined.d.ts +1 -1
- package/lib/icons/PauseFilled.d.ts +1 -1
- package/lib/icons/PieChartOutlined.d.ts +1 -1
- package/lib/icons/PlayFilled.d.ts +1 -1
- package/lib/icons/PlusCircleOutlined.d.ts +1 -1
- package/lib/icons/PlusOutlined.d.ts +1 -1
- package/lib/icons/PrinterOutlined.d.ts +1 -1
- package/lib/icons/ProtectOutlined.d.ts +1 -1
- package/lib/icons/QuestionCircleFilled.d.ts +1 -1
- package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
- package/lib/icons/ReloadOutlined.d.ts +1 -1
- package/lib/icons/ResizeOutlined.cjs +29 -0
- package/lib/icons/ResizeOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.d.ts +1 -1
- package/lib/icons/SettingOutlined.d.ts +1 -1
- package/lib/icons/ShoppingOutlined.d.ts +1 -1
- package/lib/icons/SortOutlined.d.ts +1 -1
- package/lib/icons/StarFilled.d.ts +1 -1
- package/lib/icons/StepBackwardFilled.d.ts +1 -1
- package/lib/icons/StepForwardFilled.d.ts +1 -1
- package/lib/icons/SuitcaseOutlined.d.ts +1 -1
- package/lib/icons/SunOutlined.d.ts +1 -1
- package/lib/icons/SwapOutlined.d.ts +1 -1
- package/lib/icons/SyncOutlined.d.ts +1 -1
- package/lib/icons/TableOutlined.d.ts +1 -1
- package/lib/icons/TagOutlined.d.ts +1 -1
- package/lib/icons/TimerOutlined.d.ts +1 -1
- package/lib/icons/UndoOutlined.d.ts +1 -1
- package/lib/icons/UnlockOutlined.d.ts +1 -1
- package/lib/icons/UploadOutlined.d.ts +1 -1
- package/lib/icons/UserOutlined.d.ts +1 -1
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
- package/lib/icons/VerticalRightOutlined.d.ts +1 -1
- package/lib/icons/WarningOutlined.d.ts +1 -1
- package/lib/icons/ZoomInOutlined.d.ts +1 -1
- package/lib/icons/ZoomOutOutlined.d.ts +1 -1
- package/lib/icons/index.cjs +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/style/nprogress.scss +1 -0
- package/lib/style/themes/dark.scss +9 -15
- package/lib/style/themes/default.scss +56 -80
- package/lib/style/themes/rounded.scss +16 -30
- package/lib/utils/menu-util.cjs +1 -4
- package/package.json +15 -15
package/es/ele-drawer/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent, ref, computed,
|
|
1
|
+
import { defineComponent, ref, computed, onActivated, onDeactivated, resolveComponent, openBlock, createBlock, Teleport, createVNode, mergeProps, createSlots, withCtx, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createElementBlock, createCommentVNode } from "vue";
|
|
2
2
|
import { ElDrawer, ElIcon, drawerEmits } from "element-plus";
|
|
3
3
|
import { CloseOutlined } from "../icons";
|
|
4
|
-
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
5
4
|
import { useLayoutState } from "../ele-config-provider/receiver";
|
|
6
|
-
import
|
|
5
|
+
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
6
|
+
import { getModalContainer } from "../ele-modal/util";
|
|
7
7
|
import { drawerProps } from "./props";
|
|
8
8
|
const _sfc_main = defineComponent({
|
|
9
9
|
name: "EleDrawer",
|
|
@@ -15,7 +15,6 @@ const _sfc_main = defineComponent({
|
|
|
15
15
|
const drawerRef = ref(null);
|
|
16
16
|
const isActivated = ref(true);
|
|
17
17
|
const drawerClass = computed(() => {
|
|
18
|
-
const layoutState = unref(layoutProvide);
|
|
19
18
|
const classes = ["ele-drawer"];
|
|
20
19
|
if (!props.modelValue) {
|
|
21
20
|
classes.push("ele-drawer-closed");
|
|
@@ -25,41 +24,20 @@ const _sfc_main = defineComponent({
|
|
|
25
24
|
}
|
|
26
25
|
if (props.inner) {
|
|
27
26
|
classes.push("ele-drawer-inner");
|
|
28
|
-
if (layoutState && layoutState.sidebar != null) {
|
|
29
|
-
if (layoutState.collapse && !layoutState.topLayout) {
|
|
30
|
-
classes.push(collapseClass);
|
|
31
|
-
}
|
|
32
|
-
if (layoutState.compact && layoutState.mixSidebar && !layoutState.topLayout) {
|
|
33
|
-
classes.push(compactClass);
|
|
34
|
-
}
|
|
35
|
-
if (layoutState.maximized) {
|
|
36
|
-
classes.push(maximizedClass);
|
|
37
|
-
}
|
|
38
|
-
if (layoutState.tabBar) {
|
|
39
|
-
classes.push(hasTabClass);
|
|
40
|
-
}
|
|
41
|
-
if (layoutState.mixSidebar && !layoutState.topLayout) {
|
|
42
|
-
classes.push(mixSidebarClass);
|
|
43
|
-
if (!layoutState.sidebar) {
|
|
44
|
-
classes.push(singleSidebarClass);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
if (layoutState.topLayout) {
|
|
48
|
-
classes.push(topLayoutClass);
|
|
49
|
-
}
|
|
50
|
-
if (layoutState.maximized && layoutState.expanded) {
|
|
51
|
-
classes.push(expandedClass);
|
|
52
|
-
}
|
|
53
|
-
if (layoutState.mobile) {
|
|
54
|
-
classes.push(mobileClass);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
27
|
}
|
|
58
28
|
if (props.modalClass) {
|
|
59
29
|
classes.push(props.modalClass);
|
|
60
30
|
}
|
|
61
31
|
return classes.join(" ");
|
|
62
32
|
});
|
|
33
|
+
const teleportTo = computed(() => {
|
|
34
|
+
return getModalContainer(
|
|
35
|
+
props.inner,
|
|
36
|
+
false,
|
|
37
|
+
void 0,
|
|
38
|
+
layoutProvide.modalsEl
|
|
39
|
+
);
|
|
40
|
+
});
|
|
63
41
|
const handleClose = () => {
|
|
64
42
|
if (drawerRef.value && drawerRef.value.handleClose) {
|
|
65
43
|
drawerRef.value.handleClose();
|
|
@@ -80,6 +58,12 @@ const _sfc_main = defineComponent({
|
|
|
80
58
|
const onClosed = () => {
|
|
81
59
|
emit("closed");
|
|
82
60
|
};
|
|
61
|
+
const onOpenAutoFocus = () => {
|
|
62
|
+
emit("openAutoFocus");
|
|
63
|
+
};
|
|
64
|
+
const onCloseAutoFocus = () => {
|
|
65
|
+
emit("closeAutoFocus");
|
|
66
|
+
};
|
|
83
67
|
onActivated(() => {
|
|
84
68
|
isActivated.value = true;
|
|
85
69
|
});
|
|
@@ -89,12 +73,15 @@ const _sfc_main = defineComponent({
|
|
|
89
73
|
return {
|
|
90
74
|
drawerRef,
|
|
91
75
|
drawerClass,
|
|
76
|
+
teleportTo,
|
|
92
77
|
handleClose,
|
|
93
78
|
updateModelValue,
|
|
94
79
|
onOpen,
|
|
95
80
|
onOpened,
|
|
96
81
|
onClose,
|
|
97
|
-
onClosed
|
|
82
|
+
onClosed,
|
|
83
|
+
onOpenAutoFocus,
|
|
84
|
+
onCloseAutoFocus
|
|
98
85
|
};
|
|
99
86
|
}
|
|
100
87
|
});
|
|
@@ -111,90 +98,97 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
111
98
|
const _component_ElIcon = resolveComponent("ElIcon");
|
|
112
99
|
const _component_ReceiverView = resolveComponent("ReceiverView");
|
|
113
100
|
const _component_ElDrawer = resolveComponent("ElDrawer");
|
|
114
|
-
return openBlock(), createBlock(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
appendToBody: _ctx.appendToBody,
|
|
118
|
-
lockScroll: _ctx.lockScroll,
|
|
119
|
-
beforeClose: _ctx.beforeClose,
|
|
120
|
-
closeOnClickModal: _ctx.closeOnClickModal,
|
|
121
|
-
closeOnPressEscape: _ctx.closeOnPressEscape,
|
|
122
|
-
openDelay: _ctx.openDelay,
|
|
123
|
-
closeDelay: _ctx.closeDelay,
|
|
124
|
-
destroyOnClose: _ctx.destroyOnClose,
|
|
125
|
-
modal: _ctx.modal,
|
|
126
|
-
direction: _ctx.direction,
|
|
127
|
-
showClose: false,
|
|
128
|
-
size: _ctx.size,
|
|
129
|
-
title: _ctx.title,
|
|
130
|
-
withHeader: _ctx.withHeader,
|
|
131
|
-
modalClass: _ctx.drawerClass,
|
|
132
|
-
zIndex: _ctx.zIndex,
|
|
133
|
-
headerAriaLevel: _ctx.headerAriaLevel,
|
|
134
|
-
onOpen: _ctx.onOpen,
|
|
135
|
-
onOpened: _ctx.onOpened,
|
|
136
|
-
onClose: _ctx.onClose,
|
|
137
|
-
onClosed: _ctx.onClosed,
|
|
138
|
-
"onUpdate:modelValue": _ctx.updateModelValue
|
|
139
|
-
}, createSlots({
|
|
140
|
-
header: withCtx(({ close }) => [
|
|
141
|
-
createElementVNode("div", {
|
|
142
|
-
class: "ele-drawer-header",
|
|
143
|
-
style: normalizeStyle(_ctx.headerStyle)
|
|
144
|
-
}, [
|
|
145
|
-
createElementVNode("div", {
|
|
146
|
-
role: "heading",
|
|
147
|
-
class: "ele-drawer-title",
|
|
148
|
-
style: normalizeStyle(_ctx.titleStyle)
|
|
149
|
-
}, [
|
|
150
|
-
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
151
|
-
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
152
|
-
])
|
|
153
|
-
], 4),
|
|
154
|
-
_ctx.showClose ? (openBlock(), createElementBlock("div", {
|
|
155
|
-
key: 0,
|
|
156
|
-
class: "ele-drawer-close",
|
|
157
|
-
style: normalizeStyle(_ctx.closeBtnStyle),
|
|
158
|
-
onClick: close
|
|
159
|
-
}, [
|
|
160
|
-
renderSlot(_ctx.$slots, "closeBtn", {}, () => [
|
|
161
|
-
createVNode(_component_ElIcon, null, {
|
|
162
|
-
default: withCtx(() => [
|
|
163
|
-
createVNode(_component_CloseOutlined)
|
|
164
|
-
]),
|
|
165
|
-
_: 1
|
|
166
|
-
})
|
|
167
|
-
])
|
|
168
|
-
], 12, _hoisted_1)) : createCommentVNode("", true)
|
|
169
|
-
], 4)
|
|
170
|
-
]),
|
|
171
|
-
default: withCtx(() => [
|
|
172
|
-
createVNode(_component_ReceiverView, {
|
|
173
|
-
wrapPosition: false,
|
|
174
|
-
class: "ele-drawer-body",
|
|
175
|
-
style: normalizeStyle(_ctx.bodyStyle)
|
|
176
|
-
}, {
|
|
177
|
-
default: withCtx(() => [
|
|
178
|
-
renderSlot(_ctx.$slots, "default")
|
|
179
|
-
]),
|
|
180
|
-
_: 3
|
|
181
|
-
}, 8, ["style"])
|
|
182
|
-
]),
|
|
183
|
-
_: 2
|
|
101
|
+
return openBlock(), createBlock(Teleport, {
|
|
102
|
+
to: _ctx.teleportTo,
|
|
103
|
+
disabled: _ctx.inner ? false : !_ctx.appendToBody
|
|
184
104
|
}, [
|
|
185
|
-
_ctx.$
|
|
186
|
-
|
|
187
|
-
|
|
105
|
+
createVNode(_component_ElDrawer, mergeProps(_ctx.$attrs, {
|
|
106
|
+
ref: "drawerRef",
|
|
107
|
+
modelValue: _ctx.modelValue,
|
|
108
|
+
appendToBody: false,
|
|
109
|
+
lockScroll: _ctx.inner ? false : _ctx.lockScroll,
|
|
110
|
+
beforeClose: _ctx.beforeClose,
|
|
111
|
+
closeOnClickModal: _ctx.closeOnClickModal,
|
|
112
|
+
closeOnPressEscape: _ctx.closeOnPressEscape,
|
|
113
|
+
openDelay: _ctx.openDelay,
|
|
114
|
+
closeDelay: _ctx.closeDelay,
|
|
115
|
+
destroyOnClose: _ctx.destroyOnClose,
|
|
116
|
+
modal: _ctx.modal,
|
|
117
|
+
direction: _ctx.direction,
|
|
118
|
+
showClose: false,
|
|
119
|
+
size: _ctx.size,
|
|
120
|
+
title: _ctx.title,
|
|
121
|
+
withHeader: _ctx.withHeader,
|
|
122
|
+
modalClass: _ctx.drawerClass,
|
|
123
|
+
zIndex: _ctx.zIndex,
|
|
124
|
+
headerAriaLevel: _ctx.headerAriaLevel,
|
|
125
|
+
onOpen: _ctx.onOpen,
|
|
126
|
+
onOpened: _ctx.onOpened,
|
|
127
|
+
onClose: _ctx.onClose,
|
|
128
|
+
onClosed: _ctx.onClosed,
|
|
129
|
+
onOpenAutoFocus: _ctx.onOpenAutoFocus,
|
|
130
|
+
onCloseAutoFocus: _ctx.onCloseAutoFocus,
|
|
131
|
+
"onUpdate:modelValue": _ctx.updateModelValue
|
|
132
|
+
}), createSlots({
|
|
133
|
+
header: withCtx(({ close }) => [
|
|
188
134
|
createElementVNode("div", {
|
|
189
|
-
class: "ele-drawer-
|
|
190
|
-
style: normalizeStyle(_ctx.
|
|
135
|
+
class: "ele-drawer-header",
|
|
136
|
+
style: normalizeStyle(_ctx.headerStyle)
|
|
191
137
|
}, [
|
|
192
|
-
|
|
138
|
+
createElementVNode("div", {
|
|
139
|
+
role: "heading",
|
|
140
|
+
class: "ele-drawer-title",
|
|
141
|
+
style: normalizeStyle(_ctx.titleStyle)
|
|
142
|
+
}, [
|
|
143
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
144
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
145
|
+
])
|
|
146
|
+
], 4),
|
|
147
|
+
_ctx.showClose ? (openBlock(), createElementBlock("div", {
|
|
148
|
+
key: 0,
|
|
149
|
+
class: "ele-drawer-close",
|
|
150
|
+
style: normalizeStyle(_ctx.closeBtnStyle),
|
|
151
|
+
onClick: close
|
|
152
|
+
}, [
|
|
153
|
+
renderSlot(_ctx.$slots, "closeBtn", {}, () => [
|
|
154
|
+
createVNode(_component_ElIcon, null, {
|
|
155
|
+
default: withCtx(() => [
|
|
156
|
+
createVNode(_component_CloseOutlined)
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
})
|
|
160
|
+
])
|
|
161
|
+
], 12, _hoisted_1)) : createCommentVNode("", true)
|
|
193
162
|
], 4)
|
|
194
163
|
]),
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
164
|
+
default: withCtx(() => [
|
|
165
|
+
createVNode(_component_ReceiverView, {
|
|
166
|
+
wrapPosition: false,
|
|
167
|
+
class: "ele-drawer-body",
|
|
168
|
+
style: normalizeStyle(_ctx.bodyStyle)
|
|
169
|
+
}, {
|
|
170
|
+
default: withCtx(() => [
|
|
171
|
+
renderSlot(_ctx.$slots, "default")
|
|
172
|
+
]),
|
|
173
|
+
_: 3
|
|
174
|
+
}, 8, ["style"])
|
|
175
|
+
]),
|
|
176
|
+
_: 2
|
|
177
|
+
}, [
|
|
178
|
+
_ctx.$slots.footer ? {
|
|
179
|
+
name: "footer",
|
|
180
|
+
fn: withCtx(() => [
|
|
181
|
+
createElementVNode("div", {
|
|
182
|
+
class: "ele-drawer-footer",
|
|
183
|
+
style: normalizeStyle(_ctx.footerStyle)
|
|
184
|
+
}, [
|
|
185
|
+
renderSlot(_ctx.$slots, "footer")
|
|
186
|
+
], 4)
|
|
187
|
+
]),
|
|
188
|
+
key: "0"
|
|
189
|
+
} : void 0
|
|
190
|
+
]), 1040, ["modelValue", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "headerAriaLevel", "onOpen", "onOpened", "onClose", "onClosed", "onOpenAutoFocus", "onCloseAutoFocus", "onUpdate:modelValue"])
|
|
191
|
+
], 8, ["to", "disabled"]);
|
|
198
192
|
}
|
|
199
193
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
200
194
|
export {
|
package/es/ele-drawer/props.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export declare const drawerProps: {
|
|
|
60
60
|
center: BooleanConstructor;
|
|
61
61
|
alignCenter: BooleanConstructor;
|
|
62
62
|
closeIcon: {
|
|
63
|
-
readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import(
|
|
63
|
+
readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>) & {}) | (() => string | import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
64
64
|
readonly required: false;
|
|
65
65
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
66
|
__epPropKey: true;
|
|
@@ -28,55 +28,55 @@
|
|
|
28
28
|
border: none;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
}
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
.ele-drawer-title {
|
|
41
|
-
flex: 1;
|
|
42
|
-
color: eleVar('drawer', 'header-color');
|
|
43
|
-
font-size: eleVar('drawer', 'header-font-size');
|
|
44
|
-
line-height: eleVar('drawer', 'header-line-height');
|
|
45
|
-
font-weight: eleVar('drawer', 'header-font-weight');
|
|
46
|
-
box-sizing: border-box;
|
|
47
|
-
}
|
|
33
|
+
.ele-drawer-header {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
padding: eleVar('drawer', 'header-padding');
|
|
37
|
+
border-bottom: eleVar('drawer', 'header-border');
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
}
|
|
48
40
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
color: eleVar('drawer', 'icon-color');
|
|
58
|
-
font-size: eleVar('drawer', 'icon-font-size');
|
|
59
|
-
border-radius: eleVar('drawer', 'icon-radius');
|
|
60
|
-
transition: (color $ele-transition, background-color $ele-transition);
|
|
61
|
-
box-sizing: border-box;
|
|
62
|
-
cursor: pointer;
|
|
41
|
+
.ele-drawer-title {
|
|
42
|
+
flex: 1;
|
|
43
|
+
color: eleVar('drawer', 'header-color');
|
|
44
|
+
font-size: eleVar('drawer', 'header-font-size');
|
|
45
|
+
line-height: eleVar('drawer', 'header-line-height');
|
|
46
|
+
font-weight: eleVar('drawer', 'header-font-weight');
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
}
|
|
63
49
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
50
|
+
.ele-drawer-close {
|
|
51
|
+
flex-shrink: 0;
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
width: eleVar('drawer', 'icon-size');
|
|
56
|
+
height: eleVar('drawer', 'icon-size');
|
|
57
|
+
line-height: eleVar('drawer', 'icon-size');
|
|
58
|
+
color: eleVar('drawer', 'icon-color');
|
|
59
|
+
font-size: eleVar('drawer', 'icon-font-size');
|
|
60
|
+
border-radius: eleVar('drawer', 'icon-radius');
|
|
61
|
+
transition: (color $ele-transition, background-color $ele-transition);
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
color: eleVar('drawer', 'icon-hover-color');
|
|
67
|
+
background: eleVar('drawer', 'icon-hover-bg');
|
|
68
68
|
}
|
|
69
|
+
}
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
.ele-drawer-body {
|
|
72
|
+
padding: eleVar('drawer', 'body-padding');
|
|
73
|
+
box-sizing: border-box;
|
|
74
|
+
}
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
76
|
+
.ele-drawer-footer {
|
|
77
|
+
padding: eleVar('drawer', 'footer-padding');
|
|
78
|
+
border-top: eleVar('drawer', 'footer-border');
|
|
79
|
+
box-sizing: border-box;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
/* 失活状态 */
|
|
@@ -84,70 +84,13 @@
|
|
|
84
84
|
display: none !important;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
/*
|
|
88
|
-
.ele-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
&.ele-drawer {
|
|
94
|
-
top: eleVar('header', 'height', 0);
|
|
95
|
-
left: eleVar('sidebar', 'width', 0);
|
|
96
|
-
height: auto;
|
|
97
|
-
}
|
|
87
|
+
/* 限制在主体区域 */
|
|
88
|
+
.ele-admin-modals > .ele-drawer {
|
|
89
|
+
height: auto;
|
|
90
|
+
pointer-events: auto;
|
|
91
|
+
position: absolute !important;
|
|
98
92
|
|
|
99
93
|
&:not(.el-drawer-fade-leave-active):not(.el-drawer-fade-enter-active) {
|
|
100
94
|
transition: (width $ele-transition, left $ele-transition);
|
|
101
95
|
}
|
|
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
96
|
}
|