ele-admin-plus 1.1.9-beta.11 → 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-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 +30 -30
- 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 +0 -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-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 +67 -67
- package/es/ele-drawer/index.js +2 -2
- package/es/ele-drawer/props.d.ts +1 -1
- 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-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.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.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/index.d.ts +45 -45
- package/es/ele-icon-select/props.d.ts +1 -1
- package/es/ele-loading/index.d.ts +11 -11
- package/es/ele-map-picker/components/map-view.d.ts +25 -25
- package/es/ele-map-picker/index.d.ts +21 -21
- package/es/ele-menus/index.d.ts +55 -55
- package/es/ele-menus/props.d.ts +1 -1
- package/es/ele-modal/index.d.ts +67 -67
- package/es/ele-modal/index.js +3 -4
- package/es/ele-modal/props.d.ts +1 -1
- package/es/ele-page/index.d.ts +1 -1
- package/es/ele-pagination/index.d.ts +30 -30
- package/es/ele-pagination/props.d.ts +2 -2
- package/es/ele-popconfirm/index.d.ts +86 -86
- package/es/ele-popconfirm/props.d.ts +5 -5
- package/es/ele-popover/index.d.ts +65 -65
- 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 +20 -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 -9
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +11 -11
- 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/index.d.ts +99 -98
- package/es/ele-pro-layout/index.js +19 -20
- package/es/ele-pro-layout/props.d.ts +1 -1
- package/es/ele-pro-layout/style/layout.scss +17 -7
- 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/index.d.ts +124 -124
- package/es/ele-pro-table/index.js +30 -25
- 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 +10 -14
- 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-table/index.d.ts +3 -3
- package/es/ele-table/props.d.ts +1 -1
- package/es/ele-table-select/index.d.ts +32 -32
- package/es/ele-table-select/index.js +2 -1
- 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/props.d.ts +4 -4
- 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/props.d.ts +3 -3
- 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/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 +1 -1
- 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/style/nprogress.scss +1 -0
- package/es/utils/menu-util.js +2 -5
- 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.d.ts +30 -30
- 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 +0 -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.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 +1 -1
- package/lib/ele-drawer/index.d.ts +67 -67
- package/lib/ele-drawer/props.d.ts +1 -1
- package/lib/ele-dropdown/index.d.ts +62 -62
- package/lib/ele-dropdown/props.d.ts +4 -4
- 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.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.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.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.d.ts +11 -11
- package/lib/ele-map-picker/components/map-view.d.ts +25 -25
- package/lib/ele-map-picker/index.d.ts +21 -21
- package/lib/ele-menus/index.d.ts +55 -55
- package/lib/ele-menus/props.d.ts +1 -1
- package/lib/ele-modal/index.cjs +2 -3
- package/lib/ele-modal/index.d.ts +67 -67
- package/lib/ele-modal/props.d.ts +1 -1
- package/lib/ele-page/index.d.ts +1 -1
- package/lib/ele-pagination/index.d.ts +30 -30
- package/lib/ele-pagination/props.d.ts +2 -2
- package/lib/ele-popconfirm/index.d.ts +86 -86
- package/lib/ele-popconfirm/props.d.ts +5 -5
- package/lib/ele-popover/index.d.ts +65 -65
- 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.d.ts +20 -20
- 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.d.ts +9 -9
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +11 -11
- 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.d.ts +3 -3
- package/lib/ele-pro-layout/index.cjs +18 -19
- package/lib/ele-pro-layout/index.d.ts +99 -98
- package/lib/ele-pro-layout/props.d.ts +1 -1
- package/lib/ele-pro-layout/style/layout.scss +17 -7
- 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.d.ts +23 -736
- package/lib/ele-pro-table/index.cjs +28 -23
- package/lib/ele-pro-table/index.d.ts +124 -124
- 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 +10 -14
- 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.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 +2 -1
- package/lib/ele-table-select/index.d.ts +32 -32
- 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.d.ts +31 -31
- package/lib/ele-tabs/props.d.ts +4 -4
- 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.d.ts +56 -56
- package/lib/ele-tooltip/props.d.ts +3 -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/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.d.ts +1 -1
- 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/style/nprogress.scss +1 -0
- package/lib/utils/menu-util.cjs +1 -4
- package/package.json +11 -11
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { MenuItem, TabItem, LevelItem, TabItemEventOption, MenuItemProps } from './types';
|
|
2
2
|
import { ClassValues } from '../ele-app/types';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
3
|
|
|
5
4
|
declare const _default: import('vue').DefineComponent<{
|
|
6
|
-
menus: import(
|
|
7
|
-
tabs: import(
|
|
5
|
+
menus: import('vue').PropType<MenuItem[] | null>;
|
|
6
|
+
tabs: import('vue').PropType<TabItem[] | null>;
|
|
8
7
|
collapse: BooleanConstructor;
|
|
9
8
|
compact: BooleanConstructor;
|
|
10
9
|
maximized: BooleanConstructor;
|
|
11
10
|
tabBar: {
|
|
12
|
-
type: import(
|
|
11
|
+
type: import('vue').PropType<boolean | "header">;
|
|
13
12
|
default: boolean;
|
|
14
13
|
};
|
|
15
14
|
breadcrumb: {
|
|
@@ -17,7 +16,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
17
16
|
default: boolean;
|
|
18
17
|
};
|
|
19
18
|
breadcrumbSeparator: {
|
|
20
|
-
type: import(
|
|
19
|
+
type: import('vue').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> | undefined>;
|
|
21
20
|
default: string;
|
|
22
21
|
};
|
|
23
22
|
backTop: {
|
|
@@ -41,76 +40,77 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
41
40
|
type: BooleanConstructor;
|
|
42
41
|
default: boolean;
|
|
43
42
|
};
|
|
44
|
-
ellipsisProps: import(
|
|
43
|
+
ellipsisProps: import('vue').PropType<import('../ele-menus/types').EllipsisProps | undefined>;
|
|
45
44
|
menuTrigger: {
|
|
46
|
-
type: import(
|
|
45
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "click", unknown> | undefined>;
|
|
47
46
|
default: string;
|
|
48
47
|
};
|
|
49
48
|
layout: {
|
|
50
|
-
type: import(
|
|
49
|
+
type: import('vue').PropType<import('./types').Layout>;
|
|
51
50
|
default: string;
|
|
52
51
|
};
|
|
53
52
|
sidebarLayout: {
|
|
54
|
-
type: import(
|
|
53
|
+
type: import('vue').PropType<import('./types').SidebarLayout>;
|
|
55
54
|
default: string;
|
|
56
55
|
};
|
|
57
56
|
headerStyle: {
|
|
58
|
-
type: import(
|
|
57
|
+
type: import('vue').PropType<import('./types').HeaderStyle>;
|
|
59
58
|
default: string;
|
|
60
59
|
};
|
|
61
60
|
sidebarStyle: {
|
|
62
|
-
type: import(
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
61
|
+
type: import('vue').PropType<import('./types').SidebarStyle>;
|
|
62
|
+
default: string; /** 面包屑数据 */
|
|
63
|
+
}; /** 面包屑数据 */
|
|
65
64
|
tabStyle: {
|
|
66
|
-
type: import(
|
|
65
|
+
type: import('vue').PropType<import('./types').TabStyle>;
|
|
67
66
|
default: string;
|
|
68
67
|
};
|
|
69
68
|
fixedHeader: {
|
|
70
69
|
type: BooleanConstructor;
|
|
71
|
-
/** 页签选中 */
|
|
72
70
|
default: boolean;
|
|
73
71
|
};
|
|
74
72
|
fixedSidebar: BooleanConstructor;
|
|
75
73
|
fixedBody: BooleanConstructor;
|
|
76
74
|
fluid: {
|
|
77
|
-
type: BooleanConstructor;
|
|
75
|
+
type: BooleanConstructor; /** 顶栏菜单数据 */
|
|
78
76
|
default: boolean;
|
|
79
77
|
};
|
|
80
78
|
logoInHeader: BooleanConstructor;
|
|
79
|
+
/** 顶栏菜单选中 */
|
|
81
80
|
colorfulIcon: BooleanConstructor;
|
|
82
81
|
uniqueOpened: {
|
|
83
82
|
type: BooleanConstructor;
|
|
84
83
|
default: boolean;
|
|
85
84
|
};
|
|
86
85
|
expanded: BooleanConstructor;
|
|
87
|
-
compressOnEsc: BooleanConstructor;
|
|
86
|
+
compressOnEsc: BooleanConstructor;
|
|
88
87
|
fixedHome: {
|
|
89
88
|
type: BooleanConstructor;
|
|
90
89
|
default: boolean;
|
|
91
|
-
};
|
|
90
|
+
};
|
|
92
91
|
homePath: StringConstructor;
|
|
93
92
|
redirectPath: {
|
|
94
93
|
type: StringConstructor;
|
|
95
94
|
default: string;
|
|
96
95
|
};
|
|
97
96
|
locale: StringConstructor;
|
|
98
|
-
i18n: import(
|
|
99
|
-
sidebarOpeneds: import(
|
|
100
|
-
tabContextMenu: import(
|
|
101
|
-
tabContextMenus: import(
|
|
97
|
+
i18n: import('vue').PropType<import('./types').MenuI18n>;
|
|
98
|
+
sidebarOpeneds: import('vue').PropType<string[]>;
|
|
99
|
+
tabContextMenu: import('vue').PropType<boolean | import('../ele-app/plus').EleDropdownProps>;
|
|
100
|
+
tabContextMenus: import('vue').PropType<import('../ele-tabs/types').ContextMenus>;
|
|
102
101
|
tabSortable: BooleanConstructor;
|
|
103
102
|
autoScrollTop: {
|
|
104
103
|
type: BooleanConstructor;
|
|
105
|
-
|
|
104
|
+
/** 是否混合导航布局 */
|
|
105
|
+
default: boolean;
|
|
106
106
|
};
|
|
107
107
|
headerTitleSlot: {
|
|
108
108
|
type: StringConstructor;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
111
|
headerIconSlot: {
|
|
112
112
|
type: StringConstructor;
|
|
113
|
-
default: string;
|
|
113
|
+
default: string; /** 是否显示双侧栏一级 */
|
|
114
114
|
};
|
|
115
115
|
sidebarTitleSlot: {
|
|
116
116
|
type: StringConstructor;
|
|
@@ -119,7 +119,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
119
119
|
sidebarIconSlot: {
|
|
120
120
|
type: StringConstructor;
|
|
121
121
|
default: string;
|
|
122
|
-
};
|
|
122
|
+
}; /** 是否显示侧栏 */
|
|
123
123
|
sideboxTitleSlot: {
|
|
124
124
|
type: StringConstructor;
|
|
125
125
|
default: string;
|
|
@@ -128,16 +128,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
128
128
|
type: StringConstructor;
|
|
129
129
|
default: string;
|
|
130
130
|
};
|
|
131
|
-
tooltipEffect: import(
|
|
132
|
-
navTrigger: import(
|
|
133
|
-
boxTrigger: import(
|
|
134
|
-
itemTrigger: import(
|
|
135
|
-
beforeClick: import(
|
|
131
|
+
tooltipEffect: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
132
|
+
navTrigger: import('vue').PropType<import('./types').MenuItemTrigger>;
|
|
133
|
+
boxTrigger: import('vue').PropType<import('./types').MenuItemTrigger>;
|
|
134
|
+
itemTrigger: import('vue').PropType<import('./types').MenuItemTrigger>;
|
|
135
|
+
beforeClick: import('vue').PropType<import('./types').BeforeClick>;
|
|
136
136
|
menuHoverTimeout: {
|
|
137
137
|
type: NumberConstructor;
|
|
138
138
|
default: number;
|
|
139
139
|
};
|
|
140
|
-
menuTextEllipsisTooltip: import(
|
|
140
|
+
menuTextEllipsisTooltip: import('vue').PropType<boolean | Partial<import('../ele-tooltip/props').TooltipProps> | undefined>;
|
|
141
141
|
keepAlive: BooleanConstructor;
|
|
142
142
|
transitionName: StringConstructor;
|
|
143
143
|
transitionDelay: {
|
|
@@ -149,26 +149,26 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
149
149
|
default: boolean;
|
|
150
150
|
};
|
|
151
151
|
}, {
|
|
152
|
-
contentRef: Ref<HTMLElement | null>;
|
|
153
|
-
modalsRef: Ref<HTMLElement | null>;
|
|
154
|
-
levelData: import(
|
|
155
|
-
tabData: import(
|
|
156
|
-
tabActive: Ref<string>;
|
|
157
|
-
headerData: import(
|
|
158
|
-
headerActive: Ref<string | undefined>;
|
|
159
|
-
sidebarData: import(
|
|
160
|
-
sidebarActive: Ref<string | undefined>;
|
|
161
|
-
sideboxData: import(
|
|
162
|
-
sideboxActive: Ref<string | undefined>;
|
|
163
|
-
hideFooter: Ref<boolean>;
|
|
164
|
-
homeMenuPath: Ref<string>;
|
|
165
|
-
isHome: Ref<boolean>;
|
|
166
|
-
sidebox: import(
|
|
167
|
-
sidebar: import(
|
|
168
|
-
layoutClass: import(
|
|
169
|
-
backTopSelector: import(
|
|
170
|
-
sidebarCollapse: import(
|
|
171
|
-
sidebarTheme: import(
|
|
152
|
+
contentRef: import('vue').Ref<HTMLElement | null>;
|
|
153
|
+
modalsRef: import('vue').Ref<HTMLElement | null>;
|
|
154
|
+
levelData: import('vue').ShallowRef<LevelItem[]>;
|
|
155
|
+
tabData: import('vue').ShallowRef<TabItem[]>;
|
|
156
|
+
tabActive: import('vue').Ref<string>;
|
|
157
|
+
headerData: import('vue').ShallowRef<MenuItem[]>;
|
|
158
|
+
headerActive: import('vue').Ref<string | undefined>;
|
|
159
|
+
sidebarData: import('vue').ShallowRef<MenuItem[]>;
|
|
160
|
+
sidebarActive: import('vue').Ref<string | undefined>;
|
|
161
|
+
sideboxData: import('vue').ShallowRef<MenuItem[]>;
|
|
162
|
+
sideboxActive: import('vue').Ref<string | undefined>;
|
|
163
|
+
hideFooter: import('vue').Ref<boolean>;
|
|
164
|
+
homeMenuPath: import('vue').Ref<string>;
|
|
165
|
+
isHome: import('vue').Ref<boolean>;
|
|
166
|
+
sidebox: import('vue').ComputedRef<boolean>;
|
|
167
|
+
sidebar: import('vue').ComputedRef<boolean>;
|
|
168
|
+
layoutClass: import('vue').ComputedRef<ClassValues>;
|
|
169
|
+
backTopSelector: import('vue').ComputedRef<string>;
|
|
170
|
+
sidebarCollapse: import('vue').ComputedRef<boolean>;
|
|
171
|
+
sidebarTheme: import('vue').ComputedRef<"light" | "dark">;
|
|
172
172
|
updateCollapse: (val?: boolean | MouseEvent) => void;
|
|
173
173
|
onTabClick: (option: TabItemEventOption) => void;
|
|
174
174
|
onTabRemove: (option: TabItemEventOption) => void;
|
|
@@ -190,7 +190,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
190
190
|
onMenuItemClick: (item: MenuItemProps, e: MouseEvent) => void;
|
|
191
191
|
onSideMouseEnter: () => void;
|
|
192
192
|
onSideMouseLeave: () => void;
|
|
193
|
-
}, unknown, {}, {}, import(
|
|
193
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
194
194
|
'update:collapse': (_collapse: boolean) => boolean;
|
|
195
195
|
'update:maximized': (_val: boolean) => boolean;
|
|
196
196
|
tabAdd: (_data: TabItem) => boolean;
|
|
@@ -203,15 +203,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
203
203
|
sideMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
204
204
|
headMenuOpen: (_index: string, _indexPath: string[]) => boolean;
|
|
205
205
|
headMenuClose: (_index: string, _indexPath: string[]) => boolean;
|
|
206
|
-
bodySizeChange: (_option: import(
|
|
207
|
-
}, string, import(
|
|
208
|
-
menus: import(
|
|
209
|
-
tabs: import(
|
|
206
|
+
bodySizeChange: (_option: import('./types').BodySizeChangeOption) => boolean;
|
|
207
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
208
|
+
menus: import('vue').PropType<MenuItem[] | null>;
|
|
209
|
+
tabs: import('vue').PropType<TabItem[] | null>;
|
|
210
210
|
collapse: BooleanConstructor;
|
|
211
211
|
compact: BooleanConstructor;
|
|
212
212
|
maximized: BooleanConstructor;
|
|
213
213
|
tabBar: {
|
|
214
|
-
type: import(
|
|
214
|
+
type: import('vue').PropType<boolean | "header">;
|
|
215
215
|
default: boolean;
|
|
216
216
|
};
|
|
217
217
|
breadcrumb: {
|
|
@@ -219,7 +219,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
219
219
|
default: boolean;
|
|
220
220
|
};
|
|
221
221
|
breadcrumbSeparator: {
|
|
222
|
-
type: import(
|
|
222
|
+
type: import('vue').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> | undefined>;
|
|
223
223
|
default: string;
|
|
224
224
|
};
|
|
225
225
|
backTop: {
|
|
@@ -243,76 +243,77 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
243
243
|
type: BooleanConstructor;
|
|
244
244
|
default: boolean;
|
|
245
245
|
};
|
|
246
|
-
ellipsisProps: import(
|
|
246
|
+
ellipsisProps: import('vue').PropType<import('../ele-menus/types').EllipsisProps | undefined>;
|
|
247
247
|
menuTrigger: {
|
|
248
|
-
type: import(
|
|
248
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "click", unknown> | undefined>;
|
|
249
249
|
default: string;
|
|
250
250
|
};
|
|
251
251
|
layout: {
|
|
252
|
-
type: import(
|
|
252
|
+
type: import('vue').PropType<import('./types').Layout>;
|
|
253
253
|
default: string;
|
|
254
254
|
};
|
|
255
255
|
sidebarLayout: {
|
|
256
|
-
type: import(
|
|
256
|
+
type: import('vue').PropType<import('./types').SidebarLayout>;
|
|
257
257
|
default: string;
|
|
258
258
|
};
|
|
259
259
|
headerStyle: {
|
|
260
|
-
type: import(
|
|
260
|
+
type: import('vue').PropType<import('./types').HeaderStyle>;
|
|
261
261
|
default: string;
|
|
262
262
|
};
|
|
263
263
|
sidebarStyle: {
|
|
264
|
-
type: import(
|
|
265
|
-
default: string;
|
|
266
|
-
};
|
|
264
|
+
type: import('vue').PropType<import('./types').SidebarStyle>;
|
|
265
|
+
default: string; /** 面包屑数据 */
|
|
266
|
+
}; /** 面包屑数据 */
|
|
267
267
|
tabStyle: {
|
|
268
|
-
type: import(
|
|
268
|
+
type: import('vue').PropType<import('./types').TabStyle>;
|
|
269
269
|
default: string;
|
|
270
270
|
};
|
|
271
271
|
fixedHeader: {
|
|
272
272
|
type: BooleanConstructor;
|
|
273
|
-
/** 页签选中 */
|
|
274
273
|
default: boolean;
|
|
275
274
|
};
|
|
276
275
|
fixedSidebar: BooleanConstructor;
|
|
277
276
|
fixedBody: BooleanConstructor;
|
|
278
277
|
fluid: {
|
|
279
|
-
type: BooleanConstructor;
|
|
278
|
+
type: BooleanConstructor; /** 顶栏菜单数据 */
|
|
280
279
|
default: boolean;
|
|
281
280
|
};
|
|
282
281
|
logoInHeader: BooleanConstructor;
|
|
282
|
+
/** 顶栏菜单选中 */
|
|
283
283
|
colorfulIcon: BooleanConstructor;
|
|
284
284
|
uniqueOpened: {
|
|
285
285
|
type: BooleanConstructor;
|
|
286
286
|
default: boolean;
|
|
287
287
|
};
|
|
288
288
|
expanded: BooleanConstructor;
|
|
289
|
-
compressOnEsc: BooleanConstructor;
|
|
289
|
+
compressOnEsc: BooleanConstructor;
|
|
290
290
|
fixedHome: {
|
|
291
291
|
type: BooleanConstructor;
|
|
292
292
|
default: boolean;
|
|
293
|
-
};
|
|
293
|
+
};
|
|
294
294
|
homePath: StringConstructor;
|
|
295
295
|
redirectPath: {
|
|
296
296
|
type: StringConstructor;
|
|
297
297
|
default: string;
|
|
298
298
|
};
|
|
299
299
|
locale: StringConstructor;
|
|
300
|
-
i18n: import(
|
|
301
|
-
sidebarOpeneds: import(
|
|
302
|
-
tabContextMenu: import(
|
|
303
|
-
tabContextMenus: import(
|
|
300
|
+
i18n: import('vue').PropType<import('./types').MenuI18n>;
|
|
301
|
+
sidebarOpeneds: import('vue').PropType<string[]>;
|
|
302
|
+
tabContextMenu: import('vue').PropType<boolean | import('../ele-app/plus').EleDropdownProps>;
|
|
303
|
+
tabContextMenus: import('vue').PropType<import('../ele-tabs/types').ContextMenus>;
|
|
304
304
|
tabSortable: BooleanConstructor;
|
|
305
305
|
autoScrollTop: {
|
|
306
306
|
type: BooleanConstructor;
|
|
307
|
-
|
|
307
|
+
/** 是否混合导航布局 */
|
|
308
|
+
default: boolean;
|
|
308
309
|
};
|
|
309
310
|
headerTitleSlot: {
|
|
310
311
|
type: StringConstructor;
|
|
311
|
-
default: string;
|
|
312
|
-
};
|
|
312
|
+
default: string;
|
|
313
|
+
};
|
|
313
314
|
headerIconSlot: {
|
|
314
315
|
type: StringConstructor;
|
|
315
|
-
default: string;
|
|
316
|
+
default: string; /** 是否显示双侧栏一级 */
|
|
316
317
|
};
|
|
317
318
|
sidebarTitleSlot: {
|
|
318
319
|
type: StringConstructor;
|
|
@@ -321,7 +322,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
321
322
|
sidebarIconSlot: {
|
|
322
323
|
type: StringConstructor;
|
|
323
324
|
default: string;
|
|
324
|
-
};
|
|
325
|
+
}; /** 是否显示侧栏 */
|
|
325
326
|
sideboxTitleSlot: {
|
|
326
327
|
type: StringConstructor;
|
|
327
328
|
default: string;
|
|
@@ -330,16 +331,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
330
331
|
type: StringConstructor;
|
|
331
332
|
default: string;
|
|
332
333
|
};
|
|
333
|
-
tooltipEffect: import(
|
|
334
|
-
navTrigger: import(
|
|
335
|
-
boxTrigger: import(
|
|
336
|
-
itemTrigger: import(
|
|
337
|
-
beforeClick: import(
|
|
334
|
+
tooltipEffect: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
335
|
+
navTrigger: import('vue').PropType<import('./types').MenuItemTrigger>;
|
|
336
|
+
boxTrigger: import('vue').PropType<import('./types').MenuItemTrigger>;
|
|
337
|
+
itemTrigger: import('vue').PropType<import('./types').MenuItemTrigger>;
|
|
338
|
+
beforeClick: import('vue').PropType<import('./types').BeforeClick>;
|
|
338
339
|
menuHoverTimeout: {
|
|
339
340
|
type: NumberConstructor;
|
|
340
341
|
default: number;
|
|
341
342
|
};
|
|
342
|
-
menuTextEllipsisTooltip: import(
|
|
343
|
+
menuTextEllipsisTooltip: import('vue').PropType<boolean | Partial<import('../ele-tooltip/props').TooltipProps> | undefined>;
|
|
343
344
|
keepAlive: BooleanConstructor;
|
|
344
345
|
transitionName: StringConstructor;
|
|
345
346
|
transitionDelay: {
|
|
@@ -363,30 +364,30 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
363
364
|
onSideMenuClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
364
365
|
onHeadMenuOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
365
366
|
onHeadMenuClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
366
|
-
onBodySizeChange?: ((_option: import(
|
|
367
|
+
onBodySizeChange?: ((_option: import('./types').BodySizeChangeOption) => any) | undefined;
|
|
367
368
|
}, {
|
|
368
369
|
uniqueOpened: boolean;
|
|
369
|
-
menuTrigger: import(
|
|
370
|
+
menuTrigger: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "click", unknown> | undefined;
|
|
370
371
|
collapse: boolean;
|
|
371
372
|
ellipsis: boolean;
|
|
372
373
|
breadcrumb: boolean;
|
|
373
|
-
layout: import(
|
|
374
|
+
layout: import('./types').Layout;
|
|
374
375
|
transitionDelay: number;
|
|
375
376
|
expanded: boolean;
|
|
376
377
|
compact: boolean;
|
|
377
378
|
maximized: boolean;
|
|
378
|
-
tabBar: boolean | "header";
|
|
379
|
-
keepAlive: boolean;
|
|
380
379
|
responsive: boolean;
|
|
381
|
-
headerStyle: import(
|
|
382
|
-
|
|
380
|
+
headerStyle: import('./types').HeaderStyle;
|
|
381
|
+
keepAlive: boolean;
|
|
382
|
+
tabBar: boolean | "header";
|
|
383
|
+
breadcrumbSeparator: 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> | undefined;
|
|
383
384
|
backTop: boolean;
|
|
384
385
|
backTopVisibilityHeight: number;
|
|
385
386
|
backTopRight: number;
|
|
386
387
|
backTopBottom: number;
|
|
387
|
-
sidebarLayout: import(
|
|
388
|
-
sidebarStyle: import(
|
|
389
|
-
tabStyle: import(
|
|
388
|
+
sidebarLayout: import('./types').SidebarLayout;
|
|
389
|
+
sidebarStyle: import('./types').SidebarStyle;
|
|
390
|
+
tabStyle: import('./types').TabStyle;
|
|
390
391
|
fixedHeader: boolean;
|
|
391
392
|
fixedSidebar: boolean;
|
|
392
393
|
fixedBody: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, shallowRef, computed, watch, unref, provide, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, createBlock, createCommentVNode, createElementVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, shallowRef, computed, watch, unref, shallowReactive, provide, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps, createBlock, createCommentVNode, createElementVNode } from "vue";
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
3
|
import { ElBacktop } from "element-plus";
|
|
4
4
|
import { mapTree, isExternalLink } from "../utils/core";
|
|
@@ -194,7 +194,6 @@ const _sfc_main = defineComponent({
|
|
|
194
194
|
current,
|
|
195
195
|
tabData.value,
|
|
196
196
|
homeMenuPath.value,
|
|
197
|
-
props.fixedHome,
|
|
198
197
|
title
|
|
199
198
|
);
|
|
200
199
|
isHome.value = t.home;
|
|
@@ -702,6 +701,24 @@ const _sfc_main = defineComponent({
|
|
|
702
701
|
},
|
|
703
702
|
{ immediate: true }
|
|
704
703
|
);
|
|
704
|
+
watch([() => props.tabBar, () => props.keepAlive], () => {
|
|
705
|
+
layoutProvide.keepAlive = props.tabBar && props.keepAlive;
|
|
706
|
+
});
|
|
707
|
+
watch(
|
|
708
|
+
() => props.responsive,
|
|
709
|
+
() => {
|
|
710
|
+
layoutProvide.responsive = props.responsive;
|
|
711
|
+
}
|
|
712
|
+
);
|
|
713
|
+
watch(modalsRef, () => {
|
|
714
|
+
layoutProvide.modalsEl = modalsRef.value;
|
|
715
|
+
});
|
|
716
|
+
const layoutProvide = shallowReactive({
|
|
717
|
+
keepAlive: props.tabBar && props.keepAlive,
|
|
718
|
+
responsive: props.responsive,
|
|
719
|
+
modalsEl: modalsRef.value
|
|
720
|
+
});
|
|
721
|
+
provide(LAYOUT_KEY, layoutProvide);
|
|
705
722
|
useWindowListener(
|
|
706
723
|
{
|
|
707
724
|
onEscKeydown: (e) => {
|
|
@@ -726,24 +743,6 @@ const _sfc_main = defineComponent({
|
|
|
726
743
|
},
|
|
727
744
|
props
|
|
728
745
|
);
|
|
729
|
-
const layoutProvide = computed(() => {
|
|
730
|
-
const state2 = {
|
|
731
|
-
mobile: mobile.value,
|
|
732
|
-
collapse: props.collapse,
|
|
733
|
-
compact: props.compact,
|
|
734
|
-
topLayout: topLayout.value,
|
|
735
|
-
mixSidebar: mixSidebar.value,
|
|
736
|
-
maximized: props.maximized,
|
|
737
|
-
expanded: props.expanded,
|
|
738
|
-
tabBar: props.tabBar,
|
|
739
|
-
sidebar: sidebar.value,
|
|
740
|
-
keepAlive: props.tabBar && props.keepAlive,
|
|
741
|
-
responsive: props.responsive,
|
|
742
|
-
modalsEl: modalsRef.value
|
|
743
|
-
};
|
|
744
|
-
return state2;
|
|
745
|
-
});
|
|
746
|
-
provide(LAYOUT_KEY, layoutProvide);
|
|
747
746
|
return {
|
|
748
747
|
contentRef,
|
|
749
748
|
modalsRef,
|
|
@@ -29,7 +29,7 @@ export declare const proLayoutProps: {
|
|
|
29
29
|
};
|
|
30
30
|
/** 面包屑导航分隔符 */
|
|
31
31
|
breadcrumbSeparator: {
|
|
32
|
-
type: PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import(
|
|
32
|
+
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> | undefined>;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
35
|
/** 是否需要返回顶部 */
|
|
@@ -65,23 +65,33 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* iframe */
|
|
68
|
-
.ele-admin-iframe {
|
|
68
|
+
.ele-admin-iframe-wrap {
|
|
69
|
+
flex-shrink: 0;
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 0;
|
|
72
|
+
left: 0;
|
|
73
|
+
right: 0;
|
|
74
|
+
bottom: 0;
|
|
69
75
|
width: 100%;
|
|
70
76
|
height: 100%;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
pointer-events: none;
|
|
80
|
+
overflow: hidden;
|
|
74
81
|
}
|
|
75
82
|
|
|
76
|
-
.ele-admin-iframe
|
|
83
|
+
.ele-admin-iframe {
|
|
84
|
+
flex-shrink: 0;
|
|
77
85
|
width: 100%;
|
|
78
86
|
height: 100%;
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
border: none;
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
pointer-events: auto;
|
|
81
90
|
}
|
|
82
91
|
|
|
83
92
|
/* 弹窗容器 */
|
|
84
93
|
.ele-admin-modals {
|
|
94
|
+
flex-shrink: 0;
|
|
85
95
|
position: absolute;
|
|
86
96
|
top: 0;
|
|
87
97
|
left: 0;
|
|
@@ -58,11 +58,10 @@ export declare function getMatchedComponents(matched: RouteLocationMatched[]): s
|
|
|
58
58
|
* @param current 路由信息
|
|
59
59
|
* @param tabs 当前页签数据
|
|
60
60
|
* @param homePath 主页地址
|
|
61
|
-
* @param fixedHome 是否固定主页
|
|
62
61
|
* @param repeatableTabs 可重复打开的页签
|
|
63
62
|
* @param routeTitle 路由对应的标题
|
|
64
63
|
*/
|
|
65
|
-
export declare function getRouteTab(current: CurrentRoute, tabs: TabItem[], homePath: string,
|
|
64
|
+
export declare function getRouteTab(current: CurrentRoute, tabs: TabItem[], homePath: string, routeTitle?: string): TabItem;
|
|
66
65
|
/**
|
|
67
66
|
* 获取混合导航布局选中
|
|
68
67
|
* @param matched 路由匹配的菜单层级数据
|
|
@@ -109,14 +109,13 @@ function getMatchedComponents(matched) {
|
|
|
109
109
|
});
|
|
110
110
|
return components;
|
|
111
111
|
}
|
|
112
|
-
function getRouteTab(current, tabs, homePath,
|
|
112
|
+
function getRouteTab(current, tabs, homePath, routeTitle) {
|
|
113
113
|
const { path, fullPath, meta, matched } = current;
|
|
114
114
|
const key = meta.tabUnique === false ? fullPath : path;
|
|
115
115
|
const t = findTabByPath(key, tabs);
|
|
116
116
|
const title = (t == null ? void 0 : t.title) || routeTitle;
|
|
117
117
|
const home = isHomeRoute(current, homePath);
|
|
118
|
-
const
|
|
119
|
-
const closable = isFixedHome ? false : (t == null ? void 0 : t.closable) ?? meta.closable !== false;
|
|
118
|
+
const closable = (t == null ? void 0 : t.closable) ?? meta.closable !== false;
|
|
120
119
|
const components = getMatchedComponents(matched);
|
|
121
120
|
return { key, path, fullPath, title, closable, home, components, meta };
|
|
122
121
|
}
|