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
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
declare const _default: import(
|
|
1
|
+
import { DataKey, DataItem } from '../ele-data-table/types';
|
|
2
|
+
import { SingleValue, SelectValue, SelectedItem } from '../ele-basic-select/types';
|
|
3
|
+
import { EleBasicSelectInstance, EleProTableInstance } from '../ele-app/plus';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
7
|
-
type: import(
|
|
7
|
+
type: import('vue').PropType<SelectValue>;
|
|
8
8
|
default: () => null;
|
|
9
9
|
};
|
|
10
10
|
multiple: BooleanConstructor;
|
|
11
11
|
disabled: BooleanConstructor;
|
|
12
|
-
size: import(
|
|
12
|
+
size: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined>;
|
|
13
13
|
clearable: BooleanConstructor;
|
|
14
14
|
placeholder: StringConstructor;
|
|
15
15
|
valueKey: {
|
|
@@ -20,16 +20,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: StringConstructor;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
-
initValue: import(
|
|
24
|
-
cacheData: import(
|
|
23
|
+
initValue: import('vue').PropType<DataItem | DataItem[]>;
|
|
24
|
+
cacheData: import('vue').PropType<DataItem[]>; /** 表格组件 */
|
|
25
25
|
tableProps: {
|
|
26
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<import('../ele-app/plus').EleProTableProps>; /** 下拉框是否显示 */
|
|
27
27
|
required: boolean;
|
|
28
28
|
};
|
|
29
|
-
maxTagCount: NumberConstructor; /**
|
|
29
|
+
maxTagCount: NumberConstructor; /** 选中的标签 */
|
|
30
30
|
maxTagTextLength: NumberConstructor;
|
|
31
31
|
tagType: {
|
|
32
|
-
type: import(
|
|
32
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
35
|
automaticDropdown: BooleanConstructor;
|
|
@@ -43,36 +43,36 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
45
|
placement: {
|
|
46
|
-
type: import(
|
|
46
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
|
|
47
47
|
default: string;
|
|
48
48
|
};
|
|
49
49
|
transition: {
|
|
50
50
|
type: StringConstructor;
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
|
-
popperOptions: import(
|
|
53
|
+
popperOptions: import('vue').PropType<Partial<import('element-plus').Options> | undefined>;
|
|
54
54
|
popperClass: StringConstructor;
|
|
55
55
|
popperWidth: (StringConstructor | NumberConstructor)[];
|
|
56
|
-
selectStyle: import(
|
|
57
|
-
inputStyle: import(
|
|
56
|
+
selectStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
57
|
+
inputStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
58
58
|
responsive: {
|
|
59
59
|
type: BooleanConstructor;
|
|
60
60
|
default: null;
|
|
61
61
|
};
|
|
62
62
|
}, {
|
|
63
|
-
selectRef: import(
|
|
64
|
-
tableRef: import(
|
|
65
|
-
selectVisible: import(
|
|
66
|
-
selectedItems: import(
|
|
63
|
+
selectRef: import('vue').Ref<EleBasicSelectInstance>;
|
|
64
|
+
tableRef: import('vue').Ref<EleProTableInstance>;
|
|
65
|
+
selectVisible: import('vue').Ref<boolean>;
|
|
66
|
+
selectedItems: import('vue').Ref<{
|
|
67
67
|
label: string;
|
|
68
68
|
value: SingleValue;
|
|
69
69
|
hide?: boolean | undefined;
|
|
70
70
|
index?: number | undefined;
|
|
71
71
|
}[]>;
|
|
72
|
-
selectedLabel: import(
|
|
73
|
-
currentRowKey: import(
|
|
74
|
-
selectedRowKeys: import(
|
|
75
|
-
selectPopperClass: import(
|
|
72
|
+
selectedLabel: import('vue').ComputedRef<string>;
|
|
73
|
+
currentRowKey: import('vue').ComputedRef<DataKey | undefined>;
|
|
74
|
+
selectedRowKeys: import('vue').ComputedRef<DataKey[] | undefined>;
|
|
75
|
+
selectPopperClass: import('vue').ComputedRef<string>;
|
|
76
76
|
updatePopover: () => void;
|
|
77
77
|
updateSelectedItems: (force?: boolean) => void;
|
|
78
78
|
focusSearchInput: () => void;
|
|
@@ -84,11 +84,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
onSelectFilter: (keywords: string) => void;
|
|
85
85
|
updateSelectedRowKeys: (rowKeys: DataKey[]) => void;
|
|
86
86
|
updateCurrentRowKey: (rowKey?: DataKey) => void;
|
|
87
|
-
onTableCurrentChange: (row?: DataItem | null
|
|
88
|
-
onTableSelectionChange: (
|
|
89
|
-
onTableRowClick: (row: DataItem
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
onTableCurrentChange: (row?: DataItem | null) => void;
|
|
88
|
+
onTableSelectionChange: () => void;
|
|
89
|
+
onTableRowClick: (row: DataItem) => void;
|
|
90
|
+
onTableSelect: (selection: DataItem[]) => void;
|
|
91
|
+
onTableSelectAll: (selection: DataItem[]) => void;
|
|
92
|
+
onTableDone: () => void;
|
|
93
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
92
94
|
'update:modelValue': (_value: SelectValue) => boolean;
|
|
93
95
|
change: (_value: SelectValue) => boolean;
|
|
94
96
|
visibleChange: (_visible: boolean) => boolean;
|
|
@@ -98,14 +100,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
100
|
blur: (_e: FocusEvent) => boolean;
|
|
99
101
|
select: (_item: DataItem | DataItem[]) => boolean;
|
|
100
102
|
filterChange: (_value: string) => boolean;
|
|
101
|
-
}, string, import(
|
|
103
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
102
104
|
modelValue: {
|
|
103
|
-
type: import(
|
|
105
|
+
type: import('vue').PropType<SelectValue>;
|
|
104
106
|
default: () => null;
|
|
105
107
|
};
|
|
106
108
|
multiple: BooleanConstructor;
|
|
107
109
|
disabled: BooleanConstructor;
|
|
108
|
-
size: import(
|
|
110
|
+
size: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined>;
|
|
109
111
|
clearable: BooleanConstructor;
|
|
110
112
|
placeholder: StringConstructor;
|
|
111
113
|
valueKey: {
|
|
@@ -116,16 +118,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
118
|
type: StringConstructor;
|
|
117
119
|
default: string;
|
|
118
120
|
};
|
|
119
|
-
initValue: import(
|
|
120
|
-
cacheData: import(
|
|
121
|
+
initValue: import('vue').PropType<DataItem | DataItem[]>;
|
|
122
|
+
cacheData: import('vue').PropType<DataItem[]>; /** 表格组件 */
|
|
121
123
|
tableProps: {
|
|
122
|
-
type: import(
|
|
124
|
+
type: import('vue').PropType<import('../ele-app/plus').EleProTableProps>; /** 下拉框是否显示 */
|
|
123
125
|
required: boolean;
|
|
124
126
|
};
|
|
125
|
-
maxTagCount: NumberConstructor; /**
|
|
127
|
+
maxTagCount: NumberConstructor; /** 选中的标签 */
|
|
126
128
|
maxTagTextLength: NumberConstructor;
|
|
127
129
|
tagType: {
|
|
128
|
-
type: import(
|
|
130
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
129
131
|
default: string;
|
|
130
132
|
};
|
|
131
133
|
automaticDropdown: BooleanConstructor;
|
|
@@ -139,18 +141,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
141
|
default: boolean;
|
|
140
142
|
};
|
|
141
143
|
placement: {
|
|
142
|
-
type: import(
|
|
144
|
+
type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
|
|
143
145
|
default: string;
|
|
144
146
|
};
|
|
145
147
|
transition: {
|
|
146
148
|
type: StringConstructor;
|
|
147
149
|
default: string;
|
|
148
150
|
};
|
|
149
|
-
popperOptions: import(
|
|
151
|
+
popperOptions: import('vue').PropType<Partial<import('element-plus').Options> | undefined>;
|
|
150
152
|
popperClass: StringConstructor;
|
|
151
153
|
popperWidth: (StringConstructor | NumberConstructor)[];
|
|
152
|
-
selectStyle: import(
|
|
153
|
-
inputStyle: import(
|
|
154
|
+
selectStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
155
|
+
inputStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
154
156
|
responsive: {
|
|
155
157
|
type: BooleanConstructor;
|
|
156
158
|
default: null;
|
|
@@ -166,7 +168,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
166
168
|
onRemoveTag?: ((_value: SingleValue) => any) | undefined;
|
|
167
169
|
onFilterChange?: ((_value: string) => any) | undefined;
|
|
168
170
|
}, {
|
|
169
|
-
placement: import(
|
|
171
|
+
placement: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined;
|
|
170
172
|
disabled: boolean;
|
|
171
173
|
teleported: boolean;
|
|
172
174
|
modelValue: SelectValue;
|
|
@@ -175,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
177
|
transition: string;
|
|
176
178
|
valueKey: string;
|
|
177
179
|
filterable: boolean;
|
|
178
|
-
tagType: import(
|
|
180
|
+
tagType: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined;
|
|
179
181
|
multiple: boolean;
|
|
180
182
|
responsive: boolean;
|
|
181
183
|
automaticDropdown: boolean;
|
|
@@ -131,7 +131,8 @@ const _sfc_main = defineComponent({
|
|
|
131
131
|
}
|
|
132
132
|
if (force || !d || d.value !== value) {
|
|
133
133
|
const temp = tableRef.value ? tableRef.value.getCurrentRow() : null;
|
|
134
|
-
const
|
|
134
|
+
const t = temp && temp[props.valueKey] === value ? temp : void 0;
|
|
135
|
+
const item = t || getItemByValue(value);
|
|
135
136
|
const label = item ? item[props.labelKey] : String(value);
|
|
136
137
|
selectedItems.value = [{ label, value }];
|
|
137
138
|
}
|
|
@@ -228,39 +229,35 @@ const _sfc_main = defineComponent({
|
|
|
228
229
|
updateModelValue(rowKey);
|
|
229
230
|
}
|
|
230
231
|
};
|
|
231
|
-
const onTableCurrentChange = (row
|
|
232
|
+
const onTableCurrentChange = (row) => {
|
|
232
233
|
if (!props.multiple && row != null) {
|
|
233
234
|
updateSelectedItems(true);
|
|
234
|
-
emit("select", row);
|
|
235
|
-
}
|
|
236
|
-
if (props.tableProps != null && typeof props.tableProps.onCurrentChange === "function") {
|
|
237
|
-
props.tableProps.onCurrentChange(row, old);
|
|
238
235
|
}
|
|
239
236
|
};
|
|
240
|
-
const onTableSelectionChange = (
|
|
237
|
+
const onTableSelectionChange = () => {
|
|
241
238
|
if (props.multiple) {
|
|
242
239
|
updateSelectedItems(true);
|
|
243
|
-
emit("select", selection);
|
|
244
|
-
}
|
|
245
|
-
if (props.tableProps != null && typeof props.tableProps.onSelectionChange === "function") {
|
|
246
|
-
props.tableProps.onSelectionChange(selection);
|
|
247
240
|
}
|
|
248
241
|
};
|
|
249
|
-
const onTableRowClick = (row
|
|
242
|
+
const onTableRowClick = (row) => {
|
|
243
|
+
var _a;
|
|
250
244
|
if (!props.multiple) {
|
|
251
245
|
updateVisible(false);
|
|
246
|
+
emit("select", row);
|
|
247
|
+
} else if (((_a = props.tableProps) == null ? void 0 : _a.rowClickChecked) && tableRef.value) {
|
|
248
|
+
emit("select", tableRef.value.getSelectionRows() || []);
|
|
252
249
|
}
|
|
253
|
-
if (props.tableProps != null && typeof props.tableProps.onRowClick === "function") {
|
|
254
|
-
props.tableProps.onRowClick(row, column, e);
|
|
255
|
-
}
|
|
256
250
|
};
|
|
257
|
-
const
|
|
251
|
+
const onTableSelect = (selection) => {
|
|
252
|
+
emit("select", selection);
|
|
253
|
+
};
|
|
254
|
+
const onTableSelectAll = (selection) => {
|
|
255
|
+
emit("select", selection);
|
|
256
|
+
};
|
|
257
|
+
const onTableDone = () => {
|
|
258
258
|
nextTick(() => {
|
|
259
259
|
updatePopover();
|
|
260
260
|
});
|
|
261
|
-
if (props.tableProps != null && typeof props.tableProps.onDone === "function") {
|
|
262
|
-
props.tableProps.onDone(result, parent);
|
|
263
|
-
}
|
|
264
261
|
};
|
|
265
262
|
watch(
|
|
266
263
|
() => props.modelValue,
|
|
@@ -322,6 +319,8 @@ const _sfc_main = defineComponent({
|
|
|
322
319
|
onTableCurrentChange,
|
|
323
320
|
onTableSelectionChange,
|
|
324
321
|
onTableRowClick,
|
|
322
|
+
onTableSelect,
|
|
323
|
+
onTableSelectAll,
|
|
325
324
|
onTableDone
|
|
326
325
|
};
|
|
327
326
|
}
|
|
@@ -370,19 +369,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
370
369
|
}, createSlots({
|
|
371
370
|
default: withCtx(() => [
|
|
372
371
|
renderSlot(_ctx.$slots, "topExtra"),
|
|
373
|
-
createVNode(_component_EleProTable, mergeProps(
|
|
374
|
-
ref: "tableRef",
|
|
375
|
-
rowKey: _ctx.valueKey,
|
|
376
|
-
reserveCurrent: true,
|
|
377
|
-
highlightCurrentRow: !_ctx.multiple,
|
|
378
|
-
currentRowKey: _ctx.currentRowKey,
|
|
379
|
-
selectedRowKeys: _ctx.selectedRowKeys,
|
|
372
|
+
createVNode(_component_EleProTable, mergeProps({
|
|
380
373
|
"onUpdate:selectedRowKeys": _ctx.updateSelectedRowKeys,
|
|
381
374
|
"onUpdate:currentRowKey": _ctx.updateCurrentRowKey,
|
|
382
375
|
onSelectionChange: _ctx.onTableSelectionChange,
|
|
383
376
|
onCurrentChange: _ctx.onTableCurrentChange,
|
|
384
377
|
onRowClick: _ctx.onTableRowClick,
|
|
378
|
+
onSelect: _ctx.onTableSelect,
|
|
379
|
+
onSelectAll: _ctx.onTableSelectAll,
|
|
385
380
|
onDone: _ctx.onTableDone
|
|
381
|
+
}, _ctx.tableProps || {}, {
|
|
382
|
+
ref: "tableRef",
|
|
383
|
+
rowKey: _ctx.valueKey,
|
|
384
|
+
reserveCurrent: true,
|
|
385
|
+
highlightCurrentRow: !_ctx.multiple,
|
|
386
|
+
currentRowKey: _ctx.currentRowKey,
|
|
387
|
+
selectedRowKeys: _ctx.selectedRowKeys
|
|
386
388
|
}), createSlots({ _: 2 }, [
|
|
387
389
|
renderList(Object.keys(_ctx.$slots).filter(
|
|
388
390
|
(k) => !["topExtra", "bottomExtra", "maxTagPlaceholder"].includes(k)
|
|
@@ -394,7 +396,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
394
396
|
])
|
|
395
397
|
};
|
|
396
398
|
})
|
|
397
|
-
]), 1040, ["
|
|
399
|
+
]), 1040, ["onUpdate:selectedRowKeys", "onUpdate:currentRowKey", "onSelectionChange", "onCurrentChange", "onRowClick", "onSelect", "onSelectAll", "onDone", "rowKey", "highlightCurrentRow", "currentRowKey", "selectedRowKeys"]),
|
|
398
400
|
renderSlot(_ctx.$slots, "bottomExtra")
|
|
399
401
|
]),
|
|
400
402
|
_: 2
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { SelectValue, SingleValue } from '../ele-basic-select/types';
|
|
2
|
+
import { DataItem } from '../ele-data-table/types';
|
|
3
|
+
import { EleProTableProps } from '../ele-app/plus';
|
|
4
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
5
|
+
|
|
5
6
|
/**
|
|
6
7
|
* 属性
|
|
7
8
|
*/
|
|
@@ -16,7 +17,7 @@ export declare const tableSelectProps: {
|
|
|
16
17
|
/** 是否禁用 */
|
|
17
18
|
disabled: BooleanConstructor;
|
|
18
19
|
/** 尺寸 */
|
|
19
|
-
size: PropType<import(
|
|
20
|
+
size: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never> | undefined>;
|
|
20
21
|
/** 是否支持清除 */
|
|
21
22
|
clearable: BooleanConstructor;
|
|
22
23
|
/** 无选中时提示文本 */
|
|
@@ -46,7 +47,7 @@ export declare const tableSelectProps: {
|
|
|
46
47
|
maxTagTextLength: NumberConstructor;
|
|
47
48
|
/** 多选标签类型 */
|
|
48
49
|
tagType: {
|
|
49
|
-
type: PropType<import(
|
|
50
|
+
type: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
|
|
50
51
|
default: string;
|
|
51
52
|
};
|
|
52
53
|
/** 是否在输入框获得焦点后自动弹出选项菜单 */
|
|
@@ -65,7 +66,7 @@ export declare const tableSelectProps: {
|
|
|
65
66
|
};
|
|
66
67
|
/** 下拉框位置 */
|
|
67
68
|
placement: {
|
|
68
|
-
type: PropType<import(
|
|
69
|
+
type: PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined>;
|
|
69
70
|
default: string;
|
|
70
71
|
};
|
|
71
72
|
/** 下拉框渐变动画 */
|
|
@@ -74,15 +75,15 @@ export declare const tableSelectProps: {
|
|
|
74
75
|
default: string;
|
|
75
76
|
};
|
|
76
77
|
/** popper.js 参数 */
|
|
77
|
-
popperOptions: PropType<Partial<import(
|
|
78
|
+
popperOptions: PropType<Partial<import('element-plus').Options> | undefined>;
|
|
78
79
|
/** 下拉框类名 */
|
|
79
80
|
popperClass: StringConstructor;
|
|
80
81
|
/** 下拉框宽度 */
|
|
81
82
|
popperWidth: (StringConstructor | NumberConstructor)[];
|
|
82
83
|
/** 自定义样式 */
|
|
83
|
-
selectStyle: PropType<Partial<import(
|
|
84
|
+
selectStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
84
85
|
/** 自定义输入框样式 */
|
|
85
|
-
inputStyle: PropType<Partial<import(
|
|
86
|
+
inputStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
86
87
|
/** 是否开启响应式 */
|
|
87
88
|
responsive: {
|
|
88
89
|
type: BooleanConstructor;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { TabPaneItem, TabEventOption } from '../types';
|
|
2
|
+
import { EleDropdownProps, EleDropdownInstance } from '../../ele-app/plus';
|
|
3
|
+
import { DropdownItem } from '../../ele-dropdown/types';
|
|
4
|
+
import { PropType } from 'vue';
|
|
5
|
+
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
6
7
|
/** 当前选中页签 */
|
|
7
8
|
active: (StringConstructor | NumberConstructor)[];
|
|
8
9
|
/** 页签标识 */
|
|
@@ -18,15 +19,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
19
|
/** 是否自己处理页签点击事件 */
|
|
19
20
|
handleClick: BooleanConstructor;
|
|
20
21
|
}, {
|
|
21
|
-
dropdownRef: import(
|
|
22
|
+
dropdownRef: import('vue').Ref<EleDropdownInstance>;
|
|
22
23
|
onContextMenu: (command: string) => void;
|
|
23
24
|
onContextVisible: (visible: boolean) => void;
|
|
24
25
|
onClick: (e: MouseEvent) => void;
|
|
25
|
-
}, unknown, {}, {}, import(
|
|
26
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
27
|
itemClick: (_opt: TabEventOption) => true;
|
|
27
28
|
contextMenu: (_option: TabEventOption) => true;
|
|
28
29
|
contextOpen: (_ref: EleDropdownInstance) => true;
|
|
29
|
-
}, string, import(
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
30
31
|
/** 当前选中页签 */
|
|
31
32
|
active: (StringConstructor | NumberConstructor)[];
|
|
32
33
|
/** 页签标识 */
|
package/es/ele-tabs/index.d.ts
CHANGED
|
@@ -1,48 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { TabTitleInstance } from './props';
|
|
2
|
+
import { TabPaneItem, TabEventOption } from './types';
|
|
3
|
+
import { DropdownItem } from '../ele-dropdown/types';
|
|
4
|
+
import { EleDropdownInstance } from '../ele-app/plus';
|
|
5
|
+
import { ElTabsProps, ElTabsInstance } from '../ele-app/el';
|
|
3
6
|
import { omit } from '../utils/core';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import type { TabTitleInstance } from './props';
|
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
import { TabPaneName, TabsPaneContext } from 'element-plus';
|
|
8
|
+
import { Ref } from 'vue';
|
|
9
|
+
|
|
10
|
+
declare const _default: import('vue').DefineComponent<{
|
|
10
11
|
items: {
|
|
11
|
-
type: import(
|
|
12
|
+
type: import('vue').PropType<TabPaneItem[]>;
|
|
12
13
|
required: boolean;
|
|
13
14
|
};
|
|
14
|
-
size: import(
|
|
15
|
-
type: import(
|
|
15
|
+
size: import('vue').PropType<import('./types').TabSize>;
|
|
16
|
+
type: import('vue').PropType<import('./types').TabType>;
|
|
16
17
|
center: BooleanConstructor;
|
|
17
|
-
contextMenu: import(
|
|
18
|
-
contextMenus: import(
|
|
18
|
+
contextMenu: import('vue').PropType<boolean | import('../ele-app/plus').EleDropdownProps>;
|
|
19
|
+
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
19
20
|
sortable: BooleanConstructor;
|
|
20
21
|
mousewheel: BooleanConstructor;
|
|
21
22
|
handleClick: BooleanConstructor;
|
|
22
|
-
activeName: {
|
|
23
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
24
|
-
readonly required: false;
|
|
25
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
|
-
__epPropKey: true;
|
|
27
|
-
};
|
|
28
23
|
closable: BooleanConstructor;
|
|
29
24
|
addable: BooleanConstructor;
|
|
30
25
|
modelValue: {
|
|
31
|
-
readonly type: import(
|
|
26
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
32
27
|
readonly required: false;
|
|
33
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
28
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
29
|
__epPropKey: true;
|
|
35
30
|
};
|
|
36
31
|
editable: BooleanConstructor;
|
|
37
|
-
tabPosition: import(
|
|
38
|
-
beforeLeave: import(
|
|
39
|
-
(): (newName: TabPaneName, oldName: TabPaneName) => import(
|
|
32
|
+
tabPosition: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "top" | "bottom" | "right" | "left", unknown, "top", boolean>;
|
|
33
|
+
beforeLeave: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | (() => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | {
|
|
34
|
+
(): (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>;
|
|
40
35
|
new (): any;
|
|
41
36
|
readonly prototype: any;
|
|
42
|
-
} | ((new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import(
|
|
43
|
-
(): (newName: TabPaneName, oldName: TabPaneName) => import(
|
|
37
|
+
} | ((new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | (() => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | {
|
|
38
|
+
(): (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>;
|
|
44
39
|
new (): any;
|
|
45
|
-
/** 页签移除事件 */
|
|
46
40
|
readonly prototype: any;
|
|
47
41
|
})[], unknown, unknown, () => true, boolean>;
|
|
48
42
|
stretch: BooleanConstructor;
|
|
@@ -50,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
44
|
omit: typeof omit;
|
|
51
45
|
tabRef: Ref<ElTabsInstance>;
|
|
52
46
|
itemRefs: Ref<TabTitleInstance[]>;
|
|
53
|
-
tabProps: import(
|
|
47
|
+
tabProps: import('vue').ComputedRef<Omit<ElTabsProps, "type">>;
|
|
54
48
|
getContextMenus: (item: TabPaneItem) => DropdownItem[] | undefined;
|
|
55
49
|
onUpdateModelValue: (name: TabPaneName) => void;
|
|
56
50
|
onTabClick: (pane: TabsPaneContext, e: Event) => void;
|
|
@@ -64,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
58
|
onContextmenu: (e: MouseEvent) => void;
|
|
65
59
|
hideAllDropdown: () => void;
|
|
66
60
|
updateActiveBar: () => void;
|
|
67
|
-
}, unknown, {}, {}, import(
|
|
61
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
68
62
|
tabItemClick: (_opt: TabEventOption) => boolean; /** 页签 */
|
|
69
63
|
tabContextMenu: (_opt: TabEventOption) => boolean;
|
|
70
64
|
tabContextOpen: (_ref: EleDropdownInstance) => boolean;
|
|
@@ -73,14 +67,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
67
|
tabClick: (pane: {
|
|
74
68
|
uid: number;
|
|
75
69
|
slots: Readonly<{
|
|
76
|
-
[name: string]: import(
|
|
70
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
77
71
|
}>;
|
|
78
72
|
props: {
|
|
79
73
|
readonly disabled: boolean;
|
|
80
74
|
readonly label: string;
|
|
81
75
|
readonly closable: boolean;
|
|
82
76
|
readonly lazy: boolean;
|
|
83
|
-
readonly name?: import(
|
|
77
|
+
readonly name?: import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
84
78
|
};
|
|
85
79
|
paneName: string | number | undefined;
|
|
86
80
|
active: boolean;
|
|
@@ -90,44 +84,38 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
84
|
tabChange: (name: TabPaneName) => boolean;
|
|
91
85
|
edit: (paneName: TabPaneName | undefined, action: "add" | "remove") => boolean;
|
|
92
86
|
tabRemove: (name: TabPaneName) => boolean;
|
|
87
|
+
/** 页签移除或新增事件 */
|
|
93
88
|
tabAdd: () => boolean;
|
|
94
|
-
}, string, import(
|
|
89
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
95
90
|
items: {
|
|
96
|
-
type: import(
|
|
91
|
+
type: import('vue').PropType<TabPaneItem[]>;
|
|
97
92
|
required: boolean;
|
|
98
93
|
};
|
|
99
|
-
size: import(
|
|
100
|
-
type: import(
|
|
94
|
+
size: import('vue').PropType<import('./types').TabSize>;
|
|
95
|
+
type: import('vue').PropType<import('./types').TabType>;
|
|
101
96
|
center: BooleanConstructor;
|
|
102
|
-
contextMenu: import(
|
|
103
|
-
contextMenus: import(
|
|
97
|
+
contextMenu: import('vue').PropType<boolean | import('../ele-app/plus').EleDropdownProps>;
|
|
98
|
+
contextMenus: import('vue').PropType<import('./types').ContextMenus>;
|
|
104
99
|
sortable: BooleanConstructor;
|
|
105
100
|
mousewheel: BooleanConstructor;
|
|
106
101
|
handleClick: BooleanConstructor;
|
|
107
|
-
activeName: {
|
|
108
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
109
|
-
readonly required: false;
|
|
110
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
111
|
-
__epPropKey: true;
|
|
112
|
-
};
|
|
113
102
|
closable: BooleanConstructor;
|
|
114
103
|
addable: BooleanConstructor;
|
|
115
104
|
modelValue: {
|
|
116
|
-
readonly type: import(
|
|
105
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
117
106
|
readonly required: false;
|
|
118
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
108
|
__epPropKey: true;
|
|
120
109
|
};
|
|
121
110
|
editable: BooleanConstructor;
|
|
122
|
-
tabPosition: import(
|
|
123
|
-
beforeLeave: import(
|
|
124
|
-
(): (newName: TabPaneName, oldName: TabPaneName) => import(
|
|
111
|
+
tabPosition: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "top" | "bottom" | "right" | "left", unknown, "top", boolean>;
|
|
112
|
+
beforeLeave: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | (() => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | {
|
|
113
|
+
(): (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>;
|
|
125
114
|
new (): any;
|
|
126
115
|
readonly prototype: any;
|
|
127
|
-
} | ((new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import(
|
|
128
|
-
(): (newName: TabPaneName, oldName: TabPaneName) => import(
|
|
116
|
+
} | ((new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | (() => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>) | {
|
|
117
|
+
(): (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>;
|
|
129
118
|
new (): any;
|
|
130
|
-
/** 页签移除事件 */
|
|
131
119
|
readonly prototype: any;
|
|
132
120
|
})[], unknown, unknown, () => true, boolean>;
|
|
133
121
|
stretch: BooleanConstructor;
|
|
@@ -136,14 +124,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
124
|
onTabClick?: ((pane: {
|
|
137
125
|
uid: number;
|
|
138
126
|
slots: Readonly<{
|
|
139
|
-
[name: string]: import(
|
|
127
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
140
128
|
}>;
|
|
141
129
|
props: {
|
|
142
130
|
readonly disabled: boolean;
|
|
143
131
|
readonly label: string;
|
|
144
132
|
readonly closable: boolean;
|
|
145
133
|
readonly lazy: boolean;
|
|
146
|
-
readonly name?: import(
|
|
134
|
+
readonly name?: import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
147
135
|
};
|
|
148
136
|
paneName: string | number | undefined;
|
|
149
137
|
active: boolean;
|
|
@@ -163,8 +151,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
163
151
|
closable: boolean;
|
|
164
152
|
addable: boolean;
|
|
165
153
|
editable: boolean;
|
|
166
|
-
tabPosition: import(
|
|
167
|
-
beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => import(
|
|
154
|
+
tabPosition: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "top" | "bottom" | "right" | "left", unknown>;
|
|
155
|
+
beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<boolean | void>;
|
|
168
156
|
stretch: boolean;
|
|
169
157
|
sortable: boolean;
|
|
170
158
|
handleClick: boolean;
|
package/es/ele-tabs/index.js
CHANGED
|
@@ -217,6 +217,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
217
217
|
{ "is-simple": _ctx.type === "simple" },
|
|
218
218
|
{ "is-indicator": _ctx.type === "indicator" },
|
|
219
219
|
{ "is-button": _ctx.type === "button" },
|
|
220
|
+
{ "is-tag": _ctx.type === "tag" },
|
|
220
221
|
{ "is-center": _ctx.center }
|
|
221
222
|
],
|
|
222
223
|
"onUpdate:modelValue": _ctx.onUpdateModelValue,
|