ele-admin-plus 1.1.8-beta.4 → 1.1.8-beta.5

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 (309) hide show
  1. package/es/components.d.ts +1 -49
  2. package/es/components.js +13 -110
  3. package/es/core-components.d.ts +49 -0
  4. package/es/core-components.js +100 -0
  5. package/es/core-export.d.ts +9 -0
  6. package/es/core-export.js +14 -0
  7. package/es/core-installer.d.ts +3 -0
  8. package/es/core-installer.js +11 -0
  9. package/es/core.d.ts +3 -0
  10. package/es/core.js +6 -0
  11. package/es/ele-alert/index.d.ts +4 -4
  12. package/es/ele-alert/index.js +13 -13
  13. package/es/ele-app/style/overwrite/input/index.scss +32 -39
  14. package/es/ele-app/style/overwrite/message-box/index.scss +6 -1
  15. package/es/ele-app/style/scrollbar/css-var.scss +20 -5
  16. package/es/ele-basic-select/index.d.ts +6 -6
  17. package/es/ele-basic-select/index.js +4 -4
  18. package/es/ele-basic-select/props.d.ts +1 -1
  19. package/es/ele-basic-select/style/index.scss +2 -9
  20. package/es/ele-copyable/index.d.ts +4 -2
  21. package/es/ele-copyable/index.js +6 -6
  22. package/es/ele-cropper/components/cropper-tools.js +14 -14
  23. package/es/ele-cropper/props.js +1 -1
  24. package/es/ele-cropper/style/index.scss +3 -3
  25. package/es/ele-cropper-modal/index.js +1 -1
  26. package/es/ele-data-table/style/index.scss +17 -6
  27. package/es/ele-drawer/index.d.ts +7 -7
  28. package/es/ele-drawer/index.js +4 -4
  29. package/es/ele-drawer/props.d.ts +1 -1
  30. package/es/ele-dropdown/index.d.ts +2 -0
  31. package/es/ele-dropdown/index.js +18 -8
  32. package/es/ele-dropdown/props.d.ts +3 -0
  33. package/es/ele-dropdown/props.js +3 -1
  34. package/es/ele-edit-tag/index.d.ts +4 -4
  35. package/es/ele-edit-tag/index.js +24 -23
  36. package/es/ele-edit-tag/props.d.ts +1 -1
  37. package/es/ele-edit-tag/style/index.scss +71 -74
  38. package/es/ele-ellipsis/index.d.ts +1 -1
  39. package/es/ele-map-picker/components/map-view.d.ts +10 -12
  40. package/es/ele-map-picker/components/map-view.js +30 -30
  41. package/es/ele-map-picker/style/index.scss +5 -5
  42. package/es/ele-menus/index.js +3 -1
  43. package/es/ele-menus/style/index.scss +14 -8
  44. package/es/ele-menus/util.js +5 -2
  45. package/es/ele-modal/index.d.ts +13 -13
  46. package/es/ele-modal/index.js +11 -6
  47. package/es/ele-modal/props.d.ts +1 -1
  48. package/es/ele-modal/style/index.scss +2 -1
  49. package/es/ele-popconfirm/index.d.ts +2 -2
  50. package/es/ele-popconfirm/index.js +4 -4
  51. package/es/ele-pro-layout/components/pro-header.js +2 -2
  52. package/es/ele-pro-layout/components/pro-tabs.js +1 -1
  53. package/es/ele-pro-layout/components/tab-dropdown.js +3 -3
  54. package/es/ele-pro-table/components/table-tools.js +4 -5
  55. package/es/ele-pro-table/components/tool-column.js +4 -4
  56. package/es/ele-pro-table/index.d.ts +1 -1
  57. package/es/ele-pro-table/index.js +4 -4
  58. package/es/ele-pro-table/style/index.scss +2 -2
  59. package/es/ele-split-panel/index.js +7 -1
  60. package/es/ele-split-panel/style/index.scss +5 -1
  61. package/es/ele-table-select/index.d.ts +3 -3
  62. package/es/ele-table-select/props.d.ts +1 -1
  63. package/es/ele-tabs/index.js +8 -1
  64. package/es/ele-tabs/style/index.scss +26 -0
  65. package/es/ele-toolbar/index.d.ts +4 -0
  66. package/es/ele-toolbar/index.js +7 -7
  67. package/es/ele-toolbar/props.d.ts +5 -0
  68. package/es/ele-toolbar/props.js +5 -1
  69. package/es/ele-tree-select/index.d.ts +13 -8
  70. package/es/ele-tree-select/index.js +49 -6
  71. package/es/ele-tree-select/props.d.ts +3 -1
  72. package/es/ele-tree-select/props.js +2 -0
  73. package/es/ele-tree-select/util.d.ts +7 -0
  74. package/es/ele-tree-select/util.js +13 -0
  75. package/es/ele-upload-list/components/list-item.js +10 -10
  76. package/es/ele-upload-list/index.js +4 -4
  77. package/es/ele-upload-list/style/index.scss +12 -4
  78. package/es/ele-virtual-table/components/body-cell.js +10 -5
  79. package/es/ele-virtual-table/style/index.scss +3 -2
  80. package/es/icons/ArrowDown.js +5 -7
  81. package/es/icons/ArrowDownOutlined.d.ts +2 -0
  82. package/es/icons/ArrowDownOutlined.js +30 -0
  83. package/es/icons/ArrowLeft.js +7 -6
  84. package/es/icons/ArrowLeftOutlined.d.ts +2 -0
  85. package/es/icons/ArrowLeftOutlined.js +30 -0
  86. package/es/icons/ArrowRight.js +6 -7
  87. package/es/icons/ArrowRightOutlined.d.ts +2 -0
  88. package/es/icons/ArrowRightOutlined.js +30 -0
  89. package/es/icons/ArrowUp.js +6 -6
  90. package/es/icons/ArrowUpOutlined.d.ts +2 -0
  91. package/es/icons/ArrowUpOutlined.js +30 -0
  92. package/es/icons/CheckCircleFilled.d.ts +2 -0
  93. package/es/icons/CheckCircleFilled.js +26 -0
  94. package/es/icons/CheckCircleOutlined.d.ts +2 -0
  95. package/es/icons/CheckCircleOutlined.js +32 -0
  96. package/es/icons/CheckOutlined.d.ts +2 -0
  97. package/es/icons/CheckOutlined.js +30 -0
  98. package/es/icons/CloseCircleFilled.d.ts +2 -0
  99. package/es/icons/CloseCircleFilled.js +26 -0
  100. package/es/icons/CloseOutlined.js +7 -17
  101. package/es/icons/ColumnHeightOutlined.js +17 -5
  102. package/es/icons/CompressOutlined.js +18 -5
  103. package/es/icons/CopyOutlined.d.ts +2 -0
  104. package/es/icons/CopyOutlined.js +35 -0
  105. package/es/icons/EllipsisOutlined.js +6 -9
  106. package/es/icons/EnvironmentOutlined.d.ts +2 -0
  107. package/es/icons/EnvironmentOutlined.js +31 -0
  108. package/es/icons/ExclamationCircleFilled.d.ts +2 -0
  109. package/es/icons/ExclamationCircleFilled.js +26 -0
  110. package/es/icons/ExpandOutlined.js +18 -5
  111. package/es/icons/FileOutlined.d.ts +2 -0
  112. package/es/icons/FileOutlined.js +35 -0
  113. package/es/icons/FilterFilled.js +5 -2
  114. package/es/icons/FullscreenExitOutlined.js +16 -5
  115. package/es/icons/FullscreenOutlined.js +16 -5
  116. package/es/icons/HolderOutlined.js +8 -5
  117. package/es/icons/HomeOutlined.js +5 -24
  118. package/es/icons/InfoCircleFilled.d.ts +2 -0
  119. package/es/icons/InfoCircleFilled.js +26 -0
  120. package/es/icons/LoadingDotOutlined.d.ts +2 -0
  121. package/es/icons/LoadingDotOutlined.js +29 -0
  122. package/es/icons/LoadingOutlined.js +8 -2
  123. package/es/icons/PlusOutlined.d.ts +2 -0
  124. package/es/icons/PlusOutlined.js +29 -0
  125. package/es/icons/QuestionCircleFilled.d.ts +2 -0
  126. package/es/icons/QuestionCircleFilled.js +26 -0
  127. package/es/icons/ReloadOutlined.d.ts +2 -0
  128. package/es/icons/ReloadOutlined.js +30 -0
  129. package/es/icons/SearchOutlined.d.ts +2 -0
  130. package/es/icons/SearchOutlined.js +29 -0
  131. package/es/icons/SettingOutlined.d.ts +2 -0
  132. package/es/icons/SettingOutlined.js +31 -0
  133. package/es/icons/SortOutlined.d.ts +2 -0
  134. package/es/icons/SortOutlined.js +32 -0
  135. package/es/icons/SwapOutlined.d.ts +2 -0
  136. package/es/icons/SwapOutlined.js +32 -0
  137. package/es/icons/SyncOutlined.d.ts +2 -0
  138. package/es/icons/SyncOutlined.js +32 -0
  139. package/es/icons/UndoOutlined.d.ts +2 -0
  140. package/es/icons/UndoOutlined.js +30 -0
  141. package/es/icons/UploadOutlined.d.ts +2 -0
  142. package/es/icons/UploadOutlined.js +32 -0
  143. package/es/icons/VerticalLeftOutlined.js +7 -2
  144. package/es/icons/VerticalRightOutlined.js +7 -2
  145. package/es/icons/ZoomInOutlined.d.ts +2 -0
  146. package/es/icons/ZoomInOutlined.js +31 -0
  147. package/es/icons/ZoomOutOutlined.d.ts +2 -0
  148. package/es/icons/ZoomOutOutlined.js +31 -0
  149. package/es/icons/index.d.ts +26 -0
  150. package/es/icons/index.js +84 -32
  151. package/es/index.d.ts +1 -9
  152. package/es/index.js +1 -12
  153. package/es/style/themes/default.scss +11 -11
  154. package/es/style/themes/rounded.scss +1 -2
  155. package/lib/components.cjs +20 -110
  156. package/lib/components.d.ts +1 -49
  157. package/lib/core-components.cjs +100 -0
  158. package/lib/core-components.d.ts +49 -0
  159. package/lib/core-export.cjs +56 -0
  160. package/lib/core-export.d.ts +9 -0
  161. package/lib/core-installer.cjs +28 -0
  162. package/lib/core-installer.d.ts +3 -0
  163. package/lib/core.cjs +23 -0
  164. package/lib/core.d.ts +3 -0
  165. package/lib/ele-alert/index.cjs +13 -13
  166. package/lib/ele-alert/index.d.ts +4 -4
  167. package/lib/ele-app/style/overwrite/input/index.scss +32 -39
  168. package/lib/ele-app/style/overwrite/message-box/index.scss +6 -1
  169. package/lib/ele-app/style/scrollbar/css-var.scss +20 -5
  170. package/lib/ele-basic-select/index.cjs +3 -3
  171. package/lib/ele-basic-select/index.d.ts +6 -6
  172. package/lib/ele-basic-select/props.d.ts +1 -1
  173. package/lib/ele-basic-select/style/index.scss +2 -9
  174. package/lib/ele-copyable/index.cjs +6 -6
  175. package/lib/ele-copyable/index.d.ts +4 -2
  176. package/lib/ele-cropper/components/cropper-tools.cjs +14 -14
  177. package/lib/ele-cropper/props.cjs +1 -1
  178. package/lib/ele-cropper/style/index.scss +3 -3
  179. package/lib/ele-cropper-modal/index.cjs +1 -1
  180. package/lib/ele-data-table/style/index.scss +17 -6
  181. package/lib/ele-drawer/index.cjs +4 -4
  182. package/lib/ele-drawer/index.d.ts +7 -7
  183. package/lib/ele-drawer/props.d.ts +1 -1
  184. package/lib/ele-dropdown/index.cjs +18 -8
  185. package/lib/ele-dropdown/index.d.ts +2 -0
  186. package/lib/ele-dropdown/props.cjs +3 -1
  187. package/lib/ele-dropdown/props.d.ts +3 -0
  188. package/lib/ele-edit-tag/index.cjs +23 -22
  189. package/lib/ele-edit-tag/index.d.ts +4 -4
  190. package/lib/ele-edit-tag/props.d.ts +1 -1
  191. package/lib/ele-edit-tag/style/index.scss +71 -74
  192. package/lib/ele-ellipsis/index.d.ts +1 -1
  193. package/lib/ele-map-picker/components/map-view.cjs +30 -30
  194. package/lib/ele-map-picker/components/map-view.d.ts +10 -12
  195. package/lib/ele-map-picker/style/index.scss +5 -5
  196. package/lib/ele-menus/index.cjs +3 -1
  197. package/lib/ele-menus/style/index.scss +14 -8
  198. package/lib/ele-menus/util.cjs +5 -2
  199. package/lib/ele-modal/index.cjs +10 -5
  200. package/lib/ele-modal/index.d.ts +13 -13
  201. package/lib/ele-modal/props.d.ts +1 -1
  202. package/lib/ele-modal/style/index.scss +2 -1
  203. package/lib/ele-popconfirm/index.cjs +4 -4
  204. package/lib/ele-popconfirm/index.d.ts +2 -2
  205. package/lib/ele-pro-layout/components/pro-header.cjs +2 -2
  206. package/lib/ele-pro-layout/components/pro-tabs.cjs +1 -1
  207. package/lib/ele-pro-layout/components/tab-dropdown.cjs +4 -4
  208. package/lib/ele-pro-table/components/table-tools.cjs +3 -4
  209. package/lib/ele-pro-table/components/tool-column.cjs +4 -4
  210. package/lib/ele-pro-table/index.cjs +4 -4
  211. package/lib/ele-pro-table/index.d.ts +1 -1
  212. package/lib/ele-pro-table/style/index.scss +2 -2
  213. package/lib/ele-split-panel/index.cjs +7 -1
  214. package/lib/ele-split-panel/style/index.scss +5 -1
  215. package/lib/ele-table-select/index.d.ts +3 -3
  216. package/lib/ele-table-select/props.d.ts +1 -1
  217. package/lib/ele-tabs/index.cjs +8 -1
  218. package/lib/ele-tabs/style/index.scss +26 -0
  219. package/lib/ele-toolbar/index.cjs +6 -6
  220. package/lib/ele-toolbar/index.d.ts +4 -0
  221. package/lib/ele-toolbar/props.cjs +5 -1
  222. package/lib/ele-toolbar/props.d.ts +5 -0
  223. package/lib/ele-tree-select/index.cjs +48 -5
  224. package/lib/ele-tree-select/index.d.ts +13 -8
  225. package/lib/ele-tree-select/props.cjs +2 -0
  226. package/lib/ele-tree-select/props.d.ts +3 -1
  227. package/lib/ele-tree-select/util.cjs +13 -0
  228. package/lib/ele-tree-select/util.d.ts +7 -0
  229. package/lib/ele-upload-list/components/list-item.cjs +10 -10
  230. package/lib/ele-upload-list/index.cjs +4 -4
  231. package/lib/ele-upload-list/style/index.scss +12 -4
  232. package/lib/ele-virtual-table/components/body-cell.cjs +9 -4
  233. package/lib/ele-virtual-table/style/index.scss +3 -2
  234. package/lib/icons/ArrowDown.cjs +5 -7
  235. package/lib/icons/ArrowDownOutlined.cjs +29 -0
  236. package/lib/icons/ArrowDownOutlined.d.ts +2 -0
  237. package/lib/icons/ArrowLeft.cjs +7 -6
  238. package/lib/icons/ArrowLeftOutlined.cjs +29 -0
  239. package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
  240. package/lib/icons/ArrowRight.cjs +6 -7
  241. package/lib/icons/ArrowRightOutlined.cjs +29 -0
  242. package/lib/icons/ArrowRightOutlined.d.ts +2 -0
  243. package/lib/icons/ArrowUp.cjs +6 -6
  244. package/lib/icons/ArrowUpOutlined.cjs +29 -0
  245. package/lib/icons/ArrowUpOutlined.d.ts +2 -0
  246. package/lib/icons/CheckCircleFilled.cjs +25 -0
  247. package/lib/icons/CheckCircleFilled.d.ts +2 -0
  248. package/lib/icons/CheckCircleOutlined.cjs +31 -0
  249. package/lib/icons/CheckCircleOutlined.d.ts +2 -0
  250. package/lib/icons/CheckOutlined.cjs +29 -0
  251. package/lib/icons/CheckOutlined.d.ts +2 -0
  252. package/lib/icons/CloseCircleFilled.cjs +25 -0
  253. package/lib/icons/CloseCircleFilled.d.ts +2 -0
  254. package/lib/icons/CloseOutlined.cjs +7 -17
  255. package/lib/icons/ColumnHeightOutlined.cjs +17 -5
  256. package/lib/icons/CompressOutlined.cjs +18 -5
  257. package/lib/icons/CopyOutlined.cjs +34 -0
  258. package/lib/icons/CopyOutlined.d.ts +2 -0
  259. package/lib/icons/EllipsisOutlined.cjs +6 -9
  260. package/lib/icons/EnvironmentOutlined.cjs +30 -0
  261. package/lib/icons/EnvironmentOutlined.d.ts +2 -0
  262. package/lib/icons/ExclamationCircleFilled.cjs +25 -0
  263. package/lib/icons/ExclamationCircleFilled.d.ts +2 -0
  264. package/lib/icons/ExpandOutlined.cjs +18 -5
  265. package/lib/icons/FileOutlined.cjs +34 -0
  266. package/lib/icons/FileOutlined.d.ts +2 -0
  267. package/lib/icons/FilterFilled.cjs +5 -2
  268. package/lib/icons/FullscreenExitOutlined.cjs +16 -5
  269. package/lib/icons/FullscreenOutlined.cjs +16 -5
  270. package/lib/icons/HolderOutlined.cjs +7 -4
  271. package/lib/icons/HomeOutlined.cjs +5 -24
  272. package/lib/icons/InfoCircleFilled.cjs +25 -0
  273. package/lib/icons/InfoCircleFilled.d.ts +2 -0
  274. package/lib/icons/LoadingDotOutlined.cjs +28 -0
  275. package/lib/icons/LoadingDotOutlined.d.ts +2 -0
  276. package/lib/icons/LoadingOutlined.cjs +8 -2
  277. package/lib/icons/PlusOutlined.cjs +28 -0
  278. package/lib/icons/PlusOutlined.d.ts +2 -0
  279. package/lib/icons/QuestionCircleFilled.cjs +25 -0
  280. package/lib/icons/QuestionCircleFilled.d.ts +2 -0
  281. package/lib/icons/ReloadOutlined.cjs +29 -0
  282. package/lib/icons/ReloadOutlined.d.ts +2 -0
  283. package/lib/icons/SearchOutlined.cjs +28 -0
  284. package/lib/icons/SearchOutlined.d.ts +2 -0
  285. package/lib/icons/SettingOutlined.cjs +30 -0
  286. package/lib/icons/SettingOutlined.d.ts +2 -0
  287. package/lib/icons/SortOutlined.cjs +31 -0
  288. package/lib/icons/SortOutlined.d.ts +2 -0
  289. package/lib/icons/SwapOutlined.cjs +31 -0
  290. package/lib/icons/SwapOutlined.d.ts +2 -0
  291. package/lib/icons/SyncOutlined.cjs +31 -0
  292. package/lib/icons/SyncOutlined.d.ts +2 -0
  293. package/lib/icons/UndoOutlined.cjs +29 -0
  294. package/lib/icons/UndoOutlined.d.ts +2 -0
  295. package/lib/icons/UploadOutlined.cjs +31 -0
  296. package/lib/icons/UploadOutlined.d.ts +2 -0
  297. package/lib/icons/VerticalLeftOutlined.cjs +7 -2
  298. package/lib/icons/VerticalRightOutlined.cjs +7 -2
  299. package/lib/icons/ZoomInOutlined.cjs +30 -0
  300. package/lib/icons/ZoomInOutlined.d.ts +2 -0
  301. package/lib/icons/ZoomOutOutlined.cjs +30 -0
  302. package/lib/icons/ZoomOutOutlined.d.ts +2 -0
  303. package/lib/icons/index.cjs +52 -0
  304. package/lib/icons/index.d.ts +26 -0
  305. package/lib/index.cjs +3 -49
  306. package/lib/index.d.ts +1 -9
  307. package/lib/style/themes/default.scss +11 -11
  308. package/lib/style/themes/rounded.scss +1 -2
  309. package/package.json +1 -1
@@ -7,6 +7,11 @@
7
7
 
8
8
  /* 滚动条样式 */
9
9
  @mixin scrollbar-style() {
10
+ * {
11
+ scrollbar-width: thin;
12
+ scrollbar-color: eleVar('scrollbar', 'color') eleVar('scrollbar', 'bg');
13
+ }
14
+
10
15
  ::-webkit-scrollbar {
11
16
  width: eleVar('scrollbar', 'size');
12
17
  height: eleVar('scrollbar', 'size');
@@ -30,24 +35,34 @@
30
35
  ::-webkit-scrollbar-corner {
31
36
  background: transparent;
32
37
  }
33
-
34
- * {
35
- scrollbar-width: thin;
36
- scrollbar-color: eleVar('scrollbar', 'color') eleVar('scrollbar', 'bg');
37
- }
38
38
  }
39
39
 
40
40
  /* 美化滚动条样式 */
41
41
  @mixin set-scrollbar-style($selector) {
42
42
  @if $selector == '' {
43
43
  @include scrollbar-style();
44
+
45
+ html.is-webkit * {
46
+ scrollbar-width: auto;
47
+ scrollbar-color: auto;
48
+ }
44
49
  } @else if $selector == 'pc' {
45
50
  @media (hover: hover) and (pointer: fine) {
46
51
  @include scrollbar-style();
52
+
53
+ html.is-webkit * {
54
+ scrollbar-width: auto;
55
+ scrollbar-color: auto;
56
+ }
47
57
  }
48
58
  } @else if $selector != 'never' {
49
59
  #{$selector} {
50
60
  @include scrollbar-style();
61
+
62
+ &.is-webkit * {
63
+ scrollbar-width: auto;
64
+ scrollbar-color: auto;
65
+ }
51
66
  }
52
67
  }
53
68
  }
@@ -15,13 +15,13 @@ declare const _default: import("vue").DefineComponent<{
15
15
  selected: import("vue").PropType<SelectedItem[]>;
16
16
  maxTagCount: NumberConstructor;
17
17
  maxTagTextLength: NumberConstructor;
18
- tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
18
+ tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
19
19
  automaticDropdown: BooleanConstructor;
20
20
  filterable: BooleanConstructor;
21
21
  visible: BooleanConstructor;
22
22
  teleported: BooleanConstructor;
23
23
  persistent: BooleanConstructor;
24
- placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
24
+ placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>; /** 多选时搜索框值 */
25
25
  transition: {
26
26
  type: StringConstructor;
27
27
  default: string;
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
29
29
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
30
30
  popperClass: StringConstructor;
31
31
  popperWidth: (StringConstructor | NumberConstructor)[];
32
- selectClass: StringConstructor;
32
+ selectClass: StringConstructor; /** 输入框提示文本 */
33
33
  selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
34
34
  inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
35
35
  }, {
@@ -74,13 +74,13 @@ declare const _default: import("vue").DefineComponent<{
74
74
  selected: import("vue").PropType<SelectedItem[]>;
75
75
  maxTagCount: NumberConstructor;
76
76
  maxTagTextLength: NumberConstructor;
77
- tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
77
+ tagType: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
78
78
  automaticDropdown: BooleanConstructor;
79
79
  filterable: BooleanConstructor;
80
80
  visible: BooleanConstructor;
81
81
  teleported: BooleanConstructor;
82
82
  persistent: BooleanConstructor;
83
- placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
83
+ placement: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>; /** 多选时搜索框值 */
84
84
  transition: {
85
85
  type: StringConstructor;
86
86
  default: string;
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
88
88
  popperOptions: import("vue").PropType<Partial<import("element-plus").Options> | undefined>;
89
89
  popperClass: StringConstructor;
90
90
  popperWidth: (StringConstructor | NumberConstructor)[];
91
- selectClass: StringConstructor;
91
+ selectClass: StringConstructor; /** 输入框提示文本 */
92
92
  selectStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
93
93
  inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
94
94
  }>> & {
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, watch, resolveComponent, openBlock, cre
2
2
  import { ElInput, ElIcon, ElTag } from "element-plus";
3
3
  import { useLicense } from "../ele-config-provider/receiver";
4
4
  import EleTooltip from "../ele-tooltip/index";
5
- import { CloseOutlined, ArrowDown } from "../icons";
5
+ import { CloseCircleFilled, ArrowDown } from "../icons";
6
6
  import { basicSelectProps, basicSelectEmits } from "./props";
7
7
  const _sfc_main = defineComponent({
8
8
  name: "EleBasicSelect",
@@ -11,7 +11,7 @@ const _sfc_main = defineComponent({
11
11
  ElIcon,
12
12
  ElTag,
13
13
  EleTooltip,
14
- CloseOutlined,
14
+ CloseCircleFilled,
15
15
  ArrowDown
16
16
  },
17
17
  props: basicSelectProps,
@@ -162,7 +162,7 @@ const _hoisted_1 = {
162
162
  class: "ele-select-tags"
163
163
  };
164
164
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
165
- const _component_CloseOutlined = resolveComponent("CloseOutlined");
165
+ const _component_CloseCircleFilled = resolveComponent("CloseCircleFilled");
166
166
  const _component_ElIcon = resolveComponent("ElIcon");
167
167
  const _component_ArrowDown = resolveComponent("ArrowDown");
168
168
  const _component_ElInput = resolveComponent("ElInput");
@@ -230,7 +230,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
230
230
  }, {
231
231
  default: withCtx(() => [
232
232
  renderSlot(_ctx.$slots, "clearIcon", {}, () => [
233
- createVNode(_component_CloseOutlined)
233
+ createVNode(_component_CloseCircleFilled)
234
234
  ])
235
235
  ]),
236
236
  _: 3
@@ -28,7 +28,7 @@ export declare const basicSelectProps: {
28
28
  /** 多选标签最大显示文本长度 */
29
29
  maxTagTextLength: NumberConstructor;
30
30
  /** 多选标签类型 */
31
- tagType: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
31
+ tagType: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
32
32
  /** 是否在输入框获得焦点后自动弹出选项菜单 */
33
33
  automaticDropdown: BooleanConstructor;
34
34
  /** 是否可以筛选 */
@@ -64,14 +64,11 @@
64
64
  }
65
65
 
66
66
  & > .el-input .el-input__icon.ele-select-clear {
67
- color: elVar('bg-color', 'overlay');
68
- font-size: eleVar('input', 'clear-size');
69
- background: eleVar('input', 'clear-color');
70
- border-radius: 50%;
67
+ color: eleVar('input', 'clear-color');
71
68
  cursor: pointer;
72
69
 
73
70
  &:hover {
74
- background: eleVar('input', 'clear-hover-color');
71
+ color: eleVar('input', 'clear-hover-color');
75
72
  }
76
73
  }
77
74
 
@@ -93,10 +90,6 @@
93
90
  #{'d'}: path('M10 31 24 17 38 31');
94
91
  }
95
92
 
96
- .ele-select-arrow > svg > path {
97
- stroke-width: 4;
98
- }
99
-
100
93
  /* 多选 */
101
94
  &.is-multiple {
102
95
  min-height: elVar('component-size');
@@ -12,10 +12,11 @@ declare const _default: import("vue").DefineComponent<{
12
12
  copiedIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
13
13
  tooltip: {
14
14
  type: import("vue").PropType<boolean | Partial<import("../ele-tooltip/props").TooltipProps>>;
15
- default: boolean;
15
+ default: boolean; /** 提示单例目标 */
16
16
  };
17
17
  resetAfter: {
18
18
  type: NumberConstructor;
19
+ /** 是否拷贝完成 */
19
20
  default: number;
20
21
  };
21
22
  locale: import("vue").PropType<Partial<CopyableLocale>>;
@@ -41,10 +42,11 @@ declare const _default: import("vue").DefineComponent<{
41
42
  copiedIconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
42
43
  tooltip: {
43
44
  type: import("vue").PropType<boolean | Partial<import("../ele-tooltip/props").TooltipProps>>;
44
- default: boolean;
45
+ default: boolean; /** 提示单例目标 */
45
46
  };
46
47
  resetAfter: {
47
48
  type: NumberConstructor;
49
+ /** 是否拷贝完成 */
48
50
  default: number;
49
51
  };
50
52
  locale: import("vue").PropType<Partial<CopyableLocale>>;
@@ -1,12 +1,12 @@
1
1
  import { defineComponent, ref, onDeactivated, onBeforeUnmount, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, renderSlot, createBlock, normalizeProps, mergeProps, withCtx, resolveDynamicComponent, createVNode } from "vue";
2
2
  import { ElIcon } from "element-plus";
3
- import { DocumentCopy, Check } from "@element-plus/icons-vue";
3
+ import { CopyOutlined, CheckOutlined } from "../icons";
4
4
  import { useLicense, useLocale } from "../ele-config-provider/receiver";
5
5
  import EleTooltip from "../ele-tooltip/index";
6
6
  import { copyableProps, copyableEmits } from "./props";
7
7
  const _sfc_main = defineComponent({
8
8
  name: "EleCopyable",
9
- components: { ElIcon, DocumentCopy, Check, EleTooltip },
9
+ components: { ElIcon, CopyOutlined, CheckOutlined, EleTooltip },
10
10
  props: copyableProps,
11
11
  emits: copyableEmits,
12
12
  setup(props, { emit }) {
@@ -104,9 +104,9 @@ const _export_sfc = (sfc, props) => {
104
104
  return target;
105
105
  };
106
106
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
107
- const _component_Check = resolveComponent("Check");
107
+ const _component_CheckOutlined = resolveComponent("CheckOutlined");
108
108
  const _component_ElIcon = resolveComponent("ElIcon");
109
- const _component_DocumentCopy = resolveComponent("DocumentCopy");
109
+ const _component_CopyOutlined = resolveComponent("CopyOutlined");
110
110
  const _component_EleTooltip = resolveComponent("EleTooltip");
111
111
  return openBlock(), createElementBlock("div", {
112
112
  class: normalizeClass(["ele-copyable", { "ele-copyable-done": _ctx.copied }])
@@ -129,7 +129,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
129
129
  _ctx.copiedIcon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.copiedIcon), {
130
130
  key: 0,
131
131
  style: normalizeStyle(_ctx.copiedIconStyle)
132
- }, null, 8, ["style"])) : (openBlock(), createBlock(_component_Check, {
132
+ }, null, 8, ["style"])) : (openBlock(), createBlock(_component_CheckOutlined, {
133
133
  key: 1,
134
134
  style: normalizeStyle(_ctx.copiedIconStyle)
135
135
  }, null, 8, ["style"]))
@@ -140,7 +140,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
140
140
  _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
141
141
  key: 0,
142
142
  style: normalizeStyle(_ctx.iconStyle)
143
- }, null, 8, ["style"])) : (openBlock(), createBlock(_component_DocumentCopy, {
143
+ }, null, 8, ["style"])) : (openBlock(), createBlock(_component_CopyOutlined, {
144
144
  key: 1,
145
145
  style: normalizeStyle(_ctx.iconStyle)
146
146
  }, null, 8, ["style"]))
@@ -1,22 +1,22 @@
1
1
  import { defineComponent, shallowRef, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, renderList, createBlock, withCtx, createVNode, normalizeClass, createTextVNode, toDisplayString, createCommentVNode, mergeProps } from "vue";
2
- import { ZoomIn, ZoomOut, Back, Right, Top, Bottom, RefreshLeft, RefreshRight, Switch, Sort, Refresh, Upload, Check } from "@element-plus/icons-vue";
3
2
  import { ElButtonGroup, ElButton, ElUpload } from "element-plus";
3
+ import { ZoomInOutlined, ZoomOutOutlined, ArrowLeftOutlined, ArrowRightOutlined, ArrowUpOutlined, ArrowDownOutlined, UndoOutlined, ReloadOutlined, SwapOutlined, SortOutlined, SyncOutlined, UploadOutlined, CheckOutlined } from "../../icons";
4
4
  import EleTooltip from "../../ele-tooltip/index";
5
5
  import { useLocale } from "../../ele-config-provider/receiver";
6
6
  const TOOL_ICONS = {
7
- zoomIn: ZoomIn,
8
- zoomOut: ZoomOut,
9
- moveLeft: Back,
10
- moveRight: Right,
11
- moveUp: Top,
12
- moveDown: Bottom,
13
- rotateLeft: RefreshLeft,
14
- rotateRight: RefreshRight,
15
- flipX: Switch,
16
- flipY: Sort,
17
- reset: Refresh,
18
- upload: Upload,
19
- ok: Check
7
+ zoomIn: ZoomInOutlined,
8
+ zoomOut: ZoomOutOutlined,
9
+ moveLeft: ArrowLeftOutlined,
10
+ moveRight: ArrowRightOutlined,
11
+ moveUp: ArrowUpOutlined,
12
+ moveDown: ArrowDownOutlined,
13
+ rotateLeft: UndoOutlined,
14
+ rotateRight: ReloadOutlined,
15
+ flipX: SwapOutlined,
16
+ flipY: SortOutlined,
17
+ reset: SyncOutlined,
18
+ upload: UploadOutlined,
19
+ ok: CheckOutlined
20
20
  };
21
21
  const _sfc_main = defineComponent({
22
22
  name: "CropperTools",
@@ -26,7 +26,7 @@ const cropperProps = {
26
26
  /** 预览组件宽度 */
27
27
  previewWidth: {
28
28
  type: Number,
29
- default: 120
29
+ default: 98
30
30
  },
31
31
  /** 是否返回blob数据 */
32
32
  toBlob: Boolean,
@@ -8,7 +8,7 @@
8
8
 
9
9
  .ele-cropper-image {
10
10
  flex: 1;
11
- height: 320px;
11
+ height: 300px;
12
12
  position: relative;
13
13
  box-sizing: border-box;
14
14
 
@@ -82,8 +82,8 @@
82
82
  display: none;
83
83
  }
84
84
 
85
- & > .el-icon {
86
- font-size: 16px;
85
+ &.ele-cropper-ok > .el-icon + span {
86
+ margin-left: 4px;
87
87
  }
88
88
  }
89
89
 
@@ -30,7 +30,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
30
30
  const _component_EleCropper = resolveComponent("EleCropper");
31
31
  const _component_EleModal = resolveComponent("EleModal");
32
32
  return openBlock(), createBlock(_component_EleModal, mergeProps({
33
- width: "660px",
33
+ width: "620px",
34
34
  title: _ctx.lang.title
35
35
  }, _ctx.modalProps, {
36
36
  modelValue: _ctx.modelValue,
@@ -1,8 +1,9 @@
1
1
  @use '../../style/themes/default.scss' as *;
2
2
  @use '../../style/util.scss' as *;
3
3
  @use './css-var.scss' as *;
4
- $ele-filter-path: 'M349 838c0 17 14 32 31 32h262c17 0 31-14 31-32V642H349v196ZM880 154H143c-24 0-39 26-27 48l221 376h348l221-376c12-21-3-48-27-48' !default;
5
4
  $ele-expand-path: 'M362 811 662 512 362 213' !default;
5
+ $ele-loading-path: 'M512 128V299M789 235 672 352M896 512H725M789 789 672 672M512 896V725M235 789 352 672M128 512H299M235 235 352 352' !default;
6
+ $ele-filter-path: 'M349 838c0 17 14 32 31 32h262c17 0 31-14 31-32V642H349v196ZM880 154H143c-24 0-39 26-27 48l221 376h348l221-376c12-21-3-48-27-48' !default;
6
7
 
7
8
  @include set-data-table-var($ele);
8
9
  @include table-var-style('body .ele-data-table.el-table');
@@ -216,21 +217,31 @@ $ele-expand-path: 'M362 811 662 512 362 213' !default;
216
217
  transition: (color $ele-transition, background-color $ele-transition);
217
218
  transform: none;
218
219
 
220
+ &:hover {
221
+ background: eleVar('table', 'icon-hover-bg');
222
+ }
223
+
219
224
  & > .el-icon {
220
225
  transition: all $ele-transition;
221
226
  font-size: inherit;
222
227
 
223
- &:not(.is-loading) > svg > path {
228
+ & > svg > path {
224
229
  fill: none;
225
230
  stroke: currentColor;
226
- stroke-width: 100;
227
231
  stroke-linecap: round;
232
+ stroke-linejoin: round;
233
+ stroke-width: 98;
228
234
  #{'d'}: path($ele-expand-path);
229
235
  }
230
236
  }
231
237
 
232
- &:hover {
233
- background: eleVar('table', 'icon-hover-bg');
238
+ & > .is-loading > svg > path {
239
+ stroke-width: 85;
240
+ #{'d'}: path($ele-loading-path);
241
+ }
242
+
243
+ & > .el-icon:not(.is-loading) > svg {
244
+ transform: translateX(0.4px);
234
245
  }
235
246
  }
236
247
 
@@ -239,7 +250,7 @@ $ele-expand-path: 'M362 811 662 512 362 213' !default;
239
250
  & > .el-table__placeholder {
240
251
  height: 16px;
241
252
  display: inline-flex;
242
- vertical-align: -3px;
253
+ vertical-align: -2px;
243
254
  }
244
255
 
245
256
  & > .el-table__expand-icon,
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  appendToBody: BooleanConstructor;
14
14
  appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
15
15
  beforeClose: {
16
- readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
16
+ readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>; /** 关闭事件 */
17
17
  readonly required: false;
18
18
  readonly validator: ((val: unknown) => boolean) | undefined;
19
19
  __epPropKey: true;
@@ -54,8 +54,8 @@ declare const _default: import("vue").DefineComponent<{
54
54
  readonly validator: ((val: unknown) => boolean) | undefined;
55
55
  __epPropKey: true;
56
56
  };
57
- customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
58
57
  draggable: BooleanConstructor;
58
+ overflow: BooleanConstructor;
59
59
  fullscreen: BooleanConstructor;
60
60
  showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
61
61
  title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -90,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
90
90
  appendToBody: BooleanConstructor;
91
91
  appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
92
92
  beforeClose: {
93
- readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
93
+ readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>; /** 关闭事件 */
94
94
  readonly required: false;
95
95
  readonly validator: ((val: unknown) => boolean) | undefined;
96
96
  __epPropKey: true;
@@ -131,8 +131,8 @@ declare const _default: import("vue").DefineComponent<{
131
131
  readonly validator: ((val: unknown) => boolean) | undefined;
132
132
  __epPropKey: true;
133
133
  };
134
- customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
135
134
  draggable: BooleanConstructor;
135
+ overflow: BooleanConstructor;
136
136
  fullscreen: BooleanConstructor;
137
137
  showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
138
138
  title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -140,11 +140,11 @@ declare const _default: import("vue").DefineComponent<{
140
140
  }>> & {
141
141
  onOpen?: (() => any) | undefined;
142
142
  onClose?: (() => any) | undefined;
143
+ onOpenAutoFocus?: (() => any) | undefined;
144
+ onCloseAutoFocus?: (() => any) | undefined;
143
145
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
144
146
  onOpened?: (() => any) | undefined;
145
147
  onClosed?: (() => any) | undefined;
146
- onOpenAutoFocus?: (() => any) | undefined;
147
- onCloseAutoFocus?: (() => any) | undefined;
148
148
  }, {
149
149
  size: import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
150
150
  center: boolean;
@@ -162,8 +162,8 @@ declare const _default: import("vue").DefineComponent<{
162
162
  trapFocus: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
163
163
  headerAriaLevel: string;
164
164
  alignCenter: boolean;
165
- customClass: string;
166
165
  draggable: boolean;
166
+ overflow: boolean;
167
167
  fullscreen: boolean;
168
168
  showClose: import("element-plus/es/utils/index").EpPropMergeType<BooleanConstructor, unknown, unknown>;
169
169
  ariaLevel: string;
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, ref, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from "vue";
2
- import { Close } from "@element-plus/icons-vue";
3
2
  import { ElDrawer, ElIcon, drawerEmits } from "element-plus";
4
3
  import { useLicense } from "../ele-config-provider/receiver";
4
+ import { CloseOutlined } from "../icons";
5
5
  import { drawerProps } from "./props";
6
6
  const _sfc_main = defineComponent({
7
7
  name: "EleDrawer",
8
- components: { ElDrawer, ElIcon, Close },
8
+ components: { ElDrawer, ElIcon, CloseOutlined },
9
9
  props: drawerProps,
10
10
  emits: drawerEmits,
11
11
  setup(_props, { emit }) {
@@ -53,7 +53,7 @@ const _export_sfc = (sfc, props) => {
53
53
  };
54
54
  const _hoisted_1 = ["onClick"];
55
55
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
56
- const _component_Close = resolveComponent("Close");
56
+ const _component_CloseOutlined = resolveComponent("CloseOutlined");
57
57
  const _component_ElIcon = resolveComponent("ElIcon");
58
58
  const _component_ElDrawer = resolveComponent("ElDrawer");
59
59
  return openBlock(), createBlock(_component_ElDrawer, {
@@ -105,7 +105,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
105
105
  renderSlot(_ctx.$slots, "closeBtn", {}, () => [
106
106
  createVNode(_component_ElIcon, null, {
107
107
  default: withCtx(() => [
108
- createVNode(_component_Close)
108
+ createVNode(_component_CloseOutlined)
109
109
  ]),
110
110
  _: 1
111
111
  })
@@ -62,8 +62,8 @@ export declare const drawerProps: {
62
62
  readonly validator: ((val: unknown) => boolean) | undefined;
63
63
  __epPropKey: true;
64
64
  };
65
- customClass: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
66
65
  draggable: BooleanConstructor;
66
+ overflow: BooleanConstructor;
67
67
  fullscreen: BooleanConstructor;
68
68
  showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
69
69
  title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<{
5
5
  items: import("vue").PropType<DropdownItem[]>;
6
6
  modelValue: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
7
7
  menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
8
+ iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
8
9
  trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
9
10
  effect: {
10
11
  readonly default: "light";
@@ -60,6 +61,7 @@ declare const _default: import("vue").DefineComponent<{
60
61
  items: import("vue").PropType<DropdownItem[]>;
61
62
  modelValue: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
62
63
  menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
64
+ iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
63
65
  trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
64
66
  effect: {
65
67
  readonly default: "light";
@@ -101,19 +101,29 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
101
101
  }, {
102
102
  default: withCtx(() => [
103
103
  _ctx.items ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index2) => {
104
- return openBlock(), createBlock(_component_ElDropdownItem, mergeProps({
105
- key: typeof item.command === "object" ? index2 : item.command,
106
- class: [
107
- { "is-active": _ctx.modelValue === item.command },
108
- { "is-danger": !!item.danger }
109
- ]
110
- }, _ctx.omit(item, ["icon"])), {
104
+ return openBlock(), createBlock(_component_ElDropdownItem, mergeProps(
105
+ {
106
+ key: typeof item.command === "object" ? index2 : item.command,
107
+ class: [
108
+ { "is-active": _ctx.modelValue === item.command },
109
+ { "is-danger": !!item.danger }
110
+ ]
111
+ },
112
+ _ctx.omit(item, [
113
+ "icon",
114
+ "title",
115
+ "iconProps",
116
+ "iconStyle",
117
+ "slot",
118
+ "danger"
119
+ ])
120
+ ), {
111
121
  default: withCtx(() => [
112
122
  item.slot && item.slot !== "default" && _ctx.$slots[item.slot] ? renderSlot(_ctx.$slots, item.slot, {
113
123
  key: 0,
114
124
  item
115
125
  }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
116
- item.icon ? (openBlock(), createBlock(_component_ElIcon, normalizeProps(mergeProps({ key: 0 }, item.iconProps || {})), {
126
+ item.icon ? (openBlock(), createBlock(_component_ElIcon, normalizeProps(mergeProps({ key: 0 }, { ..._ctx.iconProps || {}, ...item.iconProps || {} })), {
117
127
  default: withCtx(() => [
118
128
  (openBlock(), createBlock(resolveDynamicComponent(item.icon), {
119
129
  style: normalizeStyle(item.iconStyle)
@@ -1,4 +1,5 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
+ import type { ElIconProps } from '../ele-app/el';
2
3
  import type { DropdownItem } from './types';
3
4
  /**
4
5
  * 属性
@@ -10,6 +11,8 @@ export declare const dropdownProps: {
10
11
  modelValue: PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
11
12
  /** 自定义下拉菜单样式 */
12
13
  menuStyle: PropType<Partial<import("vue").CSSProperties>>;
14
+ /** 自定义图标属性 */
15
+ iconProps: PropType<ElIconProps>;
13
16
  trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
14
17
  effect: {
15
18
  readonly default: "light";
@@ -6,7 +6,9 @@ const dropdownProps = {
6
6
  /** 选中的菜单 */
7
7
  modelValue: String,
8
8
  /** 自定义下拉菜单样式 */
9
- menuStyle: Object
9
+ menuStyle: Object,
10
+ /** 自定义图标属性 */
11
+ iconProps: Object
10
12
  };
11
13
  const dropdownEmits = {
12
14
  /** SplitButton 点击事件 */
@@ -1,7 +1,7 @@
1
1
  import type { ElInputInstance } from '../ele-app/el';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  modelValue: import("vue").PropType<string[]>;
4
- type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
4
+ type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
5
5
  color: StringConstructor;
6
6
  size: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined>;
7
7
  effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
11
11
  buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
12
12
  validator: import("vue").PropType<import("./types").Validator>;
13
13
  beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
14
- tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>; /** 提示信息 */
14
+ tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
15
15
  }, {
16
16
  inputRef: import("vue").Ref<ElInputInstance>;
17
17
  isEdit: import("vue").Ref<boolean>;
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
28
28
  'update:modelValue': (_value?: string[] | undefined) => boolean;
29
29
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
30
  modelValue: import("vue").PropType<string[]>;
31
- type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
31
+ type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
32
32
  color: StringConstructor;
33
33
  size: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined>;
34
34
  effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
38
38
  buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
39
39
  validator: import("vue").PropType<import("./types").Validator>;
40
40
  beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
41
- tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>; /** 提示信息 */
41
+ tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
42
42
  }>> & {
43
43
  "onUpdate:modelValue"?: ((_value?: string[] | undefined) => any) | undefined;
44
44
  }, {