ele-admin-plus 1.1.9-beta.9 → 1.2.0-beta.1
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-export.d.ts +1 -0
- package/es/core-export.js +1 -0
- package/es/core-installer.d.ts +2 -2
- package/es/ele-alert/index.d.ts +23 -23
- package/es/ele-alert/index.js +2 -2
- package/es/ele-alert/props.d.ts +10 -9
- package/es/ele-app/components/message-body.d.ts +39 -0
- package/es/ele-app/components/message-body.js +92 -0
- package/es/ele-app/el.d.ts +4 -1
- package/es/ele-app/index.d.ts +2 -2
- package/es/ele-app/style/message/css-var.scss +0 -4
- package/es/ele-app/style/message/index.scss +199 -77
- package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/es/ele-app/style/overwrite/input/index.scss +2 -0
- package/es/ele-app/style/overwrite/message-box/index.scss +31 -0
- package/es/ele-app/style/overwrite/tag/css-var.scss +0 -16
- package/es/ele-app/style/overwrite/tag/index.scss +57 -14
- package/es/ele-app/types.d.ts +6 -1
- package/es/ele-avatar-group/index.d.ts +29 -28
- package/es/ele-avatar-group/props.d.ts +10 -9
- package/es/ele-bar-code/index.d.ts +11 -10
- package/es/ele-bar-code/props.d.ts +4 -3
- package/es/ele-basic-select/index.d.ts +37 -35
- package/es/ele-basic-select/index.js +24 -7
- package/es/ele-basic-select/props.d.ts +9 -8
- package/es/ele-basic-select/util.d.ts +2 -1
- package/es/ele-bottom-bar/index.d.ts +6 -6
- package/es/ele-bottom-bar/props.d.ts +4 -3
- package/es/ele-breadcrumb/index.d.ts +11 -10
- package/es/ele-breadcrumb/props.d.ts +5 -4
- package/es/ele-card/index.d.ts +12 -12
- package/es/ele-card/props.d.ts +7 -6
- package/es/ele-check-card/components/card-item.d.ts +7 -6
- package/es/ele-check-card/index.d.ts +15 -14
- package/es/ele-check-card/props.d.ts +6 -5
- package/es/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/es/ele-config-provider/components/receiver-view.js +120 -31
- package/es/ele-config-provider/index.d.ts +13 -9
- package/es/ele-config-provider/index.js +19 -5
- package/es/ele-config-provider/props.d.ts +12 -6
- package/es/ele-config-provider/props.js +9 -5
- package/es/ele-config-provider/receiver.d.ts +6 -10
- package/es/ele-config-provider/receiver.js +32 -117
- package/es/ele-config-provider/types.d.ts +25 -30
- package/es/ele-copyable/index.d.ts +32 -31
- package/es/ele-copyable/props.d.ts +9 -8
- package/es/ele-count-up/index.d.ts +8 -7
- package/es/ele-count-up/props.d.ts +3 -2
- package/es/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/es/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/es/ele-cropper/index.d.ts +16 -15
- package/es/ele-cropper/props.d.ts +4 -3
- package/es/ele-cropper-modal/index.d.ts +16 -15
- package/es/ele-cropper-modal/index.js +1 -1
- package/es/ele-cropper-modal/props.d.ts +7 -6
- package/es/ele-dashboard/index.d.ts +5 -5
- package/es/ele-dashboard/props.d.ts +3 -2
- package/es/ele-data-table/index.d.ts +63 -68
- package/es/ele-data-table/props.d.ts +36 -41
- package/es/ele-data-table/types.d.ts +10 -16
- package/es/ele-data-table/util.d.ts +10 -9
- package/es/ele-dot/index.d.ts +4 -4
- package/es/ele-dot/props.d.ts +3 -2
- package/es/ele-drawer/index.d.ts +76 -72
- package/es/ele-drawer/index.js +107 -113
- package/es/ele-drawer/props.d.ts +26 -25
- package/es/ele-drawer/style/index.scss +48 -105
- package/es/ele-dropdown/index.d.ts +66 -65
- package/es/ele-dropdown/props.d.ts +22 -21
- package/es/ele-edit-tag/index.d.ts +40 -34
- package/es/ele-edit-tag/index.js +5 -3
- package/es/ele-edit-tag/props.d.ts +12 -9
- package/es/ele-edit-tag/props.js +2 -0
- package/es/ele-edit-tag/style/index.scss +11 -4
- package/es/ele-ellipsis/index.d.ts +23 -22
- package/es/ele-ellipsis/props.d.ts +8 -7
- package/es/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/es/ele-file-list/components/file-grid-item.js +1 -1
- package/es/ele-file-list/components/file-grid.d.ts +10 -9
- package/es/ele-file-list/components/file-sort.d.ts +2 -2
- package/es/ele-file-list/components/file-table-item.d.ts +13 -12
- package/es/ele-file-list/components/file-table-item.js +1 -1
- package/es/ele-file-list/components/file-table.d.ts +10 -9
- package/es/ele-file-list/icons.d.ts +2 -1
- package/es/ele-file-list/index.d.ts +36 -35
- package/es/ele-file-list/props.d.ts +6 -5
- package/es/ele-file-list-tool/index.d.ts +3 -3
- package/es/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/es/ele-icon-select/components/icon-grid.js +1 -1
- package/es/ele-icon-select/index.d.ts +59 -60
- package/es/ele-icon-select/props.d.ts +18 -17
- package/es/ele-loading/index.d.ts +12 -15
- package/es/ele-loading/index.js +10 -16
- package/es/ele-loading/props.d.ts +5 -4
- package/es/ele-map-picker/components/map-view.d.ts +29 -28
- package/es/ele-map-picker/components/map-view.js +1 -1
- package/es/ele-map-picker/index.d.ts +27 -26
- package/es/ele-map-picker/index.js +1 -1
- package/es/ele-map-picker/props.d.ts +8 -7
- package/es/ele-menus/index.d.ts +62 -63
- package/es/ele-menus/index.js +12 -1
- package/es/ele-menus/props.d.ts +16 -17
- package/es/ele-menus/props.js +1 -3
- package/es/ele-menus/style/css-var.scss +1 -5
- package/es/ele-menus/util.d.ts +3 -2
- package/es/ele-modal/index.d.ts +77 -70
- package/es/ele-modal/index.js +164 -186
- package/es/ele-modal/props.d.ts +26 -23
- package/es/ele-modal/props.js +2 -0
- package/es/ele-modal/style/index.scss +87 -146
- package/es/ele-modal/util.d.ts +20 -45
- package/es/ele-modal/util.js +54 -180
- package/es/ele-page/index.d.ts +2 -2
- package/es/ele-page/props.d.ts +2 -1
- package/es/ele-pagination/index.d.ts +40 -31
- package/es/ele-pagination/index.js +4 -1
- package/es/ele-pagination/props.d.ts +17 -11
- package/es/ele-pagination/props.js +5 -0
- package/es/ele-popconfirm/index.d.ts +93 -92
- package/es/ele-popconfirm/index.js +6 -28
- package/es/ele-popconfirm/props.d.ts +33 -32
- package/es/ele-popover/index.d.ts +71 -70
- package/es/ele-popover/index.js +6 -14
- package/es/ele-popover/props.d.ts +26 -25
- package/es/ele-printer/index.d.ts +18 -18
- package/es/ele-printer/props.d.ts +6 -5
- package/es/ele-printer/util.d.ts +2 -1
- package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/pro-header.d.ts +85 -29
- package/es/ele-pro-layout/components/pro-header.js +110 -20
- package/es/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/es/ele-pro-layout/components/pro-iframe.js +31 -41
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +15 -19
- package/es/ele-pro-layout/components/pro-sidebar.js +2 -5
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/es/ele-pro-layout/components/pro-sidebox.js +2 -5
- package/es/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/es/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
- package/es/ele-pro-layout/components/tab-dropdown.js +1 -1
- package/es/ele-pro-layout/index.d.ts +97 -97
- package/es/ele-pro-layout/index.js +63 -48
- package/es/ele-pro-layout/props.d.ts +11 -13
- package/es/ele-pro-layout/props.js +2 -4
- package/es/ele-pro-layout/style/css-var.scss +3 -18
- package/es/ele-pro-layout/style/header.scss +74 -9
- package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/es/ele-pro-layout/style/layout-style.scss +8 -3
- package/es/ele-pro-layout/style/layout-theme.scss +48 -23
- package/es/ele-pro-layout/style/layout.scss +38 -8
- package/es/ele-pro-layout/style/sidebar.scss +0 -1
- package/es/ele-pro-layout/style/tabs.scss +19 -11
- package/es/ele-pro-layout/types.d.ts +5 -5
- package/es/ele-pro-layout/util.d.ts +6 -6
- package/es/ele-pro-layout/util.js +2 -3
- package/es/ele-pro-table/components/table-tools.d.ts +33 -23
- package/es/ele-pro-table/components/table-tools.js +14 -26
- package/es/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/es/ele-pro-table/components/tool-column-list.js +3 -7
- package/es/ele-pro-table/components/tool-column.d.ts +15 -13
- package/es/ele-pro-table/components/tool-column.js +3 -7
- package/es/ele-pro-table/components/tool-export.d.ts +52 -357
- package/es/ele-pro-table/components/tool-export.js +109 -63
- package/es/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print-body-cell.js +50 -6
- package/es/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/es/ele-pro-table/components/tool-print-header-cell.js +4 -1
- package/es/ele-pro-table/components/tool-print.d.ts +56 -794
- package/es/ele-pro-table/components/tool-print.js +198 -85
- package/es/ele-pro-table/index.d.ts +131 -143
- package/es/ele-pro-table/index.js +110 -79
- package/es/ele-pro-table/props.d.ts +44 -46
- package/es/ele-pro-table/style/index.scss +9 -0
- package/es/ele-pro-table/types.d.ts +45 -0
- package/es/ele-pro-table/util.d.ts +42 -23
- package/es/ele-pro-table/util.js +206 -53
- package/es/ele-qr-code/index.d.ts +16 -15
- package/es/ele-qr-code/props.d.ts +4 -3
- package/es/ele-qr-code/util.d.ts +3 -2
- package/es/ele-qr-code-svg/index.d.ts +18 -18
- package/es/ele-segmented/index.d.ts +10 -9
- package/es/ele-segmented/props.d.ts +3 -2
- package/es/ele-split-panel/index.d.ts +18 -17
- package/es/ele-split-panel/props.d.ts +5 -4
- package/es/ele-steps/index.d.ts +33 -33
- package/es/ele-steps/props.d.ts +10 -9
- package/es/ele-tab-tool/index.d.ts +2 -2
- package/es/ele-tab-tool/props.d.ts +2 -1
- package/es/ele-tab-wrap/index.d.ts +6 -6
- package/es/ele-tab-wrap/index.js +2 -1
- package/es/ele-tab-wrap/props.d.ts +3 -2
- package/es/ele-table/index.d.ts +4 -4
- package/es/ele-table/props.d.ts +3 -2
- package/es/ele-table/style/index.scss +16 -0
- package/es/ele-table-select/index.d.ts +45 -43
- package/es/ele-table-select/index.js +29 -27
- package/es/ele-table-select/props.d.ts +11 -10
- package/es/ele-tabs/components/tab-title.d.ts +9 -8
- package/es/ele-tabs/index.d.ts +43 -55
- package/es/ele-tabs/index.js +1 -0
- package/es/ele-tabs/props.d.ts +17 -23
- package/es/ele-tabs/style/css-var.scss +1 -30
- package/es/ele-tabs/style/index.scss +372 -241
- package/es/ele-tabs/types.d.ts +2 -1
- package/es/ele-text/index.d.ts +12 -12
- package/es/ele-text/props.d.ts +5 -4
- package/es/ele-tool/index.d.ts +7 -7
- package/es/ele-tool/props.d.ts +3 -2
- package/es/ele-toolbar/index.d.ts +15 -15
- package/es/ele-toolbar/props.d.ts +7 -6
- package/es/ele-tooltip/index.d.ts +62 -61
- package/es/ele-tooltip/index.js +3 -0
- package/es/ele-tooltip/props.d.ts +28 -22
- package/es/ele-tooltip/props.js +2 -0
- package/es/ele-tour/index.d.ts +15 -14
- package/es/ele-tour/props.d.ts +3 -2
- package/es/ele-tour/util.d.ts +3 -2
- package/es/ele-tree-select/index.d.ts +37 -36
- package/es/ele-tree-select/props.d.ts +12 -11
- package/es/ele-tree-select/util.d.ts +3 -2
- package/es/ele-upload-list/components/list-item.d.ts +7 -6
- package/es/ele-upload-list/index.d.ts +26 -25
- package/es/ele-upload-list/props.d.ts +6 -5
- package/es/ele-virtual-table/components/body-cell.d.ts +100 -64
- package/es/ele-virtual-table/components/body-cell.js +52 -70
- package/es/ele-virtual-table/components/body-row.d.ts +89 -65
- package/es/ele-virtual-table/components/body-row.js +57 -52
- package/es/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/es/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/es/ele-virtual-table/components/cell-filter.js +8 -12
- package/es/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/es/ele-virtual-table/components/expand-row.js +3 -3
- package/es/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/es/ele-virtual-table/components/footer-row.js +19 -14
- package/es/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/es/ele-virtual-table/components/header-row.d.ts +12 -11
- package/es/ele-virtual-table/index.d.ts +91 -100
- package/es/ele-virtual-table/index.js +134 -136
- package/es/ele-virtual-table/props.d.ts +49 -51
- package/es/ele-virtual-table/style/index.scss +1 -1
- package/es/ele-virtual-table/types.d.ts +88 -68
- package/es/ele-virtual-table/util.d.ts +16 -12
- package/es/ele-virtual-table/util.js +32 -24
- package/es/ele-watermark/index.d.ts +15 -14
- package/es/ele-watermark/props.d.ts +4 -3
- package/es/ele-watermark/util.d.ts +3 -2
- package/es/ele-xg-player/index.d.ts +10 -10
- package/es/icons/AnalysisOutlined.d.ts +1 -1
- package/es/icons/ApplicationOutlined.d.ts +1 -1
- package/es/icons/AppstoreAddOutlined.d.ts +1 -1
- package/es/icons/AppstoreOutlined.d.ts +1 -1
- package/es/icons/ArrowDown.d.ts +1 -1
- package/es/icons/ArrowDownOutlined.d.ts +1 -1
- package/es/icons/ArrowLeft.d.ts +1 -1
- package/es/icons/ArrowLeftOutlined.d.ts +1 -1
- package/es/icons/ArrowRight.d.ts +1 -1
- package/es/icons/ArrowRightOutlined.d.ts +1 -1
- package/es/icons/ArrowUp.d.ts +1 -1
- package/es/icons/ArrowUpOutlined.d.ts +1 -1
- package/es/icons/BellOutlined.d.ts +1 -1
- package/es/icons/BookOutlined.d.ts +1 -1
- package/es/icons/CalendarOutlined.d.ts +1 -1
- package/es/icons/CaretDownFilled.d.ts +1 -1
- package/es/icons/CaretUpFilled.d.ts +1 -1
- package/es/icons/CheckCircleFilled.d.ts +1 -1
- package/es/icons/CheckCircleOutlined.d.ts +1 -1
- package/es/icons/CheckOutlined.d.ts +1 -1
- package/es/icons/CityOutlined.d.ts +1 -1
- package/es/icons/ClockCircleOutlined.d.ts +1 -1
- package/es/icons/CloseCircleFilled.d.ts +1 -1
- package/es/icons/CloseCircleOutlined.d.ts +1 -1
- package/es/icons/CloseOutlined.d.ts +1 -1
- package/es/icons/CloudUploadOutlined.d.ts +1 -1
- package/es/icons/ClusterOutlined.d.ts +1 -1
- package/es/icons/CodeOutlined.d.ts +1 -1
- package/es/icons/ColumnHeightOutlined.d.ts +1 -1
- package/es/icons/CompassOutlined.d.ts +1 -1
- package/es/icons/CompressOutlined.d.ts +1 -1
- package/es/icons/ConnectionOutlined.d.ts +1 -1
- package/es/icons/ControlOutlined.d.ts +1 -1
- package/es/icons/CopyOutlined.d.ts +1 -1
- package/es/icons/CpuOutlined.d.ts +1 -1
- package/es/icons/DashboardOutlined.d.ts +1 -1
- package/es/icons/DatabaseOutlined.d.ts +1 -1
- package/es/icons/DeleteOutlined.d.ts +1 -1
- package/es/icons/DesktopOutlined.d.ts +1 -1
- package/es/icons/DownloadOutlined.d.ts +1 -1
- package/es/icons/DragOutlined.d.ts +1 -1
- package/es/icons/EditOutlined.d.ts +1 -1
- package/es/icons/EllipsisOutlined.d.ts +1 -1
- package/es/icons/EnvironmentOutlined.d.ts +1 -1
- package/es/icons/ExclamationCircleFilled.d.ts +1 -1
- package/es/icons/ExpandOutlined.d.ts +1 -1
- package/es/icons/FileOutlined.d.ts +1 -1
- package/es/icons/FilterFilled.d.ts +1 -1
- package/es/icons/FolderAddOutlined.d.ts +1 -1
- package/es/icons/FolderOutlined.d.ts +1 -1
- package/es/icons/FormOutlined.d.ts +1 -1
- package/es/icons/FullscreenExitOutlined.d.ts +1 -1
- package/es/icons/FullscreenOutlined.d.ts +1 -1
- package/es/icons/FundOutlined.d.ts +1 -1
- package/es/icons/GlobalOutlined.d.ts +1 -1
- package/es/icons/HolderOutlined.d.ts +1 -1
- package/es/icons/HomeOutlined.d.ts +1 -1
- package/es/icons/IdcardOutlined.d.ts +1 -1
- package/es/icons/InfoCircleFilled.d.ts +1 -1
- package/es/icons/LinkOutlined.d.ts +1 -1
- package/es/icons/LoadingDotOutlined.d.ts +1 -1
- package/es/icons/LoadingOutlined.d.ts +1 -1
- package/es/icons/LoadingOutlined.js +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 +1 -1
- 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/VerticalRightOutlined.d.ts +1 -1
- 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 +50 -48
- package/es/installer.d.ts +2 -2
- package/es/lang/en_US.d.ts +2 -2
- package/es/lang/en_US.js +7 -1
- package/es/lang/zh_CN.d.ts +2 -2
- package/es/lang/zh_CN.js +7 -1
- package/es/lang/zh_TW.d.ts +2 -2
- package/es/lang/zh_TW.js +7 -1
- package/es/style/nprogress.scss +1 -0
- package/es/style/themes/dark.scss +9 -15
- package/es/style/themes/default.scss +140 -166
- package/es/style/themes/rounded.scss +27 -45
- package/es/utils/core.d.ts +7 -0
- package/es/utils/core.js +16 -2
- package/es/utils/menu-util.d.ts +3 -2
- package/es/utils/menu-util.js +2 -5
- package/es/utils/message-box.d.ts +25 -0
- package/es/utils/message-box.js +71 -0
- package/es/utils/message.d.ts +45 -20
- package/es/utils/message.js +220 -37
- package/es/utils/resolvers.d.ts +2 -2
- package/lib/core-export.cjs +8 -0
- package/lib/core-export.d.ts +1 -0
- package/lib/core-installer.d.ts +2 -2
- package/lib/ele-alert/index.cjs +2 -2
- package/lib/ele-alert/index.d.ts +23 -23
- package/lib/ele-alert/props.d.ts +10 -9
- package/lib/ele-app/components/message-body.cjs +91 -0
- package/lib/ele-app/components/message-body.d.ts +39 -0
- package/lib/ele-app/el.d.ts +4 -1
- package/lib/ele-app/index.d.ts +2 -2
- package/lib/ele-app/style/message/css-var.scss +0 -4
- package/lib/ele-app/style/message/index.scss +199 -77
- package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
- package/lib/ele-app/style/overwrite/input/index.scss +2 -0
- package/lib/ele-app/style/overwrite/message-box/index.scss +31 -0
- package/lib/ele-app/style/overwrite/tag/css-var.scss +0 -16
- package/lib/ele-app/style/overwrite/tag/index.scss +57 -14
- package/lib/ele-app/types.d.ts +6 -1
- package/lib/ele-avatar-group/index.d.ts +29 -28
- package/lib/ele-avatar-group/props.d.ts +10 -9
- package/lib/ele-bar-code/index.d.ts +11 -10
- package/lib/ele-bar-code/props.d.ts +4 -3
- package/lib/ele-basic-select/index.cjs +23 -6
- package/lib/ele-basic-select/index.d.ts +37 -35
- package/lib/ele-basic-select/props.d.ts +9 -8
- package/lib/ele-basic-select/util.d.ts +2 -1
- package/lib/ele-bottom-bar/index.d.ts +6 -6
- package/lib/ele-bottom-bar/props.d.ts +4 -3
- package/lib/ele-breadcrumb/index.d.ts +11 -10
- package/lib/ele-breadcrumb/props.d.ts +5 -4
- package/lib/ele-card/index.d.ts +12 -12
- package/lib/ele-card/props.d.ts +7 -6
- package/lib/ele-check-card/components/card-item.d.ts +7 -6
- package/lib/ele-check-card/index.d.ts +15 -14
- package/lib/ele-check-card/props.d.ts +6 -5
- package/lib/ele-config-provider/components/receiver-view.cjs +2 -44
- package/lib/ele-config-provider/components/receiver-view.d.ts +3 -3
- package/lib/ele-config-provider/index.cjs +18 -4
- package/lib/ele-config-provider/index.d.ts +13 -9
- package/lib/ele-config-provider/props.cjs +9 -5
- package/lib/ele-config-provider/props.d.ts +12 -6
- package/lib/ele-config-provider/receiver.cjs +41 -2
- package/lib/ele-config-provider/receiver.d.ts +6 -10
- package/lib/ele-config-provider/types.d.ts +25 -30
- package/lib/ele-copyable/index.d.ts +32 -31
- package/lib/ele-copyable/props.d.ts +9 -8
- package/lib/ele-count-up/index.d.ts +8 -7
- package/lib/ele-count-up/props.d.ts +3 -2
- package/lib/ele-cropper/components/cropper-preview.d.ts +3 -3
- package/lib/ele-cropper/components/cropper-tools.d.ts +12 -11
- package/lib/ele-cropper/index.d.ts +16 -15
- package/lib/ele-cropper/props.d.ts +4 -3
- package/lib/ele-cropper-modal/index.cjs +1 -1
- package/lib/ele-cropper-modal/index.d.ts +16 -15
- package/lib/ele-cropper-modal/props.d.ts +7 -6
- package/lib/ele-dashboard/index.d.ts +5 -5
- package/lib/ele-dashboard/props.d.ts +3 -2
- package/lib/ele-data-table/index.d.ts +63 -68
- package/lib/ele-data-table/props.d.ts +36 -41
- package/lib/ele-data-table/types.d.ts +10 -16
- package/lib/ele-data-table/util.d.ts +10 -9
- package/lib/ele-dot/index.d.ts +4 -4
- package/lib/ele-dot/props.d.ts +3 -2
- package/lib/ele-drawer/index.cjs +105 -111
- package/lib/ele-drawer/index.d.ts +76 -72
- package/lib/ele-drawer/props.d.ts +26 -25
- package/lib/ele-drawer/style/index.scss +48 -105
- package/lib/ele-dropdown/index.d.ts +66 -65
- package/lib/ele-dropdown/props.d.ts +22 -21
- package/lib/ele-edit-tag/index.cjs +5 -3
- package/lib/ele-edit-tag/index.d.ts +40 -34
- package/lib/ele-edit-tag/props.cjs +2 -0
- package/lib/ele-edit-tag/props.d.ts +12 -9
- package/lib/ele-edit-tag/style/index.scss +11 -4
- package/lib/ele-ellipsis/index.d.ts +23 -22
- package/lib/ele-ellipsis/props.d.ts +8 -7
- package/lib/ele-file-list/components/file-grid-item.cjs +1 -1
- package/lib/ele-file-list/components/file-grid-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-grid.d.ts +10 -9
- package/lib/ele-file-list/components/file-sort.d.ts +2 -2
- package/lib/ele-file-list/components/file-table-item.cjs +1 -1
- package/lib/ele-file-list/components/file-table-item.d.ts +13 -12
- package/lib/ele-file-list/components/file-table.d.ts +10 -9
- package/lib/ele-file-list/icons.d.ts +2 -1
- package/lib/ele-file-list/index.d.ts +36 -35
- package/lib/ele-file-list/props.d.ts +6 -5
- package/lib/ele-file-list-tool/index.d.ts +3 -3
- package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
- package/lib/ele-icon-select/components/icon-grid.d.ts +15 -14
- package/lib/ele-icon-select/index.d.ts +59 -60
- package/lib/ele-icon-select/props.d.ts +18 -17
- package/lib/ele-loading/index.cjs +9 -15
- package/lib/ele-loading/index.d.ts +12 -15
- package/lib/ele-loading/props.d.ts +5 -4
- package/lib/ele-map-picker/components/map-view.cjs +1 -1
- package/lib/ele-map-picker/components/map-view.d.ts +29 -28
- package/lib/ele-map-picker/index.cjs +1 -1
- package/lib/ele-map-picker/index.d.ts +27 -26
- package/lib/ele-map-picker/props.d.ts +8 -7
- package/lib/ele-menus/index.cjs +12 -1
- package/lib/ele-menus/index.d.ts +62 -63
- package/lib/ele-menus/props.cjs +1 -3
- package/lib/ele-menus/props.d.ts +16 -17
- package/lib/ele-menus/style/css-var.scss +1 -5
- package/lib/ele-menus/util.d.ts +3 -2
- package/lib/ele-modal/index.cjs +176 -198
- package/lib/ele-modal/index.d.ts +77 -70
- package/lib/ele-modal/props.cjs +2 -0
- package/lib/ele-modal/props.d.ts +26 -23
- package/lib/ele-modal/style/index.scss +87 -146
- package/lib/ele-modal/util.cjs +53 -179
- package/lib/ele-modal/util.d.ts +20 -45
- package/lib/ele-page/index.d.ts +2 -2
- package/lib/ele-page/props.d.ts +2 -1
- package/lib/ele-pagination/index.cjs +4 -1
- package/lib/ele-pagination/index.d.ts +40 -31
- package/lib/ele-pagination/props.cjs +5 -0
- package/lib/ele-pagination/props.d.ts +17 -11
- package/lib/ele-popconfirm/index.cjs +5 -27
- package/lib/ele-popconfirm/index.d.ts +93 -92
- package/lib/ele-popconfirm/props.d.ts +33 -32
- package/lib/ele-popover/index.cjs +5 -13
- package/lib/ele-popover/index.d.ts +71 -70
- package/lib/ele-popover/props.d.ts +26 -25
- package/lib/ele-printer/index.d.ts +18 -18
- package/lib/ele-printer/props.d.ts +6 -5
- package/lib/ele-printer/util.d.ts +2 -1
- package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/pro-header.cjs +109 -19
- package/lib/ele-pro-layout/components/pro-header.d.ts +85 -29
- package/lib/ele-pro-layout/components/pro-iframe.cjs +30 -40
- package/lib/ele-pro-layout/components/pro-iframe.d.ts +7 -7
- package/lib/ele-pro-layout/components/pro-sidebar.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +15 -19
- package/lib/ele-pro-layout/components/pro-sidebox.cjs +2 -5
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +16 -20
- package/lib/ele-pro-layout/components/pro-tabs.d.ts +12 -11
- package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.cjs +1 -1
- package/lib/ele-pro-layout/components/tab-dropdown.d.ts +8 -7
- package/lib/ele-pro-layout/index.cjs +62 -47
- package/lib/ele-pro-layout/index.d.ts +97 -97
- package/lib/ele-pro-layout/props.cjs +2 -4
- package/lib/ele-pro-layout/props.d.ts +11 -13
- package/lib/ele-pro-layout/style/css-var.scss +3 -18
- package/lib/ele-pro-layout/style/header.scss +74 -9
- package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
- package/lib/ele-pro-layout/style/layout-style.scss +8 -3
- package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
- package/lib/ele-pro-layout/style/layout.scss +38 -8
- package/lib/ele-pro-layout/style/sidebar.scss +0 -1
- package/lib/ele-pro-layout/style/tabs.scss +19 -11
- package/lib/ele-pro-layout/types.d.ts +5 -5
- package/lib/ele-pro-layout/util.cjs +2 -3
- package/lib/ele-pro-layout/util.d.ts +6 -6
- package/lib/ele-pro-table/components/table-tools.cjs +14 -26
- package/lib/ele-pro-table/components/table-tools.d.ts +33 -23
- package/lib/ele-pro-table/components/tool-column-list.cjs +2 -6
- package/lib/ele-pro-table/components/tool-column-list.d.ts +6 -5
- package/lib/ele-pro-table/components/tool-column.cjs +2 -6
- package/lib/ele-pro-table/components/tool-column.d.ts +15 -13
- package/lib/ele-pro-table/components/tool-export.cjs +107 -61
- package/lib/ele-pro-table/components/tool-export.d.ts +52 -357
- package/lib/ele-pro-table/components/tool-print-body-cell.cjs +49 -5
- package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print-header-cell.cjs +4 -1
- package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +13 -12
- package/lib/ele-pro-table/components/tool-print.cjs +195 -82
- package/lib/ele-pro-table/components/tool-print.d.ts +56 -794
- package/lib/ele-pro-table/index.cjs +108 -77
- package/lib/ele-pro-table/index.d.ts +131 -143
- package/lib/ele-pro-table/props.d.ts +44 -46
- package/lib/ele-pro-table/style/index.scss +9 -0
- package/lib/ele-pro-table/types.d.ts +45 -0
- package/lib/ele-pro-table/util.cjs +205 -52
- package/lib/ele-pro-table/util.d.ts +42 -23
- package/lib/ele-qr-code/index.d.ts +16 -15
- package/lib/ele-qr-code/props.d.ts +4 -3
- package/lib/ele-qr-code/util.d.ts +3 -2
- package/lib/ele-qr-code-svg/index.d.ts +18 -18
- package/lib/ele-segmented/index.d.ts +10 -9
- package/lib/ele-segmented/props.d.ts +3 -2
- package/lib/ele-split-panel/index.d.ts +18 -17
- package/lib/ele-split-panel/props.d.ts +5 -4
- package/lib/ele-steps/index.d.ts +33 -33
- package/lib/ele-steps/props.d.ts +10 -9
- package/lib/ele-tab-tool/index.d.ts +2 -2
- package/lib/ele-tab-tool/props.d.ts +2 -1
- package/lib/ele-tab-wrap/index.cjs +2 -1
- package/lib/ele-tab-wrap/index.d.ts +6 -6
- package/lib/ele-tab-wrap/props.d.ts +3 -2
- package/lib/ele-table/index.d.ts +4 -4
- package/lib/ele-table/props.d.ts +3 -2
- package/lib/ele-table/style/index.scss +16 -0
- package/lib/ele-table-select/index.cjs +29 -27
- package/lib/ele-table-select/index.d.ts +45 -43
- package/lib/ele-table-select/props.d.ts +11 -10
- package/lib/ele-tabs/components/tab-title.d.ts +9 -8
- package/lib/ele-tabs/index.cjs +1 -0
- package/lib/ele-tabs/index.d.ts +43 -55
- package/lib/ele-tabs/props.d.ts +17 -23
- package/lib/ele-tabs/style/css-var.scss +1 -30
- package/lib/ele-tabs/style/index.scss +372 -241
- package/lib/ele-tabs/types.d.ts +2 -1
- package/lib/ele-text/index.d.ts +12 -12
- package/lib/ele-text/props.d.ts +5 -4
- package/lib/ele-tool/index.d.ts +7 -7
- package/lib/ele-tool/props.d.ts +3 -2
- package/lib/ele-toolbar/index.d.ts +15 -15
- package/lib/ele-toolbar/props.d.ts +7 -6
- package/lib/ele-tooltip/index.cjs +3 -0
- package/lib/ele-tooltip/index.d.ts +62 -61
- package/lib/ele-tooltip/props.cjs +2 -0
- package/lib/ele-tooltip/props.d.ts +28 -22
- package/lib/ele-tour/index.d.ts +15 -14
- package/lib/ele-tour/props.d.ts +3 -2
- package/lib/ele-tour/util.d.ts +3 -2
- package/lib/ele-tree-select/index.d.ts +37 -36
- package/lib/ele-tree-select/props.d.ts +12 -11
- package/lib/ele-tree-select/util.d.ts +3 -2
- package/lib/ele-upload-list/components/list-item.d.ts +7 -6
- package/lib/ele-upload-list/index.d.ts +26 -25
- package/lib/ele-upload-list/props.d.ts +6 -5
- package/lib/ele-virtual-table/components/body-cell.cjs +52 -70
- package/lib/ele-virtual-table/components/body-cell.d.ts +100 -64
- package/lib/ele-virtual-table/components/body-row.cjs +57 -52
- package/lib/ele-virtual-table/components/body-row.d.ts +89 -65
- package/lib/ele-virtual-table/components/cell-checkbox.d.ts +5 -4
- package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
- package/lib/ele-virtual-table/components/cell-filter.d.ts +18 -17
- package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
- package/lib/ele-virtual-table/components/expand-row.d.ts +11 -10
- package/lib/ele-virtual-table/components/footer-row.cjs +19 -14
- package/lib/ele-virtual-table/components/footer-row.d.ts +36 -17
- package/lib/ele-virtual-table/components/header-cell.d.ts +16 -15
- package/lib/ele-virtual-table/components/header-row.d.ts +12 -11
- package/lib/ele-virtual-table/index.cjs +132 -134
- package/lib/ele-virtual-table/index.d.ts +91 -100
- package/lib/ele-virtual-table/props.d.ts +49 -51
- package/lib/ele-virtual-table/style/index.scss +1 -1
- package/lib/ele-virtual-table/types.d.ts +88 -68
- package/lib/ele-virtual-table/util.cjs +32 -24
- package/lib/ele-virtual-table/util.d.ts +16 -12
- package/lib/ele-watermark/index.d.ts +15 -14
- package/lib/ele-watermark/props.d.ts +4 -3
- package/lib/ele-watermark/util.d.ts +3 -2
- package/lib/ele-xg-player/index.d.ts +10 -10
- package/lib/icons/AnalysisOutlined.d.ts +1 -1
- package/lib/icons/ApplicationOutlined.d.ts +1 -1
- package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
- package/lib/icons/AppstoreOutlined.d.ts +1 -1
- package/lib/icons/ArrowDown.d.ts +1 -1
- package/lib/icons/ArrowDownOutlined.d.ts +1 -1
- package/lib/icons/ArrowLeft.d.ts +1 -1
- package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
- package/lib/icons/ArrowRight.d.ts +1 -1
- package/lib/icons/ArrowRightOutlined.d.ts +1 -1
- package/lib/icons/ArrowUp.d.ts +1 -1
- package/lib/icons/ArrowUpOutlined.d.ts +1 -1
- package/lib/icons/BellOutlined.d.ts +1 -1
- package/lib/icons/BookOutlined.d.ts +1 -1
- package/lib/icons/CalendarOutlined.d.ts +1 -1
- package/lib/icons/CaretDownFilled.d.ts +1 -1
- package/lib/icons/CaretUpFilled.d.ts +1 -1
- package/lib/icons/CheckCircleFilled.d.ts +1 -1
- package/lib/icons/CheckCircleOutlined.d.ts +1 -1
- package/lib/icons/CheckOutlined.d.ts +1 -1
- package/lib/icons/CityOutlined.d.ts +1 -1
- package/lib/icons/ClockCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseCircleFilled.d.ts +1 -1
- package/lib/icons/CloseCircleOutlined.d.ts +1 -1
- package/lib/icons/CloseOutlined.d.ts +1 -1
- package/lib/icons/CloudUploadOutlined.d.ts +1 -1
- package/lib/icons/ClusterOutlined.d.ts +1 -1
- package/lib/icons/CodeOutlined.d.ts +1 -1
- package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
- package/lib/icons/CompassOutlined.d.ts +1 -1
- package/lib/icons/CompressOutlined.d.ts +1 -1
- package/lib/icons/ConnectionOutlined.d.ts +1 -1
- package/lib/icons/ControlOutlined.d.ts +1 -1
- package/lib/icons/CopyOutlined.d.ts +1 -1
- package/lib/icons/CpuOutlined.d.ts +1 -1
- package/lib/icons/DashboardOutlined.d.ts +1 -1
- package/lib/icons/DatabaseOutlined.d.ts +1 -1
- package/lib/icons/DeleteOutlined.d.ts +1 -1
- package/lib/icons/DesktopOutlined.d.ts +1 -1
- package/lib/icons/DownloadOutlined.d.ts +1 -1
- package/lib/icons/DragOutlined.d.ts +1 -1
- package/lib/icons/EditOutlined.d.ts +1 -1
- package/lib/icons/EllipsisOutlined.d.ts +1 -1
- package/lib/icons/EnvironmentOutlined.d.ts +1 -1
- package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
- package/lib/icons/ExpandOutlined.d.ts +1 -1
- package/lib/icons/FileOutlined.d.ts +1 -1
- package/lib/icons/FilterFilled.d.ts +1 -1
- package/lib/icons/FolderAddOutlined.d.ts +1 -1
- package/lib/icons/FolderOutlined.d.ts +1 -1
- package/lib/icons/FormOutlined.d.ts +1 -1
- package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
- package/lib/icons/FullscreenOutlined.d.ts +1 -1
- package/lib/icons/FundOutlined.d.ts +1 -1
- package/lib/icons/GlobalOutlined.d.ts +1 -1
- package/lib/icons/HolderOutlined.d.ts +1 -1
- package/lib/icons/HomeOutlined.d.ts +1 -1
- package/lib/icons/IdcardOutlined.d.ts +1 -1
- package/lib/icons/InfoCircleFilled.d.ts +1 -1
- package/lib/icons/LinkOutlined.d.ts +1 -1
- package/lib/icons/LoadingDotOutlined.d.ts +1 -1
- package/lib/icons/LoadingOutlined.cjs +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.d.ts +1 -1
- 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.d.ts +1 -1
- 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 +7 -1
- package/lib/lang/en_US.d.ts +2 -2
- package/lib/lang/zh_CN.cjs +7 -1
- package/lib/lang/zh_CN.d.ts +2 -2
- package/lib/lang/zh_TW.cjs +7 -1
- package/lib/lang/zh_TW.d.ts +2 -2
- package/lib/style/nprogress.scss +1 -0
- package/lib/style/themes/dark.scss +9 -15
- package/lib/style/themes/default.scss +140 -166
- package/lib/style/themes/rounded.scss +27 -45
- package/lib/utils/core.cjs +16 -2
- package/lib/utils/core.d.ts +7 -0
- package/lib/utils/menu-util.cjs +1 -4
- package/lib/utils/menu-util.d.ts +3 -2
- package/lib/utils/message-box.cjs +71 -0
- package/lib/utils/message-box.d.ts +25 -0
- package/lib/utils/message.cjs +216 -33
- package/lib/utils/message.d.ts +45 -20
- package/lib/utils/resolvers.d.ts +2 -2
- package/package.json +26 -25
package/lib/ele-drawer/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 ReceiverView = require("../ele-config-provider/components/receiver-view");
|
|
6
5
|
const receiver = require("../ele-config-provider/receiver");
|
|
6
|
+
const ReceiverView = require("../ele-config-provider/components/receiver-view");
|
|
7
7
|
const util = require("../ele-modal/util");
|
|
8
8
|
const props = require("./props");
|
|
9
9
|
const _sfc_main = vue.defineComponent({
|
|
@@ -16,7 +16,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
16
16
|
const drawerRef = vue.ref(null);
|
|
17
17
|
const isActivated = vue.ref(true);
|
|
18
18
|
const drawerClass = vue.computed(() => {
|
|
19
|
-
const layoutState = vue.unref(layoutProvide);
|
|
20
19
|
const classes = ["ele-drawer"];
|
|
21
20
|
if (!props2.modelValue) {
|
|
22
21
|
classes.push("ele-drawer-closed");
|
|
@@ -26,41 +25,20 @@ const _sfc_main = vue.defineComponent({
|
|
|
26
25
|
}
|
|
27
26
|
if (props2.inner) {
|
|
28
27
|
classes.push("ele-drawer-inner");
|
|
29
|
-
if (layoutState && layoutState.sidebar != null) {
|
|
30
|
-
if (layoutState.collapse && !layoutState.topLayout) {
|
|
31
|
-
classes.push(util.collapseClass);
|
|
32
|
-
}
|
|
33
|
-
if (layoutState.compact && layoutState.mixSidebar && !layoutState.topLayout) {
|
|
34
|
-
classes.push(util.compactClass);
|
|
35
|
-
}
|
|
36
|
-
if (layoutState.maximized) {
|
|
37
|
-
classes.push(util.maximizedClass);
|
|
38
|
-
}
|
|
39
|
-
if (layoutState.tabBar) {
|
|
40
|
-
classes.push(util.hasTabClass);
|
|
41
|
-
}
|
|
42
|
-
if (layoutState.mixSidebar && !layoutState.topLayout) {
|
|
43
|
-
classes.push(util.mixSidebarClass);
|
|
44
|
-
if (!layoutState.sidebar) {
|
|
45
|
-
classes.push(util.singleSidebarClass);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
if (layoutState.topLayout) {
|
|
49
|
-
classes.push(util.topLayoutClass);
|
|
50
|
-
}
|
|
51
|
-
if (layoutState.maximized && layoutState.expanded) {
|
|
52
|
-
classes.push(util.expandedClass);
|
|
53
|
-
}
|
|
54
|
-
if (layoutState.mobile) {
|
|
55
|
-
classes.push(util.mobileClass);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
28
|
}
|
|
59
29
|
if (props2.modalClass) {
|
|
60
30
|
classes.push(props2.modalClass);
|
|
61
31
|
}
|
|
62
32
|
return classes.join(" ");
|
|
63
33
|
});
|
|
34
|
+
const teleportTo = vue.computed(() => {
|
|
35
|
+
return util.getModalContainer(
|
|
36
|
+
props2.inner,
|
|
37
|
+
false,
|
|
38
|
+
void 0,
|
|
39
|
+
layoutProvide.modalsEl
|
|
40
|
+
);
|
|
41
|
+
});
|
|
64
42
|
const handleClose = () => {
|
|
65
43
|
if (drawerRef.value && drawerRef.value.handleClose) {
|
|
66
44
|
drawerRef.value.handleClose();
|
|
@@ -81,6 +59,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
81
59
|
const onClosed = () => {
|
|
82
60
|
emit("closed");
|
|
83
61
|
};
|
|
62
|
+
const onOpenAutoFocus = () => {
|
|
63
|
+
emit("openAutoFocus");
|
|
64
|
+
};
|
|
65
|
+
const onCloseAutoFocus = () => {
|
|
66
|
+
emit("closeAutoFocus");
|
|
67
|
+
};
|
|
84
68
|
vue.onActivated(() => {
|
|
85
69
|
isActivated.value = true;
|
|
86
70
|
});
|
|
@@ -90,12 +74,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
90
74
|
return {
|
|
91
75
|
drawerRef,
|
|
92
76
|
drawerClass,
|
|
77
|
+
teleportTo,
|
|
93
78
|
handleClose,
|
|
94
79
|
updateModelValue,
|
|
95
80
|
onOpen,
|
|
96
81
|
onOpened,
|
|
97
82
|
onClose,
|
|
98
|
-
onClosed
|
|
83
|
+
onClosed,
|
|
84
|
+
onOpenAutoFocus,
|
|
85
|
+
onCloseAutoFocus
|
|
99
86
|
};
|
|
100
87
|
}
|
|
101
88
|
});
|
|
@@ -112,90 +99,97 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
112
99
|
const _component_ElIcon = vue.resolveComponent("ElIcon");
|
|
113
100
|
const _component_ReceiverView = vue.resolveComponent("ReceiverView");
|
|
114
101
|
const _component_ElDrawer = vue.resolveComponent("ElDrawer");
|
|
115
|
-
return vue.openBlock(), vue.createBlock(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
appendToBody: _ctx.appendToBody,
|
|
119
|
-
lockScroll: _ctx.lockScroll,
|
|
120
|
-
beforeClose: _ctx.beforeClose,
|
|
121
|
-
closeOnClickModal: _ctx.closeOnClickModal,
|
|
122
|
-
closeOnPressEscape: _ctx.closeOnPressEscape,
|
|
123
|
-
openDelay: _ctx.openDelay,
|
|
124
|
-
closeDelay: _ctx.closeDelay,
|
|
125
|
-
destroyOnClose: _ctx.destroyOnClose,
|
|
126
|
-
modal: _ctx.modal,
|
|
127
|
-
direction: _ctx.direction,
|
|
128
|
-
showClose: false,
|
|
129
|
-
size: _ctx.size,
|
|
130
|
-
title: _ctx.title,
|
|
131
|
-
withHeader: _ctx.withHeader,
|
|
132
|
-
modalClass: _ctx.drawerClass,
|
|
133
|
-
zIndex: _ctx.zIndex,
|
|
134
|
-
headerAriaLevel: _ctx.headerAriaLevel,
|
|
135
|
-
onOpen: _ctx.onOpen,
|
|
136
|
-
onOpened: _ctx.onOpened,
|
|
137
|
-
onClose: _ctx.onClose,
|
|
138
|
-
onClosed: _ctx.onClosed,
|
|
139
|
-
"onUpdate:modelValue": _ctx.updateModelValue
|
|
140
|
-
}, vue.createSlots({
|
|
141
|
-
header: vue.withCtx(({ close }) => [
|
|
142
|
-
vue.createElementVNode("div", {
|
|
143
|
-
class: "ele-drawer-header",
|
|
144
|
-
style: vue.normalizeStyle(_ctx.headerStyle)
|
|
145
|
-
}, [
|
|
146
|
-
vue.createElementVNode("div", {
|
|
147
|
-
role: "heading",
|
|
148
|
-
class: "ele-drawer-title",
|
|
149
|
-
style: vue.normalizeStyle(_ctx.titleStyle)
|
|
150
|
-
}, [
|
|
151
|
-
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
152
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
153
|
-
])
|
|
154
|
-
], 4),
|
|
155
|
-
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
156
|
-
key: 0,
|
|
157
|
-
class: "ele-drawer-close",
|
|
158
|
-
style: vue.normalizeStyle(_ctx.closeBtnStyle),
|
|
159
|
-
onClick: close
|
|
160
|
-
}, [
|
|
161
|
-
vue.renderSlot(_ctx.$slots, "closeBtn", {}, () => [
|
|
162
|
-
vue.createVNode(_component_ElIcon, null, {
|
|
163
|
-
default: vue.withCtx(() => [
|
|
164
|
-
vue.createVNode(_component_CloseOutlined)
|
|
165
|
-
]),
|
|
166
|
-
_: 1
|
|
167
|
-
})
|
|
168
|
-
])
|
|
169
|
-
], 12, _hoisted_1)) : vue.createCommentVNode("", true)
|
|
170
|
-
], 4)
|
|
171
|
-
]),
|
|
172
|
-
default: vue.withCtx(() => [
|
|
173
|
-
vue.createVNode(_component_ReceiverView, {
|
|
174
|
-
wrapPosition: false,
|
|
175
|
-
class: "ele-drawer-body",
|
|
176
|
-
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
177
|
-
}, {
|
|
178
|
-
default: vue.withCtx(() => [
|
|
179
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
180
|
-
]),
|
|
181
|
-
_: 3
|
|
182
|
-
}, 8, ["style"])
|
|
183
|
-
]),
|
|
184
|
-
_: 2
|
|
102
|
+
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
103
|
+
to: _ctx.teleportTo,
|
|
104
|
+
disabled: _ctx.inner ? false : !_ctx.appendToBody
|
|
185
105
|
}, [
|
|
186
|
-
_ctx.$
|
|
187
|
-
|
|
188
|
-
|
|
106
|
+
vue.createVNode(_component_ElDrawer, vue.mergeProps(_ctx.$attrs, {
|
|
107
|
+
ref: "drawerRef",
|
|
108
|
+
modelValue: _ctx.modelValue,
|
|
109
|
+
appendToBody: false,
|
|
110
|
+
lockScroll: _ctx.inner ? false : _ctx.lockScroll,
|
|
111
|
+
beforeClose: _ctx.beforeClose,
|
|
112
|
+
closeOnClickModal: _ctx.closeOnClickModal,
|
|
113
|
+
closeOnPressEscape: _ctx.closeOnPressEscape,
|
|
114
|
+
openDelay: _ctx.openDelay,
|
|
115
|
+
closeDelay: _ctx.closeDelay,
|
|
116
|
+
destroyOnClose: _ctx.destroyOnClose,
|
|
117
|
+
modal: _ctx.modal,
|
|
118
|
+
direction: _ctx.direction,
|
|
119
|
+
showClose: false,
|
|
120
|
+
size: _ctx.size,
|
|
121
|
+
title: _ctx.title,
|
|
122
|
+
withHeader: _ctx.withHeader,
|
|
123
|
+
modalClass: _ctx.drawerClass,
|
|
124
|
+
zIndex: _ctx.zIndex,
|
|
125
|
+
headerAriaLevel: _ctx.headerAriaLevel,
|
|
126
|
+
onOpen: _ctx.onOpen,
|
|
127
|
+
onOpened: _ctx.onOpened,
|
|
128
|
+
onClose: _ctx.onClose,
|
|
129
|
+
onClosed: _ctx.onClosed,
|
|
130
|
+
onOpenAutoFocus: _ctx.onOpenAutoFocus,
|
|
131
|
+
onCloseAutoFocus: _ctx.onCloseAutoFocus,
|
|
132
|
+
"onUpdate:modelValue": _ctx.updateModelValue
|
|
133
|
+
}), vue.createSlots({
|
|
134
|
+
header: vue.withCtx(({ close }) => [
|
|
189
135
|
vue.createElementVNode("div", {
|
|
190
|
-
class: "ele-drawer-
|
|
191
|
-
style: vue.normalizeStyle(_ctx.
|
|
136
|
+
class: "ele-drawer-header",
|
|
137
|
+
style: vue.normalizeStyle(_ctx.headerStyle)
|
|
192
138
|
}, [
|
|
193
|
-
vue.
|
|
139
|
+
vue.createElementVNode("div", {
|
|
140
|
+
role: "heading",
|
|
141
|
+
class: "ele-drawer-title",
|
|
142
|
+
style: vue.normalizeStyle(_ctx.titleStyle)
|
|
143
|
+
}, [
|
|
144
|
+
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
145
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
146
|
+
])
|
|
147
|
+
], 4),
|
|
148
|
+
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
149
|
+
key: 0,
|
|
150
|
+
class: "ele-drawer-close",
|
|
151
|
+
style: vue.normalizeStyle(_ctx.closeBtnStyle),
|
|
152
|
+
onClick: close
|
|
153
|
+
}, [
|
|
154
|
+
vue.renderSlot(_ctx.$slots, "closeBtn", {}, () => [
|
|
155
|
+
vue.createVNode(_component_ElIcon, null, {
|
|
156
|
+
default: vue.withCtx(() => [
|
|
157
|
+
vue.createVNode(_component_CloseOutlined)
|
|
158
|
+
]),
|
|
159
|
+
_: 1
|
|
160
|
+
})
|
|
161
|
+
])
|
|
162
|
+
], 12, _hoisted_1)) : vue.createCommentVNode("", true)
|
|
194
163
|
], 4)
|
|
195
164
|
]),
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
165
|
+
default: vue.withCtx(() => [
|
|
166
|
+
vue.createVNode(_component_ReceiverView, {
|
|
167
|
+
wrapPosition: false,
|
|
168
|
+
class: "ele-drawer-body",
|
|
169
|
+
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
170
|
+
}, {
|
|
171
|
+
default: vue.withCtx(() => [
|
|
172
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
173
|
+
]),
|
|
174
|
+
_: 3
|
|
175
|
+
}, 8, ["style"])
|
|
176
|
+
]),
|
|
177
|
+
_: 2
|
|
178
|
+
}, [
|
|
179
|
+
_ctx.$slots.footer ? {
|
|
180
|
+
name: "footer",
|
|
181
|
+
fn: vue.withCtx(() => [
|
|
182
|
+
vue.createElementVNode("div", {
|
|
183
|
+
class: "ele-drawer-footer",
|
|
184
|
+
style: vue.normalizeStyle(_ctx.footerStyle)
|
|
185
|
+
}, [
|
|
186
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
187
|
+
], 4)
|
|
188
|
+
]),
|
|
189
|
+
key: "0"
|
|
190
|
+
} : void 0
|
|
191
|
+
]), 1040, ["modelValue", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "headerAriaLevel", "onOpen", "onOpened", "onClose", "onClosed", "onOpenAutoFocus", "onCloseAutoFocus", "onUpdate:modelValue"])
|
|
192
|
+
], 8, ["to", "disabled"]);
|
|
199
193
|
}
|
|
200
194
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
201
195
|
module.exports = index;
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ElDrawerInstance } from '../ele-app/el';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
5
|
+
titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
6
|
+
bodyStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
7
|
+
footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
8
|
+
closeBtnStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
8
9
|
inner: BooleanConstructor;
|
|
9
|
-
direction: import(
|
|
10
|
-
size: import(
|
|
11
|
-
withHeader: import(
|
|
12
|
-
modalFade: import(
|
|
13
|
-
headerAriaLevel: import(
|
|
10
|
+
direction: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
11
|
+
size: import('element-plus/es/utils/index').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
12
|
+
withHeader: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
|
+
modalFade: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
|
+
headerAriaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
14
15
|
appendToBody: BooleanConstructor;
|
|
15
|
-
appendTo: import(
|
|
16
|
+
appendTo: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
16
17
|
beforeClose: {
|
|
17
|
-
readonly type: import(
|
|
18
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
18
19
|
readonly required: false;
|
|
19
20
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
21
|
__epPropKey: true;
|
|
21
22
|
};
|
|
22
23
|
destroyOnClose: BooleanConstructor;
|
|
23
|
-
closeOnClickModal: import(
|
|
24
|
-
closeOnPressEscape: import(
|
|
25
|
-
lockScroll: import(
|
|
26
|
-
modal: import(
|
|
27
|
-
openDelay: import(
|
|
28
|
-
closeDelay: import(
|
|
24
|
+
closeOnClickModal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
|
+
closeOnPressEscape: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
26
|
+
lockScroll: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
27
|
+
modal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
|
+
openDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
29
|
+
closeDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
29
30
|
top: {
|
|
30
|
-
readonly type: import(
|
|
31
|
+
readonly type: import('vue').PropType<string>;
|
|
31
32
|
readonly required: false;
|
|
32
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
34
|
__epPropKey: true;
|
|
@@ -35,22 +36,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
36
|
modelValue: BooleanConstructor;
|
|
36
37
|
modalClass: StringConstructor;
|
|
37
38
|
width: {
|
|
38
|
-
readonly type: import(
|
|
39
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
39
40
|
readonly required: false;
|
|
40
41
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
42
|
__epPropKey: true;
|
|
42
43
|
};
|
|
43
44
|
zIndex: {
|
|
44
|
-
readonly type: import(
|
|
45
|
+
readonly type: import('vue').PropType<number>;
|
|
45
46
|
readonly required: false;
|
|
46
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
48
|
__epPropKey: true;
|
|
48
49
|
};
|
|
49
|
-
trapFocus: import(
|
|
50
|
+
trapFocus: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
50
51
|
center: BooleanConstructor;
|
|
51
52
|
alignCenter: BooleanConstructor;
|
|
52
53
|
closeIcon: {
|
|
53
|
-
readonly type: import(
|
|
54
|
+
readonly type: import('vue').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>>;
|
|
54
55
|
readonly required: false;
|
|
55
56
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
56
57
|
__epPropKey: true;
|
|
@@ -58,19 +59,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
59
|
draggable: BooleanConstructor;
|
|
59
60
|
overflow: BooleanConstructor;
|
|
60
61
|
fullscreen: BooleanConstructor;
|
|
61
|
-
showClose: import(
|
|
62
|
-
title: import(
|
|
63
|
-
ariaLevel: import(
|
|
62
|
+
showClose: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
63
|
+
title: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
64
|
+
ariaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
64
65
|
}, {
|
|
65
|
-
drawerRef: import(
|
|
66
|
-
drawerClass: import(
|
|
66
|
+
drawerRef: import('vue').Ref<ElDrawerInstance>;
|
|
67
|
+
drawerClass: import('vue').ComputedRef<string>;
|
|
68
|
+
teleportTo: import('vue').ComputedRef<string | Element>;
|
|
67
69
|
handleClose: () => void;
|
|
68
70
|
updateModelValue: (value: boolean) => void;
|
|
69
71
|
onOpen: () => void;
|
|
70
72
|
onOpened: () => void;
|
|
71
73
|
onClose: () => void;
|
|
72
74
|
onClosed: () => void;
|
|
73
|
-
|
|
75
|
+
onOpenAutoFocus: () => void;
|
|
76
|
+
onCloseAutoFocus: () => void;
|
|
77
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
74
78
|
open: () => boolean;
|
|
75
79
|
opened: () => boolean;
|
|
76
80
|
close: () => boolean;
|
|
@@ -78,35 +82,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
82
|
"update:modelValue": (value: boolean) => boolean;
|
|
79
83
|
openAutoFocus: () => boolean;
|
|
80
84
|
closeAutoFocus: () => boolean;
|
|
81
|
-
}, string, import(
|
|
82
|
-
headerStyle: import(
|
|
83
|
-
titleStyle: import(
|
|
84
|
-
bodyStyle: import(
|
|
85
|
-
footerStyle: import(
|
|
86
|
-
closeBtnStyle: import(
|
|
85
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
86
|
+
headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
87
|
+
titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
88
|
+
bodyStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
89
|
+
footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
90
|
+
closeBtnStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
|
|
87
91
|
inner: BooleanConstructor;
|
|
88
|
-
direction: import(
|
|
89
|
-
size: import(
|
|
90
|
-
withHeader: import(
|
|
91
|
-
modalFade: import(
|
|
92
|
-
headerAriaLevel: import(
|
|
92
|
+
direction: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
93
|
+
size: import('element-plus/es/utils/index').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
94
|
+
withHeader: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
95
|
+
modalFade: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
96
|
+
headerAriaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
93
97
|
appendToBody: BooleanConstructor;
|
|
94
|
-
appendTo: import(
|
|
98
|
+
appendTo: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
95
99
|
beforeClose: {
|
|
96
|
-
readonly type: import(
|
|
100
|
+
readonly type: import('vue').PropType<import('element-plus').DialogBeforeCloseFn>;
|
|
97
101
|
readonly required: false;
|
|
98
102
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
103
|
__epPropKey: true;
|
|
100
104
|
};
|
|
101
105
|
destroyOnClose: BooleanConstructor;
|
|
102
|
-
closeOnClickModal: import(
|
|
103
|
-
closeOnPressEscape: import(
|
|
104
|
-
lockScroll: import(
|
|
105
|
-
modal: import(
|
|
106
|
-
openDelay: import(
|
|
107
|
-
closeDelay: import(
|
|
106
|
+
closeOnClickModal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
107
|
+
closeOnPressEscape: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
108
|
+
lockScroll: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
109
|
+
modal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
110
|
+
openDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
111
|
+
closeDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
108
112
|
top: {
|
|
109
|
-
readonly type: import(
|
|
113
|
+
readonly type: import('vue').PropType<string>;
|
|
110
114
|
readonly required: false;
|
|
111
115
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
116
|
__epPropKey: true;
|
|
@@ -114,22 +118,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
118
|
modelValue: BooleanConstructor;
|
|
115
119
|
modalClass: StringConstructor;
|
|
116
120
|
width: {
|
|
117
|
-
readonly type: import(
|
|
121
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
118
122
|
readonly required: false;
|
|
119
123
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
120
124
|
__epPropKey: true;
|
|
121
125
|
};
|
|
122
126
|
zIndex: {
|
|
123
|
-
readonly type: import(
|
|
127
|
+
readonly type: import('vue').PropType<number>;
|
|
124
128
|
readonly required: false;
|
|
125
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
129
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
130
|
__epPropKey: true;
|
|
127
131
|
};
|
|
128
|
-
trapFocus: import(
|
|
132
|
+
trapFocus: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
129
133
|
center: BooleanConstructor;
|
|
130
134
|
alignCenter: BooleanConstructor;
|
|
131
135
|
closeIcon: {
|
|
132
|
-
readonly type: import(
|
|
136
|
+
readonly type: import('vue').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>>;
|
|
133
137
|
readonly required: false;
|
|
134
138
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
135
139
|
__epPropKey: true;
|
|
@@ -137,42 +141,42 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
141
|
draggable: BooleanConstructor;
|
|
138
142
|
overflow: BooleanConstructor;
|
|
139
143
|
fullscreen: BooleanConstructor;
|
|
140
|
-
showClose: import(
|
|
141
|
-
title: import(
|
|
142
|
-
ariaLevel: import(
|
|
144
|
+
showClose: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
145
|
+
title: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
146
|
+
ariaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
143
147
|
}>> & {
|
|
148
|
+
onClose?: (() => any) | undefined;
|
|
144
149
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
145
150
|
onOpen?: (() => any) | undefined;
|
|
146
|
-
onClose?: (() => any) | undefined;
|
|
147
151
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
148
152
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
149
153
|
onOpened?: (() => any) | undefined;
|
|
150
154
|
onClosed?: (() => any) | undefined;
|
|
151
155
|
}, {
|
|
156
|
+
size: import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
152
157
|
title: string;
|
|
153
|
-
direction: import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
154
|
-
overflow: boolean;
|
|
155
158
|
center: boolean;
|
|
156
|
-
|
|
159
|
+
showClose: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
157
160
|
modelValue: boolean;
|
|
158
161
|
appendTo: string;
|
|
159
162
|
appendToBody: boolean;
|
|
160
163
|
destroyOnClose: boolean;
|
|
161
|
-
closeOnClickModal: import(
|
|
162
|
-
closeOnPressEscape: import(
|
|
163
|
-
lockScroll: import(
|
|
164
|
-
modal: import(
|
|
164
|
+
closeOnClickModal: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
165
|
+
closeOnPressEscape: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
|
+
lockScroll: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
167
|
+
modal: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
165
168
|
openDelay: number;
|
|
166
169
|
closeDelay: number;
|
|
167
|
-
trapFocus: import(
|
|
170
|
+
trapFocus: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
168
171
|
headerAriaLevel: string;
|
|
169
172
|
alignCenter: boolean;
|
|
170
173
|
draggable: boolean;
|
|
174
|
+
overflow: boolean;
|
|
171
175
|
fullscreen: boolean;
|
|
172
|
-
showClose: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
173
176
|
ariaLevel: string;
|
|
174
|
-
|
|
175
|
-
|
|
177
|
+
direction: import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
178
|
+
withHeader: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
|
+
modalFade: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
176
180
|
inner: boolean;
|
|
177
181
|
}, {}>;
|
|
178
182
|
export default _default;
|