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
|
@@ -19,8 +19,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
19
19
|
},
|
|
20
20
|
setup(props) {
|
|
21
21
|
const state = { timer: null };
|
|
22
|
-
const visible = vue.ref(false);
|
|
23
|
-
const active = vue.ref(null);
|
|
24
22
|
const data = vue.computed(() => {
|
|
25
23
|
const list = [];
|
|
26
24
|
props.tabData.forEach((t) => {
|
|
@@ -32,25 +30,29 @@ const _sfc_main = vue.defineComponent({
|
|
|
32
30
|
});
|
|
33
31
|
return list.sort((a, b) => a.id === b.id ? 0 : a.id > b.id ? 1 : -1);
|
|
34
32
|
});
|
|
33
|
+
const dataActive = vue.computed(() => {
|
|
34
|
+
if (!props.tabActive || !data.value.length || !data.value.some((d) => d.id === props.tabActive)) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
return props.tabActive;
|
|
38
|
+
});
|
|
39
|
+
const active = vue.ref(dataActive.value);
|
|
35
40
|
const onAfterLeave = (delay) => {
|
|
36
|
-
if (
|
|
37
|
-
if (delay) {
|
|
38
|
-
clearTimer();
|
|
39
|
-
state.timer = setTimeout(() => {
|
|
40
|
-
state.timer = null;
|
|
41
|
-
visible.value = true;
|
|
42
|
-
vue.nextTick(() => {
|
|
43
|
-
active.value = props.tabActive;
|
|
44
|
-
});
|
|
45
|
-
}, delay);
|
|
46
|
-
} else {
|
|
47
|
-
visible.value = true;
|
|
48
|
-
active.value = props.tabActive;
|
|
49
|
-
}
|
|
50
|
-
} else {
|
|
51
|
-
visible.value = false;
|
|
41
|
+
if (!dataActive.value) {
|
|
52
42
|
active.value = null;
|
|
43
|
+
return;
|
|
53
44
|
}
|
|
45
|
+
if (!delay) {
|
|
46
|
+
active.value = dataActive.value;
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
clearTimer();
|
|
50
|
+
state.timer = setTimeout(() => {
|
|
51
|
+
state.timer = null;
|
|
52
|
+
vue.nextTick(() => {
|
|
53
|
+
active.value = dataActive.value;
|
|
54
|
+
});
|
|
55
|
+
}, delay);
|
|
54
56
|
};
|
|
55
57
|
const clearTimer = () => {
|
|
56
58
|
if (state.timer != null) {
|
|
@@ -58,30 +60,20 @@ const _sfc_main = vue.defineComponent({
|
|
|
58
60
|
state.timer = null;
|
|
59
61
|
}
|
|
60
62
|
};
|
|
61
|
-
vue.watch(
|
|
62
|
-
()
|
|
63
|
-
()
|
|
64
|
-
clearTimer();
|
|
65
|
-
if (visible.value) {
|
|
66
|
-
if (!props.transitionName) {
|
|
67
|
-
onAfterLeave();
|
|
68
|
-
} else {
|
|
69
|
-
active.value = null;
|
|
70
|
-
}
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
63
|
+
vue.watch(dataActive, () => {
|
|
64
|
+
clearTimer();
|
|
65
|
+
if (active.value == null) {
|
|
73
66
|
onAfterLeave(props.transitionName ? props.transitionDelay : void 0);
|
|
67
|
+
} else if (!props.transitionName) {
|
|
68
|
+
onAfterLeave();
|
|
69
|
+
} else {
|
|
70
|
+
active.value = null;
|
|
74
71
|
}
|
|
75
|
-
);
|
|
72
|
+
});
|
|
76
73
|
vue.onBeforeUnmount(() => {
|
|
77
74
|
clearTimer();
|
|
78
75
|
});
|
|
79
|
-
return {
|
|
80
|
-
active,
|
|
81
|
-
visible,
|
|
82
|
-
data,
|
|
83
|
-
onAfterLeave
|
|
84
|
-
};
|
|
76
|
+
return { active, data, onAfterLeave };
|
|
85
77
|
}
|
|
86
78
|
});
|
|
87
79
|
const _export_sfc = (sfc, props) => {
|
|
@@ -95,7 +87,7 @@ const _hoisted_1 = { class: "ele-admin-iframe-wrap" };
|
|
|
95
87
|
const _hoisted_2 = ["data-id", "src"];
|
|
96
88
|
const _hoisted_3 = ["data-id", "src"];
|
|
97
89
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
98
|
-
return vue.
|
|
90
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
99
91
|
!_ctx.transitionName ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(_ctx.data, (item) => {
|
|
100
92
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
101
93
|
key: item.id
|
|
@@ -133,8 +125,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
133
125
|
]),
|
|
134
126
|
_: 1
|
|
135
127
|
}, 8, ["name"]))
|
|
136
|
-
], 512)), [
|
|
137
|
-
[vue.vShow, _ctx.visible]
|
|
138
128
|
]);
|
|
139
129
|
}
|
|
140
130
|
const proIframe = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -16,11 +16,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
16
16
|
/** 页签选中 */
|
|
17
17
|
tabActive: StringConstructor;
|
|
18
18
|
}, {
|
|
19
|
-
active: import(
|
|
20
|
-
|
|
21
|
-
data: import("vue").ComputedRef<IframeItem[]>;
|
|
19
|
+
active: import('vue').Ref<string | null | undefined>;
|
|
20
|
+
data: import('vue').ComputedRef<IframeItem[]>;
|
|
22
21
|
onAfterLeave: (delay?: number) => void;
|
|
23
|
-
}, unknown, {}, {}, import(
|
|
22
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
23
|
/** 是否支持内链缓存 */
|
|
25
24
|
keepAlive: BooleanConstructor;
|
|
26
25
|
/** 内链切换动画 */
|
|
@@ -21,7 +21,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
21
21
|
/** 默认展开的父级菜单 */
|
|
22
22
|
defaultOpeneds: PropType<string[]>;
|
|
23
23
|
/** 菜单折叠提示气泡主题 */
|
|
24
|
-
popperEffect: PropType<import(
|
|
24
|
+
popperEffect: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
25
25
|
/** 子菜单项触发模式 */
|
|
26
26
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
27
27
|
/** 菜单标题插槽名称 */
|
|
@@ -29,22 +29,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
29
29
|
/** 菜单图标插槽名称 */
|
|
30
30
|
iconSlot: StringConstructor;
|
|
31
31
|
/** 是否开启菜单文本溢出提示 */
|
|
32
|
-
menuTextEllipsisTooltip: PropType<boolean | Partial<import(
|
|
32
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
33
33
|
}, {
|
|
34
|
-
menusRef: import(
|
|
35
|
-
menuItems: import(
|
|
34
|
+
menusRef: import('vue').Ref<ElScrollbarInstance>;
|
|
35
|
+
menuItems: import('vue').ComputedRef<Partial<import('../../ele-menus/types').MenuItem>[]>;
|
|
36
36
|
onOpen: (index: string, indexPath: string[]) => void;
|
|
37
37
|
onClose: (index: string, indexPath: string[]) => void;
|
|
38
38
|
onItemClick: (item: MenuItemProps, e: MouseEvent) => void;
|
|
39
39
|
onMouseenter: (e: MouseEvent) => void;
|
|
40
40
|
onMouseleave: (e: MouseEvent) => void;
|
|
41
|
-
}, unknown, {}, {}, import(
|
|
41
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
42
|
open: (_index: string, _indexPath: string[]) => true;
|
|
43
43
|
close: (_index: string, _indexPath: string[]) => true;
|
|
44
44
|
itemClick: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
45
45
|
mouseEnter: (_e: MouseEvent) => true;
|
|
46
46
|
mouseLeave: (_e: MouseEvent) => true;
|
|
47
|
-
}, string, import(
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
48
|
/** 菜单数据 */
|
|
49
49
|
menus: {
|
|
50
50
|
type: PropType<MenuItem[]>;
|
|
@@ -63,7 +63,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
63
63
|
/** 默认展开的父级菜单 */
|
|
64
64
|
defaultOpeneds: PropType<string[]>;
|
|
65
65
|
/** 菜单折叠提示气泡主题 */
|
|
66
|
-
popperEffect: PropType<import(
|
|
66
|
+
popperEffect: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
67
67
|
/** 子菜单项触发模式 */
|
|
68
68
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
69
69
|
/** 菜单标题插槽名称 */
|
|
@@ -71,11 +71,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
71
71
|
/** 菜单图标插槽名称 */
|
|
72
72
|
iconSlot: StringConstructor;
|
|
73
73
|
/** 是否开启菜单文本溢出提示 */
|
|
74
|
-
menuTextEllipsisTooltip: PropType<boolean | Partial<import(
|
|
74
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
75
75
|
}>> & {
|
|
76
76
|
onOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
77
77
|
onClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
78
|
-
onItemClick?: ((_item: Partial<import(
|
|
78
|
+
onItemClick?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
79
79
|
onMouseEnter?: ((_e: MouseEvent) => any) | undefined;
|
|
80
80
|
onMouseLeave?: ((_e: MouseEvent) => any) | undefined;
|
|
81
81
|
}, {
|
|
@@ -19,7 +19,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
19
19
|
/** 二级侧栏是否折叠 */
|
|
20
20
|
collapse: BooleanConstructor;
|
|
21
21
|
/** 菜单折叠提示气泡主题 */
|
|
22
|
-
popperEffect: PropType<import(
|
|
22
|
+
popperEffect: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
23
23
|
/** 子菜单项触发模式 */
|
|
24
24
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
25
25
|
/** 菜单标题插槽名称 */
|
|
@@ -27,22 +27,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
27
27
|
/** 菜单图标插槽名称 */
|
|
28
28
|
iconSlot: StringConstructor;
|
|
29
29
|
/** 是否开启菜单文本溢出提示 */
|
|
30
|
-
menuTextEllipsisTooltip: PropType<boolean | Partial<import(
|
|
30
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
31
31
|
}, {
|
|
32
|
-
menusRef: import(
|
|
33
|
-
menuItems: import(
|
|
32
|
+
menusRef: import('vue').Ref<ElScrollbarInstance>;
|
|
33
|
+
menuItems: import('vue').ComputedRef<Partial<import('../../ele-menus/types').MenuItem>[]>;
|
|
34
34
|
onItemClick: (item: MenuItemProps, e: MouseEvent) => void;
|
|
35
35
|
onItemMouseenter: (item: MenuItemProps, e: MouseEvent) => void;
|
|
36
36
|
onItemMouseleave: (item: MenuItemProps, e: MouseEvent) => void;
|
|
37
37
|
onMouseenter: (e: MouseEvent) => void;
|
|
38
38
|
onMouseleave: (e: MouseEvent) => void;
|
|
39
|
-
}, unknown, {}, {}, import(
|
|
39
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
40
|
itemClick: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
41
41
|
itemMouseenter: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
42
42
|
itemMouseleave: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
43
43
|
mouseEnter: (_e: MouseEvent) => true;
|
|
44
44
|
mouseLeave: (_e: MouseEvent) => true;
|
|
45
|
-
}, string, import(
|
|
45
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
46
46
|
/** 菜单数据 */
|
|
47
47
|
menus: {
|
|
48
48
|
type: PropType<MenuItem[]>;
|
|
@@ -59,7 +59,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
59
59
|
/** 二级侧栏是否折叠 */
|
|
60
60
|
collapse: BooleanConstructor;
|
|
61
61
|
/** 菜单折叠提示气泡主题 */
|
|
62
|
-
popperEffect: PropType<import(
|
|
62
|
+
popperEffect: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
63
63
|
/** 子菜单项触发模式 */
|
|
64
64
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
65
65
|
/** 菜单标题插槽名称 */
|
|
@@ -67,11 +67,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
67
67
|
/** 菜单图标插槽名称 */
|
|
68
68
|
iconSlot: StringConstructor;
|
|
69
69
|
/** 是否开启菜单文本溢出提示 */
|
|
70
|
-
menuTextEllipsisTooltip: PropType<boolean | Partial<import(
|
|
70
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
71
71
|
}>> & {
|
|
72
|
-
onItemClick?: ((_item: Partial<import(
|
|
73
|
-
onItemMouseenter?: ((_item: Partial<import(
|
|
74
|
-
onItemMouseleave?: ((_item: Partial<import(
|
|
72
|
+
onItemClick?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
73
|
+
onItemMouseenter?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
74
|
+
onItemMouseleave?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
75
75
|
onMouseEnter?: ((_e: MouseEvent) => any) | undefined;
|
|
76
76
|
onMouseLeave?: ((_e: MouseEvent) => any) | undefined;
|
|
77
77
|
}, {
|
|
@@ -29,21 +29,21 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
29
29
|
/** 是否支持拖动排序 */
|
|
30
30
|
tabSortable: BooleanConstructor;
|
|
31
31
|
}, {
|
|
32
|
-
homeRef: import(
|
|
33
|
-
tabRef: import(
|
|
34
|
-
items: import(
|
|
35
|
-
contextMenus: import(
|
|
32
|
+
homeRef: import('vue').Ref<TabTitleInstance>;
|
|
33
|
+
tabRef: import('vue').Ref<EleTabsInstance>;
|
|
34
|
+
items: import('vue').ComputedRef<TabPaneItem[]>;
|
|
35
|
+
contextMenus: import('vue').ComputedRef<import('../../ele-dropdown/types').DropdownItem[] | undefined>;
|
|
36
36
|
onTabRemove: (key: string) => void;
|
|
37
37
|
onTabItemClick: (opt: TabEventOption) => void;
|
|
38
38
|
onTabContextMenu: (opt: TabEventOption) => void;
|
|
39
39
|
onTabContextOpen: (ref: EleDropdownInstance) => void;
|
|
40
40
|
onTabSortChange: (data: TabPaneItem[]) => void;
|
|
41
|
-
}, unknown, {}, {}, import(
|
|
41
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
42
|
tabClick: (_opt: TabItemEventOption) => true;
|
|
43
43
|
tabRemove: (_opt: TabItemEventOption) => true;
|
|
44
44
|
tabContextMenu: (_opt: TabItemEventOption) => true;
|
|
45
45
|
tabSortChange: (_data: TabItem[]) => true;
|
|
46
|
-
}, string, import(
|
|
46
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
47
47
|
/** 页签数据 */
|
|
48
48
|
tabs: {
|
|
49
49
|
type: PropType<TabItem[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -13,11 +13,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
15
|
}, {
|
|
16
|
-
dropdownRef: import(
|
|
16
|
+
dropdownRef: import('vue').Ref<EleDropdownInstance>;
|
|
17
17
|
onCommand: (command: string) => void;
|
|
18
|
-
}, unknown, {}, {}, import(
|
|
18
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
19
|
menuClick: (_command: string) => true;
|
|
20
|
-
}, string, import(
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
/** 右键菜单 */
|
|
22
22
|
items: PropType<DropdownItem[]>;
|
|
23
23
|
/** 右键菜单属性 */
|
|
@@ -195,7 +195,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
195
195
|
current,
|
|
196
196
|
tabData.value,
|
|
197
197
|
homeMenuPath.value,
|
|
198
|
-
props2.fixedHome,
|
|
199
198
|
title
|
|
200
199
|
);
|
|
201
200
|
isHome.value = t.home;
|
|
@@ -703,6 +702,24 @@ const _sfc_main = vue.defineComponent({
|
|
|
703
702
|
},
|
|
704
703
|
{ immediate: true }
|
|
705
704
|
);
|
|
705
|
+
vue.watch([() => props2.tabBar, () => props2.keepAlive], () => {
|
|
706
|
+
layoutProvide.keepAlive = props2.tabBar && props2.keepAlive;
|
|
707
|
+
});
|
|
708
|
+
vue.watch(
|
|
709
|
+
() => props2.responsive,
|
|
710
|
+
() => {
|
|
711
|
+
layoutProvide.responsive = props2.responsive;
|
|
712
|
+
}
|
|
713
|
+
);
|
|
714
|
+
vue.watch(modalsRef, () => {
|
|
715
|
+
layoutProvide.modalsEl = modalsRef.value;
|
|
716
|
+
});
|
|
717
|
+
const layoutProvide = vue.shallowReactive({
|
|
718
|
+
keepAlive: props2.tabBar && props2.keepAlive,
|
|
719
|
+
responsive: props2.responsive,
|
|
720
|
+
modalsEl: modalsRef.value
|
|
721
|
+
});
|
|
722
|
+
vue.provide(receiver.LAYOUT_KEY, layoutProvide);
|
|
706
723
|
util.useWindowListener(
|
|
707
724
|
{
|
|
708
725
|
onEscKeydown: (e) => {
|
|
@@ -727,24 +744,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
727
744
|
},
|
|
728
745
|
props2
|
|
729
746
|
);
|
|
730
|
-
const layoutProvide = vue.computed(() => {
|
|
731
|
-
const state2 = {
|
|
732
|
-
mobile: mobile.value,
|
|
733
|
-
collapse: props2.collapse,
|
|
734
|
-
compact: props2.compact,
|
|
735
|
-
topLayout: topLayout.value,
|
|
736
|
-
mixSidebar: mixSidebar.value,
|
|
737
|
-
maximized: props2.maximized,
|
|
738
|
-
expanded: props2.expanded,
|
|
739
|
-
tabBar: props2.tabBar,
|
|
740
|
-
sidebar: sidebar.value,
|
|
741
|
-
keepAlive: props2.tabBar && props2.keepAlive,
|
|
742
|
-
responsive: props2.responsive,
|
|
743
|
-
modalsEl: modalsRef.value
|
|
744
|
-
};
|
|
745
|
-
return state2;
|
|
746
|
-
});
|
|
747
|
-
vue.provide(receiver.LAYOUT_KEY, layoutProvide);
|
|
748
747
|
return {
|
|
749
748
|
contentRef,
|
|
750
749
|
modalsRef,
|