ele-admin-plus 1.1.8-beta.5 → 1.1.8-beta.6
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/ele-drawer/index.d.ts +6 -2
- package/es/ele-drawer/index.js +62 -6
- package/es/ele-drawer/props.d.ts +2 -0
- package/es/ele-drawer/props.js +3 -1
- package/es/ele-drawer/style/index.scss +90 -17
- package/es/ele-edit-tag/index.d.ts +4 -0
- package/es/ele-edit-tag/index.js +6 -4
- package/es/ele-edit-tag/props.d.ts +4 -0
- package/es/ele-edit-tag/props.js +4 -0
- package/es/ele-edit-tag/style/index.scss +11 -6
- package/es/ele-icon-select/components/icon-grid.js +42 -39
- package/es/ele-icon-select/style/index.js +1 -0
- package/es/ele-icon-select/style/index.scss +5 -3
- package/es/ele-modal/index.d.ts +5 -5
- package/es/ele-modal/index.js +28 -26
- package/es/ele-modal/style/css-var.scss +0 -7
- package/es/ele-modal/style/index.scss +8 -3
- package/es/ele-pro-layout/style/css-var.scss +9 -3
- package/es/ele-tabs/index.js +20 -16
- package/es/ele-tabs/style/css-var.scss +3 -1
- package/es/icons/AnalysisOutlined.d.ts +2 -0
- package/es/icons/AnalysisOutlined.js +35 -0
- package/es/icons/ApplicationOutlined.d.ts +2 -0
- package/es/icons/ApplicationOutlined.js +26 -0
- package/es/icons/AppstoreAddOutlined.d.ts +2 -0
- package/es/icons/AppstoreAddOutlined.js +35 -0
- package/es/icons/AppstoreOutlined.d.ts +2 -0
- package/es/icons/AppstoreOutlined.js +35 -0
- package/es/icons/BellOutlined.d.ts +2 -0
- package/es/icons/BellOutlined.js +29 -0
- package/es/icons/BookOutlined.d.ts +2 -0
- package/es/icons/BookOutlined.js +29 -0
- package/es/icons/CalendarOutlined.d.ts +2 -0
- package/es/icons/CalendarOutlined.js +29 -0
- package/es/icons/CaretDownFilled.d.ts +2 -0
- package/es/icons/CaretDownFilled.js +26 -0
- package/es/icons/CaretUpFilled.d.ts +2 -0
- package/es/icons/CaretUpFilled.js +26 -0
- package/es/icons/CityOutlined.d.ts +2 -0
- package/es/icons/CityOutlined.js +35 -0
- package/es/icons/ClockCircleOutlined.d.ts +2 -0
- package/es/icons/ClockCircleOutlined.js +32 -0
- package/es/icons/CloseCircleOutlined.d.ts +2 -0
- package/es/icons/CloseCircleOutlined.js +31 -0
- package/es/icons/CloudUploadOutlined.d.ts +2 -0
- package/es/icons/CloudUploadOutlined.js +32 -0
- package/es/icons/ClusterOutlined.d.ts +2 -0
- package/es/icons/ClusterOutlined.js +29 -0
- package/es/icons/CodeOutlined.d.ts +2 -0
- package/es/icons/CodeOutlined.js +34 -0
- package/es/icons/CompassOutlined.d.ts +2 -0
- package/es/icons/CompassOutlined.js +34 -0
- package/es/icons/ConnectionOutlined.d.ts +2 -0
- package/es/icons/ConnectionOutlined.js +31 -0
- package/es/icons/ControlOutlined.d.ts +2 -0
- package/es/icons/ControlOutlined.js +33 -0
- package/es/icons/CpuOutlined.d.ts +2 -0
- package/es/icons/CpuOutlined.js +30 -0
- package/es/icons/DashboardOutlined.d.ts +2 -0
- package/es/icons/DashboardOutlined.js +37 -0
- package/es/icons/DatabaseOutlined.d.ts +2 -0
- package/es/icons/DatabaseOutlined.js +35 -0
- package/es/icons/DeleteOutlined.d.ts +2 -0
- package/es/icons/DeleteOutlined.js +34 -0
- package/es/icons/DesktopOutlined.d.ts +2 -0
- package/es/icons/DesktopOutlined.js +29 -0
- package/es/icons/DownloadOutlined.d.ts +2 -0
- package/es/icons/DownloadOutlined.js +32 -0
- package/es/icons/DragOutlined.d.ts +2 -0
- package/es/icons/DragOutlined.js +30 -0
- package/es/icons/EditOutlined.d.ts +2 -0
- package/es/icons/EditOutlined.js +32 -0
- package/es/icons/FolderAddOutlined.d.ts +2 -0
- package/es/icons/FolderAddOutlined.js +31 -0
- package/es/icons/FolderOutlined.d.ts +2 -0
- package/es/icons/FolderOutlined.js +29 -0
- package/es/icons/FormOutlined.d.ts +2 -0
- package/es/icons/FormOutlined.js +31 -0
- package/es/icons/FundOutlined.d.ts +2 -0
- package/es/icons/FundOutlined.js +31 -0
- package/es/icons/GlobalOutlined.d.ts +2 -0
- package/es/icons/GlobalOutlined.js +28 -0
- package/es/icons/IdcardOutlined.d.ts +2 -0
- package/es/icons/IdcardOutlined.js +38 -0
- package/es/icons/LinkOutlined.d.ts +2 -0
- package/es/icons/LinkOutlined.js +32 -0
- package/es/icons/LockOutlined.d.ts +2 -0
- package/es/icons/LockOutlined.js +32 -0
- package/es/icons/LogOutlined.d.ts +2 -0
- package/es/icons/LogOutlined.js +35 -0
- package/es/icons/LogoutOutlined.d.ts +2 -0
- package/es/icons/LogoutOutlined.js +31 -0
- package/es/icons/MailOutlined.d.ts +2 -0
- package/es/icons/MailOutlined.js +29 -0
- package/es/icons/MenuFoldOutlined.d.ts +2 -0
- package/es/icons/MenuFoldOutlined.js +28 -0
- package/es/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/es/icons/MenuUnfoldOutlined.js +28 -0
- package/es/icons/MessageOutlined.d.ts +2 -0
- package/es/icons/MessageOutlined.js +50 -0
- package/es/icons/MinusCircleOutlined.d.ts +2 -0
- package/es/icons/MinusCircleOutlined.js +31 -0
- package/es/icons/MobileOutlined.d.ts +2 -0
- package/es/icons/MobileOutlined.js +37 -0
- package/es/icons/MoonOutlined.d.ts +2 -0
- package/es/icons/MoonOutlined.js +29 -0
- package/es/icons/MoreOutlined.d.ts +2 -0
- package/es/icons/MoreOutlined.js +42 -0
- package/es/icons/PauseFilled.d.ts +2 -0
- package/es/icons/PauseFilled.js +30 -0
- package/es/icons/PieChartOutlined.d.ts +2 -0
- package/es/icons/PieChartOutlined.js +31 -0
- package/es/icons/PlayFilled.d.ts +2 -0
- package/es/icons/PlayFilled.js +26 -0
- package/es/icons/PlusCircleOutlined.d.ts +2 -0
- package/es/icons/PlusCircleOutlined.js +31 -0
- package/es/icons/ProtectOutlined.d.ts +2 -0
- package/es/icons/ProtectOutlined.js +32 -0
- package/es/icons/QuestionCircleOutlined.d.ts +2 -0
- package/es/icons/QuestionCircleOutlined.js +39 -0
- package/es/icons/ShoppingOutlined.d.ts +2 -0
- package/es/icons/ShoppingOutlined.js +29 -0
- package/es/icons/StarFilled.d.ts +2 -0
- package/es/icons/StarFilled.js +26 -0
- package/es/icons/StepBackwardFilled.d.ts +2 -0
- package/es/icons/StepBackwardFilled.js +33 -0
- package/es/icons/StepForwardFilled.d.ts +2 -0
- package/es/icons/StepForwardFilled.js +33 -0
- package/es/icons/SuitcaseOutlined.d.ts +2 -0
- package/es/icons/SuitcaseOutlined.js +29 -0
- package/es/icons/SunOutlined.d.ts +2 -0
- package/es/icons/SunOutlined.js +29 -0
- package/es/icons/TableOutlined.d.ts +2 -0
- package/es/icons/TableOutlined.js +29 -0
- package/es/icons/TagOutlined.d.ts +2 -0
- package/es/icons/TagOutlined.js +31 -0
- package/es/icons/TimerOutlined.d.ts +2 -0
- package/es/icons/TimerOutlined.js +31 -0
- package/es/icons/UnlockOutlined.d.ts +2 -0
- package/es/icons/UnlockOutlined.js +32 -0
- package/es/icons/UserOutlined.d.ts +2 -0
- package/es/icons/UserOutlined.js +29 -0
- package/es/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
- package/es/icons/VerticalAlignMiddleOutlined.js +32 -0
- package/es/icons/WarningOutlined.d.ts +2 -0
- package/es/icons/WarningOutlined.js +42 -0
- package/es/icons/index.d.ts +63 -0
- package/es/icons/index.js +212 -86
- package/es/style/themes/default.scss +3 -2
- package/lib/ele-drawer/index.cjs +60 -4
- package/lib/ele-drawer/index.d.ts +6 -2
- package/lib/ele-drawer/props.cjs +3 -1
- package/lib/ele-drawer/props.d.ts +2 -0
- package/lib/ele-drawer/style/index.scss +90 -17
- package/lib/ele-edit-tag/index.cjs +5 -3
- package/lib/ele-edit-tag/index.d.ts +4 -0
- package/lib/ele-edit-tag/props.cjs +4 -0
- package/lib/ele-edit-tag/props.d.ts +4 -0
- package/lib/ele-edit-tag/style/index.scss +11 -6
- package/lib/ele-icon-select/components/icon-grid.cjs +40 -37
- package/lib/ele-icon-select/style/index.cjs +1 -0
- package/lib/ele-icon-select/style/index.scss +5 -3
- package/lib/ele-modal/index.cjs +28 -26
- package/lib/ele-modal/index.d.ts +5 -5
- package/lib/ele-modal/style/css-var.scss +0 -7
- package/lib/ele-modal/style/index.scss +8 -3
- package/lib/ele-pro-layout/style/css-var.scss +9 -3
- package/lib/ele-tabs/index.cjs +20 -16
- package/lib/ele-tabs/style/css-var.scss +3 -1
- package/lib/icons/AnalysisOutlined.cjs +34 -0
- package/lib/icons/AnalysisOutlined.d.ts +2 -0
- package/lib/icons/ApplicationOutlined.cjs +25 -0
- package/lib/icons/ApplicationOutlined.d.ts +2 -0
- package/lib/icons/AppstoreAddOutlined.cjs +34 -0
- package/lib/icons/AppstoreAddOutlined.d.ts +2 -0
- package/lib/icons/AppstoreOutlined.cjs +34 -0
- package/lib/icons/AppstoreOutlined.d.ts +2 -0
- package/lib/icons/BellOutlined.cjs +28 -0
- package/lib/icons/BellOutlined.d.ts +2 -0
- package/lib/icons/BookOutlined.cjs +28 -0
- package/lib/icons/BookOutlined.d.ts +2 -0
- package/lib/icons/CalendarOutlined.cjs +28 -0
- package/lib/icons/CalendarOutlined.d.ts +2 -0
- package/lib/icons/CaretDownFilled.cjs +25 -0
- package/lib/icons/CaretDownFilled.d.ts +2 -0
- package/lib/icons/CaretUpFilled.cjs +25 -0
- package/lib/icons/CaretUpFilled.d.ts +2 -0
- package/lib/icons/CityOutlined.cjs +34 -0
- package/lib/icons/CityOutlined.d.ts +2 -0
- package/lib/icons/ClockCircleOutlined.cjs +31 -0
- package/lib/icons/ClockCircleOutlined.d.ts +2 -0
- package/lib/icons/CloseCircleOutlined.cjs +30 -0
- package/lib/icons/CloseCircleOutlined.d.ts +2 -0
- package/lib/icons/CloudUploadOutlined.cjs +31 -0
- package/lib/icons/CloudUploadOutlined.d.ts +2 -0
- package/lib/icons/ClusterOutlined.cjs +28 -0
- package/lib/icons/ClusterOutlined.d.ts +2 -0
- package/lib/icons/CodeOutlined.cjs +33 -0
- package/lib/icons/CodeOutlined.d.ts +2 -0
- package/lib/icons/CompassOutlined.cjs +33 -0
- package/lib/icons/CompassOutlined.d.ts +2 -0
- package/lib/icons/ConnectionOutlined.cjs +30 -0
- package/lib/icons/ConnectionOutlined.d.ts +2 -0
- package/lib/icons/ControlOutlined.cjs +32 -0
- package/lib/icons/ControlOutlined.d.ts +2 -0
- package/lib/icons/CpuOutlined.cjs +29 -0
- package/lib/icons/CpuOutlined.d.ts +2 -0
- package/lib/icons/DashboardOutlined.cjs +36 -0
- package/lib/icons/DashboardOutlined.d.ts +2 -0
- package/lib/icons/DatabaseOutlined.cjs +34 -0
- package/lib/icons/DatabaseOutlined.d.ts +2 -0
- package/lib/icons/DeleteOutlined.cjs +33 -0
- package/lib/icons/DeleteOutlined.d.ts +2 -0
- package/lib/icons/DesktopOutlined.cjs +28 -0
- package/lib/icons/DesktopOutlined.d.ts +2 -0
- package/lib/icons/DownloadOutlined.cjs +31 -0
- package/lib/icons/DownloadOutlined.d.ts +2 -0
- package/lib/icons/DragOutlined.cjs +29 -0
- package/lib/icons/DragOutlined.d.ts +2 -0
- package/lib/icons/EditOutlined.cjs +31 -0
- package/lib/icons/EditOutlined.d.ts +2 -0
- package/lib/icons/FolderAddOutlined.cjs +30 -0
- package/lib/icons/FolderAddOutlined.d.ts +2 -0
- package/lib/icons/FolderOutlined.cjs +28 -0
- package/lib/icons/FolderOutlined.d.ts +2 -0
- package/lib/icons/FormOutlined.cjs +30 -0
- package/lib/icons/FormOutlined.d.ts +2 -0
- package/lib/icons/FundOutlined.cjs +30 -0
- package/lib/icons/FundOutlined.d.ts +2 -0
- package/lib/icons/GlobalOutlined.cjs +27 -0
- package/lib/icons/GlobalOutlined.d.ts +2 -0
- package/lib/icons/IdcardOutlined.cjs +37 -0
- package/lib/icons/IdcardOutlined.d.ts +2 -0
- package/lib/icons/LinkOutlined.cjs +31 -0
- package/lib/icons/LinkOutlined.d.ts +2 -0
- package/lib/icons/LockOutlined.cjs +31 -0
- package/lib/icons/LockOutlined.d.ts +2 -0
- package/lib/icons/LogOutlined.cjs +34 -0
- package/lib/icons/LogOutlined.d.ts +2 -0
- package/lib/icons/LogoutOutlined.cjs +30 -0
- package/lib/icons/LogoutOutlined.d.ts +2 -0
- package/lib/icons/MailOutlined.cjs +28 -0
- package/lib/icons/MailOutlined.d.ts +2 -0
- package/lib/icons/MenuFoldOutlined.cjs +27 -0
- package/lib/icons/MenuFoldOutlined.d.ts +2 -0
- package/lib/icons/MenuUnfoldOutlined.cjs +27 -0
- package/lib/icons/MenuUnfoldOutlined.d.ts +2 -0
- package/lib/icons/MessageOutlined.cjs +49 -0
- package/lib/icons/MessageOutlined.d.ts +2 -0
- package/lib/icons/MinusCircleOutlined.cjs +30 -0
- package/lib/icons/MinusCircleOutlined.d.ts +2 -0
- package/lib/icons/MobileOutlined.cjs +36 -0
- package/lib/icons/MobileOutlined.d.ts +2 -0
- package/lib/icons/MoonOutlined.cjs +28 -0
- package/lib/icons/MoonOutlined.d.ts +2 -0
- package/lib/icons/MoreOutlined.cjs +41 -0
- package/lib/icons/MoreOutlined.d.ts +2 -0
- package/lib/icons/PauseFilled.cjs +29 -0
- package/lib/icons/PauseFilled.d.ts +2 -0
- package/lib/icons/PieChartOutlined.cjs +30 -0
- package/lib/icons/PieChartOutlined.d.ts +2 -0
- package/lib/icons/PlayFilled.cjs +25 -0
- package/lib/icons/PlayFilled.d.ts +2 -0
- package/lib/icons/PlusCircleOutlined.cjs +30 -0
- package/lib/icons/PlusCircleOutlined.d.ts +2 -0
- package/lib/icons/ProtectOutlined.cjs +31 -0
- package/lib/icons/ProtectOutlined.d.ts +2 -0
- package/lib/icons/QuestionCircleOutlined.cjs +38 -0
- package/lib/icons/QuestionCircleOutlined.d.ts +2 -0
- package/lib/icons/ShoppingOutlined.cjs +28 -0
- package/lib/icons/ShoppingOutlined.d.ts +2 -0
- package/lib/icons/StarFilled.cjs +25 -0
- package/lib/icons/StarFilled.d.ts +2 -0
- package/lib/icons/StepBackwardFilled.cjs +32 -0
- package/lib/icons/StepBackwardFilled.d.ts +2 -0
- package/lib/icons/StepForwardFilled.cjs +32 -0
- package/lib/icons/StepForwardFilled.d.ts +2 -0
- package/lib/icons/SuitcaseOutlined.cjs +28 -0
- package/lib/icons/SuitcaseOutlined.d.ts +2 -0
- package/lib/icons/SunOutlined.cjs +28 -0
- package/lib/icons/SunOutlined.d.ts +2 -0
- package/lib/icons/TableOutlined.cjs +28 -0
- package/lib/icons/TableOutlined.d.ts +2 -0
- package/lib/icons/TagOutlined.cjs +30 -0
- package/lib/icons/TagOutlined.d.ts +2 -0
- package/lib/icons/TimerOutlined.cjs +30 -0
- package/lib/icons/TimerOutlined.d.ts +2 -0
- package/lib/icons/UnlockOutlined.cjs +31 -0
- package/lib/icons/UnlockOutlined.d.ts +2 -0
- package/lib/icons/UserOutlined.cjs +28 -0
- package/lib/icons/UserOutlined.d.ts +2 -0
- package/lib/icons/VerticalAlignMiddleOutlined.cjs +31 -0
- package/lib/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
- package/lib/icons/WarningOutlined.cjs +41 -0
- package/lib/icons/WarningOutlined.d.ts +2 -0
- package/lib/icons/index.cjs +126 -0
- package/lib/icons/index.d.ts +63 -0
- package/lib/style/themes/default.scss +3 -2
- package/package.json +1 -1
package/es/ele-drawer/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
6
6
|
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
7
7
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
8
|
+
inner: BooleanConstructor;
|
|
8
9
|
direction: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
9
10
|
size: import("element-plus/es/utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
10
11
|
withHeader: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
14
|
appendToBody: BooleanConstructor;
|
|
14
15
|
appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
15
16
|
beforeClose: {
|
|
16
|
-
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
17
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
17
18
|
readonly required: false;
|
|
18
19
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
20
|
__epPropKey: true;
|
|
@@ -62,6 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
63
|
ariaLevel: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
63
64
|
}, {
|
|
64
65
|
drawerRef: import("vue").Ref<ElDrawerInstance>;
|
|
66
|
+
drawerClass: import("vue").ComputedRef<string>;
|
|
65
67
|
handleClose: () => void;
|
|
66
68
|
updateModelValue: (value: boolean) => void;
|
|
67
69
|
onOpen: () => void;
|
|
@@ -82,6 +84,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
84
|
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
83
85
|
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
84
86
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
87
|
+
inner: BooleanConstructor;
|
|
85
88
|
direction: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
86
89
|
size: import("element-plus/es/utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
87
90
|
withHeader: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -90,7 +93,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
93
|
appendToBody: BooleanConstructor;
|
|
91
94
|
appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
|
|
92
95
|
beforeClose: {
|
|
93
|
-
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
96
|
+
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
94
97
|
readonly required: false;
|
|
95
98
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
99
|
__epPropKey: true;
|
|
@@ -170,5 +173,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
173
|
direction: import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
171
174
|
withHeader: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
172
175
|
modalFade: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
176
|
+
inner: boolean;
|
|
173
177
|
}, {}>;
|
|
174
178
|
export default _default;
|
package/es/ele-drawer/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, unref, onActivated, onDeactivated, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { ElDrawer, ElIcon, drawerEmits } from "element-plus";
|
|
3
|
-
import { useLicense } from "../ele-config-provider/receiver";
|
|
3
|
+
import { useLicense, useLayoutState } from "../ele-config-provider/receiver";
|
|
4
|
+
import { collapseClass, compactClass, maximizedClass, hasTabClass, mixSidebarClass, singleSidebarClass, topLayoutClass, expandedClass, mobileClass } from "../ele-modal/util";
|
|
4
5
|
import { CloseOutlined } from "../icons";
|
|
5
6
|
import { drawerProps } from "./props";
|
|
6
7
|
const _sfc_main = defineComponent({
|
|
@@ -8,9 +9,57 @@ const _sfc_main = defineComponent({
|
|
|
8
9
|
components: { ElDrawer, ElIcon, CloseOutlined },
|
|
9
10
|
props: drawerProps,
|
|
10
11
|
emits: drawerEmits,
|
|
11
|
-
setup(
|
|
12
|
+
setup(props, { emit }) {
|
|
12
13
|
const { authenticated } = useLicense();
|
|
14
|
+
const layoutProvide = useLayoutState();
|
|
13
15
|
const drawerRef = ref(null);
|
|
16
|
+
const isActivated = ref(true);
|
|
17
|
+
const drawerClass = computed(() => {
|
|
18
|
+
const layoutState = unref(layoutProvide);
|
|
19
|
+
const classes = ["ele-drawer"];
|
|
20
|
+
if (!props.modelValue) {
|
|
21
|
+
classes.push("ele-drawer-closed");
|
|
22
|
+
}
|
|
23
|
+
if (!isActivated.value && props.modelValue) {
|
|
24
|
+
classes.push("ele-drawer-hide");
|
|
25
|
+
}
|
|
26
|
+
if (props.inner) {
|
|
27
|
+
classes.push("ele-drawer-inner");
|
|
28
|
+
if (layoutState && layoutState.sidebar != null) {
|
|
29
|
+
if (layoutState.collapse && !layoutState.topLayout) {
|
|
30
|
+
classes.push(collapseClass);
|
|
31
|
+
}
|
|
32
|
+
if (layoutState.compact && layoutState.mixSidebar && !layoutState.topLayout) {
|
|
33
|
+
classes.push(compactClass);
|
|
34
|
+
}
|
|
35
|
+
if (layoutState.maximized) {
|
|
36
|
+
classes.push(maximizedClass);
|
|
37
|
+
}
|
|
38
|
+
if (layoutState.tabBar) {
|
|
39
|
+
classes.push(hasTabClass);
|
|
40
|
+
}
|
|
41
|
+
if (layoutState.mixSidebar && !layoutState.topLayout) {
|
|
42
|
+
classes.push(mixSidebarClass);
|
|
43
|
+
if (!layoutState.sidebar) {
|
|
44
|
+
classes.push(singleSidebarClass);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (layoutState.topLayout) {
|
|
48
|
+
classes.push(topLayoutClass);
|
|
49
|
+
}
|
|
50
|
+
if (layoutState.maximized && layoutState.expanded) {
|
|
51
|
+
classes.push(expandedClass);
|
|
52
|
+
}
|
|
53
|
+
if (layoutState.mobile) {
|
|
54
|
+
classes.push(mobileClass);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (props.modalClass) {
|
|
59
|
+
classes.push(props.modalClass);
|
|
60
|
+
}
|
|
61
|
+
return classes.join(" ");
|
|
62
|
+
});
|
|
14
63
|
const handleClose = () => {
|
|
15
64
|
if (drawerRef.value && drawerRef.value.handleClose) {
|
|
16
65
|
drawerRef.value.handleClose();
|
|
@@ -33,8 +82,15 @@ const _sfc_main = defineComponent({
|
|
|
33
82
|
const onClosed = () => {
|
|
34
83
|
emit("closed");
|
|
35
84
|
};
|
|
85
|
+
onActivated(() => {
|
|
86
|
+
isActivated.value = true;
|
|
87
|
+
});
|
|
88
|
+
onDeactivated(() => {
|
|
89
|
+
isActivated.value = false;
|
|
90
|
+
});
|
|
36
91
|
return {
|
|
37
92
|
drawerRef,
|
|
93
|
+
drawerClass,
|
|
38
94
|
handleClose,
|
|
39
95
|
updateModelValue,
|
|
40
96
|
onOpen,
|
|
@@ -73,9 +129,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
73
129
|
size: _ctx.size,
|
|
74
130
|
title: _ctx.title,
|
|
75
131
|
withHeader: _ctx.withHeader,
|
|
76
|
-
modalClass: _ctx.
|
|
132
|
+
modalClass: _ctx.drawerClass,
|
|
77
133
|
zIndex: _ctx.zIndex,
|
|
78
|
-
|
|
134
|
+
headerAriaLevel: _ctx.headerAriaLevel,
|
|
79
135
|
onOpen: _ctx.onOpen,
|
|
80
136
|
onOpened: _ctx.onOpened,
|
|
81
137
|
onClose: _ctx.onClose,
|
|
@@ -135,7 +191,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
135
191
|
]),
|
|
136
192
|
key: "0"
|
|
137
193
|
} : void 0
|
|
138
|
-
]), 1032, ["modelValue", "appendToBody", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "onOpen", "onOpened", "onClose", "onClosed", "onUpdate:modelValue"]);
|
|
194
|
+
]), 1032, ["modelValue", "appendToBody", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "headerAriaLevel", "onOpen", "onOpened", "onClose", "onClosed", "onUpdate:modelValue"]);
|
|
139
195
|
}
|
|
140
196
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
141
197
|
export {
|
package/es/ele-drawer/props.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export declare const drawerProps: {
|
|
|
13
13
|
footerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
14
14
|
/** 自定义关闭按钮样式 */
|
|
15
15
|
closeBtnStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
16
|
+
/** 是否限制在主体内部 */
|
|
17
|
+
inner: BooleanConstructor;
|
|
16
18
|
direction: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
17
19
|
size: import("element-plus/es/utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
18
20
|
withHeader: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
package/es/ele-drawer/props.js
CHANGED
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
|
|
7
7
|
/* 抽屉 */
|
|
8
8
|
.ele-drawer {
|
|
9
|
-
|
|
9
|
+
& > .el-drawer {
|
|
10
10
|
background: eleVar('drawer', 'bg');
|
|
11
|
-
}
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
& > .el-drawer__header {
|
|
13
|
+
margin: 0;
|
|
14
|
+
padding: 0;
|
|
15
|
+
color: inherit;
|
|
16
|
+
display: block;
|
|
17
|
+
flex-shrink: 0;
|
|
18
|
+
border: none;
|
|
19
|
+
}
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
& > .el-drawer__body {
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
& > .el-drawer__footer {
|
|
26
|
+
padding: 0;
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
border: none;
|
|
29
|
+
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.ele-drawer-header {
|
|
@@ -78,3 +78,76 @@
|
|
|
78
78
|
box-sizing: border-box;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
+
|
|
82
|
+
/* 失活状态 */
|
|
83
|
+
.ele-drawer-hide {
|
|
84
|
+
display: none !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* 限制在内部并适配布局状态 */
|
|
88
|
+
.ele-drawer-inner {
|
|
89
|
+
& > .el-drawer {
|
|
90
|
+
box-shadow: eleVar('drawer', 'inner-shadow');
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.ele-drawer {
|
|
94
|
+
top: eleVar('header', 'height', 0);
|
|
95
|
+
left: eleVar('sidebar', 'width', 0);
|
|
96
|
+
height: auto;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:not(.el-drawer-fade-leave-active, .el-drawer-fade-enter-active) {
|
|
100
|
+
transition: (width $ele-transition, left $ele-transition);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.ele-state-has-tab {
|
|
104
|
+
top: calc(#{eleVar('header', 'height')} + #{eleVar('tab', 'height')});
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&.ele-state-collapse {
|
|
108
|
+
left: eleVar('sidebar', 'collapse-width');
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.ele-state-mix-sidebar {
|
|
112
|
+
$box-width: eleVar('sidebox', 'width');
|
|
113
|
+
left: calc(#{$box-width} + #{eleVar('sidebar', 'mix-width')});
|
|
114
|
+
|
|
115
|
+
&.ele-state-collapse {
|
|
116
|
+
left: $box-width;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.ele-state-single-sidebar {
|
|
120
|
+
left: $box-width;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.ele-state-compact {
|
|
125
|
+
$collapse-width: eleVar('sidebar', 'collapse-width');
|
|
126
|
+
left: calc(#{$collapse-width} + #{eleVar('sidebar', 'mix-width')});
|
|
127
|
+
|
|
128
|
+
&.ele-state-single-sidebar {
|
|
129
|
+
left: $collapse-width;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.ele-state-collapse {
|
|
133
|
+
left: $collapse-width;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&.ele-state-top-layout {
|
|
138
|
+
left: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.ele-state-maximized {
|
|
142
|
+
top: eleVar('tab', 'height');
|
|
143
|
+
left: 0 !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.ele-state-expanded {
|
|
147
|
+
top: 0 !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.ele-state-mobile {
|
|
151
|
+
left: 0 !important;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -8,7 +8,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
round: BooleanConstructor;
|
|
9
9
|
placeholder: StringConstructor;
|
|
10
10
|
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
11
|
+
inputTagStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
11
12
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
13
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
12
14
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
13
15
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
14
16
|
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
|
@@ -35,7 +37,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
37
|
round: BooleanConstructor;
|
|
36
38
|
placeholder: StringConstructor;
|
|
37
39
|
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
40
|
+
inputTagStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
38
41
|
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
42
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
39
43
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
40
44
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
41
45
|
tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
|
package/es/ele-edit-tag/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onDeactivated, onActivated, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode,
|
|
1
|
+
import { defineComponent, ref, onDeactivated, onActivated, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, normalizeStyle, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, renderSlot, vShow, mergeProps } from "vue";
|
|
2
2
|
import { ElTag, ElInput, ElIcon } from "element-plus";
|
|
3
3
|
import EleTooltip from "../ele-tooltip/index";
|
|
4
4
|
import { useLicense } from "../ele-config-provider/receiver";
|
|
@@ -164,13 +164,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
164
164
|
round: _ctx.round,
|
|
165
165
|
closable: true,
|
|
166
166
|
disableTransitions: true,
|
|
167
|
+
style: normalizeStyle(_ctx.itemStyle),
|
|
167
168
|
onClose: ($event) => _ctx.onTagClose(index2)
|
|
168
169
|
}, {
|
|
169
170
|
default: withCtx(() => [
|
|
170
171
|
createTextVNode(toDisplayString(item), 1)
|
|
171
172
|
]),
|
|
172
173
|
_: 2
|
|
173
|
-
}, 1032, ["type", "color", "size", "effect", "round", "onClose"]);
|
|
174
|
+
}, 1032, ["type", "color", "size", "effect", "round", "style", "onClose"]);
|
|
174
175
|
}), 128)) : createCommentVNode("", true),
|
|
175
176
|
withDirectives(createVNode(_component_ElTag, {
|
|
176
177
|
type: "info",
|
|
@@ -202,7 +203,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
202
203
|
size: _ctx.size,
|
|
203
204
|
round: _ctx.round,
|
|
204
205
|
disableTransitions: true,
|
|
205
|
-
class: normalizeClass(["ele-edit-tag-input", { "is-error": !!_ctx.errorMessage }])
|
|
206
|
+
class: normalizeClass(["ele-edit-tag-input", { "is-error": !!_ctx.errorMessage }]),
|
|
207
|
+
style: normalizeStyle(_ctx.inputTagStyle)
|
|
206
208
|
}, {
|
|
207
209
|
default: withCtx(() => [
|
|
208
210
|
createVNode(_component_ElInput, {
|
|
@@ -230,7 +232,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
230
232
|
}, 8, ["disabled", "modelValue", "style", "onChange", "onBlur", "onFocus"])
|
|
231
233
|
]),
|
|
232
234
|
_: 1
|
|
233
|
-
}, 8, ["size", "round", "class"]), [
|
|
235
|
+
}, 8, ["size", "round", "class", "style"]), [
|
|
234
236
|
[vShow, _ctx.isEdit]
|
|
235
237
|
]),
|
|
236
238
|
createVNode(_component_EleTooltip, mergeProps({
|
|
@@ -20,8 +20,12 @@ export declare const editTagProps: {
|
|
|
20
20
|
placeholder: StringConstructor;
|
|
21
21
|
/** 输入框样式 */
|
|
22
22
|
inputStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
23
|
+
/** 输入框外层标签样式 */
|
|
24
|
+
inputTagStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
23
25
|
/** 添加按钮样式 */
|
|
24
26
|
buttonStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
27
|
+
/** 标签样式 */
|
|
28
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
25
29
|
/** 添加校验方法 */
|
|
26
30
|
validator: PropType<Validator>;
|
|
27
31
|
/** 移除校验方法 */
|
package/es/ele-edit-tag/props.js
CHANGED
|
@@ -15,8 +15,12 @@ const editTagProps = {
|
|
|
15
15
|
placeholder: String,
|
|
16
16
|
/** 输入框样式 */
|
|
17
17
|
inputStyle: Object,
|
|
18
|
+
/** 输入框外层标签样式 */
|
|
19
|
+
inputTagStyle: Object,
|
|
18
20
|
/** 添加按钮样式 */
|
|
19
21
|
buttonStyle: Object,
|
|
22
|
+
/** 标签样式 */
|
|
23
|
+
itemStyle: Object,
|
|
20
24
|
/** 添加校验方法 */
|
|
21
25
|
validator: Function,
|
|
22
26
|
/** 移除校验方法 */
|
|
@@ -46,18 +46,23 @@
|
|
|
46
46
|
& > .el-tag__content {
|
|
47
47
|
width: 100%;
|
|
48
48
|
height: 100%;
|
|
49
|
-
display:
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
50
52
|
font-size: inherit;
|
|
51
53
|
line-height: inherit;
|
|
52
54
|
border-radius: inherit;
|
|
55
|
+
|
|
56
|
+
& > .el-input {
|
|
57
|
+
flex: 1;
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
font-size: inherit;
|
|
61
|
+
border-radius: inherit;
|
|
62
|
+
}
|
|
53
63
|
}
|
|
54
64
|
|
|
55
65
|
.el-input {
|
|
56
|
-
width: 100%;
|
|
57
|
-
height: 100%;
|
|
58
|
-
font-size: inherit;
|
|
59
|
-
border-radius: inherit;
|
|
60
|
-
|
|
61
66
|
.el-input__wrapper {
|
|
62
67
|
height: 100%;
|
|
63
68
|
padding-left: 8px;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, resolveComponent, openBlock,
|
|
2
|
-
import { ElEmpty } from "element-plus";
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeStyle, createElementBlock, Fragment, renderList, normalizeClass, renderSlot, createVNode, mergeProps, createCommentVNode } from "vue";
|
|
2
|
+
import { ElEmpty, ElScrollbar } from "element-plus";
|
|
3
3
|
import EleTooltip from "../../ele-tooltip/index";
|
|
4
4
|
const _sfc_main = defineComponent({
|
|
5
5
|
name: "IconGrid",
|
|
6
|
-
components: { ElEmpty, EleTooltip },
|
|
6
|
+
components: { ElEmpty, ElScrollbar, EleTooltip },
|
|
7
7
|
props: {
|
|
8
8
|
/** 选中的图标 */
|
|
9
9
|
icon: String,
|
|
@@ -74,48 +74,51 @@ const _export_sfc = (sfc, props) => {
|
|
|
74
74
|
}
|
|
75
75
|
return target;
|
|
76
76
|
};
|
|
77
|
-
const _hoisted_1 =
|
|
78
|
-
const _hoisted_2 =
|
|
79
|
-
const _hoisted_3 = {
|
|
77
|
+
const _hoisted_1 = ["title", "onClick", "onMouseover"];
|
|
78
|
+
const _hoisted_2 = {
|
|
80
79
|
key: 0,
|
|
81
80
|
class: "ele-icon-select-empty"
|
|
82
81
|
};
|
|
83
82
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
84
83
|
const _component_ElEmpty = resolveComponent("ElEmpty");
|
|
85
84
|
const _component_EleTooltip = resolveComponent("EleTooltip");
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
85
|
+
const _component_ElScrollbar = resolveComponent("ElScrollbar");
|
|
86
|
+
return openBlock(), createBlock(_component_ElScrollbar, { class: "ele-icon-select-body" }, {
|
|
87
|
+
default: withCtx(() => [
|
|
88
|
+
createElementVNode("div", {
|
|
89
|
+
class: "ele-icon-select-grid",
|
|
90
|
+
style: normalizeStyle(_ctx.gridStyle)
|
|
91
|
+
}, [
|
|
92
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data, (d, i) => {
|
|
93
|
+
return openBlock(), createElementBlock("div", {
|
|
94
|
+
key: i + "-" + d,
|
|
95
|
+
class: normalizeClass(["ele-icon-select-item", { "is-active": _ctx.icon && d === _ctx.icon }]),
|
|
96
|
+
title: _ctx.tooltip ? void 0 : d,
|
|
97
|
+
style: normalizeStyle(_ctx.itemStyle),
|
|
98
|
+
onClick: ($event) => _ctx.onItemClick(d),
|
|
99
|
+
onMouseover: (e) => _ctx.onItemHover(d, e)
|
|
100
|
+
}, [
|
|
101
|
+
renderSlot(_ctx.$slots, "icon", { icon: d })
|
|
102
|
+
], 46, _hoisted_1);
|
|
103
|
+
}), 128))
|
|
104
|
+
], 4),
|
|
105
|
+
!_ctx.data || !_ctx.data.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
106
|
+
createVNode(_component_ElEmpty, mergeProps({ imageSize: 60 }, _ctx.emptyProps), null, 16)
|
|
107
|
+
])) : createCommentVNode("", true),
|
|
108
|
+
createVNode(_component_EleTooltip, mergeProps({
|
|
109
|
+
placement: "top",
|
|
110
|
+
offset: 6,
|
|
111
|
+
teleported: false
|
|
112
|
+
}, _ctx.tooltipProps || {}, {
|
|
113
|
+
visible: _ctx.tooltipVisible,
|
|
114
|
+
content: _ctx.tooltipContent,
|
|
115
|
+
virtualRef: _ctx.virtualRef,
|
|
116
|
+
virtualTriggering: true,
|
|
117
|
+
"onUpdate:visible": _ctx.updateTooltipVisible
|
|
118
|
+
}), null, 16, ["visible", "content", "virtualRef", "onUpdate:visible"])
|
|
119
|
+
]),
|
|
120
|
+
_: 3
|
|
121
|
+
});
|
|
119
122
|
}
|
|
120
123
|
const iconGrid = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
121
124
|
export {
|
|
@@ -173,10 +173,12 @@
|
|
|
173
173
|
.ele-icon-select-body {
|
|
174
174
|
flex: 1;
|
|
175
175
|
height: 100%;
|
|
176
|
-
padding: eleVar('icon', 'body-padding');
|
|
177
176
|
box-sizing: border-box;
|
|
178
|
-
overflow:
|
|
179
|
-
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
|
|
179
|
+
& > .el-scrollbar__wrap > .el-scrollbar__view {
|
|
180
|
+
padding: eleVar('icon', 'body-padding');
|
|
181
|
+
}
|
|
180
182
|
}
|
|
181
183
|
|
|
182
184
|
.ele-icon-select-grid {
|
package/es/ele-modal/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
34
34
|
fullscreenBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
35
35
|
responsive: {
|
|
36
|
-
type: BooleanConstructor;
|
|
36
|
+
type: BooleanConstructor; /** 布局状态 */
|
|
37
37
|
default: null;
|
|
38
38
|
};
|
|
39
39
|
form: BooleanConstructor;
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
openDelay: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
53
53
|
closeDelay: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
54
54
|
top: {
|
|
55
|
-
readonly type: import("vue").PropType<string>;
|
|
55
|
+
readonly type: import("vue").PropType<string>;
|
|
56
56
|
readonly required: false;
|
|
57
57
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
58
|
__epPropKey: true;
|
|
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
144
|
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
145
145
|
fullscreenBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
146
146
|
responsive: {
|
|
147
|
-
type: BooleanConstructor;
|
|
147
|
+
type: BooleanConstructor; /** 布局状态 */
|
|
148
148
|
default: null;
|
|
149
149
|
};
|
|
150
150
|
form: BooleanConstructor;
|
|
@@ -163,7 +163,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
163
163
|
openDelay: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
164
164
|
closeDelay: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
165
165
|
top: {
|
|
166
|
-
readonly type: import("vue").PropType<string>;
|
|
166
|
+
readonly type: import("vue").PropType<string>;
|
|
167
167
|
readonly required: false;
|
|
168
168
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
169
|
__epPropKey: true;
|
|
@@ -230,8 +230,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
230
230
|
ariaLevel: string;
|
|
231
231
|
minWidth: number;
|
|
232
232
|
minHeight: number;
|
|
233
|
-
responsive: boolean;
|
|
234
233
|
multiple: boolean;
|
|
234
|
+
responsive: boolean;
|
|
235
235
|
resetOnClose: boolean;
|
|
236
236
|
maxable: boolean;
|
|
237
237
|
inner: boolean;
|