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
|
@@ -50,6 +50,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
50
50
|
const tableMaximized = vue.ref(false);
|
|
51
51
|
const errorText = vue.ref("");
|
|
52
52
|
const cacheData = vue.ref();
|
|
53
|
+
const tableRowKey = vue.shallowRef(util$1.getRowKey(props2.rowKey));
|
|
53
54
|
const tableIndex = vue.computed(() => {
|
|
54
55
|
return ((tablePage.value ?? 1) - 1) * (tableLimit.value ?? 0) + 1;
|
|
55
56
|
});
|
|
@@ -91,7 +92,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
91
92
|
pageIndex: tableIndex.value,
|
|
92
93
|
emptyProps: tableEmptyProps.value,
|
|
93
94
|
rowHeight: props2.virtual ? props2.rowHeight : void 0,
|
|
94
|
-
rowKey:
|
|
95
|
+
rowKey: tableRowKey.value,
|
|
95
96
|
style: props2.tableStyle,
|
|
96
97
|
class: "ele-pro-table-view",
|
|
97
98
|
...events,
|
|
@@ -181,11 +182,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
181
182
|
tableLimit.value
|
|
182
183
|
);
|
|
183
184
|
cacheData.value = props2.datasource;
|
|
184
|
-
tableData.value =
|
|
185
|
-
data,
|
|
186
|
-
util$1.getDefaultRowKey(props2.rowKey),
|
|
187
|
-
tablePage.value
|
|
188
|
-
);
|
|
185
|
+
tableData.value = data;
|
|
189
186
|
tablePage.value = page;
|
|
190
187
|
tableTotal.value = total;
|
|
191
188
|
onDone({ data, page, total, response: props2.datasource });
|
|
@@ -203,6 +200,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
203
200
|
props2.datasource({
|
|
204
201
|
page: tablePage.value,
|
|
205
202
|
limit: tableLimit.value,
|
|
203
|
+
pages: util$1.getRequestPages(
|
|
204
|
+
tablePage.value,
|
|
205
|
+
tableLimit.value,
|
|
206
|
+
props2.request,
|
|
207
|
+
globalProps.value.request
|
|
208
|
+
),
|
|
206
209
|
where: Object.assign({}, tableState.where),
|
|
207
210
|
orders,
|
|
208
211
|
filters: util$1.getRequestFilters(filter),
|
|
@@ -253,11 +256,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
253
256
|
return;
|
|
254
257
|
}
|
|
255
258
|
}
|
|
256
|
-
tableData.value =
|
|
257
|
-
data,
|
|
258
|
-
util$1.getDefaultRowKey(props2.rowKey),
|
|
259
|
-
tablePage.value
|
|
260
|
-
);
|
|
259
|
+
tableData.value = data;
|
|
261
260
|
tableTotal.value = total || data.length;
|
|
262
261
|
}
|
|
263
262
|
tableLoading.value = false;
|
|
@@ -280,12 +279,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
280
279
|
vue.nextTick(() => {
|
|
281
280
|
if (props2.current != null) {
|
|
282
281
|
methods.setCurrentRowKey(
|
|
283
|
-
util.getValue(props2.current,
|
|
282
|
+
util.getValue(props2.current, tableRowKey.value)
|
|
284
283
|
);
|
|
285
284
|
}
|
|
286
285
|
if (props2.selections != null && props2.selections.length) {
|
|
287
286
|
methods.setSelectedRowKeys(
|
|
288
|
-
util.getRowKeys(props2.selections,
|
|
287
|
+
util.getRowKeys(props2.selections, tableRowKey.value)
|
|
289
288
|
);
|
|
290
289
|
}
|
|
291
290
|
});
|
|
@@ -360,17 +359,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
360
359
|
return tableData.value;
|
|
361
360
|
};
|
|
362
361
|
const setData = (data) => {
|
|
363
|
-
tableData.value =
|
|
364
|
-
data,
|
|
365
|
-
util$1.getDefaultRowKey(props2.rowKey),
|
|
366
|
-
tablePage.value
|
|
367
|
-
);
|
|
362
|
+
tableData.value = data;
|
|
368
363
|
};
|
|
369
364
|
const goPageByRowKey = (key) => {
|
|
370
365
|
if (!paginationProps.value || tableLimit.value == null || isFunctionSource.value) {
|
|
371
366
|
return;
|
|
372
367
|
}
|
|
373
|
-
const rowKey =
|
|
368
|
+
const rowKey = tableRowKey.value;
|
|
374
369
|
const data = util$1.sortData(props2.datasource, tableState.sorter);
|
|
375
370
|
const index2 = data.findIndex((d) => util.getValue(d, rowKey) === key);
|
|
376
371
|
const page = Math.floor(index2 / tableLimit.value) + 1;
|
|
@@ -388,6 +383,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
388
383
|
callback({
|
|
389
384
|
page: tablePage.value,
|
|
390
385
|
limit: tableLimit.value,
|
|
386
|
+
pages: util$1.getRequestPages(
|
|
387
|
+
tablePage.value,
|
|
388
|
+
tableLimit.value,
|
|
389
|
+
props2.request,
|
|
390
|
+
globalProps.value.request
|
|
391
|
+
),
|
|
391
392
|
where: Object.assign({}, tableState.where),
|
|
392
393
|
orders,
|
|
393
394
|
filters: util$1.getRequestFilters(filter),
|
|
@@ -435,15 +436,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
435
436
|
vue.watch(
|
|
436
437
|
() => props2.current,
|
|
437
438
|
(current) => {
|
|
438
|
-
methods.setCurrentRowKey(util.getValue(current,
|
|
439
|
+
methods.setCurrentRowKey(util.getValue(current, tableRowKey.value));
|
|
439
440
|
}
|
|
440
441
|
);
|
|
441
442
|
vue.watch(
|
|
442
443
|
() => props2.selections,
|
|
443
444
|
(selections) => {
|
|
444
|
-
methods.setSelectedRowKeys(
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
methods.setSelectedRowKeys(util.getRowKeys(selections, tableRowKey.value));
|
|
446
|
+
}
|
|
447
|
+
);
|
|
448
|
+
vue.watch(
|
|
449
|
+
() => props2.rowKey,
|
|
450
|
+
() => {
|
|
451
|
+
tableRowKey.value = util$1.getRowKey(props2.rowKey);
|
|
447
452
|
}
|
|
448
453
|
);
|
|
449
454
|
vue.watch(
|
|
@@ -5,18 +5,18 @@ import { Ref } from 'vue';
|
|
|
5
5
|
|
|
6
6
|
declare const _default: import('vue').DefineComponent<{
|
|
7
7
|
rowKey: {
|
|
8
|
-
type: import(
|
|
8
|
+
type: import('vue').PropType<string | ((row: DataItem) => string) | undefined>;
|
|
9
9
|
required: boolean;
|
|
10
10
|
};
|
|
11
11
|
loading: BooleanConstructor;
|
|
12
12
|
datasource: {
|
|
13
|
-
type: import(
|
|
13
|
+
type: import('vue').PropType<import('./types').Datasource>;
|
|
14
14
|
required: boolean;
|
|
15
15
|
};
|
|
16
|
-
where: import(
|
|
17
|
-
request: import(
|
|
18
|
-
response: import(
|
|
19
|
-
parseData: import(
|
|
16
|
+
where: import('vue').PropType<import('./types').Where>;
|
|
17
|
+
request: import('vue').PropType<import('./types').RequestOption>;
|
|
18
|
+
response: import('vue').PropType<import('./types').ResponseOption>;
|
|
19
|
+
parseData: import('vue').PropType<import('./types').ParseData>;
|
|
20
20
|
loadOnCreated: {
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
default: boolean;
|
|
@@ -25,14 +25,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
|
-
selections: import(
|
|
29
|
-
current: import(
|
|
28
|
+
selections: import('vue').PropType<DataItem[]>;
|
|
29
|
+
current: import('vue').PropType<DataItem | null>;
|
|
30
30
|
toolbar: {
|
|
31
|
-
type: import(
|
|
31
|
+
type: import('vue').PropType<boolean | import('../ele-app/plus').EleToolbarProps>;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
34
|
tools: {
|
|
35
|
-
type: import(
|
|
35
|
+
type: import('vue').PropType<boolean | string[]>;
|
|
36
36
|
default: () => null;
|
|
37
37
|
};
|
|
38
38
|
columnSortable: {
|
|
@@ -45,23 +45,23 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
45
45
|
};
|
|
46
46
|
maximizedIndex: NumberConstructor;
|
|
47
47
|
maximizedHeight: (StringConstructor | NumberConstructor)[];
|
|
48
|
-
tableStyle: import(
|
|
49
|
-
footerStyle: import(
|
|
48
|
+
tableStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
49
|
+
footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
50
50
|
pagination: {
|
|
51
|
-
type: import(
|
|
51
|
+
type: import('vue').PropType<boolean | import('./types').TablePagination>;
|
|
52
52
|
default: () => null;
|
|
53
53
|
};
|
|
54
|
-
loadingProps: import(
|
|
54
|
+
loadingProps: import('vue').PropType<EleLoadingProps>;
|
|
55
55
|
cacheKey: StringConstructor;
|
|
56
56
|
virtual: BooleanConstructor;
|
|
57
57
|
rowHeight: NumberConstructor;
|
|
58
|
-
locale: import(
|
|
59
|
-
exportConfig: import(
|
|
60
|
-
printConfig: import(
|
|
58
|
+
locale: import('vue').PropType<Partial<import('./types').TableLocale>>;
|
|
59
|
+
exportConfig: import('vue').PropType<ExportConfig>;
|
|
60
|
+
printConfig: import('vue').PropType<PrintConfig>;
|
|
61
61
|
width: (StringConstructor | NumberConstructor)[];
|
|
62
62
|
height: (StringConstructor | NumberConstructor)[];
|
|
63
63
|
size: {
|
|
64
|
-
readonly type: import(
|
|
64
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
65
65
|
readonly required: false;
|
|
66
66
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
67
|
__epPropKey: true;
|
|
@@ -77,11 +77,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
77
77
|
};
|
|
78
78
|
lazy: BooleanConstructor;
|
|
79
79
|
columns: {
|
|
80
|
-
type: import(
|
|
80
|
+
type: import('vue').PropType<Columns>;
|
|
81
81
|
required: boolean;
|
|
82
82
|
};
|
|
83
83
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
84
|
-
showOverflowTooltip: import(
|
|
84
|
+
showOverflowTooltip: import('vue').PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
85
85
|
emptyText: StringConstructor;
|
|
86
86
|
indent: {
|
|
87
87
|
type: NumberConstructor;
|
|
@@ -101,26 +101,26 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
101
101
|
};
|
|
102
102
|
showSummary: BooleanConstructor;
|
|
103
103
|
sumText: StringConstructor;
|
|
104
|
-
summaryMethod: import(
|
|
105
|
-
rowClassName: import(
|
|
106
|
-
rowStyle: import(
|
|
107
|
-
cellClassName: import(
|
|
108
|
-
cellStyle: import(
|
|
109
|
-
headerRowClassName: import(
|
|
110
|
-
headerRowStyle: import(
|
|
111
|
-
headerCellClassName: import(
|
|
112
|
-
headerCellStyle: import(
|
|
104
|
+
summaryMethod: import('vue').PropType<import('element-plus').SummaryMethod<any> | undefined>;
|
|
105
|
+
rowClassName: import('vue').PropType<import('element-plus').ColumnCls<any> | undefined>;
|
|
106
|
+
rowStyle: import('vue').PropType<import('element-plus').ColumnStyle<any> | undefined>;
|
|
107
|
+
cellClassName: import('vue').PropType<import('element-plus').CellCls<any> | undefined>;
|
|
108
|
+
cellStyle: import('vue').PropType<import('element-plus').CellStyle<any> | undefined>;
|
|
109
|
+
headerRowClassName: import('vue').PropType<import('element-plus').ColumnCls<any> | undefined>;
|
|
110
|
+
headerRowStyle: import('vue').PropType<import('element-plus').ColumnStyle<any> | undefined>;
|
|
111
|
+
headerCellClassName: import('vue').PropType<import('element-plus').CellCls<any> | undefined>;
|
|
112
|
+
headerCellStyle: import('vue').PropType<import('element-plus').CellStyle<any> | undefined>;
|
|
113
113
|
highlightCurrentRow: BooleanConstructor;
|
|
114
114
|
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
115
|
-
expandRowKeys: import(
|
|
115
|
+
expandRowKeys: import('vue').PropType<any[] | undefined>;
|
|
116
116
|
defaultExpandAll: BooleanConstructor;
|
|
117
|
-
defaultSort: import(
|
|
117
|
+
defaultSort: import('vue').PropType<import('element-plus').Sort | undefined>;
|
|
118
118
|
tooltipEffect: StringConstructor;
|
|
119
|
-
tooltipOptions: import(
|
|
120
|
-
spanMethod: import(
|
|
119
|
+
tooltipOptions: import('vue').PropType<Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
120
|
+
spanMethod: import('vue').PropType<((data: {
|
|
121
121
|
row: any;
|
|
122
122
|
rowIndex: number;
|
|
123
|
-
column: import(
|
|
123
|
+
column: import('element-plus').TableColumnCtx<any>;
|
|
124
124
|
columnIndex: number;
|
|
125
125
|
}) => number[] | {
|
|
126
126
|
rowspan: number;
|
|
@@ -131,7 +131,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
131
131
|
default: boolean;
|
|
132
132
|
};
|
|
133
133
|
treeProps: {
|
|
134
|
-
type: import(
|
|
134
|
+
type: import('vue').PropType<{
|
|
135
135
|
hasChildren?: string | undefined;
|
|
136
136
|
children?: string | undefined;
|
|
137
137
|
} | undefined>;
|
|
@@ -140,9 +140,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
140
140
|
children: string;
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
|
-
load: import(
|
|
143
|
+
load: import('vue').PropType<((row: any, treeNode: import('element-plus').TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
144
144
|
tableLayout: {
|
|
145
|
-
type: import(
|
|
145
|
+
type: import('vue').PropType<"auto" | "fixed">;
|
|
146
146
|
default: string;
|
|
147
147
|
};
|
|
148
148
|
flexible: BooleanConstructor;
|
|
@@ -160,12 +160,12 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
160
160
|
default: boolean;
|
|
161
161
|
};
|
|
162
162
|
emptyProps: {
|
|
163
|
-
type: import(
|
|
163
|
+
type: import('vue').PropType<import('../ele-data-table/types').TableEmptyProps>;
|
|
164
164
|
default: () => null;
|
|
165
165
|
};
|
|
166
|
-
rowClickChecked: import(
|
|
166
|
+
rowClickChecked: import('vue').PropType<import('../ele-data-table/types').RowClickChecked>;
|
|
167
167
|
reserveCurrent: BooleanConstructor;
|
|
168
|
-
selectedRowKeys: import(
|
|
168
|
+
selectedRowKeys: import('vue').PropType<import('../ele-data-table/types').DataKey[]>;
|
|
169
169
|
}, {
|
|
170
170
|
tableViewRef: Ref<TableViewInstance>;
|
|
171
171
|
tableData: Ref<{
|
|
@@ -176,13 +176,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
176
176
|
}[]>;
|
|
177
177
|
tableSize: Ref<"" | "default" | "small" | "large" | undefined>;
|
|
178
178
|
tableMaximized: Ref<boolean>;
|
|
179
|
-
tableIndex: import(
|
|
180
|
-
paginationProps: import(
|
|
181
|
-
tableProps: import(
|
|
182
|
-
toolNames: import(
|
|
183
|
-
toolExportConfig: import(
|
|
184
|
-
toolPrintConfig: import(
|
|
185
|
-
loadingProps: import(
|
|
179
|
+
tableIndex: import('vue').ComputedRef<number>;
|
|
180
|
+
paginationProps: import('vue').ComputedRef<ElePaginationProps | null>;
|
|
181
|
+
tableProps: import('vue').ComputedRef<EleDataTableProps>;
|
|
182
|
+
toolNames: import('vue').ComputedRef<string[]>;
|
|
183
|
+
toolExportConfig: import('vue').ComputedRef<ExportConfig>;
|
|
184
|
+
toolPrintConfig: import('vue').ComputedRef<PrintConfig>;
|
|
185
|
+
loadingProps: import('vue').ComputedRef<EleLoadingProps>;
|
|
186
186
|
onRefresh: () => void;
|
|
187
187
|
onSizeChange: (size: TableSize) => void;
|
|
188
188
|
onColumnsChange: (columns: Columns) => void;
|
|
@@ -209,54 +209,54 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
209
209
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
210
210
|
setScrollTop: (top?: number | undefined) => void;
|
|
211
211
|
setScrollLeft: (left?: number | undefined) => void;
|
|
212
|
-
setCurrentRowKey: (key?: import(
|
|
213
|
-
getCurrentRow: () => DataItem | undefined;
|
|
214
|
-
setSelectedRows: (rows?: DataItem[] | undefined) => void;
|
|
215
|
-
setSelectedRowKeys: (keys?: import(
|
|
212
|
+
setCurrentRowKey: (key?: import('../ele-data-table/types').DataKey | null | undefined) => void;
|
|
213
|
+
getCurrentRow: () => DataItem | undefined;
|
|
214
|
+
setSelectedRows: (rows?: DataItem[] | undefined) => void;
|
|
215
|
+
setSelectedRowKeys: (keys?: import('../ele-data-table/types').DataKey[] | undefined, rows?: DataItem[] | undefined) => void;
|
|
216
216
|
toggleRowExpansionAll: (expanded?: boolean | undefined) => void;
|
|
217
217
|
updateSelectedAndChecked: () => void;
|
|
218
|
-
}, unknown, {}, {}, import(
|
|
218
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
219
219
|
done: (_result: DoneParams<DataItem>, _parent?: DataItem | undefined) => boolean;
|
|
220
220
|
'update:selections': (_selections: DataItem[]) => boolean;
|
|
221
221
|
'update:current': (_current?: DataItem | null | undefined) => boolean;
|
|
222
222
|
columnsChange: (_columns: Columns) => boolean;
|
|
223
|
-
sizeChange: (_size: "" | "default" | "small" | "large" | undefined) => boolean;
|
|
224
|
-
maximizedChange: (_maximized: boolean) => boolean;
|
|
223
|
+
sizeChange: (_size: "" | "default" | "small" | "large" | undefined) => boolean; /** 表格列配置 */
|
|
224
|
+
maximizedChange: (_maximized: boolean) => boolean;
|
|
225
225
|
refresh: () => boolean;
|
|
226
226
|
select: (_selection: DataItem[], _row: DataItem) => boolean;
|
|
227
227
|
selectAll: (_selection: DataItem[]) => boolean;
|
|
228
228
|
selectionChange: (_selection: DataItem[]) => boolean;
|
|
229
|
-
cellMouseEnter: (_row: DataItem, _column: import(
|
|
230
|
-
cellMouseLeave: (_row: DataItem, _column: import(
|
|
231
|
-
cellClick: (_row: DataItem, _column: import(
|
|
232
|
-
cellDblclick: (_row: DataItem, _column: import(
|
|
233
|
-
cellContextmenu: (_row: DataItem, _column: import(
|
|
234
|
-
rowClick: (_row: DataItem, _column: import(
|
|
235
|
-
rowContextmenu: (_row: DataItem, _column: import(
|
|
236
|
-
rowDblclick: (_row: DataItem, _column: import(
|
|
237
|
-
headerClick: (_column: import(
|
|
238
|
-
headerContextmenu: (_column: import(
|
|
229
|
+
cellMouseEnter: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
230
|
+
cellMouseLeave: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
231
|
+
cellClick: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
232
|
+
cellDblclick: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
233
|
+
cellContextmenu: (_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
234
|
+
rowClick: (_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
235
|
+
rowContextmenu: (_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
236
|
+
rowDblclick: (_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
237
|
+
headerClick: (_column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
238
|
+
headerContextmenu: (_column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
239
239
|
sortChange: (_sorter: Sorter) => boolean;
|
|
240
240
|
filterChange: (_filter: Filter) => boolean;
|
|
241
241
|
currentChange: (_current?: DataItem | null | undefined, _old?: DataItem | null | undefined) => boolean;
|
|
242
|
-
headerDragend: (_width: number, _old: number, _column: import(
|
|
242
|
+
headerDragend: (_width: number, _old: number, _column: import('./types').Column, _e: MouseEvent) => boolean;
|
|
243
243
|
expandChange: (_row: DataItem, _expanded: boolean) => boolean;
|
|
244
|
-
'update:currentRowKey': (_currentRowKey?: import(
|
|
245
|
-
'update:selectedRowKeys': (_selectedRowKeys?: import(
|
|
246
|
-
}, string, import(
|
|
244
|
+
'update:currentRowKey': (_currentRowKey?: import('../ele-data-table/types').DataKey | undefined) => boolean;
|
|
245
|
+
'update:selectedRowKeys': (_selectedRowKeys?: import('../ele-data-table/types').DataKey[] | undefined) => boolean;
|
|
246
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
247
247
|
rowKey: {
|
|
248
|
-
type: import(
|
|
248
|
+
type: import('vue').PropType<string | ((row: DataItem) => string) | undefined>;
|
|
249
249
|
required: boolean;
|
|
250
250
|
};
|
|
251
251
|
loading: BooleanConstructor;
|
|
252
252
|
datasource: {
|
|
253
|
-
type: import(
|
|
253
|
+
type: import('vue').PropType<import('./types').Datasource>;
|
|
254
254
|
required: boolean;
|
|
255
255
|
};
|
|
256
|
-
where: import(
|
|
257
|
-
request: import(
|
|
258
|
-
response: import(
|
|
259
|
-
parseData: import(
|
|
256
|
+
where: import('vue').PropType<import('./types').Where>;
|
|
257
|
+
request: import('vue').PropType<import('./types').RequestOption>;
|
|
258
|
+
response: import('vue').PropType<import('./types').ResponseOption>;
|
|
259
|
+
parseData: import('vue').PropType<import('./types').ParseData>;
|
|
260
260
|
loadOnCreated: {
|
|
261
261
|
type: BooleanConstructor;
|
|
262
262
|
default: boolean;
|
|
@@ -265,14 +265,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
265
265
|
type: BooleanConstructor;
|
|
266
266
|
default: boolean;
|
|
267
267
|
};
|
|
268
|
-
selections: import(
|
|
269
|
-
current: import(
|
|
268
|
+
selections: import('vue').PropType<DataItem[]>;
|
|
269
|
+
current: import('vue').PropType<DataItem | null>;
|
|
270
270
|
toolbar: {
|
|
271
|
-
type: import(
|
|
271
|
+
type: import('vue').PropType<boolean | import('../ele-app/plus').EleToolbarProps>;
|
|
272
272
|
default: boolean;
|
|
273
273
|
};
|
|
274
274
|
tools: {
|
|
275
|
-
type: import(
|
|
275
|
+
type: import('vue').PropType<boolean | string[]>;
|
|
276
276
|
default: () => null;
|
|
277
277
|
};
|
|
278
278
|
columnSortable: {
|
|
@@ -285,23 +285,23 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
285
285
|
};
|
|
286
286
|
maximizedIndex: NumberConstructor;
|
|
287
287
|
maximizedHeight: (StringConstructor | NumberConstructor)[];
|
|
288
|
-
tableStyle: import(
|
|
289
|
-
footerStyle: import(
|
|
288
|
+
tableStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
289
|
+
footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
290
290
|
pagination: {
|
|
291
|
-
type: import(
|
|
291
|
+
type: import('vue').PropType<boolean | import('./types').TablePagination>;
|
|
292
292
|
default: () => null;
|
|
293
293
|
};
|
|
294
|
-
loadingProps: import(
|
|
294
|
+
loadingProps: import('vue').PropType<EleLoadingProps>;
|
|
295
295
|
cacheKey: StringConstructor;
|
|
296
296
|
virtual: BooleanConstructor;
|
|
297
297
|
rowHeight: NumberConstructor;
|
|
298
|
-
locale: import(
|
|
299
|
-
exportConfig: import(
|
|
300
|
-
printConfig: import(
|
|
298
|
+
locale: import('vue').PropType<Partial<import('./types').TableLocale>>;
|
|
299
|
+
exportConfig: import('vue').PropType<ExportConfig>;
|
|
300
|
+
printConfig: import('vue').PropType<PrintConfig>;
|
|
301
301
|
width: (StringConstructor | NumberConstructor)[];
|
|
302
302
|
height: (StringConstructor | NumberConstructor)[];
|
|
303
303
|
size: {
|
|
304
|
-
readonly type: import(
|
|
304
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
305
305
|
readonly required: false;
|
|
306
306
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
307
307
|
__epPropKey: true;
|
|
@@ -317,11 +317,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
317
317
|
};
|
|
318
318
|
lazy: BooleanConstructor;
|
|
319
319
|
columns: {
|
|
320
|
-
type: import(
|
|
320
|
+
type: import('vue').PropType<Columns>;
|
|
321
321
|
required: boolean;
|
|
322
322
|
};
|
|
323
323
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
324
|
-
showOverflowTooltip: import(
|
|
324
|
+
showOverflowTooltip: import('vue').PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
325
325
|
emptyText: StringConstructor;
|
|
326
326
|
indent: {
|
|
327
327
|
type: NumberConstructor;
|
|
@@ -341,26 +341,26 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
341
341
|
};
|
|
342
342
|
showSummary: BooleanConstructor;
|
|
343
343
|
sumText: StringConstructor;
|
|
344
|
-
summaryMethod: import(
|
|
345
|
-
rowClassName: import(
|
|
346
|
-
rowStyle: import(
|
|
347
|
-
cellClassName: import(
|
|
348
|
-
cellStyle: import(
|
|
349
|
-
headerRowClassName: import(
|
|
350
|
-
headerRowStyle: import(
|
|
351
|
-
headerCellClassName: import(
|
|
352
|
-
headerCellStyle: import(
|
|
344
|
+
summaryMethod: import('vue').PropType<import('element-plus').SummaryMethod<any> | undefined>;
|
|
345
|
+
rowClassName: import('vue').PropType<import('element-plus').ColumnCls<any> | undefined>;
|
|
346
|
+
rowStyle: import('vue').PropType<import('element-plus').ColumnStyle<any> | undefined>;
|
|
347
|
+
cellClassName: import('vue').PropType<import('element-plus').CellCls<any> | undefined>;
|
|
348
|
+
cellStyle: import('vue').PropType<import('element-plus').CellStyle<any> | undefined>;
|
|
349
|
+
headerRowClassName: import('vue').PropType<import('element-plus').ColumnCls<any> | undefined>;
|
|
350
|
+
headerRowStyle: import('vue').PropType<import('element-plus').ColumnStyle<any> | undefined>;
|
|
351
|
+
headerCellClassName: import('vue').PropType<import('element-plus').CellCls<any> | undefined>;
|
|
352
|
+
headerCellStyle: import('vue').PropType<import('element-plus').CellStyle<any> | undefined>;
|
|
353
353
|
highlightCurrentRow: BooleanConstructor;
|
|
354
354
|
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
355
|
-
expandRowKeys: import(
|
|
355
|
+
expandRowKeys: import('vue').PropType<any[] | undefined>;
|
|
356
356
|
defaultExpandAll: BooleanConstructor;
|
|
357
|
-
defaultSort: import(
|
|
357
|
+
defaultSort: import('vue').PropType<import('element-plus').Sort | undefined>;
|
|
358
358
|
tooltipEffect: StringConstructor;
|
|
359
|
-
tooltipOptions: import(
|
|
360
|
-
spanMethod: import(
|
|
359
|
+
tooltipOptions: import('vue').PropType<Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
360
|
+
spanMethod: import('vue').PropType<((data: {
|
|
361
361
|
row: any;
|
|
362
362
|
rowIndex: number;
|
|
363
|
-
column: import(
|
|
363
|
+
column: import('element-plus').TableColumnCtx<any>;
|
|
364
364
|
columnIndex: number;
|
|
365
365
|
}) => number[] | {
|
|
366
366
|
rowspan: number;
|
|
@@ -371,7 +371,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
371
371
|
default: boolean;
|
|
372
372
|
};
|
|
373
373
|
treeProps: {
|
|
374
|
-
type: import(
|
|
374
|
+
type: import('vue').PropType<{
|
|
375
375
|
hasChildren?: string | undefined;
|
|
376
376
|
children?: string | undefined;
|
|
377
377
|
} | undefined>;
|
|
@@ -380,9 +380,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
380
380
|
children: string;
|
|
381
381
|
};
|
|
382
382
|
};
|
|
383
|
-
load: import(
|
|
383
|
+
load: import('vue').PropType<((row: any, treeNode: import('element-plus').TreeNode, resolve: (data: any[]) => void) => void) | undefined>;
|
|
384
384
|
tableLayout: {
|
|
385
|
-
type: import(
|
|
385
|
+
type: import('vue').PropType<"auto" | "fixed">;
|
|
386
386
|
default: string;
|
|
387
387
|
};
|
|
388
388
|
flexible: BooleanConstructor;
|
|
@@ -400,33 +400,33 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
400
400
|
default: boolean;
|
|
401
401
|
};
|
|
402
402
|
emptyProps: {
|
|
403
|
-
type: import(
|
|
403
|
+
type: import('vue').PropType<import('../ele-data-table/types').TableEmptyProps>;
|
|
404
404
|
default: () => null;
|
|
405
405
|
};
|
|
406
|
-
rowClickChecked: import(
|
|
406
|
+
rowClickChecked: import('vue').PropType<import('../ele-data-table/types').RowClickChecked>;
|
|
407
407
|
reserveCurrent: BooleanConstructor;
|
|
408
|
-
selectedRowKeys: import(
|
|
408
|
+
selectedRowKeys: import('vue').PropType<import('../ele-data-table/types').DataKey[]>;
|
|
409
409
|
}>> & {
|
|
410
410
|
onSelect?: ((_selection: DataItem[], _row: DataItem) => any) | undefined;
|
|
411
411
|
onExpandChange?: ((_row: DataItem, _expanded: boolean) => any) | undefined;
|
|
412
412
|
onSelectAll?: ((_selection: DataItem[]) => any) | undefined;
|
|
413
413
|
onSelectionChange?: ((_selection: DataItem[]) => any) | undefined;
|
|
414
|
-
onCellMouseEnter?: ((_row: DataItem, _column: import(
|
|
415
|
-
onCellMouseLeave?: ((_row: DataItem, _column: import(
|
|
416
|
-
onCellClick?: ((_row: DataItem, _column: import(
|
|
417
|
-
onCellDblclick?: ((_row: DataItem, _column: import(
|
|
418
|
-
onCellContextmenu?: ((_row: DataItem, _column: import(
|
|
419
|
-
onRowClick?: ((_row: DataItem, _column: import(
|
|
420
|
-
onRowContextmenu?: ((_row: DataItem, _column: import(
|
|
421
|
-
onRowDblclick?: ((_row: DataItem, _column: import(
|
|
422
|
-
onHeaderClick?: ((_column: import(
|
|
423
|
-
onHeaderContextmenu?: ((_column: import(
|
|
414
|
+
onCellMouseEnter?: ((_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => any) | undefined;
|
|
415
|
+
onCellMouseLeave?: ((_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => any) | undefined;
|
|
416
|
+
onCellClick?: ((_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => any) | undefined;
|
|
417
|
+
onCellDblclick?: ((_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => any) | undefined;
|
|
418
|
+
onCellContextmenu?: ((_row: DataItem, _column: import('./types').Column, _cell: HTMLTableCellElement, _e: MouseEvent) => any) | undefined;
|
|
419
|
+
onRowClick?: ((_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => any) | undefined;
|
|
420
|
+
onRowContextmenu?: ((_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => any) | undefined;
|
|
421
|
+
onRowDblclick?: ((_row: DataItem, _column: import('./types').Column, _e: MouseEvent) => any) | undefined;
|
|
422
|
+
onHeaderClick?: ((_column: import('./types').Column, _e: MouseEvent) => any) | undefined;
|
|
423
|
+
onHeaderContextmenu?: ((_column: import('./types').Column, _e: MouseEvent) => any) | undefined;
|
|
424
424
|
onSortChange?: ((_sorter: Sorter) => any) | undefined;
|
|
425
425
|
onFilterChange?: ((_filter: Filter) => any) | undefined;
|
|
426
426
|
onCurrentChange?: ((_current?: DataItem | null | undefined, _old?: DataItem | null | undefined) => any) | undefined;
|
|
427
|
-
onHeaderDragend?: ((_width: number, _old: number, _column: import(
|
|
428
|
-
"onUpdate:currentRowKey"?: ((_currentRowKey?: import(
|
|
429
|
-
"onUpdate:selectedRowKeys"?: ((_selectedRowKeys?: import(
|
|
427
|
+
onHeaderDragend?: ((_width: number, _old: number, _column: import('./types').Column, _e: MouseEvent) => any) | undefined;
|
|
428
|
+
"onUpdate:currentRowKey"?: ((_currentRowKey?: import('../ele-data-table/types').DataKey | undefined) => any) | undefined;
|
|
429
|
+
"onUpdate:selectedRowKeys"?: ((_selectedRowKeys?: import('../ele-data-table/types').DataKey[] | undefined) => any) | undefined;
|
|
430
430
|
onDone?: ((_result: DoneParams<DataItem>, _parent?: DataItem | undefined) => any) | undefined;
|
|
431
431
|
onRefresh?: (() => any) | undefined;
|
|
432
432
|
"onUpdate:selections"?: ((_selections: DataItem[]) => any) | undefined;
|
|
@@ -455,18 +455,18 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
455
455
|
tableLayout: "auto" | "fixed";
|
|
456
456
|
flexible: boolean;
|
|
457
457
|
sticky: boolean;
|
|
458
|
-
toolbar: boolean | import(
|
|
458
|
+
toolbar: boolean | import('../ele-app/plus').EleToolbarProps;
|
|
459
459
|
headerEllipsis: boolean;
|
|
460
460
|
slotNormalize: boolean;
|
|
461
461
|
bottomLine: boolean;
|
|
462
|
-
emptyProps: import(
|
|
462
|
+
emptyProps: import('../ele-data-table/types').TableEmptyProps;
|
|
463
463
|
reserveCurrent: boolean;
|
|
464
464
|
loadOnCreated: boolean;
|
|
465
465
|
loadOnChanged: boolean;
|
|
466
466
|
tools: boolean | string[];
|
|
467
467
|
columnSortable: boolean;
|
|
468
468
|
columnFixed: boolean;
|
|
469
|
-
pagination: boolean | import(
|
|
469
|
+
pagination: boolean | import('./types').TablePagination;
|
|
470
470
|
virtual: boolean;
|
|
471
471
|
}, {}>;
|
|
472
472
|
export default _default;
|