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
package/es/ele-modal/index.js
CHANGED
|
@@ -2,7 +2,8 @@ import { defineComponent, ref, computed, unref, watch, onActivated, onDeactivate
|
|
|
2
2
|
import { ElDialog, ElIcon } from "element-plus";
|
|
3
3
|
import { CloseOutlined, CompressOutlined, ExpandOutlined } from "../icons";
|
|
4
4
|
import { pick } from "../utils/core";
|
|
5
|
-
import {
|
|
5
|
+
import { useLayoutState } from "../ele-config-provider/receiver";
|
|
6
|
+
import ReceiverView from "../ele-config-provider/components/receiver-view";
|
|
6
7
|
import { getModalContainer, resizableClass, multipleClass, fullscreenClass, closedClass, hideClass, innerClass, collapseClass, compactClass, maximizedClass, hasTabClass, mixSidebarClass, singleSidebarClass, topLayoutClass, expandedClass, mobileClass, setInitPosition, wrapperClass, responsiveClass, movableClass, setModalTop, resetModalStyle, handleMovable, handleResizable } from "./util";
|
|
7
8
|
import { modalProps, modalEmits, dialogPropKeys } from "./props";
|
|
8
9
|
const _sfc_main = defineComponent({
|
|
@@ -12,13 +13,13 @@ const _sfc_main = defineComponent({
|
|
|
12
13
|
ElIcon,
|
|
13
14
|
CloseOutlined,
|
|
14
15
|
CompressOutlined,
|
|
15
|
-
ExpandOutlined
|
|
16
|
+
ExpandOutlined,
|
|
17
|
+
ReceiverView
|
|
16
18
|
},
|
|
17
19
|
inheritAttrs: false,
|
|
18
20
|
props: modalProps,
|
|
19
21
|
emits: modalEmits,
|
|
20
22
|
setup(props, { emit, attrs }) {
|
|
21
|
-
const { authenticated } = useLicense();
|
|
22
23
|
const layoutProvide = useLayoutState();
|
|
23
24
|
const dialogRef = ref(null);
|
|
24
25
|
const teleportTo = ref(
|
|
@@ -38,6 +39,29 @@ const _sfc_main = defineComponent({
|
|
|
38
39
|
if (props.form) {
|
|
39
40
|
classes.push("ele-modal-form");
|
|
40
41
|
}
|
|
42
|
+
if (props.position) {
|
|
43
|
+
if (props.position === "top") {
|
|
44
|
+
classes.push("ele-modal-top");
|
|
45
|
+
} else if (props.position === "bottom") {
|
|
46
|
+
classes.push("ele-modal-bottom");
|
|
47
|
+
} else if (props.position === "left") {
|
|
48
|
+
classes.push("ele-modal-left");
|
|
49
|
+
} else if (props.position === "right") {
|
|
50
|
+
classes.push("ele-modal-right");
|
|
51
|
+
} else if (props.position === "leftTop") {
|
|
52
|
+
classes.push("ele-modal-left-top");
|
|
53
|
+
} else if (props.position === "leftBottom") {
|
|
54
|
+
classes.push("ele-modal-left-bottom");
|
|
55
|
+
} else if (props.position === "rightTop") {
|
|
56
|
+
classes.push("ele-modal-right-top");
|
|
57
|
+
} else if (props.position === "rightBottom") {
|
|
58
|
+
classes.push("ele-modal-right-bottom");
|
|
59
|
+
} else if (props.position === "center") {
|
|
60
|
+
classes.push("ele-modal-center");
|
|
61
|
+
}
|
|
62
|
+
} else if (props.alignCenter) {
|
|
63
|
+
classes.push("ele-modal-center");
|
|
64
|
+
}
|
|
41
65
|
if (props.draggable) {
|
|
42
66
|
classes.push(movableClass);
|
|
43
67
|
}
|
|
@@ -97,7 +121,7 @@ const _sfc_main = defineComponent({
|
|
|
97
121
|
return classes.join(" ");
|
|
98
122
|
});
|
|
99
123
|
const dialogProps = computed(() => {
|
|
100
|
-
const
|
|
124
|
+
const option = {
|
|
101
125
|
fullscreen: false,
|
|
102
126
|
modal: props.multiple ? false : props.modal,
|
|
103
127
|
appendToBody: false,
|
|
@@ -107,7 +131,7 @@ const _sfc_main = defineComponent({
|
|
|
107
131
|
destroyOnClose: false,
|
|
108
132
|
modalClass: dialogClass.value
|
|
109
133
|
};
|
|
110
|
-
return Object.assign({}, attrs, pick(props, dialogPropKeys),
|
|
134
|
+
return Object.assign({}, attrs, pick(props, dialogPropKeys), option);
|
|
111
135
|
});
|
|
112
136
|
const teleportDisabled = computed(() => {
|
|
113
137
|
const appendTo = props.appendTo || "body";
|
|
@@ -148,7 +172,7 @@ const _sfc_main = defineComponent({
|
|
|
148
172
|
if (props.resetOnClose) {
|
|
149
173
|
resetModalStyle(modalEl, props.width, props.top);
|
|
150
174
|
}
|
|
151
|
-
if (props.position) {
|
|
175
|
+
if (props.position && typeof props.position === "object") {
|
|
152
176
|
setInitPosition(
|
|
153
177
|
modalEl,
|
|
154
178
|
props.resizable,
|
|
@@ -163,7 +187,7 @@ const _sfc_main = defineComponent({
|
|
|
163
187
|
};
|
|
164
188
|
const onOpened = () => {
|
|
165
189
|
const el = getModalEl();
|
|
166
|
-
if (
|
|
190
|
+
if (el) {
|
|
167
191
|
el.addEventListener("mousedown", mousedownListener);
|
|
168
192
|
}
|
|
169
193
|
emit("opened");
|
|
@@ -176,7 +200,7 @@ const _sfc_main = defineComponent({
|
|
|
176
200
|
emit("close");
|
|
177
201
|
};
|
|
178
202
|
const onClosed = () => {
|
|
179
|
-
if (dialogEnable.value) {
|
|
203
|
+
if (props.destroyOnClose && dialogEnable.value) {
|
|
180
204
|
dialogEnable.value = false;
|
|
181
205
|
}
|
|
182
206
|
emit("closed");
|
|
@@ -210,7 +234,7 @@ const _sfc_main = defineComponent({
|
|
|
210
234
|
watch(
|
|
211
235
|
() => props.position,
|
|
212
236
|
(position) => {
|
|
213
|
-
if (position &&
|
|
237
|
+
if (props.modelValue && position && typeof position === "object") {
|
|
214
238
|
setInitPosition(
|
|
215
239
|
getModalEl(),
|
|
216
240
|
props.resizable,
|
|
@@ -270,6 +294,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
270
294
|
const _component_ExpandOutlined = resolveComponent("ExpandOutlined");
|
|
271
295
|
const _component_ElIcon = resolveComponent("ElIcon");
|
|
272
296
|
const _component_CloseOutlined = resolveComponent("CloseOutlined");
|
|
297
|
+
const _component_ReceiverView = resolveComponent("ReceiverView");
|
|
273
298
|
const _component_ElDialog = resolveComponent("ElDialog");
|
|
274
299
|
return openBlock(), createBlock(Teleport, {
|
|
275
300
|
to: _ctx.teleportTo,
|
|
@@ -336,13 +361,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
336
361
|
], 4)
|
|
337
362
|
]),
|
|
338
363
|
default: withCtx(() => [
|
|
339
|
-
_ctx.dialogEnable ? (openBlock(),
|
|
364
|
+
_ctx.dialogEnable ? (openBlock(), createBlock(_component_ReceiverView, {
|
|
340
365
|
key: 0,
|
|
366
|
+
wrapPosition: false,
|
|
341
367
|
class: "ele-modal-body",
|
|
342
368
|
style: normalizeStyle(_ctx.bodyStyle)
|
|
343
|
-
},
|
|
344
|
-
|
|
345
|
-
|
|
369
|
+
}, {
|
|
370
|
+
default: withCtx(() => [
|
|
371
|
+
renderSlot(_ctx.$slots, "default")
|
|
372
|
+
]),
|
|
373
|
+
_: 3
|
|
374
|
+
}, 8, ["style"])) : createCommentVNode("", true)
|
|
346
375
|
]),
|
|
347
376
|
_: 2
|
|
348
377
|
}, [
|
package/es/ele-modal/props.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Resizable, MoveOut, Position } from './types';
|
|
2
2
|
import { dialogProps } from 'element-plus';
|
|
3
|
-
import
|
|
3
|
+
import { PropType, ExtractPropTypes } from 'vue';
|
|
4
|
+
|
|
4
5
|
/**
|
|
5
6
|
* 属性
|
|
6
7
|
*/
|
|
@@ -41,17 +42,17 @@ export declare const modalProps: {
|
|
|
41
42
|
default: number;
|
|
42
43
|
};
|
|
43
44
|
/** 标题栏样式 */
|
|
44
|
-
headerStyle: PropType<Partial<import(
|
|
45
|
+
headerStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
45
46
|
/** 标题样式 */
|
|
46
|
-
titleStyle: PropType<Partial<import(
|
|
47
|
+
titleStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
47
48
|
/** 主体样式 */
|
|
48
|
-
bodyStyle: PropType<Partial<import(
|
|
49
|
+
bodyStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
49
50
|
/** 底栏样式 */
|
|
50
|
-
footerStyle: PropType<Partial<import(
|
|
51
|
+
footerStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
51
52
|
/** 自定义关闭按钮样式 */
|
|
52
|
-
closeBtnStyle: PropType<Partial<import(
|
|
53
|
+
closeBtnStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
53
54
|
/** 自定义全屏按钮样式 */
|
|
54
|
-
fullscreenBtnStyle: PropType<Partial<import(
|
|
55
|
+
fullscreenBtnStyle: PropType<Partial<import('vue').CSSProperties>>;
|
|
55
56
|
/** 是否开启响应式 */
|
|
56
57
|
responsive: {
|
|
57
58
|
type: BooleanConstructor;
|
|
@@ -59,20 +60,20 @@ export declare const modalProps: {
|
|
|
59
60
|
};
|
|
60
61
|
/** 是否是表单弹窗 */
|
|
61
62
|
form: BooleanConstructor;
|
|
62
|
-
appendTo: import(
|
|
63
|
+
appendTo: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
63
64
|
beforeClose: {
|
|
64
|
-
readonly type: PropType<import(
|
|
65
|
+
readonly type: PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
65
66
|
readonly required: false;
|
|
66
67
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
68
|
__epPropKey: true; /** 是否显示最大化切换按钮 */
|
|
68
69
|
};
|
|
69
70
|
destroyOnClose: BooleanConstructor;
|
|
70
|
-
closeOnClickModal: import(
|
|
71
|
-
closeOnPressEscape: import(
|
|
72
|
-
lockScroll: import(
|
|
73
|
-
modal: import(
|
|
74
|
-
openDelay: import(
|
|
75
|
-
closeDelay: import(
|
|
71
|
+
closeOnClickModal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
72
|
+
closeOnPressEscape: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
73
|
+
lockScroll: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
74
|
+
modal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
75
|
+
openDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
76
|
+
closeDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
76
77
|
top: {
|
|
77
78
|
readonly type: PropType<string>;
|
|
78
79
|
readonly required: false;
|
|
@@ -82,7 +83,7 @@ export declare const modalProps: {
|
|
|
82
83
|
modelValue: BooleanConstructor;
|
|
83
84
|
modalClass: StringConstructor;
|
|
84
85
|
width: {
|
|
85
|
-
readonly type: PropType<import(
|
|
86
|
+
readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
86
87
|
readonly required: false;
|
|
87
88
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
89
|
__epPropKey: true;
|
|
@@ -93,21 +94,21 @@ export declare const modalProps: {
|
|
|
93
94
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
95
|
__epPropKey: true;
|
|
95
96
|
};
|
|
96
|
-
trapFocus: import(
|
|
97
|
-
headerAriaLevel: import(
|
|
97
|
+
trapFocus: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
98
|
+
headerAriaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
98
99
|
center: BooleanConstructor;
|
|
99
100
|
alignCenter: BooleanConstructor;
|
|
100
101
|
closeIcon: {
|
|
101
|
-
readonly type: PropType<import(
|
|
102
|
+
readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
|
|
102
103
|
readonly required: false;
|
|
103
104
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
104
105
|
__epPropKey: true;
|
|
105
106
|
};
|
|
106
107
|
overflow: BooleanConstructor;
|
|
107
108
|
fullscreen: BooleanConstructor;
|
|
108
|
-
showClose: import(
|
|
109
|
-
title: import(
|
|
110
|
-
ariaLevel: import(
|
|
109
|
+
showClose: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
110
|
+
title: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
111
|
+
ariaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
111
112
|
};
|
|
112
113
|
export type ModalProps = ExtractPropTypes<typeof modalProps>;
|
|
113
114
|
/**
|
|
@@ -11,15 +11,25 @@
|
|
|
11
11
|
|
|
12
12
|
& > .el-overlay-dialog {
|
|
13
13
|
position: absolute;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
align-items: center;
|
|
14
18
|
|
|
15
19
|
& > .el-dialog {
|
|
20
|
+
padding: 0;
|
|
21
|
+
flex-shrink: 0;
|
|
22
|
+
position: relative;
|
|
16
23
|
background: eleVar('modal', 'bg');
|
|
17
24
|
border-radius: eleVar('modal', 'radius');
|
|
18
|
-
|
|
25
|
+
margin-bottom: eleVar('modal', 'mobile-space');
|
|
19
26
|
|
|
27
|
+
& > .el-dialog__header,
|
|
20
28
|
& > .el-dialog__footer {
|
|
29
|
+
flex-shrink: 0;
|
|
21
30
|
border: none;
|
|
22
31
|
padding: 0;
|
|
32
|
+
margin: 0;
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
& > .el-dialog__body {
|
|
@@ -27,12 +37,6 @@
|
|
|
27
37
|
color: inherit;
|
|
28
38
|
font-size: inherit;
|
|
29
39
|
}
|
|
30
|
-
|
|
31
|
-
& > .el-dialog__header {
|
|
32
|
-
margin: 0;
|
|
33
|
-
padding: 0;
|
|
34
|
-
border: none;
|
|
35
|
-
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
42
|
|
|
@@ -101,6 +105,43 @@
|
|
|
101
105
|
}
|
|
102
106
|
}
|
|
103
107
|
|
|
108
|
+
/* 默认位置 */
|
|
109
|
+
.ele-modal-top > .el-overlay-dialog > .el-dialog {
|
|
110
|
+
margin: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.ele-modal-center > .el-overlay-dialog > .el-dialog {
|
|
114
|
+
margin: auto;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.ele-modal-bottom > .el-overlay-dialog > .el-dialog {
|
|
118
|
+
margin: auto auto 0 auto;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ele-modal-left > .el-overlay-dialog > .el-dialog {
|
|
122
|
+
margin: auto auto auto 0;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.ele-modal-right > .el-overlay-dialog > .el-dialog {
|
|
126
|
+
margin: auto 0 auto auto;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ele-modal-left-top > .el-overlay-dialog > .el-dialog {
|
|
130
|
+
margin: 0 auto 0 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ele-modal-left-bottom > .el-overlay-dialog > .el-dialog {
|
|
134
|
+
margin: auto auto 0 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.ele-modal-right-top > .el-overlay-dialog > .el-dialog {
|
|
138
|
+
margin: 0 0 0 auto;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ele-modal-right-bottom > .el-overlay-dialog > .el-dialog {
|
|
142
|
+
margin: auto 0 0 auto;
|
|
143
|
+
}
|
|
144
|
+
|
|
104
145
|
/* 支持拖拽 */
|
|
105
146
|
.ele-modal-movable > .el-overlay-dialog > .el-dialog > .el-dialog__header {
|
|
106
147
|
cursor: move;
|
|
@@ -135,10 +176,6 @@
|
|
|
135
176
|
display: flex;
|
|
136
177
|
flex-direction: column;
|
|
137
178
|
|
|
138
|
-
& > .el-dialog__header {
|
|
139
|
-
flex-shrink: 0;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
179
|
& > .el-dialog__body {
|
|
143
180
|
flex: auto;
|
|
144
181
|
overflow: auto;
|
|
@@ -186,7 +223,6 @@
|
|
|
186
223
|
|
|
187
224
|
& > .el-overlay-dialog {
|
|
188
225
|
pointer-events: none;
|
|
189
|
-
position: absolute;
|
|
190
226
|
overflow: hidden;
|
|
191
227
|
|
|
192
228
|
& > .el-dialog {
|
|
@@ -212,7 +248,7 @@
|
|
|
212
248
|
left: eleVar('sidebar', 'width', 0);
|
|
213
249
|
}
|
|
214
250
|
|
|
215
|
-
&:not(.dialog-fade-leave-active
|
|
251
|
+
&:not(.dialog-fade-leave-active):not(.dialog-fade-enter-active) {
|
|
216
252
|
transition: (width $ele-transition, left $ele-transition);
|
|
217
253
|
}
|
|
218
254
|
|
package/es/ele-modal/types.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export type MoveOut = boolean | MoveOutValue[];
|
|
|
19
19
|
export interface PositionObject {
|
|
20
20
|
top?: string | number;
|
|
21
21
|
left?: string | number;
|
|
22
|
+
bottom?: string | number;
|
|
23
|
+
right?: string | number;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
|
@@ -39,13 +41,3 @@ export type PositionValue =
|
|
|
39
41
|
* 初始位置类型
|
|
40
42
|
*/
|
|
41
43
|
export type Position = PositionValue | PositionObject;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* 弹窗坐标
|
|
45
|
-
*/
|
|
46
|
-
export interface Location {
|
|
47
|
-
top?: number;
|
|
48
|
-
left?: number;
|
|
49
|
-
topValue?: string;
|
|
50
|
-
leftValue?: string;
|
|
51
|
-
}
|
package/es/ele-modal/util.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ModalProps } from './props';
|
|
2
|
+
import { Resizable, PositionObject, MoveOut } from './types';
|
|
3
|
+
|
|
3
4
|
export declare const wrapperClass = "ele-modal";
|
|
4
5
|
export declare const containerId = "ele-modal-container";
|
|
5
6
|
export declare const movableClass = "ele-modal-movable";
|
|
@@ -58,7 +59,7 @@ export declare function resetModalStyle(modalEl?: HTMLElement, width?: string |
|
|
|
58
59
|
* @param resizable 是否可以拉伸
|
|
59
60
|
* @param moveOut 是否可以拉出容器
|
|
60
61
|
*/
|
|
61
|
-
export declare function setModalPosition(modalEl?: HTMLElement, resizable?: Resizable, position?:
|
|
62
|
+
export declare function setModalPosition(modalEl?: HTMLElement, resizable?: Resizable, position?: PositionObject, moveOut?: MoveOut): void;
|
|
62
63
|
/**
|
|
63
64
|
* 设置弹窗初始位置
|
|
64
65
|
* @param modalEl 弹窗节点
|
|
@@ -67,4 +68,4 @@ export declare function setModalPosition(modalEl?: HTMLElement, resizable?: Resi
|
|
|
67
68
|
* @param moveOut 是否可以拉出容器
|
|
68
69
|
* @param force 是否强制更新
|
|
69
70
|
*/
|
|
70
|
-
export declare function setInitPosition(modalEl?: HTMLElement, resizable?: Resizable, position?:
|
|
71
|
+
export declare function setInitPosition(modalEl?: HTMLElement, resizable?: Resizable, position?: PositionObject, moveOut?: MoveOut, force?: boolean): void;
|
package/es/ele-modal/util.js
CHANGED
|
@@ -28,7 +28,7 @@ function initModalStyle(modalEl, resizable) {
|
|
|
28
28
|
modalEl.style.bottom = "auto";
|
|
29
29
|
modalEl.style.right = "auto";
|
|
30
30
|
modalEl.style.margin = "0";
|
|
31
|
-
modalEl.style.position = "
|
|
31
|
+
modalEl.style.position = "absolute";
|
|
32
32
|
modalEl.style.display = resizable ? "inline-flex" : "inline-block";
|
|
33
33
|
modalEl.style.verticalAlign = "top";
|
|
34
34
|
}
|
|
@@ -245,78 +245,43 @@ function resetModalStyle(modalEl, width, top) {
|
|
|
245
245
|
modalEl.style.minWidth = "";
|
|
246
246
|
}
|
|
247
247
|
function setModalPosition(modalEl, resizable, position, moveOut) {
|
|
248
|
-
if (!modalEl) {
|
|
248
|
+
if (!position || typeof position !== "object" || !modalEl) {
|
|
249
249
|
return;
|
|
250
250
|
}
|
|
251
251
|
const wrapEl = modalEl.parentElement;
|
|
252
252
|
if (!wrapEl) {
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
|
-
const location = {};
|
|
256
255
|
initModalStyle(modalEl, resizable);
|
|
256
|
+
const location = {};
|
|
257
257
|
const canOutB = canMoveOut(moveOut, "bottom");
|
|
258
258
|
const canOutR = canMoveOut(moveOut, "right");
|
|
259
259
|
const t = wrapEl.clientHeight - modalEl.clientHeight - (canOutB ? 0 : fixTop);
|
|
260
260
|
const maxTop = t < 0 ? 0 : t;
|
|
261
261
|
const l = wrapEl.clientWidth - modalEl.clientWidth - (canOutR ? 0 : fixLeft);
|
|
262
262
|
const maxLeft = l < 0 ? 0 : l;
|
|
263
|
-
if (position
|
|
264
|
-
location.top =
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
location.left = maxLeft / 2;
|
|
269
|
-
} else if (position === "left") {
|
|
270
|
-
location.top = maxTop / 2;
|
|
271
|
-
location.left = 0;
|
|
272
|
-
} else if (position === "right") {
|
|
263
|
+
if (position.top != null) {
|
|
264
|
+
location.top = position.top;
|
|
265
|
+
} else if (position.bottom != null) {
|
|
266
|
+
location.bottom = position.bottom;
|
|
267
|
+
} else if (position.left != null || position.right != null) {
|
|
273
268
|
location.top = maxTop / 2;
|
|
274
|
-
location.left = maxLeft;
|
|
275
|
-
} else if (position === "leftTop") {
|
|
276
|
-
location.top = 0;
|
|
277
|
-
location.left = 0;
|
|
278
|
-
} else if (position === "leftBottom") {
|
|
279
|
-
location.top = maxTop;
|
|
280
|
-
location.left = 0;
|
|
281
|
-
} else if (position === "rightTop") {
|
|
282
|
-
location.top = 0;
|
|
283
|
-
location.left = maxLeft;
|
|
284
|
-
} else if (position === "rightBottom") {
|
|
285
|
-
location.top = maxTop;
|
|
286
|
-
location.left = maxLeft;
|
|
287
|
-
} else if (position === "center") {
|
|
288
|
-
location.top = maxTop / 2;
|
|
289
|
-
location.left = maxLeft / 2;
|
|
290
|
-
} else if (typeof position === "object") {
|
|
291
|
-
if (position.top != null) {
|
|
292
|
-
if (typeof position.top === "number") {
|
|
293
|
-
location.top = position.top;
|
|
294
|
-
} else {
|
|
295
|
-
location.topValue = position.top;
|
|
296
|
-
}
|
|
297
|
-
} else if (position.left != null) {
|
|
298
|
-
location.top = maxTop / 2;
|
|
299
|
-
}
|
|
300
|
-
if (position.left != null) {
|
|
301
|
-
if (typeof position.left === "number") {
|
|
302
|
-
location.left = position.left;
|
|
303
|
-
} else {
|
|
304
|
-
location.leftValue = position.left;
|
|
305
|
-
}
|
|
306
|
-
} else if (position.top != null) {
|
|
307
|
-
location.left = maxLeft / 2;
|
|
308
|
-
}
|
|
309
269
|
}
|
|
310
|
-
if (
|
|
311
|
-
|
|
312
|
-
} else if (
|
|
313
|
-
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
modalEl.style.left = `${Math.floor(location.left)}px`;
|
|
317
|
-
} else if (location.leftValue != null) {
|
|
318
|
-
modalEl.style.left = location.leftValue;
|
|
270
|
+
if (position.left != null) {
|
|
271
|
+
location.left = position.left;
|
|
272
|
+
} else if (position.right != null) {
|
|
273
|
+
location.right = position.right;
|
|
274
|
+
} else if (position.top != null || position.bottom != null) {
|
|
275
|
+
location.left = maxLeft / 2;
|
|
319
276
|
}
|
|
277
|
+
Object.keys(location).forEach((key) => {
|
|
278
|
+
const value = location[key];
|
|
279
|
+
if (typeof value === "number") {
|
|
280
|
+
modalEl.style[key] = `${Math.floor(value)}px`;
|
|
281
|
+
} else if (value != null) {
|
|
282
|
+
modalEl.style[key] = value;
|
|
283
|
+
}
|
|
284
|
+
});
|
|
320
285
|
}
|
|
321
286
|
function setInitPosition(modalEl, resizable, position, moveOut, force) {
|
|
322
287
|
const attr = "ele-position";
|
package/es/ele-page/index.d.ts
CHANGED
package/es/ele-page/props.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
total: import("vue").PropType<import("./types").PaginationTotal>;
|
|
2
3
|
type: {
|
|
3
4
|
type: import("vue").PropType<import("./types").PaginationType>;
|
|
4
5
|
default: string;
|
|
5
6
|
};
|
|
6
7
|
pageSize: NumberConstructor;
|
|
7
8
|
defaultPageSize: NumberConstructor;
|
|
8
|
-
total: NumberConstructor;
|
|
9
9
|
pageCount: NumberConstructor;
|
|
10
10
|
pagerCount: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
11
11
|
currentPage: NumberConstructor;
|
|
@@ -23,19 +23,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
disabled: BooleanConstructor;
|
|
24
24
|
hideOnSinglePage: BooleanConstructor;
|
|
25
25
|
}, {
|
|
26
|
+
isInfinite: import("vue").ComputedRef<boolean>;
|
|
27
|
+
pageTotal: import("vue").ComputedRef<number | undefined>;
|
|
26
28
|
onUpdateCurrentPage: (currentPage: number) => void;
|
|
27
29
|
onUpdatePageSize: (pageSize: number) => void;
|
|
28
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
31
|
'update:currentPage': (_currentPage: number) => boolean;
|
|
30
32
|
'update:pageSize': (_pageSize: number) => boolean;
|
|
31
33
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
total: import("vue").PropType<import("./types").PaginationTotal>;
|
|
32
35
|
type: {
|
|
33
36
|
type: import("vue").PropType<import("./types").PaginationType>;
|
|
34
37
|
default: string;
|
|
35
38
|
};
|
|
36
39
|
pageSize: NumberConstructor;
|
|
37
40
|
defaultPageSize: NumberConstructor;
|
|
38
|
-
total: NumberConstructor;
|
|
39
41
|
pageCount: NumberConstructor;
|
|
40
42
|
pagerCount: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
41
43
|
currentPage: NumberConstructor;
|
|
@@ -57,18 +59,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
59
|
"onUpdate:pageSize"?: ((_pageSize: number) => any) | undefined;
|
|
58
60
|
}, {
|
|
59
61
|
type: import("./types").PaginationType;
|
|
60
|
-
popperClass: string;
|
|
61
|
-
disabled: boolean;
|
|
62
|
-
teleported: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
63
|
-
small: boolean;
|
|
64
|
-
layout: string;
|
|
65
|
-
background: boolean;
|
|
66
62
|
pagerCount: number;
|
|
63
|
+
layout: string;
|
|
67
64
|
pageSizes: number[];
|
|
65
|
+
popperClass: string;
|
|
68
66
|
prevText: string;
|
|
69
67
|
prevIcon: import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
|
|
70
68
|
nextText: string;
|
|
71
69
|
nextIcon: import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>;
|
|
70
|
+
teleported: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
71
|
+
small: boolean;
|
|
72
|
+
background: boolean;
|
|
73
|
+
disabled: boolean;
|
|
72
74
|
hideOnSinglePage: boolean;
|
|
73
75
|
}, {}>;
|
|
74
76
|
export default _default;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent, openBlock, createBlock, normalizeClass, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
1
|
+
import { defineComponent, computed, resolveComponent, openBlock, createBlock, normalizeClass, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { ElPagination } from "element-plus";
|
|
3
|
-
import { useLicense } from "../ele-config-provider/receiver";
|
|
4
3
|
import { paginationProps, paginationEmits } from "./props";
|
|
5
4
|
const _sfc_main = defineComponent({
|
|
6
5
|
name: "ElePagination",
|
|
7
6
|
components: { ElPagination },
|
|
8
7
|
props: paginationProps,
|
|
9
8
|
emits: paginationEmits,
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
14
|
-
|
|
9
|
+
setup(props, { emit }) {
|
|
10
|
+
const isInfinite = computed(() => "*" === props.total);
|
|
11
|
+
const pageTotal = computed(() => {
|
|
12
|
+
if (isInfinite.value) {
|
|
13
|
+
return Number.MAX_SAFE_INTEGER;
|
|
15
14
|
}
|
|
15
|
+
const num = props.total == null ? void 0 : Number(props.total);
|
|
16
|
+
return num == null || isNaN(num) ? void 0 : num;
|
|
17
|
+
});
|
|
18
|
+
const onUpdateCurrentPage = (currentPage) => {
|
|
19
|
+
emit("update:currentPage", currentPage);
|
|
16
20
|
};
|
|
17
21
|
const onUpdatePageSize = (pageSize) => {
|
|
18
|
-
|
|
19
|
-
emit("update:pageSize", pageSize);
|
|
20
|
-
}
|
|
22
|
+
emit("update:pageSize", pageSize);
|
|
21
23
|
};
|
|
22
|
-
return { onUpdateCurrentPage, onUpdatePageSize };
|
|
24
|
+
return { isInfinite, pageTotal, onUpdateCurrentPage, onUpdatePageSize };
|
|
23
25
|
}
|
|
24
26
|
});
|
|
25
27
|
const _export_sfc = (sfc, props) => {
|
|
@@ -36,7 +38,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
36
38
|
background: _ctx.type === "circle" ? false : _ctx.background,
|
|
37
39
|
pageSize: _ctx.pageSize,
|
|
38
40
|
defaultPageSize: _ctx.defaultPageSize,
|
|
39
|
-
total: _ctx.
|
|
41
|
+
total: _ctx.pageTotal,
|
|
40
42
|
pageCount: _ctx.pageCount,
|
|
41
43
|
pagerCount: _ctx.pagerCount,
|
|
42
44
|
currentPage: _ctx.currentPage,
|
|
@@ -51,7 +53,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
51
53
|
disabled: _ctx.disabled,
|
|
52
54
|
teleported: _ctx.teleported,
|
|
53
55
|
hideOnSinglePage: _ctx.hideOnSinglePage,
|
|
54
|
-
class: normalizeClass([
|
|
56
|
+
class: normalizeClass([
|
|
57
|
+
"ele-pagination",
|
|
58
|
+
{ "is-circle": _ctx.type === "circle" },
|
|
59
|
+
{ "is-infinite": _ctx.isInfinite }
|
|
60
|
+
]),
|
|
55
61
|
"onUpdate:currentPage": _ctx.onUpdateCurrentPage,
|
|
56
62
|
"onUpdate:pageSize": _ctx.onUpdatePageSize
|
|
57
63
|
}, createSlots({ _: 2 }, [
|