ele-admin-plus 1.1.9-beta.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/core-installer.d.ts +2 -2
- package/es/ele-alert/index.d.ts +23 -23
- package/es/ele-alert/index.js +2 -2
- package/es/ele-alert/props.d.ts +10 -9
- package/es/ele-app/el.d.ts +7 -1
- package/es/ele-app/index.d.ts +2 -2
- package/es/ele-app/plus.d.ts +9 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/es/ele-avatar-group/index.d.ts +29 -28
- package/es/ele-avatar-group/props.d.ts +10 -9
- package/es/ele-bar-code/index.d.ts +11 -10
- package/es/ele-bar-code/props.d.ts +4 -3
- package/es/ele-basic-select/index.d.ts +37 -35
- package/es/ele-basic-select/index.js +24 -7
- package/es/ele-basic-select/props.d.ts +9 -8
- package/es/ele-basic-select/util.d.ts +2 -1
- package/es/ele-bottom-bar/index.d.ts +6 -6
- package/es/ele-bottom-bar/props.d.ts +4 -3
- package/es/ele-breadcrumb/index.d.ts +11 -10
- package/es/ele-breadcrumb/props.d.ts +5 -4
- package/es/ele-card/index.d.ts +12 -12
- package/es/ele-card/props.d.ts +7 -6
- package/es/ele-check-card/components/card-item.d.ts +7 -6
- package/es/ele-check-card/index.d.ts +15 -14
- package/es/ele-check-card/props.d.ts +6 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/es/ele-config-provider/components/receiver-view.js +119 -30
- package/es/ele-config-provider/index.d.ts +7 -7
- package/es/ele-config-provider/props.d.ts +6 -5
- package/es/ele-config-provider/props.js +2 -2
- package/es/ele-config-provider/receiver.d.ts +6 -10
- package/es/ele-config-provider/receiver.js +32 -117
- package/es/ele-config-provider/types.d.ts +5 -29
- package/es/ele-copyable/index.d.ts +32 -31
- package/es/ele-copyable/props.d.ts +9 -8
- package/es/ele-count-up/index.d.ts +8 -7
- package/es/ele-count-up/props.d.ts +3 -2
- package/es/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/es/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/es/ele-cropper/index.d.ts +16 -15
- package/es/ele-cropper/props.d.ts +4 -3
- package/es/ele-cropper-modal/index.d.ts +16 -15
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-cropper-modal/props.d.ts +7 -6
- package/es/ele-dashboard/index.d.ts +5 -5
- package/es/ele-dashboard/props.d.ts +3 -2
- package/es/ele-data-table/index.d.ts +65 -70
- package/es/ele-data-table/index.js +8 -0
- package/es/ele-data-table/props.d.ts +36 -41
- package/es/ele-data-table/style/index.scss +4 -0
- package/es/ele-data-table/types.d.ts +18 -16
- package/es/ele-data-table/util.d.ts +15 -9
- package/es/ele-data-table/util.js +14 -0
- package/es/ele-dot/index.d.ts +4 -4
- package/es/ele-dot/props.d.ts +3 -2
- package/es/ele-drawer/index.d.ts +75 -71
- package/es/ele-drawer/index.js +107 -113
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +48 -105
- package/es/ele-dropdown/index.d.ts +66 -65
- package/es/ele-dropdown/props.d.ts +22 -21
- package/es/ele-edit-tag/index.d.ts +33 -32
- package/es/ele-edit-tag/index.js +1 -1
- package/es/ele-edit-tag/props.d.ts +10 -9
- package/es/ele-ellipsis/index.d.ts +23 -22
- package/es/ele-ellipsis/props.d.ts +8 -7
- package/es/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/es/ele-file-list/components/file-grid-item.js +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +10 -9
- package/es/ele-file-list/components/file-sort.d.ts +2 -2
- package/es/ele-file-list/components/file-table-item.d.ts +13 -12
- package/es/ele-file-list/components/file-table-item.js +1 -1
- package/es/ele-file-list/components/file-table.d.ts +10 -9
- package/es/ele-file-list/icons.d.ts +2 -1
- package/es/ele-file-list/index.d.ts +36 -35
- package/es/ele-file-list/props.d.ts +6 -5
- package/es/ele-file-list-tool/index.d.ts +3 -3
- package/es/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/es/ele-icon-select/components/icon-grid.js +1 -1
- package/es/ele-icon-select/index.d.ts +49 -48
- package/es/ele-icon-select/props.d.ts +17 -16
- package/es/ele-loading/index.d.ts +12 -15
- package/es/ele-loading/index.js +10 -16
- package/es/ele-loading/props.d.ts +5 -4
- package/es/ele-map-picker/components/map-view.d.ts +29 -28
- package/es/ele-map-picker/components/map-view.js +1 -1
- package/es/ele-map-picker/index.d.ts +27 -26
- package/es/ele-map-picker/index.js +1 -1
- package/es/ele-map-picker/props.d.ts +8 -7
- package/es/ele-menus/index.d.ts +61 -62
- package/es/ele-menus/index.js +1 -1
- package/es/ele-menus/props.d.ts +16 -17
- package/es/ele-menus/props.js +1 -3
- package/es/ele-menus/style/css-var.scss +1 -5
- package/es/ele-menus/util.d.ts +3 -2
- package/es/ele-modal/index.d.ts +75 -68
- package/es/ele-modal/index.js +164 -186
- package/es/ele-modal/props.d.ts +26 -23
- package/es/ele-modal/props.js +2 -0
- package/es/ele-modal/style/index.scss +103 -175
- package/es/ele-modal/util.d.ts +20 -45
- package/es/ele-modal/util.js +55 -179
- package/es/ele-page/index.d.ts +2 -2
- package/es/ele-page/props.d.ts +2 -1
- package/es/ele-pagination/index.d.ts +40 -29
- package/es/ele-pagination/index.js +20 -5
- package/es/ele-pagination/props.d.ts +19 -12
- package/es/ele-pagination/props.js +7 -0
- package/es/ele-pagination/style/index.scss +9 -0
- package/es/ele-pagination/types.d.ts +6 -1
- package/es/ele-popconfirm/index.d.ts +90 -89
- package/es/ele-popconfirm/index.js +6 -28
- package/es/ele-popconfirm/props.d.ts +32 -31
- package/es/ele-popover/index.d.ts +69 -68
- package/es/ele-popover/index.js +6 -14
- package/es/ele-popover/props.d.ts +26 -25
- package/es/ele-printer/index.d.ts +18 -18
- package/es/ele-printer/props.d.ts +6 -5
- package/es/ele-printer/util.d.ts +2 -1
- package/es/ele-printer/util.js +1 -1
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +84 -28
- package/es/ele-pro-layout/components/pro-header.js +110 -20
- package/es/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/es/ele-pro-layout/components/pro-iframe.js +31 -41
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +14 -18
- package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
- package/es/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
- package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
- package/es/ele-pro-layout/index.d.ts +97 -97
- package/es/ele-pro-layout/index.js +62 -47
- package/es/ele-pro-layout/props.d.ts +11 -13
- package/es/ele-pro-layout/props.js +2 -4
- package/es/ele-pro-layout/style/css-var.scss +3 -18
- package/es/ele-pro-layout/style/header.scss +74 -9
- package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/es/ele-pro-layout/style/layout-style.scss +8 -3
- package/es/ele-pro-layout/style/layout-theme.scss +48 -23
- package/es/ele-pro-layout/style/layout.scss +38 -8
- package/es/ele-pro-layout/style/sidebar.scss +0 -1
- package/es/ele-pro-layout/style/tabs.scss +19 -11
- package/es/ele-pro-layout/types.d.ts +1 -1
- package/es/ele-pro-layout/util.d.ts +6 -6
- package/es/ele-pro-layout/util.js +2 -3
- package/es/ele-pro-table/components/table-tools.d.ts +107 -15
- package/es/ele-pro-table/components/table-tools.js +125 -8
- package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/es/ele-pro-table/components/tool-column-list.js +4 -7
- package/es/ele-pro-table/components/tool-column.d.ts +14 -13
- package/es/ele-pro-table/components/tool-column.js +9 -9
- package/es/ele-pro-table/components/tool-export.d.ts +179 -0
- package/es/ele-pro-table/components/tool-export.js +449 -0
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print.d.ts +182 -0
- package/es/ele-pro-table/components/tool-print.js +555 -0
- package/es/ele-pro-table/index.d.ts +138 -131
- package/es/ele-pro-table/index.js +107 -37
- package/es/ele-pro-table/props.d.ts +52 -48
- package/es/ele-pro-table/props.js +6 -2
- package/es/ele-pro-table/style/index.js +9 -0
- package/es/ele-pro-table/style/index.scss +33 -5
- package/es/ele-pro-table/types.d.ts +160 -5
- package/es/ele-pro-table/util.d.ts +64 -16
- package/es/ele-pro-table/util.js +155 -28
- package/es/ele-qr-code/index.d.ts +16 -15
- package/es/ele-qr-code/props.d.ts +4 -3
- package/es/ele-qr-code/util.d.ts +3 -2
- package/es/ele-qr-code-svg/index.d.ts +18 -18
- package/es/ele-segmented/index.d.ts +10 -9
- package/es/ele-segmented/props.d.ts +3 -2
- package/es/ele-split-panel/index.d.ts +18 -17
- package/es/ele-split-panel/props.d.ts +5 -4
- package/es/ele-steps/index.d.ts +33 -33
- package/es/ele-steps/props.d.ts +10 -9
- package/es/ele-tab-tool/index.d.ts +2 -2
- package/es/ele-tab-tool/props.d.ts +2 -1
- package/es/ele-tab-wrap/index.d.ts +6 -6
- package/es/ele-tab-wrap/index.js +2 -1
- package/es/ele-tab-wrap/props.d.ts +3 -2
- package/es/ele-table/index.d.ts +7 -4
- package/es/ele-table/index.js +2 -1
- package/es/ele-table/props.d.ts +5 -2
- package/es/ele-table/props.js +3 -1
- package/es/ele-table/style/index.scss +35 -0
- package/es/ele-table-select/index.d.ts +45 -43
- package/es/ele-table-select/index.js +29 -27
- package/es/ele-table-select/props.d.ts +11 -10
- package/es/ele-tabs/components/tab-title.d.ts +9 -8
- package/es/ele-tabs/index.d.ts +43 -55
- package/es/ele-tabs/index.js +1 -0
- package/es/ele-tabs/props.d.ts +17 -23
- package/es/ele-tabs/style/css-var.scss +1 -30
- package/es/ele-tabs/style/index.scss +372 -241
- package/es/ele-tabs/types.d.ts +2 -1
- package/es/ele-text/index.d.ts +12 -12
- package/es/ele-text/props.d.ts +5 -4
- package/es/ele-tool/index.d.ts +8 -8
- package/es/ele-tool/index.js +2 -4
- package/es/ele-tool/props.d.ts +10 -2
- package/es/ele-tool/props.js +5 -0
- package/es/ele-toolbar/index.d.ts +15 -15
- package/es/ele-toolbar/props.d.ts +7 -6
- package/es/ele-tooltip/index.d.ts +59 -58
- package/es/ele-tooltip/index.js +3 -0
- package/es/ele-tooltip/props.d.ts +28 -22
- package/es/ele-tooltip/props.js +2 -0
- package/es/ele-tour/index.d.ts +15 -14
- package/es/ele-tour/props.d.ts +3 -2
- package/es/ele-tour/util.d.ts +3 -2
- package/es/ele-tree-select/index.d.ts +37 -36
- package/es/ele-tree-select/props.d.ts +12 -11
- package/es/ele-tree-select/util.d.ts +3 -2
- package/es/ele-upload-list/components/list-item.d.ts +7 -6
- package/es/ele-upload-list/index.d.ts +26 -25
- package/es/ele-upload-list/props.d.ts +6 -5
- package/es/ele-virtual-table/components/body-cell.d.ts +100 -65
- package/es/ele-virtual-table/components/body-cell.js +79 -112
- package/es/ele-virtual-table/components/body-row.d.ts +89 -65
- package/es/ele-virtual-table/components/body-row.js +57 -52
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/es/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/es/ele-virtual-table/components/cell-filter.js +8 -12
- package/es/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/es/ele-virtual-table/components/expand-row.js +3 -3
- package/es/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/es/ele-virtual-table/components/footer-row.js +29 -19
- package/es/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/es/ele-virtual-table/components/header-row.d.ts +12 -11
- package/es/ele-virtual-table/index.d.ts +91 -100
- package/es/ele-virtual-table/index.js +134 -136
- package/es/ele-virtual-table/props.d.ts +49 -51
- package/es/ele-virtual-table/style/index.scss +1 -1
- package/es/ele-virtual-table/types.d.ts +103 -69
- package/es/ele-virtual-table/util.d.ts +35 -10
- package/es/ele-virtual-table/util.js +64 -17
- package/es/ele-watermark/index.d.ts +15 -14
- package/es/ele-watermark/props.d.ts +4 -3
- package/es/ele-watermark/util.d.ts +3 -2
- package/es/ele-xg-player/index.d.ts +10 -10
- package/es/icons/AnalysisOutlined.d.ts +1 -1
- package/es/icons/ApplicationOutlined.d.ts +1 -1
- package/es/icons/AppstoreAddOutlined.d.ts +1 -1
- package/es/icons/AppstoreOutlined.d.ts +1 -1
- package/es/icons/ArrowDown.d.ts +1 -1
- package/es/icons/ArrowDownOutlined.d.ts +1 -1
- package/es/icons/ArrowLeft.d.ts +1 -1
- package/es/icons/ArrowLeftOutlined.d.ts +1 -1
- package/es/icons/ArrowRight.d.ts +1 -1
- package/es/icons/ArrowRightOutlined.d.ts +1 -1
- package/es/icons/ArrowUp.d.ts +1 -1
- package/es/icons/ArrowUpOutlined.d.ts +1 -1
- package/es/icons/BellOutlined.d.ts +1 -1
- package/es/icons/BookOutlined.d.ts +1 -1
- package/es/icons/CalendarOutlined.d.ts +1 -1
- package/es/icons/CaretDownFilled.d.ts +1 -1
- package/es/icons/CaretUpFilled.d.ts +1 -1
- package/es/icons/CheckCircleFilled.d.ts +1 -1
- package/es/icons/CheckCircleOutlined.d.ts +1 -1
- package/es/icons/CheckOutlined.d.ts +1 -1
- package/es/icons/CityOutlined.d.ts +1 -1
- package/es/icons/ClockCircleOutlined.d.ts +1 -1
- package/es/icons/CloseCircleFilled.d.ts +1 -1
- package/es/icons/CloseCircleOutlined.d.ts +1 -1
- package/es/icons/CloseOutlined.d.ts +1 -1
- package/es/icons/CloudUploadOutlined.d.ts +1 -1
- package/es/icons/ClusterOutlined.d.ts +1 -1
- package/es/icons/CodeOutlined.d.ts +1 -1
- package/es/icons/ColumnHeightOutlined.d.ts +1 -1
- package/es/icons/CompassOutlined.d.ts +1 -1
- package/es/icons/CompressOutlined.d.ts +1 -1
- package/es/icons/ConnectionOutlined.d.ts +1 -1
- package/es/icons/ControlOutlined.d.ts +1 -1
- package/es/icons/CopyOutlined.d.ts +1 -1
- package/es/icons/CpuOutlined.d.ts +1 -1
- package/es/icons/DashboardOutlined.d.ts +1 -1
- package/es/icons/DatabaseOutlined.d.ts +1 -1
- package/es/icons/DeleteOutlined.d.ts +1 -1
- package/es/icons/DesktopOutlined.d.ts +1 -1
- package/es/icons/DownloadOutlined.d.ts +1 -1
- package/es/icons/DragOutlined.d.ts +1 -1
- package/es/icons/EditOutlined.d.ts +1 -1
- package/es/icons/EllipsisOutlined.d.ts +1 -1
- package/es/icons/EnvironmentOutlined.d.ts +1 -1
- package/es/icons/ExclamationCircleFilled.d.ts +1 -1
- package/es/icons/ExpandOutlined.d.ts +1 -1
- package/es/icons/FileOutlined.d.ts +1 -1
- package/es/icons/FilterFilled.d.ts +1 -1
- package/es/icons/FolderAddOutlined.d.ts +1 -1
- package/es/icons/FolderOutlined.d.ts +1 -1
- package/es/icons/FormOutlined.d.ts +1 -1
- package/es/icons/FullscreenExitOutlined.d.ts +1 -1
- package/es/icons/FullscreenOutlined.d.ts +1 -1
- package/es/icons/FundOutlined.d.ts +1 -1
- package/es/icons/GlobalOutlined.d.ts +1 -1
- package/es/icons/HolderOutlined.d.ts +1 -1
- package/es/icons/HomeOutlined.d.ts +1 -1
- package/es/icons/IdcardOutlined.d.ts +1 -1
- package/es/icons/InfoCircleFilled.d.ts +1 -1
- package/es/icons/LinkOutlined.d.ts +1 -1
- package/es/icons/LoadingDotOutlined.d.ts +1 -1
- package/es/icons/LoadingOutlined.d.ts +1 -1
- package/es/icons/LockOutlined.d.ts +1 -1
- package/es/icons/LogOutlined.d.ts +1 -1
- package/es/icons/LogoutOutlined.d.ts +1 -1
- package/es/icons/MailOutlined.d.ts +1 -1
- package/es/icons/MenuFoldOutlined.d.ts +1 -1
- package/es/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/es/icons/MessageOutlined.d.ts +1 -1
- package/es/icons/MinusCircleOutlined.d.ts +1 -1
- package/es/icons/MobileOutlined.d.ts +1 -1
- package/es/icons/MoonOutlined.d.ts +1 -1
- package/es/icons/MoreOutlined.d.ts +1 -1
- package/es/icons/PauseFilled.d.ts +1 -1
- package/es/icons/PieChartOutlined.d.ts +1 -1
- package/es/icons/PlayFilled.d.ts +1 -1
- package/es/icons/PlusCircleOutlined.d.ts +1 -1
- package/es/icons/PlusOutlined.d.ts +1 -1
- package/es/icons/PrinterOutlined.d.ts +2 -0
- package/es/icons/PrinterOutlined.js +29 -0
- package/es/icons/ProtectOutlined.d.ts +1 -1
- package/es/icons/QuestionCircleFilled.d.ts +1 -1
- package/es/icons/QuestionCircleOutlined.d.ts +1 -1
- package/es/icons/ReloadOutlined.d.ts +1 -1
- package/es/icons/ResizeOutlined.d.ts +2 -0
- package/es/icons/ResizeOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +1 -1
- package/es/icons/SettingOutlined.d.ts +1 -1
- package/es/icons/ShoppingOutlined.d.ts +1 -1
- package/es/icons/SortOutlined.d.ts +1 -1
- package/es/icons/StarFilled.d.ts +1 -1
- package/es/icons/StepBackwardFilled.d.ts +1 -1
- package/es/icons/StepForwardFilled.d.ts +1 -1
- package/es/icons/SuitcaseOutlined.d.ts +1 -1
- package/es/icons/SunOutlined.d.ts +1 -1
- package/es/icons/SwapOutlined.d.ts +1 -1
- package/es/icons/SyncOutlined.d.ts +1 -1
- package/es/icons/TableOutlined.d.ts +1 -1
- package/es/icons/TagOutlined.d.ts +1 -1
- package/es/icons/TimerOutlined.d.ts +1 -1
- package/es/icons/UndoOutlined.d.ts +1 -1
- package/es/icons/UnlockOutlined.d.ts +1 -1
- package/es/icons/UploadOutlined.d.ts +1 -1
- package/es/icons/UserOutlined.d.ts +1 -1
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/es/icons/VerticalLeftOutlined.d.ts +1 -1
- package/es/icons/VerticalLeftOutlined.js +2 -2
- package/es/icons/VerticalRightOutlined.d.ts +1 -1
- package/es/icons/VerticalRightOutlined.js +2 -2
- package/es/icons/WarningOutlined.d.ts +1 -1
- package/es/icons/ZoomInOutlined.d.ts +1 -1
- package/es/icons/ZoomOutOutlined.d.ts +1 -1
- package/es/icons/index.d.ts +2 -0
- package/es/icons/index.js +60 -56
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +13 -2
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +13 -2
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +12 -1
- package/es/style/nprogress.scss +1 -0
- package/es/style/themes/dark.scss +9 -15
- package/es/style/themes/default.scss +58 -81
- package/es/style/themes/rounded.scss +16 -30
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/menu-util.js +2 -5
- package/es/utils/message.d.ts +4 -3
- package/es/utils/resolvers.d.ts +2 -2
- package/es/utils/resolvers.js +2 -2
- package/lib/core-installer.d.ts +2 -2
- package/lib/ele-alert/index.cjs +2 -2
- package/lib/ele-alert/index.d.ts +23 -23
- package/lib/ele-alert/props.d.ts +10 -9
- package/lib/ele-app/el.d.ts +7 -1
- package/lib/ele-app/index.d.ts +2 -2
- package/lib/ele-app/plus.d.ts +9 -0
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/lib/ele-avatar-group/index.d.ts +29 -28
- package/lib/ele-avatar-group/props.d.ts +10 -9
- package/lib/ele-bar-code/index.d.ts +11 -10
- package/lib/ele-bar-code/props.d.ts +4 -3
- package/lib/ele-basic-select/index.cjs +23 -6
- package/lib/ele-basic-select/index.d.ts +37 -35
- package/lib/ele-basic-select/props.d.ts +9 -8
- package/lib/ele-basic-select/util.d.ts +2 -1
- package/lib/ele-bottom-bar/index.d.ts +6 -6
- package/lib/ele-bottom-bar/props.d.ts +4 -3
- package/lib/ele-breadcrumb/index.d.ts +11 -10
- package/lib/ele-breadcrumb/props.d.ts +5 -4
- package/lib/ele-card/index.d.ts +12 -12
- package/lib/ele-card/props.d.ts +7 -6
- package/lib/ele-check-card/components/card-item.d.ts +7 -6
- package/lib/ele-check-card/index.d.ts +15 -14
- package/lib/ele-check-card/props.d.ts +6 -5
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -44
- package/lib/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/lib/ele-config-provider/index.d.ts +7 -7
- package/lib/ele-config-provider/props.cjs +2 -2
- package/lib/ele-config-provider/props.d.ts +6 -5
- package/lib/ele-config-provider/receiver.cjs +41 -2
- package/lib/ele-config-provider/receiver.d.ts +6 -10
- package/lib/ele-config-provider/types.d.ts +5 -29
- package/lib/ele-copyable/index.d.ts +32 -31
- package/lib/ele-copyable/props.d.ts +9 -8
- package/lib/ele-count-up/index.d.ts +8 -7
- package/lib/ele-count-up/props.d.ts +3 -2
- package/lib/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/lib/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/lib/ele-cropper/index.d.ts +16 -15
- package/lib/ele-cropper/props.d.ts +4 -3
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-cropper-modal/index.d.ts +16 -15
- package/lib/ele-cropper-modal/props.d.ts +7 -6
- package/lib/ele-dashboard/index.d.ts +5 -5
- package/lib/ele-dashboard/props.d.ts +3 -2
- package/lib/ele-data-table/index.cjs +8 -0
- package/lib/ele-data-table/index.d.ts +65 -70
- package/lib/ele-data-table/props.d.ts +36 -41
- package/lib/ele-data-table/style/index.scss +4 -0
- package/lib/ele-data-table/types.d.ts +18 -16
- package/lib/ele-data-table/util.cjs +14 -0
- package/lib/ele-data-table/util.d.ts +15 -9
- package/lib/ele-dot/index.d.ts +4 -4
- package/lib/ele-dot/props.d.ts +3 -2
- package/lib/ele-drawer/index.cjs +105 -111
- package/lib/ele-drawer/index.d.ts +75 -71
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +48 -105
- package/lib/ele-dropdown/index.d.ts +66 -65
- package/lib/ele-dropdown/props.d.ts +22 -21
- package/lib/ele-edit-tag/index.cjs +1 -1
- package/lib/ele-edit-tag/index.d.ts +33 -32
- package/lib/ele-edit-tag/props.d.ts +10 -9
- package/lib/ele-ellipsis/index.d.ts +23 -22
- package/lib/ele-ellipsis/props.d.ts +8 -7
- package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
- package/lib/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-grid.d.ts +10 -9
- package/lib/ele-file-list/components/file-sort.d.ts +2 -2
- package/lib/ele-file-list/components/file-table-item.cjs +1 -1
- package/lib/ele-file-list/components/file-table-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-table.d.ts +10 -9
- package/lib/ele-file-list/icons.d.ts +2 -1
- package/lib/ele-file-list/index.d.ts +36 -35
- package/lib/ele-file-list/props.d.ts +6 -5
- package/lib/ele-file-list-tool/index.d.ts +3 -3
- package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
- package/lib/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/lib/ele-icon-select/index.d.ts +49 -48
- package/lib/ele-icon-select/props.d.ts +17 -16
- package/lib/ele-loading/index.cjs +9 -15
- package/lib/ele-loading/index.d.ts +12 -15
- package/lib/ele-loading/props.d.ts +5 -4
- package/lib/ele-map-picker/components/map-view.cjs +1 -1
- package/lib/ele-map-picker/components/map-view.d.ts +29 -28
- package/lib/ele-map-picker/index.cjs +1 -1
- package/lib/ele-map-picker/index.d.ts +27 -26
- package/lib/ele-map-picker/props.d.ts +8 -7
- package/lib/ele-menus/index.cjs +1 -1
- package/lib/ele-menus/index.d.ts +61 -62
- package/lib/ele-menus/props.cjs +1 -3
- package/lib/ele-menus/props.d.ts +16 -17
- package/lib/ele-menus/style/css-var.scss +1 -5
- package/lib/ele-menus/util.d.ts +3 -2
- package/lib/ele-modal/index.cjs +176 -198
- package/lib/ele-modal/index.d.ts +75 -68
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +26 -23
- package/lib/ele-modal/style/index.scss +103 -175
- package/lib/ele-modal/util.cjs +55 -179
- package/lib/ele-modal/util.d.ts +20 -45
- package/lib/ele-page/index.d.ts +2 -2
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +19 -4
- package/lib/ele-pagination/index.d.ts +40 -29
- package/lib/ele-pagination/props.cjs +7 -0
- package/lib/ele-pagination/props.d.ts +19 -12
- package/lib/ele-pagination/style/index.scss +9 -0
- package/lib/ele-pagination/types.d.ts +6 -1
- package/lib/ele-popconfirm/index.cjs +5 -27
- package/lib/ele-popconfirm/index.d.ts +90 -89
- package/lib/ele-popconfirm/props.d.ts +32 -31
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +69 -68
- package/lib/ele-popover/props.d.ts +26 -25
- package/lib/ele-printer/index.d.ts +18 -18
- package/lib/ele-printer/props.d.ts +6 -5
- package/lib/ele-printer/util.cjs +1 -1
- package/lib/ele-printer/util.d.ts +2 -1
- package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-header.cjs +109 -19
- package/lib/ele-pro-layout/components/pro-header.d.ts +84 -28
- package/lib/ele-pro-layout/components/pro-iframe.cjs +30 -40
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +14 -18
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
- package/lib/ele-pro-layout/index.cjs +61 -46
- package/lib/ele-pro-layout/index.d.ts +97 -97
- package/lib/ele-pro-layout/props.cjs +2 -4
- package/lib/ele-pro-layout/props.d.ts +11 -13
- package/lib/ele-pro-layout/style/css-var.scss +3 -18
- package/lib/ele-pro-layout/style/header.scss +74 -9
- package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/lib/ele-pro-layout/style/layout-style.scss +8 -3
- package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
- package/lib/ele-pro-layout/style/layout.scss +38 -8
- package/lib/ele-pro-layout/style/sidebar.scss +0 -1
- package/lib/ele-pro-layout/style/tabs.scss +19 -11
- package/lib/ele-pro-layout/types.d.ts +1 -1
- package/lib/ele-pro-layout/util.cjs +2 -3
- package/lib/ele-pro-layout/util.d.ts +6 -6
- package/lib/ele-pro-table/components/table-tools.cjs +124 -7
- package/lib/ele-pro-table/components/table-tools.d.ts +107 -15
- package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/lib/ele-pro-table/components/tool-column.cjs +8 -8
- package/lib/ele-pro-table/components/tool-column.d.ts +14 -13
- package/lib/ele-pro-table/components/tool-export.cjs +448 -0
- package/lib/ele-pro-table/components/tool-export.d.ts +179 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print.cjs +554 -0
- package/lib/ele-pro-table/components/tool-print.d.ts +182 -0
- package/lib/ele-pro-table/index.cjs +105 -35
- package/lib/ele-pro-table/index.d.ts +138 -131
- package/lib/ele-pro-table/props.cjs +6 -2
- package/lib/ele-pro-table/props.d.ts +52 -48
- package/lib/ele-pro-table/style/index.cjs +9 -0
- package/lib/ele-pro-table/style/index.scss +33 -5
- package/lib/ele-pro-table/types.d.ts +160 -5
- package/lib/ele-pro-table/util.cjs +154 -27
- package/lib/ele-pro-table/util.d.ts +64 -16
- package/lib/ele-qr-code/index.d.ts +16 -15
- package/lib/ele-qr-code/props.d.ts +4 -3
- package/lib/ele-qr-code/util.d.ts +3 -2
- package/lib/ele-qr-code-svg/index.d.ts +18 -18
- package/lib/ele-segmented/index.d.ts +10 -9
- package/lib/ele-segmented/props.d.ts +3 -2
- package/lib/ele-split-panel/index.d.ts +18 -17
- package/lib/ele-split-panel/props.d.ts +5 -4
- package/lib/ele-steps/index.d.ts +33 -33
- package/lib/ele-steps/props.d.ts +10 -9
- package/lib/ele-tab-tool/index.d.ts +2 -2
- package/lib/ele-tab-tool/props.d.ts +2 -1
- package/lib/ele-tab-wrap/index.cjs +2 -1
- package/lib/ele-tab-wrap/index.d.ts +6 -6
- package/lib/ele-tab-wrap/props.d.ts +3 -2
- package/lib/ele-table/index.cjs +2 -1
- package/lib/ele-table/index.d.ts +7 -4
- package/lib/ele-table/props.cjs +3 -1
- package/lib/ele-table/props.d.ts +5 -2
- package/lib/ele-table/style/index.scss +35 -0
- package/lib/ele-table-select/index.cjs +29 -27
- package/lib/ele-table-select/index.d.ts +45 -43
- package/lib/ele-table-select/props.d.ts +11 -10
- package/lib/ele-tabs/components/tab-title.d.ts +9 -8
- package/lib/ele-tabs/index.cjs +1 -0
- package/lib/ele-tabs/index.d.ts +43 -55
- package/lib/ele-tabs/props.d.ts +17 -23
- package/lib/ele-tabs/style/css-var.scss +1 -30
- package/lib/ele-tabs/style/index.scss +372 -241
- package/lib/ele-tabs/types.d.ts +2 -1
- package/lib/ele-text/index.d.ts +12 -12
- package/lib/ele-text/props.d.ts +5 -4
- package/lib/ele-tool/index.cjs +1 -3
- package/lib/ele-tool/index.d.ts +8 -8
- package/lib/ele-tool/props.cjs +5 -0
- package/lib/ele-tool/props.d.ts +10 -2
- package/lib/ele-toolbar/index.d.ts +15 -15
- package/lib/ele-toolbar/props.d.ts +7 -6
- package/lib/ele-tooltip/index.cjs +3 -0
- package/lib/ele-tooltip/index.d.ts +59 -58
- package/lib/ele-tooltip/props.cjs +2 -0
- package/lib/ele-tooltip/props.d.ts +28 -22
- package/lib/ele-tour/index.d.ts +15 -14
- package/lib/ele-tour/props.d.ts +3 -2
- package/lib/ele-tour/util.d.ts +3 -2
- package/lib/ele-tree-select/index.d.ts +37 -36
- package/lib/ele-tree-select/props.d.ts +12 -11
- package/lib/ele-tree-select/util.d.ts +3 -2
- package/lib/ele-upload-list/components/list-item.d.ts +7 -6
- package/lib/ele-upload-list/index.d.ts +26 -25
- package/lib/ele-upload-list/props.d.ts +6 -5
- package/lib/ele-virtual-table/components/body-cell.cjs +78 -111
- package/lib/ele-virtual-table/components/body-cell.d.ts +100 -65
- package/lib/ele-virtual-table/components/body-row.cjs +57 -52
- package/lib/ele-virtual-table/components/body-row.d.ts +89 -65
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
- package/lib/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
- package/lib/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/lib/ele-virtual-table/components/footer-row.cjs +27 -17
- package/lib/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/lib/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/lib/ele-virtual-table/components/header-row.d.ts +12 -11
- package/lib/ele-virtual-table/index.cjs +132 -134
- package/lib/ele-virtual-table/index.d.ts +91 -100
- package/lib/ele-virtual-table/props.d.ts +49 -51
- package/lib/ele-virtual-table/style/index.scss +1 -1
- package/lib/ele-virtual-table/types.d.ts +103 -69
- package/lib/ele-virtual-table/util.cjs +64 -17
- package/lib/ele-virtual-table/util.d.ts +35 -10
- package/lib/ele-watermark/index.d.ts +15 -14
- package/lib/ele-watermark/props.d.ts +4 -3
- package/lib/ele-watermark/util.d.ts +3 -2
- package/lib/ele-xg-player/index.d.ts +10 -10
- package/lib/icons/AnalysisOutlined.d.ts +1 -1
- package/lib/icons/ApplicationOutlined.d.ts +1 -1
- package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
- package/lib/icons/AppstoreOutlined.d.ts +1 -1
- package/lib/icons/ArrowDown.d.ts +1 -1
- package/lib/icons/ArrowDownOutlined.d.ts +1 -1
- package/lib/icons/ArrowLeft.d.ts +1 -1
- package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
- package/lib/icons/ArrowRight.d.ts +1 -1
- package/lib/icons/ArrowRightOutlined.d.ts +1 -1
- package/lib/icons/ArrowUp.d.ts +1 -1
- package/lib/icons/ArrowUpOutlined.d.ts +1 -1
- package/lib/icons/BellOutlined.d.ts +1 -1
- package/lib/icons/BookOutlined.d.ts +1 -1
- package/lib/icons/CalendarOutlined.d.ts +1 -1
- package/lib/icons/CaretDownFilled.d.ts +1 -1
- package/lib/icons/CaretUpFilled.d.ts +1 -1
- package/lib/icons/CheckCircleFilled.d.ts +1 -1
- package/lib/icons/CheckCircleOutlined.d.ts +1 -1
- package/lib/icons/CheckOutlined.d.ts +1 -1
- package/lib/icons/CityOutlined.d.ts +1 -1
- package/lib/icons/ClockCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseCircleFilled.d.ts +1 -1
- package/lib/icons/CloseCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseOutlined.d.ts +1 -1
- package/lib/icons/CloudUploadOutlined.d.ts +1 -1
- package/lib/icons/ClusterOutlined.d.ts +1 -1
- package/lib/icons/CodeOutlined.d.ts +1 -1
- package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
- package/lib/icons/CompassOutlined.d.ts +1 -1
- package/lib/icons/CompressOutlined.d.ts +1 -1
- package/lib/icons/ConnectionOutlined.d.ts +1 -1
- package/lib/icons/ControlOutlined.d.ts +1 -1
- package/lib/icons/CopyOutlined.d.ts +1 -1
- package/lib/icons/CpuOutlined.d.ts +1 -1
- package/lib/icons/DashboardOutlined.d.ts +1 -1
- package/lib/icons/DatabaseOutlined.d.ts +1 -1
- package/lib/icons/DeleteOutlined.d.ts +1 -1
- package/lib/icons/DesktopOutlined.d.ts +1 -1
- package/lib/icons/DownloadOutlined.d.ts +1 -1
- package/lib/icons/DragOutlined.d.ts +1 -1
- package/lib/icons/EditOutlined.d.ts +1 -1
- package/lib/icons/EllipsisOutlined.d.ts +1 -1
- package/lib/icons/EnvironmentOutlined.d.ts +1 -1
- package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
- package/lib/icons/ExpandOutlined.d.ts +1 -1
- package/lib/icons/FileOutlined.d.ts +1 -1
- package/lib/icons/FilterFilled.d.ts +1 -1
- package/lib/icons/FolderAddOutlined.d.ts +1 -1
- package/lib/icons/FolderOutlined.d.ts +1 -1
- package/lib/icons/FormOutlined.d.ts +1 -1
- package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
- package/lib/icons/FullscreenOutlined.d.ts +1 -1
- package/lib/icons/FundOutlined.d.ts +1 -1
- package/lib/icons/GlobalOutlined.d.ts +1 -1
- package/lib/icons/HolderOutlined.d.ts +1 -1
- package/lib/icons/HomeOutlined.d.ts +1 -1
- package/lib/icons/IdcardOutlined.d.ts +1 -1
- package/lib/icons/InfoCircleFilled.d.ts +1 -1
- package/lib/icons/LinkOutlined.d.ts +1 -1
- package/lib/icons/LoadingDotOutlined.d.ts +1 -1
- package/lib/icons/LoadingOutlined.d.ts +1 -1
- package/lib/icons/LockOutlined.d.ts +1 -1
- package/lib/icons/LogOutlined.d.ts +1 -1
- package/lib/icons/LogoutOutlined.d.ts +1 -1
- package/lib/icons/MailOutlined.d.ts +1 -1
- package/lib/icons/MenuFoldOutlined.d.ts +1 -1
- package/lib/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/lib/icons/MessageOutlined.d.ts +1 -1
- package/lib/icons/MinusCircleOutlined.d.ts +1 -1
- package/lib/icons/MobileOutlined.d.ts +1 -1
- package/lib/icons/MoonOutlined.d.ts +1 -1
- package/lib/icons/MoreOutlined.d.ts +1 -1
- package/lib/icons/PauseFilled.d.ts +1 -1
- package/lib/icons/PieChartOutlined.d.ts +1 -1
- package/lib/icons/PlayFilled.d.ts +1 -1
- package/lib/icons/PlusCircleOutlined.d.ts +1 -1
- package/lib/icons/PlusOutlined.d.ts +1 -1
- package/lib/icons/PrinterOutlined.cjs +28 -0
- package/lib/icons/PrinterOutlined.d.ts +2 -0
- package/lib/icons/ProtectOutlined.d.ts +1 -1
- package/lib/icons/QuestionCircleFilled.d.ts +1 -1
- package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
- package/lib/icons/ReloadOutlined.d.ts +1 -1
- package/lib/icons/ResizeOutlined.cjs +29 -0
- package/lib/icons/ResizeOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.d.ts +1 -1
- package/lib/icons/SettingOutlined.d.ts +1 -1
- package/lib/icons/ShoppingOutlined.d.ts +1 -1
- package/lib/icons/SortOutlined.d.ts +1 -1
- package/lib/icons/StarFilled.d.ts +1 -1
- package/lib/icons/StepBackwardFilled.d.ts +1 -1
- package/lib/icons/StepForwardFilled.d.ts +1 -1
- package/lib/icons/SuitcaseOutlined.d.ts +1 -1
- package/lib/icons/SunOutlined.d.ts +1 -1
- package/lib/icons/SwapOutlined.d.ts +1 -1
- package/lib/icons/SyncOutlined.d.ts +1 -1
- package/lib/icons/TableOutlined.d.ts +1 -1
- package/lib/icons/TagOutlined.d.ts +1 -1
- package/lib/icons/TimerOutlined.d.ts +1 -1
- package/lib/icons/UndoOutlined.d.ts +1 -1
- package/lib/icons/UnlockOutlined.d.ts +1 -1
- package/lib/icons/UploadOutlined.d.ts +1 -1
- package/lib/icons/UserOutlined.d.ts +1 -1
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/lib/icons/VerticalLeftOutlined.cjs +2 -2
- package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
- package/lib/icons/VerticalRightOutlined.cjs +2 -2
- package/lib/icons/VerticalRightOutlined.d.ts +1 -1
- package/lib/icons/WarningOutlined.d.ts +1 -1
- package/lib/icons/ZoomInOutlined.d.ts +1 -1
- package/lib/icons/ZoomOutOutlined.d.ts +1 -1
- package/lib/icons/index.cjs +4 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.cjs +13 -2
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +13 -2
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +12 -1
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/style/nprogress.scss +1 -0
- package/lib/style/themes/dark.scss +9 -15
- package/lib/style/themes/default.scss +58 -81
- package/lib/style/themes/rounded.scss +16 -30
- package/lib/utils/menu-util.cjs +1 -4
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message.d.ts +4 -3
- package/lib/utils/resolvers.cjs +2 -2
- package/lib/utils/resolvers.d.ts +2 -2
- package/package.json +23 -22
|
@@ -13,6 +13,11 @@
|
|
|
13
13
|
z-index: calc(#{eleVar('layout', 'index')} + 3);
|
|
14
14
|
flex-shrink: 0;
|
|
15
15
|
|
|
16
|
+
&.is-ghost {
|
|
17
|
+
background: hsla(0, 0%, 100%, 0.04);
|
|
18
|
+
backdrop-filter: blur(8px);
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
/* 图标 */
|
|
17
22
|
.ele-admin-logo {
|
|
18
23
|
color: eleVar('logo', 'color');
|
|
@@ -41,7 +46,9 @@
|
|
|
41
46
|
|
|
42
47
|
/* 面包屑 */
|
|
43
48
|
.ele-admin-breadcrumb {
|
|
49
|
+
$tool-padding: eleVar('header', 'tool-padding');
|
|
44
50
|
flex-shrink: 0;
|
|
51
|
+
margin-left: calc(#{eleVar('header', 'tools-padding')} + #{$tool-padding});
|
|
45
52
|
}
|
|
46
53
|
|
|
47
54
|
/* 菜单 */
|
|
@@ -59,21 +66,79 @@
|
|
|
59
66
|
}
|
|
60
67
|
}
|
|
61
68
|
|
|
62
|
-
/*
|
|
63
|
-
.ele-admin-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
/* 页签栏 */
|
|
70
|
+
& > .ele-admin-tabs {
|
|
71
|
+
flex: 1;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
line-height: normal;
|
|
74
|
+
|
|
75
|
+
&.ele-tab-wrap {
|
|
76
|
+
padding-right: 0;
|
|
77
|
+
background: none;
|
|
78
|
+
box-shadow: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
& + .ele-admin-tools {
|
|
82
|
+
padding-left: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.is-simple,
|
|
86
|
+
&.is-indicator {
|
|
87
|
+
align-self: flex-end;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
& > .ele-admin-tabs.ele-tab-wrap.is-simple,
|
|
92
|
+
& > .ele-admin-tabs.ele-tab-wrap.is-indicator,
|
|
93
|
+
& > .ele-tab-wrap .ele-tabs.is-simple,
|
|
94
|
+
& > .ele-tab-wrap .ele-tabs.is-indicator {
|
|
95
|
+
$height: eleVar('header', 'height');
|
|
96
|
+
$tool-height: eleVar('header', 'tool-height');
|
|
97
|
+
$tab-height: calc(#{$height} - (#{$height} - #{$tool-height}) / 2);
|
|
98
|
+
#{eleVarName('tab', 'height')}: #{$tab-height};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* 工具栏 */
|
|
103
|
+
.ele-admin-tools {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
padding: 0 eleVar('header', 'tools-padding');
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
flex-shrink: 0;
|
|
109
|
+
height: 100%;
|
|
110
|
+
|
|
111
|
+
& + .ele-admin-breadcrumb {
|
|
112
|
+
margin-left: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
& + .ele-admin-tabs {
|
|
116
|
+
&.ele-tab-wrap,
|
|
117
|
+
&:not(.is-fixed-home) .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
118
|
+
padding-left: 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
& + .is-simple,
|
|
123
|
+
& + .is-indicator {
|
|
124
|
+
&.is-fixed-home,
|
|
125
|
+
&:not(.is-fixed-home) .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
126
|
+
padding-left: eleVar('tab', 'simple-angle-size');
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
& + .is-button {
|
|
131
|
+
&.is-fixed-home,
|
|
132
|
+
&:not(.is-fixed-home) .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
133
|
+
padding-left: eleVar('tab', 'button-space');
|
|
134
|
+
}
|
|
70
135
|
}
|
|
71
136
|
}
|
|
72
137
|
|
|
73
138
|
/* 操作按钮 */
|
|
74
139
|
.ele-admin-tool {
|
|
75
140
|
height: eleVar('header', 'tool-height');
|
|
76
|
-
padding: 0
|
|
141
|
+
padding: 0 eleVar('header', 'tool-padding');
|
|
77
142
|
display: flex;
|
|
78
143
|
align-items: center;
|
|
79
144
|
border-radius: eleVar('header', 'tool-radius');
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
width: 100% !important;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.ele-admin-tabs {
|
|
33
|
+
.ele-admin-body > .ele-admin-tabs {
|
|
34
34
|
left: 0 !important;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
&.is-dark,
|
|
58
58
|
&.is-primary {
|
|
59
|
-
box-shadow: eleVar('header
|
|
59
|
+
box-shadow: eleVar('header', 'dark-shadow');
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
top: 0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.ele-admin-tabs {
|
|
11
|
+
.ele-admin-body > .ele-admin-tabs {
|
|
12
12
|
position: sticky;
|
|
13
13
|
top: eleVar('header', 'height');
|
|
14
14
|
}
|
|
@@ -85,6 +85,7 @@
|
|
|
85
85
|
|
|
86
86
|
.ele-admin-main,
|
|
87
87
|
.ele-admin-body,
|
|
88
|
+
.ele-admin-wrapper,
|
|
88
89
|
.ele-admin-content {
|
|
89
90
|
overflow-x: hidden;
|
|
90
91
|
overflow-y: auto;
|
|
@@ -95,6 +96,10 @@
|
|
|
95
96
|
.ele-admin-sidebox {
|
|
96
97
|
height: 100%;
|
|
97
98
|
}
|
|
99
|
+
|
|
100
|
+
.ele-admin-wrapper > .el-backtop {
|
|
101
|
+
z-index: eleVar('layout', 'index');
|
|
102
|
+
}
|
|
98
103
|
}
|
|
99
104
|
|
|
100
105
|
/* 内容全屏 */
|
|
@@ -102,11 +107,11 @@
|
|
|
102
107
|
.ele-admin-header,
|
|
103
108
|
.ele-admin-sidebar,
|
|
104
109
|
.ele-admin-sidebox,
|
|
105
|
-
&.ele-admin-expanded .ele-admin-tabs {
|
|
110
|
+
&.ele-admin-expanded .ele-admin-body > .ele-admin-tabs {
|
|
106
111
|
display: none;
|
|
107
112
|
}
|
|
108
113
|
|
|
109
|
-
&.ele-admin-fixed-header .ele-admin-tabs {
|
|
114
|
+
&.ele-admin-fixed-header .ele-admin-body > .ele-admin-tabs {
|
|
110
115
|
top: 0;
|
|
111
116
|
}
|
|
112
117
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
/* 暗色顶栏 */
|
|
5
5
|
.ele-admin-header.is-dark,
|
|
6
6
|
.ele-admin-header.is-primary {
|
|
7
|
-
color: eleVar('
|
|
8
|
-
background: eleVar('header
|
|
9
|
-
box-shadow: eleVar('header
|
|
7
|
+
color: eleVar('header', 'dark-color');
|
|
8
|
+
background: eleVar('header', 'dark-bg');
|
|
9
|
+
box-shadow: eleVar('header', 'dark-shadow');
|
|
10
10
|
|
|
11
11
|
/* 操作按钮 */
|
|
12
12
|
.ele-admin-tool:hover {
|
|
@@ -15,32 +15,63 @@
|
|
|
15
15
|
|
|
16
16
|
/* 面包屑 */
|
|
17
17
|
.ele-breadcrumb .el-breadcrumb__item {
|
|
18
|
-
.el-breadcrumb__inner
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
&.is-link:hover {
|
|
22
|
-
color: eleVar('menu-dark', 'active-color');
|
|
23
|
-
}
|
|
18
|
+
.el-breadcrumb__inner,
|
|
19
|
+
.el-breadcrumb__separator {
|
|
20
|
+
color: rgba(255, 255, 255, 0.8);
|
|
24
21
|
}
|
|
25
22
|
|
|
23
|
+
.el-breadcrumb__inner.is-link:hover,
|
|
26
24
|
&:last-child .el-breadcrumb__inner {
|
|
27
|
-
color: eleVar('
|
|
25
|
+
color: eleVar('header', 'dark-color');
|
|
28
26
|
}
|
|
27
|
+
}
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
/* 页签栏 */
|
|
30
|
+
& > .ele-admin-tabs.ele-tab-wrap,
|
|
31
|
+
& > .ele-admin-tabs .ele-tabs {
|
|
32
|
+
$color: eleVar('header', 'dark-color');
|
|
33
|
+
$hover-bg: eleVar('header', 'dark-tool-hover-bg');
|
|
34
|
+
#{eleVarName('tab', 'color')}: #{$color};
|
|
35
|
+
#{eleVarName('tab', 'hover-color')}: #{$color};
|
|
36
|
+
#{eleVarName('tab', 'close-color')}: #{$color};
|
|
37
|
+
#{eleVarName('tab', 'close-hover-color')}: #{$color};
|
|
38
|
+
#{eleVarName('tab', 'close-hover-bg')}: #{$hover-bg};
|
|
39
|
+
#{eleVarName('tab', 'tool-color')}: #{$color};
|
|
40
|
+
#{eleVarName('tab', 'tool-hover-color')}: #{$color};
|
|
41
|
+
#{eleVarName('tab', 'simple-hover-color')}: #{$color};
|
|
42
|
+
#{eleVarName('tab', 'simple-hover-bg')}: #{$hover-bg};
|
|
43
|
+
#{eleVarName('tab', 'simple-active-bg')}: #{elVar('bg-color', 'overlay')};
|
|
44
|
+
#{eleVarName('tab', 'simple-active-line')}: 0px;
|
|
45
|
+
#{eleVarName('tab', 'simple-tool-hover-bg')}: transparent;
|
|
46
|
+
#{eleVarName('tab', 'indicator-dot-color')}: rgba(255, 255, 255, 0.4);
|
|
47
|
+
#{eleVarName('tab', 'indicator-dot-hover-color')}: rgba(255, 255, 255, 0.6);
|
|
48
|
+
#{eleVarName('tab', 'button-bg')}: #{$hover-bg};
|
|
49
|
+
#{eleVarName('tab', 'button-hover-bg')}: rgba(255, 255, 255, 0.2);
|
|
50
|
+
#{eleVarName('tab', 'button-hover-color')}: #{$color};
|
|
33
51
|
}
|
|
34
52
|
}
|
|
35
53
|
|
|
54
|
+
.ele-admin-header.is-dark > .ele-admin-tabs.ele-tab-wrap,
|
|
55
|
+
.ele-admin-header.is-dark > .ele-admin-tabs .ele-tabs {
|
|
56
|
+
$color: eleVar('header', 'dark-color');
|
|
57
|
+
$hover-bg: eleVar('header', 'dark-tool-hover-bg');
|
|
58
|
+
#{eleVarName('tab', 'active-close-color')}: #{$color};
|
|
59
|
+
#{eleVarName('tab', 'active-close-hover-color')}: #{$color};
|
|
60
|
+
#{eleVarName('tab', 'active-close-hover-bg')}: #{$hover-bg};
|
|
61
|
+
#{eleVarName('tab', 'simple-active-color')}: #{$color};
|
|
62
|
+
#{eleVarName('tab', 'simple-active-bg')}: #{elVar('color-primary')};
|
|
63
|
+
#{eleVarName('tab', 'indicator-dot-active-color')}: #{$color};
|
|
64
|
+
#{eleVarName('tab', 'button-active-color')}: #{$color};
|
|
65
|
+
#{eleVarName('tab', 'button-active-bg')}: #{elVar('color-primary')};
|
|
66
|
+
}
|
|
67
|
+
|
|
36
68
|
/* 主色顶栏 */
|
|
37
69
|
.ele-admin-header.is-primary {
|
|
38
70
|
background: elVar('color-primary');
|
|
39
71
|
|
|
72
|
+
/* 菜单 */
|
|
40
73
|
.ele-admin-menus > .ele-menu {
|
|
41
|
-
$
|
|
42
|
-
$active-bg: eleVar('header-primary', 'active-bg');
|
|
43
|
-
#{eleVarName('menu-horizontal', 'dark-hover-bg')}: #{$hover-bg};
|
|
74
|
+
$active-bg: eleVar('header', 'primary-active-bg');
|
|
44
75
|
#{eleVarName('menu-horizontal', 'dark-active-bg')}: #{$active-bg};
|
|
45
76
|
}
|
|
46
77
|
}
|
|
@@ -68,18 +99,12 @@
|
|
|
68
99
|
|
|
69
100
|
.ele-admin-sidebox {
|
|
70
101
|
background: eleVar('sidebar', 'dark-bg');
|
|
71
|
-
|
|
72
|
-
.ele-admin-menus > .el-scrollbar__wrap > .el-scrollbar__view > .ele-menu {
|
|
73
|
-
& > .el-sub-menu.is-active > .el-sub-menu__title {
|
|
74
|
-
background: eleVar('menu-dark', 'active-bg');
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
102
|
}
|
|
78
103
|
}
|
|
79
104
|
|
|
80
105
|
.ele-admin-sidebox .ele-sidebar-tool,
|
|
81
106
|
&:not(.ele-admin-mix-sidebar) .ele-admin-sidebar .ele-sidebar-tool {
|
|
82
|
-
color: eleVar('
|
|
107
|
+
color: eleVar('header', 'dark-color');
|
|
83
108
|
|
|
84
109
|
&:hover {
|
|
85
110
|
background: eleVar('header', 'dark-tool-hover-bg');
|
|
@@ -19,14 +19,21 @@
|
|
|
19
19
|
transition: width $ele-transition;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.ele-admin-
|
|
22
|
+
.ele-admin-wrapper {
|
|
23
23
|
flex: auto;
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
|
+
position: relative;
|
|
27
|
+
|
|
28
|
+
& > .el-backtop {
|
|
29
|
+
z-index: calc(#{eleVar('layout', 'index')} + 1);
|
|
30
|
+
}
|
|
26
31
|
}
|
|
27
32
|
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
.ele-admin-content {
|
|
34
|
+
flex: auto;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
30
37
|
}
|
|
31
38
|
}
|
|
32
39
|
|
|
@@ -58,17 +65,40 @@
|
|
|
58
65
|
}
|
|
59
66
|
|
|
60
67
|
/* iframe */
|
|
68
|
+
.ele-admin-iframe-wrap {
|
|
69
|
+
flex-shrink: 0;
|
|
70
|
+
position: absolute;
|
|
71
|
+
top: 0;
|
|
72
|
+
left: 0;
|
|
73
|
+
right: 0;
|
|
74
|
+
bottom: 0;
|
|
75
|
+
width: 100%;
|
|
76
|
+
height: 100%;
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
pointer-events: none;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
}
|
|
82
|
+
|
|
61
83
|
.ele-admin-iframe {
|
|
84
|
+
flex-shrink: 0;
|
|
62
85
|
width: 100%;
|
|
63
86
|
height: 100%;
|
|
64
|
-
box-sizing: border-box;
|
|
65
|
-
display: block;
|
|
66
87
|
border: none;
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
pointer-events: auto;
|
|
67
90
|
}
|
|
68
91
|
|
|
69
|
-
|
|
92
|
+
/* 弹窗容器 */
|
|
93
|
+
.ele-admin-modals {
|
|
94
|
+
flex-shrink: 0;
|
|
95
|
+
position: absolute;
|
|
96
|
+
top: 0;
|
|
97
|
+
left: 0;
|
|
98
|
+
right: 0;
|
|
99
|
+
bottom: 0;
|
|
70
100
|
width: 100%;
|
|
71
101
|
height: 100%;
|
|
72
|
-
|
|
73
|
-
|
|
102
|
+
pointer-events: none;
|
|
103
|
+
z-index: eleVar('layout', 'index');
|
|
74
104
|
}
|
|
@@ -15,6 +15,25 @@
|
|
|
15
15
|
/* 固定主页页签 */
|
|
16
16
|
&.is-fixed-home {
|
|
17
17
|
padding-left: eleVar('page', 'padding');
|
|
18
|
+
|
|
19
|
+
&.is-tag .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
20
|
+
padding-left: eleVar('tab', 'tag-space');
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.is-button .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
24
|
+
padding-left: eleVar('tab', 'button-space');
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* 页签风格适配 */
|
|
29
|
+
&.is-tag {
|
|
30
|
+
padding-right: eleVar('tab', 'tag-space');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.is-button {
|
|
34
|
+
padding-right: eleVar('page', 'padding');
|
|
35
|
+
background: eleVar('layout', 'bg');
|
|
36
|
+
box-shadow: none;
|
|
18
37
|
}
|
|
19
38
|
}
|
|
20
39
|
|
|
@@ -24,14 +43,3 @@
|
|
|
24
43
|
box-shadow: 0 -0.8px 0 eleVar('header', 'line-color') inset;
|
|
25
44
|
}
|
|
26
45
|
}
|
|
27
|
-
|
|
28
|
-
/* 按钮风格页签 */
|
|
29
|
-
.ele-admin-tab-card .ele-admin-tabs {
|
|
30
|
-
padding-right: eleVar('page', 'padding');
|
|
31
|
-
background: eleVar('layout', 'bg');
|
|
32
|
-
box-shadow: none;
|
|
33
|
-
|
|
34
|
-
&.is-fixed-home .el-tabs__nav-wrap:not(.is-scrollable) .el-tabs__nav {
|
|
35
|
-
padding-left: eleVar('tab-button', 'space');
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -111,14 +111,13 @@ function getMatchedComponents(matched) {
|
|
|
111
111
|
});
|
|
112
112
|
return components;
|
|
113
113
|
}
|
|
114
|
-
function getRouteTab(current, tabs, homePath,
|
|
114
|
+
function getRouteTab(current, tabs, homePath, routeTitle) {
|
|
115
115
|
const { path, fullPath, meta, matched } = current;
|
|
116
116
|
const key = meta.tabUnique === false ? fullPath : path;
|
|
117
117
|
const t = findTabByPath(key, tabs);
|
|
118
118
|
const title = (t == null ? void 0 : t.title) || routeTitle;
|
|
119
119
|
const home = isHomeRoute(current, homePath);
|
|
120
|
-
const
|
|
121
|
-
const closable = isFixedHome ? false : (t == null ? void 0 : t.closable) ?? meta.closable !== false;
|
|
120
|
+
const closable = (t == null ? void 0 : t.closable) ?? meta.closable !== false;
|
|
122
121
|
const components = getMatchedComponents(matched);
|
|
123
122
|
return { key, path, fullPath, title, closable, home, components, meta };
|
|
124
123
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { MenuMeta, MenuItem, TabItem, LevelItem, CurrentRoute, WindowListenerOption, MatchedResult, MixActiveResult } from './types';
|
|
2
|
+
import { ProLayoutProps } from './props';
|
|
3
|
+
import { RouteLocationMatched } from 'vue-router';
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
6
|
* 判断路由是否是主页
|
|
6
7
|
* @param route 路由信息
|
|
@@ -57,11 +58,10 @@ export declare function getMatchedComponents(matched: RouteLocationMatched[]): s
|
|
|
57
58
|
* @param current 路由信息
|
|
58
59
|
* @param tabs 当前页签数据
|
|
59
60
|
* @param homePath 主页地址
|
|
60
|
-
* @param fixedHome 是否固定主页
|
|
61
61
|
* @param repeatableTabs 可重复打开的页签
|
|
62
62
|
* @param routeTitle 路由对应的标题
|
|
63
63
|
*/
|
|
64
|
-
export declare function getRouteTab(current: CurrentRoute, tabs: TabItem[], homePath: string,
|
|
64
|
+
export declare function getRouteTab(current: CurrentRoute, tabs: TabItem[], homePath: string, routeTitle?: string): TabItem;
|
|
65
65
|
/**
|
|
66
66
|
* 获取混合导航布局选中
|
|
67
67
|
* @param matched 路由匹配的菜单层级数据
|
|
@@ -95,4 +95,4 @@ export declare function useDisableTransition(): {
|
|
|
95
95
|
* @param menus 菜单数据
|
|
96
96
|
* @param link 是否使用超链接
|
|
97
97
|
*/
|
|
98
|
-
export declare function getMenuItems(menus: MenuItem[], link: boolean): Partial<import(
|
|
98
|
+
export declare function getMenuItems(menus: MenuItem[], link: boolean): Partial<import('../ele-menus/types').MenuItem>[];
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
4
|
const icons = require("../../icons");
|
|
5
|
-
const receiver = require("../../ele-config-provider/receiver");
|
|
6
5
|
const EleDropdown = require("../../ele-dropdown/index");
|
|
6
|
+
const receiver = require("../../ele-config-provider/receiver");
|
|
7
7
|
const util = require("../util");
|
|
8
8
|
const EleTool = require("../../ele-tool/index");
|
|
9
9
|
const ToolColumn = require("./tool-column");
|
|
10
|
+
const ToolExport = require("./tool-export");
|
|
11
|
+
const ToolPrint = require("./tool-print");
|
|
10
12
|
const _sfc_main = vue.defineComponent({
|
|
11
13
|
name: "TableTools",
|
|
12
14
|
components: {
|
|
@@ -17,25 +19,64 @@ const _sfc_main = vue.defineComponent({
|
|
|
17
19
|
FullscreenExitOutlined: icons.FullscreenExitOutlined,
|
|
18
20
|
EleDropdown,
|
|
19
21
|
EleTool,
|
|
20
|
-
ToolColumn
|
|
22
|
+
ToolColumn,
|
|
23
|
+
ToolExport,
|
|
24
|
+
ToolPrint
|
|
21
25
|
},
|
|
22
26
|
props: {
|
|
27
|
+
/** 工具按钮布局 */
|
|
28
|
+
tools: {
|
|
29
|
+
type: Array,
|
|
30
|
+
required: true
|
|
31
|
+
},
|
|
23
32
|
/** 表格尺寸 */
|
|
24
33
|
size: String,
|
|
25
34
|
/** 表格列数据 */
|
|
26
35
|
columns: Array,
|
|
27
|
-
/** 工具按钮布局 */
|
|
28
|
-
tools: Array,
|
|
29
36
|
/** 是否开启列拖拽排序 */
|
|
30
37
|
columnSortable: Boolean,
|
|
31
38
|
/** 是否开启开关固定列 */
|
|
32
39
|
columnFixed: Boolean,
|
|
33
40
|
/** 是否最大化 */
|
|
34
41
|
maximized: Boolean,
|
|
35
|
-
/**
|
|
42
|
+
/** 本地缓存的名称 */
|
|
36
43
|
cacheKey: String,
|
|
37
44
|
/** 国际化 */
|
|
38
|
-
locale: Object
|
|
45
|
+
locale: Object,
|
|
46
|
+
/** 表格选中数据 */
|
|
47
|
+
selections: Array,
|
|
48
|
+
/** 表格当前页数据 */
|
|
49
|
+
pageData: Array,
|
|
50
|
+
/** 单元格合并行列方法 */
|
|
51
|
+
spanMethod: Function,
|
|
52
|
+
/** 是否显示合计行 */
|
|
53
|
+
showSummary: Boolean,
|
|
54
|
+
/** 合计行文本 */
|
|
55
|
+
sumText: String,
|
|
56
|
+
/** 合计行自定义方法 */
|
|
57
|
+
summaryMethod: Function,
|
|
58
|
+
/** 单元格样式 */
|
|
59
|
+
cellStyle: [Object, Function],
|
|
60
|
+
/** 单元格类名自定义 */
|
|
61
|
+
cellClassName: [String, Function],
|
|
62
|
+
/** 单元格样式 */
|
|
63
|
+
headerCellStyle: [Object, Function],
|
|
64
|
+
/** 单元格类名自定义 */
|
|
65
|
+
headerCellClassName: [String, Function],
|
|
66
|
+
/** 序号列起始索引 */
|
|
67
|
+
pageIndex: Number,
|
|
68
|
+
/** 表格请求数据方法 */
|
|
69
|
+
fetch: Function,
|
|
70
|
+
/** 导出配置 */
|
|
71
|
+
exportConfig: {
|
|
72
|
+
type: Object,
|
|
73
|
+
required: true
|
|
74
|
+
},
|
|
75
|
+
/** 打印配置 */
|
|
76
|
+
printConfig: {
|
|
77
|
+
type: Object,
|
|
78
|
+
required: true
|
|
79
|
+
}
|
|
39
80
|
},
|
|
40
81
|
emits: {
|
|
41
82
|
reload: () => true,
|
|
@@ -89,6 +130,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
89
130
|
const _component_ToolColumn = vue.resolveComponent("ToolColumn");
|
|
90
131
|
const _component_FullscreenExitOutlined = vue.resolveComponent("FullscreenExitOutlined");
|
|
91
132
|
const _component_FullscreenOutlined = vue.resolveComponent("FullscreenOutlined");
|
|
133
|
+
const _component_ToolExport = vue.resolveComponent("ToolExport");
|
|
134
|
+
const _component_ToolPrint = vue.resolveComponent("ToolPrint");
|
|
92
135
|
return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tools, (tool, index) => {
|
|
93
136
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
94
137
|
tool === "reload" ? (vue.openBlock(), vue.createBlock(_component_EleTool, {
|
|
@@ -168,7 +211,81 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
168
211
|
})
|
|
169
212
|
]),
|
|
170
213
|
_: 2
|
|
171
|
-
}, 1032, ["placement", "title", "onClick"])) :
|
|
214
|
+
}, 1032, ["placement", "title", "onClick"])) : tool === "export" ? (vue.openBlock(), vue.createBlock(_component_ToolExport, {
|
|
215
|
+
key: index + "-export",
|
|
216
|
+
placement: _ctx.placement,
|
|
217
|
+
title: _ctx.lang.export,
|
|
218
|
+
checkAllText: _ctx.lang.columnTitle,
|
|
219
|
+
resetText: _ctx.lang.columnReset,
|
|
220
|
+
untitledText: _ctx.lang.columnUntitled,
|
|
221
|
+
fileNameText: _ctx.lang.exportFileName,
|
|
222
|
+
fileNamePlaceholderText: _ctx.lang.exportFileNamePlaceholder,
|
|
223
|
+
selectDataText: _ctx.lang.exportSelectData,
|
|
224
|
+
selectColumnText: _ctx.lang.exportSelectColumn,
|
|
225
|
+
dataTypePageText: _ctx.lang.exportDataTypePage,
|
|
226
|
+
dataTypeSelectedText: _ctx.lang.exportDataTypeSelected,
|
|
227
|
+
dataTypeAllText: _ctx.lang.exportDataTypeAll,
|
|
228
|
+
cancelText: _ctx.lang.exportCancel,
|
|
229
|
+
okText: _ctx.lang.exportOk,
|
|
230
|
+
modalProps: _ctx.exportConfig.modalProps,
|
|
231
|
+
columns: _ctx.columns,
|
|
232
|
+
selections: _ctx.selections,
|
|
233
|
+
pageData: _ctx.pageData,
|
|
234
|
+
datasource: _ctx.exportConfig.datasource,
|
|
235
|
+
spanMethod: _ctx.spanMethod,
|
|
236
|
+
showSummary: _ctx.showSummary,
|
|
237
|
+
sumText: _ctx.sumText,
|
|
238
|
+
summaryMethod: _ctx.summaryMethod,
|
|
239
|
+
pageIndex: _ctx.pageIndex,
|
|
240
|
+
fetch: _ctx.fetch,
|
|
241
|
+
defaultFileName: _ctx.exportConfig.fileName,
|
|
242
|
+
defaultDataType: _ctx.exportConfig.dataType,
|
|
243
|
+
beforeExport: _ctx.exportConfig.beforeExport
|
|
244
|
+
}, null, 8, ["placement", "title", "checkAllText", "resetText", "untitledText", "fileNameText", "fileNamePlaceholderText", "selectDataText", "selectColumnText", "dataTypePageText", "dataTypeSelectedText", "dataTypeAllText", "cancelText", "okText", "modalProps", "columns", "selections", "pageData", "datasource", "spanMethod", "showSummary", "sumText", "summaryMethod", "pageIndex", "fetch", "defaultFileName", "defaultDataType", "beforeExport"])) : tool === "print" ? (vue.openBlock(), vue.createBlock(_component_ToolPrint, {
|
|
245
|
+
key: index + "-print",
|
|
246
|
+
placement: _ctx.placement,
|
|
247
|
+
title: _ctx.lang.print,
|
|
248
|
+
checkAllText: _ctx.lang.columnTitle,
|
|
249
|
+
resetText: _ctx.lang.columnReset,
|
|
250
|
+
untitledText: _ctx.lang.columnUntitled,
|
|
251
|
+
selectDataText: _ctx.lang.exportSelectData,
|
|
252
|
+
selectColumnText: _ctx.lang.exportSelectColumn,
|
|
253
|
+
dataTypePageText: _ctx.lang.exportDataTypePage,
|
|
254
|
+
dataTypeSelectedText: _ctx.lang.exportDataTypeSelected,
|
|
255
|
+
dataTypeAllText: _ctx.lang.exportDataTypeAll,
|
|
256
|
+
cancelText: _ctx.lang.exportCancel,
|
|
257
|
+
okText: _ctx.lang.exportOk,
|
|
258
|
+
modalProps: _ctx.printConfig.modalProps,
|
|
259
|
+
columns: _ctx.columns,
|
|
260
|
+
selections: _ctx.selections,
|
|
261
|
+
pageData: _ctx.pageData,
|
|
262
|
+
datasource: _ctx.printConfig.datasource,
|
|
263
|
+
spanMethod: _ctx.spanMethod,
|
|
264
|
+
showSummary: _ctx.showSummary,
|
|
265
|
+
sumText: _ctx.sumText,
|
|
266
|
+
summaryMethod: _ctx.summaryMethod,
|
|
267
|
+
cellStyle: _ctx.cellStyle,
|
|
268
|
+
cellClassName: _ctx.cellClassName,
|
|
269
|
+
headerCellStyle: _ctx.headerCellStyle,
|
|
270
|
+
headerCellClassName: _ctx.headerCellClassName,
|
|
271
|
+
pageIndex: _ctx.pageIndex,
|
|
272
|
+
fetch: _ctx.fetch,
|
|
273
|
+
defaultDataType: _ctx.printConfig.dataType,
|
|
274
|
+
beforePrint: _ctx.printConfig.beforePrint
|
|
275
|
+
}, vue.createSlots({ _: 2 }, [
|
|
276
|
+
vue.renderList(Object.keys(_ctx.$slots), (name) => {
|
|
277
|
+
return {
|
|
278
|
+
name,
|
|
279
|
+
fn: vue.withCtx((slotProps) => [
|
|
280
|
+
vue.renderSlot(_ctx.$slots, name, vue.normalizeProps(vue.guardReactiveProps(slotProps || {})))
|
|
281
|
+
])
|
|
282
|
+
};
|
|
283
|
+
})
|
|
284
|
+
]), 1032, ["placement", "title", "checkAllText", "resetText", "untitledText", "selectDataText", "selectColumnText", "dataTypePageText", "dataTypeSelectedText", "dataTypeAllText", "cancelText", "okText", "modalProps", "columns", "selections", "pageData", "datasource", "spanMethod", "showSummary", "sumText", "summaryMethod", "cellStyle", "cellClassName", "headerCellStyle", "headerCellClassName", "pageIndex", "fetch", "defaultDataType", "beforePrint"])) : tool && !["default", "printTop", "printBottom"].includes(tool) && _ctx.$slots[tool] ? vue.renderSlot(_ctx.$slots, tool, {
|
|
285
|
+
key: 6,
|
|
286
|
+
pageIndex: _ctx.pageIndex,
|
|
287
|
+
fetch: _ctx.fetch
|
|
288
|
+
}) : vue.createCommentVNode("", true)
|
|
172
289
|
], 64);
|
|
173
290
|
}), 256);
|
|
174
291
|
}
|