ele-admin-plus 1.1.9-beta.8 → 1.1.9
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/core-installer.d.ts +2 -2
- package/es/ele-alert/index.d.ts +23 -23
- package/es/ele-alert/index.js +2 -2
- package/es/ele-alert/props.d.ts +10 -9
- package/es/ele-app/el.d.ts +7 -1
- package/es/ele-app/index.d.ts +2 -2
- package/es/ele-app/plus.d.ts +9 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/es/ele-avatar-group/index.d.ts +29 -28
- package/es/ele-avatar-group/props.d.ts +10 -9
- package/es/ele-bar-code/index.d.ts +11 -10
- package/es/ele-bar-code/props.d.ts +4 -3
- package/es/ele-basic-select/index.d.ts +37 -35
- package/es/ele-basic-select/index.js +24 -7
- package/es/ele-basic-select/props.d.ts +9 -8
- package/es/ele-basic-select/util.d.ts +2 -1
- package/es/ele-bottom-bar/index.d.ts +6 -6
- package/es/ele-bottom-bar/props.d.ts +4 -3
- package/es/ele-breadcrumb/index.d.ts +11 -10
- package/es/ele-breadcrumb/props.d.ts +5 -4
- package/es/ele-card/index.d.ts +12 -12
- package/es/ele-card/props.d.ts +7 -6
- package/es/ele-check-card/components/card-item.d.ts +7 -6
- package/es/ele-check-card/index.d.ts +15 -14
- package/es/ele-check-card/props.d.ts +6 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/es/ele-config-provider/components/receiver-view.js +119 -30
- package/es/ele-config-provider/index.d.ts +7 -7
- package/es/ele-config-provider/props.d.ts +6 -5
- package/es/ele-config-provider/props.js +2 -2
- package/es/ele-config-provider/receiver.d.ts +6 -10
- package/es/ele-config-provider/receiver.js +32 -117
- package/es/ele-config-provider/types.d.ts +5 -29
- package/es/ele-copyable/index.d.ts +32 -31
- package/es/ele-copyable/props.d.ts +9 -8
- package/es/ele-count-up/index.d.ts +8 -7
- package/es/ele-count-up/props.d.ts +3 -2
- package/es/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/es/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/es/ele-cropper/index.d.ts +16 -15
- package/es/ele-cropper/props.d.ts +4 -3
- package/es/ele-cropper-modal/index.d.ts +16 -15
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-cropper-modal/props.d.ts +7 -6
- package/es/ele-dashboard/index.d.ts +5 -5
- package/es/ele-dashboard/props.d.ts +3 -2
- package/es/ele-data-table/index.d.ts +65 -70
- package/es/ele-data-table/index.js +8 -0
- package/es/ele-data-table/props.d.ts +36 -41
- package/es/ele-data-table/style/index.scss +4 -0
- package/es/ele-data-table/types.d.ts +18 -16
- package/es/ele-data-table/util.d.ts +15 -9
- package/es/ele-data-table/util.js +14 -0
- package/es/ele-dot/index.d.ts +4 -4
- package/es/ele-dot/props.d.ts +3 -2
- package/es/ele-drawer/index.d.ts +75 -71
- package/es/ele-drawer/index.js +107 -113
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +48 -105
- package/es/ele-dropdown/index.d.ts +66 -65
- package/es/ele-dropdown/props.d.ts +22 -21
- package/es/ele-edit-tag/index.d.ts +33 -32
- package/es/ele-edit-tag/index.js +1 -1
- package/es/ele-edit-tag/props.d.ts +10 -9
- package/es/ele-ellipsis/index.d.ts +23 -22
- package/es/ele-ellipsis/props.d.ts +8 -7
- package/es/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/es/ele-file-list/components/file-grid-item.js +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +10 -9
- package/es/ele-file-list/components/file-sort.d.ts +2 -2
- package/es/ele-file-list/components/file-table-item.d.ts +13 -12
- package/es/ele-file-list/components/file-table-item.js +1 -1
- package/es/ele-file-list/components/file-table.d.ts +10 -9
- package/es/ele-file-list/icons.d.ts +2 -1
- package/es/ele-file-list/index.d.ts +36 -35
- package/es/ele-file-list/props.d.ts +6 -5
- package/es/ele-file-list-tool/index.d.ts +3 -3
- package/es/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/es/ele-icon-select/components/icon-grid.js +1 -1
- package/es/ele-icon-select/index.d.ts +49 -48
- package/es/ele-icon-select/props.d.ts +17 -16
- package/es/ele-loading/index.d.ts +12 -15
- package/es/ele-loading/index.js +10 -16
- package/es/ele-loading/props.d.ts +5 -4
- package/es/ele-map-picker/components/map-view.d.ts +29 -28
- package/es/ele-map-picker/components/map-view.js +1 -1
- package/es/ele-map-picker/index.d.ts +27 -26
- package/es/ele-map-picker/index.js +1 -1
- package/es/ele-map-picker/props.d.ts +8 -7
- package/es/ele-menus/index.d.ts +61 -62
- package/es/ele-menus/index.js +1 -1
- package/es/ele-menus/props.d.ts +16 -17
- package/es/ele-menus/props.js +1 -3
- package/es/ele-menus/style/css-var.scss +1 -5
- package/es/ele-menus/util.d.ts +3 -2
- package/es/ele-modal/index.d.ts +75 -68
- package/es/ele-modal/index.js +164 -186
- package/es/ele-modal/props.d.ts +26 -23
- package/es/ele-modal/props.js +2 -0
- package/es/ele-modal/style/index.scss +103 -175
- package/es/ele-modal/util.d.ts +20 -45
- package/es/ele-modal/util.js +55 -179
- package/es/ele-page/index.d.ts +2 -2
- package/es/ele-page/props.d.ts +2 -1
- package/es/ele-pagination/index.d.ts +40 -29
- package/es/ele-pagination/index.js +20 -5
- package/es/ele-pagination/props.d.ts +19 -12
- package/es/ele-pagination/props.js +7 -0
- package/es/ele-pagination/style/index.scss +9 -0
- package/es/ele-pagination/types.d.ts +6 -1
- package/es/ele-popconfirm/index.d.ts +90 -89
- package/es/ele-popconfirm/index.js +6 -28
- package/es/ele-popconfirm/props.d.ts +32 -31
- package/es/ele-popover/index.d.ts +69 -68
- package/es/ele-popover/index.js +6 -14
- package/es/ele-popover/props.d.ts +26 -25
- package/es/ele-printer/index.d.ts +18 -18
- package/es/ele-printer/props.d.ts +6 -5
- package/es/ele-printer/util.d.ts +2 -1
- package/es/ele-printer/util.js +1 -1
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +84 -28
- package/es/ele-pro-layout/components/pro-header.js +110 -20
- package/es/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/es/ele-pro-layout/components/pro-iframe.js +31 -41
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +14 -18
- package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
- package/es/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
- package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
- package/es/ele-pro-layout/index.d.ts +97 -97
- package/es/ele-pro-layout/index.js +62 -47
- package/es/ele-pro-layout/props.d.ts +11 -13
- 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 +6 -6
- package/es/ele-pro-layout/util.js +2 -3
- package/es/ele-pro-table/components/table-tools.d.ts +107 -15
- package/es/ele-pro-table/components/table-tools.js +125 -8
- package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/es/ele-pro-table/components/tool-column-list.js +4 -7
- package/es/ele-pro-table/components/tool-column.d.ts +14 -13
- package/es/ele-pro-table/components/tool-column.js +9 -9
- package/es/ele-pro-table/components/tool-export.d.ts +179 -0
- package/es/ele-pro-table/components/tool-export.js +449 -0
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print.d.ts +182 -0
- package/es/ele-pro-table/components/tool-print.js +555 -0
- package/es/ele-pro-table/index.d.ts +138 -131
- package/es/ele-pro-table/index.js +107 -37
- package/es/ele-pro-table/props.d.ts +52 -48
- package/es/ele-pro-table/props.js +6 -2
- package/es/ele-pro-table/style/index.js +9 -0
- package/es/ele-pro-table/style/index.scss +33 -5
- package/es/ele-pro-table/types.d.ts +160 -5
- package/es/ele-pro-table/util.d.ts +64 -16
- package/es/ele-pro-table/util.js +155 -28
- package/es/ele-qr-code/index.d.ts +16 -15
- package/es/ele-qr-code/props.d.ts +4 -3
- package/es/ele-qr-code/util.d.ts +3 -2
- package/es/ele-qr-code-svg/index.d.ts +18 -18
- package/es/ele-segmented/index.d.ts +10 -9
- package/es/ele-segmented/props.d.ts +3 -2
- package/es/ele-split-panel/index.d.ts +18 -17
- package/es/ele-split-panel/props.d.ts +5 -4
- package/es/ele-steps/index.d.ts +33 -33
- package/es/ele-steps/props.d.ts +10 -9
- package/es/ele-tab-tool/index.d.ts +2 -2
- package/es/ele-tab-tool/props.d.ts +2 -1
- package/es/ele-tab-wrap/index.d.ts +6 -6
- package/es/ele-tab-wrap/index.js +2 -1
- package/es/ele-tab-wrap/props.d.ts +3 -2
- package/es/ele-table/index.d.ts +7 -4
- package/es/ele-table/index.js +2 -1
- package/es/ele-table/props.d.ts +5 -2
- package/es/ele-table/props.js +3 -1
- package/es/ele-table/style/index.scss +35 -0
- package/es/ele-table-select/index.d.ts +45 -43
- package/es/ele-table-select/index.js +29 -27
- package/es/ele-table-select/props.d.ts +11 -10
- package/es/ele-tabs/components/tab-title.d.ts +9 -8
- package/es/ele-tabs/index.d.ts +43 -55
- package/es/ele-tabs/index.js +1 -0
- package/es/ele-tabs/props.d.ts +17 -23
- 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 +12 -12
- package/es/ele-text/props.d.ts +5 -4
- package/es/ele-tool/index.d.ts +8 -8
- package/es/ele-tool/index.js +2 -4
- package/es/ele-tool/props.d.ts +10 -2
- package/es/ele-tool/props.js +5 -0
- package/es/ele-toolbar/index.d.ts +15 -15
- package/es/ele-toolbar/props.d.ts +7 -6
- package/es/ele-tooltip/index.d.ts +59 -58
- package/es/ele-tooltip/index.js +3 -0
- package/es/ele-tooltip/props.d.ts +28 -22
- package/es/ele-tooltip/props.js +2 -0
- package/es/ele-tour/index.d.ts +15 -14
- package/es/ele-tour/props.d.ts +3 -2
- package/es/ele-tour/util.d.ts +3 -2
- package/es/ele-tree-select/index.d.ts +37 -36
- package/es/ele-tree-select/props.d.ts +12 -11
- package/es/ele-tree-select/util.d.ts +3 -2
- package/es/ele-upload-list/components/list-item.d.ts +7 -6
- package/es/ele-upload-list/index.d.ts +26 -25
- package/es/ele-upload-list/props.d.ts +6 -5
- package/es/ele-virtual-table/components/body-cell.d.ts +100 -65
- package/es/ele-virtual-table/components/body-cell.js +79 -112
- package/es/ele-virtual-table/components/body-row.d.ts +89 -65
- package/es/ele-virtual-table/components/body-row.js +57 -52
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/es/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/es/ele-virtual-table/components/cell-filter.js +8 -12
- package/es/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/es/ele-virtual-table/components/expand-row.js +3 -3
- package/es/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/es/ele-virtual-table/components/footer-row.js +29 -19
- package/es/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/es/ele-virtual-table/components/header-row.d.ts +12 -11
- package/es/ele-virtual-table/index.d.ts +91 -100
- package/es/ele-virtual-table/index.js +134 -136
- package/es/ele-virtual-table/props.d.ts +49 -51
- package/es/ele-virtual-table/style/index.scss +1 -1
- package/es/ele-virtual-table/types.d.ts +103 -69
- package/es/ele-virtual-table/util.d.ts +35 -10
- package/es/ele-virtual-table/util.js +64 -17
- package/es/ele-watermark/index.d.ts +15 -14
- package/es/ele-watermark/props.d.ts +4 -3
- package/es/ele-watermark/util.d.ts +3 -2
- package/es/ele-xg-player/index.d.ts +10 -10
- 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 +2 -0
- package/es/icons/PrinterOutlined.js +29 -0
- 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/VerticalLeftOutlined.js +2 -2
- package/es/icons/VerticalRightOutlined.d.ts +1 -1
- package/es/icons/VerticalRightOutlined.js +2 -2
- 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 +2 -0
- package/es/icons/index.js +60 -56
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +13 -2
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +13 -2
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +12 -1
- package/es/style/nprogress.scss +1 -0
- package/es/style/themes/dark.scss +9 -15
- package/es/style/themes/default.scss +58 -81
- package/es/style/themes/rounded.scss +16 -30
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/menu-util.js +2 -5
- package/es/utils/message.d.ts +4 -3
- package/es/utils/resolvers.d.ts +2 -2
- package/es/utils/resolvers.js +2 -2
- package/lib/core-installer.d.ts +2 -2
- package/lib/ele-alert/index.cjs +2 -2
- package/lib/ele-alert/index.d.ts +23 -23
- package/lib/ele-alert/props.d.ts +10 -9
- package/lib/ele-app/el.d.ts +7 -1
- package/lib/ele-app/index.d.ts +2 -2
- package/lib/ele-app/plus.d.ts +9 -0
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/lib/ele-avatar-group/index.d.ts +29 -28
- package/lib/ele-avatar-group/props.d.ts +10 -9
- package/lib/ele-bar-code/index.d.ts +11 -10
- package/lib/ele-bar-code/props.d.ts +4 -3
- package/lib/ele-basic-select/index.cjs +23 -6
- package/lib/ele-basic-select/index.d.ts +37 -35
- package/lib/ele-basic-select/props.d.ts +9 -8
- package/lib/ele-basic-select/util.d.ts +2 -1
- package/lib/ele-bottom-bar/index.d.ts +6 -6
- package/lib/ele-bottom-bar/props.d.ts +4 -3
- package/lib/ele-breadcrumb/index.d.ts +11 -10
- package/lib/ele-breadcrumb/props.d.ts +5 -4
- package/lib/ele-card/index.d.ts +12 -12
- package/lib/ele-card/props.d.ts +7 -6
- package/lib/ele-check-card/components/card-item.d.ts +7 -6
- package/lib/ele-check-card/index.d.ts +15 -14
- package/lib/ele-check-card/props.d.ts +6 -5
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -44
- package/lib/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/lib/ele-config-provider/index.d.ts +7 -7
- package/lib/ele-config-provider/props.cjs +2 -2
- package/lib/ele-config-provider/props.d.ts +6 -5
- package/lib/ele-config-provider/receiver.cjs +41 -2
- package/lib/ele-config-provider/receiver.d.ts +6 -10
- package/lib/ele-config-provider/types.d.ts +5 -29
- package/lib/ele-copyable/index.d.ts +32 -31
- package/lib/ele-copyable/props.d.ts +9 -8
- package/lib/ele-count-up/index.d.ts +8 -7
- package/lib/ele-count-up/props.d.ts +3 -2
- package/lib/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/lib/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/lib/ele-cropper/index.d.ts +16 -15
- package/lib/ele-cropper/props.d.ts +4 -3
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-cropper-modal/index.d.ts +16 -15
- package/lib/ele-cropper-modal/props.d.ts +7 -6
- package/lib/ele-dashboard/index.d.ts +5 -5
- package/lib/ele-dashboard/props.d.ts +3 -2
- package/lib/ele-data-table/index.cjs +8 -0
- package/lib/ele-data-table/index.d.ts +65 -70
- package/lib/ele-data-table/props.d.ts +36 -41
- package/lib/ele-data-table/style/index.scss +4 -0
- package/lib/ele-data-table/types.d.ts +18 -16
- package/lib/ele-data-table/util.cjs +14 -0
- package/lib/ele-data-table/util.d.ts +15 -9
- package/lib/ele-dot/index.d.ts +4 -4
- package/lib/ele-dot/props.d.ts +3 -2
- package/lib/ele-drawer/index.cjs +105 -111
- package/lib/ele-drawer/index.d.ts +75 -71
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +48 -105
- package/lib/ele-dropdown/index.d.ts +66 -65
- package/lib/ele-dropdown/props.d.ts +22 -21
- package/lib/ele-edit-tag/index.cjs +1 -1
- package/lib/ele-edit-tag/index.d.ts +33 -32
- package/lib/ele-edit-tag/props.d.ts +10 -9
- package/lib/ele-ellipsis/index.d.ts +23 -22
- package/lib/ele-ellipsis/props.d.ts +8 -7
- package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
- package/lib/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-grid.d.ts +10 -9
- package/lib/ele-file-list/components/file-sort.d.ts +2 -2
- package/lib/ele-file-list/components/file-table-item.cjs +1 -1
- package/lib/ele-file-list/components/file-table-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-table.d.ts +10 -9
- package/lib/ele-file-list/icons.d.ts +2 -1
- package/lib/ele-file-list/index.d.ts +36 -35
- package/lib/ele-file-list/props.d.ts +6 -5
- package/lib/ele-file-list-tool/index.d.ts +3 -3
- package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
- package/lib/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/lib/ele-icon-select/index.d.ts +49 -48
- package/lib/ele-icon-select/props.d.ts +17 -16
- package/lib/ele-loading/index.cjs +9 -15
- package/lib/ele-loading/index.d.ts +12 -15
- package/lib/ele-loading/props.d.ts +5 -4
- package/lib/ele-map-picker/components/map-view.cjs +1 -1
- package/lib/ele-map-picker/components/map-view.d.ts +29 -28
- package/lib/ele-map-picker/index.cjs +1 -1
- package/lib/ele-map-picker/index.d.ts +27 -26
- package/lib/ele-map-picker/props.d.ts +8 -7
- package/lib/ele-menus/index.cjs +1 -1
- package/lib/ele-menus/index.d.ts +61 -62
- package/lib/ele-menus/props.cjs +1 -3
- package/lib/ele-menus/props.d.ts +16 -17
- package/lib/ele-menus/style/css-var.scss +1 -5
- package/lib/ele-menus/util.d.ts +3 -2
- package/lib/ele-modal/index.cjs +176 -198
- package/lib/ele-modal/index.d.ts +75 -68
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +26 -23
- package/lib/ele-modal/style/index.scss +103 -175
- package/lib/ele-modal/util.cjs +55 -179
- package/lib/ele-modal/util.d.ts +20 -45
- package/lib/ele-page/index.d.ts +2 -2
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +19 -4
- package/lib/ele-pagination/index.d.ts +40 -29
- package/lib/ele-pagination/props.cjs +7 -0
- package/lib/ele-pagination/props.d.ts +19 -12
- package/lib/ele-pagination/style/index.scss +9 -0
- package/lib/ele-pagination/types.d.ts +6 -1
- package/lib/ele-popconfirm/index.cjs +5 -27
- package/lib/ele-popconfirm/index.d.ts +90 -89
- package/lib/ele-popconfirm/props.d.ts +32 -31
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +69 -68
- package/lib/ele-popover/props.d.ts +26 -25
- package/lib/ele-printer/index.d.ts +18 -18
- package/lib/ele-printer/props.d.ts +6 -5
- package/lib/ele-printer/util.cjs +1 -1
- package/lib/ele-printer/util.d.ts +2 -1
- 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 +84 -28
- package/lib/ele-pro-layout/components/pro-iframe.cjs +30 -40
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +14 -18
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- 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 +8 -7
- package/lib/ele-pro-layout/index.cjs +61 -46
- package/lib/ele-pro-layout/index.d.ts +97 -97
- package/lib/ele-pro-layout/props.cjs +2 -4
- package/lib/ele-pro-layout/props.d.ts +11 -13
- 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 +6 -6
- package/lib/ele-pro-table/components/table-tools.cjs +124 -7
- package/lib/ele-pro-table/components/table-tools.d.ts +107 -15
- package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/lib/ele-pro-table/components/tool-column.cjs +8 -8
- package/lib/ele-pro-table/components/tool-column.d.ts +14 -13
- package/lib/ele-pro-table/components/tool-export.cjs +448 -0
- package/lib/ele-pro-table/components/tool-export.d.ts +179 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print.cjs +554 -0
- package/lib/ele-pro-table/components/tool-print.d.ts +182 -0
- package/lib/ele-pro-table/index.cjs +105 -35
- package/lib/ele-pro-table/index.d.ts +138 -131
- package/lib/ele-pro-table/props.cjs +6 -2
- package/lib/ele-pro-table/props.d.ts +52 -48
- package/lib/ele-pro-table/style/index.cjs +9 -0
- package/lib/ele-pro-table/style/index.scss +33 -5
- package/lib/ele-pro-table/types.d.ts +160 -5
- package/lib/ele-pro-table/util.cjs +154 -27
- package/lib/ele-pro-table/util.d.ts +64 -16
- package/lib/ele-qr-code/index.d.ts +16 -15
- package/lib/ele-qr-code/props.d.ts +4 -3
- package/lib/ele-qr-code/util.d.ts +3 -2
- package/lib/ele-qr-code-svg/index.d.ts +18 -18
- package/lib/ele-segmented/index.d.ts +10 -9
- package/lib/ele-segmented/props.d.ts +3 -2
- package/lib/ele-split-panel/index.d.ts +18 -17
- package/lib/ele-split-panel/props.d.ts +5 -4
- package/lib/ele-steps/index.d.ts +33 -33
- package/lib/ele-steps/props.d.ts +10 -9
- package/lib/ele-tab-tool/index.d.ts +2 -2
- package/lib/ele-tab-tool/props.d.ts +2 -1
- package/lib/ele-tab-wrap/index.cjs +2 -1
- package/lib/ele-tab-wrap/index.d.ts +6 -6
- package/lib/ele-tab-wrap/props.d.ts +3 -2
- package/lib/ele-table/index.cjs +2 -1
- package/lib/ele-table/index.d.ts +7 -4
- package/lib/ele-table/props.cjs +3 -1
- package/lib/ele-table/props.d.ts +5 -2
- package/lib/ele-table/style/index.scss +35 -0
- package/lib/ele-table-select/index.cjs +29 -27
- package/lib/ele-table-select/index.d.ts +45 -43
- package/lib/ele-table-select/props.d.ts +11 -10
- package/lib/ele-tabs/components/tab-title.d.ts +9 -8
- package/lib/ele-tabs/index.cjs +1 -0
- package/lib/ele-tabs/index.d.ts +43 -55
- package/lib/ele-tabs/props.d.ts +17 -23
- 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 +12 -12
- package/lib/ele-text/props.d.ts +5 -4
- package/lib/ele-tool/index.cjs +1 -3
- package/lib/ele-tool/index.d.ts +8 -8
- package/lib/ele-tool/props.cjs +5 -0
- package/lib/ele-tool/props.d.ts +10 -2
- package/lib/ele-toolbar/index.d.ts +15 -15
- package/lib/ele-toolbar/props.d.ts +7 -6
- package/lib/ele-tooltip/index.cjs +3 -0
- package/lib/ele-tooltip/index.d.ts +59 -58
- package/lib/ele-tooltip/props.cjs +2 -0
- package/lib/ele-tooltip/props.d.ts +28 -22
- package/lib/ele-tour/index.d.ts +15 -14
- package/lib/ele-tour/props.d.ts +3 -2
- package/lib/ele-tour/util.d.ts +3 -2
- package/lib/ele-tree-select/index.d.ts +37 -36
- package/lib/ele-tree-select/props.d.ts +12 -11
- package/lib/ele-tree-select/util.d.ts +3 -2
- package/lib/ele-upload-list/components/list-item.d.ts +7 -6
- package/lib/ele-upload-list/index.d.ts +26 -25
- package/lib/ele-upload-list/props.d.ts +6 -5
- package/lib/ele-virtual-table/components/body-cell.cjs +78 -111
- package/lib/ele-virtual-table/components/body-cell.d.ts +100 -65
- package/lib/ele-virtual-table/components/body-row.cjs +57 -52
- package/lib/ele-virtual-table/components/body-row.d.ts +89 -65
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
- package/lib/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
- package/lib/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/lib/ele-virtual-table/components/footer-row.cjs +27 -17
- package/lib/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/lib/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/lib/ele-virtual-table/components/header-row.d.ts +12 -11
- package/lib/ele-virtual-table/index.cjs +132 -134
- package/lib/ele-virtual-table/index.d.ts +91 -100
- package/lib/ele-virtual-table/props.d.ts +49 -51
- package/lib/ele-virtual-table/style/index.scss +1 -1
- package/lib/ele-virtual-table/types.d.ts +103 -69
- package/lib/ele-virtual-table/util.cjs +64 -17
- package/lib/ele-virtual-table/util.d.ts +35 -10
- package/lib/ele-watermark/index.d.ts +15 -14
- package/lib/ele-watermark/props.d.ts +4 -3
- package/lib/ele-watermark/util.d.ts +3 -2
- package/lib/ele-xg-player/index.d.ts +10 -10
- 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.cjs +28 -0
- package/lib/icons/PrinterOutlined.d.ts +2 -0
- 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.cjs +2 -2
- package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
- package/lib/icons/VerticalRightOutlined.cjs +2 -2
- 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 +4 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.cjs +13 -2
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +13 -2
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +12 -1
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/style/nprogress.scss +1 -0
- package/lib/style/themes/dark.scss +9 -15
- package/lib/style/themes/default.scss +58 -81
- package/lib/style/themes/rounded.scss +16 -30
- package/lib/utils/menu-util.cjs +1 -4
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message.d.ts +4 -3
- package/lib/utils/resolvers.cjs +2 -2
- package/lib/utils/resolvers.d.ts +2 -2
- package/package.json +23 -22
|
@@ -6,17 +6,29 @@ const _sfc_main = vue.defineComponent({
|
|
|
6
6
|
components: { BodyCell },
|
|
7
7
|
props: {
|
|
8
8
|
/** 主体列配置 */
|
|
9
|
-
bodyCols:
|
|
9
|
+
bodyCols: {
|
|
10
|
+
type: Array,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
10
13
|
/** 表格主体列宽 */
|
|
11
|
-
colSizes:
|
|
14
|
+
colSizes: {
|
|
15
|
+
type: Array,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
12
18
|
/** 当前行索引 */
|
|
13
|
-
rowIndex:
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
rowIndex: {
|
|
20
|
+
type: Number,
|
|
21
|
+
required: true
|
|
22
|
+
},
|
|
23
|
+
/** 当前行对象 */
|
|
24
|
+
rowItem: {
|
|
25
|
+
type: Object,
|
|
26
|
+
required: true
|
|
27
|
+
},
|
|
28
|
+
/** 当前行数据唯一值 */
|
|
29
|
+
rowId: [String, Number],
|
|
16
30
|
/** 表格多选选中的值 */
|
|
17
31
|
checkedRowKeys: Set,
|
|
18
|
-
/** 是否禁用表头选择框 */
|
|
19
|
-
tableSize: String,
|
|
20
32
|
/** 单元格类名自定义 */
|
|
21
33
|
bodyCellClass: [String, Function],
|
|
22
34
|
/** 单元格样式自定义 */
|
|
@@ -29,19 +41,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
29
41
|
pageIndex: Number,
|
|
30
42
|
/** 表格行高 */
|
|
31
43
|
rowHeight: Number,
|
|
44
|
+
/** 表格尺寸 */
|
|
45
|
+
tableSize: String,
|
|
32
46
|
/** 树表格展开图标的列 */
|
|
33
47
|
expandColumnKey: String,
|
|
34
48
|
/** 表格展开行的值 */
|
|
35
49
|
expandedRowKeys: Array,
|
|
36
|
-
/** 嵌套数据是否有子级字段名称 */
|
|
37
|
-
hasChildrenName: String,
|
|
38
50
|
/** 树表格是否懒加载子级 */
|
|
39
51
|
lazy: Boolean,
|
|
40
52
|
/** 树表格懒加载方法 */
|
|
41
53
|
load: Function,
|
|
42
|
-
/**
|
|
54
|
+
/** 树表格行数据缩进级别 */
|
|
43
55
|
level: Number,
|
|
44
|
-
/**
|
|
56
|
+
/** 树表格每一级行缩进大小 */
|
|
45
57
|
indent: Number,
|
|
46
58
|
/** 是否需要固定单元格高度 */
|
|
47
59
|
fixedCellHeight: Boolean,
|
|
@@ -52,7 +64,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
52
64
|
/** 多选框选中改变事件 */
|
|
53
65
|
cellCheckedChange: (_row, _checked) => true,
|
|
54
66
|
/** 展开状态改变事件 */
|
|
55
|
-
cellExpandChange: (_row, _expanded,
|
|
67
|
+
cellExpandChange: (_row, _expanded, _children) => true,
|
|
56
68
|
/** 单元格点击事件 */
|
|
57
69
|
cellClick: (_row, _col, _e) => true,
|
|
58
70
|
/** 单元格双击事件 */
|
|
@@ -66,21 +78,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
66
78
|
},
|
|
67
79
|
setup(props, { emit }) {
|
|
68
80
|
const loading = vue.ref(false);
|
|
69
|
-
const rowDataKey = vue.computed(() => {
|
|
70
|
-
return props.rowData ? props.rowData._rowKey : void 0;
|
|
71
|
-
});
|
|
72
81
|
const isChecked = vue.computed(() => {
|
|
73
|
-
if (!props.checkedRowKeys ||
|
|
82
|
+
if (!props.checkedRowKeys || props.rowId == null) {
|
|
74
83
|
return false;
|
|
75
84
|
}
|
|
76
|
-
return props.checkedRowKeys.has(
|
|
85
|
+
return props.checkedRowKeys.has(props.rowId);
|
|
77
86
|
});
|
|
78
87
|
const hasChildren = vue.computed(() => {
|
|
79
|
-
if (props.
|
|
80
|
-
if (props.
|
|
81
|
-
return !!props.
|
|
88
|
+
if (props.rowItem) {
|
|
89
|
+
if (props.rowItem.children) {
|
|
90
|
+
return !!props.rowItem.children.length;
|
|
82
91
|
}
|
|
83
|
-
if (props.lazy && props.
|
|
92
|
+
if (props.lazy && props.rowItem.hasChildren) {
|
|
84
93
|
return true;
|
|
85
94
|
}
|
|
86
95
|
}
|
|
@@ -93,45 +102,41 @@ const _sfc_main = vue.defineComponent({
|
|
|
93
102
|
return props.level * props.indent + "px";
|
|
94
103
|
});
|
|
95
104
|
const isCollapse = vue.computed(() => {
|
|
96
|
-
if (!props.expandedRowKeys ||
|
|
105
|
+
if (!props.expandedRowKeys || props.rowId == null) {
|
|
97
106
|
return true;
|
|
98
107
|
}
|
|
99
|
-
return !props.expandedRowKeys.includes(
|
|
108
|
+
return !props.expandedRowKeys.includes(props.rowId);
|
|
100
109
|
});
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
return key + "-" + (column.key ?? columnIndex);
|
|
104
|
-
};
|
|
105
|
-
const onCellCheckedChange = (row, checked) => {
|
|
106
|
-
emit("cellCheckedChange", row, checked);
|
|
110
|
+
const onCellCheckedChange = (checked) => {
|
|
111
|
+
emit("cellCheckedChange", props.rowItem, checked);
|
|
107
112
|
};
|
|
108
|
-
const onCellExpandChange = (
|
|
109
|
-
if (expanded && props.lazy && !
|
|
113
|
+
const onCellExpandChange = (expanded) => {
|
|
114
|
+
if (expanded && props.lazy && !props.rowItem.children) {
|
|
110
115
|
if (props.load) {
|
|
111
116
|
loading.value = true;
|
|
112
|
-
props.load(
|
|
117
|
+
props.load(props.rowItem.rowData, null, (data) => {
|
|
113
118
|
loading.value = false;
|
|
114
|
-
emit("cellExpandChange",
|
|
119
|
+
emit("cellExpandChange", props.rowItem, expanded, data);
|
|
115
120
|
});
|
|
116
121
|
}
|
|
117
122
|
return;
|
|
118
123
|
}
|
|
119
|
-
emit("cellExpandChange",
|
|
124
|
+
emit("cellExpandChange", props.rowItem, expanded);
|
|
120
125
|
};
|
|
121
|
-
const onCellClick = (
|
|
122
|
-
emit("cellClick",
|
|
126
|
+
const onCellClick = (col, e) => {
|
|
127
|
+
emit("cellClick", props.rowItem, col, e);
|
|
123
128
|
};
|
|
124
|
-
const onCellDblclick = (
|
|
125
|
-
emit("cellDblclick",
|
|
129
|
+
const onCellDblclick = (col, e) => {
|
|
130
|
+
emit("cellDblclick", props.rowItem, col, e);
|
|
126
131
|
};
|
|
127
|
-
const onCellContextmenu = (
|
|
128
|
-
emit("cellContextmenu",
|
|
132
|
+
const onCellContextmenu = (col, e) => {
|
|
133
|
+
emit("cellContextmenu", props.rowItem, col, e);
|
|
129
134
|
};
|
|
130
|
-
const onCellMouseenter = (
|
|
131
|
-
emit("cellMouseenter",
|
|
135
|
+
const onCellMouseenter = (col, e) => {
|
|
136
|
+
emit("cellMouseenter", props.rowItem, col, e);
|
|
132
137
|
};
|
|
133
|
-
const onCellMouseleave = (
|
|
134
|
-
emit("cellMouseleave",
|
|
138
|
+
const onCellMouseleave = (col, e) => {
|
|
139
|
+
emit("cellMouseleave", props.rowItem, col, e);
|
|
135
140
|
};
|
|
136
141
|
return {
|
|
137
142
|
loading,
|
|
@@ -139,7 +144,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
139
144
|
hasChildren,
|
|
140
145
|
rowIndent,
|
|
141
146
|
isCollapse,
|
|
142
|
-
getKey,
|
|
143
147
|
onCellCheckedChange,
|
|
144
148
|
onCellExpandChange,
|
|
145
149
|
onCellClick,
|
|
@@ -159,23 +163,24 @@ const _export_sfc = (sfc, props) => {
|
|
|
159
163
|
};
|
|
160
164
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
161
165
|
const _component_BodyCell = vue.resolveComponent("BodyCell");
|
|
162
|
-
return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.bodyCols, (column,
|
|
166
|
+
return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.bodyCols, (column, columnIndex) => {
|
|
163
167
|
return vue.openBlock(), vue.createBlock(_component_BodyCell, {
|
|
164
|
-
key: _ctx.
|
|
168
|
+
key: (_ctx.rowId ?? _ctx.rowIndex) + "-" + (column.key ?? columnIndex),
|
|
165
169
|
column,
|
|
166
|
-
columnIndex
|
|
170
|
+
columnIndex,
|
|
167
171
|
rowIndex: _ctx.rowIndex,
|
|
168
|
-
rowData: _ctx.rowData,
|
|
172
|
+
rowData: _ctx.rowItem.rowData,
|
|
169
173
|
colSizes: _ctx.colSizes,
|
|
170
|
-
tableSize: _ctx.tableSize,
|
|
171
174
|
bodyCellClass: _ctx.bodyCellClass,
|
|
172
175
|
bodyCellStyle: _ctx.bodyCellStyle,
|
|
173
176
|
spanMethod: _ctx.spanMethod,
|
|
174
177
|
tableTooltipProps: _ctx.tableTooltipProps,
|
|
175
178
|
pageIndex: _ctx.pageIndex,
|
|
176
179
|
rowHeight: _ctx.rowHeight,
|
|
177
|
-
expandColumnKey: _ctx.expandColumnKey,
|
|
178
180
|
isChecked: _ctx.isChecked,
|
|
181
|
+
isDisabled: _ctx.rowItem.isDisabled,
|
|
182
|
+
tableSize: _ctx.tableSize,
|
|
183
|
+
expandColumnKey: _ctx.expandColumnKey,
|
|
179
184
|
hasChildren: _ctx.hasChildren,
|
|
180
185
|
rowIndent: _ctx.rowIndent,
|
|
181
186
|
isCollapse: _ctx.isCollapse,
|
|
@@ -198,7 +203,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
198
203
|
])
|
|
199
204
|
};
|
|
200
205
|
})
|
|
201
|
-
]), 1032, ["column", "columnIndex", "rowIndex", "rowData", "colSizes", "
|
|
206
|
+
]), 1032, ["column", "columnIndex", "rowIndex", "rowData", "colSizes", "bodyCellClass", "bodyCellStyle", "spanMethod", "tableTooltipProps", "pageIndex", "rowHeight", "isChecked", "isDisabled", "tableSize", "expandColumnKey", "hasChildren", "rowIndent", "isCollapse", "loading", "fixedCellHeight", "autoRowHeight", "onCheckedChange", "onExpandChange", "onClick", "onDblclick", "onContextmenu", "onMouseenter", "onMouseleave"]);
|
|
202
207
|
}), 128);
|
|
203
208
|
}
|
|
204
209
|
const bodyRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -1,145 +1,169 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { BodyColumns, ColSize, VirtualRow } from '../types';
|
|
2
|
+
import { DataKey, DataItem, Column } from '../../ele-data-table/types';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
6
|
/** 主体列配置 */
|
|
6
|
-
bodyCols:
|
|
7
|
+
bodyCols: {
|
|
8
|
+
type: PropType<BodyColumns>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
7
11
|
/** 表格主体列宽 */
|
|
8
|
-
colSizes:
|
|
12
|
+
colSizes: {
|
|
13
|
+
type: PropType<ColSize[]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
9
16
|
/** 当前行索引 */
|
|
10
|
-
rowIndex:
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
rowIndex: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
/** 当前行对象 */
|
|
22
|
+
rowItem: {
|
|
23
|
+
type: PropType<VirtualRow>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
/** 当前行数据唯一值 */
|
|
27
|
+
rowId: PropType<DataKey>;
|
|
13
28
|
/** 表格多选选中的值 */
|
|
14
29
|
checkedRowKeys: PropType<Set<DataKey>>;
|
|
15
|
-
/** 是否禁用表头选择框 */
|
|
16
|
-
tableSize: PropType<"" | "default" | "small" | "large" | undefined>;
|
|
17
30
|
/** 单元格类名自定义 */
|
|
18
|
-
bodyCellClass: PropType<import(
|
|
31
|
+
bodyCellClass: PropType<import('element-plus').CellCls<DataItem> | undefined>;
|
|
19
32
|
/** 单元格样式自定义 */
|
|
20
|
-
bodyCellStyle: PropType<import(
|
|
33
|
+
bodyCellStyle: PropType<import('element-plus').CellStyle<DataItem> | undefined>;
|
|
21
34
|
/** 单元格合并行列方法 */
|
|
22
35
|
spanMethod: PropType<((data: {
|
|
23
36
|
row: DataItem;
|
|
24
37
|
rowIndex: number;
|
|
25
|
-
column: import(
|
|
38
|
+
column: import('element-plus').TableColumnCtx<DataItem>;
|
|
26
39
|
columnIndex: number;
|
|
27
40
|
}) => number[] | {
|
|
28
41
|
rowspan: number;
|
|
29
42
|
colspan: number;
|
|
30
43
|
} | undefined) | undefined>;
|
|
31
44
|
/** 溢出提示组件全局属性 */
|
|
32
|
-
tableTooltipProps: PropType<boolean | Partial<Pick<import(
|
|
45
|
+
tableTooltipProps: PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
33
46
|
/** 序号列起始编号 */
|
|
34
47
|
pageIndex: NumberConstructor;
|
|
35
48
|
/** 表格行高 */
|
|
36
49
|
rowHeight: NumberConstructor;
|
|
50
|
+
/** 表格尺寸 */
|
|
51
|
+
tableSize: PropType<"" | "default" | "small" | "large" | undefined>;
|
|
37
52
|
/** 树表格展开图标的列 */
|
|
38
53
|
expandColumnKey: StringConstructor;
|
|
39
54
|
/** 表格展开行的值 */
|
|
40
55
|
expandedRowKeys: PropType<DataKey[]>;
|
|
41
|
-
/** 嵌套数据是否有子级字段名称 */
|
|
42
|
-
hasChildrenName: StringConstructor;
|
|
43
56
|
/** 树表格是否懒加载子级 */
|
|
44
57
|
lazy: BooleanConstructor;
|
|
45
58
|
/** 树表格懒加载方法 */
|
|
46
|
-
load: PropType<((row: DataItem, treeNode: import(
|
|
47
|
-
/**
|
|
59
|
+
load: PropType<((row: DataItem, treeNode: import('element-plus').TreeNode, resolve: (data: DataItem[]) => void) => void) | undefined>;
|
|
60
|
+
/** 树表格行数据缩进级别 */
|
|
48
61
|
level: NumberConstructor;
|
|
49
|
-
/**
|
|
62
|
+
/** 树表格每一级行缩进大小 */
|
|
50
63
|
indent: NumberConstructor;
|
|
51
64
|
/** 是否需要固定单元格高度 */
|
|
52
65
|
fixedCellHeight: BooleanConstructor;
|
|
53
66
|
/** 表格是否是自适应行高 */
|
|
54
67
|
autoRowHeight: BooleanConstructor;
|
|
55
68
|
}, {
|
|
56
|
-
loading: import(
|
|
57
|
-
isChecked: import(
|
|
58
|
-
hasChildren: import(
|
|
59
|
-
rowIndent: import(
|
|
60
|
-
isCollapse: import(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
69
|
+
loading: import('vue').Ref<boolean>;
|
|
70
|
+
isChecked: import('vue').ComputedRef<boolean>;
|
|
71
|
+
hasChildren: import('vue').ComputedRef<boolean>;
|
|
72
|
+
rowIndent: import('vue').ComputedRef<string | undefined>;
|
|
73
|
+
isCollapse: import('vue').ComputedRef<boolean>;
|
|
74
|
+
onCellCheckedChange: (checked: boolean) => void;
|
|
75
|
+
onCellExpandChange: (expanded: boolean) => void;
|
|
76
|
+
onCellClick: (col: Column, e: MouseEvent) => void;
|
|
77
|
+
onCellDblclick: (col: Column, e: MouseEvent) => void;
|
|
78
|
+
onCellContextmenu: (col: Column, e: MouseEvent) => void;
|
|
79
|
+
onCellMouseenter: (col: Column, e: MouseEvent) => void;
|
|
80
|
+
onCellMouseleave: (col: Column, e: MouseEvent) => void;
|
|
81
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
70
82
|
/** 多选框选中改变事件 */
|
|
71
|
-
cellCheckedChange: (_row:
|
|
83
|
+
cellCheckedChange: (_row: VirtualRow, _checked: boolean) => true;
|
|
72
84
|
/** 展开状态改变事件 */
|
|
73
|
-
cellExpandChange: (_row:
|
|
85
|
+
cellExpandChange: (_row: VirtualRow, _expanded: boolean, _children?: DataItem[]) => true;
|
|
74
86
|
/** 单元格点击事件 */
|
|
75
|
-
cellClick: (_row:
|
|
87
|
+
cellClick: (_row: VirtualRow, _col: Column, _e: MouseEvent) => true;
|
|
76
88
|
/** 单元格双击事件 */
|
|
77
|
-
cellDblclick: (_row:
|
|
89
|
+
cellDblclick: (_row: VirtualRow, _col: Column, _e: MouseEvent) => true;
|
|
78
90
|
/** 单元格右键事件 */
|
|
79
|
-
cellContextmenu: (_row:
|
|
91
|
+
cellContextmenu: (_row: VirtualRow, _col: Column, _e: MouseEvent) => true;
|
|
80
92
|
/** 单元格鼠标移入事件 */
|
|
81
|
-
cellMouseenter: (_row:
|
|
93
|
+
cellMouseenter: (_row: VirtualRow, _col: Column, _e: MouseEvent) => true;
|
|
82
94
|
/** 单元格鼠标移出事件 */
|
|
83
|
-
cellMouseleave: (_row:
|
|
84
|
-
}, string, import(
|
|
95
|
+
cellMouseleave: (_row: VirtualRow, _col: Column, _e: MouseEvent) => true;
|
|
96
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
85
97
|
/** 主体列配置 */
|
|
86
|
-
bodyCols:
|
|
98
|
+
bodyCols: {
|
|
99
|
+
type: PropType<BodyColumns>;
|
|
100
|
+
required: true;
|
|
101
|
+
};
|
|
87
102
|
/** 表格主体列宽 */
|
|
88
|
-
colSizes:
|
|
103
|
+
colSizes: {
|
|
104
|
+
type: PropType<ColSize[]>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
89
107
|
/** 当前行索引 */
|
|
90
|
-
rowIndex:
|
|
91
|
-
|
|
92
|
-
|
|
108
|
+
rowIndex: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
/** 当前行对象 */
|
|
113
|
+
rowItem: {
|
|
114
|
+
type: PropType<VirtualRow>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
/** 当前行数据唯一值 */
|
|
118
|
+
rowId: PropType<DataKey>;
|
|
93
119
|
/** 表格多选选中的值 */
|
|
94
120
|
checkedRowKeys: PropType<Set<DataKey>>;
|
|
95
|
-
/** 是否禁用表头选择框 */
|
|
96
|
-
tableSize: PropType<"" | "default" | "small" | "large" | undefined>;
|
|
97
121
|
/** 单元格类名自定义 */
|
|
98
|
-
bodyCellClass: PropType<import(
|
|
122
|
+
bodyCellClass: PropType<import('element-plus').CellCls<DataItem> | undefined>;
|
|
99
123
|
/** 单元格样式自定义 */
|
|
100
|
-
bodyCellStyle: PropType<import(
|
|
124
|
+
bodyCellStyle: PropType<import('element-plus').CellStyle<DataItem> | undefined>;
|
|
101
125
|
/** 单元格合并行列方法 */
|
|
102
126
|
spanMethod: PropType<((data: {
|
|
103
127
|
row: DataItem;
|
|
104
128
|
rowIndex: number;
|
|
105
|
-
column: import(
|
|
129
|
+
column: import('element-plus').TableColumnCtx<DataItem>;
|
|
106
130
|
columnIndex: number;
|
|
107
131
|
}) => number[] | {
|
|
108
132
|
rowspan: number;
|
|
109
133
|
colspan: number;
|
|
110
134
|
} | undefined) | undefined>;
|
|
111
135
|
/** 溢出提示组件全局属性 */
|
|
112
|
-
tableTooltipProps: PropType<boolean | Partial<Pick<import(
|
|
136
|
+
tableTooltipProps: PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
113
137
|
/** 序号列起始编号 */
|
|
114
138
|
pageIndex: NumberConstructor;
|
|
115
139
|
/** 表格行高 */
|
|
116
140
|
rowHeight: NumberConstructor;
|
|
141
|
+
/** 表格尺寸 */
|
|
142
|
+
tableSize: PropType<"" | "default" | "small" | "large" | undefined>;
|
|
117
143
|
/** 树表格展开图标的列 */
|
|
118
144
|
expandColumnKey: StringConstructor;
|
|
119
145
|
/** 表格展开行的值 */
|
|
120
146
|
expandedRowKeys: PropType<DataKey[]>;
|
|
121
|
-
/** 嵌套数据是否有子级字段名称 */
|
|
122
|
-
hasChildrenName: StringConstructor;
|
|
123
147
|
/** 树表格是否懒加载子级 */
|
|
124
148
|
lazy: BooleanConstructor;
|
|
125
149
|
/** 树表格懒加载方法 */
|
|
126
|
-
load: PropType<((row: DataItem, treeNode: import(
|
|
127
|
-
/**
|
|
150
|
+
load: PropType<((row: DataItem, treeNode: import('element-plus').TreeNode, resolve: (data: DataItem[]) => void) => void) | undefined>;
|
|
151
|
+
/** 树表格行数据缩进级别 */
|
|
128
152
|
level: NumberConstructor;
|
|
129
|
-
/**
|
|
153
|
+
/** 树表格每一级行缩进大小 */
|
|
130
154
|
indent: NumberConstructor;
|
|
131
155
|
/** 是否需要固定单元格高度 */
|
|
132
156
|
fixedCellHeight: BooleanConstructor;
|
|
133
157
|
/** 表格是否是自适应行高 */
|
|
134
158
|
autoRowHeight: BooleanConstructor;
|
|
135
159
|
}>> & {
|
|
136
|
-
onCellClick?: ((_row:
|
|
137
|
-
onCellDblclick?: ((_row:
|
|
138
|
-
onCellContextmenu?: ((_row:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
onCellMouseleave?: ((_row:
|
|
160
|
+
onCellClick?: ((_row: VirtualRow, _col: Column, _e: MouseEvent) => any) | undefined;
|
|
161
|
+
onCellDblclick?: ((_row: VirtualRow, _col: Column, _e: MouseEvent) => any) | undefined;
|
|
162
|
+
onCellContextmenu?: ((_row: VirtualRow, _col: Column, _e: MouseEvent) => any) | undefined;
|
|
163
|
+
onCellMouseenter?: ((_row: VirtualRow, _col: Column, _e: MouseEvent) => any) | undefined;
|
|
164
|
+
onCellCheckedChange?: ((_row: VirtualRow, _checked: boolean) => any) | undefined;
|
|
165
|
+
onCellExpandChange?: ((_row: VirtualRow, _expanded: boolean, _children?: DataItem[] | undefined) => any) | undefined;
|
|
166
|
+
onCellMouseleave?: ((_row: VirtualRow, _col: Column, _e: MouseEvent) => any) | undefined;
|
|
143
167
|
}, {
|
|
144
168
|
lazy: boolean;
|
|
145
169
|
fixedCellHeight: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
4
|
/** 是否是选中状态 */
|
|
4
5
|
checked: BooleanConstructor;
|
|
5
6
|
/** 是否是半选状态 */
|
|
@@ -10,10 +11,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
11
|
size: PropType<"" | "default" | "small" | "large" | undefined>;
|
|
11
12
|
}, {
|
|
12
13
|
onUpdateModelValue: (modelValue: boolean) => void;
|
|
13
|
-
}, unknown, {}, {}, import(
|
|
14
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
15
|
/** 选中改变事件 */
|
|
15
16
|
change: (_checked: boolean) => true;
|
|
16
|
-
}, string, import(
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
18
|
/** 是否是选中状态 */
|
|
18
19
|
checked: BooleanConstructor;
|
|
19
20
|
/** 是否是半选状态 */
|
|
@@ -33,7 +33,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
33
33
|
},
|
|
34
34
|
setup(props, { emit }) {
|
|
35
35
|
const { t } = elementPlus.useLocale();
|
|
36
|
-
const
|
|
36
|
+
const popperRef = vue.ref(null);
|
|
37
37
|
const checkedValue = vue.ref([]);
|
|
38
38
|
const clearFilterText = vue.computed(() => {
|
|
39
39
|
return t("el.table.clearFilter");
|
|
@@ -51,7 +51,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
51
51
|
return t("el.table.resetFilter");
|
|
52
52
|
});
|
|
53
53
|
const hidePopper = () => {
|
|
54
|
-
|
|
54
|
+
popperRef.value && popperRef.value.hide();
|
|
55
55
|
};
|
|
56
56
|
const onBeforeEnter = () => {
|
|
57
57
|
checkedValue.value = props.filtered ?? [];
|
|
@@ -73,7 +73,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
73
73
|
hidePopper();
|
|
74
74
|
};
|
|
75
75
|
return {
|
|
76
|
-
|
|
76
|
+
popperRef,
|
|
77
77
|
checkedValue,
|
|
78
78
|
clearFilterText,
|
|
79
79
|
filteredValue,
|
|
@@ -114,7 +114,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
114
114
|
}, ["stop"]))
|
|
115
115
|
}, [
|
|
116
116
|
vue.createVNode(_component_EleTooltip, {
|
|
117
|
-
ref: "
|
|
117
|
+
ref: "popperRef",
|
|
118
118
|
trigger: "click",
|
|
119
119
|
showArrow: false,
|
|
120
120
|
placement: _ctx.filterPlacement,
|
|
@@ -139,13 +139,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
139
139
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.filters, (item) => {
|
|
140
140
|
return vue.openBlock(), vue.createBlock(_component_ElCheckbox, {
|
|
141
141
|
key: item.value,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
vue.createTextVNode(vue.toDisplayString(item.text), 1)
|
|
146
|
-
]),
|
|
147
|
-
_: 2
|
|
148
|
-
}, 1032, ["label"]);
|
|
142
|
+
value: item.value,
|
|
143
|
+
label: item.text
|
|
144
|
+
}, null, 8, ["value", "label"]);
|
|
149
145
|
}), 128))
|
|
150
146
|
]),
|
|
151
147
|
_: 1
|
|
@@ -1,49 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { EleTooltipInstance } from '../../ele-app/plus';
|
|
2
|
+
import { FilterValue } from '../../ele-data-table/types';
|
|
3
|
+
import { PropType } from 'vue';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
6
|
/** 选中项 */
|
|
6
7
|
filtered: PropType<FilterValue>;
|
|
7
8
|
/** 是否多选 */
|
|
8
9
|
filterMultiple: BooleanConstructor;
|
|
9
10
|
/** 数据项 */
|
|
10
|
-
filters: PropType<import(
|
|
11
|
+
filters: PropType<import('element-plus/es/components/table/src/table-column/defaults').Filters | undefined>;
|
|
11
12
|
/** 弹出框定位 */
|
|
12
13
|
filterPlacement: {
|
|
13
|
-
type: PropType<
|
|
14
|
+
type: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
|
|
14
15
|
default: string;
|
|
15
16
|
};
|
|
16
17
|
}, {
|
|
17
|
-
|
|
18
|
-
checkedValue: import(
|
|
19
|
-
clearFilterText: import(
|
|
20
|
-
filteredValue: import(
|
|
21
|
-
confirmText: import(
|
|
22
|
-
resetText: import(
|
|
18
|
+
popperRef: import('vue').Ref<EleTooltipInstance>;
|
|
19
|
+
checkedValue: import('vue').Ref<string[]>;
|
|
20
|
+
clearFilterText: import('vue').ComputedRef<string>;
|
|
21
|
+
filteredValue: import('vue').ComputedRef<string | undefined>;
|
|
22
|
+
confirmText: import('vue').ComputedRef<string>;
|
|
23
|
+
resetText: import('vue').ComputedRef<string>;
|
|
23
24
|
onItemClick: (value?: string) => void;
|
|
24
25
|
onFilterChange: (filtered: FilterValue) => void;
|
|
25
26
|
onConfirm: () => void;
|
|
26
27
|
onReset: () => void;
|
|
27
28
|
onBeforeEnter: () => void;
|
|
28
|
-
}, unknown, {}, {}, import(
|
|
29
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
30
|
/** 选中改变事件 */
|
|
30
31
|
change: (_filtered: FilterValue) => true;
|
|
31
|
-
}, string, import(
|
|
32
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
33
|
/** 选中项 */
|
|
33
34
|
filtered: PropType<FilterValue>;
|
|
34
35
|
/** 是否多选 */
|
|
35
36
|
filterMultiple: BooleanConstructor;
|
|
36
37
|
/** 数据项 */
|
|
37
|
-
filters: PropType<import(
|
|
38
|
+
filters: PropType<import('element-plus/es/components/table/src/table-column/defaults').Filters | undefined>;
|
|
38
39
|
/** 弹出框定位 */
|
|
39
40
|
filterPlacement: {
|
|
40
|
-
type: PropType<
|
|
41
|
+
type: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
|
|
41
42
|
default: string;
|
|
42
43
|
};
|
|
43
44
|
}>> & {
|
|
44
45
|
onChange?: ((_filtered: FilterValue) => any) | undefined;
|
|
45
46
|
}, {
|
|
46
|
-
filterPlacement:
|
|
47
|
+
filterPlacement: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined;
|
|
47
48
|
filterMultiple: boolean;
|
|
48
49
|
}, {}>;
|
|
49
50
|
export default _default;
|
|
@@ -3,11 +3,11 @@ const vue = require("vue");
|
|
|
3
3
|
const _sfc_main = vue.defineComponent({
|
|
4
4
|
name: "ExpandRow",
|
|
5
5
|
props: {
|
|
6
|
-
/** 列配置 */
|
|
6
|
+
/** 列配置(原始配置) */
|
|
7
7
|
column: Object,
|
|
8
8
|
/** 行索引 */
|
|
9
9
|
rowIndex: Number,
|
|
10
|
-
/** 行数据 */
|
|
10
|
+
/** 行数据(原始数据) */
|
|
11
11
|
rowData: Object
|
|
12
12
|
}
|
|
13
13
|
});
|
|
@@ -21,7 +21,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
21
21
|
const _hoisted_1 = { class: "el-table-v2__row-cell ele-table-td" };
|
|
22
22
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23
23
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
24
|
-
_ctx.column && _ctx.column.
|
|
24
|
+
_ctx.column && _ctx.column.slot ? vue.renderSlot(_ctx.$slots, _ctx.column.slot, vue.normalizeProps(vue.mergeProps({ key: 0 }, { row: _ctx.rowData, column: _ctx.column, $index: _ctx.rowIndex }))) : vue.createCommentVNode("", true)
|
|
25
25
|
]);
|
|
26
26
|
}
|
|
27
27
|
const expandRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { DataItem, Column } from '../../ele-data-table/types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
/** 列配置(原始配置) */
|
|
6
|
+
column: PropType<Column>;
|
|
6
7
|
/** 行索引 */
|
|
7
8
|
rowIndex: NumberConstructor;
|
|
8
|
-
/** 行数据 */
|
|
9
|
+
/** 行数据(原始数据) */
|
|
9
10
|
rowData: PropType<DataItem>;
|
|
10
|
-
}, unknown, unknown, {}, {}, import(
|
|
11
|
-
/** 列配置 */
|
|
12
|
-
column: PropType<
|
|
11
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
/** 列配置(原始配置) */
|
|
13
|
+
column: PropType<Column>;
|
|
13
14
|
/** 行索引 */
|
|
14
15
|
rowIndex: NumberConstructor;
|
|
15
|
-
/** 行数据 */
|
|
16
|
+
/** 行数据(原始数据) */
|
|
16
17
|
rowData: PropType<DataItem>;
|
|
17
18
|
}>>, {}, {}>;
|
|
18
19
|
export default _default;
|