ele-admin-plus 1.1.9-beta.9 → 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 +2 -1
- package/es/ele-app/index.d.ts +2 -2
- 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 +4 -3
- 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 +3 -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 +63 -68
- package/es/ele-data-table/props.d.ts +36 -41
- package/es/ele-data-table/types.d.ts +8 -16
- package/es/ele-data-table/util.d.ts +10 -9
- 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 +85 -146
- 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 -31
- package/es/ele-pagination/index.js +4 -1
- package/es/ele-pagination/props.d.ts +17 -11
- package/es/ele-pagination/props.js +5 -0
- 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-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 +22 -21
- package/es/ele-pro-table/components/table-tools.js +1 -1
- package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/es/ele-pro-table/components/tool-column-list.js +3 -7
- package/es/ele-pro-table/components/tool-column.d.ts +14 -13
- package/es/ele-pro-table/components/tool-column.js +3 -7
- package/es/ele-pro-table/components/tool-export.d.ts +24 -302
- package/es/ele-pro-table/components/tool-export.js +10 -12
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print.d.ts +30 -747
- package/es/ele-pro-table/components/tool-print.js +26 -18
- package/es/ele-pro-table/index.d.ts +131 -143
- package/es/ele-pro-table/index.js +51 -29
- package/es/ele-pro-table/props.d.ts +44 -46
- package/es/ele-pro-table/types.d.ts +13 -0
- package/es/ele-pro-table/util.d.ts +26 -22
- package/es/ele-pro-table/util.js +49 -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 +4 -4
- package/es/ele-table/props.d.ts +3 -2
- 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 +7 -7
- package/es/ele-tool/props.d.ts +3 -2
- 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 -64
- package/es/ele-virtual-table/components/body-cell.js +52 -70
- 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 +19 -14
- 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 +88 -68
- package/es/ele-virtual-table/util.d.ts +13 -11
- package/es/ele-virtual-table/util.js +25 -22
- 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 +1 -1
- package/es/icons/ProtectOutlined.d.ts +1 -1
- package/es/icons/QuestionCircleFilled.d.ts +1 -1
- package/es/icons/QuestionCircleOutlined.d.ts +1 -1
- package/es/icons/ReloadOutlined.d.ts +1 -1
- package/es/icons/ResizeOutlined.d.ts +2 -0
- package/es/icons/ResizeOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +1 -1
- package/es/icons/SettingOutlined.d.ts +1 -1
- package/es/icons/ShoppingOutlined.d.ts +1 -1
- package/es/icons/SortOutlined.d.ts +1 -1
- package/es/icons/StarFilled.d.ts +1 -1
- package/es/icons/StepBackwardFilled.d.ts +1 -1
- package/es/icons/StepForwardFilled.d.ts +1 -1
- package/es/icons/SuitcaseOutlined.d.ts +1 -1
- package/es/icons/SunOutlined.d.ts +1 -1
- package/es/icons/SwapOutlined.d.ts +1 -1
- package/es/icons/SyncOutlined.d.ts +1 -1
- package/es/icons/TableOutlined.d.ts +1 -1
- package/es/icons/TagOutlined.d.ts +1 -1
- package/es/icons/TimerOutlined.d.ts +1 -1
- package/es/icons/UndoOutlined.d.ts +1 -1
- package/es/icons/UnlockOutlined.d.ts +1 -1
- package/es/icons/UploadOutlined.d.ts +1 -1
- package/es/icons/UserOutlined.d.ts +1 -1
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/es/icons/VerticalLeftOutlined.d.ts +1 -1
- package/es/icons/VerticalRightOutlined.d.ts +1 -1
- package/es/icons/WarningOutlined.d.ts +1 -1
- package/es/icons/ZoomInOutlined.d.ts +1 -1
- package/es/icons/ZoomOutOutlined.d.ts +1 -1
- package/es/icons/index.d.ts +1 -0
- package/es/icons/index.js +50 -48
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_TW.d.ts +2 -2
- 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/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 +2 -1
- package/lib/ele-app/index.d.ts +2 -2
- 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.d.ts +4 -3
- 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 +3 -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.d.ts +63 -68
- package/lib/ele-data-table/props.d.ts +36 -41
- package/lib/ele-data-table/types.d.ts +8 -16
- package/lib/ele-data-table/util.d.ts +10 -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 +85 -146
- 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 +4 -1
- package/lib/ele-pagination/index.d.ts +40 -31
- package/lib/ele-pagination/props.cjs +5 -0
- package/lib/ele-pagination/props.d.ts +17 -11
- 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.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 +1 -1
- package/lib/ele-pro-table/components/table-tools.d.ts +22 -21
- package/lib/ele-pro-table/components/tool-column-list.cjs +2 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/lib/ele-pro-table/components/tool-column.cjs +2 -6
- package/lib/ele-pro-table/components/tool-column.d.ts +14 -13
- package/lib/ele-pro-table/components/tool-export.cjs +9 -11
- package/lib/ele-pro-table/components/tool-export.d.ts +24 -302
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print.cjs +24 -16
- package/lib/ele-pro-table/components/tool-print.d.ts +30 -747
- package/lib/ele-pro-table/index.cjs +49 -27
- package/lib/ele-pro-table/index.d.ts +131 -143
- package/lib/ele-pro-table/props.d.ts +44 -46
- package/lib/ele-pro-table/types.d.ts +13 -0
- package/lib/ele-pro-table/util.cjs +48 -27
- package/lib/ele-pro-table/util.d.ts +26 -22
- 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.d.ts +4 -4
- package/lib/ele-table/props.d.ts +3 -2
- 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.d.ts +7 -7
- package/lib/ele-tool/props.d.ts +3 -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 +52 -70
- package/lib/ele-virtual-table/components/body-cell.d.ts +100 -64
- 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 +19 -14
- 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 +88 -68
- package/lib/ele-virtual-table/util.cjs +25 -22
- package/lib/ele-virtual-table/util.d.ts +13 -11
- 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.d.ts +1 -1
- package/lib/icons/ProtectOutlined.d.ts +1 -1
- package/lib/icons/QuestionCircleFilled.d.ts +1 -1
- package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
- package/lib/icons/ReloadOutlined.d.ts +1 -1
- package/lib/icons/ResizeOutlined.cjs +29 -0
- package/lib/icons/ResizeOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.d.ts +1 -1
- package/lib/icons/SettingOutlined.d.ts +1 -1
- package/lib/icons/ShoppingOutlined.d.ts +1 -1
- package/lib/icons/SortOutlined.d.ts +1 -1
- package/lib/icons/StarFilled.d.ts +1 -1
- package/lib/icons/StepBackwardFilled.d.ts +1 -1
- package/lib/icons/StepForwardFilled.d.ts +1 -1
- package/lib/icons/SuitcaseOutlined.d.ts +1 -1
- package/lib/icons/SunOutlined.d.ts +1 -1
- package/lib/icons/SwapOutlined.d.ts +1 -1
- package/lib/icons/SyncOutlined.d.ts +1 -1
- package/lib/icons/TableOutlined.d.ts +1 -1
- package/lib/icons/TagOutlined.d.ts +1 -1
- package/lib/icons/TimerOutlined.d.ts +1 -1
- package/lib/icons/UndoOutlined.d.ts +1 -1
- package/lib/icons/UnlockOutlined.d.ts +1 -1
- package/lib/icons/UploadOutlined.d.ts +1 -1
- package/lib/icons/UserOutlined.d.ts +1 -1
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
- package/lib/icons/VerticalRightOutlined.d.ts +1 -1
- package/lib/icons/WarningOutlined.d.ts +1 -1
- package/lib/icons/ZoomInOutlined.d.ts +1 -1
- package/lib/icons/ZoomOutOutlined.d.ts +1 -1
- package/lib/icons/index.cjs +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.d.ts +2 -2
- 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.d.ts +2 -2
- package/package.json +23 -22
|
@@ -1,47 +1,65 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BodyColumn, CustomRenderProps, ColSize } from '../types';
|
|
2
|
+
import { DataItem, Column } from '../../ele-data-table/types';
|
|
2
3
|
import { StyleValues } from '../../ele-app/types';
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
declare const _default: import(
|
|
6
|
-
/**
|
|
7
|
-
column:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
|
|
4
|
+
import { PropType } from 'vue';
|
|
5
|
+
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
|
+
/** 列配置 */
|
|
8
|
+
column: {
|
|
9
|
+
type: PropType<BodyColumn>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
/** 列索引 */
|
|
13
|
+
columnIndex: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
/** 行索引 */
|
|
18
|
+
rowIndex: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
/** 行数据 */
|
|
23
|
+
rowData: {
|
|
24
|
+
type: PropType<DataItem>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
/** 所有列的列宽 */
|
|
28
|
+
colSizes: {
|
|
29
|
+
type: PropType<ColSize[]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
18
32
|
/** 单元格类名自定义 */
|
|
19
|
-
bodyCellClass: PropType<import(
|
|
33
|
+
bodyCellClass: PropType<import('element-plus').CellCls<DataItem> | undefined>;
|
|
20
34
|
/** 单元格样式自定义 */
|
|
21
|
-
bodyCellStyle: PropType<import(
|
|
35
|
+
bodyCellStyle: PropType<import('element-plus').CellStyle<DataItem> | undefined>;
|
|
22
36
|
/** 单元格合并行列方法 */
|
|
23
37
|
spanMethod: PropType<((data: {
|
|
24
38
|
row: DataItem;
|
|
25
39
|
rowIndex: number;
|
|
26
|
-
column: import(
|
|
40
|
+
column: import('element-plus').TableColumnCtx<DataItem>;
|
|
27
41
|
columnIndex: number;
|
|
28
42
|
}) => number[] | {
|
|
29
43
|
rowspan: number;
|
|
30
44
|
colspan: number;
|
|
31
45
|
} | undefined) | undefined>;
|
|
32
46
|
/** 溢出提示组件全局属性 */
|
|
33
|
-
tableTooltipProps: PropType<boolean | Partial<Pick<import(
|
|
47
|
+
tableTooltipProps: PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
34
48
|
/** 序号列起始编号 */
|
|
35
49
|
pageIndex: NumberConstructor;
|
|
36
50
|
/** 表格行高 */
|
|
37
51
|
rowHeight: NumberConstructor;
|
|
38
|
-
/** 树表格展开图标的列 */
|
|
39
|
-
expandColumnKey: StringConstructor;
|
|
40
52
|
/** 多选当前行是否选中 */
|
|
41
53
|
isChecked: BooleanConstructor;
|
|
54
|
+
/** 多选当前行是否禁用 */
|
|
55
|
+
isDisabled: BooleanConstructor;
|
|
56
|
+
/** 表格尺寸 */
|
|
57
|
+
tableSize: PropType<"" | "default" | "small" | "large" | undefined>;
|
|
58
|
+
/** 树表格展开图标的列 */
|
|
59
|
+
expandColumnKey: StringConstructor;
|
|
42
60
|
/** 树表格当前行是否有子级 */
|
|
43
61
|
hasChildren: BooleanConstructor;
|
|
44
|
-
/**
|
|
62
|
+
/** 树表格当前行缩进 */
|
|
45
63
|
rowIndent: StringConstructor;
|
|
46
64
|
/** 树表格当前行是否折叠 */
|
|
47
65
|
isCollapse: BooleanConstructor;
|
|
@@ -52,12 +70,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
70
|
/** 表格是否是自适应行高 */
|
|
53
71
|
autoRowHeight: BooleanConstructor;
|
|
54
72
|
}, {
|
|
55
|
-
colType: import(
|
|
56
|
-
cellClass: import(
|
|
57
|
-
cellStyle: import(
|
|
58
|
-
cellText: import(
|
|
59
|
-
isExpandCol: import(
|
|
60
|
-
renderOpt: import(
|
|
73
|
+
colType: import('vue').ComputedRef<string>;
|
|
74
|
+
cellClass: import('vue').ComputedRef<string>;
|
|
75
|
+
cellStyle: import('vue').ComputedRef<StyleValues | undefined>;
|
|
76
|
+
cellText: import('vue').ComputedRef<string | undefined>;
|
|
77
|
+
isExpandCol: import('vue').ComputedRef<boolean>;
|
|
78
|
+
renderOpt: import('vue').ComputedRef<CustomRenderProps>;
|
|
61
79
|
onTextClick: (e: MouseEvent) => void;
|
|
62
80
|
onCheckedChange: (checked: boolean) => void;
|
|
63
81
|
onExpandChange: () => void;
|
|
@@ -66,61 +84,78 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
84
|
onContextmenu: (e: MouseEvent) => void;
|
|
67
85
|
onMouseenter: (e: MouseEvent) => void;
|
|
68
86
|
onMouseleave: (e: MouseEvent) => void;
|
|
69
|
-
}, unknown, {}, {}, import(
|
|
87
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
70
88
|
/** 多选框选中改变事件 */
|
|
71
|
-
checkedChange: (
|
|
89
|
+
checkedChange: (_checked: boolean) => true;
|
|
72
90
|
/** 展开状态改变事件 */
|
|
73
|
-
expandChange: (
|
|
91
|
+
expandChange: (_expanded: boolean) => true;
|
|
74
92
|
/** 点击事件 */
|
|
75
|
-
click: (
|
|
93
|
+
click: (_col: Column, _e: MouseEvent) => true;
|
|
76
94
|
/** 双击事件 */
|
|
77
|
-
dblclick: (
|
|
95
|
+
dblclick: (_col: Column, _e: MouseEvent) => true;
|
|
78
96
|
/** 右键事件 */
|
|
79
|
-
contextmenu: (
|
|
97
|
+
contextmenu: (_col: Column, _e: MouseEvent) => true;
|
|
80
98
|
/** 鼠标移入事件 */
|
|
81
|
-
mouseenter: (
|
|
99
|
+
mouseenter: (_col: Column, _e: MouseEvent) => true;
|
|
82
100
|
/** 鼠标移出事件 */
|
|
83
|
-
mouseleave: (
|
|
84
|
-
}, string, import(
|
|
85
|
-
/**
|
|
86
|
-
column:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
|
|
101
|
+
mouseleave: (_col: Column, _e: MouseEvent) => true;
|
|
102
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
103
|
+
/** 列配置 */
|
|
104
|
+
column: {
|
|
105
|
+
type: PropType<BodyColumn>;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
/** 列索引 */
|
|
109
|
+
columnIndex: {
|
|
110
|
+
type: NumberConstructor;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
/** 行索引 */
|
|
114
|
+
rowIndex: {
|
|
115
|
+
type: NumberConstructor;
|
|
116
|
+
required: true;
|
|
117
|
+
};
|
|
118
|
+
/** 行数据 */
|
|
119
|
+
rowData: {
|
|
120
|
+
type: PropType<DataItem>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
/** 所有列的列宽 */
|
|
124
|
+
colSizes: {
|
|
125
|
+
type: PropType<ColSize[]>;
|
|
126
|
+
required: true;
|
|
127
|
+
};
|
|
97
128
|
/** 单元格类名自定义 */
|
|
98
|
-
bodyCellClass: PropType<import(
|
|
129
|
+
bodyCellClass: PropType<import('element-plus').CellCls<DataItem> | undefined>;
|
|
99
130
|
/** 单元格样式自定义 */
|
|
100
|
-
bodyCellStyle: PropType<import(
|
|
131
|
+
bodyCellStyle: PropType<import('element-plus').CellStyle<DataItem> | undefined>;
|
|
101
132
|
/** 单元格合并行列方法 */
|
|
102
133
|
spanMethod: PropType<((data: {
|
|
103
134
|
row: DataItem;
|
|
104
135
|
rowIndex: number;
|
|
105
|
-
column: import(
|
|
136
|
+
column: import('element-plus').TableColumnCtx<DataItem>;
|
|
106
137
|
columnIndex: number;
|
|
107
138
|
}) => number[] | {
|
|
108
139
|
rowspan: number;
|
|
109
140
|
colspan: number;
|
|
110
141
|
} | undefined) | undefined>;
|
|
111
142
|
/** 溢出提示组件全局属性 */
|
|
112
|
-
tableTooltipProps: PropType<boolean | Partial<Pick<import(
|
|
143
|
+
tableTooltipProps: PropType<boolean | Partial<Pick<import('element-plus').ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "popperClass" | "showArrow" | "appendTo" | "transition" | "enterable" | "showAfter" | "hideAfter">> | undefined>;
|
|
113
144
|
/** 序号列起始编号 */
|
|
114
145
|
pageIndex: NumberConstructor;
|
|
115
146
|
/** 表格行高 */
|
|
116
147
|
rowHeight: NumberConstructor;
|
|
117
|
-
/** 树表格展开图标的列 */
|
|
118
|
-
expandColumnKey: StringConstructor;
|
|
119
148
|
/** 多选当前行是否选中 */
|
|
120
149
|
isChecked: BooleanConstructor;
|
|
150
|
+
/** 多选当前行是否禁用 */
|
|
151
|
+
isDisabled: BooleanConstructor;
|
|
152
|
+
/** 表格尺寸 */
|
|
153
|
+
tableSize: PropType<"" | "default" | "small" | "large" | undefined>;
|
|
154
|
+
/** 树表格展开图标的列 */
|
|
155
|
+
expandColumnKey: StringConstructor;
|
|
121
156
|
/** 树表格当前行是否有子级 */
|
|
122
157
|
hasChildren: BooleanConstructor;
|
|
123
|
-
/**
|
|
158
|
+
/** 树表格当前行缩进 */
|
|
124
159
|
rowIndent: StringConstructor;
|
|
125
160
|
/** 树表格当前行是否折叠 */
|
|
126
161
|
isCollapse: BooleanConstructor;
|
|
@@ -131,15 +166,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
166
|
/** 表格是否是自适应行高 */
|
|
132
167
|
autoRowHeight: BooleanConstructor;
|
|
133
168
|
}>> & {
|
|
134
|
-
onMouseenter?: ((
|
|
135
|
-
onMouseleave?: ((
|
|
136
|
-
onClick?: ((
|
|
137
|
-
onContextmenu?: ((
|
|
138
|
-
onExpandChange?: ((
|
|
139
|
-
onDblclick?: ((
|
|
140
|
-
onCheckedChange?: ((
|
|
169
|
+
onMouseenter?: ((_col: Column, _e: MouseEvent) => any) | undefined;
|
|
170
|
+
onMouseleave?: ((_col: Column, _e: MouseEvent) => any) | undefined;
|
|
171
|
+
onClick?: ((_col: Column, _e: MouseEvent) => any) | undefined;
|
|
172
|
+
onContextmenu?: ((_col: Column, _e: MouseEvent) => any) | undefined;
|
|
173
|
+
onExpandChange?: ((_expanded: boolean) => any) | undefined;
|
|
174
|
+
onDblclick?: ((_col: Column, _e: MouseEvent) => any) | undefined;
|
|
175
|
+
onCheckedChange?: ((_checked: boolean) => any) | undefined;
|
|
141
176
|
}, {
|
|
142
177
|
loading: boolean;
|
|
178
|
+
isDisabled: boolean;
|
|
143
179
|
isChecked: boolean;
|
|
144
180
|
hasChildren: boolean;
|
|
145
181
|
isCollapse: boolean;
|
|
@@ -14,18 +14,31 @@ const _sfc_main = defineComponent({
|
|
|
14
14
|
CellRender
|
|
15
15
|
},
|
|
16
16
|
props: {
|
|
17
|
-
/**
|
|
18
|
-
column:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
|
|
17
|
+
/** 列配置 */
|
|
18
|
+
column: {
|
|
19
|
+
type: Object,
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
/** 列索引 */
|
|
23
|
+
columnIndex: {
|
|
24
|
+
type: Number,
|
|
25
|
+
required: true
|
|
26
|
+
},
|
|
27
|
+
/** 行索引 */
|
|
28
|
+
rowIndex: {
|
|
29
|
+
type: Number,
|
|
30
|
+
required: true
|
|
31
|
+
},
|
|
32
|
+
/** 行数据 */
|
|
33
|
+
rowData: {
|
|
34
|
+
type: Object,
|
|
35
|
+
required: true
|
|
36
|
+
},
|
|
37
|
+
/** 所有列的列宽 */
|
|
38
|
+
colSizes: {
|
|
39
|
+
type: Array,
|
|
40
|
+
required: true
|
|
41
|
+
},
|
|
29
42
|
/** 单元格类名自定义 */
|
|
30
43
|
bodyCellClass: [String, Function],
|
|
31
44
|
/** 单元格样式自定义 */
|
|
@@ -38,13 +51,17 @@ const _sfc_main = defineComponent({
|
|
|
38
51
|
pageIndex: Number,
|
|
39
52
|
/** 表格行高 */
|
|
40
53
|
rowHeight: Number,
|
|
41
|
-
/** 树表格展开图标的列 */
|
|
42
|
-
expandColumnKey: String,
|
|
43
54
|
/** 多选当前行是否选中 */
|
|
44
55
|
isChecked: Boolean,
|
|
56
|
+
/** 多选当前行是否禁用 */
|
|
57
|
+
isDisabled: Boolean,
|
|
58
|
+
/** 表格尺寸 */
|
|
59
|
+
tableSize: String,
|
|
60
|
+
/** 树表格展开图标的列 */
|
|
61
|
+
expandColumnKey: String,
|
|
45
62
|
/** 树表格当前行是否有子级 */
|
|
46
63
|
hasChildren: Boolean,
|
|
47
|
-
/**
|
|
64
|
+
/** 树表格当前行缩进 */
|
|
48
65
|
rowIndent: String,
|
|
49
66
|
/** 树表格当前行是否折叠 */
|
|
50
67
|
isCollapse: Boolean,
|
|
@@ -57,27 +74,23 @@ const _sfc_main = defineComponent({
|
|
|
57
74
|
},
|
|
58
75
|
emits: {
|
|
59
76
|
/** 多选框选中改变事件 */
|
|
60
|
-
checkedChange: (
|
|
77
|
+
checkedChange: (_checked) => true,
|
|
61
78
|
/** 展开状态改变事件 */
|
|
62
|
-
expandChange: (
|
|
79
|
+
expandChange: (_expanded) => true,
|
|
63
80
|
/** 点击事件 */
|
|
64
|
-
click: (
|
|
81
|
+
click: (_col, _e) => true,
|
|
65
82
|
/** 双击事件 */
|
|
66
|
-
dblclick: (
|
|
83
|
+
dblclick: (_col, _e) => true,
|
|
67
84
|
/** 右键事件 */
|
|
68
|
-
contextmenu: (
|
|
85
|
+
contextmenu: (_col, _e) => true,
|
|
69
86
|
/** 鼠标移入事件 */
|
|
70
|
-
mouseenter: (
|
|
87
|
+
mouseenter: (_col, _e) => true,
|
|
71
88
|
/** 鼠标移出事件 */
|
|
72
|
-
mouseleave: (
|
|
89
|
+
mouseleave: (_col, _e) => true
|
|
73
90
|
},
|
|
74
91
|
setup(props, { emit, slots }) {
|
|
75
|
-
const originalCol = computed(() =>
|
|
76
|
-
|
|
77
|
-
});
|
|
78
|
-
const colType = computed(() => {
|
|
79
|
-
return originalCol.value ? originalCol.value.type : void 0;
|
|
80
|
-
});
|
|
92
|
+
const originalCol = computed(() => props.column.originalCol);
|
|
93
|
+
const colType = computed(() => originalCol.value.type ?? "");
|
|
81
94
|
const cellParam = computed(() => {
|
|
82
95
|
return {
|
|
83
96
|
column: originalCol.value,
|
|
@@ -88,7 +101,7 @@ const _sfc_main = defineComponent({
|
|
|
88
101
|
});
|
|
89
102
|
const cellSpan = computed(() => {
|
|
90
103
|
const span = getCellSpan(cellParam.value, props.spanMethod);
|
|
91
|
-
if (
|
|
104
|
+
if (["indedx", "selection", "expand"].includes(colType.value)) {
|
|
92
105
|
span.rowspan = 1;
|
|
93
106
|
}
|
|
94
107
|
return span;
|
|
@@ -160,14 +173,11 @@ const _sfc_main = defineComponent({
|
|
|
160
173
|
return classes.join(" ");
|
|
161
174
|
});
|
|
162
175
|
const cellWidth = computed(() => {
|
|
163
|
-
if (props.columnIndex == null || !props.colSizes) {
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
let width = props.colSizes[props.columnIndex].width || 0;
|
|
167
176
|
const colspan = cellSpan.value.colspan;
|
|
168
177
|
if (colspan === 0) {
|
|
169
178
|
return "0px";
|
|
170
179
|
}
|
|
180
|
+
let width = props.colSizes[props.columnIndex].width || 0;
|
|
171
181
|
if (colspan && colspan > 1) {
|
|
172
182
|
const end = props.columnIndex + colspan;
|
|
173
183
|
for (let i = props.columnIndex; i < end; i++) {
|
|
@@ -239,10 +249,7 @@ const _sfc_main = defineComponent({
|
|
|
239
249
|
const { rowIndex, rowData } = props;
|
|
240
250
|
if (col.type === "index") {
|
|
241
251
|
if (typeof col.index === "function") {
|
|
242
|
-
return {
|
|
243
|
-
render: col.index,
|
|
244
|
-
params: [rowIndex]
|
|
245
|
-
};
|
|
252
|
+
return { render: col.index, params: [rowIndex] };
|
|
246
253
|
}
|
|
247
254
|
return {};
|
|
248
255
|
}
|
|
@@ -267,52 +274,27 @@ const _sfc_main = defineComponent({
|
|
|
267
274
|
}
|
|
268
275
|
};
|
|
269
276
|
const onCheckedChange = (checked) => {
|
|
270
|
-
emit("checkedChange",
|
|
277
|
+
emit("checkedChange", checked);
|
|
271
278
|
};
|
|
272
279
|
const onExpandChange = () => {
|
|
273
280
|
if (!props.loading) {
|
|
274
|
-
emit("expandChange", props.
|
|
281
|
+
emit("expandChange", props.isCollapse);
|
|
275
282
|
}
|
|
276
283
|
};
|
|
277
284
|
const onClick = (e) => {
|
|
278
|
-
emit(
|
|
279
|
-
"click",
|
|
280
|
-
props.rowData,
|
|
281
|
-
originalCol.value,
|
|
282
|
-
e
|
|
283
|
-
);
|
|
285
|
+
emit("click", originalCol.value, e);
|
|
284
286
|
};
|
|
285
287
|
const onDblclick = (e) => {
|
|
286
|
-
emit(
|
|
287
|
-
"dblclick",
|
|
288
|
-
props.rowData,
|
|
289
|
-
originalCol.value,
|
|
290
|
-
e
|
|
291
|
-
);
|
|
288
|
+
emit("dblclick", originalCol.value, e);
|
|
292
289
|
};
|
|
293
290
|
const onContextmenu = (e) => {
|
|
294
|
-
emit(
|
|
295
|
-
"contextmenu",
|
|
296
|
-
props.rowData,
|
|
297
|
-
originalCol.value,
|
|
298
|
-
e
|
|
299
|
-
);
|
|
291
|
+
emit("contextmenu", originalCol.value, e);
|
|
300
292
|
};
|
|
301
293
|
const onMouseenter = (e) => {
|
|
302
|
-
emit(
|
|
303
|
-
"mouseenter",
|
|
304
|
-
props.rowData,
|
|
305
|
-
originalCol.value,
|
|
306
|
-
e
|
|
307
|
-
);
|
|
294
|
+
emit("mouseenter", originalCol.value, e);
|
|
308
295
|
};
|
|
309
296
|
const onMouseleave = (e) => {
|
|
310
|
-
emit(
|
|
311
|
-
"mouseleave",
|
|
312
|
-
props.rowData,
|
|
313
|
-
originalCol.value,
|
|
314
|
-
e
|
|
315
|
-
);
|
|
297
|
+
emit("mouseleave", originalCol.value, e);
|
|
316
298
|
};
|
|
317
299
|
return {
|
|
318
300
|
colType,
|
|
@@ -386,7 +368,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
386
368
|
_ctx.colType === "selection" ? (openBlock(), createBlock(_component_CellCheckbox, {
|
|
387
369
|
key: 1,
|
|
388
370
|
checked: _ctx.isChecked,
|
|
389
|
-
disabled: _ctx.
|
|
371
|
+
disabled: _ctx.isDisabled,
|
|
390
372
|
size: _ctx.tableSize,
|
|
391
373
|
onChange: _ctx.onCheckedChange
|
|
392
374
|
}, null, 8, ["checked", "disabled", "size", "onChange"])) : _ctx.colType !== "expand" ? (openBlock(), createBlock(_component_CellRender, normalizeProps(mergeProps({ key: 2 }, _ctx.renderOpt)), {
|