ele-admin-plus 1.1.5-beta.1 → 1.1.5-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.
Files changed (49) hide show
  1. package/es/ele-alert/props.d.ts +1 -1
  2. package/es/ele-alert/props.js +1 -1
  3. package/es/ele-app/style/overwrite.scss +11 -2
  4. package/es/ele-basic-select/index.d.ts +4 -3
  5. package/es/ele-basic-select/index.js +1 -0
  6. package/es/ele-card/index.d.ts +2 -0
  7. package/es/ele-card/index.js +2 -1
  8. package/es/ele-card/props.d.ts +2 -0
  9. package/es/ele-card/props.js +2 -0
  10. package/es/ele-data-table/util.d.ts +1 -99
  11. package/es/ele-popconfirm/index.d.ts +8 -91
  12. package/es/ele-popconfirm/props.d.ts +0 -42
  13. package/es/ele-popover/index.d.ts +8 -91
  14. package/es/ele-popover/props.d.ts +0 -42
  15. package/es/ele-tabs/index.d.ts +5 -4
  16. package/es/ele-tabs/style/index.scss +48 -7
  17. package/es/ele-tooltip/index.d.ts +0 -84
  18. package/es/ele-tooltip/props.d.ts +0 -42
  19. package/es/ele-tooltip/props.js +8 -1
  20. package/es/ele-virtual-table/components/cell-filter.d.ts +2 -1
  21. package/es/style/themes/dark.scss +5 -1
  22. package/es/style/themes/default.scss +5 -2
  23. package/es/style/themes/rounded.scss +3 -4
  24. package/es/utils/theme-util.js +1 -1
  25. package/lib/ele-alert/props.d.ts +1 -1
  26. package/lib/ele-alert/props.js +1 -1
  27. package/lib/ele-app/style/overwrite.scss +11 -2
  28. package/lib/ele-basic-select/index.d.ts +4 -3
  29. package/lib/ele-basic-select/index.js +1 -0
  30. package/lib/ele-card/index.d.ts +2 -0
  31. package/lib/ele-card/index.js +2 -1
  32. package/lib/ele-card/props.d.ts +2 -0
  33. package/lib/ele-card/props.js +2 -0
  34. package/lib/ele-data-table/util.d.ts +1 -99
  35. package/lib/ele-popconfirm/index.d.ts +8 -91
  36. package/lib/ele-popconfirm/props.d.ts +0 -42
  37. package/lib/ele-popover/index.d.ts +8 -91
  38. package/lib/ele-popover/props.d.ts +0 -42
  39. package/lib/ele-tabs/index.d.ts +5 -4
  40. package/lib/ele-tabs/style/index.scss +48 -7
  41. package/lib/ele-tooltip/index.d.ts +0 -84
  42. package/lib/ele-tooltip/props.d.ts +0 -42
  43. package/lib/ele-tooltip/props.js +8 -1
  44. package/lib/ele-virtual-table/components/cell-filter.d.ts +2 -1
  45. package/lib/style/themes/dark.scss +5 -1
  46. package/lib/style/themes/default.scss +5 -2
  47. package/lib/style/themes/rounded.scss +3 -4
  48. package/lib/utils/theme-util.js +1 -1
  49. package/package.json +1 -1
@@ -2,6 +2,7 @@ import type { Ref } from 'vue';
2
2
  import type { TabPaneName, TabsPaneContext } from 'element-plus';
3
3
  import { omit } from '../utils/core';
4
4
  import type { ElTabsProps, ElTabsInstance } from '../ele-app/types';
5
+ import type { EleDropdownInstance } from '../ele-app/types/components';
5
6
  import type { DropdownItem } from '../ele-dropdown/types';
6
7
  import type { TabPaneItem, TabEventOption } from './types';
7
8
  import type { TabTitleInstance } from './props';
@@ -58,14 +59,14 @@ declare const _default: import("vue").DefineComponent<{
58
59
  onEdit: (name: TabPaneName | undefined, action: 'remove' | 'add') => void;
59
60
  onItemClick: (option: TabEventOption) => void;
60
61
  onItemContextMenu: (option: TabEventOption) => void;
61
- onItemContextOpen: (ref: DropdownInstance) => void;
62
+ onItemContextOpen: (ref: EleDropdownInstance) => void;
62
63
  onContextmenu: (e: MouseEvent) => void;
63
64
  hideAllDropdown: () => void;
64
65
  updateActiveBar: () => void;
65
66
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
67
  tabItemClick: (_opt: TabEventOption) => boolean;
67
68
  tabContextMenu: (_opt: TabEventOption) => boolean;
68
- tabContextOpen: (_ref: import("../ele-app/types/components").EleDropdownInstance) => boolean;
69
+ tabContextOpen: (_ref: EleDropdownInstance) => boolean;
69
70
  tabSortChange: (_data: TabPaneItem[]) => boolean;
70
71
  "update:modelValue": (name: TabPaneName) => boolean;
71
72
  tabClick: (pane: {
@@ -85,7 +86,7 @@ declare const _default: import("vue").DefineComponent<{
85
86
  index: string | undefined;
86
87
  isClosable: boolean;
87
88
  }, ev: Event) => boolean;
88
- tabChange: (name: TabPaneName) => boolean;
89
+ tabChange: (name: TabPaneName) => boolean; /** 页签移除或新增事件 */
89
90
  edit: (paneName: TabPaneName | undefined, action: "add" | "remove") => boolean;
90
91
  tabRemove: (name: TabPaneName) => boolean;
91
92
  tabAdd: () => boolean;
@@ -132,7 +133,7 @@ declare const _default: import("vue").DefineComponent<{
132
133
  "onUpdate:modelValue"?: ((name: TabPaneName) => any) | undefined;
133
134
  onTabItemClick?: ((_opt: TabEventOption) => any) | undefined;
134
135
  onTabContextMenu?: ((_opt: TabEventOption) => any) | undefined;
135
- onTabContextOpen?: ((_ref: import("../ele-app/types/components").EleDropdownInstance) => any) | undefined;
136
+ onTabContextOpen?: ((_ref: EleDropdownInstance) => any) | undefined;
136
137
  onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
137
138
  onTabClick?: ((pane: {
138
139
  uid: number;
@@ -126,7 +126,7 @@
126
126
  display: flex;
127
127
  align-items: center;
128
128
  justify-content: center;
129
- position: static;
129
+ position: relative;
130
130
  right: auto;
131
131
  left: auto;
132
132
 
@@ -137,6 +137,34 @@
137
137
  &.is-disabled {
138
138
  cursor: not-allowed;
139
139
  }
140
+
141
+ &::before,
142
+ &::before {
143
+ content: '';
144
+ width: 10px;
145
+ position: absolute;
146
+ top: 0;
147
+ bottom: -1px;
148
+ transition: box-shadow $ele-transition;
149
+ pointer-events: none;
150
+ z-index: calc(#{eleVar('tab', 'active-index')} + 1);
151
+ }
152
+ }
153
+
154
+ .el-tabs__nav-prev::before {
155
+ right: -10px;
156
+ }
157
+
158
+ .el-tabs__nav-next::before {
159
+ left: -10px;
160
+ }
161
+
162
+ .el-tabs__nav-prev:not(.is-disabled)::before {
163
+ box-shadow: eleVar('tab', 'scroll-left-shadow');
164
+ }
165
+
166
+ .el-tabs__nav-next:not(.is-disabled)::before {
167
+ box-shadow: eleVar('tab', 'scroll-right-shadow');
140
168
  }
141
169
 
142
170
  .el-tabs__nav-next {
@@ -440,9 +468,13 @@
440
468
  }
441
469
  }
442
470
 
443
- .el-tabs__nav-prev:not(.is-disabled):hover,
444
- .el-tabs__nav-next:not(.is-disabled):hover {
445
- background: eleVar('tab-simple', 'hover-bg');
471
+ .el-tabs__nav-prev:not(.is-disabled),
472
+ .el-tabs__nav-next:not(.is-disabled) {
473
+ border-radius: eleVar('tab-simple', 'radius');
474
+
475
+ &:hover {
476
+ background: eleVar('tab-simple', 'tool-hover-bg');
477
+ }
446
478
  }
447
479
 
448
480
  .el-tabs__active-bar,
@@ -551,6 +583,10 @@
551
583
  height: $height;
552
584
  line-height: $height;
553
585
  margin-top: $space;
586
+
587
+ &::before {
588
+ display: none;
589
+ }
554
590
  }
555
591
 
556
592
  .el-tabs__active-bar,
@@ -694,13 +730,13 @@
694
730
  /* 简约风格和指示器风格 */
695
731
  &.is-simple .ele-tab-tool,
696
732
  &.is-indicator .ele-tab-tool {
733
+ border-radius: eleVar('tab-simple', 'radius');
734
+
697
735
  &:hover {
698
- background: eleVar('tab-simple', 'hover-bg');
736
+ background: eleVar('tab-simple', 'tool-hover-bg');
699
737
  }
700
738
 
701
739
  &.is-tab {
702
- border-radius: eleVar('tab-simple', 'radius');
703
-
704
740
  /* 两侧反圆角 */
705
741
  & > .el-dropdown {
706
742
  $size: eleVar('tab-simple', 'angle-size');
@@ -739,6 +775,7 @@
739
775
 
740
776
  &:hover {
741
777
  color: eleVar('tab-simple', 'hover-color');
778
+ background: eleVar('tab-simple', 'hover-bg');
742
779
  z-index: eleVar('tab', 'hover-index');
743
780
 
744
781
  & > .el-dropdown {
@@ -828,6 +865,10 @@
828
865
  margin-left: $space;
829
866
  }
830
867
 
868
+ &:hover {
869
+ box-shadow: eleVar('tab-button', 'active-shadow');
870
+ }
871
+
831
872
  &.is-tab {
832
873
  background: eleVar('tab-button', 'bg');
833
874
 
@@ -39,48 +39,6 @@ declare const _default: import("vue").DefineComponent<{
39
39
  __epPropKey: true;
40
40
  };
41
41
  virtualTriggering: BooleanConstructor;
42
- onMouseenter: {
43
- readonly type: import("vue").PropType<(e: Event) => void>;
44
- readonly required: false;
45
- readonly validator: ((val: unknown) => boolean) | undefined;
46
- __epPropKey: true;
47
- };
48
- onMouseleave: {
49
- readonly type: import("vue").PropType<(e: Event) => void>;
50
- readonly required: false;
51
- readonly validator: ((val: unknown) => boolean) | undefined;
52
- __epPropKey: true;
53
- };
54
- onClick: {
55
- readonly type: import("vue").PropType<(e: Event) => void>;
56
- readonly required: false;
57
- readonly validator: ((val: unknown) => boolean) | undefined;
58
- __epPropKey: true;
59
- };
60
- onKeydown: {
61
- readonly type: import("vue").PropType<(e: Event) => void>;
62
- readonly required: false;
63
- readonly validator: ((val: unknown) => boolean) | undefined;
64
- __epPropKey: true;
65
- };
66
- onFocus: {
67
- readonly type: import("vue").PropType<(e: Event) => void>;
68
- readonly required: false;
69
- readonly validator: ((val: unknown) => boolean) | undefined;
70
- __epPropKey: true;
71
- };
72
- onBlur: {
73
- readonly type: import("vue").PropType<(e: Event) => void>;
74
- readonly required: false;
75
- readonly validator: ((val: unknown) => boolean) | undefined;
76
- __epPropKey: true;
77
- };
78
- onContextmenu: {
79
- readonly type: import("vue").PropType<(e: Event) => void>;
80
- readonly required: false;
81
- readonly validator: ((val: unknown) => boolean) | undefined;
82
- __epPropKey: true;
83
- };
84
42
  open: BooleanConstructor;
85
43
  appendTo: {
86
44
  readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
@@ -169,48 +127,6 @@ declare const _default: import("vue").DefineComponent<{
169
127
  __epPropKey: true;
170
128
  };
171
129
  virtualTriggering: BooleanConstructor;
172
- onMouseenter: {
173
- readonly type: import("vue").PropType<(e: Event) => void>;
174
- readonly required: false;
175
- readonly validator: ((val: unknown) => boolean) | undefined;
176
- __epPropKey: true;
177
- };
178
- onMouseleave: {
179
- readonly type: import("vue").PropType<(e: Event) => void>;
180
- readonly required: false;
181
- readonly validator: ((val: unknown) => boolean) | undefined;
182
- __epPropKey: true;
183
- };
184
- onClick: {
185
- readonly type: import("vue").PropType<(e: Event) => void>;
186
- readonly required: false;
187
- readonly validator: ((val: unknown) => boolean) | undefined;
188
- __epPropKey: true;
189
- };
190
- onKeydown: {
191
- readonly type: import("vue").PropType<(e: Event) => void>;
192
- readonly required: false;
193
- readonly validator: ((val: unknown) => boolean) | undefined;
194
- __epPropKey: true;
195
- };
196
- onFocus: {
197
- readonly type: import("vue").PropType<(e: Event) => void>;
198
- readonly required: false;
199
- readonly validator: ((val: unknown) => boolean) | undefined;
200
- __epPropKey: true;
201
- };
202
- onBlur: {
203
- readonly type: import("vue").PropType<(e: Event) => void>;
204
- readonly required: false;
205
- readonly validator: ((val: unknown) => boolean) | undefined;
206
- __epPropKey: true;
207
- };
208
- onContextmenu: {
209
- readonly type: import("vue").PropType<(e: Event) => void>;
210
- readonly required: false;
211
- readonly validator: ((val: unknown) => boolean) | undefined;
212
- __epPropKey: true;
213
- };
214
130
  open: BooleanConstructor;
215
131
  appendTo: {
216
132
  readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
@@ -47,48 +47,6 @@ export declare const tooltipProps: {
47
47
  __epPropKey: true;
48
48
  };
49
49
  virtualTriggering: BooleanConstructor;
50
- onMouseenter: {
51
- readonly type: PropType<(e: Event) => void>;
52
- readonly required: false;
53
- readonly validator: ((val: unknown) => boolean) | undefined;
54
- __epPropKey: true;
55
- };
56
- onMouseleave: {
57
- readonly type: PropType<(e: Event) => void>;
58
- readonly required: false;
59
- readonly validator: ((val: unknown) => boolean) | undefined;
60
- __epPropKey: true;
61
- };
62
- onClick: {
63
- readonly type: PropType<(e: Event) => void>;
64
- readonly required: false;
65
- readonly validator: ((val: unknown) => boolean) | undefined;
66
- __epPropKey: true;
67
- };
68
- onKeydown: {
69
- readonly type: PropType<(e: Event) => void>;
70
- readonly required: false;
71
- readonly validator: ((val: unknown) => boolean) | undefined;
72
- __epPropKey: true;
73
- };
74
- onFocus: {
75
- readonly type: PropType<(e: Event) => void>;
76
- readonly required: false;
77
- readonly validator: ((val: unknown) => boolean) | undefined;
78
- __epPropKey: true;
79
- };
80
- onBlur: {
81
- readonly type: PropType<(e: Event) => void>;
82
- readonly required: false;
83
- readonly validator: ((val: unknown) => boolean) | undefined;
84
- __epPropKey: true;
85
- };
86
- onContextmenu: {
87
- readonly type: PropType<(e: Event) => void>;
88
- readonly required: false;
89
- readonly validator: ((val: unknown) => boolean) | undefined;
90
- __epPropKey: true;
91
- };
92
50
  open: BooleanConstructor;
93
51
  appendTo: {
94
52
  readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>>;
@@ -2,7 +2,14 @@ import { useTooltipProps, tooltipEmits as tooltipEmits$1 } from "element-plus";
2
2
  import { omit } from "../utils/core";
3
3
  const normalizeProps = omit(useTooltipProps, [
4
4
  "onUpdate:visible",
5
- "style"
5
+ "style",
6
+ "onMouseenter",
7
+ "onMouseleave",
8
+ "onClick",
9
+ "onKeydown",
10
+ "onFocus",
11
+ "onBlur",
12
+ "onContextmenu"
6
13
  ]);
7
14
  const tooltipProps = {
8
15
  popperClass: String,
@@ -1,5 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { FilterValue } from '../../ele-data-table/types';
3
+ import type { EleTooltipInstance } from '../../ele-app/types/components';
3
4
  declare const _default: import("vue").DefineComponent<{
4
5
  /** 选中项 */
5
6
  filtered: PropType<FilterValue>;
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
13
14
  default: string;
14
15
  };
15
16
  }, {
16
- tooltipRef: EleTooltipInstance;
17
+ tooltipRef: import("vue").Ref<EleTooltipInstance>;
17
18
  checkedValue: import("vue").Ref<string[]>;
18
19
  clearFilterText: import("vue").ComputedRef<string>;
19
20
  filteredValue: import("vue").ComputedRef<string | undefined>;
@@ -49,8 +49,12 @@ $ele-dark: map.deep-merge(
49
49
  'bg': elVar('bg-color', 'page'),
50
50
  'hover-bg': rgba(255, 255, 255, 0.05)
51
51
  ),
52
+ 'tab': (
53
+ 'scroll-left-shadow': inset 10px 0 10px -10px rgba(0, 0, 0, 0.88),
54
+ 'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.88)
55
+ ),
52
56
  'tab-simple': (
53
- 'hover': rgba(255, 255, 255, 0.05)
57
+ 'hover-bg': rgba(255, 255, 255, 0.05)
54
58
  ),
55
59
  'tab-indicator': (
56
60
  'color': #434343
@@ -576,7 +576,9 @@ $ele: map.deep-merge(
576
576
  'tool-hover-color': elVar('text-color', 'primary'),
577
577
  'hover-index': 2,
578
578
  'active-index': 3,
579
- 'transition': (color, background-color, border-color, font-weight)
579
+ 'transition': (color, background-color, border-color, box-shadow),
580
+ 'scroll-left-shadow': inset 10px 0 10px -10px rgba(0, 0, 0, 0.15),
581
+ 'scroll-right-shadow': inset -10px 0 10px -10px rgba(0, 0, 0, 0.15)
580
582
  ),
581
583
  'tab-sm': (
582
584
  // 标签页小号
@@ -607,7 +609,8 @@ $ele: map.deep-merge(
607
609
  'active-line': 2px,
608
610
  'line-display': block,
609
611
  'angle-size': 0px,
610
- 'angle-display': none
612
+ 'angle-display': none,
613
+ 'tool-hover-bg': eleVar('tab-simple', 'hover-bg')
611
614
  ),
612
615
  'tab-indicator': (
613
616
  // 标签页指示器风格
@@ -136,7 +136,7 @@ $ele-rounded: map.deep-merge(
136
136
  'close-radius': elVar('border-radius', 'small'),
137
137
  'close-hover-color': elVar('text-color', 'primary'),
138
138
  'close-hover-bg': hsla(0, 0%, 60%, 0.15),
139
- 'transition': (color, border-color, font-weight)
139
+ 'transition': (color, border-color, box-shadow)
140
140
  ),
141
141
  'tab-sm': (
142
142
  'close-size': 14px
@@ -146,13 +146,12 @@ $ele-rounded: map.deep-merge(
146
146
  ),
147
147
  'tab-simple': (
148
148
  'radius': 8px 8px 0px 0px,
149
- 'hover-color': elVar('color-primary'),
150
- 'hover-bg': transparent,
151
149
  'active-weight': bold,
152
150
  'active-line': 0px,
153
151
  'line-display': none,
154
152
  'angle-size': 10px,
155
- 'angle-display': block
153
+ 'angle-display': block,
154
+ 'tool-hover-bg': transparent
156
155
  ),
157
156
  'tab-indicator': (
158
157
  'hover-color': elVar('color-primary')
@@ -1,6 +1,6 @@
1
1
  import { generate } from "@ant-design/colors";
2
2
  function changeColor(color, dark) {
3
- const $html = document.querySelector("html");
3
+ const $html = document.documentElement;
4
4
  if (!$html) {
5
5
  return;
6
6
  }
@@ -37,7 +37,7 @@ export declare const alertProps: {
37
37
  titleStyle: PropType<Partial<import("vue").CSSProperties>>;
38
38
  /** 描述样式 */
39
39
  descriptionStyle: PropType<Partial<import("vue").CSSProperties>>;
40
- /** 过度动画名称 */
40
+ /** 过渡动画名称 */
41
41
  transitionName: {
42
42
  type: StringConstructor;
43
43
  default: string;
@@ -34,7 +34,7 @@ const alertProps = {
34
34
  titleStyle: Object,
35
35
  /** 描述样式 */
36
36
  descriptionStyle: Object,
37
- /** 过度动画名称 */
37
+ /** 过渡动画名称 */
38
38
  transitionName: {
39
39
  type: String,
40
40
  default: "ele-alert-fade"
@@ -243,11 +243,20 @@
243
243
  z-index: 0;
244
244
 
245
245
  & > .el-tree-node__expand-icon {
246
- width: eleVar('select', 'item-height');
246
+ width: auto;
247
247
  height: eleVar('select', 'item-height');
248
248
  box-sizing: border-box;
249
- padding: 0;
249
+ padding: 0 4px 0 10px;
250
+ transform: none;
250
251
  margin: 0;
252
+
253
+ & > svg {
254
+ transition: transform 0.3s;
255
+ }
256
+
257
+ &.expanded > svg {
258
+ transform: rotate(90deg);
259
+ }
251
260
  }
252
261
 
253
262
  .el-select-dropdown__item {
@@ -1,3 +1,4 @@
1
+ import type { EleTooltipInstance } from '../ele-app/types/components';
1
2
  import type { SelectedItem } from './types';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  value: import("vue").PropType<import("./types").SelectValue>;
@@ -15,14 +16,14 @@ declare const _default: import("vue").DefineComponent<{
15
16
  visible: BooleanConstructor;
16
17
  teleported: BooleanConstructor;
17
18
  persistent: BooleanConstructor;
18
- automaticDropdown: BooleanConstructor;
19
+ automaticDropdown: BooleanConstructor; /** 是否未选中 */
19
20
  tagType: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
20
21
  placement: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
21
22
  popperWidth: (StringConstructor | NumberConstructor)[];
22
23
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
23
24
  popperClass: StringConstructor;
24
25
  }, {
25
- tooltipRef: EleTooltipInstance;
26
+ tooltipRef: import("vue").Ref<EleTooltipInstance>;
26
27
  isDisabled: import("vue").ComputedRef<boolean>;
27
28
  closeEnable: import("vue").ComputedRef<boolean>;
28
29
  inputPlaceholder: import("vue").ComputedRef<string | undefined>;
@@ -57,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
57
58
  visible: BooleanConstructor;
58
59
  teleported: BooleanConstructor;
59
60
  persistent: BooleanConstructor;
60
- automaticDropdown: BooleanConstructor;
61
+ automaticDropdown: BooleanConstructor; /** 是否未选中 */
61
62
  tagType: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
62
63
  placement: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
63
64
  popperWidth: (StringConstructor | NumberConstructor)[];
@@ -141,6 +141,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
141
141
  popperClass: _ctx.popperClass,
142
142
  popperOptions: _ctx.popperOptions,
143
143
  gpuAcceleration: false,
144
+ persistent: true,
144
145
  effect: "light",
145
146
  isPopover: true,
146
147
  "onUpdate:visible": _ctx.updateVisible
@@ -1,6 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  header: StringConstructor;
3
3
  bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
4
+ bodyClass: StringConstructor;
4
5
  shadow: {
5
6
  type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
6
7
  default: string;
@@ -12,6 +13,7 @@ declare const _default: import("vue").DefineComponent<{
12
13
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
14
  header: StringConstructor;
14
15
  bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
16
+ bodyClass: StringConstructor;
15
17
  shadow: {
16
18
  type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
17
19
  default: string;
@@ -18,6 +18,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
18
18
  const _component_ElCard = vue.resolveComponent("ElCard");
19
19
  return vue.openBlock(), vue.createBlock(_component_ElCard, {
20
20
  bodyStyle: _ctx.bodyStyle,
21
+ bodyClass: _ctx.bodyClass,
21
22
  shadow: _ctx.shadow,
22
23
  class: vue.normalizeClass([
23
24
  "ele-card",
@@ -50,7 +51,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
50
51
  ]),
51
52
  key: "0"
52
53
  } : void 0
53
- ]), 1032, ["bodyStyle", "shadow", "class"]);
54
+ ]), 1032, ["bodyStyle", "bodyClass", "shadow", "class"]);
54
55
  }
55
56
  const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
56
57
  module.exports = index;
@@ -7,6 +7,8 @@ export declare const cardProps: {
7
7
  header: StringConstructor;
8
8
  /** 主体样式 */
9
9
  bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
10
+ /** 主体类名 */
11
+ bodyClass: StringConstructor;
10
12
  /** 阴影 */
11
13
  shadow: {
12
14
  type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "always" | "never", unknown> | undefined>;
@@ -5,6 +5,8 @@ const cardProps = {
5
5
  header: String,
6
6
  /** 主体样式 */
7
7
  bodyStyle: Object,
8
+ /** 主体类名 */
9
+ bodyClass: String,
8
10
  /** 阴影 */
9
11
  shadow: {
10
12
  type: String,
@@ -50,105 +50,7 @@ export declare function mergeTooltipProps(props?: ShowOverflowTooltip, globalPro
50
50
  * @param tooltipEffect 溢出提示组件主题
51
51
  * @param tooltipOptions 溢出提示组件配置
52
52
  */
53
- export declare function getGlobalTooltipProps(showOverflowTooltip?: ShowOverflowTooltip, tooltipEffect?: TooltipEffect, tooltipOptions?: TooltipOptions): false | {
54
- offset?: number | undefined;
55
- effect: string | undefined;
56
- placement?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined;
57
- popperOptions?: Partial<import("element-plus").Options> | undefined;
58
- popperClass?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
59
- [x: string]: boolean;
60
- } | (string | {
61
- [x: string]: boolean;
62
- } | (string | {
63
- [x: string]: boolean;
64
- } | (string | {
65
- [x: string]: boolean;
66
- } | (string | {
67
- [x: string]: boolean;
68
- } | (string | {
69
- [x: string]: boolean;
70
- } | (string | {
71
- [x: string]: boolean;
72
- } | (string | {
73
- [x: string]: boolean;
74
- } | (string | {
75
- [x: string]: boolean;
76
- } | (string | {
77
- [x: string]: boolean;
78
- } | (string | any[] | {
79
- [x: string]: boolean;
80
- })[])[])[])[])[])[])[])[])[])[]) | (() => string | {
81
- [x: string]: boolean;
82
- } | (string | {
83
- [x: string]: boolean;
84
- } | (string | {
85
- [x: string]: boolean;
86
- } | (string | {
87
- [x: string]: boolean;
88
- } | (string | {
89
- [x: string]: boolean;
90
- } | (string | {
91
- [x: string]: boolean;
92
- } | (string | {
93
- [x: string]: boolean;
94
- } | (string | {
95
- [x: string]: boolean;
96
- } | (string | {
97
- [x: string]: boolean;
98
- } | (string | {
99
- [x: string]: boolean;
100
- } | (string | any[] | {
101
- [x: string]: boolean;
102
- })[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
103
- [x: string]: boolean;
104
- } | (string | {
105
- [x: string]: boolean;
106
- } | (string | {
107
- [x: string]: boolean;
108
- } | (string | {
109
- [x: string]: boolean;
110
- } | (string | {
111
- [x: string]: boolean;
112
- } | (string | {
113
- [x: string]: boolean;
114
- } | (string | {
115
- [x: string]: boolean;
116
- } | (string | {
117
- [x: string]: boolean;
118
- } | (string | {
119
- [x: string]: boolean;
120
- } | (string | {
121
- [x: string]: boolean;
122
- } | (string | any[] | {
123
- [x: string]: boolean;
124
- })[])[])[])[])[])[])[])[])[])[]) | (() => string | {
125
- [x: string]: boolean;
126
- } | (string | {
127
- [x: string]: boolean;
128
- } | (string | {
129
- [x: string]: boolean;
130
- } | (string | {
131
- [x: string]: boolean;
132
- } | (string | {
133
- [x: string]: boolean;
134
- } | (string | {
135
- [x: string]: boolean;
136
- } | (string | {
137
- [x: string]: boolean;
138
- } | (string | {
139
- [x: string]: boolean;
140
- } | (string | {
141
- [x: string]: boolean;
142
- } | (string | {
143
- [x: string]: boolean;
144
- } | (string | any[] | {
145
- [x: string]: boolean;
146
- })[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown> | undefined;
147
- enterable?: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
148
- showAfter?: number | undefined;
149
- hideAfter?: number | undefined;
150
- showArrow?: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
151
- };
53
+ export declare function getGlobalTooltipProps(showOverflowTooltip?: ShowOverflowTooltip, tooltipEffect?: TooltipEffect, tooltipOptions?: TooltipOptions): ShowOverflowTooltip;
152
54
  /**
153
55
  * 获取单元格提示组件属性
154
56
  * @param props 单元格提示组件属性