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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (579) 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 +9 -5
  28. package/es/ele-drawer/index.js +66 -10
  29. package/es/ele-drawer/props.d.ts +3 -1
  30. package/es/ele-drawer/props.js +3 -1
  31. package/es/ele-drawer/style/index.scss +90 -17
  32. package/es/ele-dropdown/index.d.ts +2 -0
  33. package/es/ele-dropdown/index.js +18 -8
  34. package/es/ele-dropdown/props.d.ts +3 -0
  35. package/es/ele-dropdown/props.js +3 -1
  36. package/es/ele-edit-tag/index.d.ts +8 -4
  37. package/es/ele-edit-tag/index.js +29 -26
  38. package/es/ele-edit-tag/props.d.ts +5 -1
  39. package/es/ele-edit-tag/props.js +4 -0
  40. package/es/ele-edit-tag/style/index.scss +74 -72
  41. package/es/ele-ellipsis/index.d.ts +1 -1
  42. package/es/ele-icon-select/components/icon-grid.js +42 -39
  43. package/es/ele-icon-select/style/index.js +1 -0
  44. package/es/ele-icon-select/style/index.scss +5 -3
  45. package/es/ele-map-picker/components/map-view.d.ts +10 -12
  46. package/es/ele-map-picker/components/map-view.js +30 -30
  47. package/es/ele-map-picker/style/index.scss +5 -5
  48. package/es/ele-menus/index.js +3 -1
  49. package/es/ele-menus/style/index.scss +14 -8
  50. package/es/ele-menus/util.js +5 -2
  51. package/es/ele-modal/index.d.ts +14 -14
  52. package/es/ele-modal/index.js +39 -32
  53. package/es/ele-modal/props.d.ts +1 -1
  54. package/es/ele-modal/style/css-var.scss +0 -7
  55. package/es/ele-modal/style/index.scss +10 -4
  56. package/es/ele-popconfirm/index.d.ts +2 -2
  57. package/es/ele-popconfirm/index.js +4 -4
  58. package/es/ele-pro-layout/components/pro-header.js +2 -2
  59. package/es/ele-pro-layout/components/pro-tabs.js +1 -1
  60. package/es/ele-pro-layout/components/tab-dropdown.js +3 -3
  61. package/es/ele-pro-layout/style/css-var.scss +9 -3
  62. package/es/ele-pro-table/components/table-tools.js +4 -5
  63. package/es/ele-pro-table/components/tool-column.js +4 -4
  64. package/es/ele-pro-table/index.d.ts +1 -1
  65. package/es/ele-pro-table/index.js +4 -4
  66. package/es/ele-pro-table/style/index.scss +2 -2
  67. package/es/ele-split-panel/index.js +7 -1
  68. package/es/ele-split-panel/style/index.scss +5 -1
  69. package/es/ele-table-select/index.d.ts +3 -3
  70. package/es/ele-table-select/props.d.ts +1 -1
  71. package/es/ele-tabs/index.js +28 -17
  72. package/es/ele-tabs/style/css-var.scss +3 -1
  73. package/es/ele-tabs/style/index.scss +26 -0
  74. package/es/ele-toolbar/index.d.ts +4 -0
  75. package/es/ele-toolbar/index.js +7 -7
  76. package/es/ele-toolbar/props.d.ts +5 -0
  77. package/es/ele-toolbar/props.js +5 -1
  78. package/es/ele-tree-select/index.d.ts +13 -8
  79. package/es/ele-tree-select/index.js +49 -6
  80. package/es/ele-tree-select/props.d.ts +3 -1
  81. package/es/ele-tree-select/props.js +2 -0
  82. package/es/ele-tree-select/util.d.ts +7 -0
  83. package/es/ele-tree-select/util.js +13 -0
  84. package/es/ele-upload-list/components/list-item.js +10 -10
  85. package/es/ele-upload-list/index.js +4 -4
  86. package/es/ele-upload-list/style/index.scss +12 -4
  87. package/es/ele-virtual-table/components/body-cell.js +10 -5
  88. package/es/ele-virtual-table/style/index.scss +3 -2
  89. package/es/icons/AnalysisOutlined.d.ts +2 -0
  90. package/es/icons/AnalysisOutlined.js +35 -0
  91. package/es/icons/ApplicationOutlined.d.ts +2 -0
  92. package/es/icons/ApplicationOutlined.js +26 -0
  93. package/es/icons/AppstoreAddOutlined.d.ts +2 -0
  94. package/es/icons/AppstoreAddOutlined.js +35 -0
  95. package/es/icons/AppstoreOutlined.d.ts +2 -0
  96. package/es/icons/AppstoreOutlined.js +35 -0
  97. package/es/icons/ArrowDown.js +5 -7
  98. package/es/icons/ArrowDownOutlined.d.ts +2 -0
  99. package/es/icons/ArrowDownOutlined.js +30 -0
  100. package/es/icons/ArrowLeft.js +7 -6
  101. package/es/icons/ArrowLeftOutlined.d.ts +2 -0
  102. package/es/icons/ArrowLeftOutlined.js +30 -0
  103. package/es/icons/ArrowRight.js +6 -7
  104. package/es/icons/ArrowRightOutlined.d.ts +2 -0
  105. package/es/icons/ArrowRightOutlined.js +30 -0
  106. package/es/icons/ArrowUp.js +6 -6
  107. package/es/icons/ArrowUpOutlined.d.ts +2 -0
  108. package/es/icons/ArrowUpOutlined.js +30 -0
  109. package/es/icons/BellOutlined.d.ts +2 -0
  110. package/es/icons/BellOutlined.js +29 -0
  111. package/es/icons/BookOutlined.d.ts +2 -0
  112. package/es/icons/BookOutlined.js +29 -0
  113. package/es/icons/CalendarOutlined.d.ts +2 -0
  114. package/es/icons/CalendarOutlined.js +29 -0
  115. package/es/icons/CaretDownFilled.d.ts +2 -0
  116. package/es/icons/CaretDownFilled.js +26 -0
  117. package/es/icons/CaretUpFilled.d.ts +2 -0
  118. package/es/icons/CaretUpFilled.js +26 -0
  119. package/es/icons/CheckCircleFilled.d.ts +2 -0
  120. package/es/icons/CheckCircleFilled.js +26 -0
  121. package/es/icons/CheckCircleOutlined.d.ts +2 -0
  122. package/es/icons/CheckCircleOutlined.js +32 -0
  123. package/es/icons/CheckOutlined.d.ts +2 -0
  124. package/es/icons/CheckOutlined.js +30 -0
  125. package/es/icons/CityOutlined.d.ts +2 -0
  126. package/es/icons/CityOutlined.js +35 -0
  127. package/es/icons/ClockCircleOutlined.d.ts +2 -0
  128. package/es/icons/ClockCircleOutlined.js +32 -0
  129. package/es/icons/CloseCircleFilled.d.ts +2 -0
  130. package/es/icons/CloseCircleFilled.js +26 -0
  131. package/es/icons/CloseCircleOutlined.d.ts +2 -0
  132. package/es/icons/CloseCircleOutlined.js +31 -0
  133. package/es/icons/CloseOutlined.js +7 -17
  134. package/es/icons/CloudUploadOutlined.d.ts +2 -0
  135. package/es/icons/CloudUploadOutlined.js +32 -0
  136. package/es/icons/ClusterOutlined.d.ts +2 -0
  137. package/es/icons/ClusterOutlined.js +29 -0
  138. package/es/icons/CodeOutlined.d.ts +2 -0
  139. package/es/icons/CodeOutlined.js +34 -0
  140. package/es/icons/ColumnHeightOutlined.js +17 -5
  141. package/es/icons/CompassOutlined.d.ts +2 -0
  142. package/es/icons/CompassOutlined.js +34 -0
  143. package/es/icons/CompressOutlined.js +18 -5
  144. package/es/icons/ConnectionOutlined.d.ts +2 -0
  145. package/es/icons/ConnectionOutlined.js +31 -0
  146. package/es/icons/ControlOutlined.d.ts +2 -0
  147. package/es/icons/ControlOutlined.js +33 -0
  148. package/es/icons/CopyOutlined.d.ts +2 -0
  149. package/es/icons/CopyOutlined.js +35 -0
  150. package/es/icons/CpuOutlined.d.ts +2 -0
  151. package/es/icons/CpuOutlined.js +30 -0
  152. package/es/icons/DashboardOutlined.d.ts +2 -0
  153. package/es/icons/DashboardOutlined.js +37 -0
  154. package/es/icons/DatabaseOutlined.d.ts +2 -0
  155. package/es/icons/DatabaseOutlined.js +35 -0
  156. package/es/icons/DeleteOutlined.d.ts +2 -0
  157. package/es/icons/DeleteOutlined.js +34 -0
  158. package/es/icons/DesktopOutlined.d.ts +2 -0
  159. package/es/icons/DesktopOutlined.js +29 -0
  160. package/es/icons/DownloadOutlined.d.ts +2 -0
  161. package/es/icons/DownloadOutlined.js +32 -0
  162. package/es/icons/DragOutlined.d.ts +2 -0
  163. package/es/icons/DragOutlined.js +30 -0
  164. package/es/icons/EditOutlined.d.ts +2 -0
  165. package/es/icons/EditOutlined.js +32 -0
  166. package/es/icons/EllipsisOutlined.js +6 -9
  167. package/es/icons/EnvironmentOutlined.d.ts +2 -0
  168. package/es/icons/EnvironmentOutlined.js +31 -0
  169. package/es/icons/ExclamationCircleFilled.d.ts +2 -0
  170. package/es/icons/ExclamationCircleFilled.js +26 -0
  171. package/es/icons/ExpandOutlined.js +18 -5
  172. package/es/icons/FileOutlined.d.ts +2 -0
  173. package/es/icons/FileOutlined.js +35 -0
  174. package/es/icons/FilterFilled.js +5 -2
  175. package/es/icons/FolderAddOutlined.d.ts +2 -0
  176. package/es/icons/FolderAddOutlined.js +31 -0
  177. package/es/icons/FolderOutlined.d.ts +2 -0
  178. package/es/icons/FolderOutlined.js +29 -0
  179. package/es/icons/FormOutlined.d.ts +2 -0
  180. package/es/icons/FormOutlined.js +31 -0
  181. package/es/icons/FullscreenExitOutlined.js +16 -5
  182. package/es/icons/FullscreenOutlined.js +16 -5
  183. package/es/icons/FundOutlined.d.ts +2 -0
  184. package/es/icons/FundOutlined.js +31 -0
  185. package/es/icons/GlobalOutlined.d.ts +2 -0
  186. package/es/icons/GlobalOutlined.js +28 -0
  187. package/es/icons/HolderOutlined.js +8 -5
  188. package/es/icons/HomeOutlined.js +5 -24
  189. package/es/icons/IdcardOutlined.d.ts +2 -0
  190. package/es/icons/IdcardOutlined.js +38 -0
  191. package/es/icons/InfoCircleFilled.d.ts +2 -0
  192. package/es/icons/InfoCircleFilled.js +26 -0
  193. package/es/icons/LinkOutlined.d.ts +2 -0
  194. package/es/icons/LinkOutlined.js +32 -0
  195. package/es/icons/LoadingDotOutlined.d.ts +2 -0
  196. package/es/icons/LoadingDotOutlined.js +29 -0
  197. package/es/icons/LoadingOutlined.js +8 -2
  198. package/es/icons/LockOutlined.d.ts +2 -0
  199. package/es/icons/LockOutlined.js +32 -0
  200. package/es/icons/LogOutlined.d.ts +2 -0
  201. package/es/icons/LogOutlined.js +35 -0
  202. package/es/icons/LogoutOutlined.d.ts +2 -0
  203. package/es/icons/LogoutOutlined.js +31 -0
  204. package/es/icons/MailOutlined.d.ts +2 -0
  205. package/es/icons/MailOutlined.js +29 -0
  206. package/es/icons/MenuFoldOutlined.d.ts +2 -0
  207. package/es/icons/MenuFoldOutlined.js +28 -0
  208. package/es/icons/MenuUnfoldOutlined.d.ts +2 -0
  209. package/es/icons/MenuUnfoldOutlined.js +28 -0
  210. package/es/icons/MessageOutlined.d.ts +2 -0
  211. package/es/icons/MessageOutlined.js +50 -0
  212. package/es/icons/MinusCircleOutlined.d.ts +2 -0
  213. package/es/icons/MinusCircleOutlined.js +31 -0
  214. package/es/icons/MobileOutlined.d.ts +2 -0
  215. package/es/icons/MobileOutlined.js +37 -0
  216. package/es/icons/MoonOutlined.d.ts +2 -0
  217. package/es/icons/MoonOutlined.js +29 -0
  218. package/es/icons/MoreOutlined.d.ts +2 -0
  219. package/es/icons/MoreOutlined.js +42 -0
  220. package/es/icons/PauseFilled.d.ts +2 -0
  221. package/es/icons/PauseFilled.js +30 -0
  222. package/es/icons/PieChartOutlined.d.ts +2 -0
  223. package/es/icons/PieChartOutlined.js +31 -0
  224. package/es/icons/PlayFilled.d.ts +2 -0
  225. package/es/icons/PlayFilled.js +26 -0
  226. package/es/icons/PlusCircleOutlined.d.ts +2 -0
  227. package/es/icons/PlusCircleOutlined.js +31 -0
  228. package/es/icons/PlusOutlined.d.ts +2 -0
  229. package/es/icons/PlusOutlined.js +29 -0
  230. package/es/icons/ProtectOutlined.d.ts +2 -0
  231. package/es/icons/ProtectOutlined.js +32 -0
  232. package/es/icons/QuestionCircleFilled.d.ts +2 -0
  233. package/es/icons/QuestionCircleFilled.js +26 -0
  234. package/es/icons/QuestionCircleOutlined.d.ts +2 -0
  235. package/es/icons/QuestionCircleOutlined.js +39 -0
  236. package/es/icons/ReloadOutlined.d.ts +2 -0
  237. package/es/icons/ReloadOutlined.js +30 -0
  238. package/es/icons/SearchOutlined.d.ts +2 -0
  239. package/es/icons/SearchOutlined.js +29 -0
  240. package/es/icons/SettingOutlined.d.ts +2 -0
  241. package/es/icons/SettingOutlined.js +31 -0
  242. package/es/icons/ShoppingOutlined.d.ts +2 -0
  243. package/es/icons/ShoppingOutlined.js +29 -0
  244. package/es/icons/SortOutlined.d.ts +2 -0
  245. package/es/icons/SortOutlined.js +32 -0
  246. package/es/icons/StarFilled.d.ts +2 -0
  247. package/es/icons/StarFilled.js +26 -0
  248. package/es/icons/StepBackwardFilled.d.ts +2 -0
  249. package/es/icons/StepBackwardFilled.js +33 -0
  250. package/es/icons/StepForwardFilled.d.ts +2 -0
  251. package/es/icons/StepForwardFilled.js +33 -0
  252. package/es/icons/SuitcaseOutlined.d.ts +2 -0
  253. package/es/icons/SuitcaseOutlined.js +29 -0
  254. package/es/icons/SunOutlined.d.ts +2 -0
  255. package/es/icons/SunOutlined.js +29 -0
  256. package/es/icons/SwapOutlined.d.ts +2 -0
  257. package/es/icons/SwapOutlined.js +32 -0
  258. package/es/icons/SyncOutlined.d.ts +2 -0
  259. package/es/icons/SyncOutlined.js +32 -0
  260. package/es/icons/TableOutlined.d.ts +2 -0
  261. package/es/icons/TableOutlined.js +29 -0
  262. package/es/icons/TagOutlined.d.ts +2 -0
  263. package/es/icons/TagOutlined.js +31 -0
  264. package/es/icons/TimerOutlined.d.ts +2 -0
  265. package/es/icons/TimerOutlined.js +31 -0
  266. package/es/icons/UndoOutlined.d.ts +2 -0
  267. package/es/icons/UndoOutlined.js +30 -0
  268. package/es/icons/UnlockOutlined.d.ts +2 -0
  269. package/es/icons/UnlockOutlined.js +32 -0
  270. package/es/icons/UploadOutlined.d.ts +2 -0
  271. package/es/icons/UploadOutlined.js +32 -0
  272. package/es/icons/UserOutlined.d.ts +2 -0
  273. package/es/icons/UserOutlined.js +29 -0
  274. package/es/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
  275. package/es/icons/VerticalAlignMiddleOutlined.js +32 -0
  276. package/es/icons/VerticalLeftOutlined.js +7 -2
  277. package/es/icons/VerticalRightOutlined.js +7 -2
  278. package/es/icons/WarningOutlined.d.ts +2 -0
  279. package/es/icons/WarningOutlined.js +42 -0
  280. package/es/icons/ZoomInOutlined.d.ts +2 -0
  281. package/es/icons/ZoomInOutlined.js +31 -0
  282. package/es/icons/ZoomOutOutlined.d.ts +2 -0
  283. package/es/icons/ZoomOutOutlined.js +31 -0
  284. package/es/icons/index.d.ts +89 -0
  285. package/es/icons/index.js +212 -34
  286. package/es/index.d.ts +1 -9
  287. package/es/index.js +1 -12
  288. package/es/style/themes/default.scss +14 -13
  289. package/es/style/themes/rounded.scss +1 -2
  290. package/lib/components.cjs +20 -110
  291. package/lib/components.d.ts +1 -49
  292. package/lib/core-components.cjs +100 -0
  293. package/lib/core-components.d.ts +49 -0
  294. package/lib/core-export.cjs +56 -0
  295. package/lib/core-export.d.ts +9 -0
  296. package/lib/core-installer.cjs +28 -0
  297. package/lib/core-installer.d.ts +3 -0
  298. package/lib/core.cjs +23 -0
  299. package/lib/core.d.ts +3 -0
  300. package/lib/ele-alert/index.cjs +13 -13
  301. package/lib/ele-alert/index.d.ts +4 -4
  302. package/lib/ele-app/style/overwrite/input/index.scss +32 -39
  303. package/lib/ele-app/style/overwrite/message-box/index.scss +6 -1
  304. package/lib/ele-app/style/scrollbar/css-var.scss +20 -5
  305. package/lib/ele-basic-select/index.cjs +3 -3
  306. package/lib/ele-basic-select/index.d.ts +6 -6
  307. package/lib/ele-basic-select/props.d.ts +1 -1
  308. package/lib/ele-basic-select/style/index.scss +2 -9
  309. package/lib/ele-copyable/index.cjs +6 -6
  310. package/lib/ele-copyable/index.d.ts +4 -2
  311. package/lib/ele-cropper/components/cropper-tools.cjs +14 -14
  312. package/lib/ele-cropper/props.cjs +1 -1
  313. package/lib/ele-cropper/style/index.scss +3 -3
  314. package/lib/ele-cropper-modal/index.cjs +1 -1
  315. package/lib/ele-data-table/style/index.scss +17 -6
  316. package/lib/ele-drawer/index.cjs +64 -8
  317. package/lib/ele-drawer/index.d.ts +9 -5
  318. package/lib/ele-drawer/props.cjs +3 -1
  319. package/lib/ele-drawer/props.d.ts +3 -1
  320. package/lib/ele-drawer/style/index.scss +90 -17
  321. package/lib/ele-dropdown/index.cjs +18 -8
  322. package/lib/ele-dropdown/index.d.ts +2 -0
  323. package/lib/ele-dropdown/props.cjs +3 -1
  324. package/lib/ele-dropdown/props.d.ts +3 -0
  325. package/lib/ele-edit-tag/index.cjs +28 -25
  326. package/lib/ele-edit-tag/index.d.ts +8 -4
  327. package/lib/ele-edit-tag/props.cjs +4 -0
  328. package/lib/ele-edit-tag/props.d.ts +5 -1
  329. package/lib/ele-edit-tag/style/index.scss +74 -72
  330. package/lib/ele-ellipsis/index.d.ts +1 -1
  331. package/lib/ele-icon-select/components/icon-grid.cjs +40 -37
  332. package/lib/ele-icon-select/style/index.cjs +1 -0
  333. package/lib/ele-icon-select/style/index.scss +5 -3
  334. package/lib/ele-map-picker/components/map-view.cjs +30 -30
  335. package/lib/ele-map-picker/components/map-view.d.ts +10 -12
  336. package/lib/ele-map-picker/style/index.scss +5 -5
  337. package/lib/ele-menus/index.cjs +3 -1
  338. package/lib/ele-menus/style/index.scss +14 -8
  339. package/lib/ele-menus/util.cjs +5 -2
  340. package/lib/ele-modal/index.cjs +38 -31
  341. package/lib/ele-modal/index.d.ts +14 -14
  342. package/lib/ele-modal/props.d.ts +1 -1
  343. package/lib/ele-modal/style/css-var.scss +0 -7
  344. package/lib/ele-modal/style/index.scss +10 -4
  345. package/lib/ele-popconfirm/index.cjs +4 -4
  346. package/lib/ele-popconfirm/index.d.ts +2 -2
  347. package/lib/ele-pro-layout/components/pro-header.cjs +2 -2
  348. package/lib/ele-pro-layout/components/pro-tabs.cjs +1 -1
  349. package/lib/ele-pro-layout/components/tab-dropdown.cjs +4 -4
  350. package/lib/ele-pro-layout/style/css-var.scss +9 -3
  351. package/lib/ele-pro-table/components/table-tools.cjs +3 -4
  352. package/lib/ele-pro-table/components/tool-column.cjs +4 -4
  353. package/lib/ele-pro-table/index.cjs +4 -4
  354. package/lib/ele-pro-table/index.d.ts +1 -1
  355. package/lib/ele-pro-table/style/index.scss +2 -2
  356. package/lib/ele-split-panel/index.cjs +7 -1
  357. package/lib/ele-split-panel/style/index.scss +5 -1
  358. package/lib/ele-table-select/index.d.ts +3 -3
  359. package/lib/ele-table-select/props.d.ts +1 -1
  360. package/lib/ele-tabs/index.cjs +28 -17
  361. package/lib/ele-tabs/style/css-var.scss +3 -1
  362. package/lib/ele-tabs/style/index.scss +26 -0
  363. package/lib/ele-toolbar/index.cjs +6 -6
  364. package/lib/ele-toolbar/index.d.ts +4 -0
  365. package/lib/ele-toolbar/props.cjs +5 -1
  366. package/lib/ele-toolbar/props.d.ts +5 -0
  367. package/lib/ele-tree-select/index.cjs +48 -5
  368. package/lib/ele-tree-select/index.d.ts +13 -8
  369. package/lib/ele-tree-select/props.cjs +2 -0
  370. package/lib/ele-tree-select/props.d.ts +3 -1
  371. package/lib/ele-tree-select/util.cjs +13 -0
  372. package/lib/ele-tree-select/util.d.ts +7 -0
  373. package/lib/ele-upload-list/components/list-item.cjs +10 -10
  374. package/lib/ele-upload-list/index.cjs +4 -4
  375. package/lib/ele-upload-list/style/index.scss +12 -4
  376. package/lib/ele-virtual-table/components/body-cell.cjs +9 -4
  377. package/lib/ele-virtual-table/style/index.scss +3 -2
  378. package/lib/icons/AnalysisOutlined.cjs +34 -0
  379. package/lib/icons/AnalysisOutlined.d.ts +2 -0
  380. package/lib/icons/ApplicationOutlined.cjs +25 -0
  381. package/lib/icons/ApplicationOutlined.d.ts +2 -0
  382. package/lib/icons/AppstoreAddOutlined.cjs +34 -0
  383. package/lib/icons/AppstoreAddOutlined.d.ts +2 -0
  384. package/lib/icons/AppstoreOutlined.cjs +34 -0
  385. package/lib/icons/AppstoreOutlined.d.ts +2 -0
  386. package/lib/icons/ArrowDown.cjs +5 -7
  387. package/lib/icons/ArrowDownOutlined.cjs +29 -0
  388. package/lib/icons/ArrowDownOutlined.d.ts +2 -0
  389. package/lib/icons/ArrowLeft.cjs +7 -6
  390. package/lib/icons/ArrowLeftOutlined.cjs +29 -0
  391. package/lib/icons/ArrowLeftOutlined.d.ts +2 -0
  392. package/lib/icons/ArrowRight.cjs +6 -7
  393. package/lib/icons/ArrowRightOutlined.cjs +29 -0
  394. package/lib/icons/ArrowRightOutlined.d.ts +2 -0
  395. package/lib/icons/ArrowUp.cjs +6 -6
  396. package/lib/icons/ArrowUpOutlined.cjs +29 -0
  397. package/lib/icons/ArrowUpOutlined.d.ts +2 -0
  398. package/lib/icons/BellOutlined.cjs +28 -0
  399. package/lib/icons/BellOutlined.d.ts +2 -0
  400. package/lib/icons/BookOutlined.cjs +28 -0
  401. package/lib/icons/BookOutlined.d.ts +2 -0
  402. package/lib/icons/CalendarOutlined.cjs +28 -0
  403. package/lib/icons/CalendarOutlined.d.ts +2 -0
  404. package/lib/icons/CaretDownFilled.cjs +25 -0
  405. package/lib/icons/CaretDownFilled.d.ts +2 -0
  406. package/lib/icons/CaretUpFilled.cjs +25 -0
  407. package/lib/icons/CaretUpFilled.d.ts +2 -0
  408. package/lib/icons/CheckCircleFilled.cjs +25 -0
  409. package/lib/icons/CheckCircleFilled.d.ts +2 -0
  410. package/lib/icons/CheckCircleOutlined.cjs +31 -0
  411. package/lib/icons/CheckCircleOutlined.d.ts +2 -0
  412. package/lib/icons/CheckOutlined.cjs +29 -0
  413. package/lib/icons/CheckOutlined.d.ts +2 -0
  414. package/lib/icons/CityOutlined.cjs +34 -0
  415. package/lib/icons/CityOutlined.d.ts +2 -0
  416. package/lib/icons/ClockCircleOutlined.cjs +31 -0
  417. package/lib/icons/ClockCircleOutlined.d.ts +2 -0
  418. package/lib/icons/CloseCircleFilled.cjs +25 -0
  419. package/lib/icons/CloseCircleFilled.d.ts +2 -0
  420. package/lib/icons/CloseCircleOutlined.cjs +30 -0
  421. package/lib/icons/CloseCircleOutlined.d.ts +2 -0
  422. package/lib/icons/CloseOutlined.cjs +7 -17
  423. package/lib/icons/CloudUploadOutlined.cjs +31 -0
  424. package/lib/icons/CloudUploadOutlined.d.ts +2 -0
  425. package/lib/icons/ClusterOutlined.cjs +28 -0
  426. package/lib/icons/ClusterOutlined.d.ts +2 -0
  427. package/lib/icons/CodeOutlined.cjs +33 -0
  428. package/lib/icons/CodeOutlined.d.ts +2 -0
  429. package/lib/icons/ColumnHeightOutlined.cjs +17 -5
  430. package/lib/icons/CompassOutlined.cjs +33 -0
  431. package/lib/icons/CompassOutlined.d.ts +2 -0
  432. package/lib/icons/CompressOutlined.cjs +18 -5
  433. package/lib/icons/ConnectionOutlined.cjs +30 -0
  434. package/lib/icons/ConnectionOutlined.d.ts +2 -0
  435. package/lib/icons/ControlOutlined.cjs +32 -0
  436. package/lib/icons/ControlOutlined.d.ts +2 -0
  437. package/lib/icons/CopyOutlined.cjs +34 -0
  438. package/lib/icons/CopyOutlined.d.ts +2 -0
  439. package/lib/icons/CpuOutlined.cjs +29 -0
  440. package/lib/icons/CpuOutlined.d.ts +2 -0
  441. package/lib/icons/DashboardOutlined.cjs +36 -0
  442. package/lib/icons/DashboardOutlined.d.ts +2 -0
  443. package/lib/icons/DatabaseOutlined.cjs +34 -0
  444. package/lib/icons/DatabaseOutlined.d.ts +2 -0
  445. package/lib/icons/DeleteOutlined.cjs +33 -0
  446. package/lib/icons/DeleteOutlined.d.ts +2 -0
  447. package/lib/icons/DesktopOutlined.cjs +28 -0
  448. package/lib/icons/DesktopOutlined.d.ts +2 -0
  449. package/lib/icons/DownloadOutlined.cjs +31 -0
  450. package/lib/icons/DownloadOutlined.d.ts +2 -0
  451. package/lib/icons/DragOutlined.cjs +29 -0
  452. package/lib/icons/DragOutlined.d.ts +2 -0
  453. package/lib/icons/EditOutlined.cjs +31 -0
  454. package/lib/icons/EditOutlined.d.ts +2 -0
  455. package/lib/icons/EllipsisOutlined.cjs +6 -9
  456. package/lib/icons/EnvironmentOutlined.cjs +30 -0
  457. package/lib/icons/EnvironmentOutlined.d.ts +2 -0
  458. package/lib/icons/ExclamationCircleFilled.cjs +25 -0
  459. package/lib/icons/ExclamationCircleFilled.d.ts +2 -0
  460. package/lib/icons/ExpandOutlined.cjs +18 -5
  461. package/lib/icons/FileOutlined.cjs +34 -0
  462. package/lib/icons/FileOutlined.d.ts +2 -0
  463. package/lib/icons/FilterFilled.cjs +5 -2
  464. package/lib/icons/FolderAddOutlined.cjs +30 -0
  465. package/lib/icons/FolderAddOutlined.d.ts +2 -0
  466. package/lib/icons/FolderOutlined.cjs +28 -0
  467. package/lib/icons/FolderOutlined.d.ts +2 -0
  468. package/lib/icons/FormOutlined.cjs +30 -0
  469. package/lib/icons/FormOutlined.d.ts +2 -0
  470. package/lib/icons/FullscreenExitOutlined.cjs +16 -5
  471. package/lib/icons/FullscreenOutlined.cjs +16 -5
  472. package/lib/icons/FundOutlined.cjs +30 -0
  473. package/lib/icons/FundOutlined.d.ts +2 -0
  474. package/lib/icons/GlobalOutlined.cjs +27 -0
  475. package/lib/icons/GlobalOutlined.d.ts +2 -0
  476. package/lib/icons/HolderOutlined.cjs +7 -4
  477. package/lib/icons/HomeOutlined.cjs +5 -24
  478. package/lib/icons/IdcardOutlined.cjs +37 -0
  479. package/lib/icons/IdcardOutlined.d.ts +2 -0
  480. package/lib/icons/InfoCircleFilled.cjs +25 -0
  481. package/lib/icons/InfoCircleFilled.d.ts +2 -0
  482. package/lib/icons/LinkOutlined.cjs +31 -0
  483. package/lib/icons/LinkOutlined.d.ts +2 -0
  484. package/lib/icons/LoadingDotOutlined.cjs +28 -0
  485. package/lib/icons/LoadingDotOutlined.d.ts +2 -0
  486. package/lib/icons/LoadingOutlined.cjs +8 -2
  487. package/lib/icons/LockOutlined.cjs +31 -0
  488. package/lib/icons/LockOutlined.d.ts +2 -0
  489. package/lib/icons/LogOutlined.cjs +34 -0
  490. package/lib/icons/LogOutlined.d.ts +2 -0
  491. package/lib/icons/LogoutOutlined.cjs +30 -0
  492. package/lib/icons/LogoutOutlined.d.ts +2 -0
  493. package/lib/icons/MailOutlined.cjs +28 -0
  494. package/lib/icons/MailOutlined.d.ts +2 -0
  495. package/lib/icons/MenuFoldOutlined.cjs +27 -0
  496. package/lib/icons/MenuFoldOutlined.d.ts +2 -0
  497. package/lib/icons/MenuUnfoldOutlined.cjs +27 -0
  498. package/lib/icons/MenuUnfoldOutlined.d.ts +2 -0
  499. package/lib/icons/MessageOutlined.cjs +49 -0
  500. package/lib/icons/MessageOutlined.d.ts +2 -0
  501. package/lib/icons/MinusCircleOutlined.cjs +30 -0
  502. package/lib/icons/MinusCircleOutlined.d.ts +2 -0
  503. package/lib/icons/MobileOutlined.cjs +36 -0
  504. package/lib/icons/MobileOutlined.d.ts +2 -0
  505. package/lib/icons/MoonOutlined.cjs +28 -0
  506. package/lib/icons/MoonOutlined.d.ts +2 -0
  507. package/lib/icons/MoreOutlined.cjs +41 -0
  508. package/lib/icons/MoreOutlined.d.ts +2 -0
  509. package/lib/icons/PauseFilled.cjs +29 -0
  510. package/lib/icons/PauseFilled.d.ts +2 -0
  511. package/lib/icons/PieChartOutlined.cjs +30 -0
  512. package/lib/icons/PieChartOutlined.d.ts +2 -0
  513. package/lib/icons/PlayFilled.cjs +25 -0
  514. package/lib/icons/PlayFilled.d.ts +2 -0
  515. package/lib/icons/PlusCircleOutlined.cjs +30 -0
  516. package/lib/icons/PlusCircleOutlined.d.ts +2 -0
  517. package/lib/icons/PlusOutlined.cjs +28 -0
  518. package/lib/icons/PlusOutlined.d.ts +2 -0
  519. package/lib/icons/ProtectOutlined.cjs +31 -0
  520. package/lib/icons/ProtectOutlined.d.ts +2 -0
  521. package/lib/icons/QuestionCircleFilled.cjs +25 -0
  522. package/lib/icons/QuestionCircleFilled.d.ts +2 -0
  523. package/lib/icons/QuestionCircleOutlined.cjs +38 -0
  524. package/lib/icons/QuestionCircleOutlined.d.ts +2 -0
  525. package/lib/icons/ReloadOutlined.cjs +29 -0
  526. package/lib/icons/ReloadOutlined.d.ts +2 -0
  527. package/lib/icons/SearchOutlined.cjs +28 -0
  528. package/lib/icons/SearchOutlined.d.ts +2 -0
  529. package/lib/icons/SettingOutlined.cjs +30 -0
  530. package/lib/icons/SettingOutlined.d.ts +2 -0
  531. package/lib/icons/ShoppingOutlined.cjs +28 -0
  532. package/lib/icons/ShoppingOutlined.d.ts +2 -0
  533. package/lib/icons/SortOutlined.cjs +31 -0
  534. package/lib/icons/SortOutlined.d.ts +2 -0
  535. package/lib/icons/StarFilled.cjs +25 -0
  536. package/lib/icons/StarFilled.d.ts +2 -0
  537. package/lib/icons/StepBackwardFilled.cjs +32 -0
  538. package/lib/icons/StepBackwardFilled.d.ts +2 -0
  539. package/lib/icons/StepForwardFilled.cjs +32 -0
  540. package/lib/icons/StepForwardFilled.d.ts +2 -0
  541. package/lib/icons/SuitcaseOutlined.cjs +28 -0
  542. package/lib/icons/SuitcaseOutlined.d.ts +2 -0
  543. package/lib/icons/SunOutlined.cjs +28 -0
  544. package/lib/icons/SunOutlined.d.ts +2 -0
  545. package/lib/icons/SwapOutlined.cjs +31 -0
  546. package/lib/icons/SwapOutlined.d.ts +2 -0
  547. package/lib/icons/SyncOutlined.cjs +31 -0
  548. package/lib/icons/SyncOutlined.d.ts +2 -0
  549. package/lib/icons/TableOutlined.cjs +28 -0
  550. package/lib/icons/TableOutlined.d.ts +2 -0
  551. package/lib/icons/TagOutlined.cjs +30 -0
  552. package/lib/icons/TagOutlined.d.ts +2 -0
  553. package/lib/icons/TimerOutlined.cjs +30 -0
  554. package/lib/icons/TimerOutlined.d.ts +2 -0
  555. package/lib/icons/UndoOutlined.cjs +29 -0
  556. package/lib/icons/UndoOutlined.d.ts +2 -0
  557. package/lib/icons/UnlockOutlined.cjs +31 -0
  558. package/lib/icons/UnlockOutlined.d.ts +2 -0
  559. package/lib/icons/UploadOutlined.cjs +31 -0
  560. package/lib/icons/UploadOutlined.d.ts +2 -0
  561. package/lib/icons/UserOutlined.cjs +28 -0
  562. package/lib/icons/UserOutlined.d.ts +2 -0
  563. package/lib/icons/VerticalAlignMiddleOutlined.cjs +31 -0
  564. package/lib/icons/VerticalAlignMiddleOutlined.d.ts +2 -0
  565. package/lib/icons/VerticalLeftOutlined.cjs +7 -2
  566. package/lib/icons/VerticalRightOutlined.cjs +7 -2
  567. package/lib/icons/WarningOutlined.cjs +41 -0
  568. package/lib/icons/WarningOutlined.d.ts +2 -0
  569. package/lib/icons/ZoomInOutlined.cjs +30 -0
  570. package/lib/icons/ZoomInOutlined.d.ts +2 -0
  571. package/lib/icons/ZoomOutOutlined.cjs +30 -0
  572. package/lib/icons/ZoomOutOutlined.d.ts +2 -0
  573. package/lib/icons/index.cjs +178 -0
  574. package/lib/icons/index.d.ts +89 -0
  575. package/lib/index.cjs +3 -49
  576. package/lib/index.d.ts +1 -9
  577. package/lib/style/themes/default.scss +14 -13
  578. package/lib/style/themes/rounded.scss +1 -2
  579. package/package.json +1 -1
@@ -6,27 +6,27 @@
6
6
 
7
7
  /* 抽屉 */
8
8
  .ele-drawer {
9
- &.el-drawer {
9
+ & > .el-drawer {
10
10
  background: eleVar('drawer', 'bg');
11
- }
12
11
 
13
- & > .el-drawer__header {
14
- margin: 0;
15
- padding: 0;
16
- color: inherit;
17
- display: block;
18
- flex-shrink: 0;
19
- border: none;
20
- }
12
+ & > .el-drawer__header {
13
+ margin: 0;
14
+ padding: 0;
15
+ color: inherit;
16
+ display: block;
17
+ flex-shrink: 0;
18
+ border: none;
19
+ }
21
20
 
22
- & > .el-drawer__body {
23
- padding: 0;
24
- }
21
+ & > .el-drawer__body {
22
+ padding: 0;
23
+ }
25
24
 
26
- & > .el-drawer__footer {
27
- padding: 0;
28
- flex-shrink: 0;
29
- border: none;
25
+ & > .el-drawer__footer {
26
+ padding: 0;
27
+ flex-shrink: 0;
28
+ border: none;
29
+ }
30
30
  }
31
31
 
32
32
  .ele-drawer-header {
@@ -78,3 +78,76 @@
78
78
  box-sizing: border-box;
79
79
  }
80
80
  }
81
+
82
+ /* 失活状态 */
83
+ .ele-drawer-hide {
84
+ display: none !important;
85
+ }
86
+
87
+ /* 限制在内部并适配布局状态 */
88
+ .ele-drawer-inner {
89
+ & > .el-drawer {
90
+ box-shadow: eleVar('drawer', 'inner-shadow');
91
+ }
92
+
93
+ &.ele-drawer {
94
+ top: eleVar('header', 'height', 0);
95
+ left: eleVar('sidebar', 'width', 0);
96
+ height: auto;
97
+ }
98
+
99
+ &:not(.el-drawer-fade-leave-active, .el-drawer-fade-enter-active) {
100
+ transition: (width $ele-transition, left $ele-transition);
101
+ }
102
+
103
+ &.ele-state-has-tab {
104
+ top: calc(#{eleVar('header', 'height')} + #{eleVar('tab', 'height')});
105
+ }
106
+
107
+ &.ele-state-collapse {
108
+ left: eleVar('sidebar', 'collapse-width');
109
+ }
110
+
111
+ &.ele-state-mix-sidebar {
112
+ $box-width: eleVar('sidebox', 'width');
113
+ left: calc(#{$box-width} + #{eleVar('sidebar', 'mix-width')});
114
+
115
+ &.ele-state-collapse {
116
+ left: $box-width;
117
+ }
118
+
119
+ &.ele-state-single-sidebar {
120
+ left: $box-width;
121
+ }
122
+ }
123
+
124
+ &.ele-state-compact {
125
+ $collapse-width: eleVar('sidebar', 'collapse-width');
126
+ left: calc(#{$collapse-width} + #{eleVar('sidebar', 'mix-width')});
127
+
128
+ &.ele-state-single-sidebar {
129
+ left: $collapse-width;
130
+ }
131
+
132
+ &.ele-state-collapse {
133
+ left: $collapse-width;
134
+ }
135
+ }
136
+
137
+ &.ele-state-top-layout {
138
+ left: 0;
139
+ }
140
+
141
+ &.ele-state-maximized {
142
+ top: eleVar('tab', 'height');
143
+ left: 0 !important;
144
+ }
145
+
146
+ &.ele-state-expanded {
147
+ top: 0 !important;
148
+ }
149
+
150
+ &.ele-state-mobile {
151
+ left: 0 !important;
152
+ }
153
+ }
@@ -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,17 +1,19 @@
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>;
8
8
  round: BooleanConstructor;
9
9
  placeholder: StringConstructor;
10
10
  inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
11
+ inputTagStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
11
12
  buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
13
+ itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
12
14
  validator: import("vue").PropType<import("./types").Validator>;
13
15
  beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
14
- tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>; /** 提示信息 */
16
+ tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
15
17
  }, {
16
18
  inputRef: import("vue").Ref<ElInputInstance>;
17
19
  isEdit: import("vue").Ref<boolean>;
@@ -28,17 +30,19 @@ declare const _default: import("vue").DefineComponent<{
28
30
  'update:modelValue': (_value?: string[] | undefined) => boolean;
29
31
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
32
  modelValue: import("vue").PropType<string[]>;
31
- type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
33
+ type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
32
34
  color: StringConstructor;
33
35
  size: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined>;
34
36
  effect: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "light" | "plain" | "dark", unknown> | undefined>;
35
37
  round: BooleanConstructor;
36
38
  placeholder: StringConstructor;
37
39
  inputStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
40
+ inputTagStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
38
41
  buttonStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
42
+ itemStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
39
43
  validator: import("vue").PropType<import("./types").Validator>;
40
44
  beforeRemove: import("vue").PropType<import("./types").BeforeRemove>;
41
- tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>; /** 提示信息 */
45
+ tooltipProps: import("vue").PropType<Partial<import("../ele-tooltip/props").TooltipProps>>;
42
46
  }>> & {
43
47
  "onUpdate:modelValue"?: ((_value?: string[] | undefined) => any) | undefined;
44
48
  }, {
@@ -1,18 +1,18 @@
1
- import { defineComponent, ref, onDeactivated, onActivated, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, normalizeStyle, renderSlot, vShow, createSlots, mergeProps } from "vue";
2
- import { Plus, Loading } from "@element-plus/icons-vue";
1
+ import { defineComponent, ref, onDeactivated, onActivated, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, createBlock, normalizeStyle, withCtx, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, renderSlot, vShow, mergeProps } from "vue";
3
2
  import { ElTag, ElInput, ElIcon } from "element-plus";
4
3
  import EleTooltip from "../ele-tooltip/index";
5
4
  import { useLicense } from "../ele-config-provider/receiver";
5
+ import { PlusOutlined, LoadingOutlined } from "../icons";
6
6
  import { editTagProps, editTagEmits } from "./props";
7
7
  const _sfc_main = defineComponent({
8
8
  name: "EleEditTag",
9
9
  components: {
10
- Plus,
11
- Loading,
12
10
  ElTag,
13
11
  ElInput,
14
12
  ElIcon,
15
- EleTooltip
13
+ EleTooltip,
14
+ PlusOutlined,
15
+ LoadingOutlined
16
16
  },
17
17
  props: editTagProps,
18
18
  emits: editTagEmits,
@@ -142,9 +142,9 @@ const _export_sfc = (sfc, props) => {
142
142
  const _hoisted_1 = { key: 0 };
143
143
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
144
144
  const _component_ElTag = resolveComponent("ElTag");
145
- const _component_Plus = resolveComponent("Plus");
145
+ const _component_PlusOutlined = resolveComponent("PlusOutlined");
146
146
  const _component_ElIcon = resolveComponent("ElIcon");
147
- const _component_Loading = resolveComponent("Loading");
147
+ const _component_LoadingOutlined = resolveComponent("LoadingOutlined");
148
148
  const _component_ElInput = resolveComponent("ElInput");
149
149
  const _component_EleTooltip = resolveComponent("EleTooltip");
150
150
  return openBlock(), createElementBlock("div", {
@@ -164,13 +164,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
164
164
  round: _ctx.round,
165
165
  closable: true,
166
166
  disableTransitions: true,
167
+ style: normalizeStyle(_ctx.itemStyle),
167
168
  onClose: ($event) => _ctx.onTagClose(index2)
168
169
  }, {
169
170
  default: withCtx(() => [
170
171
  createTextVNode(toDisplayString(item), 1)
171
172
  ]),
172
173
  _: 2
173
- }, 1032, ["type", "color", "size", "effect", "round", "onClose"]);
174
+ }, 1032, ["type", "color", "size", "effect", "round", "style", "onClose"]);
174
175
  }), 128)) : createCommentVNode("", true),
175
176
  withDirectives(createVNode(_component_ElTag, {
176
177
  type: "info",
@@ -188,7 +189,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
188
189
  class: "ele-edit-tag-add-icon"
189
190
  }, {
190
191
  default: withCtx(() => [
191
- createVNode(_component_Plus)
192
+ createVNode(_component_PlusOutlined)
192
193
  ]),
193
194
  _: 1
194
195
  }))
@@ -202,7 +203,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
202
203
  size: _ctx.size,
203
204
  round: _ctx.round,
204
205
  disableTransitions: true,
205
- class: normalizeClass(["ele-edit-tag-input", { "is-error": !!_ctx.errorMessage }])
206
+ class: normalizeClass(["ele-edit-tag-input", { "is-error": !!_ctx.errorMessage }]),
207
+ style: normalizeStyle(_ctx.inputTagStyle)
206
208
  }, {
207
209
  default: withCtx(() => [
208
210
  createVNode(_component_ElInput, {
@@ -212,24 +214,25 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
212
214
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputValue = $event),
213
215
  style: normalizeStyle(_ctx.inputStyle),
214
216
  onChange: _ctx.onInputChange,
215
- onBlur: _ctx.onInputBlur
216
- }, createSlots({ _: 2 }, [
217
- _ctx.loading ? {
218
- name: "suffix",
219
- fn: withCtx(() => [
220
- createVNode(_component_ElIcon, { class: "is-loading" }, {
221
- default: withCtx(() => [
222
- createVNode(_component_Loading)
223
- ]),
224
- _: 1
225
- })
226
- ]),
227
- key: "0"
228
- } : void 0
229
- ]), 1032, ["disabled", "modelValue", "style", "onChange", "onBlur"])
217
+ onBlur: _ctx.onInputBlur,
218
+ onFocus: _ctx.onInputFocus
219
+ }, {
220
+ suffix: withCtx(() => [
221
+ _ctx.loading ? (openBlock(), createBlock(_component_ElIcon, {
222
+ key: 0,
223
+ class: "is-loading"
224
+ }, {
225
+ default: withCtx(() => [
226
+ createVNode(_component_LoadingOutlined)
227
+ ]),
228
+ _: 1
229
+ })) : createCommentVNode("", true)
230
+ ]),
231
+ _: 1
232
+ }, 8, ["disabled", "modelValue", "style", "onChange", "onBlur", "onFocus"])
230
233
  ]),
231
234
  _: 1
232
- }, 8, ["size", "round", "class"]), [
235
+ }, 8, ["size", "round", "class", "style"]), [
233
236
  [vShow, _ctx.isEdit]
234
237
  ]),
235
238
  createVNode(_component_EleTooltip, mergeProps({
@@ -7,7 +7,7 @@ export declare const editTagProps: {
7
7
  /** 标签数据 */
8
8
  modelValue: PropType<string[]>;
9
9
  /** 类型 */
10
- type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
10
+ type: PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
11
11
  /** 颜色 */
12
12
  color: StringConstructor;
13
13
  /** 尺寸 */
@@ -20,8 +20,12 @@ export declare const editTagProps: {
20
20
  placeholder: StringConstructor;
21
21
  /** 输入框样式 */
22
22
  inputStyle: PropType<Partial<import("vue").CSSProperties>>;
23
+ /** 输入框外层标签样式 */
24
+ inputTagStyle: PropType<Partial<import("vue").CSSProperties>>;
23
25
  /** 添加按钮样式 */
24
26
  buttonStyle: PropType<Partial<import("vue").CSSProperties>>;
27
+ /** 标签样式 */
28
+ itemStyle: PropType<Partial<import("vue").CSSProperties>>;
25
29
  /** 添加校验方法 */
26
30
  validator: PropType<Validator>;
27
31
  /** 移除校验方法 */
@@ -15,8 +15,12 @@ const editTagProps = {
15
15
  placeholder: String,
16
16
  /** 输入框样式 */
17
17
  inputStyle: Object,
18
+ /** 输入框外层标签样式 */
19
+ inputTagStyle: Object,
18
20
  /** 添加按钮样式 */
19
21
  buttonStyle: Object,
22
+ /** 标签样式 */
23
+ itemStyle: Object,
20
24
  /** 添加校验方法 */
21
25
  validator: Function,
22
26
  /** 移除校验方法 */
@@ -1,101 +1,103 @@
1
1
  @use '../../style/themes/default.scss' as *;
2
2
  @use '../../style/util.scss' as *;
3
3
 
4
- .ele-edit-tag {
5
- /* 标签 */
6
- .el-tag {
7
- margin: 0 8px 8px 0;
8
- vertical-align: top;
9
- }
4
+ /* 标签 */
5
+ .ele-edit-tag .el-tag {
6
+ margin: 0 8px 8px 0;
7
+ vertical-align: top;
8
+ }
10
9
 
11
- /* 添加按钮 */
12
- .ele-edit-tag-add {
10
+ /* 添加按钮 */
11
+ .ele-edit-tag-add {
12
+ &.el-tag {
13
+ cursor: text;
13
14
  margin-right: 0;
15
+ border-style: dashed;
16
+ background: none;
17
+ }
14
18
 
15
- &.el-tag {
16
- cursor: text;
17
- border-style: dashed;
18
- background: none;
19
- }
20
-
21
- .ele-edit-tag-add-icon {
22
- width: 1em;
23
- height: 1em;
24
- border-radius: 0;
25
- font-size: inherit;
26
- cursor: inherit;
27
- }
28
-
29
- .el-tag__content {
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- }
19
+ & > .el-tag__content {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
34
23
  }
24
+ }
35
25
 
36
- /* 输入框 */
37
- .ele-edit-tag-input {
38
- margin-right: 0;
39
- width: 80px;
26
+ .ele-edit-tag .ele-edit-tag-add-icon {
27
+ width: 1em;
28
+ height: 1em;
29
+ border-radius: 0;
30
+ font-size: inherit;
31
+ cursor: inherit;
32
+ opacity: 0.6;
33
+ }
40
34
 
41
- &.el-tag {
42
- padding: 0;
43
- display: inline-block;
44
- background: none;
45
- border: none;
46
- }
35
+ /* 输入框 */
36
+ .ele-edit-tag-input {
37
+ &.el-tag {
38
+ width: 80px;
39
+ margin-right: 0;
40
+ padding: 0;
41
+ display: inline-block;
42
+ background: none;
43
+ border: none;
44
+ }
47
45
 
48
- & > .el-tag__content {
46
+ & > .el-tag__content {
47
+ width: 100%;
48
+ height: 100%;
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ font-size: inherit;
53
+ line-height: inherit;
54
+ border-radius: inherit;
55
+
56
+ & > .el-input {
57
+ flex: 1;
49
58
  width: 100%;
50
59
  height: 100%;
51
- display: block;
52
60
  font-size: inherit;
53
- line-height: inherit;
54
61
  border-radius: inherit;
55
62
  }
63
+ }
56
64
 
57
- .el-input {
58
- width: 100%;
65
+ .el-input {
66
+ .el-input__wrapper {
59
67
  height: 100%;
60
- font-size: inherit;
68
+ padding-left: 8px;
69
+ padding-right: 8px;
70
+ box-sizing: border-box;
61
71
  border-radius: inherit;
62
-
63
- .el-input__wrapper {
64
- height: 100%;
65
- padding-left: 8px;
66
- padding-right: 8px;
67
- box-sizing: border-box;
68
- border-radius: inherit;
69
- }
70
-
71
- .el-input__inner {
72
- height: 100%;
73
- line-height: inherit;
74
- }
75
72
  }
76
73
 
77
- &.is-error .el-input .el-input__wrapper {
78
- box-shadow: 0 0 0 0.8px elVar('color-danger') inset;
74
+ .el-input__inner {
75
+ height: 100%;
76
+ line-height: inherit;
79
77
  }
80
78
  }
81
79
 
82
- /* 小尺寸 */
83
- &.is-small .ele-edit-tag-input {
84
- width: 60px;
80
+ &.is-error .el-input .el-input__wrapper {
81
+ box-shadow: 0 0 0 0.8px elVar('color-danger') inset;
82
+ }
83
+ }
85
84
 
86
- .el-input .el-input__wrapper {
87
- padding-left: 4px;
88
- padding-right: 4px;
89
- }
85
+ /* 小尺寸 */
86
+ .ele-edit-tag.is-small .ele-edit-tag-input {
87
+ width: 60px;
88
+
89
+ .el-input .el-input__wrapper {
90
+ padding-left: 4px;
91
+ padding-right: 4px;
90
92
  }
93
+ }
91
94
 
92
- /* 大尺寸 */
93
- &.is-large .ele-edit-tag-input {
94
- width: 100px;
95
+ /* 大尺寸 */
96
+ .ele-edit-tag.is-large .ele-edit-tag-input {
97
+ width: 100px;
95
98
 
96
- .el-input .el-input__wrapper {
97
- padding-left: 12px;
98
- padding-right: 12px;
99
- }
99
+ .el-input .el-input__wrapper {
100
+ padding-left: 12px;
101
+ padding-right: 12px;
100
102
  }
101
103
  }
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
57
57
  tooltip: boolean | EllipsisTooltip;
58
58
  underline: boolean;
59
59
  italic: boolean;
60
- strong: boolean;
61
60
  deleted: boolean;
61
+ strong: boolean;
62
62
  }, {}>;
63
63
  export default _default;