ele-admin-plus 1.1.9-beta.1 → 1.1.9-beta.11
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 +1 -1
- package/es/ele-alert/index.js +4 -6
- package/es/ele-alert/props.d.ts +10 -9
- package/es/ele-app/el.d.ts +18 -1
- package/es/ele-app/index.d.ts +1 -1
- package/es/ele-app/plus.d.ts +12 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/es/ele-app/style/overwrite/message-box/index.scss +5 -0
- package/es/ele-avatar-group/index.d.ts +4 -3
- package/es/ele-avatar-group/index.js +1 -3
- package/es/ele-avatar-group/props.d.ts +10 -9
- package/es/ele-bar-code/index.d.ts +5 -4
- package/es/ele-bar-code/props.d.ts +4 -3
- package/es/ele-basic-select/index.d.ts +17 -15
- package/es/ele-basic-select/index.js +40 -19
- 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 +1 -1
- package/es/ele-bottom-bar/props.d.ts +4 -3
- package/es/ele-breadcrumb/index.d.ts +3 -2
- package/es/ele-breadcrumb/props.d.ts +5 -4
- package/es/ele-card/index.d.ts +1 -1
- package/es/ele-card/props.d.ts +7 -6
- package/es/ele-check-card/components/card-item.d.ts +4 -3
- package/es/ele-check-card/index.d.ts +6 -5
- package/es/ele-check-card/index.js +0 -5
- package/es/ele-check-card/props.d.ts +6 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/es/ele-config-provider/components/receiver-view.js +134 -0
- package/es/ele-config-provider/index.d.ts +3 -3
- 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 +5 -9
- package/es/ele-config-provider/receiver.js +35 -116
- package/es/ele-config-provider/types.d.ts +6 -12
- package/es/ele-copyable/index.d.ts +8 -9
- package/es/ele-copyable/index.js +1 -5
- package/es/ele-copyable/props.d.ts +9 -8
- package/es/ele-count-up/index.d.ts +2 -1
- package/es/ele-count-up/props.d.ts +3 -2
- package/es/ele-cropper/components/cropper-preview.d.ts +1 -1
- package/es/ele-cropper/components/cropper-tools.d.ts +4 -3
- package/es/ele-cropper/index.d.ts +11 -10
- package/es/ele-cropper/index.js +1 -5
- package/es/ele-cropper/props.d.ts +4 -3
- package/es/ele-cropper-modal/index.d.ts +3 -2
- 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 +1 -2
- package/es/ele-dashboard/index.js +8 -17
- package/es/ele-dashboard/props.d.ts +3 -2
- package/es/ele-data-table/index.d.ts +10 -15
- package/es/ele-data-table/index.js +9 -1
- package/es/ele-data-table/props.d.ts +38 -43
- 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 +3 -5
- package/es/ele-dot/index.js +4 -10
- package/es/ele-dot/props.d.ts +3 -2
- package/es/ele-drawer/index.d.ts +8 -4
- package/es/ele-drawer/index.js +111 -114
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +49 -106
- package/es/ele-dropdown/index.d.ts +6 -5
- package/es/ele-dropdown/index.js +7 -10
- package/es/ele-dropdown/props.d.ts +22 -21
- package/es/ele-dropdown/style/index.scss +2 -2
- package/es/ele-edit-tag/index.d.ts +9 -2
- package/es/ele-edit-tag/index.js +18 -16
- package/es/ele-edit-tag/props.d.ts +14 -9
- package/es/ele-edit-tag/props.js +5 -1
- package/es/ele-edit-tag/style/index.scss +13 -0
- package/es/ele-ellipsis/index.d.ts +7 -6
- package/es/ele-ellipsis/index.js +4 -27
- package/es/ele-ellipsis/props.d.ts +8 -7
- package/es/ele-file-list/components/file-grid-item.d.ts +6 -5
- package/es/ele-file-list/components/file-grid-item.js +17 -10
- package/es/ele-file-list/components/file-grid.d.ts +6 -5
- package/es/ele-file-list/components/file-grid.js +54 -50
- package/es/ele-file-list/components/file-sort.d.ts +1 -1
- package/es/ele-file-list/components/file-table-item.d.ts +6 -5
- package/es/ele-file-list/components/file-table-item.js +21 -16
- package/es/ele-file-list/components/file-table.d.ts +6 -5
- package/es/ele-file-list/components/file-table.js +92 -86
- package/es/ele-file-list/icons.d.ts +2 -1
- package/es/ele-file-list/index.d.ts +8 -7
- package/es/ele-file-list/index.js +1 -11
- package/es/ele-file-list/props.d.ts +6 -5
- package/es/ele-file-list-tool/index.d.ts +4 -4
- package/es/ele-file-list-tool/index.js +2 -2
- package/es/ele-icon-select/components/icon-grid.d.ts +4 -3
- package/es/ele-icon-select/components/icon-grid.js +1 -1
- package/es/ele-icon-select/index.d.ts +27 -14
- package/es/ele-icon-select/index.js +33 -10
- package/es/ele-icon-select/props.d.ts +23 -17
- package/es/ele-icon-select/props.js +6 -1
- package/es/ele-icon-select/style/index.js +1 -0
- package/es/ele-icon-select/style/index.scss +16 -2
- package/es/ele-loading/index.d.ts +1 -6
- package/es/ele-loading/index.js +39 -43
- package/es/ele-loading/props.d.ts +5 -4
- package/es/ele-map-picker/components/map-view.d.ts +51 -27
- package/es/ele-map-picker/components/map-view.js +227 -176
- package/es/ele-map-picker/index.d.ts +45 -22
- package/es/ele-map-picker/index.js +22 -40
- package/es/ele-map-picker/props.d.ts +37 -12
- package/es/ele-map-picker/props.js +20 -6
- package/es/ele-map-picker/style/index.scss +195 -166
- package/es/ele-map-picker/types.d.ts +8 -4
- package/es/ele-menus/index.d.ts +19 -7
- package/es/ele-menus/index.js +78 -14
- package/es/ele-menus/props.d.ts +27 -16
- package/es/ele-menus/props.js +13 -3
- package/es/ele-menus/style/css-var.scss +1 -5
- package/es/ele-menus/style/index.js +2 -0
- package/es/ele-menus/style/index.scss +13 -11
- package/es/ele-menus/types.d.ts +9 -9
- package/es/ele-menus/util.d.ts +35 -16
- package/es/ele-menus/util.js +115 -80
- package/es/ele-modal/index.d.ts +18 -11
- package/es/ele-modal/index.js +175 -167
- package/es/ele-modal/props.d.ts +26 -23
- package/es/ele-modal/props.js +2 -0
- package/es/ele-modal/style/index.scss +134 -159
- package/es/ele-modal/types.d.ts +2 -10
- package/es/ele-modal/util.d.ts +20 -45
- package/es/ele-modal/util.js +53 -214
- package/es/ele-page/index.d.ts +1 -1
- package/es/ele-page/props.d.ts +2 -1
- package/es/ele-pagination/index.d.ts +20 -9
- package/es/ele-pagination/index.js +22 -13
- 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 +4 -3
- package/es/ele-popconfirm/index.js +6 -28
- package/es/ele-popconfirm/props.d.ts +32 -31
- package/es/ele-popconfirm/style/index.js +1 -1
- package/es/ele-popover/index.d.ts +7 -6
- package/es/ele-popover/index.js +6 -14
- package/es/ele-popover/props.d.ts +26 -25
- package/es/ele-popover/style/index.js +0 -1
- package/es/ele-printer/index.d.ts +7 -7
- package/es/ele-printer/index.js +11 -11
- package/es/ele-printer/props.d.ts +6 -5
- package/es/ele-printer/style/index.scss +1 -1
- package/es/ele-printer/util.d.ts +2 -1
- package/es/ele-printer/util.js +4 -2
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +94 -17
- package/es/ele-pro-layout/components/pro-header.js +177 -28
- package/es/ele-pro-layout/components/pro-iframe.d.ts +4 -3
- package/es/ele-pro-layout/components/pro-iframe.js +46 -23
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +30 -19
- package/es/ele-pro-layout/components/pro-sidebar.js +41 -16
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +32 -15
- package/es/ele-pro-layout/components/pro-sidebox.js +52 -15
- package/es/ele-pro-layout/components/pro-tabs.d.ts +6 -5
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
- package/es/ele-pro-layout/components/tab-dropdown.js +6 -2
- package/es/ele-pro-layout/index.d.ts +54 -39
- package/es/ele-pro-layout/index.js +319 -87
- package/es/ele-pro-layout/props.d.ts +17 -10
- package/es/ele-pro-layout/props.js +8 -1
- 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 +23 -3
- package/es/ele-pro-layout/style/sidebar.scss +0 -1
- package/es/ele-pro-layout/style/tabs.scss +20 -12
- package/es/ele-pro-layout/types.d.ts +30 -4
- package/es/ele-pro-layout/util.d.ts +5 -4
- package/es/ele-pro-table/components/table-tools.d.ts +102 -10
- package/es/ele-pro-table/components/table-tools.js +125 -8
- package/es/ele-pro-table/components/tool-column-list.d.ts +4 -3
- package/es/ele-pro-table/components/tool-column-list.js +4 -7
- package/es/ele-pro-table/components/tool-column.d.ts +5 -4
- package/es/ele-pro-table/components/tool-column.js +9 -9
- package/es/ele-pro-table/components/tool-export.d.ts +456 -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 +895 -0
- package/es/ele-pro-table/components/tool-print.js +555 -0
- package/es/ele-pro-table/index.d.ts +36 -30
- package/es/ele-pro-table/index.js +91 -19
- 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 +149 -5
- package/es/ele-pro-table/util.d.ts +58 -6
- package/es/ele-pro-table/util.js +146 -22
- package/es/ele-qr-code/index.d.ts +3 -2
- 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 +1 -1
- package/es/ele-segmented/index.d.ts +4 -3
- package/es/ele-segmented/index.js +1 -3
- package/es/ele-segmented/props.d.ts +3 -2
- package/es/ele-split-panel/index.d.ts +11 -9
- package/es/ele-split-panel/index.js +63 -59
- package/es/ele-split-panel/props.d.ts +5 -4
- package/es/ele-steps/index.d.ts +1 -2
- package/es/ele-steps/index.js +2 -4
- package/es/ele-steps/props.d.ts +10 -9
- package/es/ele-tab-tool/index.d.ts +1 -1
- package/es/ele-tab-tool/props.d.ts +2 -1
- package/es/ele-tab-wrap/index.d.ts +1 -1
- 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 +4 -1
- package/es/ele-table/index.js +2 -1
- package/es/ele-table/props.d.ts +4 -1
- 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 +24 -22
- package/es/ele-table-select/index.js +27 -26
- package/es/ele-table-select/props.d.ts +11 -10
- package/es/ele-tabs/components/tab-title.d.ts +6 -5
- package/es/ele-tabs/index.d.ts +13 -23
- package/es/ele-tabs/index.js +2 -6
- package/es/ele-tabs/props.d.ts +15 -21
- 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 +1 -1
- package/es/ele-text/props.d.ts +5 -4
- package/es/ele-tool/index.d.ts +2 -2
- 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 +1 -1
- package/es/ele-toolbar/props.d.ts +7 -6
- package/es/ele-tooltip/index.d.ts +4 -3
- package/es/ele-tooltip/index.js +12 -13
- package/es/ele-tooltip/props.d.ts +28 -22
- package/es/ele-tooltip/props.js +2 -0
- package/es/ele-tooltip/style/css-var.scss +4 -0
- package/es/ele-tooltip/style/index.scss +23 -0
- package/es/ele-tour/index.d.ts +5 -4
- package/es/ele-tour/index.js +80 -77
- 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 +10 -9
- 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 +10 -5
- package/es/ele-upload-list/components/list-item.js +7 -4
- package/es/ele-upload-list/index.d.ts +12 -5
- package/es/ele-upload-list/index.js +9 -8
- package/es/ele-upload-list/props.d.ts +11 -6
- package/es/ele-upload-list/props.js +5 -1
- package/es/ele-upload-list/style/index.scss +2 -1
- package/es/ele-virtual-table/components/body-cell.d.ts +85 -50
- package/es/ele-virtual-table/components/body-cell.js +79 -112
- package/es/ele-virtual-table/components/body-row.d.ts +72 -48
- package/es/ele-virtual-table/components/body-row.js +57 -52
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
- package/es/ele-virtual-table/components/cell-filter.d.ts +9 -8
- package/es/ele-virtual-table/components/cell-filter.js +8 -12
- package/es/ele-virtual-table/components/expand-row.d.ts +10 -9
- package/es/ele-virtual-table/components/expand-row.js +3 -3
- package/es/ele-virtual-table/components/footer-row.d.ts +33 -14
- package/es/ele-virtual-table/components/footer-row.js +29 -19
- package/es/ele-virtual-table/components/header-cell.d.ts +5 -4
- package/es/ele-virtual-table/components/header-row.d.ts +5 -4
- package/es/ele-virtual-table/index.d.ts +23 -32
- package/es/ele-virtual-table/index.js +134 -136
- package/es/ele-virtual-table/props.d.ts +50 -52
- 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 +66 -35
- package/es/ele-watermark/index.d.ts +12 -2
- package/es/ele-watermark/index.js +1 -1
- package/es/ele-watermark/props.d.ts +9 -3
- package/es/ele-watermark/props.js +5 -0
- package/es/ele-watermark/util.d.ts +3 -2
- package/es/ele-xg-player/index.d.ts +4 -4
- 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 +15 -3
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +15 -3
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +14 -2
- package/es/style/index.scss +1 -43
- package/es/style/plus.scss +43 -0
- package/es/style/themes/dark.scss +9 -15
- package/es/style/themes/default.scss +64 -84
- package/es/style/themes/rounded.scss +17 -31
- package/es/style/themes/theme-util.scss +0 -2
- package/es/utils/core.d.ts +5 -0
- package/es/utils/core.js +28 -0
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/message.d.ts +4 -3
- package/es/utils/resolvers.d.ts +4 -4
- package/es/utils/resolvers.js +33 -20
- package/lib/core-installer.d.ts +2 -2
- package/lib/ele-alert/index.cjs +4 -6
- package/lib/ele-alert/index.d.ts +1 -1
- package/lib/ele-alert/props.d.ts +10 -9
- package/lib/ele-app/el.d.ts +18 -1
- package/lib/ele-app/index.d.ts +1 -1
- package/lib/ele-app/plus.d.ts +12 -0
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/lib/ele-app/style/overwrite/message-box/index.scss +5 -0
- package/lib/ele-avatar-group/index.cjs +1 -3
- package/lib/ele-avatar-group/index.d.ts +4 -3
- package/lib/ele-avatar-group/props.d.ts +10 -9
- package/lib/ele-bar-code/index.d.ts +5 -4
- package/lib/ele-bar-code/props.d.ts +4 -3
- package/lib/ele-basic-select/index.cjs +39 -18
- package/lib/ele-basic-select/index.d.ts +17 -15
- 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 +1 -1
- package/lib/ele-bottom-bar/props.d.ts +4 -3
- package/lib/ele-breadcrumb/index.d.ts +3 -2
- package/lib/ele-breadcrumb/props.d.ts +5 -4
- package/lib/ele-card/index.d.ts +1 -1
- package/lib/ele-card/props.d.ts +7 -6
- package/lib/ele-check-card/components/card-item.d.ts +4 -3
- package/lib/ele-check-card/index.cjs +0 -5
- package/lib/ele-check-card/index.d.ts +6 -5
- package/lib/ele-check-card/props.d.ts +6 -5
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -0
- package/lib/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/lib/ele-config-provider/index.d.ts +3 -3
- 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 +45 -2
- package/lib/ele-config-provider/receiver.d.ts +5 -9
- package/lib/ele-config-provider/types.d.ts +6 -12
- package/lib/ele-copyable/index.cjs +0 -4
- package/lib/ele-copyable/index.d.ts +8 -9
- package/lib/ele-copyable/props.d.ts +9 -8
- package/lib/ele-count-up/index.d.ts +2 -1
- package/lib/ele-count-up/props.d.ts +3 -2
- package/lib/ele-cropper/components/cropper-preview.d.ts +1 -1
- package/lib/ele-cropper/components/cropper-tools.d.ts +4 -3
- package/lib/ele-cropper/index.cjs +0 -4
- package/lib/ele-cropper/index.d.ts +11 -10
- 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 +3 -2
- package/lib/ele-cropper-modal/props.d.ts +7 -6
- package/lib/ele-dashboard/index.cjs +7 -16
- package/lib/ele-dashboard/index.d.ts +1 -2
- package/lib/ele-dashboard/props.d.ts +3 -2
- package/lib/ele-data-table/index.cjs +9 -1
- package/lib/ele-data-table/index.d.ts +10 -15
- package/lib/ele-data-table/props.d.ts +38 -43
- 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.cjs +3 -9
- package/lib/ele-dot/index.d.ts +3 -5
- package/lib/ele-dot/props.d.ts +3 -2
- package/lib/ele-drawer/index.cjs +109 -112
- package/lib/ele-drawer/index.d.ts +8 -4
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +49 -106
- package/lib/ele-dropdown/index.cjs +7 -10
- package/lib/ele-dropdown/index.d.ts +6 -5
- package/lib/ele-dropdown/props.d.ts +22 -21
- package/lib/ele-dropdown/style/index.scss +2 -2
- package/lib/ele-edit-tag/index.cjs +17 -15
- package/lib/ele-edit-tag/index.d.ts +9 -2
- package/lib/ele-edit-tag/props.cjs +5 -1
- package/lib/ele-edit-tag/props.d.ts +14 -9
- package/lib/ele-edit-tag/style/index.scss +13 -0
- package/lib/ele-ellipsis/index.cjs +3 -26
- package/lib/ele-ellipsis/index.d.ts +7 -6
- package/lib/ele-ellipsis/props.d.ts +8 -7
- package/lib/ele-file-list/components/file-grid-item.cjs +16 -9
- package/lib/ele-file-list/components/file-grid-item.d.ts +6 -5
- package/lib/ele-file-list/components/file-grid.cjs +53 -49
- package/lib/ele-file-list/components/file-grid.d.ts +6 -5
- package/lib/ele-file-list/components/file-sort.d.ts +1 -1
- package/lib/ele-file-list/components/file-table-item.cjs +20 -15
- package/lib/ele-file-list/components/file-table-item.d.ts +6 -5
- package/lib/ele-file-list/components/file-table.cjs +91 -85
- package/lib/ele-file-list/components/file-table.d.ts +6 -5
- package/lib/ele-file-list/icons.d.ts +2 -1
- package/lib/ele-file-list/index.cjs +0 -10
- package/lib/ele-file-list/index.d.ts +8 -7
- package/lib/ele-file-list/props.d.ts +6 -5
- package/lib/ele-file-list-tool/index.cjs +2 -2
- package/lib/ele-file-list-tool/index.d.ts +4 -4
- package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
- package/lib/ele-icon-select/components/icon-grid.d.ts +4 -3
- package/lib/ele-icon-select/index.cjs +39 -16
- package/lib/ele-icon-select/index.d.ts +27 -14
- package/lib/ele-icon-select/props.cjs +6 -1
- package/lib/ele-icon-select/props.d.ts +23 -17
- package/lib/ele-icon-select/style/index.cjs +1 -0
- package/lib/ele-icon-select/style/index.scss +16 -2
- package/lib/ele-loading/index.cjs +38 -42
- package/lib/ele-loading/index.d.ts +1 -6
- package/lib/ele-loading/props.d.ts +5 -4
- package/lib/ele-map-picker/components/map-view.cjs +225 -174
- package/lib/ele-map-picker/components/map-view.d.ts +51 -27
- package/lib/ele-map-picker/index.cjs +21 -39
- package/lib/ele-map-picker/index.d.ts +45 -22
- package/lib/ele-map-picker/props.cjs +20 -6
- package/lib/ele-map-picker/props.d.ts +37 -12
- package/lib/ele-map-picker/style/index.scss +195 -166
- package/lib/ele-map-picker/types.d.ts +8 -4
- package/lib/ele-menus/index.cjs +76 -12
- package/lib/ele-menus/index.d.ts +19 -7
- package/lib/ele-menus/props.cjs +13 -3
- package/lib/ele-menus/props.d.ts +27 -16
- package/lib/ele-menus/style/css-var.scss +1 -5
- package/lib/ele-menus/style/index.cjs +2 -0
- package/lib/ele-menus/style/index.scss +13 -11
- package/lib/ele-menus/types.d.ts +9 -9
- package/lib/ele-menus/util.cjs +115 -80
- package/lib/ele-menus/util.d.ts +35 -16
- package/lib/ele-modal/index.cjs +187 -179
- package/lib/ele-modal/index.d.ts +18 -11
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +26 -23
- package/lib/ele-modal/style/index.scss +134 -159
- package/lib/ele-modal/types.d.ts +2 -10
- package/lib/ele-modal/util.cjs +53 -214
- package/lib/ele-modal/util.d.ts +20 -45
- package/lib/ele-page/index.d.ts +1 -1
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +21 -12
- package/lib/ele-pagination/index.d.ts +20 -9
- 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 +4 -3
- package/lib/ele-popconfirm/props.d.ts +32 -31
- package/lib/ele-popconfirm/style/index.cjs +1 -1
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +7 -6
- package/lib/ele-popover/props.d.ts +26 -25
- package/lib/ele-popover/style/index.cjs +0 -1
- package/lib/ele-printer/index.cjs +10 -10
- package/lib/ele-printer/index.d.ts +7 -7
- package/lib/ele-printer/props.d.ts +6 -5
- package/lib/ele-printer/style/index.scss +1 -1
- package/lib/ele-printer/util.cjs +4 -2
- 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 +176 -27
- package/lib/ele-pro-layout/components/pro-header.d.ts +94 -17
- package/lib/ele-pro-layout/components/pro-iframe.cjs +45 -22
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +4 -3
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +41 -16
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +30 -19
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +52 -15
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +32 -15
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +6 -5
- package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +6 -2
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
- package/lib/ele-pro-layout/index.cjs +318 -86
- package/lib/ele-pro-layout/index.d.ts +54 -39
- package/lib/ele-pro-layout/props.cjs +8 -1
- package/lib/ele-pro-layout/props.d.ts +17 -10
- 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 +23 -3
- package/lib/ele-pro-layout/style/sidebar.scss +0 -1
- package/lib/ele-pro-layout/style/tabs.scss +20 -12
- package/lib/ele-pro-layout/types.d.ts +30 -4
- package/lib/ele-pro-layout/util.d.ts +5 -4
- package/lib/ele-pro-table/components/table-tools.cjs +124 -7
- package/lib/ele-pro-table/components/table-tools.d.ts +102 -10
- package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +4 -3
- package/lib/ele-pro-table/components/tool-column.cjs +8 -8
- package/lib/ele-pro-table/components/tool-column.d.ts +5 -4
- package/lib/ele-pro-table/components/tool-export.cjs +448 -0
- package/lib/ele-pro-table/components/tool-export.d.ts +456 -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 +895 -0
- package/lib/ele-pro-table/index.cjs +89 -17
- package/lib/ele-pro-table/index.d.ts +36 -30
- 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 +149 -5
- package/lib/ele-pro-table/util.cjs +145 -21
- package/lib/ele-pro-table/util.d.ts +58 -6
- package/lib/ele-qr-code/index.d.ts +3 -2
- 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 +1 -1
- package/lib/ele-segmented/index.cjs +1 -3
- package/lib/ele-segmented/index.d.ts +4 -3
- package/lib/ele-segmented/props.d.ts +3 -2
- package/lib/ele-split-panel/index.cjs +62 -58
- package/lib/ele-split-panel/index.d.ts +11 -9
- package/lib/ele-split-panel/props.d.ts +5 -4
- package/lib/ele-steps/index.cjs +2 -4
- package/lib/ele-steps/index.d.ts +1 -2
- package/lib/ele-steps/props.d.ts +10 -9
- package/lib/ele-tab-tool/index.d.ts +1 -1
- 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 +1 -1
- 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 +4 -1
- package/lib/ele-table/props.cjs +3 -1
- package/lib/ele-table/props.d.ts +4 -1
- package/lib/ele-table/style/index.scss +35 -0
- package/lib/ele-table-select/index.cjs +27 -26
- package/lib/ele-table-select/index.d.ts +24 -22
- package/lib/ele-table-select/props.d.ts +11 -10
- package/lib/ele-tabs/components/tab-title.d.ts +6 -5
- package/lib/ele-tabs/index.cjs +2 -6
- package/lib/ele-tabs/index.d.ts +13 -23
- package/lib/ele-tabs/props.d.ts +15 -21
- 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 +1 -1
- package/lib/ele-text/props.d.ts +5 -4
- package/lib/ele-tool/index.cjs +1 -3
- package/lib/ele-tool/index.d.ts +2 -2
- package/lib/ele-tool/props.cjs +5 -0
- package/lib/ele-tool/props.d.ts +10 -2
- package/lib/ele-toolbar/index.d.ts +1 -1
- package/lib/ele-toolbar/props.d.ts +7 -6
- package/lib/ele-tooltip/index.cjs +12 -13
- package/lib/ele-tooltip/index.d.ts +4 -3
- package/lib/ele-tooltip/props.cjs +2 -0
- package/lib/ele-tooltip/props.d.ts +28 -22
- package/lib/ele-tooltip/style/css-var.scss +4 -0
- package/lib/ele-tooltip/style/index.scss +23 -0
- package/lib/ele-tour/index.cjs +79 -76
- package/lib/ele-tour/index.d.ts +5 -4
- 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 +10 -9
- 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.cjs +6 -3
- package/lib/ele-upload-list/components/list-item.d.ts +10 -5
- package/lib/ele-upload-list/index.cjs +8 -7
- package/lib/ele-upload-list/index.d.ts +12 -5
- package/lib/ele-upload-list/props.cjs +5 -1
- package/lib/ele-upload-list/props.d.ts +11 -6
- package/lib/ele-upload-list/style/index.scss +2 -1
- package/lib/ele-virtual-table/components/body-cell.cjs +78 -111
- package/lib/ele-virtual-table/components/body-cell.d.ts +85 -50
- package/lib/ele-virtual-table/components/body-row.cjs +57 -52
- package/lib/ele-virtual-table/components/body-row.d.ts +72 -48
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
- package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
- package/lib/ele-virtual-table/components/cell-filter.d.ts +9 -8
- package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
- package/lib/ele-virtual-table/components/expand-row.d.ts +10 -9
- package/lib/ele-virtual-table/components/footer-row.cjs +27 -17
- package/lib/ele-virtual-table/components/footer-row.d.ts +33 -14
- package/lib/ele-virtual-table/components/header-cell.d.ts +5 -4
- package/lib/ele-virtual-table/components/header-row.d.ts +5 -4
- package/lib/ele-virtual-table/index.cjs +132 -134
- package/lib/ele-virtual-table/index.d.ts +23 -32
- package/lib/ele-virtual-table/props.d.ts +50 -52
- 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 +65 -34
- package/lib/ele-virtual-table/util.d.ts +35 -10
- package/lib/ele-watermark/index.cjs +1 -1
- package/lib/ele-watermark/index.d.ts +12 -2
- package/lib/ele-watermark/props.cjs +5 -0
- package/lib/ele-watermark/props.d.ts +9 -3
- package/lib/ele-watermark/util.d.ts +3 -2
- package/lib/ele-xg-player/index.d.ts +4 -4
- 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 +15 -3
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +15 -3
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +14 -2
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/style/index.scss +1 -43
- package/lib/style/plus.scss +43 -0
- package/lib/style/themes/dark.scss +9 -15
- package/lib/style/themes/default.scss +64 -84
- package/lib/style/themes/rounded.scss +17 -31
- package/lib/style/themes/theme-util.scss +0 -2
- package/lib/utils/core.cjs +28 -0
- package/lib/utils/core.d.ts +5 -0
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message.d.ts +4 -3
- package/lib/utils/resolvers.cjs +33 -20
- package/lib/utils/resolvers.d.ts +4 -4
- package/package.json +24 -23
- package/es/ele-popover/style/css-var.scss +0 -8
- package/es/ele-popover/style/index.scss +0 -27
- package/lib/ele-popover/style/css-var.scss +0 -8
- package/lib/ele-popover/style/index.scss +0 -27
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { BodyColumn, BodyColumns, HeaderRows, CellFilterChangeParams, SortBy, ScrollStrategy, ScrollPos, ColSize, VirtualRow } from './types';
|
|
2
|
+
import { DataKey, DataItem, Column, Filter, OrderValue } from '../ele-data-table/types';
|
|
3
|
+
import { ElTableV2Instance, ElTableV2Props } from '../ele-app/el';
|
|
4
|
+
import { Ref } from 'vue';
|
|
5
|
+
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
7
|
rowHeight: NumberConstructor;
|
|
7
8
|
stripe: {
|
|
8
9
|
type: BooleanConstructor;
|
|
@@ -65,14 +66,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
66
|
default: () => never[];
|
|
66
67
|
};
|
|
67
68
|
height: (StringConstructor | NumberConstructor)[];
|
|
68
|
-
scrollbarAlwaysOn:
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
69
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
72
70
|
showOverflowTooltip: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
73
71
|
emptyText: StringConstructor;
|
|
74
72
|
indent: {
|
|
75
|
-
/** 是否显示表尾 */
|
|
76
73
|
type: NumberConstructor;
|
|
77
74
|
default: number;
|
|
78
75
|
};
|
|
@@ -138,7 +135,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
135
|
bodyColSizes: Ref<ColSize[]>;
|
|
139
136
|
colsSumWidth: Ref<number>;
|
|
140
137
|
tableWidth: Ref<number>;
|
|
141
|
-
tableData: Ref<
|
|
138
|
+
tableData: Ref<VirtualRow[]>;
|
|
142
139
|
isCheckAll: Ref<boolean>;
|
|
143
140
|
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
144
141
|
checkedRowKeys: Ref<Set<DataKey>>;
|
|
@@ -146,8 +143,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
143
|
sortBy: Ref<SortBy | undefined>;
|
|
147
144
|
filtered: Filter;
|
|
148
145
|
tableTooltipProps: Partial<import("../ele-tooltip/props").TooltipProps>;
|
|
149
|
-
|
|
150
|
-
tableExpandCol: import("vue").ComputedRef<Partial<import("element-plus").Column<DataItem>> | undefined>;
|
|
146
|
+
tableExpandCol: import("vue").ComputedRef<BodyColumn | undefined>;
|
|
151
147
|
hasExpandCol: import("vue").ComputedRef<boolean>;
|
|
152
148
|
tableExpandColumnKey: import("vue").ComputedRef<string | undefined>;
|
|
153
149
|
tableRowHeight: import("vue").ComputedRef<number>;
|
|
@@ -160,13 +156,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
160
156
|
tableEmptyText: import("vue").ComputedRef<string>;
|
|
161
157
|
tableEmptyProps: import("vue").ComputedRef<import("../ele-app/el").ElEmptyProps>;
|
|
162
158
|
onTableFilterChange: (params: CellFilterChangeParams) => void;
|
|
163
|
-
onCellCheckedChange: (row:
|
|
164
|
-
onCellExpandChange: (row:
|
|
165
|
-
onCellClick: (row:
|
|
166
|
-
onCellDblclick: (row:
|
|
167
|
-
onCellContextmenu: (row:
|
|
168
|
-
onCellMouseenter: (row:
|
|
169
|
-
onCellMouseleave: (row:
|
|
159
|
+
onCellCheckedChange: (row: VirtualRow, checked: boolean) => void;
|
|
160
|
+
onCellExpandChange: (row: VirtualRow, expanded: boolean, children?: DataItem[]) => void;
|
|
161
|
+
onCellClick: (row: VirtualRow, col: Column, e: MouseEvent) => void;
|
|
162
|
+
onCellDblclick: (row: VirtualRow, col: Column, e: MouseEvent) => void;
|
|
163
|
+
onCellContextmenu: (row: VirtualRow, col: Column, e: MouseEvent) => void;
|
|
164
|
+
onCellMouseenter: (row: VirtualRow, col: Column, e: MouseEvent) => void;
|
|
165
|
+
onCellMouseleave: (row: VirtualRow, col: Column, e: MouseEvent) => void;
|
|
170
166
|
onHeaderCellClick: (col: Column | undefined, e: MouseEvent) => void;
|
|
171
167
|
onHeaderCellContextmenu: (col: Column, e: MouseEvent) => void;
|
|
172
168
|
onHeaderCellMouseenter: () => void;
|
|
@@ -184,7 +180,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
184
180
|
getSelectionRows: () => DataItem[];
|
|
185
181
|
toggleRowSelection: (row: DataItem, selected?: boolean) => void;
|
|
186
182
|
toggleAllSelection: () => void;
|
|
187
|
-
toggleRowExpansion: (row:
|
|
183
|
+
toggleRowExpansion: (row: VirtualRow, expanded?: boolean) => void;
|
|
188
184
|
setCurrentRow: (row?: DataItem | null) => void;
|
|
189
185
|
setCurrentRowKey: (key?: DataKey | null) => void;
|
|
190
186
|
getCurrentRow: () => DataItem | undefined;
|
|
@@ -207,18 +203,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
207
203
|
cellDblclick: (_row: DataItem, _column: Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
208
204
|
cellContextmenu: (_row: DataItem, _column: Column, _cell: HTMLTableCellElement, _e: MouseEvent) => boolean;
|
|
209
205
|
rowClick: (_row: DataItem, _column: Column, _e: MouseEvent) => boolean;
|
|
210
|
-
rowContextmenu: (_row: DataItem, _column: Column, _e: MouseEvent) => boolean;
|
|
206
|
+
rowContextmenu: (_row: DataItem, _column: Column, _e: MouseEvent) => boolean;
|
|
211
207
|
rowDblclick: (_row: DataItem, _column: Column, _e: MouseEvent) => boolean;
|
|
212
208
|
headerClick: (_column: Column, _e: MouseEvent) => boolean;
|
|
213
209
|
headerContextmenu: (_column: Column, _e: MouseEvent) => boolean;
|
|
214
210
|
sortChange: (_sorter: import("../ele-data-table/types").Sorter) => boolean;
|
|
215
|
-
filterChange: (_filter: Filter) => boolean;
|
|
211
|
+
filterChange: (_filter: Filter) => boolean;
|
|
216
212
|
currentChange: (_current?: DataItem | null | undefined, _old?: DataItem | null | undefined) => boolean;
|
|
217
|
-
/** 表头所有行列宽 */
|
|
218
213
|
headerDragend: (_width: number, _old: number, _column: Column, _e: MouseEvent) => boolean;
|
|
219
214
|
expandChange: (_row: DataItem, _expanded: boolean) => boolean;
|
|
220
215
|
'update:currentRowKey': (_currentRowKey?: DataKey | undefined) => boolean;
|
|
221
|
-
'update:selectedRowKeys': (_selectedRowKeys?: DataKey[] | undefined) => boolean;
|
|
216
|
+
'update:selectedRowKeys': (_selectedRowKeys?: DataKey[] | undefined) => boolean; /** 表格高度 */
|
|
222
217
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
223
218
|
rowHeight: NumberConstructor;
|
|
224
219
|
stripe: {
|
|
@@ -282,14 +277,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
282
277
|
default: () => never[];
|
|
283
278
|
};
|
|
284
279
|
height: (StringConstructor | NumberConstructor)[];
|
|
285
|
-
scrollbarAlwaysOn:
|
|
286
|
-
type: BooleanConstructor;
|
|
287
|
-
default: boolean;
|
|
288
|
-
};
|
|
280
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
289
281
|
showOverflowTooltip: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
290
282
|
emptyText: StringConstructor;
|
|
291
283
|
indent: {
|
|
292
|
-
/** 是否显示表尾 */
|
|
293
284
|
type: NumberConstructor;
|
|
294
285
|
default: number;
|
|
295
286
|
};
|
|
@@ -346,6 +337,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
346
337
|
flexible: BooleanConstructor;
|
|
347
338
|
}>> & {
|
|
348
339
|
onSelect?: ((_selection: DataItem[], _row: DataItem) => any) | undefined;
|
|
340
|
+
onExpandChange?: ((_row: DataItem, _expanded: boolean) => any) | undefined;
|
|
349
341
|
onSelectAll?: ((_selection: DataItem[]) => any) | undefined;
|
|
350
342
|
onSelectionChange?: ((_selection: DataItem[]) => any) | undefined;
|
|
351
343
|
onCellMouseEnter?: ((_row: DataItem, _column: Column, _cell: HTMLTableCellElement, _e: MouseEvent) => any) | undefined;
|
|
@@ -362,7 +354,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
362
354
|
onFilterChange?: ((_filter: Filter) => any) | undefined;
|
|
363
355
|
onCurrentChange?: ((_current?: DataItem | null | undefined, _old?: DataItem | null | undefined) => any) | undefined;
|
|
364
356
|
onHeaderDragend?: ((_width: number, _old: number, _column: Column, _e: MouseEvent) => any) | undefined;
|
|
365
|
-
onExpandChange?: ((_row: DataItem, _expanded: boolean) => any) | undefined;
|
|
366
357
|
"onUpdate:currentRowKey"?: ((_currentRowKey?: DataKey | undefined) => any) | undefined;
|
|
367
358
|
"onUpdate:selectedRowKeys"?: ((_selectedRowKeys?: DataKey[] | undefined) => any) | undefined;
|
|
368
359
|
}, {
|
|
@@ -385,9 +376,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
376
|
} | undefined;
|
|
386
377
|
tableLayout: "auto" | "fixed";
|
|
387
378
|
flexible: boolean;
|
|
379
|
+
sticky: boolean;
|
|
388
380
|
headerEllipsis: boolean;
|
|
389
381
|
slotNormalize: boolean;
|
|
390
|
-
sticky: boolean;
|
|
391
382
|
bottomLine: boolean;
|
|
392
383
|
emptyProps: import("../ele-data-table/types").TableEmptyProps;
|
|
393
384
|
reserveCurrent: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, computed, onActivated, onDeactivated, watch, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, mergeProps, createSlots, withCtx, renderList, renderSlot, normalizeProps, guardReactiveProps, createCommentVNode, toDisplayString, createVNode } from "vue";
|
|
2
2
|
import { ElTableV2, ElEmpty, useLocale } from "element-plus";
|
|
3
|
-
import { eachTree } from "../utils/core";
|
|
3
|
+
import { eachTree, findTree } from "../utils/core";
|
|
4
4
|
import EleTooltip from "../ele-tooltip/index";
|
|
5
|
-
import { useEmits, getEmptyProps, isReserveChecked,
|
|
5
|
+
import { useEmits, getEmptyProps, isReserveChecked, valueIsChanged, arrayIsChanged, getValue, getRowKeys, mergeTooltipProps, getGlobalTooltipProps } from "../ele-data-table/util";
|
|
6
6
|
import { useAutoResize, getDefaultSort, getDefaultFiltered, getTreeProps, getRowHeight, isAutoRowHeight, getTableHeight, analyseColumns, getColKey, transformTableData, getSelectableFunction, getSortBy, getOrderValue, getRowByKey, getKeysAndList, computeColSizes, colSizesIsChanged, getTableColumns, getColumnByKey, getSortOrder, cellIsOverflow } from "./util";
|
|
7
7
|
import HeaderRow from "./components/header-row";
|
|
8
8
|
import BodyRow from "./components/body-row";
|
|
@@ -35,7 +35,7 @@ const _sfc_main = defineComponent({
|
|
|
35
35
|
};
|
|
36
36
|
const rootRef = ref(null);
|
|
37
37
|
const tableRef = ref(null);
|
|
38
|
-
const tableKey = ref(
|
|
38
|
+
const tableKey = ref(0);
|
|
39
39
|
const headerRows = ref([]);
|
|
40
40
|
const bodyCols = ref([]);
|
|
41
41
|
const headerRowSizes = ref([]);
|
|
@@ -81,9 +81,12 @@ const _sfc_main = defineComponent({
|
|
|
81
81
|
return treeTableProps.value.hasChildrenName;
|
|
82
82
|
});
|
|
83
83
|
const isTreeData = computed(() => {
|
|
84
|
-
return tableData.value.some(
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
return tableData.value.some(
|
|
85
|
+
(d) => {
|
|
86
|
+
var _a;
|
|
87
|
+
return ((_a = d.children) == null ? void 0 : _a.length) || props.lazy && d.hasChildren;
|
|
88
|
+
}
|
|
89
|
+
);
|
|
87
90
|
});
|
|
88
91
|
const tableExpandCol = computed(() => {
|
|
89
92
|
return bodyCols.value.find((d) => {
|
|
@@ -155,19 +158,19 @@ const _sfc_main = defineComponent({
|
|
|
155
158
|
rowClass: (params) => {
|
|
156
159
|
const classes = ["ele-table-tr"];
|
|
157
160
|
const row = params.rowData;
|
|
158
|
-
const rowIndex = row.
|
|
159
|
-
if (row && row.
|
|
161
|
+
const rowIndex = row.rowIndex;
|
|
162
|
+
if (row && row.isExpandRow === true) {
|
|
160
163
|
classes.push("is-expand-row");
|
|
161
164
|
} else if (row) {
|
|
162
165
|
if (props.stripe && (rowIndex + 1) % 2 === 0) {
|
|
163
166
|
classes.push("is-even");
|
|
164
167
|
}
|
|
165
|
-
if (props.highlightCurrentRow && selectedRowKey.value != null && selectedRowKey.value === row.
|
|
168
|
+
if (props.highlightCurrentRow && selectedRowKey.value != null && selectedRowKey.value === row.rowId) {
|
|
166
169
|
classes.push("is-current");
|
|
167
170
|
}
|
|
168
171
|
const rowClass = props.rowClassName;
|
|
169
172
|
if (typeof rowClass === "function") {
|
|
170
|
-
const custom = rowClass({ row, rowIndex });
|
|
173
|
+
const custom = rowClass({ row: row.rowData, rowIndex });
|
|
171
174
|
if (custom) {
|
|
172
175
|
classes.push(custom);
|
|
173
176
|
}
|
|
@@ -177,10 +180,10 @@ const _sfc_main = defineComponent({
|
|
|
177
180
|
}
|
|
178
181
|
return classes.join(" ");
|
|
179
182
|
},
|
|
180
|
-
rowKey: "
|
|
183
|
+
rowKey: "rowId",
|
|
181
184
|
rowProps: (params) => {
|
|
182
185
|
const row = params.rowData;
|
|
183
|
-
const opt2 = { row, rowIndex: row.
|
|
186
|
+
const opt2 = { row: row.rowData, rowIndex: row.rowIndex };
|
|
184
187
|
const style = props.rowStyle;
|
|
185
188
|
return { style: typeof style === "function" ? style(opt2) : style };
|
|
186
189
|
},
|
|
@@ -269,9 +272,9 @@ const _sfc_main = defineComponent({
|
|
|
269
272
|
}
|
|
270
273
|
};
|
|
271
274
|
const onCellCheckedChange = (row, checked) => {
|
|
272
|
-
toggleSelected(row, checked);
|
|
275
|
+
toggleSelected(row.rowData, row.rowId, checked);
|
|
273
276
|
const selection = getSelectionRows();
|
|
274
|
-
events.onSelect(selection, row);
|
|
277
|
+
events.onSelect(selection, row.rowData);
|
|
275
278
|
events.onSelectionChange(selection);
|
|
276
279
|
};
|
|
277
280
|
const onCellExpandChange = (row, expanded, children) => {
|
|
@@ -280,19 +283,20 @@ const _sfc_main = defineComponent({
|
|
|
280
283
|
children,
|
|
281
284
|
hasExpandCol.value,
|
|
282
285
|
treeChildrenName.value,
|
|
286
|
+
treeHasChildrenName.value,
|
|
283
287
|
props.rowKey,
|
|
284
288
|
getSelectableFunction(bodyCols.value)
|
|
285
289
|
);
|
|
286
290
|
let index2 = -1;
|
|
287
291
|
eachTree(tableData.value, (d) => {
|
|
288
292
|
index2++;
|
|
289
|
-
if (d.
|
|
293
|
+
if (d.rowId === row.rowId) {
|
|
290
294
|
d.children = childs;
|
|
291
295
|
if (!childs.length) {
|
|
292
|
-
d
|
|
296
|
+
d.hasChildren = false;
|
|
293
297
|
}
|
|
294
298
|
}
|
|
295
|
-
d.
|
|
299
|
+
d.rowIndex = index2;
|
|
296
300
|
});
|
|
297
301
|
if (!childs.length) {
|
|
298
302
|
return;
|
|
@@ -302,46 +306,47 @@ const _sfc_main = defineComponent({
|
|
|
302
306
|
};
|
|
303
307
|
const onCellClick = (row, col, e) => {
|
|
304
308
|
const cell = e.currentTarget;
|
|
305
|
-
|
|
309
|
+
const rowData = row.rowData;
|
|
310
|
+
const rowDataKey = row.rowId;
|
|
311
|
+
events.onCellClick(rowData, col, cell, e);
|
|
306
312
|
if (props.highlightCurrentRow) {
|
|
307
|
-
setCurrentRow(
|
|
313
|
+
setCurrentRow(rowData);
|
|
308
314
|
}
|
|
309
|
-
if (props.rowClickChecked && !row.
|
|
315
|
+
if (props.rowClickChecked && !row.isDisabled) {
|
|
310
316
|
if (props.rowClickChecked === "smart" && (!checkedRowKeys.value.size || checkedRowKeys.value.size === 1)) {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
checkedRowKeys.value = /* @__PURE__ */ new Set([key]);
|
|
317
|
+
if (rowDataKey != null && !checkedRowKeys.value.has(rowDataKey)) {
|
|
318
|
+
checkedRowKeys.value = /* @__PURE__ */ new Set([rowDataKey]);
|
|
314
319
|
tableState.checked.clear();
|
|
315
|
-
tableState.checked.set(
|
|
320
|
+
tableState.checked.set(rowDataKey, rowData);
|
|
316
321
|
updateIsCheckAll();
|
|
317
|
-
updateSelectedRowKeys([
|
|
318
|
-
events.onSelectionChange([
|
|
322
|
+
updateSelectedRowKeys([rowDataKey]);
|
|
323
|
+
events.onSelectionChange([rowData]);
|
|
319
324
|
}
|
|
320
325
|
} else {
|
|
321
|
-
toggleSelected(
|
|
326
|
+
toggleSelected(rowData, rowDataKey);
|
|
322
327
|
events.onSelectionChange(getSelectionRows());
|
|
323
328
|
}
|
|
324
329
|
}
|
|
325
|
-
events.onRowClick(
|
|
330
|
+
events.onRowClick(rowData, col, e);
|
|
326
331
|
};
|
|
327
332
|
const onCellDblclick = (row, col, e) => {
|
|
328
333
|
const cell = e.currentTarget;
|
|
329
|
-
events.onCellDblclick(row, col, cell, e);
|
|
330
|
-
events.onRowDblclick(row, col, e);
|
|
334
|
+
events.onCellDblclick(row.rowData, col, cell, e);
|
|
335
|
+
events.onRowDblclick(row.rowData, col, e);
|
|
331
336
|
};
|
|
332
337
|
const onCellContextmenu = (row, col, e) => {
|
|
333
338
|
const cell = e.currentTarget;
|
|
334
|
-
events.onCellContextmenu(row, col, cell, e);
|
|
335
|
-
events.onRowContextmenu(row, col, e);
|
|
339
|
+
events.onCellContextmenu(row.rowData, col, cell, e);
|
|
340
|
+
events.onRowContextmenu(row.rowData, col, e);
|
|
336
341
|
};
|
|
337
342
|
const onCellMouseenter = (row, col, e) => {
|
|
338
343
|
const cell = e.currentTarget;
|
|
339
344
|
triggerTooltip(cell, col);
|
|
340
|
-
events.onCellMouseEnter(row, col, cell, e);
|
|
345
|
+
events.onCellMouseEnter(row.rowData, col, cell, e);
|
|
341
346
|
};
|
|
342
347
|
const onCellMouseleave = (row, col, e) => {
|
|
343
348
|
const cell = e.currentTarget;
|
|
344
|
-
events.onCellMouseLeave(row, col, cell, e);
|
|
349
|
+
events.onCellMouseLeave(row.rowData, col, cell, e);
|
|
345
350
|
};
|
|
346
351
|
const onHeaderCellClick = (col, e) => {
|
|
347
352
|
if (col && (col.sortable === true || col.sortable === "custom")) {
|
|
@@ -395,6 +400,7 @@ const _sfc_main = defineComponent({
|
|
|
395
400
|
props.data,
|
|
396
401
|
hasExpandCol.value,
|
|
397
402
|
treeChildrenName.value,
|
|
403
|
+
treeHasChildrenName.value,
|
|
398
404
|
props.rowKey,
|
|
399
405
|
getSelectableFunction(bodyCols.value)
|
|
400
406
|
);
|
|
@@ -418,7 +424,7 @@ const _sfc_main = defineComponent({
|
|
|
418
424
|
const row = getRowByKey(key, tableData.value);
|
|
419
425
|
if (row != null || props.reserveCurrent) {
|
|
420
426
|
tableState.oldRow = tableState.row;
|
|
421
|
-
tableState.row = row || item || void 0;
|
|
427
|
+
tableState.row = (row == null ? void 0 : row.rowData) || item || void 0;
|
|
422
428
|
if (tableState.row == null && props.cacheData != null) {
|
|
423
429
|
tableState.row = getRowByKey(
|
|
424
430
|
key,
|
|
@@ -446,7 +452,7 @@ const _sfc_main = defineComponent({
|
|
|
446
452
|
if (key != null) {
|
|
447
453
|
const row = getRowByKey(key, tableData.value);
|
|
448
454
|
if (row != null) {
|
|
449
|
-
updateSelectedState(key, row);
|
|
455
|
+
updateSelectedState(key, row.rowData);
|
|
450
456
|
} else if (!props.reserveCurrent) {
|
|
451
457
|
updateSelectedState(null);
|
|
452
458
|
} else if (props.cacheData != null) {
|
|
@@ -473,7 +479,7 @@ const _sfc_main = defineComponent({
|
|
|
473
479
|
checkedRowKeys.value.forEach((key2) => {
|
|
474
480
|
const index2 = dataKeys.indexOf(key2);
|
|
475
481
|
if (index2 !== -1) {
|
|
476
|
-
const row = list[index2];
|
|
482
|
+
const row = list[index2].rowData;
|
|
477
483
|
if (tableState.checked.get(key2) !== row) {
|
|
478
484
|
tableState.checked.set(key2, row);
|
|
479
485
|
}
|
|
@@ -506,31 +512,24 @@ const _sfc_main = defineComponent({
|
|
|
506
512
|
isCheckAll.value = false;
|
|
507
513
|
return;
|
|
508
514
|
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
}
|
|
515
|
-
});
|
|
516
|
-
isCheckAll.value = checked;
|
|
515
|
+
const unchecked = findTree(
|
|
516
|
+
tableData.value,
|
|
517
|
+
(d) => !d.isExpandRow && !d.isDisabled && d.rowId != null && !checkedRowKeys.value.has(d.rowId)
|
|
518
|
+
);
|
|
519
|
+
isCheckAll.value = unchecked == null;
|
|
517
520
|
};
|
|
518
|
-
const toggleSelected = (row, selected) => {
|
|
519
|
-
const
|
|
520
|
-
if (dataKey == null) {
|
|
521
|
-
return;
|
|
522
|
-
}
|
|
523
|
-
const isChecked = checkedRowKeys.value.has(dataKey);
|
|
521
|
+
const toggleSelected = (row, rowDataKey, selected) => {
|
|
522
|
+
const isChecked = checkedRowKeys.value.has(rowDataKey);
|
|
524
523
|
const checked = selected == null ? !isChecked : selected;
|
|
525
524
|
if (checked === isChecked) {
|
|
526
525
|
return;
|
|
527
526
|
}
|
|
528
527
|
if (checked) {
|
|
529
|
-
checkedRowKeys.value.add(
|
|
530
|
-
tableState.checked.set(
|
|
528
|
+
checkedRowKeys.value.add(rowDataKey);
|
|
529
|
+
tableState.checked.set(rowDataKey, row);
|
|
531
530
|
} else {
|
|
532
|
-
checkedRowKeys.value.delete(
|
|
533
|
-
tableState.checked.delete(
|
|
531
|
+
checkedRowKeys.value.delete(rowDataKey);
|
|
532
|
+
tableState.checked.delete(rowDataKey);
|
|
534
533
|
}
|
|
535
534
|
updateIsCheckAll();
|
|
536
535
|
updateSelectedRowKeys(Array.from(checkedRowKeys.value));
|
|
@@ -577,7 +576,7 @@ const _sfc_main = defineComponent({
|
|
|
577
576
|
keys.forEach((key) => {
|
|
578
577
|
const index2 = dataKeys.indexOf(key);
|
|
579
578
|
if (index2 !== -1) {
|
|
580
|
-
tableState.checked.set(key, list[index2]);
|
|
579
|
+
tableState.checked.set(key, list[index2].rowData);
|
|
581
580
|
} else if (props.cacheData != null) {
|
|
582
581
|
const i = cacheKeys.indexOf(key);
|
|
583
582
|
if (i !== -1) {
|
|
@@ -590,9 +589,9 @@ const _sfc_main = defineComponent({
|
|
|
590
589
|
tableState.checked.clear();
|
|
591
590
|
if (keys.length) {
|
|
592
591
|
eachTree(tableData.value, (d) => {
|
|
593
|
-
if (!d.
|
|
594
|
-
checkedRowKeys.value.add(d.
|
|
595
|
-
tableState.checked.set(d.
|
|
592
|
+
if (!d.isExpandRow && d.rowId != null && keys.includes(d.rowId)) {
|
|
593
|
+
checkedRowKeys.value.add(d.rowId);
|
|
594
|
+
tableState.checked.set(d.rowId, d.rowData);
|
|
596
595
|
}
|
|
597
596
|
});
|
|
598
597
|
}
|
|
@@ -615,9 +614,9 @@ const _sfc_main = defineComponent({
|
|
|
615
614
|
const keys = [];
|
|
616
615
|
const rows = [];
|
|
617
616
|
eachTree(tableData.value, (row) => {
|
|
618
|
-
if (row.children && row.children.length && row.
|
|
619
|
-
keys.push(row.
|
|
620
|
-
rows.push(row);
|
|
617
|
+
if (row.children && row.children.length && row.rowId != null) {
|
|
618
|
+
keys.push(row.rowId);
|
|
619
|
+
rows.push(row.rowData);
|
|
621
620
|
}
|
|
622
621
|
});
|
|
623
622
|
expandedRowKeys.value = keys;
|
|
@@ -644,7 +643,7 @@ const _sfc_main = defineComponent({
|
|
|
644
643
|
return;
|
|
645
644
|
}
|
|
646
645
|
const oldSelection = getSelectionRows();
|
|
647
|
-
toggleSelected(row, selected);
|
|
646
|
+
toggleSelected(row, key, selected);
|
|
648
647
|
const selection = getSelectionRows();
|
|
649
648
|
if (arrayIsChanged(oldSelection, selection)) {
|
|
650
649
|
events.onSelectionChange(selection);
|
|
@@ -658,9 +657,9 @@ const _sfc_main = defineComponent({
|
|
|
658
657
|
if (checkedRowKeys.value.size) {
|
|
659
658
|
if (tableState.reserveChecked) {
|
|
660
659
|
eachTree(tableData.value, (d) => {
|
|
661
|
-
if (!d.
|
|
662
|
-
checkedRowKeys.value.delete(d.
|
|
663
|
-
tableState.checked.delete(d.
|
|
660
|
+
if (!d.isExpandRow && d.rowId != null) {
|
|
661
|
+
checkedRowKeys.value.delete(d.rowId);
|
|
662
|
+
tableState.checked.delete(d.rowId);
|
|
664
663
|
}
|
|
665
664
|
});
|
|
666
665
|
isCheckAll.value = false;
|
|
@@ -676,9 +675,9 @@ const _sfc_main = defineComponent({
|
|
|
676
675
|
return;
|
|
677
676
|
}
|
|
678
677
|
eachTree(tableData.value, (d) => {
|
|
679
|
-
if (!d.
|
|
680
|
-
checkedRowKeys.value.add(d.
|
|
681
|
-
tableState.checked.set(d.
|
|
678
|
+
if (!d.isExpandRow && !d.isDisabled && d.rowId != null) {
|
|
679
|
+
checkedRowKeys.value.add(d.rowId);
|
|
680
|
+
tableState.checked.set(d.rowId, d.rowData);
|
|
682
681
|
}
|
|
683
682
|
});
|
|
684
683
|
isCheckAll.value = true;
|
|
@@ -688,10 +687,7 @@ const _sfc_main = defineComponent({
|
|
|
688
687
|
events.onSelectAll(selection);
|
|
689
688
|
};
|
|
690
689
|
const toggleRowExpansion = (row, expanded) => {
|
|
691
|
-
const dataKey =
|
|
692
|
-
if (dataKey == null) {
|
|
693
|
-
return;
|
|
694
|
-
}
|
|
690
|
+
const dataKey = row.rowId;
|
|
695
691
|
const isSpread = expandedRowKeys.value.includes(dataKey);
|
|
696
692
|
const spread = expanded == null ? !isSpread : expanded;
|
|
697
693
|
if (spread === isSpread) {
|
|
@@ -703,7 +699,7 @@ const _sfc_main = defineComponent({
|
|
|
703
699
|
const index2 = expandedRowKeys.value.findIndex((t2) => t2 === dataKey);
|
|
704
700
|
expandedRowKeys.value.splice(index2, 1);
|
|
705
701
|
}
|
|
706
|
-
events.onExpandChange(row, spread);
|
|
702
|
+
events.onExpandChange(row.rowData, spread);
|
|
707
703
|
};
|
|
708
704
|
const setCurrentRow = (row) => {
|
|
709
705
|
updateSelectedState(getValue(row, props.rowKey), row);
|
|
@@ -925,7 +921,6 @@ const _sfc_main = defineComponent({
|
|
|
925
921
|
sortBy,
|
|
926
922
|
filtered,
|
|
927
923
|
tableTooltipProps,
|
|
928
|
-
treeHasChildrenName,
|
|
929
924
|
tableExpandCol,
|
|
930
925
|
hasExpandCol,
|
|
931
926
|
tableExpandColumnKey,
|
|
@@ -1055,67 +1050,70 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1055
1050
|
})
|
|
1056
1051
|
]), 1032, ["headerCols", "headerColSizes", "headerIndex", "sortBy", "filtered", "isCheckAll", "isIndeterminate", "disabledCheckbox", "tableSize", "headerCellClass", "headerCellStyle", "rowHeight", "onFilterChange", "onCellClick", "onCellContextmenu", "onCellMouseenter"])) : createCommentVNode("", true)
|
|
1057
1052
|
]),
|
|
1058
|
-
row: withCtx((rowProps) =>
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1053
|
+
row: withCtx((rowProps) => {
|
|
1054
|
+
var _a;
|
|
1055
|
+
return [
|
|
1056
|
+
rowProps && rowProps.rowData && rowProps.rowData.isExpandRow ? (openBlock(), createBlock(_component_ExpandRow, {
|
|
1057
|
+
key: 0,
|
|
1058
|
+
column: (_a = _ctx.tableExpandCol) == null ? void 0 : _a.originalCol,
|
|
1059
|
+
rowIndex: rowProps.rowData.rowIndex,
|
|
1060
|
+
rowData: rowProps.rowData.rowData,
|
|
1061
|
+
onMouseenter: _ctx.onExpandCellMouseenter
|
|
1062
|
+
}, createSlots({ _: 2 }, [
|
|
1063
|
+
renderList(Object.keys(_ctx.$slots).filter(
|
|
1064
|
+
(k) => !["default", "empty", "append"].includes(k)
|
|
1065
|
+
), (name) => {
|
|
1066
|
+
return {
|
|
1067
|
+
name,
|
|
1068
|
+
fn: withCtx((slotProps) => [
|
|
1069
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps || {})))
|
|
1070
|
+
])
|
|
1071
|
+
};
|
|
1072
|
+
})
|
|
1073
|
+
]), 1032, ["column", "rowIndex", "rowData", "onMouseenter"])) : rowProps && rowProps.rowData && rowProps.rowData.rowData ? (openBlock(), createBlock(_component_BodyRow, {
|
|
1074
|
+
key: 1,
|
|
1075
|
+
bodyCols: _ctx.bodyCols,
|
|
1076
|
+
colSizes: _ctx.bodyColSizes,
|
|
1077
|
+
rowIndex: rowProps.rowData.rowIndex,
|
|
1078
|
+
rowItem: rowProps.rowData,
|
|
1079
|
+
rowId: rowProps.rowData.rowId,
|
|
1080
|
+
checkedRowKeys: _ctx.checkedRowKeys,
|
|
1081
|
+
bodyCellClass: _ctx.cellClassName,
|
|
1082
|
+
bodyCellStyle: _ctx.cellStyle,
|
|
1083
|
+
spanMethod: _ctx.spanMethod,
|
|
1084
|
+
tableTooltipProps: _ctx.showOverflowTooltip,
|
|
1085
|
+
pageIndex: _ctx.pageIndex,
|
|
1086
|
+
rowHeight: _ctx.tableRowHeight,
|
|
1087
|
+
tableSize: _ctx.size,
|
|
1088
|
+
expandColumnKey: _ctx.tableExpandColumnKey,
|
|
1089
|
+
expandedRowKeys: _ctx.expandedRowKeys,
|
|
1090
|
+
lazy: _ctx.lazy,
|
|
1091
|
+
load: _ctx.load,
|
|
1092
|
+
level: rowProps.depth,
|
|
1093
|
+
indent: _ctx.indent,
|
|
1094
|
+
fixedCellHeight: _ctx.hasExpandCol,
|
|
1095
|
+
autoRowHeight: _ctx.autoRowHeight,
|
|
1096
|
+
onCellCheckedChange: _ctx.onCellCheckedChange,
|
|
1097
|
+
onCellExpandChange: _ctx.onCellExpandChange,
|
|
1098
|
+
onCellClick: _ctx.onCellClick,
|
|
1099
|
+
onCellDblclick: _ctx.onCellDblclick,
|
|
1100
|
+
onCellContextmenu: _ctx.onCellContextmenu,
|
|
1101
|
+
onCellMouseenter: _ctx.onCellMouseenter,
|
|
1102
|
+
onCellMouseleave: _ctx.onCellMouseleave
|
|
1103
|
+
}, createSlots({ _: 2 }, [
|
|
1104
|
+
renderList(Object.keys(_ctx.$slots).filter(
|
|
1105
|
+
(k) => !["default", "empty", "append"].includes(k)
|
|
1106
|
+
), (name) => {
|
|
1107
|
+
return {
|
|
1108
|
+
name,
|
|
1109
|
+
fn: withCtx((slotProps) => [
|
|
1110
|
+
renderSlot(_ctx.$slots, name, normalizeProps(guardReactiveProps(slotProps || {})))
|
|
1111
|
+
])
|
|
1112
|
+
};
|
|
1113
|
+
})
|
|
1114
|
+
]), 1032, ["bodyCols", "colSizes", "rowIndex", "rowItem", "rowId", "checkedRowKeys", "bodyCellClass", "bodyCellStyle", "spanMethod", "tableTooltipProps", "pageIndex", "rowHeight", "tableSize", "expandColumnKey", "expandedRowKeys", "lazy", "load", "level", "indent", "fixedCellHeight", "autoRowHeight", "onCellCheckedChange", "onCellExpandChange", "onCellClick", "onCellDblclick", "onCellContextmenu", "onCellMouseenter", "onCellMouseleave"])) : createCommentVNode("", true)
|
|
1115
|
+
];
|
|
1116
|
+
}),
|
|
1119
1117
|
empty: withCtx(() => [
|
|
1120
1118
|
renderSlot(_ctx.$slots, "empty", {
|
|
1121
1119
|
text: _ctx.emptyText,
|