ele-admin-plus 1.1.3 → 1.1.4-beta.2
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 +84 -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-count-up/index.d.ts +2 -2
- package/es/ele-count-up/index.js +2 -1
- package/es/ele-count-up/props.d.ts +1 -1
- 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/types/index.d.ts +9 -0
- package/es/ele-modal/util.js +45 -32
- 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 +7 -6
- package/es/ele-printer/index.js +11 -4
- 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/style/layout-mobile.scss +1 -0
- 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 +4 -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/ele-xg-player/index.js +1 -0
- 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 +84 -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-count-up/index.d.ts +2 -2
- package/lib/ele-count-up/index.js +2 -1
- package/lib/ele-count-up/props.d.ts +1 -1
- 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/types/index.d.ts +9 -0
- package/lib/ele-modal/util.js +45 -32
- 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 +7 -6
- package/lib/ele-printer/index.js +10 -3
- 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/style/layout-mobile.scss +1 -0
- 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 +4 -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/ele-xg-player/index.js +1 -0
- 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 +25 -23
- package/typings/global.d.ts +52 -52
- package/es/ele-alert/types/index.d.ts +0 -0
- package/lib/ele-alert/types/index.d.ts +0 -0
package/es/ele-alert/index.d.ts
CHANGED
|
@@ -10,13 +10,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
closeText: StringConstructor;
|
|
11
11
|
showIcon: BooleanConstructor;
|
|
12
12
|
effect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
13
|
-
iconStyle: import("vue").PropType<import("
|
|
13
|
+
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
14
14
|
iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
|
|
15
|
-
closeIconStyle: import("vue").PropType<import("
|
|
15
|
+
closeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
16
16
|
closeIconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
|
|
17
|
-
bodyStyle: import("vue").PropType<import("
|
|
18
|
-
titleStyle: import("vue").PropType<import("
|
|
19
|
-
descriptionStyle: import("vue").PropType<import("
|
|
17
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
18
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
19
|
+
descriptionStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
20
20
|
transitionName: {
|
|
21
21
|
type: StringConstructor;
|
|
22
22
|
default: string;
|
|
@@ -40,13 +40,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
closeText: StringConstructor;
|
|
41
41
|
showIcon: BooleanConstructor;
|
|
42
42
|
effect: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
43
|
-
iconStyle: import("vue").PropType<import("
|
|
43
|
+
iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
44
44
|
iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
|
|
45
|
-
closeIconStyle: import("vue").PropType<import("
|
|
45
|
+
closeIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
46
46
|
closeIconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
|
|
47
|
-
bodyStyle: import("vue").PropType<import("
|
|
48
|
-
titleStyle: import("vue").PropType<import("
|
|
49
|
-
descriptionStyle: import("vue").PropType<import("
|
|
47
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
48
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
49
|
+
descriptionStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
50
50
|
transitionName: {
|
|
51
51
|
type: StringConstructor;
|
|
52
52
|
default: string;
|
package/es/ele-alert/props.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ElIconProps } from '../ele-app/types';
|
|
3
3
|
/**
|
|
4
4
|
* 属性
|
|
5
5
|
*/
|
|
@@ -15,13 +15,13 @@ export declare const alertProps: {
|
|
|
15
15
|
closeText: StringConstructor;
|
|
16
16
|
showIcon: BooleanConstructor;
|
|
17
17
|
effect: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark", unknown> | undefined>;
|
|
18
|
-
iconStyle: PropType<
|
|
18
|
+
iconStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
19
19
|
iconProps: PropType<ElIconProps>;
|
|
20
|
-
closeIconStyle: PropType<
|
|
20
|
+
closeIconStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
21
21
|
closeIconProps: PropType<ElIconProps>;
|
|
22
|
-
bodyStyle: PropType<
|
|
23
|
-
titleStyle: PropType<
|
|
24
|
-
descriptionStyle: PropType<
|
|
22
|
+
bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
23
|
+
titleStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
24
|
+
descriptionStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
25
25
|
transitionName: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
default: string;
|
|
@@ -108,6 +108,10 @@
|
|
|
108
108
|
border-radius: inherit;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
.el-select .el-select-tags-wrapper.has-prefix {
|
|
112
|
+
margin-left: 6px !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
111
115
|
/* Autocomplete */
|
|
112
116
|
.el-autocomplete__popper {
|
|
113
117
|
.el-autocomplete-suggestion {
|
|
@@ -274,7 +278,9 @@
|
|
|
274
278
|
.el-table-filter {
|
|
275
279
|
.el-table-filter__list {
|
|
276
280
|
padding: eleVar('table-filter', 'padding');
|
|
281
|
+
max-height: eleVar('table-filter', 'max-height');
|
|
277
282
|
box-sizing: border-box;
|
|
283
|
+
overflow: auto;
|
|
278
284
|
}
|
|
279
285
|
|
|
280
286
|
.el-table-filter__list-item {
|
|
@@ -367,6 +373,23 @@
|
|
|
367
373
|
border-top: eleVar('message-box', 'footer-border');
|
|
368
374
|
box-sizing: border-box;
|
|
369
375
|
}
|
|
376
|
+
|
|
377
|
+
.el-message-box__input {
|
|
378
|
+
padding-top: eleVar('message-box', 'input-padding');
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.el-message-box__errormsg {
|
|
382
|
+
line-height: 18px;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
body .el-overlay.is-message-box > .el-overlay-message-box {
|
|
387
|
+
overflow-x: hidden;
|
|
388
|
+
scrollbar-width: none;
|
|
389
|
+
|
|
390
|
+
&::-webkit-scrollbar {
|
|
391
|
+
display: none;
|
|
392
|
+
}
|
|
370
393
|
}
|
|
371
394
|
|
|
372
395
|
/* Radio */
|
|
@@ -665,6 +688,12 @@ body .el-color-picker .el-color-picker__empty {
|
|
|
665
688
|
font-size: 13px;
|
|
666
689
|
}
|
|
667
690
|
|
|
691
|
+
/* Backtop */
|
|
692
|
+
body .el-backtop {
|
|
693
|
+
box-shadow: elVar('box-shadow', 'light');
|
|
694
|
+
transition: (color $ele-transition, background-color $ele-transition);
|
|
695
|
+
}
|
|
696
|
+
|
|
668
697
|
/* ImageViewer */
|
|
669
698
|
.el-image-viewer__wrapper {
|
|
670
699
|
#{elVarName('text-color', 'regular')}: eleVar('image-viewer', 'tool-bg');
|
|
@@ -818,7 +847,7 @@ body .el-color-picker .el-color-picker__empty {
|
|
|
818
847
|
.el-date-picker,
|
|
819
848
|
.el-date-range-picker {
|
|
820
849
|
.el-picker-panel__sidebar {
|
|
821
|
-
flex-shrink:
|
|
850
|
+
flex-shrink: 1;
|
|
822
851
|
background: none;
|
|
823
852
|
width: eleVar('datepicker', 'sidebar-width');
|
|
824
853
|
padding: eleVar('datepicker', 'sidebar-padding');
|
|
@@ -1013,7 +1042,7 @@ body .el-color-picker .el-color-picker__empty {
|
|
|
1013
1042
|
|
|
1014
1043
|
// 范围选择
|
|
1015
1044
|
.el-date-range-picker {
|
|
1016
|
-
.el-date-range-picker__header {
|
|
1045
|
+
.el-date-range-picker__content .el-date-range-picker__header {
|
|
1017
1046
|
display: flex;
|
|
1018
1047
|
align-items: center;
|
|
1019
1048
|
height: eleVar('datepicker', 'header-height');
|
|
@@ -1073,6 +1102,7 @@ body .el-color-picker .el-color-picker__empty {
|
|
|
1073
1102
|
|
|
1074
1103
|
.el-picker-panel__body {
|
|
1075
1104
|
display: flex;
|
|
1105
|
+
flex-shrink: 0;
|
|
1076
1106
|
}
|
|
1077
1107
|
|
|
1078
1108
|
.el-date-range-picker__content {
|
|
@@ -1486,7 +1516,7 @@ body .el-color-picker .el-color-picker__empty {
|
|
|
1486
1516
|
}
|
|
1487
1517
|
|
|
1488
1518
|
.el-time-range-picker__cell {
|
|
1489
|
-
flex-shrink:
|
|
1519
|
+
flex-shrink: 1;
|
|
1490
1520
|
padding: 0;
|
|
1491
1521
|
|
|
1492
1522
|
& + .el-time-range-picker__cell .el-time-range-picker__body {
|
|
@@ -1521,3 +1551,54 @@ body .el-color-picker .el-color-picker__empty {
|
|
|
1521
1551
|
.el-popper .el-time-range-picker {
|
|
1522
1552
|
width: auto;
|
|
1523
1553
|
}
|
|
1554
|
+
|
|
1555
|
+
.el-popper.is-light.el-picker__popper {
|
|
1556
|
+
max-width: calc(100% - 32px);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
/* 日期选择小屏幕自适应 */
|
|
1560
|
+
@media screen and (max-width: 768px) {
|
|
1561
|
+
.el-date-range-picker {
|
|
1562
|
+
.el-picker-panel__body {
|
|
1563
|
+
flex-direction: column;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
.el-date-range-picker__content.is-left table {
|
|
1567
|
+
box-shadow: 0 0.8px 0 0 eleVar('datepicker', 'inner-border');
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
&.has-time .el-picker-panel__body {
|
|
1571
|
+
display: flex;
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
.el-date-range-picker .el-date-range-picker__time-header {
|
|
1576
|
+
width: eleVar('datepicker', 'body-width');
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
.el-date-range-picker__editors-wrap {
|
|
1580
|
+
& > .el-date-range-picker__time-picker-wrap:first-child {
|
|
1581
|
+
display: none;
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
.el-popper .el-picker-panel .el-time-panel {
|
|
1586
|
+
left: auto;
|
|
1587
|
+
right: 0;
|
|
1588
|
+
|
|
1589
|
+
&::after {
|
|
1590
|
+
left: auto;
|
|
1591
|
+
right: 20px;
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
.el-date-range-picker__editors-wrap:not(.is-right) .el-time-panel {
|
|
1596
|
+
left: 0;
|
|
1597
|
+
right: auto;
|
|
1598
|
+
|
|
1599
|
+
&::after {
|
|
1600
|
+
left: 20px;
|
|
1601
|
+
right: auto;
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { ExtractPropTypes, CSSProperties } from 'vue';
|
|
2
|
-
import type { IconProps, RowProps, ColProps, BreadcrumbProps, BreadcrumbItemProps, InputProps, TagProps, AvatarProps, PopoverProps, ElTooltipProps as TooltipProps, PopconfirmProps, AlertProps, ButtonProps, CardProps, EmptyProps, ProgressProps, MenuProps, MenuItemProps, SubMenuProps, MenuItemGroupProps, BadgeProps, DialogProps, StepProps, TabsProps, TabPaneProps, TableProps, ElPopper, ElPopover, ElTooltip, ElBreadcrumb, ElDrawer, ElInput, ElDropdown, ElMenu, ElSubMenu, ElDialog, ElTable, ElTabs, ElImage, ElScrollbar } from 'element-plus';
|
|
2
|
+
import type { IconProps, RowProps, ColProps, BreadcrumbProps, BreadcrumbItemProps, InputProps, TagProps, AvatarProps, PopoverProps, ElTooltipProps as TooltipProps, PopconfirmProps, AlertProps, ButtonProps, CardProps, EmptyProps, ProgressProps, MenuProps, MenuItemProps, SubMenuProps, MenuItemGroupProps, BadgeProps, LinkProps, DialogProps, StepProps, TabsProps, TabPaneProps, TableProps, ElPopper, ElPopover, ElTooltip, ElBreadcrumb, ElDrawer, ElInput, ElDropdown, ElMenu, ElSubMenu, ElDialog, ElTable, ElTabs, ElImage, ElScrollbar } from 'element-plus';
|
|
3
3
|
import type { dropdownProps } from 'element-plus';
|
|
4
4
|
import type { dropdownItemProps } from 'element-plus';
|
|
5
5
|
import type columnProps from 'element-plus/es/components/table/src/table-column/defaults';
|
|
6
6
|
/**
|
|
7
7
|
* 样式值
|
|
8
8
|
*/
|
|
9
|
-
export type StyleValue =
|
|
9
|
+
export type StyleValue = Partial<CSSProperties>;
|
|
10
10
|
/**
|
|
11
11
|
* 样式多个值
|
|
12
12
|
*/
|
|
13
|
-
export type StyleValues = Array<StyleValue>;
|
|
13
|
+
export type StyleValues = StyleValue | Array<StyleValue>;
|
|
14
14
|
/**
|
|
15
15
|
* 类名值
|
|
16
16
|
*/
|
|
@@ -18,15 +18,15 @@ export type ClassValue = string | Record<string, boolean | undefined>;
|
|
|
18
18
|
/**
|
|
19
19
|
* 类名多个值
|
|
20
20
|
*/
|
|
21
|
-
export type ClassValues = Array<ClassValue>;
|
|
21
|
+
export type ClassValues = ClassValue | Array<ClassValue>;
|
|
22
22
|
/**
|
|
23
23
|
* 组件属性
|
|
24
24
|
*/
|
|
25
25
|
export type ComponentProps<T> = Partial<T> & {
|
|
26
26
|
/** 类名 */
|
|
27
|
-
class?:
|
|
27
|
+
class?: ClassValues;
|
|
28
28
|
/** 样式 */
|
|
29
|
-
style?:
|
|
29
|
+
style?: StyleValues;
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* ElementPlus 组件属性
|
|
@@ -54,6 +54,7 @@ export type ElMenuItemProps = ComponentProps<MenuItemProps>;
|
|
|
54
54
|
export type ElSubMenuProps = ComponentProps<SubMenuProps>;
|
|
55
55
|
export type ElMenuItemGroupProps = ComponentProps<MenuItemGroupProps>;
|
|
56
56
|
export type ElBadgeProps = ComponentProps<BadgeProps>;
|
|
57
|
+
export type ElLinkProps = ComponentProps<LinkProps>;
|
|
57
58
|
export type ElDialogProps = ComponentProps<DialogProps>;
|
|
58
59
|
export type ElStepProps = ComponentProps<StepProps>;
|
|
59
60
|
export type ElTabsProps = ComponentProps<TabsProps>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { StyleValue } from '../ele-app/types';
|
|
2
1
|
import type { AvatarItem, AvatarErrorOption } from './types';
|
|
3
2
|
declare const _default: import("vue").DefineComponent<{
|
|
4
3
|
data: {
|
|
@@ -8,9 +7,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
7
|
maxCount: NumberConstructor;
|
|
9
8
|
shape: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown> | undefined>;
|
|
10
9
|
size: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number> | undefined>;
|
|
11
|
-
itemStyle: import("vue").PropType<
|
|
12
|
-
avatarStyle: import("vue").PropType<
|
|
13
|
-
moreStyle: import("vue").PropType<
|
|
10
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
11
|
+
avatarStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
12
|
+
moreStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
14
13
|
tooltip: {
|
|
15
14
|
type: BooleanConstructor;
|
|
16
15
|
default: boolean;
|
|
@@ -26,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
25
|
tooltipContent: import("vue").Ref<string>;
|
|
27
26
|
virtualRef: import("vue").Ref<any>;
|
|
28
27
|
overflowVisible: import("vue").Ref<boolean>;
|
|
29
|
-
commonStyle: import("vue").ComputedRef<
|
|
28
|
+
commonStyle: import("vue").ComputedRef<Partial<import("vue").CSSProperties>>;
|
|
30
29
|
isOverflow: import("vue").ComputedRef<boolean>;
|
|
31
30
|
avatarData: import("vue").ComputedRef<AvatarItem[]>;
|
|
32
31
|
overflowCount: import("vue").ComputedRef<number>;
|
|
@@ -47,9 +46,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
46
|
maxCount: NumberConstructor;
|
|
48
47
|
shape: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown> | undefined>;
|
|
49
48
|
size: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number> | undefined>;
|
|
50
|
-
itemStyle: import("vue").PropType<
|
|
51
|
-
avatarStyle: import("vue").PropType<
|
|
52
|
-
moreStyle: import("vue").PropType<
|
|
49
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
50
|
+
avatarStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
51
|
+
moreStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
53
52
|
tooltip: {
|
|
54
53
|
type: BooleanConstructor;
|
|
55
54
|
default: boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import type { StyleValue } from '../ele-app/types';
|
|
3
2
|
import type { AvatarItem, AvatarErrorOption, EleTooltipProps, ElePopoverProps } from './types';
|
|
4
3
|
/**
|
|
5
4
|
* 属性
|
|
@@ -12,9 +11,9 @@ export declare const avatarGroupProps: {
|
|
|
12
11
|
maxCount: NumberConstructor;
|
|
13
12
|
shape: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "circle" | "square", unknown> | undefined>;
|
|
14
13
|
size: PropType<import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number> | undefined>;
|
|
15
|
-
itemStyle: PropType<
|
|
16
|
-
avatarStyle: PropType<
|
|
17
|
-
moreStyle: PropType<
|
|
14
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
15
|
+
avatarStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
16
|
+
moreStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
18
17
|
tooltip: {
|
|
19
18
|
type: BooleanConstructor;
|
|
20
19
|
default: boolean;
|
|
@@ -6,13 +6,10 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
|
|
9
|
+
.el-input,
|
|
10
|
+
.el-input__wrapper,
|
|
9
11
|
.el-input__inner {
|
|
10
|
-
cursor:
|
|
11
|
-
|
|
12
|
-
&::selection {
|
|
13
|
-
color: elVar('input', 'text-color');
|
|
14
|
-
background: transparent;
|
|
15
|
-
}
|
|
12
|
+
cursor: inherit;
|
|
16
13
|
}
|
|
17
14
|
|
|
18
15
|
.el-input__prefix-inner {
|
|
@@ -108,6 +105,7 @@
|
|
|
108
105
|
min-height: elVar('component-size', 'large');
|
|
109
106
|
}
|
|
110
107
|
|
|
108
|
+
.el-input.is-disabled,
|
|
111
109
|
.el-input.is-disabled + .ele-select-tags {
|
|
112
110
|
cursor: not-allowed;
|
|
113
111
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
bodyStyle: import("vue").PropType<import("
|
|
3
|
-
extraStyle: import("vue").PropType<import("
|
|
2
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
3
|
+
extraStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
4
4
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
-
bodyStyle: import("vue").PropType<import("
|
|
6
|
-
extraStyle: import("vue").PropType<import("
|
|
5
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
6
|
+
extraStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
7
7
|
}>>, {}, {}>;
|
|
8
8
|
export default _default;
|
|
@@ -1,10 +1,9 @@
|
|
|
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 bottomBarProps: {
|
|
7
|
-
bodyStyle: PropType<
|
|
8
|
-
extraStyle: PropType<
|
|
6
|
+
bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
7
|
+
extraStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
9
8
|
};
|
|
10
9
|
export type BottomBarProps = ExtractPropTypes<typeof bottomBarProps>;
|
package/es/ele-card/index.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
header: StringConstructor;
|
|
3
|
-
bodyStyle: import("vue").PropType<import("
|
|
3
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
4
4
|
shadow: {
|
|
5
5
|
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
8
|
bordered: BooleanConstructor;
|
|
9
|
-
headerStyle: import("vue").PropType<import("
|
|
10
|
-
titleStyle: import("vue").PropType<import("
|
|
9
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
10
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
11
11
|
flexTable: BooleanConstructor;
|
|
12
12
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
header: StringConstructor;
|
|
14
|
-
bodyStyle: import("vue").PropType<import("
|
|
14
|
+
bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
15
15
|
shadow: {
|
|
16
16
|
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
bordered: BooleanConstructor;
|
|
20
|
-
headerStyle: import("vue").PropType<import("
|
|
21
|
-
titleStyle: import("vue").PropType<import("
|
|
20
|
+
headerStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
21
|
+
titleStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
22
22
|
flexTable: BooleanConstructor;
|
|
23
23
|
}>>, {
|
|
24
24
|
shadow: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined;
|
package/es/ele-card/props.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import type { StyleValue } from '../ele-app/types';
|
|
3
2
|
/**
|
|
4
3
|
* 属性
|
|
5
4
|
*/
|
|
6
5
|
export declare const cardProps: {
|
|
7
6
|
header: StringConstructor;
|
|
8
|
-
bodyStyle: PropType<
|
|
7
|
+
bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
9
8
|
shadow: {
|
|
10
9
|
type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
|
|
11
10
|
default: string;
|
|
12
11
|
};
|
|
13
12
|
bordered: BooleanConstructor;
|
|
14
|
-
headerStyle: PropType<
|
|
15
|
-
titleStyle: PropType<
|
|
13
|
+
headerStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
14
|
+
titleStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
16
15
|
flexTable: BooleanConstructor;
|
|
17
16
|
};
|
|
18
17
|
export type CardProps = ExtractPropTypes<typeof cardProps>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { StyleValue } from '../../ele-app/types';
|
|
3
2
|
import type { CheckCardItem } from '../types';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
item: PropType<CheckCardItem>;
|
|
@@ -7,14 +6,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
6
|
disabled: BooleanConstructor;
|
|
8
7
|
bordered: BooleanConstructor;
|
|
9
8
|
arrow: BooleanConstructor;
|
|
10
|
-
arrowStyle: PropType<
|
|
9
|
+
arrowStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
11
10
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
11
|
item: PropType<CheckCardItem>;
|
|
13
12
|
checked: BooleanConstructor;
|
|
14
13
|
disabled: BooleanConstructor;
|
|
15
14
|
bordered: BooleanConstructor;
|
|
16
15
|
arrow: BooleanConstructor;
|
|
17
|
-
arrowStyle: PropType<
|
|
16
|
+
arrowStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
18
17
|
}>>, {
|
|
19
18
|
disabled: boolean;
|
|
20
19
|
bordered: boolean;
|
|
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
-
arrowStyle: import("vue").PropType<import("
|
|
15
|
+
arrowStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
16
16
|
itemClass: StringConstructor;
|
|
17
|
-
itemStyle: import("vue").PropType<import("
|
|
17
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
18
18
|
row: import("vue").PropType<boolean | import("../ele-app/types").ElRowProps>;
|
|
19
19
|
}, {
|
|
20
20
|
isChecked: (item: CheckCardItem) => boolean;
|
|
@@ -35,9 +35,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
type: BooleanConstructor;
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
|
-
arrowStyle: import("vue").PropType<import("
|
|
38
|
+
arrowStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
39
39
|
itemClass: StringConstructor;
|
|
40
|
-
itemStyle: import("vue").PropType<import("
|
|
40
|
+
itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
|
|
41
41
|
row: import("vue").PropType<boolean | import("../ele-app/types").ElRowProps>;
|
|
42
42
|
}>> & {
|
|
43
43
|
"onUpdate:modelValue"?: ((_value: CheckedValue) => any) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ElRowProps } from '../ele-app/types';
|
|
3
3
|
import type { CheckCardItem, CheckedValue } from './types';
|
|
4
4
|
/**
|
|
5
5
|
* 属性
|
|
@@ -17,9 +17,9 @@ export declare const checkCardProps: {
|
|
|
17
17
|
type: BooleanConstructor;
|
|
18
18
|
default: boolean;
|
|
19
19
|
};
|
|
20
|
-
arrowStyle: PropType<
|
|
20
|
+
arrowStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
21
21
|
itemClass: StringConstructor;
|
|
22
|
-
itemStyle: PropType<
|
|
22
|
+
itemStyle: PropType<Partial<import("vue").CSSProperties>>;
|
|
23
23
|
row: PropType<boolean | ElRowProps>;
|
|
24
24
|
};
|
|
25
25
|
export type CheckCardProps = ExtractPropTypes<typeof checkCardProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
import { LAYOUT_KEY } from './props';
|
|
3
3
|
import type { EleGlobalProvide, LocaleProps, UseLicenseResult, UseLocaleResult, LayoutProvide, ResponsiveProps } from './types';
|
|
4
|
-
export declare const UNAUTHORIZED_TIP = "EleAdminPlus \u4E3A\u5546\u4E1A\u4EA7\u54C1, \u8BF7\u524D\u5F80
|
|
4
|
+
export declare const UNAUTHORIZED_TIP = "EleAdminPlus \u4E3A\u5546\u4E1A\u4EA7\u54C1\u9700\u8981\u6388\u6743\u4F7F\u7528, \u8BF7\u524D\u5F80\u5B98\u7F51 www.eleadmin.com \u8D2D\u4E70\u6388\u6743";
|
|
5
5
|
/**
|
|
6
6
|
* 获取全局配置
|
|
7
7
|
*/
|
|
@@ -2,25 +2,25 @@ import { inject as L, computed as v, ref as P, watch as R, unref as T } from "vu
|
|
|
2
2
|
import { PROVIDE_KEY as I, LAYOUT_KEY as N } from "./props";
|
|
3
3
|
import { LAYOUT_KEY as W } from "./props";
|
|
4
4
|
import _ from "../lang/zh_CN";
|
|
5
|
-
const K = "EleAdminPlus \u4E3A\u5546\u4E1A\u4EA7\u54C1, \u8BF7\u524D\u5F80
|
|
6
|
-
function
|
|
5
|
+
const K = "EleAdminPlus \u4E3A\u5546\u4E1A\u4EA7\u54C1\u9700\u8981\u6388\u6743\u4F7F\u7528, \u8BF7\u524D\u5F80\u5B98\u7F51 www.eleadmin.com \u8D2D\u4E70\u6388\u6743", U = "BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C", $ = 1691081914, x = "1.1";
|
|
6
|
+
function B() {
|
|
7
7
|
return L(I, {});
|
|
8
8
|
}
|
|
9
9
|
function H(t) {
|
|
10
|
-
const o =
|
|
10
|
+
const o = B();
|
|
11
11
|
return v(() => o[t] ?? {});
|
|
12
12
|
}
|
|
13
13
|
function J(t, o) {
|
|
14
|
-
const n =
|
|
14
|
+
const n = B();
|
|
15
15
|
return { lang: v(() => {
|
|
16
16
|
const r = n.locale ?? _;
|
|
17
17
|
return t ? Object.assign({}, r[t] ?? {}, o == null ? void 0 : o.locale) : r;
|
|
18
18
|
}), globalConfig: n };
|
|
19
19
|
}
|
|
20
20
|
function k() {
|
|
21
|
-
const t =
|
|
21
|
+
const t = B(), o = v(() => t.license), n = P(!1), s = (r, g, u, l) => {
|
|
22
22
|
const e = [new Array(60).join("*")];
|
|
23
|
-
if (e.push(K), o.value ? !r && g == null && !u && e.push("\u8BF7\u4F7F\u7528\u6B63\u786E\u683C\u5F0F\u7684\u6388\u6743\u7801;") : e.push("\u8BF7\u5148\u914D\u7F6E\u81EA\u5DF1\u7684\u6388\u6743\u7801;"), r && e.push(`\u6388\u6743\u7248\u672C\u53F7\u4E0D\u5339\u914D, \u8BF7\u4F7F\u7528: ${r}, \u5F53\u524D\u7248\u672C: ${
|
|
23
|
+
if (e.push(K), o.value ? !r && g == null && !u && e.push("\u8BF7\u4F7F\u7528\u6B63\u786E\u683C\u5F0F\u7684\u6388\u6743\u7801;") : e.push("\u8BF7\u5148\u914D\u7F6E\u81EA\u5DF1\u7684\u6388\u6743\u7801;"), r && e.push(`\u6388\u6743\u7248\u672C\u53F7\u4E0D\u5339\u914D, \u8BF7\u4F7F\u7528: ${r}, \u5F53\u524D\u7248\u672C: ${x};`), typeof g == "number") {
|
|
24
24
|
const f = new Date(g * 1e3).toLocaleString();
|
|
25
25
|
e.push(`\u6388\u6743\u5DF2\u5931\u6548, \u5230\u671F\u65F6\u95F4: ${f};`);
|
|
26
26
|
}
|
|
@@ -38,7 +38,7 @@ function k() {
|
|
|
38
38
|
if (u.product !== "EleAdminPlus")
|
|
39
39
|
return s();
|
|
40
40
|
const { version: l, expiration: e, domain: f } = u;
|
|
41
|
-
if (l && l !==
|
|
41
|
+
if (l && l !== x)
|
|
42
42
|
return s(l);
|
|
43
43
|
if (e && e < $)
|
|
44
44
|
return s(void 0, e);
|
|
@@ -47,11 +47,11 @@ function k() {
|
|
|
47
47
|
if (!a)
|
|
48
48
|
return s(void 0, void 0, f, "");
|
|
49
49
|
if (a !== "localhost" && a !== "127.0.0.1") {
|
|
50
|
-
const m = f.split("."),
|
|
50
|
+
const m = f.split("."), F = a.split(".");
|
|
51
51
|
for (let d = m.length - 1; d >= 0; d--)
|
|
52
|
-
if (m[d] !==
|
|
52
|
+
if (m[d] !== F[d])
|
|
53
53
|
return s(void 0, void 0, f, a);
|
|
54
|
-
if (
|
|
54
|
+
if (F.length > m.length && F[F.length - m.length - 1] !== "www")
|
|
55
55
|
return s(void 0, void 0, f, a);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -64,33 +64,33 @@ function k() {
|
|
|
64
64
|
), { authenticated: n, globalConfig: t };
|
|
65
65
|
}
|
|
66
66
|
function M(t) {
|
|
67
|
-
const o = (
|
|
67
|
+
const o = (E, D, h) => {
|
|
68
68
|
const i = ((c, O) => {
|
|
69
|
-
const
|
|
70
|
-
if (
|
|
69
|
+
const Y = c.length - O;
|
|
70
|
+
if (Y <= 0)
|
|
71
71
|
return c;
|
|
72
72
|
const j = new Array(c.length);
|
|
73
73
|
for (let A = 0; A < c.length; A++)
|
|
74
|
-
A < O ? j[A] = c[
|
|
74
|
+
A < O ? j[A] = c[Y + A] : j[A] = c[A - O];
|
|
75
75
|
return j;
|
|
76
|
-
})(
|
|
77
|
-
let
|
|
78
|
-
for (;
|
|
79
|
-
let c =
|
|
76
|
+
})(E.split(""), h).join(""), C = [];
|
|
77
|
+
let p = 0;
|
|
78
|
+
for (; p < i.length; ) {
|
|
79
|
+
let c = p + D;
|
|
80
80
|
c > i.length && (c = i.length);
|
|
81
|
-
const O = i.substring(
|
|
82
|
-
|
|
81
|
+
const O = i.substring(p, c);
|
|
82
|
+
C.push(O.split("").reverse().join("")), p = c;
|
|
83
83
|
}
|
|
84
|
-
return
|
|
84
|
+
return C.join("");
|
|
85
85
|
}, n = t.indexOf("="), s = n === -1 ? t : t.substring(0, n), r = n === -1 ? "" : t.substring(n), u = (o(s, 12, 3) + r).replace(/[^A-Za-z0-9\+\/\=]/g, ""), l = o(U, 3, 1) + "=";
|
|
86
|
-
let e = "", f, a, m,
|
|
86
|
+
let e = "", f, a, m, F, d, S, b, w = 0;
|
|
87
87
|
for (; w < u.length; )
|
|
88
|
-
|
|
89
|
-
return e = ((
|
|
90
|
-
let D = "", h = 0, i = 0,
|
|
91
|
-
for (; h <
|
|
92
|
-
i =
|
|
93
|
-
(i & 15) << 12 | (
|
|
88
|
+
F = l.indexOf(u.charAt(w++)), d = l.indexOf(u.charAt(w++)), S = l.indexOf(u.charAt(w++)), b = l.indexOf(u.charAt(w++)), f = F << 2 | d >> 4, a = (d & 15) << 4 | S >> 2, m = (S & 3) << 6 | b, e = e + String.fromCharCode(f), S != 64 && (e = e + String.fromCharCode(a)), b != 64 && (e = e + String.fromCharCode(m));
|
|
89
|
+
return e = ((E) => {
|
|
90
|
+
let D = "", h = 0, i = 0, C = 0, p = 0;
|
|
91
|
+
for (; h < E.length; )
|
|
92
|
+
i = E.charCodeAt(h), i < 128 ? (D += String.fromCharCode(i), h++) : i > 191 && i < 224 ? (C = E.charCodeAt(h + 1), D += String.fromCharCode((i & 31) << 6 | C & 63), h += 2) : (C = E.charCodeAt(h + 1), p = E.charCodeAt(h + 2), D += String.fromCharCode(
|
|
93
|
+
(i & 15) << 12 | (C & 63) << 6 | p & 63
|
|
94
94
|
), h += 3);
|
|
95
95
|
return D;
|
|
96
96
|
})(e), e;
|
|
@@ -115,6 +115,6 @@ export {
|
|
|
115
115
|
V as useLayoutState,
|
|
116
116
|
k as useLicense,
|
|
117
117
|
J as useLocale,
|
|
118
|
-
|
|
118
|
+
B as useReceiver,
|
|
119
119
|
q as useResponsive
|
|
120
120
|
};
|