ele-admin-plus 1.1.9-beta.1 → 1.1.9-beta.11
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 +4 -6
- 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 +17 -15
- package/es/ele-basic-select/index.js +40 -19
- 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 +6 -12
- 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/index.js +1 -1
- 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 +8 -4
- package/es/ele-drawer/index.js +111 -114
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +49 -106
- 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 +18 -16
- 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 +17 -10
- 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 +21 -16
- 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/components/icon-grid.js +1 -1
- 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 +1 -6
- package/es/ele-loading/index.js +39 -43
- 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 +22 -40
- 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 +19 -7
- package/es/ele-menus/index.js +78 -14
- package/es/ele-menus/props.d.ts +27 -16
- package/es/ele-menus/props.js +13 -3
- package/es/ele-menus/style/css-var.scss +1 -5
- 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 +18 -11
- package/es/ele-modal/index.js +175 -167
- package/es/ele-modal/props.d.ts +26 -23
- package/es/ele-modal/props.js +2 -0
- package/es/ele-modal/style/index.scss +134 -159
- package/es/ele-modal/types.d.ts +2 -10
- package/es/ele-modal/util.d.ts +20 -45
- package/es/ele-modal/util.js +53 -214
- 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 +20 -9
- package/es/ele-pagination/index.js +22 -13
- package/es/ele-pagination/props.d.ts +19 -12
- package/es/ele-pagination/props.js +7 -0
- package/es/ele-pagination/style/index.scss +9 -0
- package/es/ele-pagination/types.d.ts +6 -1
- package/es/ele-popconfirm/index.d.ts +4 -3
- package/es/ele-popconfirm/index.js +6 -28
- 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 +7 -6
- package/es/ele-popover/index.js +6 -14
- 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 +94 -17
- package/es/ele-pro-layout/components/pro-header.js +177 -28
- 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 +30 -19
- package/es/ele-pro-layout/components/pro-sidebar.js +41 -16
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +32 -15
- package/es/ele-pro-layout/components/pro-sidebox.js +52 -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 +6 -2
- package/es/ele-pro-layout/index.d.ts +54 -39
- package/es/ele-pro-layout/index.js +319 -87
- package/es/ele-pro-layout/props.d.ts +17 -10
- package/es/ele-pro-layout/props.js +8 -1
- package/es/ele-pro-layout/style/css-var.scss +3 -18
- package/es/ele-pro-layout/style/header.scss +74 -9
- package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/es/ele-pro-layout/style/layout-style.scss +8 -3
- package/es/ele-pro-layout/style/layout-theme.scss +48 -23
- package/es/ele-pro-layout/style/layout.scss +23 -3
- package/es/ele-pro-layout/style/sidebar.scss +0 -1
- package/es/ele-pro-layout/style/tabs.scss +20 -12
- package/es/ele-pro-layout/types.d.ts +30 -4
- 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 +555 -0
- package/es/ele-pro-table/index.d.ts +36 -30
- package/es/ele-pro-table/index.js +91 -19
- 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 +58 -6
- 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/index.js +2 -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 +24 -22
- package/es/ele-table-select/index.js +27 -26
- 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 +2 -6
- package/es/ele-tabs/props.d.ts +15 -21
- package/es/ele-tabs/style/css-var.scss +1 -30
- package/es/ele-tabs/style/index.scss +372 -241
- package/es/ele-tabs/types.d.ts +2 -1
- package/es/ele-text/index.d.ts +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 +12 -13
- package/es/ele-tooltip/props.d.ts +28 -22
- package/es/ele-tooltip/props.js +2 -0
- 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/style/index.scss +1 -1
- package/es/ele-virtual-table/types.d.ts +103 -69
- package/es/ele-virtual-table/util.d.ts +35 -10
- package/es/ele-virtual-table/util.js +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/ResizeOutlined.d.ts +2 -0
- package/es/icons/ResizeOutlined.js +30 -0
- package/es/icons/SearchOutlined.d.ts +1 -1
- package/es/icons/SettingOutlined.d.ts +1 -1
- package/es/icons/ShoppingOutlined.d.ts +1 -1
- package/es/icons/SortOutlined.d.ts +1 -1
- package/es/icons/StarFilled.d.ts +1 -1
- package/es/icons/StepBackwardFilled.d.ts +1 -1
- package/es/icons/StepForwardFilled.d.ts +1 -1
- package/es/icons/SuitcaseOutlined.d.ts +1 -1
- package/es/icons/SunOutlined.d.ts +1 -1
- package/es/icons/SwapOutlined.d.ts +1 -1
- package/es/icons/SyncOutlined.d.ts +1 -1
- package/es/icons/TableOutlined.d.ts +1 -1
- package/es/icons/TagOutlined.d.ts +1 -1
- package/es/icons/TimerOutlined.d.ts +1 -1
- package/es/icons/UndoOutlined.d.ts +1 -1
- package/es/icons/UnlockOutlined.d.ts +1 -1
- package/es/icons/UploadOutlined.d.ts +1 -1
- package/es/icons/UserOutlined.d.ts +1 -1
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/es/icons/VerticalLeftOutlined.d.ts +1 -1
- package/es/icons/VerticalLeftOutlined.js +2 -2
- package/es/icons/VerticalRightOutlined.d.ts +1 -1
- package/es/icons/VerticalRightOutlined.js +2 -2
- package/es/icons/WarningOutlined.d.ts +1 -1
- package/es/icons/ZoomInOutlined.d.ts +1 -1
- package/es/icons/ZoomOutOutlined.d.ts +1 -1
- package/es/icons/index.d.ts +2 -0
- package/es/icons/index.js +60 -56
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +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/dark.scss +9 -15
- package/es/style/themes/default.scss +64 -84
- package/es/style/themes/rounded.scss +17 -31
- 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 +4 -6
- 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 +39 -18
- package/lib/ele-basic-select/index.d.ts +17 -15
- 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 +6 -12
- 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.cjs +1 -1
- 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 +109 -112
- package/lib/ele-drawer/index.d.ts +8 -4
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +49 -106
- 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 +17 -15
- 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 +16 -9
- 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 +20 -15
- 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.cjs +1 -1
- 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 +38 -42
- package/lib/ele-loading/index.d.ts +1 -6
- 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 +21 -39
- 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 +19 -7
- package/lib/ele-menus/props.cjs +13 -3
- package/lib/ele-menus/props.d.ts +27 -16
- package/lib/ele-menus/style/css-var.scss +1 -5
- 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 +187 -179
- package/lib/ele-modal/index.d.ts +18 -11
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +26 -23
- package/lib/ele-modal/style/index.scss +134 -159
- package/lib/ele-modal/types.d.ts +2 -10
- package/lib/ele-modal/util.cjs +53 -214
- package/lib/ele-modal/util.d.ts +20 -45
- package/lib/ele-page/index.d.ts +1 -1
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +21 -12
- package/lib/ele-pagination/index.d.ts +20 -9
- package/lib/ele-pagination/props.cjs +7 -0
- package/lib/ele-pagination/props.d.ts +19 -12
- package/lib/ele-pagination/style/index.scss +9 -0
- package/lib/ele-pagination/types.d.ts +6 -1
- package/lib/ele-popconfirm/index.cjs +5 -27
- package/lib/ele-popconfirm/index.d.ts +4 -3
- package/lib/ele-popconfirm/props.d.ts +32 -31
- package/lib/ele-popconfirm/style/index.cjs +1 -1
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +7 -6
- 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 +176 -27
- package/lib/ele-pro-layout/components/pro-header.d.ts +94 -17
- 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 +41 -16
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +30 -19
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +52 -15
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +32 -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 +6 -2
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
- package/lib/ele-pro-layout/index.cjs +318 -86
- package/lib/ele-pro-layout/index.d.ts +54 -39
- package/lib/ele-pro-layout/props.cjs +8 -1
- package/lib/ele-pro-layout/props.d.ts +17 -10
- package/lib/ele-pro-layout/style/css-var.scss +3 -18
- package/lib/ele-pro-layout/style/header.scss +74 -9
- package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/lib/ele-pro-layout/style/layout-style.scss +8 -3
- package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
- package/lib/ele-pro-layout/style/layout.scss +23 -3
- package/lib/ele-pro-layout/style/sidebar.scss +0 -1
- package/lib/ele-pro-layout/style/tabs.scss +20 -12
- package/lib/ele-pro-layout/types.d.ts +30 -4
- 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 +554 -0
- package/lib/ele-pro-table/components/tool-print.d.ts +895 -0
- package/lib/ele-pro-table/index.cjs +89 -17
- package/lib/ele-pro-table/index.d.ts +36 -30
- 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 +58 -6
- 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.cjs +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.cjs +27 -26
- package/lib/ele-table-select/index.d.ts +24 -22
- 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 +2 -6
- package/lib/ele-tabs/index.d.ts +13 -23
- package/lib/ele-tabs/props.d.ts +15 -21
- package/lib/ele-tabs/style/css-var.scss +1 -30
- package/lib/ele-tabs/style/index.scss +372 -241
- package/lib/ele-tabs/types.d.ts +2 -1
- package/lib/ele-text/index.d.ts +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 +12 -13
- package/lib/ele-tooltip/index.d.ts +4 -3
- package/lib/ele-tooltip/props.cjs +2 -0
- package/lib/ele-tooltip/props.d.ts +28 -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/style/index.scss +1 -1
- 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/ResizeOutlined.cjs +29 -0
- package/lib/icons/ResizeOutlined.d.ts +2 -0
- package/lib/icons/SearchOutlined.d.ts +1 -1
- package/lib/icons/SettingOutlined.d.ts +1 -1
- package/lib/icons/ShoppingOutlined.d.ts +1 -1
- package/lib/icons/SortOutlined.d.ts +1 -1
- package/lib/icons/StarFilled.d.ts +1 -1
- package/lib/icons/StepBackwardFilled.d.ts +1 -1
- package/lib/icons/StepForwardFilled.d.ts +1 -1
- package/lib/icons/SuitcaseOutlined.d.ts +1 -1
- package/lib/icons/SunOutlined.d.ts +1 -1
- package/lib/icons/SwapOutlined.d.ts +1 -1
- package/lib/icons/SyncOutlined.d.ts +1 -1
- package/lib/icons/TableOutlined.d.ts +1 -1
- package/lib/icons/TagOutlined.d.ts +1 -1
- package/lib/icons/TimerOutlined.d.ts +1 -1
- package/lib/icons/UndoOutlined.d.ts +1 -1
- package/lib/icons/UnlockOutlined.d.ts +1 -1
- package/lib/icons/UploadOutlined.d.ts +1 -1
- package/lib/icons/UserOutlined.d.ts +1 -1
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
- package/lib/icons/VerticalLeftOutlined.cjs +2 -2
- package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
- package/lib/icons/VerticalRightOutlined.cjs +2 -2
- package/lib/icons/VerticalRightOutlined.d.ts +1 -1
- package/lib/icons/WarningOutlined.d.ts +1 -1
- package/lib/icons/ZoomInOutlined.d.ts +1 -1
- package/lib/icons/ZoomOutOutlined.d.ts +1 -1
- package/lib/icons/index.cjs +4 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/installer.d.ts +2 -2
- package/lib/lang/en_US.cjs +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/dark.scss +9 -15
- package/lib/style/themes/default.scss +64 -84
- package/lib/style/themes/rounded.scss +17 -31
- 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/lib/ele-modal/index.cjs
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
4
|
const icons = require("../icons");
|
|
5
|
-
const core = require("../utils/core");
|
|
6
5
|
const receiver = require("../ele-config-provider/receiver");
|
|
6
|
+
const ReceiverView = require("../ele-config-provider/components/receiver-view");
|
|
7
7
|
const util = require("./util");
|
|
8
8
|
const props = require("./props");
|
|
9
9
|
const _sfc_main = vue.defineComponent({
|
|
@@ -13,173 +13,168 @@ const _sfc_main = vue.defineComponent({
|
|
|
13
13
|
ElIcon: elementPlus.ElIcon,
|
|
14
14
|
CloseOutlined: icons.CloseOutlined,
|
|
15
15
|
CompressOutlined: icons.CompressOutlined,
|
|
16
|
-
ExpandOutlined: icons.ExpandOutlined
|
|
16
|
+
ExpandOutlined: icons.ExpandOutlined,
|
|
17
|
+
ResizeOutlined: icons.ResizeOutlined,
|
|
18
|
+
ReceiverView
|
|
17
19
|
},
|
|
18
20
|
inheritAttrs: false,
|
|
19
21
|
props: props.modalProps,
|
|
20
22
|
emits: props.modalEmits,
|
|
21
|
-
setup(
|
|
22
|
-
const {
|
|
23
|
+
setup(props2, { emit }) {
|
|
24
|
+
const state = { isInit: true };
|
|
23
25
|
const layoutProvide = receiver.useLayoutState();
|
|
24
26
|
const dialogRef = vue.ref(null);
|
|
25
|
-
const
|
|
26
|
-
util.getModalContainer(props$1.multiple, props$1.appendTo)
|
|
27
|
-
);
|
|
28
|
-
const isFullscreen = vue.ref(props$1.fullscreen ?? false);
|
|
27
|
+
const isFullscreen = vue.ref(props2.fullscreen ?? false);
|
|
29
28
|
const isActivated = vue.ref(true);
|
|
30
|
-
const dialogEnable = vue.ref(
|
|
31
|
-
props$1.destroyOnClose && !props$1.modelValue ? false : true
|
|
32
|
-
);
|
|
33
29
|
const dialogClass = vue.computed(() => {
|
|
34
30
|
const layoutState = vue.unref(layoutProvide);
|
|
35
31
|
const classes = [util.wrapperClass];
|
|
36
|
-
if (
|
|
37
|
-
classes.push(
|
|
32
|
+
if (props2.responsive ?? (layoutState == null ? void 0 : layoutState.responsive) ?? true) {
|
|
33
|
+
classes.push("ele-modal-responsive");
|
|
38
34
|
}
|
|
39
|
-
if (
|
|
40
|
-
classes.push("ele-modal-
|
|
35
|
+
if (props2.alignCenter || props2.position === "center") {
|
|
36
|
+
classes.push("ele-modal-center");
|
|
37
|
+
} else if (props2.position === "top") {
|
|
38
|
+
classes.push("ele-modal-top");
|
|
39
|
+
} else if (props2.position === "bottom") {
|
|
40
|
+
classes.push("ele-modal-bottom");
|
|
41
|
+
} else if (props2.position === "left") {
|
|
42
|
+
classes.push("ele-modal-left");
|
|
43
|
+
} else if (props2.position === "right") {
|
|
44
|
+
classes.push("ele-modal-right");
|
|
45
|
+
} else if (props2.position === "leftTop") {
|
|
46
|
+
classes.push("ele-modal-left-top");
|
|
47
|
+
} else if (props2.position === "leftBottom") {
|
|
48
|
+
classes.push("ele-modal-left-bottom");
|
|
49
|
+
} else if (props2.position === "rightTop") {
|
|
50
|
+
classes.push("ele-modal-right-top");
|
|
51
|
+
} else if (props2.position === "rightBottom") {
|
|
52
|
+
classes.push("ele-modal-right-bottom");
|
|
41
53
|
}
|
|
42
|
-
if (
|
|
43
|
-
classes.push(
|
|
54
|
+
if (props2.draggable) {
|
|
55
|
+
classes.push("ele-modal-movable");
|
|
44
56
|
}
|
|
45
|
-
if (
|
|
46
|
-
classes.push(
|
|
47
|
-
if (typeof props$1.resizable === "string") {
|
|
48
|
-
classes.push(util.resizableClass + "-" + props$1.resizable);
|
|
49
|
-
}
|
|
57
|
+
if (props2.resizable) {
|
|
58
|
+
classes.push("ele-modal-resizable");
|
|
50
59
|
}
|
|
51
|
-
if (
|
|
52
|
-
classes.push(
|
|
60
|
+
if (props2.multiple) {
|
|
61
|
+
classes.push("ele-modal-multiple");
|
|
53
62
|
}
|
|
54
63
|
if (isFullscreen.value) {
|
|
55
|
-
classes.push(
|
|
64
|
+
classes.push("ele-modal-fullscreen");
|
|
56
65
|
}
|
|
57
|
-
if (!
|
|
66
|
+
if (!props2.modelValue) {
|
|
58
67
|
classes.push(util.closedClass);
|
|
59
68
|
}
|
|
60
|
-
if (!isActivated.value &&
|
|
61
|
-
classes.push(
|
|
69
|
+
if (!isActivated.value && props2.modelValue) {
|
|
70
|
+
classes.push("ele-modal-hide");
|
|
62
71
|
}
|
|
63
|
-
if (
|
|
64
|
-
classes.push(
|
|
65
|
-
if (layoutState && layoutState.sidebar != null) {
|
|
66
|
-
if (layoutState.collapse && !layoutState.topLayout) {
|
|
67
|
-
classes.push(util.collapseClass);
|
|
68
|
-
}
|
|
69
|
-
if (layoutState.compact && layoutState.mixSidebar && !layoutState.topLayout) {
|
|
70
|
-
classes.push(util.compactClass);
|
|
71
|
-
}
|
|
72
|
-
if (layoutState.maximized) {
|
|
73
|
-
classes.push(util.maximizedClass);
|
|
74
|
-
}
|
|
75
|
-
if (layoutState.tabBar) {
|
|
76
|
-
classes.push(util.hasTabClass);
|
|
77
|
-
}
|
|
78
|
-
if (layoutState.mixSidebar && !layoutState.topLayout) {
|
|
79
|
-
classes.push(util.mixSidebarClass);
|
|
80
|
-
if (!layoutState.sidebar) {
|
|
81
|
-
classes.push(util.singleSidebarClass);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
if (layoutState.topLayout) {
|
|
85
|
-
classes.push(util.topLayoutClass);
|
|
86
|
-
}
|
|
87
|
-
if (layoutState.maximized && layoutState.expanded) {
|
|
88
|
-
classes.push(util.expandedClass);
|
|
89
|
-
}
|
|
90
|
-
if (layoutState.mobile) {
|
|
91
|
-
classes.push(util.mobileClass);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
72
|
+
if (props2.inner) {
|
|
73
|
+
classes.push("ele-modal-inner");
|
|
94
74
|
}
|
|
95
|
-
if (
|
|
96
|
-
classes.push(
|
|
75
|
+
if (props2.modalClass) {
|
|
76
|
+
classes.push(props2.modalClass);
|
|
97
77
|
}
|
|
98
78
|
return classes.join(" ");
|
|
99
79
|
});
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
alignCenter: false,
|
|
108
|
-
destroyOnClose: false,
|
|
109
|
-
modalClass: dialogClass.value
|
|
110
|
-
};
|
|
111
|
-
return Object.assign({}, attrs, core.pick(props$1, props.dialogPropKeys), opt);
|
|
80
|
+
const teleportTo = vue.computed(() => {
|
|
81
|
+
return util.getModalContainer(
|
|
82
|
+
props2.inner,
|
|
83
|
+
props2.multiple,
|
|
84
|
+
props2.appendTo,
|
|
85
|
+
layoutProvide ? vue.unref(layoutProvide).modalsEl : void 0
|
|
86
|
+
);
|
|
112
87
|
});
|
|
113
88
|
const teleportDisabled = vue.computed(() => {
|
|
114
|
-
const appendTo =
|
|
115
|
-
const disabled = appendTo === "body" ? !
|
|
116
|
-
return
|
|
89
|
+
const appendTo = props2.appendTo || "body";
|
|
90
|
+
const disabled = appendTo === "body" ? !props2.appendToBody : false;
|
|
91
|
+
return props2.multiple || props2.inner ? false : disabled;
|
|
117
92
|
});
|
|
118
93
|
const getModalEl = () => {
|
|
119
94
|
var _a, _b;
|
|
120
95
|
return (_b = vue.unref((_a = vue.unref(dialogRef)) == null ? void 0 : _a.dialogContentRef)) == null ? void 0 : _b.$el;
|
|
121
96
|
};
|
|
122
97
|
const getZIndex = () => {
|
|
123
|
-
return
|
|
98
|
+
return props2.zIndex ?? 2e3;
|
|
99
|
+
};
|
|
100
|
+
const getPosition = () => {
|
|
101
|
+
if (props2.alignCenter) {
|
|
102
|
+
return "center";
|
|
103
|
+
}
|
|
104
|
+
if (props2.top != null && props2.top !== "") {
|
|
105
|
+
return { top: props2.top };
|
|
106
|
+
}
|
|
107
|
+
return props2.position;
|
|
108
|
+
};
|
|
109
|
+
const setInitPosition = () => {
|
|
110
|
+
if (state.isInit) {
|
|
111
|
+
state.isInit = false;
|
|
112
|
+
const modalEl = getModalEl();
|
|
113
|
+
const margin = util.getPositionMargin(getPosition());
|
|
114
|
+
if (modalEl && margin != null) {
|
|
115
|
+
modalEl.style.margin = margin;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
const mousedownListener = (event) => {
|
|
120
|
+
if (props2.multiple) {
|
|
121
|
+
util.topModal(event.currentTarget, getZIndex());
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
const handleHeaderMousedown = (event) => {
|
|
125
|
+
const modalEl = getModalEl();
|
|
126
|
+
if (!modalEl || !props2.draggable || isFullscreen.value) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
util.handleMove(modalEl, event, props2);
|
|
130
|
+
};
|
|
131
|
+
const handleResizeMousedown = (event) => {
|
|
132
|
+
const modalEl = getModalEl();
|
|
133
|
+
if (!modalEl || !props2.resizable || isFullscreen.value) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
util.handleResize(modalEl, event, props2);
|
|
124
137
|
};
|
|
125
138
|
const updateModelValue = (modelValue) => {
|
|
126
139
|
emit("update:modelValue", modelValue);
|
|
127
140
|
};
|
|
128
141
|
const toggleFullscreen = (fullscreen) => {
|
|
129
|
-
isFullscreen.value = fullscreen
|
|
142
|
+
isFullscreen.value = fullscreen ?? !isFullscreen.value;
|
|
130
143
|
vue.nextTick(() => {
|
|
131
|
-
util.
|
|
144
|
+
util.topModal(getModalEl(), getZIndex());
|
|
132
145
|
});
|
|
133
146
|
emit("update:fullscreen", isFullscreen.value);
|
|
134
147
|
};
|
|
135
|
-
const mousedownListener = (event) => {
|
|
136
|
-
util.handleMovable(event, props$1);
|
|
137
|
-
util.handleResizable(event, props$1);
|
|
138
|
-
util.setModalTop(event.currentTarget, getZIndex());
|
|
139
|
-
};
|
|
140
148
|
const onOpen = () => {
|
|
141
|
-
if (
|
|
142
|
-
isFullscreen.value =
|
|
143
|
-
}
|
|
144
|
-
if (!dialogEnable.value) {
|
|
145
|
-
dialogEnable.value = true;
|
|
149
|
+
if (props2.resetOnClose || props2.destroyOnClose) {
|
|
150
|
+
isFullscreen.value = props2.fullscreen ?? false;
|
|
146
151
|
}
|
|
147
152
|
vue.nextTick(() => {
|
|
148
153
|
const modalEl = getModalEl();
|
|
149
|
-
if (
|
|
150
|
-
util.resetModalStyle(modalEl,
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
util.setInitPosition(
|
|
154
|
-
modalEl,
|
|
155
|
-
props$1.resizable,
|
|
156
|
-
props$1.position,
|
|
157
|
-
props$1.moveOut,
|
|
158
|
-
props$1.resetOnClose
|
|
159
|
-
);
|
|
154
|
+
if (props2.resetOnClose) {
|
|
155
|
+
util.resetModalStyle(modalEl, props2.width, getPosition());
|
|
156
|
+
} else {
|
|
157
|
+
setInitPosition();
|
|
160
158
|
}
|
|
161
|
-
util.
|
|
159
|
+
util.topModal(modalEl, getZIndex());
|
|
162
160
|
});
|
|
163
161
|
emit("open");
|
|
164
162
|
};
|
|
165
163
|
const onOpened = () => {
|
|
166
|
-
const
|
|
167
|
-
if (
|
|
168
|
-
|
|
164
|
+
const modalEl = getModalEl();
|
|
165
|
+
if (modalEl) {
|
|
166
|
+
modalEl.addEventListener("mousedown", mousedownListener);
|
|
169
167
|
}
|
|
170
168
|
emit("opened");
|
|
171
169
|
};
|
|
172
170
|
const onClose = () => {
|
|
173
|
-
const
|
|
174
|
-
if (
|
|
175
|
-
|
|
171
|
+
const modalEl = getModalEl();
|
|
172
|
+
if (modalEl) {
|
|
173
|
+
modalEl.removeEventListener("mousedown", mousedownListener);
|
|
176
174
|
}
|
|
177
175
|
emit("close");
|
|
178
176
|
};
|
|
179
177
|
const onClosed = () => {
|
|
180
|
-
if (dialogEnable.value) {
|
|
181
|
-
dialogEnable.value = false;
|
|
182
|
-
}
|
|
183
178
|
emit("closed");
|
|
184
179
|
};
|
|
185
180
|
const onOpenAutoFocus = () => {
|
|
@@ -189,51 +184,16 @@ const _sfc_main = vue.defineComponent({
|
|
|
189
184
|
emit("closeAutoFocus");
|
|
190
185
|
};
|
|
191
186
|
vue.watch(
|
|
192
|
-
() =>
|
|
193
|
-
(multiple) => {
|
|
194
|
-
teleportTo.value = util.getModalContainer(multiple, props$1.appendTo);
|
|
195
|
-
}
|
|
196
|
-
);
|
|
197
|
-
vue.watch(
|
|
198
|
-
() => props$1.appendTo,
|
|
199
|
-
(appendTo) => {
|
|
200
|
-
if (!props$1.multiple) {
|
|
201
|
-
teleportTo.value = util.getModalContainer(false, appendTo);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
);
|
|
205
|
-
vue.watch(
|
|
206
|
-
() => props$1.fullscreen,
|
|
187
|
+
() => props2.fullscreen,
|
|
207
188
|
(fullscreen) => {
|
|
208
189
|
isFullscreen.value = fullscreen ?? false;
|
|
209
190
|
}
|
|
210
191
|
);
|
|
211
|
-
vue.
|
|
212
|
-
()
|
|
213
|
-
|
|
214
|
-
if (position && props$1.modelValue) {
|
|
215
|
-
util.setInitPosition(
|
|
216
|
-
getModalEl(),
|
|
217
|
-
props$1.resizable,
|
|
218
|
-
position,
|
|
219
|
-
props$1.moveOut,
|
|
220
|
-
true
|
|
221
|
-
);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
);
|
|
225
|
-
vue.watch(
|
|
226
|
-
() => props$1.destroyOnClose,
|
|
227
|
-
(destroyOnClose) => {
|
|
228
|
-
if (destroyOnClose) {
|
|
229
|
-
if (!props$1.modelValue && dialogEnable.value) {
|
|
230
|
-
dialogEnable.value = false;
|
|
231
|
-
}
|
|
232
|
-
} else if (!dialogEnable.value) {
|
|
233
|
-
dialogEnable.value = true;
|
|
234
|
-
}
|
|
192
|
+
vue.onMounted(() => {
|
|
193
|
+
if (props2.modelValue) {
|
|
194
|
+
setInitPosition();
|
|
235
195
|
}
|
|
236
|
-
);
|
|
196
|
+
});
|
|
237
197
|
vue.onActivated(() => {
|
|
238
198
|
isActivated.value = true;
|
|
239
199
|
});
|
|
@@ -242,11 +202,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
242
202
|
});
|
|
243
203
|
return {
|
|
244
204
|
dialogRef,
|
|
245
|
-
teleportTo,
|
|
246
205
|
isFullscreen,
|
|
247
|
-
|
|
248
|
-
|
|
206
|
+
dialogClass,
|
|
207
|
+
teleportTo,
|
|
249
208
|
teleportDisabled,
|
|
209
|
+
handleHeaderMousedown,
|
|
210
|
+
handleResizeMousedown,
|
|
250
211
|
updateModelValue,
|
|
251
212
|
toggleFullscreen,
|
|
252
213
|
onOpen,
|
|
@@ -265,19 +226,41 @@ const _export_sfc = (sfc, props2) => {
|
|
|
265
226
|
}
|
|
266
227
|
return target;
|
|
267
228
|
};
|
|
268
|
-
const _hoisted_1 = ["onClick"];
|
|
269
229
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
270
230
|
const _component_CompressOutlined = vue.resolveComponent("CompressOutlined");
|
|
271
231
|
const _component_ExpandOutlined = vue.resolveComponent("ExpandOutlined");
|
|
272
232
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
273
233
|
const _component_CloseOutlined = vue.resolveComponent("CloseOutlined");
|
|
234
|
+
const _component_ResizeOutlined = vue.resolveComponent("ResizeOutlined");
|
|
235
|
+
const _component_ReceiverView = vue.resolveComponent("ReceiverView");
|
|
274
236
|
const _component_ElDialog = vue.resolveComponent("ElDialog");
|
|
275
237
|
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
276
238
|
to: _ctx.teleportTo,
|
|
277
239
|
disabled: _ctx.teleportDisabled
|
|
278
240
|
}, [
|
|
279
|
-
vue.createVNode(_component_ElDialog, vue.mergeProps(_ctx
|
|
241
|
+
vue.createVNode(_component_ElDialog, vue.mergeProps(_ctx.$attrs, {
|
|
280
242
|
ref: "dialogRef",
|
|
243
|
+
modelValue: _ctx.modelValue,
|
|
244
|
+
title: _ctx.title,
|
|
245
|
+
width: _ctx.width,
|
|
246
|
+
fullscreen: false,
|
|
247
|
+
modal: _ctx.multiple ? false : _ctx.modal,
|
|
248
|
+
modalClass: _ctx.dialogClass,
|
|
249
|
+
appendToBody: false,
|
|
250
|
+
lockScroll: _ctx.inner || _ctx.multiple ? false : _ctx.lockScroll,
|
|
251
|
+
openDelay: _ctx.openDelay,
|
|
252
|
+
closeDelay: _ctx.closeDelay,
|
|
253
|
+
closeOnClickModal: _ctx.closeOnClickModal,
|
|
254
|
+
closeOnPressEscape: _ctx.closeOnPressEscape,
|
|
255
|
+
showClose: false,
|
|
256
|
+
beforeClose: _ctx.beforeClose,
|
|
257
|
+
draggable: false,
|
|
258
|
+
overflow: false,
|
|
259
|
+
center: _ctx.center,
|
|
260
|
+
alignCenter: false,
|
|
261
|
+
destroyOnClose: _ctx.destroyOnClose,
|
|
262
|
+
zIndex: _ctx.zIndex,
|
|
263
|
+
headerAriaLevel: _ctx.headerAriaLevel,
|
|
281
264
|
"onUpdate:modelValue": _ctx.updateModelValue,
|
|
282
265
|
onOpen: _ctx.onOpen,
|
|
283
266
|
onOpened: _ctx.onOpened,
|
|
@@ -288,11 +271,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
288
271
|
}), vue.createSlots({
|
|
289
272
|
header: vue.withCtx(({ close, titleId, titleClass }) => [
|
|
290
273
|
vue.createElementVNode("div", {
|
|
274
|
+
style: vue.normalizeStyle(_ctx.headerStyle),
|
|
291
275
|
class: "ele-modal-header",
|
|
292
|
-
|
|
276
|
+
onMousedown: _cache[4] || (_cache[4] = (...args) => _ctx.handleHeaderMousedown && _ctx.handleHeaderMousedown(...args))
|
|
293
277
|
}, [
|
|
294
|
-
|
|
295
|
-
key: 0,
|
|
278
|
+
vue.createElementVNode("div", {
|
|
296
279
|
class: "ele-modal-title",
|
|
297
280
|
style: vue.normalizeStyle(_ctx.titleStyle)
|
|
298
281
|
}, [
|
|
@@ -303,12 +286,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
303
286
|
}, () => [
|
|
304
287
|
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
305
288
|
])
|
|
306
|
-
], 4)
|
|
307
|
-
_ctx.
|
|
308
|
-
key:
|
|
289
|
+
], 4),
|
|
290
|
+
_ctx.maxable ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
291
|
+
key: 0,
|
|
309
292
|
class: "ele-modal-tool",
|
|
310
293
|
style: vue.normalizeStyle(_ctx.fullscreenBtnStyle),
|
|
311
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleFullscreen())
|
|
294
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.toggleFullscreen()),
|
|
295
|
+
onMousedown: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
296
|
+
}, ["stop"]))
|
|
312
297
|
}, [
|
|
313
298
|
vue.renderSlot(_ctx.$slots, "maxIcon", { fullscreen: _ctx.isFullscreen }, () => [
|
|
314
299
|
vue.createVNode(_component_ElIcon, null, {
|
|
@@ -318,49 +303,72 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
318
303
|
_: 1
|
|
319
304
|
})
|
|
320
305
|
])
|
|
321
|
-
],
|
|
322
|
-
_ctx.
|
|
323
|
-
key:
|
|
306
|
+
], 36)) : vue.createCommentVNode("", true),
|
|
307
|
+
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
308
|
+
key: 1,
|
|
324
309
|
class: "ele-modal-tool",
|
|
325
310
|
style: vue.normalizeStyle(_ctx.closeBtnStyle),
|
|
326
|
-
onClick:
|
|
311
|
+
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.updateModelValue(false)),
|
|
312
|
+
onMousedown: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
313
|
+
}, ["stop"]))
|
|
327
314
|
}, [
|
|
328
315
|
vue.renderSlot(_ctx.$slots, "closeIcon", {}, () => [
|
|
329
316
|
vue.createVNode(_component_ElIcon, null, {
|
|
330
317
|
default: vue.withCtx(() => [
|
|
331
|
-
vue.
|
|
318
|
+
_ctx.closeIcon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.closeIcon), { key: 0 })) : (vue.openBlock(), vue.createBlock(_component_CloseOutlined, { key: 1 }))
|
|
332
319
|
]),
|
|
333
320
|
_: 1
|
|
334
321
|
})
|
|
335
322
|
])
|
|
336
|
-
],
|
|
337
|
-
],
|
|
323
|
+
], 36)) : vue.createCommentVNode("", true)
|
|
324
|
+
], 36),
|
|
325
|
+
_ctx.resizable ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
326
|
+
key: 0,
|
|
327
|
+
class: vue.normalizeClass([
|
|
328
|
+
"ele-modal-resize-icon",
|
|
329
|
+
{ "is-horizontal": _ctx.resizable === "horizontal" },
|
|
330
|
+
{ "is-vertical": _ctx.resizable === "vertical" }
|
|
331
|
+
]),
|
|
332
|
+
style: vue.normalizeStyle(_ctx.resizeIconStyle),
|
|
333
|
+
onMousedown: _cache[5] || (_cache[5] = (...args) => _ctx.handleResizeMousedown && _ctx.handleResizeMousedown(...args))
|
|
334
|
+
}, [
|
|
335
|
+
vue.renderSlot(_ctx.$slots, "resizeIcon", {}, () => [
|
|
336
|
+
vue.createVNode(_component_ElIcon, null, {
|
|
337
|
+
default: vue.withCtx(() => [
|
|
338
|
+
vue.createVNode(_component_ResizeOutlined)
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
})
|
|
342
|
+
])
|
|
343
|
+
], 38)) : vue.createCommentVNode("", true)
|
|
338
344
|
]),
|
|
339
345
|
default: vue.withCtx(() => [
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
class: "ele-modal-body",
|
|
346
|
+
vue.createVNode(_component_ReceiverView, {
|
|
347
|
+
wrapPosition: false,
|
|
348
|
+
class: vue.normalizeClass(["ele-modal-body", { "is-form": _ctx.form }]),
|
|
343
349
|
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
344
|
-
},
|
|
345
|
-
vue.
|
|
346
|
-
|
|
350
|
+
}, {
|
|
351
|
+
default: vue.withCtx(() => [
|
|
352
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
353
|
+
]),
|
|
354
|
+
_: 3
|
|
355
|
+
}, 8, ["class", "style"])
|
|
347
356
|
]),
|
|
348
357
|
_: 2
|
|
349
358
|
}, [
|
|
350
359
|
_ctx.$slots.footer ? {
|
|
351
360
|
name: "footer",
|
|
352
361
|
fn: vue.withCtx(() => [
|
|
353
|
-
|
|
354
|
-
key: 0,
|
|
362
|
+
vue.createElementVNode("div", {
|
|
355
363
|
class: "ele-modal-footer",
|
|
356
364
|
style: vue.normalizeStyle(_ctx.footerStyle)
|
|
357
365
|
}, [
|
|
358
366
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
359
|
-
], 4)
|
|
367
|
+
], 4)
|
|
360
368
|
]),
|
|
361
369
|
key: "0"
|
|
362
370
|
} : void 0
|
|
363
|
-
]), 1040, ["onUpdate:modelValue", "onOpen", "onOpened", "onClose", "onClosed", "onOpenAutoFocus", "onCloseAutoFocus"])
|
|
371
|
+
]), 1040, ["modelValue", "title", "width", "modal", "modalClass", "lockScroll", "openDelay", "closeDelay", "closeOnClickModal", "closeOnPressEscape", "beforeClose", "center", "destroyOnClose", "zIndex", "headerAriaLevel", "onUpdate:modelValue", "onOpen", "onOpened", "onClose", "onClosed", "onOpenAutoFocus", "onCloseAutoFocus"])
|
|
364
372
|
], 8, ["to", "disabled"]);
|
|
365
373
|
}
|
|
366
374
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
package/lib/ele-modal/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Position } from './types';
|
|
2
|
+
import { ElDialogInstance } from '../ele-app/el';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
5
|
appendToBody: {
|
|
4
6
|
type: BooleanConstructor;
|
|
5
7
|
default: boolean;
|
|
@@ -10,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
12
|
};
|
|
11
13
|
moveOut: import("vue").PropType<import("./types").MoveOut>;
|
|
12
14
|
resizable: import("vue").PropType<import("./types").Resizable>;
|
|
13
|
-
position: import("vue").PropType<
|
|
15
|
+
position: import("vue").PropType<Position>;
|
|
14
16
|
resetOnClose: {
|
|
15
17
|
type: BooleanConstructor;
|
|
16
18
|
default: boolean;
|
|
@@ -32,8 +34,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
34
|
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
33
35
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
34
36
|
fullscreenBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
37
|
+
resizeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
35
38
|
responsive: {
|
|
36
|
-
type: BooleanConstructor;
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
/** 弹窗类名 */
|
|
37
41
|
default: null;
|
|
38
42
|
};
|
|
39
43
|
form: BooleanConstructor;
|
|
@@ -88,11 +92,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
92
|
ariaLevel: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
89
93
|
}, {
|
|
90
94
|
dialogRef: import("vue").Ref<ElDialogInstance>;
|
|
91
|
-
teleportTo: import("vue").Ref<string | Element>;
|
|
92
95
|
isFullscreen: import("vue").Ref<boolean>;
|
|
93
|
-
|
|
94
|
-
|
|
96
|
+
dialogClass: import("vue").ComputedRef<string>;
|
|
97
|
+
teleportTo: import("vue").ComputedRef<string | Element>;
|
|
95
98
|
teleportDisabled: import("vue").ComputedRef<boolean>;
|
|
99
|
+
handleHeaderMousedown: (event: MouseEvent) => void;
|
|
100
|
+
handleResizeMousedown: (event: MouseEvent) => void;
|
|
96
101
|
updateModelValue: (modelValue: boolean) => void;
|
|
97
102
|
toggleFullscreen: (fullscreen?: boolean) => void;
|
|
98
103
|
onOpen: () => void;
|
|
@@ -121,7 +126,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
126
|
};
|
|
122
127
|
moveOut: import("vue").PropType<import("./types").MoveOut>;
|
|
123
128
|
resizable: import("vue").PropType<import("./types").Resizable>;
|
|
124
|
-
position: import("vue").PropType<
|
|
129
|
+
position: import("vue").PropType<Position>;
|
|
125
130
|
resetOnClose: {
|
|
126
131
|
type: BooleanConstructor;
|
|
127
132
|
default: boolean;
|
|
@@ -143,8 +148,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
148
|
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
144
149
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
145
150
|
fullscreenBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
151
|
+
resizeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
146
152
|
responsive: {
|
|
147
|
-
type: BooleanConstructor;
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
/** 弹窗类名 */
|
|
148
155
|
default: null;
|
|
149
156
|
};
|
|
150
157
|
form: BooleanConstructor;
|
|
@@ -198,11 +205,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
205
|
title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
199
206
|
ariaLevel: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
200
207
|
}>> & {
|
|
208
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
201
209
|
onOpen?: (() => any) | undefined;
|
|
202
210
|
onClose?: (() => any) | undefined;
|
|
203
211
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
204
212
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
205
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
206
213
|
onOpened?: (() => any) | undefined;
|
|
207
214
|
onClosed?: (() => any) | undefined;
|
|
208
215
|
"onUpdate:fullscreen"?: ((_fullscreen: boolean) => any) | undefined;
|
|
@@ -229,8 +236,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
236
|
showClose: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
230
237
|
ariaLevel: string;
|
|
231
238
|
minWidth: number;
|
|
232
|
-
minHeight: number;
|
|
233
239
|
multiple: boolean;
|
|
240
|
+
minHeight: number;
|
|
234
241
|
responsive: boolean;
|
|
235
242
|
resetOnClose: boolean;
|
|
236
243
|
maxable: boolean;
|