ele-admin-plus 1.1.3 → 1.1.4-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/ele-alert/index.d.ts +10 -10
- package/es/ele-alert/props.d.ts +6 -6
- package/es/ele-app/style/message.scss +1 -0
- package/es/ele-app/style/overwrite.scss +79 -3
- package/es/ele-app/types/index.d.ts +7 -6
- package/es/ele-avatar-group/index.d.ts +7 -8
- package/es/ele-avatar-group/props.d.ts +3 -4
- package/es/ele-basic-select/style/index.scss +4 -6
- package/es/ele-bottom-bar/index.d.ts +4 -4
- package/es/ele-bottom-bar/props.d.ts +2 -3
- package/es/ele-card/index.d.ts +6 -6
- package/es/ele-card/props.d.ts +3 -4
- package/es/ele-check-card/components/card-item.d.ts +2 -3
- package/es/ele-check-card/index.d.ts +4 -4
- package/es/ele-check-card/props.d.ts +3 -3
- package/es/ele-config-provider/receiver.d.ts +1 -1
- package/es/ele-config-provider/receiver.js +29 -29
- package/es/ele-copyable/index.d.ts +8 -8
- package/es/ele-copyable/index.js +5 -4
- package/es/ele-copyable/props.d.ts +5 -5
- package/es/ele-copyable/style/index.scss +4 -0
- package/es/ele-cropper/index.js +2 -2
- package/es/ele-dashboard/index.d.ts +1 -2
- package/es/ele-drawer/index.d.ts +16 -10
- package/es/ele-drawer/props.d.ts +7 -6
- package/es/ele-dropdown/index.d.ts +2 -2
- package/es/ele-dropdown/props.d.ts +1 -2
- package/es/ele-edit-tag/index.d.ts +4 -4
- package/es/ele-edit-tag/props.d.ts +2 -3
- package/es/ele-ellipsis/index.d.ts +4 -5
- package/es/ele-ellipsis/props.d.ts +1 -1
- package/es/ele-ellipsis/style/index.scss +4 -0
- package/es/ele-file-list/index.d.ts +2 -7
- package/es/ele-file-list/index.js +2 -2
- package/es/ele-file-list/types/index.d.ts +0 -4
- package/es/ele-icon-select/components/icon-grid.d.ts +5 -5
- package/es/ele-icon-select/components/icon-popper.d.ts +15 -15
- package/es/ele-icon-select/index.d.ts +15 -16
- package/es/ele-icon-select/props.d.ts +8 -8
- package/es/ele-loading/index.d.ts +26 -1
- package/es/ele-loading/index.js +53 -11
- package/es/ele-loading/props.d.ts +11 -1
- package/es/ele-loading/props.js +16 -1
- package/es/ele-loading/style/css-var.scss +7 -0
- package/es/ele-loading/style/index.js +1 -0
- package/es/ele-loading/style/index.scss +90 -0
- package/es/ele-loading/types/index.d.ts +17 -0
- package/es/ele-map-picker/components/map-view.d.ts +2 -2
- package/es/ele-map-picker/index.d.ts +2 -2
- package/es/ele-map-picker/props.d.ts +3 -3
- package/es/ele-menus/index.d.ts +2 -0
- package/es/ele-menus/index.js +11 -5
- package/es/ele-menus/props.d.ts +10 -0
- package/es/ele-menus/props.js +7 -1
- package/es/ele-menus/style/index.scss +18 -18
- package/es/ele-menus/types/index.d.ts +4 -0
- package/es/ele-menus/util.d.ts +4 -3
- package/es/ele-menus/util.js +23 -12
- package/es/ele-modal/index.d.ts +19 -13
- package/es/ele-modal/props.d.ts +8 -7
- package/es/ele-modal/util.js +2 -2
- package/es/ele-pagination/index.d.ts +1 -1
- package/es/ele-popconfirm/index.d.ts +10 -10
- package/es/ele-popconfirm/index.js +8 -2
- package/es/ele-popconfirm/props.d.ts +6 -6
- package/es/ele-popover/index.d.ts +6 -6
- package/es/ele-popover/props.d.ts +3 -4
- package/es/ele-printer/index.d.ts +6 -6
- package/es/ele-printer/props.d.ts +3 -4
- package/es/ele-pro-layout/components/pro-header.d.ts +7 -2
- package/es/ele-pro-layout/components/pro-header.js +15 -5
- package/es/ele-pro-layout/components/pro-iframe.js +10 -7
- package/es/ele-pro-layout/components/pro-sidebar.d.ts +7 -2
- package/es/ele-pro-layout/components/pro-sidebar.js +14 -5
- package/es/ele-pro-layout/components/pro-sidebox.d.ts +11 -4
- package/es/ele-pro-layout/components/pro-sidebox.js +16 -5
- package/es/ele-pro-layout/components/tab-dropdown.js +1 -4
- package/es/ele-pro-layout/index.d.ts +17 -3
- package/es/ele-pro-layout/index.js +208 -105
- package/es/ele-pro-layout/props.d.ts +6 -1
- package/es/ele-pro-layout/props.js +10 -0
- package/es/ele-pro-layout/style/collapse.scss +9 -10
- package/es/ele-pro-layout/style/index.js +0 -1
- package/es/ele-pro-layout/types/index.d.ts +9 -0
- package/es/ele-pro-layout/util.d.ts +4 -2
- package/es/ele-pro-layout/util.js +20 -17
- package/es/ele-pro-table/components/table-view.d.ts +9 -3
- package/es/ele-pro-table/components/table-view.js +27 -24
- package/es/ele-pro-table/components/tool-column.d.ts +2 -1
- package/es/ele-pro-table/components/tool-column.js +26 -18
- package/es/ele-pro-table/index.d.ts +46 -25
- package/es/ele-pro-table/index.js +182 -196
- package/es/ele-pro-table/props.d.ts +27 -15
- package/es/ele-pro-table/props.js +15 -3
- package/es/ele-pro-table/style/index.js +1 -1
- package/es/ele-pro-table/style/index.scss +64 -8
- package/es/ele-pro-table/types/index.d.ts +39 -5
- package/es/ele-pro-table/util.d.ts +84 -49
- package/es/ele-pro-table/util.js +193 -78
- package/es/ele-qr-code/index.d.ts +3 -3
- package/es/ele-qr-code/props.d.ts +1 -2
- package/es/ele-qr-code-svg/index.d.ts +3 -3
- package/es/ele-split-panel/index.d.ts +6 -6
- package/es/ele-split-panel/props.d.ts +3 -4
- package/es/ele-table/style/index.scss +1 -0
- package/es/ele-tabs/index.js +3 -3
- package/es/ele-tabs/types/index.d.ts +3 -0
- package/es/ele-text/index.d.ts +3 -3
- package/es/ele-text/props.d.ts +2 -2
- package/es/ele-toolbar/index.d.ts +6 -6
- package/es/ele-toolbar/props.d.ts +3 -4
- package/es/ele-tooltip/index.d.ts +3 -3
- package/es/ele-tooltip/props.d.ts +1 -2
- package/es/ele-tour/index.d.ts +2 -3
- package/es/ele-tour/style/index.scss +1 -1
- package/es/ele-tour/util.js +3 -3
- package/es/ele-upload-list/index.d.ts +8 -7
- package/es/ele-upload-list/index.js +18 -11
- package/es/ele-upload-list/props.d.ts +4 -4
- package/es/ele-upload-list/props.js +1 -1
- package/es/ele-watermark/index.d.ts +16 -8
- package/es/ele-watermark/index.js +18 -12
- package/es/ele-watermark/props.d.ts +3 -1
- package/es/ele-watermark/props.js +5 -1
- package/es/ele-watermark/util.js +1 -1
- package/es/style/index.scss +1 -0
- package/es/style/nprogress.scss +2 -2
- package/es/style/themes/default.scss +36 -12
- package/es/style/themes/rounded.scss +4 -2
- package/es/style/themes/theme-util.scss +2 -0
- package/es/utils/core.d.ts +1 -1
- package/es/utils/core.js +17 -15
- package/es/utils/resolvers.js +2 -2
- package/lib/ele-alert/index.d.ts +10 -10
- package/lib/ele-alert/props.d.ts +6 -6
- package/lib/ele-app/style/message.scss +1 -0
- package/lib/ele-app/style/overwrite.scss +79 -3
- package/lib/ele-app/types/index.d.ts +7 -6
- package/lib/ele-avatar-group/index.d.ts +7 -8
- package/lib/ele-avatar-group/props.d.ts +3 -4
- package/lib/ele-basic-select/style/index.scss +4 -6
- package/lib/ele-bottom-bar/index.d.ts +4 -4
- package/lib/ele-bottom-bar/props.d.ts +2 -3
- package/lib/ele-card/index.d.ts +6 -6
- package/lib/ele-card/props.d.ts +3 -4
- package/lib/ele-check-card/components/card-item.d.ts +2 -3
- package/lib/ele-check-card/index.d.ts +4 -4
- package/lib/ele-check-card/props.d.ts +3 -3
- package/lib/ele-config-provider/receiver.d.ts +1 -1
- package/lib/ele-config-provider/receiver.js +2 -2
- package/lib/ele-copyable/index.d.ts +8 -8
- package/lib/ele-copyable/index.js +4 -3
- package/lib/ele-copyable/props.d.ts +5 -5
- package/lib/ele-copyable/style/index.scss +4 -0
- package/lib/ele-cropper/index.js +2 -2
- package/lib/ele-dashboard/index.d.ts +1 -2
- package/lib/ele-drawer/index.d.ts +16 -10
- package/lib/ele-drawer/props.d.ts +7 -6
- package/lib/ele-dropdown/index.d.ts +2 -2
- package/lib/ele-dropdown/props.d.ts +1 -2
- package/lib/ele-edit-tag/index.d.ts +4 -4
- package/lib/ele-edit-tag/props.d.ts +2 -3
- package/lib/ele-ellipsis/index.d.ts +4 -5
- package/lib/ele-ellipsis/props.d.ts +1 -1
- package/lib/ele-ellipsis/style/index.scss +4 -0
- package/lib/ele-file-list/index.d.ts +2 -7
- package/lib/ele-file-list/index.js +2 -2
- package/lib/ele-file-list/types/index.d.ts +0 -4
- package/lib/ele-icon-select/components/icon-grid.d.ts +5 -5
- package/lib/ele-icon-select/components/icon-popper.d.ts +15 -15
- package/lib/ele-icon-select/index.d.ts +15 -16
- package/lib/ele-icon-select/props.d.ts +8 -8
- package/lib/ele-loading/index.d.ts +26 -1
- package/lib/ele-loading/index.js +52 -10
- package/lib/ele-loading/props.d.ts +11 -1
- package/lib/ele-loading/props.js +16 -1
- package/lib/ele-loading/style/css-var.scss +7 -0
- package/lib/ele-loading/style/index.js +1 -0
- package/lib/ele-loading/style/index.scss +90 -0
- package/lib/ele-loading/types/index.d.ts +17 -0
- package/lib/ele-map-picker/components/map-view.d.ts +2 -2
- package/lib/ele-map-picker/index.d.ts +2 -2
- package/lib/ele-map-picker/props.d.ts +3 -3
- package/lib/ele-menus/index.d.ts +2 -0
- package/lib/ele-menus/index.js +9 -3
- package/lib/ele-menus/props.d.ts +10 -0
- package/lib/ele-menus/props.js +6 -0
- package/lib/ele-menus/style/index.scss +18 -18
- package/lib/ele-menus/types/index.d.ts +4 -0
- package/lib/ele-menus/util.d.ts +4 -3
- package/lib/ele-menus/util.js +23 -12
- package/lib/ele-modal/index.d.ts +19 -13
- package/lib/ele-modal/props.d.ts +8 -7
- package/lib/ele-modal/util.js +2 -2
- package/lib/ele-pagination/index.d.ts +1 -1
- package/lib/ele-popconfirm/index.d.ts +10 -10
- package/lib/ele-popconfirm/index.js +8 -2
- package/lib/ele-popconfirm/props.d.ts +6 -6
- package/lib/ele-popover/index.d.ts +6 -6
- package/lib/ele-popover/props.d.ts +3 -4
- package/lib/ele-printer/index.d.ts +6 -6
- package/lib/ele-printer/props.d.ts +3 -4
- package/lib/ele-pro-layout/components/pro-header.d.ts +7 -2
- package/lib/ele-pro-layout/components/pro-header.js +15 -5
- package/lib/ele-pro-layout/components/pro-iframe.js +10 -7
- package/lib/ele-pro-layout/components/pro-sidebar.d.ts +7 -2
- package/lib/ele-pro-layout/components/pro-sidebar.js +14 -5
- package/lib/ele-pro-layout/components/pro-sidebox.d.ts +11 -4
- package/lib/ele-pro-layout/components/pro-sidebox.js +16 -5
- package/lib/ele-pro-layout/components/tab-dropdown.js +1 -4
- package/lib/ele-pro-layout/index.d.ts +17 -3
- package/lib/ele-pro-layout/index.js +205 -102
- package/lib/ele-pro-layout/props.d.ts +6 -1
- package/lib/ele-pro-layout/props.js +10 -0
- package/lib/ele-pro-layout/style/collapse.scss +9 -10
- package/lib/ele-pro-layout/style/index.js +0 -1
- package/lib/ele-pro-layout/types/index.d.ts +9 -0
- package/lib/ele-pro-layout/util.d.ts +4 -2
- package/lib/ele-pro-layout/util.js +19 -16
- package/lib/ele-pro-table/components/table-view.d.ts +9 -3
- package/lib/ele-pro-table/components/table-view.js +25 -22
- package/lib/ele-pro-table/components/tool-column.d.ts +2 -1
- package/lib/ele-pro-table/components/tool-column.js +25 -17
- package/lib/ele-pro-table/index.d.ts +46 -25
- package/lib/ele-pro-table/index.js +180 -194
- package/lib/ele-pro-table/props.d.ts +27 -15
- package/lib/ele-pro-table/props.js +15 -3
- package/lib/ele-pro-table/style/index.js +1 -1
- package/lib/ele-pro-table/style/index.scss +64 -8
- package/lib/ele-pro-table/types/index.d.ts +39 -5
- package/lib/ele-pro-table/util.d.ts +84 -49
- package/lib/ele-pro-table/util.js +192 -77
- package/lib/ele-qr-code/index.d.ts +3 -3
- package/lib/ele-qr-code/props.d.ts +1 -2
- package/lib/ele-qr-code-svg/index.d.ts +3 -3
- package/lib/ele-split-panel/index.d.ts +6 -6
- package/lib/ele-split-panel/props.d.ts +3 -4
- package/lib/ele-table/style/index.scss +1 -0
- package/lib/ele-tabs/index.js +3 -3
- package/lib/ele-tabs/types/index.d.ts +3 -0
- package/lib/ele-text/index.d.ts +3 -3
- package/lib/ele-text/props.d.ts +2 -2
- package/lib/ele-toolbar/index.d.ts +6 -6
- package/lib/ele-toolbar/props.d.ts +3 -4
- package/lib/ele-tooltip/index.d.ts +3 -3
- package/lib/ele-tooltip/props.d.ts +1 -2
- package/lib/ele-tour/index.d.ts +2 -3
- package/lib/ele-tour/style/index.scss +1 -1
- package/lib/ele-tour/util.js +3 -3
- package/lib/ele-upload-list/index.d.ts +8 -7
- package/lib/ele-upload-list/index.js +17 -10
- package/lib/ele-upload-list/props.d.ts +4 -4
- package/lib/ele-upload-list/props.js +1 -1
- package/lib/ele-watermark/index.d.ts +16 -8
- package/lib/ele-watermark/index.js +17 -11
- package/lib/ele-watermark/props.d.ts +3 -1
- package/lib/ele-watermark/props.js +5 -1
- package/lib/ele-watermark/util.js +1 -1
- package/lib/style/index.scss +1 -0
- package/lib/style/nprogress.scss +2 -2
- package/lib/style/themes/default.scss +36 -12
- package/lib/style/themes/rounded.scss +4 -2
- package/lib/style/themes/theme-util.scss +2 -0
- package/lib/utils/core.d.ts +1 -1
- package/lib/utils/core.js +17 -15
- package/lib/utils/resolvers.js +2 -2
- package/package.json +26 -24
- package/es/ele-alert/types/index.d.ts +0 -0
- package/lib/ele-alert/types/index.d.ts +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import type { ElDrawerInstance } from '../ele-app/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
headerStyle: import("vue").PropType<import("
|
|
4
|
-
titleStyle: import("vue").PropType<import("
|
|
5
|
-
bodyStyle: import("vue").PropType<import("
|
|
6
|
-
footerStyle: import("vue").PropType<import("
|
|
7
|
-
closeBtnStyle: import("vue").PropType<import("
|
|
3
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
4
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
5
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
6
|
+
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
7
|
+
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
8
8
|
direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
9
9
|
size: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
10
10
|
withHeader: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
11
|
modalFade: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
12
|
+
headerAriaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
12
13
|
appendToBody: BooleanConstructor;
|
|
13
14
|
beforeClose: {
|
|
14
15
|
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
@@ -57,6 +58,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
58
|
fullscreen: BooleanConstructor;
|
|
58
59
|
showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
59
60
|
title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
61
|
+
ariaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
60
62
|
}, {
|
|
61
63
|
drawerRef: import("vue").Ref<ElDrawerInstance>;
|
|
62
64
|
handleClose: () => void;
|
|
@@ -74,15 +76,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
76
|
openAutoFocus: () => boolean;
|
|
75
77
|
closeAutoFocus: () => boolean;
|
|
76
78
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
-
headerStyle: import("vue").PropType<import("
|
|
78
|
-
titleStyle: import("vue").PropType<import("
|
|
79
|
-
bodyStyle: import("vue").PropType<import("
|
|
80
|
-
footerStyle: import("vue").PropType<import("
|
|
81
|
-
closeBtnStyle: import("vue").PropType<import("
|
|
79
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
80
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
81
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
82
|
+
footerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
83
|
+
closeBtnStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
82
84
|
direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
83
85
|
size: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
84
86
|
withHeader: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
85
87
|
modalFade: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
88
|
+
headerAriaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
86
89
|
appendToBody: BooleanConstructor;
|
|
87
90
|
beforeClose: {
|
|
88
91
|
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
@@ -131,6 +134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
134
|
fullscreen: BooleanConstructor;
|
|
132
135
|
showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
133
136
|
title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
137
|
+
ariaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
134
138
|
}>> & {
|
|
135
139
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
136
140
|
onOpen?: (() => any) | undefined;
|
|
@@ -153,11 +157,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
153
157
|
openDelay: number;
|
|
154
158
|
closeDelay: number;
|
|
155
159
|
trapFocus: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
160
|
+
headerAriaLevel: string;
|
|
156
161
|
alignCenter: boolean;
|
|
157
162
|
customClass: string;
|
|
158
163
|
draggable: boolean;
|
|
159
164
|
fullscreen: boolean;
|
|
160
165
|
showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
|
+
ariaLevel: string;
|
|
161
167
|
direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
162
168
|
withHeader: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
163
169
|
modalFade: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { StyleValue } from '../ele-app/types';
|
|
3
2
|
/**
|
|
4
3
|
* 属性
|
|
5
4
|
*/
|
|
6
5
|
export declare const drawerProps: {
|
|
7
|
-
headerStyle: PropType<
|
|
8
|
-
titleStyle: PropType<
|
|
9
|
-
bodyStyle: PropType<
|
|
10
|
-
footerStyle: PropType<
|
|
11
|
-
closeBtnStyle: PropType<
|
|
6
|
+
headerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
7
|
+
titleStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
8
|
+
bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
9
|
+
footerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
10
|
+
closeBtnStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
12
11
|
direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
13
12
|
size: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
14
13
|
withHeader: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
15
14
|
modalFade: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
15
|
+
headerAriaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
16
16
|
appendToBody: BooleanConstructor;
|
|
17
17
|
beforeClose: {
|
|
18
18
|
readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
@@ -61,5 +61,6 @@ export declare const drawerProps: {
|
|
|
61
61
|
fullscreen: BooleanConstructor;
|
|
62
62
|
showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
63
63
|
title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
64
|
+
ariaLevel: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
64
65
|
};
|
|
65
66
|
export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
|
|
@@ -4,7 +4,7 @@ import type { DropdownItem } from './types';
|
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
items: import("vue").PropType<DropdownItem[]>;
|
|
6
6
|
modelValue: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
7
|
-
menuStyle: import("vue").PropType<import("
|
|
7
|
+
menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
8
8
|
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
9
9
|
effect: {
|
|
10
10
|
readonly default: "light";
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
60
|
items: import("vue").PropType<DropdownItem[]>;
|
|
61
61
|
modelValue: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
62
|
-
menuStyle: import("vue").PropType<import("
|
|
62
|
+
menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
63
63
|
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
64
64
|
effect: {
|
|
65
65
|
readonly default: "light";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { StyleValue } from '../ele-app/types';
|
|
3
2
|
import type { DropdownItem } from './types';
|
|
4
3
|
/**
|
|
5
4
|
* 属性
|
|
@@ -7,7 +6,7 @@ import type { DropdownItem } from './types';
|
|
|
7
6
|
export declare const dropdownProps: {
|
|
8
7
|
items: PropType<DropdownItem[]>;
|
|
9
8
|
modelValue: PropType<import("element-plus/es/utils").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
|
|
10
|
-
menuStyle: PropType<
|
|
9
|
+
menuStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
11
10
|
trigger: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
|
|
12
11
|
effect: {
|
|
13
12
|
readonly default: "light";
|
|
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
effect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
|
|
12
12
|
round: BooleanConstructor;
|
|
13
13
|
placeholder: StringConstructor;
|
|
14
|
-
inputStyle: import("vue").PropType<import("
|
|
15
|
-
buttonStyle: import("vue").PropType<import("
|
|
14
|
+
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
15
|
+
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
16
16
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
17
17
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
18
18
|
tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
|
|
@@ -40,8 +40,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
effect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
|
|
41
41
|
round: BooleanConstructor;
|
|
42
42
|
placeholder: StringConstructor;
|
|
43
|
-
inputStyle: import("vue").PropType<import("
|
|
44
|
-
buttonStyle: import("vue").PropType<import("
|
|
43
|
+
inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
44
|
+
buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
45
45
|
validator: import("vue").PropType<import("./types").Validator>;
|
|
46
46
|
beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
|
|
47
47
|
tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { StyleValue } from '../ele-app/types';
|
|
3
2
|
import type { EleTooltipProps } from '../ele-avatar-group/types';
|
|
4
3
|
import { Validator, BeforeRemove } from './types';
|
|
5
4
|
/**
|
|
@@ -17,8 +16,8 @@ export declare const editTagProps: {
|
|
|
17
16
|
effect: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
|
|
18
17
|
round: BooleanConstructor;
|
|
19
18
|
placeholder: StringConstructor;
|
|
20
|
-
inputStyle: PropType<
|
|
21
|
-
buttonStyle: PropType<
|
|
19
|
+
inputStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
20
|
+
buttonStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
22
21
|
validator: PropType<Validator>;
|
|
23
22
|
beforeRemove: PropType<BeforeRemove>;
|
|
24
23
|
tooltipProps: PropType<EleTooltipProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { EleTooltipProps } from '../ele-avatar-group/types';
|
|
2
|
-
import type { StyleValue } from '../ele-app/types';
|
|
3
2
|
import type { TextProps } from '../ele-text/props';
|
|
4
3
|
import type { EllipsisTooltip, EleTextInstance } from './types';
|
|
5
4
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -23,14 +22,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
22
|
italic: BooleanConstructor;
|
|
24
23
|
icon: import("vue").PropType<import("../ele-text/types").TextIcon>;
|
|
25
24
|
iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
|
|
26
|
-
iconStyle: import("vue").PropType<
|
|
25
|
+
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
27
26
|
}, {
|
|
28
27
|
textRef: import("vue").Ref<EleTextInstance>;
|
|
29
28
|
virtualRef: import("vue").Ref<HTMLElement | undefined>;
|
|
30
29
|
tooltipProps: import("vue").ComputedRef<EleTooltipProps>;
|
|
31
30
|
multiLine: import("vue").ComputedRef<boolean>;
|
|
32
31
|
textProps: import("vue").ComputedRef<Partial<TextProps>>;
|
|
33
|
-
rootStyle: import("vue").ComputedRef<
|
|
32
|
+
rootStyle: import("vue").ComputedRef<Partial<import("vue").CSSProperties>>;
|
|
34
33
|
onHover: (e: MouseEvent) => void;
|
|
35
34
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
35
|
maxLine: NumberConstructor;
|
|
@@ -53,13 +52,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
52
|
italic: BooleanConstructor;
|
|
54
53
|
icon: import("vue").PropType<import("../ele-text/types").TextIcon>;
|
|
55
54
|
iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
|
|
56
|
-
iconStyle: import("vue").PropType<
|
|
55
|
+
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
57
56
|
}>>, {
|
|
58
57
|
tag: string;
|
|
59
58
|
tooltip: boolean | EllipsisTooltip;
|
|
59
|
+
underline: boolean;
|
|
60
60
|
strong: boolean;
|
|
61
61
|
italic: boolean;
|
|
62
|
-
underline: boolean;
|
|
63
62
|
deleted: boolean;
|
|
64
63
|
}, {}>;
|
|
65
64
|
export default _default;
|
|
@@ -24,6 +24,6 @@ export declare const ellipsisProps: {
|
|
|
24
24
|
italic: BooleanConstructor;
|
|
25
25
|
icon: PropType<import("../ele-text/types").TextIcon>;
|
|
26
26
|
iconProps: PropType<import("../ele-app/types").ElIconProps>;
|
|
27
|
-
iconStyle: PropType<import("
|
|
27
|
+
iconStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
28
28
|
};
|
|
29
29
|
export type EllipsisProps = ExtractPropTypes<typeof ellipsisProps>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
import type { FileItem, SortValue, ItemContextMenuOption, FileListLocale } from './types';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
3
4
|
data: {
|
|
@@ -29,13 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
30
|
locale: import("vue").PropType<Partial<FileListLocale>>;
|
|
30
31
|
}, {
|
|
31
32
|
lang: import("vue").ComputedRef<FileListLocale>;
|
|
32
|
-
selectorStyle: import("vue").
|
|
33
|
-
top: string;
|
|
34
|
-
left: string;
|
|
35
|
-
width: string;
|
|
36
|
-
height: string;
|
|
37
|
-
display: string;
|
|
38
|
-
}>;
|
|
33
|
+
selectorStyle: Ref<Partial<import("vue").CSSProperties>>;
|
|
39
34
|
isCheckAll: import("vue").ComputedRef<boolean>;
|
|
40
35
|
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
41
36
|
onCheckAllChange: () => void;
|
|
@@ -24,8 +24,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
24
24
|
const isCheckAll = vue.computed(() => {
|
|
25
25
|
return !!(props2.data && props2.data.length && props2.selections && props2.selections.length && !props2.data.some(
|
|
26
26
|
(d) => {
|
|
27
|
-
var _a;
|
|
28
|
-
return !((_a = props2.selections) == null ? void 0 : _a.some((t) => d.key === t.key));
|
|
27
|
+
var _a, _b;
|
|
28
|
+
return !((_b = (_a = props2.selections) == null ? void 0 : _a.some) == null ? void 0 : _b.call(_a, (t) => d.key === t.key));
|
|
29
29
|
}
|
|
30
30
|
));
|
|
31
31
|
});
|
|
@@ -93,10 +93,6 @@ export type EleDropdownProps = ComponentProps<DropdownProps>;
|
|
|
93
93
|
* 下拉菜单实例
|
|
94
94
|
*/
|
|
95
95
|
export type DropdownInstance = InstanceType<typeof EleDropdown> | null;
|
|
96
|
-
/**
|
|
97
|
-
* 选择框样式
|
|
98
|
-
*/
|
|
99
|
-
export type SelectorStyle = Exclude<StyleValue, string>;
|
|
100
96
|
/**
|
|
101
97
|
* 国际化
|
|
102
98
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ElEmptyProps } from '../../ele-app/types';
|
|
3
3
|
import type { EleTooltipProps } from '../../ele-avatar-group/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
icon: StringConstructor;
|
|
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
tooltip: BooleanConstructor;
|
|
12
12
|
tooltipProps: PropType<EleTooltipProps>;
|
|
13
13
|
popperVisible: BooleanConstructor;
|
|
14
|
-
gridStyle: PropType<
|
|
15
|
-
itemStyle: PropType<
|
|
14
|
+
gridStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
15
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
16
16
|
}, {
|
|
17
17
|
tooltipContent: import("vue").Ref<string>;
|
|
18
18
|
virtualRef: import("vue").Ref<any>;
|
|
@@ -30,8 +30,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
tooltip: BooleanConstructor;
|
|
31
31
|
tooltipProps: PropType<EleTooltipProps>;
|
|
32
32
|
popperVisible: BooleanConstructor;
|
|
33
|
-
gridStyle: PropType<
|
|
34
|
-
itemStyle: PropType<
|
|
33
|
+
gridStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
34
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
35
35
|
}>> & {
|
|
36
36
|
onSelect?: ((_icon: string) => any) | undefined;
|
|
37
37
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ElEmptyProps } from '../../ele-app/types';
|
|
3
3
|
import type { EleTooltipProps } from '../../ele-avatar-group/types';
|
|
4
4
|
import type { IconItem } from '../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -12,13 +12,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
tooltip: BooleanConstructor;
|
|
13
13
|
tooltipProps: PropType<EleTooltipProps>;
|
|
14
14
|
popperVisible: BooleanConstructor;
|
|
15
|
-
headerStyle: PropType<
|
|
16
|
-
tabsStyle: PropType<
|
|
17
|
-
searchStyle: PropType<
|
|
18
|
-
menusStyle: PropType<
|
|
19
|
-
bodyStyle: PropType<
|
|
20
|
-
gridStyle: PropType<
|
|
21
|
-
itemStyle: PropType<
|
|
15
|
+
headerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
16
|
+
tabsStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
17
|
+
searchStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
18
|
+
menusStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
19
|
+
bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
20
|
+
gridStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
21
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
22
22
|
}, {
|
|
23
23
|
Search: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
24
24
|
tabs: import("vue").Ref<string[]>;
|
|
@@ -44,13 +44,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
tooltip: BooleanConstructor;
|
|
45
45
|
tooltipProps: PropType<EleTooltipProps>;
|
|
46
46
|
popperVisible: BooleanConstructor;
|
|
47
|
-
headerStyle: PropType<
|
|
48
|
-
tabsStyle: PropType<
|
|
49
|
-
searchStyle: PropType<
|
|
50
|
-
menusStyle: PropType<
|
|
51
|
-
bodyStyle: PropType<
|
|
52
|
-
gridStyle: PropType<
|
|
53
|
-
itemStyle: PropType<
|
|
47
|
+
headerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
48
|
+
tabsStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
49
|
+
searchStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
50
|
+
menusStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
51
|
+
bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
52
|
+
gridStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
53
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
54
54
|
}>> & {
|
|
55
55
|
onSelect?: ((_icon: string) => any) | undefined;
|
|
56
56
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { StyleValue } from '../ele-app/types';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
modelValue: StringConstructor;
|
|
4
3
|
data: {
|
|
@@ -49,13 +48,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
48
|
default: boolean;
|
|
50
49
|
};
|
|
51
50
|
tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
|
|
52
|
-
headerStyle: import("vue").PropType<
|
|
53
|
-
tabsStyle: import("vue").PropType<
|
|
54
|
-
searchStyle: import("vue").PropType<
|
|
55
|
-
menusStyle: import("vue").PropType<
|
|
56
|
-
bodyStyle: import("vue").PropType<
|
|
57
|
-
gridStyle: import("vue").PropType<
|
|
58
|
-
itemStyle: import("vue").PropType<
|
|
51
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
52
|
+
tabsStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
53
|
+
searchStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
54
|
+
menusStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
55
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
56
|
+
gridStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
57
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
59
58
|
responsive: {
|
|
60
59
|
type: BooleanConstructor;
|
|
61
60
|
default: null;
|
|
@@ -63,7 +62,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
62
|
}, {
|
|
64
63
|
visible: import("vue").Ref<boolean>;
|
|
65
64
|
popupClass: import("vue").ComputedRef<string>;
|
|
66
|
-
popupStyle: import("vue").ComputedRef<
|
|
65
|
+
popupStyle: import("vue").ComputedRef<Partial<import("vue").CSSProperties> | undefined>;
|
|
67
66
|
updateVisible: (value: boolean) => void;
|
|
68
67
|
onClear: () => void;
|
|
69
68
|
onFocus: (e: FocusEvent) => void;
|
|
@@ -126,13 +125,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
125
|
default: boolean;
|
|
127
126
|
};
|
|
128
127
|
tooltipProps: import("vue").PropType<import("../ele-avatar-group/types").EleTooltipProps>;
|
|
129
|
-
headerStyle: import("vue").PropType<
|
|
130
|
-
tabsStyle: import("vue").PropType<
|
|
131
|
-
searchStyle: import("vue").PropType<
|
|
132
|
-
menusStyle: import("vue").PropType<
|
|
133
|
-
bodyStyle: import("vue").PropType<
|
|
134
|
-
gridStyle: import("vue").PropType<
|
|
135
|
-
itemStyle: import("vue").PropType<
|
|
128
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
129
|
+
tabsStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
130
|
+
searchStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
131
|
+
menusStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
132
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
133
|
+
gridStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
134
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
136
135
|
responsive: {
|
|
137
136
|
type: BooleanConstructor;
|
|
138
137
|
default: null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ElEmptyProps } from '../ele-app/types';
|
|
3
3
|
import type { EleTooltipProps } from '../ele-avatar-group/types';
|
|
4
4
|
import type { IconItem } from './types';
|
|
5
5
|
/**
|
|
@@ -55,13 +55,13 @@ export declare const iconSelectProps: {
|
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
57
|
tooltipProps: PropType<EleTooltipProps>;
|
|
58
|
-
headerStyle: PropType<
|
|
59
|
-
tabsStyle: PropType<
|
|
60
|
-
searchStyle: PropType<
|
|
61
|
-
menusStyle: PropType<
|
|
62
|
-
bodyStyle: PropType<
|
|
63
|
-
gridStyle: PropType<
|
|
64
|
-
itemStyle: PropType<
|
|
58
|
+
headerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
59
|
+
tabsStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
60
|
+
searchStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
61
|
+
menusStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
62
|
+
bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
63
|
+
gridStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
64
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
65
65
|
responsive: {
|
|
66
66
|
type: BooleanConstructor;
|
|
67
67
|
default: null;
|
|
@@ -1,14 +1,39 @@
|
|
|
1
|
+
import { ComponentProps } from '../ele-app/types';
|
|
2
|
+
import type { CircleProps } from './types';
|
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
|
2
4
|
loading: BooleanConstructor;
|
|
3
5
|
text: StringConstructor;
|
|
4
6
|
background: StringConstructor;
|
|
5
7
|
spinner: StringConstructor;
|
|
6
|
-
|
|
8
|
+
svgViewBox: StringConstructor;
|
|
9
|
+
type: {
|
|
10
|
+
type: import("vue").PropType<import("./types").LoadingType>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
blur: BooleanConstructor;
|
|
14
|
+
size: import("vue").PropType<import("./types").LoadingSize>;
|
|
15
|
+
spinnerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
16
|
+
textStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
17
|
+
}, {
|
|
18
|
+
isCircle: import("vue").ComputedRef<boolean>;
|
|
19
|
+
rootProps: import("vue").ComputedRef<ComponentProps<CircleProps>>;
|
|
20
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
21
|
loading: BooleanConstructor;
|
|
8
22
|
text: StringConstructor;
|
|
9
23
|
background: StringConstructor;
|
|
10
24
|
spinner: StringConstructor;
|
|
25
|
+
svgViewBox: StringConstructor;
|
|
26
|
+
type: {
|
|
27
|
+
type: import("vue").PropType<import("./types").LoadingType>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
blur: BooleanConstructor;
|
|
31
|
+
size: import("vue").PropType<import("./types").LoadingSize>;
|
|
32
|
+
spinnerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
33
|
+
textStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
11
34
|
}>>, {
|
|
35
|
+
type: import("./types").LoadingType;
|
|
12
36
|
loading: boolean;
|
|
37
|
+
blur: boolean;
|
|
13
38
|
}, {}>;
|
|
14
39
|
export default _default;
|
package/lib/ele-loading/index.js
CHANGED
|
@@ -1,13 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const vue = require("vue");
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
|
+
const receiver = require("../ele-config-provider/receiver");
|
|
4
5
|
const props = require("./props");
|
|
5
6
|
const _sfc_main = vue.defineComponent({
|
|
6
7
|
name: "EleLoading",
|
|
7
8
|
directives: {
|
|
8
9
|
loading: elementPlus.vLoading
|
|
9
10
|
},
|
|
10
|
-
props: props.loadingProps
|
|
11
|
+
props: props.loadingProps,
|
|
12
|
+
setup(props2) {
|
|
13
|
+
const { authenticated } = receiver.useLicense();
|
|
14
|
+
const isCircle = vue.computed(() => {
|
|
15
|
+
return !authenticated.value || props2.type === "circle";
|
|
16
|
+
});
|
|
17
|
+
const rootProps = vue.computed(() => {
|
|
18
|
+
const obj = {
|
|
19
|
+
class: ["ele-loading", { "ele-loading-show": props2.loading }]
|
|
20
|
+
};
|
|
21
|
+
if (isCircle.value) {
|
|
22
|
+
obj["element-loading-text"] = props2.text;
|
|
23
|
+
obj["element-loading-background"] = props2.background;
|
|
24
|
+
obj["element-loading-spinner"] = props2.spinner;
|
|
25
|
+
obj["element-loading-svg-view-box"] = props2.svgViewBox;
|
|
26
|
+
}
|
|
27
|
+
return obj;
|
|
28
|
+
});
|
|
29
|
+
return { isCircle, rootProps };
|
|
30
|
+
}
|
|
11
31
|
});
|
|
12
32
|
const _export_sfc = (sfc, props2) => {
|
|
13
33
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -16,17 +36,39 @@ const _export_sfc = (sfc, props2) => {
|
|
|
16
36
|
}
|
|
17
37
|
return target;
|
|
18
38
|
};
|
|
19
|
-
const _hoisted_1 =
|
|
39
|
+
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "ele-loading-dot" }, [
|
|
40
|
+
/* @__PURE__ */ vue.createElementVNode("i"),
|
|
41
|
+
/* @__PURE__ */ vue.createElementVNode("i"),
|
|
42
|
+
/* @__PURE__ */ vue.createElementVNode("i"),
|
|
43
|
+
/* @__PURE__ */ vue.createElementVNode("i")
|
|
44
|
+
], -1);
|
|
20
45
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21
46
|
const _directive_loading = vue.resolveDirective("loading");
|
|
22
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
47
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.guardReactiveProps(_ctx.rootProps)), [
|
|
48
|
+
vue.renderSlot(_ctx.$slots, "default"),
|
|
49
|
+
!_ctx.isCircle ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
50
|
+
key: 0,
|
|
51
|
+
style: vue.normalizeStyle(_ctx.spinnerStyle),
|
|
52
|
+
class: vue.normalizeClass([
|
|
53
|
+
"ele-loading-spinner",
|
|
54
|
+
{ "ele-loading-blur": _ctx.blur },
|
|
55
|
+
{ "ele-loading-small": _ctx.size === "small" },
|
|
56
|
+
{ "ele-loading-large": _ctx.size === "large" }
|
|
57
|
+
])
|
|
58
|
+
}, [
|
|
59
|
+
vue.renderSlot(_ctx.$slots, "spinner", {}, () => [
|
|
60
|
+
_hoisted_1
|
|
61
|
+
]),
|
|
62
|
+
_ctx.text ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
63
|
+
key: 0,
|
|
64
|
+
class: "ele-loading-text",
|
|
65
|
+
style: vue.normalizeStyle(_ctx.textStyle)
|
|
66
|
+
}, vue.toDisplayString(_ctx.text), 5)) : vue.createCommentVNode("", true)
|
|
67
|
+
], 6)), [
|
|
68
|
+
[vue.vShow, _ctx.loading]
|
|
69
|
+
]) : vue.createCommentVNode("", true)
|
|
70
|
+
], 16)), [
|
|
71
|
+
[_directive_loading, _ctx.isCircle && _ctx.loading]
|
|
30
72
|
]);
|
|
31
73
|
}
|
|
32
74
|
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
|
1
|
+
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { LoadingType, LoadingSize } from './types';
|
|
2
3
|
/**
|
|
3
4
|
* 属性
|
|
4
5
|
*/
|
|
@@ -7,5 +8,14 @@ export declare const loadingProps: {
|
|
|
7
8
|
text: StringConstructor;
|
|
8
9
|
background: StringConstructor;
|
|
9
10
|
spinner: StringConstructor;
|
|
11
|
+
svgViewBox: StringConstructor;
|
|
12
|
+
type: {
|
|
13
|
+
type: PropType<LoadingType>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
blur: BooleanConstructor;
|
|
17
|
+
size: PropType<LoadingSize>;
|
|
18
|
+
spinnerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
19
|
+
textStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
10
20
|
};
|
|
11
21
|
export type LoadingProps = ExtractPropTypes<typeof loadingProps>;
|
package/lib/ele-loading/props.js
CHANGED
|
@@ -8,6 +8,21 @@ const loadingProps = {
|
|
|
8
8
|
// 背景遮罩的颜色
|
|
9
9
|
background: String,
|
|
10
10
|
// 自定义加载图标
|
|
11
|
-
spinner: String
|
|
11
|
+
spinner: String,
|
|
12
|
+
// 自定义加载图标svg的view-box
|
|
13
|
+
svgViewBox: String,
|
|
14
|
+
// 加载器类型
|
|
15
|
+
type: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "dot"
|
|
18
|
+
},
|
|
19
|
+
// 背景模糊效果
|
|
20
|
+
blur: Boolean,
|
|
21
|
+
// 加载器尺寸
|
|
22
|
+
size: String,
|
|
23
|
+
// 自定义加载器样式
|
|
24
|
+
spinnerStyle: Object,
|
|
25
|
+
// 自定义文本样式
|
|
26
|
+
textStyle: Object
|
|
12
27
|
};
|
|
13
28
|
exports.loadingProps = loadingProps;
|