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
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MenuItem, LevelItem, HeaderStyle, MenuItemTrigger, MenuItemProps } from '../types';
|
|
2
|
-
import {
|
|
1
|
+
import { MenuItem, LevelItem, HeaderStyle, MenuItemTrigger, MenuItemProps, TabStyle, TabItem, TabItemEventOption } from '../types';
|
|
2
|
+
import { ContextMenus } from '../../ele-tabs/types';
|
|
3
|
+
import { EleDropdownProps } from '../../ele-app/plus';
|
|
3
4
|
import { BreadcrumbItem } from '../../ele-breadcrumb/types';
|
|
4
5
|
import { PropType } from 'vue';
|
|
5
6
|
|
|
@@ -16,9 +17,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
16
17
|
/** 菜单是否省略多余的子项 */
|
|
17
18
|
ellipsis: BooleanConstructor;
|
|
18
19
|
/** 菜单省略项的属性 */
|
|
19
|
-
ellipsisProps: PropType<EllipsisProps>;
|
|
20
|
+
ellipsisProps: PropType<import('../../ele-menus/types').EllipsisProps | undefined>;
|
|
20
21
|
/** 父级菜单展开触发方式 */
|
|
21
|
-
menuTrigger: PropType<import(
|
|
22
|
+
menuTrigger: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "click", unknown> | undefined>;
|
|
22
23
|
/** 子菜单项触发模式 */
|
|
23
24
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
24
25
|
/** 侧栏是否折叠 */
|
|
@@ -37,21 +38,42 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
37
38
|
/** 是否显示面包屑导航 */
|
|
38
39
|
breadcrumb: BooleanConstructor;
|
|
39
40
|
/** 面包屑导航分隔符 */
|
|
40
|
-
breadcrumbSeparator: PropType<import(
|
|
41
|
+
breadcrumbSeparator: 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>;
|
|
41
42
|
/** 主页路由地址 */
|
|
42
43
|
homePath: StringConstructor;
|
|
43
44
|
/** 当前路由是否是主页 */
|
|
44
45
|
isHome: BooleanConstructor;
|
|
45
46
|
/** 是否开启菜单文本溢出提示 */
|
|
46
|
-
menuTextEllipsisTooltip:
|
|
47
|
-
/**
|
|
48
|
-
|
|
47
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
48
|
+
/** 页签数据 */
|
|
49
|
+
tabs: {
|
|
50
|
+
type: PropType<TabItem[]>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
/** 页签选中 */
|
|
54
|
+
tabActive: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
/** 是否需要固定的主页页签 */
|
|
59
|
+
fixedHome: BooleanConstructor;
|
|
60
|
+
/** 页签风格 */
|
|
61
|
+
tabStyle: PropType<TabStyle>;
|
|
62
|
+
/** 是否支持右键菜单 */
|
|
63
|
+
tabContextMenu: PropType<boolean | EleDropdownProps>;
|
|
64
|
+
/** 右键菜单 */
|
|
65
|
+
tabContextMenus: PropType<ContextMenus>;
|
|
66
|
+
/** 是否支持拖动排序 */
|
|
67
|
+
tabSortable: BooleanConstructor;
|
|
68
|
+
/** 是否需要页签栏 */
|
|
69
|
+
tabBar: PropType<boolean | "header">;
|
|
49
70
|
}, {
|
|
50
|
-
levelItems: import(
|
|
51
|
-
menuItems: import(
|
|
52
|
-
isDark: import(
|
|
53
|
-
isPrimary: import(
|
|
54
|
-
isIconSeparator: import(
|
|
71
|
+
levelItems: import('vue').ShallowRef<BreadcrumbItem[]>;
|
|
72
|
+
menuItems: import('vue').ComputedRef<Partial<import('../../ele-menus/types').MenuItem>[]>;
|
|
73
|
+
isDark: import('vue').ComputedRef<boolean>;
|
|
74
|
+
isPrimary: import('vue').ComputedRef<boolean>;
|
|
75
|
+
isIconSeparator: import('vue').ComputedRef<boolean>;
|
|
76
|
+
hasTab: import('vue').ComputedRef<boolean>;
|
|
55
77
|
onLogoClick: () => void;
|
|
56
78
|
onOpen: (index: string, indexPath: string[]) => void;
|
|
57
79
|
onClose: (index: string, indexPath: string[]) => void;
|
|
@@ -60,7 +82,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
60
82
|
onItemMouseleave: (item: MenuItemProps, e: MouseEvent) => void;
|
|
61
83
|
onMouseenter: (e: MouseEvent) => void;
|
|
62
84
|
onMouseleave: (e: MouseEvent) => void;
|
|
63
|
-
|
|
85
|
+
onTabClick: (opt: TabItemEventOption) => void;
|
|
86
|
+
onTabRemove: (opt: TabItemEventOption) => void;
|
|
87
|
+
onTabContextMenu: (opt: TabItemEventOption) => void;
|
|
88
|
+
onTabSortChange: (data: TabItem[]) => void;
|
|
89
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
64
90
|
logoClick: () => true;
|
|
65
91
|
open: (_index: string, _indexPath: string[]) => true;
|
|
66
92
|
close: (_index: string, _indexPath: string[]) => true;
|
|
@@ -69,7 +95,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
69
95
|
itemMouseleave: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
70
96
|
mouseEnter: (_e: MouseEvent) => true;
|
|
71
97
|
mouseLeave: (_e: MouseEvent) => true;
|
|
72
|
-
|
|
98
|
+
tabClick: (_opt: TabItemEventOption) => true;
|
|
99
|
+
tabRemove: (_opt: TabItemEventOption) => true;
|
|
100
|
+
tabContextMenu: (_opt: TabItemEventOption) => true;
|
|
101
|
+
tabSortChange: (_data: TabItem[]) => true;
|
|
102
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
73
103
|
/** 菜单数据 */
|
|
74
104
|
menus: {
|
|
75
105
|
type: PropType<MenuItem[]>;
|
|
@@ -82,9 +112,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
82
112
|
/** 菜单是否省略多余的子项 */
|
|
83
113
|
ellipsis: BooleanConstructor;
|
|
84
114
|
/** 菜单省略项的属性 */
|
|
85
|
-
ellipsisProps: PropType<EllipsisProps>;
|
|
115
|
+
ellipsisProps: PropType<import('../../ele-menus/types').EllipsisProps | undefined>;
|
|
86
116
|
/** 父级菜单展开触发方式 */
|
|
87
|
-
menuTrigger: PropType<import(
|
|
117
|
+
menuTrigger: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "hover" | "click", unknown> | undefined>;
|
|
88
118
|
/** 子菜单项触发模式 */
|
|
89
119
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
90
120
|
/** 侧栏是否折叠 */
|
|
@@ -103,21 +133,45 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
103
133
|
/** 是否显示面包屑导航 */
|
|
104
134
|
breadcrumb: BooleanConstructor;
|
|
105
135
|
/** 面包屑导航分隔符 */
|
|
106
|
-
breadcrumbSeparator: PropType<import(
|
|
136
|
+
breadcrumbSeparator: 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>;
|
|
107
137
|
/** 主页路由地址 */
|
|
108
138
|
homePath: StringConstructor;
|
|
109
139
|
/** 当前路由是否是主页 */
|
|
110
140
|
isHome: BooleanConstructor;
|
|
111
141
|
/** 是否开启菜单文本溢出提示 */
|
|
112
|
-
menuTextEllipsisTooltip:
|
|
113
|
-
/**
|
|
114
|
-
|
|
142
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
143
|
+
/** 页签数据 */
|
|
144
|
+
tabs: {
|
|
145
|
+
type: PropType<TabItem[]>;
|
|
146
|
+
required: true;
|
|
147
|
+
};
|
|
148
|
+
/** 页签选中 */
|
|
149
|
+
tabActive: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
required: true;
|
|
152
|
+
};
|
|
153
|
+
/** 是否需要固定的主页页签 */
|
|
154
|
+
fixedHome: BooleanConstructor;
|
|
155
|
+
/** 页签风格 */
|
|
156
|
+
tabStyle: PropType<TabStyle>;
|
|
157
|
+
/** 是否支持右键菜单 */
|
|
158
|
+
tabContextMenu: PropType<boolean | EleDropdownProps>;
|
|
159
|
+
/** 右键菜单 */
|
|
160
|
+
tabContextMenus: PropType<ContextMenus>;
|
|
161
|
+
/** 是否支持拖动排序 */
|
|
162
|
+
tabSortable: BooleanConstructor;
|
|
163
|
+
/** 是否需要页签栏 */
|
|
164
|
+
tabBar: PropType<boolean | "header">;
|
|
115
165
|
}>> & {
|
|
116
166
|
onOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
117
167
|
onClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
168
|
+
onTabClick?: ((_opt: TabItemEventOption) => any) | undefined;
|
|
169
|
+
onTabRemove?: ((_opt: TabItemEventOption) => any) | undefined;
|
|
170
|
+
onItemClick?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
171
|
+
onTabContextMenu?: ((_opt: TabItemEventOption) => any) | undefined;
|
|
172
|
+
onTabSortChange?: ((_data: TabItem[]) => any) | undefined;
|
|
173
|
+
onItemMouseenter?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
174
|
+
onItemMouseleave?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
121
175
|
onLogoClick?: (() => any) | undefined;
|
|
122
176
|
onMouseEnter?: ((_e: MouseEvent) => any) | undefined;
|
|
123
177
|
onMouseLeave?: ((_e: MouseEvent) => any) | undefined;
|
|
@@ -125,8 +179,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
125
179
|
collapse: boolean;
|
|
126
180
|
ellipsis: boolean;
|
|
127
181
|
breadcrumb: boolean;
|
|
128
|
-
|
|
129
|
-
|
|
182
|
+
fixedHome: boolean;
|
|
183
|
+
tabSortable: boolean;
|
|
130
184
|
isHome: boolean;
|
|
185
|
+
sidebar: boolean;
|
|
131
186
|
}, {}>;
|
|
132
187
|
export default _default;
|
|
@@ -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
|
/** 内链切换动画 */
|
|
@@ -33,9 +33,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
33
33
|
/** 菜单图标插槽名称 */
|
|
34
34
|
iconSlot: String,
|
|
35
35
|
/** 是否开启菜单文本溢出提示 */
|
|
36
|
-
menuTextEllipsisTooltip: Boolean,
|
|
37
|
-
/** 菜单文本溢出提示属性 */
|
|
38
|
-
menuTextEllipsisTooltipProps: Object
|
|
36
|
+
menuTextEllipsisTooltip: [Boolean, Object]
|
|
39
37
|
},
|
|
40
38
|
emits: {
|
|
41
39
|
open: (_index, _indexPath) => true,
|
|
@@ -120,7 +118,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
120
118
|
popperEffect: _ctx.popperEffect,
|
|
121
119
|
collapseTransition: false,
|
|
122
120
|
textEllipsisTooltip: _ctx.menuTextEllipsisTooltip,
|
|
123
|
-
textEllipsisTooltipProps: _ctx.menuTextEllipsisTooltipProps,
|
|
124
121
|
onOpen: _ctx.onOpen,
|
|
125
122
|
onClose: _ctx.onClose,
|
|
126
123
|
onItemClick: _ctx.onItemClick
|
|
@@ -139,7 +136,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
139
136
|
]),
|
|
140
137
|
key: "1"
|
|
141
138
|
} : void 0
|
|
142
|
-
]), 1032, ["items", "theme", "colorful", "collapse", "defaultActive", "defaultOpeneds", "uniqueOpened", "popperEffect", "textEllipsisTooltip", "
|
|
139
|
+
]), 1032, ["items", "theme", "colorful", "collapse", "defaultActive", "defaultOpeneds", "uniqueOpened", "popperEffect", "textEllipsisTooltip", "onOpen", "onClose", "onItemClick"])) : vue.createCommentVNode("", true)
|
|
143
140
|
]),
|
|
144
141
|
_: 3
|
|
145
142
|
}, 512),
|
|
@@ -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,24 +29,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
29
29
|
/** 菜单图标插槽名称 */
|
|
30
30
|
iconSlot: StringConstructor;
|
|
31
31
|
/** 是否开启菜单文本溢出提示 */
|
|
32
|
-
menuTextEllipsisTooltip:
|
|
33
|
-
/** 菜单文本溢出提示属性 */
|
|
34
|
-
menuTextEllipsisTooltipProps: PropType<Partial<import("../../ele-tooltip/props").TooltipProps>>;
|
|
32
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
35
33
|
}, {
|
|
36
|
-
menusRef: import(
|
|
37
|
-
menuItems: import(
|
|
34
|
+
menusRef: import('vue').Ref<ElScrollbarInstance>;
|
|
35
|
+
menuItems: import('vue').ComputedRef<Partial<import('../../ele-menus/types').MenuItem>[]>;
|
|
38
36
|
onOpen: (index: string, indexPath: string[]) => void;
|
|
39
37
|
onClose: (index: string, indexPath: string[]) => void;
|
|
40
38
|
onItemClick: (item: MenuItemProps, e: MouseEvent) => void;
|
|
41
39
|
onMouseenter: (e: MouseEvent) => void;
|
|
42
40
|
onMouseleave: (e: MouseEvent) => void;
|
|
43
|
-
}, unknown, {}, {}, import(
|
|
41
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
44
42
|
open: (_index: string, _indexPath: string[]) => true;
|
|
45
43
|
close: (_index: string, _indexPath: string[]) => true;
|
|
46
44
|
itemClick: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
47
45
|
mouseEnter: (_e: MouseEvent) => true;
|
|
48
46
|
mouseLeave: (_e: MouseEvent) => true;
|
|
49
|
-
}, string, import(
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
48
|
/** 菜单数据 */
|
|
51
49
|
menus: {
|
|
52
50
|
type: PropType<MenuItem[]>;
|
|
@@ -65,7 +63,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
65
63
|
/** 默认展开的父级菜单 */
|
|
66
64
|
defaultOpeneds: PropType<string[]>;
|
|
67
65
|
/** 菜单折叠提示气泡主题 */
|
|
68
|
-
popperEffect: PropType<import(
|
|
66
|
+
popperEffect: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
69
67
|
/** 子菜单项触发模式 */
|
|
70
68
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
71
69
|
/** 菜单标题插槽名称 */
|
|
@@ -73,19 +71,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
73
71
|
/** 菜单图标插槽名称 */
|
|
74
72
|
iconSlot: StringConstructor;
|
|
75
73
|
/** 是否开启菜单文本溢出提示 */
|
|
76
|
-
menuTextEllipsisTooltip:
|
|
77
|
-
/** 菜单文本溢出提示属性 */
|
|
78
|
-
menuTextEllipsisTooltipProps: PropType<Partial<import("../../ele-tooltip/props").TooltipProps>>;
|
|
74
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
79
75
|
}>> & {
|
|
80
76
|
onOpen?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
81
77
|
onClose?: ((_index: string, _indexPath: string[]) => any) | undefined;
|
|
82
|
-
onItemClick?: ((_item: Partial<import(
|
|
78
|
+
onItemClick?: ((_item: Partial<import('../../ele-menus/types').MenuItem>, _e: MouseEvent) => any) | undefined;
|
|
83
79
|
onMouseEnter?: ((_e: MouseEvent) => any) | undefined;
|
|
84
80
|
onMouseLeave?: ((_e: MouseEvent) => any) | undefined;
|
|
85
81
|
}, {
|
|
86
82
|
uniqueOpened: boolean;
|
|
87
83
|
collapse: boolean;
|
|
88
84
|
colorfulIcon: boolean;
|
|
89
|
-
menuTextEllipsisTooltip: boolean;
|
|
90
85
|
}, {}>;
|
|
91
86
|
export default _default;
|
|
@@ -31,9 +31,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
31
31
|
/** 菜单图标插槽名称 */
|
|
32
32
|
iconSlot: String,
|
|
33
33
|
/** 是否开启菜单文本溢出提示 */
|
|
34
|
-
menuTextEllipsisTooltip: Boolean,
|
|
35
|
-
/** 菜单文本溢出提示属性 */
|
|
36
|
-
menuTextEllipsisTooltipProps: Object
|
|
34
|
+
menuTextEllipsisTooltip: [Boolean, Object]
|
|
37
35
|
},
|
|
38
36
|
emits: {
|
|
39
37
|
itemClick: (_item, _e) => true,
|
|
@@ -121,7 +119,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
121
119
|
firstPopperClass: "ele-admin-sidebox-popup",
|
|
122
120
|
tooltipDisabled: !_ctx.compact,
|
|
123
121
|
textEllipsisTooltip: _ctx.menuTextEllipsisTooltip,
|
|
124
|
-
textEllipsisTooltipProps: _ctx.menuTextEllipsisTooltipProps,
|
|
125
122
|
onItemClick: _ctx.onItemClick,
|
|
126
123
|
onItemMouseenter: _ctx.onItemMouseenter,
|
|
127
124
|
onItemMouseleave: _ctx.onItemMouseleave
|
|
@@ -140,7 +137,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
140
137
|
]),
|
|
141
138
|
key: "1"
|
|
142
139
|
} : void 0
|
|
143
|
-
]), 1032, ["items", "theme", "popupColorful", "collapse", "defaultActive", "popperEffect", "tooltipDisabled", "textEllipsisTooltip", "
|
|
140
|
+
]), 1032, ["items", "theme", "popupColorful", "collapse", "defaultActive", "popperEffect", "tooltipDisabled", "textEllipsisTooltip", "onItemClick", "onItemMouseenter", "onItemMouseleave"])) : vue.createCommentVNode("", true)
|
|
144
141
|
]),
|
|
145
142
|
_: 3
|
|
146
143
|
}, 512),
|
|
@@ -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,24 +27,22 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
27
27
|
/** 菜单图标插槽名称 */
|
|
28
28
|
iconSlot: StringConstructor;
|
|
29
29
|
/** 是否开启菜单文本溢出提示 */
|
|
30
|
-
menuTextEllipsisTooltip:
|
|
31
|
-
/** 菜单文本溢出提示属性 */
|
|
32
|
-
menuTextEllipsisTooltipProps: PropType<Partial<import("../../ele-tooltip/props").TooltipProps>>;
|
|
30
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
33
31
|
}, {
|
|
34
|
-
menusRef: import(
|
|
35
|
-
menuItems: import(
|
|
32
|
+
menusRef: import('vue').Ref<ElScrollbarInstance>;
|
|
33
|
+
menuItems: import('vue').ComputedRef<Partial<import('../../ele-menus/types').MenuItem>[]>;
|
|
36
34
|
onItemClick: (item: MenuItemProps, e: MouseEvent) => void;
|
|
37
35
|
onItemMouseenter: (item: MenuItemProps, e: MouseEvent) => void;
|
|
38
36
|
onItemMouseleave: (item: MenuItemProps, e: MouseEvent) => void;
|
|
39
37
|
onMouseenter: (e: MouseEvent) => void;
|
|
40
38
|
onMouseleave: (e: MouseEvent) => void;
|
|
41
|
-
}, unknown, {}, {}, import(
|
|
39
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
42
40
|
itemClick: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
43
41
|
itemMouseenter: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
44
42
|
itemMouseleave: (_item: MenuItemProps, _e: MouseEvent) => true;
|
|
45
43
|
mouseEnter: (_e: MouseEvent) => true;
|
|
46
44
|
mouseLeave: (_e: MouseEvent) => true;
|
|
47
|
-
}, string, import(
|
|
45
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
46
|
/** 菜单数据 */
|
|
49
47
|
menus: {
|
|
50
48
|
type: PropType<MenuItem[]>;
|
|
@@ -61,7 +59,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
61
59
|
/** 二级侧栏是否折叠 */
|
|
62
60
|
collapse: BooleanConstructor;
|
|
63
61
|
/** 菜单折叠提示气泡主题 */
|
|
64
|
-
popperEffect: PropType<import(
|
|
62
|
+
popperEffect: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
65
63
|
/** 子菜单项触发模式 */
|
|
66
64
|
itemTrigger: PropType<MenuItemTrigger>;
|
|
67
65
|
/** 菜单标题插槽名称 */
|
|
@@ -69,19 +67,16 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
69
67
|
/** 菜单图标插槽名称 */
|
|
70
68
|
iconSlot: StringConstructor;
|
|
71
69
|
/** 是否开启菜单文本溢出提示 */
|
|
72
|
-
menuTextEllipsisTooltip:
|
|
73
|
-
/** 菜单文本溢出提示属性 */
|
|
74
|
-
menuTextEllipsisTooltipProps: PropType<Partial<import("../../ele-tooltip/props").TooltipProps>>;
|
|
70
|
+
menuTextEllipsisTooltip: PropType<boolean | Partial<import('../../ele-tooltip/props').TooltipProps> | undefined>;
|
|
75
71
|
}>> & {
|
|
76
|
-
onItemClick?: ((_item: Partial<import(
|
|
77
|
-
onItemMouseenter?: ((_item: Partial<import(
|
|
78
|
-
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;
|
|
79
75
|
onMouseEnter?: ((_e: MouseEvent) => any) | undefined;
|
|
80
76
|
onMouseLeave?: ((_e: MouseEvent) => any) | undefined;
|
|
81
77
|
}, {
|
|
82
78
|
collapse: boolean;
|
|
83
79
|
compact: boolean;
|
|
84
80
|
colorfulIcon: boolean;
|
|
85
|
-
menuTextEllipsisTooltip: boolean;
|
|
86
81
|
}, {}>;
|
|
87
82
|
export default _default;
|
|
@@ -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;
|
|
@@ -69,7 +69,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
69
69
|
popperOptions: {
|
|
70
70
|
modifiers: [{ name: "offset", options: { offset: [12, 8] } }]
|
|
71
71
|
}
|
|
72
|
-
}, _ctx.dropdownProps, {
|
|
72
|
+
}, _ctx.dropdownProps || {}, {
|
|
73
73
|
ref: "dropdownRef",
|
|
74
74
|
items: _ctx.items,
|
|
75
75
|
onCommand: _ctx.onCommand
|
|
@@ -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
|
/** 右键菜单属性 */
|