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;
|
|
@@ -6,17 +6,29 @@ const _sfc_main = vue.defineComponent({
|
|
|
6
6
|
components: { BodyCell },
|
|
7
7
|
props: {
|
|
8
8
|
/** 主体列配置 */
|
|
9
|
-
bodyCols:
|
|
9
|
+
bodyCols: {
|
|
10
|
+
type: Array,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
10
13
|
/** 表格主体列宽 */
|
|
11
|
-
colSizes:
|
|
14
|
+
colSizes: {
|
|
15
|
+
type: Array,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
12
18
|
/** 当前行索引 */
|
|
13
|
-
rowIndex:
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
rowIndex: {
|
|
20
|
+
type: Number,
|
|
21
|
+
required: true
|
|
22
|
+
},
|
|
23
|
+
/** 当前行对象 */
|
|
24
|
+
rowItem: {
|
|
25
|
+
type: Object,
|
|
26
|
+
required: true
|
|
27
|
+
},
|
|
28
|
+
/** 当前行数据唯一值 */
|
|
29
|
+
rowId: [String, Number],
|
|
16
30
|
/** 表格多选选中的值 */
|
|
17
31
|
checkedRowKeys: Set,
|
|
18
|
-
/** 是否禁用表头选择框 */
|
|
19
|
-
tableSize: String,
|
|
20
32
|
/** 单元格类名自定义 */
|
|
21
33
|
bodyCellClass: [String, Function],
|
|
22
34
|
/** 单元格样式自定义 */
|
|
@@ -29,19 +41,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
29
41
|
pageIndex: Number,
|
|
30
42
|
/** 表格行高 */
|
|
31
43
|
rowHeight: Number,
|
|
44
|
+
/** 表格尺寸 */
|
|
45
|
+
tableSize: String,
|
|
32
46
|
/** 树表格展开图标的列 */
|
|
33
47
|
expandColumnKey: String,
|
|
34
48
|
/** 表格展开行的值 */
|
|
35
49
|
expandedRowKeys: Array,
|
|
36
|
-
/** 嵌套数据是否有子级字段名称 */
|
|
37
|
-
hasChildrenName: String,
|
|
38
50
|
/** 树表格是否懒加载子级 */
|
|
39
51
|
lazy: Boolean,
|
|
40
52
|
/** 树表格懒加载方法 */
|
|
41
53
|
load: Function,
|
|
42
|
-
/**
|
|
54
|
+
/** 树表格行数据缩进级别 */
|
|
43
55
|
level: Number,
|
|
44
|
-
/**
|
|
56
|
+
/** 树表格每一级行缩进大小 */
|
|
45
57
|
indent: Number,
|
|
46
58
|
/** 是否需要固定单元格高度 */
|
|
47
59
|
fixedCellHeight: Boolean,
|
|
@@ -52,7 +64,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
52
64
|
/** 多选框选中改变事件 */
|
|
53
65
|
cellCheckedChange: (_row, _checked) => true,
|
|
54
66
|
/** 展开状态改变事件 */
|
|
55
|
-
cellExpandChange: (_row, _expanded,
|
|
67
|
+
cellExpandChange: (_row, _expanded, _children) => true,
|
|
56
68
|
/** 单元格点击事件 */
|
|
57
69
|
cellClick: (_row, _col, _e) => true,
|
|
58
70
|
/** 单元格双击事件 */
|
|
@@ -66,21 +78,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
66
78
|
},
|
|
67
79
|
setup(props, { emit }) {
|
|
68
80
|
const loading = vue.ref(false);
|
|
69
|
-
const rowDataKey = vue.computed(() => {
|
|
70
|
-
return props.rowData ? props.rowData._rowKey : void 0;
|
|
71
|
-
});
|
|
72
81
|
const isChecked = vue.computed(() => {
|
|
73
|
-
if (!props.checkedRowKeys ||
|
|
82
|
+
if (!props.checkedRowKeys || props.rowId == null) {
|
|
74
83
|
return false;
|
|
75
84
|
}
|
|
76
|
-
return props.checkedRowKeys.has(
|
|
85
|
+
return props.checkedRowKeys.has(props.rowId);
|
|
77
86
|
});
|
|
78
87
|
const hasChildren = vue.computed(() => {
|
|
79
|
-
if (props.
|
|
80
|
-
if (props.
|
|
81
|
-
return !!props.
|
|
88
|
+
if (props.rowItem) {
|
|
89
|
+
if (props.rowItem.children) {
|
|
90
|
+
return !!props.rowItem.children.length;
|
|
82
91
|
}
|
|
83
|
-
if (props.lazy && props.
|
|
92
|
+
if (props.lazy && props.rowItem.hasChildren) {
|
|
84
93
|
return true;
|
|
85
94
|
}
|
|
86
95
|
}
|
|
@@ -93,45 +102,41 @@ const _sfc_main = vue.defineComponent({
|
|
|
93
102
|
return props.level * props.indent + "px";
|
|
94
103
|
});
|
|
95
104
|
const isCollapse = vue.computed(() => {
|
|
96
|
-
if (!props.expandedRowKeys ||
|
|
105
|
+
if (!props.expandedRowKeys || props.rowId == null) {
|
|
97
106
|
return true;
|
|
98
107
|
}
|
|
99
|
-
return !props.expandedRowKeys.includes(
|
|
108
|
+
return !props.expandedRowKeys.includes(props.rowId);
|
|
100
109
|
});
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
return key + "-" + (column.key ?? columnIndex);
|
|
104
|
-
};
|
|
105
|
-
const onCellCheckedChange = (row, checked) => {
|
|
106
|
-
emit("cellCheckedChange", row, checked);
|
|
110
|
+
const onCellCheckedChange = (checked) => {
|
|
111
|
+
emit("cellCheckedChange", props.rowItem, checked);
|
|
107
112
|
};
|
|
108
|
-
const onCellExpandChange = (
|
|
109
|
-
if (expanded && props.lazy && !
|
|
113
|
+
const onCellExpandChange = (expanded) => {
|
|
114
|
+
if (expanded && props.lazy && !props.rowItem.children) {
|
|
110
115
|
if (props.load) {
|
|
111
116
|
loading.value = true;
|
|
112
|
-
props.load(
|
|
117
|
+
props.load(props.rowItem.rowData, null, (data) => {
|
|
113
118
|
loading.value = false;
|
|
114
|
-
emit("cellExpandChange",
|
|
119
|
+
emit("cellExpandChange", props.rowItem, expanded, data);
|
|
115
120
|
});
|
|
116
121
|
}
|
|
117
122
|
return;
|
|
118
123
|
}
|
|
119
|
-
emit("cellExpandChange",
|
|
124
|
+
emit("cellExpandChange", props.rowItem, expanded);
|
|
120
125
|
};
|
|
121
|
-
const onCellClick = (
|
|
122
|
-
emit("cellClick",
|
|
126
|
+
const onCellClick = (col, e) => {
|
|
127
|
+
emit("cellClick", props.rowItem, col, e);
|
|
123
128
|
};
|
|
124
|
-
const onCellDblclick = (
|
|
125
|
-
emit("cellDblclick",
|
|
129
|
+
const onCellDblclick = (col, e) => {
|
|
130
|
+
emit("cellDblclick", props.rowItem, col, e);
|
|
126
131
|
};
|
|
127
|
-
const onCellContextmenu = (
|
|
128
|
-
emit("cellContextmenu",
|
|
132
|
+
const onCellContextmenu = (col, e) => {
|
|
133
|
+
emit("cellContextmenu", props.rowItem, col, e);
|
|
129
134
|
};
|
|
130
|
-
const onCellMouseenter = (
|
|
131
|
-
emit("cellMouseenter",
|
|
135
|
+
const onCellMouseenter = (col, e) => {
|
|
136
|
+
emit("cellMouseenter", props.rowItem, col, e);
|
|
132
137
|
};
|
|
133
|
-
const onCellMouseleave = (
|
|
134
|
-
emit("cellMouseleave",
|
|
138
|
+
const onCellMouseleave = (col, e) => {
|
|
139
|
+
emit("cellMouseleave", props.rowItem, col, e);
|
|
135
140
|
};
|
|
136
141
|
return {
|
|
137
142
|
loading,
|
|
@@ -139,7 +144,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
139
144
|
hasChildren,
|
|
140
145
|
rowIndent,
|
|
141
146
|
isCollapse,
|
|
142
|
-
getKey,
|
|
143
147
|
onCellCheckedChange,
|
|
144
148
|
onCellExpandChange,
|
|
145
149
|
onCellClick,
|
|
@@ -159,23 +163,24 @@ const _export_sfc = (sfc, props) => {
|
|
|
159
163
|
};
|
|
160
164
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
161
165
|
const _component_BodyCell = vue.resolveComponent("BodyCell");
|
|
162
|
-
return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.bodyCols, (column,
|
|
166
|
+
return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.bodyCols, (column, columnIndex) => {
|
|
163
167
|
return vue.openBlock(), vue.createBlock(_component_BodyCell, {
|
|
164
|
-
key: _ctx.
|
|
168
|
+
key: (_ctx.rowId ?? _ctx.rowIndex) + "-" + (column.key ?? columnIndex),
|
|
165
169
|
column,
|
|
166
|
-
columnIndex
|
|
170
|
+
columnIndex,
|
|
167
171
|
rowIndex: _ctx.rowIndex,
|
|
168
|
-
rowData: _ctx.rowData,
|
|
172
|
+
rowData: _ctx.rowItem.rowData,
|
|
169
173
|
colSizes: _ctx.colSizes,
|
|
170
|
-
tableSize: _ctx.tableSize,
|
|
171
174
|
bodyCellClass: _ctx.bodyCellClass,
|
|
172
175
|
bodyCellStyle: _ctx.bodyCellStyle,
|
|
173
176
|
spanMethod: _ctx.spanMethod,
|
|
174
177
|
tableTooltipProps: _ctx.tableTooltipProps,
|
|
175
178
|
pageIndex: _ctx.pageIndex,
|
|
176
179
|
rowHeight: _ctx.rowHeight,
|
|
177
|
-
expandColumnKey: _ctx.expandColumnKey,
|
|
178
180
|
isChecked: _ctx.isChecked,
|
|
181
|
+
isDisabled: _ctx.rowItem.isDisabled,
|
|
182
|
+
tableSize: _ctx.tableSize,
|
|
183
|
+
expandColumnKey: _ctx.expandColumnKey,
|
|
179
184
|
hasChildren: _ctx.hasChildren,
|
|
180
185
|
rowIndent: _ctx.rowIndent,
|
|
181
186
|
isCollapse: _ctx.isCollapse,
|
|
@@ -198,7 +203,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
198
203
|
])
|
|
199
204
|
};
|
|
200
205
|
})
|
|
201
|
-
]), 1032, ["column", "columnIndex", "rowIndex", "rowData", "colSizes", "
|
|
206
|
+
]), 1032, ["column", "columnIndex", "rowIndex", "rowData", "colSizes", "bodyCellClass", "bodyCellStyle", "spanMethod", "tableTooltipProps", "pageIndex", "rowHeight", "isChecked", "isDisabled", "tableSize", "expandColumnKey", "hasChildren", "rowIndent", "isCollapse", "loading", "fixedCellHeight", "autoRowHeight", "onCheckedChange", "onExpandChange", "onClick", "onDblclick", "onContextmenu", "onMouseenter", "onMouseleave"]);
|
|
202
207
|
}), 128);
|
|
203
208
|
}
|
|
204
209
|
const bodyRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|