ele-admin-plus 1.1.9-beta.1 → 1.1.9-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/core-installer.d.ts +2 -2
- package/es/ele-alert/index.d.ts +1 -1
- package/es/ele-alert/index.js +2 -4
- package/es/ele-alert/props.d.ts +10 -9
- package/es/ele-app/el.d.ts +18 -1
- package/es/ele-app/index.d.ts +1 -1
- package/es/ele-app/plus.d.ts +12 -0
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/es/ele-app/style/overwrite/message-box/index.scss +5 -0
- package/es/ele-avatar-group/index.d.ts +4 -3
- package/es/ele-avatar-group/index.js +1 -3
- package/es/ele-avatar-group/props.d.ts +10 -9
- package/es/ele-bar-code/index.d.ts +5 -4
- package/es/ele-bar-code/props.d.ts +4 -3
- package/es/ele-basic-select/index.d.ts +16 -14
- package/es/ele-basic-select/index.js +33 -18
- package/es/ele-basic-select/props.d.ts +9 -8
- package/es/ele-basic-select/util.d.ts +2 -1
- package/es/ele-bottom-bar/index.d.ts +1 -1
- package/es/ele-bottom-bar/props.d.ts +4 -3
- package/es/ele-breadcrumb/index.d.ts +3 -2
- package/es/ele-breadcrumb/props.d.ts +5 -4
- package/es/ele-card/index.d.ts +1 -1
- package/es/ele-card/props.d.ts +7 -6
- package/es/ele-check-card/components/card-item.d.ts +4 -3
- package/es/ele-check-card/index.d.ts +6 -5
- package/es/ele-check-card/index.js +0 -5
- package/es/ele-check-card/props.d.ts +6 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/es/ele-config-provider/components/receiver-view.js +134 -0
- package/es/ele-config-provider/index.d.ts +3 -3
- package/es/ele-config-provider/props.d.ts +6 -5
- package/es/ele-config-provider/props.js +2 -2
- package/es/ele-config-provider/receiver.d.ts +5 -9
- package/es/ele-config-provider/receiver.js +35 -116
- package/es/ele-config-provider/types.d.ts +3 -11
- package/es/ele-copyable/index.d.ts +8 -9
- package/es/ele-copyable/index.js +1 -5
- package/es/ele-copyable/props.d.ts +9 -8
- package/es/ele-count-up/index.d.ts +2 -1
- package/es/ele-count-up/props.d.ts +3 -2
- package/es/ele-cropper/components/cropper-preview.d.ts +1 -1
- package/es/ele-cropper/components/cropper-tools.d.ts +4 -3
- package/es/ele-cropper/index.d.ts +11 -10
- package/es/ele-cropper/index.js +1 -5
- package/es/ele-cropper/props.d.ts +4 -3
- package/es/ele-cropper-modal/index.d.ts +3 -2
- package/es/ele-cropper-modal/props.d.ts +7 -6
- package/es/ele-dashboard/index.d.ts +1 -2
- package/es/ele-dashboard/index.js +8 -17
- package/es/ele-dashboard/props.d.ts +3 -2
- package/es/ele-data-table/index.d.ts +10 -15
- package/es/ele-data-table/index.js +9 -1
- package/es/ele-data-table/props.d.ts +38 -43
- package/es/ele-data-table/style/index.scss +4 -0
- package/es/ele-data-table/types.d.ts +18 -16
- package/es/ele-data-table/util.d.ts +15 -9
- package/es/ele-data-table/util.js +14 -0
- package/es/ele-dot/index.d.ts +3 -5
- package/es/ele-dot/index.js +4 -10
- package/es/ele-dot/props.d.ts +3 -2
- package/es/ele-drawer/index.d.ts +10 -9
- package/es/ele-drawer/index.js +14 -11
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +1 -1
- package/es/ele-dropdown/index.d.ts +6 -5
- package/es/ele-dropdown/index.js +7 -10
- package/es/ele-dropdown/props.d.ts +22 -21
- package/es/ele-dropdown/style/index.scss +2 -2
- package/es/ele-edit-tag/index.d.ts +9 -2
- package/es/ele-edit-tag/index.js +17 -15
- package/es/ele-edit-tag/props.d.ts +14 -9
- package/es/ele-edit-tag/props.js +5 -1
- package/es/ele-edit-tag/style/index.scss +13 -0
- package/es/ele-ellipsis/index.d.ts +7 -6
- package/es/ele-ellipsis/index.js +4 -27
- package/es/ele-ellipsis/props.d.ts +8 -7
- package/es/ele-file-list/components/file-grid-item.d.ts +6 -5
- package/es/ele-file-list/components/file-grid-item.js +16 -9
- package/es/ele-file-list/components/file-grid.d.ts +6 -5
- package/es/ele-file-list/components/file-grid.js +54 -50
- package/es/ele-file-list/components/file-sort.d.ts +1 -1
- package/es/ele-file-list/components/file-table-item.d.ts +6 -5
- package/es/ele-file-list/components/file-table-item.js +20 -15
- package/es/ele-file-list/components/file-table.d.ts +6 -5
- package/es/ele-file-list/components/file-table.js +92 -86
- package/es/ele-file-list/icons.d.ts +2 -1
- package/es/ele-file-list/index.d.ts +8 -7
- package/es/ele-file-list/index.js +1 -11
- package/es/ele-file-list/props.d.ts +6 -5
- package/es/ele-file-list-tool/index.d.ts +4 -4
- package/es/ele-file-list-tool/index.js +2 -2
- package/es/ele-icon-select/components/icon-grid.d.ts +4 -3
- package/es/ele-icon-select/index.d.ts +27 -14
- package/es/ele-icon-select/index.js +33 -10
- package/es/ele-icon-select/props.d.ts +23 -17
- package/es/ele-icon-select/props.js +6 -1
- package/es/ele-icon-select/style/index.js +1 -0
- package/es/ele-icon-select/style/index.scss +16 -2
- package/es/ele-loading/index.d.ts +3 -4
- package/es/ele-loading/index.js +32 -30
- package/es/ele-loading/props.d.ts +5 -4
- package/es/ele-map-picker/components/map-view.d.ts +51 -27
- package/es/ele-map-picker/components/map-view.js +227 -176
- package/es/ele-map-picker/index.d.ts +45 -22
- package/es/ele-map-picker/index.js +21 -39
- package/es/ele-map-picker/props.d.ts +37 -12
- package/es/ele-map-picker/props.js +20 -6
- package/es/ele-map-picker/style/index.scss +195 -166
- package/es/ele-map-picker/types.d.ts +8 -4
- package/es/ele-menus/index.d.ts +21 -7
- package/es/ele-menus/index.js +78 -14
- package/es/ele-menus/props.d.ts +29 -16
- package/es/ele-menus/props.js +15 -3
- package/es/ele-menus/style/index.js +2 -0
- package/es/ele-menus/style/index.scss +13 -11
- package/es/ele-menus/types.d.ts +9 -9
- package/es/ele-menus/util.d.ts +35 -16
- package/es/ele-menus/util.js +115 -80
- package/es/ele-modal/index.d.ts +7 -6
- package/es/ele-modal/index.js +42 -13
- package/es/ele-modal/props.d.ts +24 -23
- package/es/ele-modal/style/index.scss +49 -13
- package/es/ele-modal/types.d.ts +2 -10
- package/es/ele-modal/util.d.ts +5 -4
- package/es/ele-modal/util.js +22 -57
- package/es/ele-page/index.d.ts +1 -1
- package/es/ele-page/props.d.ts +2 -1
- package/es/ele-pagination/index.d.ts +11 -9
- package/es/ele-pagination/index.js +19 -13
- package/es/ele-pagination/props.d.ts +14 -12
- package/es/ele-pagination/props.js +2 -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 +7 -6
- package/es/ele-popconfirm/props.d.ts +32 -31
- package/es/ele-popconfirm/style/index.js +1 -1
- package/es/ele-popover/index.d.ts +5 -4
- package/es/ele-popover/props.d.ts +26 -25
- package/es/ele-popover/style/index.js +0 -1
- package/es/ele-printer/index.d.ts +7 -7
- package/es/ele-printer/index.js +11 -11
- package/es/ele-printer/props.d.ts +6 -5
- package/es/ele-printer/style/index.scss +1 -1
- package/es/ele-printer/util.d.ts +2 -1
- package/es/ele-printer/util.js +4 -2
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +37 -15
- package/es/ele-pro-layout/components/pro-header.js +75 -16
- package/es/ele-pro-layout/components/pro-iframe.d.ts +4 -3
- package/es/ele-pro-layout/components/pro-iframe.js +46 -23
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +35 -19
- package/es/ele-pro-layout/components/pro-sidebar.js +44 -16
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +37 -15
- package/es/ele-pro-layout/components/pro-sidebox.js +55 -15
- package/es/ele-pro-layout/components/pro-tabs.d.ts +6 -5
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
- package/es/ele-pro-layout/components/tab-dropdown.js +5 -1
- package/es/ele-pro-layout/index.d.ts +44 -27
- package/es/ele-pro-layout/index.js +282 -66
- package/es/ele-pro-layout/props.d.ts +18 -8
- package/es/ele-pro-layout/props.js +9 -0
- package/es/ele-pro-layout/style/tabs.scss +1 -1
- package/es/ele-pro-layout/types.d.ts +29 -3
- package/es/ele-pro-layout/util.d.ts +5 -4
- package/es/ele-pro-table/components/table-tools.d.ts +102 -10
- package/es/ele-pro-table/components/table-tools.js +125 -8
- package/es/ele-pro-table/components/tool-column-list.d.ts +4 -3
- package/es/ele-pro-table/components/tool-column-list.js +4 -7
- package/es/ele-pro-table/components/tool-column.d.ts +5 -4
- package/es/ele-pro-table/components/tool-column.js +9 -9
- package/es/ele-pro-table/components/tool-export.d.ts +456 -0
- package/es/ele-pro-table/components/tool-export.js +449 -0
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
- package/es/ele-pro-table/components/tool-print.d.ts +895 -0
- package/es/ele-pro-table/components/tool-print.js +558 -0
- package/es/ele-pro-table/index.d.ts +37 -29
- package/es/ele-pro-table/index.js +89 -18
- package/es/ele-pro-table/props.d.ts +52 -48
- package/es/ele-pro-table/props.js +6 -2
- package/es/ele-pro-table/style/index.js +9 -0
- package/es/ele-pro-table/style/index.scss +33 -5
- package/es/ele-pro-table/types.d.ts +149 -5
- package/es/ele-pro-table/util.d.ts +57 -5
- package/es/ele-pro-table/util.js +146 -22
- package/es/ele-qr-code/index.d.ts +3 -2
- package/es/ele-qr-code/props.d.ts +4 -3
- package/es/ele-qr-code/util.d.ts +3 -2
- package/es/ele-qr-code-svg/index.d.ts +1 -1
- package/es/ele-segmented/index.d.ts +4 -3
- package/es/ele-segmented/index.js +1 -3
- package/es/ele-segmented/props.d.ts +3 -2
- package/es/ele-split-panel/index.d.ts +11 -9
- package/es/ele-split-panel/index.js +63 -59
- package/es/ele-split-panel/props.d.ts +5 -4
- package/es/ele-steps/index.d.ts +1 -2
- package/es/ele-steps/index.js +2 -4
- package/es/ele-steps/props.d.ts +10 -9
- package/es/ele-tab-tool/index.d.ts +1 -1
- package/es/ele-tab-tool/props.d.ts +2 -1
- package/es/ele-tab-wrap/index.d.ts +1 -1
- package/es/ele-tab-wrap/props.d.ts +3 -2
- package/es/ele-table/index.d.ts +4 -1
- package/es/ele-table/index.js +2 -1
- package/es/ele-table/props.d.ts +4 -1
- package/es/ele-table/props.js +3 -1
- package/es/ele-table/style/index.scss +35 -0
- package/es/ele-table-select/index.d.ts +13 -12
- package/es/ele-table-select/props.d.ts +11 -10
- package/es/ele-tabs/components/tab-title.d.ts +6 -5
- package/es/ele-tabs/index.d.ts +13 -23
- package/es/ele-tabs/index.js +1 -6
- package/es/ele-tabs/props.d.ts +15 -21
- package/es/ele-text/index.d.ts +1 -1
- package/es/ele-text/props.d.ts +5 -4
- package/es/ele-tool/index.d.ts +2 -2
- package/es/ele-tool/index.js +2 -4
- package/es/ele-tool/props.d.ts +10 -2
- package/es/ele-tool/props.js +5 -0
- package/es/ele-toolbar/index.d.ts +1 -1
- package/es/ele-toolbar/props.d.ts +7 -6
- package/es/ele-tooltip/index.d.ts +4 -3
- package/es/ele-tooltip/index.js +9 -13
- package/es/ele-tooltip/props.d.ts +23 -22
- package/es/ele-tooltip/style/css-var.scss +4 -0
- package/es/ele-tooltip/style/index.scss +23 -0
- package/es/ele-tour/index.d.ts +5 -4
- package/es/ele-tour/index.js +80 -77
- package/es/ele-tour/props.d.ts +3 -2
- package/es/ele-tour/util.d.ts +3 -2
- package/es/ele-tree-select/index.d.ts +10 -9
- package/es/ele-tree-select/props.d.ts +12 -11
- package/es/ele-tree-select/util.d.ts +3 -2
- package/es/ele-upload-list/components/list-item.d.ts +10 -5
- package/es/ele-upload-list/components/list-item.js +7 -4
- package/es/ele-upload-list/index.d.ts +12 -5
- package/es/ele-upload-list/index.js +9 -8
- package/es/ele-upload-list/props.d.ts +11 -6
- package/es/ele-upload-list/props.js +5 -1
- package/es/ele-upload-list/style/index.scss +2 -1
- package/es/ele-virtual-table/components/body-cell.d.ts +85 -50
- package/es/ele-virtual-table/components/body-cell.js +79 -112
- package/es/ele-virtual-table/components/body-row.d.ts +72 -48
- package/es/ele-virtual-table/components/body-row.js +57 -52
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
- package/es/ele-virtual-table/components/cell-filter.d.ts +9 -8
- package/es/ele-virtual-table/components/cell-filter.js +8 -12
- package/es/ele-virtual-table/components/expand-row.d.ts +10 -9
- package/es/ele-virtual-table/components/expand-row.js +3 -3
- package/es/ele-virtual-table/components/footer-row.d.ts +33 -14
- package/es/ele-virtual-table/components/footer-row.js +29 -19
- package/es/ele-virtual-table/components/header-cell.d.ts +5 -4
- package/es/ele-virtual-table/components/header-row.d.ts +5 -4
- package/es/ele-virtual-table/index.d.ts +23 -32
- package/es/ele-virtual-table/index.js +134 -136
- package/es/ele-virtual-table/props.d.ts +50 -52
- package/es/ele-virtual-table/types.d.ts +103 -69
- package/es/ele-virtual-table/util.d.ts +35 -10
- package/es/ele-virtual-table/util.js +66 -35
- package/es/ele-watermark/index.d.ts +12 -2
- package/es/ele-watermark/index.js +1 -1
- package/es/ele-watermark/props.d.ts +9 -3
- package/es/ele-watermark/props.js +5 -0
- package/es/ele-watermark/util.d.ts +3 -2
- package/es/ele-xg-player/index.d.ts +4 -4
- package/es/icons/AnalysisOutlined.d.ts +1 -1
- package/es/icons/ApplicationOutlined.d.ts +1 -1
- package/es/icons/AppstoreAddOutlined.d.ts +1 -1
- package/es/icons/AppstoreOutlined.d.ts +1 -1
- package/es/icons/ArrowDown.d.ts +1 -1
- package/es/icons/ArrowDownOutlined.d.ts +1 -1
- package/es/icons/ArrowLeft.d.ts +1 -1
- package/es/icons/ArrowLeftOutlined.d.ts +1 -1
- package/es/icons/ArrowRight.d.ts +1 -1
- package/es/icons/ArrowRightOutlined.d.ts +1 -1
- package/es/icons/ArrowUp.d.ts +1 -1
- package/es/icons/ArrowUpOutlined.d.ts +1 -1
- package/es/icons/BellOutlined.d.ts +1 -1
- package/es/icons/BookOutlined.d.ts +1 -1
- package/es/icons/CalendarOutlined.d.ts +1 -1
- package/es/icons/CaretDownFilled.d.ts +1 -1
- package/es/icons/CaretUpFilled.d.ts +1 -1
- package/es/icons/CheckCircleFilled.d.ts +1 -1
- package/es/icons/CheckCircleOutlined.d.ts +1 -1
- package/es/icons/CheckOutlined.d.ts +1 -1
- package/es/icons/CityOutlined.d.ts +1 -1
- package/es/icons/ClockCircleOutlined.d.ts +1 -1
- package/es/icons/CloseCircleFilled.d.ts +1 -1
- package/es/icons/CloseCircleOutlined.d.ts +1 -1
- package/es/icons/CloseOutlined.d.ts +1 -1
- package/es/icons/CloudUploadOutlined.d.ts +1 -1
- package/es/icons/ClusterOutlined.d.ts +1 -1
- package/es/icons/CodeOutlined.d.ts +1 -1
- package/es/icons/ColumnHeightOutlined.d.ts +1 -1
- package/es/icons/CompassOutlined.d.ts +1 -1
- package/es/icons/CompressOutlined.d.ts +1 -1
- package/es/icons/ConnectionOutlined.d.ts +1 -1
- package/es/icons/ControlOutlined.d.ts +1 -1
- package/es/icons/CopyOutlined.d.ts +1 -1
- package/es/icons/CpuOutlined.d.ts +1 -1
- package/es/icons/DashboardOutlined.d.ts +1 -1
- package/es/icons/DatabaseOutlined.d.ts +1 -1
- package/es/icons/DeleteOutlined.d.ts +1 -1
- package/es/icons/DesktopOutlined.d.ts +1 -1
- package/es/icons/DownloadOutlined.d.ts +1 -1
- package/es/icons/DragOutlined.d.ts +1 -1
- package/es/icons/EditOutlined.d.ts +1 -1
- package/es/icons/EllipsisOutlined.d.ts +1 -1
- package/es/icons/EnvironmentOutlined.d.ts +1 -1
- package/es/icons/ExclamationCircleFilled.d.ts +1 -1
- package/es/icons/ExpandOutlined.d.ts +1 -1
- package/es/icons/FileOutlined.d.ts +1 -1
- package/es/icons/FilterFilled.d.ts +1 -1
- package/es/icons/FolderAddOutlined.d.ts +1 -1
- package/es/icons/FolderOutlined.d.ts +1 -1
- package/es/icons/FormOutlined.d.ts +1 -1
- package/es/icons/FullscreenExitOutlined.d.ts +1 -1
- package/es/icons/FullscreenOutlined.d.ts +1 -1
- package/es/icons/FundOutlined.d.ts +1 -1
- package/es/icons/GlobalOutlined.d.ts +1 -1
- package/es/icons/HolderOutlined.d.ts +1 -1
- package/es/icons/HomeOutlined.d.ts +1 -1
- package/es/icons/IdcardOutlined.d.ts +1 -1
- package/es/icons/InfoCircleFilled.d.ts +1 -1
- package/es/icons/LinkOutlined.d.ts +1 -1
- package/es/icons/LoadingDotOutlined.d.ts +1 -1
- package/es/icons/LoadingOutlined.d.ts +1 -1
- package/es/icons/LockOutlined.d.ts +1 -1
- package/es/icons/LogOutlined.d.ts +1 -1
- package/es/icons/LogoutOutlined.d.ts +1 -1
- package/es/icons/MailOutlined.d.ts +1 -1
- package/es/icons/MenuFoldOutlined.d.ts +1 -1
- package/es/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/es/icons/MessageOutlined.d.ts +1 -1
- package/es/icons/MinusCircleOutlined.d.ts +1 -1
- package/es/icons/MobileOutlined.d.ts +1 -1
- package/es/icons/MoonOutlined.d.ts +1 -1
- package/es/icons/MoreOutlined.d.ts +1 -1
- package/es/icons/PauseFilled.d.ts +1 -1
- package/es/icons/PieChartOutlined.d.ts +1 -1
- package/es/icons/PlayFilled.d.ts +1 -1
- package/es/icons/PlusCircleOutlined.d.ts +1 -1
- package/es/icons/PlusOutlined.d.ts +1 -1
- package/es/icons/PrinterOutlined.d.ts +2 -0
- package/es/icons/PrinterOutlined.js +29 -0
- package/es/icons/ProtectOutlined.d.ts +1 -1
- package/es/icons/QuestionCircleFilled.d.ts +1 -1
- package/es/icons/QuestionCircleOutlined.d.ts +1 -1
- package/es/icons/ReloadOutlined.d.ts +1 -1
- package/es/icons/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 +1 -0
- package/es/icons/index.js +58 -56
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +15 -3
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +15 -3
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +14 -2
- package/es/style/index.scss +1 -43
- package/es/style/plus.scss +43 -0
- package/es/style/themes/default.scss +8 -4
- package/es/style/themes/rounded.scss +1 -1
- package/es/style/themes/theme-util.scss +0 -2
- package/es/utils/core.d.ts +5 -0
- package/es/utils/core.js +28 -0
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/message.d.ts +4 -3
- package/es/utils/resolvers.d.ts +4 -4
- package/es/utils/resolvers.js +33 -20
- package/lib/core-installer.d.ts +2 -2
- package/lib/ele-alert/index.cjs +2 -4
- package/lib/ele-alert/index.d.ts +1 -1
- package/lib/ele-alert/props.d.ts +10 -9
- package/lib/ele-app/el.d.ts +18 -1
- package/lib/ele-app/index.d.ts +1 -1
- package/lib/ele-app/plus.d.ts +12 -0
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/lib/ele-app/style/overwrite/message-box/index.scss +5 -0
- package/lib/ele-avatar-group/index.cjs +1 -3
- package/lib/ele-avatar-group/index.d.ts +4 -3
- package/lib/ele-avatar-group/props.d.ts +10 -9
- package/lib/ele-bar-code/index.d.ts +5 -4
- package/lib/ele-bar-code/props.d.ts +4 -3
- package/lib/ele-basic-select/index.cjs +32 -17
- package/lib/ele-basic-select/index.d.ts +16 -14
- package/lib/ele-basic-select/props.d.ts +9 -8
- package/lib/ele-basic-select/util.d.ts +2 -1
- package/lib/ele-bottom-bar/index.d.ts +1 -1
- package/lib/ele-bottom-bar/props.d.ts +4 -3
- package/lib/ele-breadcrumb/index.d.ts +3 -2
- package/lib/ele-breadcrumb/props.d.ts +5 -4
- package/lib/ele-card/index.d.ts +1 -1
- package/lib/ele-card/props.d.ts +7 -6
- package/lib/ele-check-card/components/card-item.d.ts +4 -3
- package/lib/ele-check-card/index.cjs +0 -5
- package/lib/ele-check-card/index.d.ts +6 -5
- package/lib/ele-check-card/props.d.ts +6 -5
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -0
- package/lib/ele-config-provider/components/receiver-view.d.ts +17 -0
- package/lib/ele-config-provider/index.d.ts +3 -3
- package/lib/ele-config-provider/props.cjs +2 -2
- package/lib/ele-config-provider/props.d.ts +6 -5
- package/lib/ele-config-provider/receiver.cjs +45 -2
- package/lib/ele-config-provider/receiver.d.ts +5 -9
- package/lib/ele-config-provider/types.d.ts +3 -11
- package/lib/ele-copyable/index.cjs +0 -4
- package/lib/ele-copyable/index.d.ts +8 -9
- package/lib/ele-copyable/props.d.ts +9 -8
- package/lib/ele-count-up/index.d.ts +2 -1
- package/lib/ele-count-up/props.d.ts +3 -2
- package/lib/ele-cropper/components/cropper-preview.d.ts +1 -1
- package/lib/ele-cropper/components/cropper-tools.d.ts +4 -3
- package/lib/ele-cropper/index.cjs +0 -4
- package/lib/ele-cropper/index.d.ts +11 -10
- package/lib/ele-cropper/props.d.ts +4 -3
- package/lib/ele-cropper-modal/index.d.ts +3 -2
- package/lib/ele-cropper-modal/props.d.ts +7 -6
- package/lib/ele-dashboard/index.cjs +7 -16
- package/lib/ele-dashboard/index.d.ts +1 -2
- package/lib/ele-dashboard/props.d.ts +3 -2
- package/lib/ele-data-table/index.cjs +9 -1
- package/lib/ele-data-table/index.d.ts +10 -15
- package/lib/ele-data-table/props.d.ts +38 -43
- package/lib/ele-data-table/style/index.scss +4 -0
- package/lib/ele-data-table/types.d.ts +18 -16
- package/lib/ele-data-table/util.cjs +14 -0
- package/lib/ele-data-table/util.d.ts +15 -9
- package/lib/ele-dot/index.cjs +3 -9
- package/lib/ele-dot/index.d.ts +3 -5
- package/lib/ele-dot/props.d.ts +3 -2
- package/lib/ele-drawer/index.cjs +13 -10
- package/lib/ele-drawer/index.d.ts +10 -9
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +1 -1
- package/lib/ele-dropdown/index.cjs +7 -10
- package/lib/ele-dropdown/index.d.ts +6 -5
- package/lib/ele-dropdown/props.d.ts +22 -21
- package/lib/ele-dropdown/style/index.scss +2 -2
- package/lib/ele-edit-tag/index.cjs +16 -14
- package/lib/ele-edit-tag/index.d.ts +9 -2
- package/lib/ele-edit-tag/props.cjs +5 -1
- package/lib/ele-edit-tag/props.d.ts +14 -9
- package/lib/ele-edit-tag/style/index.scss +13 -0
- package/lib/ele-ellipsis/index.cjs +3 -26
- package/lib/ele-ellipsis/index.d.ts +7 -6
- package/lib/ele-ellipsis/props.d.ts +8 -7
- package/lib/ele-file-list/components/file-grid-item.cjs +15 -8
- package/lib/ele-file-list/components/file-grid-item.d.ts +6 -5
- package/lib/ele-file-list/components/file-grid.cjs +53 -49
- package/lib/ele-file-list/components/file-grid.d.ts +6 -5
- package/lib/ele-file-list/components/file-sort.d.ts +1 -1
- package/lib/ele-file-list/components/file-table-item.cjs +19 -14
- package/lib/ele-file-list/components/file-table-item.d.ts +6 -5
- package/lib/ele-file-list/components/file-table.cjs +91 -85
- package/lib/ele-file-list/components/file-table.d.ts +6 -5
- package/lib/ele-file-list/icons.d.ts +2 -1
- package/lib/ele-file-list/index.cjs +0 -10
- package/lib/ele-file-list/index.d.ts +8 -7
- package/lib/ele-file-list/props.d.ts +6 -5
- package/lib/ele-file-list-tool/index.cjs +2 -2
- package/lib/ele-file-list-tool/index.d.ts +4 -4
- package/lib/ele-icon-select/components/icon-grid.d.ts +4 -3
- package/lib/ele-icon-select/index.cjs +39 -16
- package/lib/ele-icon-select/index.d.ts +27 -14
- package/lib/ele-icon-select/props.cjs +6 -1
- package/lib/ele-icon-select/props.d.ts +23 -17
- package/lib/ele-icon-select/style/index.cjs +1 -0
- package/lib/ele-icon-select/style/index.scss +16 -2
- package/lib/ele-loading/index.cjs +31 -29
- package/lib/ele-loading/index.d.ts +3 -4
- package/lib/ele-loading/props.d.ts +5 -4
- package/lib/ele-map-picker/components/map-view.cjs +225 -174
- package/lib/ele-map-picker/components/map-view.d.ts +51 -27
- package/lib/ele-map-picker/index.cjs +20 -38
- package/lib/ele-map-picker/index.d.ts +45 -22
- package/lib/ele-map-picker/props.cjs +20 -6
- package/lib/ele-map-picker/props.d.ts +37 -12
- package/lib/ele-map-picker/style/index.scss +195 -166
- package/lib/ele-map-picker/types.d.ts +8 -4
- package/lib/ele-menus/index.cjs +76 -12
- package/lib/ele-menus/index.d.ts +21 -7
- package/lib/ele-menus/props.cjs +15 -3
- package/lib/ele-menus/props.d.ts +29 -16
- package/lib/ele-menus/style/index.cjs +2 -0
- package/lib/ele-menus/style/index.scss +13 -11
- package/lib/ele-menus/types.d.ts +9 -9
- package/lib/ele-menus/util.cjs +115 -80
- package/lib/ele-menus/util.d.ts +35 -16
- package/lib/ele-modal/index.cjs +41 -12
- package/lib/ele-modal/index.d.ts +7 -6
- package/lib/ele-modal/props.d.ts +24 -23
- package/lib/ele-modal/style/index.scss +49 -13
- package/lib/ele-modal/types.d.ts +2 -10
- package/lib/ele-modal/util.cjs +22 -57
- package/lib/ele-modal/util.d.ts +5 -4
- package/lib/ele-page/index.d.ts +1 -1
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +18 -12
- package/lib/ele-pagination/index.d.ts +11 -9
- package/lib/ele-pagination/props.cjs +2 -0
- package/lib/ele-pagination/props.d.ts +14 -12
- package/lib/ele-pagination/style/index.scss +9 -0
- package/lib/ele-pagination/types.d.ts +6 -1
- package/lib/ele-popconfirm/index.d.ts +7 -6
- package/lib/ele-popconfirm/props.d.ts +32 -31
- package/lib/ele-popconfirm/style/index.cjs +1 -1
- package/lib/ele-popover/index.d.ts +5 -4
- package/lib/ele-popover/props.d.ts +26 -25
- package/lib/ele-popover/style/index.cjs +0 -1
- package/lib/ele-printer/index.cjs +10 -10
- package/lib/ele-printer/index.d.ts +7 -7
- package/lib/ele-printer/props.d.ts +6 -5
- package/lib/ele-printer/style/index.scss +1 -1
- package/lib/ele-printer/util.cjs +4 -2
- package/lib/ele-printer/util.d.ts +2 -1
- package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-header.cjs +74 -15
- package/lib/ele-pro-layout/components/pro-header.d.ts +37 -15
- package/lib/ele-pro-layout/components/pro-iframe.cjs +45 -22
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +4 -3
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +44 -16
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +35 -19
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +55 -15
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +37 -15
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +6 -5
- package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +5 -1
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
- package/lib/ele-pro-layout/index.cjs +281 -65
- package/lib/ele-pro-layout/index.d.ts +44 -27
- package/lib/ele-pro-layout/props.cjs +9 -0
- package/lib/ele-pro-layout/props.d.ts +18 -8
- package/lib/ele-pro-layout/style/tabs.scss +1 -1
- package/lib/ele-pro-layout/types.d.ts +29 -3
- package/lib/ele-pro-layout/util.d.ts +5 -4
- package/lib/ele-pro-table/components/table-tools.cjs +124 -7
- package/lib/ele-pro-table/components/table-tools.d.ts +102 -10
- package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +4 -3
- package/lib/ele-pro-table/components/tool-column.cjs +8 -8
- package/lib/ele-pro-table/components/tool-column.d.ts +5 -4
- package/lib/ele-pro-table/components/tool-export.cjs +448 -0
- package/lib/ele-pro-table/components/tool-export.d.ts +456 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
- package/lib/ele-pro-table/components/tool-print.cjs +557 -0
- package/lib/ele-pro-table/components/tool-print.d.ts +895 -0
- package/lib/ele-pro-table/index.cjs +87 -16
- package/lib/ele-pro-table/index.d.ts +37 -29
- package/lib/ele-pro-table/props.cjs +6 -2
- package/lib/ele-pro-table/props.d.ts +52 -48
- package/lib/ele-pro-table/style/index.cjs +9 -0
- package/lib/ele-pro-table/style/index.scss +33 -5
- package/lib/ele-pro-table/types.d.ts +149 -5
- package/lib/ele-pro-table/util.cjs +145 -21
- package/lib/ele-pro-table/util.d.ts +57 -5
- package/lib/ele-qr-code/index.d.ts +3 -2
- package/lib/ele-qr-code/props.d.ts +4 -3
- package/lib/ele-qr-code/util.d.ts +3 -2
- package/lib/ele-qr-code-svg/index.d.ts +1 -1
- package/lib/ele-segmented/index.cjs +1 -3
- package/lib/ele-segmented/index.d.ts +4 -3
- package/lib/ele-segmented/props.d.ts +3 -2
- package/lib/ele-split-panel/index.cjs +62 -58
- package/lib/ele-split-panel/index.d.ts +11 -9
- package/lib/ele-split-panel/props.d.ts +5 -4
- package/lib/ele-steps/index.cjs +2 -4
- package/lib/ele-steps/index.d.ts +1 -2
- package/lib/ele-steps/props.d.ts +10 -9
- package/lib/ele-tab-tool/index.d.ts +1 -1
- package/lib/ele-tab-tool/props.d.ts +2 -1
- package/lib/ele-tab-wrap/index.d.ts +1 -1
- package/lib/ele-tab-wrap/props.d.ts +3 -2
- package/lib/ele-table/index.cjs +2 -1
- package/lib/ele-table/index.d.ts +4 -1
- package/lib/ele-table/props.cjs +3 -1
- package/lib/ele-table/props.d.ts +4 -1
- package/lib/ele-table/style/index.scss +35 -0
- package/lib/ele-table-select/index.d.ts +13 -12
- package/lib/ele-table-select/props.d.ts +11 -10
- package/lib/ele-tabs/components/tab-title.d.ts +6 -5
- package/lib/ele-tabs/index.cjs +1 -6
- package/lib/ele-tabs/index.d.ts +13 -23
- package/lib/ele-tabs/props.d.ts +15 -21
- package/lib/ele-text/index.d.ts +1 -1
- package/lib/ele-text/props.d.ts +5 -4
- package/lib/ele-tool/index.cjs +1 -3
- package/lib/ele-tool/index.d.ts +2 -2
- package/lib/ele-tool/props.cjs +5 -0
- package/lib/ele-tool/props.d.ts +10 -2
- package/lib/ele-toolbar/index.d.ts +1 -1
- package/lib/ele-toolbar/props.d.ts +7 -6
- package/lib/ele-tooltip/index.cjs +9 -13
- package/lib/ele-tooltip/index.d.ts +4 -3
- package/lib/ele-tooltip/props.d.ts +23 -22
- package/lib/ele-tooltip/style/css-var.scss +4 -0
- package/lib/ele-tooltip/style/index.scss +23 -0
- package/lib/ele-tour/index.cjs +79 -76
- package/lib/ele-tour/index.d.ts +5 -4
- package/lib/ele-tour/props.d.ts +3 -2
- package/lib/ele-tour/util.d.ts +3 -2
- package/lib/ele-tree-select/index.d.ts +10 -9
- package/lib/ele-tree-select/props.d.ts +12 -11
- package/lib/ele-tree-select/util.d.ts +3 -2
- package/lib/ele-upload-list/components/list-item.cjs +6 -3
- package/lib/ele-upload-list/components/list-item.d.ts +10 -5
- package/lib/ele-upload-list/index.cjs +8 -7
- package/lib/ele-upload-list/index.d.ts +12 -5
- package/lib/ele-upload-list/props.cjs +5 -1
- package/lib/ele-upload-list/props.d.ts +11 -6
- package/lib/ele-upload-list/style/index.scss +2 -1
- package/lib/ele-virtual-table/components/body-cell.cjs +78 -111
- package/lib/ele-virtual-table/components/body-cell.d.ts +85 -50
- package/lib/ele-virtual-table/components/body-row.cjs +57 -52
- package/lib/ele-virtual-table/components/body-row.d.ts +72 -48
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
- package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
- package/lib/ele-virtual-table/components/cell-filter.d.ts +9 -8
- package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
- package/lib/ele-virtual-table/components/expand-row.d.ts +10 -9
- package/lib/ele-virtual-table/components/footer-row.cjs +27 -17
- package/lib/ele-virtual-table/components/footer-row.d.ts +33 -14
- package/lib/ele-virtual-table/components/header-cell.d.ts +5 -4
- package/lib/ele-virtual-table/components/header-row.d.ts +5 -4
- package/lib/ele-virtual-table/index.cjs +132 -134
- package/lib/ele-virtual-table/index.d.ts +23 -32
- package/lib/ele-virtual-table/props.d.ts +50 -52
- package/lib/ele-virtual-table/types.d.ts +103 -69
- package/lib/ele-virtual-table/util.cjs +65 -34
- package/lib/ele-virtual-table/util.d.ts +35 -10
- package/lib/ele-watermark/index.cjs +1 -1
- package/lib/ele-watermark/index.d.ts +12 -2
- package/lib/ele-watermark/props.cjs +5 -0
- package/lib/ele-watermark/props.d.ts +9 -3
- package/lib/ele-watermark/util.d.ts +3 -2
- package/lib/ele-xg-player/index.d.ts +4 -4
- package/lib/icons/AnalysisOutlined.d.ts +1 -1
- package/lib/icons/ApplicationOutlined.d.ts +1 -1
- package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
- package/lib/icons/AppstoreOutlined.d.ts +1 -1
- package/lib/icons/ArrowDown.d.ts +1 -1
- package/lib/icons/ArrowDownOutlined.d.ts +1 -1
- package/lib/icons/ArrowLeft.d.ts +1 -1
- package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
- package/lib/icons/ArrowRight.d.ts +1 -1
- package/lib/icons/ArrowRightOutlined.d.ts +1 -1
- package/lib/icons/ArrowUp.d.ts +1 -1
- package/lib/icons/ArrowUpOutlined.d.ts +1 -1
- package/lib/icons/BellOutlined.d.ts +1 -1
- package/lib/icons/BookOutlined.d.ts +1 -1
- package/lib/icons/CalendarOutlined.d.ts +1 -1
- package/lib/icons/CaretDownFilled.d.ts +1 -1
- package/lib/icons/CaretUpFilled.d.ts +1 -1
- package/lib/icons/CheckCircleFilled.d.ts +1 -1
- package/lib/icons/CheckCircleOutlined.d.ts +1 -1
- package/lib/icons/CheckOutlined.d.ts +1 -1
- package/lib/icons/CityOutlined.d.ts +1 -1
- package/lib/icons/ClockCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseCircleFilled.d.ts +1 -1
- package/lib/icons/CloseCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseOutlined.d.ts +1 -1
- package/lib/icons/CloudUploadOutlined.d.ts +1 -1
- package/lib/icons/ClusterOutlined.d.ts +1 -1
- package/lib/icons/CodeOutlined.d.ts +1 -1
- package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
- package/lib/icons/CompassOutlined.d.ts +1 -1
- package/lib/icons/CompressOutlined.d.ts +1 -1
- package/lib/icons/ConnectionOutlined.d.ts +1 -1
- package/lib/icons/ControlOutlined.d.ts +1 -1
- package/lib/icons/CopyOutlined.d.ts +1 -1
- package/lib/icons/CpuOutlined.d.ts +1 -1
- package/lib/icons/DashboardOutlined.d.ts +1 -1
- package/lib/icons/DatabaseOutlined.d.ts +1 -1
- package/lib/icons/DeleteOutlined.d.ts +1 -1
- package/lib/icons/DesktopOutlined.d.ts +1 -1
- package/lib/icons/DownloadOutlined.d.ts +1 -1
- package/lib/icons/DragOutlined.d.ts +1 -1
- package/lib/icons/EditOutlined.d.ts +1 -1
- package/lib/icons/EllipsisOutlined.d.ts +1 -1
- package/lib/icons/EnvironmentOutlined.d.ts +1 -1
- package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
- package/lib/icons/ExpandOutlined.d.ts +1 -1
- package/lib/icons/FileOutlined.d.ts +1 -1
- package/lib/icons/FilterFilled.d.ts +1 -1
- package/lib/icons/FolderAddOutlined.d.ts +1 -1
- package/lib/icons/FolderOutlined.d.ts +1 -1
- package/lib/icons/FormOutlined.d.ts +1 -1
- package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
- package/lib/icons/FullscreenOutlined.d.ts +1 -1
- package/lib/icons/FundOutlined.d.ts +1 -1
- package/lib/icons/GlobalOutlined.d.ts +1 -1
- package/lib/icons/HolderOutlined.d.ts +1 -1
- package/lib/icons/HomeOutlined.d.ts +1 -1
- package/lib/icons/IdcardOutlined.d.ts +1 -1
- package/lib/icons/InfoCircleFilled.d.ts +1 -1
- package/lib/icons/LinkOutlined.d.ts +1 -1
- package/lib/icons/LoadingDotOutlined.d.ts +1 -1
- package/lib/icons/LoadingOutlined.d.ts +1 -1
- package/lib/icons/LockOutlined.d.ts +1 -1
- package/lib/icons/LogOutlined.d.ts +1 -1
- package/lib/icons/LogoutOutlined.d.ts +1 -1
- package/lib/icons/MailOutlined.d.ts +1 -1
- package/lib/icons/MenuFoldOutlined.d.ts +1 -1
- package/lib/icons/MenuUnfoldOutlined.d.ts +1 -1
- package/lib/icons/MessageOutlined.d.ts +1 -1
- package/lib/icons/MinusCircleOutlined.d.ts +1 -1
- package/lib/icons/MobileOutlined.d.ts +1 -1
- package/lib/icons/MoonOutlined.d.ts +1 -1
- package/lib/icons/MoreOutlined.d.ts +1 -1
- package/lib/icons/PauseFilled.d.ts +1 -1
- package/lib/icons/PieChartOutlined.d.ts +1 -1
- package/lib/icons/PlayFilled.d.ts +1 -1
- package/lib/icons/PlusCircleOutlined.d.ts +1 -1
- package/lib/icons/PlusOutlined.d.ts +1 -1
- package/lib/icons/PrinterOutlined.cjs +28 -0
- package/lib/icons/PrinterOutlined.d.ts +2 -0
- package/lib/icons/ProtectOutlined.d.ts +1 -1
- package/lib/icons/QuestionCircleFilled.d.ts +1 -1
- package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
- package/lib/icons/ReloadOutlined.d.ts +1 -1
- package/lib/icons/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 +2 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.cjs +15 -3
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +15 -3
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +14 -2
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/style/index.scss +1 -43
- package/lib/style/plus.scss +43 -0
- package/lib/style/themes/default.scss +8 -4
- package/lib/style/themes/rounded.scss +1 -1
- package/lib/style/themes/theme-util.scss +0 -2
- package/lib/utils/core.cjs +28 -0
- package/lib/utils/core.d.ts +5 -0
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message.d.ts +4 -3
- package/lib/utils/resolvers.cjs +33 -20
- package/lib/utils/resolvers.d.ts +4 -4
- package/package.json +24 -23
- package/es/ele-popover/style/css-var.scss +0 -8
- package/es/ele-popover/style/index.scss +0 -27
- package/lib/ele-popover/style/css-var.scss +0 -8
- package/lib/ele-popover/style/index.scss +0 -27
|
@@ -4,193 +4,234 @@
|
|
|
4
4
|
|
|
5
5
|
@include set-map-var($ele);
|
|
6
6
|
|
|
7
|
-
.ele-map-picker
|
|
7
|
+
.ele-modal .ele-map-picker .ele-modal-body {
|
|
8
8
|
padding: 0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
.ele-map-picker {
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* 主体区域 */
|
|
16
|
+
.ele-map-view {
|
|
13
17
|
display: flex;
|
|
14
|
-
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
padding: eleVar('map', 'header-padding');
|
|
18
|
+
}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
/* 地图容器 */
|
|
21
|
+
.ele-map-view-body {
|
|
22
|
+
flex: 1;
|
|
23
|
+
height: 100%;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
position: relative;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
}
|
|
22
28
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
/* 地图中心图标 */
|
|
30
|
+
.ele-map-view-body-icon {
|
|
31
|
+
width: 26px;
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: 50%;
|
|
34
|
+
bottom: 50%;
|
|
35
|
+
margin-left: -13px;
|
|
36
|
+
}
|
|
29
37
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
.ele-map-view-icon-plus {
|
|
39
|
+
color: #1677ff;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
position: absolute;
|
|
42
|
+
top: 50%;
|
|
43
|
+
left: 50%;
|
|
44
|
+
transform: translate(-50%, -50%);
|
|
34
45
|
}
|
|
35
46
|
|
|
36
|
-
/*
|
|
37
|
-
.ele-map-view-
|
|
47
|
+
/* 列表区域 */
|
|
48
|
+
.ele-map-view-side {
|
|
49
|
+
width: 40%;
|
|
50
|
+
height: 100%;
|
|
51
|
+
flex-shrink: 0;
|
|
38
52
|
display: flex;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
.ele-map-view-main {
|
|
44
|
-
flex: 1;
|
|
45
|
-
position: relative;
|
|
46
|
-
box-sizing: border-box;
|
|
47
|
-
}
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
}
|
|
48
56
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
margin-left: -13px;
|
|
55
|
-
}
|
|
57
|
+
/* 列表顶部搜索框 */
|
|
58
|
+
.ele-map-view-search {
|
|
59
|
+
flex-shrink: 0;
|
|
60
|
+
padding: eleVar('map', 'search-padding');
|
|
61
|
+
box-sizing: border-box;
|
|
56
62
|
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
position: absolute;
|
|
61
|
-
top: 50%;
|
|
62
|
-
left: 50%;
|
|
63
|
-
transform: translate(-50%, -50%);
|
|
63
|
+
.el-autocomplete,
|
|
64
|
+
.el-input {
|
|
65
|
+
width: 100%;
|
|
64
66
|
}
|
|
67
|
+
}
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-direction: column;
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
}
|
|
69
|
+
/* 列表底部提示信息 */
|
|
70
|
+
.ele-map-view-extra {
|
|
71
|
+
flex-shrink: 0;
|
|
72
|
+
padding: 6px 12px;
|
|
73
|
+
box-sizing: border-box;
|
|
75
74
|
|
|
76
|
-
/*
|
|
77
|
-
.ele-map-view-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
box-sizing: border-box;
|
|
75
|
+
/* 确定按钮 */
|
|
76
|
+
.ele-map-view-btn-ok {
|
|
77
|
+
width: 100%;
|
|
78
|
+
display: block;
|
|
81
79
|
}
|
|
80
|
+
}
|
|
82
81
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
82
|
+
.ele-map-view-message {
|
|
83
|
+
padding: 4px 8px;
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
color: elVar('color-error');
|
|
86
|
+
font-size: elVar('font-size', 'small');
|
|
87
|
+
background: elVar('color-error', 'light-9');
|
|
88
|
+
border: 1px solid elVar('color-error', 'light-8');
|
|
89
|
+
border-radius: elVar('border-radius', 'base');
|
|
90
|
+
text-align: center;
|
|
91
|
+
}
|
|
93
92
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
/* 列表空图标 */
|
|
94
|
+
.ele-map-view-empty {
|
|
95
|
+
height: 100%;
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-direction: column;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
}
|
|
101
100
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
101
|
+
/* poi列表 */
|
|
102
|
+
.ele-map-view-list {
|
|
103
|
+
flex: 1;
|
|
104
|
+
box-sizing: border-box;
|
|
105
|
+
overflow: auto;
|
|
106
|
+
}
|
|
109
107
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
108
|
+
.ele-map-view-item {
|
|
109
|
+
display: flex;
|
|
110
|
+
align-items: center;
|
|
111
|
+
padding: 8px 14px;
|
|
112
|
+
transition: background-color $ele-transition;
|
|
113
|
+
box-sizing: border-box;
|
|
114
|
+
position: relative;
|
|
115
|
+
cursor: pointer;
|
|
117
116
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
117
|
+
&:hover {
|
|
118
|
+
background: elVar('fill-color', 'light');
|
|
121
119
|
}
|
|
122
120
|
|
|
123
|
-
.ele-map-view-item
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
& + .ele-map-view-item::before {
|
|
122
|
+
content: '';
|
|
123
|
+
border-top: 1px solid elVar('border-color', 'light');
|
|
126
124
|
position: absolute;
|
|
127
|
-
top:
|
|
125
|
+
top: 0;
|
|
128
126
|
left: 12px;
|
|
129
|
-
|
|
127
|
+
right: 12px;
|
|
130
128
|
}
|
|
129
|
+
}
|
|
131
130
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
131
|
+
.ele-map-view-item-body {
|
|
132
|
+
flex: 1;
|
|
133
|
+
padding: 0 0 0 6px;
|
|
134
|
+
box-sizing: border-box;
|
|
135
|
+
overflow: hidden;
|
|
136
|
+
}
|
|
135
137
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
138
|
+
.ele-map-view-item-title {
|
|
139
|
+
font-size: elVar('font-size', 'base');
|
|
140
|
+
word-break: break-all;
|
|
141
|
+
}
|
|
141
142
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
font-size: 14px;
|
|
149
|
-
display: none;
|
|
150
|
-
}
|
|
143
|
+
.ele-map-view-item-text {
|
|
144
|
+
color: elVar('text-color', 'secondary');
|
|
145
|
+
font-size: elVar('font-size', 'extra-small');
|
|
146
|
+
word-break: break-all;
|
|
147
|
+
margin-top: 2px;
|
|
148
|
+
}
|
|
151
149
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
.ele-map-view-item-icon {
|
|
151
|
+
flex-shrink: 0;
|
|
152
|
+
font-size: 18px;
|
|
153
|
+
color: elVar('text-color', 'secondary');
|
|
154
|
+
}
|
|
155
155
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
.ele-map-view-item-radio {
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
color: elVar('color-primary');
|
|
159
|
+
margin: 0 -4px 0 0;
|
|
160
|
+
visibility: hidden;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
75%,
|
|
167
|
-
90%,
|
|
168
|
-
to {
|
|
169
|
-
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
170
|
-
}
|
|
163
|
+
.ele-map-view-item.is-active .ele-map-view-item-radio {
|
|
164
|
+
visibility: visible;
|
|
165
|
+
}
|
|
171
166
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
167
|
+
/* 地图底部提示信息 */
|
|
168
|
+
.ele-map-view-body {
|
|
169
|
+
& > .ele-map-view-search {
|
|
170
|
+
position: absolute;
|
|
171
|
+
top: 8px;
|
|
172
|
+
left: 8px;
|
|
173
|
+
padding: 8px;
|
|
174
|
+
width: 228px;
|
|
175
|
+
max-width: calc(100% - 16px);
|
|
176
|
+
background: elVar('bg-color');
|
|
177
|
+
box-shadow: elVar('box-shadow', 'lighter');
|
|
178
|
+
border-radius: elVar('border-radius', 'base');
|
|
175
179
|
}
|
|
176
180
|
|
|
177
|
-
|
|
178
|
-
|
|
181
|
+
& > .ele-map-view-message,
|
|
182
|
+
& > .ele-map-view-btn-ok {
|
|
183
|
+
position: absolute;
|
|
184
|
+
bottom: 20px;
|
|
185
|
+
left: 0;
|
|
186
|
+
right: 0;
|
|
187
|
+
margin: 0 auto;
|
|
188
|
+
width: max-content;
|
|
189
|
+
max-width: calc(100% - 32px);
|
|
190
|
+
box-shadow: elVar('box-shadow', 'light');
|
|
179
191
|
}
|
|
180
192
|
|
|
181
|
-
|
|
182
|
-
|
|
193
|
+
& > .ele-map-view-btn-ok {
|
|
194
|
+
width: 120px;
|
|
195
|
+
border-radius: 32px;
|
|
183
196
|
}
|
|
197
|
+
}
|
|
184
198
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
199
|
+
/* 搜索建议列表 */
|
|
200
|
+
.ele-map-suggest-popper.el-popper .el-autocomplete-suggestion__list > li {
|
|
201
|
+
height: auto;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.ele-map-suggest-item {
|
|
205
|
+
line-height: normal;
|
|
206
|
+
box-sizing: border-box;
|
|
207
|
+
padding: 6px 0;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.ele-map-suggest-title {
|
|
211
|
+
word-break: break-all;
|
|
188
212
|
}
|
|
189
213
|
|
|
190
214
|
.ele-map-suggest-text {
|
|
191
215
|
color: elVar('text-color', 'secondary');
|
|
192
216
|
font-size: elVar('font-size', 'small');
|
|
193
|
-
|
|
217
|
+
word-break: break-all;
|
|
218
|
+
margin-top: 2px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* 地图图标跳动动画 */
|
|
222
|
+
.ele-map-view-anim-bounce {
|
|
223
|
+
animation: mapAnimBounce 0.6s;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@keyframes mapAnimBounce {
|
|
227
|
+
from,
|
|
228
|
+
to {
|
|
229
|
+
transform: translateY(0);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
50% {
|
|
233
|
+
transform: translateY(-20px);
|
|
234
|
+
}
|
|
194
235
|
}
|
|
195
236
|
|
|
196
237
|
/* 小屏幕适应 */
|
|
@@ -198,10 +239,11 @@
|
|
|
198
239
|
.ele-map-picker.is-responsive {
|
|
199
240
|
top: 0 !important;
|
|
200
241
|
left: 0 !important;
|
|
242
|
+
margin: 0 !important;
|
|
201
243
|
width: 100% !important;
|
|
202
244
|
max-width: 100% !important;
|
|
203
245
|
height: 100% !important;
|
|
204
|
-
|
|
246
|
+
border-radius: 0 !important;
|
|
205
247
|
display: flex !important;
|
|
206
248
|
flex-direction: column !important;
|
|
207
249
|
|
|
@@ -220,33 +262,20 @@
|
|
|
220
262
|
}
|
|
221
263
|
|
|
222
264
|
.ele-map-view {
|
|
223
|
-
|
|
265
|
+
height: 100% !important;
|
|
224
266
|
flex-direction: column;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
.ele-map-view-header {
|
|
228
|
-
flex-shrink: 0;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.ele-map-view-body {
|
|
232
|
-
flex: 1;
|
|
233
|
-
flex-direction: column;
|
|
234
|
-
overflow: hidden;
|
|
235
|
-
height: auto;
|
|
267
|
+
}
|
|
236
268
|
|
|
237
|
-
|
|
238
|
-
|
|
269
|
+
.ele-map-view-body {
|
|
270
|
+
height: auto;
|
|
271
|
+
}
|
|
239
272
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}
|
|
273
|
+
.ele-map-view-side {
|
|
274
|
+
width: 100%;
|
|
275
|
+
height: 68%;
|
|
244
276
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
width: auto;
|
|
248
|
-
overflow: hidden;
|
|
249
|
-
}
|
|
277
|
+
& > .ele-map-view-search {
|
|
278
|
+
padding-top: 6px;
|
|
250
279
|
}
|
|
251
280
|
}
|
|
252
281
|
}
|
|
@@ -43,13 +43,11 @@ export interface PoiLocation {
|
|
|
43
43
|
*/
|
|
44
44
|
export interface PoiItem {
|
|
45
45
|
/** 地点名称 */
|
|
46
|
-
name
|
|
46
|
+
name?: string;
|
|
47
47
|
/** 详细地址 */
|
|
48
|
-
address
|
|
48
|
+
address?: string;
|
|
49
49
|
/** 经纬度坐标 */
|
|
50
50
|
location: PoiLocation;
|
|
51
|
-
/** 是否选中 */
|
|
52
|
-
selected?: boolean;
|
|
53
51
|
/** 数据唯一标识 */
|
|
54
52
|
id?: string;
|
|
55
53
|
/** 输入建议唯一标识 */
|
|
@@ -62,6 +60,11 @@ export interface PoiItem {
|
|
|
62
60
|
value?: string;
|
|
63
61
|
}
|
|
64
62
|
|
|
63
|
+
/**
|
|
64
|
+
* 位置选择模式
|
|
65
|
+
*/
|
|
66
|
+
export type SelectMode = 'lnglat' | 'poi' | 'keyword';
|
|
67
|
+
|
|
65
68
|
/**
|
|
66
69
|
* 实例
|
|
67
70
|
*/
|
|
@@ -90,4 +93,5 @@ export interface MapLocale {
|
|
|
90
93
|
placeholder: string;
|
|
91
94
|
message: string;
|
|
92
95
|
ok: string;
|
|
96
|
+
clickMessage: string;
|
|
93
97
|
}
|
package/lib/ele-menus/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
|
-
const
|
|
4
|
+
const EleTooltip = require("../ele-tooltip/index");
|
|
5
5
|
const core = require("../utils/core");
|
|
6
6
|
const icons = require("../icons");
|
|
7
7
|
const util = require("./util");
|
|
@@ -11,10 +11,13 @@ const index = vue.defineComponent({
|
|
|
11
11
|
props: props.menusProps,
|
|
12
12
|
emits: props.menusEmits,
|
|
13
13
|
setup(props$1, { slots, emit, expose }) {
|
|
14
|
-
const
|
|
14
|
+
const isWebkit = navigator.userAgent.includes("WebKit");
|
|
15
15
|
const menuRef = vue.ref(null);
|
|
16
16
|
const ellipsisRef = vue.ref(null);
|
|
17
17
|
const sliceIndex = vue.ref(-1);
|
|
18
|
+
const tooltipVirtualRef = vue.ref();
|
|
19
|
+
const tooltipContent = vue.ref("");
|
|
20
|
+
const tooltipVisible = vue.ref(false);
|
|
18
21
|
const isHorizontal = vue.computed(() => props$1.mode === "horizontal");
|
|
19
22
|
const { observe, unobserve, computedEllipsis } = util.useMenuEllipsis({
|
|
20
23
|
getMenuEl: () => {
|
|
@@ -58,8 +61,44 @@ const index = vue.defineComponent({
|
|
|
58
61
|
}
|
|
59
62
|
}
|
|
60
63
|
);
|
|
61
|
-
const
|
|
62
|
-
|
|
64
|
+
const triggerTooltip = (e) => {
|
|
65
|
+
var _a;
|
|
66
|
+
if (props$1.textEllipsisTooltip) {
|
|
67
|
+
const itemEl = (_a = e.currentTarget) == null ? void 0 : _a.parentNode;
|
|
68
|
+
if (itemEl) {
|
|
69
|
+
const titleEl = itemEl.querySelector(`.${util.titleClass}`);
|
|
70
|
+
const text = titleEl == null ? void 0 : titleEl.innerText;
|
|
71
|
+
if (text && core.contentIsEllipsis(titleEl, "horizontal")) {
|
|
72
|
+
tooltipVirtualRef.value = itemEl;
|
|
73
|
+
tooltipContent.value = text;
|
|
74
|
+
tooltipVisible.value = true;
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
hideTooltip();
|
|
80
|
+
};
|
|
81
|
+
const hideTooltip = () => {
|
|
82
|
+
tooltipVisible.value = false;
|
|
83
|
+
};
|
|
84
|
+
const onItemClick = (item, e) => {
|
|
85
|
+
emit("itemClick", item, e);
|
|
86
|
+
};
|
|
87
|
+
const onItemMouseenter = (item, e) => {
|
|
88
|
+
triggerTooltip(e);
|
|
89
|
+
emit("itemMouseenter", item, e);
|
|
90
|
+
};
|
|
91
|
+
const onItemMouseleave = (item, e) => {
|
|
92
|
+
hideTooltip();
|
|
93
|
+
emit("itemMouseleave", item, e);
|
|
94
|
+
};
|
|
95
|
+
const onParentMouseenter = (item, e) => {
|
|
96
|
+
triggerTooltip(e);
|
|
97
|
+
emit("parentMouseenter", item, e);
|
|
98
|
+
};
|
|
99
|
+
const onParentMouseleave = (item, e) => {
|
|
100
|
+
hideTooltip();
|
|
101
|
+
emit("parentMouseleave", item, e);
|
|
63
102
|
};
|
|
64
103
|
const exposeValue = {
|
|
65
104
|
menuRef,
|
|
@@ -83,11 +122,11 @@ const index = vue.defineComponent({
|
|
|
83
122
|
ref: menuRef,
|
|
84
123
|
ellipsis: false,
|
|
85
124
|
class: [
|
|
86
|
-
|
|
87
|
-
{ "ele-menu-dark":
|
|
88
|
-
{ "is-night":
|
|
89
|
-
{ "ele-menu-colorful":
|
|
90
|
-
{ "is-colorful":
|
|
125
|
+
"ele-menu",
|
|
126
|
+
{ "ele-menu-dark": props$1.theme === "dark" },
|
|
127
|
+
{ "is-night": props$1.theme === "dark" },
|
|
128
|
+
{ "ele-menu-colorful": props$1.colorful },
|
|
129
|
+
{ "is-colorful": props$1.colorful }
|
|
91
130
|
],
|
|
92
131
|
onOpen: (index2, indexPath) => {
|
|
93
132
|
emit("open", index2, indexPath);
|
|
@@ -116,7 +155,12 @@ const index = vue.defineComponent({
|
|
|
116
155
|
props$1.popupColorful,
|
|
117
156
|
props$1.firstPopperClass,
|
|
118
157
|
true,
|
|
119
|
-
onItemClick
|
|
158
|
+
onItemClick,
|
|
159
|
+
onItemMouseenter,
|
|
160
|
+
onItemMouseleave,
|
|
161
|
+
isWebkit,
|
|
162
|
+
onParentMouseenter,
|
|
163
|
+
onParentMouseleave
|
|
120
164
|
);
|
|
121
165
|
if (moreItems) {
|
|
122
166
|
const ellipsisProps = props$1.ellipsisProps || {};
|
|
@@ -127,7 +171,8 @@ const index = vue.defineComponent({
|
|
|
127
171
|
props$1.colorful,
|
|
128
172
|
props$1.popupColorful,
|
|
129
173
|
props$1.firstPopperClass,
|
|
130
|
-
true
|
|
174
|
+
true,
|
|
175
|
+
isWebkit
|
|
131
176
|
);
|
|
132
177
|
nodes.push(
|
|
133
178
|
vue.h(
|
|
@@ -154,7 +199,12 @@ const index = vue.defineComponent({
|
|
|
154
199
|
props$1.popupColorful,
|
|
155
200
|
props$1.firstPopperClass,
|
|
156
201
|
false,
|
|
157
|
-
onItemClick
|
|
202
|
+
onItemClick,
|
|
203
|
+
onItemMouseenter,
|
|
204
|
+
onItemMouseleave,
|
|
205
|
+
isWebkit,
|
|
206
|
+
onParentMouseenter,
|
|
207
|
+
onParentMouseleave
|
|
158
208
|
);
|
|
159
209
|
},
|
|
160
210
|
title: () => {
|
|
@@ -169,6 +219,20 @@ const index = vue.defineComponent({
|
|
|
169
219
|
)
|
|
170
220
|
);
|
|
171
221
|
}
|
|
222
|
+
if (props$1.textEllipsisTooltip) {
|
|
223
|
+
nodes.push(
|
|
224
|
+
vue.h(EleTooltip, {
|
|
225
|
+
trigger: "click",
|
|
226
|
+
placement: "right",
|
|
227
|
+
persistent: false,
|
|
228
|
+
...props$1.textEllipsisTooltipProps || {},
|
|
229
|
+
virtualTriggering: true,
|
|
230
|
+
virtualRef: tooltipVirtualRef.value,
|
|
231
|
+
content: tooltipContent.value,
|
|
232
|
+
visible: tooltipVisible.value
|
|
233
|
+
})
|
|
234
|
+
);
|
|
235
|
+
}
|
|
172
236
|
return nodes;
|
|
173
237
|
}
|
|
174
238
|
);
|
package/lib/ele-menus/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { ElMenuInstance } from '../ele-app/el';
|
|
2
|
+
import { MenuItemClicked } from 'element-plus';
|
|
3
|
+
import { NavigationFailure } from 'vue-router';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
6
|
items: {
|
|
6
7
|
type: import("vue").PropType<import("./types").MenuItem[]>;
|
|
7
8
|
required: boolean;
|
|
@@ -19,6 +20,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
20
|
firstPopperClass: StringConstructor;
|
|
20
21
|
tooltipDisabled: BooleanConstructor;
|
|
21
22
|
ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
|
|
23
|
+
textEllipsisTooltip: BooleanConstructor; /** 菜单组件实例 */
|
|
24
|
+
textEllipsisTooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
22
25
|
mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
|
|
23
26
|
defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
24
27
|
defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
@@ -43,7 +46,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
46
|
open: (index: string) => void;
|
|
44
47
|
close: (index: string) => void;
|
|
45
48
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
-
itemClick: (_item: import("./types").MenuItem) => boolean;
|
|
49
|
+
itemClick: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
|
|
50
|
+
itemMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
|
|
51
|
+
itemMouseleave: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
|
|
52
|
+
parentMouseenter: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
|
|
53
|
+
parentMouseleave: (_item: import("./types").MenuItem, _e: MouseEvent) => boolean;
|
|
47
54
|
close: (index: string, indexPath: string[]) => boolean;
|
|
48
55
|
open: (index: string, indexPath: string[]) => boolean;
|
|
49
56
|
select: (index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => boolean;
|
|
@@ -65,6 +72,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
72
|
firstPopperClass: StringConstructor;
|
|
66
73
|
tooltipDisabled: BooleanConstructor;
|
|
67
74
|
ellipsisProps: import("vue").PropType<import("./types").EllipsisProps>;
|
|
75
|
+
textEllipsisTooltip: BooleanConstructor; /** 菜单组件实例 */
|
|
76
|
+
textEllipsisTooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
68
77
|
mode: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "vertical", boolean>;
|
|
69
78
|
defaultActive: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
70
79
|
defaultOpeneds: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
|
|
@@ -85,10 +94,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
94
|
showTimeout: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
86
95
|
hideTimeout: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
87
96
|
}>> & {
|
|
97
|
+
onSelect?: ((index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => any) | undefined;
|
|
88
98
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
89
99
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
90
|
-
|
|
91
|
-
|
|
100
|
+
onItemClick?: ((_item: import("./types").MenuItem, _e: MouseEvent) => any) | undefined;
|
|
101
|
+
onItemMouseenter?: ((_item: import("./types").MenuItem, _e: MouseEvent) => any) | undefined;
|
|
102
|
+
onItemMouseleave?: ((_item: import("./types").MenuItem, _e: MouseEvent) => any) | undefined;
|
|
103
|
+
onParentMouseenter?: ((_item: import("./types").MenuItem, _e: MouseEvent) => any) | undefined;
|
|
104
|
+
onParentMouseleave?: ((_item: import("./types").MenuItem, _e: MouseEvent) => any) | undefined;
|
|
92
105
|
}, {
|
|
93
106
|
showTimeout: number;
|
|
94
107
|
hideTimeout: number;
|
|
@@ -109,5 +122,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
122
|
colorful: boolean;
|
|
110
123
|
popupColorful: import("./types").PopupColorful;
|
|
111
124
|
tooltipDisabled: boolean;
|
|
125
|
+
textEllipsisTooltip: boolean;
|
|
112
126
|
}, {}>;
|
|
113
127
|
export default _default;
|