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
|
@@ -34,21 +34,17 @@ $ele: map.deep-merge(
|
|
|
34
34
|
'bg': elVar('bg-color'),
|
|
35
35
|
'shadow': 0 1px 4px rgba(0, 21, 41, 0.08),
|
|
36
36
|
'line-color': elVar('border-color', 'extra-light'),
|
|
37
|
-
'menu-height':
|
|
38
|
-
'
|
|
37
|
+
'menu-height': eleVar('header', 'height'),
|
|
38
|
+
'tools-padding': 12px,
|
|
39
|
+
'tool-padding': 12px,
|
|
40
|
+
'tool-height': eleVar('header', 'height'),
|
|
39
41
|
'tool-radius': 0,
|
|
40
|
-
'tool-hover-bg': rgba(0, 0, 0, 0.
|
|
41
|
-
'dark-tool-hover-bg': rgba(255, 255, 255, 0.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
'bg':
|
|
46
|
-
'shadow': 0 1px 4px rgba(0, 0, 0, 0.1)
|
|
47
|
-
),
|
|
48
|
-
'header-primary': (
|
|
49
|
-
// 主色顶栏
|
|
50
|
-
'hover-bg': transparent,
|
|
51
|
-
'active-bg': transparent
|
|
42
|
+
'tool-hover-bg': rgba(0, 0, 0, 0.04),
|
|
43
|
+
'dark-tool-hover-bg': rgba(255, 255, 255, 0.12),
|
|
44
|
+
'dark-color': #fff,
|
|
45
|
+
'dark-bg': #001529,
|
|
46
|
+
'dark-shadow': 0 1px 4px rgba(0, 0, 0, 0.1),
|
|
47
|
+
'primary-active-bg': transparent
|
|
52
48
|
),
|
|
53
49
|
'logo': (
|
|
54
50
|
// Logo
|
|
@@ -127,6 +123,7 @@ $ele: map.deep-merge(
|
|
|
127
123
|
// 消息提示
|
|
128
124
|
'color': elVar('text-color', 'regular'),
|
|
129
125
|
'size': elVar('font-size', 'base'),
|
|
126
|
+
'space': 16px,
|
|
130
127
|
'padding': 12px 14px,
|
|
131
128
|
'radius': elVar('border-radius', 'base'),
|
|
132
129
|
'shadow': elVar('box-shadow', 'light'),
|
|
@@ -139,12 +136,9 @@ $ele: map.deep-merge(
|
|
|
139
136
|
'close-color': elVar('text-color', 'placeholder'),
|
|
140
137
|
'close-hover-color': elVar('text-color', 'primary'),
|
|
141
138
|
'close-hover-bg': transparent,
|
|
142
|
-
'plain-bg': elVar('bg-color', 'overlay')
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
// 消息提示遮罩层
|
|
146
|
-
'color': elVar('overlay-color', 'lighter'),
|
|
147
|
-
'size': 1000vw
|
|
139
|
+
'plain-bg': elVar('bg-color', 'overlay'),
|
|
140
|
+
'alert-padding': 10px 14px,
|
|
141
|
+
'mask-color': elVar('overlay-color', 'lighter')
|
|
148
142
|
),
|
|
149
143
|
'bottom-bar': (
|
|
150
144
|
// 底部工具栏
|
|
@@ -206,8 +200,7 @@ $ele: map.deep-merge(
|
|
|
206
200
|
'icon-radius': elVar('border-radius', 'small'),
|
|
207
201
|
'body-padding': 20px,
|
|
208
202
|
'footer-padding': 10px 16px,
|
|
209
|
-
'footer-border': 1px solid elVar('border-color', 'light')
|
|
210
|
-
'inner-shadow': 0 0.8px 0 elVar('border-color', 'light') inset
|
|
203
|
+
'footer-border': 1px solid elVar('border-color', 'light')
|
|
211
204
|
),
|
|
212
205
|
'dropdown': (
|
|
213
206
|
// 下拉菜单
|
|
@@ -441,18 +434,6 @@ $ele: map.deep-merge(
|
|
|
441
434
|
'form-body-padding': 24px 22px 12px 20px,
|
|
442
435
|
'footer-padding': 10px 20px,
|
|
443
436
|
'footer-border': 1px solid elVar('border-color', 'light'),
|
|
444
|
-
'resize-bg':
|
|
445
|
-
linear-gradient(
|
|
446
|
-
135deg,
|
|
447
|
-
transparent 45%,
|
|
448
|
-
hsla(0, 0%, 60%, 0.88) 0,
|
|
449
|
-
hsla(0, 0%, 60%, 0.88) 55%,
|
|
450
|
-
transparent 0,
|
|
451
|
-
transparent 75%,
|
|
452
|
-
hsla(0, 0%, 60%, 0.88) 0,
|
|
453
|
-
hsla(0, 0%, 60%, 0.88) 85%,
|
|
454
|
-
transparent 0
|
|
455
|
-
),
|
|
456
437
|
'fullscreen-border': 1px solid elVar('border-color', 'light'),
|
|
457
438
|
'mobile-space': 16px
|
|
458
439
|
),
|
|
@@ -576,6 +557,9 @@ $ele: map.deep-merge(
|
|
|
576
557
|
'close-radius': 50%,
|
|
577
558
|
'close-hover-color': #fff,
|
|
578
559
|
'close-hover-bg': elVar('color-error'),
|
|
560
|
+
'active-close-color': elVar('text-color', 'secondary'),
|
|
561
|
+
'active-close-hover-color': #fff,
|
|
562
|
+
'active-close-hover-bg': elVar('color-error'),
|
|
579
563
|
'icon-font-size': 15px,
|
|
580
564
|
'tool-color': elVar('text-color', 'secondary'),
|
|
581
565
|
'tool-font-size': elVar('font-size', 'base'),
|
|
@@ -584,58 +568,48 @@ $ele: map.deep-merge(
|
|
|
584
568
|
'active-index': 3,
|
|
585
569
|
'transition': (color, background-color, border-color, box-shadow),
|
|
586
570
|
'scroll-left-shadow': inset 10px 0 10px -10px rgba(0, 0, 0, 0.15),
|
|
587
|
-
'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.15)
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
'
|
|
592
|
-
'
|
|
593
|
-
'font-size':
|
|
594
|
-
'
|
|
595
|
-
'
|
|
596
|
-
'
|
|
597
|
-
'
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
'
|
|
602
|
-
'
|
|
603
|
-
'
|
|
604
|
-
'
|
|
605
|
-
'
|
|
606
|
-
'
|
|
607
|
-
'
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
'
|
|
612
|
-
'hover-
|
|
613
|
-
'
|
|
614
|
-
'
|
|
615
|
-
'
|
|
616
|
-
'active-
|
|
617
|
-
'
|
|
618
|
-
'
|
|
619
|
-
'
|
|
620
|
-
'
|
|
621
|
-
'
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
'
|
|
626
|
-
'
|
|
627
|
-
'
|
|
628
|
-
'
|
|
629
|
-
),
|
|
630
|
-
'tab-button': (
|
|
631
|
-
// 标签页按钮风格
|
|
632
|
-
'space': 8px,
|
|
633
|
-
'radius': 4px,
|
|
634
|
-
'bg': hsla(0, 0%, 100%, 0.68),
|
|
635
|
-
'hover-bg': elVar('bg-color'),
|
|
636
|
-
'active-bg': elVar('bg-color', 'overlay'),
|
|
637
|
-
'active-shadow': none,
|
|
638
|
-
'active-weight': normal
|
|
571
|
+
'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.15),
|
|
572
|
+
'sm-height': 32px,
|
|
573
|
+
'sm-padding': 12px,
|
|
574
|
+
'sm-font-size': elVar('font-size', 'small'),
|
|
575
|
+
'sm-close-size': elVar('font-size', 'small'),
|
|
576
|
+
'sm-close-font-size': elVar('font-size', 'small'),
|
|
577
|
+
'sm-icon-font-size': 14px,
|
|
578
|
+
'sm-tool-font-size': elVar('font-size', 'small'),
|
|
579
|
+
'lg-height': 52px,
|
|
580
|
+
'lg-padding': 22px,
|
|
581
|
+
'lg-font-size': elVar('font-size', 'medium'),
|
|
582
|
+
'lg-close-size': elVar('font-size', 'medium'),
|
|
583
|
+
'lg-close-font-size': elVar('font-size', 'medium'),
|
|
584
|
+
'lg-icon-font-size': 17px,
|
|
585
|
+
'lg-tool-font-size': elVar('font-size', 'medium'),
|
|
586
|
+
'simple-radius': 0,
|
|
587
|
+
'simple-hover-color': elVar('text-color', 'primary'),
|
|
588
|
+
'simple-hover-bg': rgba(0, 0, 0, 0.025),
|
|
589
|
+
'simple-active-color': elVar('color-primary'),
|
|
590
|
+
'simple-active-bg': elVar('color-primary', 'light-9'),
|
|
591
|
+
'simple-active-weight': normal,
|
|
592
|
+
'simple-active-line': 2px,
|
|
593
|
+
'simple-line-display': block,
|
|
594
|
+
'simple-angle-size': 0px,
|
|
595
|
+
'simple-angle-display': none,
|
|
596
|
+
'simple-tool-hover-bg': eleVar('tab', 'simple-hover-bg'),
|
|
597
|
+
'indicator-dot-size': 8px,
|
|
598
|
+
'indicator-dot-color': #d9d9d9,
|
|
599
|
+
'indicator-dot-hover-color': #c8c8c8,
|
|
600
|
+
'indicator-dot-active-color': elVar('color-primary'),
|
|
601
|
+
'indicator-margin': 6px,
|
|
602
|
+
'tag-space': 4px,
|
|
603
|
+
'tag-radius': elVar('border-radius', 'base'),
|
|
604
|
+
'button-space': 8px,
|
|
605
|
+
'button-radius': 4px,
|
|
606
|
+
'button-bg': hsla(0, 0%, 100%, 0.66),
|
|
607
|
+
'button-hover-color': elVar('color-primary'),
|
|
608
|
+
'button-hover-bg': elVar('bg-color'),
|
|
609
|
+
'button-active-color': elVar('color-primary'),
|
|
610
|
+
'button-active-bg': elVar('bg-color', 'overlay'),
|
|
611
|
+
'button-active-shadow': none,
|
|
612
|
+
'button-active-weight': normal
|
|
639
613
|
),
|
|
640
614
|
'text': (
|
|
641
615
|
// 文本
|
|
@@ -995,85 +969,84 @@ $ele: map.deep-merge(
|
|
|
995
969
|
'danger-border-color': elVar('color-error', 'light-7'),
|
|
996
970
|
'danger-close-color': elVar('color-error'),
|
|
997
971
|
'danger-close-hover-color': elVar('color-error'),
|
|
998
|
-
'danger-close-hover-bg': transparent
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
'
|
|
1003
|
-
'
|
|
1004
|
-
'
|
|
1005
|
-
'
|
|
1006
|
-
'close-
|
|
1007
|
-
'close-
|
|
1008
|
-
'close-
|
|
1009
|
-
'
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
'
|
|
1014
|
-
'
|
|
1015
|
-
'
|
|
1016
|
-
'
|
|
1017
|
-
'close-
|
|
1018
|
-
'close-
|
|
1019
|
-
'
|
|
1020
|
-
'
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
'color': #fff,
|
|
1025
|
-
'bg':
|
|
1026
|
-
'
|
|
1027
|
-
'
|
|
1028
|
-
'close-
|
|
1029
|
-
'info-color': elVar('text-color', 'primary'),
|
|
1030
|
-
'info-bg':
|
|
1031
|
-
'
|
|
1032
|
-
'
|
|
1033
|
-
'
|
|
1034
|
-
'success-color': #fff,
|
|
1035
|
-
'success-bg':
|
|
1036
|
-
'
|
|
1037
|
-
'
|
|
1038
|
-
'
|
|
1039
|
-
'warning-color': #fff,
|
|
1040
|
-
'warning-bg':
|
|
1041
|
-
'
|
|
1042
|
-
'
|
|
1043
|
-
'
|
|
1044
|
-
'danger-color': #fff,
|
|
1045
|
-
'danger-bg':
|
|
1046
|
-
'
|
|
1047
|
-
'
|
|
1048
|
-
'
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
'color': elVar('color-
|
|
1053
|
-
'
|
|
1054
|
-
'close-color': elVar('color
|
|
1055
|
-
'close-hover-
|
|
1056
|
-
'
|
|
1057
|
-
'
|
|
1058
|
-
'
|
|
1059
|
-
'
|
|
1060
|
-
'
|
|
1061
|
-
'
|
|
1062
|
-
'
|
|
1063
|
-
'
|
|
1064
|
-
'
|
|
1065
|
-
'
|
|
1066
|
-
'
|
|
1067
|
-
'
|
|
1068
|
-
'
|
|
1069
|
-
'
|
|
1070
|
-
'
|
|
1071
|
-
'
|
|
1072
|
-
'
|
|
1073
|
-
'
|
|
1074
|
-
'
|
|
1075
|
-
'danger-
|
|
1076
|
-
'danger-close-hover-bg': transparent
|
|
972
|
+
'danger-close-hover-bg': transparent,
|
|
973
|
+
'round-radius': 12px,
|
|
974
|
+
'round-padding': 0 10px,
|
|
975
|
+
'sm-size': 12px,
|
|
976
|
+
'sm-height': 20px,
|
|
977
|
+
'sm-padding': 0 4px,
|
|
978
|
+
'sm-radius': elVar('border-radius', 'small'),
|
|
979
|
+
'sm-close-size': 13px,
|
|
980
|
+
'sm-close-padding': 0,
|
|
981
|
+
'sm-close-margin': 0 -2px 0 2px,
|
|
982
|
+
'sm-close-radius': 2px,
|
|
983
|
+
'sm-round-radius': 10px,
|
|
984
|
+
'sm-round-padding': 0 6px,
|
|
985
|
+
'lg-size': 14px,
|
|
986
|
+
'lg-height': 32px,
|
|
987
|
+
'lg-padding': 0 12px,
|
|
988
|
+
'lg-radius': elVar('border-radius', 'base'),
|
|
989
|
+
'lg-close-size': 15px,
|
|
990
|
+
'lg-close-padding': 2px,
|
|
991
|
+
'lg-close-margin': 0 -8px 0 4px,
|
|
992
|
+
'lg-close-radius': 4px,
|
|
993
|
+
'lg-round-radius': 16px,
|
|
994
|
+
'lg-round-padding': 0 14px,
|
|
995
|
+
'dark-color': #fff,
|
|
996
|
+
'dark-bg': elVar('color-primary'),
|
|
997
|
+
'dark-close-color': #fff,
|
|
998
|
+
'dark-close-hover-color': #fff,
|
|
999
|
+
'dark-close-hover-bg': transparent,
|
|
1000
|
+
'dark-info-color': elVar('text-color', 'primary'),
|
|
1001
|
+
'dark-info-bg': elVar('color-info', 'light-7'),
|
|
1002
|
+
'dark-info-close-color': elVar('text-color', 'secondary'),
|
|
1003
|
+
'dark-info-close-hover-color': elVar('text-color', 'primary'),
|
|
1004
|
+
'dark-info-close-hover-bg': transparent,
|
|
1005
|
+
'dark-success-color': #fff,
|
|
1006
|
+
'dark-success-bg': elVar('color-success'),
|
|
1007
|
+
'dark-success-close-color': #fff,
|
|
1008
|
+
'dark-success-close-hover-color': #fff,
|
|
1009
|
+
'dark-success-close-hover-bg': transparent,
|
|
1010
|
+
'dark-warning-color': #fff,
|
|
1011
|
+
'dark-warning-bg': elVar('color-warning'),
|
|
1012
|
+
'dark-warning-close-color': #fff,
|
|
1013
|
+
'dark-warning-close-hover-color': #fff,
|
|
1014
|
+
'dark-warning-close-hover-bg': transparent,
|
|
1015
|
+
'dark-danger-color': #fff,
|
|
1016
|
+
'dark-danger-bg': elVar('color-error'),
|
|
1017
|
+
'dark-danger-close-color': #fff,
|
|
1018
|
+
'dark-danger-close-hover-color': #fff,
|
|
1019
|
+
'dark-danger-close-hover-bg': transparent,
|
|
1020
|
+
'plain-color': elVar('color-primary'),
|
|
1021
|
+
'plain-border-color': elVar('color-primary'),
|
|
1022
|
+
'plain-close-color': elVar('color-primary'),
|
|
1023
|
+
'plain-close-hover-color': elVar('color-primary'),
|
|
1024
|
+
'plain-close-hover-bg': transparent,
|
|
1025
|
+
'plain-info-color': elVar('text-color', 'regular'),
|
|
1026
|
+
'plain-info-border-color': elVar('color-info', 'light-3'),
|
|
1027
|
+
'plain-info-close-color': elVar('text-color', 'secondary'),
|
|
1028
|
+
'plain-info-close-hover-color': elVar('text-color', 'primary'),
|
|
1029
|
+
'plain-info-close-hover-bg': transparent,
|
|
1030
|
+
'plain-success-color': elVar('color-success'),
|
|
1031
|
+
'plain-success-border-color': elVar('color-success'),
|
|
1032
|
+
'plain-success-close-color': elVar('color-success'),
|
|
1033
|
+
'plain-success-close-hover-color': elVar('color-success'),
|
|
1034
|
+
'plain-success-close-hover-bg': transparent,
|
|
1035
|
+
'plain-warning-color': elVar('color-warning'),
|
|
1036
|
+
'plain-warning-border-color': elVar('color-warning'),
|
|
1037
|
+
'plain-warning-close-color': elVar('color-warning'),
|
|
1038
|
+
'plain-warning-close-hover-color': elVar('color-warning'),
|
|
1039
|
+
'plain-warning-close-hover-bg': transparent,
|
|
1040
|
+
'plain-danger-color': elVar('color-error'),
|
|
1041
|
+
'plain-danger-border-color': elVar('color-error'),
|
|
1042
|
+
'plain-danger-close-color': elVar('color-error'),
|
|
1043
|
+
'plain-danger-close-hover-color': elVar('color-error'),
|
|
1044
|
+
'plain-danger-close-hover-bg': transparent,
|
|
1045
|
+
'hit-border-color': elVar('color-primary'),
|
|
1046
|
+
'hit-info-border-color': elVar('color-info', 'light-3'),
|
|
1047
|
+
'hit-success-border-color': elVar('color-success'),
|
|
1048
|
+
'hit-warning-border-color': elVar('color-warning'),
|
|
1049
|
+
'hit-danger-border-color': elVar('color-error')
|
|
1077
1050
|
),
|
|
1078
1051
|
'tree': (
|
|
1079
1052
|
// 树
|
|
@@ -1135,7 +1108,8 @@ $ele: map.deep-merge(
|
|
|
1135
1108
|
'year-width': 58px,
|
|
1136
1109
|
'year-height': 26px,
|
|
1137
1110
|
'year-radius': 16px,
|
|
1138
|
-
'year-padding':
|
|
1111
|
+
'year-padding': 22px 0,
|
|
1112
|
+
'year-space': 4px 0,
|
|
1139
1113
|
'month-padding': 22px 0,
|
|
1140
1114
|
'month-space': 4px 0,
|
|
1141
1115
|
'end-margin': 3.5px,
|
|
@@ -10,12 +10,7 @@ $ele-rounded: map.deep-merge(
|
|
|
10
10
|
'menu-height': 38px,
|
|
11
11
|
'tool-height': 38px,
|
|
12
12
|
'tool-radius': elVar('border-radius', 'base'),
|
|
13
|
-
'
|
|
14
|
-
'dark-tool-hover-bg': rgba(255, 255, 255, 0.12)
|
|
15
|
-
),
|
|
16
|
-
'header-primary': (
|
|
17
|
-
'hover-bg': rgba(255, 255, 255, 0.12),
|
|
18
|
-
'active-bg': rgba(255, 255, 255, 0.24)
|
|
13
|
+
'primary-active-bg': rgba(255, 255, 255, 0.24)
|
|
19
14
|
),
|
|
20
15
|
'sidebar': (
|
|
21
16
|
'tool-height': 38px
|
|
@@ -135,30 +130,21 @@ $ele-rounded: map.deep-merge(
|
|
|
135
130
|
'close-radius': elVar('border-radius', 'small'),
|
|
136
131
|
'close-hover-color': elVar('text-color', 'primary'),
|
|
137
132
|
'close-hover-bg': hsla(0, 0%, 60%, 0.15),
|
|
138
|
-
'
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
'close-size': 14px
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
'
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
'
|
|
148
|
-
'
|
|
149
|
-
'
|
|
150
|
-
'
|
|
151
|
-
'
|
|
152
|
-
'
|
|
153
|
-
'tool-hover-bg': transparent
|
|
154
|
-
),
|
|
155
|
-
'tab-indicator': (
|
|
156
|
-
'hover-color': elVar('color-primary')
|
|
157
|
-
),
|
|
158
|
-
'tab-button': (
|
|
159
|
-
'radius': $radius-large,
|
|
160
|
-
'active-shadow': 0 0 4px 2px rgba(0, 0, 0, 0.04),
|
|
161
|
-
'active-weight': bold
|
|
133
|
+
'active-close-hover-color': elVar('text-color', 'primary'),
|
|
134
|
+
'active-close-hover-bg': hsla(0, 0%, 60%, 0.15),
|
|
135
|
+
'transition': (color, box-shadow),
|
|
136
|
+
'sm-close-size': 14px,
|
|
137
|
+
'lg-close-size': 20px,
|
|
138
|
+
'simple-radius': 8px 8px 0px 0px,
|
|
139
|
+
'simple-active-weight': bold,
|
|
140
|
+
'simple-active-line': 0px,
|
|
141
|
+
'simple-line-display': none,
|
|
142
|
+
'simple-angle-size': 10px,
|
|
143
|
+
'simple-angle-display': block,
|
|
144
|
+
'simple-tool-hover-bg': transparent,
|
|
145
|
+
'button-radius': $radius-large,
|
|
146
|
+
'button-active-shadow': 0 0 4px 2px rgba(0, 0, 0, 0.04),
|
|
147
|
+
'button-active-weight': bold
|
|
162
148
|
),
|
|
163
149
|
'text': (
|
|
164
150
|
'heading-weight': bold
|
|
@@ -232,21 +218,17 @@ $ele-rounded: map.deep-merge(
|
|
|
232
218
|
'info-close-hover-bg': hsla(0, 0%, 60%, 0.25),
|
|
233
219
|
'success-close-hover-bg': elVar('color-success', 'light-8'),
|
|
234
220
|
'warning-close-hover-bg': elVar('color-warning', 'light-8'),
|
|
235
|
-
'danger-close-hover-bg': elVar('color-error', 'light-8')
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
'close-hover-bg': rgba(255, 255, 255, 0.2),
|
|
239
|
-
'
|
|
240
|
-
'
|
|
241
|
-
'
|
|
242
|
-
'
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
'close-hover-bg': elVar('color-
|
|
246
|
-
'info-close-hover-bg': hsla(0, 0%, 60%, 0.25),
|
|
247
|
-
'success-close-hover-bg': elVar('color-success', 'light-8'),
|
|
248
|
-
'warning-close-hover-bg': elVar('color-warning', 'light-8'),
|
|
249
|
-
'danger-close-hover-bg': elVar('color-error', 'light-8')
|
|
221
|
+
'danger-close-hover-bg': elVar('color-error', 'light-8'),
|
|
222
|
+
'dark-close-hover-bg': rgba(255, 255, 255, 0.2),
|
|
223
|
+
'dark-info-close-hover-bg': hsla(0, 0%, 60%, 0.25),
|
|
224
|
+
'dark-success-close-hover-bg': rgba(255, 255, 255, 0.2),
|
|
225
|
+
'dark-warning-close-hover-bg': rgba(255, 255, 255, 0.2),
|
|
226
|
+
'dark-danger-close-hover-bg': rgba(255, 255, 255, 0.2),
|
|
227
|
+
'plain-close-hover-bg': elVar('color-primary', 'light-8'),
|
|
228
|
+
'plain-info-close-hover-bg': hsla(0, 0%, 60%, 0.25),
|
|
229
|
+
'plain-success-close-hover-bg': elVar('color-success', 'light-8'),
|
|
230
|
+
'plain-warning-close-hover-bg': elVar('color-warning', 'light-8'),
|
|
231
|
+
'plain-danger-close-hover-bg': elVar('color-error', 'light-8')
|
|
250
232
|
),
|
|
251
233
|
'tree': (
|
|
252
234
|
'item-margin': 2px,
|
package/es/utils/core.d.ts
CHANGED
|
@@ -142,3 +142,10 @@ export declare function pick<T extends object, K extends keyof T>(obj: T, fields
|
|
|
142
142
|
* @param el 元素节点
|
|
143
143
|
*/
|
|
144
144
|
export declare function contentIsEllipsis(el: HTMLElement, direction?: 'horizontal' | 'vertical'): boolean;
|
|
145
|
+
/**
|
|
146
|
+
* 查找子元素
|
|
147
|
+
* @param parentEl 父元素
|
|
148
|
+
* @param className 类名
|
|
149
|
+
* @param attr 属性
|
|
150
|
+
*/
|
|
151
|
+
export declare function queryChild(parentEl: Element, className?: string, attr?: string[]): Element | undefined;
|
package/es/utils/core.js
CHANGED
|
@@ -221,9 +221,9 @@ function contentIsEllipsis(el, direction) {
|
|
|
221
221
|
range.setEnd(el, el.childNodes.length);
|
|
222
222
|
const { width, height } = range.getBoundingClientRect();
|
|
223
223
|
const floorW = Math.floor(width);
|
|
224
|
-
const rangeWidth = width - floorW <
|
|
224
|
+
const rangeWidth = width - floorW < 8e-3 ? floorW : width;
|
|
225
225
|
const floorH = Math.floor(height);
|
|
226
|
-
const rangeHeight = height - floorH <
|
|
226
|
+
const rangeHeight = height - floorH < 8e-3 ? floorH : height;
|
|
227
227
|
const style = getCurrentStyle(el);
|
|
228
228
|
const top = Number.parseInt(style.paddingTop) || 0;
|
|
229
229
|
const left = Number.parseInt(style.paddingLeft) || 0;
|
|
@@ -239,6 +239,19 @@ function contentIsEllipsis(el, direction) {
|
|
|
239
239
|
}
|
|
240
240
|
return rangeWidth + horizontalPadding > el.offsetWidth || rangeHeight + verticalPadding > el.offsetHeight || el.scrollWidth > el.offsetWidth;
|
|
241
241
|
}
|
|
242
|
+
function queryChild(parentEl, className, attr) {
|
|
243
|
+
return Array.from(parentEl.children).find((el) => {
|
|
244
|
+
if (className && !el.classList.contains(className)) {
|
|
245
|
+
return false;
|
|
246
|
+
}
|
|
247
|
+
if (attr != null && attr[0] != null) {
|
|
248
|
+
if (el.getAttribute(attr[0]) != attr[1]) {
|
|
249
|
+
return false;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return true;
|
|
253
|
+
});
|
|
254
|
+
}
|
|
242
255
|
export {
|
|
243
256
|
assignObject,
|
|
244
257
|
bd09ToGcj02,
|
|
@@ -255,6 +268,7 @@ export {
|
|
|
255
268
|
mapTree,
|
|
256
269
|
omit,
|
|
257
270
|
pick,
|
|
271
|
+
queryChild,
|
|
258
272
|
random,
|
|
259
273
|
requestFullscreen,
|
|
260
274
|
throttle,
|
package/es/utils/menu-util.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { MenuItem } from '../ele-pro-layout/types';
|
|
2
|
+
import { RouteRecordRaw, _RouteRecordBase, RouteComponent } from 'vue-router';
|
|
3
|
+
|
|
3
4
|
/**
|
|
4
5
|
* 获取路由组件方法
|
|
5
6
|
*/
|
package/es/utils/menu-util.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
1
|
+
import { defineComponent, computed, h } from "vue";
|
|
2
2
|
import { useLayoutState } from "../ele-config-provider/receiver";
|
|
3
3
|
import { isExternalLink, eachTree } from "./core";
|
|
4
4
|
function camelCase(str) {
|
|
@@ -33,10 +33,7 @@ function getRouteComponent(menu, name, func) {
|
|
|
33
33
|
const src = menu.component;
|
|
34
34
|
const isAlive = ((_a = menu.meta) == null ? void 0 : _a.keepAlive) !== false;
|
|
35
35
|
const layoutProvide = useLayoutState();
|
|
36
|
-
const keepAlive = computed(() =>
|
|
37
|
-
var _a2;
|
|
38
|
-
return !!((_a2 = unref(layoutProvide)) == null ? void 0 : _a2.keepAlive);
|
|
39
|
-
});
|
|
36
|
+
const keepAlive = computed(() => !!layoutProvide.keepAlive);
|
|
40
37
|
return () => {
|
|
41
38
|
if (!isAlive || !keepAlive.value) {
|
|
42
39
|
return h("iframe", { src, class: "ele-admin-iframe" });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ElMessageBoxOptions, MessageBoxData as ElMessageBoxData } from 'element-plus';
|
|
2
|
+
import { AppContext } from 'vue';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 消息弹窗配置
|
|
6
|
+
*/
|
|
7
|
+
export interface MessageBoxOptions extends ElMessageBoxOptions {
|
|
8
|
+
/** 是否限制在主体内部 */
|
|
9
|
+
inner?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 消息弹窗方法
|
|
13
|
+
*/
|
|
14
|
+
export type MessageBoxMethod = (message: ElMessageBoxOptions['message'], title: ElMessageBoxOptions['title'], options?: MessageBoxOptions, context?: AppContext | null) => Promise<ElMessageBoxData>;
|
|
15
|
+
/**
|
|
16
|
+
* 消息弹窗
|
|
17
|
+
*/
|
|
18
|
+
export interface MessageBox {
|
|
19
|
+
(options?: MessageBoxOptions, context?: AppContext | null): Promise<ElMessageBoxData>;
|
|
20
|
+
alert: MessageBoxMethod;
|
|
21
|
+
confirm: MessageBoxMethod;
|
|
22
|
+
prompt: MessageBoxMethod;
|
|
23
|
+
close: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare function useMessageBox(globalOpt?: MessageBoxOptions): MessageBox;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { getCurrentInstance, onActivated, onDeactivated } from "vue";
|
|
2
|
+
import { ElMessageBox } from "element-plus";
|
|
3
|
+
import { useLayoutState, useGlobalProps } from "../ele-config-provider/receiver";
|
|
4
|
+
import { omit, queryChild } from "./core";
|
|
5
|
+
function getWrapEl(bodyEl) {
|
|
6
|
+
const parent = bodyEl || document.body;
|
|
7
|
+
const className = "ele-message-box-wrapper";
|
|
8
|
+
const el = queryChild(parent, className);
|
|
9
|
+
if (el != null) {
|
|
10
|
+
return el;
|
|
11
|
+
}
|
|
12
|
+
const elem = document.createElement("div");
|
|
13
|
+
elem.classList.add(className);
|
|
14
|
+
parent.appendChild(elem);
|
|
15
|
+
return elem;
|
|
16
|
+
}
|
|
17
|
+
function useMessageBox(globalOpt) {
|
|
18
|
+
var _a, _b;
|
|
19
|
+
const layoutState = useLayoutState();
|
|
20
|
+
const globalProps = useGlobalProps("messageBox");
|
|
21
|
+
const appContext = (_b = (_a = getCurrentInstance) == null ? void 0 : _a()) == null ? void 0 : _b.appContext;
|
|
22
|
+
const state = { wrapEl: null, isActivated: true };
|
|
23
|
+
const hideClass = "is-hide";
|
|
24
|
+
onActivated(() => {
|
|
25
|
+
state.isActivated = true;
|
|
26
|
+
state.wrapEl && state.wrapEl.classList.remove(hideClass);
|
|
27
|
+
});
|
|
28
|
+
onDeactivated(() => {
|
|
29
|
+
state.isActivated = false;
|
|
30
|
+
state.wrapEl && state.wrapEl.classList.add(hideClass);
|
|
31
|
+
});
|
|
32
|
+
const getOption = (options) => {
|
|
33
|
+
const opt = {
|
|
34
|
+
...globalProps.value || {},
|
|
35
|
+
...globalOpt || {},
|
|
36
|
+
...options || {}
|
|
37
|
+
};
|
|
38
|
+
if (opt.inner) {
|
|
39
|
+
if (opt.appendTo == null && layoutState.modalsEl != null) {
|
|
40
|
+
if (state.wrapEl == null) {
|
|
41
|
+
state.wrapEl = getWrapEl(layoutState.modalsEl);
|
|
42
|
+
}
|
|
43
|
+
opt.appendTo = state.wrapEl;
|
|
44
|
+
}
|
|
45
|
+
opt.lockScroll = false;
|
|
46
|
+
}
|
|
47
|
+
return omit(opt, ["inner"]);
|
|
48
|
+
};
|
|
49
|
+
const messageBox = function(options) {
|
|
50
|
+
return ElMessageBox(getOption(options), appContext);
|
|
51
|
+
};
|
|
52
|
+
messageBox.alert = function(message, title, options, context) {
|
|
53
|
+
const ctx = context ?? appContext;
|
|
54
|
+
return ElMessageBox.alert(message, title, getOption(options), ctx);
|
|
55
|
+
};
|
|
56
|
+
messageBox.confirm = function(message, title, options, context) {
|
|
57
|
+
const ctx = context ?? appContext;
|
|
58
|
+
return ElMessageBox.confirm(message, title, getOption(options), ctx);
|
|
59
|
+
};
|
|
60
|
+
messageBox.prompt = function(message, title, options, context) {
|
|
61
|
+
const ctx = context ?? appContext;
|
|
62
|
+
return ElMessageBox.prompt(message, title, getOption(options), ctx);
|
|
63
|
+
};
|
|
64
|
+
messageBox.close = function() {
|
|
65
|
+
return ElMessageBox.close();
|
|
66
|
+
};
|
|
67
|
+
return messageBox;
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
useMessageBox
|
|
71
|
+
};
|